.confirm-dialog-backdrop[data-v-2e4d9d1f]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;align-items:start;justify-items:center;padding:clamp(72px,14vh,140px) 18px 18px;background:#0f172a7a}.confirm-dialog-panel[data-v-2e4d9d1f]{display:grid;width:min(100%,420px);gap:18px;padding:18px;border:1px solid #d7e2f0;border-radius:8px;background:#fff;box-shadow:0 22px 54px #0f172a3d}.confirm-dialog-header[data-v-2e4d9d1f]{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}.confirm-dialog-mark[data-v-2e4d9d1f]{display:grid;width:34px;height:34px;place-items:center;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:18px;font-weight:900}.confirm-dialog-panel.danger .confirm-dialog-mark[data-v-2e4d9d1f]{background:#fee2e2;color:#dc2626}.confirm-dialog-panel.warning .confirm-dialog-mark[data-v-2e4d9d1f]{background:#ffedd5;color:#c2410c}.confirm-dialog-header h2[data-v-2e4d9d1f]{margin:0;color:var(--ink);font-size:18px;line-height:1.3}.confirm-dialog-header p[data-v-2e4d9d1f]{margin:8px 0 0;color:var(--gray);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.confirm-dialog-actions[data-v-2e4d9d1f]{display:flex;justify-content:flex-end;gap:10px}@media(max-width:520px){.confirm-dialog-backdrop[data-v-2e4d9d1f]{align-items:end;justify-items:center;padding:12px}.confirm-dialog-panel[data-v-2e4d9d1f]{width:100%}.confirm-dialog-actions[data-v-2e4d9d1f]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.payment-rule-editor[data-v-93777608]{gap:10px}.payment-rule-grid[data-v-93777608]{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.payment-method-select[data-v-93777608],.payment-rule-note[data-v-93777608]{grid-column:1 / -1}.payment-rule-summary[data-v-93777608]{margin:0}.payment-method-guide-modal[data-v-93777608]{width:min(720px,calc(100vw - 28px))}.payment-method-guide-backdrop[data-v-93777608]{z-index:110}.payment-method-guide-list[data-v-93777608]{display:grid;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.payment-method-guide-row[data-v-93777608]{display:grid;gap:3px;padding:10px 12px;border-bottom:1px solid var(--line)}.payment-method-guide-row[data-v-93777608]:last-child{border-bottom:0}.payment-method-guide-row.selected[data-v-93777608]{background:var(--surface-strong);border-left:3px solid var(--blue)}.payment-method-guide-row strong[data-v-93777608]{font-size:13px}.payment-method-guide-row span[data-v-93777608],.payment-method-guide-row small[data-v-93777608]{overflow-wrap:anywhere;line-height:1.45}@media(max-width:720px){.payment-rule-grid[data-v-93777608]{grid-template-columns:1fr}}.searchable-select{position:relative;min-width:0;width:100%}.searchable-select-input{width:100%;min-width:0;min-height:42px;overflow:hidden;padding:8px 34px 8px 10px;border:1px solid #cfe0f7;border-radius:8px;background:#f8fbff;color:var(--ink);font-size:13px;font-weight:900;text-overflow:ellipsis}.searchable-select-input:disabled{cursor:not-allowed;opacity:.62}.searchable-select-menu{z-index:80;display:grid;overflow:auto;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 18px 44px #0f172a2e}.searchable-select-option{display:grid;width:100%;min-width:0;gap:3px;padding:9px 10px;border:0;border-bottom:1px solid #e5edf8;border-radius:0;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.searchable-select-option:last-of-type{border-bottom:0}.searchable-select-option:hover,.searchable-select-option.active{background:#eff6ff}.searchable-select-option strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.searchable-select-option span{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:11px;font-weight:800;line-height:1.35}.searchable-select-empty{padding:12px 10px;color:var(--muted);font-size:13px}.purchase-sales-chart-page[data-v-5da1f1e7]{gap:14px}.purchase-sales-chart-filters[data-v-5da1f1e7]{display:grid;grid-template-columns:minmax(220px,1.45fr) repeat(2,minmax(155px,.7fr)) auto;align-items:end;gap:12px}.purchase-sales-chart-actions[data-v-5da1f1e7]{flex-wrap:nowrap}.purchase-sales-category-label[data-v-5da1f1e7]{display:flex;align-items:center;gap:6px}.purchase-sales-category-label small[data-v-5da1f1e7]{color:var(--muted);font-size:12px;font-weight:500}.purchase-sales-summary[data-v-5da1f1e7]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-sales-summary article[data-v-5da1f1e7]{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.purchase-sales-summary span[data-v-5da1f1e7],.purchase-sales-chart-unit[data-v-5da1f1e7]{color:var(--muted);font-size:12px;font-weight:800}.purchase-sales-summary strong[data-v-5da1f1e7]{overflow-wrap:anywhere;font-size:15px;line-height:1.35}.purchase-sales-chart-panel[data-v-5da1f1e7]{overflow:hidden}.purchase-sales-chart-empty[data-v-5da1f1e7]{gap:5px;padding:22px 14px}.purchase-sales-chart-empty strong[data-v-5da1f1e7]{color:var(--ink)}.purchase-sales-bars[data-v-5da1f1e7]{display:flex;min-height:285px;gap:8px;overflow-x:auto;align-items:end;padding:14px 12px 8px;border-top:1px solid var(--line);background:repeating-linear-gradient(to top,var(--surface-soft) 0,var(--surface-soft) 1px,transparent 1px,transparent 25%)}.purchase-sales-bar-item[data-v-5da1f1e7]{display:grid;grid-template-rows:24px 185px 38px;flex:0 0 42px;gap:6px;min-width:0;text-align:center}.purchase-sales-bar-item strong[data-v-5da1f1e7]{align-self:end;color:var(--blue);font-size:11px;line-height:1.2}.purchase-sales-bar-track[data-v-5da1f1e7]{display:flex;align-items:end;min-height:0;border-bottom:1px solid #94a3b8}.purchase-sales-bar-track span[data-v-5da1f1e7]{width:100%;min-height:5px;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#60a5fa,#2563eb)}.purchase-sales-bar-item small[data-v-5da1f1e7]{overflow:hidden;color:var(--gray);font-size:10px;line-height:1.25;word-break:break-all}.purchase-sales-table-actions[data-v-5da1f1e7]{align-items:center;flex-wrap:nowrap}.purchase-sales-table-actions span[data-v-5da1f1e7]{color:var(--muted);font-size:13px;font-weight:800;white-space:nowrap}.purchase-sales-table-wrap[data-v-5da1f1e7]{overflow-x:auto;border-top:1px solid var(--line)}.purchase-sales-table[data-v-5da1f1e7]{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;background:var(--surface)}.purchase-sales-table th[data-v-5da1f1e7],.purchase-sales-table td[data-v-5da1f1e7]{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap}.purchase-sales-table th[data-v-5da1f1e7]{color:var(--muted);background:var(--surface-soft);font-size:12px;font-weight:900}.purchase-sales-table td[data-v-5da1f1e7]{color:var(--ink);font-size:13px}.purchase-sales-table tbody tr:nth-child(2n) td[data-v-5da1f1e7]{background:#fbfdff}.purchase-sales-table tbody tr:hover td[data-v-5da1f1e7]{background:#f0f7ff}.purchase-sales-table th[data-v-5da1f1e7]:first-child,.purchase-sales-table td[data-v-5da1f1e7]:first-child{width:72px;text-align:center}.purchase-sales-table th[data-v-5da1f1e7]:last-child,.purchase-sales-table td[data-v-5da1f1e7]:last-child{width:110px;text-align:right}.purchase-sales-quantity[data-v-5da1f1e7]{color:var(--blue)}@media(max-width:860px){.purchase-sales-chart-filters[data-v-5da1f1e7]{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-sales-chart-actions[data-v-5da1f1e7]{grid-column:span 2}.purchase-sales-summary[data-v-5da1f1e7]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.purchase-sales-chart-filters[data-v-5da1f1e7],.purchase-sales-summary[data-v-5da1f1e7]{grid-template-columns:1fr}.purchase-sales-chart-actions[data-v-5da1f1e7]{grid-column:auto}}:root{color-scheme:light;--bg: #eef2f6;--surface: #ffffff;--surface-soft: #f7f9fc;--surface-strong: #e7edf5;--ink: #1f2937;--muted: #64748b;--line: #d8e0ea;--blue: #2563eb;--blue-strong: #1d4ed8;--green: #15803d;--green-bg: #dcfce7;--yellow: #a16207;--yellow-bg: #fef3c7;--orange: #c2410c;--orange-bg: #ffedd5;--red: #b91c1c;--red-bg: #fee2e2;--gray: #475569;--gray-bg: #e2e8f0;--shadow: 0 18px 40px rgba(15, 23, 42, .09)}.delivery-detail-page{gap:8px}.delivery-detail-page>.delivery-detail-section{order:1;border:1px solid var(--line);border-radius:4px;background:#fff}.delivery-detail-page>.delivery-overview-section{order:1}.delivery-detail-page>.delivery-primary-section{order:3}.delivery-detail-page>.delivery-secondary-section{order:2}.delivery-detail-page>.delivery-history-section{order:4}.delivery-detail-page>.delivery-diff-section{order:5}.delivery-detail-page>.delivery-log-section{order:6}.delivery-detail-page>.bottom-action-bar{order:10}.delivery-detail-hero{gap:8px}.delivery-detail-heading{min-width:0}.delivery-detail-heading .tag-list{gap:4px}.delivery-detail-status-readout{display:grid;align-content:center;gap:2px;min-width:112px;padding:7px 10px;border-left:3px solid var(--blue);background:#fff}.delivery-detail-status-readout span,.delivery-detail-kpi-strip span,.delivery-detail-kpi-strip small{color:var(--muted);font-size:11px;line-height:1.2}.delivery-detail-status-readout strong{color:var(--blue);font-size:14px;line-height:1.25}.delivery-detail-summary-line{grid-column:1 / -1;margin:0;color:var(--ink);font-size:12px;line-height:1.35}.delivery-detail-kpi-strip{display:grid;grid-column:1 / -1;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.delivery-detail-kpi-strip>div{display:flex;min-width:0;align-items:baseline;gap:4px;padding:7px 9px;border-right:1px solid var(--line)}.delivery-detail-kpi-strip>div:last-child{border-right:0}.delivery-detail-kpi-strip strong{color:var(--blue);font-size:16px;line-height:1.15}.delivery-detail-kpi-strip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-detail-kpi-strip .is-alert strong{color:var(--red)}.delivery-detail-page>.delivery-detail-section>.panel-header{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:7px 10px;background:#f8fafc}.delivery-detail-page>.delivery-detail-section>.panel-header h3{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.25}.delivery-detail-page>.delivery-detail-section>.panel-header p{margin:0;color:var(--muted);font-size:11px;line-height:1.25;text-align:right}.delivery-section-toggle{flex:0 0 auto;min-height:28px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--blue);font-size:11px;font-weight:800}.delivery-section-toggle:hover{border-color:#93c5fd;background:#eff6ff}.delivery-section-index{display:inline-grid;width:24px;height:20px;place-items:center;border-right:2px solid var(--blue);color:var(--blue);font-size:11px;font-weight:900;line-height:1}.delivery-detail-page .delivery-fact-table{grid-template-columns:repeat(4,minmax(0,1fr));border-top:0;border-left:0}.delivery-detail-page .delivery-fact-row{grid-template-columns:minmax(66px,.42fr) minmax(0,1fr);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.delivery-detail-page .delivery-fact-row span,.delivery-detail-page .delivery-fact-row strong{padding:6px 8px;font-size:11px;line-height:1.25}.delivery-detail-page .delivery-fact-row strong{font-size:12px}.delivery-detail-page .delivery-primary-section .delivery-ledger-body{gap:0;padding:0!important}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line)}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary>div{min-height:44px;padding:6px 9px;border:0;border-right:1px solid var(--line);border-radius:0;background:#fff}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary>div:last-child{border-right:0}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary strong{font-size:12px}.delivery-detail-page .delivery-primary-section .delivery-package-ledger{gap:0}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-row{gap:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-row:last-child{border-bottom:0}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-row header{min-height:42px;padding:7px 10px;background:#f1f5f9}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-row header strong{font-size:13px}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-row header small{font-size:11px}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border-bottom:1px solid var(--line)}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts>div{min-height:38px;padding:5px 9px;border:0;border-right:1px solid var(--line);border-radius:0;background:#fff}.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts>div:last-child{border-right:0}.delivery-detail-page .delivery-primary-section .delivery-package-sku-list{gap:0;padding:0}.delivery-detail-page .delivery-primary-section .delivery-package-sku-row{grid-template-columns:minmax(0,1fr) minmax(210px,.46fr);gap:8px;padding:6px 10px;border:0;border-bottom:1px solid #e8eef5;border-radius:0;background:#fff}.delivery-detail-page .delivery-primary-section .delivery-package-sku-row:last-child{border-bottom:0}.delivery-detail-page .delivery-primary-section .delivery-package-sku-main{grid-template-columns:minmax(110px,.42fr) minmax(0,1fr) auto;align-items:center;gap:7px}.delivery-detail-page .delivery-primary-section .delivery-package-sku-main .secondary-button{justify-self:end}.delivery-detail-page .delivery-primary-section .delivery-package-sku-qty{gap:0}.delivery-detail-page .delivery-primary-section .delivery-package-sku-qty>div{padding:2px 7px;border:0;border-left:1px solid #dbeafe;border-radius:0;background:#f8fbff}.delivery-detail-page .delivery-primary-section .delivery-package-add-product{padding:6px 10px;border-top:1px solid #e8eef5}.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-list,.delivery-detail-page .delivery-history-section .delivery-correction-record-list{gap:0;padding:0}.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-row,.delivery-detail-page .delivery-history-section .delivery-correction-record-row{grid-template-columns:minmax(0,1fr) minmax(300px,.6fr);gap:8px;padding:6px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0}.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-row:last-child,.delivery-detail-page .delivery-history-section .delivery-correction-record-row:last-child{border-bottom:0}.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-qty>div,.delivery-detail-page .delivery-history-section .delivery-correction-record-meta>div{padding:2px 6px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent}.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-qty strong,.delivery-detail-page .delivery-history-section .delivery-correction-record-meta strong{font-size:12px}.delivery-detail-page .delivery-diff-section .panel-body{padding:0}.delivery-detail-page .delivery-diff-section .purchase-detail-row{padding:7px 10px}.delivery-detail-page .delivery-log-section .panel-body{padding:0}.delivery-detail-page .delivery-log-section .delivery-compact-details{border:0;border-radius:0}.delivery-detail-page .delivery-log-section .delivery-compact-details summary{min-height:34px;padding:8px 10px}.delivery-quantity-edit-modal-body>.delivery-correction-panel{gap:4px;padding:4px 8px 7px}.delivery-quantity-edit-modal .delivery-correction-rule{padding:5px 8px;font-size:11px}.delivery-quantity-edit-modal .delivery-correction-context,.delivery-quantity-edit-modal .delivery-correction-current-info{gap:4px;padding:5px 0}.delivery-quantity-edit-modal .delivery-correction-info-grid,.delivery-quantity-edit-modal .delivery-correction-current-grid{gap:4px}.delivery-quantity-edit-modal .delivery-correction-info-grid>div,.delivery-quantity-edit-modal .delivery-correction-current-grid>div{padding:4px 6px}.delivery-quantity-edit-modal .delivery-correction-block{gap:5px;padding:6px}.delivery-quantity-edit-modal .delivery-correction-row{gap:4px;padding:4px 0}.delivery-quantity-edit-modal textarea{min-height:42px}@media(min-width:521px){.delivery-detail-hero{grid-template-columns:minmax(0,1fr) auto;align-items:start}.delivery-detail-status-readout{grid-column:2;grid-row:1 / span 2}.delivery-detail-hero .delivery-detail-summary-line,.delivery-detail-hero .delivery-detail-kpi-strip,.delivery-detail-hero .page-actions{grid-column:1 / -1}}@media(max-width:720px){.delivery-correction-reason-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-correction-confirmation-row{grid-template-columns:minmax(0,1fr)}.delivery-detail-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-detail-kpi-strip>div:nth-child(3){border-right:0}.delivery-detail-kpi-strip>div:nth-child(n+4){border-top:1px solid var(--line)}.delivery-detail-page>.delivery-detail-section>.panel-header{align-items:flex-start;flex-direction:column;gap:3px}.delivery-detail-page>.delivery-detail-section>.panel-header p{text-align:left}.delivery-detail-page .delivery-fact-table,.delivery-detail-page .delivery-primary-section .delivery-logistics-summary,.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary>div:nth-child(2),.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts>div:nth-child(2){border-right:0}.delivery-detail-page .delivery-primary-section .delivery-logistics-summary>div:nth-child(n+3),.delivery-detail-page .delivery-primary-section .delivery-package-ledger-facts>div:nth-child(n+3){border-top:1px solid var(--line)}.delivery-detail-page .delivery-primary-section .delivery-package-sku-row,.delivery-detail-page .delivery-secondary-section .delivery-sku-ledger-row,.delivery-detail-page .delivery-history-section .delivery-correction-record-row{grid-template-columns:minmax(0,1fr)}.delivery-detail-page .delivery-primary-section .delivery-package-sku-main{grid-template-columns:minmax(90px,.45fr) minmax(0,1fr)}.delivery-detail-page .delivery-primary-section .delivery-package-sku-main .secondary-button{grid-column:1 / -1;justify-self:start}}@media(max-width:520px){.delivery-detail-page .delivery-fact-table{grid-template-columns:minmax(0,1fr)}.delivery-detail-status-readout{min-width:0}.delivery-quantity-edit-modal-body>.delivery-correction-panel{padding-right:6px;padding-left:6px}}@media(min-width:520px){.delivery-quantity-edit-modal .delivery-correction-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-quantity-edit-modal .delivery-correction-current-grid{grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(96px,.65fr))}.delivery-quantity-edit-modal .delivery-correction-row,.delivery-quantity-edit-modal .delivery-correction-row.heading{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(105px,.8fr) minmax(120px,1fr) minmax(82px,.55fr) auto;align-items:end}.delivery-quantity-edit-modal .delivery-correction-row.focused,.delivery-quantity-edit-modal .delivery-correction-row.heading.focused{grid-template-columns:minmax(100px,.75fr) minmax(120px,1fr) minmax(90px,.55fr) auto}}*{box-sizing:border-box}html{min-width:320px}body{display:flex;justify-content:center;margin:0;min-height:100vh;background:linear-gradient(180deg,#dbeafe 0,#eef2f6 38%,#d9e2ec);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;letter-spacing:0}button{cursor:pointer}button,input,select,textarea{font:inherit;letter-spacing:0}input,select,textarea{width:100%;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);padding:8px 10px;outline:none}textarea{min-height:92px;resize:vertical}textarea[aria-invalid=true],input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--red);box-shadow:0 0 0 3px #dc26261f}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f}textarea[aria-invalid=true]:focus,input[aria-invalid=true]:focus,select[aria-invalid=true]:focus{border-color:var(--red);box-shadow:0 0 0 3px #dc26261f}.app-shell{position:relative;display:block;width:min(100%,430px);min-height:100vh;background:#f5f7fb;box-shadow:0 24px 70px #0f172a38}.workspace{min-height:100vh}.sidebar{display:none}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#fff;color:#111827;font-weight:800}.brand h1{margin:0;font-size:18px;line-height:1.25}.brand p{margin:4px 0 0;color:#9ca3af;font-size:12px}.nav-list{display:grid;gap:6px}.nav-group{display:grid;gap:3px}.nav-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:8px;color:#cbd5e1;text-decoration:none}.nav-link-button{width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}.nav-link-group{padding:0 4px 0 12px}.nav-link-primary{display:flex;min-width:0;min-height:44px;flex:1;align-items:center;gap:10px;color:inherit;text-decoration:none}.nav-expand-button{display:grid;width:28px;height:36px;flex:0 0 28px;place-items:center;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.nav-expand-button:hover{background:#ffffff14}.nav-label{min-width:0}.nav-badge{display:inline-grid;min-width:20px;height:20px;margin-left:auto;padding:0 6px;place-items:center;border:2px solid #111827;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:800;line-height:1}.nav-link:hover,.nav-link.expanded,.nav-link.active{background:#1f2937;color:#fff}.nav-link.active{box-shadow:inset 3px 0 #60a5fa}.nav-icon{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:6px;background:#ffffff1a;font-size:12px;font-weight:700}.nav-chevron{color:#94a3b8;font-size:22px;line-height:1;transform:rotate(0);transition:transform .15s ease}.nav-link.expanded .nav-chevron{color:#fff;transform:rotate(90deg)}.nav-badge+.nav-chevron{margin-left:0}.nav-sublist{display:grid;gap:2px;margin:1px 0 4px 35px;padding-left:10px;border-left:1px solid rgba(148,163,184,.28)}.nav-sublink{min-height:32px;padding:7px 9px;border-radius:6px;color:#94a3b8;font-size:13px;font-weight:700;line-height:18px;text-decoration:none}.nav-sublink:hover,.nav-sublink.active{background:#3b82f624;color:#fff}.nav-sublink.active{box-shadow:inset 2px 0 #60a5fa}.mobile-module-nav{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--line);background:#fff}.mobile-module-label{flex:0 0 auto;color:var(--muted);font-size:13px;font-weight:800}.mobile-module-select{min-width:0;flex:1}.mobile-module-select select{width:100%;min-height:38px;padding-top:7px;padding-bottom:7px;background-color:#f8fafc;font-weight:700}.sidebar-note{margin-top:auto;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0f}.sidebar-note strong,.sidebar-note span{display:block}.sidebar-note strong{margin-bottom:6px}.sidebar-note span{color:#cbd5e1;font-size:13px;line-height:1.5}.topbar{display:flex;align-items:flex-start;flex-direction:column;gap:12px;min-height:116px;padding:calc(16px + env(safe-area-inset-top)) 16px 14px;border-bottom:1px solid var(--line);background:#fffffff5}.eyebrow{margin:0 0 4px;color:#3377d6;font-size:12px;font-weight:800}#page-title{margin:0;font-size:23px;line-height:1.2}.topbar-actions{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px}.topbar-debug-tools{position:relative}.topbar-debug-tools summary{min-height:38px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;list-style:none}.topbar-debug-tools summary::-webkit-details-marker{display:none}.topbar-debug-tools[open]{z-index:80}.topbar-debug-tools[open] .ghost-button{position:absolute;top:calc(100% + 6px);right:0;white-space:nowrap;box-shadow:var(--shadow)}.current-employee{display:grid;flex:1 1 0;min-width:0;gap:5px;padding:7px 10px;border:1px solid #cfe0f7;border-radius:8px;background:#f8fbff;color:var(--muted);font-size:12px}.current-employee span{color:var(--muted);font-weight:800}.current-employee strong{overflow:hidden;color:var(--blue);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.content{padding:14px 14px calc(94px + env(safe-area-inset-bottom))}.stack{display:grid;gap:16px}.page-lead{display:grid;gap:14px}.page-lead h1{display:none}.page-lead p{margin:0;max-width:760px;color:var(--muted);font-size:13px;line-height:1.55}.page-actions{align-items:stretch}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{min-height:90px;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.metric span{color:var(--muted);font-size:13px}.metric strong{display:block;margin-top:8px;font-size:26px;line-height:1}.metric small{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.4}.payment-balance-metric strong{display:grid;gap:4px;font-size:22px;line-height:1.08}.payment-balance-metric strong em{min-width:0;overflow-wrap:normal;font-style:normal;white-space:nowrap}.payment-summary-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding-bottom:0;border:0;background:transparent}.payment-summary-strip .metric{display:grid;grid-template-columns:1fr;flex:none;min-height:0;align-items:start;gap:3px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-summary-strip .metric:last-child{grid-column:1 / -1;border-bottom:1px solid var(--line)}.payment-summary-strip .metric span{color:var(--gray);font-size:11px;font-weight:900;line-height:1.25}.payment-summary-strip .metric strong,.payment-summary-strip .payment-balance-metric strong{display:grid;grid-column:1;grid-row:auto;gap:1px;margin:0;color:var(--blue);font-size:14px;line-height:1.15;text-align:left}.payment-summary-strip .metric strong em,.payment-summary-strip .metric small em{min-width:0;overflow-wrap:normal;font-style:normal;white-space:nowrap}.payment-summary-strip .metric small{display:none;margin:0;color:var(--muted);font-size:11px;line-height:1.25}.panel{background:transparent}.panel-header{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:0 0 12px}.panel-header h3{margin:0;font-size:16px;line-height:1.3}.panel-header p{margin:4px 0 0;color:var(--muted);font-size:12px}.panel-body{padding:0}.stack:not(.dashboard){gap:12px}.stack:not(.dashboard)>.page-lead{gap:10px}.stack:not(.dashboard)>.page-lead h1{display:none}.stack:not(.dashboard)>.page-lead p{max-width:680px;line-height:1.45}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip),.stack:not(.dashboard) .payment-summary-strip{gap:6px}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric,.stack:not(.dashboard) .payment-summary-strip .metric{min-height:64px;padding:8px 10px;box-shadow:none}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric span,.stack:not(.dashboard) .payment-summary-strip .metric span{color:var(--gray);font-size:11px;font-weight:900;line-height:1.25}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric strong,.stack:not(.dashboard) .payment-summary-strip .metric strong,.stack:not(.dashboard) .payment-summary-strip .payment-balance-metric strong{margin-top:4px;color:var(--blue);font-size:18px;line-height:1.1}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric small,.stack:not(.dashboard) .payment-summary-strip .metric small{display:none}.stack:not(.dashboard) .panel-header{gap:6px;padding-bottom:8px}.stack:not(.dashboard) .panel-header h3{font-size:15px}.stack:not(.dashboard) .panel-header p{margin-top:2px;line-height:1.35}.stack:not(.dashboard) .detail-card,.stack:not(.dashboard) .purchase-manual-preview,.stack:not(.dashboard) .purchase-order-money,.stack:not(.dashboard) .purchase-order-category-row,.stack:not(.dashboard) .purchase-order-meta-item,.stack:not(.dashboard) .delivery-inline-summary,.stack:not(.dashboard) .delivery-card-metric,.stack:not(.dashboard) .delivery-line-preview>div,.stack:not(.dashboard) .delivery-meta-grid>div,.stack:not(.dashboard) .base-info-card-grid div,.stack:not(.dashboard) .base-info-supplier-product-head,.stack:not(.dashboard) .base-info-subsection,.stack:not(.dashboard) .base-info-nested-card{padding:7px 8px}.stack:not(.dashboard) .detail-card,.stack:not(.dashboard) .purchase-order-row.detailed,.stack:not(.dashboard) .delivery-card,.stack:not(.dashboard) .delivery-package-card,.stack:not(.dashboard) .delivery-line-card,.stack:not(.dashboard) .base-info-card,.stack:not(.dashboard) .approval-card,.stack:not(.dashboard) .approval-list-row{gap:8px}.stack:not(.dashboard) .purchase-order-row.detailed,.stack:not(.dashboard) .delivery-card,.stack:not(.dashboard) .delivery-package-card,.stack:not(.dashboard) .delivery-line-card,.stack:not(.dashboard) .base-info-card,.stack:not(.dashboard) .approval-card,.stack:not(.dashboard) .approval-list-row{padding:10px}.stack:not(.dashboard) .purchase-order-title h3,.stack:not(.dashboard) .delivery-card-head h3,.stack:not(.dashboard) .base-info-card h3{margin:2px 0;font-size:15px}.stack:not(.dashboard) .purchase-order-money strong,.stack:not(.dashboard) .delivery-card-metric strong{font-size:18px}.placeholder-table{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.placeholder-row{display:grid;grid-template-columns:.8fr 1fr 1fr;min-width:0;border-top:1px solid var(--line)}.placeholder-row:first-child{border-top:0}.placeholder-row.heading{background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:800}.placeholder-row span{min-width:0;padding:11px 10px;border-left:1px solid var(--line);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.placeholder-row span:first-child{border-left:0}.placeholder-grid{display:grid;gap:10px}.placeholder-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.placeholder-card h3{margin:0;font-size:16px}.placeholder-card p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.form-grid,.detail-grid{display:grid;grid-template-columns:1fr;gap:12px}.form-grid.compact,.detail-grid.compact{gap:10px}.field{display:grid;gap:7px}.field span,.field>label{color:var(--gray);font-size:13px;font-weight:800}.field-label-with-help{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%}.field-help-button{position:relative;display:inline-grid;width:17px;min-width:17px;height:17px;min-height:17px;place-items:center;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:var(--blue);font-size:11px;font-weight:900;line-height:1;padding:0}.field-help-button:hover,.field-help-button:focus{border-color:var(--blue);background:#dbeafe}.field-help-button:hover:after,.field-help-button:focus:after{content:attr(data-help);position:absolute;top:calc(100% + 6px);left:50%;z-index:95;width:max-content;max-width:240px;padding:7px 9px;transform:translate(-50%);border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 14px 30px #0f172a2e;color:var(--ink);font-size:12px;font-weight:700;line-height:1.45;text-align:left;white-space:normal}.field.full{grid-column:1 / -1}.help-text{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.purchase-manual-start-body,.purchase-manual-start-grid{display:grid;gap:12px;min-width:0}.purchase-manual-start-grid{grid-template-columns:1fr}.purchase-manual-preview{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.purchase-manual-preview span{color:var(--muted);font-size:11px;font-weight:900}.purchase-manual-preview strong{color:var(--ink);font-size:13px;line-height:1.35}.purchase-manual-start-button{width:100%}.detail-card{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.detail-card span{color:var(--muted);font-size:12px}.detail-card strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.dashboard-hero{display:grid;gap:14px}.dashboard-hero h1{margin:10px 0 6px;font-size:22px;line-height:1.2}.dashboard-hero p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.dashboard-metric{position:relative;overflow:hidden}.dashboard-metric:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:var(--blue)}.dashboard-metric.tone-green:before{background:var(--green)}.dashboard-metric.tone-orange:before{background:var(--orange)}.dashboard-metric.tone-red:before{background:var(--red)}.dashboard-metric strong.metric-value-red{color:var(--red)}.dashboard-reminders{display:grid;gap:10px}.reminder-card{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none}.reminder-card:hover{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1a}.reminder-card.tone-green{border-left-color:var(--green)}.reminder-card.tone-orange{border-left-color:var(--orange)}.reminder-card.tone-red{border-left-color:var(--red)}.reminder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reminder-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#dbeafe;color:var(--blue);font-size:14px;font-weight:900}.tone-green .reminder-icon{background:var(--green-bg);color:var(--green)}.tone-orange .reminder-icon{background:var(--orange-bg);color:var(--orange)}.tone-red .reminder-icon{background:var(--red-bg);color:var(--red)}.reminder-count{display:flex;align-items:baseline;gap:4px;color:var(--muted)}.reminder-count strong{font-size:28px;line-height:1}.reminder-count-value{color:var(--red)}.reminder-count small{font-size:12px;font-weight:800}.reminder-card h3{margin:0;font-size:16px;line-height:1.3}.reminder-card p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.reminder-amount{color:#0f766e;font-size:14px;font-weight:900;line-height:1.3}.reminder-action{color:var(--blue);font-size:13px;font-weight:900}.dashboard-columns{display:grid;gap:16px}.alert-list,.task-list{display:grid;gap:10px}.alert-row,.task-row{display:grid;gap:8px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none}.alert-row:hover,.task-row:hover{border-color:#93c5fd;background:#f8fbff}.alert-row strong,.task-row strong{display:block;font-size:13px;line-height:1.4}.alert-row small,.task-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.alert-row em{color:var(--gray);font-size:12px;font-style:normal;font-weight:800}.task-row{grid-template-columns:82px minmax(0,1fr);align-items:start}.task-row time{color:var(--blue);font-size:12px;font-weight:900;line-height:1.4}.approval-card-list,.approval-list,.timeline{display:grid;gap:10px}.approval-card,.approval-list-row,.timeline-item{color:var(--ink);text-decoration:none}.approval-card{display:grid;gap:8px;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.approval-card:hover,.approval-list-row:hover,.timeline-item:hover{border-color:#93c5fd;background:#f8fbff}.approval-card-head,.approval-list-meta{display:flex;gap:6px;flex-wrap:wrap}.approval-card strong{font-size:14px;line-height:1.35}.approval-card small{color:var(--muted);font-size:12px;line-height:1.45}.approval-filters{display:grid;gap:10px}.approval-list-row{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.approval-list-row>span{min-width:0}.approval-list-row strong,.timeline-item strong{display:block;min-width:0;overflow:hidden;font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.approval-list-row small,.timeline-item small{display:block;min-width:0;margin-top:3px;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.approval-message{padding:12px 14px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:var(--blue);font-size:13px;font-weight:800;line-height:1.45}.approval-action-panel{display:grid;gap:12px}.approval-title-meta{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.approval-title-meta>span{display:inline-flex;min-width:0;min-height:26px;align-items:center;gap:5px;padding:4px 7px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:var(--ink);font-size:12px;font-weight:800;line-height:1.25}.approval-title-meta b{color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}.approval-title-help{position:relative;flex:0 0 auto}.approval-title-help button{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:50%;background:#eff6ff;color:var(--blue);cursor:pointer;font-size:13px;font-weight:900}.approval-title-help button[aria-expanded=true]{border-color:#2563eb;background:#dbeafe}.approval-title-help div{position:absolute;top:calc(100% + 8px);right:0;z-index:50;display:grid;width:min(286px,calc(100vw - 32px));gap:6px;padding:10px;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a2e}.approval-title-help div strong{color:var(--ink);font-size:13px;line-height:1.35}.approval-title-help div span{color:var(--gray);font-size:12px;line-height:1.45}.page-with-bottom-action{padding-bottom:calc(300px + env(safe-area-inset-bottom))}.bottom-action-bar{position:fixed;right:auto;bottom:calc(76px + env(safe-area-inset-bottom));left:50%;z-index:45;display:grid;width:min(calc(100vw - 28px),402px);gap:10px;margin:0;padding:10px;transform:translate(-50%);border:1px solid var(--line);border-radius:8px;background:#fffffff5;box-shadow:0 18px 42px #0f172a2e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-action-meta{display:grid;gap:3px}.bottom-action-meta strong{font-size:13px;line-height:1.3}.bottom-action-meta span{color:var(--muted);font-size:12px;line-height:1.4}.bottom-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bottom-action-buttons.two-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-action-buttons button{min-width:0;width:100%}.approval-final-opinion{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.approval-final-opinion span{color:var(--muted);font-size:12px}.approval-final-opinion strong{font-size:13px;line-height:1.45}.snapshot-list{display:grid;gap:8px}.snapshot-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.snapshot-row span{color:var(--muted);font-size:12px;font-weight:800}.snapshot-row strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.approval-line-items{display:grid;gap:10px;padding-top:4px}.approval-line-items-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.approval-line-items-title strong{color:var(--ink);font-size:14px;line-height:1.35}.approval-line-items-title span{color:var(--muted);font-size:12px;font-weight:800}.approval-line-table{display:grid;gap:8px;min-width:0;overflow-x:auto}.approval-line-row.heading{display:none}.approval-line-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.approval-line-row>div{display:grid;gap:2px;min-width:0;align-content:center;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.approval-line-row>div:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:900;line-height:1.2}.approval-line-row strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;line-height:1.3}.approval-line-row small{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.25}.approval-line-row .amount strong{color:var(--blue);font-weight:900}.timeline-item{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.timeline-dot{width:10px;height:10px;margin-top:4px;border-radius:999px;background:var(--blue);box-shadow:0 0 0 4px #dbeafe}.timeline-item em{display:block;margin-top:5px;color:var(--gray);font-size:12px;font-style:normal;line-height:1.45}.operation-timeline{display:grid;gap:10px}.operation-log-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.operation-log-main{display:grid;gap:6px;min-width:0}.operation-log-head,.operation-log-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.operation-log-head strong{font-size:14px}.operation-log-head small,.operation-log-status span{color:var(--muted);font-size:12px;font-weight:700}.operation-log-status em{padding:3px 7px;border-radius:999px;background:var(--surface-soft);color:var(--gray);font-style:normal;font-size:12px;font-weight:900}.operation-log-status em.green{background:var(--green-bg);color:var(--green)}.operation-log-status em.orange{background:var(--orange-bg);color:var(--orange)}.operation-log-status em.red{background:var(--red-bg);color:var(--red)}.operation-log-status em.blue{background:#dbeafe;color:var(--blue)}.operation-log-status b{color:var(--muted);font-size:12px}.operation-log-main p{margin:0;color:var(--ink);font-size:12px;line-height:1.45}.status-summary-grid,.alert-filter-grid{display:grid;gap:10px}.status-summary-card,.alert-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.status-summary-card h3,.alert-card h3{margin:0;font-size:15px}.status-summary-list{display:flex;gap:6px;flex-wrap:wrap}.alert-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.alert-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.source-approval-panel{display:grid;gap:12px;padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.source-approval-panel h3{margin:10px 0 4px;font-size:16px}.source-approval-panel p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;align-items:end;padding:14px;background:#0f172a7a}.modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:min(780px,calc(100vh - 28px));overflow:hidden;border-radius:8px;background:var(--surface);box-shadow:0 24px 70px #0f172a47}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid var(--line)}.modal-header h2{margin:0;font-size:18px}.modal-header p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.modal-body{display:grid;gap:14px;min-height:0;overflow:auto;padding:14px 14px 18px;scroll-padding-bottom:24px;-webkit-overflow-scrolling:touch}.modal-form{gap:12px}.modal-footer{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0}.modal-bottom-action-bar{position:static;right:auto;bottom:auto;left:auto;z-index:2;display:grid;width:auto;gap:10px;margin:0;padding:10px;transform:none;border:0;border-top:1px solid var(--line);border-radius:0;background:#fffffff7;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.button-row{display:flex;gap:8px;flex-wrap:wrap}.primary-button,.secondary-button,.danger-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:8px;padding:8px 10px;border:1px solid transparent;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.primary-button{background:var(--blue);color:#fff}.primary-button:hover{background:var(--blue-strong)}.secondary-button{border-color:var(--line);background:#fff;color:var(--ink)}.secondary-button:hover,.ghost-button:hover{background:var(--surface-soft)}.danger-button{background:var(--red-bg);color:var(--red)}.danger-button:hover{background:#fecaca}.ghost-button{border-color:var(--line);background:transparent;color:var(--gray)}.public-shell{min-height:100vh;background:#f5f7fb}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px}.login-panel{display:grid;width:min(100%,380px);gap:22px;padding:22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.login-brand{display:flex;align-items:center;gap:12px}.login-brand h1{margin:0;font-size:24px;line-height:1.2}.login-form,.login-pending{display:grid;gap:14px}.login-pending{padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.login-pending strong{color:var(--blue);font-size:15px}.login-pending span{color:var(--gray);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.dingtalk-diagnostics{display:grid;gap:10px;padding:12px;border:1px dashed #bfdbfe;border-radius:8px;background:#f8fbff}.dingtalk-diagnostics h2{margin:0;color:var(--ink);font-size:14px}.dingtalk-diagnostics dl{display:grid;gap:7px;margin:0}.dingtalk-diagnostics div{display:grid;gap:2px}.dingtalk-diagnostics dt{color:var(--muted);font-size:11px;font-weight:900}.dingtalk-diagnostics dd{min-width:0;margin:0;color:var(--ink);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.form-error,.form-message{margin:0;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.form-error,.form-message.error{background:var(--red-bg);color:var(--red)}.form-message.success{background:var(--green-bg);color:var(--green)}.form-message.info{background:#eff6ff;color:var(--blue)}.login-submit{width:100%}.password-input{position:relative}.password-input input{padding-right:46px}.password-toggle{position:absolute;top:50%;right:4px;display:grid;width:34px;min-width:34px;height:32px;min-height:32px;place-items:center;padding:0;transform:translateY(-50%);border:0;border-radius:6px;background:transparent;color:var(--muted)}.password-toggle:hover,.password-toggle:focus{background:#eff6ff;color:var(--blue);outline:none}.password-toggle:focus-visible{box-shadow:0 0 0 3px #2563eb24}.password-toggle-icon{position:relative;display:block;width:19px;height:13px;border:2px solid currentColor;border-radius:50%}.password-toggle-icon:before{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;transform:translate(-50%,-50%);border-radius:999px;background:currentColor}.password-toggle-icon.hidden:after{content:"";position:absolute;top:50%;left:-3px;width:25px;height:2px;transform:rotate(-35deg);border-radius:999px;background:currentColor}.topbar-logout-button{flex:0 0 auto}.user-management-page{min-width:0}.user-management-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.system-admin-metric{min-width:0}.metric-label-with-help{display:inline-flex;align-items:center;gap:5px;max-width:100%}.system-admin-help-button{flex:0 0 auto}.user-admin-panel{display:grid;gap:12px}.user-admin-layout,.user-detail-grid,.user-list-column,.user-create-form,.user-edit-form,.login-identity-panel{display:grid;gap:12px;min-width:0}.user-create-form,.user-edit-form{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.modal.user-create-modal{width:min(100%,560px)}.modal.user-detail-modal{width:min(100%,1080px)}.user-detail-modal .modal-body{padding:12px}.user-create-form h4,.login-identity-panel h4,.section-heading h4{margin:0;font-size:15px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.user-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.user-list,.pending-review-list{display:grid;gap:7px;min-width:0}.user-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:54px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-align:left}.user-list-row.active{border-color:#93c5fd;background:#eff6ff}.user-list-row.disabled{opacity:.62}.user-list-row .user-list-main{display:grid;min-width:0;gap:4px}.user-list-row strong{overflow-wrap:anywhere;font-size:15px;line-height:1.25}.user-list-row small{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.user-id-chip{display:inline-flex;align-items:center;min-height:20px;padding:2px 6px;border-radius:6px;background:#f1f5f9;color:#334155;font-size:11px;font-weight:900}.user-list-tags{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:0}.user-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.user-list-row em,.user-list-tags em{flex:0 0 auto;color:var(--blue);font-size:12px;font-style:normal;font-weight:900}.system-admin-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8}.user-list-row .secondary-button{flex:0 0 auto;min-height:32px;padding:6px 10px}@media(max-width:720px){.user-search-row,.user-list-row{grid-template-columns:minmax(0,1fr)}.user-search-row .secondary-button{width:100%}.user-list-actions{justify-content:space-between;width:100%}.user-list-tags{justify-content:flex-start}}.identity-title-row{display:flex;align-items:center;gap:7px}.identity-help{display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid #bfdbfe;border-radius:50%;background:#eff6ff;color:var(--blue);cursor:help;font-size:12px;font-weight:900;line-height:1}.identity-method-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}.identity-method-card{display:grid;gap:10px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.identity-method-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.identity-method-card header>div{display:grid;min-width:0;gap:3px}.identity-method-card strong,.identity-method-card small,.identity-method-card dd{overflow-wrap:anywhere}.identity-method-create{background:#fbfdff}.identity-create-form{display:grid;gap:8px}.identity-card.disabled{background:#f8fafc;opacity:.78}.identity-type{color:var(--blue);font-size:12px;font-weight:900}.identity-method-card strong{font-size:15px;line-height:1.25}.identity-method-card small{color:var(--muted);font-size:12px;line-height:1.35}.identity-status{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--gray-bg);color:var(--gray);font-size:12px;font-style:normal;font-weight:900;line-height:1}.identity-status.active{background:var(--green-bg);color:var(--green)}.identity-status.disabled{background:var(--gray-bg);color:var(--gray)}.identity-status.pending_review{background:var(--yellow-bg);color:var(--yellow)}.identity-status.rejected{background:var(--red-bg);color:var(--red)}.identity-meta-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}.identity-meta-grid div{min-width:0;padding:7px 8px;border-radius:8px;background:var(--surface-soft)}.identity-meta-grid dt{margin:0 0 3px;color:var(--muted);font-size:11px;font-weight:900}.identity-meta-grid dd{margin:0;color:var(--ink);font-size:12px;line-height:1.35}.identity-reset{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.identity-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.pending-review-table-wrap{min-width:0;overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.pending-review-table{width:100%;min-width:1040px;border-collapse:collapse}.pending-review-table th,.pending-review-table td{padding:10px 12px;border-bottom:1px solid var(--line);color:var(--ink);font-size:13px;line-height:1.35;text-align:left;vertical-align:top}.pending-review-table th{position:sticky;top:0;z-index:1;background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:900;white-space:nowrap}.pending-review-table td{overflow-wrap:anywhere}.pending-review-table tbody tr:last-child td{border-bottom:0}.pending-bind-cell{min-width:280px}.pending-table-actions{display:flex;flex-wrap:nowrap;gap:8px;justify-content:flex-end;white-space:nowrap}.pending-review-note-row td{padding-top:0;background:#fffaf0}.pending-profile-notice{margin:0;padding:8px 10px;border:1px solid #fed7aa;border-radius:6px;background:#fff7ed;color:#9a3412;font-size:12px;line-height:1.45}.empty-text{margin:0;padding:12px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:13px;text-align:center}.tag-list{display:flex;gap:6px;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:3px 9px;background:var(--gray-bg);color:var(--gray);font-size:12px;font-weight:800}.tag.blue{background:#dbeafe;color:#1d4ed8}.tag.green{background:var(--green-bg);color:var(--green)}.tag.orange{background:var(--orange-bg);color:var(--orange)}.tag.red{background:var(--red-bg);color:var(--red)}.tag.gray{background:var(--gray-bg);color:var(--gray)}.excel-action-panel{display:grid;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.excel-action-panel-collapsed summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;cursor:pointer}.excel-action-panel-collapsed summary::-webkit-details-marker{display:none}.excel-action-panel-collapsed summary span{color:var(--gray);font-size:12px;font-weight:900}.excel-action-panel-collapsed summary strong{min-width:0;overflow:hidden;color:var(--ink);font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.excel-action-panel-collapsed summary small{color:var(--muted);font-size:11px;white-space:nowrap}.excel-action-panel-collapsed[open]{gap:10px}.excel-action-head{display:grid;gap:8px;min-width:0}.excel-action-head h3,.excel-done-card h3,.excel-fatal-card h3,.excel-record-row h3{margin:5px 0 2px;font-size:15px;line-height:1.3}.excel-action-head .tag-list,.excel-action-head p{display:none}.excel-action-head h3{margin:0}.excel-action-head p,.excel-record-row p,.excel-done-card p,.excel-fatal-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.35}.excel-action-head p{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excel-template-card{display:grid;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.excel-template-card span,.excel-template-card small,.excel-mini-grid span,.excel-mini-grid small{color:var(--muted);font-size:12px;line-height:1.4}.excel-template-card strong,.excel-mini-grid strong{display:block;margin-top:2px;font-size:14px;line-height:1.35}.excel-toolbar{display:flex;flex-wrap:wrap;gap:6px}.excel-toolbar .primary-button,.excel-toolbar .secondary-button{min-height:30px;padding:5px 8px;font-size:12px}.excel-compact-details{display:grid;min-width:0}.excel-compact-details summary{display:flex;align-items:center;gap:8px;min-width:0;cursor:pointer;color:var(--muted);font-size:12px;line-height:1.35}.excel-compact-details summary::-webkit-details-marker{display:none}.excel-compact-details summary span{color:var(--gray);font-weight:900}.excel-compact-details summary strong{min-width:0;overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.excel-compact-details summary small{flex:0 0 auto;color:var(--muted);font-size:11px}.excel-compact-details[open]{gap:8px}.excel-mini-grid,.excel-summary-grid{display:grid;grid-template-columns:1fr;gap:10px}.excel-mini-grid article{min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.excel-modal{width:min(100%,430px)}.excel-modal-body{padding-bottom:16px}.excel-file-chip,.excel-done-card,.excel-fatal-card,.excel-empty-state{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.excel-file-chip span,.excel-empty-state span{color:var(--muted);font-size:12px}.excel-file-chip strong,.excel-empty-state strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.purchase-recommend-error-state{display:grid;gap:12px;border:1px solid #fecaca;border-radius:10px;background:#fff7f7;color:#7f1d1d}.purchase-recommend-error-state strong{display:block;font-size:15px}.purchase-recommend-error-state p{margin:5px 0 0;color:#991b1b;font-size:13px;line-height:1.55}.purchase-recommend-error-action{padding:9px 10px;border-radius:6px;background:#fff1f2}.purchase-recommend-error-details{border-top:1px solid #fecaca;padding-top:10px}.purchase-recommend-error-details summary{cursor:pointer;color:#7f1d1d;font-size:13px;font-weight:800}.purchase-recommend-diagnostic-grid{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px 14px;margin:10px 0 0;font-size:12px;line-height:1.45}.purchase-recommend-diagnostic-grid dt{color:#7f1d1d;font-weight:800}.purchase-recommend-diagnostic-grid dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#991b1b}.purchase-recommend-diagnostic-message{overflow-wrap:anywhere}.excel-scenario-grid{display:grid;grid-template-columns:1fr;gap:8px}.scenario-card{display:grid;gap:5px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-align:left}.scenario-card strong{font-size:13px;line-height:1.35}.scenario-card span{color:var(--muted);font-size:12px;line-height:1.45}.scenario-card.active{border-color:#93c5fd;background:#eff6ff;box-shadow:0 0 0 3px #2563eb1a}.excel-summary-section,.excel-exception-section{display:grid;gap:12px}.excel-row-list,.excel-record-list{display:grid;gap:10px}.excel-record-list.compact{gap:8px}.excel-import-row,.excel-record-row{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.excel-import-row.error{border-color:#fecaca;background:#fff7f7}.excel-row-head,.excel-row-foot,.excel-record-stats,.excel-record-summary{display:grid;gap:7px}.excel-row-head strong{font-size:13px;line-height:1.35}.excel-row-head small,.excel-row-foot,.excel-record-summary span{color:var(--muted);font-size:12px;line-height:1.45}.excel-record-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.excel-record-stats span{min-width:0;padding:7px 8px;border-radius:8px;background:var(--surface-soft);color:var(--gray);font-size:12px;font-weight:800;text-align:center;overflow-wrap:anywhere}.excel-record-summary{padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.excel-record-summary strong{font-size:13px;line-height:1.4}.excel-action-buttons{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))}.purchase-recommend-groups,.purchase-order-list,.purchase-sku-grid,.purchase-line-list,.purchase-history-list{display:grid;gap:12px}.purchase-sku-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.purchase-supplier-panel{overflow:hidden}.purchase-product-groups{display:grid;gap:14px}.purchase-product-group{display:grid;gap:10px;min-width:0;padding-top:12px;border-top:1px solid var(--line)}.purchase-product-group:first-child{padding-top:0;border-top:0}.purchase-product-group-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:10px;min-width:0;padding:8px 10px;border-radius:8px;background:#f8fafc}.purchase-product-header-fields{display:grid;grid-column:1 / -1;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);gap:10px;padding-top:2px}.purchase-product-title{display:grid;min-width:0;gap:5px}.purchase-product-title-line{display:flex;align-items:center;gap:8px;min-width:0}.purchase-product-title strong{color:var(--ink);font-size:14px;line-height:1.35;overflow-wrap:anywhere}.purchase-product-inventory-button{flex:0 0 auto;min-height:28px;padding:4px 10px;border:1px solid #86efac;border-radius:7px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:800;cursor:pointer}.purchase-product-inventory-button:hover{border-color:#22c55e;background:#dcfce7}.purchase-product-batch-price-button{flex:0 0 auto;min-height:28px;padding:4px 10px;border:1px solid #93c5fd;border-radius:7px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:800;cursor:pointer}.purchase-product-batch-price-button:hover{border-color:#3b82f6;background:#dbeafe}.purchase-product-summary{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:5px}.purchase-product-batch-field,.purchase-product-note-field{display:inline-grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;min-height:28px;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}.purchase-product-batch-field input,.purchase-product-note-field input{min-width:0;height:28px;padding:4px 8px;border:1px solid #bfdbfe;border-radius:7px;background:#fff;color:var(--ink);font:inherit;font-weight:600}.purchase-product-batch-field input:focus,.purchase-product-note-field input:focus{outline:2px solid #93c5fd;outline-offset:1px}.purchase-product-add-button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 10px;border:1px solid #16a34a;border-radius:7px;background:#16a34a;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.purchase-product-add-button:hover{border-color:#15803d;background:#15803d}.purchase-product-summary>span{min-height:24px;padding:4px 7px;border-radius:7px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:900;line-height:1.35;white-space:nowrap}.purchase-sku-card,.purchase-order-row,.purchase-line-row,.purchase-history-row{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none}.purchase-sku-card:hover,.purchase-order-row:hover,.purchase-history-row:hover{border-color:#93c5fd;background:#f8fbff}.purchase-sku-card.compact{gap:6px;padding:7px;border-color:var(--sku-accent, var(--line));border-left-width:4px;background:linear-gradient(90deg,var(--sku-accent-bg, #ffffff) 0,#ffffff 46%)}.purchase-sku-card.compact.active{border-color:var(--sku-accent, var(--blue));box-shadow:0 0 0 2px color-mix(in srgb,var(--sku-accent, var(--blue)) 16%,transparent)}.purchase-sku-head,.purchase-line-foot,.purchase-order-main,.purchase-row-actions{min-width:0}.purchase-sku-head,.purchase-line-foot,.purchase-line-metrics{display:grid;gap:8px}.purchase-sku-head.compact{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.purchase-sku-head.compact>span{flex:0 0 auto;color:var(--muted);font-size:10px;line-height:1.25}.purchase-sku-head.compact>strong{min-width:0;color:var(--sku-accent, var(--ink));font-size:12px;line-height:1.25;overflow-wrap:anywhere}.purchase-check{display:flex;min-width:0;align-items:center;gap:8px;color:var(--ink);font-size:13px;font-weight:900}.purchase-sku-card.compact .purchase-check{gap:5px;color:var(--sku-accent, var(--ink));font-size:12px;line-height:1.25}.purchase-check input{width:auto;min-height:auto}.purchase-sku-card strong,.purchase-order-row h3,.purchase-line-row strong,.purchase-history-row strong{display:block;margin:0;font-size:14px;line-height:1.35}.purchase-sku-card small,.purchase-order-row p,.purchase-line-row small,.purchase-history-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.purchase-sku-card.compact .purchase-sku-name strong{color:var(--ink);font-size:12px;line-height:1.25}.purchase-mini-stats,.purchase-order-stats,.purchase-line-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.purchase-mini-stats span,.purchase-order-stats span,.purchase-line-metrics span,.purchase-line-metrics strong{min-width:0;padding:7px 8px;border-radius:8px;background:var(--surface-soft);color:var(--gray);font-size:12px;font-weight:800;text-align:center;overflow-wrap:anywhere}.purchase-sku-card.compact .purchase-mini-stats{gap:4px}.purchase-sku-card.compact .purchase-mini-stats span{padding:3px 4px;border-radius:6px;font-size:10px;white-space:nowrap}.purchase-sellable-badge{display:inline-flex;min-height:22px;align-items:center;justify-content:center;border-radius:7px;padding:3px 6px;background:#ecfdf5;color:#047857;font-size:10px;font-weight:900;line-height:1.25}.purchase-sellable-badge.warning{background:var(--yellow-bg);color:var(--yellow)}.purchase-sku-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.purchase-sku-inputs .field{gap:3px}.purchase-sku-inputs .field span{font-size:10px}.purchase-sku-inputs input{min-height:31px;padding:5px 7px;font-size:12px;font-weight:800}.purchase-sku-inputs input[readonly]{cursor:pointer;background:#fbfdff}.purchase-sku-footer{display:flex;align-items:center;justify-content:space-between;gap:5px}.purchase-sku-footer strong{color:var(--ink);font-size:12px;font-weight:900;line-height:1.25;white-space:nowrap}.purchase-calc-link{display:inline-flex;width:100%;min-width:0;min-height:26px;align-items:center;justify-content:center;border-color:#bfdbfe;box-sizing:border-box;padding:0 3px;background:#eff6ff;color:var(--blue);font-size:10px;font-weight:900;line-height:1.15;white-space:nowrap}.purchase-sku-actions-inline .danger-button.purchase-calc-link{border-color:#fecaca;background:#fef2f2;color:var(--red)}.purchase-sku-actions-inline .danger-button.purchase-calc-link:hover{border-color:#fca5a5;background:#fee2e2}.purchase-sku-actions-inline{display:grid;flex:1 1 104px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:104px;min-width:0;align-items:center;gap:3px}.purchase-adjustment-note{display:grid;gap:3px;padding:7px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:var(--red);font-size:11px;line-height:1.4}.purchase-adjustment-note strong{color:var(--red);font-size:12px}.purchase-adjustment-note span,.purchase-adjustment-note small{color:#b91c1c;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.purchase-adjustment-note.large{padding:9px 10px}.purchase-form-sku-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.purchase-form-sku-actions input{min-height:31px;padding:5px 7px;font-size:12px}.purchase-form-sku-actions .danger-button{min-height:31px;padding:5px 8px;font-size:11px;white-space:nowrap}.purchase-product-add{align-items:center}.purchase-product-list,.purchase-product-panel,.purchase-product-head,.purchase-product-tools{display:grid;gap:10px;min-width:0}.purchase-product-list{gap:14px}.purchase-product-panel{padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.purchase-product-head{align-items:start}.purchase-product-head h4{margin:6px 0 0;font-size:15px;line-height:1.35}.purchase-product-head p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.purchase-product-tools{padding:8px;border:1px dashed #bfdbfe;border-radius:8px;background:#f8fbff}.purchase-product-tools .field{gap:4px}.purchase-product-tools input{min-height:34px}.purchase-variant-note{gap:4px}.purchase-variant-note input{min-height:32px;padding:5px 7px;font-size:12px}.purchase-product-sku-grid{gap:8px}.purchase-sku-card.inactive{border-color:var(--line);background:#fff;opacity:.78}.purchase-sku-card.inactive .purchase-sellable-badge{background:var(--surface-soft);color:var(--muted)}.purchase-line-metrics strong{color:var(--ink)}.purchase-risk-list{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.purchase-risk-list.compact{margin-top:6px}.purchase-order-list.detailed{gap:14px}.purchase-order-row.detailed{gap:12px}.purchase-order-head,.purchase-order-title,.purchase-order-money,.purchase-order-category-row,.purchase-order-meta-grid,.purchase-order-lines-preview,.purchase-order-note-row{display:grid;gap:8px;min-width:0}.purchase-order-head{align-items:start}.purchase-order-title h3{margin:0;font-size:16px;line-height:1.35}.purchase-order-title p{margin:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.purchase-order-money{padding:7px 9px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.purchase-order-money span,.purchase-order-category-row span,.purchase-order-meta-item span,.purchase-order-note-row strong{color:var(--muted);font-size:11px;font-weight:900}.purchase-order-money strong{color:var(--blue);font-size:18px;line-height:1.1}.purchase-order-money small{display:none;color:var(--gray);font-size:12px;line-height:1.35}.purchase-order-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.purchase-order-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}.purchase-order-extra{display:grid;gap:0;min-width:0}.purchase-order-extra summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);cursor:pointer;list-style:none}.purchase-order-extra summary::-webkit-details-marker{display:none}.purchase-order-extra summary span{color:var(--gray);font-size:11px;font-weight:900;line-height:1.25}.purchase-order-extra summary strong{min-width:0;overflow:hidden;color:var(--ink);font-size:12px;line-height:1.35;text-align:right;text-overflow:ellipsis;white-space:nowrap}.purchase-order-extra[open]{gap:8px}.purchase-order-category-row{gap:4px;padding:8px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.purchase-order-category-row strong{min-width:0;color:var(--ink);font-size:13px;line-height:1.4;overflow-wrap:anywhere}.purchase-order-meta-item{display:grid;gap:3px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.purchase-order-meta-item strong{min-width:0;color:var(--ink);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.purchase-payment-strip{height:8px;overflow:hidden;border-radius:999px;background:#e5e7eb}.purchase-payment-strip span{display:block;height:100%;max-width:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#2563eb)}.purchase-order-lines-preview{gap:6px}.purchase-order-lazy-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:2px}.purchase-order-lazy-row span{color:var(--muted);font-size:12px;line-height:1.4}.purchase-lines-toggle{min-height:32px;border-color:#bfdbfe;background:#eff6ff;color:var(--blue)}.purchase-order-line-preview{display:grid;gap:4px;min-width:0;padding:8px 0;border-top:1px solid var(--line)}.purchase-order-line-preview strong{font-size:12px;line-height:1.35}.purchase-order-line-preview small{color:var(--muted);font-size:11px;line-height:1.4}.purchase-order-line-preview em{color:var(--ink);font-size:12px;font-style:normal;font-weight:900;line-height:1.35}.purchase-order-line-adjusted{color:var(--red)!important;font-weight:900}.purchase-order-line-more{padding:8px;border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:800}.purchase-order-note-row{gap:8px}.purchase-order-note-row>div{display:grid;gap:4px;min-width:0;padding-top:8px;border-top:1px solid var(--line)}.purchase-order-note-row span{color:var(--gray);font-size:12px;line-height:1.45}.purchase-row-actions.detailed{justify-content:flex-start}.purchase-list-toolbar{display:grid;gap:8px}.purchase-list-toolbar .page-actions{align-items:center;justify-content:flex-start}.purchase-list-toolbar .field-help-button{flex:0 0 auto}.purchase-list-help{display:grid;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.purchase-list-help strong{font-size:13px;line-height:1.3}.purchase-list-help span{color:var(--muted);font-size:12px;line-height:1.45}.purchase-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-filters .field:nth-child(n+3){grid-column:1 / -1}.purchase-product-status-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.purchase-product-status-filter-actions{grid-column:1 / -1;justify-content:flex-start}.purchase-product-status-table-wrap{width:100%;overflow-x:auto}.purchase-product-status-table{width:100%;min-width:940px;border-collapse:collapse;background:#fff}.purchase-product-status-table th,.purchase-product-status-table td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:12px;line-height:1.4}.purchase-product-status-table th{background:#f8fafc;color:var(--muted);font-weight:900;white-space:nowrap}.purchase-product-status-table td{color:var(--ink)}.purchase-product-status-table td strong{font-size:12px;line-height:1.35}.purchase-product-identity{min-width:130px}.purchase-product-identity strong,.purchase-product-identity small{display:block;overflow-wrap:anywhere}.purchase-product-identity small,.purchase-product-no-exception{margin-top:3px;color:var(--muted);font-size:11px;font-weight:700;line-height:1.35}.purchase-product-progress{min-width:180px}.purchase-product-progress-facts,.purchase-product-status-facts,.purchase-product-exceptions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.purchase-product-progress-facts{justify-content:space-between;color:var(--muted);font-size:11px;font-weight:800}.purchase-product-progress-facts strong{color:var(--ink)}.purchase-product-progress-facts em{color:#2563eb;font-style:normal}.purchase-product-progress-facts em.alert{color:#c2410c}.purchase-product-progress-track{height:6px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e2e8f0}.purchase-product-progress-track span{display:block;height:100%;border-radius:inherit;background:#2563eb}.purchase-product-progress-track.warning span{background:#ea580c}.purchase-product-status-facts span,.purchase-product-exceptions span{padding:3px 6px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800;line-height:1.25}.purchase-product-status-facts span.alert,.purchase-product-exceptions span{background:#fff7ed;color:#c2410c}.purchase-product-status-table tbody tr:nth-child(2n) td{background:#fbfdff}.purchase-product-status-table tbody tr.active td{background:#eff6ff}.purchase-product-status-table tbody tr.purchase-product-inline-log-row td{padding:12px;background:#f8fbff;border-bottom:1px solid #bfdbfe}.purchase-product-inline-log{display:grid;gap:10px}.purchase-product-inline-log-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.purchase-product-inline-log-header div{display:grid;gap:4px;min-width:0}.purchase-product-inline-log-header strong{color:var(--ink);font-size:13px;line-height:1.35}.purchase-product-inline-log-header span{color:var(--muted);font-size:12px;font-weight:800;overflow-wrap:anywhere}.purchase-product-log-desktop{min-width:0}.purchase-product-log-mobile{display:none}.purchase-product-log-table-wrap{width:100%;max-height:min(58vh,560px);overflow:auto;border:1px solid var(--line);border-radius:6px;background:#fff}.purchase-product-log-table{width:100%;min-width:1435px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff}.purchase-product-log-time-column{width:130px}.purchase-product-log-action-column{width:110px}.purchase-product-log-order-column{width:160px}.purchase-product-log-quantity-column{width:115px}.purchase-product-log-table th,.purchase-product-log-table td{height:44px;padding:8px 10px;border-right:1px solid #e5edf7;border-bottom:1px solid #e5edf7;background:#fff;color:var(--ink);font-size:12px;line-height:1.35;vertical-align:middle}.purchase-product-log-table th{position:sticky;top:0;z-index:3;background:#eef4fb;color:#475569;font-weight:900;text-align:left;white-space:nowrap}.purchase-product-log-table th:nth-child(n+4),.purchase-product-log-table td:nth-child(n+4){text-align:right}.purchase-product-log-table th:nth-child(1),.purchase-product-log-table td:nth-child(1),.purchase-product-log-table th:nth-child(2),.purchase-product-log-table td:nth-child(2),.purchase-product-log-table th:nth-child(3),.purchase-product-log-table td:nth-child(3){position:sticky;z-index:2}.purchase-product-log-table th:nth-child(1),.purchase-product-log-table td:nth-child(1){left:0}.purchase-product-log-table th:nth-child(2),.purchase-product-log-table td:nth-child(2){left:130px}.purchase-product-log-table th:nth-child(3),.purchase-product-log-table td:nth-child(3){left:240px;box-shadow:8px 0 12px -12px #0f172a80}.purchase-product-log-table th:nth-child(-n+3){z-index:4;background:#e7f0fb}.purchase-product-log-table tbody tr:nth-child(2n) td{background:#f8fafc}.purchase-product-log-table tbody tr:hover td{background:#eff6ff}.purchase-product-log-table td:nth-child(3) b,.purchase-product-log-table td:nth-child(3) small{display:block;overflow-wrap:anywhere}.purchase-product-log-table td:nth-child(3) b{color:#1e3a5f;font-size:12px}.purchase-product-log-table td:nth-child(3) small{margin-top:3px;color:var(--muted);font-size:10px;font-weight:700;line-height:1.35}.purchase-product-log-value{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;white-space:nowrap}.purchase-product-log-value strong{color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums}.purchase-product-log-delta,.purchase-product-mobile-change-row em{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 5px;border-radius:4px;font-size:11px;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.normal-increase{background:#dcfce7;color:#166534}.normal-decrease{background:#e8eef6;color:#3b5f86}.exception-increase{background:#fee2e2;color:#b91c1c}.exception-decrease{background:#dcfce7;color:#166534}.purchase-product-change-row{display:grid;gap:7px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.purchase-product-change-row header{display:flex;align-items:center;justify-content:space-between;gap:8px}.purchase-product-change-row header strong{color:var(--ink);font-size:13px}.purchase-product-change-row header span,.purchase-product-mobile-order{color:var(--muted);font-size:11px;font-weight:800}.purchase-product-mobile-order{overflow-wrap:anywhere}.purchase-product-mobile-change-list{display:grid;border-top:1px solid #e5edf7}.purchase-product-mobile-change-row{display:grid;grid-template-columns:minmax(72px,1fr) minmax(60px,auto) minmax(70px,auto);align-items:center;gap:6px;min-height:34px;border-bottom:1px solid #e5edf7;font-size:12px}.purchase-product-mobile-change-row>span{color:#475569;font-weight:800}.purchase-product-mobile-change-row>strong{color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}.purchase-product-change-row p,.purchase-product-change-empty{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.purchase-product-change-row p.purchase-product-continuity-warning,.purchase-product-log-table small.purchase-product-continuity-warning{color:#b45309;font-weight:800}.purchase-product-status-empty{color:var(--muted);text-align:center!important}.purchase-product-status-table .secondary-button.compact{min-height:30px;padding:6px 10px;border-radius:6px;font-size:12px}.purchase-product-status-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:10px 14px 14px;border-top:1px solid var(--line)}.payment-extra-fee-page{max-width:920px}.payment-extra-fee-form{align-items:start}.payment-extra-fee-form textarea{min-height:104px;resize:vertical}.payment-extra-fee-relation-note{display:grid;align-content:center;min-height:68px;gap:4px;padding:10px 12px;border:1px solid #d8e4f2;border-radius:6px;background:#f8fafc}.payment-extra-fee-relation-note strong{color:var(--ink);font-size:13px}.payment-extra-fee-relation-note span{color:var(--muted);font-size:12px;line-height:1.45}.payment-extra-fee-result .panel-header>div{display:grid;gap:8px}.payment-extra-fee-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.payment-extra-fee-result-grid>div{display:grid;gap:4px;min-height:72px;padding:12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.payment-extra-fee-result-grid span{color:var(--muted);font-size:11px;font-weight:800}.payment-extra-fee-result-grid strong{color:var(--ink);font-size:13px;overflow-wrap:anywhere}@media(max-width:720px){.payment-extra-fee-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-extra-fee-result .button-row{display:grid;grid-template-columns:1fr}}.purchase-product-status-pagination span,.purchase-product-status-pagination label{color:var(--muted);font-size:12px;font-weight:800}.purchase-product-status-pagination label{display:inline-flex;align-items:center;gap:6px}.purchase-product-status-pagination select{width:auto;min-height:30px;padding:4px 8px;font-size:12px}.purchase-product-status-pagination .secondary-button.compact{min-height:30px;padding:6px 10px;border-radius:6px;font-size:12px}.purchase-line-row.readonly{background:#fbfdff}.purchase-detail-overview,.purchase-detail-grid{display:grid;gap:12px}.purchase-detail-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-detail-summary-card{align-content:start;min-height:98px}.purchase-detail-summary-card small{color:var(--muted);font-size:12px;line-height:1.4}.purchase-detail-summary-card .purchase-detail-payment-state.is-unpaid{color:var(--red);font-weight:800}.purchase-detail-summary-card .purchase-detail-payment-state.is-paid{color:var(--green);font-weight:800}.purchase-detail-card{align-content:start;gap:0}.purchase-detail-card h4{margin:0 0 12px;font-size:15px;line-height:1.3}.purchase-detail-row-list,.purchase-detail-risk{display:grid;gap:0}.purchase-detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.purchase-detail-row:first-of-type{padding-top:0}.purchase-detail-row:last-child{border-bottom:0;padding-bottom:0}.purchase-detail-row span{flex:0 0 auto;color:var(--muted);font-size:12px;line-height:1.45}.purchase-detail-row strong{min-width:0;max-width:62%;overflow-wrap:anywhere;font-size:13px;line-height:1.45;text-align:right}.purchase-item-lines{display:grid;gap:8px}.delivery-detail-page{gap:6px;color:var(--ink)}.delivery-detail-page>.delivery-detail-section{border-radius:4px}.delivery-detail-page>.delivery-detail-section>.panel-header{gap:4px;padding:8px 10px}.delivery-detail-page>.delivery-detail-section>.panel-header h3{font-size:14px}.delivery-detail-page>.delivery-detail-section>.panel-header p{margin-top:1px;font-size:11px;line-height:1.3}.delivery-detail-page .delivery-fact-row span,.delivery-detail-page .delivery-fact-row strong{padding:6px 8px;font-size:12px;line-height:1.3}.delivery-detail-page .delivery-sku-ledger-list,.delivery-detail-page .delivery-correction-record-list{gap:0;padding:8px 10px}.delivery-detail-page .delivery-sku-ledger-row,.delivery-detail-page .delivery-correction-record-row{gap:6px;padding:5px 2px;border-width:0 0 1px;border-radius:0}.delivery-detail-page .delivery-sku-ledger-main,.delivery-detail-page .delivery-correction-record-main{gap:2px}.delivery-detail-page .delivery-sku-ledger-main strong,.delivery-detail-page .delivery-correction-record-main strong{font-size:13px}.delivery-detail-page .delivery-sku-ledger-main span,.delivery-detail-page .delivery-correction-record-main span,.delivery-detail-page .delivery-sku-ledger-main small,.delivery-detail-page .delivery-correction-record-main small{font-size:11px}.delivery-detail-page .delivery-sku-ledger-qty,.delivery-detail-page .delivery-correction-record-meta{gap:4px}.delivery-detail-page .delivery-sku-ledger-qty div,.delivery-detail-page .delivery-correction-record-meta div{gap:2px;padding:2px 4px;border:0;border-radius:0;background:transparent}.delivery-detail-page .delivery-ledger-body{gap:8px;padding:8px 10px!important}.delivery-detail-page .delivery-logistics-summary,.delivery-detail-page .delivery-package-ledger-facts{gap:5px}.delivery-detail-page .delivery-logistics-summary>div,.delivery-detail-page .delivery-package-ledger-facts>div{gap:2px;padding:6px 8px;border-radius:4px}.delivery-detail-page .delivery-logistics-summary strong,.delivery-detail-page .delivery-package-ledger-facts strong{font-size:12px}.delivery-detail-page .delivery-package-ledger{gap:6px}.delivery-detail-page .delivery-package-ledger-row{gap:6px;border-radius:4px}.delivery-detail-page .delivery-package-ledger-row header{gap:8px;padding:7px 9px}.delivery-detail-page .delivery-package-ledger-row header strong{font-size:13px}.delivery-detail-page .delivery-package-ledger-row header small{font-size:11px}.delivery-detail-page .delivery-package-ledger-header-actions{gap:5px}.delivery-detail-page .delivery-package-ledger-header-actions>span{font-size:12px}.delivery-detail-page .delivery-package-ledger-facts{padding:0 8px}.delivery-detail-page .delivery-package-sku-list{gap:0;padding:0 8px 8px}.delivery-detail-page .delivery-package-sku-row{gap:6px;padding:5px 2px;border-width:0 0 1px;border-radius:0}.delivery-detail-page .delivery-package-sku-main{gap:2px}.delivery-detail-page .delivery-package-sku-main strong{font-size:12px}.delivery-detail-page .delivery-package-sku-main span{font-size:11px}.delivery-detail-page .delivery-package-sku-qty{gap:4px}.delivery-detail-page .delivery-package-sku-qty div{gap:2px;padding:2px 4px;border:0;border-radius:0;background:transparent}.delivery-detail-page .delivery-package-sku-qty strong{font-size:13px}.delivery-detail-page .delivery-compact-details summary{min-height:32px;padding:7px 10px;font-size:12px}.delivery-detail-lead h1{display:block;margin:6px 0 3px;max-width:980px;overflow-wrap:anywhere;font-size:20px;line-height:1.25}.stack:not(.dashboard)>.delivery-detail-lead h1{display:block}.delivery-detail-meta,.delivery-detail-summary-line{margin:4px 0 0;overflow-wrap:anywhere;font-size:13px;line-height:1.45}.delivery-detail-summary-line{color:var(--ink);font-weight:800}.delivery-detail-section{overflow:hidden;box-shadow:none}.delivery-detail-section>.panel-header{padding:11px 14px;border-bottom:1px solid var(--line)}.delivery-detail-section>.panel-body{padding:0}.delivery-fact-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.delivery-fact-row{display:grid;grid-template-columns:minmax(88px,.34fr) minmax(0,1fr);min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.delivery-fact-row-wide{grid-column:1 / -1}.delivery-fact-row span,.delivery-fact-row strong{min-width:0;padding:9px 10px;overflow-wrap:anywhere;font-size:13px;line-height:1.45}.delivery-fact-row span{background:#f8fafc;color:var(--muted);font-weight:800}.delivery-fact-row strong{color:var(--ink);font-weight:700}.delivery-detail-table-wrap{width:100%;overflow-x:auto}.delivery-detail-table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}.delivery-detail-table th,.delivery-detail-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:13px;line-height:1.45}.delivery-detail-table th{background:#f8fafc;color:var(--muted);font-size:12px;font-weight:900}.delivery-detail-table td{color:var(--ink)}.delivery-detail-table td strong{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.delivery-detail-table td small{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.3}.delivery-detail-table tbody tr:nth-child(2n) td{background:#fbfdff}.delivery-detail-table-wrap.compact .delivery-detail-table{min-width:620px}.delivery-sku-ledger-list,.delivery-correction-record-list{display:grid;gap:8px;padding:12px 14px}.delivery-sku-ledger-row,.delivery-correction-record-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.48fr);gap:10px;align-items:center;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-sku-ledger-row:nth-child(2n),.delivery-correction-record-row:nth-child(2n){background:#fbfdff}.delivery-sku-ledger-main,.delivery-correction-record-main{display:grid;gap:4px;min-width:0}.delivery-sku-ledger-main strong,.delivery-correction-record-main strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:14px;line-height:1.35}.delivery-sku-ledger-main span,.delivery-correction-record-main span,.delivery-sku-ledger-main small,.delivery-correction-record-main small{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.35}.delivery-product-missing{color:#b45309!important;font-weight:800}.delivery-sku-ledger-qty,.delivery-correction-record-meta{display:grid;gap:6px;min-width:0}.delivery-sku-ledger-qty{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-correction-record-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-sku-ledger-qty div,.delivery-correction-record-meta div{display:grid;gap:3px;min-width:0;padding:7px 8px;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff}.delivery-correction-record-meta div{background:#f8fafc}.delivery-sku-ledger-qty span,.delivery-correction-record-meta span{color:#475569;font-size:11px;font-weight:900;line-height:1.2}.delivery-sku-ledger-qty strong,.delivery-correction-record-meta strong{min-width:0;overflow-wrap:anywhere;color:var(--blue);font-size:13px;line-height:1.25}.delivery-ledger-body{display:grid;gap:12px;padding:12px 14px!important}.delivery-logistics-summary,.delivery-package-ledger-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.delivery-logistics-summary>div,.delivery-package-ledger-facts>div{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#f8fafc}.delivery-logistics-summary span,.delivery-package-ledger-facts span{color:var(--muted);font-size:11px;font-weight:900;line-height:1.25}.delivery-logistics-summary strong,.delivery-package-ledger-facts strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.35}.delivery-package-ledger{display:grid;gap:10px}.delivery-package-ledger-row{display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.delivery-package-ledger-row header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--line);background:#f1f5f9}.delivery-package-ledger-row header>div{display:grid;gap:2px;min-width:0}.delivery-package-ledger-row header strong{overflow-wrap:anywhere;font-size:14px;line-height:1.35}.delivery-package-ledger-row header small{color:var(--muted);font-size:12px;line-height:1.35}.delivery-package-ledger-row header>span{flex:0 0 auto;color:var(--blue);font-size:13px;font-weight:900;line-height:1.35}.delivery-package-ledger-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.delivery-package-ledger-row header>.delivery-package-ledger-header-actions{display:flex;align-items:center}.delivery-package-ledger-header-actions>span{color:var(--blue);font-size:13px;font-weight:900;line-height:1.35}.delivery-package-ledger-header-actions .secondary-button,.delivery-package-sku-main .secondary-button{min-height:28px;padding:4px 8px;font-size:12px}.delivery-package-ledger-facts{grid-template-columns:repeat(4,minmax(0,1fr));padding:0 10px}.delivery-package-sku-list{display:grid;gap:8px;padding:0 10px 10px}.delivery-package-sku-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.38fr);gap:8px;align-items:center;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.delivery-package-sku-main{display:grid;gap:4px;min-width:0}.delivery-package-sku-main .secondary-button{justify-self:start}.delivery-package-add-product{display:flex;justify-content:flex-start;padding:0 10px 10px}.delivery-quantity-edit-modal{width:min(860px,calc(100vw - 28px));max-height:min(850px,calc(100vh - 20px))}.delivery-quantity-edit-modal-body{padding:0}.delivery-quantity-edit-modal-body>.delivery-correction-panel{gap:6px;padding:6px 10px 10px;border:0;border-radius:0;background:transparent}.delivery-quantity-edit-modal .delivery-correction-rule{padding:7px 10px;font-size:11px;line-height:1.35}.delivery-quantity-edit-modal .delivery-correction-context,.delivery-quantity-edit-modal .delivery-correction-current-info{gap:6px;padding:7px 0}.delivery-quantity-edit-modal .delivery-correction-subsection-title{font-size:13px}.delivery-quantity-edit-modal .delivery-correction-info-grid,.delivery-quantity-edit-modal .delivery-correction-current-grid{gap:5px}.delivery-quantity-edit-modal .delivery-correction-info-grid>div,.delivery-quantity-edit-modal .delivery-correction-current-grid>div{gap:2px;padding:5px 8px;border-radius:4px}.delivery-quantity-edit-modal .delivery-correction-info-grid strong,.delivery-quantity-edit-modal .delivery-correction-current-grid strong{font-size:12px}.delivery-quantity-edit-modal .delivery-correction-block{gap:8px;padding:8px;border-radius:4px}.delivery-quantity-edit-modal .delivery-correction-row{gap:6px;padding:6px 0}.delivery-quantity-edit-modal .field{gap:4px}.delivery-quantity-edit-modal input,.delivery-quantity-edit-modal select{min-height:34px;padding:6px 8px;font-size:12px}.delivery-quantity-edit-modal textarea{min-height:54px;padding:6px 8px;font-size:12px}.delivery-correction-rule{margin:0;padding:10px 12px;border:1px solid #fecaca;border-left:3px solid #ef4444;border-radius:6px;background:#fff7f7;color:#b91c1c;font-size:12px;font-weight:800;line-height:1.5}.delivery-correction-context,.delivery-correction-current-info{display:grid;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.delivery-correction-subsection-title{color:var(--ink);font-size:14px;font-weight:900}.delivery-correction-info-grid,.delivery-correction-current-grid{display:grid;gap:8px;min-width:0}.delivery-correction-info-grid>div,.delivery-correction-current-grid>div{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.delivery-correction-info-grid span,.delivery-correction-current-grid span{color:var(--muted);font-size:11px;line-height:1.3}.delivery-correction-info-grid strong,.delivery-correction-current-grid strong,.delivery-correction-current-grid small{min-width:0;overflow-wrap:anywhere}.delivery-correction-info-grid strong,.delivery-correction-current-grid strong{color:var(--ink);font-size:13px;line-height:1.35}.delivery-correction-current-grid small{color:var(--muted);font-size:11px;line-height:1.35}.delivery-correction-current-empty{display:grid;gap:3px;padding:10px;border:1px dashed var(--line);border-radius:6px;background:var(--surface-soft)}.delivery-correction-current-empty strong{font-size:13px}.delivery-correction-current-empty span{color:var(--muted);font-size:12px}.delivery-correction-selected-product{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.delivery-correction-selected-product strong,.delivery-correction-selected-product span,.delivery-correction-selected-product small{min-width:0;overflow-wrap:anywhere}.delivery-correction-selected-product strong{color:var(--blue);font-size:13px}.delivery-correction-selected-product span,.delivery-correction-selected-product small{color:var(--muted);font-size:11px;line-height:1.35}.delivery-package-sku-main strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.35}.delivery-package-sku-main span{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.35}.delivery-package-sku-qty{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.delivery-package-sku-qty div{display:grid;gap:3px;min-width:0;padding:7px 8px;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff}.delivery-package-sku-qty span{color:#475569;font-size:11px;font-weight:900;line-height:1.2}.delivery-package-sku-qty strong{color:var(--blue);font-size:14px;line-height:1.25}.delivery-compact-details{border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-compact-details summary{min-height:38px;padding:10px 12px;color:var(--ink);font-size:13px;font-weight:900;line-height:1.35;cursor:pointer}.delivery-compact-details[open] summary{border-bottom:1px solid var(--line)}.delivery-timeline-compact{display:grid}.delivery-timeline-row{display:grid;grid-template-columns:minmax(90px,.28fr) minmax(120px,.24fr) minmax(0,1fr);gap:10px;padding:9px 12px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.4}.delivery-timeline-row:last-child{border-bottom:0}.delivery-timeline-row span,.delivery-timeline-row em{color:var(--muted);font-style:normal}.delivery-correction-table td:nth-child(5){color:var(--blue);font-weight:900}.delivery-log-section .operation-timeline{padding:10px}.purchase-item-line{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.purchase-item-line strong{font-size:13px;line-height:1.35}.purchase-item-line span,.purchase-item-line em{color:var(--muted);font-size:12px;font-style:normal;line-height:1.45}.purchase-item-line em{color:var(--ink);font-weight:900}.purchase-detail-risk{gap:12px}.purchase-detail-risk p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.sku-decision-page{gap:14px}.sku-decision-hero,.sku-decision-main-grid,.sku-decision-column,.factor-grid,.stock-pipeline-grid,.decision-tab-grid{display:grid;gap:12px}.decision-tab-grid{align-items:start}.decision-card{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 28px #0f172a12}.decision-card-title{display:grid;gap:4px}.decision-card-title span,.recommendation-card>span,.factor-card>span{color:var(--muted);font-size:12px;font-weight:900}.decision-card-title strong{font-size:16px;line-height:1.35}.decision-fact-grid,.recommendation-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.decision-fact,.recommendation-meta div{display:grid;gap:3px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.decision-fact span,.recommendation-meta span{color:var(--muted);font-size:11px;font-weight:800}.decision-fact strong,.recommendation-meta strong{overflow-wrap:anywhere;font-size:13px;line-height:1.3}.decision-fact small{color:var(--muted);font-size:10px;line-height:1.35}.recommendation-card{align-content:start}.purchaser-summary-card{gap:13px;border-color:#bfdbfe}.purchaser-summary-card.risk-high{border-color:#fecaca;background:#fff7f7}.purchaser-summary-card.risk-medium{border-color:#fed7aa;background:#fffaf2}.purchaser-summary-card.risk-low{border-color:#bbf7d0;background:#f7fef9}.purchaser-summary-main{display:grid;gap:7px}.summary-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.summary-kicker>span:first-child{color:var(--muted);font-size:12px;font-weight:900}.purchaser-summary-main>strong{color:var(--blue);font-size:34px;line-height:1}.purchaser-supplier-name{color:var(--ink);font-size:13px;font-weight:900;line-height:1.3}.purchaser-summary-card.risk-high .purchaser-summary-main>strong{color:var(--red)}.purchaser-summary-card.risk-medium .purchaser-summary-main>strong{color:var(--orange)}.purchaser-summary-card.risk-low .purchaser-summary-main>strong{color:var(--green)}.purchaser-summary-main p{margin:0;color:var(--ink);font-size:15px;font-weight:900;line-height:1.45}.purchaser-summary-main small{color:var(--muted);font-size:12px;line-height:1.45}.purchaser-fact-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.purchaser-fact-strip div{display:grid;gap:4px;min-width:0;min-height:72px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.purchaser-fact-strip span{color:var(--muted);font-size:11px;font-weight:900}.purchaser-fact-strip strong{overflow-wrap:anywhere;font-size:15px;line-height:1.2}.purchaser-fact-strip small{color:var(--muted);font-size:10px;line-height:1.35}.purchaser-rule-line{margin:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--gray);font-size:12px;font-weight:800;line-height:1.45}.purchaser-actions{align-items:stretch}.purchaser-actions>*{flex:1 1 140px}.recommendation-card>strong{color:var(--red);font-size:34px;line-height:1}.recommendation-card.risk-medium>strong{color:var(--orange)}.recommendation-card.risk-low>strong{color:var(--green)}.recommendation-card p,.decision-note,.decision-tab-panel p{margin:0;color:var(--gray);font-size:12px;line-height:1.55}.formula-line{display:grid;gap:5px;padding:11px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.formula-line b{color:#1d4ed8}.formula-line span{color:var(--gray);font-size:13px;line-height:1.5}.formula-line.muted-line{border-color:var(--line);background:var(--surface-soft)}.factor-card strong{color:var(--blue);font-size:26px;line-height:1}.factor-card ul{display:grid;gap:4px;margin:0;padding-left:18px;color:var(--gray);font-size:12px;line-height:1.45}.factor-card code{white-space:normal;border-radius:7px;background:var(--surface-soft);color:var(--ink);padding:8px;font-size:11px;line-height:1.45}.factor-card small{color:var(--muted);font-size:11px;line-height:1.4}.inventory-chart{display:grid;height:150px;grid-template-columns:repeat(6,1fr);align-items:end;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,transparent 0 74%,rgba(248,113,113,.14) 74% 100%),var(--surface-soft)}.inventory-chart span{border-radius:8px 8px 3px 3px;background:#60a5fa}.inventory-chart span.danger{background:#ef4444}.strategy-buttons,.adjust-tags{display:flex;gap:8px;flex-wrap:wrap}.strategy-buttons button,.adjust-tags button{min-height:32px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--gray);padding:6px 10px;font-size:12px;font-weight:900}.strategy-buttons button.active,.adjust-tags button.active{border-color:var(--blue);background:#eff6ff;color:var(--blue)}.decision-live-note{margin:0;border-radius:8px;background:#eff6ff;color:var(--blue);padding:9px 10px;font-size:12px;font-weight:800;line-height:1.45}.sku-adjustment-modal{width:min(680px,calc(100vw - 28px))}.purchase-submit-error-modal{align-self:center;justify-self:center;width:min(460px,calc(100vw - 28px))}.purchase-submit-error-modal .modal-body strong{color:var(--red);font-size:16px;line-height:1.5}.sku-adjustment-body{padding-bottom:10px}.sku-adjustment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sku-adjustment-summary article{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.sku-adjustment-summary span,.sku-adjustment-diff span{color:var(--muted);font-size:11px;font-weight:900}.sku-adjustment-summary strong{font-size:15px;line-height:1.25}.sku-adjustment-diff{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.sku-adjustment-diff strong{font-size:20px}.sku-adjustment-diff em{color:var(--muted);font-size:12px;font-style:normal;line-height:1.45}.sku-adjustment-diff.active{border-color:#fecaca;background:#fef2f2}.sku-adjustment-diff.active strong,.sku-adjustment-diff.active em{color:var(--red)}.decision-tab-panel{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.decision-tab-panel h4{margin:0;font-size:14px;line-height:1.35}.decision-table-wrap{overflow:auto}.decision-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.decision-table th,.decision-table td{padding:6px 8px;border-bottom:1px solid var(--line);font-size:12px;text-align:left;white-space:normal;overflow-wrap:anywhere}.decision-table th{color:var(--muted);font-weight:900}.inline-select{width:auto;min-width:180px}.purchase-bottom-buttons{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))}.purchase-serial-bottom-field{gap:4px;margin-top:4px}.purchase-serial-bottom-field input{min-height:34px}.delivery-mobile-entry{display:grid;gap:12px;padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.delivery-mobile-entry strong,.delivery-mobile-entry span{display:block}.delivery-mobile-entry strong{font-size:13px}.delivery-mobile-entry span{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.delivery-warning-panel{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid #fecaca;border-radius:8px;background:#fff7ed}.delivery-warning-list{display:grid;gap:8px;min-width:0}.delivery-warning-row{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid #fed7aa;border-radius:8px;background:#fff}.delivery-warning-row>div{display:grid;gap:3px;min-width:0}.delivery-warning-row strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.35}.delivery-warning-row span{color:var(--muted);font-size:12px;line-height:1.4}.delivery-workbench-panel .panel-header{gap:12px}.delivery-workbench-tabs{display:flex;flex-wrap:wrap;gap:8px}.delivery-workbench-tab{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:36px;min-width:112px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--gray);font-size:12px;font-weight:900}.delivery-workbench-tab.active{border-color:#93c5fd;background:#eff6ff;color:var(--blue)}.delivery-workbench-tab strong,.delivery-workbench-tab span{min-width:0;line-height:1.2}.delivery-workbench-tab span{display:inline-grid;place-items:center;min-width:24px;min-height:22px;padding:0 6px;border-radius:999px;background:#f1f5f9;color:var(--ink)}.delivery-workbench-list{display:grid;gap:10px;min-width:0}.delivery-workbench-row{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-workbench-row:hover{border-color:#93c5fd;background:#f8fbff}.delivery-workbench-main{display:grid;gap:6px;min-width:0}.delivery-workbench-main h3{margin:0;min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:16px;line-height:1.3}.delivery-workbench-main p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.delivery-workbench-lines{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.delivery-workbench-lines span{min-width:0;max-width:100%;padding:4px 7px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:#334155;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.delivery-workbench-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}.delivery-workbench-metrics div{display:grid;gap:3px;min-width:0;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.delivery-workbench-metrics span{color:var(--muted);font-size:12px;line-height:1.3}.delivery-workbench-metrics strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:14px;line-height:1.35}.delivery-workbench-actions{align-items:center}.delivery-process-entry{display:grid;gap:8px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.delivery-process-entry strong{color:var(--ink);font-size:13px;line-height:1.3}.delivery-process-entry .secondary-button{min-height:32px;padding:6px 9px;font-size:12px}.delivery-editor{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.delivery-tabbar{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid var(--line);background:#fff}.delivery-tab{min-height:46px;flex:0 0 auto;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--gray);padding:10px 14px;font-size:13px;font-weight:800}.delivery-tab.active{border-bottom-color:#0ea5e9;color:var(--ink);background:#f8fbff}.delivery-editor-body,.delivery-subsection{display:grid;gap:16px}.delivery-editor-body{padding:14px}.delivery-section-title{display:grid;gap:4px}.delivery-section-title h3{margin:0;font-size:16px;line-height:1.35}.delivery-section-title p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.delivery-form-row,.delivery-logistics-table{display:grid;gap:12px}.field-note{color:var(--muted);font-size:12px;line-height:1.4}.field-note.error{color:var(--red);font-weight:800}.delivery-filter-grid,.delivery-line-grid,.delivery-package-grid,.delivery-card-list{display:grid;gap:10px}.delivery-inline-summary{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.delivery-inline-summary span,.delivery-exception-reason span,.delivery-line-head span,.delivery-card-metric span,.delivery-meta-grid span,.delivery-line-preview span{color:var(--muted);font-size:12px;line-height:1.4}.delivery-inline-summary strong,.delivery-exception-reason strong,.delivery-card-metric strong,.delivery-meta-grid strong,.delivery-line-preview strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.delivery-card,.delivery-package-card,.delivery-line-card{display:grid;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.delivery-card.active,.delivery-card:hover,.delivery-package-card:hover,.delivery-line-card:hover{border-color:#93c5fd;background:#f8fbff}.delivery-card-head,.delivery-package-head,.delivery-line-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.delivery-card-head h3{margin:8px 0 4px;font-size:16px;line-height:1.3}.delivery-card-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.delivery-card-metric{display:grid;flex:0 0 116px;gap:4px;padding:9px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.delivery-card-head-actions{display:grid;flex:0 0 126px;gap:8px;min-width:112px}.delivery-card-head-actions .delivery-card-metric{width:100%}.delivery-card-metric strong{color:var(--blue);font-size:18px}.delivery-list-card{gap:8px;padding:10px}.delivery-list-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,auto);gap:8px;align-items:start;min-width:0}.delivery-list-main h3{margin:4px 0 2px;font-size:15px;line-height:1.25}.delivery-list-main p{margin:0;color:var(--muted);font-size:12px;line-height:1.35}.delivery-list-quantity{min-width:96px;padding:7px 8px}.delivery-list-quantity strong{font-size:17px;line-height:1.15}.delivery-list-meta-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.delivery-list-meta-strip>div{display:grid;align-content:center;gap:2px;min-width:0;min-height:48px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}.delivery-list-meta-strip span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.delivery-list-meta-strip strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;line-height:1.25}.delivery-list-actions{gap:6px}.delivery-list-actions .primary-button,.delivery-list-actions .secondary-button,.delivery-list-actions .danger-button{min-height:32px;padding:6px 9px}.delivery-list-table{display:grid;gap:8px}.delivery-list-row{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-soft)}.delivery-list-row.expanded{border-color:#bfdbfe}.delivery-list-row-main{display:grid;grid-template-columns:minmax(240px,1.35fr) minmax(150px,.9fr) minmax(170px,1fr) minmax(150px,.8fr) minmax(220px,1fr) auto;gap:8px;align-items:center;padding:10px;min-width:0}.delivery-list-primary,.delivery-list-cell,.delivery-list-summary-grid>div{min-width:0}.delivery-list-primary h3{margin:4px 0 2px;color:var(--ink);font-size:14px;line-height:1.3;overflow-wrap:anywhere}.delivery-list-primary p,.delivery-list-cell small,.delivery-package-detail-header span,.delivery-sku-detail-row small{margin:0;color:var(--muted);font-size:12px;line-height:1.35}.delivery-list-cell{display:grid;gap:2px}.delivery-list-cell span,.delivery-list-summary-grid span,.delivery-list-package-button span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.delivery-list-cell strong,.delivery-list-summary-grid strong,.delivery-list-package-button strong{min-width:0;color:var(--ink);font-size:12px;line-height:1.3;overflow-wrap:anywhere}.delivery-list-package-button{display:grid;gap:3px;width:100%;min-height:44px;padding:7px 8px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:var(--ink);text-align:left;cursor:pointer}.delivery-list-package-button:hover{border-color:var(--blue);background:#dbeafe}.delivery-list-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0}.delivery-list-summary-grid>div{display:grid;gap:1px;padding:5px 7px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}.logistics-workbench-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.logistics-workbench-strip article{display:grid;gap:4px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.logistics-workbench-strip span{color:var(--muted);font-size:12px;font-weight:800}.logistics-workbench-strip strong{color:var(--blue);font-size:20px;line-height:1.1}.logistics-worklist-row-main{grid-template-columns:minmax(250px,1.35fr) minmax(135px,.65fr) minmax(210px,1.05fr) minmax(150px,.75fr) minmax(240px,1fr) auto}.logistics-worklist-actions{justify-content:flex-end}.logistics-track-list{align-items:start}.logistics-track-card{gap:10px}.logistics-template-japan{border-color:#bfdbfe}.logistics-template-domestic{border-color:#dbeafe}.logistics-package-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff}.logistics-package-line span,.logistics-domestic-summary span{color:var(--muted);font-size:11px;font-weight:800}.logistics-package-line strong{min-width:0;color:var(--ink);font-size:13px;overflow-wrap:anywhere}.logistics-package-line small{min-width:0;color:var(--muted);font-size:12px;font-weight:800;overflow-wrap:anywhere}.logistics-domestic-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.logistics-domestic-summary>div{display:grid;gap:3px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.logistics-domestic-summary strong{min-width:0;color:var(--ink);font-size:12px;line-height:1.3;overflow-wrap:anywhere}.delivery-list-expanded{display:grid;gap:10px;padding:10px;border-top:1px solid var(--line);background:#f8fafc}.delivery-package-detail{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.delivery-package-detail-header{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border-bottom:1px solid var(--line);background:#eef2f7}.delivery-package-detail-header>div{display:grid;gap:2px;min-width:0}.delivery-package-detail-header strong{color:var(--ink);font-size:13px}.delivery-package-detail-header small{flex:0 0 auto;color:var(--blue);font-size:12px;font-weight:900}.delivery-sku-detail-table{display:grid;overflow-x:auto}.delivery-sku-detail-row{display:grid;grid-template-columns:56px minmax(150px,1fr) minmax(140px,1fr) 90px 80px 90px 90px;min-width:760px;border-top:1px solid var(--line)}.delivery-sku-detail-row:first-child{border-top:0}.delivery-sku-detail-row.heading{background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:900}.delivery-sku-detail-row>span{display:grid;align-content:center;min-width:0;padding:8px 9px;border-left:1px solid var(--line);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.delivery-sku-detail-row>span:first-child{border-left:0}.delivery-sku-detail-row strong{color:var(--ink);font-size:12px}.delivery-sku-thumb-empty{display:inline-grid;place-items:center;width:30px;height:30px;border:1px dashed #cbd5e1;border-radius:6px;color:var(--muted);font-size:12px}.delivery-line-preview,.delivery-meta-grid{display:grid;gap:8px}.logistics-node-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:9px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff}.logistics-node-pill{display:grid;gap:4px;min-width:0;padding:7px 5px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:var(--muted);text-align:center}.logistics-node-pill span{width:9px;height:9px;margin:0 auto;border-radius:999px;background:#cbd5e1}.logistics-node-pill strong{min-width:0;overflow-wrap:anywhere;font-size:11px;line-height:1.25}.logistics-node-pill small{color:inherit;font-size:10px;font-weight:800;line-height:1.1}.logistics-node-done{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.logistics-node-done span{background:#16a34a}.logistics-node-active{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.logistics-node-active span{background:#f97316}.logistics-node-error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.logistics-node-error span{background:#ef4444}.logistics-node-disabled{border-color:#e5e7eb;background:#f3f4f6;color:#64748b}.delivery-line-preview>div,.delivery-meta-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.logistics-combined-field{gap:7px}.logistics-inline-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.logistics-inline-pair strong{display:grid;gap:3px;min-width:0;padding:7px 8px;border-radius:6px;background:#fff;overflow-wrap:anywhere}.logistics-inline-pair small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.1}.delivery-line-card{background:#fff}.delivery-package-head>div,.delivery-line-head>div{min-width:0}.delivery-package-head strong,.delivery-line-head strong{display:block;margin-bottom:4px;font-size:14px;line-height:1.35}.delivery-package-head span{color:var(--muted);font-size:12px;line-height:1.45}.delivery-package-inputs,.delivery-line-inputs{display:grid;gap:10px}.delivery-package-detail{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.delivery-package-detail-head{display:grid;gap:4px}.delivery-package-detail-head strong{font-size:13px;line-height:1.35}.delivery-package-detail-head span,.delivery-package-lines span{color:var(--muted);font-size:12px;line-height:1.45}.delivery-package-lines{display:grid;gap:5px}.delivery-package-lines span{padding:7px 8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.delivery-product-table{display:grid;gap:8px;min-width:0}.delivery-product-row{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-product-row.heading{display:none}.delivery-product-row span{display:grid;gap:4px;min-width:0;color:var(--gray);font-size:12px;font-weight:800}.delivery-product-row span:before{content:attr(data-label)}.delivery-product-row strong{color:var(--ink);font-size:13px;line-height:1.35}.delivery-product-row small{color:var(--muted);font-size:12px;line-height:1.4}.stack.delivery-form-page{gap:10px}.stack.delivery-form-page>.page-lead{gap:8px}.delivery-form-page .page-actions{gap:8px}.delivery-form-page .approval-message{padding:8px 10px;font-size:12px;line-height:1.35}.delivery-success-summary{display:grid;gap:6px;padding:12px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#14532d;font-size:13px;line-height:1.4}.delivery-success-summary strong{color:#166534;font-size:14px}.delivery-success-modal .modal-header h2{margin-top:8px}.delivery-form-page .excel-action-panel{gap:6px;padding:7px 9px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.delivery-import-page{padding-bottom:88px}.delivery-import-upload .panel-header{padding-block:10px}.delivery-import-dropzone{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:12px 14px;border-top:1px solid var(--line);background:#fff}.delivery-import-dropzone>div{display:grid;gap:3px;min-width:0}.delivery-import-dropzone strong{overflow-wrap:anywhere;color:var(--ink);font-size:14px}.delivery-import-dropzone span{color:var(--muted);font-size:12px}.delivery-import-review-body{display:grid;gap:10px}.delivery-import-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #cbd5e1;border-radius:7px;overflow:hidden}.delivery-import-summary>div{display:grid;gap:3px;min-width:0;padding:8px 10px;border-right:1px solid #e2e8f0}.delivery-import-summary>div:last-child{border-right:0}.delivery-import-summary span{color:var(--muted);font-size:11px}.delivery-import-summary strong{overflow-wrap:anywhere;color:var(--ink);font-size:13px}.delivery-import-basic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #cbd5e1;border-radius:7px;overflow:hidden}.delivery-import-basic-grid>div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;min-width:0;padding:7px 9px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.delivery-import-basic-grid>div:nth-child(3n){border-right:0}.delivery-import-basic-grid>div:nth-last-child(-n+3){border-bottom:0}.delivery-import-basic-grid span,.delivery-import-package-meta{color:var(--muted);font-size:11px}.delivery-import-basic-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px}.delivery-import-errors{display:grid;gap:6px;padding:9px 11px;border:1px solid #fca5a5;border-radius:7px;background:#fff7f7;color:#991b1b;font-size:12px}.delivery-import-errors ul{display:grid;gap:3px;margin:0;padding-left:18px}.delivery-import-duplicate-check{display:grid;gap:8px;padding:9px 11px;border:1px solid #fbbf24;border-radius:7px;background:#fffbeb;color:#854d0e;font-size:12px}.delivery-import-duplicate-check.blocked{border-color:#fca5a5;background:#fff7f7;color:#991b1b}.delivery-import-duplicate-check>article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:7px;border-top:1px solid currentColor}.delivery-import-duplicate-check>article>div{display:grid;gap:2px;min-width:0}.delivery-import-duplicate-check>article span{overflow-wrap:anywhere}.delivery-import-package-list{display:grid;gap:9px}.delivery-import-package{display:grid;gap:0;min-width:0;border:1px solid #cbd5e1;border-radius:7px;overflow:hidden;background:#fff}.delivery-import-package>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;background:#f8fafc}.delivery-import-package>header>div{display:flex;align-items:baseline;gap:10px;min-width:0}.delivery-import-package>header strong{color:var(--ink);font-size:13px}.delivery-import-package>header span{color:var(--muted);font-size:11px}.delivery-import-package-meta{display:flex;flex-wrap:wrap;gap:6px 18px;padding:6px 10px;border-top:1px solid #e2e8f0}.delivery-import-package .delivery-import-table{border:0;border-top:1px solid #e2e8f0;border-radius:0}.delivery-import-actions{z-index:30}.delivery-import-table{display:grid;border:1px solid #cbd5e1;border-radius:7px;overflow:hidden}.delivery-import-table-row{display:grid;grid-template-columns:70px 90px minmax(180px,1.4fr) minmax(170px,1fr) 90px;min-width:0;border-top:1px solid #e2e8f0}.delivery-import-table-row:first-child{border-top:0}.delivery-import-table-row>span,.delivery-import-table-row>strong{min-width:0;padding:7px 8px;border-right:1px solid #e2e8f0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;font-weight:600}.delivery-import-table-row>:last-child{border-right:0;text-align:right}.delivery-import-table-row.header{background:#f1f5f9}.delivery-import-table-row.header>span{font-weight:800}.delivery-import-table-row .text-danger{color:#b91c1c}@media(max-width:720px){.delivery-import-dropzone{align-items:stretch;flex-direction:column}.delivery-import-dropzone .primary-button{width:100%}.delivery-import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-import-summary>div{border-right:0;border-bottom:1px solid #e2e8f0}.delivery-import-summary>div:nth-child(odd){border-right:1px solid #e2e8f0}.delivery-import-summary>div:last-child{border-bottom:0}.delivery-import-basic-grid{grid-template-columns:1fr}.delivery-import-basic-grid>div,.delivery-import-basic-grid>div:nth-child(3n),.delivery-import-basic-grid>div:nth-last-child(-n+3){border-right:0;border-bottom:1px solid #e2e8f0}.delivery-import-basic-grid>div:last-child{border-bottom:0}.delivery-import-package>header{align-items:flex-start}.delivery-import-package>header>div{align-items:flex-start;flex-direction:column;gap:2px}.delivery-import-table-row.header{display:none}.delivery-import-table-row{grid-template-columns:58px minmax(0,1fr) 70px;padding:7px 8px}.delivery-import-table-row>span,.delivery-import-table-row>strong{padding:3px 5px;border-right:0}.delivery-import-table-row>:nth-child(3),.delivery-import-table-row>:nth-child(4){grid-column:1 / -1}.delivery-import-table-row>:last-child{grid-column:3;grid-row:1}}.delivery-form-page .delivery-editor{box-shadow:none}.delivery-form-page .delivery-tabbar{gap:4px;padding:5px;border-bottom-color:var(--line);background:var(--surface-soft)}.delivery-form-page .delivery-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 9px;border:1px solid transparent;border-radius:7px;font-size:12px;line-height:1.2;cursor:pointer}.delivery-form-page .delivery-tab.active{border-color:#bfdbfe;background:#fff}.delivery-form-page .delivery-tab-package{max-width:168px}.delivery-form-page .delivery-tab-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-form-page .delivery-tab-remove{display:inline-grid;flex:0 0 auto;width:18px;height:18px;place-items:center;border:1px solid #fecaca;border-radius:999px;background:#fff1f2;color:#dc2626;font-size:11px;font-weight:900;line-height:1;cursor:pointer}.delivery-form-page .delivery-tab-remove:hover{border-color:#fca5a5;background:#fee2e2}.delivery-form-page .delivery-tab-add{min-height:34px;flex:0 0 auto;padding:6px 10px;border:1px solid #bfdbfe;border-style:dashed;border-radius:7px;background:#fff;color:var(--blue);font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap}.delivery-form-page .delivery-tab-add:hover{border-style:solid;background:#eff6ff}.delivery-form-page .delivery-editor-body{gap:8px;padding:8px}.delivery-form-page .delivery-subsection{gap:8px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-form-page .delivery-section-title{gap:2px}.delivery-form-page .delivery-section-title h3{font-size:14px}.delivery-form-page .delivery-section-title p{display:none}.delivery-form-page .delivery-form-row,.delivery-form-page .delivery-logistics-table{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px}.delivery-form-page .field{gap:4px;min-width:0}.delivery-form-page .field.full{grid-column:1 / -1}.delivery-form-page .field span{font-size:12px;line-height:1.25}.delivery-form-page input,.delivery-form-page select,.delivery-form-page textarea{min-height:34px;padding:6px 8px;font-size:13px}.delivery-form-page textarea{min-height:64px}.delivery-form-page .field-note{font-size:11px;line-height:1.2}.delivery-form-page .delivery-inline-summary{align-content:center;gap:3px;min-height:0;padding:7px 8px}.delivery-form-page .delivery-inline-summary strong{color:var(--blue);font-size:13px}.delivery-form-page .delivery-inline-summary .secondary-button,.delivery-form-page .delivery-logistics-table .secondary-button,.delivery-form-page .delivery-editor-body>.button-row .danger-button{min-height:32px;padding:6px 9px;font-size:12px}.delivery-form-page .delivery-logistics-table{grid-template-columns:minmax(0,1fr);align-items:stretch}.delivery-edit-package-list{display:grid;gap:8px}.delivery-edit-package-section{align-self:start}.delivery-edit-bag-card{display:grid;gap:8px;min-width:0;padding:8px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff}.delivery-edit-bag-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.delivery-edit-bag-head strong{min-width:0;color:var(--ink);font-size:13px;line-height:1.25;overflow-wrap:anywhere}.delivery-edit-bag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end;min-width:0}.delivery-edit-package-meta{min-height:34px;display:inline-grid;align-items:center;padding:6px 8px;border:1px solid #dbeafe;border-radius:7px;background:#fff;color:var(--blue);font-size:12px;font-weight:900;white-space:nowrap}.delivery-logistics-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end;min-width:0;padding:8px;border:1px solid #dbe4f0;border-radius:8px;background:#fff}.delivery-logistics-entry .secondary-button{justify-self:start}.delivery-logistics-entry .field-note{grid-column:1 / -1}.delivery-logistics-add{justify-self:start}.delivery-form-page .delivery-product-table{gap:7px}.delivery-form-page .delivery-product-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;padding:8px}.delivery-form-page .delivery-product-picker{grid-column:1 / -1}.delivery-form-page .delivery-product-picker-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}.delivery-form-page .delivery-product-row span{gap:3px;font-size:11px;line-height:1.25}.delivery-form-page .delivery-product-picker select{width:100%;min-width:0;font-weight:800}.delivery-form-page .delivery-product-remove{min-height:34px;padding:6px 9px;border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#b91c1c;font-size:12px;font-weight:900;line-height:1;white-space:nowrap}.delivery-form-page .delivery-product-remove:hover{border-color:#fca5a5;background:#fee2e2}.delivery-form-page .delivery-product-picker small{font-size:11px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.delivery-form-page .delivery-product-stat,.delivery-form-page .delivery-product-quantity{min-height:36px;justify-items:center;align-content:center;padding:6px;border:1px solid #dbeafe;border-radius:7px;background:#f8fbff;color:var(--ink);font-weight:900;text-align:center}.delivery-form-page .delivery-product-quantity input{width:100%;min-width:0;text-align:center}.delivery-over-quantity-summary{display:grid;gap:8px;padding:12px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:13px;line-height:1.45}.delivery-over-quantity-summary strong{color:#7c2d12;font-size:14px}.delivery-over-quantity-rule{display:inline-grid;margin:8px 0 0;padding:7px 10px;border:1px solid #fed7aa;border-radius:7px;background:#fff7ed;color:#c2410c;font-size:13px;font-weight:900;line-height:1.35}.delivery-locate-panel{display:grid;gap:8px;padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.delivery-locate-panel>div{display:grid;gap:3px;min-width:0}.delivery-locate-panel span,.delivery-receive-line span{color:var(--muted);font-size:12px;line-height:1.4}.delivery-locate-panel strong,.delivery-receive-line strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.delivery-receive-package-list{display:grid;gap:12px}.delivery-receive-package{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-receive-lines{display:grid;gap:8px}.delivery-receive-line{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.delivery-correction-panel,.delivery-correction-block{display:grid;gap:14px}.delivery-correction-panel{padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.delivery-correction-block{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.delivery-correction-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-correction-head strong{font-size:14px}.delivery-correction-row{display:grid;gap:8px;padding:10px 0;border-top:1px solid var(--line)}.delivery-correction-row.heading{display:none}.delivery-correction-row .field:before,.delivery-quantity-stepper:before{content:attr(data-label);color:var(--gray);font-size:12px;font-weight:800}.delivery-correction-final-quantities{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}.delivery-correction-final-quantities .compact-field{display:grid;gap:3px;min-width:0}.delivery-correction-final-quantities .compact-field span{color:var(--muted);font-size:11px;font-weight:800}.delivery-correction-reason-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.delivery-correction-reason-field{display:grid;gap:3px;min-width:0}.delivery-correction-reason-field>span{color:var(--muted);font-size:11px;font-weight:800}.delivery-correction-reason-field.disabled{opacity:.55}.delivery-correction-inline-changes{display:grid;gap:2px;color:#1d4ed8;font-size:11px;line-height:1.35}.delivery-correction-confirmation{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#0f172a6b}.delivery-correction-confirmation-card{display:grid;gap:12px;width:min(560px,100%);max-height:min(620px,calc(100vh - 36px));overflow:auto;padding:16px;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a38}.delivery-correction-confirmation-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-correction-confirmation-list{display:grid;gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}.delivery-correction-confirmation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:10px;padding:9px 10px;border-bottom:1px solid var(--line)}.delivery-correction-confirmation-row:last-child{border-bottom:0}.delivery-correction-confirmation-row div{display:grid;gap:2px}.delivery-correction-confirmation-row span{color:var(--muted);font-size:11px}.delivery-sku-ledger-qty small,.delivery-package-sku-qty small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.25}.delivery-correction-action-message{margin:0}.delivery-correction-action-message.warning{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.delivery-correction-action-message.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.delivery-correction-action-message.success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.delivery-quantity-stepper{display:grid;grid-template-columns:42px minmax(80px,1fr) 42px;gap:0;align-items:end}.delivery-quantity-stepper:before{grid-column:1 / -1;margin-bottom:7px}.delivery-quantity-stepper button,.delivery-quantity-stepper input{border-radius:0}.delivery-quantity-stepper button:first-of-type{border-radius:8px 0 0 8px}.delivery-quantity-stepper button:last-of-type{border-radius:0 8px 8px 0}.delivery-exception-reason{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.delivery-exception-reason small{color:var(--red);font-size:12px;font-weight:800;line-height:1.45}.payment-filter-grid,.payment-supplier-grid,.payment-workbench-board,.payment-task-list,.payment-payable-list,.payment-payable-order-list,.payment-record-list,.payment-export-grid{display:grid;gap:10px}.payment-filter-summary{display:flex;gap:6px;overflow-x:auto;padding:0 14px 12px;-webkit-overflow-scrolling:touch}.payment-filter-summary span{flex:0 0 auto;min-height:24px;padding:4px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--gray);font-size:12px;font-weight:800;line-height:1.2}.payment-filter-panel .payment-filter-grid{padding-top:0}.payment-card,.payment-row-card{display:grid;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-card:hover,.payment-row-card:hover,.payment-row-card.active{border-color:#93c5fd;background:#f8fbff}.payment-supplier-choice-list{display:grid;gap:0}.payment-supplier-choice-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:12px;align-items:center;min-width:0;padding:10px 0;border-bottom:1px solid var(--line)}.payment-supplier-choice-row:last-child{border-bottom:0}.payment-supplier-choice-row>div{display:grid;gap:3px;min-width:0}.payment-supplier-choice-row strong{min-width:0;overflow-wrap:anywhere}.payment-supplier-choice-row small{color:var(--muted);font-size:12px;line-height:1.4}.payment-supplier-choice-row>.secondary-button{white-space:nowrap}.payment-card-head,.payment-row-card{min-width:0}.payment-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.payment-card h3,.payment-row-card h3{margin:7px 0 4px;font-size:16px;line-height:1.35}.payment-supplier-title{display:grid;gap:4px;min-width:0}.payment-supplier-tags{gap:6px}.payment-card p,.payment-row-card p,.payment-risk-text{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.payment-supplier-card{gap:8px;padding:10px}.payment-supplier-card .payment-card-head{display:block}.payment-supplier-card h3{margin:2px 0;font-size:15px;line-height:1.25}.payment-supplier-card p{line-height:1.3}.payment-supplier-card .tag{min-height:20px;padding:2px 7px;font-size:11px;line-height:1.2}.payment-supplier-scan{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.payment-supplier-scan-item{display:grid;align-content:center;gap:2px;min-width:0;min-height:48px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-supplier-scan-item span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.payment-supplier-scan-item strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;line-height:1.25}.payment-supplier-scan-item small{color:var(--muted);font-size:11px;line-height:1.25}.payment-supplier-scan-amount{border-color:#bfdbfe;background:#eff6ff}.payment-supplier-scan-amount strong{display:grid;gap:2px;color:var(--blue);font-size:17px;line-height:1.1}.payment-supplier-scan-amount strong em{min-width:0;overflow-wrap:normal;font-style:normal;white-space:nowrap}.payment-supplier-scan-due.red{border-color:#fecaca;background:#fef2f2}.payment-supplier-scan-due.red strong{color:#b91c1c}.payment-supplier-scan-due.orange{border-color:#fed7aa;background:#fff7ed}.payment-supplier-scan-due.orange strong{color:#c2410c}.payment-supplier-scan-due.green{border-color:#bbf7d0;background:#f0fdf4}.payment-supplier-scan-due.green strong{color:#047857}.payment-supplier-scan-due.gray{border-color:var(--line);background:var(--surface-soft)}.payment-supplier-card .payment-supplier-detail-button{min-height:32px;padding:6px 9px}.payment-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.payment-section-head h3{margin:0 0 4px;font-size:16px}.payment-section-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.payment-workbench-page{gap:10px}.payment-primary-title h3{margin:0}.payment-primary-title>strong{display:inline-grid;min-width:22px;height:22px;place-items:center;padding:0 6px;border-radius:999px;background:#dbeafe;color:var(--blue);font-size:12px;line-height:1}.payment-task-panel-header{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:8px 12px}.payment-task-type-filter{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:var(--muted);font-size:12px;font-weight:800}.payment-task-type-filter select{width:min(180px,52vw);min-height:34px;padding:5px 30px 5px 9px;font-size:13px}.payment-primary-filter-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-primary-filter-grid .field{gap:4px}.payment-task-empty-inline{min-height:46px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:13px;font-weight:800;line-height:1.5}.payment-command-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.payment-command-bar .primary-button,.payment-command-bar .secondary-button{min-height:36px;padding:7px 10px}.payment-command-bar .field-help-button:after{right:0;left:auto;transform:none}.payment-action-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.payment-action-link:last-child{grid-column:1 / -1}.payment-action-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;min-width:0;min-height:64px;align-content:center;padding:9px 10px;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none}.payment-action-link:hover{border-color:#93c5fd;background:#f8fbff}.payment-action-link.tone-green{border-left-color:var(--green)}.payment-action-link.tone-orange{border-left-color:var(--orange)}.payment-action-link.tone-red{border-left-color:var(--red)}.payment-action-link span{min-width:0;overflow:hidden;font-size:13px;font-weight:900;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.payment-action-link strong{grid-row:span 2;align-self:center;color:var(--blue);font-size:22px;line-height:1}.payment-action-link.tone-green strong{color:var(--green)}.payment-action-link.tone-orange strong{color:var(--orange)}.payment-action-link.tone-red strong{color:var(--red)}.payment-action-link small{min-width:0;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.payment-disclosure{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-disclosure>summary{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;cursor:pointer;list-style:none}.payment-disclosure>summary::-webkit-details-marker{display:none}.payment-disclosure>summary span{display:grid;gap:3px;min-width:0}.payment-disclosure>summary strong{color:var(--ink);font-size:14px;line-height:1.3}.payment-disclosure>summary small{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.payment-disclosure>summary b{flex:0 0 auto;color:var(--blue);font-size:12px}.payment-disclosure[open]>summary{border-bottom:1px solid var(--line);background:var(--surface-soft)}.payment-disclosure-body,.payment-disclosure>.payment-overview-body{padding:12px}.payment-secondary-list{display:grid;gap:8px;padding:8px;background:var(--surface-soft)}.payment-record-query-title h3{margin:0}.payment-hint-actions{justify-content:flex-end;margin-bottom:4px}.payment-overview-panel{display:grid;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-overview-head{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:0}.payment-overview-head h3{font-size:15px}.payment-overview-head p{max-width:520px;line-height:1.4}.payment-overview-head .secondary-button{flex:0 0 auto;min-height:34px;padding:7px 10px}.payment-overview-body{display:grid;gap:10px}.payment-hint-panel{gap:0}.payment-hint-list{display:grid;gap:10px}.payment-hint-row{display:grid;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.payment-hint-row:last-child{border-bottom:0;padding-bottom:0}.payment-hint-row strong{display:block;margin:0;font-size:14px}.payment-hint-row p,.payment-hint-row small{margin:0;line-height:1.5}.payment-hint-row small{color:var(--muted)}.payment-workbench-section{display:grid;gap:12px;border:0;border-radius:0;background:transparent;box-shadow:none}.payment-workbench-section>.panel-header{padding:0;border-bottom:0}.payment-workbench-section>.panel-body{padding:0}.payment-task-section .payment-task-list,.payment-payable-section .payment-task-list,.payment-record-query-section .payment-record-card-list{grid-template-columns:minmax(0,1fr);gap:8px}.payment-task-compact-card{gap:8px;padding:10px}.payment-task-compact-card .payment-card-head{display:grid;gap:8px}.payment-task-compact-card h3,.payment-record-list-card h3{margin:4px 0 2px;font-size:15px;line-height:1.25}.payment-task-compact-card p,.payment-record-list-card p{line-height:1.35}.payment-task-compact-card .payment-amount-block,.payment-record-list-card .payment-amount-block{flex:none;padding:8px 9px}.payment-task-compact-card .payment-amount-block strong,.payment-record-list-card .payment-amount-block strong{font-size:18px}.payment-task-compact-card .button-row,.payment-record-list-card>.button-row{gap:6px}.payment-task-compact-card .primary-button,.payment-task-compact-card .secondary-button,.payment-record-list-card .primary-button,.payment-record-list-card .secondary-button{min-height:32px;padding:6px 9px}.payment-entry-task-list{grid-template-columns:minmax(0,1fr);gap:8px}.payment-entry-task-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-entry-task-row:hover{border-color:#93c5fd;background:#f8fbff}.payment-entry-task-main{display:grid;gap:5px;min-width:0}.payment-entry-task-main h3{margin:0;overflow-wrap:anywhere;font-size:15px;line-height:1.35}.payment-entry-task-meta{display:flex;flex-wrap:wrap;gap:3px 12px;margin:0;color:var(--muted);font-size:12px;line-height:1.4}.payment-entry-task-meta span{min-width:0;overflow-wrap:anywhere}.payment-entry-task-note{margin:2px 0 0;color:var(--gray);font-size:12px;line-height:1.4}.payment-entry-task-amount{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;min-width:0;padding:9px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.payment-entry-task-amount>span,.payment-entry-task-amount>strong{grid-column:1 / -1}.payment-entry-task-amount span,.payment-entry-task-amount small{color:var(--muted);font-size:11px;line-height:1.35}.payment-entry-task-amount strong{color:var(--blue);font-size:18px;line-height:1.3}.payment-entry-task-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.payment-entry-task-actions .primary-button,.payment-entry-task-actions .secondary-button{min-height:36px;padding:7px 10px}.payment-record-list-card{gap:8px;padding:10px}.payment-record-list-card .payment-record-main{gap:8px}.payment-record-list-card .payment-record-meta-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.payment-record-list-card .payment-record-meta-strip>div{padding:7px 8px}.payment-record-list-card .payment-record-voucher{gap:4px;padding:7px 8px}.payment-record-list-card .payment-receipt-empty.compact{display:none}.payment-record-list-card .payment-receipt-empty.compact.warning{display:grid;min-height:54px;border-color:#f59e0b;background:#fffbeb}.payment-record-list-card .payment-receipt-preview-button{padding:6px 7px}.payment-workbench-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.payment-board-card{display:grid;align-content:start;gap:4px;min-width:0;min-height:76px;padding:10px;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none}.payment-board-card:hover{border-color:#93c5fd;background:#f8fbff}.payment-board-card.tone-green{border-left-color:var(--green)}.payment-board-card.tone-orange{border-left-color:var(--orange)}.payment-board-card.tone-red{border-left-color:var(--red)}.payment-board-card span{display:flex;min-width:0;justify-content:space-between;align-items:baseline;gap:8px;color:var(--ink);font-size:13px;font-weight:800;line-height:1.25}.payment-board-card span b{min-width:0;overflow:hidden;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.payment-board-card span strong{flex:0 0 auto;color:var(--blue);font-size:19px;line-height:1}.payment-board-card small{display:block;min-width:0;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.payment-board-card em{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px 5px;min-width:0;color:var(--blue);font-size:12px;font-style:normal;font-weight:900;line-height:1.2;text-align:left}.payment-board-card.tone-green span strong{color:var(--green)}.payment-board-card.tone-orange span strong{color:var(--orange)}.payment-board-card.tone-red span strong{color:var(--red)}.payment-board-card.tone-green em{color:var(--green)}.payment-board-card.tone-orange em{color:var(--orange)}.payment-board-card.tone-red em{color:var(--red)}.payment-mini-grid,.payment-detail-grid,.payment-two-columns{display:grid;gap:10px}.payment-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.payment-detail-grid .detail-card{min-height:0;gap:3px;padding:7px 8px}.payment-detail-grid .detail-card span{font-size:11px;font-weight:900}.payment-detail-grid .detail-card strong{color:var(--blue);font-size:15px;line-height:1.2}.payment-detail-grid .detail-card small{color:var(--muted);font-size:11px;line-height:1.25}.payment-term-inline{display:flex;flex-wrap:wrap;gap:6px 12px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-term-inline>div{display:inline-flex;align-items:baseline;gap:4px;min-width:0;max-width:100%}.payment-term-inline span{color:var(--muted);font-size:12px;font-weight:700;line-height:1.4}.payment-term-inline strong{min-width:0;color:var(--ink);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.payment-supplier-priority{display:grid;gap:10px}.payment-supplier-priority.compact{gap:8px}.payment-due-signal.compact{align-content:center}.payment-supplier-compact-status{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-supplier-compact-status>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.payment-supplier-compact-status span{flex:0 0 auto;color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.payment-supplier-compact-status strong{min-width:0;color:var(--ink);font-size:13px;line-height:1.35;text-align:right;overflow-wrap:anywhere}.payment-supplier-compact-status small{color:var(--muted);font-size:12px;line-height:1.4}.payment-supplier-receipts{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fbff}.payment-supplier-receipts-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.payment-supplier-receipts-head span{color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}.payment-supplier-receipts-head strong{color:var(--ink);font-size:13px;line-height:1.35}.payment-receipt-preview-list{display:grid;gap:7px;min-width:0}.payment-receipt-preview-button{display:grid;gap:3px;min-width:0;width:100%;padding:8px 9px;border:1px solid #bfdbfe;border-radius:8px;background:var(--surface);color:inherit;text-align:left;cursor:pointer}.payment-receipt-preview-button:hover{border-color:#60a5fa;background:#eff6ff}.payment-receipt-preview-button strong{min-width:0;overflow:hidden;color:var(--blue);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.payment-receipt-preview-button span{min-width:0;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.payment-receipt-thumbnail{display:block;width:100%;height:84px;border:1px solid var(--line);border-radius:6px;background:#f8fafc;object-fit:cover}.payment-receipt-empty{display:grid;gap:3px;min-height:72px;align-content:center;padding:10px;border:1px dashed #cbd5e1;border-radius:8px;background:var(--surface)}.payment-receipt-empty strong{color:var(--ink);font-size:13px;line-height:1.35}.payment-receipt-empty span{color:var(--muted);font-size:12px;line-height:1.4}.payment-supplier-rules{display:grid;gap:8px;min-width:0;padding:0}.payment-supplier-rules summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:800;line-height:1.35;cursor:pointer;list-style:none}.payment-supplier-rules summary::-webkit-details-marker{display:none}.payment-supplier-rules summary strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;line-height:1.35;text-align:right}.payment-supplier-rules[open] summary{border-color:#bfdbfe;background:#eff6ff}.payment-supplier-detail-button{justify-self:stretch;text-align:center}.payment-receipt-preview-modal{width:min(620px,calc(100vw - 32px))}.payment-receipt-large-preview{display:grid;gap:8px;min-height:220px;place-items:center;padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fafc;text-align:center}.payment-receipt-preview-image,.payment-receipt-preview-document{display:block;width:100%;max-height:min(68vh,720px);border:0;border-radius:6px;background:#fff;object-fit:contain}.payment-receipt-preview-document{height:min(68vh,720px)}.payment-receipt-large-preview span{color:var(--muted);font-size:12px;font-weight:800}.payment-receipt-large-preview strong{max-width:100%;overflow-wrap:anywhere;color:var(--ink);font-size:18px;line-height:1.35}.payment-receipt-large-preview small{color:var(--muted);font-size:12px;line-height:1.45}.payment-context-card{display:grid;gap:14px;min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-context-card h2{margin:10px 0 5px;font-size:18px;line-height:1.35}.payment-context-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.payment-apply-readout{display:grid;gap:10px}.payment-apply-readout article{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.payment-apply-readout span{color:var(--muted);font-size:12px;line-height:1.4}.payment-apply-readout strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:16px;line-height:1.35}.payment-apply-readout article:first-child strong{color:var(--blue);font-size:22px}.payment-apply-readout small{color:var(--muted);font-size:12px;line-height:1.4}.payment-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-demo-list{display:grid;gap:0}.payment-demo-list>div{display:grid;grid-template-columns:minmax(110px,.42fr) minmax(0,1fr);gap:12px;min-width:0;padding:9px 0;border-bottom:1px solid var(--line)}.payment-demo-list>div:last-child{border-bottom:0}.payment-demo-list span{color:var(--muted);font-size:13px;line-height:1.4}.payment-demo-list strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.4;text-align:right}.payment-demo-list.compact>div{grid-template-columns:minmax(96px,.34fr) minmax(0,1fr);padding:7px 0}.payment-mini-grid>div,.payment-amount-block,.payment-due-signal,.payment-row-amount,.payment-info-list>div,.payment-record-row{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-mini-grid span,.payment-amount-block span,.payment-due-signal span,.payment-row-amount span,.payment-info-list span,.payment-record-row span{color:var(--muted);font-size:12px;line-height:1.4}.payment-mini-grid strong,.payment-amount-block strong,.payment-due-signal strong,.payment-row-amount strong,.payment-info-list strong,.payment-record-row strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.payment-mini-grid small,.payment-amount-block small,.payment-due-signal small{color:var(--muted);font-size:12px;line-height:1.4}.payment-amount-block{flex:0 0 176px;border-color:#bfdbfe;background:#eff6ff}.payment-amount-block strong{color:var(--blue);font-size:20px}.payment-amount-block.supplier-unpaid{border-color:#bfdbfe;background:#eff6ff}.payment-due-signal.red{border-color:#fecaca;background:#fef2f2}.payment-due-signal.red strong,.payment-decision-text.red{color:#b91c1c}.payment-due-signal.orange{border-color:#fed7aa;background:#fff7ed}.payment-due-signal.orange strong,.payment-decision-text.orange{color:#c2410c}.payment-due-signal.green{border-color:#bbf7d0;background:#f0fdf4}.payment-due-signal.green strong,.payment-decision-text.green{color:#047857}.payment-due-signal.gray{border-color:var(--line);background:var(--surface-soft)}.payment-decision-text{padding:9px 10px;border-radius:8px;background:#f8fafc;font-weight:700}.payment-task-panel{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-task-panel summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;cursor:pointer;list-style:none}.payment-task-panel summary::-webkit-details-marker{display:none}.payment-task-panel summary span{color:var(--ink);font-weight:800}.payment-task-panel summary strong{color:var(--blue);font-size:18px}.payment-task-panel summary small{grid-column:1 / -1;color:var(--muted);font-size:12px;line-height:1.5}.payment-task-panel[open] summary{padding-bottom:10px;border-bottom:1px solid var(--line)}.payment-supplier-profile{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-supplier-profile summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;cursor:pointer;list-style:none}.payment-supplier-profile summary::-webkit-details-marker{display:none}.payment-supplier-profile summary span{color:var(--ink);font-weight:900}.payment-supplier-profile summary strong{color:var(--blue);font-size:13px;line-height:1.35}.payment-supplier-profile summary small{grid-column:1 / -1;color:var(--muted);font-size:12px;line-height:1.45}.payment-profile-grid{display:grid;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.payment-profile-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-profile-grid span,.payment-payable-order-grid span{color:var(--muted);font-size:12px;line-height:1.4}.payment-profile-grid strong,.payment-payable-order-grid strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.35}.payment-payable-order-card{display:grid;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-payable-order-card:hover,.payment-payable-order-card.active{border-color:#93c5fd;background:#f8fbff}.payment-payable-order-card.disabled{opacity:.86}.payment-payable-order-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;min-width:0}.payment-payable-order-main h3{margin:7px 0 4px;font-size:16px;line-height:1.35}.payment-payable-order-main p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.payment-payable-select{min-width:54px;min-height:30px;padding:5px 8px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:var(--blue);font-size:12px;font-weight:900}.payment-payable-select[aria-pressed=true]{background:var(--blue);color:#fff}.payment-payable-order-grid{display:grid;gap:8px}.payment-payable-order-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-payable-order-actions{align-items:center}.payment-payable-mobile-list{display:grid;gap:8px;min-width:0}.payment-payable-mobile-card{display:grid;gap:8px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-payable-mobile-card.active{border-color:#93c5fd;background:#f8fbff}.payment-payable-mobile-card.disabled{opacity:.88}.payment-payable-mobile-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;min-width:0}.payment-payable-mobile-head h3{margin:4px 0 2px;font-size:14px;line-height:1.25}.payment-payable-mobile-head p{margin:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.payment-payable-mobile-rule{display:grid;gap:2px;min-width:0;padding:7px 8px;border-left:3px solid #60a5fa;background:#eff6ff}.payment-payable-mobile-rule strong{color:#1e3a5f;font-size:12px}.payment-payable-mobile-rule span,.payment-payable-mobile-rule small{overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.35}.payment-supplier-empty-state{grid-column:1 / -1}.payment-payable-mobile-amounts,.payment-payable-mobile-meta{display:grid;gap:5px;min-width:0}.payment-payable-mobile-amounts{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-payable-mobile-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-payable-mobile-amounts>div,.payment-payable-mobile-meta>div{display:grid;gap:2px;min-width:0;padding:6px 7px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-payable-mobile-amounts span,.payment-payable-mobile-meta span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.2}.payment-payable-mobile-amounts strong,.payment-payable-mobile-meta strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px;line-height:1.25}.payment-payable-mobile-amounts .amount strong{color:var(--blue);font-size:14px;font-weight:900}.payment-payable-mobile-actions{display:flex;flex-wrap:wrap;gap:6px}.payment-payable-mobile-actions .primary-button,.payment-payable-mobile-actions .secondary-button{flex:1 1 96px;min-height:30px;padding:6px 8px;font-size:12px}.payment-payable-table{display:none;gap:8px;min-width:0}.payment-payable-table-row.heading{display:none}.payment-payable-table-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-payable-table-row.active{border-color:#93c5fd;background:#f8fbff}.payment-payable-table-row.disabled{opacity:.86}.payment-payable-table-row>div{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;align-items:center;padding:5px 6px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);font-size:12px;line-height:1.25}.payment-payable-table-row>div:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:800;line-height:1.2}.payment-payable-table-row strong{min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.25}.payment-payable-table-row .amount strong,.payment-payable-table-row .strong strong{color:var(--blue);font-weight:900}.payment-table-actions{display:flex!important;grid-column:1 / -1;flex-wrap:wrap;gap:6px!important;padding:0;border:0;background:transparent}.payment-table-actions:before{display:none}.payment-table-actions .primary-button,.payment-table-actions .secondary-button{flex:1 1 96px;width:auto;min-height:30px;padding:6px 8px;font-size:12px}.base-info-filter-grid,.base-info-card-list{display:grid;gap:10px}.logistics-eta-config-list{display:grid;gap:12px;min-width:0}.logistics-eta-guide{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.logistics-eta-guide div{display:grid;align-content:start;gap:4px;min-width:0;padding:8px 10px;border-left:2px solid #93c5fd}.logistics-eta-guide strong{color:var(--ink);font-size:12px}.logistics-eta-guide b,.logistics-eta-guide span{min-width:0;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.logistics-eta-guide b{color:var(--blue)}.logistics-eta-company{display:grid;gap:0;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.logistics-eta-company-head{padding:12px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.logistics-eta-company-head h3{margin:7px 0 3px;font-size:16px}.logistics-eta-company-head p{margin:0;color:var(--muted);font-size:12px}.logistics-eta-method-list{display:grid;gap:0}.logistics-eta-method{min-width:0;padding:10px 12px;border-bottom:1px solid var(--line)}.logistics-eta-method:last-child{border-bottom:0}.logistics-eta-method-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.logistics-eta-method-head strong{color:var(--ink);font-size:14px}.logistics-eta-method-head span{color:var(--blue);font-size:12px;font-weight:800}.logistics-eta-node-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.logistics-eta-node-row{display:grid;align-content:start;gap:4px;min-width:0;padding:7px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.logistics-eta-node-row>span,.logistics-eta-node-label>span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.logistics-eta-node-label{display:grid;gap:2px;min-width:0}.logistics-eta-node-label small{color:var(--muted);font-size:10px;font-weight:600;line-height:1.25}.logistics-eta-node-row>strong{color:var(--ink);font-size:14px}.logistics-eta-node-row>em{color:var(--muted);font-size:12px;font-style:normal}.logistics-eta-node-row .secondary-button{width:fit-content;min-height:26px;padding:4px 8px;font-size:11px}.base-info-filter-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.base-info-filter-actions .primary-button,.base-info-filter-actions .secondary-button{min-width:88px}.supplier-search-field,.supplier-search-control{position:relative;min-width:0}.supplier-search-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.supplier-search-clear{min-width:62px;padding-inline:10px}.supplier-search-menu{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:35;max-height:288px;overflow:auto;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 18px 45px #0f172a2e}.supplier-search-option{display:grid;width:100%;gap:3px;padding:9px 10px;border:0;border-bottom:1px solid #e5edf8;background:#fff;color:var(--ink);text-align:left}.supplier-search-option:last-of-type{border-bottom:0}.supplier-search-option:hover,.supplier-search-option.active{background:#eff6ff}.supplier-search-option strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.supplier-search-option span{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.supplier-search-empty{padding:12px 10px;color:var(--muted);font-size:13px;font-weight:700}.base-info-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.base-info-tabs .delivery-tab{flex:0 0 auto}.base-info-type-panel .panel-body{padding-top:0}.base-info-editor-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:sticky;top:-14px;z-index:3;padding:10px 0;background:var(--surface)}.base-info-editor-tabs .delivery-tab{justify-content:center;min-width:0}.base-info-inline-actions{display:flex;justify-content:flex-end}.product-info-result-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:8px}.product-info-result-bar>div{display:grid;gap:3px;min-width:0}.product-info-result-bar span{color:var(--muted);font-size:12px;line-height:1.25}.product-info-result-bar strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:14px;line-height:1.35}.product-info-result-bar .primary-button{min-width:92px}.base-info-card{display:grid;gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.base-info-card h3{margin:8px 0 4px;font-size:16px;line-height:1.3}.base-info-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.base-info-card-grid{display:grid;grid-template-columns:1fr;gap:8px}.base-info-card-grid div{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.base-info-card-grid span{color:var(--muted);font-size:12px;font-weight:800}.base-info-card-grid strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.product-info-list{grid-template-columns:1fr}.base-info-supplier-product-group{display:grid;gap:10px}.base-info-supplier-product-head{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#eef5ff}.base-info-supplier-product-head span{color:var(--muted);font-size:12px;font-weight:800}.base-info-supplier-product-head strong{display:block;margin-top:3px;font-size:15px;line-height:1.35}.product-info-card{gap:14px}.base-info-subsection{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.base-info-card-details{gap:0}.base-info-card-details summary{display:grid;grid-template-columns:minmax(90px,.34fr) minmax(0,1fr);align-items:center;gap:8px;min-width:0;cursor:pointer;list-style:none}.base-info-card-details summary::-webkit-details-marker{display:none}.base-info-card-details summary span{color:var(--gray);font-size:11px;font-weight:900;line-height:1.25}.base-info-card-details summary strong{min-width:0;overflow:hidden;color:var(--ink);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.base-info-card-details[open]{gap:8px}.base-info-subsection-head{display:grid;gap:8px}.base-info-subsection-head div{display:grid;gap:3px}.base-info-subsection-head strong{color:var(--ink);font-size:14px}.base-info-subsection-head span{color:var(--muted);font-size:12px;line-height:1.45}.base-info-mini-tabs{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;width:min(100%,168px);padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.base-info-mini-tabs button{min-height:28px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--gray);font-size:12px;font-weight:900}.base-info-mini-tabs button.active{border-color:#bfdbfe;background:#dbeafe;color:var(--blue)}.base-info-sku-list,.base-info-rule-list{display:grid;gap:8px}.base-info-nested-card{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.base-info-nested-card>div:first-child{display:grid;gap:3px}.base-info-nested-card strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.base-info-nested-card span{min-width:0;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}.base-info-nested-meta{display:flex;flex-wrap:wrap;gap:6px}.base-info-nested-meta span{padding:4px 7px;border-radius:999px;background:var(--surface-soft);color:var(--ink);font-weight:800}.excel-empty-state.compact{padding:10px;background:var(--surface)}.base-info-modal{width:min(100%,430px)}.base-info-editor-sections{display:grid;gap:16px}.base-info-editor-section{display:grid;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.base-info-editor-section:first-child{padding-top:0;border-top:0}.sku-editor-modal .modal-header{padding:11px 12px}.sku-editor-modal .modal-header h2{font-size:17px}.sku-editor-modal .modal-body{gap:10px;padding:10px 12px 12px}.sku-editor-modal .base-info-editor-sections{gap:10px}.sku-editor-modal .base-info-editor-section{gap:8px;padding-top:10px}.sku-editor-modal .form-grid.compact{gap:8px 10px}.sku-editor-modal .field{gap:4px}.sku-editor-modal .field span{font-size:12px}.sku-editor-modal input,.sku-editor-modal select{min-height:36px;padding:6px 9px}.sku-editor-modal .modal-bottom-action-bar{justify-content:end;padding:8px 12px}.sku-editor-modal .bottom-action-buttons.two-actions{width:min(100%,220px);justify-self:end}.payment-row-card.selectable{grid-template-columns:auto minmax(0,1fr);align-items:start;cursor:pointer}.payment-row-card.selectable.disabled{cursor:default;opacity:.72}.payment-row-card.selectable .payment-row-amount,.payment-row-card.selectable .button-row,.payment-row-card.selectable .payment-risk-text{grid-column:1 / -1}.payment-row-card input[type=checkbox]{width:18px;min-height:18px;margin-top:6px;padding:0}.payment-row-lock{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:28px;margin-top:1px;padding:4px 6px;border-radius:8px;background:#eef2f7;color:var(--muted);font-size:12px;font-weight:800;line-height:1.2}.payment-radio-field{gap:8px}.payment-log-list{display:grid;gap:8px}.payment-log-row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:10px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-log-row>span{width:10px;height:10px;margin-top:4px;border-radius:999px;background:var(--blue);box-shadow:0 0 0 4px #dbeafe}.payment-log-row strong,.payment-log-row small{display:block;min-width:0;overflow-wrap:anywhere}.payment-log-row strong{font-size:13px;line-height:1.4}.payment-log-row small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}.payment-radio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.payment-radio-option{display:flex;align-items:center;gap:8px;min-width:0;min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer}.payment-radio-option input{width:16px;min-height:16px;padding:0}.payment-radio-option strong{font-size:13px;line-height:1.3}.payment-upload-box{gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-upload-box input[type=file]{min-height:auto;padding:9px 10px;background:var(--surface)}.payment-upload-box small{color:var(--muted);font-size:12px;line-height:1.4}.payment-info-list,.payment-record-list{display:grid;gap:8px}.payment-record-row small,.payment-amount-block small,.payment-row-amount small{color:var(--muted);font-size:12px;line-height:1.4}.payment-record-summary{display:grid;gap:8px}.payment-record-tabs{display:flex;flex-wrap:wrap;gap:8px}.payment-record-tabs button{min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--gray);font-size:12px;font-weight:900}.payment-record-tabs button.active{border-color:#bfdbfe;background:#dbeafe;color:var(--blue)}.payment-record-summary>div{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.payment-record-summary span,.payment-record-summary small{color:var(--muted);font-size:12px;line-height:1.4}.payment-record-summary strong{min-width:0;overflow-wrap:anywhere;color:var(--blue);font-size:18px;line-height:1.3}.payment-record-card-list{display:grid;gap:10px}.payment-record-card{display:grid;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-record-compact-card{align-items:start}.payment-record-main{display:grid;gap:10px;min-width:0}.payment-record-main h3{margin:7px 0 4px;font-size:16px;line-height:1.35}.payment-record-main p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.payment-record-meta-strip{display:grid;gap:8px;min-width:0}.payment-record-meta-strip>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.payment-record-meta-strip span{color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.payment-record-meta-strip strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.35}.payment-record-voucher{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fbff}.payment-receipt-empty.compact{min-height:58px;padding:8px}.payment-record-detail{display:grid;gap:12px;min-width:0;padding:13px;border:1px solid #93c5fd;border-radius:8px;background:#f8fbff}.payment-allocation-list{display:grid;gap:8px}.payment-allocation-list>div{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-allocation-list span,.payment-allocation-list small{color:var(--muted);font-size:12px;line-height:1.4}.payment-allocation-list strong{color:var(--ink);font-size:13px;line-height:1.4}.payment-receipt-editor{display:grid;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.receipt-upload-field{display:grid;gap:8px;min-width:0}.receipt-upload-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.receipt-upload-head>span{min-width:0;color:var(--ink);font-size:13px;font-weight:800;line-height:1.35}.receipt-upload-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:34px;padding:8px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:var(--blue);font-size:12px;font-weight:900;line-height:1.2;cursor:pointer}.receipt-upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.receipt-upload-button.disabled{cursor:not-allowed;opacity:.55}.receipt-upload-state{display:grid;gap:5px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.receipt-status{width:fit-content;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:900;line-height:1.2}.receipt-status-gray{background:#e2e8f0;color:#475569}.receipt-status-blue{background:#dbeafe;color:#1d4ed8}.receipt-status-green{background:#dcfce7;color:#166534}.receipt-status-red{background:#fee2e2;color:#b91c1c}.receipt-upload-state strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.4}.receipt-upload-state small{color:var(--muted);font-size:12px;line-height:1.4}.receipt-upload-state .danger{color:var(--red);font-weight:800}.payment-receipt-upload-state{display:grid;gap:4px;min-width:0}.payment-receipt-upload-state strong,.payment-file-name{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.4}.payment-receipt-upload-state small,.payment-upload-box small{color:var(--muted);font-size:12px;line-height:1.4}.payment-receipt-upload-state .danger,.payment-upload-box .danger{color:var(--red);font-weight:800}button:disabled,.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55}.timeline-done .timeline-dot{background:var(--green);box-shadow:0 0 0 4px var(--green-bg)}.timeline-error .timeline-dot{background:var(--red);box-shadow:0 0 0 4px var(--red-bg)}.timeline-pending .timeline-dot{background:var(--gray);box-shadow:0 0 0 4px var(--gray-bg)}.mobile-tabbar{position:fixed;right:auto;bottom:0;left:50%;z-index:40;display:grid;width:min(100%,430px);grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));transform:translate(-50%);border-top:1px solid rgba(216,224,234,.95);background:#fffffff0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;padding:6px 2px;border-radius:8px;color:var(--muted);font-size:11px;font-weight:800;text-align:center;text-decoration:none}.mobile-tab:hover,.mobile-tab.active{background:#eaf2ff;color:var(--blue)}.mobile-tab-icon{font-size:15px;line-height:1}.toast{position:fixed;top:calc(18px + env(safe-area-inset-top));right:18px;z-index:90;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;width:min(360px,calc(100vw - 28px));max-width:360px;padding:13px 15px;transform:translateY(-12px);border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;box-shadow:0 18px 44px #0f172a29;color:#1d4ed8;font-size:13px;font-weight:800;line-height:1.45;overflow-wrap:anywhere;opacity:0;pointer-events:auto;transition:.18s ease}.toast:before{display:grid;width:20px;height:20px;align-items:center;justify-items:center;border-radius:999px;background:currentColor;color:#fff;content:"i";font-size:12px;font-weight:900;line-height:1}.toast.show{transform:translateY(0);opacity:1}.toast:not(.show){pointer-events:none}.toast.info{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.toast.warning{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.toast.warning:before{content:"!"}.toast.success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.toast.success:before{content:"✓"}.toast.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.toast.error:before{content:"×"}@media(max-width:520px){body{display:block;background:#f5f7fb}.product-info-result-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.product-info-result-bar .primary-button{grid-column:1 / -1;width:100%}.purchase-product-group-header{display:grid;grid-template-columns:minmax(0,1fr)}.purchase-product-summary{justify-content:flex-start}.purchase-product-batch-field,.purchase-product-note-field{grid-template-columns:auto minmax(150px,1fr);width:100%}.purchase-product-header-fields,.delivery-edit-bag-grid,.delivery-logistics-entry{grid-template-columns:minmax(0,1fr)}.delivery-edit-package-meta{justify-self:start}.app-shell{width:100%;box-shadow:none}.mobile-tabbar{width:100%}.logistics-eta-guide{grid-template-columns:1fr}.logistics-eta-node-list{grid-template-columns:repeat(2,minmax(0,1fr))}.logistics-eta-method-head{align-items:flex-start;flex-direction:column}}@media(max-width:720px){.logistics-eta-guide,.logistics-eta-node-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:900px){body{display:block;background:var(--bg)}.app-shell{display:grid;width:100%;min-height:100vh;grid-template-columns:248px minmax(0,1fr);background:transparent;box-shadow:none}.sidebar{position:sticky;top:0;display:flex;height:100vh;min-height:100vh;flex-direction:column;gap:28px;padding:24px 18px;overflow-y:auto;background:#111827;color:#e5e7eb}.mobile-tabbar,.mobile-module-nav{display:none}.workspace{min-width:0;min-height:100vh}.topbar{position:sticky;top:0;z-index:10;align-items:center;flex-direction:row;justify-content:space-between;gap:16px;min-height:82px;padding:18px 28px;border-bottom:1px solid var(--line);background:#ffffffe6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.eyebrow{color:var(--muted);font-size:13px;font-weight:400}#page-title{font-size:24px}.topbar-actions{width:auto;justify-content:flex-end;gap:12px;flex-wrap:wrap}.current-employee{flex:0 0 auto;width:auto;gap:3px}.content{padding:24px 32px 40px}.stack{gap:20px}.page-lead{grid-template-columns:minmax(0,1fr) auto;align-items:end}.page-lead h1{font-size:26px}.dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:end}.dashboard-hero h1{font-size:26px}.metrics{grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px}.metric{min-height:112px;padding:16px;box-shadow:var(--shadow)}.metric strong{margin-top:10px;font-size:30px}.payment-balance-metric strong{font-size:22px}.payment-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:visible;padding-bottom:0;border:0;background:transparent}.payment-summary-strip .metric{flex:none;min-height:72px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:none}.payment-summary-strip .metric:last-child{grid-column:auto;border-bottom:1px solid var(--line)}.payment-summary-strip .metric strong,.payment-summary-strip .payment-balance-metric strong{font-size:16px}.payment-summary-strip .metric small{display:block}.public-shell{min-height:100vh}.login-panel{padding:26px}.user-admin-layout{grid-template-columns:minmax(300px,1fr) minmax(260px,360px);align-items:start}.user-detail-grid{grid-template-columns:minmax(360px,1.1fr) minmax(320px,.9fr);align-items:start}.identity-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-method-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.panel-header{align-items:center;flex-direction:row;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-body{padding:20px}.payment-workbench-section{border:0;border-radius:0;background:transparent;box-shadow:none}.payment-workbench-section>.panel-header{gap:12px;padding:0;border-bottom:0}.payment-workbench-section>.panel-body{padding:0}.payment-task-section>.panel-header{align-items:center;flex-direction:row}.payment-primary-filter-grid{grid-template-columns:minmax(220px,1fr) minmax(150px,.45fr) minmax(220px,1fr);align-items:end}.payment-record-query-section>.panel-header{align-items:flex-end;flex-direction:row;justify-content:space-between}.placeholder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-reminders{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.reminder-card{min-height:244px;align-content:space-between;box-shadow:var(--shadow)}.dashboard-columns{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px}.alert-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:start}.approval-columns,.approval-detail-columns{grid-template-columns:minmax(0,1fr) minmax(360px,.78fr)}.approval-line-table{gap:0;overflow-x:auto;border:1px solid var(--line);border-radius:8px}.approval-line-row,.approval-line-row.heading{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(160px,1.15fr) minmax(86px,.58fr) minmax(116px,.78fr) minmax(132px,.88fr);gap:0;align-items:stretch;min-width:720px;padding:0;border:0;border-radius:0;background:var(--surface)}.approval-line-row.heading{background:var(--surface-soft)}.approval-line-row:not(.heading){border-top:1px solid var(--line)}.approval-line-row.heading span,.approval-line-row>div{display:grid;min-width:0;align-content:center;padding:9px 10px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}.approval-line-row.heading span:last-child,.approval-line-row>div:last-child{border-right:0}.approval-line-row.heading span{color:var(--muted);font-size:12px;font-weight:900;line-height:1.25}.approval-line-row>div:before{content:none}.page-with-bottom-action{padding-bottom:104px}.bottom-action-bar{right:32px;bottom:16px;left:280px;width:auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px;transform:none}.bottom-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px}.approval-filters{grid-template-columns:150px 150px 150px minmax(220px,1fr)}.approval-list-row{grid-template-columns:minmax(180px,.9fr) minmax(280px,1.25fr) minmax(110px,.45fr) minmax(150px,.65fr) minmax(130px,.55fr);align-items:start}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid.compact,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-editor-body{padding:22px 24px}.delivery-form-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.delivery-locate-panel{grid-template-columns:minmax(260px,1.5fr) minmax(160px,.8fr) minmax(120px,.5fr) minmax(140px,.6fr);align-items:start;padding:14px 16px}.delivery-logistics-table{grid-template-columns:minmax(180px,.8fr) minmax(240px,1fr) minmax(160px,.7fr) auto;align-items:end}.delivery-mobile-entry{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px 16px}.delivery-process-entry{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:8px 12px}.delivery-warning-row{grid-template-columns:minmax(0,1fr) minmax(140px,.35fr) auto;align-items:center}.delivery-workbench-panel .panel-header{align-items:center}.delivery-workbench-tabs{justify-content:flex-end}.delivery-filter-grid{grid-template-columns:minmax(180px,.35fr) minmax(260px,1fr);align-items:end}.delivery-line-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.delivery-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.delivery-package-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-line-inputs{grid-template-columns:minmax(110px,.45fr) minmax(150px,.75fr) minmax(140px,1fr)}.delivery-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.delivery-workbench-row{grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr) auto;align-items:center;gap:12px}.delivery-workbench-actions{justify-content:flex-end}.delivery-card{padding:16px}.delivery-list-card{padding:10px 12px}.delivery-list-meta-strip,.delivery-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.delivery-meta-grid.logistics-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-line-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-product-table{overflow-x:auto}.delivery-product-row,.delivery-product-row.heading{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(130px,.7fr) minmax(130px,.7fr) minmax(150px,.8fr);align-items:center;min-width:720px;border-radius:0;border-right:0;border-left:0;background:#fff}.delivery-product-row.heading{background:var(--surface-soft);color:var(--gray);font-weight:900}.delivery-product-row span:before{content:none}.delivery-receive-line{grid-template-columns:minmax(260px,1fr) minmax(160px,.35fr);align-items:end}.delivery-correction-row,.delivery-correction-row.heading,.delivery-correction-row.addition,.delivery-correction-row.addition.heading{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.55fr) minmax(220px,.9fr) minmax(160px,.55fr) auto;gap:10px;align-items:end}.delivery-detail-page .delivery-fact-table{grid-template-columns:repeat(4,minmax(0,1fr))}.delivery-correction-row.focused,.delivery-correction-row.heading.focused{grid-template-columns:minmax(150px,.55fr) minmax(220px,.9fr) minmax(160px,.55fr) auto}.delivery-correction-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-correction-current-grid{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(140px,.6fr))}.delivery-correction-row.heading{align-items:center;padding:8px 0;color:var(--gray);font-size:12px;font-weight:900}.delivery-correction-row .field:before,.delivery-quantity-stepper:before{content:none}.delivery-form-page .delivery-editor-body{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;padding:10px}.delivery-form-page .delivery-subsection{padding:10px 12px}.delivery-form-page .delivery-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-form-page .delivery-logistics-table{grid-template-columns:minmax(0,1fr)}.delivery-logistics-entry{grid-template-columns:minmax(170px,.9fr) minmax(180px,1fr) minmax(130px,.7fr) auto}.delivery-form-page .field.full{grid-column:span 2}.delivery-form-page .delivery-product-table{overflow-x:visible}.delivery-form-page .delivery-product-row,.delivery-form-page .delivery-product-row.heading{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;border-radius:8px;border-right:1px solid var(--line);border-left:1px solid var(--line);padding:8px}.delivery-form-page .delivery-product-row.heading{display:grid;align-items:center;padding:6px 8px;border-color:#bfdbfe;background:#eff6ff}.delivery-form-page .delivery-product-row.heading span{justify-items:center;color:var(--blue);text-align:center}.delivery-form-page .delivery-product-picker{grid-column:1 / -1}.delivery-form-page .delivery-product-picker-control{grid-template-columns:minmax(0,1fr) auto}.delivery-form-page .delivery-product-row.heading span:first-child{grid-column:auto}.delivery-form-page .delivery-editor-body>.button-row{grid-column:1 / -1}.payment-filter-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}.payment-workbench-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.payment-action-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.payment-action-link:last-child{grid-column:auto}.base-info-filter-grid{grid-template-columns:minmax(180px,.35fr) minmax(280px,1fr) auto;align-items:end}.base-info-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.base-info-card{padding:16px}.base-info-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-info-list{grid-template-columns:1fr}.base-info-supplier-product-head,.base-info-subsection-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}.base-info-sku-list,.base-info-rule-list{grid-template-columns:repeat(2,minmax(0,1fr))}.base-info-nested-card{align-content:start}.base-info-modal{width:min(780px,calc(100vw - 64px))}.modal.base-info-modal.sku-editor-modal{width:min(980px,calc(100vw - 64px));max-height:min(620px,calc(100vh - 48px))}.sku-editor-modal .form-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.sku-editor-modal .base-info-editor-sections{gap:9px}.payment-supplier-grid{grid-template-columns:minmax(0,1fr);gap:10px}.payment-supplier-grid .payment-supplier-card{grid-template-columns:minmax(200px,.68fr) minmax(0,1.32fr) auto;align-items:stretch;gap:10px;padding:10px 12px}.payment-supplier-grid .payment-supplier-card .payment-card-head{display:grid;align-content:center;grid-column:auto;min-height:100%}.payment-supplier-grid .payment-supplier-scan{grid-template-columns:minmax(130px,1.05fr) minmax(120px,.95fr) minmax(120px,.95fr) minmax(150px,1.15fr);align-self:stretch;grid-template-rows:minmax(0,1fr);height:100%}.payment-supplier-grid .payment-supplier-scan-item{min-height:0;height:100%}.payment-supplier-grid .payment-supplier-detail-button{grid-column:auto;align-self:stretch;justify-self:end;min-width:94px;width:auto;min-height:100%}.payment-task-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.payment-entry-task-list,.payment-task-section .payment-task-list,.payment-payable-section .payment-task-list{grid-template-columns:minmax(0,1fr);gap:8px}.payment-hint-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}.payment-hint-row small{text-align:right}.payment-task-compact-card{grid-template-columns:minmax(260px,1fr) minmax(170px,220px) minmax(220px,.85fr) auto;align-items:center}.payment-task-compact-card .payment-card-head{display:contents}.payment-task-compact-card .payment-card-head>div:first-child,.payment-record-list-card .payment-record-main>div:first-child{min-width:0}.payment-task-compact-card .payment-card-head>div:first-child h3,.payment-task-compact-card .payment-card-head>div:first-child p,.payment-record-list-card .payment-record-main>div:first-child h3,.payment-record-list-card .payment-record-main>div:first-child p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-task-compact-card .payment-risk-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-task-compact-card .tag{min-height:20px;padding:2px 7px;font-size:11px}.payment-task-compact-card .payment-amount-block{gap:2px;padding:6px 8px}.payment-task-compact-card .payment-amount-block strong{font-size:16px}.payment-task-compact-card .payment-amount-block small{font-size:11px;line-height:1.25}.payment-task-compact-card .button-row{justify-content:flex-end;flex-wrap:nowrap}.payment-entry-task-row{grid-template-columns:minmax(280px,1fr) minmax(190px,220px) auto;align-items:center;gap:16px;padding:11px 12px}.payment-entry-task-main h3,.payment-entry-task-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-entry-task-actions{grid-template-columns:minmax(92px,auto);min-width:110px}.payment-context-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.payment-apply-readout{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(150px,.75fr));gap:14px}.payment-radio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.payment-record-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-profile-grid,.payment-payable-order-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.payment-payable-order-card{grid-template-columns:minmax(260px,.9fr) minmax(420px,1.4fr);align-items:start}.payment-payable-order-card .payment-payable-order-actions{grid-column:1 / -1}.payment-payable-mobile-list{display:none}.payment-payable-table{display:grid;gap:0;overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.payment-payable-table-row,.payment-payable-table-row.heading{display:grid;grid-template-columns:58px 130px minmax(190px,1.2fr) minmax(160px,.9fr) minmax(150px,1fr) 116px 145px 88px minmax(230px,.95fr);min-width:1267px;gap:0;padding:0;border:0;border-radius:0;border-top:1px solid var(--line);background:var(--surface)}.payment-payable-table-row.heading{border-top:0;background:var(--surface-soft);color:var(--gray);font-size:12px;font-weight:900}.payment-payable-table-row>div,.payment-payable-table-row.heading>span{display:flex;grid-column:auto;min-width:0;align-items:center;padding:8px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;font-size:12px;line-height:1.35}.payment-payable-table-row>div:first-child,.payment-payable-table-row.heading>span:first-child{border-left:0}.payment-payable-table-row>div:before{content:none}.payment-payable-table-row strong{font-size:12px}.payment-table-stack{display:grid!important;gap:2px;align-content:center}.payment-table-stack span,.payment-table-stack small{overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.3}.payment-table-actions{display:flex!important;flex-wrap:wrap;align-content:center;align-items:center;gap:5px!important}.payment-table-actions .primary-button,.payment-table-actions .secondary-button{width:auto;min-height:30px;padding:6px 8px;font-size:12px;white-space:nowrap}.payment-record-card{grid-template-columns:minmax(0,1fr)}.payment-record-compact-card{grid-template-columns:minmax(280px,1.1fr) minmax(220px,.7fr) minmax(220px,.7fr);align-items:start}.payment-record-compact-card .payment-receipt-editor,.payment-record-compact-card .button-row{grid-column:1 / -1}.payment-record-main{grid-template-columns:minmax(0,1fr) minmax(180px,.5fr);align-items:start}.payment-record-query-section .payment-record-card-list{gap:8px}.payment-record-list-card{grid-template-columns:minmax(210px,1.05fr) minmax(120px,.55fr) minmax(180px,.8fr) minmax(90px,.38fr) minmax(160px,auto);align-items:center;gap:8px;padding:10px 12px}.payment-record-list-card>*,.payment-record-list-card .payment-record-main>div{min-width:0}.payment-record-list-card .tag{min-height:20px;padding:2px 7px;font-size:11px}.payment-record-list-card .payment-record-main{display:contents}.payment-record-list-card .payment-record-main>div:first-child h3{margin:2px 0 1px;font-size:14px}.payment-record-list-card .payment-record-main>div:first-child p{font-size:11px;line-height:1.25}.payment-record-list-card .payment-amount-block{gap:1px;padding:6px 8px}.payment-record-list-card .payment-amount-block strong{font-size:16px;line-height:1.15}.payment-record-list-card .payment-amount-block small{overflow:hidden;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.payment-record-list-card .payment-record-meta-strip{grid-template-columns:minmax(0,1fr);gap:3px}.payment-record-list-card .payment-record-meta-strip>div{display:flex;align-items:baseline;gap:5px;padding:0;border:0;border-radius:0;background:transparent}.payment-record-list-card .payment-record-meta-strip span{flex:0 0 auto;font-size:11px;line-height:1.2}.payment-record-list-card .payment-record-meta-strip strong{overflow:hidden;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.payment-record-list-card .payment-record-voucher{align-self:center;align-content:center}.payment-record-list-card .payment-receipt-preview-button{gap:0;padding:2px 0;border:0;background:transparent}.payment-record-list-card .payment-receipt-preview-button strong{font-size:11px;line-height:1.2}.payment-record-list-card .payment-receipt-preview-button span{display:none}.payment-record-list-card>.button-row{grid-column:auto;justify-content:flex-end;flex-wrap:nowrap}.payment-allocation-list{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-receipt-editor{grid-template-columns:minmax(0,1fr) auto}.payment-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.payment-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.payment-row-card{grid-template-columns:minmax(260px,1fr) minmax(180px,.42fr) auto;align-items:center}.payment-row-card.selectable{grid-template-columns:auto minmax(260px,1fr) minmax(190px,.42fr) auto;align-items:center}.payment-row-card.selectable .payment-row-amount,.payment-row-card.selectable .button-row{grid-column:auto}.payment-row-card.selectable .payment-risk-text{grid-column:2 / -1}.payment-export-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.purchase-manual-start-grid{grid-template-columns:minmax(220px,1.2fr) minmax(260px,1.4fr) minmax(120px,.7fr) minmax(120px,.7fr) auto;align-items:end}.purchase-manual-start-button{width:auto;white-space:nowrap}.modal-backdrop{align-items:center;justify-items:center}.modal{width:min(760px,calc(100vw - 40px))}.modal-bottom-action-bar{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 14px}.excel-modal{width:min(920px,calc(100vw - 64px))}.excel-action-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}.excel-template-card{grid-template-columns:minmax(0,1fr)}.excel-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end}.excel-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.excel-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.excel-scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.excel-row-head,.excel-row-foot{grid-template-columns:minmax(0,1fr) auto;align-items:center}.excel-record-row{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:center}.excel-record-row.compact{grid-template-columns:minmax(0,1fr) auto}.excel-record-summary{grid-column:1 / -1}.excel-action-buttons{display:flex;align-items:center;justify-content:flex-end}.purchase-sku-grid,.purchase-detail-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-detail-card-wide{grid-column:1 / -1}.purchase-item-lines{grid-template-columns:repeat(2,minmax(0,1fr))}.sku-decision-hero{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);align-items:start}.purchaser-summary-card{grid-column:1 / -1}.purchaser-fact-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.sku-decision-main-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.34fr);align-items:start}.sku-decision-main-grid-full{grid-template-columns:minmax(0,1fr)}.factor-grid,.decision-tab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-pipeline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-order-row{grid-template-columns:minmax(0,1fr) minmax(230px,.32fr) auto;align-items:center}.purchase-order-row.detailed{grid-template-columns:minmax(0,1fr);align-items:stretch}.purchase-order-head{grid-template-columns:minmax(0,1fr) minmax(210px,.24fr);align-items:start}.purchase-order-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-order-lines-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-order-line-more{grid-column:1 / -1}.purchase-product-head{grid-template-columns:minmax(0,1fr) auto;align-items:start}.purchase-product-tools{grid-template-columns:minmax(140px,.18fr) minmax(260px,1fr) auto;align-items:end}.purchase-order-note-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.purchase-row-actions.detailed{justify-content:flex-end}.purchase-line-row{grid-template-columns:minmax(0,1fr)}.purchase-line-foot{grid-template-columns:minmax(0,1fr) auto;align-items:end}.purchase-history-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.purchase-filters{grid-template-columns:160px 160px 220px minmax(220px,1fr)}.purchase-filters .field:nth-child(n+3){grid-column:auto}.purchase-bottom-buttons{display:flex;align-items:center;justify-content:flex-end}.stack:not(.dashboard){gap:14px}.stack:not(.dashboard)>.page-lead{gap:12px}.stack:not(.dashboard)>.page-lead h1{margin:6px 0 3px;font-size:24px}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip),.stack:not(.dashboard) .payment-summary-strip{gap:10px}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric,.stack:not(.dashboard) .payment-summary-strip .metric{min-height:72px;padding:10px 12px;box-shadow:none}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric strong,.stack:not(.dashboard) .payment-summary-strip .metric strong,.stack:not(.dashboard) .payment-summary-strip .payment-balance-metric strong{margin-top:5px;font-size:20px}.stack:not(.dashboard)>.metrics:not(.payment-summary-strip) .metric small,.stack:not(.dashboard) .payment-summary-strip .metric small{display:none;margin-top:4px;font-size:11px;line-height:1.25}.stack:not(.dashboard) .panel:not(.payment-workbench-section){box-shadow:none}.stack:not(.dashboard) .panel:not(.payment-workbench-section)>.panel-header{padding:12px 14px}.stack:not(.dashboard) .panel:not(.payment-workbench-section)>.panel-body{padding:14px}.stack:not(.dashboard) .dashboard-columns{gap:12px}.stack:not(.dashboard) .detail-grid,.stack:not(.dashboard) .purchase-detail-overview,.stack:not(.dashboard) .purchase-detail-grid,.stack:not(.dashboard) .delivery-card-list,.stack:not(.dashboard) .base-info-card-list,.stack:not(.dashboard) .approval-list,.stack:not(.dashboard) .approval-card-list{gap:10px}.stack:not(.dashboard) .detail-card{padding:9px 10px}.stack:not(.dashboard) .purchase-order-list.detailed{gap:10px}.stack:not(.dashboard) .purchase-order-row.detailed{gap:8px;padding:10px 12px}.stack:not(.dashboard) .purchase-order-head{grid-template-columns:minmax(0,1fr) minmax(190px,.24fr);align-items:center;gap:8px}.stack:not(.dashboard) .purchase-order-money,.stack:not(.dashboard) .purchase-order-category-row,.stack:not(.dashboard) .purchase-order-meta-item,.stack:not(.dashboard) .purchase-order-note-row>div,.stack:not(.dashboard) .delivery-card-metric,.stack:not(.dashboard) .delivery-line-preview>div,.stack:not(.dashboard) .delivery-meta-grid>div,.stack:not(.dashboard) .base-info-card-grid div,.stack:not(.dashboard) .base-info-supplier-product-head,.stack:not(.dashboard) .base-info-subsection,.stack:not(.dashboard) .base-info-nested-card{padding:7px 9px}.stack:not(.dashboard) .purchase-order-money strong{font-size:18px}.stack:not(.dashboard) .purchase-order-meta-grid,.stack:not(.dashboard) .purchase-order-summary-strip,.stack:not(.dashboard) .purchase-order-lines-preview,.stack:not(.dashboard) .purchase-order-note-row,.stack:not(.dashboard) .delivery-meta-grid,.stack:not(.dashboard) .delivery-line-preview,.stack:not(.dashboard) .base-info-card-grid{gap:6px}.stack:not(.dashboard) .purchase-order-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.stack:not(.dashboard) .purchase-order-summary-strip .purchase-order-meta-item{display:grid}.stack:not(.dashboard) .delivery-card-list{grid-template-columns:minmax(0,1fr)}.stack:not(.dashboard) .delivery-card{gap:8px;padding:10px 12px}.stack:not(.dashboard) .delivery-card-head{align-items:center}.stack:not(.dashboard) .delivery-card-head h3,.stack:not(.dashboard) .base-info-card h3{margin:2px 0;font-size:15px}.stack:not(.dashboard) .delivery-card-metric{flex-basis:118px}.stack:not(.dashboard) .base-info-card{gap:8px;padding:10px 12px}.stack:not(.dashboard) .base-info-subsection,.stack:not(.dashboard) .base-info-supplier-product-group{gap:8px}.stack:not(.dashboard) .approval-list-row{gap:8px;padding:10px 12px}.placeholder-card{min-height:148px;align-content:space-between;box-shadow:var(--shadow)}.primary-button,.secondary-button,.ghost-button{border-radius:6px;padding:8px 13px}}@media(min-width:1180px){.payment-supplier-grid .payment-supplier-card{grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr) auto}.payment-supplier-grid .payment-supplier-card .payment-card-head{grid-column:auto}.payment-supplier-grid .payment-supplier-scan{grid-template-columns:minmax(150px,1.05fr) minmax(140px,.95fr) minmax(140px,.95fr) minmax(190px,1.15fr)}.payment-supplier-grid .payment-supplier-detail-button{grid-column:auto;grid-row:auto}}.purchase-recommend-page.page-with-bottom-action{padding-bottom:calc(260px + env(safe-area-inset-bottom))}.purchase-locator-panel{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.purchase-direct-picker-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.purchase-direct-picker-grid .field{min-width:0}.purchase-picker-field{position:relative}.purchase-picker-control{display:grid;grid-template-columns:minmax(0,1fr)}.purchase-picker-field input{min-width:0;min-height:42px;overflow:hidden;padding:8px 34px 8px 10px;border:1px solid #cfe0f7;border-radius:8px;background:#f8fbff;color:var(--ink);font-size:13px;font-weight:900;text-overflow:ellipsis}.purchase-picker-field input:disabled{cursor:not-allowed;opacity:.62}.purchase-picker-menu{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:55;display:grid;max-height:310px;overflow:auto;border:1px solid #bfdbfe;border-radius:8px;background:#fff;box-shadow:0 18px 44px #0f172a2e}.purchase-picker-option{display:grid;width:100%;min-width:0;gap:3px;padding:9px 10px;border:0;border-bottom:1px solid #e5edf8;border-radius:0;background:#fff;color:var(--ink);text-align:left}.purchase-picker-option:last-of-type{border-bottom:0}.purchase-picker-option:hover,.purchase-picker-option.active{background:#eff6ff}.purchase-picker-option strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.purchase-picker-option span{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:11px;font-weight:800;line-height:1.35}.purchase-picker-empty{padding:12px 10px;color:var(--muted);font-size:13px;font-weight:800}.purchase-locator-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:8px}.purchase-locator-search .field{min-width:0}.purchase-toggle{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;color:var(--ink);font-size:13px;font-weight:900;white-space:nowrap}.purchase-toggle input{width:auto;min-height:auto}.purchase-supplier-index{display:grid;gap:8px}.purchase-supplier-index-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.purchase-supplier-index-head strong{color:var(--ink);font-size:14px}.purchase-supplier-index-head span{color:var(--muted);font-size:12px;font-weight:800}.purchase-supplier-index-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.purchase-supplier-index-list button{display:grid;flex:0 0 172px;min-width:0;gap:4px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left}.purchase-supplier-index-list button.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px #2563eb1f}.purchase-supplier-index-list strong{min-width:0;overflow:hidden;font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.purchase-supplier-index-list span{min-width:0;overflow:hidden;color:var(--muted);font-size:11px;font-weight:800;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.purchase-supplier-total{display:grid;gap:3px;padding:8px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;text-align:left}.purchase-supplier-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.purchase-supplier-total strong{color:var(--blue);font-size:15px;line-height:1.2}.purchase-supplier-total span{color:var(--gray);font-size:12px;font-weight:800}.purchase-recommend-lead-meta{margin-top:4px;color:var(--gray);font-size:14px;font-weight:800}.purchase-recommend-lead-meta.stale{color:#dc2626}.purchase-recommend-bottom-bar.bottom-action-bar{max-height:calc(100vh - 112px - env(safe-area-inset-bottom));overflow:auto}.purchase-add-sku-modal{width:min(820px,100%);margin:0 auto}.purchase-inventory-modal{width:min(1040px,100%);margin:0 auto}.purchase-inventory-modal .modal-body{gap:10px;padding:10px 14px 12px}.purchase-batch-price-modal{width:min(820px,100%);margin:0 auto}.purchase-batch-price-body{align-content:start}.purchase-batch-price-all,.purchase-batch-price-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,170px) auto;gap:12px;align-items:end;padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff}.purchase-batch-price-all>div,.purchase-batch-price-row>div,.purchase-batch-price-section-title{display:grid;min-width:0;gap:4px}.purchase-batch-price-all strong,.purchase-batch-price-row strong,.purchase-batch-price-section-title strong{color:var(--ink);font-size:14px}.purchase-batch-price-all span,.purchase-batch-price-row span,.purchase-batch-price-section-title span{color:var(--muted);font-size:12px;line-height:1.45}.purchase-batch-price-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-batch-price-bundles{display:grid;gap:10px}.purchase-batch-price-section-title{padding:2px}.purchase-inventory-summary{display:flex;flex-wrap:wrap;gap:8px}.purchase-inventory-summary span{padding:6px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#475569;font-size:12px}.purchase-inventory-summary strong{color:var(--blue)}.purchase-inventory-model-group{display:grid;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.purchase-inventory-model-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line);background:#f8fafc}.purchase-inventory-model-header strong{color:var(--ink);font-size:14px}.purchase-inventory-model-header span{color:var(--muted);font-size:12px;font-weight:800}.purchase-inventory-table-wrap{max-width:100%;max-height:min(570px,calc(100vh - 250px));overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff}.purchase-inventory-table{width:100%;min-width:620px;border-collapse:collapse;font-size:11.5px}.purchase-inventory-table th,.purchase-inventory-table td{padding:6px 10px;border-bottom:1px solid #e8eef6;text-align:right;white-space:nowrap}.purchase-inventory-table th{position:sticky;top:0;z-index:2;background:#f8fbff;color:#64748b;font-weight:800;box-shadow:0 1px #dbe5f1}.purchase-inventory-table th:first-child,.purchase-inventory-table td:first-child,.purchase-inventory-table th:nth-child(2),.purchase-inventory-table td:nth-child(2){text-align:left}.purchase-inventory-table tbody tr:last-child td{border-bottom:0}.purchase-inventory-table td:first-child strong{color:var(--blue)}@media(max-width:720px){.purchase-batch-price-all,.purchase-batch-price-row{grid-template-columns:1fr;align-items:stretch}}.purchase-add-sku-list{display:grid;gap:8px}.purchase-add-sku-row{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(0,1.6fr) minmax(92px,.45fr);gap:10px;align-items:center;padding:10px;border:1px solid #dbe7f5;border-radius:8px;background:#f8fbff}.purchase-add-sku-main{display:grid;min-width:0;gap:3px}.purchase-add-sku-main strong,.purchase-add-sku-main span,.purchase-add-sku-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-add-sku-main strong{color:var(--blue);font-size:13px}.purchase-add-sku-main span,.purchase-add-sku-main small{color:var(--muted);font-size:12px}.purchase-add-sku-quantity input{min-height:36px}@media(max-width:720px){.purchase-recommend-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-recommend-summary-strip div:last-child{grid-column:1 / -1}}@media(max-width:520px){.purchase-recommend-page.page-with-bottom-action{padding-bottom:calc(260px + env(safe-area-inset-bottom))}.purchase-locator-search{grid-template-columns:minmax(0,1fr)}.purchase-toggle{justify-content:flex-start}.purchase-supplier-index-head{display:grid}.purchase-supplier-total{width:100%}}@media(min-width:900px){.purchase-recommend-page.page-with-bottom-action{padding-bottom:136px}.purchase-direct-picker-grid{display:contents}.purchase-locator-panel{position:sticky;top:12px;z-index:10;align-items:end;grid-template-columns:minmax(160px,.85fr) minmax(160px,.85fr) minmax(180px,1fr) minmax(280px,1.15fr)}.purchase-locator-search{grid-column:auto;min-width:0}.purchase-supplier-panel>.panel-header{flex-direction:row;align-items:center;justify-content:space-between}.purchase-recommend-bottom-bar.bottom-action-bar{grid-template-columns:minmax(0,1fr) auto;align-items:center}.purchase-recommend-bottom-bar .bottom-action-buttons{display:flex}}@media(max-width:1180px){.delivery-list-row-main{grid-template-columns:minmax(0,1.4fr) minmax(150px,.85fr) minmax(150px,.85fr)}.delivery-list-summary-grid,.delivery-list-actions{grid-column:1 / -1}}@media(max-width:720px){.purchase-product-status-filters{grid-template-columns:minmax(0,1fr)}.purchase-product-status-table-wrap{overflow:visible}.purchase-product-status-table,.purchase-product-status-table thead,.purchase-product-status-table tbody,.purchase-product-status-table tr,.purchase-product-status-table td{display:block;min-width:0}.purchase-product-status-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.purchase-product-status-table tbody{display:grid;gap:8px}.purchase-product-status-table tr{padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.purchase-product-status-table tbody tr:nth-child(2n) td,.purchase-product-status-table tbody tr.active td{background:transparent}.purchase-product-status-table tbody tr.active{border-color:#93c5fd;background:#eff6ff}.purchase-product-status-table tr.purchase-product-inline-log-row{padding:0;border-color:#bfdbfe;background:#f8fbff}.purchase-product-status-table tr.purchase-product-inline-log-row>td{display:block;padding:10px;border-bottom:0}.purchase-product-status-table tr.purchase-product-inline-log-row>td:before{content:none}.purchase-product-inline-log-header{align-items:flex-start;flex-direction:column}.purchase-product-inline-log-header .secondary-button.compact{width:100%}.purchase-product-status-table td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;padding:6px 0;border-bottom:1px solid #e5edf7;overflow-wrap:anywhere}.purchase-product-status-table td:last-child{border-bottom:0}.purchase-product-status-table td:before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:900}.purchase-product-status-empty{display:block!important;text-align:left!important}.purchase-product-log-desktop{display:none}.purchase-product-log-mobile{display:grid;gap:7px}.purchase-product-change-row header{align-items:center;flex-direction:row}.purchase-product-mobile-change-row{grid-template-columns:minmax(64px,1fr) minmax(54px,auto) minmax(68px,auto)}.delivery-fact-table,.delivery-logistics-summary,.delivery-package-ledger-facts{grid-template-columns:minmax(0,1fr)}.delivery-fact-row{grid-template-columns:minmax(84px,.36fr) minmax(0,1fr)}.delivery-ledger-body{padding:10px!important}.delivery-sku-ledger-list,.delivery-correction-record-list{padding:10px}.delivery-sku-ledger-row,.delivery-correction-record-row{grid-template-columns:minmax(0,1fr)}.delivery-package-ledger-row header{display:grid}.delivery-package-ledger-row header>span{justify-self:start}.delivery-package-ledger-header-actions{flex-wrap:wrap;justify-content:flex-start}.delivery-package-sku-row{grid-template-columns:minmax(0,1fr)}.delivery-timeline-row{grid-template-columns:minmax(0,1fr);gap:3px}.delivery-list-row-main{grid-template-columns:minmax(0,1fr);gap:7px}.delivery-list-summary-grid,.logistics-workbench-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.logistics-domestic-summary,.logistics-package-line{grid-template-columns:minmax(0,1fr)}.delivery-list-actions{justify-content:stretch}.delivery-list-actions .primary-button,.delivery-list-actions .secondary-button,.delivery-list-actions .danger-button{flex:1 1 72px}.delivery-package-detail-header{display:grid}}.payment-bill-calculation,.payment-bill-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.payment-bill-calculation>div,.payment-bill-result-grid>div{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid var(--border-color, #d7e0eb);border-radius:6px;background:#f8fafc}.payment-bill-calculation span,.payment-bill-result-grid span,.payment-bill-basis>span{color:#64748b;font-size:12px}.payment-bill-calculation strong,.payment-bill-result-grid strong{overflow-wrap:anywhere}.payment-bill-calculation .is-warning{border-color:#f0b5b5;background:#fff5f5}.payment-bill-result-grid .is-adjusted{border-color:#f0c36a;background:#fff8e8}.payment-bill-result-grid small{color:#64748b;overflow-wrap:anywhere}.payment-bill-basis{display:grid;gap:4px}.payment-bill-basis small{color:#64748b}.payment-bill-basis .warning-text{color:#b42318;font-weight:700}.payment-bill-adjustment-preview,.purchase-amount-audit{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px;align-items:center;padding:10px 12px;border:1px solid #f0c36a;border-radius:6px;background:#fff8e8}.payment-bill-adjustment-preview small,.purchase-amount-audit small{grid-column:2;color:#74520d}.purchase-amount-confirmation{border-top:1px solid var(--border-color, #d7e0eb)}.purchase-amount-difference{align-content:start}.purchase-amount-difference strong{min-height:38px;display:flex;align-items:center}.purchase-amount-difference strong.is-adjusted{color:#9a6700}.purchase-amount-difference .text-button{justify-self:start}@media(max-width:720px){.payment-bill-calculation,.payment-bill-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-bill-actions .primary-button{min-height:44px;padding-inline:8px;white-space:normal;line-height:1.25}.payment-bill-adjustment-preview,.purchase-amount-audit{grid-template-columns:1fr}.payment-bill-adjustment-preview small,.purchase-amount-audit small{grid-column:1}}@media(max-width:720px){.payment-supplier-choice-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.payment-supplier-choice-row>strong,.payment-supplier-choice-row>.tag{justify-self:end}.payment-supplier-choice-row>.secondary-button{grid-column:1 / -1;justify-self:start}}.dingtalk-notification-page{gap:10px}.dingtalk-switch-panel{border-left:3px solid var(--blue)}.dingtalk-switch-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:0;padding:0}.dingtalk-switch-main{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.dingtalk-switch-main>div{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:4px 10px}.dingtalk-switch-main strong{font-size:15px}.dingtalk-switch-main small{grid-column:2;color:var(--muted)}.switch-control{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;cursor:pointer}.switch-control input{position:absolute;inline-size:1px;block-size:1px;opacity:0}.switch-control>span{position:relative;inline-size:38px;block-size:22px;border:1px solid #b8c4d4;border-radius:11px;background:#dce3ec;transition:background .14s ease}.switch-control>span:after{position:absolute;inset-block-start:2px;inset-inline-start:2px;inline-size:16px;block-size:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a40;content:"";transition:transform .14s ease}.switch-control input:checked+span{border-color:var(--blue);background:var(--blue)}.switch-control input:checked+span:after{transform:translate(16px)}.switch-control input:focus-visible+span{outline:2px solid rgba(37,99,235,.32);outline-offset:2px}.switch-control input:disabled+span{cursor:wait;opacity:.55}.switch-control b{min-width:42px;font-size:13px}.switch-control.compact>span{inline-size:32px;block-size:18px}.switch-control.compact>span:after{inline-size:12px;block-size:12px}.switch-control.compact input:checked+span:after{transform:translate(14px)}.dingtalk-gate-state{display:grid;align-content:center;gap:2px;padding:12px 16px;border-left:1px solid var(--line);background:var(--surface-soft)}.dingtalk-gate-state span,.dingtalk-gate-state small{color:var(--muted);font-size:11px}.dingtalk-gate-state strong.ok{color:var(--green)}.dingtalk-gate-state strong.off{color:var(--red)}.dingtalk-notification-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.dingtalk-notification-tabs{display:flex;gap:2px;padding:0 10px;border-bottom:1px solid var(--line);background:var(--surface)}.dingtalk-notification-tabs button{min-height:40px;padding:7px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:700;cursor:pointer}.dingtalk-notification-tabs button.active{border-bottom-color:var(--blue);color:var(--blue)}.notification-rule-list{display:grid;gap:8px}.notification-rule-row{border:1px solid var(--line);border-radius:6px;background:var(--surface)}.notification-rule-row>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.notification-rule-row>header>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 8px}.notification-rule-row>header span{padding:2px 6px;border-radius:4px;background:var(--gray-bg);color:var(--gray);font-size:11px;font-weight:700}.notification-rule-row>header strong{font-size:14px}.notification-rule-row>header small{grid-column:2;color:var(--muted)}.notification-rule-controls{display:grid;grid-template-columns:170px minmax(190px,1fr) minmax(220px,1fr) auto;align-items:end;gap:10px;padding:10px 12px}.notification-channel-control{display:grid;gap:5px}.check-row{display:inline-flex;align-items:center;gap:6px;min-height:18px;color:var(--ink);font-size:12px;font-weight:700}.fixed-recipient-list{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px}.fixed-recipient-list label{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff}.fixed-recipient-list small{color:var(--muted)}.dingtalk-group-list{display:grid;gap:8px}.dingtalk-group-row{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(260px,1fr);gap:10px 16px;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.dingtalk-group-heading{display:grid;align-content:center;gap:4px}.dingtalk-group-heading>div{display:flex;align-items:center;gap:8px}.dingtalk-group-heading small{color:var(--muted);overflow-wrap:anywhere}.dingtalk-binding-code{display:flex;align-items:center;justify-content:flex-end;gap:8px}.dingtalk-binding-code>span{color:var(--muted);font-size:12px}.dingtalk-binding-code>strong{padding:5px 8px;border:1px dashed #8da7cd;border-radius:4px;background:#fff;color:var(--blue);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0}.dingtalk-group-edit{display:grid;grid-column:1 / -1;grid-template-columns:minmax(130px,.7fr) minmax(240px,1.4fr) minmax(160px,.9fr) 100px auto;align-items:end;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.notification-table-wrap{overflow-x:auto}.notification-table{width:100%;border-collapse:collapse;font-size:13px}.notification-table th,.notification-table td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.notification-table th{background:var(--surface-soft);color:var(--muted);font-size:11px}.notification-table th .context-help-button{margin-left:3px;vertical-align:middle}.notification-table td strong,.notification-table td small{display:block}.notification-table td small{margin-top:2px;color:var(--muted)}.compact-filter{grid-template-columns:auto 150px;align-items:center}.dingtalk-group-modal{width:min(560px,calc(100vw - 24px))}.notification-user-preference-modal{width:min(720px,calc(100vw - 24px))}.notification-user-preference-body{display:grid;gap:12px;padding:12px}.preference-master-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 10px;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft)}.preference-master-switch>span:first-child{display:grid;gap:2px}.preference-master-switch small,.preference-option-section header small{color:var(--muted);font-size:11px}.preference-option-section{border:1px solid var(--line);border-radius:4px}.preference-option-section>header{display:flex;align-items:baseline;gap:8px;padding:7px 9px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.preference-checkbox-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.preference-checkbox-grid label{display:flex;align-items:center;gap:6px;min-height:36px;padding:6px 9px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.preference-checkbox-grid label:nth-child(4n){border-right:0}.preference-checkbox-grid.rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preference-checkbox-grid.rule-grid label:nth-child(4n){border-right:1px solid var(--line)}.preference-checkbox-grid.rule-grid label:nth-child(2n){border-right:0}.preference-checkbox-grid label small{margin-left:auto;color:var(--muted);font-size:10px}.status-badge.pending,.status-badge.unbound{background:var(--yellow-bg);color:var(--yellow)}.status-badge.bound,.status-badge.success{background:var(--green-bg);color:var(--green)}.status-badge.disabled,.status-badge.unavailable,.status-badge.muted{background:var(--gray-bg);color:var(--gray)}.dingtalk-status-table{position:relative;display:grid;grid-template-columns:115px 100px minmax(210px,1fr) repeat(4,80px) 112px;overflow:visible;border-radius:4px}.dingtalk-status-cell{display:grid;align-content:center;gap:2px;min-width:0;min-height:52px;padding:7px 10px;border-right:1px solid var(--line)}.dingtalk-status-cell:last-of-type{border-right:0}.dingtalk-status-cell>span{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;line-height:1.2}.context-help-button{display:inline-grid;flex:0 0 auto;inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px;padding:0;border:1px solid #91a4bd;border-radius:50%;background:#fff;color:#506681;font-size:11px;font-weight:800;line-height:1;cursor:help;place-items:center}.context-help-button:hover,.context-help-button:focus-visible{border-color:var(--blue);outline:0;background:#edf5ff;color:var(--blue)}.context-help{position:relative;display:inline-flex;flex:0 0 auto}.context-help-popover{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-start:50%;z-index:5000;width:max-content;max-width:min(320px,calc(100vw - 20px));padding:8px 10px;border:1px solid #9fb2ca;border-radius:4px;background:#172235;box-shadow:0 8px 22px #0f172a38;color:#fff;font-size:12px;font-weight:500;line-height:1.5;letter-spacing:0;opacity:0;pointer-events:none;transform:translate(-50%);visibility:hidden}.context-help:hover .context-help-popover,.context-help:focus-within .context-help-popover{opacity:1;visibility:visible}.dingtalk-status-cell:first-child .context-help-popover,.notification-table th:first-child .context-help-popover{inset-inline-start:0;transform:none}.dingtalk-status-cell:nth-child(n+6) .context-help-popover,.notification-table th:last-child .context-help-popover{inset-inline-start:auto;inset-inline-end:0;transform:none}.dingtalk-status-cell>strong{overflow:hidden;color:var(--ink);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.dingtalk-status-cell.primary{border-left:3px solid var(--blue)}.dingtalk-status-cell strong.ok{color:var(--green)}.dingtalk-status-cell strong.off{color:var(--red)}.dingtalk-status-cell.number strong{color:var(--blue);font-size:16px}.dingtalk-status-cell.switch{justify-items:start}.dingtalk-status-note{grid-column:1 / -1;padding:5px 10px;border-top:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-size:11px;line-height:1.25}.notification-rule-table-panel{overflow:visible;border-radius:4px}.notification-rule-table{min-width:920px;table-layout:fixed;font-size:12px}.notification-rule-table th:nth-child(1){width:27%}.notification-rule-table th:nth-child(2){width:15%}.notification-rule-table th:nth-child(3){width:18%}.notification-rule-table th:nth-child(4){width:23%}.notification-rule-table th:nth-child(5){width:10%}.notification-rule-table th:nth-child(6){width:7%}.notification-rule-table th,.notification-rule-table td{height:39px;padding:4px 8px}.notification-rule-table tbody tr:hover{background:#f8fbff}.notification-rule-table select{width:100%;min-width:0;height:30px;padding:3px 24px 3px 7px;border:1px solid var(--line);border-radius:4px;background-color:#fff;font-size:12px}.notification-rule-name{display:flex;align-items:center;gap:6px}.notification-rule-name>span{padding:1px 5px;border-radius:3px;background:var(--gray-bg);color:var(--gray);font-size:10px;font-weight:700}.notification-rule-name>strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.notification-rule-name .context-help-button{margin-left:auto}.notification-rule-name .context-help-popover{inset-block-start:50%;inset-inline-start:calc(100% + 7px);transform:translateY(-50%)}.message-capability-value{color:var(--ink);font-size:12px;font-weight:700}.compact-channel-check{display:inline-flex;flex:0 0 auto;align-items:center;min-height:14px;color:var(--muted);font-size:10px}.compact-channel-check input,.fixed-recipient-table-row input,.plain-switch-check input,.preference-checkbox-grid input{inline-size:14px;block-size:14px;min-inline-size:14px;margin:0;accent-color:var(--blue)}.plain-switch-check{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.plain-switch-check span{color:var(--muted);font-size:11px}.rule-channel-cell{display:flex;align-items:center;gap:5px}.rule-channel-cell select{min-width:0}.compact-button{min-height:30px;padding:4px 8px;font-size:12px}.fixed-recipient-table-row td{background:#f7faff}.fixed-recipient-table-row td>strong{display:inline;margin-right:8px}.fixed-recipient-table-row label{display:inline-flex;align-items:center;gap:4px;margin-right:10px}@media(max-width:900px){.dingtalk-switch-layout,.dingtalk-group-row{grid-template-columns:1fr}.dingtalk-gate-state{border-top:1px solid var(--line);border-left:0}.notification-rule-controls,.dingtalk-group-edit{grid-template-columns:repeat(2,minmax(0,1fr))}.dingtalk-binding-code{justify-content:flex-start}.dingtalk-status-table{grid-template-columns:repeat(4,minmax(0,1fr))}.dingtalk-status-cell.queue{grid-column:span 2}}@media(max-width:620px){.dingtalk-switch-main{align-items:flex-start}.dingtalk-switch-main>div{grid-template-columns:1fr}.dingtalk-switch-main small{grid-column:1}.dingtalk-notification-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dingtalk-notification-tabs{overflow-x:auto}.dingtalk-notification-tabs button{flex:0 0 auto}.notification-rule-controls,.dingtalk-group-edit{grid-template-columns:1fr}.notification-rule-row>header{align-items:flex-start}.dingtalk-binding-code{flex-wrap:wrap}.dingtalk-status-table{grid-template-columns:repeat(2,minmax(0,1fr))}.dingtalk-status-cell{min-height:46px;padding:6px 8px;border-bottom:1px solid var(--line)}.dingtalk-status-cell.queue{grid-column:1 / -1}.dingtalk-status-note{display:none}.preference-checkbox-grid,.preference-checkbox-grid.rule-grid{grid-template-columns:1fr}.preference-checkbox-grid label,.preference-checkbox-grid.rule-grid label:nth-child(4n){border-right:0}}
