:root{font-family:Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif;color:#18201f;background:#eef1ef;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0;--ink: #18201f;--muted: #66716e;--subtle: #89928f;--line: #d5dbd8;--line-strong: #b6c0bc;--surface: #ffffff;--surface-soft: #f5f7f6;--surface-raised: #fbfcfb;--canvas: #eef1ef;--canvas-deep: #e5ebe8;--brand: #23675d;--brand-strong: #174a43;--brand-soft: #e2efeb;--info: #346b8c;--info-soft: #e5eef4;--warning: #a86513;--warning-soft: #fff0d5;--danger: #a43e34;--danger-soft: #f9e7e4;--sidebar: #172321;--sidebar-muted: #aab8b4;--shadow-dialog: 0 24px 64px rgb(13 26 23 / 24%);--shadow-panel: 0 7px 18px rgb(24 42 36 / 7%);--ink-muted: var(--muted);--border: var(--line);--accent: var(--brand);--radius: 6px;--sidebar-width: 248px;--topbar-height: 62px}.warehouse-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.warehouse-switcher button{display:inline-flex;align-items:center;min-width:150px;gap:9px;padding:10px 12px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:6px;text-align:left}.warehouse-switcher button.active{color:var(--ink);background:var(--surface-soft);border-color:var(--brand);box-shadow:inset 3px 0 0 var(--brand)}.warehouse-switcher svg{width:18px;height:18px;flex:0 0 auto}.warehouse-switcher span{display:grid;gap:2px}.warehouse-switcher small{font-size:11px;color:var(--muted)}.warehouse-related-link{margin-top:12px}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);line-height:1.45}button,input,select,textarea{font:inherit;letter-spacing:0}button,a,input,select{outline:none}:focus-visible{outline:3px solid rgb(52 107 140 / 35%);outline-offset:2px}a{color:var(--brand);text-decoration:none}a:hover{color:var(--brand-strong)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}.app-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;width:var(--sidebar-width);flex-direction:column;background:var(--sidebar);color:#f2f6f4;border-right:1px solid #2c403b;box-shadow:10px 0 28px #0d1b1714}.brand{display:flex;align-items:center;height:var(--topbar-height);padding:0 20px;gap:12px;border-bottom:1px solid #2c403b}.brand-mark{display:grid;width:34px;height:34px;place-items:center;color:#bde3d8;background:#28584f;border:1px solid #3d776d;border-radius:8px}.brand-mark svg{width:19px;height:19px}.brand div{min-width:0}.brand strong,.brand span{display:block;white-space:nowrap}.brand strong{font-size:16px}.brand div>span{margin-top:2px;color:var(--sidebar-muted);font-size:11px}.sidebar nav{display:flex;flex:1;flex-direction:column;gap:4px;padding:14px 12px;overflow-y:auto}.sidebar-nav-group{display:grid;gap:3px}.sidebar-nav-group+.sidebar-nav-group{margin-top:12px;padding-top:10px;border-top:1px solid rgb(119 152 144 / 18%)}.sidebar-nav-group-label{padding:0 12px 4px;color:#829b94;font-size:10px;font-weight:700;letter-spacing:0;text-transform:uppercase}.sidebar nav a{display:flex;min-height:42px;align-items:center;gap:11px;padding:0 12px;color:var(--sidebar-muted);border-radius:6px;font-size:13px;font-weight:600}.sidebar nav a svg{width:18px;height:18px}.sidebar nav a:hover{color:#fff;background:#21312e}.sidebar nav a.active{color:#fff;background:#28584f;box-shadow:inset 3px 0 #83c8b8,0 5px 14px #0000001f}.sidebar-foot{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;color:var(--sidebar-muted);border-top:1px solid #30423e;font-size:11px}.sidebar-foot svg{width:15px;height:15px}.workspace{grid-column:2;min-width:0}.mobile-tabbar,.mobile-nav-backdrop{display:none}.topbar{position:sticky;top:0;z-index:15;display:flex;height:var(--topbar-height);align-items:center;justify-content:space-between;padding:0 30px;background:#fffffff7;border-bottom:1px solid var(--line)}.environment{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.health-dot{width:8px;height:8px;background:#2f8677;border-radius:50%;box-shadow:0 0 0 3px var(--brand-soft)}.operator-control{display:flex;min-height:38px;align-items:center;gap:8px;padding:2px 4px 2px 8px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;font-size:12px}.operator-control svg{width:16px;height:16px}.operator-control input{width:84px;height:32px;padding:0 9px;color:var(--ink);background:var(--surface);border:0;border-left:1px solid var(--line);border-radius:0 var(--radius) var(--radius) 0;font-weight:700}main{width:min(100%,1600px);margin:0 auto;padding:28px 30px 54px}.page-header{display:flex;min-height:64px;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.page-header h1{margin:0;color:var(--ink);font-size:26px;line-height:1.3}.page-header p{margin:5px 0 0;color:var(--muted);font-size:13px}.page-actions{display:flex;flex-wrap:wrap;gap:8px}.button,.icon-button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:var(--radius);font-weight:650}.button{min-height:36px;gap:7px;padding:0 14px;border:1px solid transparent;font-size:13px}.button svg{width:16px;height:16px}.button-primary{color:#fff;background:var(--brand);border-color:var(--brand)}.button-primary:hover{color:#fff;background:var(--brand-strong);border-color:var(--brand-strong)}.button-secondary{color:var(--ink);background:var(--surface);border-color:var(--line-strong)}.button-secondary:hover{color:var(--brand-strong);background:var(--brand-soft);border-color:#83aa9f}.button-small{min-height:30px;padding:0 10px;font-size:12px}.icon-button{width:36px;height:36px;padding:0;color:var(--muted);background:var(--surface);border:1px solid var(--line-strong)}.icon-button:hover{color:var(--brand);background:var(--brand-soft)}.icon-button svg{width:17px;height:17px}.icon-button.danger:hover{color:var(--danger);background:var(--danger-soft);border-color:#d9a39d}.icon-button.success:hover{color:var(--brand-strong);background:var(--brand-soft);border-color:#83aa9f}.icon-button.compact{width:30px;height:30px}.action-pair{display:flex;justify-content:flex-end;gap:5px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:22px;overflow:hidden;background:var(--line);border:1px solid var(--line)}.metric{position:relative;display:grid;min-height:132px;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:4px 16px;padding:20px;background:var(--surface)}.metric>div span,.metric small{color:var(--muted);font-size:12px}.metric strong{display:block;margin-top:3px;font-size:30px;line-height:1.15}.metric>svg{width:25px;height:25px;color:var(--brand)}.metric small{grid-column:1 / -1}.metric-active>svg{color:var(--info)}.metric-warning>svg{color:var(--warning)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:20px}.section-block{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 1px 2px #13231e0a}.process-card-picker,.process-card-editor{margin-bottom:16px}.process-card-picker>.field{max-width:720px;padding:16px 18px 8px}.process-card-selection{display:flex;min-height:44px;align-items:center;gap:10px;margin:0 18px 16px;padding:10px 12px;color:var(--ink);background:var(--brand-soft);border-left:3px solid var(--brand)}.process-card-selection strong{font-size:13px}.process-card-selection span{color:var(--muted);font-size:12px}.process-card-product-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 16px}.process-card-product-results>button{display:flex;min-height:66px;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:var(--ink);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:6px}.process-card-product-results>button:hover,.process-card-product-results>button.selected{background:var(--brand-soft);border-color:#92bfb4}.process-card-product-results>button>div{display:grid;min-width:0;gap:4px}.process-card-product-results strong,.process-card-product-results span,.process-card-product-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.process-card-product-results strong{font-size:13px}.process-card-product-results span,.process-card-product-results small{color:var(--muted);font-size:11px}.process-card-product-results>p{grid-column:1 / -1;margin:4px 0;color:var(--muted);font-size:12px}.process-card-mode{display:flex;gap:8px;padding:16px 18px 0}.process-card-mode .button{min-width:160px}.process-card-ai-action{display:flex;align-items:center;gap:10px;padding:14px 18px 0}.process-card-ai-action span{color:var(--muted);font-size:12px}.process-card-ai-note{display:flex;align-items:flex-start;gap:8px;margin:14px 18px 0;padding:10px 12px;font-size:12px}.process-card-ai-note svg{width:17px;min-width:17px;height:17px}.process-card-editor form>.field{max-width:520px;padding:16px 18px 0}.process-card-basics{padding:16px 18px 0}.process-card-operations{margin:18px 18px 0;padding-top:16px;border-top:1px solid var(--line)}.process-card-operations h3{margin:0;color:var(--ink);font-size:14px}.process-card-operations p{margin:4px 0 14px;color:var(--muted);font-size:12px}.process-parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.process-operation-image{display:grid;align-content:start;gap:8px}.process-operation-image-list,.worker-process-images{display:flex;flex-wrap:wrap;gap:8px}.process-operation-image-list>span{position:relative;display:block}.process-operation-image-list img,.worker-process-images img{display:block;width:104px;height:78px;object-fit:cover;background:var(--surface-soft);border:1px solid var(--line-strong);border-radius:4px}.process-operation-image-list .icon-button{position:absolute;top:4px;right:4px;width:22px;height:22px;min-height:22px;padding:0;color:var(--danger);background:#ffffffeb}.worker-process-images a:focus-visible{outline:3px solid rgb(52 107 140 / 35%);outline-offset:2px}.task-shell-line{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:500}.process-card-editor .form-actions{margin:18px 18px 0}.document-workspace{display:grid;grid-template-columns:minmax(270px,.7fr) minmax(0,1.3fr);min-height:520px}.document-controls{display:grid;align-content:start;gap:16px;padding:20px;background:var(--surface-soft);border-right:1px solid var(--line)}.document-control-heading{display:flex;align-items:flex-start;gap:10px}.document-control-heading>svg{width:20px;height:20px;color:var(--brand)}.document-control-heading h2,.document-preview h2{margin:0;font-size:17px}.document-control-heading p,.document-preview header p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.document-scope-note{margin:0;padding:10px 12px;border-left:3px solid var(--brand);background:var(--brand-soft);color:var(--ink);font-size:12px;line-height:1.5}.document-field-list{display:grid;gap:1px;margin:0;padding:0;overflow:hidden;border:1px solid var(--line)}.document-field-list legend{padding:8px 10px;color:var(--subtle);font-size:11px;font-weight:700}.document-field-choice{display:flex;min-height:38px;align-items:center;gap:8px;padding:8px 10px;background:var(--surface);border-top:1px solid var(--line);font-size:12px}.document-field-choice input{width:15px;height:15px}.document-field-choice small{margin-left:auto;padding:2px 5px;color:#a34b00;background:#fff4df;font-size:10px;font-weight:700}.document-sensitive-note{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:10px;color:#8b4200;background:#fff6e7;border-left:3px solid #d97706;font-size:12px;line-height:1.55}.document-sensitive-note svg{width:16px;height:16px}.document-output{display:grid;align-content:space-between;gap:18px;padding:24px}.document-preview{min-height:340px;border:1px solid var(--line-strong)}.document-preview header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:2px solid var(--brand)}.document-preview dl{display:grid;grid-template-columns:minmax(120px,.28fr) minmax(0,1fr);margin:0}.document-preview dl>div{display:contents}.document-preview dt,.document-preview dd{min-height:42px;margin:0;padding:10px 14px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.55;white-space:pre-line}.process-card-print-image{display:block;width:min(100%,420px);max-height:320px;object-fit:contain;border:1px solid var(--border)}.trace-order-candidates{margin:0 0 20px;border:1px solid var(--border);background:var(--surface)}.trace-order-candidates>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--border)}.trace-order-candidates h2,.trace-order-candidates p{margin:0}.trace-order-candidates h2{font-size:16px}.trace-order-candidates p{color:var(--text-muted);font-size:13px;margin-top:3px}.trace-order-candidates>header>span{color:var(--text-muted);font-size:13px;white-space:nowrap}.trace-order-candidate-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.trace-order-candidate-list button{min-height:102px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;text-align:left;background:transparent;border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:inherit;cursor:pointer}.trace-order-candidate-list button.order-row-urgent{background:#fff0ee;box-shadow:inset 3px 0 #d65c52}.trace-order-candidate-list button.order-row-released{background:#edf8f1;box-shadow:inset 3px 0 #388a67}.trace-order-candidate-list button.order-row-completed{background:#eef6ff;box-shadow:inset 3px 0 #4b83b5}.trace-order-candidate-list button:hover{filter:brightness(.985)}.trace-order-candidate-list button.active{outline:2px solid var(--brand);outline-offset:-2px}.trace-order-candidate-list button>div{display:grid;gap:4px;min-width:0}.trace-order-candidate-list strong{color:var(--text-strong)}.trace-order-candidate-list span,.trace-order-candidate-list small{color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trace-order-candidate-status{flex:0 0 auto;display:grid;justify-items:end;gap:5px}.model-image-button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.model-image-button img{width:100%;height:100%;object-fit:cover}.image-preview-dialog{min-height:360px;max-height:72vh;display:grid;place-items:center;overflow:auto;background:var(--surface-muted)}.image-preview-dialog img{display:block;max-width:100%;max-height:70vh;object-fit:contain}.document-preview dt{color:var(--subtle);background:var(--surface-soft);font-weight:700}.document-actions{display:flex;justify-content:flex-end;gap:8px}.workshop-job-sheet,.flow-card{min-height:620px;border:1px solid #31594f;background:#fff;color:#17231f}.job-sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 12px;border-bottom:2px solid #31594f}.job-sheet-header h2{margin:2px 0;font-size:24px;letter-spacing:0}.job-sheet-header p{margin:0;font-size:12px}.job-sheet-qr{display:grid;width:116px;justify-items:center;gap:3px;font-size:10px}.job-sheet-qr img{display:block;width:108px;height:108px}.job-sheet-identification{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #31594f}.job-sheet-identification>div{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:40px;border-right:1px solid #31594f;border-bottom:1px solid #31594f}.job-sheet-identification>div:nth-last-child(-n+2){border-bottom:0}.job-sheet-identification span,.job-sheet-identification strong{padding:9px 10px;font-size:12px;line-height:1.45}.job-sheet-identification span{background:#edf3f0;border-right:1px solid #31594f;font-weight:700}.job-sheet-identification strong{overflow-wrap:anywhere}.job-sheet-requirements{padding:12px 14px;border-bottom:1px solid #31594f}.job-sheet-requirements h3{margin:0 0 6px;font-size:13px}.job-sheet-requirements p{min-height:48px;margin:0;font-size:12px;line-height:1.65;white-space:pre-line}.job-sheet-log{width:100%;border-collapse:collapse}.job-sheet-log th,.job-sheet-log td{height:42px;padding:7px;border:1px solid #31594f;font-size:11px;text-align:center}.job-sheet-log th{background:#edf3f0}.workshop-job-sheet footer{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;font-size:11px}.flow-card footer{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;font-size:11px}.flow-card-log{padding:14px}.flow-card-log h3{margin:0 0 4px;font-size:14px}.flow-card-log>div>p,.flow-card-empty{margin:0 0 10px;color:#47554f;font-size:11px;line-height:1.5}.flow-card-log table{width:100%;border-collapse:collapse;table-layout:fixed}.flow-card-log th,.flow-card-log td{min-height:46px;padding:6px;border:1px solid #31594f;font-size:10px;line-height:1.35;text-align:center;vertical-align:middle;overflow-wrap:anywhere}.flow-card-log th{background:#edf3f0;font-weight:700}.flow-card-log th:nth-child(1){width:5%}.flow-card-log th:nth-child(2){width:12%}.flow-card-log th:nth-child(3){width:11%}.flow-card-log th:nth-child(4),.flow-card-log th:nth-child(5){width:8%}.flow-card-log th:nth-child(6){width:22%}.flow-card-log th:nth-child(7){width:20%}.flow-card-log th:nth-child(8){width:14%}.flow-card-log td small{display:block;margin-top:2px;color:#59665f;font-size:9px}.flow-card-log .flow-card-handwrite,.flow-card-log .flow-card-signature{height:46px}.checkbox-stack{display:grid;gap:6px}.checkbox-stack label{display:flex;align-items:center;gap:7px;min-height:30px;font-size:13px}.checkbox-stack small{color:#66756d;font-size:11px}.order-row-urgent td{background:#fff0ee}.order-row-released td{background:#edf8f1}.order-row-completed td{background:#eef6ff}.order-status-cell{display:grid;gap:4px;justify-items:start}.order-status-cell>span{font-size:11px;font-weight:700}.document-audit-section{margin-top:20px}.section-heading{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line)}.section-heading h2,.line-editor h3{margin:0;font-size:15px}.section-heading p,.line-editor header p{margin:3px 0 0;color:var(--muted);font-size:11px}.section-heading>a{font-size:12px;font-weight:650}.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{height:45px;padding:8px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #e5e9e7}th{height:38px;color:#5f6966;background:var(--surface-soft);font-size:11px;font-weight:700;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f8faf9}td strong,td small{display:block}td small{margin-top:3px;color:var(--muted);font-size:10px}.primary-cell{color:#1b4f48;font-weight:700}.actions-cell{width:118px;text-align:right;white-space:nowrap}.actions-cell .button{margin-left:auto}.order-document-actions{display:grid;grid-template-columns:repeat(2,max-content);justify-content:end;gap:6px 12px;margin:0 0 8px auto}.order-document-actions .text-link{min-height:24px;align-content:center}.line-summary{display:block;min-width:190px}.line-summary+.line-summary{margin-top:3px}.status-badge{display:inline-flex;min-height:22px;align-items:center;padding:1px 7px;color:#40504c;background:#edf1ef;border:1px solid #d6ddda;border-radius:3px;font-size:10px;font-weight:750;white-space:nowrap}.status-approved,.status-assigned{color:#285a77;background:var(--info-soft);border-color:#bed2df}.status-released,.status-completed,.status-passed,.status-active,.status-available,.status-confirmed,.status-receipt,.status-received,.status-closed,.status-published,.status-read,.status-succeeded{color:#1b5c51;background:var(--brand-soft);border-color:#b6d8ce}.status-in_progress{color:#75480f;background:var(--warning-soft);border-color:#e7c48b}.status-urgent,.status-rejected,.status-issue,.status-adjustment_out,.status-cancelled,.status-exhausted,.status-unread,.status-failed{color:#84372f;background:var(--danger-soft);border-color:#e1b5b0}.status-sent,.status-candidate,.status-adjustment_in,.status-pending,.status-processing,.status-retrying,.status-occupied{color:#285a77;background:var(--info-soft);border-color:#bed2df}.status-inactive,.status-rolled_back{color:#5f6966;background:#edf1ef;border-color:#d6ddda}.management-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ops-metric-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:14px;background:var(--line);border:1px solid var(--line);gap:1px}.ops-metric-strip>div{display:grid;min-height:72px;align-content:center;padding:12px 15px;background:var(--surface)}.ops-metric-strip span{color:var(--muted);font-size:11px}.ops-metric-strip strong{margin-top:3px;font-size:22px}.chart-panel{min-height:348px}.chart-wide{grid-column:1 / -1}.chart-canvas{width:100%;min-width:0;padding:4px 8px 8px}.risk-panel{align-self:stretch}.risk-list{display:grid}.risk-list a{display:grid;min-height:50px;grid-template-columns:10px minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:0 16px;color:var(--ink);border-bottom:1px solid #e5e9e7}.risk-list a:last-child{border-bottom:0}.risk-list a:hover{background:var(--surface-soft)}.risk-list svg{width:15px;height:15px;color:var(--muted)}.risk-dot{width:8px;height:8px;background:var(--info);border-radius:50%}.risk-warning{background:var(--warning)}.risk-critical{background:var(--danger)}.compact-empty{display:grid;min-height:180px;place-items:center;color:var(--muted);font-size:12px}.distribution-list{display:grid;padding:10px 16px 14px}.distribution-list>div{display:grid;min-height:48px;grid-template-columns:78px minmax(80px,1fr) 30px;align-items:center;gap:12px;border-bottom:1px solid #e8ecea}.distribution-list>div:last-child{border-bottom:0}.progress-track{height:5px;overflow:hidden;background:#dde3e0;border-radius:3px}.progress-track span{display:block;height:100%;background:var(--brand)}.inline-progress{display:grid;min-width:120px;grid-template-columns:minmax(64px,1fr) auto;align-items:center;gap:8px}.inline-progress>span{color:var(--muted);font-size:10px}.state-block{display:flex;min-height:220px;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:13px}.state-block svg{width:20px;height:20px}.empty-state{flex-direction:column;padding:28px;text-align:center}.empty-state>svg{width:28px;height:28px;color:var(--subtle)}.empty-state strong{color:var(--ink);font-size:14px}.empty-state span{max-width:380px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-notice,.info-notice{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:11px 12px;font-size:12px}.error-notice{color:#762f28;background:var(--danger-soft);border:1px solid #deb1ab}.error-notice>svg{width:18px;height:18px;flex:0 0 auto}.error-notice>div{flex:1}.error-notice strong{display:block}.error-notice p{margin:3px 0 0}.info-notice{color:#315b73;background:var(--info-soft);border:1px solid #bfd2df}.info-notice a{margin-left:6px;font-weight:700}.split-section{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(520px,1.25fr);margin-bottom:22px;background:var(--surface);border:1px solid var(--line)}.editor-pane{border-right:1px solid var(--line)}.compact-form{padding:16px}.compact-form>.button{margin-top:15px}.stacked-form+.stacked-form{border-top:1px solid var(--line)}.stacked-form h3{margin:0 0 12px;font-size:13px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-readonly{display:grid;grid-column:1 / -1;gap:4px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.field-readonly strong{color:var(--ink);font-size:13px}.field-readonly span{color:var(--subtle);font-size:12px}.field-readonly small{color:var(--muted);font-size:11px}.engineering-line-card{min-inline-size:0;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:6px}.engineering-line-card legend{padding:0 6px;color:var(--ink);font-weight:700}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.order-intake-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.order-intake-wide{grid-column:span 3}.field-inline-control{display:flex;min-width:0;gap:6px}.field-inline-control input{flex:1}.field{display:flex;min-width:0;flex-direction:column;gap:6px;color:#46514e;font-size:11px;font-weight:650}.field b{color:var(--danger)}.field input,.field select,.field textarea,.trace-search select{width:100%;min-width:0;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);font-size:13px}.field input,.field select,.trace-search select{height:36px;padding:0 10px}.field textarea{min-height:76px;padding:9px 10px;resize:vertical}.field input:hover,.field select:hover,.field textarea:hover,.trace-search select:hover{border-color:#7f918c}.field input:focus,.field select:focus,.field textarea:focus,.trace-search select:focus{border-color:var(--info);box-shadow:0 0 0 3px #346b8c24}.field small{color:var(--muted);font-size:10px;font-weight:400}.check-control{display:flex;min-height:40px;align-items:center;gap:9px;color:var(--ink);font-size:13px}.check-control input{width:16px;height:16px;accent-color:var(--brand)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#0c171494}.modal{width:100%;max-height:calc(100vh - 40px);overflow:auto;background:var(--surface);border:1px solid #71817c;border-radius:6px;box-shadow:var(--shadow-dialog)}.modal-small{max-width:440px}.modal-medium{max-width:660px}.modal-large{max-width:940px}.modal-header{position:sticky;top:0;z-index:2;display:flex;min-height:68px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--line)}.modal-header h2{margin:0;font-size:17px}.modal-header p{margin:4px 0 0;color:var(--muted);font-size:11px}.modal-body{padding:18px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin:20px -18px -18px;padding:12px 18px;background:var(--surface-soft);border-top:1px solid var(--line)}.line-editor{margin-top:18px;border-top:1px solid var(--line)}.line-editor>header{display:flex;min-height:58px;align-items:center;justify-content:space-between}.line-editor-row{display:grid;grid-template-columns:30px minmax(260px,2fr) 92px 76px minmax(104px,.72fr) minmax(118px,.82fr) 104px 36px;align-items:end;gap:10px;padding:14px 12px 12px;background:var(--surface-soft);border-top:1px solid var(--line)}.line-editor-row>.line-number{grid-column:1}.line-editor-row>.field:nth-of-type(1){grid-column:2}.line-editor-row>.order-model-preview{grid-column:3}.line-editor-row>.field:nth-of-type(2){grid-column:4}.line-editor-row>.field:nth-of-type(3){grid-column:5}.line-editor-row>.field:nth-of-type(4){grid-column:6}.line-editor-row>.field:nth-of-type(5){grid-column:7}.line-editor-row>.icon-button{grid-column:8}.line-mold-plan{grid-column:2 / 8;display:grid;grid-template-columns:minmax(180px,.75fr) minmax(300px,2fr);gap:12px;padding:12px;border-top:1px solid #d7e1de;background:#f5f8f7}.mold-match-panel{grid-column:1 / -1;padding:10px;border:1px solid #c8ddd5;background:#edf7f2}.mold-match-heading{display:flex;align-items:baseline;gap:10px;color:#205b4a;font-size:13px}.mold-match-heading span,.mold-match-choice span{color:var(--muted)}.mold-match-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:8px}.mold-match-choice{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;color:var(--text);text-align:left;background:#fff;border:1px solid #bad4ca;border-radius:4px}.mold-match-choice:hover,.mold-match-choice.is-selected{border-color:#23765f;background:#e2f2eb}.mold-match-choice div{display:grid;gap:3px}.mold-match-choice small{flex:0 0 auto;color:#23765f}.relationship-entry{display:flex;align-items:center;justify-content:space-between;gap:18px}.relationship-entry h2{margin:0;font-size:17px}.relationship-entry p{margin:5px 0 0;color:var(--muted)}.relationship-manager{border-top:3px solid #23765f}.relationship-history{border-top:3px solid #2f6f91}.relationship-history .section-heading p{max-width:760px}.relationship-form-grid{grid-template-columns:repeat(4,minmax(170px,1fr))}.relationship-filter{grid-template-columns:minmax(150px,.4fr) minmax(280px,1fr);margin-bottom:14px}.relation-product-cell{display:flex;min-width:260px;align-items:center;gap:9px}.relation-product-cell img,.relation-no-image{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border:1px solid var(--line);background:var(--surface-soft)}.relation-no-image{display:grid;place-items:center;color:var(--muted);font-size:11px}.warehouse-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-bottom:16px}.warehouse-overview-grid>div{min-height:118px}.warehouse-callout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.warehouse-export-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--line);background:var(--surface)}.warehouse-export-panel>div:first-child{display:grid;gap:4px}.warehouse-export-panel small{color:var(--muted)}.warehouse-callout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:86px;padding:16px;border:1px solid var(--line);background:var(--surface)}.warehouse-callout>svg{width:22px;height:22px;color:var(--brand-strong)}.warehouse-callout>div{display:grid;gap:4px;min-width:0}.warehouse-callout small{color:var(--muted);line-height:1.45}.warehouse-callout.attention{border-color:#d7a84c;background:#fff9e9}.warehouse-callout.attention>svg{color:#9a6700}.warehouse-callout.danger{border-color:#d99a96;background:#fff4f2}.warehouse-callout.danger>svg{color:#b33f3a}.warehouse-action-grid button{display:grid;min-height:78px;align-content:start;gap:5px;padding:12px;color:var(--text);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:6px}.warehouse-action-grid button:hover,.warehouse-action-grid button.active{border-color:#23765f;background:#edf7f2}.warehouse-action-grid small{color:var(--muted);line-height:1.45}.warehouse-filter-bar{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(2,minmax(130px,.72fr)) auto;align-items:end;gap:10px;padding:14px 16px;background:var(--surface-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.warehouse-filter-bar-wide{grid-template-columns:minmax(220px,1.7fr) repeat(4,minmax(130px,.72fr)) auto}.warehouse-filter-bar .field{min-width:0}.warehouse-filter-clear{min-height:40px;white-space:nowrap}.notification-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.notification-summary>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 9px;min-height:76px;padding:13px 16px;border-right:1px solid var(--line)}.notification-summary>div:last-child{border-right:0}.notification-summary svg{grid-row:span 2;color:var(--brand)}.notification-summary span,.notification-summary strong{display:block}.notification-summary span{color:var(--muted);font-size:12px}.notification-summary strong{font-size:25px;color:var(--ink)}.notification-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.notification-toolbar .field{min-width:160px}.notification-list{display:grid;gap:8px}.notification-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.notification-item.unread{border-left:4px solid var(--brand);background:var(--surface-soft)}.notification-item-main{min-width:0;display:grid;gap:5px}.notification-item-main>div{display:flex;align-items:center;gap:8px}.notification-item-main strong{color:var(--ink)}.notification-item-main p{margin:0;color:var(--ink-soft);line-height:1.55}.notification-item-main small{color:var(--muted)}.notification-category{color:var(--muted);font-size:12px}.notification-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}@media (max-width: 760px){.notification-summary{grid-template-columns:1fr}.notification-summary>div,.notification-summary>div:last-child{border-right:0;border-bottom:1px solid var(--line)}.notification-summary>div:last-child{border-bottom:0}.notification-toolbar{align-items:stretch;flex-direction:column}.notification-toolbar .field{min-width:0}.notification-item{align-items:flex-start;flex-direction:column}.notification-actions{width:100%;justify-content:flex-end}}.order-model-preview{display:grid;width:92px;height:54px;place-items:center;overflow:hidden;color:var(--muted);object-fit:cover;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft)}.order-model-preview img,.product-model-thumb{width:100%;height:100%;object-fit:cover}.product-picker-thumb{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-size:11px}.product-picker-thumb img,.product-model-preview-large{width:100%;height:100%;object-fit:contain;background:#fff}.product-model-preview-large{max-width:320px;height:220px;border:1px solid var(--line)}.product-model-thumb{width:56px;height:42px;border:1px solid var(--line);border-radius:4px}.order-model-preview span{font-size:11px}.line-number{display:grid;width:24px;height:36px;place-items:center;color:var(--muted);font-size:12px;font-weight:700}.task-order-remark{max-width:260px;overflow:hidden;color:#76551f;text-overflow:ellipsis;white-space:nowrap}.dispatch-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:16px}.dispatch-stepper span{border-bottom:2px solid var(--border-subtle);color:var(--text-muted);font-size:13px;padding:6px 2px}.dispatch-stepper span.active{border-color:var(--accent);color:var(--text-primary);font-weight:700}.dispatch-task-summary{display:grid;gap:8px;border:1px solid var(--border-subtle);padding:14px;margin-bottom:14px;background:var(--surface-muted)}.dispatch-task-summary span,.dispatch-task-summary small{color:var(--text-muted)}.dispatch-advanced{grid-column:1 / -1;margin-top:2px}.dispatch-advanced summary{color:var(--text-muted);cursor:pointer;font-size:13px;padding:8px 0}.filter-bar{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:8px;background:var(--surface);border:1px solid var(--line)}.segmented-control{display:inline-flex;overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--radius)}.segmented-control button{min-width:72px;height:32px;padding:0 11px;color:var(--muted);background:var(--surface);border:0;border-right:1px solid var(--line-strong);font-size:11px;font-weight:650}.segmented-control button:last-child{border-right:0}.segmented-control button.active{color:#fff;background:var(--brand)}.toggle-control{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:650}.toggle-control input{position:absolute;opacity:0}.toggle-control>span{position:relative;width:34px;height:19px;background:#c8d0cd;border-radius:10px}.toggle-control>span:after{position:absolute;top:3px;left:3px;width:13px;height:13px;content:"";background:#fff;border-radius:50%;transition:transform .14s ease}.toggle-control input:checked+span{background:var(--brand)}.toggle-control input:checked+span:after{transform:translate(15px)}.toggle-control input:focus-visible+span{outline:3px solid rgb(52 107 140 / 35%);outline-offset:2px}.quantity-cell{white-space:nowrap}.operator-summary{margin-top:14px;padding:10px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);font-size:12px}.operator-summary strong{color:var(--ink)}.text-link{font-size:12px;font-weight:700}.muted{color:var(--muted);font-size:11px}.trace-search{display:grid;grid-template-columns:22px minmax(260px,560px);align-items:end;gap:10px;margin-bottom:18px;padding:14px 16px;background:var(--surface);border:1px solid var(--line)}.trace-search.trace-search-detailed{grid-template-columns:22px minmax(180px,260px) minmax(220px,320px) minmax(260px,1fr)}.trace-search input{width:100%;min-width:0;height:36px;padding:0 10px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:5px}.trace-search input:hover{border-color:#7f918c}.trace-search input:focus{border-color:var(--info);box-shadow:0 0 0 3px #346b8c24}.trace-search>svg{width:18px;height:36px;color:var(--muted)}.trace-search label span{display:block;margin-bottom:6px;color:var(--muted);font-size:11px;font-weight:650}.trace-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:18px}.trace-order-header{display:flex;min-height:90px;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid var(--line)}.trace-order-header span:first-child{color:var(--muted);font-size:10px;font-weight:700}.trace-order-header h2{margin:3px 0;font-size:18px}.trace-order-header p{margin:0;color:var(--muted);font-size:11px}.product-trace-tree{display:grid;gap:14px;padding:14px}.product-trace-branch{overflow:hidden;border:1px solid var(--line);border-radius:6px}.product-trace-branch>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:var(--surface-soft);border-bottom:1px solid var(--line)}.product-trace-branch>header span,.product-trace-branch>header p,.product-trace-progress small{display:block;margin:0;color:var(--muted);font-size:11px}.product-trace-branch>header span{color:var(--brand);font-weight:700}.product-trace-branch h3{margin:3px 0;font-size:16px}.product-trace-progress{display:grid;justify-items:end;gap:2px}.product-trace-progress strong{color:var(--brand-strong);font-size:18px}.product-trace-empty{margin:0;padding:16px;color:var(--muted);font-size:12px}.route-list details+details{border-top:4px solid var(--canvas)}.route-list summary{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;cursor:pointer;background:#fbfcfb;border-bottom:1px solid var(--line);list-style:none}.route-list summary::-webkit-details-marker{display:none}.route-list summary:hover{background:var(--brand-soft)}.route-list summary>div{display:grid;gap:3px}.route-list summary span{color:var(--muted);font-size:10px}.route-list article+article{border-top:4px solid var(--canvas)}.route-list article>header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:var(--surface-soft);border-bottom:1px solid var(--line);font-size:12px}.route-list article>header strong,.route-list article>header span{display:block}.route-list article>header div span{margin-top:3px;color:var(--muted);font-size:10px}.route-list ol,.timeline{margin:0;padding:0;list-style:none}.route-step{display:grid;min-height:58px;grid-template-columns:30px minmax(150px,1fr) minmax(130px,auto) 78px;align-items:center;gap:10px;padding:8px 16px;border-bottom:1px solid #e6eae8}.route-step:last-child{border-bottom:0}.step-index{display:grid;width:26px;height:26px;place-items:center;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:50%;font-size:10px;font-weight:750}.route-completed .step-index{color:#fff;background:var(--brand);border-color:var(--brand)}.route-in_progress .step-index{color:#fff;background:var(--warning);border-color:var(--warning)}.route-step strong,.route-step small{display:block}.route-step small{margin-top:2px;color:var(--muted);font-size:10px}.step-quantity{display:flex;gap:12px;color:var(--muted);font-size:10px}.report-count{grid-column:2 / -1}.timeline-panel{align-self:start}.timeline{padding:4px 16px 16px}.timeline li{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;min-height:70px;padding-top:13px}.timeline li:not(:last-child):after{position:absolute;top:39px;bottom:-5px;left:14px;width:1px;content:"";background:var(--line-strong)}.timeline-icon{z-index:1;display:grid;width:28px;height:28px;place-items:center;color:var(--brand);background:var(--brand-soft);border:1px solid #b4d7cd;border-radius:50%}.timeline-icon svg{width:14px;height:14px}.timeline strong,.timeline span,.timeline time{display:block}.timeline strong{font-size:11px}.timeline span,.timeline time{margin-top:3px;color:var(--muted);font-size:10px}@media (max-width: 1100px){:root{--sidebar-width: 196px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-metric-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid,.trace-layout,.management-dashboard-grid,.split-section,.warehouse-callout-grid{grid-template-columns:1fr}.editor-pane{border-right:0;border-bottom:1px solid var(--line)}}@media (max-width: 760px){:root{--topbar-height: 54px}.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto}.brand{height:50px}.brand div>span,.sidebar-foot{display:none}.sidebar nav{display:none}.workspace{min-width:0}.topbar{position:static;height:52px;padding:0 14px}.environment{display:none}.operator-control{margin-left:auto}main{padding:18px 14px 92px}.mobile-tabbar{position:fixed;right:0;bottom:0;left:0;z-index:40;display:flex;min-height:64px;align-items:stretch;justify-content:space-around;padding:5px max(8px,env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));background:#fffffffa;border-top:1px solid var(--line-strong);box-shadow:0 -4px 16px #1723211a}.mobile-tabbar a,.mobile-tabbar button{display:grid;min-width:58px;flex:1;align-content:center;justify-items:center;gap:3px;padding:3px 4px;color:var(--muted);background:transparent;border:0;font-size:10px;font-weight:700}.mobile-tabbar svg{width:19px;height:19px}.mobile-tabbar a.active,.mobile-tabbar button[aria-expanded=true]{color:var(--brand-strong)}.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:grid;align-items:end;background:#0c17146b}.mobile-nav-sheet{display:grid;max-height:min(74vh,620px);overflow-y:auto;padding:8px 14px calc(76px + env(safe-area-inset-bottom));background:var(--surface);border-top:3px solid var(--brand)}.mobile-nav-sheet header{display:flex;min-height:52px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.mobile-nav-sheet header strong{font-size:16px}.mobile-nav-sheet header>div{display:grid;gap:2px}.mobile-nav-sheet header span{color:var(--muted);font-size:11px}.mobile-nav-sheet .icon-button{width:34px;height:34px}.mobile-nav-sheet a{display:flex;min-height:52px;align-items:center;gap:12px;color:var(--ink);border-bottom:1px solid var(--line);font-size:14px;font-weight:650}.mobile-nav-sheet a:last-child{border-bottom:0}.mobile-nav-sheet a.active{color:var(--brand-strong)}.mobile-nav-sheet svg{width:19px;height:19px;color:var(--brand)}.page-header{min-height:0;align-items:center}.page-header h1{font-size:20px}.page-header p{display:none}.metric-grid{grid-template-columns:1fr 1fr}.ops-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:110px;padding:14px}.metric strong{font-size:24px}.form-grid,.form-grid-3,.order-intake-grid{grid-template-columns:1fr}.order-intake-wide{grid-column:auto}.line-editor-row{grid-template-columns:28px minmax(0,1fr) 36px;align-items:start}.line-editor-row>.field:nth-of-type(1),.line-editor-row>.field:nth-of-type(2),.line-editor-row>.field:nth-of-type(3),.line-editor-row>.field:nth-of-type(4),.line-editor-row>.field:nth-of-type(5),.line-editor-row>.order-model-preview{grid-column:2}.line-editor-row .order-model-preview{grid-column:2}.line-mold-plan{grid-column:2;grid-template-columns:1fr}.line-editor-row .icon-button{grid-column:3;grid-row:1}.filter-bar{align-items:stretch;flex-direction:column}.segmented-control{width:100%;overflow-x:auto}.segmented-control button{min-width:66px;flex:1}.route-step{grid-template-columns:28px minmax(130px,1fr) 74px}.step-quantity,.report-count{grid-column:2 / -1}}.schedule-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.schedule-summary>div{display:grid;gap:4px;padding:16px 20px;border-right:1px solid var(--line)}.schedule-summary>div:last-child{border-right:0}.schedule-summary span,.schedule-line header p,.schedule-empty{color:var(--muted);font-size:13px}.schedule-summary strong{color:var(--ink);font-size:24px;line-height:1.1}.schedule-lines{display:grid;gap:16px}.schedule-line{border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow:hidden}.schedule-line>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.schedule-line h2{margin:0;color:var(--ink);font-size:16px}.schedule-line header p{margin:3px 0 0}.schedule-empty{margin:0;padding:16px 20px}.schedule-locked td{background:color-mix(in srgb,var(--brand-soft) 60%,transparent)}@media (max-width: 480px){.metric-grid{grid-template-columns:1fr}.metric{min-height:96px}.modal-backdrop{padding:0}.modal{min-height:100vh;max-height:100vh;border:0;border-radius:0}.page-actions .button{padding:0 10px}}@media (max-width: 900px){.role-workspace-grid{grid-template-columns:1fr}.role-command-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.role-command-grid a:nth-child(2n){border-right:1px solid var(--line)}.role-command-grid a:nth-child(3n){border-right:0}.role-command-grid a:nth-last-child(-n+3){border-bottom:0}}@media (max-width: 760px){.role-workspace-hero{min-height:0;grid-template-columns:1fr;gap:16px;margin-right:-14px;margin-left:-14px;padding:20px 16px}.role-workspace-hero h1{font-size:24px}.role-workspace-identity{min-width:0;padding:12px 0 0;border-top:1px solid rgb(255 255 255 / 28%);border-left:0;text-align:left}.role-metric-strip{margin-right:-1px;margin-left:-1px}.role-metric-strip>div{min-height:74px;padding:11px}.role-metric-strip strong{font-size:23px}.role-command-grid{grid-template-columns:1fr}.role-command-grid a,.role-command-grid a:nth-child(2n),.role-command-grid a:nth-child(3n){min-height:76px;grid-template-columns:23px minmax(0,1fr) 16px;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.role-command-grid a:last-child{border-bottom:0}.role-workspace-note{align-items:flex-start}}.header-actions{display:flex;align-items:center;gap:8px}.account-control{height:42px;padding:0 4px 0 8px;gap:9px}.account-control select{display:none}.account-control select{display:block}.account-control .icon-button{display:none}.account-control>.button{min-width:44px;min-height:44px;flex-shrink:0}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);background:#eef3f0;color:#13251f}.login-intro{padding:clamp(2rem,7vw,7rem);display:flex;flex-direction:column;justify-content:center;background:#133c32;color:#eff8f3}.login-intro h1{margin:.75rem 0;font-size:clamp(2rem,3.4rem,4.2rem);line-height:1.08}.login-intro>p:not(.eyebrow){max-width:31rem;color:#bad5c8;font-size:1.05rem;line-height:1.8}.login-mark{width:3.5rem;height:3.5rem;margin-bottom:2.5rem}.login-assurance{display:flex;align-items:center;gap:.55rem;margin-top:2rem;color:#b8d2c4;font-size:.9rem}.login-panel{width:min(100%,32rem);align-self:center;justify-self:center;padding:clamp(1.5rem,4vw,3rem);display:grid;gap:1.5rem}.login-panel h2{margin:.35rem 0;font-size:1.7rem}.login-panel p{margin:0;color:#63736b}.login-form{display:grid;gap:1rem}.login-form label{display:grid;gap:.45rem;color:#385249;font-weight:650}.login-form input{min-height:2.9rem;border:1px solid #b9cbc2;border-radius:6px;background:#fff;padding:.55rem .7rem;color:#13251f}.login-form input:focus{outline:3px solid #b8e3d0;border-color:#28745d}.login-submit{min-height:3rem;justify-content:center;margin-top:.4rem}.login-note{display:flex;align-items:center;gap:.45rem;font-size:.85rem}.password-change-page{grid-template-columns:1fr}.password-change-page .login-panel{background:#fff;border:1px solid #d4e0da;border-radius:8px;box-shadow:0 18px 50px #153f311f}.access-account-status{margin:1rem 0;padding:.85rem 1rem;border:1px solid #cddbd4;border-left:3px solid #25745b;display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#f6faf7}.access-account-status>div{display:grid;gap:.2rem}.access-account-status small{color:#607169}@media (max-width: 720px){.login-page{grid-template-columns:1fr}.login-intro{min-height:33vh;padding:2rem 1.5rem}.login-intro h1{font-size:2rem}.login-mark{margin-bottom:1rem}.login-panel{width:100%;padding:2rem 1.5rem}.access-account-status{align-items:flex-start;flex-direction:column}}.account-control>svg{display:none}.account-control select{width:150px;height:34px;padding:0 28px 0 8px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.account-copy{display:grid;min-width:92px;line-height:1.25}.account-avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;color:#16463f;background:#d5ebe4;border:1px solid #aed3c8;border-radius:50%;font-size:13px;font-weight:700}.account-avatar.small{width:28px;height:28px;font-size:11px}.eyebrow{display:block;margin-bottom:5px;color:var(--brand);font-size:11px;font-weight:700}.role-workspace-hero{display:grid;min-height:148px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;margin-bottom:16px;padding:24px 26px;color:#f8fbfa;border-bottom:4px solid #6ea69a}.role-workspace-hero>div:first-child{max-width:760px}.role-workspace-hero span,.role-command-panel header span,.role-queue-panel header span{display:block;color:inherit;font-size:11px;font-weight:750}.role-workspace-hero h1{margin:6px 0 0;color:inherit;font-size:30px;line-height:1.18}.role-workspace-hero p{max-width:660px;margin:8px 0 0;color:#ffffffd1;font-size:13px;line-height:1.55}.role-workspace-identity{display:grid;min-width:170px;gap:4px;padding:10px 0 10px 18px;border-left:1px solid rgb(255 255 255 / 28%);text-align:right}.role-workspace-identity strong{font-size:15px}.role-workspace-identity small{color:#ffffffb8;font-size:11px}.role-tone-wax{background:#24574f;border-bottom-color:#8cc4b8}.role-tone-casting{background:#7a4438;border-bottom-color:#ddac8d}.role-tone-control{background:#31556e;border-bottom-color:#9fc4d5}.role-tone-warehouse{background:#6b5a2d;border-bottom-color:#d6c27d}.role-tone-quality{background:#60516e;border-bottom-color:#c3b4d1}.role-tone-engineering{background:#2e6268;border-bottom-color:#8fc7c5}.role-tone-system{background:#37434c;border-bottom-color:#a9b6bf}.role-metric-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;background:var(--line);border:1px solid var(--line);gap:1px}.role-metric-strip>div{display:grid;min-height:88px;align-content:center;padding:13px 18px;background:var(--surface)}.role-metric-strip span,.role-metric-strip small{color:var(--muted);font-size:11px}.role-metric-strip strong{margin:3px 0;color:var(--ink);font-size:27px;line-height:1}.role-workspace-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);align-items:start;gap:16px}.role-command-panel,.role-queue-panel{min-width:0;background:var(--surface);border:1px solid var(--line)}.role-command-panel header,.role-queue-panel header{display:flex;min-height:74px;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}.role-command-panel header span,.role-queue-panel header span{color:var(--brand)}.role-command-panel h2,.role-queue-panel h2{margin:3px 0 0;font-size:16px}.role-queue-panel header>svg{width:20px;height:20px;color:var(--brand)}.role-command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.role-command-grid a{display:grid;min-height:120px;grid-template-columns:25px minmax(0,1fr) 16px;align-items:start;gap:12px;padding:19px 17px;color:var(--ink);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.role-command-grid a:nth-child(2n){border-right:0}.role-command-grid a:nth-last-child(-n+2){border-bottom:0}.role-command-grid a>svg:first-child{width:21px;height:21px;color:var(--brand)}.role-command-grid a>svg:last-child{width:16px;height:16px;margin-top:2px;color:var(--subtle)}.role-command-grid a div{display:grid;gap:5px}.role-command-grid strong{font-size:13px}.role-command-grid small{color:var(--muted);font-size:11px;line-height:1.5}.role-queue-list{display:grid}.role-queue-list>*{display:grid;min-height:70px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;padding:11px 16px;color:var(--ink);border-bottom:1px solid var(--line)}.role-queue-list>*:last-child{border-bottom:0}.role-queue-operation{overflow:hidden;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.role-queue-list small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.role-queue-list .status-badge{grid-row:1 / span 2;grid-column:2}.role-queue-empty{display:grid;min-height:190px;place-items:center;align-content:center;gap:9px;color:var(--muted);font-size:12px}.role-queue-empty svg{width:24px;height:24px;color:var(--brand)}.role-workspace-note{display:flex;align-items:flex-start;gap:12px;margin-top:16px;padding:15px 17px;color:#334d5d;background:#e7f0f2;border:1px solid #c5d9dd}.role-workspace-note>svg{width:20px;height:20px;flex:0 0 auto}.role-workspace-note div{display:grid;gap:3px}.role-workspace-note strong{font-size:12px}.role-workspace-note span{font-size:12px;line-height:1.5}.worker-role-hero{min-height:130px;margin-bottom:18px}.worker-role-hero h1{font-size:26px}.role-shell-casting .sidebar nav a.active{background:#6b4037;box-shadow:inset 3px 0 #e3b29a}.role-shell-control .sidebar nav a.active{background:#34566e;box-shadow:inset 3px 0 #9fc5d8}.role-shell-warehouse .sidebar nav a.active{background:#63542e;box-shadow:inset 3px 0 #d7c475}.role-shell-quality .sidebar nav a.active{background:#594b68;box-shadow:inset 3px 0 #c4b5d4}.role-shell-engineering .sidebar nav a.active{background:#2e6268;box-shadow:inset 3px 0 #8ec7c5}.role-shell-system .sidebar nav a.active{background:#41505a;box-shadow:inset 3px 0 #b0bec7}@media (hover: hover) and (pointer: fine){.role-command-grid a:hover,.role-queue-list a:hover{color:var(--brand-strong);background:var(--surface-soft)}}.worker-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;background:var(--surface);border:1px solid var(--line)}.worker-summary>div{display:grid;min-height:82px;align-content:center;padding:12px 20px;border-right:1px solid var(--line)}.worker-summary>div:last-child{border-right:0}.worker-summary span{color:var(--muted);font-size:12px}.worker-summary strong{margin-top:3px;color:var(--ink);font-size:25px;line-height:1.1}.worker-layout{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start;gap:16px}.worker-task-list{overflow:hidden;background:var(--surface);border:1px solid var(--line)}.worker-task-list h2{margin:0;padding:15px 16px 11px;font-size:14px}.worker-task-list>button{display:grid;width:100%;min-height:68px;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:8px;padding:10px 12px 10px 16px;color:var(--ink);text-align:left;background:transparent;border:0;border-top:1px solid var(--line)}.worker-task-list>button:hover{background:var(--surface-soft)}.worker-task-list>button.active{background:var(--brand-soft);box-shadow:inset 3px 0 var(--brand)}.worker-task-list>button>span:first-child{display:grid;min-width:0;gap:4px}.worker-task-list small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis}.worker-task-list svg{width:15px;color:var(--muted)}.worker-job{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line)}.worker-job-header{display:flex;min-height:112px;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line)}.worker-job-header h2{margin:0;font-size:24px}.worker-job-header p{margin:6px 0 0;color:var(--muted);font-size:12px}.worker-quantity{display:grid;min-width:112px;text-align:right}.worker-quantity span{color:var(--muted);font-size:11px}.worker-quantity strong{color:var(--info);font-size:28px}.safety-band{display:flex;align-items:flex-start;gap:12px;padding:15px 20px;color:#70430a;background:var(--warning-soft);border-bottom:1px solid #efd6a8}.safety-band>svg{width:22px;height:22px;flex:0 0 auto}.safety-band>div{flex:1}.safety-band strong{font-size:13px}.safety-band p,.sop-preparation p,.sop-steps p{margin:4px 0 0;line-height:1.55}.safety-band p{font-size:12px}.safety-confirm{display:flex;min-height:40px;align-items:center;gap:9px;margin-top:8px;padding:6px 9px;color:#5d3809;background:#ffffff94;border:1px solid #e6c88e;cursor:pointer;font-size:12px}.safety-confirm input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--brand)}.safety-band>span{padding:3px 6px;background:#ffffff8c;border:1px solid #e6c88e;border-radius:var(--radius);font-size:10px;white-space:nowrap}.sop-preparation{display:flex;align-items:flex-start;gap:12px;padding:15px 20px;color:#244d65;background:var(--info-soft);border-bottom:1px solid #c8dce8}.sop-preparation>svg{width:21px;flex:0 0 auto}.sop-preparation p{color:#3a5f75;font-size:12px}.worker-receipt-band{display:flex;align-items:center;gap:12px;padding:14px 20px;color:#28504a;background:#edf8f3;border-bottom:1px solid #b9ded0}.worker-receipt-band.has-exception{color:#8a4619;background:#fff5e9;border-color:#f0c78f}.worker-receipt-band>svg{width:20px;flex:0 0 auto}.worker-receipt-band>div{flex:1;min-width:0}.worker-receipt-band strong,.worker-receipt-band p,.worker-receipt-band small{display:block}.worker-receipt-band p,.worker-receipt-band small{margin-top:3px;font-size:12px}.worker-receipt-band .status-badge{flex:0 0 auto}.sop-section{padding:20px 24px;border-bottom:1px solid var(--line)}.sop-section h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px}.sop-section h3 svg{width:18px;color:var(--brand)}.sop-steps{display:grid;gap:0;margin:0;padding:0;list-style:none}.sop-steps li{position:relative;display:grid;min-height:72px;grid-template-columns:38px minmax(0,1fr);gap:12px;padding-bottom:14px}.sop-steps li:not(:last-child):after{position:absolute;top:34px;bottom:3px;left:16px;width:2px;content:"";background:var(--line)}.check-button,.sop-step-number{z-index:1;display:grid;width:34px;height:34px;place-items:center;color:var(--brand);background:var(--surface);border:2px solid #9ac7bc;border-radius:50%;font-size:12px;font-weight:700}.check-button svg{width:18px}.worker-job .check-button,.worker-job .sop-step-number{width:42px;height:42px}.worker-job .sop-steps li{grid-template-columns:46px minmax(0,1fr)}.worker-job .sop-steps li:not(:last-child):after{top:42px;left:20px}.check-button:disabled{color:var(--subtle);background:var(--surface-soft);border-color:var(--line-strong)}.sop-steps li.checked .check-button{color:#fff;background:var(--brand);border-color:var(--brand)}.sop-steps li.checked strong,.sop-steps li.checked p{color:var(--muted)}.sop-steps strong{font-size:13px}.sop-steps p{color:var(--muted);font-size:12px}.quality-checks{display:grid;gap:8px}.quality-checks h3{margin-bottom:6px}.quality-checks label{display:flex;min-height:46px;align-items:center;gap:11px;padding:8px 12px;background:var(--surface-soft);border:1px solid var(--line);cursor:pointer;font-size:13px}.quality-checks p{min-height:40px;margin:0;padding:10px 12px;background:var(--surface-soft);border:1px solid var(--line);font-size:13px;line-height:1.5}.shell-progress-detail{margin-top:8px;color:var(--muted);font-size:12px}.shell-progress-detail summary{cursor:pointer;color:var(--brand-deep);font-weight:700}.shell-progress-detail ul{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.shell-progress-detail li{display:grid;gap:2px;padding:7px 8px;background:var(--surface-soft);border-left:2px solid var(--brand)}.shell-progress-detail span,.shell-progress-detail small{display:block}.quality-checks input{width:20px;height:20px;accent-color:var(--brand)}.worker-action-bar{position:sticky;bottom:0;z-index:3;display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:#fffffff7;border-top:1px solid var(--line-strong);box-shadow:0 -8px 20px #17232112}.worker-action-bar>div{display:grid;gap:3px}.worker-action-bar>div span{color:var(--muted);font-size:11px}.worker-primary-action{min-width:166px;min-height:50px;justify-content:center;font-size:15px}.worker-secondary-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--line);background:var(--surface-soft)}.worker-secondary-action small{color:var(--muted)}.upstream-reports{border-top:1px solid var(--line);padding:16px 20px;background:#f7fbfa}.upstream-reports header,.upstream-report-list article{display:flex;align-items:center;justify-content:space-between;gap:12px}.upstream-reports header span,.upstream-reports header strong,.upstream-report-list strong,.upstream-report-list small{display:block}.upstream-reports header span,.upstream-reports header small,.upstream-report-list small,.upstream-reports-empty,.upstream-report-no-photo{color:var(--muted);font-size:12px}.upstream-reports header strong{margin-top:3px;font-size:14px}.upstream-report-list{display:grid;gap:8px;margin-top:12px}.upstream-report-list article{min-height:70px;padding:9px 10px;background:var(--surface);border:1px solid var(--line)}.upstream-report-list article small{margin-top:4px}.upstream-report-list a{display:block;flex:0 0 auto}.upstream-report-list img{display:block;width:74px;height:54px;object-fit:cover;border:1px solid var(--line-strong)}.upstream-report-no-photo{padding:7px;background:var(--surface-soft)}.upstream-reports-empty{margin:12px 0 0}.order-review-gate{display:block;width:100%;color:var(--muted);font-size:11px}.worker-completed{margin-top:16px;padding:16px 20px;background:var(--surface);border:1px solid var(--line)}.worker-completed h2{margin:0 0 10px;font-size:14px}.worker-completed>div{display:flex;flex-wrap:wrap;gap:8px 18px}.worker-completed span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.worker-completed svg{width:16px;color:var(--brand)}.access-tabs{justify-content:space-between}.segmented-control button svg{width:15px;height:15px}.access-layout{display:grid;min-height:600px;grid-template-columns:270px minmax(0,1fr);background:var(--surface);border:1px solid var(--line)}.access-list{overflow-y:auto;border-right:1px solid var(--line)}.access-list>button,.access-role-list-group>button{display:flex;width:100%;min-height:66px;align-items:center;gap:11px;padding:9px 14px;color:var(--ink);text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line)}.access-list>button:hover,.access-list>button.active,.access-role-list-group>button:hover,.access-role-list-group>button.active{background:var(--surface-soft)}.access-list>button.active,.access-role-list-group>button.active{box-shadow:inset 3px 0 var(--brand)}.access-list>button>svg,.access-role-list-group>button>svg{width:20px;color:var(--brand)}.access-list>button>span:last-child,.access-role-list-group>button>span:last-child{display:grid;min-width:0;gap:3px}.access-list small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.access-editor{min-width:0;padding:24px}.access-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.access-editor h2{margin:0;font-size:22px}.access-editor header p{margin:5px 0 0;color:var(--muted);font-size:12px}.permission-count{color:var(--info);font-size:12px;white-space:nowrap}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-choice-grid{padding-top:20px}.role-usage-groups{display:grid;gap:22px;padding-top:20px}.role-usage-group{padding-bottom:20px;border-bottom:1px solid var(--line)}.role-usage-group:last-child{padding-bottom:0;border-bottom:0}.role-usage-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.role-usage-heading h3,.access-role-list-group>p{margin:0;color:var(--text);font-size:14px;font-weight:700}.role-usage-heading p{max-width:680px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}.access-role-list-group{padding:10px 0 4px}.access-role-list-group+.access-role-list-group{margin-top:8px;border-top:1px solid var(--line)}.access-role-list-group>p{padding:0 14px 7px;color:var(--muted);font-size:11px}.warehouse-mold-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin-bottom:18px;overflow:hidden;background:var(--line);border:1px solid var(--line)}.warehouse-mold-summary>div{display:grid;gap:5px;min-height:104px;padding:16px;background:var(--surface)}.warehouse-mold-summary span,.warehouse-mold-summary small{color:var(--muted);font-size:12px}.warehouse-mold-summary strong{color:var(--ink);font-size:25px;line-height:1}.warehouse-mold-actions{display:flex;align-items:center;justify-content:space-between;gap:20px}.warehouse-mold-actions .section-heading{margin:0}.scan-panel,.scan-result{display:flex;align-items:center;gap:18px;padding:22px;background:var(--surface);border:1px solid var(--line)}.scan-panel>svg,.scan-result>svg{flex:0 0 auto;width:34px;height:34px;color:var(--brand)}.scan-panel form{display:flex;flex:1;align-items:end;gap:12px}.scan-panel .field{flex:1;margin:0}.scan-result{margin-top:18px}.scan-result>div{display:grid;flex:1;gap:4px}.scan-result span,.scan-result p,.scan-readonly{margin:0;color:var(--muted);font-size:12px}.scan-result h2{margin:0;color:var(--ink);font-size:18px}.scan-task-content{min-width:0}.scan-task-facts{display:flex!important;flex:0 1 auto!important;flex-wrap:wrap;align-items:center;gap:6px 9px}.scan-task-facts span{padding:3px 6px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:4px}.scan-result-actions{display:flex!important;flex:0 0 auto!important;flex-wrap:wrap;justify-content:flex-end;gap:8px}.scan-task-error{flex:1 0 100%}.dispatch-task-summary .field:has(input[name=productionQuantity]){display:none}.workshop-display-shell{min-height:100vh;background:#0e1718}.workshop-display-shell .sidebar,.workshop-display-shell .topbar{display:none}.workshop-display-shell .workspace{min-height:100vh;width:100%}.workshop-display-shell main{max-width:none;min-height:100vh;padding:0}.workshop-display{--display-accent: #35a58a;--display-accent-2: #e2b24a;--display-ink: #eff7f3;--display-muted: #9db1ab;--display-panel: #172527;--display-line: #2b3d3e;min-height:100vh;padding:30px 36px 18px;color:var(--display-ink);background:#0e1718}.workshop-display.workshop-display-shell{--display-accent: #d77b48;--display-accent-2: #4db4a1;background:#181513}.workshop-display-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid var(--display-line)}.workshop-display-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--display-accent);font-size:14px;font-weight:700}.workshop-display-kicker svg{width:18px;height:18px}.workshop-display h1,.workshop-display h2,.workshop-display p{margin:0}.workshop-display h1{margin-top:8px;font-size:34px;line-height:1.16;letter-spacing:0}.workshop-display-header p{margin-top:7px;color:var(--display-muted);font-size:16px}.workshop-display-clock{position:relative;display:grid;justify-items:end;gap:4px;padding-right:46px}.workshop-display-clock strong{font-variant-numeric:tabular-nums;font-size:36px;line-height:1;letter-spacing:0}.workshop-display-clock span{color:var(--display-muted);font-size:14px}.workshop-display-clock small{color:var(--display-muted);font-size:12px}.workshop-display-live{display:inline-flex;align-items:center;gap:6px;color:var(--display-accent)!important;font-size:12px!important;font-weight:800;text-transform:uppercase}.workshop-display-live i{width:7px;height:7px;border-radius:50%;background:var(--display-accent);box-shadow:0 0 color-mix(in srgb,var(--display-accent) 55%,transparent);animation:workshop-display-pulse 1.8s ease-out infinite}.display-icon-button{position:absolute;right:0;top:6px;width:34px;height:34px;border:1px solid var(--display-line);border-radius:5px;color:var(--display-ink);background:transparent;cursor:pointer}.display-icon-button:hover,.display-icon-button:focus-visible{border-color:var(--display-accent);color:var(--display-accent)}.display-icon-button svg{width:18px;height:18px}.workshop-display-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.workshop-display-metrics article{min-height:114px;display:grid;align-content:center;gap:4px;padding:16px 18px;border:1px solid var(--display-line);border-radius:6px;background:var(--display-panel)}.workshop-display-metrics article:nth-child(2) strong{color:var(--display-accent-2)}.workshop-display-metrics article.has-alert{border-color:#a35a3d;background:#2a1d1b}.workshop-display-metrics span,.workshop-display-metrics small{color:var(--display-muted);font-size:14px}.workshop-display-metrics strong{color:var(--display-accent);font-size:34px;line-height:1.04;font-variant-numeric:tabular-nums}.workshop-flow-rail{margin:0 0 16px;border:1px solid var(--display-line);border-radius:6px;background:var(--display-panel);overflow:hidden}.workshop-flow-rail>header{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:12px 18px;border-bottom:1px solid var(--display-line)}.workshop-flow-rail>header span{color:var(--display-accent);font-size:15px;font-weight:700}.workshop-flow-rail>header small{color:var(--display-muted);font-size:12px}.workshop-flow-rail>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr))}.workshop-flow-rail article{position:relative;display:grid;gap:7px;min-width:0;padding:13px 14px;border-right:1px solid var(--display-line)}.workshop-flow-rail article:last-child{border-right:0}.workshop-flow-rail article>div:first-child{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;column-gap:8px}.workshop-flow-rail article>div:first-child>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid color-mix(in srgb,var(--display-accent) 65%,var(--display-line));border-radius:50%;color:var(--display-accent);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.workshop-flow-rail article strong{overflow:hidden;color:var(--display-ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.workshop-flow-rail article b{grid-column:2;color:var(--display-accent-2);font-size:12px;font-weight:700}.workshop-flow-track{height:5px;overflow:hidden;border-radius:999px;background:#0c1516}.workshop-flow-track span{display:block;height:100%;min-width:2px;border-radius:inherit;background:var(--display-accent);box-shadow:0 0 12px color-mix(in srgb,var(--display-accent) 60%,transparent);transition:width .45s ease}.workshop-flow-rail article>small{color:var(--display-muted);font-size:11px;font-variant-numeric:tabular-nums}.workshop-display-main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(330px,.8fr);gap:16px}.workshop-queue,.workshop-scanner,.workshop-output-chart,.workshop-alerts{border:1px solid var(--display-line);border-radius:6px;background:var(--display-panel)}.workshop-queue>header,.workshop-output-chart>header,.workshop-alerts header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--display-line)}.workshop-queue>header span,.workshop-output-chart>header span,.workshop-alerts header>span{color:var(--display-accent);font-weight:700}.workshop-queue header div>span{display:block;margin-bottom:3px;color:var(--display-muted);font-size:13px}.workshop-queue h2,.workshop-scanner h2,.workshop-alerts h2{font-size:19px;line-height:1.2;letter-spacing:0}.workshop-queue-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-task{min-height:158px;display:grid;align-content:start;gap:7px;padding:15px 18px;border-bottom:1px solid var(--display-line)}.workshop-task:nth-child(odd){border-right:1px solid var(--display-line)}.workshop-task-operation,.workshop-task-facts{display:flex;align-items:center;justify-content:space-between;gap:10px}.workshop-task-operation>span{color:var(--display-accent);font-size:15px;font-weight:700}.workshop-task>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px}.workshop-task>p{color:var(--display-muted);font-size:14px}.workshop-task-route{width:fit-content;padding:3px 7px;border:1px solid var(--display-line);border-radius:3px;color:#c9d8d2;background:#102021;font-size:12px;font-weight:700}.workshop-task-route-mid_temp_wax{border-color:#35a58aa6;color:#69ceb4}.workshop-task-route-low_temp_wax{border-color:#e2b24ab3;color:#f1c96e}.workshop-task-route-sand_outsource{border-color:#4db4a1a6;color:#7ecdbd}.workshop-shell-layer{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 8px;padding:8px 10px;border-left:3px solid var(--display-accent);background:#102321}.workshop-shell-layer>strong{color:var(--display-ink);font-size:15px}.workshop-shell-layer>span{color:var(--display-accent-2);font-size:12px;font-weight:700;text-align:right}.workshop-shell-layer>small{grid-column:1 / -1;color:var(--display-muted);font-size:12px}.workshop-shell-layer.pending{border-left-color:var(--display-accent-2);background:#e2b24a12}.workshop-task-facts{color:#c6d4ce;font-size:13px}.workshop-progress{height:6px;overflow:hidden;border-radius:3px;background:#0e1718}.workshop-progress span{display:block;height:100%;border-radius:inherit;background:var(--display-accent)}.workshop-task-blocked{background:#e2b24a0f}.workshop-empty{padding:28px;color:var(--display-muted)}.workshop-display-side{display:grid;align-content:start;gap:16px}.workshop-output-chart>header div>span{display:block;margin-bottom:3px;color:var(--display-muted);font-size:13px}.workshop-output-chart>header small{color:var(--display-muted);font-size:12px}.workshop-output-chart .chart-canvas{padding:2px 8px 4px 0}.workshop-execution-chart .chart-canvas{padding-right:0}.workshop-scanner{padding:18px}.workshop-scanner>div:first-child{display:flex;align-items:center;gap:11px}.workshop-scanner>div:first-child>svg{width:28px;height:28px;color:var(--display-accent)}.workshop-scanner>div:first-child span{display:block;color:var(--display-muted);font-size:13px}.workshop-scanner>p{margin-top:13px;color:var(--display-muted);font-size:14px;line-height:1.5}.workshop-scanner form{display:flex;gap:8px;margin-top:14px}.workshop-scanner input{min-width:0;width:100%;height:46px;padding:0 12px;border:1px solid var(--display-line);border-radius:5px;outline:none;color:var(--display-ink);background:#0e1718;font-size:16px}.workshop-scanner input:focus{border-color:var(--display-accent);box-shadow:0 0 0 2px #35a58a2e}.workshop-scanner form button{display:grid;place-items:center;width:48px;flex:0 0 48px;border:0;border-radius:5px;color:#0e1718;background:var(--display-accent);cursor:pointer}.workshop-scanner form button svg{width:21px;height:21px}.workshop-scanner>small{display:block;margin-top:8px;color:var(--display-accent-2)}.workshop-scan-idle{display:flex;align-items:center;gap:8px;min-height:76px;margin-top:14px;color:var(--display-muted);font-size:14px;line-height:1.45}.workshop-scan-idle svg{flex:0 0 auto;color:var(--display-accent-2)}.workshop-scan-result{position:relative;display:grid;gap:6px;margin-top:14px;padding:14px;border:1px solid color-mix(in srgb,var(--display-accent) 55%,var(--display-line));border-radius:5px;background:#102321}.workshop-scan-result>button{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;color:var(--display-muted);background:transparent;cursor:pointer}.workshop-scan-result>span{color:var(--display-accent);font-size:13px;font-weight:700}.workshop-scan-result>strong{padding-right:28px;font-size:20px}.workshop-scan-result>p{color:#d3e2dc;font-size:14px;line-height:1.45}.workshop-scan-result>div{display:flex;flex-wrap:wrap;gap:6px}.workshop-scan-result small{padding:4px 6px;border:1px solid var(--display-line);border-radius:3px;color:var(--display-muted);font-size:12px}.workshop-alerts header div{display:flex;align-items:center;gap:8px}.workshop-alerts header svg{color:var(--display-accent-2)}.workshop-alerts>p{padding:18px;color:var(--display-muted);line-height:1.5}.workshop-alerts>div>article{display:grid;gap:4px;padding:13px 18px;border-top:1px solid var(--display-line)}.workshop-alerts>div>article strong{font-size:14px}.workshop-alerts>div>article span{color:var(--display-accent-2);font-size:14px}.workshop-alerts>div>article small{color:var(--display-muted)}.workshop-display footer{display:flex;align-items:center;gap:8px;margin-top:16px;color:var(--display-muted);font-size:13px}.workshop-display footer svg{width:16px;height:16px;color:var(--display-accent)}.workshop-scan-overlay{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:28px;background:#030c0de8;animation:workshop-scan-overlay-in .24s ease-out both}.workshop-scan-overlay-frame{width:min(820px,100%);overflow:hidden;border:1px solid var(--display-accent);border-radius:8px;background:#142325;box-shadow:0 28px 80px #00000094,0 0 34px color-mix(in srgb,var(--display-accent) 24%,transparent)}.workshop-scan-unknown .workshop-scan-overlay-frame{border-color:#d77b48;box-shadow:0 28px 80px #00000094,0 0 34px #d77b483d}.workshop-scan-overlay-frame>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--display-line);color:var(--display-accent);font-size:14px;font-weight:800}.workshop-scan-overlay-frame>header span{display:inline-flex;align-items:center;gap:8px}.workshop-scan-overlay-frame>header svg{width:19px;height:19px}.workshop-scan-overlay-frame>header button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--display-line);border-radius:4px;color:var(--display-muted);background:transparent;cursor:pointer}.workshop-scan-overlay-frame>header button:hover,.workshop-scan-overlay-frame>header button:focus-visible{border-color:var(--display-accent);color:var(--display-accent)}.workshop-scan-target{position:relative;display:grid;place-items:center;width:104px;height:104px;margin:30px auto 18px;overflow:hidden;border:2px solid var(--display-accent);border-radius:7px;color:var(--display-accent);background:#0d191a;box-shadow:inset 0 0 24px color-mix(in srgb,var(--display-accent) 18%,transparent)}.workshop-scan-target:before,.workshop-scan-target:after{position:absolute;width:20px;height:20px;content:""}.workshop-scan-target:before{top:8px;left:8px;border-top:2px solid var(--display-accent-2);border-left:2px solid var(--display-accent-2)}.workshop-scan-target:after{right:8px;bottom:8px;border-right:2px solid var(--display-accent-2);border-bottom:2px solid var(--display-accent-2)}.workshop-scan-target svg{width:48px;height:48px}.workshop-scan-target i{position:absolute;right:10px;left:10px;height:2px;background:var(--display-accent-2);box-shadow:0 0 13px var(--display-accent-2);animation:workshop-scan-sweep 1.7s linear infinite}.workshop-scan-overlay-copy{display:grid;justify-items:center;gap:9px;padding:0 34px 30px;text-align:center}.workshop-scan-overlay-copy>span{color:var(--display-accent);font-size:14px;font-weight:800}.workshop-scan-overlay-copy h2{max-width:100%;overflow-wrap:anywhere;color:var(--display-ink);font-size:clamp(25px,4vw,39px);line-height:1.2;letter-spacing:0}.workshop-scan-overlay-copy p{max-width:660px;color:var(--display-muted);font-size:16px;line-height:1.5}.workshop-scan-overlay-copy>div{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.workshop-scan-overlay-copy strong{padding:6px 9px;border:1px solid var(--display-line);border-radius:4px;color:#d7e4df;background:#0d191a;font-size:13px;font-weight:600;overflow-wrap:anywhere}.workshop-scan-overlay-frame>footer{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:15px;margin:0;padding:13px 18px;border-top:1px solid var(--display-line);color:var(--display-muted);font-size:13px}.workshop-scan-overlay-frame>footer i{height:3px;border-radius:99px;background:var(--display-accent);transform-origin:left center;animation:workshop-scan-countdown 12s linear both}.workshop-scan-unknown .workshop-scan-overlay-frame>footer i{background:#d77b48;animation-duration:5s}@keyframes workshop-scan-overlay-in{0%{opacity:0;transform:scale(.975)}to{opacity:1;transform:scale(1)}}@keyframes workshop-scan-sweep{0%{top:12px;opacity:.1}10%,90%{opacity:1}to{top:89px;opacity:.15}}@keyframes workshop-scan-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes workshop-display-pulse{65%{box-shadow:0 0 0 7px transparent}to{box-shadow:0 0 0 0 transparent}}.workshop-display-error{margin-top:16px}@media (max-width: 920px){.workshop-display{padding:20px}.workshop-display-header{display:grid}.workshop-display-clock{justify-items:start;padding-right:0}.workshop-display-clock .display-icon-button{left:175px;right:auto}.workshop-display-metrics,.workshop-display-main-grid{grid-template-columns:1fr 1fr}.workshop-display-side{grid-column:span 2;grid-template-columns:1fr 1fr}.workshop-flow-rail article:nth-child(4n){border-right:0}}@media (max-width: 620px){.workshop-display{padding:16px}.workshop-display h1{font-size:28px}.workshop-display-metrics,.workshop-display-main-grid,.workshop-display-side,.workshop-queue-list{grid-template-columns:1fr}.workshop-display-side{grid-column:auto}.workshop-task:nth-child(odd){border-right:0}.workshop-display-metrics article{min-height:92px}.workshop-flow-rail>header{display:grid}.workshop-flow-rail article{border-right:0;border-bottom:1px solid var(--display-line)}.workshop-flow-rail article:last-child{border-bottom:0}.workshop-scan-overlay{padding:14px}.workshop-scan-overlay-copy{padding-right:18px;padding-left:18px}.workshop-scan-overlay-frame>footer{grid-template-columns:1fr;gap:8px}}@media (prefers-reduced-motion: reduce){.workshop-flow-track span,.workshop-scan-overlay,.workshop-scan-target i,.workshop-scan-overlay-frame>footer i,.workshop-display-live i{animation:none;transition:none}}.mold-name-cell strong{display:block;font-size:15px}.mold-name-cell small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.worker-history-entry{display:flex;width:100%;align-items:center;gap:6px;padding:0;color:var(--muted);text-align:left;background:transparent;border:0}.worker-history-entry:hover{color:var(--brand)}@media (max-width: 980px){.warehouse-mold-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 720px){.warehouse-filter-bar,.warehouse-filter-bar-wide{grid-template-columns:1fr;gap:10px;padding:13px 14px}.warehouse-filter-clear{width:100%;min-height:42px}.role-usage-heading{align-items:flex-start;flex-direction:column;gap:5px}.warehouse-mold-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-mold-actions,.scan-result,.scan-panel,.scan-panel form{align-items:stretch;flex-direction:column}.warehouse-callout{grid-template-columns:auto minmax(0,1fr)}.warehouse-callout .button{grid-column:1 / -1;justify-self:stretch}.scan-panel .button,.scan-result .button,.scan-result-actions{width:100%}}.permission-choice{display:flex;min-height:58px;align-items:flex-start;gap:10px;padding:11px 12px;background:var(--surface-soft);border:1px solid var(--line);cursor:pointer}.permission-choice:has(input:checked){background:var(--brand-soft);border-color:#9cc7bc}.permission-choice input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--brand)}.permission-choice>span{display:grid;gap:4px}.permission-choice strong{font-size:12px}.permission-choice small{color:var(--muted);font-size:10px;line-height:1.4}.access-note{margin-top:16px;padding:10px 12px;color:#3a5f75;background:var(--info-soft);border:1px solid #c8dce8;font-size:12px}.permission-groups{display:grid;gap:20px;padding-top:20px}.permission-groups fieldset{margin:0;padding:13px;border:1px solid var(--line)}.permission-groups legend{padding:0 6px;color:var(--muted);font-size:11px;font-weight:700}.scope-editor,.report-form-editor{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.scope-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 0 14px;border:0}.scope-editor h3{margin:2px 0 0;font-size:16px}.scope-editor header p{max-width:700px}.scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scope-grid fieldset{display:grid;gap:8px;margin:0;padding:12px;border:1px solid var(--line)}.scope-grid legend{padding:0 5px;color:var(--muted);font-size:11px;font-weight:700}.scope-grid label{display:flex;min-height:30px;align-items:center;gap:8px;font-size:12px}.scope-grid input{width:16px;height:16px;accent-color:var(--brand)}.scope-operation-fieldset{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}.report-form-editor{display:grid;max-width:900px;gap:16px}.report-form-editor>.field{max-width:420px}@media (max-width: 760px){.scope-grid,.scope-operation-fieldset,.report-form-editor .choice-grid{grid-template-columns:1fr}.scope-editor>header{flex-direction:column}.scope-editor>header .button{width:100%}}.sop-management-layout{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;background:var(--surface);border:1px solid var(--line)}.sop-catalog{border-right:1px solid var(--line)}.sop-catalog button{display:flex;width:100%;min-height:66px;align-items:center;gap:11px;padding:10px 13px;color:var(--ink);text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line)}.sop-catalog button:hover,.sop-catalog button.active{background:var(--surface-soft)}.sop-catalog button.active{box-shadow:inset 3px 0 var(--brand)}.sop-catalog button>span:last-child{display:grid;gap:3px}.sop-catalog small{color:var(--muted);font-size:10px}.sop-number{display:grid;width:30px;height:30px;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:50%;font-size:11px;font-weight:700}.sop-document{min-width:0}.sop-document>header{display:flex;min-height:110px;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.sop-document>header>svg{width:34px;height:34px;color:var(--brand)}.sop-document h2{margin:0;font-size:23px}.sop-document header p{margin:6px 0 0;color:var(--muted);font-size:11px}.sop-document .sop-preparation{display:block}.document-steps{padding:22px 24px 8px}.document-quality{padding:16px 24px 20px;background:var(--surface-soft);border-top:1px solid var(--line)}.document-quality h3{margin:0 0 10px;font-size:13px}.document-quality p{display:flex;align-items:flex-start;gap:8px;margin:6px 0;color:var(--muted);font-size:12px}.document-quality p span{color:var(--brand);font-weight:700}.sop-key-parameter-list p{align-items:baseline}.sop-key-parameter-list p strong{min-width:112px;color:var(--ink)}.form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;background:var(--surface);border:1px solid var(--line)}.fulfillment-metrics>div{display:grid;min-height:88px;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:3px 9px;padding:13px 18px;border-right:1px solid var(--line)}.fulfillment-metrics>div:last-child{border-right:0}.fulfillment-metrics svg{width:22px;grid-row:1 / 3;align-self:center;color:var(--info)}.fulfillment-metrics span{color:var(--muted);font-size:11px}.fulfillment-metrics strong{font-size:21px}.status-picked{color:#6a4b12;background:var(--warning-soft)}.status-shipped{color:#245b7a;background:var(--info-soft)}.status-delivered{color:var(--brand-strong);background:var(--brand-soft)}.guide-personal{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:24px;margin-bottom:16px;padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.guide-personal-copy{display:flex;align-items:flex-start;gap:14px}.guide-personal h2,.guide-section h2,.guide-section h3,.guide-personal p{margin:0}.guide-personal-copy>div>p:not(.guide-kicker){margin-top:4px;color:var(--muted);font-size:13px}.guide-kicker{color:var(--brand);font-size:11px;font-weight:800;text-transform:uppercase}.guide-role-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.guide-role-tags span{padding:4px 8px;color:var(--brand-strong);background:var(--brand-soft);border-radius:var(--radius);font-size:12px;font-weight:700}.guide-quick-actions{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:10px;padding-left:22px;border-left:1px solid var(--line)}.guide-quick-actions>div,.guide-role-links{display:flex;flex-wrap:wrap;gap:8px}.guide-section{margin-bottom:16px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.guide-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.guide-section-heading>div{display:flex;align-items:flex-start;gap:12px}.guide-section-heading h2{font-size:18px}.guide-section-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.guide-section-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:var(--radius)}.guide-section-icon svg{width:18px;height:18px}.guide-section-icon.warning{color:var(--warning);background:var(--warning-soft)}.guide-line-selector{display:inline-flex;max-width:100%;margin-top:18px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.guide-line-selector button{min-height:38px;padding:0 14px;border:0;border-right:1px solid var(--line);color:var(--muted);background:transparent;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.guide-line-selector button:last-child{border-right:0}.guide-line-selector button:hover,.guide-line-selector button:focus-visible{color:var(--brand-strong);background:var(--brand-soft);outline:none}.guide-line-selector button.active{color:var(--on-brand);background:var(--brand-strong)}.guide-line-summary{display:grid;gap:4px;margin-top:14px;padding:14px 16px;border-left:3px solid var(--brand);background:var(--surface-soft)}.guide-line-summary strong{font-size:16px}.guide-line-summary p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.guide-line-steps{display:grid;gap:0;margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:6px}.guide-line-steps article{display:grid;grid-template-columns:34px minmax(220px,.9fr) minmax(280px,1.1fr);gap:14px;align-items:start;padding:15px 16px;border-bottom:1px solid var(--line)}.guide-line-steps article:last-child{border-bottom:0}.guide-line-steps>article>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;color:var(--brand-strong);background:var(--brand-soft);font-size:11px;font-weight:800}.guide-line-steps h3,.guide-line-steps p{margin:0}.guide-line-steps h3{font-size:14px}.guide-line-steps p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.55}.guide-line-steps dl{display:grid;gap:8px;margin:0}.guide-line-steps dl>div{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px}.guide-line-steps dt{color:var(--subtle);font-size:11px}.guide-line-steps dd{margin:0;color:var(--ink);font-size:12px;line-height:1.45}.guide-operating-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.guide-operating-rules article{padding:14px;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft)}.guide-operating-rules h3,.guide-operating-rules p{margin:0}.guide-operating-rules h3{font-size:13px}.guide-operating-rules p{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.55}.guide-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;padding:0;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);list-style:none}.guide-flow>li{display:grid;min-width:0;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:18px;background:var(--surface)}.guide-stage-number{display:grid;width:38px;height:38px;place-items:center;color:var(--brand-strong);background:var(--brand-soft);border-radius:50%;font-size:12px;font-weight:800}.guide-stage-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.guide-stage-title h3{font-size:15px}.guide-stage-title span{flex:0 0 auto;color:var(--info);font-size:11px;font-weight:700}.guide-stage-content>p{min-height:42px;margin:8px 0 13px;color:var(--muted);font-size:13px;line-height:1.6}.guide-stage-content dl,.guide-role-summary dl{display:grid;gap:8px;margin:0}.guide-stage-content dl>div,.guide-role-summary dl>div{display:grid;gap:2px}.guide-stage-content dt,.guide-role-summary dt{color:var(--subtle);font-size:11px;font-weight:700}.guide-stage-content dd,.guide-role-summary dd{margin:0;font-size:12px;line-height:1.55}.guide-operations{display:grid;grid-template-columns:repeat(8,minmax(88px,1fr));margin:0;padding:0;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);list-style:none}.guide-operations li{position:relative;display:grid;min-height:82px;place-content:center;gap:5px;text-align:center;border-right:1px solid var(--line)}.guide-operations li:last-child{border-right:0}.guide-operations li>span{color:var(--subtle);font-size:11px}.guide-operations li>strong{font-size:14px}.guide-operations li>svg{position:absolute;top:32px;right:-9px;z-index:1;width:16px;height:16px;padding:2px;color:var(--brand);background:var(--surface)}.guide-worker-rule{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;padding:12px 14px;color:var(--muted);background:var(--surface-soft);border-radius:var(--radius);font-size:12px}.guide-worker-rule strong{margin-right:6px;color:var(--ink)}.guide-worker-rule svg{width:14px;height:14px;color:var(--subtle)}.guide-role-select{display:grid;min-width:210px;gap:5px}.guide-role-select span{color:var(--muted);font-size:11px;font-weight:700}.guide-role-select select{min-height:38px;padding:0 34px 0 10px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius)}.guide-role-detail{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.5fr);border:1px solid var(--line);border-radius:var(--radius)}.guide-role-summary,.guide-role-steps{padding:20px}.guide-role-summary{background:var(--surface-soft);border-right:1px solid var(--line)}.guide-role-summary h3{margin-top:4px;font-size:18px}.guide-role-summary>p:not(.guide-kicker){margin:8px 0 18px;color:var(--muted);font-size:13px;line-height:1.6}.guide-role-summary dl{gap:14px}.guide-role-steps>h3{font-size:14px}.guide-role-steps>ol{display:grid;gap:10px;margin:14px 0 18px;padding:0;list-style:none}.guide-role-steps>ol li{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:flex-start;gap:10px}.guide-role-steps>ol li>span{display:grid;width:24px;height:24px;place-items:center;color:var(--brand-strong);background:var(--brand-soft);border-radius:50%;font-size:11px;font-weight:800}.guide-role-steps>ol p{margin:2px 0 0;font-size:13px;line-height:1.55}.guide-locked-link{display:inline-grid;min-height:38px;grid-template-columns:18px auto;align-items:center;gap:2px 7px;padding:6px 10px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius);font-size:12px;font-weight:700}.guide-locked-link svg{width:15px;height:15px;grid-row:1 / 3}.guide-locked-link small{font-size:10px;font-weight:400}.guide-exceptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:var(--radius)}.guide-exceptions article{padding:16px;background:var(--surface)}.guide-exceptions h3{font-size:14px}.guide-exceptions p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.6}@media (max-width: 1100px){.worker-layout,.sop-management-layout{grid-template-columns:210px minmax(0,1fr)}.access-layout{grid-template-columns:230px minmax(0,1fr)}.guide-flow,.guide-exceptions,.guide-operating-rules{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-line-steps article{grid-template-columns:34px minmax(0,1fr)}.guide-line-steps dl{grid-column:2;grid-template-columns:1fr 1fr}}@media (max-width: 760px){.process-card-mode,.process-card-selection{align-items:stretch;flex-direction:column}.process-card-mode .button{width:100%}.process-card-ai-action{align-items:flex-start;flex-direction:column}.process-parameter-grid,.document-workspace{grid-template-columns:1fr}.document-controls{border-right:0;border-bottom:1px solid var(--line)}.document-output{padding:16px}.document-preview dl{grid-template-columns:1fr}.document-preview dt{min-height:auto;padding-bottom:4px;border-bottom:0}.document-preview dd{padding-top:4px}.account-control{width:100%;margin-left:0}.account-copy{min-width:0;flex:1}.account-control select{width:142px}.worker-shell .sidebar nav a{flex:1;justify-content:center}.worker-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.worker-summary>div{min-height:68px;padding:9px 12px}.worker-summary strong{font-size:20px}.worker-layout,.access-layout,.sop-management-layout{display:block}.worker-task-list,.access-list,.sop-catalog{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}.worker-task-list h2{display:none}.worker-task-list>button,.access-list>button,.sop-catalog button{min-width:210px;border-right:1px solid var(--line);border-bottom:0}.worker-task-list>button.active,.access-list>button.active,.sop-catalog button.active{box-shadow:inset 0 -3px var(--brand)}.worker-job,.access-layout,.sop-management-layout{border-top:0}.worker-job-header{min-height:96px;padding:16px}.worker-job-header h2{font-size:21px}.safety-band,.sop-preparation,.sop-section{padding-right:16px;padding-left:16px}.worker-action-bar{bottom:64px;align-items:stretch;flex-direction:column}.worker-primary-action{width:100%}.access-editor{padding:18px 14px}.choice-grid,.form-grid-two{grid-template-columns:1fr}.sop-document>header{padding:18px 16px}.document-steps,.document-quality{padding-right:16px;padding-left:16px}.fulfillment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-metrics>div:nth-child(2){border-right:0}.fulfillment-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.header-actions{flex-wrap:wrap;justify-content:flex-end}.guide-personal,.guide-role-detail{grid-template-columns:1fr}.guide-personal{gap:18px;padding:16px}.guide-quick-actions{padding:16px 0 0;border-top:1px solid var(--line);border-left:0}.guide-section{padding:16px}.guide-section-heading,.role-heading{align-items:stretch;flex-direction:column}.guide-role-select{width:100%}.guide-role-summary{border-right:0;border-bottom:1px solid var(--line)}.guide-flow,.guide-exceptions{grid-template-columns:1fr}.guide-worker-rule{align-items:flex-start;flex-direction:column}.guide-worker-rule svg{display:none}.guide-line-selector{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.guide-line-selector button{min-width:0;padding:0 8px;font-size:12px}.guide-line-steps article{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px}.guide-line-steps dl{grid-column:1 / -1;grid-template-columns:1fr;padding-left:40px}.guide-operating-rules{grid-template-columns:1fr}}.cart-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px;border:1px solid var(--line);background:var(--surface)}.cart-summary>div{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;min-height:82px;padding:16px 18px;border-right:1px solid var(--line)}.cart-summary>div:last-child{border-right:0}.cart-summary svg{color:var(--teal-700)}.cart-summary span{color:var(--muted);font-size:13px}.cart-summary strong{font-size:26px}.cart-summary .attention{background:#fff4ed}.cart-summary .attention svg,.cart-summary .attention strong{color:#b54708}.cart-flow-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:20px;margin-bottom:20px}.cart-action-form,.cart-receive-panel{padding:20px}.cart-action-form>header,.cart-receive-panel>header{margin-bottom:18px}.cart-action-form h2,.cart-receive-panel h2{display:flex;gap:9px;align-items:center;margin:4px 0 6px;font-size:18px}.cart-action-form h2 svg,.cart-receive-panel h2 svg{color:var(--teal-700)}.cart-action-form p,.cart-receive-panel p{margin:0;color:var(--muted);font-size:13px}.cart-action-form .button{margin-top:4px}.cart-pending-list{display:grid;gap:10px}.cart-pending-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);padding:13px}.cart-pending-list strong,.cart-pending-list span,.cart-pending-list small{display:block}.cart-pending-list span{margin-top:3px;color:var(--ink);font-size:13px}.cart-pending-list small{margin-top:5px;color:var(--muted)}.exception-note{display:block;max-width:220px;margin-top:5px;color:#b54708}.asset-qr-preview{display:grid;justify-items:center;gap:7px;text-align:center}.asset-qr-preview img{width:min(260px,100%);height:auto;image-rendering:pixelated}.asset-qr-preview span,.asset-qr-preview small{color:var(--muted);overflow-wrap:anywhere}.qr-bind-panel{max-width:820px}.qr-bind-panel>header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.qr-bind-panel>header svg{color:var(--teal-700)}.qr-bind-panel h2,.qr-bind-panel p{margin:0}.qr-bind-panel p{color:var(--muted);font-size:13px}.label-chip-list{display:flex;flex-wrap:wrap;gap:8px}.label-chip-list>span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);font-size:13px}.mold-selection-summary,.worker-claim-panel{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px;padding:16px 18px;border:1px solid #a8d8cf;background:#edf8f5}.mold-selection-summary svg{color:var(--teal-700);flex:0 0 auto}.mold-selection-summary strong,.mold-selection-summary span{display:block}.mold-selection-summary span{margin-top:4px;color:var(--muted);font-size:13px}.worker-claim-panel{display:block}.worker-claim-panel header span{color:var(--teal-700);font-size:12px;font-weight:700}.worker-claim-panel h2{margin:3px 0;font-size:18px}.worker-claim-panel p{margin:0 0 14px;color:var(--muted);font-size:13px}.worker-claim-panel>div{display:grid;gap:8px}.worker-claim-panel article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);background:var(--surface)}.worker-claim-panel strong,.worker-claim-panel span,.worker-claim-panel small{display:block}.worker-claim-panel span{margin-top:3px;font-size:13px}.worker-claim-panel small{margin-top:3px;color:var(--muted)}.piecework-payroll-cycle{display:grid;grid-template-columns:1fr minmax(160px,.5fr) 1fr;gap:18px;align-items:end;margin-bottom:20px;padding:16px 18px;border:1px solid #d7d5f4;background:#f7f6ff}.piecework-payroll-cycle span,.piecework-payroll-cycle strong,.piecework-payroll-cycle small{display:block}.piecework-payroll-cycle span,.piecework-payroll-cycle small{color:var(--muted);font-size:13px}.piecework-payroll-cycle strong{margin:3px 0;font-size:20px}.piecework-payroll-cycle label span{margin-bottom:5px}.piecework-employee-exports{margin:0 0 20px;padding:16px 18px;border:1px solid #b8d6cf;background:#f2faf7}.piecework-employee-exports .section-heading{margin-bottom:14px}.piecework-export-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.piecework-detail-preview{margin:0 0 20px;padding:16px 18px;border:1px solid var(--line);background:var(--surface)}.piecework-detail-preview .table-scroll+.table-scroll{margin-top:16px}.piecework-detail-preview th[colspan]{color:var(--ink);background:#edf8f5;text-align:left}.piecework-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.piecework-summary-grid article{min-height:112px;padding:15px 16px;border:1px solid var(--line);border-top:3px solid #19836a;background:var(--surface)}.piecework-summary-grid article.attention{border-top-color:#c47f1b;background:#fff9ed}.piecework-summary-grid span,.piecework-summary-grid strong,.piecework-summary-grid small{display:block}.piecework-summary-grid span,.piecework-summary-grid small{color:var(--muted);font-size:13px}.piecework-summary-grid strong{margin:8px 0 5px;font-size:24px;color:var(--ink)}.piecework-finance-note{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;padding:13px 16px;border-left:4px solid #19836a;background:#edf8f5}.piecework-finance-note strong{flex:0 0 auto}.piecework-finance-note span{color:var(--muted);font-size:13px;line-height:1.6}.piecework-finance-note.warning{border-left-color:#c47f1b;background:#fff9ed}.ai-advice-card,.ai-advice,.ai-draft{border:1px solid #b9d8cf;border-left:4px solid #19836a;background:#f2faf7;padding:18px 20px}.ai-advice-card{margin:16px 0}.ai-advice-card h2,.ai-advice h3{margin:4px 0 8px;font-size:17px}.ai-advice p,.ai-advice-card p,.ai-draft p{margin:8px 0}.ai-advice ol,.ai-advice-card ol,.ai-draft ol{margin:10px 0;padding-left:22px}.ai-advice li,.ai-advice-card li,.ai-draft li{margin:7px 0}.ai-draft li{display:grid;gap:3px}.ai-caution{color:#6a4d0a}@media (max-width: 760px){.cart-summary,.cart-flow-grid{grid-template-columns:1fr}.cart-summary>div{border-right:0;border-bottom:1px solid var(--line)}.cart-summary>div:last-child{border-bottom:0}.cart-pending-list article{align-items:flex-start;flex-direction:column}.worker-claim-panel article{align-items:flex-start;flex-direction:column}.piecework-payroll-cycle{grid-template-columns:1fr}.piecework-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.piecework-finance-note{flex-direction:column;gap:4px}.piecework-export-actions{align-items:stretch;flex-direction:column}}@media (max-width: 480px){.piecework-summary-grid{grid-template-columns:1fr}}@media print{body *{visibility:hidden}#document-print-preview,#document-print-preview *{visibility:visible}#document-print-preview{position:absolute;top:0;left:0;width:100%;border:0}}@media (max-width: 480px){.account-avatar.small,.account-copy small{display:none}.account-control select{width:148px}.worker-summary>div{padding:8px}.worker-summary span{font-size:10px}.worker-summary strong{overflow-wrap:anywhere;font-size:17px}.worker-job-header{align-items:flex-start}.worker-quantity{min-width:72px}.worker-quantity strong{font-size:22px}.safety-band{flex-wrap:wrap}.safety-band>span{margin-left:34px}.access-editor>header{align-items:flex-start;flex-direction:column}.fulfillment-metrics>div{padding:11px}.schedule-summary{grid-template-columns:1fr}.schedule-summary>div{border-right:0;border-bottom:1px solid var(--line)}.schedule-summary>div:last-child{border-bottom:0}}.account-control{min-width:286px;box-shadow:0 1px 2px #13231e0d}.account-control select{min-width:142px;height:32px;padding:0 28px 0 8px;color:var(--ink);background-color:var(--surface);border:0;border-left:1px solid var(--line);border-radius:6px;font-size:12px;font-weight:700}.account-avatar.small{display:grid;width:26px;height:26px;place-items:center;color:#fff;background:var(--brand);border-radius:50%;font-size:12px;font-weight:750}.account-copy{display:grid;min-width:0;gap:1px;padding-right:3px}.account-copy strong,.account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy strong{color:var(--ink);font-size:12px}.account-copy small{color:var(--muted);font-size:10px}.role-workspace-hero{overflow:hidden;border:1px solid rgb(255 255 255 / 15%);border-bottom-width:4px;border-radius:8px;box-shadow:0 10px 24px #14221d1f}.role-metric-strip,.worker-summary,.schedule-summary,.cart-summary{overflow:hidden;border-radius:8px;box-shadow:0 1px 2px #13231e0a}.role-command-panel,.role-queue-panel,.worker-task-list,.worker-job,.worker-completed{border-radius:8px;box-shadow:0 1px 2px #13231e0a}.role-command-grid a{position:relative;transition:background-color .16s ease,color .16s ease}.role-command-grid a:before{position:absolute;top:18px;bottom:18px;left:0;width:3px;content:"";background:transparent}.role-command-grid a:hover:before{background:var(--brand)}.role-queue-list>*{transition:background-color .16s ease}.worker-task-list>button{min-height:74px}.worker-task-list>button.active{box-shadow:inset 4px 0 var(--brand)}.worker-job-header{background:#fbfcfb}.worker-quantity{min-width:154px;gap:2px;padding:8px 0 8px 18px;border-left:1px solid var(--line)}.worker-quantity .button{justify-self:end;margin-top:4px}.worker-product-identity{display:grid;gap:2px;margin-top:7px!important}.worker-product-identity strong{color:var(--ink);font-size:14px}.worker-product-identity span{color:var(--muted);font-size:11px}.worker-mobile-quick-actions,.role-mobile-quick-actions,.scan-mobile-guide{display:none}.safety-band,.sop-preparation,.worker-receipt-band{padding-right:24px;padding-left:24px}.sop-section{padding:24px}.sop-steps li{min-height:78px}.worker-action-bar{min-height:82px;padding:14px 20px;border-radius:0 0 8px 8px}.worker-primary-action{min-width:188px;min-height:52px;border-radius:7px;box-shadow:0 5px 10px #17675d2e}@media (min-width: 761px){.sidebar nav a{letter-spacing:.1px}.role-workspace-grid,.worker-layout{gap:20px}.role-command-grid a:hover{background:#f7faf8}}@media (max-width: 760px){:root{--topbar-height: 56px}body{background:#f2f5f3}.sidebar{position:sticky;z-index:30;height:56px;box-shadow:0 2px 10px #0e1c1824}.brand{height:56px;padding:0 16px}.brand-mark{width:32px;height:32px}.brand strong{font-size:15px}.topbar{height:56px;padding:0 14px;background:var(--surface)}.account-control{width:100%;min-width:0;min-height:40px;margin-left:0}.account-control select{min-width:0;flex:1;height:34px}.account-control>svg{display:none}main{padding:16px 14px calc(108px + env(safe-area-inset-bottom))}.page-header{min-height:44px;margin-bottom:14px}.page-header h1{font-size:21px}.page-actions .button,.page-actions .icon-button{min-width:42px;min-height:42px}.mobile-tabbar{min-height:70px;padding-top:7px;background:#fffffffc;box-shadow:0 -5px 16px #1723211f}.mobile-tabbar a,.mobile-tabbar button{min-width:62px;min-height:54px;gap:4px;border-radius:8px;font-size:10px}.mobile-tabbar a.active,.mobile-tabbar button[aria-expanded=true]{background:var(--brand-soft)}.mobile-tabbar svg{width:20px;height:20px}.mobile-nav-sheet{max-height:min(78vh,680px);padding:10px 16px calc(86px + env(safe-area-inset-bottom));border-radius:8px 8px 0 0;box-shadow:0 -14px 36px #0f1e1938}.mobile-nav-sheet a{min-height:56px}.role-workspace-hero{min-height:150px;gap:14px;margin-bottom:14px;padding:18px;border-radius:8px}.role-workspace-hero h1,.worker-role-hero h1{font-size:24px}.role-workspace-hero p{margin-top:6px;font-size:12px}.role-workspace-identity{width:100%;min-width:0;padding:10px 0 0;border-top:1px solid rgb(255 255 255 / 25%);border-left:0;text-align:left}.role-metric-strip,.worker-summary{margin-bottom:14px;border-radius:8px}.role-metric-strip>div,.worker-summary>div{min-height:74px;padding:11px 12px}.role-metric-strip strong,.worker-summary strong{font-size:23px}.role-workspace-grid{grid-template-columns:1fr;gap:14px}.role-command-panel,.role-queue-panel,.worker-task-list,.worker-job,.worker-completed{border-radius:8px}.role-command-panel header,.role-queue-panel header{min-height:64px;padding:12px 14px}.role-command-grid{grid-template-columns:1fr}.role-command-grid a{min-height:76px;grid-template-columns:22px minmax(0,1fr) 16px;padding:14px;border-right:0}.role-command-grid a:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.role-command-grid a:last-child{border-bottom:0}.role-command-grid small{font-size:11px}.role-workspace-note{margin-top:14px;padding:13px 14px;border-radius:8px}.worker-task-list{display:flex;gap:0;padding:0;scroll-snap-type:x mandatory}.worker-task-list>button{min-width:min(76vw,310px);min-height:78px;padding:12px 14px;scroll-snap-align:start}.worker-task-list>button.active{box-shadow:inset 0 -4px var(--brand)}.worker-job-header{min-height:0;align-items:flex-start;gap:14px;padding:16px}.worker-job-header h2{font-size:22px}.worker-quantity{min-width:92px;padding:0 0 0 12px}.worker-quantity strong{font-size:25px}.worker-quantity .button{width:100%;min-height:36px;padding:0 7px}.safety-band,.sop-preparation,.worker-receipt-band,.sop-section{padding-right:16px;padding-left:16px}.worker-receipt-band{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px 12px}.worker-receipt-band>svg{grid-row:1 / span 2}.worker-receipt-band>div,.worker-receipt-band .status-badge{grid-column:2}.worker-receipt-band .status-badge{justify-self:start}.worker-receipt-band .worker-receipt-action{grid-column:1 / -1;width:100%;min-height:44px}.sop-section{padding-top:18px;padding-bottom:18px}.sop-steps li{min-height:72px}.worker-action-bar{position:sticky;bottom:70px;gap:10px;padding:12px 14px;border-radius:0}.worker-action-bar>div{display:none}.worker-primary-action{width:100%;min-height:54px;border-radius:8px;font-size:16px}.worker-completed{padding:14px}}@media (max-width: 390px){.brand div>span{display:none}.account-copy small{display:none}.account-control{gap:6px}.account-control select{font-size:11px}.role-metric-strip span,.role-metric-strip small,.worker-summary span{font-size:10px}}.order-workspace-summary{display:grid;grid-template-columns:minmax(0,1.45fr) repeat(4,minmax(0,.55fr));align-items:stretch;margin:0 0 14px;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 1px 2px #13231e0a}.order-workspace-heading,.order-workspace-metric{min-height:94px;padding:16px 18px;border-right:1px solid var(--line)}.order-workspace-heading{display:grid;align-content:center;gap:2px;background:#f7faf8}.order-workspace-heading span{color:var(--brand);font-size:11px;font-weight:750}.order-workspace-heading strong{color:var(--ink);font-size:18px}.order-workspace-heading small,.order-workspace-metric span{color:var(--muted);font-size:11px}.order-workspace-metric{display:grid;grid-template-columns:22px minmax(0,1fr);align-content:center;gap:10px}.order-workspace-metric:last-child{border-right:0}.order-workspace-metric svg{width:20px;height:20px;margin-top:4px;color:var(--brand)}.order-workspace-metric>div{display:grid;gap:2px}.order-workspace-metric strong{color:var(--ink);font-size:25px;line-height:1.1}.order-workspace-metric.active svg{color:var(--info)}.order-workspace-metric.urgent svg,.order-workspace-metric.urgent strong{color:var(--danger)}.order-workspace-metric.pending svg,.order-workspace-metric.pending strong{color:var(--warning)}.order-mobile-list{display:none}.task-product-label{margin-top:4px;color:var(--brand-strong);font-size:12px;font-weight:750}.task-order-label{display:block;margin-top:4px;color:var(--ink-muted);font-size:12px;font-weight:650}.selection-picker-list{display:grid;gap:8px;max-height:420px;margin-top:14px;overflow-y:auto}.selection-picker-list>button{display:flex;width:100%;min-height:68px;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;color:var(--ink);text-align:left;background:var(--surface-soft);border:1px solid var(--line);border-radius:6px}.selection-picker-list>button:hover:not(:disabled){background:var(--brand-soft);border-color:#92bfb4}.selection-picker-list>button:disabled{color:var(--subtle);background:#f1f3f2}.selection-picker-list>button>div{display:grid;min-width:0;gap:4px}.selection-picker-list strong,.selection-picker-list span,.selection-picker-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-picker-list strong{color:var(--ink);font-size:13px}.selection-picker-list span,.selection-picker-list small{color:var(--muted);font-size:11px}.selection-picker-list>button>small{flex:0 0 auto;padding:4px 6px;color:var(--brand-strong);background:var(--surface);border:1px solid var(--line);border-radius:4px;font-weight:750}.picker-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.customer-history-products{display:block;margin-top:6px;color:var(--brand-strong);font-size:11px;line-height:1.5}@media (max-width: 1100px){.order-workspace-summary{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr))}.order-workspace-heading{grid-row:span 2}.order-workspace-metric:nth-last-child(-n+2){border-top:1px solid var(--line)}.order-workspace-metric:nth-child(3){border-right:0}}@media (max-width: 760px){.process-card-product-results{grid-template-columns:1fr;padding:0 12px 12px}.trace-search.trace-search-detailed{grid-template-columns:22px minmax(0,1fr);gap:10px}.trace-search.trace-search-detailed>svg{grid-row:span 3;align-self:start}.trace-search.trace-search-detailed label{min-width:0}.order-workspace-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.order-workspace-heading{grid-column:1 / -1;grid-row:auto;min-height:76px;border-right:0;border-bottom:1px solid var(--line)}.order-workspace-metric{min-height:76px;padding:12px}.order-workspace-metric:nth-child(3){border-right:0}.order-workspace-metric:nth-last-child(-n+2){border-top:1px solid var(--line)}.order-workspace-metric:nth-child(4){border-right:1px solid var(--line)}.order-workspace-metric:nth-child(5){border-right:0}.order-workspace-metric strong{font-size:22px}.selection-picker-list{max-height:48vh}.selection-picker-list>button{min-height:74px}.section-block:has(.order-mobile-list) .table-scroll{display:none}.order-mobile-list{display:grid;gap:10px;padding:10px}.order-mobile-card{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:8px}.order-mobile-card.order-row-urgent{border-color:#efc6bf}.order-mobile-card.order-row-completed{border-color:#c9ddef}.order-mobile-card.order-row-released{border-color:#b9ded1}.order-mobile-card>header,.order-mobile-card>footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px}.order-mobile-card>header{border-bottom:1px solid var(--line)}.order-mobile-card>header>div{display:grid;min-width:0;gap:4px}.order-mobile-card>header strong{overflow-wrap:anywhere;color:var(--brand-strong);font-size:14px}.order-mobile-card>header small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.order-mobile-products{display:grid;gap:5px;padding:11px 12px;color:var(--ink);background:var(--surface-soft);font-size:12px}.order-mobile-products span{display:block}.order-mobile-card>footer{align-items:center}.order-mobile-card>footer>div:first-child{display:grid;min-width:0;gap:3px}.order-mobile-card>footer span,.order-mobile-card>footer small{color:var(--muted);font-size:11px}.order-mobile-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.order-mobile-actions .order-document-actions{width:100%;margin-bottom:2px}.order-mobile-actions .text-link{min-height:30px;align-content:center;font-size:12px;font-weight:750}}@media (max-width: 760px){.worker-mobile-quick-actions,.role-mobile-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}.worker-mobile-quick-actions a,.worker-mobile-quick-actions button,.role-mobile-quick-actions a{display:grid;min-height:58px;place-items:center;align-content:center;gap:4px;padding:7px 6px;color:var(--brand-strong);background:var(--surface);border:1px solid var(--line);border-radius:7px;font:inherit;font-size:11px;font-weight:750;text-align:center}.worker-mobile-quick-actions button:disabled{color:var(--subtle);background:var(--surface-soft)}.worker-mobile-quick-actions svg,.role-mobile-quick-actions svg{width:20px;height:20px}.worker-task-list>button>span:first-child{gap:3px}.worker-task-list>button small{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.worker-product-identity strong{font-size:13px}.worker-product-identity span{overflow-wrap:anywhere}.worker-job-header{position:relative}.worker-job-header .eyebrow{padding-right:96px}.worker-quantity{padding-left:10px}.scan-mobile-guide{display:grid;gap:4px;margin:12px 0 16px;padding:12px 14px;color:#24586f;background:var(--info-soft);border-left:3px solid var(--info);font-size:12px;line-height:1.5}.scan-mobile-guide span{color:#3b6072}.scan-panel input,.scan-panel .button{min-height:52px;font-size:16px}.scan-result-actions{gap:10px}.scan-result .button{min-height:48px;justify-content:center}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-height:min(88dvh,760px);border-radius:10px 10px 0 0}.modal-body{max-height:calc(min(88dvh,760px) - 96px);overflow-y:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.modal .form-actions{position:sticky;bottom:0;z-index:1;margin:16px -1px -1px;padding:12px 0 0;background:var(--surface)}.modal .form-actions .button{min-height:48px}}body{background:#edf1ef}.topbar{box-shadow:0 1px #182a240d,0 5px 16px #182a2408;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.page-header{position:relative;padding-bottom:4px}.page-header>div:first-child{min-width:0}.page-header h1{font-weight:760}.page-header p{max-width:780px;line-height:1.55}.button,.icon-button,.selection-picker-list>button,.process-card-product-results>button,.warehouse-switcher button{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .15s ease}.button-primary{box-shadow:0 3px 7px #17675d2b}.button-primary:hover:not(:disabled){box-shadow:0 5px 12px #17675d3b}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:translateY(1px)}.metric-grid{gap:12px;overflow:visible;background:transparent;border:0}.metric{min-height:126px;overflow:hidden;padding:18px 19px;border:1px solid var(--line);border-radius:8px;box-shadow:0 1px 2px #13231e0a}.metric:before{position:absolute;top:0;right:0;left:0;height:3px;content:"";background:var(--brand)}.metric-active:before{background:var(--info)}.metric-warning:before{background:var(--warning)}.metric strong{font-size:29px;font-variant-numeric:tabular-nums}.section-block{box-shadow:var(--shadow-panel)}.section-block>.section-heading{background:var(--surface-raised)}.section-heading h2{font-size:15px;font-weight:760}.section-heading>div{min-width:0}tbody tr{transition:background-color .12s ease}tbody tr:nth-child(2n) td{background:#f8faf99e}tbody tr:hover td{background:#eef6f2}td:first-child strong,td:first-child .primary-cell{color:var(--brand-strong)}.field{gap:7px}.field input,.field select,.trace-search select{height:40px;background:var(--surface-raised)}.field textarea{background:var(--surface-raised)}.field input:hover,.field select:hover,.field textarea:hover,.trace-search select:hover{background:var(--surface)}.form-actions{background:#f8faf9}.selection-picker-list>button{min-height:72px;background:var(--surface-raised)}.selection-picker-list>button:hover:not(:disabled){box-shadow:0 4px 11px #17675d17;transform:translateY(-1px)}.warehouse-switcher button{min-height:58px;background:var(--surface-raised);box-shadow:0 1px 1px #13231e08}.warehouse-switcher button:hover:not(:disabled){color:var(--brand-strong);border-color:#91b7ad;background:var(--brand-soft)}.warehouse-switcher button.active{background:var(--brand-soft)}.role-workspace-hero{box-shadow:0 12px 28px #14221d26}.role-metric-strip>div,.worker-summary>div{position:relative}.role-metric-strip>div:first-child:before,.worker-summary>div:first-child:before{position:absolute;top:0;right:0;left:0;height:3px;content:"";background:var(--brand)}.role-command-panel,.role-queue-panel,.worker-task-list,.worker-job,.worker-completed{box-shadow:var(--shadow-panel)}.role-command-grid a:hover{background:#f4f9f6}.sales-filter-bar{display:flex;align-items:end;gap:14px;margin-bottom:18px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-panel)}.sales-filter-bar .field{min-width:172px}.sales-owner-filter{flex:1;max-width:360px}.sales-filter-bar p{max-width:420px;margin:0 0 9px auto;color:var(--muted);font-size:12px;line-height:1.5}.sales-dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr)}.sales-dashboard-grid .chart-wide{grid-column:span 1}.sales-dashboard-grid>.chart-wide:last-child{grid-column:1 / -1}.sales-scope-note dl{display:grid;gap:0;margin:0}.sales-scope-note dl>div{padding:14px 16px;border-top:1px solid var(--line)}.sales-scope-note dt{margin-bottom:4px;color:var(--brand-strong);font-weight:760;font-size:13px}.sales-scope-note dd{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.sales-amount{color:var(--brand-strong);font-weight:760;font-variant-numeric:tabular-nums;white-space:nowrap}.sales-data-warning{display:block;margin-top:4px;color:#a86513;font-size:11px}@media (max-width: 920px){.sales-dashboard-grid{grid-template-columns:1fr}.sales-dashboard-grid .chart-wide,.sales-dashboard-grid>.chart-wide:last-child{grid-column:auto}}@media (max-width: 760px){main{padding-top:18px}.page-header{align-items:stretch;flex-direction:column;gap:12px}.page-actions{width:100%}.page-actions .button:not(.button-small){min-height:44px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}.metric{min-height:106px;padding:15px 14px}.metric strong{font-size:25px}.section-block{box-shadow:0 1px 3px #13231e0d}.sales-filter-bar{align-items:stretch;flex-direction:column;gap:10px;padding:14px}.sales-filter-bar .field,.sales-owner-filter{width:100%;min-width:0;max-width:none}.sales-filter-bar p{max-width:none;margin:0}tbody tr:nth-child(2n) td{background:transparent}.form-grid,.form-grid-3,.order-intake-grid{gap:12px}.field input,.field select,.trace-search select{height:44px;font-size:14px}.field textarea{min-height:92px;font-size:14px}.selection-picker-list>button{min-height:76px;padding:13px}}.role-command-grid a{min-height:108px;padding:16px 17px}.role-command-grid a:first-child{background:#f1f8f5;box-shadow:inset 3px 0 var(--brand)}.role-command-grid a:first-child:hover{background:#e7f4ee}.role-queue-list>a:hover{background:var(--surface-soft)}.worker-job-progress{display:grid;grid-template-columns:minmax(142px,auto) minmax(150px,1fr) auto;align-items:center;gap:14px;padding:12px 20px;color:#2d514a;background:#f4faf7;border-bottom:1px solid #cde1d9}.worker-job-progress div{display:grid;gap:2px}.worker-job-progress span,.worker-job-progress small{color:var(--muted);font-size:11px}.worker-job-progress strong{font-size:14px}.worker-job-progress progress{width:100%;height:7px;overflow:hidden;accent-color:var(--brand);border:0;border-radius:0;background:#dceae5}.worker-job-progress progress::-webkit-progress-bar{background:#dceae5}.worker-job-progress progress::-webkit-progress-value{background:var(--brand)}.worker-job-progress progress::-moz-progress-bar{background:var(--brand)}.worker-operation-focus{padding:16px 20px 0;border-bottom:1px solid var(--line)}.worker-operation-focus>header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:12px}.worker-operation-focus h3{margin:0;font-size:14px}.worker-operation-focus header p{margin:3px 0 0;color:var(--muted);font-size:11px}.worker-operation-focus>header>span{flex:0 0 auto;padding:3px 6px;color:#46627a;background:#edf5f9;border:1px solid #c5dce8;border-radius:4px;font-size:10px;font-weight:700}.worker-operation-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.worker-operation-focus-grid article{min-width:0;padding:11px 12px;background:#fbfdfc;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.worker-operation-focus-grid strong{display:block;margin-bottom:4px;color:var(--brand-deep);font-size:11px}.worker-operation-focus-grid p{display:-webkit-box;overflow:hidden;margin:0;color:var(--ink);font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.worker-sop-details{border-bottom:1px solid var(--line)}.worker-sop-details>summary{display:flex;min-height:52px;align-items:center;gap:9px;padding:0 20px;color:var(--brand-deep);cursor:pointer;font-size:13px;font-weight:700}.worker-sop-details>summary::-webkit-details-marker{display:none}.worker-sop-details>summary:after{margin-left:auto;color:var(--muted);content:"+";font-size:19px;font-weight:400}.worker-sop-details[open]>summary{background:var(--surface-soft);border-bottom:1px solid var(--line)}.worker-sop-details[open]>summary:after{content:"−"}.worker-sop-details>summary svg{width:18px;height:18px}@media (max-width: 760px){.worker-role-hero{min-height:132px}.role-workspace-hero.worker-role-hero p{display:none}.worker-mobile-quick-actions,.role-mobile-quick-actions{gap:7px}.worker-mobile-quick-actions a,.worker-mobile-quick-actions button,.role-mobile-quick-actions a{min-height:62px}.worker-task-list>button{min-width:min(80vw,286px);min-height:84px}.worker-job-header{gap:14px}.worker-job-progress{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 16px}.worker-job-progress progress{grid-column:1 / -1;grid-row:2}.worker-job-progress small{grid-column:1 / -1;grid-row:3;line-height:1.4}.worker-operation-focus{padding:14px 16px 0}.worker-operation-focus>header{gap:10px;margin-bottom:10px}.worker-operation-focus header p{display:none}.worker-operation-focus-grid{grid-template-columns:1fr}.worker-operation-focus-grid article{padding:10px 11px}.worker-operation-focus-grid p{-webkit-line-clamp:2}.worker-sop-details>summary{min-height:50px;padding:0 16px}.worker-action-bar{bottom:calc(70px + env(safe-area-inset-bottom));gap:8px;padding:10px 14px}.worker-action-bar>div{display:grid;gap:1px}.worker-action-bar>div strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.worker-action-bar>div span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.worker-primary-action{min-height:50px;font-size:15px}}
