[data-theme=light]{--bg-page:#f0f2f5;--bg-card:#fff;--text-primary:#1a1a1a;--text-secondary:#6b7280;--border:#e8e8e8;--sidebar-bg:#001529}[data-theme=dark]{--bg-page:#0f172a;--bg-card:#1e293b;--text-primary:#e2e8f0;--text-secondary:#94a3b8;--border:#334155;--sidebar-bg:#0a1628}html,body,#root{height:100%;margin:0}body{background:var(--bg-page);color:var(--text-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tabular{font-variant-numeric:tabular-nums}.qty{font-variant-numeric:tabular-nums;text-align:right}.dash-page{padding-bottom:8px}.dash-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.dash-live-tag{border-radius:999px;font-weight:500;color:#067647!important;background:#ecfdf3!important;border-color:#abefc6!important}.dash-kpi{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;height:100%;min-height:118px;padding:16px 18px 14px;transition:box-shadow .16s,transform .16s,border-color .16s;box-shadow:0 1px 2px #0f172a0a}.dash-kpi[role=button]{cursor:pointer}.dash-kpi[role=button]:hover{border-color:#c9d4e5;transform:translateY(-1px);box-shadow:0 8px 20px #0f172a14}.dash-kpi-top{align-items:center;gap:10px;margin-bottom:10px;display:flex}.dash-kpi-icon{border-radius:8px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:15px;display:grid}.dash-kpi-label{letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary);font-size:12px;font-weight:600}.dash-kpi-value{letter-spacing:-.03em;color:var(--text-primary);font-size:28px;font-weight:600;line-height:1.15}.dash-kpi-hint{color:var(--text-secondary);margin-top:6px;font-size:12px;line-height:1.35}.dash-kpi-blue .dash-kpi-icon{color:#1677ff;background:#1677ff1f}.dash-kpi-red{background:linear-gradient(180deg, #fff8f8 0%, var(--bg-card) 48%);border-color:#fecaca}.dash-kpi-red .dash-kpi-icon{color:#dc2626;background:#dc26261f}.dash-kpi-red .dash-kpi-value{color:#b91c1c}.dash-kpi-teal .dash-kpi-icon{color:#0f766e;background:#0d94881f}.dash-kpi-violet .dash-kpi-icon{color:#6d28d9;background:#6d28d91f}.dash-kpi-slate .dash-kpi-icon{color:#475569;background:#64748b24}.dash-kpi-slate{min-height:108px}.dash-kpi-slate .dash-kpi-value{font-size:22px}.dash-panel{height:100%;box-shadow:0 1px 2px #0f172a0a;border-radius:10px!important}.dash-panel .ant-card-head{min-height:48px}.dash-fulfill{flex-wrap:wrap;align-items:center;gap:20px;min-height:220px;display:flex}.dash-cols{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:24px;height:260px;padding:8px 8px 0;display:grid}.dash-col{flex-direction:column;align-items:center;min-width:0;height:100%;display:flex}.dash-col-track{background:var(--border);border-radius:10px 10px 4px 4px;flex:1;align-items:flex-end;width:56px;display:flex;overflow:hidden}.dash-col-fill{border-radius:8px 8px 0 0;width:100%;min-height:8px}.dash-col-value{color:var(--text-primary);margin-top:10px;font-size:15px;font-weight:600}.dash-col-label{color:var(--text-secondary);margin-top:2px;font-size:12px}.dash-col-pct{color:var(--text-secondary);font-size:11px}.dash-fulfill-stats{flex:1;grid-template-columns:1fr 1fr;gap:14px 16px;min-width:180px;display:grid}.dash-stat-num{letter-spacing:-.02em;margin-top:2px;font-size:20px;font-weight:600}.dash-ring-label{flex-direction:column;line-height:1.15;display:flex}.dash-ring-label strong{font-size:22px;font-weight:700}.dash-ring-label em{color:var(--text-secondary);font-size:11px;font-style:normal;font-weight:500}[data-theme=dark] .dash-live-tag{color:#6ee7b7!important;background:#10b98129!important;border-color:#10b98159!important}[data-theme=dark] .dash-kpi{box-shadow:none}[data-theme=dark] .dash-kpi[role=button]:hover{border-color:#475569;box-shadow:0 8px 20px #00000040}[data-theme=dark] .dash-kpi-red{background:linear-gradient(180deg, #3f1518 0%, var(--bg-card) 56%);border-color:#7f1d1d}[data-theme=dark] .dash-kpi-red .dash-kpi-value{color:#fca5a5}[data-theme=dark] .dash-kpi-slate .dash-kpi-icon{color:#cbd5e1;background:#94a3b824}.ant-breadcrumb a{cursor:pointer;color:var(--text-secondary)}.ant-breadcrumb a:hover{color:#1677ff}.po-page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin:-4px 0 16px;padding:4px 0 12px;display:flex}.po-section{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;margin-bottom:14px;padding:16px 18px 8px;box-shadow:0 1px 2px #0f172a0a}.po-section-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:10px;display:flex}.po-section-title{letter-spacing:.06em;text-transform:uppercase;color:var(--text-secondary);margin:0;font-size:12px;font-weight:650}.po-address-card{border-radius:8px;height:100%;margin-bottom:12px}.po-address-actions{border-top:1px solid var(--border);margin-top:10px;padding-top:8px}.po-address-card .addr-preview{min-height:48px}.po-line{background:var(--bg-page);border:1px solid var(--border);border-radius:8px;margin-bottom:10px;padding:10px 12px 4px}.po-line-bar{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.po-line-index{color:var(--text-secondary);font-size:12px;font-weight:600}.po-form-footer{justify-content:flex-end;gap:8px;padding:4px 0 20px;display:flex}.po-form .ant-form-item{margin-bottom:12px}[data-theme=dark] .po-section{box-shadow:none}[data-theme=dark] .po-line{background:#0f172a73}.entity-tabs{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:14px 18px 20px;box-shadow:0 1px 2px #0f172a0a}.entity-tabs>.ant-tabs-nav{margin:0 0 18px!important}.entity-tabs>.ant-tabs-nav:before{border:none!important}.entity-tabs .ant-tabs-nav-wrap{background:0 0;border:none;padding:0}.entity-tabs .ant-tabs-nav-list{background:var(--bg-page);border:1px solid var(--border);border-radius:10px;padding:5px}.entity-tabs .ant-tabs-ink-bar{display:none}.entity-tabs .ant-tabs-tab{border-radius:8px;font-weight:600;transition:background .15s,color .15s,box-shadow .15s;color:var(--text-secondary)!important;margin:0!important;padding:8px 14px!important}.entity-tabs .ant-tabs-tab+.ant-tabs-tab{margin-left:4px!important}.entity-tabs .ant-tabs-tab:hover{color:var(--text-primary)!important}.entity-tabs .ant-tabs-tab-active{box-shadow:0 1px 2px #0f172a1a;background:var(--bg-card)!important}.entity-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{text-shadow:none;color:var(--text-primary)!important}.entity-tab-label{letter-spacing:-.01em;align-items:center;gap:8px;font-size:13px;display:inline-flex}.entity-tab-label .anticon{color:#94a3b8;font-size:14px}.entity-tabs .ant-tabs-tab-active .entity-tab-label .anticon{color:#1677ff}.entity-tab-count{color:#475569;text-align:center;background:#e2e8f0;border-radius:999px;min-width:18px;height:18px;padding:0 6px;font-size:11px;font-weight:700;line-height:18px}.entity-tabs .ant-tabs-tab-active .entity-tab-count{color:#1677ff;background:#e6f4ff}[data-theme=dark] .entity-tabs .ant-tabs-nav-list{background:#0f172a73}[data-theme=dark] .entity-tabs .ant-tabs-tab-active{box-shadow:none;background:var(--bg-card)!important}[data-theme=dark] .entity-tab-count{color:#cbd5e1;background:#334155}[data-theme=dark] .entity-tabs .ant-tabs-tab-active .entity-tab-count{color:#91caff;background:#1677ff33}.entity-empty{text-align:center;border:1px dashed var(--border);background:var(--bg-page);color:var(--text-secondary);border-radius:10px;padding:48px 20px}.entity-empty-icon{color:#94a3b8;margin-bottom:10px;font-size:28px}.entity-empty-title{color:var(--text-primary);margin-bottom:4px;font-weight:600}.entity-empty-hint{margin-bottom:16px;font-size:13px}.addr-card{height:100%;border-radius:10px!important}.addr-card .ant-card-head{border-bottom:1px solid var(--border);min-height:46px}.addr-preview{white-space:pre-line;min-height:84px;color:var(--text-primary);line-height:1.55}.addr-preview-muted{color:var(--text-secondary)}.spoc-card{border-radius:10px!important}.entity-hint{color:var(--text-secondary);margin:-4px 0 16px;font-size:13px}[data-theme=dark] .entity-tabs{box-shadow:none}.po-list-card{box-shadow:0 1px 2px #0f172a0a;border-radius:12px!important}.po-list-card .ant-card-head{border-bottom:1px solid var(--border);min-height:56px}.po-list-card .ant-card-body{padding:16px 20px 12px}.po-toolbar{background:var(--bg-page);border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding:10px 12px;display:flex}.data-grid .ant-table{font-size:13px}.data-grid .ant-table-container{border:1px solid var(--border);border-radius:8px;overflow:hidden}.data-grid .ant-table-thead>tr>th{letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:650;color:var(--text-secondary)!important;border-bottom:1px solid var(--border)!important;background:#f8fafc!important;padding:10px 16px!important}.data-grid .ant-table-tbody>tr>td{border-bottom:1px solid var(--border);vertical-align:middle;padding:13px 16px!important}.data-grid .ant-table-tbody>tr:last-child>td{border-bottom:none}.data-grid .ant-table-tbody>tr:hover>td{background:#f8fafc!important}.data-grid .ant-table-cell-fix-left{background:var(--bg-card)}.data-grid .ant-table-tbody>tr:hover>td.ant-table-cell-fix-left{background:#f8fafc!important}.po-cell{align-items:center;gap:8px;min-width:0;display:flex}.po-num{letter-spacing:-.01em;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.po-customer{color:var(--text-primary)}.po-date{color:var(--text-secondary);font-variant-numeric:tabular-nums}.po-pdf-btn{flex-shrink:0;color:#b42318!important;background:#fef3f2!important;border:1px solid #fecdca!important;border-radius:6px!important;width:28px!important;min-width:28px!important;height:28px!important;padding:0!important}.po-pdf-btn:hover{color:#912018!important;background:#fee4e2!important;border-color:#f97066!important}.po-row-go{color:#94a3b8;font-size:11px}.data-grid .ant-table-tbody>tr:hover .po-row-go{color:#1677ff}.data-grid .ant-pagination{margin:16px 0 4px!important}.po-list-card .ant-tabs-nav{margin-bottom:16px}[data-theme=dark] .po-list-card{box-shadow:none}[data-theme=dark] .po-toolbar{background:#0f172a73}[data-theme=dark] .data-grid .ant-table-thead>tr>th,[data-theme=dark] .data-grid .ant-table-tbody>tr:hover>td,[data-theme=dark] .data-grid .ant-table-tbody>tr:hover>td.ant-table-cell-fix-left{background:#162033!important}[data-theme=dark] .data-grid .ant-table-cell-fix-left{background:var(--bg-card)}[data-theme=dark] .po-pdf-btn{color:#fca5a5!important;background:#f871711f!important;border-color:#f8717159!important}
