:root{color:#19332f;background:#f3f6f5;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none}.attribute-manager-item,.variant-axis{display:grid;gap:12px;width:100%}.variant-axis{border:1px solid #dfe7e4;border-radius:10px;margin:12px 0;padding:12px 16px 16px}.variant-table-card{background:#fff;border-radius:14px;padding:16px;overflow:hidden}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:center;gap:clamp(40px,8vw,128px);padding:clamp(28px,7vw,104px);background:radial-gradient(circle at 14% 12%,rgba(103,186,160,.2),transparent 30%),linear-gradient(135deg,#e8f2ef 0 56%,#f8faf9 56%)}.login-brand{max-width:660px}.login-brand .ant-typography{color:#153e36}.login-brand h1{font-size:clamp(40px,5vw,68px);line-height:1.08;letter-spacing:-.04em;margin:18px 0 24px}.login-brand p:last-child{max-width:560px;font-size:18px;line-height:1.8;color:#58736d}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.22em;color:#176b5b!important}.login-card{width:100%;max-width:460px;justify-self:end;box-shadow:0 24px 70px #163e3624}.login-card .ant-card-body{padding:clamp(28px,4vw,48px)}.login-heading{display:flex;align-items:center;gap:16px;margin-bottom:28px}.login-heading h2{margin:0 0 2px}.brand-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#176b5b;color:#fff;font-weight:800;letter-spacing:.04em}.login-alert{margin-bottom:22px}.security-note{display:block;text-align:center;margin-top:20px;font-size:12px}.route-error-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f3f6f5}.route-error-card{width:min(100%,460px);padding:36px;border:1px solid #dfe8e5;border-radius:18px;background:#fff;box-shadow:0 24px 70px #163e361f;text-align:center}.route-error-card h1{margin:0 0 10px;color:#19332f;font-size:28px}.route-error-card p{margin:0 0 24px;color:#58736d}.route-reload-button{min-height:42px;padding:0 24px;border:0;border-radius:9px;background:#176b5b;color:#fff;cursor:pointer;font-weight:700}.route-reload-button:focus-visible{outline:3px solid rgba(23,107,91,.28);outline-offset:3px}.route-state{min-height:100vh;display:grid;place-items:center;padding:24px}.route-state [role=status]{display:grid;justify-items:center;gap:16px;color:#58736d}.app-layout{min-height:100vh;background:#f3f6f5}.shell-sidebar{position:fixed;inset:0 auto 0 0;z-index:10;width:268px;display:flex;flex-direction:column;overflow:hidden;padding:26px 18px 20px;background:#123d35;color:#fff}.shell-sidebar>.shell-brand,.shell-sidebar>.shell-account{flex:0 0 auto}.shell-sidebar>.shell-nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:#7da99e transparent}.shell-brand{display:flex;align-items:center;gap:12px;margin:0 8px 36px;color:#fff;text-decoration:none}.shell-brand>span:last-child{display:grid}.shell-brand strong{font-size:17px;letter-spacing:.02em}.shell-brand small{margin-top:3px;color:#9fc6bb;font-size:11px;letter-spacing:.12em}.shell-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#d7f062;color:#123d35;font-weight:900;font-size:13px}.nav-section-label{margin:0 14px 10px;color:#7da99e;font-size:11px;font-weight:700;letter-spacing:.18em}.shell-nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:8px 12px;border-radius:10px;color:#cce0da;text-decoration:none;font-weight:600}.nav-link:hover{color:#fff;background:#ffffff14}.nav-link.active{color:#123d35;background:#d7f062}.nav-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid currentColor;border-radius:8px;font-size:12px}.shell-account{display:flex;align-items:center;gap:10px;margin-top:auto;padding:14px 8px 0;border-top:1px solid rgba(255,255,255,.14);color:#fff}.account-avatar,.mobile-avatar{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border-radius:50%;background:#d7f062;color:#123d35;font-weight:800}.account-copy{display:grid;min-width:0;flex:1}.account-copy strong,.account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy small{color:#9fc6bb}.shell-account .ant-btn{color:#cce0da}.shell-content{min-height:100vh;margin-left:268px;padding:clamp(28px,5vw,64px)}.page-stack{max-width:1180px;margin:0 auto}.page-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-header h1{margin:4px 0 0;font-size:clamp(32px,4vw,48px)}.date-chip{padding:8px 14px;border-radius:999px;color:#176b5b;background:#dcece7;font-size:13px;font-weight:700}.empty-workbench{min-height:360px;display:grid;align-content:center;justify-items:center;padding:40px;border:1px solid #dfe8e5;border-radius:20px;background:#fff;box-shadow:0 14px 45px #1e463d0d;text-align:center}.empty-workbench>span{display:grid;place-items:center;width:64px;height:64px;margin-bottom:14px;border-radius:20px;background:#e7f2ee;color:#176b5b;font-size:28px}.empty-workbench h2{margin:0 0 8px}.dashboard-empty-workbench{min-height:250px}.receivables-dashboard-card{display:grid;grid-template-columns:minmax(220px,1fr) repeat(2,minmax(130px,.35fr)) auto;align-items:center;gap:22px;margin-bottom:20px;padding:24px;border:1px solid #dfe8e5;border-radius:18px;background:#fff;box-shadow:0 14px 45px #1e463d0f}.receivables-dashboard-card.has-overdue{border-color:#edb6ad;background:linear-gradient(120deg,#fff4f0,#fff);box-shadow:0 14px 45px #a63d2a1a}.receivables-dashboard-card h2{margin:3px 0 6px;font-size:24px}.receivables-dashboard-card p{margin:0;color:#6a827c}.receivables-dashboard-card dl{display:contents}.receivables-dashboard-card dl>div{display:grid;gap:5px}.receivables-dashboard-card dt{color:#71857f;font-size:12px}.receivables-dashboard-card dd{margin:0;color:#a73327;font-size:22px;font-weight:800}.receivables-dashboard-card a{color:#176b5b;font-weight:800;text-decoration:none;white-space:nowrap}.receivables-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;align-items:center;gap:12px;margin-bottom:18px}.receivables-mobile-list{display:none}.receivable-mobile-card{display:grid;gap:9px;padding:18px;border-bottom:1px solid #e1e9e7}.receivable-mobile-card:last-child{border-bottom:0}.receivable-mobile-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.receivable-mobile-card p{margin:0;color:#47665f}.receivable-mobile-card>strong{color:#176b5b;font-size:21px}.receivable-mobile-card small{color:#71857f}.receivables-load-more{display:flex;justify-content:center;padding:18px}.profit-report-page{width:100%;max-width:1320px;min-width:0;overflow-x:clip}.profit-filter-card{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr)) auto;align-items:end;gap:14px;margin-bottom:22px;padding:20px;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.profit-filter-card label{display:grid;gap:6px;color:#47665f;font-size:13px;font-weight:700}.profit-filter-card input[type=date]{min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#19332f}.profit-filter-card>.ant-btn{min-height:32px}.profit-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.profit-metric-grid article{min-width:0;display:grid;gap:9px;padding:20px;border:1px solid #dfe8e5;border-radius:15px;background:#fff;box-shadow:0 10px 28px #1e463d0a}.profit-metric-grid article.emphasis{border-color:#a7d6c8;background:linear-gradient(135deg,#e6f4ef,#fff)}.profit-metric-grid span{color:#71857f;font-size:12px}.profit-metric-grid strong{color:#19332f;font-size:clamp(16px,1.55vw,22px);letter-spacing:-.02em;white-space:nowrap}.profit-metric-grid .emphasis strong{color:#176b5b}.profit-anomaly{margin-bottom:18px}.profit-ranking{margin-bottom:24px;padding:20px}.profit-ranking>header,.profit-orders-section>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.profit-ranking h2,.profit-orders-section h2{margin:0;font-size:19px}.profit-ranking header span,.profit-orders-section header span{color:#71857f;font-size:13px}.profit-ranking ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.profit-ranking li{display:grid;grid-template-columns:34px minmax(150px,1fr) minmax(120px,auto) 90px auto;align-items:center;gap:14px;padding:13px 0;border-top:1px solid #e1e9e7}.profit-ranking li>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7f2ee;color:#176b5b}.profit-ranking li>span:nth-child(2){display:grid;gap:3px}.profit-ranking small{color:#71857f}.profit-empty{margin:0;color:#71857f}.profit-orders-mobile{display:none}.profit-orders-table a,.profit-orders-mobile a{color:#176b5b;font-weight:800;text-decoration:none}.profit-orders-mobile article{display:grid;gap:10px;padding:18px;border-bottom:1px solid #e1e9e7}.profit-orders-mobile article:last-child{border-bottom:0}.profit-orders-mobile article>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profit-orders-mobile p{margin:0;color:#58736d}.profit-orders-mobile dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.profit-orders-mobile dl>div{min-width:0;padding:10px;border-radius:9px;background:#f3f7f6}.profit-orders-mobile dt{color:#71857f;font-size:12px}.profit-orders-mobile dd{margin:4px 0 0;overflow-wrap:anywhere;font-weight:800}.receipt-form,.receivable-detail{display:grid;gap:18px}.receipt-form label,.due-date-editor label{display:grid;gap:7px;color:#47665f;font-size:13px;font-weight:700}.receipt-form input,.due-date-editor input{width:100%;min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;background:#fff}.due-date-editor{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px;padding:14px;border-radius:12px;background:#f4f8f7}.receivable-ledger{display:grid;gap:0;margin:0;padding:0;list-style:none}.receivable-ledger li{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #e1e9e7}.receivable-ledger li>span{display:grid;gap:4px}.receivable-ledger small{color:#71857f}.forbidden-page h1{margin:0 0 8px;font-size:24px}.forbidden-page p{margin:0}.mobile-header{position:sticky;top:0;z-index:9;height:68px;display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #dfe8e5;background:#f8faf9f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-header .shell-brand{margin:0;color:#123d35}.mobile-header .shell-brand small{display:none}.mobile-header .shell-logo{width:36px;height:36px}.menu-trigger{font-size:22px}.mobile-avatar{width:34px;height:34px}.ant-drawer-body .shell-nav{margin-bottom:32px}.ant-drawer-body .nav-link{color:#315d54}.ant-drawer-body .nav-link.active{color:#123d35}.ant-drawer-body .shell-account{color:#123d35;border-color:#dfe8e5}.ant-drawer-body .account-copy small{color:#6a827c}.ant-drawer-body .shell-account .ant-btn{color:#176b5b}.iam-loading{min-height:55vh;display:grid;place-content:center;justify-items:center;gap:14px;color:#58736d}.iam-page .page-header{align-items:center}.count-chip{flex:0 0 auto;padding:9px 14px;border-radius:10px;background:#e3ece9;color:#315d54;font-weight:700}.page-alert{margin-bottom:18px}.exchange-rate-card{max-width:720px;padding:26px;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.exchange-rate-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.exchange-rate-heading h2{margin:0 0 6px}.exchange-rate-heading p,.exchange-rate-note{margin:0;color:#58736d}.exchange-rate-card form>label{display:block;margin-bottom:8px;color:#47665f;font-weight:700}.exchange-rate-input-row{display:grid;grid-template-columns:auto minmax(140px,240px) auto;align-items:center;gap:10px}.exchange-rate-actions{margin-top:20px}.exchange-rate-loading,.exchange-rate-page .field-error{margin:8px 0 0}.exchange-rate-page .field-error{color:#b42318}.exchange-rate-note{margin-top:22px;padding-top:18px;border-top:1px solid #e1e9e7}@media(max-width:520px){.exchange-rate-card{padding:20px}.exchange-rate-input-row{grid-template-columns:auto minmax(0,1fr)}.exchange-rate-input-row>span:last-child{grid-column:2}}.data-card{overflow:hidden;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.data-card .ant-table-thead>tr>th{color:#47665f;background:#f6f9f8;font-size:12px;letter-spacing:.06em}.drawer-actions{display:flex;justify-content:flex-end;gap:10px}.confirmation-panel{position:sticky;top:0;z-index:2;padding:18px;border:1px solid #ebc86a;border-radius:12px;background:#fff8dc;box-shadow:0 10px 28px #56410c21}.confirmation-panel h2{margin:0 0 8px;font-size:17px}.confirmation-panel p{margin:0 0 16px;color:#6e5a24;line-height:1.6}.editor-stack{display:grid;gap:22px}.editor-section{min-width:0;margin:0;padding:20px;border:1px solid #e1e9e7;border-radius:14px;background:#fbfcfc}.section-title{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:0;border:0;color:#19332f}.section-title>span{display:grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border-radius:8px;background:#dcece7;color:#176b5b;font-weight:800}.section-title h2{margin:1px 0 2px;font-size:16px}.section-title p{margin:0;color:#6a827c;font-size:12px;font-weight:400}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-radius:10px;background:#edf3f1}.switch-row>span{display:grid}.switch-row small{color:#6a827c}.role-fieldset{padding-top:20px}.role-fieldset legend{float:left;width:100%}.role-grid{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.role-grid label{margin:0;padding:12px;border:1px solid #dfe8e5;border-radius:10px;background:#fff}.permission-list{display:grid;gap:12px}.permission-row{padding:14px;border:1px solid #e1e9e7;border-radius:12px;background:#fff}.permission-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:12px}.permission-heading>span:first-child{display:grid}.permission-heading code{margin-top:2px;color:#70857f;font-size:11px}.permission-heading>span:last-child{flex:0 0 auto;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700}.effective-deny{color:#a92f3c;background:#fde8ea}.effective-allow{color:#176b5b;background:#dff2eb}.effective-inherited{color:#315d54;background:#e8f0ed}.effective-none{color:#6d7976;background:#eef1f0}.override-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.override-choice{cursor:pointer;position:relative}.override-choice input{position:absolute;opacity:0;pointer-events:none}.override-choice span{display:block;padding:8px;border:1px solid #dfe8e5;border-radius:8px;color:#58736d;text-align:center;font-size:12px}.override-choice input:focus-visible+span{outline:3px solid rgba(22,107,91,.25);outline-offset:2px}.override-choice input:checked+span{border-color:#176b5b;background:#e1f0eb;color:#176b5b;font-weight:700}.override-choice.deny input:checked+span{border-color:#c63d4b;color:#a92f3c;background:#fde8ea}.scope-select{width:100%;margin-top:10px}.role-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.role-card{min-width:0;padding:22px;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 36px #1e463d0d}.role-card-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.role-card-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e0eee9;color:#176b5b;font-weight:800}.role-card h2{margin:18px 0 4px;font-size:20px}.role-card code{color:#6a827c;font-size:11px}.role-card p{margin:20px 0;color:#58736d}.role-edit-link,.back-link{color:#176b5b;font-weight:700;text-decoration:none}.role-editor-page{padding-bottom:88px}.back-link{display:inline-block;margin-bottom:20px}.role-editor-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(400px,1.3fr);gap:20px;align-items:start}.role-name-card{position:sticky;top:28px}.role-permission-card{padding-top:20px}.role-permission-card legend{float:left;width:100%}.role-permission-list{clear:both;display:grid;gap:9px}.role-permission-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:14px;min-height:64px;padding:10px 12px;border:1px solid #e1e9e7;border-radius:10px;background:#fff}.role-permission-row.selected{border-color:#a7cec3;background:#f2f8f6}.role-permission-copy{display:inline-grid}.role-permission-copy code{color:#70857f;font-size:11px}.role-confirmation{margin-bottom:18px}.sticky-save-bar{position:fixed;right:0;bottom:0;left:268px;z-index:8;display:flex;align-items:center;justify-content:flex-end;gap:22px;padding:14px clamp(28px,5vw,64px);border-top:1px solid #dfe8e5;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sticky-save-bar span{color:#58736d}.catalog-toolbar{display:grid;grid-template-columns:minmax(260px,560px) auto;justify-content:space-between;gap:14px;margin-bottom:18px}.customer-list-toolbar{grid-template-columns:minmax(250px,1fr) auto}.customer-filter-group{display:flex;align-items:center;justify-content:flex-end;gap:10px}.customer-filter-group .ant-select{min-width:140px}.customer-filter-group .ant-checkbox-wrapper{white-space:nowrap}.customer-mobile-list{display:none}.customer-mobile-card{display:grid;gap:14px;padding:18px;border-bottom:1px solid #e1e9e7}.customer-mobile-card:last-child{border-bottom:0}.customer-mobile-card header{display:flex;align-items:start;justify-content:space-between;gap:12px}.customer-mobile-card header>div{display:grid;gap:3px}.customer-mobile-card header strong{font-size:17px}.customer-mobile-card header small,.customer-mobile-card dt{color:#71857f}.customer-mobile-card dl{display:grid;gap:8px;margin:0}.customer-mobile-card dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px}.customer-mobile-card dt,.customer-mobile-card dd{margin:0}.customer-mobile-card a{color:#176b5b;font-weight:700;text-decoration:none}.customer-mobile-empty{margin:0;padding:32px;color:#71857f;text-align:center}.sales-orders-toolbar{display:grid;grid-template-columns:minmax(240px,380px) minmax(0,1fr);align-items:start;gap:14px;margin-bottom:18px}.sales-orders-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.sales-orders-filters .ant-select{min-width:138px}.sales-orders-filters .ant-checkbox-wrapper{white-space:nowrap}.sales-orders-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.sales-orders-create-link{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 15px;border-radius:6px;background:#176b5b;color:#fff;text-decoration:none;box-shadow:0 2px #0591ff1a}.sales-orders-create-link:hover{background:#125a4c;color:#fff}.sales-orders-create-link:focus-visible{outline:3px solid rgba(23,107,91,.28);outline-offset:2px}.pending-approval-filter{min-height:32px;padding:0 8px;border:1px solid #f0c46c;border-radius:8px;background:#fff8df}.sales-order-status-pending{border-color:#d79018!important;color:#8a5500!important;background:#fff3cf!important}.sales-orders-mobile-list{display:none}.sales-order-mobile-card{display:grid;gap:12px;padding:18px;border-bottom:1px solid #e1e9e7}.sales-order-mobile-card:last-child{border-bottom:0}.sales-order-mobile-card header{display:flex;align-items:start;justify-content:space-between;gap:12px}.sales-order-mobile-card header a{color:#176b5b;font-weight:800;text-decoration:none}.sales-order-mobile-card>strong{font-size:17px}.sales-order-mobile-card dl{display:grid;gap:8px;margin:0}.sales-order-mobile-card dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px}.sales-order-mobile-card dt,.sales-order-mobile-card dd{margin:0}.sales-order-mobile-card dt{color:#71857f}.sales-orders-mobile-empty{margin:0;padding:32px;color:#71857f;text-align:center}.sales-export-dialog{max-width:calc(100vw - 32px)}.sales-export-dialog-body{max-height:min(65vh,640px);overflow-x:hidden;overflow-y:auto}.sales-order-editor-page{padding-bottom:88px}.sales-order-number{display:inline-block;margin-top:8px;color:#58736d;letter-spacing:.04em}.sales-order-form{display:grid;gap:18px}.sales-order-section,.sales-order-summary{padding:clamp(18px,3vw,28px);border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.sales-order-section-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}.sales-order-section-heading h2{margin:0 0 4px;font-size:18px}.sales-order-section-heading p{margin:0;color:#71857f;font-size:13px}.sales-order-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sales-order-fields label,.sales-order-line label,.sales-order-charge label,.sales-order-customer-field{display:grid;align-content:start;gap:7px;color:#47665f;font-size:13px;font-weight:700}.sales-order-fields input:not(.ant-select-selection-search-input),.sales-order-fields select,.sales-order-charge select{width:100%;min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#19332f}.sales-order-fields input:not(.ant-select-selection-search-input):disabled,.sales-order-fields select:disabled,.sales-order-charge select:disabled{background:#f4f6f5;color:#6f7e7a}.sales-order-remarks{grid-column:1 / -1}.sales-order-empty{margin:0;padding:22px;border-radius:10px;background:#f6f9f8;color:#71857f;text-align:center}.sales-order-lines,.sales-order-charges{display:grid;gap:12px}.sales-order-line{display:grid;grid-template-columns:minmax(200px,1.4fr) repeat(3,minmax(130px,.7fr)) auto;align-items:end;gap:12px;padding:14px;border:1px solid #e1e9e7;border-radius:12px;background:#fbfcfc}.sales-order-line-product{display:grid;gap:4px;align-self:center}.sales-order-line-product span{color:#71857f;font-size:12px}.sales-order-charge{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));align-items:end;gap:12px;padding:14px;border:1px solid #e1e9e7;border-radius:12px;background:#fbfcfc}.sales-order-charge-note{grid-column:span 2}.sales-order-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.sales-order-summary>span{color:#58736d;font-weight:700}.sales-order-summary>strong{color:#176b5b;font-size:24px}.sales-returns-panel{display:grid;gap:16px}.sales-returns-loading{display:flex;align-items:center;gap:10px;color:#58736d}.sales-returnable-lines,.sales-return-history,.sales-return-card ul{margin:0;padding:0;list-style:none}.sales-returnable-lines{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.sales-returnable-lines li{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#f3f8f6}.sales-returnable-lines span{color:#176b5b;font-weight:700}.sales-return-history{display:grid;gap:12px}.sales-return-card{padding:14px;border:1px solid #dfe8e5;border-radius:12px}.sales-return-card-heading,.sales-return-card-heading>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sales-return-card p{margin:10px 0;color:#334f49}.sales-return-card li{color:#58736d}.sales-return-status{padding:3px 8px;border-radius:999px;background:#edf4f2;color:#315f56;font-size:12px;font-weight:700}.sales-return-status.is-pending_receipt{background:#fff4d8;color:#8b6300}.sales-return-status.is-received{background:#e1f6eb;color:#176b5b}.sales-returns-empty{margin:0;color:#71857f}.sales-return-reason,.sales-return-quantity-fields label{display:grid;gap:8px}.sales-return-quantity-fields{display:grid;gap:12px;margin-top:16px}.sales-return-receipt-list{display:grid;gap:16px}.sales-return-receipt-card{padding:clamp(18px,3vw,26px);border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.sales-return-receipt-heading,.sales-return-receipt-heading>div,.sales-return-receipt-card li,.sales-return-receipt-card li>div{display:flex;gap:10px}.sales-return-receipt-heading{align-items:center;justify-content:space-between}.sales-return-receipt-heading>div,.sales-return-receipt-card li>div{flex-direction:column}.sales-return-receipt-heading strong{color:#173f37;font-size:20px}.sales-return-receipt-heading span,.sales-return-receipt-card li span{color:#71857f;font-size:13px}.sales-return-receipt-reason{margin:16px 0;color:#334f49}.sales-return-receipt-card ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.sales-return-receipt-card li{align-items:center;justify-content:space-between;padding:12px 14px;border-radius:12px;background:#f3f8f6}.sales-return-receipt-card li b{white-space:nowrap;color:#176b5b}.sales-return-receipts-empty{min-height:280px}.sales-shipment-task-list{display:grid;gap:16px}.sales-shipment-task-card{padding:clamp(18px,3vw,26px);border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.sales-shipment-task-card>header,.sales-shipment-task-card>header>div,.sales-shipment-address,.sales-shipment-task-card li,.sales-shipment-task-card li>div{display:flex;gap:9px}.sales-shipment-task-card>header{align-items:center;justify-content:space-between}.sales-shipment-task-card>header>div,.sales-shipment-address,.sales-shipment-task-card li>div{flex-direction:column}.sales-shipment-task-card>header strong{color:#173f37;font-size:20px}.sales-shipment-task-card>header span,.sales-shipment-address,.sales-shipment-task-card li span{color:#71857f;font-size:13px}.sales-shipment-address{margin:16px 0;padding:12px 14px;border-radius:12px;background:#f8faf9}.sales-shipment-task-card ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.sales-shipment-task-card li{align-items:center;justify-content:space-between;padding:12px 14px;border-radius:12px;background:#f3f8f6}.sales-shipment-task-card li b{white-space:nowrap;color:#176b5b}.sales-shipments-empty{min-height:280px}.sales-shipment-workbench{display:grid;gap:18px;padding-top:8px}.sales-shipment-pick-lines{display:grid;gap:10px}.sales-shipment-pick-lines label{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dfe8e5;border-radius:12px}.sales-shipment-pick-lines label>span{display:grid;gap:4px}.sales-shipment-pick-lines small{color:#71857f}.sales-shipment-pick-lines b{color:#176b5b;white-space:nowrap}.sales-order-cost-anomaly{flex-basis:100%;margin:0;padding:12px;border-radius:8px;background:#fff3cf;color:#8a5500;font-weight:700}.sales-order-profit{display:grid;flex-basis:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.sales-order-profit div{padding:10px;border-radius:8px;background:#f6f9f8}.sales-order-profit dt{color:#71857f;font-size:12px}.sales-order-profit dd{margin:4px 0 0;font-weight:700}.sales-order-save-bar{position:fixed;right:0;bottom:0;left:268px;z-index:8;display:flex;justify-content:flex-end;padding:14px clamp(28px,5vw,64px);border-top:1px solid #dfe8e5;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px;scrollbar-width:thin}.category-tabs .ant-btn{flex:0 0 auto;white-space:nowrap}.muted-value{color:#8a9995}.product-form{padding:clamp(20px,4vw,34px)}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.customer-social-accounts{grid-column:1 / -1;margin-top:8px}.customer-social-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.customer-social-heading .ant-typography{margin:0;font-size:20px}.customer-social-list{display:grid;gap:12px;margin-top:12px}.customer-social-row{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(180px,1.3fr) minmax(160px,1fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid #e6e8ec;border-radius:10px}.customer-social-row-warning{border-color:#faad14}.customer-social-row .ant-form-item{margin-bottom:0}.customer-social-actions{display:flex;align-items:center;gap:10px;min-height:32px;white-space:nowrap}.product-form-actions{display:flex;justify-content:flex-end;padding-top:10px;border-top:1px solid #e1e9e7}.category-create-form{margin-bottom:28px;padding:18px;border:1px solid #e1e9e7;border-radius:12px;background:#fbfcfc}.category-create-form .ant-typography,.category-manager-list+.ant-typography{margin-top:0}.category-create-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.category-manager-list .ant-list-item{display:block;padding:16px 0}.category-manager-row{display:grid;gap:12px}.category-manager-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-manager-row .ant-form{display:grid;grid-template-columns:minmax(110px,.65fr) minmax(0,1fr) auto;align-items:end;gap:12px}.category-manager-row .ant-form-item{margin-bottom:0}.table-load-more{display:flex;justify-content:center;padding:16px;border-top:1px solid #e1e9e7}.follow-up-card{margin-top:22px}.follow-up-form{display:grid;grid-template-columns:140px minmax(260px,1fr) minmax(210px,.7fr) auto;gap:12px;align-items:start;margin:18px 0 28px}.follow-up-date-label{display:grid;gap:6px;color:#4d6660;font-size:13px;font-weight:700}.sales-follow-up-card{margin-top:22px}.sales-follow-up-settings{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:16px;margin-bottom:20px}.sales-follow-up-setting{display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:8px;align-items:end}.sales-follow-up-setting label{grid-column:1 / -1;color:#4d6660;font-size:13px;font-weight:700}.sales-follow-up-setting select,.sales-follow-up-setting input{min-height:42px;border:1px solid #ccd9d5;border-radius:10px;padding:0 12px;background:#fff}.sales-follow-up-entry{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;padding-top:18px;border-top:1px solid #e1e9e6}.sales-follow-up-entry label{grid-column:1 / -1;color:#4d6660;font-size:13px;font-weight:700}.sales-follow-up-history{display:grid;gap:10px;margin-top:20px}.sales-follow-up-item{border:1px solid #dce6e3;border-radius:12px;padding:14px;background:#f8fbfa}.sales-follow-up-item>div{display:flex;justify-content:space-between;gap:12px;color:#48615b}.sales-follow-up-item time{color:#7a8d88;font-size:12px}.sales-follow-up-item p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.sales-follow-up-empty{margin:0;color:#758782}.import-wizard-body{display:grid;gap:20px;padding-top:26px}.file-picker{position:relative;display:inline-flex;align-items:center;min-height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer}.file-picker:focus-within{outline:2px solid #1677ff;outline-offset:2px}.file-picker input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.import-summary{margin-top:2px}.import-actions{align-items:center;padding-top:4px}.purchase-primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 16px;border-radius:8px;background:#176b5b;color:#fff;font-weight:700;text-decoration:none}.purchase-toolbar{display:flex;justify-content:flex-end;margin-bottom:18px}.purchase-toolbar .ant-select{min-width:180px}.purchase-orders-mobile-list,.purchase-receipt-mobile-list{display:none}.purchase-mobile-card,.purchase-receipt-line-card{display:grid;gap:12px;padding:18px;border-bottom:1px solid #e1e9e7}.purchase-mobile-card:last-child,.purchase-receipt-line-card:last-child{border-bottom:0}.purchase-mobile-card header,.purchase-receipt-line-card header,.purchase-receipt-task-card header{display:flex;align-items:start;justify-content:space-between;gap:12px}.purchase-mobile-card header a,.purchase-receipt-task-card header a{color:#176b5b;font-weight:800;text-decoration:none}.purchase-order-number-link{min-width:0;overflow-wrap:anywhere;word-break:break-word}.purchase-detail-header-copy{min-width:0}.purchase-order-number-title.ant-typography{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.purchase-mobile-card header .ant-tag,.purchase-receipt-task-card header .ant-tag{flex:0 0 auto}.purchase-mobile-card dl,.purchase-receipt-line-card dl{display:grid;gap:8px;margin:0}.purchase-mobile-card dl>div,.purchase-receipt-line-card dl>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px}.purchase-mobile-card dt,.purchase-mobile-card dd,.purchase-receipt-line-card dt,.purchase-receipt-line-card dd{margin:0}.purchase-mobile-card dt,.purchase-receipt-line-card dt{color:#71857f}.purchase-empty{margin:0;padding:28px;color:#71857f;text-align:center}.purchase-order-form,.purchase-order-lines{display:grid;gap:18px}.purchase-order-section{min-width:0;padding:clamp(18px,3vw,28px);border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 12px 38px #1e463d0d}.purchase-order-section>h2,.purchase-section-heading h2{margin:0;font-size:18px}.purchase-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.purchase-order-fields{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;margin-top:18px}.purchase-order-fields label,.purchase-order-line label,.purchase-receipt-line-card label{display:grid;gap:7px;color:#47665f;font-size:13px;font-weight:700}.purchase-order-fields select,.purchase-order-fields textarea,.purchase-order-line select,.purchase-order-line input,.purchase-receipt-line-card input,.purchase-receipt-quantity{width:100%;min-height:34px;padding:5px 10px;border:1px solid #d9d9d9;border-radius:7px;background:#fff;color:#19332f}.purchase-order-fields textarea{min-height:82px;resize:vertical}.purchase-order-fields :disabled,.purchase-order-line :disabled,.purchase-receipt-line-card input:disabled,.purchase-receipt-quantity:disabled{background:#f2f5f4;color:#6f7e7a}.purchase-order-line{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(140px,.6fr));gap:12px;padding:14px;border:1px solid #e1e9e7;border-radius:12px;background:#fbfcfc}.purchase-order-actions,.purchase-receipt-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px;border:1px solid #dfe8e5;border-radius:12px;background:#fff}.purchase-receipt-page{width:100%;overflow-x:clip}.purchase-receipt-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.purchase-receipt-task-card{display:grid;gap:12px;padding:20px;border:1px solid #dfe8e5;border-radius:14px;background:#fff}.purchase-receipt-task-card>span{color:#71857f}.purchase-receipt-actions{margin-top:18px}.inventory-page,.stocktake-page{width:100%;max-width:100%;min-width:0;overflow-x:clip}.inventory-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,.45fr) minmax(160px,.45fr);gap:12px;margin-bottom:18px}.inventory-toolbar input,.inventory-toolbar select,.scanner-input-row input,.stocktake-line-card input,.stocktake-note textarea{width:100%;min-width:0;min-height:40px;padding:7px 11px;border:1px solid #cfdad7;border-radius:8px;background:#fff;color:#19332f}.inventory-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.inventory-card{min-width:0;display:grid;gap:12px;padding:18px;border:1px solid #dfe8e5;border-radius:14px;background:#fff;box-shadow:0 10px 28px #1e463d0a}.inventory-card header{min-width:0;display:flex;align-items:start;justify-content:space-between;gap:12px}.inventory-card header>div{min-width:0;display:grid;gap:3px}.inventory-card strong,.inventory-card span,.inventory-card p{min-width:0;overflow-wrap:anywhere;word-break:break-word}.inventory-card p{margin:0;color:#58736d}.inventory-card small{color:#71857f}.inventory-unit{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:#e7f2ee;color:#176b5b}.inventory-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.inventory-quantities div{min-width:0;padding:10px;border-radius:9px;background:#f3f7f6}.inventory-quantities dt{color:#71857f;font-size:12px}.inventory-quantities dd{margin:4px 0 0;overflow-wrap:anywhere;font-weight:800}.inventory-empty{grid-column:1 / -1;margin:0;padding:34px;border-radius:14px;background:#fff;color:#71857f;text-align:center}.stocktake-layout{min-width:0;display:grid;grid-template-columns:minmax(220px,.38fr) minmax(0,1fr);align-items:start;gap:18px}.stocktake-list,.stocktake-editor{min-width:0;padding:18px;border:1px solid #dfe8e5;border-radius:14px;background:#fff;box-shadow:0 10px 28px #1e463d0a}.stocktake-list{display:grid;gap:8px}.stocktake-list h2{margin:0 0 8px;font-size:17px}.stocktake-list>button{min-width:0;display:flex;align-items:start;justify-content:space-between;gap:8px;padding:12px;border:1px solid #dfe8e5;border-radius:10px;background:#f8faf9;color:#19332f;text-align:left;cursor:pointer}.stocktake-list>button.selected{border-color:#176b5b;background:#eaf4f1}.stocktake-list>button>span{min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}.stocktake-list small{color:#71857f}.stocktake-editor{display:grid;gap:18px}.stocktake-editor-heading{min-width:0;display:flex;align-items:start;justify-content:space-between;gap:12px}.stocktake-editor-heading>div{min-width:0}.stocktake-editor-heading h2{margin:0 0 3px;overflow-wrap:anywhere;word-break:break-word;font-size:21px}.stocktake-editor-heading span{color:#71857f}.scanner-control,.stocktake-note{min-width:0;display:grid;gap:7px;color:#47665f;font-size:13px;font-weight:700}.scanner-input-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.scanner-input-row button{min-height:40px;padding:7px 18px;border:0;border-radius:8px;background:#176b5b;color:#fff;font-weight:700;cursor:pointer}.scanner-input-row button:disabled{background:#aebdb9;cursor:default}.scanner-feedback{margin:0;padding:9px 11px;border-radius:8px;font-weight:600}.scanner-feedback.success{color:#176b5b;background:#e6f4ef}.scanner-feedback.error{color:#a92f3c;background:#fde8ea}.stocktake-note textarea{min-height:70px;resize:vertical}.stocktake-lines{min-width:0;display:grid;gap:12px}.stocktake-line-card{min-width:0;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(110px,.45fr) minmax(140px,.55fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #e1e9e7;border-radius:12px;background:#fbfcfc}.stocktake-line-card header{min-width:0;align-self:center}.stocktake-line-card header>div{min-width:0;display:grid}.stocktake-line-card header strong,.stocktake-line-card header span,.stocktake-line-card p{overflow-wrap:anywhere;word-break:break-word}.stocktake-line-card p{margin:0;color:#71857f}.stocktake-line-card dl{margin:0}.stocktake-line-card dt{color:#71857f;font-size:12px}.stocktake-line-card dd{margin:3px 0 0;font-weight:800}.stocktake-line-card label{display:grid;gap:6px;color:#47665f;font-size:13px;font-weight:700}.stocktake-empty{margin:0;padding:28px;border-radius:10px;background:#f6f9f8;color:#71857f;text-align:center}.stocktake-actions{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:12px;border:1px solid #dfe8e5;border-radius:10px;background:#fffffff5}.stocktake-save-hint{margin:-8px 0 0;color:#8a5500;text-align:right}.sales-shipment-history-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto auto;gap:12px;align-items:end}.sales-shipment-history-toolbar label{display:grid;gap:4px;color:var(--muted);font-size:13px}.sales-shipment-history-toolbar input[type=date]{min-height:38px;border:1px solid #d9d9d9;border-radius:8px;padding:0 10px;color:var(--ink);background:#fff}.sales-shipment-history-list{display:grid;gap:14px}.sales-shipment-history-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.sales-shipment-history-card>header,.sales-shipment-history-card li{display:flex;justify-content:space-between;gap:16px}.sales-shipment-history-card>header>div,.sales-shipment-history-card li>div{display:grid;gap:3px}.sales-shipment-history-card>header>div:last-child{text-align:right}.sales-shipment-history-card ul{display:grid;gap:8px;margin:14px 0 0;padding:0;list-style:none}.sales-shipment-history-card li{padding-top:10px;border-top:1px solid var(--line)}.sales-shipment-history-header-actions{display:flex;align-items:center;gap:10px}.audit-events-toolbar{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(190px,1fr) auto auto auto;gap:12px;align-items:end}.audit-events-toolbar label{display:grid;gap:4px;color:var(--muted);font-size:13px}.audit-events-toolbar select,.audit-events-toolbar input[type=date]{min-height:38px;border:1px solid #d9d9d9;border-radius:8px;padding:0 10px;color:var(--ink);background:#fff}.audit-events-toolbar-actions{display:flex;gap:8px}.audit-events-list{display:grid;gap:12px}.audit-event-card{display:grid;grid-template-columns:minmax(165px,1fr) minmax(220px,1.4fr) minmax(180px,1.1fr) minmax(150px,1fr) auto;gap:18px;align-items:center;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:#fff}.audit-event-card>div{display:grid;gap:3px;min-width:0}.audit-event-card span,.audit-event-card code{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.audit-event-card code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.audit-detail dl{display:grid;gap:12px;margin:0 0 28px}.audit-detail dl>div{display:grid;grid-template-columns:90px 1fr;gap:12px}.audit-detail dt{color:var(--muted)}.audit-detail dd{margin:0;overflow-wrap:anywhere}.audit-detail pre{max-height:420px;overflow:auto;padding:16px;border-radius:12px;background:#f4f7f6;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}.shipment-export-field-group>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(max-width:800px){.login-page{grid-template-columns:1fr;padding:24px;align-content:center;background:linear-gradient(180deg,#e8f2ef 0 34%,#f8faf9 34%)}.login-brand{display:none}.login-card{justify-self:center}.shell-content{margin-left:0;padding:28px 20px}.page-header{align-items:start}.role-editor-grid{grid-template-columns:1fr}.role-name-card{position:static}.sticky-save-bar{left:0;padding:12px 20px}.role-permission-row,.catalog-toolbar,.product-form-grid,.category-create-fields,.category-manager-row .ant-form,.customer-social-row{grid-template-columns:1fr}.customer-filter-group{display:grid;grid-template-columns:1fr;justify-content:stretch}.customer-desktop-table{display:none}.customer-mobile-list{display:grid}.sales-orders-toolbar{grid-template-columns:1fr}.sales-orders-filters{display:grid;grid-template-columns:1fr;justify-content:stretch}.sales-orders-page .page-header{flex-wrap:wrap}.sales-orders-header-actions{width:100%}.sales-orders-header-actions>*{width:100%}.sales-orders-desktop-table{display:none}.sales-orders-mobile-list{display:grid}.sales-order-fields,.sales-order-line,.sales-order-charge,.sales-order-profit{grid-template-columns:1fr}.sales-order-charge-note{grid-column:auto}.sales-order-save-bar{left:0;padding:12px 20px}.sales-return-receipt-heading,.sales-return-receipt-card li{align-items:stretch;flex-direction:column}.sales-return-receipt-heading button{min-height:48px;width:100%}.sales-shipment-task-card>header,.sales-shipment-task-card li{align-items:stretch;flex-direction:column}.sales-shipment-task-card>header button{min-height:48px;width:100%}.sales-shipment-pick-lines label{grid-template-columns:1fr}.sales-shipment-pick-lines .ant-input-number{width:100%}.sales-shipment-history-toolbar{grid-template-columns:1fr 1fr}.sales-shipment-history-toolbar .ant-input-search{grid-column:1 / -1}.sales-shipment-history-card>header,.sales-shipment-history-card li{align-items:flex-start;flex-direction:column}.sales-shipment-history-card>header>div:last-child{text-align:left}.sales-shipment-history-page .page-header,.sales-shipment-history-header-actions,.audit-events-page .page-header{flex-wrap:wrap}.audit-events-toolbar{grid-template-columns:1fr 1fr}.audit-events-toolbar label:nth-child(-n+2),.audit-events-toolbar-actions{grid-column:1 / -1}.audit-event-card{grid-template-columns:1fr 1fr;align-items:start}.audit-event-card>button{grid-column:1 / -1}.shipment-export-field-group>div:last-child{grid-template-columns:1fr}.category-tabs{margin-inline:-4px;padding-inline:4px}.follow-up-form,.sales-follow-up-settings,.sales-follow-up-entry,.sales-follow-up-setting{grid-template-columns:1fr}.sales-follow-up-setting label,.sales-follow-up-entry label{grid-column:auto}.sales-follow-up-setting button,.sales-follow-up-entry button{min-height:48px;width:100%}.sales-follow-up-item>div{align-items:flex-start;flex-direction:column}.purchase-orders-page,.purchase-order-editor-page,.purchase-receipt-page{width:100%;max-width:100%;min-width:0;overflow-x:clip}.purchase-orders-page .page-header,.purchase-receipt-page .page-header{flex-wrap:wrap}.purchase-primary-link{width:100%}.purchase-toolbar{display:grid}.purchase-toolbar .ant-select{width:100%}.purchase-orders-desktop-table,.purchase-receipt-desktop-table{display:none}.purchase-orders-mobile-list,.purchase-receipt-mobile-list{display:grid}.purchase-order-fields,.purchase-order-line{grid-template-columns:1fr}.purchase-order-actions,.purchase-receipt-actions{display:grid;grid-template-columns:1fr}.purchase-order-actions .ant-btn,.purchase-receipt-actions .ant-btn{width:100%}.purchase-receipt-task-grid,.inventory-toolbar,.inventory-card-grid{grid-template-columns:1fr}.inventory-page .page-header,.stocktake-page .page-header{flex-wrap:wrap}.stocktake-page>.page-header .ant-btn{width:100%}.stocktake-layout,.stocktake-line-card{grid-template-columns:1fr}.stocktake-list{max-height:210px;overflow-y:auto}.scanner-input-row{grid-template-columns:minmax(0,1fr) 84px}.stocktake-actions{display:grid;grid-template-columns:1fr}.stocktake-actions .ant-btn{width:100%}.receivables-dashboard-card{grid-template-columns:1fr 1fr}.receivables-dashboard-card>div,.receivables-dashboard-card>a{grid-column:1 / -1}.receivables-toolbar{grid-template-columns:1fr}.receivables-table{display:none}.receivables-mobile-list{display:grid}.due-date-editor{grid-template-columns:1fr}.profit-report-page .page-header{flex-wrap:wrap}.profit-filter-card,.profit-metric-grid{grid-template-columns:1fr}.profit-metric-grid strong{font-size:24px;white-space:normal}.profit-filter-card>.ant-btn{min-height:44px}.profit-ranking li{grid-template-columns:30px minmax(0,1fr) auto;gap:10px}.profit-ranking li>strong{grid-column:2}.profit-ranking li>span:nth-of-type(2){grid-column:3;grid-row:1}.profit-ranking li>.ant-btn{grid-column:2 / -1;justify-self:start;padding-left:0}.profit-orders-table{display:none}.profit-orders-mobile{display:grid}.profit-orders-mobile dl{grid-template-columns:1fr}}.sales-order-number-field{display:grid;gap:8px;align-content:start}.sales-order-number-field small{color:#607269;line-height:1.5}.sales-order-number-field>button{justify-self:start}@media screen{:root{--erp-sidebar: 244px;--erp-page-space: clamp(24px, 3vw, 36px);--erp-line: #dce6e1;--erp-shadow: 0 3px 14px rgba(30, 70, 61, .035);--ink: #19332f;--muted: #637a73;--line: var(--erp-line);font-size:14px;line-height:1.6}.shell-sidebar{width:var(--erp-sidebar);padding:24px 14px 18px}.shell-brand{margin:0 10px 26px}.shell-brand small{letter-spacing:.08em}.shell-nav{align-content:start;gap:4px}.nav-section-label{margin:0 12px 8px}.nav-link{min-height:42px;padding:8px 10px;font-size:14px;gap:10px}.nav-link.active{box-shadow:0 2px 8px #00000012}.nav-mark{flex-shrink:0;width:26px;height:26px;border-color:#cce0da73}.nav-link.active .nav-mark{border-color:#123d3559}.shell-account{margin-top:16px;padding-inline:4px}.shell-content{margin-left:var(--erp-sidebar);padding:var(--erp-page-space);min-width:0}.page-stack{width:100%;max-width:1320px;min-width:0}.page-header{align-items:center;flex-wrap:wrap;gap:16px 24px;margin-bottom:24px}.page-header>div{min-width:0}.page-header h1{margin:0;font-size:clamp(26px,2.3vw,32px);line-height:1.3;letter-spacing:-.02em}.page-header .eyebrow{margin:0 0 6px;font-size:12px;letter-spacing:.12em}.page-header .ant-typography-secondary{display:block;margin-top:8px;font-size:13px}.page-header>.ant-space{flex-wrap:wrap;row-gap:10px!important}.page-header>.ant-space,.page-header .page-actions{max-width:100%}.page-actions,.drawer-actions,.barcode-actions,.shipment-document-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.back-link{margin-bottom:16px;font-size:13px}.date-chip,.count-chip{padding:6px 12px;border-radius:8px;font-size:13px}.page-alert{margin-bottom:16px}.data-card,.role-card,.exchange-rate-card,.empty-workbench,.receivables-dashboard-card,.monthly-sales-panel,.profit-filter-card,.profit-metric-grid article,.inventory-card,.sales-return-receipt-card,.sales-shipment-task-card,.sales-shipment-history-card,.audit-event-card,.purchase-order-section,.purchase-order-summary{border-color:var(--erp-line);border-radius:12px;box-shadow:var(--erp-shadow)}.receivables-dashboard-card.has-overdue{border-color:#edb6ad}.profit-metric-grid article.emphasis{border-color:#a7d6c8}.page-stack>.monthly-sales-panel{margin-bottom:20px}.page-stack>.data-card+.data-card{margin-top:20px}.role-catalog{gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.role-card{padding:20px}.role-card h2{margin-top:14px;font-size:18px}.role-card code,.role-permission-copy code,.permission-heading code{overflow-wrap:anywhere}.role-card p{margin:16px 0}.empty-workbench{min-height:260px;padding:28px}.dashboard-empty-workbench{min-height:210px}.empty-workbench>span{width:48px;height:48px;border-radius:14px;font-size:22px}.empty-workbench h2.ant-typography{font-size:20px}.ant-table-wrapper{min-width:0;max-width:100%}.ant-table-wrapper .ant-table-content{overflow-x:auto;scrollbar-width:thin}.data-card .ant-table-thead>tr>th{font-size:13px;letter-spacing:0;white-space:nowrap}.data-card .ant-table-cell{vertical-align:middle}.ant-table-cell .ant-space{row-gap:6px!important}.table-load-more{padding:14px 16px}.category-tabs{gap:8px;margin-bottom:16px;padding-bottom:6px}.category-tabs .ant-btn{border-radius:8px}.catalog-toolbar,.sales-orders-toolbar,.inventory-toolbar,.receivables-toolbar,.sales-shipment-history-toolbar,.audit-events-toolbar{padding:16px;margin-bottom:20px;border:1px solid var(--erp-line);border-radius:12px;background:#fff;gap:12px}.catalog-toolbar>*,.sales-orders-toolbar>*,.inventory-toolbar>*,.receivables-toolbar>*,.sales-shipment-history-toolbar>*,.audit-events-toolbar>*{min-width:0}.customer-filter-group{flex-wrap:wrap}.sales-orders-create-link,.purchase-primary-link,.file-picker{min-height:38px;border-radius:8px}.product-form{padding:24px}.product-form-grid{gap:0 24px}.product-form .ant-form-item-row{display:grid;grid-template-columns:minmax(0,1fr)}.product-form .ant-form-item-label{text-align:start;padding:0 0 6px;white-space:normal}.product-form .ant-form-item-label>label{height:auto}.product-form .ant-form-item-control{width:100%;min-width:0}.product-form .ant-form-item-label>label:after{display:none}.follow-up-card .ant-typography:first-child{font-size:20px;margin:0 0 16px}.product-form-grid>*,.purchase-order-fields>*,.purchase-order-line>*,.customer-social-row>*,.monthly-sales-metrics>*{min-width:0}.editor-stack{gap:20px}.editor-section{padding:20px;border-radius:12px}.section-title{margin-bottom:16px}.section-title h2,.shell-content label{line-height:1.5}.shell-content input:not([class]):not([type=checkbox]):not([type=radio]):not([type=file]),.shell-content select:not([class]){min-height:38px;max-width:100%;border-radius:8px}.ant-select{min-width:0;max-width:100%}.ant-select-selector,.ant-select-selection-wrap,.ant-select-selection-item{min-width:0}.shell-content .sales-order-customer-field .ant-select{width:100%;min-width:0}.shell-content .sales-order-customer-field{grid-template-columns:minmax(0,1fr)}.ant-form-item-label>label{font-weight:600}.ant-form-item-extra{font-size:12px;line-height:1.6;padding-top:4px}.ant-drawer-content-wrapper{max-width:100vw}.ant-drawer-body,.ant-modal-body{min-width:0}.ant-drawer-header{border-bottom-color:var(--erp-line)}.ant-modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.ant-modal-footer>.ant-btn+.ant-btn{margin-inline-start:0}.ant-drawer-body>.ant-alert{margin-bottom:16px}.shipment-document-editor{grid-template-columns:minmax(0,1fr)}.shipment-document-editor label,.shipment-document-editor section,.shipment-document-editor header,.shipment-document-assets{min-width:0}.shipment-document-editor b,.shipment-document-editor small,.shipment-document-lines header{overflow-wrap:anywhere}.shipment-document-editor input[type=file]{width:100%;min-width:0;font-size:13px}.shipment-document-editor input:not([class]):not([type=file]):not([type=checkbox]){width:100%;min-width:0;min-height:38px;padding:7px 11px;border:1px solid #d6e2dd;border-radius:8px;color:#19332f}.shipment-document-editor button:not(.ant-btn),.shipment-document-editor input::file-selector-button{min-height:38px;padding:6px 12px;border:1px solid #d6e2dd;border-radius:8px;background:#fff;color:#176b5b;cursor:pointer}.shipment-document-editor input::file-selector-button{margin-right:8px}.ant-drawer-body [aria-label=商品一级分类]{display:flex;flex-wrap:wrap;gap:8px}.ant-drawer-body [aria-label=商品选择结果] .ant-btn{white-space:normal;justify-content:flex-start;flex-wrap:wrap;overflow-wrap:anywhere}.attribute-manager-item{padding:16px;border:1px solid var(--erp-line);border-radius:12px;background:#f9fbfa;gap:14px}.attribute-manager-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attribute-manager-option{display:grid;grid-template-columns:minmax(0,1fr) auto 70px;align-items:center;gap:8px}.attribute-manager-option .ant-input-number{width:70px}.attribute-manager-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.variant-table-card{border:1px solid var(--erp-line);border-radius:12px}.monthly-sales-panel{padding:24px}.monthly-sales-header h2{font-size:20px}.monthly-sales-overview{gap:28px}.monthly-sales-metrics{gap:20px}.monthly-sales-footer{flex-wrap:wrap}.app-layout .sticky-save-bar,.app-layout .sales-order-save-bar{left:var(--erp-sidebar);gap:12px;padding-inline:var(--erp-page-space)}.role-editor-page{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.sticky-save-bar{flex-wrap:wrap;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.login-heading h2.ant-typography{font-size:28px}.login-card{border-radius:16px;box-shadow:0 16px 48px #163e361a}.login-card .ant-card-body{padding:36px}.login-card .ant-btn-primary{min-height:44px}}@media screen and (max-width:1200px){.catalog-toolbar,.customer-list-toolbar,.sales-orders-toolbar{grid-template-columns:minmax(0,1fr)}.customer-filter-group,.sales-orders-filters{justify-content:flex-start}.profit-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.role-editor-grid{grid-template-columns:minmax(0,1fr)}.role-name-card{position:static}.stocktake-layout{grid-template-columns:minmax(0,1fr)}.stocktake-list{max-height:250px;overflow-y:auto}.audit-events-toolbar,.sales-shipment-history-toolbar,.audit-event-card{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-event-card>button{justify-self:start}.purchase-order-line{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-order-line>div:first-child{grid-column:1 / -1}.receivables-dashboard-card{grid-template-columns:repeat(2,minmax(0,1fr))}.receivables-dashboard-card>div,.receivables-dashboard-card>a{grid-column:1 / -1}.receivables-toolbar{grid-template-columns:minmax(0,1fr) 160px}.receivables-toolbar>:first-child{grid-column:1 / -1}.follow-up-form,.customer-social-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-follow-up-settings{grid-template-columns:minmax(0,1fr)}.monthly-sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:800px){:root{--erp-sidebar: 0px;--erp-page-space: 16px}.shell-content{padding:20px 16px}.mobile-header{height:64px;padding-inline:16px}.mobile-header .shell-brand{margin:0}.mobile-header .ant-btn,.ant-drawer-body .nav-link{min-height:44px}.page-header{align-items:flex-start;gap:14px;margin-bottom:20px}.page-header>.ant-space{width:100%}.page-header h1{font-size:26px}.data-card{border-radius:10px}.product-form,.editor-section,.role-card,.profit-ranking,.exchange-rate-card,.profit-filter-card,.monthly-sales-panel{padding:16px}.catalog-toolbar,.sales-orders-toolbar,.inventory-toolbar,.receivables-toolbar{padding:12px;grid-template-columns:minmax(0,1fr)}.customer-filter-group,.sales-orders-filters,.product-form-grid,.customer-social-row,.follow-up-form{grid-template-columns:minmax(0,1fr)}.customer-social-heading{align-items:flex-start;flex-wrap:wrap}.customer-social-heading .ant-typography{font-size:18px}.profit-filter-card{grid-template-columns:minmax(0,1fr)}.profit-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-metric-grid strong{white-space:normal;overflow-wrap:anywhere;font-size:22px}.profit-ranking>header,.profit-orders-section>header{flex-wrap:wrap}.purchase-order-line{grid-template-columns:minmax(0,1fr)}.ant-drawer-body{padding:16px!important}.ant-drawer-footer{padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.ant-modal .ant-modal-content{padding:20px 16px}.ant-modal .ant-modal-title{padding-right:24px}.attribute-manager-options{grid-template-columns:minmax(0,1fr)}.attribute-manager-item{padding:12px}.shell-content .ant-btn:not(.ant-btn-link):not(.ant-btn-text),.ant-drawer .ant-btn:not(.ant-btn-link):not(.ant-btn-text),.ant-modal-footer .ant-btn{min-height:44px}.catalog-toolbar .ant-input-affix-wrapper,.inventory-toolbar .ant-input-affix-wrapper{min-height:44px}.shell-content input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.ant-select-selection-search-input):not([aria-hidden=true]),.shell-content select:not([class]){font-size:16px}.scanner-input-row .ant-input,.scanner-input-row .ant-btn,.scanner-input-row input,.scanner-input-row button{min-height:44px}.shipment-document-editor button:not(.ant-btn),.shipment-document-editor input::file-selector-button{min-height:44px}.follow-up-card .ant-card-body{padding:16px}.drawer-actions{flex-wrap:wrap}.shipment-document-controls{justify-content:flex-start}.app-layout .sticky-save-bar,.app-layout .sales-order-save-bar{left:0}.sticky-save-bar>span{font-size:12px}.login-page{padding:20px 16px}.login-card .ant-card-body{padding:28px 24px}.login-heading{gap:12px}}@media screen and (max-width:480px){.page-header .ant-space-item{max-width:100%}.sales-shipment-history-toolbar,.audit-events-toolbar,.audit-event-card,.profit-metric-grid{grid-template-columns:minmax(0,1fr)}.monthly-sales-overview{flex-direction:column;align-items:flex-start;gap:20px}.monthly-sales-header{flex-wrap:wrap}.monthly-sales-header input{max-width:100%}.monthly-sales-metrics{width:100%;gap:16px}.monthly-sales-metrics dd{font-size:20px}.monthly-sales-footer{align-items:flex-start}.customer-mobile-card dd,.sales-order-mobile-card dd,.receivable-mobile-card{overflow-wrap:anywhere}.role-grid{grid-template-columns:minmax(0,1fr)}.login-heading h2.ant-typography{font-size:24px}.login-card .ant-card-body{padding:24px 20px}}
