:root{color:#18202a;background:#eef2f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}#department-task-workspace,#department-task-list,#my-work-task-list,#department-report-panel,#operations-report-panel,#warehouse-inventory-panel,#purchase-orders-panel{scroll-margin-top:16px}*{box-sizing:border-box}body{margin:0;overflow-x:hidden}button,input,select{font:inherit}.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:#151d26;color:#f8fafc;padding:20px 16px}.brand{align-items:center;display:flex;gap:12px;margin-bottom:24px}.brand.compact{margin-bottom:28px}.brand-mark,.brand-logo{align-items:center;background:#32b37b;border-radius:8px;color:#07130e;display:flex;font-weight:800;height:42px;justify-content:center;width:42px}.brand-logo{background:#fff;object-fit:contain;padding:4px}.brand-title{font-size:15px;font-weight:800}.brand-subtitle,.eyebrow{color:#748296;font-size:12px}.nav{display:grid;gap:6px}.nav-item,.icon-button,.primary{cursor:pointer}.nav-item{align-items:center;background:transparent;border:0;border-radius:8px;color:#cbd5e1;display:flex;gap:10px;min-height:40px;padding:9px 10px;text-align:left}.nav-item.active,.nav-item:hover{background:#263544;color:#fff}.main{padding:22px}.topbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}h1,h2{margin:0}h1{font-size:28px}h2{font-size:18px;margin-bottom:14px}.topbar-actions{align-items:center;display:flex;gap:10px}.icon-button{align-items:center;background:#fff;border:1px solid #d8e0ea;border-radius:8px;color:#334155;display:flex;height:40px;justify-content:center;width:40px}.user-pill{align-items:center;background:#fff;border:1px solid #d8e0ea;border-radius:8px;display:flex;gap:8px;min-height:40px;padding:0 12px}.dashboard{display:grid;gap:18px;min-width:0}.metric-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.metric,.panel,.login-panel{background:#fff;border:1px solid #d8e0ea;border-radius:8px;box-shadow:0 1px 2px #0f172a12}.metric{display:grid;gap:8px;padding:18px}.metric span{color:#5f6f84;font-size:13px}.metric strong{font-size:30px}.panel{max-width:100%;min-width:0;overflow:hidden;padding:18px}.two-column{align-items:start;display:grid;gap:18px;grid-template-columns:330px minmax(0,1fr)}.stacked-content{display:grid;gap:18px;min-width:0}.stacked-content>*{min-width:0}.form-panel{display:grid;gap:12px}.import-preview-box{display:grid;gap:8px}.import-preview-table .table-frame{max-height:320px}.import-preview-table table{min-width:980px;table-layout:fixed;width:100%}.import-preview-table th,.import-preview-table td{font-size:11px;padding:6px}.import-blocked-note{font-size:12px;font-weight:800;margin-top:6px}.import-error-list{background:#fff7ed;border:1px solid #fdba74;border-radius:10px;color:#7c2d12;display:grid;font-size:12px;gap:6px;padding:10px 12px}.import-error-list ul{display:grid;gap:4px;margin:0;padding-left:18px}.import-action-badge{border-radius:999px;display:inline-flex;font-size:10px;font-weight:900;line-height:1;padding:5px 8px;white-space:nowrap}.import-action-badge.create{background:#dcfce7;border:1px solid #86efac;color:#166534}.import-action-badge.update{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8}.import-action-badge.error{background:#fee2e2;border:1px solid #fca5a5;color:#b91c1c}.import-mode-field{background:#f8fafc;border:1px solid #dbe4ee;border-radius:12px;padding:12px}.import-mode-field small{color:#64748b;line-height:1.45}label{color:#475569;display:grid;font-size:13px;gap:6px}input,select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#111827;height:40px;padding:0 10px;width:100%}.primary{background:#1f7a5a;border:0;border-radius:8px;color:#fff;font-weight:700;min-height:42px;padding:0 16px}.primary:disabled{background:#8aa79b}.segmented{background:#eef2f6;border:1px solid #d8e0ea;border-radius:8px;display:grid;gap:4px;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px}.segment{background:transparent;border:0;border-radius:6px;color:#53657b;cursor:pointer;font-weight:700;min-height:34px}.segment.active{background:#fff;color:#1f7a5a;box-shadow:0 1px 2px #0f172a14}.line-items{display:grid;gap:10px}.line-item{background:#f8fafc;border:1px solid #d8e0ea;border-radius:8px;display:grid;gap:8px;padding:10px}.ghost-button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#334155;cursor:pointer;font-weight:700;min-height:38px;padding:0 12px}.danger-button{background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;color:#be123c;cursor:pointer;font-weight:800;min-height:38px;padding:0 12px}.danger-button:hover{background:#ffe4e6;border-color:#fb7185}.link-button{background:transparent;border:0;color:#1f7a5a;cursor:pointer;font-weight:800;padding:0}.form-summary{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:8px;color:#166534;font-weight:800;padding:10px 12px}.note-card{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;color:#1e3a8a;font-size:13px;line-height:1.5;padding:10px 12px}.muted-copy{color:#64748b;font-size:13px;margin:12px 0 0}.status-cell{display:grid;gap:4px;min-width:180px}.status-select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:34px;padding:0 8px}.table-input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:34px;min-width:132px;padding:0 10px}.table-input:focus,.status-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f;outline:none}.evidence-badge{border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;line-height:1.2;padding:6px 9px;white-space:nowrap}.status-badge,.business-status-badge,.department-badge,.sales-category-badge{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:11px;font-weight:900;justify-content:center;line-height:1.1;min-height:24px;padding:5px 8px;text-align:center;white-space:nowrap}.business-status-purchase_request{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.business-status-purchasing{background:#fff7ed;border-color:#fdba74;color:#c2410c}.business-status-received{background:#ecfeff;border-color:#67e8f9;color:#0e7490}.business-status-receiving{background:#fff7ed;border-color:#fdba74;color:#c2410c}.business-status-picking{background:#fefce8;border-color:#fde047;color:#a16207}.business-status-picked{background:#f0fdf4;border-color:#86efac;color:#15803d}.business-status-delivered{background:#ecfdf5;border-color:#34d399;color:#047857}.business-status-invoiced{background:#eef2ff;border-color:#a5b4fc;color:#4338ca}.business-status-cancelled{background:#fff1f2;border-color:#fda4af;color:#be123c}.status-waiting{background:#fff7ed;border-color:#fdba74;color:#c2410c}.status-not-started{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.status-in-progress{background:#ecfdf5;border-color:#86efac;color:#047857}.status-completed{background:#eef2ff;border-color:#c4b5fd;color:#6d28d9}.status-cancelled{background:#fff1f2;border-color:#fda4af;color:#be123c}.department-badge{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.department-badge.department-sales{background:#e0f2fe;border-color:#7dd3fc;color:#075985}.department-badge.department-sales-support{background:#ccfbf1;border-color:#5eead4;color:#115e59}.department-badge.department-purchasing{background:#fef3c7;border-color:#fbbf24;color:#92400e}.department-badge.department-accounting{background:#ede9fe;border-color:#c4b5fd;color:#5b21b6}.department-badge.department-warehouse{background:#dcfce7;border-color:#86efac;color:#166534}.department-badge.department-delivery{background:#ffe4e6;border-color:#fda4af;color:#9f1239}.workflow-step-department{align-items:center;display:flex;flex-wrap:wrap;gap:4px}.department-sales,.sales-category-badge.sales-1{background:#e0f2fe;border-color:#7dd3fc;color:#0369a1}.department-sales-support,.sales-category-badge.sales-2{background:#f0fdf4;border-color:#86efac;color:#166534}.department-purchasing{background:#fffbeb;border-color:#fcd34d;color:#92400e}.department-accounting{background:#f5f3ff;border-color:#c4b5fd;color:#6d28d9}.department-warehouse{background:#ecfeff;border-color:#67e8f9;color:#0e7490}.department-delivery{background:#fff1f2;border-color:#fda4af;color:#be123c}.evidence-badge.ready{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.evidence-badge.missing{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.overdue-text .table-input{border-color:#fb7185;color:#be123c}.order-due-date{color:#172033;font-weight:inherit}.order-due-date.due-today-or-overdue{color:#dc2626;font-weight:700}.inline-error{color:#9f1239}.inline-warning{color:#9a3412;font-size:12px;font-weight:700}.inline-success{color:#166534}.inline-actions{display:flex;flex-wrap:wrap;gap:10px}.audit-filter-panel{display:grid;gap:14px}.audit-filter-panel h2{margin:0}.audit-filter-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.audit-filter-grid label{display:grid;gap:6px}.advanced-filter-grid{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0;padding:14px}.advanced-filter-grid label,.advanced-filter-actions{display:grid;gap:6px}.advanced-filter-grid label span{color:#475569;font-size:12px;font-weight:800}.advanced-filter-actions{align-content:end;grid-template-columns:repeat(2,minmax(0,1fr))}.compact-order-filter-bar{align-items:center;background:#f8fafc;border:1px solid #dbe5f0;border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(220px,1.5fr) repeat(6,minmax(112px,1fr)) minmax(90px,.65fr) minmax(90px,.65fr) minmax(82px,.55fr);margin:10px 0 12px;padding:8px 10px}.compact-order-filter-bar .search{min-width:0}.compact-order-filter-bar .search input,.compact-order-filter-bar select,.compact-order-filter-bar input,.compact-order-filter-bar button{font-size:12px;height:32px}.compact-order-filter-bar .search{height:32px;padding:0 9px}.compact-order-filter-bar .compact-filter-field{display:block;min-width:0}.compact-order-filter-bar .compact-filter-field input,.compact-order-filter-bar .compact-filter-field select{min-height:32px;min-width:0;padding:0 10px;width:100%}.compact-order-filter-bar button{min-height:32px;padding:0 12px;white-space:nowrap}.readiness-hero{align-items:center;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) auto auto}.readiness-hero h2{margin:0}.readiness-status,.readiness-check{align-items:center;display:flex;gap:10px}.readiness-status{border-radius:999px;font-weight:900;padding:10px 14px}.readiness-ok{color:#166534}.readiness-warning{color:#92400e}.readiness-error{color:#9f1239}.readiness-hero.readiness-ok .readiness-status,.readiness-check.readiness-ok{background:#ecfdf5;border:1px solid #bbf7d0}.readiness-hero.readiness-warning .readiness-status,.readiness-check.readiness-warning{background:#fffbeb;border:1px solid #fde68a}.readiness-hero.readiness-error .readiness-status,.readiness-check.readiness-error{background:#fff1f2;border:1px solid #fecdd3}.readiness-summary,.readiness-count-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.readiness-checks{display:grid;gap:16px}.readiness-check-list{display:grid;gap:10px}.readiness-check{border-radius:8px;padding:12px}.readiness-check p{margin:4px 0 0}.detail-panel{display:grid;gap:16px}.modal-backdrop{align-items:flex-start;background:#0f172a9e;bottom:0;display:flex;justify-content:center;left:0;overflow:auto;padding:28px;position:fixed;right:0;top:0;z-index:50}.modal-panel{display:grid;gap:12px;max-width:1280px;width:min(1280px,100%)}.modal-close-row{align-items:center;background:#fff;border:1px solid #d8e0ea;border-radius:14px;box-shadow:0 10px 30px #0f172a1a;display:flex;font-weight:800;justify-content:space-between;padding:12px 16px}.document-row-actions{display:flex;flex-wrap:nowrap;gap:5px;min-width:150px}.document-row-actions .ghost-button{font-size:10px;min-height:28px;padding:4px 8px;white-space:nowrap}.document-preview-backdrop{align-items:center;background:#0f172ab8;bottom:0;display:flex;justify-content:center;left:0;padding:22px;position:fixed;right:0;top:0;z-index:80}.document-preview-panel{background:#fff;border:1px solid #d8e0ea;border-radius:14px;box-shadow:0 24px 70px #0f172a52;display:grid;grid-template-rows:auto minmax(0,1fr);height:min(850px,calc(100vh - 44px));overflow:hidden;width:min(1120px,calc(100vw - 44px))}.document-preview-heading{align-items:center;border-bottom:1px solid #d8e0ea;display:flex;gap:16px;justify-content:space-between;padding:11px 14px}.document-preview-heading>div:first-child{display:grid;gap:2px;min-width:0}.document-preview-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-preview-heading span{color:#607087;font-size:11px}.document-preview-heading-actions{display:flex;flex:0 0 auto;gap:6px}.document-preview-content{background:#eef2f7;min-height:0;overflow:auto}.document-preview-content iframe{background:#fff;border:0;height:100%;width:100%}.document-preview-content.image{align-items:flex-start;display:flex;justify-content:center;padding:18px}.document-preview-content img{background:#fff;box-shadow:0 5px 24px #0f172a24;display:block;height:auto;max-width:100%;object-fit:contain}.document-preview-unsupported{align-items:center;color:#526278;display:flex;flex-direction:column;gap:10px;height:100%;justify-content:center;padding:30px;text-align:center}.document-preview-unsupported strong{color:#172235;font-size:17px}@media (max-width: 720px){.document-preview-backdrop{padding:8px}.document-preview-panel{height:calc(100vh - 16px);width:calc(100vw - 16px)}.document-preview-heading{align-items:stretch;flex-direction:column}}.detail-heading{align-items:center;display:flex;gap:10px}.detail-delete-button{margin-left:auto}.detail-heading h2,.detail-heading p{margin:0}.detail-heading p{color:#64748b;font-size:13px}.detail-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.detail-item,.empty-state,.success{border-radius:8px;padding:10px 12px}.detail-item{background:#f8fafc;border:1px solid #e2e8f0;display:grid;gap:4px}.detail-item span{color:#64748b;font-size:12px}.detail-item strong{color:#0f172a;font-size:14px}.quick-step-panel{background:linear-gradient(135deg,#f8fafc,#fff 64%,#edf6ff);border:1px solid #c8d8eb;border-radius:16px;box-shadow:0 12px 26px #0f172a0f;display:grid;gap:10px;margin:2px 0 4px;padding:14px}.quick-step-panel.active{border-color:#60a5fa;box-shadow:0 14px 30px #2563eb1f}.quick-step-heading{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;min-width:0}.quick-step-heading h3{color:#0f172a;font-size:18px;line-height:1.25;margin:2px 0 3px}.quick-step-eyebrow{color:#1d4ed8;display:inline-block;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.quick-step-meta{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.quick-step-meta>span{background:#ffffffdb;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;display:grid;font-size:11px;gap:4px;min-width:0;padding:8px 10px}.quick-step-meta strong{color:#0f172a;font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis}.quick-step-documents{background:#f8fafc;border:1px dashed #b7c9df;border-radius:12px;color:#475569;display:grid;font-size:11px;gap:4px;padding:8px 10px}.quick-step-documents strong{color:#0f172a;font-size:12px;line-height:1.35}.quick-step-documents em{color:#64748b;font-size:11px;font-style:normal;line-height:1.35}.quick-document-form{align-items:center;background:#eef6ff;border:1px solid #c7ddf6;border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr) 190px;padding:8px}.quick-document-form input,.quick-document-form select{background:#fff;border:1px solid #cbd5e1;border-radius:9px;color:#0f172a;font-size:12px;min-height:34px;min-width:0;padding:0 9px}.quick-document-form .primary{min-height:34px;padding:0 12px;white-space:nowrap}.document-drop-zone{background:#f8fbff;border:1.5px dashed #8aaed0;border-radius:11px;color:#334155;display:grid;gap:5px;min-height:58px;min-width:0;padding:8px 10px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.document-drop-zone:focus-visible,.document-drop-zone.dragging{background:#e7f4ff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24;outline:none}.document-drop-zone.has-file{background:#eefbf5;border-color:#38a77a}.document-drop-zone-input{display:none!important}.document-drop-zone-empty,.document-drop-zone-file{align-items:center;display:flex;gap:9px;min-width:0}.document-drop-zone-empty>span,.document-drop-zone-file>span{display:grid;line-height:1.2;min-width:0}.document-drop-zone-empty strong,.document-drop-zone-file strong{color:#0f243d;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-drop-zone-empty small,.document-drop-zone-file small{color:#64748b;font-size:9px}.document-drop-zone-empty .ghost-button,.document-drop-zone-clear{margin-left:auto;min-height:30px;padding:4px 9px;white-space:nowrap}.document-drop-zone-error{color:#b42318;font-size:10px;font-weight:700}.quick-document-form .document-drop-zone{min-height:42px;padding:5px 8px}.quick-step-actions{align-items:center;display:grid;gap:10px;grid-template-columns:minmax(220px,1fr) 190px}.quick-step-action-bar{align-items:center;display:flex;flex-wrap:wrap;gap:8px;grid-column:1 / -1}.quick-step-action-bar .primary,.quick-step-action-bar .ghost-button{min-height:32px;padding:0 12px}.quick-complete-button{background:linear-gradient(135deg,#15803d,#16a34a);box-shadow:0 8px 18px #16a34a33}.quick-complete-button:disabled{box-shadow:none}.quick-step-actions .table-input,.quick-step-actions .status-select{min-height:34px}.quick-step-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.quick-step-shortcuts button{background:#fff;border:1px solid #cbddec;border-radius:999px;color:#1e3a5f;cursor:pointer;font-size:11px;font-weight:800;min-height:28px;padding:0 12px}.quick-step-shortcuts button:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.order-detail-workspace{align-items:start;display:grid;gap:14px;grid-template-columns:210px minmax(0,1fr);min-width:0}.order-detail-tree{background:linear-gradient(180deg,#f8fbff,#f1f6fb);border:1px solid #cbdbea;border-radius:14px;box-shadow:0 8px 22px #0f243d0f;min-width:0;padding:10px;position:sticky;top:12px}.order-detail-tree-heading{border-bottom:1px solid #dbe6f0;display:grid;gap:2px;margin-bottom:8px;padding:2px 5px 9px}.order-detail-tree-heading span{color:#0f243d;font-size:13px;font-weight:900}.order-detail-tree-heading strong{color:#64748b;font-size:10px;font-weight:700}.order-detail-tree-list{display:grid;gap:4px;position:relative}.order-detail-tree-list:before{background:#cbdbea;bottom:22px;content:"";left:18px;position:absolute;top:22px;width:1px}.order-detail-tree-node{align-items:center;background:transparent;border:1px solid transparent;border-radius:10px;color:#334155;cursor:pointer;display:grid;gap:8px;grid-template-columns:30px minmax(0,1fr) auto;min-height:52px;padding:6px 7px 6px 4px;position:relative;text-align:left;width:100%;z-index:1}.order-detail-tree-node:hover{background:#fff;border-color:#b8cde0}.order-detail-tree-node.active{background:linear-gradient(135deg,#167253,#21865f);border-color:#126146;box-shadow:0 7px 16px #12614633;color:#fff}.order-detail-tree-icon{align-items:center;background:#fff;border:1px solid #cbdbea;border-radius:9px;color:#1d4ed8;display:inline-flex;height:28px;justify-content:center;width:28px}.order-detail-tree-node.active .order-detail-tree-icon{border-color:#ffffffb8;color:#126146}.order-detail-tree-copy{display:grid;gap:2px;min-width:0}.order-detail-tree-copy strong{font-size:12px;line-height:1.15}.order-detail-tree-copy small{color:#64748b;font-size:9px;line-height:1.2}.order-detail-tree-node.active .order-detail-tree-copy small{color:#ffffffc7}.order-detail-tree-count{align-items:center;background:#e8f1ff;border:1px solid #c7ddf6;border-radius:999px;color:#1d4ed8;display:inline-flex;font-size:10px;font-weight:900;justify-content:center;min-width:26px;padding:2px 6px}.order-detail-tree-node.active .order-detail-tree-count{background:#fff;border-color:#ffffffb8;color:#126146}.order-detail-content{background:#fff;border:1px solid #dbe5ef;border-radius:14px;box-shadow:0 8px 22px #0f243d0a;display:grid;gap:12px;min-height:280px;min-width:0;padding:14px}.detail-section-panel{display:grid;gap:12px;min-width:0}.detail-section-panel>h3{margin:0}.workflow-dashboard{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid #e2e8f0;border-radius:16px;display:grid;gap:14px;padding:16px}.workflow-dashboard.compact{gap:10px;padding:12px 14px}.workflow-dashboard-header{align-items:center;display:flex;gap:14px;justify-content:space-between}.workflow-dashboard-header h3,.workflow-dashboard-header p{margin:0}.workflow-dashboard-actions{align-items:center;display:flex;flex:0 0 auto;gap:10px}.workflow-dashboard-actions .ghost-button{min-height:34px;padding:0 12px;white-space:nowrap}.workflow-progress-score{background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;color:#1d4ed8;display:grid;min-width:140px;padding:10px 14px;text-align:right}.workflow-progress-score strong{font-size:26px;line-height:1}.workflow-progress-score span{color:#475569;font-size:12px;margin-top:4px}.workflow-progress-bar{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.workflow-progress-bar span{background:linear-gradient(90deg,#22c55e,#2563eb);border-radius:inherit;display:block;height:100%}.workflow-summary-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.workflow-summary-line{align-items:center;display:flex;flex-wrap:nowrap;gap:10px;justify-content:space-between;min-width:0}.workflow-summary-chip{align-items:baseline;background:#f8fafc;border:1px solid #dbe5f0;border-radius:10px;color:#475569;display:inline-flex;flex:1 1 0;font-size:12px;gap:6px;min-width:0;padding:8px 10px;white-space:nowrap}.workflow-summary-chip strong{color:#0f172a;display:inline-block;font-size:13px;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis;vertical-align:baseline}.workflow-timeline{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.workflow-timeline-step{align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:14px;display:flex;gap:10px;padding:12px}.workflow-step-marker{align-items:center;background:#e2e8f0;border-radius:999px;color:#334155;display:inline-flex;flex:0 0 30px;font-size:13px;font-weight:900;height:30px;justify-content:center;width:30px}.workflow-step-body{display:grid;gap:4px;min-width:0}.workflow-step-title-row{align-items:center;display:flex;gap:8px;min-width:0}.workflow-step-body strong{color:#0f172a;font-size:13px}.workflow-step-body span,.workflow-step-body small{color:#64748b;font-size:12px}.workflow-timeline-step.completed{border-color:#bbf7d0}.workflow-timeline-step.completed .workflow-step-marker{background:#dcfce7;color:#166534}.workflow-timeline-step.in-progress{background:linear-gradient(135deg,#eff6ff,#fff 58%,#e0f2fe);border:2px solid #2563eb;box-shadow:0 14px 34px #2563eb2e;outline:3px solid rgb(37 99 235 / 12%);position:relative;transform:translateY(-1px)}.workflow-timeline-step.in-progress .workflow-step-marker{background:linear-gradient(135deg,#2563eb,#38bdf8);box-shadow:0 8px 18px #2563eb40;color:#fff}.workflow-timeline-step.in-progress .workflow-step-body strong{color:#1d4ed8}.current-step-badge{background:#1d4ed8;border-radius:999px;color:#fff;flex:0 0 auto;font-size:10px;font-weight:900;letter-spacing:.02em;padding:4px 8px;text-transform:uppercase}.debt-step-badge{background:#f5f3ff;border:1px solid #c4b5fd;border-radius:999px;color:#6d28d9;flex:0 0 auto;font-size:10px;font-weight:900;letter-spacing:.02em;padding:3px 7px;text-transform:uppercase}.workflow-timeline-step.waiting .workflow-step-marker{background:#fef3c7;color:#92400e}.workflow-timeline-step.cancelled .workflow-step-marker,.workflow-timeline-step.overdue .workflow-step-marker{background:#ffe4e6;color:#be123c}.workflow-timeline-step.overdue{border-color:#fecdd3}.empty-state{background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b}.success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.login-page{align-items:center;background:#eef2f6;display:flex;justify-content:center;min-height:100vh;padding:24px}.login-panel{display:grid;gap:14px;max-width:420px;padding:24px;width:100%}.alert{background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;color:#9f1239;padding:10px 12px}.info-callout{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;color:#1e3a8a;font-size:13px;line-height:1.5;margin:12px 0;padding:10px 12px}.info-callout code{background:#dbeafe;border-radius:6px;padding:2px 5px}.loading{color:#53657b;margin-bottom:14px}.table-wrap{max-width:100%;min-width:0;overscroll-behavior:contain;overflow:hidden;padding:2px}.table-toolbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px;min-width:0}.table-count{color:#64748b;font-size:13px;font-weight:800;white-space:nowrap}.table-filter-hint{color:#64748b;font-size:13px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis}.table-title-row{align-items:center;background:linear-gradient(135deg,#f0fdf4,#eff6ff);border:1px solid #cbddec;border-radius:16px;display:flex;gap:12px;justify-content:space-between;margin-bottom:14px;min-width:0;overflow:hidden;padding:14px 16px}.table-title-row>div{min-width:0}.table-title-row h2{color:#0f172a;font-size:24px;letter-spacing:-.02em;margin:0 0 6px}.table-title-row .muted-copy{margin:0}.section-title-row{margin-top:22px}.search{align-items:center;background:#f8fafc;border:1px solid #d8e0ea;border-radius:8px;display:flex;gap:8px;min-width:260px;padding:0 10px}.search input{background:transparent;border:0;height:38px;padding:0}table{border-collapse:collapse;min-width:1280px;table-layout:auto;width:max-content}.table-frame{background:#fff;border:1px solid #cbddec;border-radius:14px;box-shadow:0 10px 28px #0f172a0f,inset 0 0 0 1px #0f172a05;max-height:70vh;max-width:100%;min-width:0;overflow:auto;scrollbar-gutter:stable both-edges;width:100%}.order-list-table .table-frame{border:1px solid #9fb2cc;border-radius:16px;max-height:68vh;overflow:auto;scrollbar-gutter:stable}.order-list-table table{min-width:1280px;table-layout:fixed;width:100%}.order-list-table th,.order-list-table td{border-bottom:1px solid #cfd8e3;border-right:1px solid #d8e1ec;max-width:none;min-width:0;overflow-wrap:anywhere;padding:8px 7px}.order-list-table th{background:linear-gradient(180deg,#9db6e4,#8ea9db);border-bottom:1px solid #6f8fc4;color:#0f243d;font-size:10px;letter-spacing:.015em}.order-list-table td{font-size:12px;line-height:1.28;min-height:38px}.order-list-table th:nth-child(1),.order-list-table td:nth-child(1){width:96px}.order-list-table th:nth-child(2),.order-list-table td:nth-child(2){width:276px}.order-list-table th:nth-child(3),.order-list-table td:nth-child(3),.order-list-table th:nth-child(4),.order-list-table td:nth-child(4){width:116px}.order-list-table th:nth-child(5),.order-list-table td:nth-child(5){width:204px}.order-list-table th:nth-child(6),.order-list-table td:nth-child(6){width:120px}.order-list-table th:nth-child(7),.order-list-table td:nth-child(7){width:150px}.order-list-table th:nth-child(8),.order-list-table td:nth-child(8){width:118px}.order-list-table th:nth-child(9),.order-list-table td:nth-child(9){width:154px}.order-list-table th:nth-child(10),.order-list-table td:nth-child(10){width:126px}.order-list-table th:nth-child(11),.order-list-table td:nth-child(11){width:120px}.order-list-table tbody tr:nth-child(odd){background:#e3e0e0}.order-list-table tbody tr:nth-child(odd) td{background:#e3e0e0}.order-list-table tbody tr:nth-child(2n){background:#fff}.order-list-table tbody tr:nth-child(2n) td{background:#fff}.order-list-table tbody tr:hover{background:#e0edff;box-shadow:inset 3px 0 #2563eb}.order-list-table tbody tr:hover td{background:#e0edff}.order-list-table .column-filter-input{background:#ffffffeb;border-color:#7188ad;color:#0f172a;font-size:10px;height:26px;min-width:0;padding:0 6px}.order-items-table .table-frame{max-height:42vh}.order-items-table table{min-width:1360px;table-layout:fixed;width:1360px}.order-items-table th,.order-items-table td{max-width:none;min-width:0;overflow-wrap:anywhere;padding:8px}.order-items-table th{font-size:10px;line-height:1.15;overflow-wrap:normal;word-break:normal}.order-items-table td{font-size:12px;line-height:1.25}.order-items-table th:nth-child(1),.order-items-table td:nth-child(1){width:150px}.order-items-table th:nth-child(2),.order-items-table td:nth-child(2){width:300px}.order-items-table th:nth-child(3),.order-items-table td:nth-child(3){width:88px}.order-items-table th:nth-child(4),.order-items-table td:nth-child(4){width:116px}.order-items-table th:nth-child(5),.order-items-table td:nth-child(5){width:76px}.order-items-table th:nth-child(6),.order-items-table td:nth-child(6){width:128px}.order-items-table th:nth-child(7),.order-items-table td:nth-child(7){width:190px}.order-items-table th:nth-child(8),.order-items-table td:nth-child(8){width:130px}.order-items-table th:nth-child(9),.order-items-table td:nth-child(9){width:130px}.order-items-table .column-filter-input,.order-items-table .table-input{font-size:11px;height:28px;min-width:0;padding:0 6px}.order-steps-table .table-frame{max-height:48vh}.order-steps-table table{min-width:1380px;table-layout:fixed;width:1380px}.order-steps-table th,.order-steps-table td{max-width:none;min-width:0;overflow-wrap:anywhere;padding:6px}.order-steps-table th{font-size:9px}.order-steps-table td{font-size:11px;line-height:1.22}.order-steps-table th:nth-child(1),.order-steps-table td:nth-child(1){text-align:center;width:34px}.order-steps-table th:nth-child(2),.order-steps-table td:nth-child(2){width:150px}.order-steps-table th:nth-child(3),.order-steps-table td:nth-child(3){width:240px}.order-steps-table th:nth-child(4),.order-steps-table td:nth-child(4){width:120px}.order-steps-table th:nth-child(5),.order-steps-table td:nth-child(5){width:126px}.order-steps-table th:nth-child(6),.order-steps-table td:nth-child(6){width:150px}.order-steps-table th:nth-child(7),.order-steps-table td:nth-child(7){width:112px}.order-steps-table th:nth-child(8),.order-steps-table td:nth-child(8){width:170px}.order-steps-table th:nth-child(9),.order-steps-table td:nth-child(9){width:110px}.order-steps-table th:nth-child(10),.order-steps-table td:nth-child(10){width:132px}.order-steps-table th:nth-child(11),.order-steps-table td:nth-child(11){width:136px}.order-steps-table .column-filter-input,.order-steps-table .status-select,.order-steps-table .table-input{font-size:10px;min-height:26px;padding:0 6px}.order-steps-table .status-cell{gap:3px;min-width:0}.order-steps-table .inline-warning,.order-steps-table .evidence-badge{font-size:9px;line-height:1.15}.department-task-table .table-frame{border-color:#b7c9df;border-radius:12px;max-height:48vh;scrollbar-gutter:stable}.department-task-tabs{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:8px 0}.department-branch-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.department-branch-tabs button{background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;color:#334155;cursor:pointer;font-size:12px;font-weight:800;min-height:30px;padding:6px 11px}.department-branch-tabs button.active,.department-branch-tabs button:hover{background:#e8fff4;border-color:#32b37b;color:#047857}.my-work-summary{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.my-work-card{align-items:center;background:#fff;border:1px solid #d8e3f2;border-radius:12px;color:#1f2937;cursor:pointer;display:flex;justify-content:space-between;min-height:48px;padding:8px 12px;text-align:left}.my-work-card span{color:#526278;font-size:11px;font-weight:800}.my-work-card strong{font-size:20px;line-height:1}.my-work-card.primary{border-color:#93c5fd}.my-work-card.primary strong{color:#1d4ed8}.my-work-card.warning{border-color:#fed7aa}.my-work-card.warning strong{color:#c2410c}.my-work-card.success{border-color:#bbf7d0}.my-work-card.success strong{color:#15803d}.my-work-card.danger{border-color:#fecaca}.my-work-card.danger strong{color:#dc2626}.my-work-dashboard{border-top:4px solid #1f7a5a}.my-work-filter-bar{align-items:flex-end;background:#f8fbff;border:1px solid #d8e3f2;border-radius:10px;display:flex;gap:12px;justify-content:space-between;padding:8px 10px}.my-work-filter-bar label{display:grid;gap:4px;max-width:360px;width:100%}.my-work-filter-bar label>span,.my-work-filter-bar>span{color:#526278;font-size:11px;font-weight:800}.my-work-filter-bar select{min-height:34px}.department-task-table.my-work-task-table table{min-width:1120px;table-layout:fixed;width:100%}.department-task-table.my-work-task-table th:nth-child(1),.department-task-table.my-work-task-table td:nth-child(1){width:7%}.department-task-table.my-work-task-table th:nth-child(2),.department-task-table.my-work-task-table td:nth-child(2){width:7.5%}.department-task-table.my-work-task-table th:nth-child(3),.department-task-table.my-work-task-table td:nth-child(3){width:8.5%}.department-task-table.my-work-task-table th:nth-child(4),.department-task-table.my-work-task-table td:nth-child(4){width:29%}.department-task-table.my-work-task-table th:nth-child(5),.department-task-table.my-work-task-table td:nth-child(5){width:15%}.department-task-table.my-work-task-table th:nth-child(6),.department-task-table.my-work-task-table td:nth-child(6){width:7.5%}.department-task-table.my-work-task-table th:nth-child(7),.department-task-table.my-work-task-table td:nth-child(7){width:9%}.department-task-table.my-work-task-table th:nth-child(8),.department-task-table.my-work-task-table td:nth-child(8){width:16.5%}.my-work-task-table th,.my-work-task-table td{padding:6px;vertical-align:middle}.my-work-task-table td:nth-child(4),.my-work-task-table td:nth-child(5){line-height:1.28;overflow-wrap:anywhere;white-space:normal}.my-work-task-name{color:#172235;display:block;font-weight:700}.my-work-row-actions{display:grid;gap:6px;min-width:0;width:100%}.my-work-row-action-buttons{display:grid;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr))}.my-work-row-action-buttons .compact-row-action{font-size:9px;min-width:0;padding:3px 4px;width:auto}.my-work-row-action-buttons .compact-row-action.active{background:#e8fff4;border-color:#32b37b;color:#047857}.my-work-inline-editor{background:#f8fbff;border:1px solid #cfe0f4;border-radius:9px;display:grid;gap:7px;padding:8px}.my-work-inline-editor label{display:grid;gap:4px}.my-work-inline-editor label>span{color:#526278;font-size:10px;font-weight:800}.my-work-inline-editor textarea,.my-work-inline-editor select{font-size:11px;min-height:32px;width:100%}.my-work-inline-editor textarea{min-height:64px;resize:vertical}.my-work-inline-editor-actions{display:flex;gap:6px}.my-work-inline-editor .document-drop-zone{min-height:72px;padding:7px}.my-work-inline-editor .document-drop-zone-empty,.my-work-inline-editor .document-drop-zone-file{gap:6px}.my-work-inline-editor .document-drop-zone-empty>svg,.my-work-inline-editor .document-drop-zone-file>svg{display:none}.warehouse-inventory-panel{background:linear-gradient(135deg,#f7fcfb,#f8fbff);border:1px solid #bfe4d5;border-radius:14px;display:grid;gap:10px;padding:12px}.warehouse-inventory-panel h3{margin:0 0 3px}.warehouse-inventory-metrics{display:grid;gap:8px;grid-template-columns:repeat(5,minmax(0,1fr))}.warehouse-inventory-metrics .metric-card{min-height:58px;padding:8px 10px}.warehouse-inventory-notice{background:#fffbeb;border:1px solid #fde68a;border-radius:9px;color:#854d0e;font-size:11px;font-weight:700;padding:8px 10px}.warehouse-inventory-table table{min-width:0;table-layout:fixed;width:100%}.warehouse-inventory-table th,.warehouse-inventory-table td{font-size:9.5px;overflow-wrap:anywhere;padding-left:6px;padding-right:6px}.warehouse-inventory-table th:nth-child(1),.warehouse-inventory-table td:nth-child(1){width:8%}.warehouse-inventory-table th:nth-child(2),.warehouse-inventory-table td:nth-child(2){width:20%}.warehouse-inventory-table th:nth-child(3),.warehouse-inventory-table td:nth-child(3){width:5%}.warehouse-inventory-table th:nth-child(4),.warehouse-inventory-table td:nth-child(4){width:8%}.warehouse-inventory-table th:nth-child(5),.warehouse-inventory-table td:nth-child(5),.warehouse-inventory-table th:nth-child(6),.warehouse-inventory-table td:nth-child(6),.warehouse-inventory-table th:nth-child(7),.warehouse-inventory-table td:nth-child(7),.warehouse-inventory-table th:nth-child(8),.warehouse-inventory-table td:nth-child(8),.warehouse-inventory-table th:nth-child(9),.warehouse-inventory-table td:nth-child(9){text-align:right;width:6%}.warehouse-inventory-table th:nth-child(10),.warehouse-inventory-table td:nth-child(10){width:12%}.warehouse-inventory-table th:nth-child(11),.warehouse-inventory-table td:nth-child(11){width:11%}.warehouse-inventory-table .column-filter-input{font-size:9px;min-width:0;padding:4px 5px}.inventory-status{border:1px solid #cbd5e1;border-radius:999px;display:inline-flex;font-size:9px;font-weight:800;padding:3px 7px;white-space:nowrap}.inventory-awaiting-receipt{background:#fff7ed;border-color:#fdba74;color:#9a3412}.inventory-in-stock{background:#ecfdf5;border-color:#86efac;color:#166534}.inventory-partially-issued{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.inventory-issued{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.inventory-negative,.inventory-negative+span{color:#dc2626}.inventory-negative{font-weight:900}.inventory-status.inventory-negative{background:#fef2f2;border-color:#fca5a5;color:#b91c1c}.department-task-tree{background:linear-gradient(135deg,#f8fbff,#f4fbf6);border:1px solid #cfe0f4;border-radius:14px;padding:10px 12px}.department-task-tree summary{align-items:center;cursor:pointer;display:flex;gap:12px;justify-content:space-between;list-style:none}.department-task-tree summary::-webkit-details-marker{display:none}.department-task-tree summary:after{background:#fff;border:1px solid #bad0ec;border-radius:999px;color:#1e3a5f;content:"Thu gọn";font-size:10px;font-weight:900;padding:3px 8px}.department-task-tree details:not([open]) summary:after{content:"Mở cây"}.department-task-tree summary span{color:#0f172a;font-size:13px;font-weight:900}.department-task-tree summary em{color:#64748b;flex:1;font-size:11px;font-style:normal;text-align:right}.task-tree-grid{display:grid;gap:8px;grid-template-columns:minmax(260px,1.2fr) minmax(260px,1fr);margin-top:10px}.task-tree-branch{background:#ffffffd1;border:1px solid #dbe7f5;border-radius:12px;display:grid;gap:8px;padding:10px}.task-tree-branch.primary-branch,.task-tree-branch.guidance-branch{grid-column:1 / -1}.task-tree-label{color:#1e3a5f;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.compact-tree-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-tree-summary .my-work-card{min-height:38px;padding:6px 10px}.compact-tree-summary .my-work-card strong{font-size:17px}.tree-tabs{margin:0}.task-tree-chip-list{display:flex;flex-wrap:wrap;gap:6px}.task-tree-chip-list span{background:#fff;border:1px solid #cfe0f4;border-radius:999px;color:#1e3a5f;font-size:10.5px;font-weight:800;padding:5px 8px}.guidance-branch p,.guidance-branch ul{color:#526278;font-size:11px;margin:0}.guidance-branch ul{display:grid;gap:3px;padding-left:18px}.department-task-tab{align-items:center;background:#f8fafc;border:1px solid #d8e3f2;border-radius:12px;color:#1e3a5f;cursor:pointer;display:flex;font-size:11px;font-weight:700;justify-content:space-between;min-height:34px;padding:6px 10px;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.department-task-tab:hover{border-color:#8fb0d9;box-shadow:0 8px 18px #1e3a5f14;transform:translateY(-1px)}.department-task-tab strong{align-items:center;background:#e8f1ff;border:1px solid #b7cff3;border-radius:999px;color:#0f4e94;display:inline-flex;font-size:11px;justify-content:center;min-width:28px;padding:2px 7px}.department-task-tab.active{background:linear-gradient(135deg,#1f7f5c,#126146);border-color:#126146;box-shadow:0 12px 24px #1261462e;color:#fff}.department-task-tab.active strong{background:#fff;border-color:#ffffffbf;color:#126146}.department-task-table table{min-width:980px;table-layout:fixed;width:100%}.department-task-table th,.department-task-table td{border-right:1px solid #dce4ef;max-width:none;min-width:0;overflow-wrap:anywhere;padding:5px 6px}.department-task-table th{background:linear-gradient(180deg,#eef6ff,#dcecff);border-bottom-color:#b7c9df;color:#1e3a5f;font-size:9.5px}.department-task-table td{font-size:10px;line-height:1.2}.department-task-table tbody tr:nth-child(odd){background:#f8fafc}.department-task-table tbody tr:nth-child(2n){background:#fff}.department-task-table tbody tr:hover{background:#f0f9ff}.department-task-table th:nth-child(1),.department-task-table td:nth-child(1){width:78px}.department-task-table th:nth-child(2),.department-task-table td:nth-child(2){width:200px}.department-task-table th:nth-child(3),.department-task-table td:nth-child(3){width:250px}.department-task-table th:nth-child(4),.department-task-table td:nth-child(4){width:78px}.department-task-table th:nth-child(5),.department-task-table td:nth-child(5){width:160px}.department-task-table th:nth-child(6),.department-task-table td:nth-child(6){width:92px}.department-task-table th:nth-child(7),.department-task-table td:nth-child(7){width:116px}.department-task-table th:nth-child(8),.department-task-table td:nth-child(8){width:120px}.sales-support-task-table table{min-width:1120px}.sales-support-task-table th,.sales-support-task-table td{padding:6px}.sales-support-task-table th:nth-child(1),.sales-support-task-table td:nth-child(1){width:76px}.sales-support-task-table th:nth-child(2),.sales-support-task-table td:nth-child(2){width:180px}.sales-support-task-table th:nth-child(3),.sales-support-task-table td:nth-child(3){width:122px}.sales-support-task-table th:nth-child(4),.sales-support-task-table td:nth-child(4){width:96px}.sales-support-task-table th:nth-child(5),.sales-support-task-table td:nth-child(5){width:240px}.sales-support-task-table th:nth-child(6),.sales-support-task-table td:nth-child(6){width:84px}.sales-support-task-table th:nth-child(7),.sales-support-task-table td:nth-child(7){width:150px}.sales-support-task-table th:nth-child(8),.sales-support-task-table td:nth-child(8){width:98px}.sales-support-task-table th:nth-child(9),.sales-support-task-table td:nth-child(9){width:104px}.sales-support-task-table th:nth-child(10),.sales-support-task-table td:nth-child(10){width:114px}.sales-support-task-table .status-cell{align-items:stretch;flex-direction:column}.sales-support-task-table .status-select,.sales-support-task-table .table-input{width:100%}.department-task-table .column-filter-input,.department-task-table .status-select,.department-task-table .table-input{font-size:9.5px;min-height:24px;padding:0 6px}.department-task-table .status-cell{gap:3px;min-width:0}.department-task-table .inline-warning{font-size:10px;line-height:1.2}.department-task-table .evidence-badge{font-size:10px;padding:5px 7px;white-space:normal}.department-task-table .status-badge,.department-task-table .department-badge,.department-task-table .sales-category-badge{font-size:9.5px;min-height:20px;padding:3px 6px}.compact-row-action{font-size:10px;min-height:26px;padding:0 8px;white-space:normal;width:100%}.row-action-stack{align-items:stretch;display:grid;gap:4px;min-width:92px;width:100%}.admin-maintenance-panel{display:grid;gap:8px;padding:12px}.admin-maintenance-row{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(260px,1fr) auto minmax(180px,.5fr)}.backup-status-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.backup-status-card{border:1px solid #d8e3f2;border-radius:12px;display:grid;gap:4px;padding:10px 12px}.backup-status-card span{color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}.backup-status-card strong{color:#0f172a;font-size:13px;line-height:1.35}.backup-status-card.safe{background:#f0fdf4;border-color:#bbf7d0}.backup-status-card.warning{background:#fffbeb;border-color:#fde68a}.backup-status-card.danger{background:#fff1f2;border-color:#fecdd3}.backup-restore-steps{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;color:#334155;display:grid;font-size:12px;gap:5px;margin:0;padding:10px 10px 10px 28px}.backup-preview-box{display:grid;gap:8px}.backup-preview-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.backup-preview-grid .metric{min-height:70px}.backup-warning-list{color:#9f1239;font-size:12px;margin:0;padding-left:20px}.guide-link-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.guide-link-card{background:#f8fafc;border:1px solid #d8e3f2;border-radius:14px;color:#0f172a;display:grid;gap:4px;padding:12px 14px;text-decoration:none}.guide-link-card:hover{border-color:#32b37b;box-shadow:0 12px 24px #0f172a14}.guide-link-card strong{font-size:14px}.guide-link-card span{color:#64748b;font-size:12px;font-weight:800}.restore-confirmation{align-items:center;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;color:#7c2d12;display:flex;font-size:12px;font-weight:800;gap:8px;padding:9px 10px}.restore-confirmation input{height:16px;width:16px}@media (max-width: 1100px){.backup-status-grid,.backup-preview-grid,.admin-maintenance-row{grid-template-columns:1fr}}th,td{border-bottom:1px solid #e5eaf0;padding:11px 10px;text-align:left;vertical-align:middle;min-width:110px}th{background:#f1f7fb;border-bottom:1px solid #cbddec;color:#334155;font-size:12px;position:sticky;top:0;text-transform:uppercase;z-index:1}th span{display:block;font-weight:900;margin-bottom:7px}.table-heading-label{align-items:center;display:flex;gap:6px;justify-content:space-between;margin-bottom:7px}.table-heading-label span{margin-bottom:0}.sort-buttons{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.sort-buttons button{align-items:center;background:#ffffffbd;border:1px solid rgba(15,36,61,.2);border-radius:5px;color:#0f243d;cursor:pointer;display:inline-flex;font-size:9px;font-weight:900;height:18px;justify-content:center;line-height:1;padding:0;width:28px}.sort-buttons button:hover,.sort-buttons button.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.sort-buttons button:disabled{cursor:not-allowed;opacity:.45}.column-filter-input{background:#fff;border:1px solid #cbd5e1;border-radius:7px;color:#0f172a;font-size:12px;font-weight:600;height:30px;min-width:94px;padding:0 8px;text-transform:none;width:100%}.column-filter-input:focus{border-color:#21865f;box-shadow:0 0 0 3px #21865f1f;outline:none}.column-filter-status{background:#f8fafc;border-color:#93c5fd;color:#1e3a8a}td{color:#1f2937;font-size:14px;line-height:1.35;max-width:360px}th.money-column,td.money-column{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}th.money-column .table-heading-label{justify-content:flex-end}th.money-column .column-filter-input{text-align:right}tbody tr:hover{background:#f8fafc}.empty-cell{color:#64748b;font-style:italic;line-height:1.5;padding:18px 12px;text-align:center}@media (max-width: 920px){.shell{grid-template-columns:1fr}.sidebar{position:static}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar,.readiness-hero,.two-column{align-items:stretch;display:grid;grid-template-columns:1fr}.audit-filter-grid,.advanced-filter-grid,.metric-grid,.detail-grid,.department-guide-grid,.workflow-summary-grid,.workflow-timeline,.readiness-summary,.readiness-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-summary-line{flex-wrap:wrap}.workflow-summary-chip{flex-basis:calc(50% - 6px)}}@media (max-width: 560px){.main{padding:14px}.audit-filter-grid,.advanced-filter-grid,.metric-grid,.detail-grid,.department-guide-grid,.workflow-summary-grid,.workflow-timeline,.readiness-summary,.readiness-count-grid,.nav{grid-template-columns:1fr}.topbar-actions{align-items:stretch;display:grid}.search{min-width:0;width:100%}}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;overflow-x:hidden}.app-shell>main{min-width:0;overflow-x:hidden;padding:24px}.sidebar{background:radial-gradient(circle at 20% 0%,rgb(50 179 123 / 28%),transparent 26%),linear-gradient(180deg,#111a24,#152231);height:100vh;overflow-y:auto;position:sticky;top:0}.brand strong{display:block;font-size:16px;letter-spacing:-.02em}.brand span{color:#aebcca;display:block;font-size:12px;margin-top:3px}.brand-mark.large,.brand-logo.large{height:54px;margin-bottom:6px;width:96px}.sidebar nav{display:grid;gap:8px}.sidebar-nav-group{display:grid;gap:6px}.sidebar nav button{align-items:center;background:transparent;border:1px solid transparent;border-radius:12px;color:#cbd5e1;cursor:pointer;display:flex;gap:10px;min-height:42px;padding:10px 12px;text-align:left}.sidebar nav button.active,.sidebar nav button:hover{background:#ffffff17;border-color:#ffffff1f;color:#fff}.sidebar-subnav{border-left:1px solid rgb(148 163 184 / 30%);display:grid;gap:5px;margin:-2px 0 6px 22px;padding-left:10px}.sidebar-subnav>span{color:#8ea4ba;font-size:10px;font-weight:900;letter-spacing:.04em;margin-top:4px;text-transform:uppercase}.sidebar nav .sidebar-subnav button{border-radius:10px;color:#b9c7d5;font-size:12px;min-height:30px;padding:6px 9px}.sidebar nav .sidebar-subnav button.active{background:#32b37b33;border-color:#4ade8061;color:#eafff4;font-weight:900}.sidebar-subnav-chips{display:grid;gap:4px}.sidebar-subnav-chips em{color:#9fb2c6;font-size:11px;font-style:normal;line-height:1.25}.sidebar-work-department{display:grid;gap:4px}.sidebar-subnav-nested{border-left:1px solid rgb(148 163 184 / 26%);display:grid;gap:3px;margin:0 0 3px 10px;padding-left:8px}.sidebar-subnav-nested>span{color:#8197ad;font-size:9px;font-weight:900;letter-spacing:.04em;margin:3px 0 1px;text-transform:uppercase}.sidebar nav .sidebar-subnav .sidebar-subnav-nested button{font-size:11px;min-height:26px;padding:4px 7px}.topbar{background:transparent}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.user-chip{background:#fff;border:1px solid #d8e0ea;border-radius:999px;color:#334155;font-weight:700;min-height:38px;padding:9px 13px}.metrics-grid{display:grid;gap:8px;grid-template-columns:repeat(6,minmax(0,1fr))}.app-shell>main.workspace-main{padding:14px 16px}.workspace-main>.topbar,.workspace-main>.main>.topbar{margin-bottom:10px}.workspace-main>.topbar .eyebrow,.workspace-main>.main>.topbar .eyebrow{display:block;margin:0 0 2px}.workspace-main>.topbar h1,.workspace-main>.main>.topbar h1{font-size:26px;line-height:1.1}.workspace-main>.topbar .user-chip,.workspace-main>.topbar .ghost-button,.workspace-main>.main>.topbar .ghost-button{min-height:34px;padding-bottom:6px;padding-top:6px}.workspace-main>.stacked-content{gap:10px}.workspace-main>.main{padding:0}.workspace-main>.stacked-content>.panel,.workspace-main>.panel,.workspace-main>.main>.content-card{padding:12px}.workspace-main>.stacked-content>.panel .table-title-row,.workspace-main>.panel .table-title-row,.workspace-main>.main>.content-card .table-title-row{border-radius:12px;margin-bottom:8px;padding:9px 12px}.workspace-main>.stacked-content>.panel .table-title-row h2,.workspace-main>.panel .table-title-row h2,.workspace-main>.main>.content-card .table-title-row h2{font-size:20px;margin-bottom:2px}.workspace-main>.stacked-content>.panel .table-title-row .muted-copy,.workspace-main>.panel .table-title-row .muted-copy,.workspace-main>.main>.content-card .table-title-row p{font-size:11px;line-height:1.3;margin-bottom:0;margin-top:0}.workspace-main .metrics-grid{gap:6px}.workspace-main .compact-metrics{margin:8px 0}.workspace-main .metric-card{min-height:52px;padding:7px 9px}.workspace-main .metric-card span{font-size:10px}.workspace-main .metric-card strong{font-size:18px}.workspace-main .table-toolbar{margin-bottom:6px}.workspace-main .table-filter-hint,.workspace-main .table-count{font-size:11px}.workspace-main .department-task-tabs,.workspace-main .my-work-summary{gap:6px}.workspace-main .my-work-card{min-height:42px;padding:6px 10px}.workspace-main .department-task-panel .table-title-row{margin-bottom:7px;padding:9px 12px}.workspace-main .task-guide-list{gap:2px;margin:5px 0 8px}.workspace-main .sales-support-checklist{margin:5px 0 8px;padding:6px 8px}.workspace-main .warehouse-inventory-panel,.workspace-main .purchase-orders-panel,.workspace-main .accounting-tracking-panel{border-radius:12px;gap:8px;margin:7px 0 10px;padding:10px}.workspace-main .department-report-grid{gap:7px;margin:8px 0 10px}.workspace-main .debt-workspace{gap:9px}.workspace-main .debt-tabs{gap:7px}.workspace-main .debt-tabs button{min-height:44px;padding:7px 11px}.workspace-main .users-admin-page{gap:10px}.quick-create-order-panel{border-left:4px solid #2563eb}.quick-create-order-grid{align-items:end;display:grid;gap:7px;grid-template-columns:repeat(4,minmax(0,1fr))}.quick-create-order-grid label{display:grid;gap:4px;min-width:0}.quick-create-order-grid label>span{color:#475569;font-size:10px;font-weight:800}.quick-create-order-grid input,.quick-create-order-grid select,.quick-create-order-grid button{font-size:11px;min-height:32px;min-width:0;width:100%}.quick-create-description{grid-column:span 3}.app-shell>main.overview-main{padding:12px 14px}.overview-main .topbar{margin-bottom:8px}.overview-main .topbar .eyebrow{display:block;margin:0 0 2px}.overview-main .topbar h1{font-size:26px;line-height:1.1}.overview-main .user-chip,.overview-main .topbar-actions .ghost-button{min-height:34px;padding-bottom:6px;padding-top:6px}.overview-workspace{gap:8px}.overview-workspace .metrics-grid{gap:6px;grid-template-columns:repeat(7,minmax(0,1fr))}.overview-workspace .metric-card{min-height:52px;padding:7px 9px}.overview-workspace .metric-card span{font-size:10px}.overview-workspace .metric-card strong{font-size:18px}.overview-workspace>.panel{padding:10px 12px 12px}.overview-workspace .table-title-row{border-radius:12px;margin-bottom:6px;padding:8px 12px}.overview-workspace .table-title-row h2{font-size:20px;margin-bottom:2px}.overview-workspace .table-title-row .muted-copy{font-size:11px;line-height:1.3}.overview-workspace .table-title-row .ghost-button{min-height:32px;padding:6px 10px}.overview-workspace .compact-order-filter-bar{border-radius:10px;gap:6px;margin:4px 0 7px;padding:5px 7px}.overview-workspace .compact-order-filter-bar .search,.overview-workspace .compact-order-filter-bar .search input,.overview-workspace .compact-order-filter-bar select,.overview-workspace .compact-order-filter-bar input,.overview-workspace .compact-order-filter-bar button{height:30px;min-height:30px}.overview-workspace .table-toolbar{margin-bottom:6px}.overview-workspace .table-filter-hint,.overview-workspace .table-count{font-size:11px}.overview-workspace .order-list-table .table-frame{max-height:calc(100vh - 260px)}.compact-metrics{margin:18px 0}.department-task-panel{border-left:4px solid #22c55e}.department-task-panel .table-title-row{margin-bottom:10px;padding:12px 14px}.department-task-panel .table-title-row h2{font-size:20px}.department-task-panel .muted-copy{font-size:12px}.task-count-badge{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;color:#166534;font-weight:800;padding:8px 12px}.task-guide-list{color:#475569;display:grid;font-size:12px;gap:4px;line-height:1.35;margin:8px 0 12px;padding-left:20px}.sales-support-checklist{align-items:center;background:linear-gradient(135deg,#eff6ff,#ecfdf5);border:1px solid #bfdbfe;border-radius:14px;display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px;padding:8px 10px}.sales-support-checklist span{background:#fff;border:1px solid #dbeafe;border-radius:999px;color:#1e3a8a;font-size:11px;font-weight:800;padding:5px 8px}.sales-support-checklist span:first-child{background:transparent;border:0;color:#0f172a;padding-left:0}.department-workflow-guide,.department-report-panel{border-left:4px solid #2563eb}.department-report-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:12px 0 16px}.department-report-title-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.department-report-scope-picker{align-items:center;display:flex;gap:8px}.department-report-scope-picker span{color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.department-report-scope-picker select{height:34px;min-width:180px}.department-report-card{background:#f8fafc;border:1px solid #dbe5f0;border-radius:14px;display:grid;gap:10px;padding:12px}.department-report-card.selected-scope-card{margin:10px 0 12px}.department-report-card-title{align-items:center;display:flex;gap:8px;justify-content:space-between}.department-report-card-title span{color:#0f172a;font-size:14px;font-weight:800}.department-report-counts{display:grid;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.department-report-counts span{background:#fff;border:1px solid #e2e8f0;border-radius:10px;color:#475569;font-size:11px;padding:8px}.department-report-counts strong{color:#0f172a;display:block;font-size:18px}.department-report-table .table-frame{max-height:500px}.department-report-table table{min-width:1040px;table-layout:fixed;width:100%}.department-report-table th,.department-report-table td{font-size:11px;padding:6px}.department-report-table th:nth-child(1),.department-report-table td:nth-child(1){width:120px}.department-report-table th:nth-child(2),.department-report-table td:nth-child(2){width:100px}.department-report-table th:nth-child(3),.department-report-table td:nth-child(3){width:220px}.department-report-table th:nth-child(4),.department-report-table td:nth-child(4){width:230px}.department-report-table th:nth-child(5),.department-report-table td:nth-child(5),.department-report-table th:nth-child(8),.department-report-table td:nth-child(8),.department-report-table th:nth-child(9),.department-report-table td:nth-child(9){width:120px}.department-report-table th:nth-child(6),.department-report-table td:nth-child(6){width:150px}.department-report-table th:nth-child(7),.department-report-table td:nth-child(7){width:96px}.operations-report-table{margin-bottom:14px}.operations-report-table .table-toolbar{margin-bottom:6px}.operations-report-table .table-frame{border-radius:12px;max-height:360px}.operations-report-table table{min-width:920px;table-layout:fixed;width:100%}.operations-report-table th,.operations-report-table td{font-size:11px;padding:6px}.debt-workspace{display:grid;gap:14px}.debt-title-row{background:linear-gradient(135deg,#eef7ff,#f2fbf7);border:1px solid #c7dff4;border-radius:14px;padding:12px 14px}.debt-title-row p{color:#526278;font-size:12px;margin:4px 0 0}.debt-tabs{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.debt-tabs button{align-items:center;background:#fff;border:1px solid #cfdaea;border-radius:14px;color:#172033;cursor:pointer;display:flex;justify-content:space-between;min-height:52px;padding:10px 14px;text-align:left}.debt-tabs button.active{background:linear-gradient(135deg,#e5f4ff,#effcf5);border-color:#2d77c8;box-shadow:0 8px 20px #2d77c81f}.debt-tabs span{font-size:13px;font-weight:800}.debt-tabs strong{color:#0f766e;font-size:18px}.debt-filter-bar{align-items:center;display:grid;gap:8px;grid-template-columns:160px minmax(260px,1fr) 180px auto}.debt-filter-bar select,.debt-filter-bar button{min-height:36px}.debt-table .table-frame{max-height:320px}.debt-table table{min-width:1040px}.debt-related-panel{background:#f8fbff;border:1px solid #d4e3f7;border-radius:14px;padding:12px}.inline-link-button{background:transparent;border:0;color:#075985;cursor:pointer;font-weight:800;padding:0;text-align:left}.inline-link-button:hover{color:#0f766e;text-decoration:underline}.progress-percent-cell{align-items:center;display:grid;gap:4px;min-width:90px}.progress-percent-cell>span:first-child{color:#0f172a;font-weight:800}.progress-percent-bar{background:#e2e8f0;border-radius:999px;height:6px;overflow:hidden}.progress-percent-bar span{background:linear-gradient(90deg,#22c55e,#2563eb);border-radius:inherit;display:block;height:100%}.department-workflow-guide .table-title-row{margin-bottom:12px}.department-guide-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.department-guide-card{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid #dbe5f0;border-radius:14px;display:grid;gap:8px;padding:12px}.department-guide-card-title{align-items:center;display:flex;gap:8px}.department-guide-card-title strong{color:#0f172a;font-size:14px}.department-guide-card p{color:#475569;font-size:12px;line-height:1.35;margin:0}.department-guide-card ul{color:#334155;display:grid;font-size:12px;gap:4px;line-height:1.35;margin:0;padding-left:18px}.metric-card,.login-card{background:#fff;border:1px solid #d8e0ea;border-radius:14px;box-shadow:0 10px 30px #0f172a12}.metric-card{cursor:pointer;display:grid;gap:4px;min-height:52px;padding:9px 10px;text-align:left}.metric-card.active,.metric-card:hover{border-color:#32b37b;box-shadow:0 12px 34px #32b37b2e}.metric-card span{color:#5f6f84;font-size:11px;font-weight:800}.metric-card strong{color:#0f172a;font-size:20px;letter-spacing:-.05em}.panel{border-radius:14px;box-shadow:0 10px 30px #0f172a0f;max-width:100%;min-width:0;overflow:hidden;padding:20px}.ghost-button{align-items:center;display:inline-flex;gap:8px;justify-content:center}.primary{align-items:center;display:inline-flex;justify-content:center}.detail-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:grid;gap:4px;padding:10px 12px}.detail-grid>div span{color:#64748b;font-size:12px}.detail-grid>div strong{color:#0f172a;font-size:14px}.compact-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.permission-matrix,.inline-permissions{display:grid;gap:8px}.permission-row,.inline-permission-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:grid;gap:8px;grid-template-columns:minmax(160px,1fr) repeat(3,auto);padding:8px 10px}.permission-row>span,.inline-permission-row>span{color:#334155;font-weight:800}.permission-row label,.inline-permission-row label{align-items:center;color:#475569;display:inline-flex;font-size:12px;gap:4px}.inline-permissions{min-width:420px;max-width:100%}.users-admin-page{gap:10px}.users-create-panel{display:grid;gap:8px;padding:12px}.users-create-title-row,.users-list-title-row{border-radius:12px;margin-bottom:6px;padding:9px 12px}.users-create-title-row h2,.users-list-title-row h2{font-size:18px;margin-bottom:2px}.users-create-title-row .muted-copy,.users-list-title-row .muted-copy{font-size:11px}.users-create-submit{flex:0 0 auto;min-height:34px;padding:0 16px}.users-create-grid{display:grid;gap:8px;grid-template-columns:1.05fr .9fr .9fr .72fr 1.15fr .62fr}.users-create-grid input,.users-create-grid select{font-size:12px;height:34px;padding:0 10px}.permission-details{background:#f8fafc;border:1px solid #dbe7f3;border-radius:10px;padding:7px 10px}.permission-details summary{color:#1e3a5f;cursor:pointer;font-size:12px;font-weight:900}.users-list-panel{padding:12px}.users-list-title-row .table-input{flex:0 0 190px;height:34px}.users-table .table-toolbar{margin-bottom:6px}.users-table .table-filter-hint,.users-table .table-count{font-size:11px}.users-table .table-frame{border-radius:12px;max-height:68vh}.users-table table{min-width:1040px;table-layout:fixed;width:100%}.users-table th,.users-table td{font-size:10px;line-height:1.2;padding:5px 6px;vertical-align:middle}.users-table th{font-size:9.5px}.users-table th:nth-child(1),.users-table td:nth-child(1){width:210px}.users-table th:nth-child(2),.users-table td:nth-child(2){width:150px}.users-table th:nth-child(3),.users-table td:nth-child(3){width:132px}.users-table th:nth-child(4),.users-table td:nth-child(4){width:340px}.users-table th:nth-child(5),.users-table td:nth-child(5){width:112px}.users-table th:nth-child(6),.users-table td:nth-child(6){width:96px}.user-identity,.user-role-editor,.user-actions,.user-permission-cell{align-items:center;display:flex;flex-wrap:wrap;gap:4px}.user-identity strong{color:#0f172a;font-size:11px}.user-identity span{color:#64748b;font-size:10px;overflow-wrap:anywhere}.user-role-badge,.user-active-badge,.permission-chip{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:9.5px;font-weight:900;line-height:1.15;padding:3px 7px;width:fit-content}.role-admin,.role-manager{background:#eef2ff;border-color:#c4b5fd;color:#5b21b6}.role-operator{background:#ecfdf5;border-color:#86efac;color:#047857}.role-viewer{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.user-active-badge.active{background:#dcfce7;border-color:#86efac;color:#166534}.user-active-badge.inactive{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.permission-summary{display:flex;flex-wrap:wrap;gap:3px}.module-visibility-panel{background:#f8fafc;border:1px solid #dbeafe;border-radius:10px;display:grid;gap:5px;padding:6px;width:100%}.module-visibility-title{align-items:center;display:flex;flex-wrap:wrap;gap:4px 8px;justify-content:space-between}.module-visibility-title strong{color:#0f172a;font-size:10.5px}.module-visibility-title span,.module-visibility-note{color:#64748b;font-size:9.5px}.module-visibility-grid{display:flex;flex-wrap:wrap;gap:4px}.module-toggle-chip{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:999px;color:#334155;cursor:pointer;display:inline-flex;gap:5px;min-height:23px;padding:2px 7px}.module-toggle-chip span,.module-toggle-chip strong{font-size:9.5px;line-height:1}.module-toggle-chip strong{border-radius:999px;padding:2px 5px}.module-toggle-chip.active{background:#ecfdf5;border-color:#86efac;color:#047857}.module-toggle-chip.active strong{background:#bbf7d0}.module-toggle-chip.inactive{background:#f8fafc;color:#64748b}.module-toggle-chip.inactive strong{background:#e2e8f0}.module-toggle-chip:disabled{cursor:not-allowed;opacity:.62}.permission-chip{background:#eff6ff;border-color:#bfdbfe;color:#1e40af;max-width:100%;white-space:nowrap}.permission-chip.muted{background:#f8fafc;border-color:#cbd5e1;color:#64748b}.compact-action{font-size:10px;min-height:24px;padding:0 8px}.users-table .inline-permissions{border-top:1px dashed #cbd5e1;margin-top:4px;min-width:0;padding-top:5px;width:100%}.users-table .inline-permission-row{border-radius:8px;gap:4px;grid-template-columns:minmax(92px,1fr) repeat(3,auto);padding:4px 6px}.users-table .inline-permission-row>span,.users-table .inline-permission-row label{font-size:10px}.users-table .table-input,.users-table .status-select{font-size:10px;min-height:26px;padding:0 7px}@media (max-width: 1100px){.users-create-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}.audit-quick-filters{margin-bottom:16px}.filter-chip{background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;color:#334155;cursor:pointer;font-weight:800;min-height:36px;padding:0 14px}.filter-chip.active,.filter-chip:hover{background:#e8f8f1;border-color:#7dd3aa;color:#166534}.login-card{display:grid;gap:14px;max-width:430px;padding:28px;width:100%}.login-card p{color:#64748b;line-height:1.55;margin:0}.remember-choice{align-items:center;color:#475569;display:flex;font-size:13px;gap:8px}.remember-choice input{height:16px;margin:0;width:16px}.login-link{background:transparent;border:0;color:#1f7a5a;cursor:pointer;font-size:14px;font-weight:700;padding:2px;text-align:center}.login-link:hover{color:#155b43;text-decoration:underline}.purchase-orders-panel{background:#f8fbff;border:1px solid #cfe0f5;border-radius:18px;display:grid;gap:12px;margin:12px 0 18px;padding:14px}.purchase-orders-panel h3{margin:0}.purchase-order-import-card{align-items:center;background:#fff;border:1px solid #d8e3f0;border-radius:12px;display:grid;font-size:12px;gap:8px;grid-template-columns:minmax(220px,1fr) auto minmax(210px,.8fr) auto;padding:10px 12px}.purchase-order-import-card strong{font-size:13px}.purchase-order-import-card p{font-size:11px;margin:2px 0 0}.purchase-order-import-card input[type=file]{font-size:11px}.purchase-order-import-card .ghost-button,.purchase-order-import-card .primary{font-size:12px;min-height:32px;padding:0 12px}.purchase-order-import-guide{color:#334155;font-size:12px;line-height:1.35;margin:0;padding-left:22px}.purchase-order-form{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(180px,1.4fr) minmax(120px,.8fr) minmax(160px,1fr) 132px 132px 120px minmax(140px,.9fr) auto}.purchase-order-form input,.purchase-order-form select{min-height:34px}.purchase-orders-table{font-size:10px;max-width:100%;min-width:0}.purchase-orders-table .table-frame{max-height:360px;overflow:auto}.purchase-orders-table table{min-width:1010px;table-layout:fixed;width:100%}.purchase-orders-table th,.purchase-orders-table td{font-size:10px;line-height:1.25;min-width:0;overflow-wrap:anywhere;padding:4px 5px;vertical-align:middle}.purchase-orders-table th:nth-child(1),.purchase-orders-table td:nth-child(1){width:58px;min-width:58px;max-width:58px}.purchase-orders-table th:nth-child(2),.purchase-orders-table td:nth-child(2){width:200px;min-width:200px}.purchase-orders-table th:nth-child(3),.purchase-orders-table td:nth-child(3){width:72px;min-width:72px;max-width:72px}.purchase-orders-table th:nth-child(4),.purchase-orders-table td:nth-child(4){width:74px;min-width:74px;max-width:74px}.purchase-orders-table th:nth-child(5),.purchase-orders-table td:nth-child(5){width:170px;min-width:170px}.purchase-orders-table th:nth-child(6),.purchase-orders-table td:nth-child(6){width:66px;min-width:66px;max-width:66px}.purchase-orders-table th:nth-child(7),.purchase-orders-table td:nth-child(7){width:82px;min-width:82px;max-width:82px}.purchase-orders-table th:nth-child(8),.purchase-orders-table td:nth-child(8){width:70px;min-width:70px;max-width:70px}.purchase-orders-table th:nth-child(9),.purchase-orders-table td:nth-child(9){width:78px;min-width:78px;max-width:78px}.purchase-orders-table th:nth-child(10),.purchase-orders-table td:nth-child(10){width:110px;min-width:110px}.purchase-orders-table .column-filter-input,.purchase-orders-table .table-input,.purchase-orders-table .status-select{font-size:10px;min-height:24px;padding:3px 5px;width:100%}.purchase-orders-table .link-button{font-size:10px;line-height:1.2}.import-preview-table th:nth-child(2),.import-preview-table td:nth-child(2){width:76px;min-width:76px;max-width:76px}.import-preview-table th:nth-child(4),.import-preview-table td:nth-child(4){width:92px;min-width:92px;max-width:92px}.import-preview-table th:nth-child(5),.import-preview-table td:nth-child(5){width:92px;min-width:92px;max-width:92px}.import-preview-table th:nth-child(7),.import-preview-table td:nth-child(7){width:94px;min-width:94px;max-width:94px}.import-preview-table th:nth-child(8),.import-preview-table td:nth-child(8){width:98px;min-width:98px;max-width:98px}.accounting-tracking-panel{background:#fbfcff;border:1px solid #cfdced;border-radius:18px;display:grid;gap:12px;margin:12px 0 18px;padding:14px}.accounting-tracking-panel h3{margin:0}.accounting-tabs{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.accounting-tabs button{align-items:center;background:#fff;border:1px solid #d8e3f0;border-radius:12px;color:#1e293b;cursor:pointer;display:flex;font-size:12px;font-weight:800;justify-content:space-between;min-height:36px;padding:0 12px}.accounting-tabs button.active{background:#e9f2ff;border-color:#8eb2e8;color:#1e3a8a}.accounting-tabs strong{background:#fff;border:1px solid #c7d7ee;border-radius:999px;min-width:28px;padding:2px 8px;text-align:center}.accounting-entry-form{align-items:center;display:grid;gap:8px;grid-template-columns:132px 130px 132px minmax(180px,1.1fr) repeat(3,minmax(120px,.8fr)) minmax(130px,.8fr) auto}.accounting-entry-form input,.accounting-entry-form select{font-size:12px;min-height:34px}.accounting-entry-form .primary{font-size:12px;min-height:34px;padding:0 12px}.accounting-tracking-table{font-size:12px}.accounting-tracking-table .table-frame{max-height:360px}.accounting-tracking-table th,.accounting-tracking-table td{padding:7px 8px}.compact-danger-button{font-size:11px;min-height:28px;padding:0 10px}.date-table-input{min-width:118px}.money-table-input{min-width:96px}@media (max-width: 1040px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics-grid,.workflow-timeline,.purchase-order-form{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-order-import-card{grid-template-columns:1fr 1fr}.accounting-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.task-tree-grid{grid-template-columns:1fr}.order-detail-workspace{grid-template-columns:180px minmax(0,1fr)}.order-detail-tree-copy small{display:none}}.document-extraction{min-width:190px;position:relative}.document-extraction>summary{align-items:center;background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;color:#1d4ed8;cursor:pointer;display:flex;flex-wrap:wrap;font-weight:700;gap:4px 10px;justify-content:space-between;list-style:none;padding:7px 9px}.document-extraction>summary::-webkit-details-marker{display:none}.document-extraction>summary:after{content:"›";font-size:16px;margin-left:auto;transform:rotate(90deg)}.document-extraction[open]>summary:after{transform:rotate(-90deg)}.document-extraction>summary small{color:#64748b;font-size:10px;font-weight:600}.document-extraction-needs_ocr>summary,.document-extraction-failed>summary{background:#fff7ed;border-color:#fdba74;color:#c2410c}.document-extraction-content{background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 30px #0f172a2e;margin-top:6px;max-width:min(520px,75vw);min-width:360px;padding:12px;position:absolute;right:0;text-align:left;z-index:30}.document-extraction-fields{display:grid;gap:7px;margin:0}.document-extraction-fields>div{border-bottom:1px solid #e2e8f0;display:grid;gap:8px;grid-template-columns:140px minmax(0,1fr);padding-bottom:7px}.document-extraction-fields dt{color:#64748b;font-size:11px;font-weight:700}.document-extraction-fields dd{color:#0f172a;font-size:12px;font-weight:700;margin:0;overflow-wrap:anywhere}.document-extraction-warning{background:#fff7ed;border-radius:7px;color:#9a3412;font-size:11px;margin:8px 0 0;padding:8px}.document-text-preview{margin-top:9px}.document-text-preview>summary{color:#1d4ed8;cursor:pointer;font-size:11px;font-weight:700}.document-text-preview pre{background:#f8fafc;border-radius:7px;color:#334155;font-family:inherit;font-size:11px;line-height:1.45;margin:8px 0 0;max-height:260px;overflow:auto;padding:9px;white-space:pre-wrap}.document-extraction-empty{color:#64748b;font-size:11px;white-space:nowrap}@media (max-width: 720px){.app-shell>main{padding:16px}.topbar,.table-title-row{align-items:stretch;display:grid}.topbar-actions{justify-content:flex-start}.sidebar nav,.metrics-grid,.workflow-summary-grid,.workflow-timeline{grid-template-columns:1fr}.workflow-summary-chip{flex-basis:100%}.purchase-order-form,.purchase-order-import-card,.accounting-tabs,.accounting-entry-form,.compact-tree-summary,.order-detail-workspace{grid-template-columns:1fr}.order-detail-tree{position:static}.order-detail-tree-heading{display:none}.order-detail-tree-list{grid-template-columns:repeat(5,minmax(145px,1fr));overflow-x:auto;padding-bottom:3px}.order-detail-tree-list:before{display:none}.order-detail-tree-copy small{display:none}.department-task-tree summary{align-items:flex-start;display:grid}.department-task-tree summary em{text-align:left}}
