.profit-page{background:#f5f6f2}.profit-main{min-width:0}.profit-topbar{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid #e2e6de;color:#7e867c;font-size:10px}.profit-topbar div{display:flex;align-items:center;gap:10px}.profit-topbar i{color:#bcc2b9;font-style:normal}.profit-topbar strong{color:#394138;font-size:11px}.profit-topbar p{margin:0;color:#8b9488}.profit-content{max-width:1500px;padding-top:24px}.profit-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 27px;background:#20271f;color:#fff;border:1px solid #151a14;box-shadow:inset 0 1px rgba(255,255,255,.06)}.profit-hero p,.profit-settings small,.profit-products small{margin:0 0 8px;color:#c9f260;font:9px "DM Mono",monospace;letter-spacing:1px}.profit-hero h1{margin:0;font-size:27px;letter-spacing:-1px}.profit-hero span{display:block;margin-top:8px;color:#b8c0b5;font-size:11px}.profit-hero-actions{display:flex;gap:8px}.profit-hero-actions button,.profit-settings button{height:34px;padding:0 13px;border:1px solid #dfe4dc;border-radius:4px;background:#fff;color:#556052;font-size:10px;font-weight:700}.profit-hero-actions .primary{border-color:#d4f862;background:#d8fa6a;color:#26321f}.profit-settings,.profit-products{margin-top:14px;background:#fff;border:1px solid #dfe4dc}.profit-settings>header,.profit-products>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e9ece6}.profit-settings h2,.profit-products h2{margin:0;color:#333c32;font-size:14px}.profit-settings small,.profit-products small{margin-bottom:4px;color:#91aa49}.profit-products>header>span{color:#929990;font-size:9px}.profit-setting-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;padding:14px 18px 10px}.profit-setting-grid label>span{display:block;margin-bottom:6px;color:#737c71;font-size:9px}.profit-setting-grid input,.profit-setting-grid select{width:100%;height:35px;padding:0 10px;border:1px solid #dce2d9;border-radius:4px;background:#fbfcfa;color:#30382f;font-size:11px;outline:none}.profit-setting-grid input:focus,.profit-setting-grid select:focus,.profit-field input:focus,.profit-field select:focus{border-color:#9ebb54;box-shadow:0 0 0 3px rgba(178,213,91,.13)}.profit-suffix{position:relative}.profit-suffix b{position:absolute;right:10px;top:10px;color:#90988d;font-size:10px}.profit-suffix input{padding-right:28px}.profit-formula-note{margin:0;padding:0 18px 14px;color:#90978e;font-size:9px;line-height:1.6}.profit-formula-note a{color:#637b2f;text-decoration:underline;text-underline-offset:2px}.profit-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:14px}.profit-summary article{min-height:92px;padding:15px 17px;background:#fff;border:1px solid #dfe4dc}.profit-summary span,.profit-summary small{display:block;color:#939a91;font-size:9px}.profit-summary b{display:block;margin:8px 0 6px;color:#303930;font-size:20px;letter-spacing:-.5px}.profit-summary .accent{background:#eff8d9;border-color:#d0e4a0}.profit-summary .accent b{color:#537126}.profit-card{margin:12px;border:1px solid #dfe4dc;background:#fbfcfa}.profit-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;background:#f3f6ee;border-bottom:1px solid #e1e6dc}.profit-card-title{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.55fr);gap:8px;flex:1}.profit-card-title input{height:33px;padding:0 10px;border:1px solid #dbe2d7;border-radius:3px;background:#fff;color:#303830;font-size:10px;font-weight:700}.profit-card-actions{display:flex;gap:6px}.profit-card-actions button{height:30px;padding:0 9px;border:1px solid #dce2d9;border-radius:3px;background:#fff;color:#6f786c;font-size:9px}.profit-card-actions button.danger{color:#a84a3e}.profit-card-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:13px}.profit-block{padding:11px;border:1px solid #e4e8e1;background:#fff}.profit-block h3{margin:0 0 10px;color:#596355;font-size:10px}.profit-field{display:block;margin-top:8px}.profit-field>span{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;color:#899186;font-size:8px}.profit-field input,.profit-field select{width:100%;height:32px;padding:0 8px;border:1px solid #dce2d9;border-radius:3px;background:#fbfcfa;color:#333b32;font-size:10px;outline:none}.profit-inline{display:grid;grid-template-columns:1fr 1fr;gap:7px}.profit-shipping-mode{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px}.profit-shipping-mode button{height:29px;border:1px solid #dce2d9;border-radius:3px;background:#fafbf9;color:#828a80;font-size:8px}.profit-shipping-mode button.active{border-color:#bad078;background:#eef6dc;color:#536a31;font-weight:700}.profit-usps-match{margin:7px 0 0;padding:7px 8px;background:#f3f6ef;color:#7a8377;font-size:8px;line-height:1.5}.profit-result{display:grid;grid-template-columns:1fr 1fr;gap:7px}.profit-result div{min-height:58px;padding:9px;background:#f5f7f2}.profit-result span,.profit-result small{display:block;color:#8a9287;font-size:8px}.profit-result b{display:block;margin-top:6px;color:#344033;font-size:14px}.profit-result .positive b{color:#5d7b2e}.profit-result .negative b{color:#b3483a}.profit-empty{margin:12px;padding:42px;text-align:center;color:#91998f;border:1px dashed #d8ded4;background:#fafbf8;font-size:10px}.profit-empty button{display:block;margin:12px auto 0;padding:8px 12px;border:0;border-radius:3px;background:#d8fa6a;color:#2f3c24;font-size:9px;font-weight:800}.profit-page .toast{position:fixed;right:22px;bottom:22px;z-index:50;max-width:360px;padding:11px 14px;background:#242b22;color:#fff;border-radius:4px;font-size:10px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.profit-page .toast.show{opacity:1;transform:none}
@media(max-width:1100px){.profit-setting-grid{grid-template-columns:repeat(2,1fr)}.profit-summary{grid-template-columns:repeat(3,1fr)}.profit-card-body{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.profit-topbar{padding:0 16px}.profit-content{padding:14px}.profit-hero{align-items:flex-start;flex-direction:column;padding:20px}.profit-hero-actions{width:100%}.profit-hero-actions button{flex:1}.profit-setting-grid,.profit-summary,.profit-card-body{grid-template-columns:1fr}.profit-card-title{grid-template-columns:1fr}.profit-card>header{align-items:stretch;flex-direction:column}.profit-card-actions button{flex:1}.profit-products>header{align-items:flex-start;gap:6px;flex-direction:column}}

/* Multi-market comparison and regional last-mile rate cards */
.profit-settings,.profit-products,.profit-comparison{margin-top:14px;background:#fff;border:1px solid #dfe4dc}.profit-comparison>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e9ece6}.profit-comparison h2{margin:0;color:#333c32;font-size:14px}.profit-comparison small{display:block;margin:0 0 4px;color:#91aa49;font:9px "DM Mono",monospace;letter-spacing:1px}.profit-comparison>header>span{color:#929990;font-size:9px}.profit-setting-grid{grid-template-columns:repeat(5,minmax(140px,1fr))}.profit-formula-note{padding-bottom:10px}.profit-rate-card{margin:0 18px 14px;border:1px solid #e2e7de;background:#fafcf7}.profit-rate-card summary{padding:10px 12px;color:#596752;cursor:pointer;font-size:9px;font-weight:800}.profit-rate-table{overflow:auto;padding:0 10px 10px}.profit-rate-table table{width:100%;min-width:520px;border-collapse:collapse}.profit-rate-table th,.profit-rate-table td{padding:7px 10px;border:1px solid #dce2d8;text-align:center;font-size:8px}.profit-rate-table th{background:#eef2e8;color:#5c6658}.profit-rate-table td{background:#fff;color:#747d72}.profit-shipping-profile{margin-top:8px}.profit-usps-match.warning{background:#fff3e4;color:#9a6636}.profit-comparison-scroll{overflow:auto}.profit-comparison table{width:100%;min-width:980px;border-collapse:collapse}.profit-comparison th,.profit-comparison td{padding:11px 13px;border-bottom:1px solid #ebeee8;text-align:left;font-size:9px;white-space:nowrap}.profit-comparison th{background:#f7f9f5;color:#858d82;font-weight:700}.profit-comparison td{color:#596257}.profit-comparison td b,.profit-comparison td small{display:block}.profit-comparison td small{margin-top:3px;color:#9aa196}.profit-comparison tr.best-profit{background:#f5faeb}.profit-comparison em{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:10px;background:#dafa75;color:#50642e;font-size:7px;font-style:normal}.profit-comparison .negative{color:#b3483a}
@media(max-width:1200px){.profit-setting-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.profit-setting-grid{grid-template-columns:1fr}.profit-comparison>header{align-items:flex-start;gap:6px;flex-direction:column}}
.profit-rate-table td:last-child,.profit-rate-table th:last-child{background:#f4ffd8;color:#263414}.profit-rate-reset{width:100%;min-height:30px;margin-top:7px;border:1px solid #c8d7a0;border-radius:4px;background:#f7fbe9;color:#34431d;font:700 8px/1.2 inherit;cursor:pointer}.profit-rate-reset:hover{border-color:#9eb562;background:#eff8d5}

/* Region-scoped product records and live volumetric-weight calculation */
.profit-settings>header{gap:16px}.profit-list-actions{display:flex;align-items:center;gap:7px}.profit-list-toolbar{grid-template-columns:minmax(210px,.45fr) minmax(260px,1fr);align-items:stretch}.profit-selection-info{display:flex;align-items:center;gap:14px;min-height:35px;padding:8px 12px;border:1px solid #dce2d9;border-radius:4px;background:#f8faf5}.profit-selection-info>span{color:#737c71;font-size:9px}.profit-selection-info>b{color:#303a2e;font-size:12px}.profit-selection-info>small{margin:0 0 0 auto;color:#929a90;font:8px/1.45 inherit;letter-spacing:0}.profit-settings>.profit-comparison{margin:0;border-width:1px 0 0}.profit-settings>.profit-comparison>header{padding:13px 18px}.profit-settings>.profit-comparison table{min-width:1260px}.profit-dimension-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.profit-weight-result{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0 4px;padding:8px 9px;background:#eef4e6;color:#737d6f;font-size:8px}.profit-weight-result b{color:#34442c;font-size:10px}.profit-weight-result i{color:#b0b9aa;font-style:normal}.profit-weight-result small{margin-left:auto;color:#84907f;font-size:7px}.profit-usps-match b{color:#46583a}.profit-card-body{grid-template-columns:minmax(360px,1.35fr) repeat(3,minmax(0,1fr))}.profit-comparison-scroll{max-height:390px}.profit-comparison-scroll thead{position:sticky;top:0;z-index:1}
.profit-exchange-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:6px;margin-top:7px}.profit-exchange-row .profit-usps-match{margin:0}.profit-exchange-row button{min-width:92px;padding:0 9px;border:1px solid #bdd17e;border-radius:3px;background:#eff7da;color:#50672f;font-size:8px;font-weight:800;cursor:pointer}.profit-exchange-row button:disabled{border-color:#e1e5de;background:#f5f6f4;color:#a8aea5;cursor:not-allowed}
.profit-result-price{margin-bottom:9px;padding:8px 9px;border:1px solid #e1e7dc;border-radius:3px;background:#f8faf5}.profit-result-price .profit-field{margin-top:0}.profit-result-price .profit-field>span{color:#65745f;font-weight:800}.profit-result-price .profit-field input{background:#fff;border-color:#cbd8be;font-weight:800}
@media(max-width:1250px){.profit-card-body{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.profit-list-actions{width:100%}.profit-list-actions button{flex:1}.profit-settings>header{align-items:stretch;flex-direction:column}.profit-list-toolbar{grid-template-columns:1fr}.profit-selection-info{align-items:flex-start;flex-direction:column;gap:4px}.profit-selection-info>small{margin-left:0}.profit-card-body{grid-template-columns:1fr}.profit-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-weight-result small{width:100%;margin-left:0}.profit-exchange-row{grid-template-columns:1fr}.profit-exchange-row button{height:31px}}

/* Classified comparison table, product images and compact header controls */
.profit-settings>header{align-items:flex-end;flex-wrap:wrap}.profit-list-actions{flex-wrap:wrap;justify-content:flex-end}.profit-header-select{display:grid;grid-template-columns:auto minmax(105px,1fr);align-items:center;gap:6px;height:34px;padding-left:9px;border:1px solid #dfe4dc;border-radius:4px;background:#fff;color:#7d867a;font-size:8px}.profit-header-select select{height:32px;padding:0 25px 0 7px;border:0;border-left:1px solid #edf0ea;background:#fff;color:#3c4639;font-size:9px;outline:none}.profit-list-actions .primary{border-color:#c5df7a;background:#d8fa6a;color:#26321f}.profit-summary{grid-template-columns:repeat(3,1fr)}.profit-card>header{align-items:stretch}.profit-card-title{grid-template-columns:minmax(180px,1fr) minmax(120px,.55fr) minmax(110px,.45fr)}.profit-image-uploader{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border:1px dashed #cbd4c4;border-radius:4px;background:#fff;color:#7c8973;font-size:8px;font-weight:800;cursor:pointer}.profit-image-uploader input{display:none}.profit-image-uploader img{width:100%;height:100%;object-fit:cover}.profit-table-image{display:block;width:38px;height:38px;object-fit:cover;border:1px solid #dde3d8;border-radius:4px;background:#fff}.profit-table-image.empty{display:grid;place-items:center;color:#a1a89d;font-size:7px}.profit-table-delete{height:27px;padding:0 9px;border:1px solid #e6c9c4;border-radius:3px;background:#fff8f7;color:#a84a3e;font-size:8px;cursor:pointer}.profit-settings>.profit-comparison table{min-width:1480px}
@media(max-width:980px){.profit-settings>header{align-items:stretch;flex-direction:column}.profit-list-actions{justify-content:flex-start}.profit-header-select{flex:1}.profit-card-title{grid-template-columns:1fr 1fr}.profit-card-title input:last-child{grid-column:1/-1}}
@media(max-width:760px){.profit-list-actions{display:grid;grid-template-columns:1fr 1fr}.profit-header-select{width:100%;box-sizing:border-box}.profit-list-actions button{width:100%}.profit-summary{grid-template-columns:1fr}.profit-card>header{align-items:flex-start;flex-wrap:wrap}.profit-card-title{min-width:calc(100% - 62px);grid-template-columns:1fr}.profit-card-title input:last-child{grid-column:auto}.profit-card-actions{width:100%;justify-content:flex-end}}
.profit-fee-reference{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:7px 0 0;padding:6px 7px;border:1px solid #e2e8dd;border-radius:3px;background:#f7f9f4;color:#7c8678;font-size:7px;line-height:1.45}.profit-fee-reference span{min-width:0}.profit-fee-guide{flex:0 0 auto;padding:4px 6px;border:1px solid #bfd078;border-radius:3px;background:#f0f7dd;color:#52682f;text-decoration:none;font-weight:800;white-space:nowrap}.profit-fee-guide:hover{border-color:#9fb459;background:#e8f4c8}.profit-settings>.profit-comparison table{min-width:1600px}
.profit-header-exchange{display:grid;grid-template-columns:minmax(230px,1fr) 46px;align-items:stretch;gap:5px}.profit-header-exchange .profit-header-select{grid-template-columns:auto minmax(74px,90px)}.profit-header-exchange .profit-header-select>span{display:grid;gap:1px;white-space:nowrap}.profit-header-exchange .profit-header-select small{color:#8e978b;font-size:7px;font-weight:500}.profit-header-exchange input{width:100%;min-width:0;height:32px;box-sizing:border-box;padding:0 7px;border:0;border-left:1px solid #edf0ea;background:#fff;color:#3c4639;font-size:9px;outline:none}.profit-header-exchange>button{height:34px;padding:0!important;border-color:#c9d8a2!important;background:#f2f8e3!important;color:#52672f!important;font-size:8px!important}
@media(max-width:980px){.profit-header-exchange{flex:1;min-width:280px}}
@media(max-width:760px){.profit-header-exchange{grid-column:1/-1;width:100%;min-width:0}.profit-header-exchange .profit-header-select{width:auto}.profit-header-exchange>button{width:46px!important}}
