:root{--control-height: 42px;--nav: #0b6fb8;--nav-mid: #1595cf;--nav-deep: #073b78;--nav-active: #1b8de3;--nav-active-2: #14b8a6;--bg: #eef3f9;--page-bg-top: #eef5fd;--page-bg-mid: #f8fbff;--page-bg-bottom: #edf4fb;--brand-bg: rgba(5, 78, 149, .18);--brand-a: #1b8de3;--brand-b: #14b8a6;--accent: #1476d4;--accent-2: #10a7dc;--accent-3: #12a678;--accent-soft: #f2f8ff;--accent-soft-2: #e8f3ff;--accent-border: #b9d6f6;--surface-bg: #ffffff;--surface-soft: #f8fbff;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);--table-head-bg: #f2f7fd;--hover-bg: #f3f8ff;--focus-ring: rgba(20, 118, 212, .1);--primary-start: #2084e6;--primary-end: #1476d4;--primary-hover-start: #2d91f1;--primary-hover-end: #126bc2;--ai-bg: #eef3fa;--ai-panel: #ffffff;--ai-soft: #f3f8fe;--panel: #ffffff;--panel-soft: #f7faff;--line: #d8e4f2;--text: #16243a;--muted: #5d6e86;--blue: #1476d4;--indigo: #3457d5;--green: #12a678;--teal: #0e9f9a;--orange: #f59e0b;--red: #ef4444;--purple: #7b61ff;--cyan: #0891b2;--shadow: 0 8px 22px rgba(15, 39, 72, .07);--shadow-soft: 0 2px 8px rgba(15, 39, 72, .05)}html[data-theme=cyan]{--nav: #057b92;--nav-mid: #0ea5b8;--nav-deep: #075b78;--nav-active: #0ea5b8;--nav-active-2: #15c8c0;--page-bg-top: #edfafa;--page-bg-mid: #f8ffff;--page-bg-bottom: #eef8fb;--brand-bg: rgba(5, 123, 146, .22);--brand-a: #0ea5b8;--brand-b: #12a678;--accent: #0f8aa7;--accent-2: #15c8c0;--accent-3: #12a678;--accent-soft: #f0fbfb;--accent-soft-2: #e0f7f7;--accent-border: #a9e3e4;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #f3fcfc 100%);--table-head-bg: #eefafa;--hover-bg: #effbfb;--focus-ring: rgba(15, 138, 167, .12);--primary-start: #14b8c4;--primary-end: #0f8aa7;--primary-hover-start: #21c6ce;--primary-hover-end: #087b92;--ai-bg: #edfafa;--ai-soft: #eefbfb;--blue: #0f8aa7;--teal: #10b9aa}html[data-theme=violet]{--nav: #5146b8;--nav-mid: #6d5df0;--nav-deep: #393083;--nav-active: #7357ff;--nav-active-2: #9d7bff;--page-bg-top: #f3f1ff;--page-bg-mid: #fbfaff;--page-bg-bottom: #f0f3fb;--brand-bg: rgba(81, 70, 184, .22);--brand-a: #7357ff;--brand-b: #18a7d6;--accent: #5d5be8;--accent-2: #9d7bff;--accent-3: #18a7d6;--accent-soft: #f6f4ff;--accent-soft-2: #edeaff;--accent-border: #cbc4fb;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);--table-head-bg: #f5f3ff;--hover-bg: #f7f5ff;--focus-ring: rgba(93, 91, 232, .12);--primary-start: #7567f2;--primary-end: #5d5be8;--primary-hover-start: #8577ff;--primary-hover-end: #4d46ca;--ai-bg: #f3f1ff;--ai-soft: #f6f4ff;--blue: #5d5be8;--purple: #7357ff}html[data-theme=warm]{--nav: #b55d07;--nav-mid: #d97706;--nav-deep: #8a3f05;--nav-active: #f59e0b;--nav-active-2: #f97316;--page-bg-top: #fff7ed;--page-bg-mid: #fffdf8;--page-bg-bottom: #f4f7fb;--brand-bg: rgba(181, 93, 7, .2);--brand-a: #f59e0b;--brand-b: #ef4444;--accent: #d97706;--accent-2: #f97316;--accent-3: #ef4444;--accent-soft: #fff7ed;--accent-soft-2: #ffedd5;--accent-border: #fed7aa;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);--table-head-bg: #fff7ed;--hover-bg: #fff7ed;--focus-ring: rgba(217, 119, 6, .12);--primary-start: #f59e0b;--primary-end: #d97706;--primary-hover-start: #fbbf24;--primary-hover-end: #c65e05;--ai-bg: #fff7ed;--ai-soft: #fff5e8;--blue: #d97706;--orange: #f59e0b}html[data-theme=emerald]{--nav: #087a55;--nav-mid: #10a06f;--nav-deep: #075f47;--nav-active: #12a678;--nav-active-2: #0ea5e9;--page-bg-top: #effaf5;--page-bg-mid: #fbfffd;--page-bg-bottom: #edf6fb;--brand-bg: rgba(8, 122, 85, .22);--brand-a: #12a678;--brand-b: #0ea5e9;--accent: #0d8f74;--accent-2: #12a678;--accent-3: #0ea5e9;--accent-soft: #effaf5;--accent-soft-2: #dcf6eb;--accent-border: #a8e4cc;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #f4fcf8 100%);--table-head-bg: #effaf5;--hover-bg: #f0fbf6;--focus-ring: rgba(13, 143, 116, .12);--primary-start: #14b986;--primary-end: #0d8f74;--primary-hover-start: #20c997;--primary-hover-end: #087a55;--ai-bg: #effaf5;--ai-soft: #f0fbf6;--blue: #0d8f74;--green: #12a678}html[data-theme=gray]{--nav: #475569;--nav-mid: #64748b;--nav-deep: #334155;--nav-active: #64748b;--nav-active-2: #94a3b8;--page-bg-top: #f1f5f9;--page-bg-mid: #fbfcfe;--page-bg-bottom: #eef2f6;--brand-bg: rgba(51, 65, 85, .24);--brand-a: #64748b;--brand-b: #94a3b8;--accent: #475569;--accent-2: #94a3b8;--accent-3: #0ea5e9;--accent-soft: #f1f5f9;--accent-soft-2: #e2e8f0;--accent-border: #cbd5e1;--topbar-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);--table-head-bg: #f1f5f9;--hover-bg: #f8fafc;--focus-ring: rgba(71, 85, 105, .12);--primary-start: #64748b;--primary-end: #475569;--primary-hover-start: #718096;--primary-hover-end: #334155;--ai-bg: #f1f5f9;--ai-soft: #f8fafc;--blue: #475569;--indigo: #64748b;--teal: #64748b}*{box-sizing:border-box}body{margin:0;min-width:1180px;color:var(--text);background:linear-gradient(180deg,var(--page-bg-top) 0%,var(--page-bg-mid) 46%,var(--page-bg-bottom) 100%);font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;letter-spacing:0}@media(max-width:760px){body{min-width:0}.app-shell{display:block}.sidebar,.sidebar-resizer{display:none}.topbar{height:auto;min-height:60px;padding:10px 14px}.top-actions .global-search,.top-actions .icon-btn,.settings-menu-root{display:none}.mobile-rpa-entry{display:inline-flex}.content-grid{padding:0 12px 18px}.rpa-layout{grid-template-columns:1fr;gap:12px}.rpa-panel{padding:14px}.rpa-form-grid{grid-template-columns:1fr}.rpa-form-grid .wide,.rpa-fieldset.wide{grid-column:auto}.rpa-panel .panel-head,.rpa-filter{align-items:stretch;flex-direction:column}.rpa-filter select{width:100%}}.mobile-rpa-entry{display:none}.mobile-management-nav{position:relative;display:none}.mobile-management-menu{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:grid;width:max-content;min-width:168px;padding:6px;background:var(--surface-bg);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 26px #1a2f4929}.mobile-management-menu[hidden]{display:none}.mobile-management-menu [role=menuitem]{width:100%;min-height:38px;padding:0 10px;color:var(--text);background:transparent;border:0;border-radius:6px;text-align:left}.mobile-management-menu [role=menuitem]:hover,.mobile-management-menu [role=menuitem]:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}@media(max-width:760px){.mobile-management-nav,.mobile-rpa-entry{display:inline-flex}}button,input,select,textarea{font:inherit}button{cursor:pointer}.rpa-notice{margin:18px 0;padding:12px 14px;color:#34465e;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:10px;font-size:13px;line-height:1.65}.rpa-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;align-items:start}.rpa-panel{padding:18px}.rpa-panel .panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.rpa-panel h3{margin:0;color:var(--text);font-size:16px}.rpa-panel .panel-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.rpa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rpa-form-grid .wide,.rpa-fieldset.wide{grid-column:1 / -1}.rpa-form-grid textarea,.rpa-form-grid input[type=date],.rpa-schedule-time input,.rpa-filter select{width:100%;min-height:38px;padding:8px 10px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:7px}.rpa-form-grid textarea{min-height:76px;resize:vertical}.rpa-form-grid .field>span,.rpa-fieldset legend,.rpa-schedule-time{display:block;margin-bottom:6px;color:var(--muted);font-size:12px;font-weight:700}.rpa-fieldset{min-width:0;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px}.rpa-fieldset label{display:inline-flex;align-items:center;gap:6px;margin:3px 14px 3px 0;color:var(--text);font-size:13px}.rpa-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:15px}.rpa-schedule-time{margin:0}.rpa-schedule-time input{display:block;width:105px;margin-top:4px}.rpa-events{margin-top:18px}.rpa-filter{display:flex;align-items:end;gap:8px;color:var(--muted);font-size:12px}.rpa-filter select{width:106px;margin-top:4px}.rpa-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.rpa-table{width:100%;min-width:700px;border-collapse:collapse;font-size:12px}.rpa-table th,.rpa-table td{padding:10px 11px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;word-break:break-word}.rpa-table th{color:#435a77;background:var(--table-head-bg);font-weight:700;white-space:nowrap}.rpa-table tbody tr:last-child td{border-bottom:0}.rpa-empty{padding:28px!important;color:var(--muted);text-align:center!important}.rpa-status{display:inline-block;padding:3px 7px;border-radius:999px;font-weight:700;line-height:1.3;white-space:nowrap}.rpa-status-pass{color:#087552;background:#e7f8ef}.rpa-status-risk{color:#b42318;background:#fff0ee}.rpa-status-neutral{color:#52677f;background:#edf3f9}.rpa-row-actions{display:flex;flex-wrap:wrap;gap:6px}.rpa-inline-action{min-height:30px;padding:5px 8px;font-size:12px;white-space:nowrap}.rpa-manual-action{min-width:260px;max-width:420px;color:#435a77;line-height:1.55}.rpa-actions button:disabled{cursor:not-allowed;opacity:.5}.rpa-error{margin:12px 0 0;color:var(--red);font-size:13px}.app-shell{display:grid;grid-template-columns:var(--sidebar-width, 232px) 6px minmax(0,1fr);min-height:100vh}.sidebar{position:relative;display:flex;flex-direction:column;min-height:100vh;color:#dbeafe;background:linear-gradient(145deg,rgba(255,255,255,.1),transparent 32%),linear-gradient(180deg,var(--nav-deep) 0%,var(--nav) 46%,var(--nav-mid) 100%);box-shadow:inset -1px 0 #ffffff1f,10px 0 28px #073b7814}.sidebar>*{position:relative;z-index:1}.sidebar-resizer{position:relative;z-index:4;width:6px;min-height:100vh;cursor:col-resize;background:transparent;transition:background .16s ease}.sidebar-resizer:hover,.sidebar-resizer.dragging{background:var(--accent-border)}body.is-resizing{-webkit-user-select:none;user-select:none;cursor:col-resize}.brand{position:relative;display:flex;align-items:center;justify-content:center;height:72px;padding:0 14px;background:linear-gradient(135deg,#fff,#f4fbff 72%,#e7f7f5);border-bottom:1px solid rgba(177,215,238,.9);box-shadow:0 5px 16px #0336691f}.brand:after{position:absolute;right:14px;bottom:-1px;left:14px;height:3px;content:"";background:linear-gradient(90deg,var(--brand-a),var(--brand-b));border-radius:3px 3px 0 0}.brand-logo{display:block;width:138px;height:72px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(5,38,83,.12))}.sidebar-footer strong{display:block;color:#fff;font-size:15px}.sidebar-footer span{display:block;margin-top:2px;color:#9fc2ef;font-size:12px}.module-nav{flex:1;overflow:auto;padding:14px 10px 18px}.nav-group{margin-bottom:6px}.nav-group-title{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:10px 12px;color:#a9d5ff;background:transparent;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:700;text-align:left}.nav-group-title:hover{color:#fff;background:#ffffff1a;border-color:#ffffff1a}.nav-group-title.active{color:#fff;background:#ffffff24;border-color:#ffffff21;box-shadow:inset 3px 0 0 var(--nav-active-2),0 6px 14px #02224f1a}.nav-group-title .symbol{width:18px;text-align:center}.group-caret{margin-left:auto;color:#b8dfff;transition:transform .16s ease}.nav-group.expanded .group-caret{transform:rotate(90deg)}.nav-items[hidden]{display:none}.nav-items{margin:3px 0 4px 8px;padding:2px 0 2px 7px;border-left:1px solid rgba(197,231,255,.26)}.nav-item{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;margin:2px 0;padding:8px 12px 8px 25px;color:#d8eaff;background:transparent;border:0;border-radius:8px;text-align:left;font-size:13px}.nav-item:hover{background:#ffffff17}.nav-item.active{color:#fff;background:linear-gradient(90deg,var(--nav-active),var(--nav-active-2));box-shadow:0 8px 18px #00265833}.nav-item.active:before{width:5px;height:5px;margin-right:8px;content:"";background:#fff;border-radius:50%;box-shadow:0 0 0 3px #ffffff2e}.sidebar-footer{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#03183738;border-top:1px solid rgba(255,255,255,.12)}.avatar{display:grid;width:30px;height:30px;place-items:center;color:#fff;background:linear-gradient(135deg,var(--brand-a),var(--brand-b));border-radius:50%;font-size:13px;box-shadow:0 4px 12px #00184238}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 24px;background:var(--topbar-bg);border-bottom:1px solid var(--line);box-shadow:var(--shadow-soft)}.breadcrumb{margin-bottom:4px;color:#6d7f97;font-size:12px}h1{margin:0;font-size:18px;line-height:1.25;color:#12213a}.topbar-heading,.page-title-row,.panel-head-title,.cost-plan-title-line,.cost-config-title-main,.product-master-title-line{display:flex;align-items:center}.topbar-heading{display:grid;align-content:center}.page-title-row{gap:8px}.content-help{position:relative;z-index:13;display:inline-grid;flex:0 0 18px;width:18px;height:18px;place-items:center;color:var(--accent);background:var(--accent-soft-2);border:1px solid var(--accent-border);border-radius:50%;font-size:11px;font-weight:800;line-height:1;outline:none;cursor:help}.content-help:hover,.content-help:focus,.content-help:focus-visible{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.content-help-popover{position:absolute;top:calc(100% + 8px);left:0;width:max-content;min-width:220px;max-width:340px;padding:9px 11px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 10px 22px #0f27482e;opacity:0;visibility:hidden;transform:translateY(-3px);pointer-events:none;font-size:12px;font-weight:500;line-height:1.55;text-align:left;white-space:normal;transition:opacity .14s ease,transform .14s ease,visibility .14s ease}.content-help:hover .content-help-popover,.content-help:focus .content-help-popover,.content-help:focus-visible .content-help-popover{opacity:1;visibility:visible;transform:translateY(0)}.page-info-help{margin-top:2px}.content-help-inline{margin-left:6px;vertical-align:middle}body.cost-setting-plan-active{overflow-x:hidden}.import-card>div:nth-child(2),.platform-import-workspace-head>div:first-child>div:last-child,.shipment-import-head>div:first-child,.cost-summary-note,.cost-rule-heading>div:first-child,.finance-ai-title>div:last-child{display:flex;align-items:center;gap:6px}.shipment-import-actions .content-help-inline{flex:0 0 18px}.top-actions{display:flex;align-items:center;gap:10px}.settings-menu-root{position:relative}.theme-dot,.swatch{display:inline-block;width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:inset 0 0 0 1px #ffffffa6}.settings-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:12;width:236px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 38px #0f274829}.settings-menu[hidden]{display:none}.settings-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 6px 10px;border-bottom:1px solid #edf2f8}.settings-menu-head strong{color:#26364f;font-size:13px}.settings-menu-head span{color:var(--accent);font-size:12px;font-weight:700}.settings-row{display:flex;align-items:center;width:100%;min-height:40px;gap:8px;margin-top:8px;padding:0 9px;color:#304761;background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;text-align:left}.settings-row:hover,.settings-row[aria-expanded=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-border)}.settings-row-main{display:inline-flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:13px}.settings-row strong{color:var(--accent);font-size:12px;font-weight:800}.settings-caret{color:#8ca0b8;transition:transform .16s ease}.settings-row[aria-expanded=true] .settings-caret{transform:rotate(90deg)}.theme-options{display:grid;gap:4px;padding:8px 0 0 12px}.theme-options[hidden]{display:none}.theme-options button{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 9px;color:#304761;background:transparent;border:0;border-radius:6px;text-align:left}.theme-options button:hover,.theme-options button.active{color:var(--accent);background:var(--accent-soft)}.swatch.classic{background:linear-gradient(135deg,#1d8cff,#10a7dc)}.swatch.cyan{background:linear-gradient(135deg,#0ea5b8,#15c8c0)}.swatch.violet{background:linear-gradient(135deg,#7357ff,#9d7bff)}.swatch.warm{background:linear-gradient(135deg,#f59e0b,#f97316)}.swatch.emerald{background:linear-gradient(135deg,#12a678,#0ea5e9)}.swatch.gray{background:linear-gradient(135deg,#475569,#cbd5e1)}.global-search{display:flex;align-items:center;width:300px;height:36px;padding:0 12px;background:var(--accent-soft);border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px}.global-search input{width:100%;margin-left:8px;background:transparent;border:0;outline:0;color:var(--text)}.icon-btn,.ghost-btn,.primary-btn,.secondary-btn,.danger-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:6px;border:1px solid var(--line)}.icon-btn{width:34px;background:#fff;color:var(--muted)}.icon-btn:hover,.settings-button[aria-expanded=true],.secondary-btn:hover,.ghost-btn:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-border)}.ghost-btn,.secondary-btn{padding:0 12px;color:#24527a;background:#fff}.primary-btn{padding:0 14px;color:#fff;background:linear-gradient(180deg,var(--primary-start),var(--primary-end));border-color:var(--primary-end);box-shadow:0 4px 10px #1476d42e}.primary-btn:hover{background:linear-gradient(180deg,var(--primary-hover-start),var(--primary-hover-end))}.danger-btn{padding:0 12px;color:#fff;background:var(--red);border-color:var(--red)}.content-grid{display:grid;grid-template-columns:minmax(0,1fr);padding:14px 16px 18px}.detail-page{min-width:0}.page-head,.filter-bar,.panel,.table-panel,.chart-panel,.ai-shell{background:var(--surface-bg);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-soft)}.page-head{display:flex;align-items:flex-end;justify-content:flex-end;min-height:58px;padding:12px 14px 12px 16px;margin-bottom:10px;position:relative;overflow:hidden}.page-head.action-only{justify-content:flex-end}.page-head:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:linear-gradient(180deg,var(--accent),var(--accent-2))}.page-head p{margin:2px 0 0;color:var(--muted);font-size:12px}.page-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-top:10px}.filter-bar{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:10px;align-items:end;padding:14px;margin-bottom:12px;background:var(--surface-soft)}.filter-bar.finance-filter-bar,.filter-bar.wide-filter-bar{grid-template-columns:repeat(5,minmax(120px,1fr)) auto}.filter-bar.allocation-filter-bar{grid-template-columns:minmax(180px,1.1fr) minmax(140px,.9fr) minmax(180px,1.2fr) minmax(180px,1.2fr) auto}.filter-bar.sales-return-filter-bar{grid-template-columns:repeat(4,minmax(150px,1fr))}.sales-return-filter-bar .field>span{color:var(--muted);font-size:12px}.sales-return-filter-bar .filter-actions{align-self:end}.field{display:grid;gap:5px}.field label{color:var(--muted);font-size:12px}.field input,.field select,.field textarea{width:100%;min-height:var(--control-height);padding:0 12px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.department-cascade-field{align-content:start}.department-cascade-levels{display:grid;gap:8px}.department-cascade-select{min-width:0}.selection-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:var(--control-height);padding:0 12px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px;text-align:left}.selection-trigger:hover,.selection-trigger:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.selection-value{min-width:0;overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.selection-chevron{flex:0 0 auto;color:#9ba9bb;font-size:16px}.filter-actions{display:flex;gap:8px}.allocation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.allocation-toolbar-actions{display:flex;gap:10px}.toolbar-symbol{margin-right:6px;color:var(--accent);font-size:16px;line-height:1}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.report-summary-box{padding:2px 0 0;margin-bottom:0}.kpi-card{min-height:86px;padding:12px 12px 11px;background:linear-gradient(180deg,#ffffff 0%,var(--tone-bg, var(--accent-soft)) 100%);border:1px solid var(--line);border-radius:8px;border-top:3px solid var(--tone, var(--blue));box-shadow:var(--shadow-soft)}.kpi-card.tone-1{--tone: var(--accent);--tone-bg: var(--accent-soft)}.kpi-card.tone-2{--tone: var(--teal);--tone-bg: #f1fbfa}.kpi-card.tone-3{--tone: var(--orange);--tone-bg: #fff9ec}.kpi-card.tone-4{--tone: var(--red);--tone-bg: #fff6f6}.kpi-card.tone-5{--tone: var(--purple);--tone-bg: #f8f6ff}.kpi-card.tone-6{--tone: var(--indigo);--tone-bg: #f5f7ff}.kpi-card span{color:var(--muted);font-size:12px}.kpi-card strong{display:block;margin:8px 0 5px;font-size:18px;color:#12213a}.delta{font-size:12px}.delta.up{color:var(--green)}.delta.down{color:var(--red)}.table-panel{overflow:visible}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--topbar-bg);border-bottom:1px solid var(--line)}.panel-head-title{min-width:0;gap:7px}.panel-head h2{margin:0;font-size:14px;line-height:1.3}.panel-head span{color:var(--muted);font-size:12px}.panel-head .content-help{flex:0 0 18px;color:var(--accent);font-size:11px}.panel-head .content-help-popover{color:var(--text);font-size:12px}.data-table-wrap{overflow:auto}.table-inline-input,.table-inline-select{width:100%;min-width:130px;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:4px;background:var(--surface-bg);color:var(--text);font:inherit;font-size:12px}.table-inline-input:focus,.table-inline-select:focus{outline:2px solid rgba(41,104,190,.18);border-color:var(--accent)}.order-profit-filter-bar{align-items:end}.order-profit-report-panel{overflow:hidden}.order-profit-table-wrap{max-height:calc(100vh - 360px)}.order-profit-report-table{width:max-content;min-width:0;table-layout:auto}.order-profit-report-table th,.order-profit-report-table td{border-right:1px solid #e9f0f8;white-space:nowrap}.order-profit-report-table th:not(:first-child),.order-profit-report-table td:not(:first-child){width:1%}.order-profit-report-table thead tr:first-child th{height:34px;background:#eaf2fb;text-align:center;border-bottom:1px solid #c9d9ea}.order-profit-report-table thead tr:nth-child(2) th{height:38px;background:#f6f9fd;text-align:center}.order-profit-report-table thead tr:nth-child(2) th:first-child{position:relative;left:auto;box-shadow:none}.order-profit-report-table thead tr:first-child th.order-profit-income{background:#dceeff}.order-profit-report-table thead tr:first-child th.order-profit-cost{background:#fff0d5}.order-profit-report-table thead tr:first-child th.order-profit-channel{background:#ffe8e8}.order-profit-report-table thead tr:first-child th.order-profit-fulfillment{background:#eee8ff}.order-profit-report-table thead tr:first-child th.order-profit-profit{background:#e2f4e8}.order-profit-report-table thead tr:nth-child(2) th.order-profit-income{background:#eff8ff}.order-profit-report-table thead tr:nth-child(2) th.order-profit-cost{background:#fff8eb}.order-profit-report-table thead tr:nth-child(2) th.order-profit-channel{background:#fff3f3}.order-profit-report-table thead tr:nth-child(2) th.order-profit-fulfillment{background:#f7f4ff}.order-profit-report-table thead tr:nth-child(2) th.order-profit-profit{background:#f1faf3}.order-profit-report-table tbody td{text-align:right;font-variant-numeric:tabular-nums}.order-profit-report-table tbody tr:nth-child(odd) td{background:#fff}.order-profit-report-table tbody tr:nth-child(2n) td{background:#edf3f9}.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-income{background:#f5fbff}.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-income{background:#e5f2fc}.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-cost{background:#fffaf1}.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-cost{background:#fff0d7}.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-channel{background:#fff8f8}.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-channel{background:#ffebeb}.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-fulfillment{background:#faf8ff}.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-fulfillment{background:#eee9ff}.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-profit{background:#f6fcf7}.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-profit{background:#e5f4e9}.order-profit-report-table tbody td:first-child{text-align:left;font-weight:600}.order-profit-report-table th:first-child,.order-profit-report-table td:first-child{min-width:190px}.order-profit-report-table thead tr:nth-child(2) th:first-child,.order-profit-report-table tbody td:nth-child(2){width:96px;min-width:96px;max-width:110px}.order-profit-count{color:var(--muted);font-size:12px}.order-profit-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid var(--line);background:var(--topbar-bg);color:var(--muted);font-size:12px}.order-profit-pagination-controls{display:flex;align-items:center;gap:8px}.order-profit-pagination-controls select{min-width:88px;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-bg);color:var(--text)}.order-profit-pagination-controls button:disabled{cursor:not-allowed;opacity:.5}.report-missing{color:#a1adbb;font-style:italic}.order-profit-kpis .kpi-value-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:8px 0 5px}.order-profit-kpis .kpi-value-line strong{min-width:0;margin:0}.order-profit-kpis .kpi-value-line .order-profit-change{flex:0 0 auto;margin-left:auto;white-space:nowrap;text-align:right;font-size:11px}.order-profit-kpis .delta{color:var(--muted)}.order-profit-kpis .kpi-card{min-height:104px}.order-profit-kpis .order-profit-change.up{color:#d92d20;font-weight:600}.order-profit-kpis .order-profit-change.down{color:#17854a;font-weight:600}.order-profit-kpis .order-profit-change.neutral{color:var(--muted)}.order-profit-kpis .kpi-note{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.2}table{width:100%;border-collapse:collapse;min-width:860px}th,td{height:42px;padding:0 12px;border-bottom:1px solid #e9f0f8;white-space:nowrap;text-align:left;font-size:12px}.data-table-wrap th:first-child,.data-table-wrap td:first-child{position:sticky;left:0;z-index:1;background:var(--surface-bg);box-shadow:1px 0 #e9f0f8}.data-table-wrap th:first-child{background:var(--table-head-bg)}.data-table-wrap th:last-child,.data-table-wrap td:last-child{position:sticky;right:0;z-index:1;background:var(--surface-bg);box-shadow:-1px 0 #e9f0f8}.data-table-wrap th:last-child{background:var(--table-head-bg)}.empty-table-content{display:flex;align-items:center;justify-content:center;gap:12px;min-height:74px;color:var(--muted)}.table-multiline{display:inline-grid;gap:6px;line-height:1.45;white-space:nowrap}.table-datetime{display:inline-grid;gap:2px;line-height:1.35;white-space:nowrap}.table-datetime span:last-child{color:var(--muted);font-size:11px}.department-tree-name{display:inline-block;padding-left:var(--department-indent, 0);color:#273142;white-space:nowrap}td:has(.table-multiline){height:auto;vertical-align:top}th{color:#40536d;background:var(--table-head-bg);font-weight:700}th.table-sortable{position:relative;padding-right:26px;cursor:pointer;-webkit-user-select:none;user-select:none}th.table-sortable:after{content:"↕";position:absolute;right:10px;color:#91a5bd;font-size:12px}th.table-sortable[aria-sort=ascending]:after{content:"↑";color:var(--accent)}th.table-sortable[aria-sort=descending]:after{content:"↓";color:var(--accent)}td{color:#26364f}.table-filter-popover{position:fixed;z-index:40;width:224px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 12px 28px #17345b2e}.table-filter-popover label{display:grid;gap:6px;color:var(--muted);font-size:12px}.table-filter-popover input{width:100%;min-height:32px;padding:0 8px;color:var(--text);border:1px solid var(--line);border-radius:5px;outline:0}.table-filter-popover input:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring)}.table-filter-actions{display:flex;justify-content:flex-end;margin-top:8px}.table-filter-actions button{padding:3px 8px;color:var(--accent);background:transparent;border:0;cursor:pointer;font-size:12px}tbody tr:hover{background:var(--hover-bg)}.status{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;font-size:12px}.status.ok{color:#08785c;background:#e7f8f1;border:1px solid #bdebdc}.status.warn{color:#a15c00;background:#fff6df;border:1px solid #f8dda1}.status.stop{color:#b42318;background:#fff0f0;border:1px solid #facaca}.op-link{color:var(--blue);background:transparent;border:0;padding:0 4px}.op-link:hover{color:#0b5cad;text-decoration:underline}.op-link:disabled,.op-link.disabled{color:#a6afbd;cursor:not-allowed;text-decoration:none}.op-link.danger{color:#b42318}.op-link.danger:hover{color:#8f1d15}.talent-review-panel{margin-bottom:16px}.talent-review-panel .panel-head{align-items:flex-start}.review-count{flex:0 0 auto;color:var(--blue);font-weight:600}.form-tip{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.pagination{display:flex;justify-content:flex-end;gap:6px;padding:12px 16px;color:var(--muted);background:var(--surface-soft);font-size:12px}.import-grid,.settings-grid,.chart-grid,.custom-grid{display:grid;gap:12px;margin-bottom:12px}.import-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.custom-grid{grid-template-columns:1fr 300px}.panel,.chart-panel{padding:16px}.import-card{display:grid;gap:12px;min-height:160px;border-top:3px solid #d8e4f2}.import-card.blue{border-top-color:var(--blue)}.import-card.green{border-top-color:var(--green)}.import-card.orange{border-top-color:var(--orange)}.import-card.red{border-top-color:var(--red)}.import-card.purple{border-top-color:var(--purple)}.import-card.cyan{border-top-color:var(--cyan)}.platform-icon{display:grid;width:38px;height:38px;place-items:center;color:#fff;border-radius:8px;font-weight:800;box-shadow:0 8px 18px #0f27481f}.platform-icon.blue{background:linear-gradient(135deg,var(--accent),var(--accent-2))}.platform-icon.green{background:linear-gradient(135deg,var(--green),#2dc98f)}.platform-icon.orange{background:linear-gradient(135deg,var(--orange),#f97316)}.platform-icon.red{background:linear-gradient(135deg,var(--red),#f97373)}.platform-icon.purple{background:linear-gradient(135deg,var(--purple),#9d7bff)}.platform-icon.cyan{background:linear-gradient(135deg,var(--cyan),#22c1cc)}.metric-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eaf1f8;color:var(--muted);font-size:12px}.metric-row strong{color:var(--text)}.cost-plan-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:18px 22px;color:#fff;background:linear-gradient(115deg,var(--nav-deep),var(--accent));border-radius:10px;box-shadow:0 10px 24px #073b7824}.cost-plan-header h2,.cost-plan-header p{margin:0}.cost-plan-title-line,.cost-config-title-main,.product-master-title-line{min-width:0;gap:7px}.cost-plan-title-line .content-help{color:#dff8ff;background:#ffffff24;border-color:#ffffff7a}.cost-plan-title-line .content-help:hover,.cost-plan-title-line .content-help:focus-visible{color:var(--nav-deep);background:#fff;border-color:#fff}.cost-plan-header h2{font-size:18px}.cost-plan-header p{margin-top:6px;color:#ffffffc2;font-size:12px;line-height:1.6}.cost-plan-current{display:grid;gap:4px;min-width:220px;padding-left:22px;border-left:1px solid rgba(255,255,255,.24)}.cost-plan-current span{color:#ffffffad;font-size:11px}.cost-plan-current strong{display:flex;align-items:center;gap:9px;font-size:15px}.cost-plan-current i{width:4px;height:4px;background:#8be9ff;border-radius:50%}.cost-setting-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);align-items:start;gap:12px;margin-bottom:12px}.cost-setting-config{padding:0;overflow:hidden}.cost-config-section{padding:15px 18px 16px}.cost-config-section+.cost-config-section{border-top:1px solid var(--line)}.cost-config-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.cost-config-title>span{display:grid;flex:0 0 26px;width:26px;height:26px;place-items:center;color:#fff;background:var(--accent);border-radius:50%;font-size:12px;font-weight:800}.cost-config-title h2,.cost-config-title p{margin:0}.cost-config-title h2{font-size:15px}.cost-config-title p{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}.cost-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cost-choice-card{position:relative;display:flex;align-items:center;gap:10px;min-height:62px;padding:11px 13px;background:#fff;border:1px solid var(--line);border-radius:8px;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.cost-choice-card:hover{border-color:var(--accent-border)}.cost-choice-card.active{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.cost-choice-card input{position:absolute;width:1px;height:1px;opacity:0}.cost-choice-mark{position:relative;flex:0 0 17px;width:17px;height:17px;margin-top:0;background:#fff;border:1px solid #a9bad0;border-radius:50%}.cost-choice-card.active .cost-choice-mark{border:5px solid var(--accent)}.cost-choice-copy{display:flex;align-items:center;gap:7px;min-width:0}.cost-choice-copy strong{color:var(--text);font-size:14px;line-height:1.35}.cost-choice-copy small{color:var(--muted);font-size:12px;line-height:1.45}.cost-choice-copy em{color:#55718e;font-size:11px;font-style:normal}.cost-plan-summary{position:sticky;top:12px;padding:15px}.cost-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.cost-summary-head h2{margin:0;font-size:15px}.cost-summary-head span,.cost-rule-heading>span{color:var(--green);font-size:11px;font-weight:700}.cost-summary-route{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0;padding:10px 8px;color:var(--accent);background:var(--accent-soft);border-radius:7px;font-size:12px}.cost-summary-route b{color:#91a6bb}.cost-plan-summary dl{display:grid;gap:0;margin:0}.cost-plan-summary dl div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #edf2f7;font-size:12px}.cost-plan-summary dt{color:var(--muted)}.cost-plan-summary dd{margin:0;color:var(--text);font-weight:700}.cost-plan-summary dd.pending{color:var(--orange)}.cost-summary-note{margin-top:12px;padding:10px;background:var(--surface-soft);border-left:3px solid var(--accent);border-radius:0 6px 6px 0}.cost-summary-note strong{color:var(--text);font-size:12px}.cost-summary-note p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.cost-rule-panel{padding:0;overflow:visible}.cost-rule-summary{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;color:var(--text);cursor:pointer;list-style:none}.cost-rule-summary::-webkit-details-marker{display:none}.cost-rule-summary:after{margin-left:auto;color:var(--muted);content:"⌄";font-size:14px}.cost-rule-summary strong{font-size:14px}.cost-rule-summary>span{color:var(--muted);font-size:11px}.cost-rule-panel[open] .cost-rule-summary{border-bottom:1px solid var(--line)}.cost-rule-panel>.cost-rule-heading{display:none}.cost-rule-panel>.cost-rule-list{margin:0 14px 12px}.cost-plan-summary>.cost-rule-panel{margin-top:12px;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.cost-plan-summary>.cost-rule-panel>.cost-rule-summary{min-height:34px;padding:0}.cost-plan-summary>.cost-rule-panel>.cost-rule-list{margin:0 0 2px}.cost-rule-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:9px}.cost-rule-heading h2,.cost-rule-heading p{margin:0}.cost-rule-heading h2{font-size:15px}.cost-rule-heading p{margin-top:4px;color:var(--muted);font-size:12px}.cost-rule-heading>span{color:var(--muted)}.cost-rule-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:7px;overflow:hidden}.cost-rule-list>div{display:grid;gap:5px;padding:10px 12px}.cost-rule-list>div+div{border-left:1px solid var(--line)}.cost-rule-list span,.cost-rule-list em{color:var(--muted);font-size:11px;font-style:normal}.cost-rule-list strong{color:var(--text);font-size:12px;font-weight:600}@media(max-width:1100px){.cost-setting-workspace{grid-template-columns:1fr}.cost-plan-summary{position:static}}@media(max-width:720px){.cost-plan-header{align-items:flex-start;flex-direction:column}.cost-plan-current{width:100%;min-width:0;padding:12px 0 0;border-top:1px solid rgba(255,255,255,.24);border-left:0}.cost-choice-grid,.cost-rule-list{grid-template-columns:1fr}.cost-rule-list>div+div{border-top:1px solid var(--line);border-left:0}.cost-summary-route{flex-wrap:wrap}}.raw-data-tabs{align-items:stretch;gap:6px;padding:5px}.raw-data-tabs button{display:flex;flex:1 1 0;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:170px;min-height:58px;padding:8px 14px;text-align:left}.raw-data-tabs button strong{color:inherit;font-size:14px}.raw-data-tabs button span{color:inherit;font-size:11px;font-weight:500;opacity:.78}.raw-data-query-panel{margin-bottom:16px;padding:0 16px 14px}.raw-data-query-panel .panel-head{margin:0 -16px 14px;padding:13px 16px;border-bottom:1px solid var(--line)}.raw-data-query-panel .panel-head p{max-width:760px}.raw-data-readonly,.raw-data-source-tag{flex:0 0 auto;padding:4px 9px;color:var(--primary-end);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.raw-data-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px 14px}.raw-data-filter-grid .field{min-width:0}.raw-data-filter-grid .field span{display:block;margin-bottom:6px;color:var(--nav-deep);font-size:12px;font-weight:700}.raw-data-filter-grid input,.raw-data-filter-grid select{width:100%;min-height:36px}.raw-data-filter-actions{display:flex;align-items:center;gap:9px;margin-top:14px}.raw-data-filter-tip{margin-left:5px;color:var(--muted);font-size:12px}.raw-data-table-panel{overflow:hidden}.raw-data-table-panel .panel-head{min-height:66px}.raw-data-table-panel .panel-head-title{min-width:0}.raw-data-table-panel .panel-head-title p{margin:4px 0 0;color:var(--muted);font-size:11px}.raw-data-table-wrap{max-height:560px;overflow:auto}.raw-data-table-wrap table{min-width:1280px}.raw-data-table-wrap th,.raw-data-table-wrap td{vertical-align:middle;white-space:nowrap}.raw-data-table-wrap thead th{position:sticky;top:0;z-index:2;background:var(--table-head-bg);box-shadow:0 1px #c9d9ea}.raw-data-table-wrap thead th:first-child,.raw-data-table-wrap thead th:last-child{z-index:3}.raw-data-table-wrap td:nth-last-child(1){white-space:normal}.raw-data-details{min-width:110px}.raw-data-details summary{color:var(--primary-end);cursor:pointer;font-size:12px;font-weight:700}.raw-data-details pre{position:absolute;z-index:3;width:min(440px,70vw);max-height:260px;margin:8px 0 0 -12px;padding:10px;overflow:auto;color:#214567;background:#f8fbff;border:1px solid var(--accent-border);border-radius:8px;box-shadow:0 12px 28px #234f7d29;font:11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}.raw-data-pagination{justify-content:flex-end;gap:10px}.raw-data-pagination .secondary-btn{min-height:30px;padding:0 10px}@media(max-width:980px){.raw-data-filter-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:620px){.raw-data-filter-grid{grid-template-columns:1fr}.raw-data-filter-actions{align-items:flex-start;flex-wrap:wrap}.raw-data-filter-tip{width:100%;margin:0}.raw-data-table-panel .panel-head{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 14px}}body.fee-pool-active,body.fee-pool-active .content-grid,.fee-pool-page{min-width:0;overflow-x:hidden}.fee-pool-page-head{position:relative}.fee-pool-demo-banner{display:flex;align-items:center;gap:8px;margin:-4px 0 12px;color:#6d879f;font-size:12px}.fee-pool-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:14px}.fee-pool-summary-card{position:relative;min-width:0;padding:13px 14px;background:#fff;border:1px solid #dce8f3;border-left:3px solid #287fd2;border-radius:8px;box-shadow:0 4px 12px #1d4a740d}.fee-pool-summary-card .field-hint-trigger{color:#6f89a2;font-size:12px}.fee-pool-summary-card strong{display:block;margin:8px 0 4px;color:#173f6d;font-size:19px;font-variant-numeric:tabular-nums}.fee-pool-summary-card small{color:#8aa0b5;font-size:11px}.fee-pool-summary-card.tone-success{border-left-color:#2d9254}.fee-pool-summary-card.tone-warning{border-left-color:#d08b2d}.fee-pool-summary-card.tone-waiting{border-left-color:#9c7d22}.fee-pool-summary-card.tone-exception,.fee-pool-summary-card.tone-overdue{border-left-color:#c14d42}.fee-pool-tabs{margin-bottom:12px;overflow-x:auto;white-space:nowrap}.fee-pool-tabs button{display:inline-flex;align-items:center;gap:7px}.fee-pool-tab-count{display:inline-grid;min-width:20px;height:20px;padding:0 5px;place-items:center;color:#5f7c98;background:#edf4fa;border-radius:10px;font-size:11px;font-variant-numeric:tabular-nums}.fee-pool-tabs button.active .fee-pool-tab-count{color:#fff;background:#ffffff3d}.fee-pool-filter-panel{margin-bottom:14px}.fee-pool-filter-panel .panel-heading{align-items:center;margin-bottom:12px}.fee-pool-filter-scope,.fee-pool-list-count{color:#6e8baa;font-size:12px}.fee-pool-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;align-items:end}.fee-pool-filter-grid .field,.fee-pool-summary-card,.fee-pool-table th{position:relative;min-width:0}.fee-pool-filter-grid .field>span{display:block;margin-bottom:6px;color:#3f607f;font-size:12px;font-weight:600}.fee-pool-filter-grid input,.fee-pool-filter-grid select{width:100%;min-height:36px;padding:0 10px;color:#23496f;background:#fff;border:1px solid #cddded;border-radius:6px;font:inherit}.fee-pool-filter-actions{display:flex;gap:8px;align-items:end;justify-content:flex-end;white-space:nowrap}.fee-pool-list-panel{min-width:0;padding-bottom:0;overflow:hidden}.fee-pool-list-panel .panel-head{align-items:center}.fee-pool-table-scroll{width:100%;overflow-x:auto}.fee-pool-table{min-width:1900px}.fee-pool-table th,.fee-pool-table td{vertical-align:middle;white-space:nowrap}.fee-pool-table th{color:#40536d;font-size:11px}.fee-pool-table td{font-size:12px}.fee-pool-table td strong{color:#234b75}.fee-pool-table .fee-pool-description-cell,.fee-pool-table .fee-pool-reason-cell,.fee-pool-table .fee-pool-rule-cell{min-width:180px;max-width:270px;white-space:normal;line-height:1.5}.fee-pool-table .fee-pool-period-cell,.fee-pool-table .fee-pool-date-cell{font-variant-numeric:tabular-nums}.fee-pool-unallocated{color:#a34d3d!important;font-weight:700}.fee-pool-scope-cell{min-width:150px;white-space:normal!important}.fee-pool-scope-cell small{display:block;margin-top:3px}.fee-pool-progress{min-width:135px}.fee-pool-progress>div{display:flex;justify-content:space-between;gap:8px;color:#6e8baa;font-size:11px}.fee-pool-progress strong{color:#295d8b;font-size:11px}.fee-pool-progress>i{display:block;height:5px;margin-top:6px;overflow:hidden;background:#e7eff7;border-radius:99px}.fee-pool-progress>i>b{display:block;height:100%;background:#2b83d7;border-radius:inherit}.fee-pool-status{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:4px;font-size:11px;font-weight:700;white-space:nowrap}.fee-pool-status.waiting{color:#866319;background:#fff8e9;border:1px solid #f0d99d}.fee-pool-status.pending{color:#25608d;background:#eef7ff;border:1px solid #bddcf6}.fee-pool-status.partial{color:#6b55a6;background:#f5f0ff;border:1px solid #d8c8fa}.fee-pool-status.exception{color:#a33f3f;background:#fff1f1;border:1px solid #efb7b7}.fee-pool-status.adjustment{color:#9a5a1f;background:#fff4e8;border:1px solid #f1c894}.fee-pool-status.exited{color:#3d7657;background:#eef9f1;border:1px solid #badfca}.fee-pool-aging-cell.is-overdue{color:#b42318;font-weight:700}.fee-pool-aging-cell small{display:block;margin-top:2px;font-size:10px}.fee-pool-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;color:var(--muted);background:#fff;border:1px solid var(--line);border-top:0;font-size:12px}.fee-pool-pagination-controls{display:flex;align-items:center;gap:8px}.fee-pool-pagination-controls select{min-height:30px;padding:0 8px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:5px}.fee-pool-pagination-controls button:disabled{color:#a7b3c0;background:#f5f7fa;cursor:not-allowed}.fee-pool-drawer-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400}.fee-pool-drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#091f3752}.fee-pool-drawer{position:absolute;top:0;right:0;bottom:0;width:min(640px,calc(100vw - 40px));overflow:auto;background:#fff;box-shadow:-14px 0 38px #0f274838}.fee-pool-drawer-head{display:flex;justify-content:space-between;gap:18px;padding:18px 20px 14px;border-bottom:1px solid var(--line);background:var(--topbar-bg)}.fee-pool-drawer-head h2{margin:6px 0 4px;color:#173d68;font-size:17px}.fee-pool-drawer-head p{margin:0;color:#7891aa;font-size:12px;line-height:1.5}.fee-pool-demo-label{color:#2370ac;font-size:11px;font-weight:700}.fee-pool-drawer-body{padding:14px 20px 24px}.fee-pool-detail-section{padding:14px 0;border-bottom:1px solid #e7eff6}.fee-pool-detail-section h3{margin:0 0 10px;color:#234b75;font-size:14px}.fee-pool-detail-grid,.fee-pool-equation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fee-pool-detail-grid>div,.fee-pool-equation-grid>div{position:relative;min-width:0;padding:9px 10px;background:#f7faff;border:1px solid #e1ebf5;border-radius:6px}.fee-pool-detail-grid span,.fee-pool-equation-grid span{display:block;margin-bottom:5px;color:#7791aa;font-size:11px}.fee-pool-detail-grid strong,.fee-pool-equation-grid strong{display:block;color:#214a75;font-size:13px;line-height:1.45;word-break:break-word}.fee-pool-equation-caption{margin:0 0 10px;color:#496c8d;font-size:12px;line-height:1.5}.fee-pool-balance{grid-column:1 / -1;background:#effaf3!important;border-color:#b9dfc4!important}.fee-pool-balance.is-unbalanced{background:#fff4f3!important;border-color:#efb7b7!important}.fee-pool-balance.is-balanced strong{color:#237849}.fee-pool-balance.is-unbalanced strong{color:#b42318}.fee-pool-balance small{display:block;margin-top:4px;color:#5e7b91;font-size:11px}.fee-pool-timeline{display:grid;gap:12px;margin:0;padding:0 0 0 18px}.fee-pool-timeline li{position:relative;padding-left:8px}.fee-pool-timeline li::marker{color:#287fd2}.fee-pool-timeline span{color:#7891aa;font-size:11px}.fee-pool-timeline strong{display:block;margin-top:3px;color:#234b75;font-size:12px}.fee-pool-timeline p{margin:4px 0 0;color:#657f98;font-size:12px;line-height:1.5}.fee-pool-next-step,.fee-pool-adjustment-note{display:grid;gap:5px;padding:10px 11px;color:#476a8c;background:#f7faff;border:1px solid #e1ebf5;border-radius:6px;font-size:12px;line-height:1.5}.fee-pool-next-step strong,.fee-pool-adjustment-note strong{color:#315b83}.fee-pool-adjustment-note{margin-top:8px;background:#fffaf0;border-color:#f0d9a2}.fee-pool-demo-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px}.fee-pool-boundary-note{margin:8px 0 0;color:#8a9caf;font-size:11px;line-height:1.5}@media(max-width:1100px){.fee-pool-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fee-pool-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media(max-width:720px){body.fee-pool-active .app-shell{display:block}body.fee-pool-active .sidebar,body.fee-pool-active .sidebar-resizer{display:none}body.fee-pool-active .topbar{min-height:62px;height:auto;padding:10px 12px}body.fee-pool-active .topbar .global-search{display:none}body.fee-pool-active .top-actions{gap:6px}body.fee-pool-active .content-grid{padding:10px}.fee-pool-demo-banner{align-items:flex-start;flex-direction:column;gap:4px}.fee-pool-summary-grid,.fee-pool-filter-grid{grid-template-columns:1fr}.fee-pool-tabs{margin-inline:-10px;padding-inline:10px}.fee-pool-filter-actions{justify-content:stretch}.fee-pool-filter-actions button{flex:1}.fee-pool-pagination{align-items:stretch;flex-direction:column}.fee-pool-pagination-controls{flex-wrap:wrap}.fee-pool-drawer{width:100vw}.fee-pool-drawer-head{padding:14px 14px 12px}.fee-pool-drawer-body{padding:10px 14px 20px}.fee-pool-detail-grid,.fee-pool-equation-grid{grid-template-columns:1fr}.fee-pool-balance{grid-column:auto}}.reconciliation-overview-toolbar{margin-bottom:14px}.reconciliation-overview-toolbar .panel-heading{align-items:flex-start;margin-bottom:14px}.reconciliation-overview-toolbar .panel-heading h2,.reconciliation-overview-summary-panel h2,.reconciliation-overview-table-panel h2,.reconciliation-overview-detail h2{margin:0;color:#173d68;font-size:16px;line-height:1.35}.reconciliation-overview-toolbar .panel-heading p,.reconciliation-overview-summary-panel .panel-heading p,.reconciliation-overview-table-panel .panel-head p,.reconciliation-overview-detail .panel-head p{margin:4px 0 0;color:#7891aa;font-size:12px;line-height:1.5}.reconciliation-overview-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end}.reconciliation-overview-filter-grid .field{min-width:0}.reconciliation-overview-filter-grid .field>span,.reconciliation-overview-filter-grid .field>label{display:block;margin-bottom:6px;color:#3f607f;font-size:12px;font-weight:600}.reconciliation-overview-filter-grid select{width:100%;min-height:36px;padding:0 10px;color:#23496f;background:#fff;border:1px solid #cddded;border-radius:6px;font:inherit}.reconciliation-overview-filter-actions{display:flex;gap:8px;justify-content:flex-end;white-space:nowrap}.reconciliation-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.reconciliation-overview-metric{min-width:0;padding:14px 16px;background:#fff;border:1px solid #dce8f3;border-left:3px solid #287fd2;border-radius:8px;box-shadow:0 2px 8px #18456f0a}.reconciliation-overview-metric>span,.reconciliation-overview-metric>small{display:block;color:#6f89a2;font-size:12px}.reconciliation-overview-metric>strong{display:block;margin:8px 0 5px;color:#173f6d;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}.reconciliation-overview-metric>small{line-height:1.4}.reconciliation-overview-summary-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px;margin-bottom:14px}.reconciliation-overview-summary-panel{min-width:0}.reconciliation-overview-summary-panel .panel-heading{align-items:flex-start;margin-bottom:12px}.reconciliation-progress-row+.reconciliation-progress-row{margin-top:13px}.reconciliation-progress-row>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#365b80;font-size:12px}.reconciliation-progress-row>div:first-child strong{color:#1d5890;font-size:13px;font-variant-numeric:tabular-nums}.reconciliation-progress{height:6px;margin:6px 0 4px;overflow:hidden;background:#e7eff7;border-radius:99px}.reconciliation-progress>span{display:block;height:100%;background:#2b83d7;border-radius:inherit}.reconciliation-progress-row>small,.reconciliation-expense-row>small{color:#8aa0b5;font-size:11px}.reconciliation-expense-row{display:grid;grid-template-columns:minmax(90px,1fr) auto minmax(100px,1.1fr);align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid #edf3f8;color:#486b8d;font-size:12px}.reconciliation-expense-row:last-child{border-bottom:0}.reconciliation-expense-row strong{color:#173f6d;font-size:14px;font-variant-numeric:tabular-nums;text-align:right}.reconciliation-overview-table-panel{min-width:0;padding:0 14px 14px}.reconciliation-overview-tabs{margin:0 -14px 14px;padding:0 14px;border-bottom:1px solid #dfeaf4}.reconciliation-overview-table-panel .panel-head{align-items:flex-start;padding:0 0 12px}.reconciliation-table-count{color:#6e8baa;font-size:12px;white-space:nowrap}.reconciliation-overview-store-table,.reconciliation-overview-diff-table{min-width:1040px}.reconciliation-overview-store-table th,.reconciliation-overview-store-table td,.reconciliation-overview-diff-table th,.reconciliation-overview-diff-table td{vertical-align:middle;white-space:nowrap}.reconciliation-overview-store-table td:first-child,.reconciliation-overview-diff-table td:first-child{white-space:normal}.reconciliation-overview-store-table td:first-child strong,.reconciliation-overview-diff-table td:first-child strong{display:block;color:#234b75;font-size:12px}.reconciliation-overview-store-table td:first-child small,.reconciliation-overview-diff-table td:first-child small,.reconciliation-overview-store-table td:nth-child(6) small{display:block;margin-top:3px;color:#8aa0b5;font-size:11px}.reconciliation-coverage-cell{min-width:115px}.reconciliation-coverage-cell>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:7px}.reconciliation-coverage-cell>div:first-child strong{color:#567593;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}.reconciliation-coverage-cell .reconciliation-progress{height:4px;margin-top:7px}.reconciliation-status{display:inline-flex;align-items:center;gap:5px;color:#647f99;font-size:11px;line-height:1.4}.reconciliation-status i{width:6px;height:6px;flex:0 0 6px;background:currentColor;border-radius:50%}.reconciliation-status-success{color:#2d9254}.reconciliation-status-warning{color:#a4761c}.reconciliation-status-danger{color:#c24b4b}.reconciliation-status-neutral{color:#7189a0}.reconciliation-last-upload{color:#66829d;font-size:11px;font-variant-numeric:tabular-nums}.reconciliation-number-positive{color:#bd5d38!important}.reconciliation-number-negative{color:#bd4a4a!important}.reconciliation-overview-detail{margin-top:14px}.reconciliation-overview-detail .panel-head{align-items:flex-start;margin-bottom:14px}.reconciliation-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.reconciliation-detail-grid>div{padding:12px;background:#f7faff;border:1px solid #e1ebf5;border-radius:6px}.reconciliation-detail-grid span,.reconciliation-detail-grid strong{display:block}.reconciliation-detail-grid span{margin-bottom:6px;color:#7791aa;font-size:11px}.reconciliation-detail-grid strong{color:#214a75;font-size:15px;font-variant-numeric:tabular-nums}.reconciliation-detail-note,.reconciliation-overview-footnote{display:flex;align-items:baseline;gap:8px;margin-top:12px;padding:10px 12px;color:#6d879f;background:#f7faff;border:1px solid #e1ebf5;border-radius:6px;font-size:12px;line-height:1.5}.reconciliation-detail-note strong,.reconciliation-overview-footnote strong{flex:0 0 auto;color:#355d82}.reconciliation-overview-footnote{margin-top:14px;background:#fff}@media(max-width:900px){.reconciliation-overview-filter-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.reconciliation-overview-filter-actions{justify-content:flex-start}.reconciliation-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reconciliation-overview-summary-grid{grid-template-columns:1fr}}@media(max-width:720px){.reconciliation-overview-filter-grid,.reconciliation-overview-metrics,.reconciliation-detail-grid{grid-template-columns:1fr}.reconciliation-overview-filter-actions{width:100%}.reconciliation-overview-filter-actions button{flex:1}.reconciliation-expense-row{grid-template-columns:minmax(90px,1fr) auto}.reconciliation-expense-row small{grid-column:1 / -1}.reconciliation-overview-table-panel{padding-inline:10px}.reconciliation-overview-tabs{margin-inline:-10px;padding-inline:10px}.reconciliation-detail-note,.reconciliation-overview-footnote{align-items:flex-start;flex-direction:column;gap:4px}}.subject-master-minimal-body{max-width:760px}.subject-master-four-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;padding:16px 0}.subject-master-four-fields .wide{grid-column:1 / -1}.subject-master-layer-note,.subject-copy-notice,.subject-copy-confirm-modal .subject-copy-summary,.scheme-copy-confirm-modal .subject-copy-summary{display:grid;gap:5px;margin-top:10px;padding:12px 14px;color:#45627f;background:#f5f9fe;border:1px solid #dce9f6;border-radius:6px;font-size:12px;line-height:1.6}.subject-copy-notice{color:#6b4f18;background:#fffaf0;border-color:#f1ddb1}.subject-master-layer-note strong,.subject-copy-notice strong,.subject-copy-confirm-modal .subject-copy-summary span:first-child,.scheme-copy-confirm-modal .subject-copy-summary span:first-child{color:#1d4772}.subject-master-metadata{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:10px;border-top:1px solid #e5edf5;color:#7890a8;font-size:12px}.field-hint-trigger{border-bottom:1px dotted #7899b7;cursor:help}.field-hint-bubble{position:absolute;z-index:2100;left:0;bottom:calc(100% + 8px);width:max-content;max-width:min(340px,calc(100vw - 32px));padding:8px 10px;color:#284665;background:#fff;border:1px solid #c8d9e9;border-radius:6px;box-shadow:0 8px 20px #1f466c24;font-size:12px;line-height:1.55;white-space:normal;pointer-events:none}.field-hint-bubble[hidden]{display:none}.field-hint-trigger:focus-visible{outline:2px solid #2e8ade;outline-offset:2px}.subject-master-four-fields .field,.fee-allocation-form .fee-allocation-row>label{position:relative}.expense-allocation-layer-panel{margin:12px 0 16px;padding:0 14px 14px;background:#fff;border:1px solid #dce7f2;border-radius:8px}.expense-layer-tabs{margin:0 -14px 14px;padding:0 14px;border-bottom:1px solid #dce7f2}.expense-layer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.expense-layer-heading h3{margin:0;color:#1e436d;font-size:15px}.expense-layer-heading p{margin:4px 0 0;color:#70869d;font-size:12px}.expense-case-table,.expense-scheme-table{min-width:1120px}.expense-case-table td,.expense-scheme-table td{vertical-align:top}.allocation-layer-status{display:inline-flex;padding:2px 7px;border-radius:4px;font-size:12px;white-space:nowrap}.allocation-layer-status.is-pending{color:#8a5f16;background:#fff4d9}.allocation-layer-status.is-ready{color:#286649;background:#edf8f0}.missing-info-text{color:#a25a44}.expense-layer-critical-note{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:12px;padding:9px 11px;color:#6a4e20;background:#fffaf0;border:1px solid #f0dfb9;border-radius:5px;font-size:12px;line-height:1.55}.expense-layer-critical-note strong{color:#795816}.fee-allocation-form .field-hint-trigger,.fee-allocation-form label .field-hint-trigger{display:inline-block;margin-bottom:5px}@media(max-width:720px){.subject-master-four-fields{grid-template-columns:1fr}.subject-master-four-fields .wide{grid-column:auto}.field-hint-bubble{position:fixed;left:16px;right:16px;bottom:auto;top:88px;width:auto;max-width:none}.expense-layer-heading{flex-direction:column;gap:8px}.expense-allocation-layer-panel{margin-left:0;margin-right:0;padding-left:10px;padding-right:10px}.expense-layer-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}}.subject-template-rule-panel{margin:12px 0 0;padding:12px;border:1px solid #dbe8f5;background:#f8fbff;border-radius:6px}.subject-template-rule-head,.subject-slot-change-panel .subject-slot-subhead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.subject-template-rule-head strong,.subject-slot-change-panel .subject-slot-subhead strong{color:#173e68}.subject-template-rule-head span,.subject-slot-change-panel .subject-slot-subhead span{display:block;color:#6b829a;font-size:12px;line-height:1.6}.subject-template-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.subject-template-rule-field{min-width:0}.subject-template-rule-field>span,.subject-template-rule-dimensions>span{display:block;margin-bottom:5px;color:#415e7b;font-size:12px;font-weight:600}.subject-template-rule-field select{width:100%}.subject-template-rule-dimensions{grid-column:1 / -1}.subject-template-rule-dimension-list{display:flex;flex-wrap:wrap;gap:8px 14px}.subject-template-rule-dimension-list label{display:inline-flex;gap:5px;align-items:center;color:#415e7b;font-size:12px}.subject-template-rule-help,.subject-effective-date-help{display:block;margin-top:6px;color:#6b829a;font-size:12px;line-height:1.55}.subject-effective-date-help{color:#2b669b}.expense-allocation-separation-note{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:0 0 12px;padding:9px 12px;color:#536f8d;background:#f8fbff;border:1px solid #dce9f5;border-radius:6px;font-size:12px;line-height:1.55}.expense-allocation-separation-note strong{color:#173e68}.expense-adjustment-panel{margin-top:14px}.expense-adjustment-tabs{margin:-1px 0 14px}.expense-adjustment-source-head,.expense-adjustment-history-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.expense-adjustment-source-head h3,.expense-adjustment-history-head h3{margin:8px 0 4px;color:#173e68;font-size:16px}.expense-adjustment-source-head p,.expense-adjustment-history-head p{margin:0;color:#71869c;font-size:12px;line-height:1.6}.expense-adjustment-source-grid,.expense-adjustment-period-grid,.fee-adjustment-lock-grid,.fee-adjustment-preview-summary,.subject-slot-aging-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dce8f3;border:1px solid #dce8f3}.expense-adjustment-source-grid>div,.expense-adjustment-period-grid>div,.fee-adjustment-lock-grid>div,.fee-adjustment-preview-summary>div,.subject-slot-aging-grid>div{min-width:0;padding:10px 12px;background:#fff}.expense-adjustment-source-grid span,.expense-adjustment-period-grid span,.fee-adjustment-lock-grid span,.fee-adjustment-preview-summary span,.subject-slot-aging-grid span{display:block;margin-bottom:4px;color:#71869c;font-size:12px}.expense-adjustment-source-grid strong,.expense-adjustment-period-grid strong,.fee-adjustment-lock-grid strong,.fee-adjustment-preview-summary strong,.subject-slot-aging-grid strong{display:block;color:#173e68;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.expense-adjustment-period-grid{margin-top:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.expense-adjustment-history-head{align-items:center}.expense-adjustment-table th,.expense-adjustment-table td,.fee-adjustment-preview-table th,.fee-adjustment-preview-table td,.subject-slot-change-table th,.subject-slot-change-table td{white-space:nowrap}.adjustment-status{display:inline-flex;align-items:center;padding:2px 7px;border-radius:4px;font-size:12px;line-height:1.4}.adjustment-status-success{color:#237a46;background:#edf8f0}.adjustment-status-info{color:#2b669b;background:#eef6ff}.adjustment-status-warning{color:#92651d;background:#fff7e7}.adjustment-status-draft{color:#63768c;background:#f1f4f7}.expense-adjustment-demo-example,.expense-adjustment-policy-note,.expense-adjustment-reconciliation,.slot-change-modal-policy,.subject-slot-aging-note{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;padding:9px 11px;color:#5e7894;background:#f8fbff;border:1px solid #dce9f5;border-radius:5px;font-size:12px;line-height:1.6}.expense-adjustment-demo-example strong,.expense-adjustment-policy-note strong,.expense-adjustment-reconciliation strong,.slot-change-modal-policy strong,.subject-slot-aging-note strong{color:#2b669b}.fee-adjustment-modal .modal-body,.talent-fulfillment-change-modal .modal-body{max-height:78vh;overflow:auto}.fee-adjustment-modal-body,.slot-change-modal-body{display:grid;gap:14px}.fee-adjustment-source-lock,.fee-adjustment-entry,.fee-adjustment-preview{padding:12px;border:1px solid #dce8f3;background:#fff;border-radius:6px}.fee-adjustment-source-lock .panel-heading{margin-bottom:10px}.fee-adjustment-lock-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fee-adjustment-preview-summary{margin-bottom:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.fee-adjustment-preview-summary strong{font-size:16px;font-variant-numeric:tabular-nums}.subject-slot-change-panel{margin-top:12px;padding:12px;border:1px solid #dce8f3;background:#fff;border-radius:6px}.subject-slot-change-table-wrap{margin-top:10px}.subject-slot-aging-grid{margin-bottom:0;grid-template-columns:repeat(5,minmax(0,1fr))}.subject-slot-aging-grid strong{font-variant-numeric:tabular-nums}@media(max-width:720px){.subject-template-rule-grid,.expense-adjustment-source-grid,.expense-adjustment-period-grid,.fee-adjustment-lock-grid,.fee-adjustment-preview-summary,.subject-slot-aging-grid{grid-template-columns:1fr}.subject-template-rule-dimensions{grid-column:auto}.expense-adjustment-source-head,.expense-adjustment-history-head,.subject-slot-change-panel .subject-slot-subhead{flex-direction:column}.expense-adjustment-table-wrap,.fee-adjustment-modal .table-scroll,.subject-slot-change-table-wrap{overflow-x:auto}}.subject-setting-page{min-width:0;overflow-x:hidden}.subject-setting-demo-banner,.subject-setting-demo-note,.subject-setting-inline-error,.subject-rule-modal-note,.subject-setting-warning{display:flex;align-items:center;gap:10px;color:#4a6380;background:#f4f8fd;border:1px solid #d6e4f2;border-radius:8px;padding:10px 14px;font-size:13px}.subject-setting-demo-banner{margin:12px 0}.subject-setting-demo-banner strong,.subject-setting-demo-note strong,.subject-rule-modal-note strong{color:#1f4f83;white-space:nowrap}.demo-badge,.version-badge,.estimate-status-badge{display:inline-flex;align-items:center;width:fit-content;border-radius:4px;padding:3px 8px;font-size:12px;line-height:1.4;white-space:nowrap}.demo-badge{color:#1d5f9b;background:#e8f3ff}.version-badge{color:#385c83;background:#eef4fa}.estimate-status-badge{color:#795615;background:#fff5dc}.subject-setting-tabs{margin-top:10px;overflow-x:auto;white-space:nowrap}.subject-setting-panel,.subject-estimate-form-panel,.subject-estimate-result-panel{min-width:0;background:#fff;border:1px solid #dce7f1;border-radius:10px;box-shadow:0 2px 8px #1536570a}.subject-setting-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #e3ebf4}.subject-setting-filter-grid{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(150px,1fr) minmax(140px,1fr);gap:12px;min-width:0;flex:1}.subject-setting-toolbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.subject-setting-toolbar .field,.subject-estimate-form-grid .field,.subject-rule-form-grid .field{min-width:0;gap:6px}.subject-setting-toolbar .field>span,.subject-estimate-form-grid .field>span,.subject-rule-form-grid .field>span{color:#294c72;font-size:13px;font-weight:600}.subject-setting-demo-note{margin:0 16px 12px;border:0;border-radius:6px;padding:8px 10px}.subject-setting-demo-banner-compact,.subject-setting-demo-note-compact,.subject-rule-modal-note-compact,.subject-master-layer-note-compact{min-height:0;padding:8px 10px;font-size:12px}.subject-setting-demo-banner-compact,.subject-setting-demo-note-compact{align-items:center}.subject-master-layer-note-compact{display:block;margin-top:12px}.subject-master-layer-note-compact .field-hint-trigger,.subject-setting-demo-banner-compact .field-hint-trigger,.subject-setting-demo-note-compact .field-hint-trigger,.subject-rule-modal-note-compact .field-hint-trigger{color:#4c6f91}.subject-setting-demo-note .muted-text{margin-left:auto;white-space:nowrap}.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.subject-setting-table-wrap{border-top:1px solid #e3ebf4}.subject-setting-table{min-width:1500px}.subject-setting-table th,.subject-setting-table td{padding:11px 12px;vertical-align:middle;white-space:nowrap}.subject-setting-table thead th{color:#274f7c;background:#eef5fd;border-bottom:1px solid #d5e2f0;font-weight:700}.subject-setting-table tbody tr:nth-child(2n){background:#f7fbff}.subject-setting-table tbody tr:hover{background:#edf6ff}.subject-setting-table .code-cell{color:#24527e;font-variant-numeric:tabular-nums;font-weight:700}.table-subtext{display:block;margin-top:3px;color:#7890a8;font-size:12px;white-space:normal;max-width:170px}.subject-setting-actions{display:flex;gap:10px}.subject-order-allocation-state{display:inline-flex;align-items:center;padding:3px 8px;border-radius:4px;font-size:12px;white-space:nowrap}.subject-order-allocation-state.is-enabled{color:#176a43;background:#edf8f1}.subject-order-allocation-state.is-disabled{color:#7a5a22;background:#fff7e8}.subject-rule-summary{max-width:250px;color:#526f8c;white-space:normal!important;line-height:1.5}.subject-rule-action-disabled,.subject-rule-action-disabled:hover,.subject-rule-action-disabled:focus{color:#9aaabd;cursor:not-allowed;text-decoration:none}.subject-allocation-rule-modal .modal-body{max-height:min(76vh,820px)}.subject-allocation-rule-modal-body{max-width:900px}.subject-rule-template-section{padding:14px;border:1px solid #dce7f1;border-radius:8px;background:#fff}.subject-inline-rule-template.is-disabled{background:#f8fafc;border-color:#d9e2ec}.subject-inline-rule-template.is-disabled .subject-rule-mode-panel,.subject-inline-rule-template.is-disabled .subject-rule-basis-option{background:#f3f6fa}.subject-inline-rule-template.is-disabled select:disabled,.subject-inline-rule-template.is-disabled input:disabled{color:#8798aa;cursor:not-allowed}.subject-rule-template-section+.subject-rule-template-section{margin-top:12px}.subject-rule-template-section .subject-rule-section-head{margin-bottom:12px}.subject-rule-mode-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin-top:12px;padding:12px;background:#f8fbff;border:1px solid #e1ebf5;border-radius:6px}.subject-allocation-rule-modal .subject-rule-mode-panel[hidden],.subject-allocation-rule-modal [data-subject-rule-static-days-wrap][hidden],.subject-allocation-rule-modal [data-subject-rule-static-fixed-date-wrap][hidden],.subject-inline-rule-template[hidden],.subject-inline-rule-template .subject-rule-mode-panel[hidden],.subject-inline-rule-template [data-subject-rule-static-days-wrap][hidden],.subject-inline-rule-template [data-subject-rule-static-fixed-date-wrap][hidden]{display:none!important}.subject-rule-mode-risk,.subject-rule-natural-day-note,.subject-rule-visible-warning,.subject-rule-disabled-banner{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 10px;border-radius:6px;font-size:12px;line-height:1.55}.subject-rule-mode-risk,.subject-rule-natural-day-note{color:#45627f;background:#f5f9fe;border:1px solid #dce9f6}.subject-rule-visible-warning,.subject-rule-disabled-banner{color:#7a571b;background:#fffaf0;border:1px solid #f0dfb8}.subject-rule-visible-warning strong,.subject-rule-disabled-banner strong{color:#8a5c13;white-space:nowrap}.subject-rule-basis-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.subject-rule-basis-option{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;color:#315a83;background:#f8fbff;border:1px solid #dce7f1;border-radius:6px}.subject-rule-basis-option input{flex:0 0 auto}.subject-rule-basis-option .field-hint-trigger{min-width:0}.subject-allocation-rule-modal-body .field-hint-trigger{color:#4c6f91}@media(max-width:720px){.subject-rule-mode-panel,.subject-rule-basis-list{grid-template-columns:1fr}.subject-rule-mode-risk,.subject-rule-natural-day-note,.subject-rule-visible-warning,.subject-rule-disabled-banner{flex-direction:column;gap:4px}}.op-link-success{color:#17744a}.op-link-danger{color:#b42318}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 8px;font-size:12px;white-space:nowrap}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-normal{color:#18794e;background:#eaf7ef}.status-disabled{color:#8a5960;background:#f8edef}.empty-table-cell{padding:32px!important;color:#8094ab;text-align:center}.subject-estimate-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px}.subject-estimate-form-panel,.subject-estimate-result-panel{padding:16px}.panel-heading,.subject-estimate-result-head,.subject-record-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-heading h2,.subject-estimate-result-head h3,.subject-record-detail-head h3{margin:0;color:#183f6a;font-size:18px}.panel-heading p,.subject-record-detail-head p{margin:5px 0 0;color:#758ca4;font-size:13px}.subject-estimate-form-grid,.subject-rule-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subject-estimate-form-grid .wide,.subject-rule-form-grid .wide{grid-column:1 / -1}.subject-estimate-form-grid input,.subject-estimate-form-grid select,.subject-rule-form-grid input,.subject-rule-form-grid select,.subject-rule-form-grid textarea{width:100%;box-sizing:border-box}.subject-estimate-form-grid small,.subject-rule-form-grid small{color:#7c91a7;line-height:1.45}.radio-row,.check-field{display:flex;align-items:center;flex-wrap:wrap;gap:14px;min-height:38px;color:#294c72;font-size:13px}.radio-row label,.check-field{display:inline-flex;align-items:center;gap:6px}.subject-estimate-help,.subject-rule-help,.subject-rule-example,.subject-rule-policy-list,.subject-formula-box,.subject-record-reconciliation{display:flex;flex-direction:column;gap:5px;margin-top:14px;padding:10px 12px;border-radius:6px;color:#526d88;background:#f7fbff;border:1px solid #e0ebf5;font-size:13px;line-height:1.55}.subject-estimate-help strong,.subject-rule-help strong,.subject-rule-example strong,.subject-formula-box strong,.subject-record-reconciliation strong{color:#28557f}.subject-estimate-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.subject-setting-empty-result{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:8px;color:#7890a8;text-align:center}.subject-setting-empty-result strong{color:#315a83;font-size:17px}.subject-setting-inline-error{margin-bottom:14px;color:#a33b32;background:#fff7f5;border-color:#f0c8c2}.subject-estimate-result-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.subject-estimate-result-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:14px}.subject-estimate-result-grid h4,.subject-record-snapshot h4{margin:0 0 8px;color:#244e7b;font-size:15px}.subject-estimate-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:16px}.subject-estimate-summary>div,.subject-record-amount-grid>div{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #dce8f3;border-radius:6px;background:#fff}.subject-estimate-summary span,.subject-record-amount-grid span,.subject-estimate-check-list span,.subject-record-snapshot span{color:#7188a0;font-size:12px}.subject-estimate-summary strong,.subject-record-amount-grid strong{color:#173f6d;font-size:17px;font-variant-numeric:tabular-nums}.subject-estimate-month-table{min-width:340px}.subject-estimate-month-table th,.subject-estimate-month-table td{padding:9px 10px}.subject-estimate-month-table tfoot{background:#f2f7fc}.number-cell{text-align:right;font-variant-numeric:tabular-nums}.subject-estimate-check-list{display:flex;flex-direction:column;gap:9px}.subject-estimate-check-list>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f7;padding-bottom:8px}.subject-estimate-check-list strong{color:#315a83;text-align:right}.reconciliation-line{border-bottom:0!important;color:#244e7b;font-weight:700}.warning-text{color:#b5473e!important}.subject-setting-warning{align-items:flex-start;margin-top:14px;color:#7b5620;background:#fffaf0;border-color:#f0dfb8}.subject-setting-warning strong{color:#8a5c13;white-space:nowrap}.subject-rule-modal .modal-body{max-height:min(72vh,780px);overflow-y:auto}.subject-rule-modal-body{display:flex;flex-direction:column;gap:12px}.subject-rule-section{padding:14px;border:1px solid #dce7f1;border-radius:8px;background:#fff}.subject-rule-section-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}.subject-rule-section-head>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;color:#fff;background:#2a78c9;font-weight:700}.subject-rule-section-head h3{margin:0;color:#214d79;font-size:16px}.subject-rule-section-head p{margin:3px 0 0;color:#7b91a8;font-size:12px}.subject-rule-version-notice{margin-top:12px;padding:8px 10px;color:#245b90;background:#edf6ff;border-radius:5px;font-size:13px}.subject-rule-warning{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:9px 10px;color:#7b5620;background:#fffaf0;border:1px solid #f0dfb8;border-radius:5px;font-size:12px;line-height:1.5}.subject-rule-warning strong{color:#8a5c13;white-space:nowrap}.subject-fixed-ratio-panel{margin-top:12px;padding:10px 12px;border:1px solid #dce7f1;border-radius:6px;background:#f8fbff}.subject-fixed-ratio-head,.subject-ratio-total{display:flex;justify-content:space-between;gap:10px;color:#315a83;font-size:13px}.subject-fixed-ratio-head{margin-bottom:8px}.subject-ratio-row{display:grid;grid-template-columns:1fr 130px 20px;align-items:center;gap:8px;margin-top:7px;color:#415f7a;font-size:13px}.subject-ratio-row input{width:100%;box-sizing:border-box}.subject-ratio-total{justify-content:flex-end;margin-top:10px;border-top:1px solid #dce7f1;padding-top:8px}.subject-definition-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.subject-definition-grid>div{display:flex;flex-direction:column;gap:4px;padding:8px;color:#637b94;background:#f8fbff;border:1px solid #e2ebf4;border-radius:5px;font-size:12px;line-height:1.45}.subject-definition-grid strong{color:#315a83}.subject-rule-policy-list span:before{content:"•";margin-right:6px;color:#2a78c9}.subject-record-status{display:inline-block;padding:3px 7px;border-radius:4px;font-size:12px;white-space:nowrap}.status-success{color:#18794e;background:#eaf7ef}.status-info{color:#225c96;background:#eaf4ff}.status-danger{color:#a33b32;background:#fff0ee}.subject-record-detail{margin-top:16px;border-top:3px solid #2a78c9;padding:16px}.subject-record-amount-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.subject-record-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:14px}.subject-record-snapshot h4{grid-column:1 / -1;margin-bottom:0}.subject-record-snapshot>div:not(:first-child){display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f7;padding-bottom:7px}@media(max-width:1080px){.subject-setting-toolbar{align-items:stretch;flex-direction:column}.subject-setting-toolbar-actions{justify-content:flex-end}.subject-estimate-layout,.subject-estimate-result-grid{grid-template-columns:1fr}.subject-definition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.subject-setting-filter-grid,.subject-estimate-form-grid,.subject-rule-form-grid,.subject-record-snapshot{grid-template-columns:1fr}.subject-estimate-form-grid .wide,.subject-rule-form-grid .wide,.subject-record-snapshot h4{grid-column:auto}.subject-setting-demo-banner,.subject-setting-demo-note,.subject-setting-warning{align-items:flex-start;flex-wrap:wrap}.subject-setting-demo-note .muted-text{margin-left:0}.subject-estimate-summary,.subject-record-amount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-definition-grid{grid-template-columns:1fr}.subject-ratio-row{grid-template-columns:1fr 100px 20px}.subject-record-detail-head{align-items:stretch;flex-direction:column}}.cost-setting-tabs{margin-bottom:14px}.cost-actual-mode-card{min-height:62px}.cost-allocation-card{min-height:58px}.cost-rule-subsection{margin-top:10px;padding-top:10px;border-top:1px dashed #d7e2ed}.cost-rule-subtitle{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-bottom:9px}.cost-rule-subtitle strong{color:var(--text);font-size:13px}.cost-rule-subtitle span{color:var(--muted);font-size:11px}.cost-rule-subtitle .content-help{flex:0 0 18px;color:var(--accent);font-size:11px}.cost-choice-grid-compact .cost-choice-card{min-height:52px;padding:9px 11px}.cost-choice-grid-compact .cost-choice-copy{gap:3px}@media(min-width:1101px){body.cost-setting-plan-active{overflow:hidden}.content-grid.cost-setting-plan-layout{min-height:0;padding:8px 14px 10px}.content-grid.cost-setting-plan-layout .cost-setting-tabs{margin-bottom:8px}.content-grid.cost-setting-plan-layout .cost-plan-header{margin-bottom:10px;padding:12px 18px}.content-grid.cost-setting-plan-layout .cost-setting-workspace{grid-template-columns:minmax(0,1fr) minmax(265px,300px);gap:10px;margin-bottom:8px}.content-grid.cost-setting-plan-layout .cost-plan-summary{min-width:0}.content-grid.cost-setting-plan-layout .cost-plan-summary dd{min-width:0;overflow-wrap:anywhere;text-align:right}.content-grid.cost-setting-plan-layout .cost-setting-config{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section{min-width:0}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3){background:linear-gradient(180deg,#fbfdff,#f7fbff)}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section+.cost-config-section{border-top:0}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(2),.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(3){border-left:1px solid var(--line)}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(4){grid-column:1 / -1;border-top:1px solid var(--line)}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3) .cost-choice-grid{grid-template-columns:1fr}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3) .cost-choice-card,.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3) .cost-actual-mode-card{min-height:52px;padding:8px 10px}.content-grid.cost-setting-plan-layout .cost-allocation-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:10px;padding:14px 16px 16px}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-config-title,.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-allocation-impact{grid-column:1 / -1}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection{min-width:0;margin:0;padding:10px;background:linear-gradient(180deg,#fff,#f9fcff);border:1px solid #dce7f2;border-radius:10px;box-shadow:0 2px 8px #0f27480a}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-rule-subtitle{align-items:center;margin-bottom:8px;padding:0;border:0}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-choice-grid{gap:6px}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-choice-card{min-height:44px;padding:8px 10px;border-radius:7px}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-choice-card.active{box-shadow:inset 2px 0 0 var(--accent),0 2px 7px #0f5b9c14}.content-grid.cost-setting-plan-layout .cost-allocation-impact{margin-top:2px;padding:7px 9px;font-size:11px;line-height:1.35}.content-grid.cost-setting-plan-layout .cost-rule-panel{padding:0}.content-grid.cost-setting-plan-layout .cost-rule-heading{margin-bottom:6px}.content-grid.cost-setting-plan-layout .cost-rule-list>div{padding:8px 10px}}.cost-choice-card.cost-choice-caution.active{background:#fff8ed;border-color:var(--orange);box-shadow:inset 3px 0 0 var(--orange)}.cost-choice-card.cost-choice-caution.active .cost-choice-mark{border-color:var(--orange)}.cost-allocation-impact{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:11px 13px;color:#47617d;background:var(--accent-soft);border-left:3px solid var(--accent);border-radius:0 6px 6px 0;font-size:12px;line-height:1.6}.cost-allocation-impact strong{flex:0 0 auto;color:var(--accent)}.cost-allocation-impact.is-caution{color:#7a5422;background:#fff8ed;border-left-color:var(--orange)}.cost-allocation-impact.is-caution strong{color:#b7680a}.product-master-toolbar{margin-bottom:12px;padding:18px 20px}.product-master-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.product-master-intro h2,.product-master-intro p{margin:0}.product-master-actions,.product-master-import-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.product-master-import-actions{padding-top:14px}.product-master-file-picker{position:relative;overflow:hidden;cursor:pointer}.product-master-file-picker input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.standard-cost-switch-section{border-top:1px solid var(--line)}.cost-switch-row{display:inline-flex;align-items:center;gap:10px;margin-top:12px;color:var(--text);cursor:pointer}.cost-switch-row input{width:18px;height:18px;accent-color:var(--accent)}.cost-switch-row span{display:grid;gap:2px}.cost-switch-row small{color:var(--muted);font-size:12px}.product-master-intro h2{font-size:16px}.product-master-intro p{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.6}.product-master-filter{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;align-items:end;gap:12px;padding-top:14px}.product-master-filter label{display:grid;gap:6px;color:var(--muted);font-size:12px}.product-master-filter input,.product-master-filter select{width:100%;height:34px;padding:0 10px;color:var(--text);background:var(--surface-bg);border:1px solid var(--line);border-radius:5px;font:inherit}.product-master-filter input:focus,.product-master-filter select:focus{outline:2px solid rgba(41,104,190,.16);border-color:var(--accent)}.product-master-filter-actions{display:flex;gap:8px}.product-master-note{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;color:#47617d;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:7px;font-size:12px}.product-master-note strong{flex:0 0 auto;color:var(--accent)}.product-standard-cost{color:var(--nav-deep);white-space:nowrap}.cost-setting-tabs+.product-master-toolbar+.product-master-note+.table-panel .data-table-wrap table{min-width:1080px}.product-master-toolbar+.product-master-note+.table-panel .data-table-wrap table{min-width:1500px}.product-master-form-tip{margin-bottom:14px}.product-master-form label em{color:var(--red);font-style:normal}.money-input{display:flex;align-items:center;height:36px;overflow:hidden;background:var(--surface-bg);border:1px solid var(--line);border-radius:5px}.money-input:focus-within{outline:2px solid rgba(41,104,190,.16);border-color:var(--accent)}.money-input span{padding-left:10px;color:var(--muted)}.money-input input{min-width:0;height:34px;border:0!important;outline:0!important;box-shadow:none!important}@media(max-width:900px){.product-master-filter{grid-template-columns:1fr 160px}.product-master-filter-actions{grid-column:1 / -1}}@media(max-width:640px){.product-master-intro{flex-direction:column}.product-master-filter{grid-template-columns:1fr}.product-master-filter-actions{grid-column:auto}.product-master-note{align-items:flex-start;flex-direction:column}}.bar-chart{display:grid;grid-template-columns:repeat(12,1fr);align-items:end;gap:8px;height:220px;padding-top:12px}.bar{min-height:22px;background:linear-gradient(180deg,var(--bar-top, #2f95ef),var(--bar-bottom, #1476d4));border-radius:5px 5px 0 0;box-shadow:0 -4px 12px #1476d414}.bar.tone-1{--bar-top: var(--primary-start);--bar-bottom: var(--accent)}.bar.tone-2{--bar-top: #2dc98f;--bar-bottom: var(--green)}.bar.tone-3{--bar-top: #fbbf24;--bar-bottom: var(--orange)}.bar.tone-4{--bar-top: #fb7185;--bar-bottom: var(--red)}.bar.tone-5{--bar-top: #9d7bff;--bar-bottom: var(--purple)}.bar.tone-6{--bar-top: #4f7cf0;--bar-bottom: var(--indigo)}.stack-chart{display:grid;gap:10px}.stack-line{display:grid;grid-template-columns:90px 1fr 54px;align-items:center;gap:10px;font-size:12px}.track{height:10px;overflow:hidden;background:#e7edf6;border-radius:999px}.fill{height:100%;background:var(--tone, var(--accent));border-radius:inherit}.stack-line.tone-1{--tone: var(--accent)}.stack-line.tone-2{--tone: var(--green)}.stack-line.tone-3{--tone: var(--orange)}.stack-line.tone-4{--tone: var(--purple)}.stack-line.tone-5{--tone: #94a3b8}.donut-wrap{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:14px}.donut{width:140px;height:140px;border-radius:50%;background:conic-gradient(var(--accent) 0 46%,var(--green) 46% 68%,var(--orange) 68% 83%,var(--purple) 83% 94%,#94a3b8 94%);position:relative;box-shadow:inset 0 0 0 1px #0f27480d,0 8px 20px #0f274814}.donut:after{content:"4,360万";position:absolute;top:28px;right:28px;bottom:28px;left:28px;display:grid;place-items:center;background:#fff;border-radius:50%;font-weight:800;font-size:16px}.ai-shell{display:grid;grid-template-columns:1fr 320px;min-height:620px;overflow:hidden;border-top:3px solid var(--teal)}.chat-area{display:flex;flex-direction:column;padding:18px}.message-list{flex:1;display:grid;align-content:start;gap:12px}.message{max-width:74%;padding:12px 14px;border-radius:8px;background:#f2f6fb;border:1px solid #e4edf7;font-size:13px;line-height:1.6}.message.user{justify-self:end;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));border-color:transparent}.prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.prompt-grid button{min-height:44px;color:#24527a;background:#f7faff;border:1px solid var(--line);border-radius:6px}.prompt-grid button:nth-child(1){border-color:#bad9f8;background:#f3f9ff}.prompt-grid button:nth-child(2){border-color:#bee9dd;background:#f2fbf8}.prompt-grid button:nth-child(3){border-color:#f6d8a1;background:#fff8ea}.prompt-grid button:nth-child(4){border-color:#d6cdfc;background:#f8f6ff}.chat-input{display:flex;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.chat-input input{flex:1;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:6px}.ai-side{padding:18px;background:linear-gradient(180deg,#f7faff,#f2fbfa);border-left:1px solid var(--line)}.content-grid.ai-fullscreen{grid-template-columns:minmax(0,1fr)}.finance-ai-page{min-height:calc(100vh - 104px);margin:-14px -16px -18px;background:var(--ai-bg);color:#17345b}.finance-ai-page svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.finance-ai-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:94px;padding:20px 24px;background:var(--topbar-bg);border-bottom:1px solid var(--line)}.finance-ai-title{display:flex;align-items:center;gap:14px}.finance-ai-icon,.welcome-icon,.assistant-avatar{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 10px 24px #176cc92e}.finance-ai-icon{width:44px;height:44px;border-radius:12px}.finance-ai-icon svg,.welcome-icon svg,.assistant-avatar svg{width:26px;height:26px}.finance-ai-title h2{margin:0;color:#17345b;font-size:20px;line-height:1.2}.finance-ai-title p{margin:7px 0 0;color:#8aa2bf;font-size:13px}.finance-ai-tools{display:flex;align-items:center;gap:12px;white-space:nowrap}.source-label{color:#607d9d;font-size:13px;font-weight:700}.finance-project-tabs{display:flex;gap:4px;width:100%;margin:0 0 16px;padding:4px;overflow-x:auto;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:10px}.finance-project-tabs button{flex:0 0 auto;min-height:38px;padding:0 16px;color:#647f9f;background:transparent;border:0;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.finance-project-tabs button.active{color:#fff;background:linear-gradient(180deg,var(--primary-start),var(--primary-end));box-shadow:0 6px 16px #1976d23d}.freight-standard-tabs{margin-bottom:12px}.freight-standard-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px;padding:12px 16px}.freight-standard-toolbar label{display:flex;flex-direction:column;gap:7px;min-width:min(320px,100%);color:var(--nav-deep);font-size:12px;font-weight:700}.freight-standard-toolbar select{width:100%;height:38px;padding:0 10px;color:var(--text);background:#fff;border:1px solid var(--accent-border);border-radius:8px}.freight-standard-toolbar-status{padding-bottom:9px;color:var(--muted);font-size:12px;white-space:nowrap}.freight-standard-template-panel{display:flex;flex-direction:column;gap:14px;margin-bottom:16px;padding:16px 18px}.freight-standard-template-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.freight-standard-template-head>div{display:flex;flex-direction:column;gap:4px}.freight-standard-template-head strong{color:var(--nav-deep);font-size:15px}.freight-standard-template-head>div>strong,.freight-standard-template-fields>span{color:var(--muted);font-size:12px;line-height:1.6}.freight-standard-template-head>div>strong{color:var(--nav-deep);font-size:15px}.freight-standard-template-current{flex:0 0 auto;padding:5px 10px;color:var(--accent)!important;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;font-weight:700;white-space:nowrap}.freight-standard-template-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.freight-standard-template-warehouse{display:flex;align-items:center;gap:10px}.freight-standard-template-warehouse label{display:inline-flex;align-items:center;gap:9px;color:var(--nav-deep);font-size:12px;font-weight:700}.freight-standard-template-warehouse select{min-width:220px;height:36px;padding:0 10px;color:var(--text);background:var(--surface-bg);border:1px solid var(--accent-border);border-radius:7px}.freight-standard-template-option{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:66px;padding:11px 13px;color:var(--nav-deep);text-align:left;background:#fff;border:1px solid var(--accent-border);border-radius:9px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.freight-standard-template-option strong{font-size:13px}.freight-standard-template-option .content-help{margin-top:1px}.freight-standard-template-option:hover,.freight-standard-template-option.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 5px 14px #1976d21f}.freight-standard-template-option.active strong{color:var(--accent)}.freight-standard-template-fields{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.freight-standard-template-fields em{padding:3px 8px;color:var(--nav-deep);font-size:11px;font-style:normal;background:var(--accent-soft-2);border-radius:999px}.freight-standard-template-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.freight-standard-file-picker{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 11px;color:var(--nav-deep);background:#fff;border:1px dashed var(--accent-border);border-radius:8px;cursor:pointer}.freight-standard-file-picker span{font-size:12px;font-weight:700}.freight-standard-file-picker input{max-width:190px;color:var(--muted);font-size:11px}.freight-standard-file-picker small{max-width:190px;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.freight-standard-template-status{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;line-height:1.6}.freight-standard-summary{margin-bottom:16px;padding:16px 18px}.freight-standard-summary-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.freight-standard-summary-head>div{display:flex;flex-direction:column;gap:4px}.freight-standard-summary-head strong{color:var(--nav-deep);font-size:15px}.freight-standard-summary-grid span{color:var(--muted);font-size:12px}.freight-standard-source{color:var(--accent)!important;font-weight:700;white-space:nowrap}.freight-standard-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.freight-standard-summary-grid>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:8px}.freight-standard-summary-grid strong{color:var(--nav-deep);font-size:16px}.freight-standard-summary+.table-panel .data-table-wrap table{min-width:1120px}.freight-standard-modal{display:grid;gap:16px}.freight-standard-workbook-note{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:13px 14px;color:var(--text);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:10px;font-size:12px;line-height:1.65}.freight-standard-workbook-note strong{color:var(--nav-deep);white-space:nowrap}.freight-standard-modal fieldset{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:10px}.freight-standard-modal legend{padding:0 6px;color:var(--nav-deep);font-size:13px;font-weight:700}.freight-standard-modal-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.freight-standard-modal-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:9px;min-height:62px;padding:12px;background:#fff;border:1px solid var(--accent-border);border-radius:9px;cursor:pointer}.freight-standard-modal-option:has(input:checked){background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.freight-standard-modal-option input{margin-top:3px;accent-color:var(--accent)}.freight-standard-modal-option span{display:grid;gap:4px}.freight-standard-modal-option strong{color:var(--nav-deep);font-size:13px}.freight-standard-modal-option small,.freight-standard-modal-file small{color:var(--muted);font-size:11px;line-height:1.5}.freight-standard-modal-file{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;color:var(--nav-deep);border:1px dashed var(--accent-border);border-radius:10px;font-size:13px;font-weight:700}.freight-standard-modal-file input{min-width:0;font-weight:400}.freight-standard-modal-file small{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.freight-standard-export-modes{display:flex;flex-wrap:wrap;gap:18px}.freight-standard-export-modes label{display:inline-flex;align-items:center;gap:7px;color:var(--text);font-size:13px;cursor:pointer}.freight-standard-export-modes input{accent-color:var(--accent)}.freight-standard-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:10px 12px;color:var(--muted);background:var(--surface-bg);border:1px solid var(--line);border-top:0;font-size:12px}.freight-standard-pagination-controls{display:flex;align-items:center;gap:8px}.freight-standard-pagination-controls select{min-width:84px;height:30px;padding:0 8px;color:var(--text);background:var(--surface-bg);border:1px solid var(--line);border-radius:6px}.freight-standard-pagination-controls button:disabled{cursor:not-allowed;opacity:.5}.source-tabs{display:inline-flex;gap:4px;padding:4px;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:10px}.source-tabs button,.clear-history{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;color:#647f9f;background:transparent;border:0;border-radius:8px;font-size:13px;font-weight:700}.source-tabs svg,.clear-history svg{width:17px;height:17px}.source-tabs button.active{color:#fff;background:linear-gradient(180deg,var(--primary-start),var(--primary-end));box-shadow:0 6px 16px #1976d23d}.clear-history{color:#6b82a1;background:#fff;border:1px solid var(--accent-border)}.finance-ai-canvas{padding:54px 34px 26px}.ai-welcome{display:grid;justify-items:center;text-align:center}.welcome-icon{width:78px;height:78px;border-radius:18px}.welcome-icon svg{width:42px;height:42px}.ai-welcome h2{margin:24px 0 0;color:#17345b;font-size:26px}.ai-welcome p{margin:20px 0 0;color:#86a1c0;font-size:17px}.ai-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,260px));justify-content:center;gap:18px;margin:34px auto 62px}.ai-quick-card{display:grid;gap:13px;min-height:142px;padding:22px 22px 18px;color:#17345b;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #143e6e12;text-align:left}.ai-quick-card:hover{border-color:var(--accent-border);box-shadow:0 16px 34px #1464b41f}.ai-quick-card svg{width:30px;height:30px}.ai-quick-card.trend svg,.ai-quick-card.report svg{color:var(--accent)}.ai-quick-card.pie svg{color:#26364f}.ai-quick-card.alert svg{color:#1f2937}.ai-quick-card strong{font-size:16px}.ai-quick-card span{color:#9ab0ca;font-size:13px}.ai-dialog{display:grid;gap:28px}.user-question{display:flex;align-items:center;justify-content:flex-end;gap:14px}.user-bubble{max-width:760px;min-height:68px;display:flex;align-items:center;padding:0 28px;color:#fff;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:20px;font-size:17px;box-shadow:0 10px 24px #187ada29}.user-avatar{display:grid;width:50px;height:50px;place-items:center;color:#fff;background:linear-gradient(180deg,var(--primary-start),var(--primary-end));border-radius:50%;font-size:20px;font-weight:800}.assistant-answer{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;align-items:start}.assistant-avatar{width:50px;height:50px;border-radius:12px}.answer-card{padding:24px 26px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 28px #143e6e0f}.answer-card h3{margin:0 0 18px;color:#17345b;font-size:16px}.answer-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.answer-kpi{min-height:136px;padding:20px 22px;border-radius:12px}.answer-kpi span,.answer-kpi small{display:block;font-size:14px}.answer-kpi strong{display:block;margin:14px 0;font-size:26px}.answer-kpi.income{color:#2f8a3c;background:#eaf8eb}.answer-kpi.profit{color:var(--accent);background:var(--accent-soft-2)}.answer-kpi.margin{color:#f26808;background:#fff3dd}.analysis-text{margin-top:22px;color:#48617d;line-height:1.65;font-size:14px}.analysis-text p{margin:8px 0 0}.finance-ai-input{padding:0 34px 20px;background:var(--ai-panel)}.input-box{min-height:138px;padding:16px;background:var(--surface-soft);border:2px solid var(--accent-border);border-radius:14px}.input-placeholder{display:flex;align-items:center;gap:10px;min-height:34px;color:#9ab0ca;font-size:15px}.input-placeholder svg{width:22px;height:22px}.input-actions{display:flex;align-items:center;gap:10px;margin-top:34px}.attach-btn,.blank-btn,.date-btn,.send-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;border:1px solid var(--accent-border)}.attach-btn,.blank-btn{width:44px;color:#6b82a1;background:#fff}.date-btn{padding:0 16px;color:#6480a0;background:#fff}.count{margin-left:auto;color:#b1c1d3;font-size:14px}.send-btn{padding:0 22px;color:#fff;background:linear-gradient(180deg,var(--primary-start),var(--primary-end));border-color:var(--primary-end);font-weight:800}.send-btn svg{width:19px;height:19px}.finance-ai-input p{margin:12px 0 0;color:#9ab0ca;font-size:13px}.modal-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;background:#0f172a6b}.modal-root[hidden]{display:none!important}.script-status{position:fixed;right:14px;bottom:12px;z-index:5;padding:6px 10px;color:#24527a;background:#ffffffeb;border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);font-size:12px}.modal{width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:8px;box-shadow:0 30px 90px #0f172a47}.modal.small{width:520px}.modal.large{width:960px}.modal.employee-post-modal,.modal.talent-maintenance-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.modal.talent-maintenance-modal{width:min(840px,calc(100vw - 48px))}.employee-post-modal .modal-body,.talent-maintenance-modal .modal-body{min-height:0;overflow:auto;overflow-x:hidden}.form-grid.talent-maintenance-form{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}@media(max-width:720px){.modal.talent-maintenance-modal{width:calc(100vw - 24px)}.form-grid.talent-maintenance-form{grid-template-columns:1fr}.talent-maintenance-form .wide{grid-column:auto}}.modal.store-create-modal{width:min(920px,calc(100vw - 48px));max-height:min(680px,calc(100vh - 36px));overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.store-create-modal .modal-head,.store-create-modal .modal-foot{padding:11px 18px}.store-create-modal .modal-head h2{font-size:17px;line-height:1.3}.store-create-modal .modal-body{overflow:auto;padding:16px 18px 18px}.store-create-modal .store-create-form{gap:20px 24px}.store-create-modal .field{gap:8px}.store-create-modal .field label{color:var(--text);font-size:13px;font-weight:700}.store-create-modal .field input,.store-create-modal .field select,.store-create-modal .field textarea{min-height:42px;padding:9px 12px;font-size:14px}.store-create-modal .field textarea{min-height:78px;resize:vertical}@media(max-width:720px){.modal.store-create-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.store-create-modal .modal-head,.store-create-modal .modal-foot{padding-right:18px;padding-left:18px}.store-create-modal .modal-body{padding:20px 18px 24px}.store-create-modal .store-create-form{grid-template-columns:1fr;gap:16px}}.selection-modal{display:grid;grid-template-rows:auto auto auto minmax(320px,1fr) auto;width:min(960px,calc(100vw - 44px));max-height:min(760px,calc(100vh - 36px));overflow:hidden;background:#fff;border-radius:8px;box-shadow:0 30px 90px #0f172a47}.selection-modal.no-tabs{grid-template-rows:auto auto minmax(320px,1fr) auto}.selection-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px}.selection-modal-head h2{margin:0;color:#273142;font-size:17px;line-height:1.3}.selection-search{display:flex;align-items:center;width:240px;min-height:38px;padding:0 10px;color:#98a3b3;background:#f7f8fa;border-radius:6px}.selection-search input{flex:1;min-width:0;padding:0 8px;color:var(--text);background:transparent;border:0;outline:0}.selection-search button{width:26px;padding:0;color:#7f8a9b;background:transparent;border:0;font-size:24px;line-height:1}.selection-tabs{display:flex;gap:34px;padding:0 28px;border-bottom:1px solid #edf0f4}.selection-tabs button{position:relative;min-height:44px;padding:0;color:#303640;background:transparent;border:0;font-size:14px;white-space:nowrap}.selection-tabs button.active{color:#4f7dff;font-weight:700}.selection-tabs button.active:after{position:absolute;right:0;bottom:-1px;left:0;height:3px;content:"";background:#4f7dff}.selection-controls{display:flex;align-items:center;gap:24px;padding:14px 28px 10px;color:#3f4650;font-size:14px}.selection-controls label,.selection-controls button{display:inline-flex;align-items:center;gap:8px;color:inherit;background:transparent;border:0;font-size:inherit}.selection-controls input,.selection-group-head input,.selection-option input{width:20px;height:20px;accent-color:#4f7dff}.selection-controls button:hover{color:var(--accent)}.selection-scroll{min-height:0;padding:0 28px 12px;overflow:auto}.selection-group{padding:8px 0 4px}.selection-group-head{display:flex;align-items:center;min-height:34px}.selection-group-head>label{display:inline-flex;align-items:center;gap:10px;color:#303640}.selection-group-head strong{font-size:15px}.selection-caret{width:22px;padding:0;color:#111827;background:transparent;border:0;font-size:17px;transition:transform .16s ease}.selection-caret.collapsed{transform:rotate(-90deg)}.selection-group-items{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px 42px;padding:5px 0 7px 45px}.selection-option{display:flex;align-items:center;gap:10px;min-height:28px;color:#303640;font-size:14px}.selection-option[hidden]{display:none}.selection-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px 18px;border-top:1px solid #edf0f4}.selection-modal-foot>span{color:#596273;font-size:14px}.selection-modal-foot>div{display:flex;gap:10px}.import-platform-modal .modal-head{min-height:46px;padding:8px 18px}.import-platform-modal .modal-head h2{margin:0;font-size:16px}.import-store-confirm-modal,.import-progress-modal{width:min(640px,calc(100vw - 48px))}.import-store-confirm-panel,.import-progress-panel{display:grid;gap:18px}.import-confirm-summary,.import-progress-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#f7faff;border:1px solid #e2ebf7;border-radius:8px}.import-progress-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.import-confirm-summary>div,.import-progress-summary>div{display:grid;gap:5px;min-width:0}.import-confirm-summary span,.import-progress-summary span{color:var(--muted);font-size:12px}.import-confirm-summary strong,.import-progress-summary strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.import-store-confirm-panel small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.import-progress-overview{display:grid;gap:10px}.import-progress-track{height:12px;overflow:hidden;background:#e8eef7;border-radius:999px}.import-progress-bar{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--brand-a),#6f9cff);border-radius:inherit;transition:width .35s ease}.import-progress-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px}.import-progress-meta strong{color:var(--brand-a);font-size:20px}.import-progress-steps{display:grid;gap:10px;margin:0;padding:0;list-style:none}.import-progress-steps li{position:relative;padding-left:26px;color:#9aa5b5;font-size:13px}.import-progress-steps li:before{position:absolute;top:3px;left:2px;width:12px;height:12px;content:"";background:#dce4ef;border-radius:50%}.import-progress-steps li.is-active{color:var(--brand-a);font-weight:600}.import-progress-steps li.is-active:before{background:var(--brand-a);box-shadow:0 0 0 4px #4f7dff24}.import-progress-steps li.is-complete{color:#2d9d78}.import-progress-steps li.is-complete:before{background:#2d9d78}.platform-import-progress{display:grid;gap:14px;padding:14px 16px;margin-bottom:12px}.platform-import-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.platform-import-progress-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.platform-import-progress-head h2{margin:0;color:var(--text);font-size:16px;line-height:1.3}.platform-import-progress-head p{margin:2px 0 0;color:var(--muted);font-size:12px}.platform-import-progress .import-progress-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.platform-import-progress .import-progress-steps li{padding-left:20px;font-size:12px}@media(max-width:720px){.platform-import-progress .import-progress-summary,.platform-import-progress .import-progress-steps{grid-template-columns:1fr}}.modal-head,.modal-foot{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:16px;line-height:1.3}.modal-foot{justify-content:flex-end;gap:8px;border-top:1px solid var(--line);border-bottom:0}.modal-body{padding:14px 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .wide{grid-column:1 / -1}.modal.fee-allocation-modal{width:min(900px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.platform-import-tabs{margin-bottom:12px}.platform-import-workspace{padding:12px 14px;margin-bottom:12px}.platform-import-workspace-head,.platform-import-workspace-head>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.platform-import-workspace-head>div:first-child{justify-content:flex-start}.platform-import-workspace-head h2{margin:0;font-size:16px;line-height:1.25}.platform-import-workspace-head p{margin:2px 0 0;color:var(--muted);font-size:11px}.platform-import-workspace-head .platform-icon{width:32px;height:32px;border-radius:7px;font-size:15px}.platform-import-inline-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:12px}.platform-import-inline-form label{display:grid;gap:6px;color:var(--muted);font-size:12px}.platform-import-inline-form input,.platform-import-inline-form select{width:100%;min-height:var(--control-height);padding:0 10px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px}.platform-import-inline-form .primary-btn{min-height:var(--control-height);white-space:nowrap}.shipment-import-panel{margin-bottom:18px;padding:18px 20px}.shipment-import-head,.shipment-import-actions,.shipment-import-summary{display:flex;align-items:center;gap:14px}.shipment-import-head{justify-content:space-between;margin-bottom:16px}.shipment-import-head h2{margin:0 0 5px;font-size:16px}.shipment-import-head p{margin:0;color:var(--muted);font-size:12px}.shipment-import-actions{flex-wrap:wrap}.shipment-import-hint{flex-basis:100%;margin:-4px 0 0;color:var(--muted);font-size:12px}.shipment-file-picker{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;color:var(--text);background:var(--panel-soft);border:1px solid var(--line);border-radius:6px;cursor:pointer;font-size:13px}.shipment-file-picker input{max-width:210px;font-size:12px}.shipment-field-details{margin-top:14px;color:var(--muted);font-size:12px}.shipment-field-details summary{cursor:pointer;color:var(--accent)}.shipment-field-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.shipment-field-tags span{padding:4px 8px;color:#38526c;background:#fff8d9;border:1px solid #f0d878;border-radius:999px}.shipment-import-summary{flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.shipment-import-summary strong{margin-left:4px;color:var(--text);font-size:14px}.shipment-import-summary .warning-text{color:#b54708}.shipment-preview-note{margin-top:12px;padding:9px 10px;color:#24527a;background:#eef7ff;border-radius:5px;font-size:12px}@media(max-width:720px){.platform-import-workspace-head{align-items:flex-start;flex-direction:column}.platform-import-inline-form{grid-template-columns:1fr}}.fee-allocation-modal .modal-body{min-height:0;overflow:auto;padding:14px 18px}.fee-allocation-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}.fee-allocation-row{display:grid;align-content:start;gap:6px;min-width:0}.fee-allocation-row:has(.allocation-scope-field),.fee-allocation-row.fee-allocation-note{grid-column:1 / -1}.fee-allocation-row>label,.fee-allocation-label-line>label{position:relative;display:inline-flex;align-items:center;justify-self:start;gap:6px;color:var(--text);font-size:14px;font-weight:700;text-align:left}.fee-allocation-row.required>label:before,.fee-allocation-row.required>.fee-allocation-label-line>label:before{margin-right:4px;color:var(--red);content:"*"}.fee-allocation-label-line{display:flex;align-items:center;gap:6px}.fee-allocation-row input,.fee-allocation-row select,.fee-allocation-row textarea{width:100%;min-height:42px;padding:9px 12px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:4px}.fee-allocation-modal .fee-allocation-row input,.fee-allocation-modal .fee-allocation-row select{min-height:38px;padding-top:7px;padding-bottom:7px}.fee-allocation-row.fee-allocation-readonly input[readonly]{color:var(--muted);background:var(--surface-soft);cursor:not-allowed}.fee-allocation-readonly .form-tip{min-height:38px}.fee-allocation-row textarea{min-height:62px;resize:vertical}@media(max-width:900px){.fee-allocation-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.modal.fee-allocation-modal{width:calc(100vw - 24px)}.fee-allocation-form{grid-template-columns:1fr}}.fee-allocation-row input:focus,.fee-allocation-row select:focus,.fee-allocation-row textarea:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.warehouse-multiselect{position:relative;display:grid;gap:6px}.warehouse-multiselect-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:38px;padding:7px 12px;color:var(--text);text-align:left;background:#fff;border:1px solid var(--line);border-radius:4px}.warehouse-multiselect-trigger [data-warehouse-summary]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-multiselect-trigger:hover,.warehouse-multiselect-trigger:focus-visible,.warehouse-multiselect-trigger[aria-expanded=true]{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.warehouse-multiselect-menu{position:absolute;top:44px;right:0;z-index:20;display:grid;width:min(420px,calc(100vw - 48px));overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 16px 36px #162d4a2e}.warehouse-multiselect-menu[hidden]{display:none}.warehouse-multiselect-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--surface-soft);border-bottom:1px solid var(--line);font-size:13px}.warehouse-multiselect-head button{padding:3px 6px;color:var(--accent);background:transparent;border:0;font-size:12px}.warehouse-multiselect-head button:disabled{color:var(--muted);cursor:not-allowed}.warehouse-multiselect-options{display:grid;max-height:248px;padding:6px;overflow-y:auto}.warehouse-multiselect-options label{display:flex;align-items:center;gap:9px;min-height:34px;padding:6px 8px;border-radius:4px;cursor:pointer}.warehouse-multiselect-options label:hover,.warehouse-multiselect-options label:has(input:checked){background:var(--surface-soft)}.fee-allocation-modal .warehouse-multiselect-options input{flex:0 0 auto;width:16px;min-height:16px;margin:0;padding:0}.allocation-chips{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.allocation-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;color:#637083;background:#f0f2f5;border-radius:6px;font-size:13px;white-space:nowrap}.allocation-chip-remove{display:inline-grid;width:17px;height:17px;padding:0;place-items:center;color:#9aa5b4;background:#d5dae2;border:0;border-radius:50%;font-size:12px;line-height:1}.allocation-chip-remove:hover{color:#fff;background:var(--accent)}.allocation-scope-field{display:grid;gap:8px;min-height:42px;padding:7px 10px;border:1px solid var(--line);border-radius:4px;background:#fff}.allocation-scope-topline{display:flex;align-items:center;gap:10px;min-width:0}.allocation-scope-topline .allocation-chips{min-width:0}.allocation-scope-trigger{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-height:30px;padding:4px 8px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:4px;font-size:12px;cursor:pointer}.allocation-scope-trigger span{color:var(--muted);font-size:14px}.allocation-scope-summary{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.allocation-scope-overlay,.talent-picker-overlay,.selection-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;padding:24px;background:#0f172a3d}.allocation-scope-dialog{display:grid;grid-template-rows:auto minmax(320px,1fr) auto;width:min(960px,calc(100vw - 44px));max-height:min(720px,calc(100vh - 36px));overflow:hidden;background:#fff;border-radius:8px;box-shadow:0 30px 90px #0f172a47}.allocation-scope-head,.allocation-scope-foot,.talent-picker-head,.talent-picker-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px}.allocation-scope-head,.talent-picker-head{border-bottom:1px solid var(--line)}.allocation-scope-head h2,.talent-picker-head h2{margin:0 0 4px;color:var(--text);font-size:20px}.allocation-scope-head span,.talent-picker-head span{color:var(--muted);font-size:12px}.allocation-scope-columns{display:grid;grid-template-columns:.8fr 1.4fr 1fr;min-height:0}.allocation-scope-column{min-width:0;padding:18px 20px;border-right:1px solid var(--line)}.allocation-scope-column:last-child{border-right:0}.allocation-scope-column h3{margin:0 0 14px;color:var(--text);font-size:15px}.allocation-scope-scroll{max-height:390px;overflow:auto;padding-right:6px}.allocation-scope-check,.allocation-radio{display:flex;align-items:center;gap:9px;min-height:34px;color:var(--text);font-size:13px;cursor:pointer}.allocation-scope-check input,.allocation-radio input{width:16px;height:16px;accent-color:var(--accent)}.allocation-scope-platform{padding:3px 8px;border-radius:4px}.allocation-scope-platform:has(input:checked){color:var(--accent);background:var(--accent-soft)}.allocation-scope-store-group{margin-bottom:14px}.allocation-scope-store-group>strong,.allocation-business-panel>strong{display:block;margin:0 0 6px;color:var(--text);font-size:13px}.allocation-scope-store-group .allocation-scope-check{padding-left:18px}.allocation-business-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:14px;border-bottom:1px solid var(--line)}.allocation-business-panel{display:grid;gap:4px;margin-top:16px;padding:12px;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:6px}.allocation-business-panel[hidden]{display:none}.talent-picker-open{justify-self:start;margin-top:6px}.allocation-selected-talents{color:var(--muted);font-size:12px;line-height:1.6}.allocation-scope-foot,.talent-picker-foot{border-top:1px solid var(--line)}.allocation-scope-foot>span,.talent-picker-foot>span{color:var(--muted);font-size:13px}.allocation-scope-foot>div,.talent-picker-foot>div{display:flex;gap:10px}.talent-picker-dialog{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto;width:min(560px,calc(100vw - 44px));max-height:min(660px,calc(100vh - 36px));overflow:hidden;background:#fff;border-radius:8px;box-shadow:0 30px 90px #0f172a47}.talent-picker-search{display:flex;align-items:center;gap:8px;margin:16px 24px 10px;padding:0 12px;background:#f7f9fc;border:1px solid var(--line);border-radius:4px}.talent-picker-search span{color:var(--muted)}.talent-picker-search input{width:100%;min-height:38px;border:0;outline:0;background:transparent}.talent-picker-list{overflow:auto;padding:0 24px 14px}.talent-picker-option{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #f0f2f5;cursor:pointer}.talent-picker-option:hover{background:var(--accent-soft)}.talent-picker-option input{width:16px;height:16px;accent-color:var(--accent)}.talent-picker-option span{display:grid;gap:3px}.talent-picker-option small{color:var(--muted);font-size:11px}.talent-picker-option[hidden]{display:none}.fee-allocation-note{align-items:start}.percentage-input{display:flex;align-items:center;min-height:34px;padding-right:10px;background:#fff;border:1px solid var(--line);border-radius:6px}.percentage-input input{flex:1;min-width:0;border:0;box-shadow:none}.percentage-input input:focus{border:0;box-shadow:none}.percentage-input span{color:var(--muted);font-size:12px;white-space:nowrap}.talent-custom-fields-panel{display:grid;gap:10px}.talent-commission-section{display:grid;gap:8px;min-width:0;padding:12px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}.talent-commission-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:3px;background:#e9eef4;border-radius:8px}.talent-commission-mode-option{position:relative;min-width:0;cursor:pointer}.talent-commission-mode-option input{position:absolute;width:1px;min-height:1px;margin:0;opacity:0;pointer-events:none}.talent-commission-mode-option span{display:grid;min-height:38px;place-items:center;padding:0 10px;color:var(--muted);border-radius:6px;font-size:13px;font-weight:600;white-space:nowrap;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.talent-commission-mode-option:hover span{color:var(--text)}.talent-commission-mode-option:has(input:checked) span{color:var(--accent);background:#fff;box-shadow:0 1px 4px #0f172a1f}.talent-commission-mode-option input:focus-visible+span{outline:3px solid var(--focus-ring);outline-offset:1px}.talent-fixed-commission-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0}.talent-commission-total-field{align-content:start}.talent-commission-total{display:flex;min-height:var(--control-height);align-items:center;justify-content:space-between;gap:8px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:6px}.talent-commission-total strong{color:var(--accent);font-size:16px}.talent-commission-total span{color:var(--muted);font-size:11px}.talent-fixed-commission-panel[hidden],.talent-commission-tiers-panel[hidden]{display:none}.talent-commission-tiers-panel{display:grid;gap:10px;min-width:0;padding-top:2px}.talent-commission-tiers-panel .talent-custom-fields-head>div{display:grid;gap:2px}.talent-commission-tiers-panel .talent-custom-fields-head strong{color:var(--text);font-size:13px}.talent-commission-tier-head,.talent-commission-tier-row{display:grid;grid-template-columns:44px minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr) 42px;gap:8px;align-items:center}.talent-commission-tier-head{color:var(--muted);font-size:12px}.talent-commission-tier-row{margin-top:4px}.talent-commission-tier-row input{min-height:34px}.tier-index{display:grid;width:26px;height:26px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:50%;font-weight:700}@media(max-width:720px){.talent-fixed-commission-panel{grid-template-columns:1fr}.talent-commission-mode-option span{padding:0 5px;font-size:12px}.talent-commission-tier-head,.talent-commission-tier-row{grid-template-columns:34px minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 38px;gap:5px}}.panel-head-actions{display:flex;align-items:center;gap:10px}.tab-badge{display:inline-grid;min-width:18px;height:18px;padding:0 5px;place-items:center;color:#fff;background:var(--red);border-radius:999px;font-size:11px;line-height:18px}.table-column-popover{position:fixed;z-index:1200;width:280px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 36px #0f274829}.table-column-popover-head,.table-column-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.table-column-options{display:grid;max-height:300px;gap:6px;margin:12px 0;overflow:auto}.table-column-item{display:flex;align-items:center;gap:6px;min-height:30px;padding:3px 4px;border:1px solid transparent;border-radius:5px;cursor:grab}.table-column-item.is-dragging{opacity:.55;background:var(--table-head-bg);border-color:var(--line)}.table-column-item>label{flex:1;min-width:0}.table-column-drag{color:#91a5bd;font-size:16px;line-height:1;-webkit-user-select:none;user-select:none}.table-column-move{display:inline-flex;gap:2px}.table-column-move button{width:22px;height:22px;padding:0;color:#50627a;background:transparent;border:1px solid var(--line);border-radius:4px;cursor:pointer}.table-column-move button:hover{color:var(--accent);border-color:var(--accent)}.table-column-options label{display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px}.table-column-actions{justify-content:flex-end;padding-top:10px;border-top:1px solid var(--line)}.talent-custom-fields-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.talent-custom-fields-head label{color:var(--text);font-weight:700}.talent-custom-field-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(220px,1.2fr) auto;gap:8px;align-items:center;margin-top:8px}.talent-custom-field-row input{min-height:34px}.employee-summary-grid .panel{min-height:112px}.assignment-form{display:grid;gap:18px}.assignment-section{border:1px solid var(--line);border-radius:8px;overflow:hidden}.assignment-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:var(--surface-soft);border-bottom:1px solid var(--line)}.assignment-section-head h3{margin:0;font-size:15px}.assignment-section-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.assignment-section-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.assignment-table{display:grid;overflow:auto}.assignment-row{display:grid;grid-template-columns:260px 140px 160px 150px 58px;gap:8px;align-items:center;min-width:820px;padding:10px 12px;border-bottom:1px solid #e9f0f8}.assignment-row:last-child{border-bottom:0}.assignment-head{min-height:38px;color:#40536d;background:var(--table-head-bg);font-size:12px;font-weight:800}.assignment-row input,.assignment-row select{width:100%;min-height:32px;padding:0 8px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px}.assignment-row .selection-trigger{min-height:32px;padding:0 8px;border-radius:6px;font-size:11px}.assignment-row input:focus,.assignment-row select:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.assignment-row input:disabled{color:#9aa8b8;background:#eef2f6;border-color:#dbe3ec;cursor:not-allowed}.assignment-row.muted-row{background:#fbfdff}.upload-box,.paste-box,.formula-box{display:grid;place-items:center;min-height:150px;padding:18px;background:#f7faff;border:1px dashed #9bb8d8;border-radius:8px;color:var(--muted);text-align:center}.upload-box{position:relative;cursor:pointer;transition:border-color .15s ease,background .15s ease}.upload-box:hover,.upload-box.is-dragover{background:#eef6ff;border-color:var(--brand-a)}.platform-import-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.platform-import-file-name{display:block;margin-top:8px;color:var(--brand-a);font-size:13px}.paste-box,.formula-box{place-items:stretch;text-align:left}.paste-box textarea,.formula-box textarea{min-height:140px;resize:vertical}.talent-batch-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.talent-batch-file{position:relative;overflow:hidden;cursor:pointer}.talent-batch-file input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}@media(max-width:1280px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}#app{min-height:100vh}.login-shell{display:grid;min-height:100vh;min-width:0;place-items:center;padding:32px;background:linear-gradient(180deg,var(--page-bg-top),var(--page-bg-bottom))}.login-panel{width:min(430px,100%);padding:30px 34px;background:var(--surface-bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 22px 60px #073b7824}.login-brand{display:grid;height:82px;place-items:center;margin-bottom:20px;background:linear-gradient(135deg,#fff,#f1f9ff);border-bottom:3px solid var(--brand-a);border-radius:9px}.login-brand img{width:210px;height:74px;object-fit:contain}.login-eyebrow{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.login-panel h1{margin:10px 0 8px;font-size:25px}.login-panel>p{margin:0 0 24px;color:var(--muted);font-size:13px}.login-panel form{display:grid;gap:14px}.login-panel label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:700}.login-panel input{width:100%;min-height:42px;padding:0 12px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px;outline:none}.login-panel input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.login-panel .primary-btn{width:100%;min-height:42px;margin-top:4px}.login-error{margin:0;color:var(--red);font-size:12px}.login-hint{display:block;margin-top:18px;color:var(--muted);font-size:11px;text-align:center}.logout-top-button{min-height:34px;padding:0 12px;color:var(--muted);background:var(--surface-bg);border:1px solid var(--line);border-radius:6px;font-size:12px}.logout-top-button:hover{color:var(--accent);border-color:var(--accent-border)}input[type=date],input[type=datetime-local]{min-height:var(--control-height);height:var(--control-height);padding:0 12px;font-size:inherit;line-height:normal}input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator{width:22px;height:22px;margin-left:4px;cursor:pointer}.custom-date-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;display:grid;place-items:center;padding:20px;background:#0f274847}.custom-date-picker{width:min(380px,calc(100vw - 32px));padding:16px;background:var(--surface-bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 70px #0f27483d}.custom-date-picker-head{display:grid;grid-template-columns:34px 34px 1fr 34px 34px;align-items:center;gap:8px;margin-bottom:14px;text-align:center}.custom-date-picker-head strong{color:var(--text);font-size:17px}.custom-date-picker-head button{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:8px;font-size:22px;line-height:1}.custom-date-picker-weekdays,.custom-date-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.custom-date-picker-weekdays{margin-bottom:8px;color:var(--muted);font-size:13px;font-weight:700;text-align:center}.custom-date-picker-day,.custom-date-picker-empty{min-height:36px}.custom-date-picker-day{color:var(--text);background:#fff;border:1px solid var(--line);border-radius:8px;font-size:14px}.custom-date-picker-day:hover,.custom-date-picker-day.selected{color:#fff;background:linear-gradient(135deg,var(--primary-start),var(--primary-end));border-color:var(--accent)}.custom-date-picker-time{display:flex;align-items:center;gap:8px;margin-top:14px;color:var(--muted);font-size:13px;font-weight:700}.custom-date-picker-time input{width:132px;min-height:var(--control-height);padding:0 12px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:6px}.custom-date-picker-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.org-warning{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px 16px;color:#7a4b00;background:#fff8e8;border:1px solid #f3d18a;border-radius:10px;font-size:13px}.org-warning strong{color:#a56400;white-space:nowrap}.org-relation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1.5fr;gap:12px;margin-bottom:16px}.org-summary-card{min-height:92px;padding:16px 18px;background:var(--surface-bg);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-soft)}.org-summary-card span,.org-summary-card small{display:block;color:var(--muted);font-size:12px}.org-summary-card strong{display:block;margin:8px 0 4px;color:var(--text);font-size:26px;line-height:1}.org-summary-card-wide strong{overflow:hidden;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.org-filter-bar{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px;padding:14px 16px;background:var(--surface-bg);border:1px solid var(--line);border-radius:12px}.org-filter-control{display:grid;gap:6px;min-width:210px}.org-filter-control label{color:var(--muted);font-size:12px;font-weight:700}.org-filter-actions{display:flex;gap:8px;margin-left:auto}.org-relation-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.7fr);gap:16px;align-items:start}.org-subject-tree,.org-subject-detail{min-width:0;overflow:hidden}.org-subject-list{max-height:650px;overflow:auto;padding:10px}.org-subject-node{padding-left:calc(var(--org-level) * 16px)}.org-subject-button{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;margin:2px 0;padding:11px 12px;color:var(--text);background:transparent;border:1px solid transparent;border-radius:9px;text-align:left}.org-subject-button:hover,.org-subject-button.active{background:var(--accent-soft);border-color:var(--accent-border)}.org-subject-node-main{display:grid;gap:4px;min-width:0}.org-subject-node-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-subject-node-main small{color:var(--muted);font-size:11px}.org-subject-children{border-left:1px solid var(--line)}.org-subject-detail{padding:20px}.org-subject-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.org-subject-header h2{margin:5px 0 8px;font-size:22px}.org-subject-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px}.org-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.org-detail-grid>div{min-width:0;padding:12px 14px;background:var(--surface-soft);border:1px solid var(--line);border-radius:9px}.org-detail-grid>div.wide{grid-column:span 2}.org-detail-grid span,.org-detail-grid strong{display:block}.org-detail-grid span{margin-bottom:6px;color:var(--muted);font-size:12px}.org-detail-grid strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.org-relation-tabs{display:flex;gap:22px;margin:8px 0 0;border-bottom:1px solid var(--line)}.org-relation-tabs button{padding:12px 2px;color:var(--muted);background:transparent;border:0;border-bottom:2px solid transparent;font-weight:700}.org-relation-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.org-detail-section{padding-top:16px}.org-detail-section .panel-head{margin-bottom:8px}.org-relation-table-wrap{overflow-x:auto}.org-relation-table-wrap table{min-width:900px}.organization-subject-modal .modal-body,.organization-relation-modal .modal-body{max-height:72vh;overflow:auto}.organization-subject-form,.organization-relation-form{grid-template-columns:repeat(2,minmax(0,1fr))}.organization-subject-form .field.wide,.organization-relation-form .field.wide{grid-column:span 2}.field-help{color:var(--muted);font-size:12px}@media(max-width:1180px){.org-relation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.org-summary-card-wide{grid-column:span 2}.org-relation-layout{grid-template-columns:1fr}.org-subject-list{max-height:280px}}@media(max-width:720px){.org-filter-bar,.org-subject-header{align-items:stretch;flex-direction:column}.org-filter-actions{margin-left:0}.org-filter-control{min-width:0}.org-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.org-detail-grid>div.wide{grid-column:span 2}.organization-subject-form,.organization-relation-form{grid-template-columns:1fr}.organization-subject-form .field.wide,.organization-relation-form .field.wide{grid-column:span 1}}:root{--control-height: 38px;--bg: #f3f6fa;--page-bg-top: #f3f6fa;--page-bg-mid: #f7f9fc;--page-bg-bottom: #f1f4f8;--surface-bg: #ffffff;--surface-soft: #f8fafc;--panel: #ffffff;--panel-soft: #f8fafc;--line: #dfe6ef;--text: #1f2d3d;--muted: #6b7a8c;--accent: #1769aa;--accent-2: #2b83c6;--accent-3: #168a82;--accent-soft: #eef6fc;--accent-soft-2: #e4f0f9;--accent-border: #b9d5ea;--topbar-bg: #ffffff;--table-head-bg: #f1f5f9;--hover-bg: #f5f9fd;--focus-ring: rgba(23, 105, 170, .14);--primary-start: #2277b8;--primary-end: #1769aa;--primary-hover-start: #2f88ca;--primary-hover-end: #125d98;--shadow: 0 12px 30px rgba(26, 47, 73, .08);--shadow-soft: 0 2px 8px rgba(26, 47, 73, .045)}body{color:var(--text);background:var(--bg)}.sidebar{background:var(--nav-deep);box-shadow:inset -1px 0 #ffffff14,8px 0 22px #152d4714}.brand{height:68px;background:#fff;border-bottom-color:#d9e3ed;box-shadow:0 3px 12px #152d4714}.brand:after{right:18px;left:18px;height:2px;background:var(--accent)}.brand-logo{height:66px;filter:none}.module-nav{padding:12px 10px 16px}.nav-group-title{min-height:40px;border-radius:8px}.nav-group-title.active{background:#ffffff1a;border-color:#ffffff14;box-shadow:inset 3px 0 0 var(--nav-active-2)}.nav-item.active{background:#ffffff24;box-shadow:inset 3px 0 0 var(--nav-active-2)}.topbar{height:64px;padding:0 22px;background:var(--topbar-bg);box-shadow:0 1px #1f2d3d08}h1{color:var(--text);font-size:17px;font-weight:700}.breadcrumb{color:#8090a2}.content-grid{padding:18px 20px 24px}.page-head,.filter-bar,.panel,.table-panel,.chart-panel,.ai-shell{border-radius:10px;box-shadow:var(--shadow-soft)}.filter-bar{gap:12px;padding:14px 16px;background:var(--surface-bg)}.field{gap:6px}.field label{color:#64748b;font-size:12px;font-weight:600}.field input,.field select,.field textarea,.selection-trigger{min-height:var(--control-height);border-radius:8px}.field input,.field select,.field textarea{border-color:#d5dee9}.field input:hover,.field select:hover,.field textarea:hover,.selection-trigger:hover{border-color:#b7c8d9}.icon-btn,.ghost-btn,.primary-btn,.secondary-btn,.danger-btn{min-height:36px;border-radius:8px;font-size:13px;font-weight:600}.primary-btn{background:var(--accent);border-color:var(--accent);box-shadow:0 4px 10px #1769aa24}.primary-btn:hover{background:#125d98}.secondary-btn,.ghost-btn{color:#3f5f7c;background:#fff;border-color:#d5dee9}.secondary-btn:hover,.ghost-btn:hover,.icon-btn:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-border)}.kpi-grid{gap:12px}.kpi-card,.kpi-card.tone-1,.kpi-card.tone-2,.kpi-card.tone-3,.kpi-card.tone-4,.kpi-card.tone-5,.kpi-card.tone-6{--tone: var(--accent);--tone-bg: #fff;min-height:92px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-top:1px solid var(--line);border-left:3px solid var(--tone);border-radius:10px;box-shadow:var(--shadow-soft)}.kpi-card strong{color:var(--text);font-size:20px}.kpi-card span{font-weight:600}.panel-head{padding:12px 16px;background:#fff}.panel-head h2{color:var(--text);font-size:14px;font-weight:700}table{min-width:760px}th,td{height:40px;padding:0 12px;border-bottom-color:#edf1f5}th{color:#526477;background:var(--table-head-bg);font-weight:700}tbody tr:hover td{background:var(--hover-bg)!important}.data-table-wrap th:first-child,.data-table-wrap th:last-child{background:var(--table-head-bg)}.data-table-wrap td:first-child,.data-table-wrap td:last-child{background:var(--surface-bg)}.order-profit-report-table thead tr:first-child th,.order-profit-report-table thead tr:first-child th.order-profit-income,.order-profit-report-table thead tr:first-child th.order-profit-cost,.order-profit-report-table thead tr:first-child th.order-profit-channel,.order-profit-report-table thead tr:first-child th.order-profit-fulfillment,.order-profit-report-table thead tr:first-child th.order-profit-profit,.order-profit-report-table thead tr:nth-child(2) th,.order-profit-report-table thead tr:nth-child(2) th.order-profit-income,.order-profit-report-table thead tr:nth-child(2) th.order-profit-cost,.order-profit-report-table thead tr:nth-child(2) th.order-profit-channel,.order-profit-report-table thead tr:nth-child(2) th.order-profit-fulfillment,.order-profit-report-table thead tr:nth-child(2) th.order-profit-profit{color:#526477;background:var(--table-head-bg);border-bottom-color:#dbe4ed}.order-profit-report-table tbody tr:nth-child(odd) td,.order-profit-report-table tbody tr:nth-child(2n) td,.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-income,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-income,.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-cost,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-cost,.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-channel,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-channel,.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-fulfillment,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-fulfillment,.order-profit-report-table tbody tr:nth-child(odd) td.order-profit-profit,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-profit{background:var(--surface-bg)}.order-profit-report-table tbody tr:nth-child(2n) td{background:#f8fafc}.modal{border:1px solid #dce5ee;border-radius:12px;box-shadow:0 24px 70px #0f223938}.modal-head,.modal-foot{padding:12px 18px}.modal-head h2{color:var(--text);font-size:16px}.modal-body{padding:18px}.status-chip{border-radius:999px;font-size:11px;font-weight:700}.op-link{font-weight:600}@media(max-width:1180px){.content-grid{padding-right:14px;padding-left:14px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){body{min-width:0;overflow-x:hidden}.app-shell{display:block;min-height:100vh}.sidebar{min-height:auto}.brand{height:58px}.brand-logo{width:118px;height:56px}.module-nav{max-height:250px;padding:8px 10px;overflow-y:auto}.sidebar-footer{padding:10px 14px}.sidebar-resizer{display:none}.topbar{height:auto;min-height:64px;padding:10px 12px;align-items:flex-start;gap:10px}.topbar>div:first-child{min-width:0}.top-actions{flex:1;min-width:0;gap:6px;justify-content:flex-end}.global-search{min-width:0;width:160px}.global-search span,.logout-top-button{display:none}.content-grid{padding:12px}.filter-bar,.filter-bar.finance-filter-bar,.filter-bar.wide-filter-bar,.filter-bar.allocation-filter-bar,.filter-bar.sales-return-filter-bar{grid-template-columns:1fr}.filter-actions{justify-content:flex-start}.kpi-grid{grid-template-columns:1fr}.kpi-card{min-height:82px}.freight-standard-summary-head{align-items:flex-start;flex-direction:column}.freight-standard-toolbar{align-items:stretch;flex-direction:column;gap:8px}.freight-standard-toolbar-status{padding-bottom:0;white-space:normal}.freight-standard-summary-grid,.freight-standard-modal-options{grid-template-columns:1fr}.freight-standard-workbook-note{grid-template-columns:1fr;gap:4px}.freight-standard-modal-file{grid-template-columns:1fr}.freight-standard-modal-file small{max-width:100%}.freight-standard-template-head{flex-direction:column}.freight-standard-template-options{grid-template-columns:1fr}.freight-standard-template-warehouse,.freight-standard-template-actions,.freight-standard-template-warehouse label{align-items:stretch;flex-direction:column}.freight-standard-template-warehouse select{min-width:0;width:100%}.freight-standard-file-picker{justify-content:space-between}.freight-standard-file-picker input,.freight-standard-file-picker small{max-width:50%}.freight-standard-pagination{align-items:stretch;flex-direction:column}.freight-standard-pagination-controls{flex-wrap:wrap}.org-relation-summary{grid-template-columns:1fr}.org-summary-card-wide{grid-column:auto}.org-relation-layout{grid-template-columns:1fr}.data-table-wrap{max-width:100%}}:root{--nav-deep: #123d7a;--nav: #1769bd;--nav-mid: #3aa1ed;--nav-active: #2088e0;--nav-active-2: #72d0ff;--accent: #1769c2;--accent-2: #2d9bea;--accent-soft: #eef6ff;--accent-soft-2: #e3f0ff;--accent-border: #b9d7f4;--bg: #f2f5fa;--page-bg-top: #f2f5fa;--page-bg-mid: #f7f9fc;--page-bg-bottom: #eff3f8;--surface-bg: #fff;--surface-soft: #f8fbff;--panel: #fff;--panel-soft: #f7faff;--line: #dce6f1;--text: #173866;--muted: #7890ad;--blue: #1769c2;--green: #31a95a;--orange: #f08a21;--red: #e33b47;--purple: #8066d8;--indigo: #345fc8;--shadow: 0 14px 32px rgba(30, 67, 113, .09);--shadow-soft: 0 2px 8px rgba(30, 67, 113, .045)}body{color:var(--text);background:var(--bg);font-size:13px}.app-shell{grid-template-columns:var(--sidebar-width, 246px) minmax(0,1fr)}.sidebar-resizer{display:none}.sidebar{background:linear-gradient(180deg,#123d7a,#155aa8 56%,#197bcf);box-shadow:inset -1px 0 #ffffff1a,10px 0 26px #123d7a1a}.brand{height:72px;background:#fff;border-bottom-color:#bed6edeb;box-shadow:0 3px 12px #123d7a1a}.brand:after{right:18px;left:18px;height:3px;background:linear-gradient(90deg,#1d77d1,#2fc4c0)}.brand-logo{width:136px;height:68px}.module-nav{padding:14px 12px 18px}.nav-group-title{min-height:43px;padding:10px 13px;color:#c4def9;border-radius:8px;font-size:14px}.nav-group-title.active{color:#fff;background:#ffffff21;border-color:#ffffff14;box-shadow:inset 3px 0 #78d3ff}.nav-item{min-height:38px;color:#d7e8fb;border-radius:7px;font-size:13px}.nav-item.active{color:#fff;background:linear-gradient(90deg,#2b92e7f2,#1f71ccf2);box-shadow:inset 3px 0 #9ce5ff,0 7px 15px #0527582e}.sidebar-footer{padding:16px 18px;background:#051f4847}.workspace{background:var(--bg)}.topbar{height:64px;padding:0 24px;background:#fff;border-bottom:1px solid #e3eaf2;box-shadow:0 1px #17386605}.topbar-heading{flex:1 1 auto;min-width:0}.topbar .page-title-row{display:none}.breadcrumb{margin:0;color:#86a0bd;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-tabs{display:flex;align-items:center;gap:6px;min-width:0;overflow:visible;text-overflow:clip;white-space:normal}.page-tabs-list{display:flex;flex:1 1 auto;align-items:center;min-width:0;gap:5px;overflow:hidden}.page-tab,.page-tabs-more{display:inline-flex;flex:0 0 auto;align-items:center;min-width:0;max-width:250px;min-height:34px;gap:5px;padding:0 11px;color:#6f86a3;background:#fff;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.page-tab:hover,.page-tabs-more:hover,.page-tab.active{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-border)}.page-tab-parent{overflow:hidden;color:#9aafc4;font-size:11px;font-weight:500;text-overflow:ellipsis}.page-tab.active .page-tab-parent{color:var(--accent)}.page-tab-divider{color:#c1cfdd;font-weight:400}.page-tab-label{overflow:hidden;text-overflow:ellipsis}.page-tabs-more-wrap{position:relative;flex:0 0 auto}.page-tabs-menu{position:absolute;z-index:30;top:calc(100% + 7px);left:0;display:grid;min-width:190px;max-width:min(300px,70vw);max-height:320px;gap:3px;padding:6px;overflow:auto;background:#fff;border:1px solid #d5e2ef;border-radius:10px;box-shadow:0 16px 38px #183b662e}.page-tabs-menu .page-tab-overflow-item{width:100%;max-width:none;justify-content:flex-start;border-color:transparent;text-align:left}.page-tabs [hidden]{display:none!important}.top-actions{flex:0 0 auto;gap:10px}.global-search{width:300px;min-height:40px;border-color:#ccd9ed;border-radius:9px;background:#fbfdff}.global-search input{color:var(--text)}.icon-btn{width:38px;min-height:38px;border-color:transparent;border-radius:9px;color:#6e8dab;background:transparent}.logout-top-button{min-height:38px;padding:0 12px;color:#6e8dab;background:#fff;border:1px solid #d4e0ee;border-radius:9px;font-size:12px}.content-grid{padding:22px 24px 28px}.detail-page{width:100%;max-width:1680px;margin:0}.page-head,.page-head.action-only{display:flex;align-items:flex-start;justify-content:space-between;min-height:0;padding:0 2px 18px;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none}.page-head:before{display:none}.page-head-copy{min-width:0}.page-head h2{margin:0;color:#173866;font-size:24px;font-weight:800;line-height:1.2;letter-spacing:-.02em}.page-head p{margin:7px 0 0;color:#87a2c0;font-size:13px;line-height:1.5}.page-actions{margin-top:0}.filter-bar,.filter-bar.finance-filter-bar,.filter-bar.wide-filter-bar,.filter-bar.allocation-filter-bar,.filter-bar.sales-return-filter-bar{gap:14px;padding:16px 18px;margin-bottom:14px;background:#fff;border:1px solid #e3ebf4;border-radius:11px;box-shadow:var(--shadow-soft)}.filter-bar:not(.finance-filter-bar):not(.wide-filter-bar):not(.allocation-filter-bar):not(.sales-return-filter-bar){grid-template-columns:repeat(3,minmax(0,1fr)) auto}.field{gap:7px}.field label,.sales-return-filter-bar .field>span{color:#5d7594;font-size:12px;font-weight:700}.field input,.field select,.field textarea,.selection-trigger{min-height:40px;border-color:#d3dfed;border-radius:8px;background:#fbfdff}.field input:focus,.field select:focus,.field textarea:focus,.selection-trigger:focus{border-color:#7db8eb;box-shadow:0 0 0 3px #2d9bea24}.filter-actions{gap:9px;align-items:end}.icon-btn,.ghost-btn,.primary-btn,.secondary-btn,.danger-btn{min-height:38px;border-radius:8px;font-size:13px;font-weight:700}.primary-btn{padding:0 16px;background:linear-gradient(135deg,#1769c2,#2d9bea);border-color:#1769c2;box-shadow:0 5px 12px #1769c22e}.primary-btn:hover{background:linear-gradient(135deg,#125aa7,#207fc9)}.secondary-btn,.ghost-btn{padding:0 14px;color:#53739a;background:#fff;border-color:#d1deed}.secondary-btn:hover,.ghost-btn:hover,.icon-btn:hover,.logout-top-button:hover{color:var(--accent);background:var(--accent-soft);border-color:#b8d4ee}.kpi-grid{gap:12px;margin-bottom:14px}.kpi-card,.kpi-card.tone-1,.kpi-card.tone-2,.kpi-card.tone-3,.kpi-card.tone-4,.kpi-card.tone-5,.kpi-card.tone-6{min-height:104px;padding:15px 16px 13px;background:#fff;border:1px solid #e0e9f3;border-top:0;border-left:4px solid var(--tone, var(--accent));border-radius:11px;box-shadow:var(--shadow-soft)}.kpi-card.tone-1{--tone: #2376d0;--tone-bg: #eef6ff}.kpi-card.tone-2{--tone: #35a65d;--tone-bg: #edf9f0}.kpi-card.tone-3{--tone: #e23942;--tone-bg: #fff0f1}.kpi-card.tone-4{--tone: #ed8a1e;--tone-bg: #fff6e6}.kpi-card.tone-5{--tone: #37a85c;--tone-bg: #eff9f1}.kpi-card.tone-6{--tone: #1c80d7;--tone-bg: #eaf4ff}.kpi-card span{color:#6883a3;font-size:12px;font-weight:700}.kpi-card strong{margin:9px 0 5px;color:#173866;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}.kpi-card .delta{font-size:11px;font-weight:600}.table-panel,.panel,.chart-panel,.ai-shell{overflow:hidden;background:#fff;border:1px solid #e0e9f3;border-radius:11px;box-shadow:var(--shadow-soft)}.panel-head{min-height:56px;padding:0 18px;background:#fff;border-bottom:1px solid #e2eaf3}.panel-head h2{color:#173866;font-size:16px;font-weight:800}.panel-head span{color:#86a0bd}.data-table-wrap{background:#fff}table{min-width:880px}th,td{height:46px;padding:0 14px;border-bottom-color:#e7edf4;font-size:12px}th{color:#4f6e96;background:#edf4fd;font-weight:800}td{color:#284a77}tbody tr:nth-child(2n){background:#fbfdff}tbody tr:hover td{background:#f1f7ff!important}.pagination{align-items:center;min-height:58px;padding:0 18px;background:#fff;border-top:1px solid #e6edf4}.pagination>span:not(:first-child){display:inline-grid;min-width:32px;height:32px;place-items:center;padding:0 8px;color:#6683a6;background:#f5f8fd;border:1px solid #d5e1ef;border-radius:7px}.pagination>span:nth-child(2){color:#fff;background:var(--accent);border-color:var(--accent)}.status{min-height:23px;padding:0 9px;font-size:11px;font-weight:700}.op-link{color:var(--accent);font-weight:700}.op-link.danger{color:var(--red)}.finance-project-tabs{gap:5px;margin-bottom:14px;padding:5px;background:#eaf3fd;border:1px solid #d6e5f5;border-radius:10px}.finance-project-tabs button{min-height:38px;border-radius:7px;color:#6785a7}.finance-project-tabs button.active{background:linear-gradient(135deg,#1769c2,#2d9bea);box-shadow:0 5px 12px #1769c22e}.order-profit-report-table thead tr:first-child th{height:36px;color:#2a5f9f;background:#e8f2ff;border-bottom-color:#cbdff5}.order-profit-report-table thead tr:nth-child(2) th{height:42px;color:#4f6e96;background:#f5f9fe}.order-profit-report-table thead tr:first-child th.order-profit-income{color:#1769c2;background:#dceeff}.order-profit-report-table thead tr:first-child th.order-profit-cost{color:#d4313d;background:#ffe4e7}.order-profit-report-table thead tr:first-child th.order-profit-channel{color:#d97600;background:#fff0d6}.order-profit-report-table thead tr:first-child th.order-profit-fulfillment{color:#2b8a4b;background:#e4f5e8}.order-profit-report-table thead tr:first-child th.order-profit-profit{color:#1769c2;background:#dceeff}.order-profit-report-table thead tr:nth-child(2) th.order-profit-income{background:#eef7ff}.order-profit-report-table thead tr:nth-child(2) th.order-profit-cost{background:#fff1f2}.order-profit-report-table thead tr:nth-child(2) th.order-profit-channel{background:#fff8eb}.order-profit-report-table thead tr:nth-child(2) th.order-profit-fulfillment{background:#effaf1}.order-profit-report-table thead tr:nth-child(2) th.order-profit-profit{background:#eef7ff}.order-profit-report-table tbody td.order-profit-income{color:#1366c2;background:#f4f9ff!important}.order-profit-report-table tbody td.order-profit-cost{color:#d4313d;background:#fff8f8!important}.order-profit-report-table tbody td.order-profit-channel{color:#d97706;background:#fffaf2!important}.order-profit-report-table tbody td.order-profit-fulfillment{color:#2d8a4b;background:#f5fbf6!important}.order-profit-report-table tbody td.order-profit-profit{color:#1769c2;background:#f2f8ff!important;font-weight:700}.modal-root{background:#122f546b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{border:1px solid #d8e4f1;border-radius:14px;box-shadow:0 24px 70px #122f543d}.modal-head{min-height:60px;padding:0 20px;border-bottom:1px solid #e5edf5}.modal-head h2{color:#173866;font-size:18px;font-weight:800}.modal-body{padding:20px}.modal-foot{min-height:66px;padding:0 20px;background:#fbfdff;border-top:1px solid #e5edf5}.table-column-popover,.table-filter-popover,.settings-menu{border-color:#d5e2ef;border-radius:10px;box-shadow:0 16px 38px #183b662e}@media(max-width:1180px){.content-grid{padding-right:16px;padding-left:16px}.global-search{width:220px}.topbar{padding-right:16px;padding-left:16px}.filter-bar.finance-filter-bar,.filter-bar.wide-filter-bar,.filter-bar.allocation-filter-bar,.filter-bar.sales-return-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-bar .filter-actions{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}.brand{height:62px}.brand-logo{height:60px}.module-nav{max-height:240px;padding:8px 10px 12px}.content-grid{padding:18px 12px 24px}.page-head{gap:12px;flex-direction:column;padding-bottom:14px}.page-head h2{font-size:21px}.page-actions{width:100%;justify-content:flex-start}.global-search{width:min(210px,55vw)}.topbar{padding:0 12px}.filter-bar,.filter-bar.finance-filter-bar,.filter-bar.wide-filter-bar,.filter-bar.allocation-filter-bar,.filter-bar.sales-return-filter-bar{padding:14px}.kpi-card strong{font-size:20px}.panel-head{min-height:52px;padding:0 14px}.modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.modal-head{padding:0 16px}.modal-body{padding:16px}.modal-foot{padding:0 16px}}.login-shell{background:linear-gradient(135deg,#eef5fd,#f9fbfe 52%,#edf4fb)}.login-panel{width:min(460px,100%);padding:34px 36px 28px;border:1px solid #dce7f2;border-radius:16px;box-shadow:0 24px 70px #123d7a24}.login-brand{height:94px;margin-bottom:24px;background:#f5faff;border-bottom:3px solid #2997e6;border-radius:12px}.login-panel h1{color:#173866;font-size:27px}.login-panel>p{color:#7890ad}.login-panel input{min-height:44px;border-color:#d2dfed;border-radius:8px}.login-panel .primary-btn{min-height:44px}.detail-page .kpi-card,.detail-page .kpi-card.tone-1,.detail-page .kpi-card.tone-2,.detail-page .kpi-card.tone-3,.detail-page .kpi-card.tone-4,.detail-page .kpi-card.tone-5,.detail-page .kpi-card.tone-6{--tone: #d8e3ef;--tone-bg: #fff;background:#fff;border:1px solid #dfe7f0;border-left:1px solid #dfe7f0;border-top:1px solid #dfe7f0;box-shadow:0 2px 8px #1e43710b}.detail-page .kpi-card span,.detail-page .kpi-card strong,.detail-page .kpi-card .delta,.detail-page .kpi-card .delta.up,.detail-page .kpi-card .delta.down{color:#1f2937}.detail-page table thead th,.detail-page table thead tr:first-child th,.detail-page table thead tr:nth-child(2) th,.order-profit-report-table thead tr:first-child th.order-profit-income,.order-profit-report-table thead tr:first-child th.order-profit-cost,.order-profit-report-table thead tr:first-child th.order-profit-channel,.order-profit-report-table thead tr:first-child th.order-profit-fulfillment,.order-profit-report-table thead tr:first-child th.order-profit-profit,.order-profit-report-table thead tr:nth-child(2) th.order-profit-income,.order-profit-report-table thead tr:nth-child(2) th.order-profit-cost,.order-profit-report-table thead tr:nth-child(2) th.order-profit-channel,.order-profit-report-table thead tr:nth-child(2) th.order-profit-fulfillment,.order-profit-report-table thead tr:nth-child(2) th.order-profit-profit{color:#1f2937;background:#eef4fa}.detail-page table tbody tr:nth-child(odd) td,.detail-page table tbody tr:nth-child(2n) td,.order-profit-report-table tbody td.order-profit-income,.order-profit-report-table tbody td.order-profit-cost,.order-profit-report-table tbody td.order-profit-channel,.order-profit-report-table tbody td.order-profit-fulfillment,.order-profit-report-table tbody td.order-profit-profit{color:#1f2937!important;background:#fff!important}.detail-page table tbody tr:nth-child(2n) td,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-income,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-cost,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-channel,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-fulfillment,.order-profit-report-table tbody tr:nth-child(2n) td.order-profit-profit{background:#f2f7fc!important}.detail-page table tbody tr:hover td,.order-profit-report-table tbody tr:hover td{color:#111827!important;background:#eaf3fb!important}.detail-page table tbody td:first-child,.detail-page table tbody td:last-child{color:#1f2937}.detail-page .order-profit-kpis .kpi-card,.detail-page .order-profit-kpis .kpi-card.tone-1,.detail-page .order-profit-kpis .kpi-card.tone-2,.detail-page .order-profit-kpis .kpi-card.tone-3,.detail-page .order-profit-kpis .kpi-card.tone-4,.detail-page .order-profit-kpis .kpi-card.tone-5,.detail-page .order-profit-kpis .kpi-card.tone-6{border:1px solid #dfe7f0;border-left:4px solid var(--tone);background:linear-gradient(180deg,#fff 0%,var(--tone-bg) 100%)}.detail-page .order-profit-kpis .kpi-card.tone-1{--tone: #2b82d8;--tone-bg: #f2f8ff}.detail-page .order-profit-kpis .kpi-card.tone-2{--tone: #33a65e;--tone-bg: #f1faf3}.detail-page .order-profit-kpis .kpi-card.tone-3{--tone: #e23b45;--tone-bg: #fff4f4}.detail-page .order-profit-kpis .kpi-card.tone-4{--tone: #ed8a1e;--tone-bg: #fff8ed}.detail-page .order-profit-kpis .kpi-card.tone-5{--tone: #36a15b;--tone-bg: #f2faf3}.detail-page .order-profit-kpis .kpi-card.tone-6{--tone: #1769c2;--tone-bg: #1769c2;color:#fff;background:linear-gradient(135deg,#1769c2,#2d9bea);border-color:#1769c2}.kpi-label{display:flex;align-items:center;gap:8px;min-width:0}.kpi-label>span:last-child{min-width:0;overflow:hidden;color:#587292;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.kpi-icon{display:inline-grid;flex:0 0 28px;width:28px;height:28px;place-items:center;color:var(--tone, var(--accent));background:color-mix(in srgb,var(--tone, var(--accent)) 13%,white);border-radius:8px}.kpi-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.detail-page .kpi-value-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;margin:8px 0 0}.detail-page .kpi-value-line strong{min-width:0;margin:0;color:#173866;font-size:21px;font-weight:800;font-variant-numeric:tabular-nums}.detail-page .kpi-value-line .delta{flex:0 0 auto;margin-left:auto;color:#607b9d;font-size:11px;font-weight:600;text-align:right;white-space:nowrap}.detail-page .kpi-card.tone-6 .kpi-label>span:last-child,.detail-page .kpi-card.tone-6 .kpi-value-line strong,.detail-page .kpi-card.tone-6 .kpi-value-line .delta,.detail-page .kpi-card.tone-6 .kpi-note{color:#fff!important}.detail-page .kpi-card.tone-6 .kpi-icon{color:#fff;background:#ffffff2e}.detail-page .order-profit-kpis .order-profit-change.up{color:#d92d20!important}.detail-page .order-profit-kpis .order-profit-change.down{color:#17854a!important}.detail-page .order-profit-kpis .order-profit-change.neutral{color:#607b9d!important}.order-profit-report-table thead tr:first-child th.order-profit-income{color:#1769c2!important;background:#dceeff!important}.order-profit-report-table thead tr:first-child th.order-profit-cost{color:#d4313d!important;background:#ffe4e7!important}.order-profit-report-table thead tr:first-child th.order-profit-channel{color:#d97600!important;background:#fff0d6!important}.order-profit-report-table thead tr:first-child th.order-profit-fulfillment{color:#2b8a4b!important;background:#e4f5e8!important}.order-profit-report-table thead tr:first-child th.order-profit-profit{color:#1769c2!important;background:#dceeff!important}.order-profit-report-table thead tr:nth-child(2) th.order-profit-income{background:#eff8ff!important}.order-profit-report-table thead tr:nth-child(2) th.order-profit-cost{background:#fff1f2!important}.order-profit-report-table thead tr:nth-child(2) th.order-profit-channel{background:#fff8eb!important}.order-profit-report-table thead tr:nth-child(2) th.order-profit-fulfillment{background:#effaf1!important}.order-profit-report-table thead tr:nth-child(2) th.order-profit-profit{background:#eef7ff!important}.sidebar{background:linear-gradient(180deg,var(--nav-deep) 0%,var(--nav) 56%,var(--nav-mid) 100%)}.brand:after{background:linear-gradient(90deg,var(--brand-a),var(--brand-b))}.nav-group-title.active{box-shadow:inset 3px 0 var(--nav-active-2)}.nav-item.active{background:linear-gradient(90deg,var(--nav-active),var(--nav))}.primary-btn{background:linear-gradient(135deg,var(--primary-start),var(--primary-end));border-color:var(--primary-end)}.primary-btn:hover{background:linear-gradient(135deg,var(--primary-hover-start),var(--primary-hover-end))}.finance-project-tabs button.active{background:linear-gradient(135deg,var(--primary-start),var(--primary-end))}.detail-page .order-profit-kpis .kpi-card,.detail-page .order-profit-kpis .kpi-card.tone-1,.detail-page .order-profit-kpis .kpi-card.tone-2,.detail-page .order-profit-kpis .kpi-card.tone-3,.detail-page .order-profit-kpis .kpi-card.tone-4,.detail-page .order-profit-kpis .kpi-card.tone-5,.detail-page .order-profit-kpis .kpi-card.tone-6{background:#fff!important;border:1px solid #dfe7f0!important;border-left:1px solid #dfe7f0!important;color:#1f2937}.detail-page .order-profit-kpis .kpi-card.tone-6 .kpi-label>span:last-child,.detail-page .order-profit-kpis .kpi-card.tone-6 .kpi-value-line strong,.detail-page .order-profit-kpis .kpi-card.tone-6 .kpi-value-line .delta,.detail-page .order-profit-kpis .kpi-card.tone-6 .kpi-note{color:#1f2937!important}.detail-page .order-profit-kpis .kpi-card.tone-6 .kpi-icon{color:var(--tone)!important;background:color-mix(in srgb,var(--tone) 13%,white)!important}.business-analysis-tabs{margin-bottom:12px}.business-analysis-tabs button{min-width:92px}.business-analysis-filter-bar{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:12px;align-items:end;margin-bottom:14px}.business-analysis-filter-bar .filter-actions{display:flex;gap:8px;align-items:flex-end}.analysis-environment-note,.analysis-compare-note{display:flex;gap:8px;align-items:center;margin:0 0 14px;padding:10px 14px;color:#4d6b8d;background:#f7fbff;border:1px solid #d7e6f5;border-radius:8px;font-size:12px}.analysis-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.analysis-metric-card{min-height:126px;padding:15px 16px 13px;background:#fff;border:1px solid #dfe7f0;border-top:3px solid var(--analysis-tone, #1769c2);border-radius:10px;box-shadow:0 4px 14px #1f4d7e0d}.analysis-metric-card.tone-1{--analysis-tone: #1769c2}.analysis-metric-card.tone-2{--analysis-tone: #2b8a4b}.analysis-metric-card.tone-3{--analysis-tone: #d4313d}.analysis-metric-card.tone-4{--analysis-tone: #d97706}.analysis-metric-card.tone-5{--analysis-tone: #6558c9}.analysis-metric-label{display:flex;align-items:center;justify-content:space-between;color:#5e7898;font-size:12px;font-weight:700}.analysis-metric-mark{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;color:var(--analysis-tone);background:color-mix(in srgb,var(--analysis-tone) 10%,white);border-radius:7px;font-size:15px;font-weight:800}.analysis-metric-card>strong{display:block;margin-top:11px;color:#173e70;font-size:22px;line-height:1.1;letter-spacing:-.3px}.analysis-metric-card .delta{margin-top:8px;color:#718aa7;font-size:11px}.analysis-metric-card .delta.up{color:#d92d20}.analysis-metric-card .delta.down{color:#17854a}.analysis-metric-card small{display:block;margin-top:4px;overflow:hidden;color:#7b94ae;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.analysis-overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr);gap:14px;margin-bottom:14px}.analysis-overview-grid.analysis-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-panel,.analysis-unavailable-panel{min-width:0;background:#fff;border:1px solid #dfe7f0;border-radius:10px;box-shadow:0 4px 14px #1f4d7e0a}.analysis-panel>.panel-head,.analysis-unavailable-panel>.panel-head{min-height:52px;padding:12px 16px;border-bottom:1px solid #e4ecf4}.analysis-panel>.panel-head h2{color:#183e70;font-size:15px}.analysis-chart-shell{padding:10px 14px 8px}.analysis-chart-legend{display:flex;gap:7px;align-items:center;color:#5c7594;font-size:11px;font-weight:700}.analysis-legend-dot{width:8px;height:8px;background:var(--legend-color);border-radius:50%}.analysis-line-chart{display:block;width:100%;height:245px;margin-top:4px;overflow:visible}.analysis-chart-grid line{stroke:#e7eef5;stroke-dasharray:3 4}.analysis-chart-grid text,.analysis-chart-points text{fill:#7d94ac;font-size:10px}.analysis-chart-line{fill:none;stroke:var(--chart-color);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5}.analysis-chart-points circle{fill:#fff;stroke:var(--chart-color);stroke-width:2}.analysis-chart-points text{transform:translateY(3px)}.analysis-business-bars{display:flex;min-height:245px;flex-direction:column;justify-content:center;gap:26px;padding:20px 18px}.analysis-business-bar-row{display:grid;grid-template-columns:54px minmax(0,1fr) 92px;gap:10px;align-items:center;color:#526f91;font-size:12px}.analysis-business-bar-row strong{color:#244d7c;text-align:right;font-size:12px}.analysis-bar-track{height:12px;overflow:hidden;background:#edf3f8;border-radius:8px}.analysis-bar-track i{display:block;height:100%;background:#1769c2;border-radius:inherit}.analysis-empty-state{display:flex;min-height:190px;flex-direction:column;align-items:center;justify-content:center;padding:24px;color:#6883a1;text-align:center}.analysis-empty-icon{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;margin-bottom:10px;color:#7da6d1;background:#edf5fd;border-radius:10px;font-size:24px;font-weight:700}.analysis-empty-state strong{color:#365a82;font-size:14px}.analysis-empty-state p{max-width:330px;margin:7px 0 0;color:#8aa0b8;font-size:12px;line-height:1.6}.analysis-subtabs{display:inline-flex;gap:4px;margin-bottom:12px;padding:4px;background:#eef5fb;border:1px solid #d8e7f5;border-radius:8px}.analysis-subtabs button{min-height:32px;padding:0 14px;color:#617d9e;background:transparent;border:0;border-radius:6px;font-size:12px;font-weight:700;cursor:pointer}.analysis-subtabs button.active{color:#fff;background:#1769c2}.analysis-wide-panel{width:100%}.analysis-unavailable-panel{margin-top:4px}.analysis-unavailable-panel .analysis-empty-state{min-height:260px}@media(max-width:1280px){.business-analysis-filter-bar{grid-template-columns:repeat(4,minmax(140px,1fr))}.business-analysis-filter-bar .filter-actions{grid-column:1 / -1}.analysis-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:860px){.business-analysis-filter-bar,.analysis-overview-grid,.analysis-overview-grid.analysis-table-grid{grid-template-columns:1fr}.analysis-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-analysis-tabs{overflow-x:auto}}@media(max-width:560px){.analysis-metric-grid{grid-template-columns:1fr}.analysis-metric-card{min-height:110px}.analysis-business-bar-row{grid-template-columns:42px minmax(0,1fr) 78px}}.shipment-import-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.shipment-tab-icon{display:inline-flex;flex:0 0 16px;width:16px;height:16px;align-items:center;justify-content:center}.shipment-tab-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}@media(max-width:860px){.business-analysis-filter-bar{grid-template-columns:minmax(0,1fr)!important}.business-analysis-filter-bar>.field,.business-analysis-filter-bar>.filter-actions{width:100%;min-width:0}.content-grid,.detail-page{overflow-x:hidden}}.business-analysis-page{min-width:0;overflow-x:hidden}.content-grid.cost-setting-plan-layout .cost-plan-header{min-height:54px;margin-bottom:10px;padding:10px 16px;color:var(--text);background:var(--surface-bg);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:11px;box-shadow:var(--shadow-soft)}.content-grid.cost-setting-plan-layout .cost-plan-title-line .content-help{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-border)}.content-grid.cost-setting-plan-layout .cost-plan-title-line .content-help:hover,.content-grid.cost-setting-plan-layout .cost-plan-title-line .content-help:focus-visible{color:#fff;background:var(--accent);border-color:var(--accent)}.content-grid.cost-setting-plan-layout .cost-plan-header h2{color:var(--text);font-size:16px;line-height:1.35}.content-grid.cost-setting-plan-layout .cost-plan-header p{margin-top:3px;color:var(--muted);line-height:1.4}.content-grid.cost-setting-plan-layout .cost-plan-current{min-width:230px;padding-left:18px;border-left-color:var(--line)}.content-grid.cost-setting-plan-layout .cost-plan-current span{color:var(--muted)}.content-grid.cost-setting-plan-layout .cost-plan-current strong{flex-wrap:wrap;row-gap:3px;color:var(--text);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.content-grid.cost-setting-plan-layout .cost-plan-current i{width:4px;height:4px;background:var(--accent-2)}.content-grid.cost-setting-plan-layout .cost-setting-workspace{gap:12px}.content-grid.cost-setting-plan-layout .cost-setting-config{background:var(--surface-bg);border:1px solid var(--line);box-shadow:var(--shadow-soft)}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3){background:var(--surface-bg)}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section{padding:12px 15px 13px}.content-grid.cost-setting-plan-layout .cost-config-title{gap:9px;margin-bottom:8px}.content-grid.cost-setting-plan-layout .cost-config-title>span{flex-basis:24px;width:24px;height:24px;background:var(--accent-soft-2);color:var(--accent);font-size:11px;box-shadow:none}.content-grid.cost-setting-plan-layout .cost-config-title h2{color:var(--text);font-size:14px;line-height:1.35}.content-grid.cost-setting-plan-layout .cost-choice-card{min-height:48px;padding:9px 11px;border-color:var(--line);border-radius:8px;box-shadow:none}.content-grid.cost-setting-plan-layout .cost-choice-card.active{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.content-grid.cost-setting-plan-layout .cost-choice-copy strong{font-size:13px}.content-grid.cost-setting-plan-layout .cost-plan-summary{padding:15px;border-top:3px solid var(--accent)}.content-grid.cost-setting-plan-layout .cost-summary-route{margin:10px 0;background:var(--accent-soft-2)}.content-grid.cost-setting-plan-layout .cost-allocation-section{padding:11px 13px 13px}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection{padding:9px;background:var(--surface-soft);border-color:var(--line);border-radius:8px;box-shadow:none}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-choice-card{min-height:42px;padding:7px 9px}.content-grid.cost-setting-plan-layout .cost-allocation-section>.cost-rule-subsection .cost-choice-card.active{box-shadow:inset 2px 0 0 var(--accent)}@media(min-width:1101px){.content-grid.cost-setting-plan-layout .cost-plan-header{padding-top:9px;padding-bottom:9px}.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3) .cost-choice-card,.content-grid.cost-setting-plan-layout .cost-setting-config>.cost-config-section:nth-child(-n+3) .cost-actual-mode-card{min-height:48px;padding:7px 9px}}@media(max-width:720px){.content-grid.cost-setting-plan-layout .cost-plan-header{padding:12px 14px}.content-grid.cost-setting-plan-layout .cost-plan-current{padding-top:10px;border-top-color:var(--line)}.content-grid.cost-setting-plan-layout .cost-plan-current strong{flex-wrap:wrap}}.subject-trigger-rule-panel{margin-top:12px;padding:12px;background:#f7fbff;border:1px solid #cfe1f1;border-radius:8px}.subject-trigger-rule-grid,.subject-slot-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject-trigger-rule-grid .field,.subject-slot-form-grid .field{min-width:0}.subject-trigger-rule-help,.subject-slot-fee-note{display:flex;gap:10px;align-items:flex-start;margin-top:10px;padding:9px 10px;color:#4a6380;background:#eef6ff;border-left:3px solid #2b86d5;border-radius:5px;font-size:12px;line-height:1.6}.subject-trigger-rule-help strong,.subject-slot-fee-note strong{flex:0 0 auto;color:#1e5e99}.subject-slot-fee-form{margin-top:12px}.subject-slot-form-grid textarea{min-height:72px;resize:vertical}.subject-slot-strategy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;padding:12px;background:#fafcff;border:1px solid #e1ebf5;border-radius:8px}.subject-slot-strategy-grid>div{display:grid;gap:6px;min-width:0}.subject-slot-strategy-grid>div>span{color:#294c72;font-size:12px;font-weight:600}.subject-slot-timeline{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px;padding:14px 10px 4px;border-top:1px solid #d8e5f1}.subject-slot-timeline-line{position:absolute;top:25px;right:10%;left:10%;height:1px;background:#b9d2e8}.subject-slot-timeline-item{position:relative;z-index:1;display:grid;justify-items:center;gap:5px;min-width:0;text-align:center}.subject-slot-timeline-dot{width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#2b86d5;box-shadow:0 0 0 1px #2b86d5}.subject-slot-timeline-item>div{display:grid;gap:3px;min-width:0}.subject-slot-timeline-item strong{color:#254d77;font-size:12px}.subject-slot-timeline-item b{color:#173e69;font-size:12px;font-variant-numeric:tabular-nums}.subject-slot-timeline-item small{color:#7a91a8;font-size:11px;line-height:1.45}.subject-slot-scenario-strip{margin-top:16px;padding-top:12px;border-top:1px solid #e1ebf5}.subject-slot-subhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}.subject-slot-subhead strong{color:#244d78;font-size:13px}.subject-slot-subhead span{color:#7890a8;font-size:12px}.subject-slot-scenario-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.subject-slot-scenario-card{display:grid;gap:4px;min-height:86px;padding:9px;background:#fff;border:1px solid #dbe7f2;border-radius:6px}.subject-slot-scenario-card strong{color:#244d78;font-size:12px}.subject-slot-scenario-card b{color:#1f6ba9;font-size:12px}.subject-slot-scenario-card span{color:#7b91a7;font-size:11px;line-height:1.45}.subject-slot-state-banner{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;padding:10px 12px;border-left:3px solid #2b86d5;border-radius:5px;background:#f2f8ff;color:#4a6380;font-size:13px}.subject-slot-state-banner strong{color:#1f5c93;white-space:nowrap}.subject-slot-state-banner.tone-success{border-left-color:#238354;background:#f0faf4}.subject-slot-state-banner.tone-success strong{color:#176a43}.subject-slot-state-banner.tone-danger{border-left-color:#c33b3b;background:#fff5f5}.subject-slot-state-banner.tone-danger strong{color:#a52d2d}.subject-slot-state-banner.tone-estimate{border-left-color:#b98724;background:#fffaf0}.subject-slot-state-banner.tone-estimate strong{color:#8a651b}.subject-slot-result-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0;padding:9px 10px;color:#5e7894;background:#fafcff;border:1px solid #e1ebf5;border-radius:6px;font-size:12px;font-variant-numeric:tabular-nums}.subject-slot-result-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:12px}.subject-slot-result-grid section{min-width:0}.subject-slot-result-grid h4{margin:0 0 8px;color:#244d78;font-size:13px}.subject-slot-summary{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1100px){.subject-slot-scenario-grid,.subject-slot-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-slot-timeline{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}.subject-slot-timeline-line{display:none}}@media(max-width:720px){.subject-trigger-rule-grid,.subject-slot-form-grid,.subject-slot-strategy-grid,.subject-slot-result-grid,.subject-slot-summary{grid-template-columns:1fr}.subject-slot-scenario-grid,.subject-slot-timeline{grid-template-columns:1fr 1fr}.subject-slot-subhead,.subject-slot-state-banner{align-items:flex-start;flex-direction:column}}.warehouse-management-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px;padding:16px 18px}.warehouse-management-overview-copy{min-width:0}.warehouse-management-overview-copy .panel-head-title{gap:8px}.warehouse-management-overview-copy h2{margin:0;color:var(--text);font-size:16px;line-height:1.35}.warehouse-management-overview-copy p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.warehouse-management-metrics{display:flex;flex:0 0 auto;gap:10px}.warehouse-management-metrics>div{display:grid;grid-template-columns:auto auto;column-gap:5px;min-width:96px;padding:8px 11px;background:var(--surface-soft);border:1px solid var(--line);border-radius:7px}.warehouse-management-metrics span{grid-column:1 / -1;color:var(--muted);font-size:11px}.warehouse-management-metrics strong{color:var(--nav-deep);font-size:18px;line-height:1.25;font-variant-numeric:tabular-nums}.warehouse-management-metrics small{align-self:end;padding-bottom:1px;color:var(--muted);font-size:11px}.warehouse-management-tabs{margin-bottom:12px}.warehouse-mapping-note{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:11px 14px;background:var(--surface-soft);border-color:var(--accent-border)}.warehouse-mapping-note strong{flex:0 0 auto;color:var(--nav-deep);font-size:13px}.warehouse-mapping-note span{min-width:0;color:var(--muted);font-size:12px;line-height:1.45}.warehouse-mapping-note .primary-btn{flex:0 0 auto;margin-left:auto;white-space:nowrap}.warehouse-mapping-modal-form .form-tip{margin:0;padding:8px 10px;color:var(--muted);background:var(--surface-soft);border-left:3px solid var(--accent)}@media(max-width:720px){.warehouse-management-overview,.warehouse-mapping-note{align-items:stretch;flex-direction:column}.warehouse-management-metrics{width:100%}.warehouse-management-metrics>div{flex:1 1 0}.warehouse-mapping-note .primary-btn{margin-left:0}}.formal-import-records{margin-top:14px;overflow:hidden}.formal-import-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;padding:13px 14px 5px}.formal-import-filter-grid .field{min-width:0}.formal-import-filter-grid .field>span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}.formal-import-filter-grid select,.formal-import-filter-grid input{width:100%;min-height:36px}.formal-import-filter-actions{margin:0 14px 12px}.formal-import-record-table{overflow-x:auto}.formal-import-record-table table{min-width:2140px}.formal-import-record-table td:nth-child(11),.formal-import-record-table td:nth-child(12),.formal-import-record-table td:nth-child(13),.formal-import-record-table td:nth-child(14){max-width:190px}.formal-import-trace-value{display:block;overflow:hidden;cursor:text;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;text-overflow:ellipsis;-webkit-user-select:all;user-select:all;white-space:nowrap}.formal-import-trace-value:focus{outline:2px solid var(--accent-border);outline-offset:2px}
