:root{--control-height: 44px;--control-gap: 12px;--section-gap: 24px}body :is(button,.button){min-height:var(--control-height);padding:10px 16px;line-height:22px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;vertical-align:middle;white-space:nowrap}body input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body select{min-height:var(--control-height);line-height:22px;padding:10px 12px;border-radius:8px;min-width:0}body select:not([multiple]){appearance:none;-webkit-appearance:none;padding-right:50px;border-radius:12px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23536b60' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:12px 8px;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}body select:not([multiple]):disabled{background-color:#f4f6f4}body textarea{border-radius:8px;min-height:96px;line-height:1.5;resize:vertical}body :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-height:0;margin:0;flex:0 0 auto;accent-color:#173f36}body button:disabled{cursor:not-allowed}body :is(button,.button,summary):focus-visible{outline:3px solid #74ab92;outline-offset:3px}body button:not(:disabled):hover,body .button:hover{filter:brightness(.96)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.error-page{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(circle at 75% 12%,#dcece2 0,transparent 28rem),#f3f6f3;color:#172a29;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,system-ui,sans-serif}.error-card{width:min(100%,620px);padding:clamp(28px,6vw,54px);border:1px solid var(--line);border-radius:20px;background:#fffffff5;box-shadow:0 24px 70px #14372a1a}.error-brand{display:inline-flex;align-items:center;gap:10px;color:#173f36;font-weight:800;letter-spacing:.08em;text-decoration:none}.error-brand span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#173f36;color:#fff;letter-spacing:0}.error-code{margin:36px 0 8px;color:#5e7d6e;font-size:12px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.error-card h1{margin:0 0 14px;color:#132b24;font-size:clamp(28px,6vw,40px);letter-spacing:-.035em}.error-card>p:not(.error-code,.error-help){color:#63746c;line-height:1.8}.error-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.error-help{margin:30px 0 0;padding-top:20px;border-top:1px solid #e7ece8;color:#7a8881;font-size:13px}.error-help code{padding:3px 7px;border:1px solid #dce5df;border-radius:6px;background:#f4f7f5;color:#284c41;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.workspace .fields{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.freight-live-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 18px;padding:18px 20px;border:1px solid #b9d8c4;border-radius:12px;background:linear-gradient(135deg,#f1f8f2,#e8f3eb);color:#173f36}.freight-live-total>span{font-size:14px;font-weight:650}.freight-live-total>strong{grid-row:span 2;font-size:clamp(24px,3vw,34px);line-height:1;color:#226747;white-space:nowrap}.freight-live-total>small{color:#587066}.freight-scope{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.freight-scope ul{display:grid;gap:7px;margin:10px 0 0;padding:0;list-style:none}.freight-scope li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:7px;border-top:1px solid #e4ebe6}.freight-scope small{color:var(--muted);text-align:right}.quote-workbench,.quote-step,.quote-line-list{display:grid;gap:16px}.quote-step,.quote-final-summary{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.quote-step-heading{display:flex;align-items:flex-start;gap:12px}.quote-step-heading>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--brand);color:#fff;font-weight:800}.quote-step-heading h3,.quote-step-heading p{margin:0}.quote-step-heading h3{font-size:1rem}.quote-step-heading p{margin-top:4px;color:var(--muted);font-size:.8rem;line-height:1.5}.quote-line-card{display:grid;gap:13px;padding:14px;border:1px solid #dfe7e2;border-radius:10px;background:#fff}.quote-line-product,.quote-line-math,.quote-reference,.quote-ai-actions{display:flex;align-items:center;gap:10px}.quote-line-product{justify-content:space-between}.quote-line-product>div{display:grid;gap:3px;min-width:0}.quote-line-product>div>span,.quote-line-math span,.quote-reference>span,.quote-reference>div>span{color:var(--muted);font-size:.75rem}.quote-line-math{display:grid;grid-template-columns:minmax(66px,.6fr) minmax(150px,1.4fr) minmax(90px,.8fr);align-items:end}.quote-line-math>div{display:grid;gap:5px}.quote-line-math input{font-size:1rem;font-weight:700}.quote-line-math label small{color:var(--brand-strong);font-size:.7rem;font-weight:650}.quote-reference{align-items:flex-start;flex-direction:column;padding-top:11px;border-top:1px dashed #dfe6e1}.quote-reference>div{display:grid;gap:8px;width:100%}.quote-ai-actions{flex-wrap:wrap}body .quote-ai-actions button{min-height:34px;padding:6px 9px;font-size:.75rem}.quote-final-summary{display:grid;gap:16px;border-color:#9ebbac;background:#f2f8f4}.quote-final-summary dl,.saved-quote-lines{display:grid;gap:0;margin:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.quote-final-summary dl>div,.saved-quote-lines>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #e5ebe7}.quote-final-summary dl>div:last-child,.saved-quote-lines>div:last-child{border-bottom:0}.quote-final-summary dt{display:grid;gap:2px}.quote-final-summary dt small{color:var(--muted);font-size:.7rem}.quote-final-summary dd{margin:0;font-weight:750}.quote-final-summary .grand-total{background:var(--brand-soft);color:var(--brand-strong)}.quote-final-summary .grand-total dd{font-size:1.35rem}.saved-quote-lines span{display:grid;gap:3px}.saved-quote-lines small{color:var(--muted)}@media(max-width:640px){.quote-line-math{grid-template-columns:1fr}.quote-line-product,.freight-scope li{align-items:flex-start;flex-direction:column}.freight-scope small{text-align:left}}.workspace label{gap:8px;min-width:0}.workspace .stack{gap:20px}.workspace .stack>button{justify-self:start}.workspace .form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--control-gap)}.order-detail-actions{margin-bottom:20px}.order-detail-actions form{margin:0}.workspace .toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:var(--section-gap)}.workspace .toolbar>label{flex:1 1 220px;max-width:460px}.workspace .toolbar>:is(button,.button){flex:0 0 auto}.workspace .row>:is(input:not([type=hidden]),select){width:auto;flex:1 1 180px;max-width:100%}.workspace .row>button{flex:0 0 auto}.workspace .section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.workspace .section-heading h2{margin:0}.workspace details>summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:600}.workspace details[open]>summary{margin-bottom:16px}.workspace details+details{margin-top:16px}.workspace .country-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;max-height:260px;overflow:auto;padding:12px;border:1px solid #dfe5df;border-radius:8px}.workspace label.check-option{display:flex;align-items:center;gap:8px;font-weight:400;min-height:32px}.warehouse-stats .card{margin-bottom:0}.warehouse-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.stock-threshold-form{display:flex;align-items:center;gap:8px;min-width:184px}.stock-threshold-form input[type=number]{width:86px}body .stock-threshold-form button{min-height:40px;padding:8px 12px}.badge.warning{background:#fff3d6;color:#7b5600}.badge.danger{border:0;background:#fff0ed;color:#942e27}.shipment-delivery{display:table;margin-bottom:10px}.workspace td{vertical-align:middle}.workspace .table-wrap{min-width:0;max-width:100%}.workspace th{white-space:nowrap}.sidebar{min-width:0}.sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;white-space:nowrap}.sidebar .nav-count{display:inline-grid;min-width:22px;height:22px;padding:0 6px;place-items:center;border-radius:999px;background:#f2c96d;color:#2d3022;font-size:.72rem;font-weight:800}@media(max-width:900px){body .shell{grid-template-columns:minmax(0,1fr)}.workspace{width:100%;min-width:0}}@media(max-width:600px){.workspace .fields{grid-template-columns:1fr}.workspace .toolbar>label{flex-basis:100%;max-width:none}.warehouse-stats{grid-template-columns:1fr}.workspace .form-actions{gap:10px}}.workspace .catalog-search{flex-wrap:wrap;margin-bottom:14px}.workspace .catalog-search input{flex:1 1 260px}.workspace .catalog-search select{width:auto;min-width:150px}.workspace .catalog-search input.catalog-price-input{flex:0 1 145px;max-width:145px}.workspace label.catalog-stock-option{display:inline-flex;flex-direction:row;align-items:center;gap:8px;min-height:42px;font-weight:500;white-space:nowrap}.workspace label.catalog-stock-option input{flex:0 0 auto;width:18px;min-height:18px;margin:0}.catalog-result-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px;color:var(--muted);font-size:.9rem}.catalog-tags{display:flex;flex-wrap:wrap;gap:7px}.catalog-tag{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid #d9e2dc;border-radius:999px;background:var(--surface-soft);color:#2f5f49;font-size:.8rem;line-height:1;text-decoration:none}.catalog-tag:hover,.catalog-tag.selected{border-color:#7dad95;background:#eaf4ee;color:#173f2d}.catalog-sales{margin:0}.catalog-stock,.catalog-fulfillment{margin:-4px 0 0}.product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.product-facts>div{padding:11px 12px;border:1px solid #e1e7e2;border-radius:8px;background:#fafcfb}.product-facts dt{color:var(--muted);font-size:.78rem}.product-facts dd{margin:4px 0 0;font-weight:650}.favorite-form{margin-left:auto}body button.favorite-button{min-height:34px;padding:5px 10px;border-color:#cbd7d1;background:#fff;color:#466357;font-size:.8rem}body button.favorite-button.selected{border-color:#d8a83e;background:#fff8e7;color:#805b09}body button.detail-favorite{width:100%;min-height:44px;font-size:.9rem}.cart-quantity-form{display:grid;grid-template-columns:96px minmax(112px,auto) auto;align-items:end;gap:8px 12px}.cart-quantity-form input[type=number]{width:96px}.quantity-save-state{align-self:center;min-width:112px;color:#60736a;font-size:.75rem;line-height:1.4}.quantity-save-state.error-text{color:#942e27}.mapping-summary{display:grid;gap:8px;margin:14px 0 18px}.procurement-product-match{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(18rem,1.25fr);align-items:center;gap:.75rem 1rem;padding:.85rem;border:1px solid #dce5df;border-radius:.75rem;background:#f7faf8}.procurement-product-match>span{display:grid;gap:.2rem}.procurement-product-match small{color:var(--muted)}.manual-quote-badge{margin-left:.5rem;vertical-align:middle}@media(max-width:720px){.procurement-product-match{grid-template-columns:1fr}}.mapping-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dce5df;border-radius:10px;background:#f7faf8;color:#496158;font-size:.82rem}.ai-order-lines{display:grid;gap:12px;margin:18px 0}.ai-quote-assistant{overflow:hidden;border:1px solid #d9e3dd;border-radius:12px;background:#fbfcfb}.ai-product-line,.ai-quote-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.ai-product-line{padding:14px 16px}.ai-product-line>div{display:grid;gap:4px}.ai-product-line span{color:var(--muted);font-size:12px}body .ai-product-line button{min-height:38px;padding:7px 12px}.ai-quote-panel{display:grid;gap:18px;padding:18px;border-top:1px solid #e2e8e4;background:#fff}.ai-quote-form{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,220px) auto;align-items:end;gap:12px}.ai-quote-result{display:grid;gap:16px;padding-top:18px;border-top:1px solid #e4e9e5}.ai-quote-heading h4,.ai-quote-heading p{margin:0}.ai-quote-heading h4{margin-top:4px;font-size:17px}.ai-spec-grid,.ai-price-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.ai-spec-grid>div,.ai-price-summary>div{padding:13px;border:1px solid #e0e7e2;border-radius:10px;background:#f8faf8}.ai-spec-grid dt,.ai-price-summary span{color:#687a71;font-size:12px}.ai-spec-grid dd{margin:6px 0 3px;color:#173f36;font-size:17px;font-weight:750}.ai-spec-grid small{color:#78877f;font-size:11px}.ai-market-block{display:grid;gap:14px;padding:18px;border:1px solid #d6e5da;border-radius:12px;background:#f7fbf8}.ai-price-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ai-price-summary>div{display:grid;gap:7px;background:#fff}.ai-price-summary strong{color:#315a49;font-size:20px}.ai-price-summary .primary{border-color:#8dbca0;background:#eaf5ed}.ai-price-summary .primary strong{color:#19643f;font-size:24px}.ai-listings{display:grid;gap:7px;max-height:340px;overflow:auto}.ai-listing-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 12px;border:1px solid #e1e8e3;border-radius:9px;background:#fff}.ai-listing-card>span{display:grid;gap:3px;min-width:0}.ai-listing-card>span strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.ai-listing-card small{color:var(--muted)}.ai-listing-card>b{flex:0 0 auto;color:#1d6243}.ai-listing-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.ai-listing-actions a{padding:6px 9px;border:1px solid #b9cec1;border-radius:7px;background:#f7faf8;color:#285c45;font-size:12px;font-weight:700;white-space:nowrap}.ai-listing-actions a:hover{border-color:#659a7d;background:#edf6f0}.ai-result-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-result-footer p{margin:0}body .ai-result-footer button{min-height:38px;padding:7px 12px}.ai-quote-settings{border-top:1px solid #e4e9e5}.ai-quote-settings>summary,.ai-more-sources>summary{color:#37634f;font-size:13px}.ai-quote-settings .ai-quote-form{padding:14px;border:1px solid #e0e7e2;border-radius:10px;background:#f8faf8}.ai-more-sources .ai-listings{margin-top:10px}@media(max-width:800px){.ai-quote-form{grid-template-columns:1fr}.ai-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ai-product-line,.ai-quote-heading,.ai-result-footer{align-items:flex-start;flex-direction:column}.ai-listing-card{grid-template-columns:1fr auto}.ai-listing-card>span,.ai-listing-actions{grid-column:1 / -1}.ai-listing-actions{justify-content:flex-start}.ai-price-summary{grid-template-columns:1fr}}@media(max-width:560px){.cart-quantity-form{grid-template-columns:96px 1fr auto;width:100%}}
