:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253e39;background:#f6f8f8;font-synthesis:none;--green:#126451;--mint:#e9f5ef;--muted:#667b75;--line:#e5ebe8;--orange:#ed603e;--navy:#122e2b}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #70bda5;outline-offset:3px}a{color:inherit;text-decoration:none}button svg,span svg{width:18px;height:18px;display:block;flex-shrink:0}button{border:0;background:none}h1,h2,h3,p{margin:0}input,select{min-width:0}input{width:100%;height:42px;border:1px solid #dce4df;border-radius:7px;padding:0 12px;background:#fff;color:#243e37;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:#3e947c;box-shadow:0 0 0 3px #31856612;outline:none}input[aria-invalid=true]{border-color:#d33f46;background:#fff8f8}input::placeholder{color:#93a49d}.sidebar{position:fixed;width:222px;top:0;bottom:0;left:0;background:var(--navy);color:#c6d5cf;padding:29px 19px 19px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 10px;font-size:28px;font-weight:680;letter-spacing:-1.1px}.brand-mark{display:flex;align-items:center;position:relative;justify-content:center;background:#bdf489;color:#13392e;width:38px;height:39px;border-radius:10px;font-size:30px;line-height:1;letter-spacing:-4px;padding-right:10px;font-weight:750}.brand-mark>span{font-size:21px;position:absolute;right:3px;top:2px}.brand small{font-size:8px;letter-spacing:3px;display:block;margin-top:3px;color:#a2bab1;font-weight:500}.workspace{display:flex;align-items:center;gap:10px;margin:33px 2px 30px;border:1px solid #385049;border-radius:8px;padding:12px 10px;font-size:12px;font-weight:600}.workspace-logo{display:grid;place-items:center;width:29px;height:29px;background:#36594d;color:#ddf1e5;border-radius:6px}.workspace small{display:block;color:#a3b7ae;font-size:9px;font-weight:400;margin-top:3px}.workspace-dot{width:5px;height:5px;background:#94d979;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#8da79d;padding-left:11px;margin-bottom:14px}.nav-item{display:flex;align-items:center;gap:11px;padding:13px 11px;width:100%;font-size:12px;font-weight:500;text-align:left;border-radius:7px;margin-bottom:5px}.nav-item svg{width:17px;height:17px}.nav-item:hover{background:#244139;color:#fff}.nav-item.active{background:#244d40;color:#d3f6be}.nav-active-dot{height:5px;width:5px;background:#bdf489;border-radius:50%;margin-left:auto}.count{background:#29463e;color:#b3c8bb;margin-left:auto;padding:3px 6px;border-radius:4px;font-size:9px}.sidebar-bottom{margin-top:auto}.sidebar-tip{background:linear-gradient(140deg,#254438,#1b3830);padding:17px 15px;border-radius:9px;margin:40px 3px 15px;border:1px solid #345146}.sidebar-tip svg{color:#bfe796;margin-bottom:14px;width:22px;height:22px}.sidebar-tip strong{display:block;font-size:12px;color:#deebdf;font-weight:550}.sidebar-tip p{color:#9cb5a8;font-size:11px;line-height:1.8;margin-top:8px}.help{font-size:11px}.sidebar-version{border-top:1px solid #365046;padding-top:18px;font-size:9px;display:flex;align-items:center;gap:6px;color:#92a99d}.sidebar-version>span:last-child{margin-left:auto;color:#92a99d}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#64a884;flex-shrink:0}.app-shell{margin-left:222px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:11px;color:#7b8a83}.breadcrumb strong{font-weight:500;color:#364b42}.chevron{color:#aab7b0}.topbar-right{display:flex;align-items:center;gap:20px}.private-badge{display:flex;align-items:center;gap:6px;font-size:10px;color:#60776a;background:#f7f9f7;padding:7px 9px;border:1px solid #e6ece6;border-radius:5px}.private-badge svg{width:12px;height:12px}.avatar{width:31px;height:31px;border-radius:50%;background:#eef2e9;border:1px solid #e0e8d8;display:grid;place-items:center;font-size:12px;font-weight:600;color:#647552}.mobile-brand,.mobile-config{display:none}main{padding:33px 36px 0;max-width:1580px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.eyebrow{font-size:8px;font-weight:650;letter-spacing:1.8px;color:#7c9085;margin-bottom:11px}h1{font-size:29px;line-height:1.2;font-weight:630;letter-spacing:-1px;color:#253e35}h1>span{color:#53a47c}.page-heading p{font-size:12px;color:#75877d;margin-top:9px}.button{border-radius:7px;min-height:40px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550;font-size:11px;white-space:nowrap;transition:background .15s,transform .15s}.button.primary{background:#18664f;color:#fff;box-shadow:0 2px 3px #173e3410}.button.primary:hover{background:#0f533e;transform:translateY(-1px)}.button svg{width:15px;height:15px}.button.secondary{border:1px solid #dce6df;background:#fff;color:#365344}.button.secondary:hover{background:#f0f6f1}.page-tabs{display:flex;align-items:center;gap:27px;border-bottom:1px solid #dfe7e2;margin-bottom:25px;height:43px;font-size:11px}.selected-tab{display:flex;align-items:center;gap:7px;border-bottom:2px solid #2a7458;height:43px;font-weight:600;color:#2a6b50}.selected-tab svg{width:15px;height:15px}.page-tabs>button{color:#708275;font-size:11px;display:flex;align-items:center;gap:7px}.page-tabs>button>span{font-size:9px;background:#e9efea;border-radius:4px;min-width:18px;padding:2px 5px;color:#748878}.autosave{display:flex;align-items:center;gap:7px;color:#7f9184;font-size:9px;margin-left:auto}.calculator-layout{display:grid;grid-template-columns:minmax(290px,.78fr) minmax(0,1.4fr);gap:25px;align-items:start}.panel{border:1px solid #e1e8e2;background:#fff;border-radius:11px;box-shadow:0 2px 3px #24463102}.input-panel{padding:22px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:21px}.section-icon{width:32px;height:33px;border-radius:7px;background:#f3f6f2;display:grid;place-items:center;color:#61816b}.section-icon svg{width:17px;height:17px}.section-title h2{font-size:13px;font-weight:650}.section-title p{font-size:10px;color:#859187;margin-top:5px}.step{margin-left:auto;color:#9dab9e;font-size:10px;font-variant-numeric:tabular-nums}.field{margin-bottom:14px;min-width:0}.field label{display:block;font-size:10px;font-weight:550;color:#5b7162;margin-bottom:7px}.fields{display:grid;gap:12px}.fields.two{grid-template-columns:1fr 1fr}.input-wrap{display:flex;align-items:center;position:relative}.input-wrap>span{position:absolute;left:12px;font-size:11px;color:#8a998f;pointer-events:none}.input-wrap>input{padding-left:35px;font-variant-numeric:tabular-nums;font-size:12px}.input-wrap.suffix>span{left:auto;right:12px}.input-wrap.suffix>input{padding-left:12px;padding-right:30px}.price-input input{background:#fbfefb;border-color:#a8c2ad;color:#2b5640;font-weight:600}.field>input{font-size:11px}#name{height:41px}.field-help{font-size:9px;color:#839186;line-height:1.6;margin:-5px 0 17px}.section-divider{height:1px;background:var(--line);margin:6px 0 22px}.section-title.compact{margin-bottom:18px}.discount-details{margin:0 0 19px;padding-top:0}.discount-details summary{display:flex;align-items:center;gap:6px;font-size:10px;color:#667c6b;cursor:pointer;list-style:none;padding:4px 0 9px}.discount-details summary::-webkit-details-marker{display:none}.discount-details summary svg{width:13px;height:13px}.details-plus{margin-left:auto;color:#8b9a8d;font-size:16px}.discount-details[open] .details-plus{transform:rotate(45deg)}.discount-details .fields{margin-top:11px}.platform-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2f5f1;border:1px solid #e7ede5;border-radius:7px;padding:4px;margin-bottom:17px;gap:4px}.platform-tab{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#7e8b7f;min-height:33px;border-radius:5px;font-weight:500;white-space:nowrap}.platform-tab.selected{background:#fff;color:#3b4f3f;box-shadow:0 1px 4px #254f3510}.mini-market{display:inline-grid;place-items:center;font-size:10px;font-weight:750;width:17px;height:18px;border-radius:4px}.shopee{background:#fff0e9;color:#e45a33}.ml{background:#fff6c7;color:#705e22}.example-note{display:flex;align-items:flex-start;gap:7px;background:#f8f9f6;padding:10px;border:1px solid #e9ede4;border-radius:6px;color:#85907c;font-size:9px;line-height:1.6}.example-note svg{width:12px;height:12px;margin-top:1px;color:#8b9c7e}.rate-extra{margin:1px 0 15px}.rate-extra summary{font-size:10px;color:#657e66;cursor:pointer;padding:7px 0}.rate-extra[open] summary{margin-bottom:8px}.select-input{width:100%;height:39px;border:1px solid #dce4df;border-radius:6px;background:#fff;padding:0 8px;color:#4b6352;font-size:11px}.mode-group{display:grid;grid-template-columns:1fr 1fr;margin-bottom:15px;gap:8px}.mode-group button{border:1px solid #e1e6d9;border-radius:6px;font-size:10px;min-height:32px;color:#718264}.mode-group button.active{background:#fffceb;border-color:#dece85;color:#7a6620}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 0 18px}.results-heading h2{font-size:14px;font-weight:620;letter-spacing:-.2px}.results-heading p{font-size:10px;color:#899588;margin-top:6px}.live-label{display:flex;align-items:center;gap:5px;font-size:9px;background:#edf4ec;border:1px solid #e0ebdd;padding:5px 8px;border-radius:5px;color:#6a8d61}.result-cards{display:grid;grid-template-columns:1fr 1fr;gap:15px}.result-card{background:#fff;border:1px solid #e2e8e0;border-radius:10px;overflow:hidden;position:relative}.market-head{display:flex;align-items:center;gap:9px;padding:19px 18px 15px}.market-symbol{width:35px;height:36px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.market-symbol svg{width:20px;height:20px}.market-name{font-size:14px;font-weight:650;letter-spacing:-.3px}.market-sub{font-size:9px;color:#8a9485;margin-top:4px}.market-topline{position:absolute;left:0;right:0;height:3px;background:#ec754f}.result-card.ml-card .market-topline{background:#e6cc55}.market-head .small-chevron{margin-left:auto;color:#a4ae9c}.profit-area{margin:0 17px;padding:16px 15px 14px;background:#f6f9f3;border:1px solid #e7eee0;border-radius:7px;position:relative}.profit-label{font-size:9px;letter-spacing:.2px;color:#6e8262;display:flex;align-items:center;gap:5px}.profit-label svg{width:12px;height:12px}.profit-value{font-size:30px;font-weight:650;letter-spacing:-1.1px;color:#315c36;margin-top:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.profit-value .currency{font-size:16px;font-weight:500;margin-right:5px;letter-spacing:-.5px}.margin-line{display:flex;align-items:center;gap:7px;font-size:9px;color:#879478;margin-top:9px}.margin-chip{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;background:#e9f1de;border-radius:4px;color:#578048;font-size:9px;font-weight:600}.profit-area.negative{background:#fff5f3;border-color:#f7dfd9}.negative .profit-value,.negative .profit-label{color:#ac4d39}.negative .margin-chip{color:#ac4d39;background:#fae4de}.negative .margin-line{color:#b38173}.cost-table{padding:18px 18px 13px}.cost-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:10px;color:#7c897b}.cost-row strong{color:#4b6149;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.cost-row.revenue{margin-bottom:15px;color:#4c644b;font-weight:500}.cost-row.total{border-top:1px dashed #dce5d7;padding-top:13px;margin-top:14px;margin-bottom:0;color:#52674f;font-weight:600}.cost-row.total strong{font-weight:650}.row-dot{width:6px;height:6px;border-radius:2px;display:inline-block;margin-right:6px;background:#97ada0}.cost-table details summary{font-size:9px;color:#799173;cursor:pointer;padding:4px 0 10px}.cost-table details .cost-row{font-size:9px}.card-footer{padding:12px 17px 15px;border-top:1px solid #f0f3ec;margin-top:1px}.distribution{display:flex;gap:3px;height:5px;border-radius:3px;overflow:hidden;background:#f1f3eb}.distribution span{min-width:0}.dist-cost{background:#aec1ab}.dist-fees{background:#e4d899}.dist-profit{background:#6e9b5e}.dist-loss{background:#d28a78}.distribution-label{display:flex;justify-content:space-between;font-size:8px;color:#929d86;margin-top:8px}.insight{margin-top:15px;background:#edf5e9;border:1px solid #dcebd4;border-radius:8px;padding:14px 15px;display:flex;gap:10px;align-items:flex-start}.insight>span{width:27px;height:27px;background:#e0ecd7;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#6a8c51}.insight svg{width:14px;height:14px}.insight strong{display:block;color:#4c6a3d;font-size:11px;line-height:1.6;font-weight:600}.insight p{font-size:10px;color:#7c906b;margin-top:3px;line-height:1.6}.insight.warning{background:#fff6eb;border-color:#eedfc9}.insight.warning strong{color:#926429}.insight.warning p{color:#a48355}.insight.warning>span{background:#f7e6cb;color:#a67c38}.target-panel{margin-top:21px;background:#fff;border:1px solid #e0e7dd;border-radius:10px;padding:20px 19px}.target-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.target-heading .section-icon{background:#f0f5ec;color:#849570}.target-heading h3{font-size:12px;font-weight:650}.target-heading p{font-size:10px;color:#8a957f;margin-top:5px}.target-badge{margin-left:auto;background:#f4f7ef;border:1px solid #e6eddc;border-radius:4px;color:#849571;padding:4px 6px;font-size:8px;white-space:nowrap}.target-body{display:grid;grid-template-columns:.85fr 1fr 1fr;gap:14px;align-items:start}.target-body .field{margin-bottom:0}.target-body .field label{font-size:9px}.target-body input{height:39px}.suggestion{border-left:1px solid #e8eee0;padding-left:14px;min-width:0}.suggestion-label{font-size:9px;color:#899578;display:flex;align-items:center;gap:5px;margin-bottom:8px}.suggestion-label .mini-market{width:13px;height:13px;font-size:8px;border-radius:3px}.suggestion-value{font-size:19px;font-weight:650;letter-spacing:-.5px;color:#526a40;white-space:nowrap;font-variant-numeric:tabular-nums}.suggestion button{font-size:9px;color:#748c5b;margin-top:6px;padding:0;text-align:left}.suggestion button:hover{text-decoration:underline}.suggestion-empty{font-size:10px;line-height:1.5;color:#a87f4f}.target-note{font-size:9px;color:#96a086;line-height:1.6;margin-top:14px;border-top:1px solid #edf0e8;padding-top:10px}.method-note{display:flex;align-items:flex-start;gap:6px;margin-top:16px;color:#8d9a84;font-size:8px;line-height:1.7}.method-note svg{width:11px;height:11px;margin-top:2px}.method-note button{font-size:8px;white-space:nowrap;color:#6d8559;margin-left:auto;padding:0}.alert{padding:11px 13px;border-radius:7px;margin-bottom:14px;font-size:11px;line-height:1.6}.alert.error{background:#fff0ec;border:1px solid #f2d1c7;color:#a74d37}.result-muted .result-cards,.result-muted .insight,.result-muted .suggestion{opacity:.35}.result-muted .suggestion button{pointer-events:none}footer{display:flex;justify-content:space-between;padding:26px 0 21px;font-size:8px;color:#a1ab97}footer>span:first-child{font-weight:650;font-size:14px;letter-spacing:-.7px}.footer-dot{color:#7b9f62}.footer-tagline{font-weight:400;font-size:8px;letter-spacing:0;margin-left:9px}footer>span:last-child{padding-top:3px}dialog{width:min(560px,calc(100% - 32px));max-height:85vh;max-height:85dvh;border:1px solid #e1e8dd;border-radius:14px;padding:24px;box-shadow:0 24px 100px #102d2930;color:#30493a}dialog::backdrop{background:#122e2b77;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:10px}.modal-header h2{font-size:19px;font-weight:630;letter-spacing:-.5px}.icon-button{width:32px;height:32px;border:1px solid #e0e7da;border-radius:7px;display:inline-grid;place-items:center;background:#fff;flex-shrink:0}.icon-button svg{width:16px;height:16px}.modal-copy{font-size:12px;color:#718167;line-height:1.8;margin-bottom:17px}.saved-item{border:1px solid #e1e8db;border-radius:8px;padding:13px;margin-top:10px;display:flex;align-items:center;gap:12px}.saved-item-info{min-width:0;flex:1}.saved-item strong{font-size:12px;display:block;overflow-wrap:anywhere}.saved-item small{font-size:10px;color:#849174;display:block;margin-top:6px}.saved-item-actions{display:flex;gap:6px}.saved-item-actions .button{min-height:32px;font-size:10px;padding:0 10px}.saved-item-actions .icon-button{width:30px;height:32px}.empty-state{padding:30px 10px;text-align:center;background:#f7f9f3;border-radius:10px;color:#81926e;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}.help-grid{display:grid;gap:12px}.help-item{padding:13px 15px;border-radius:7px;background:#f5f8f0;font-size:11px;line-height:1.8;color:#7b8c69}.help-item strong{display:block;font-size:12px;color:#526b3e}.modal-divider{height:1px;background:#e6ecdE;margin:20px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#214939;color:#f2f8e8;border-radius:8px;box-shadow:0 8px 30px #122e2b25;max-width:calc(100% - 30px);font-size:12px;padding:13px 20px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:10px;background:white;padding:10px;z-index:200}.skip-link:focus{top:10px}
@media(min-width:1550px){main{padding-top:40px}.calculator-layout{grid-template-columns:410px 1fr}.input-panel{padding:25px}.result-cards{gap:20px}.market-head{padding:23px}.profit-area{margin:0 22px;padding:20px}.profit-value{font-size:37px}.cost-table{padding:22px}.cost-row{font-size:12px;margin-bottom:15px}.target-panel{padding:23px}.target-heading h3{font-size:14px}.suggestion-value{font-size:23px}.field label{font-size:11px}.field input{font-size:13px}}
@media(max-width:1250px){.sidebar{width:192px;padding-left:12px;padding-right:12px}.app-shell{margin-left:192px}main{padding:28px 24px 0}.topbar{padding:0 24px}.calculator-layout{gap:18px;grid-template-columns:300px minmax(0,1fr)}.input-panel{padding:18px}.result-cards{gap:11px}.profit-area{margin:0 12px;padding:13px 10px}.market-head{padding:17px 12px 14px;gap:7px}.market-symbol{width:30px;height:31px}.market-name{font-size:12px}.profit-value{font-size:27px}.cost-table{padding:17px 12px 12px}.card-footer{padding-left:12px;padding-right:12px}.target-panel{padding:17px 14px}.target-body{gap:10px}.suggestion{padding-left:10px}.suggestion-value{font-size:17px}.method-note{flex-wrap:wrap}.target-badge{display:none}}
@media(max-width:1080px){.sidebar{width:76px;align-items:center;padding:24px 8px}.brand{padding:0}.brand>span:last-child,.workspace,.nav-label,.nav-item>span:not(:first-child),.sidebar-tip,.sidebar-version{display:none}.sidebar nav{margin-top:45px}.nav-item{width:43px;height:43px;justify-content:center;padding:0;margin-bottom:12px}.sidebar-bottom{width:auto}.app-shell{margin-left:76px}.calculator-layout{grid-template-columns:300px minmax(0,1fr)}.page-heading p{font-size:11px}h1{font-size:27px}.target-heading p{font-size:9px}.target-heading{gap:7px}.target-heading .section-icon{width:28px;height:28px}.target-heading h3{font-size:11px}}
@media(max-width:900px){.calculator-layout{grid-template-columns:270px minmax(0,1fr);gap:15px}main{padding:25px 19px 0}.input-panel{padding:15px}.result-cards{grid-template-columns:1fr}.profit-area{margin:0 16px}.profit-value{font-size:30px}.market-head{padding:17px 16px 13px}.cost-table{padding:16px}.cost-row{margin-bottom:10px}.card-footer{padding:11px 16px 14px}.target-body{grid-template-columns:1fr 1fr}.target-body>.field{grid-column:1/-1;max-width:100%}.target-body>.field .input-wrap{max-width:130px}.suggestion{border-left:0;padding-left:0;margin-top:5px}.results-heading h2{font-size:12px}.results-heading p{font-size:9px}.live-label{font-size:8px;padding:4px 6px}.section-title p{font-size:9px}.field label{font-size:9px}.autosave{font-size:8px}.page-heading .button{padding:0 13px}footer{gap:12px}}
@media(max-width:680px){.sidebar{display:none}.app-shell{margin-left:0}.topbar{height:61px;padding:0 18px;position:sticky;top:0;z-index:10}.breadcrumb>span:not(.mobile-brand),.breadcrumb strong{display:none}.mobile-brand{display:inline-block;font-size:27px;font-weight:750;letter-spacing:-3px;color:#276c4d}.mobile-config{display:inline-grid}.topbar-right{gap:10px}.private-badge{font-size:9px;padding:5px 7px}.avatar{width:28px;height:28px;font-size:10px}main{padding:24px 17px 0}.page-heading{align-items:flex-start;margin-bottom:18px;flex-wrap:wrap;gap:16px}.eyebrow{font-size:7px;letter-spacing:1.35px;margin-bottom:10px}h1{font-size:28px}.page-heading p{font-size:11px;max-width:320px;line-height:1.7;margin-top:7px}.page-heading .button{min-height:39px;font-size:11px;padding:0 13px}.page-tabs{gap:22px;margin-bottom:20px;height:43px}.autosave{display:none}.calculator-layout{display:flex;flex-direction:column;gap:25px}.input-panel,.results-section{width:100%}.input-panel{padding:20px}.field label{font-size:11px}.section-title h2{font-size:14px}.section-title p{font-size:10px}.section-title{margin-bottom:20px}.field>input,.input-wrap>input{font-size:14px;height:45px}.input-wrap>span{font-size:12px}.field-help{font-size:10px}.discount-details summary{font-size:11px}.platform-tab{font-size:11px;min-height:36px}.example-note{font-size:10px}.results-heading h2{font-size:15px}.results-heading p{font-size:11px}.live-label{font-size:9px}.result-cards{grid-template-columns:1fr 1fr;gap:12px}.market-head{gap:7px;padding:16px 12px 13px}.market-symbol{width:28px;height:30px}.market-name{font-size:11px}.market-sub{font-size:8px}.profit-area{margin:0 11px;padding:12px 9px}.profit-value{font-size:25px;letter-spacing:-1px}.profit-value .currency{font-size:13px;margin-right:3px}.profit-label{font-size:9px}.margin-line{flex-wrap:wrap;gap:4px;font-size:8px}.margin-chip{font-size:8px;padding:3px 4px}.cost-table{padding:15px 12px 12px}.cost-row{font-size:9px;gap:4px;line-height:1.4}.card-footer{padding:10px 12px 12px}.distribution-label{font-size:7px}.insight{margin-top:13px;padding:13px 12px}.target-panel{margin-top:17px;padding:18px 16px}.target-heading h3{font-size:13px}.target-heading p{font-size:10px}.target-heading .section-icon{width:32px;height:32px}.target-body{grid-template-columns:1fr 1fr;gap:16px}.target-body>.field{display:flex;align-items:center;gap:16px;background:#f7faf3;padding:10px 12px;border-radius:6px}.target-body>.field label{font-size:11px;margin-bottom:0;flex:1}.target-body>.field .input-wrap{width:100px}.target-body input{height:36px}.suggestion-label{font-size:10px}.suggestion-value{font-size:22px}.suggestion button{font-size:10px;margin-top:9px}.target-note{font-size:10px}.method-note{font-size:9px;margin-top:14px}.method-note>span:nth-child(2){flex:1}.method-note button{font-size:9px;display:block;margin-left:18px;flex-basis:100%;text-align:left}footer{padding-top:27px;padding-bottom:22px}.footer-tagline{display:none}dialog{padding:20px}.saved-item{flex-wrap:wrap}.saved-item-actions{margin-left:auto}.toast{bottom:18px}.rate-extra summary{font-size:11px}}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.input-panel{padding:16px}.result-cards{grid-template-columns:1fr}.market-name{font-size:14px}.profit-value{font-size:33px}.cost-row{font-size:11px}.profit-area{padding:15px}.margin-line{font-size:10px}.margin-chip{font-size:10px}.topbar{padding:0 12px}.page-tabs{gap:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.profit-value{font-size:clamp(18px,2.1vw,30px);overflow-wrap:anywhere;white-space:normal}.suggestion-value{overflow-wrap:anywhere;white-space:normal}@media(max-width:680px){.profit-value{font-size:24px}}
/* Regras por categoria, faixa de preço e pacote */
.input-wrap input[data-path^="parcel."]{padding-left:12px}
.rate-summary{padding:13px 14px;border:1px solid #f2decb;background:#fff9f4;border-radius:7px;margin:2px 0 7px;color:#855b3b}
.rate-summary.meli-summary{border-color:#eee5c7;background:#fffdf1;color:#796d3f}
.rule-kicker{display:block;font-size:8px;letter-spacing:.8px;margin-bottom:7px;opacity:.8}
.rate-summary strong{font-size:14px;display:block}.rate-summary p{font-size:10px;margin-top:6px;line-height:1.6}
.text-link{padding:3px 0 0;margin-bottom:17px;color:#557d62;font-size:10px;text-align:left;text-decoration:underline;text-underline-offset:3px}
.parcel-details{margin:5px 0 10px;border-top:1px solid var(--line);padding-top:12px}
.parcel-details summary{font-size:11px;font-weight:600;cursor:pointer;margin-bottom:15px}
.parcel-details .field-help{margin-top:0}.weight-summary{background:#f5f8f1;border:1px solid #e4ebdc;border-radius:7px;padding:12px;margin-bottom:8px}
.weight-line{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#7b8b70;padding:4px 0}
.weight-line strong{font-variant-numeric:tabular-nums;font-weight:550;color:#5d7850}.weight-line.selected{border-top:1px solid #dfe8d4;margin-top:6px;padding-top:9px;color:#456b39}.weight-line.selected strong{font-weight:700}
.weight-summary p{font-size:9px;line-height:1.6;color:#8b9a7d;margin-top:8px}.freight-quote{margin-top:10px;border-top:1px solid #dce7d1;padding-top:10px;color:#6c7d50;font-size:11px;line-height:1.7}
.pending-content{padding:20px 18px 30px;min-height:330px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;background:#fffdf7}
.pending-content>svg{width:26px;height:26px;color:#bca65c}.pending-content h3{font-size:16px;color:#796b42}.pending-content p{font-size:11px;color:#928969;line-height:1.7}.pending-content small{font-size:10px;color:#a69b78;line-height:1.6}.pending-content .button{white-space:normal;text-align:left}
.settings-links{display:grid;gap:10px;margin-bottom:23px}.settings-links button{border:1px solid #e1e7da;border-radius:7px;padding:15px;text-align:left;font-size:13px;font-weight:600;background:#f7f9f3}.settings-links button:hover{background:#eef4e7}.settings-links span{display:block;font-size:11px;font-weight:400;color:#7c8a6d;margin-top:7px}
.wide-modal{width:min(750px,calc(100% - 32px))}.rules-list{display:grid;gap:12px}.rule-row{border:1px solid #e0e7d8;border-radius:9px;padding:15px;background:#f9fbf6}.rule-row .field{margin-bottom:0}.rule-row input{font-size:12px}.rule-row .fields{gap:12px}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.rule-row-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:12px;color:#5b7051}.category-rule{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:center}.category-rule>strong{font-size:12px;font-weight:550;line-height:1.5}.rule-row label{line-height:1.5;font-size:10px}.rules-list+.modal-actions{position:sticky;bottom:-24px;background:#fff;padding:16px 0 8px;border-top:1px solid #e3e9db}.rule-row .icon-button svg{width:14px;height:14px}
@media(max-width:680px){.rate-summary strong{font-size:16px}.rate-summary p,.text-link{font-size:11px}.parcel-details summary{font-size:12px}.weight-line{font-size:11px}.rule-kicker{font-size:9px}.category-rule{grid-template-columns:1fr;gap:12px}.fields.three{grid-template-columns:1fr 1fr}.rule-row .field label{font-size:10px}.wide-modal{padding:18px;width:calc(100% - 24px)}.pending-content{padding:18px 12px;min-height:340px}.pending-content h3{font-size:14px}.pending-content .button{font-size:10px;padding:8px;line-height:1.5}.rules-list+.modal-actions{bottom:-18px}.rules-list+.modal-actions .button{font-size:10px;padding:0 10px}}
@media(max-width:360px){.fields.three{grid-template-columns:1fr}.pending-content{min-height:200px}}
.category-suggestion{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;font-size:9px;color:#788971;line-height:1.7;margin:-4px 0 18px}.category-suggestion strong{font-weight:550;color:#547548}.category-suggestion .text-link{font-size:9px;margin:0;padding:0}.auto-category-badge{background:#eaf3e3;color:#698854;border:1px solid #dce8d2;border-radius:4px;padding:1px 5px;font-size:8px}.check-row{display:flex;gap:10px;align-items:center;cursor:pointer;margin-bottom:14px;font-size:10px;color:#5f7453}.check-row input{width:17px;height:17px;accent-color:#377354;flex-shrink:0;padding:0;border-radius:3px}.check-row strong{display:block;font-size:12px;color:#5b713e}.check-row small{display:block;font-size:9px;color:#88956c;line-height:1.6;margin-top:5px}.super-full-check{padding:13px 12px;background:#fafbec;border:1px solid #e4e8c9;border-radius:7px;margin:14px 0 16px}.shipping-profile-label{display:block;text-transform:uppercase;font-size:8px;letter-spacing:.8px;color:#7c9465;padding-bottom:8px;border-bottom:1px solid #dfe8d4;margin-bottom:5px}@media(max-width:680px){.category-suggestion{font-size:10px}.category-suggestion .text-link{font-size:10px}.check-row{font-size:11px}.check-row small{font-size:10px}}
.freight-help{line-height:1.6;margin-top:-7px;margin-bottom:16px}.freight-quote small{display:block;margin-top:6px;line-height:1.6}.freight-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;max-height:55vh;overscroll-behavior:contain}.freight-table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px}.freight-table caption{padding:12px;text-align:left;font-size:13px;color:#667466}.freight-table th,.freight-table td{padding:8px;border-bottom:1px solid #e6ebe3;border-right:1px solid #e6ebe3;text-align:right;min-width:108px}.freight-table thead th{position:sticky;top:0;background:#eef4e9;z-index:2;font-weight:600;line-height:1.5}.freight-table tr>th:first-child{position:sticky;left:0;background:#f6f9f3;text-align:left;min-width:140px;z-index:1}.freight-table thead tr>th:first-child{z-index:3}.freight-table input{width:80px;min-height:40px;border:1px solid #dce4d5;border-radius:5px;text-align:right;padding:6px 8px;color:#344c3e;background:#fff;font-size:14px}.freight-table input:focus{outline:2px solid #377354;outline-offset:1px}.rules-list{min-width:0}.wide-modal{max-width:min(1100px,calc(100vw - 32px))}.select-input{max-width:100%;min-width:0}.category-suggestion{overflow-wrap:anywhere}
@media(max-width:680px){.result-cards{grid-template-columns:1fr}.market-name{font-size:16px}.market-sub{font-size:12px}.profit-value{font-size:32px}.profit-label,.margin-line,.margin-chip,.cost-row,.distribution-label{font-size:13px}.cost-row{padding:8px 0}.field label,.check-row,.select-input,.text-link,.parcel-details summary{font-size:14px}.field>input,.input-wrap>input{font-size:16px}.field-help,.weight-summary p,.category-suggestion,.check-row small,.rate-summary p,.freight-quote,.weight-line,.shipping-profile-label,.pending-content p,.pending-content small{font-size:12px}.pending-content{min-height:240px}.pending-content .button{min-height:44px}.platform-tab{min-height:44px;font-size:13px}.rule-kicker{font-size:10px}.freight-table input{font-size:16px;min-height:44px}.freight-table-scroll{max-height:58vh}.freight-table th,.freight-table td{min-width:102px}.wide-modal{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:16px}.modal-actions{flex-wrap:wrap}.modal-actions .button{min-height:44px}}

/* Product measurements stay with product data; target precedes comparison. */
#targetContent .target-panel{margin-top:0;margin-bottom:24px}#parcelFields{margin-top:8px}#parcelFields .parcel-details{margin-bottom:6px}#parcelFields>.text-link{margin-bottom:0}
@media(max-width:680px){#targetContent .target-panel{margin-bottom:22px}}
