:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#172033;background:#eef2f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #eef2f6;--surface: #ffffff;--surface-soft: #f7f9fc;--text: #172033;--muted: #667085;--border: #d7dee8;--border-strong: #c6d0dd;--blue: #2558d3;--teal: #087f8c;--green: #16834a;--amber: #b96800;--red: #c83333;--shadow: 0 14px 35px rgba(34, 43, 69, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}input:disabled,select:disabled,textarea:disabled{background:#eef2f6;border-color:#d5dde8;color:#667085;cursor:not-allowed}.loading-screen,.login-layout{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,rgba(8,127,140,.12),transparent 36%),linear-gradient(315deg,rgba(37,88,211,.1),transparent 40%),var(--bg)}.login-card{width:min(420px,calc(100vw - 32px));display:grid;gap:18px;padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.login-title{display:flex;align-items:center;gap:14px}.login-title h1{margin:0;font-size:24px;line-height:1.15}.login-title p{margin:4px 0 0;color:var(--muted);font-size:14px}.login-compliance-note{display:grid;gap:4px;padding:11px 12px;color:#344054;background:#f7f9fc;border:1px solid var(--border);border-radius:8px}.login-compliance-note strong{font-size:14px}.login-compliance-note span{color:var(--muted);font-size:12px;font-weight:700}.compliance-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;padding:14px 8px;color:var(--muted);font-size:12px;font-weight:700}.compliance-footer.compact{padding:2px 0 4px}.compliance-footer a{color:#47617d;text-decoration:none}.compliance-footer a:hover{color:var(--teal);text-decoration:underline}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:#123b70;border-radius:8px}.login-card label,.form-panel label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:650}input,select,textarea{width:100%;min-height:40px;padding:9px 11px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:8px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #087f8c24}textarea{resize:vertical;line-height:1.45}.primary-button,.secondary-button,.danger-button,.download-button,.row-action,.icon-button,.card-actions button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;text-decoration:none;transition:transform .15s ease,border-color .15s ease,background .15s ease}.primary-button{color:#fff;background:#0a6876;border:1px solid #0a6876;font-weight:750}.primary-button:hover,.download-button:hover,.row-action:hover,.card-actions button:hover,.icon-button:hover,.secondary-button:hover,.danger-button:hover{transform:translateY(-1px)}.secondary-button,.icon-button{color:var(--text);background:#fff;border:1px solid var(--border);font-weight:700}.danger-button{color:#b42318;background:#fff;border:1px solid #e9a7a2;font-weight:750}.danger-button:hover{background:#fff3f2;border-color:#d65a52}.download-button{padding:0 18px;color:#fff;background:#2558d3;border:1px solid #2558d3;font-weight:760}.form-error{padding:10px 12px;color:var(--red);background:#fff1f1;border:1px solid #ffd3d3;border-radius:8px;font-size:14px}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:var(--bg)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:18px;color:#e8eef8;background:#15233a}.brand{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.12)}.brand strong{display:block;font-size:17px;line-height:1.2}.brand span,.sidebar-user span{display:block;margin-top:3px;color:#aebbd0;font-size:12px}.nav-list{display:grid;gap:8px;margin-top:20px}.nav-item{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#d9e3f2;background:transparent;border:1px solid transparent;border-radius:8px;text-align:left;font-weight:720}.nav-item:hover,.nav-item.active{color:#fff;background:#ffffff1a;border-color:#ffffff1f}.sidebar-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px;background:#ffffff14;border-radius:8px}.sidebar-user strong{display:block;font-size:14px}.main-panel{min-width:0;padding:20px 22px 32px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.date-control{display:inline-flex;align-items:center;gap:10px;padding:8px 10px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.date-control input{width:150px;min-height:34px;padding:5px 7px;border:0;box-shadow:none}.topbar-actions{display:inline-flex;align-items:center;gap:10px}.db-chip{padding:8px 10px;color:#29415f;background:#e6edf6;border-radius:8px;font-size:13px;font-weight:760}.message-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:12px 14px;border-radius:8px;font-weight:700}.message-bar.success{color:#16633e;background:#ebf8f1;border:1px solid #c8ecd8}.message-bar.error{color:#a31f1f;background:#fff1f1;border:1px solid #ffd3d3}.message-bar button{color:inherit;background:transparent;border:0;font-weight:800}.view-stack{display:grid;gap:16px}.view-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.view-header>div{display:flex;align-items:center;gap:10px}.view-header h2{margin:0;font-size:24px;line-height:1.2}.view-header span{color:var(--muted);font-weight:750}.metric-grid,.report-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.report-strip{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.metric-card{min-height:92px;display:grid;align-content:center;gap:10px;padding:16px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:8px}.metric-card span{color:var(--muted);font-size:13px;font-weight:760}.metric-card strong{font-size:27px;line-height:1}.metric-card.teal{border-left-color:var(--teal)}.metric-card.green{border-left-color:var(--green)}.metric-card.amber{border-left-color:var(--amber)}.metric-card.red{border-left-color:var(--red)}.dashboard-view{gap:8px}.dashboard-view .view-header h2{font-size:22px}.dashboard-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.dashboard-kpis .metric-card{min-height:54px;gap:4px;padding:8px 10px}.dashboard-kpis .metric-card strong{font-size:20px}.machine-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.machine-summary-card{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;background:#fff;border:1px solid var(--border);border-left:4px solid var(--teal);border-radius:8px}.machine-summary-card.empty{border-left-color:#aeb8c6;background:#f8fafc}.machine-summary-card strong{display:block;font-size:14px;line-height:1.2;white-space:nowrap}.machine-summary-card span{display:block;color:var(--muted);font-size:11px;font-weight:760}.machine-workers-line{max-width:180px;margin-top:2px;overflow:hidden;color:#0f5f64!important;text-overflow:ellipsis;white-space:nowrap}.machine-summary-values{display:flex;flex-wrap:nowrap;gap:6px}.machine-summary-values span{color:#23405f;white-space:nowrap}.dashboard-note-panel{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;color:#344054;background:#fffaf0;border:1px solid #f2d38a;border-radius:8px}.dashboard-note-panel strong{color:#875000;font-size:13px;white-space:nowrap}.dashboard-note-panel span{font-size:13px;font-weight:760;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}.today-batch-panel{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px #222b450a}.today-batch-head{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid var(--border)}.today-batch-head strong{font-size:15px}.today-batch-head span{color:var(--muted);font-size:13px;font-weight:800}.today-batch-body{min-width:0;display:grid;grid-template-columns:max-content minmax(280px,1fr);align-items:stretch}.today-batch-table-wrap{min-width:0;overflow:auto}.today-batch-table{width:auto;min-width:min(100%,680px);max-width:100%;border-collapse:collapse;table-layout:auto}.today-batch-table th,.today-batch-table td{padding:4px 6px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;font-size:12px}.today-batch-table th{color:#475467;background:#f6f8fb;font-size:12px;font-weight:850;white-space:nowrap}.today-batch-table tr:last-child td{border-bottom:0}.today-batch-table td:first-child{width:90px}.today-batch-table th:first-child,.today-batch-table th:nth-child(3),.today-batch-table th:nth-child(4),.today-batch-table th:nth-child(5),.today-batch-table th:nth-child(6),.today-batch-table th:nth-child(7),.today-batch-table th:nth-child(8),.today-batch-table td:first-child,.today-batch-table td:nth-child(3),.today-batch-table td:nth-child(4),.today-batch-table td:nth-child(5),.today-batch-table td:nth-child(6),.today-batch-table td:nth-child(7),.today-batch-table td:nth-child(8){white-space:nowrap}.today-batch-table th:first-child,.today-batch-table td:first-child{width:90px}.today-batch-table th:nth-child(2),.today-batch-table td:nth-child(2){width:clamp(190px,24vw,320px)}.today-batch-table th:nth-child(3),.today-batch-table td:nth-child(3){width:58px}.today-batch-table th:nth-child(4),.today-batch-table td:nth-child(4),.today-batch-table th:nth-child(6),.today-batch-table td:nth-child(6),.today-batch-table th:nth-child(7),.today-batch-table td:nth-child(7){width:44px}.today-batch-table th:nth-child(5),.today-batch-table td:nth-child(5){width:174px}.today-batch-table th:nth-child(8),.today-batch-table td:nth-child(8){width:72px}.dashboard-quality-results{display:grid;grid-template-columns:repeat(2,minmax(78px,1fr));gap:5px;width:170px}.quality-result-chip{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px;min-height:22px;min-width:0;padding:3px 5px;border-radius:7px;font-size:11px;font-weight:850;line-height:1;white-space:nowrap;border:1px solid transparent}.quality-result-index{color:inherit;font-size:10px;font-weight:900;opacity:.72}.quality-result-weight{overflow:hidden;text-align:right;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.quality-result-chip.empty{color:#667085;background:#eef2f6}.quality-result-chip.ok{color:#14643e;background:#dff5e8}.quality-result-chip.heavy,.quality-result-chip.bad{color:#b42318;background:#ffe2e2;border-color:#f89a9a}.quality-result-chip.light{color:#8a4b00;background:#fff3d8;border-color:#f6c453}.today-batch-table .status-pill{min-width:60px;min-height:22px;padding:2px 7px;font-size:11px}.today-batch-table .attention-row{background:snow}.dashboard-chart-stack{min-width:280px;display:grid;align-content:start;background:#fbfcfe;border-left:1px solid var(--border)}.dashboard-chart-card{display:grid;gap:9px;padding:10px 12px;border-bottom:1px solid var(--border)}.dashboard-chart-card:last-child{border-bottom:0}.dashboard-chart-head,.mold-row,.loss-machine-head,.loss-product-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-chart-head strong{font-size:13px}.dashboard-chart-head span{color:var(--muted);font-size:12px;font-weight:850}.machine-mold-chart,.loss-machine-list{display:grid;gap:7px}.mold-row{display:grid;grid-template-columns:54px 76px minmax(0,1fr);min-height:46px;padding:6px 8px;background:#fff;border:1px solid #e3e9f1;border-radius:8px}.mold-row.empty{opacity:.58}.mold-row-machine,.mold-row-detail{min-width:0}.mold-row-machine strong,.loss-machine-head strong,.loss-product-row strong{display:block;color:#172033;font-size:12px;line-height:1.2}.mold-row-count{display:flex;align-items:baseline;justify-content:flex-end;gap:3px;color:#0f5f64;white-space:nowrap}.mold-row-count b{font-size:24px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}.mold-row-count span{font-size:12px;font-weight:900}.mold-row-detail{display:grid;gap:5px}.mold-row-detail>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:6px}.mold-row-detail span,.loss-product-row span{display:block;color:var(--muted);font-size:10px;font-weight:760;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mold-row-detail strong{color:#263a57;font-size:11px;font-weight:900;white-space:nowrap}.mold-bar-track{height:9px;overflow:hidden;background:#e8eef5;border-radius:999px}.mold-bar-track span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),#2f8ecf);border-radius:inherit}.loss-machine{display:grid;gap:6px;padding:7px;background:#fff8e8;border:1px solid #f3dfad;border-radius:8px}.loss-machine.empty{background:#f7f9fc;border-color:#e3e9f1}.loss-machine-head strong{font-size:12px}.loss-machine-head span{color:#9a5a00;font-size:12px;font-weight:900;white-space:nowrap}.loss-machine.empty .loss-machine-head span{color:var(--muted)}.loss-product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px}.loss-product-row{min-height:30px;padding:5px 6px;background:#ffffffd1;border-radius:7px}.loss-product-row>div{min-width:0}.loss-product-row strong{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.loss-product-row b{color:#9a5a00;font-size:14px;font-weight:900;text-align:right;white-space:nowrap}.loss-product-empty{display:grid;place-items:center;min-height:26px;color:var(--muted);background:#ffffffb8;border-radius:7px;font-size:11px;font-weight:820}.loss-empty{display:grid;place-items:center;min-height:52px;color:var(--muted);background:#eef2f6;border-radius:7px;font-size:12px;font-weight:820}.dashboard-product-cell{min-width:0;overflow-wrap:anywhere}.dashboard-product-cell strong{display:block;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.dashboard-product-cell span,.dashboard-product-cell em,.table-subtext{display:block;margin-top:1px;color:var(--muted);font-size:11px;font-style:normal;font-weight:700;line-height:1.2;overflow-wrap:anywhere;white-space:normal}.dashboard-product-cell em{color:var(--red)}.number-cell{color:#172033;font-weight:850}.dashboard-empty{margin:12px}.machine-board{display:grid;grid-template-columns:1fr;gap:10px;overflow:visible;padding-bottom:0}.machine-lane{min-width:0;display:grid;grid-template-columns:150px minmax(0,1fr);align-content:start;align-items:start;gap:10px;padding:10px;background:#f9fbfd;border:1px solid var(--border);border-radius:8px}.machine-lane-head{align-self:start;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px}.machine-lane-head strong,.batch-title-row strong{display:block;line-height:1.2}.machine-lane-head span,.batch-title-row span{color:var(--muted);font-size:12px}.batch-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.batch-card{display:grid;gap:7px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px #222b450d}.batch-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.batch-molds{padding:5px 7px;color:#35506d;background:#edf5f8;border-radius:8px;font-size:12px;font-weight:760;line-height:1.35;overflow-wrap:anywhere}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:24px;padding:3px 8px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}.status-pill.success{color:#14643e;background:#e7f7ee}.status-pill.warning{color:#875000;background:#fff3d8}.status-pill.danger{color:#9f2424;background:#ffe6e6}.status-pill.muted{color:#5c6778;background:#edf1f6}.batch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(50px,1fr));gap:6px}.risk-banner{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:8px;font-size:12px;font-weight:850}.risk-banner.danger{color:#9f2424;background:#ffe6e6}.risk-banner.warning{color:#875000;background:#fff3d8}.small-stat{display:grid;gap:3px;padding:6px 7px;background:var(--surface-soft);border-radius:8px}.small-stat em{color:var(--muted);font-size:11px;font-style:normal}.small-stat strong{font-size:14px}.quality-dots{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.quality-dot{height:22px;display:grid;place-items:center;color:#748094;background:#eef2f6;border-radius:8px;font-size:12px;font-weight:850}.quality-dot.ok{color:#fff;background:var(--green)}.quality-dot.heavy,.quality-dot.bad{color:#fff;background:var(--red)}.quality-dot.light{color:#8a4b00;background:#ffd666}.card-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px}.card-actions button,.row-action{color:#23405f;background:#fff;border:1px solid var(--border);font-size:13px;font-weight:760}.row-actions{display:flex;flex-wrap:wrap;gap:7px}.row-action.danger{color:#9f2424;border-color:#ffd3d3;background:#fff7f7}.batch-card .card-actions button{min-height:30px;gap:6px;padding:0 8px}.empty-lane{min-height:44px;display:grid;place-items:center;color:var(--muted);background:#fff;border:1px dashed var(--border-strong);border-radius:8px;font-weight:700}.two-column-view{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.form-panel,.table-panel,.side-list{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px #222b450a}.form-panel{display:grid;gap:16px;padding:16px}.compact-form{gap:14px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wide-field{grid-column:span 2}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.form-actions button{padding:0 16px}.warehouse-desktop-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.warehouse-desktop-summary>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-left:4px solid #0a7c86;border-radius:8px}.warehouse-desktop-summary span{color:var(--muted);font-size:13px;font-weight:750}.warehouse-desktop-summary strong{font-size:24px}.warehouse-desktop-meta{gap:10px}.warehouse-desktop-meta-grid{display:grid;grid-template-columns:180px 200px minmax(260px,1fr) auto;gap:12px;align-items:end}.warehouse-desktop-remark{min-width:0}.warehouse-desktop-save{min-width:186px;padding-inline:16px;white-space:nowrap}.warehouse-desktop-help{margin:0;color:var(--muted);font-size:12px;font-weight:700}.warehouse-desktop-panel{overflow:hidden}.warehouse-desktop-panel-head,.warehouse-desktop-group-head,.warehouse-desktop-history-date>button{display:flex;align-items:center;justify-content:space-between;gap:14px}.warehouse-desktop-panel-head{min-height:60px;padding:12px 16px;color:#154c55;background:#dff2f4;border-bottom:1px solid #acd8dd}.warehouse-desktop-panel-head.history{color:#78430a;background:#fff1d7;border-color:#efca80}.warehouse-desktop-panel-head strong,.warehouse-desktop-panel-head span{display:block}.warehouse-desktop-panel-head strong{font-size:17px}.warehouse-desktop-panel-head span{margin-top:2px;font-size:12px;font-weight:750}.warehouse-desktop-panel-head b{flex:0 0 auto;font-size:13px}.warehouse-desktop-group+.warehouse-desktop-group{border-top:1px solid var(--border-strong)}.warehouse-desktop-group-head{min-height:38px;padding:8px 16px;background:#f7f9fc;border-bottom:1px solid var(--border)}.warehouse-desktop-group-head span{color:var(--muted);font-size:12px;font-weight:750}.warehouse-desktop-row{display:grid;grid-template-columns:minmax(240px,1fr) repeat(3,76px) 128px 154px;gap:12px;align-items:center;justify-content:start;min-height:76px;padding:9px 16px;background:#fff;border-bottom:1px solid var(--border)}.warehouse-desktop-row:last-child{border-bottom:0}.warehouse-desktop-row.light{background:#fffaf0}.warehouse-desktop-row.heavy{background:#fff5f5}.warehouse-desktop-product{min-width:0}.warehouse-desktop-product strong,.warehouse-desktop-product span,.warehouse-desktop-number span,.warehouse-desktop-number strong{display:block}.warehouse-desktop-product strong{overflow-wrap:anywhere;font-size:15px}.warehouse-desktop-product span,.warehouse-desktop-number span,.warehouse-desktop-input{color:var(--muted);font-size:12px;font-weight:750}.warehouse-desktop-product span{margin-top:4px}.warehouse-desktop-number{text-align:center}.warehouse-desktop-number strong{margin-top:3px;color:var(--text);font-size:16px}.warehouse-desktop-number.due strong{color:#9a5800}.warehouse-desktop-input{display:grid;gap:5px}.warehouse-desktop-input input{width:100%;min-height:38px;padding:7px 9px;color:var(--text);text-align:center;font-size:16px;font-weight:850}.warehouse-desktop-input input.light{color:#8a4b00;background:#fff8e8;border-color:#f6c453}.warehouse-desktop-input input.heavy{color:#b42318;background:#fff1f1;border-color:#f89a9a}.warehouse-status-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 10px;color:#526074;background:#f7f9fc;border:1px solid var(--border-strong);border-radius:7px;font-size:12px;font-weight:800;cursor:pointer}.warehouse-status-toggle:hover{color:#0a6876;background:#eef8f8;border-color:#85c4ca}.warehouse-status-toggle.marked{color:#8a4b00;background:#fff4d8;border-color:#e8b751}.warehouse-status-editor{grid-column:1 / -1;display:grid;grid-template-columns:190px minmax(360px,1fr) minmax(220px,300px);gap:12px;align-items:end;width:100%;padding:12px;background:#f7fbfc;border:1px solid #b9dfe2;border-radius:7px}.warehouse-status-editor.invalid{background:#fff5f5;border-color:#f1a0a0}.warehouse-status-editor-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.warehouse-status-editor-head>div{display:grid;gap:3px;padding:8px 10px;background:#fff;border:1px solid var(--border);border-radius:6px}.warehouse-status-editor-head span,.warehouse-status-editor label{color:var(--muted);font-size:11px;font-weight:800}.warehouse-status-editor-head strong{color:#0a6876;font-size:18px}.warehouse-status-editor-head em{grid-column:1 / -1;color:#b42318;font-size:11px;font-style:normal;font-weight:800}.warehouse-status-inputs{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:8px}.warehouse-status-inputs label,.warehouse-status-note{display:grid;gap:4px}.warehouse-status-inputs input,.warehouse-status-note input{width:100%;min-height:36px;padding:6px 8px;color:var(--text);background:#fff}.warehouse-status-inputs input{text-align:center;font-size:15px;font-weight:850}.warehouse-desktop-history-date+.warehouse-desktop-history-date{border-top:1px solid var(--border)}.warehouse-desktop-history-date>button{width:100%;min-height:52px;padding:9px 16px;color:var(--text);background:#fffaf2;border:0;border-radius:0;text-align:left;cursor:pointer}.warehouse-desktop-history-date>button:hover{background:#fff4df}.warehouse-desktop-history-date>button strong,.warehouse-desktop-history-date>button span{display:block}.warehouse-desktop-history-date>button span{margin-top:2px;color:#8a5a1f;font-size:12px;font-weight:750}.warehouse-desktop-history-rows{border-top:1px solid var(--border)}.warehouse-outbound-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.warehouse-dual-stock-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.warehouse-outbound-summary>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-left:4px solid #0a7c86;border-radius:8px}.warehouse-outbound-summary span{color:var(--muted);font-size:13px;font-weight:750}.warehouse-outbound-summary strong{font-size:24px}.warehouse-outbound-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.warehouse-inventory-filters{grid-template-columns:minmax(240px,1fr) minmax(180px,240px);align-items:end}.warehouse-inventory-search>div{position:relative}.warehouse-inventory-search svg{position:absolute;left:11px;top:50%;color:var(--muted);transform:translateY(-50%);pointer-events:none}.warehouse-inventory-search input{width:100%;padding-left:37px}.warehouse-inventory-panel{overflow:hidden}.warehouse-inventory-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:11px 16px;background:#f7f9fc;border-bottom:1px solid var(--border)}.warehouse-inventory-head strong,.warehouse-inventory-head span{display:block}.warehouse-inventory-head strong{font-size:17px}.warehouse-inventory-head span{margin-top:2px;color:var(--muted);font-size:12px;font-weight:750}.warehouse-inventory-head b{flex:0 0 auto;font-size:13px}.warehouse-inventory-list{display:grid}.warehouse-inventory-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,210px) 156px 22px;gap:12px;align-items:center;min-height:72px;padding:10px 16px;color:var(--text);background:#fff;border:0;border-bottom:1px solid var(--border);border-radius:0;text-align:left;cursor:pointer}.warehouse-inventory-row:last-child{border-bottom:0}.warehouse-inventory-row:hover{background:#f7fbfc}.warehouse-inventory-row.selected{background:#e8f6f7;box-shadow:inset 4px 0 #0a7c86}.warehouse-inventory-product,.warehouse-inventory-customers{min-width:0}.warehouse-inventory-product strong,.warehouse-inventory-product span,.warehouse-inventory-customers span,.warehouse-inventory-customers strong,.warehouse-inventory-stock span,.warehouse-inventory-stock strong{display:block}.warehouse-inventory-product strong{overflow-wrap:anywhere;font-size:15px}.warehouse-inventory-product span,.warehouse-inventory-customers span,.warehouse-inventory-stock span{margin-top:3px;color:var(--muted);font-size:12px;font-weight:750}.warehouse-marked-summary{display:block;margin-top:5px;color:#9a5800;overflow-wrap:anywhere;font-size:11px;font-weight:850}.warehouse-inventory-customers strong{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.warehouse-inventory-stock{text-align:right}.warehouse-inventory-stock-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.warehouse-inventory-stock-pair>div:first-child strong{color:#2558d3}.warehouse-inventory-stock strong{margin-top:2px;color:#0a6876;font-size:22px}.warehouse-inventory-row>svg{color:#0a7c86}.warehouse-outbound-form{position:sticky;top:84px;align-content:start}.warehouse-outbound-form textarea{min-height:72px;resize:vertical}.warehouse-outbound-form>p{margin:0;color:var(--muted);font-size:12px;font-weight:700}.warehouse-outbound-form>.primary-button{width:100%}.warehouse-concession-confirm{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;padding:10px;color:#7a4800!important;background:#fff6df;border:1px solid #efc975;border-radius:7px;line-height:1.45}.warehouse-concession-confirm input{width:17px;height:17px;margin-top:1px;flex:0 0 auto}.warehouse-inventory-status{display:inline-flex;width:fit-content;margin-top:4px;padding:2px 7px;color:#31616a;background:#e8f5f6;border-radius:999px;font-size:10px;font-weight:850}.warehouse-inventory-status:not(.status-standard){color:#8a4b00;background:#fff0c9}.warehouse-outbound-selected{display:grid;gap:4px;padding:14px;background:#eef7f8;border:1px solid #b8dfe2;border-radius:8px}.warehouse-outbound-selected span,.warehouse-outbound-selected em{color:var(--muted);font-size:12px;font-style:normal;font-weight:750}.warehouse-outbound-selected strong{overflow-wrap:anywhere;font-size:18px}.warehouse-outbound-selected strong.empty{color:var(--muted);font-size:15px}.warehouse-outbound-selected b{margin-top:4px;color:#0a6876;font-size:16px}.warehouse-count-toolbar{grid-template-columns:minmax(220px,1.2fr) minmax(150px,.7fr) auto minmax(180px,1fr) auto;align-items:end}.warehouse-count-stock-toggle{min-height:42px;padding-bottom:9px}.warehouse-count-save{min-height:42px;white-space:nowrap}.warehouse-count-panel,.warehouse-transaction-panel{overflow:hidden}.warehouse-count-head,.warehouse-count-row{display:grid;grid-template-columns:minmax(220px,1fr) 94px 94px 168px 150px 82px;gap:12px;align-items:center}.warehouse-count-head{min-height:42px;padding:8px 16px;color:var(--muted);background:#f7f9fc;border-bottom:1px solid var(--border);font-size:12px;font-weight:800}.warehouse-count-head span:not(:first-child){text-align:right}.warehouse-count-row{min-height:72px;padding:9px 16px;border-bottom:1px solid var(--border)}.warehouse-count-row:last-child{border-bottom:0}.warehouse-count-product,.warehouse-count-last{min-width:0}.warehouse-count-product strong,.warehouse-count-product span,.warehouse-count-theoretical span,.warehouse-count-theoretical strong,.warehouse-count-book span,.warehouse-count-book strong,.warehouse-count-last strong,.warehouse-count-last span,.warehouse-count-difference span,.warehouse-count-difference strong{display:block}.warehouse-count-product strong{overflow-wrap:anywhere;font-size:15px}.warehouse-count-product span,.warehouse-count-theoretical span,.warehouse-count-book span,.warehouse-count-last span,.warehouse-count-difference span{margin-top:3px;color:var(--muted);font-size:11px;font-weight:750}.warehouse-count-product span,.warehouse-count-last span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-count-theoretical,.warehouse-count-book,.warehouse-count-last,.warehouse-count-difference{text-align:right}.warehouse-count-theoretical strong,.warehouse-count-book strong,.warehouse-count-difference strong{margin-top:2px;font-size:20px}.warehouse-count-theoretical strong{color:#2558d3}.warehouse-count-last strong{font-size:15px}.warehouse-count-input{color:var(--muted);font-size:11px;font-weight:800}.warehouse-count-input input{min-height:40px;margin-top:3px;text-align:right;font-size:16px;font-weight:800}.warehouse-count-difference.positive strong{color:#087a69}.warehouse-count-difference.negative strong{color:#c43b42}.warehouse-transaction-filters{grid-template-columns:142px 142px 120px minmax(150px,210px) minmax(200px,1fr) auto;align-items:end}.warehouse-transaction-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.warehouse-transaction-head,.warehouse-transaction-row{display:grid;grid-template-columns:150px minmax(180px,1fr) minmax(130px,180px) 120px 76px;gap:12px;align-items:center}.warehouse-transaction-head{min-height:42px;padding:8px 14px;color:var(--muted);background:#f7f9fc;border-bottom:1px solid var(--border);font-size:12px;font-weight:800}.warehouse-transaction-head span:last-child{text-align:right}.warehouse-transaction-row{width:100%;min-height:68px;padding:9px 14px;color:var(--text);background:#fff;border:0;border-bottom:1px solid var(--border);border-radius:0;text-align:left;cursor:pointer}.warehouse-transaction-row:hover{background:#f7fbfc}.warehouse-transaction-row.selected{background:#e8f6f7;box-shadow:inset 4px 0 #0a7c86}.warehouse-transaction-type,.warehouse-transaction-product,.warehouse-transaction-party{min-width:0}.warehouse-transaction-type{display:flex;align-items:center;gap:7px}.warehouse-transaction-type .status-pill{flex:0 0 auto}.warehouse-transaction-type>span,.warehouse-transaction-product span,.warehouse-transaction-party span{color:var(--muted);font-size:11px;font-weight:750}.warehouse-transaction-product strong,.warehouse-transaction-product span,.warehouse-transaction-party strong,.warehouse-transaction-party span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-transaction-product strong,.warehouse-transaction-party strong{font-size:14px}.warehouse-transaction-product span,.warehouse-transaction-party span{margin-top:3px}.warehouse-transaction-document{overflow:hidden;color:#344054;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.warehouse-transaction-quantity{text-align:right;font-size:19px;font-weight:850}.warehouse-transaction-edit{position:sticky;top:84px;align-content:start}.warehouse-transaction-edit textarea{min-height:78px;resize:vertical}.warehouse-transaction-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.warehouse-transaction-actions button{width:100%;padding:0 10px}.warehouse-transaction-empty-edit{display:grid;place-items:center;gap:8px;min-height:190px;color:var(--muted)}.warehouse-transaction-empty-edit strong{font-size:14px}.checkbox-field{align-content:end;grid-template-columns:auto minmax(0,1fr);column-gap:9px}.checkbox-field input{width:18px;min-height:18px;padding:0}.checkbox-field span{color:#344054;font-size:13px;font-weight:760}.side-list{overflow:hidden}.side-list-head{padding:15px 16px;border-bottom:1px solid var(--border)}.side-list h3{margin:0;font-size:16px}.side-list-body{display:grid;gap:8px;padding:12px;max-height:calc(100vh - 160px);overflow:auto}.select-row,.history-row,.side-total{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:8px;text-align:left}.select-row strong,.history-row strong{display:block;margin-bottom:3px}.select-row em,.history-row em{display:block;color:var(--muted);font-size:12px;font-style:normal}.select-row b,.history-row b{white-space:nowrap}.side-total{background:#edf9fa;border-color:#bfe7ea}.side-total span{color:#27606b;font-weight:800}.side-total strong{color:#075d68;font-size:24px}.table-panel{overflow:auto}.source-note{display:grid;gap:5px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-left:4px solid var(--teal);border-radius:8px}.source-note.warning{border-left-color:var(--amber);background:#fffaf0}.source-note span{color:var(--text);font-weight:800}.source-note small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.inline-add-product{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:end;padding:14px;background:#fff;border:1px solid var(--border);border-radius:8px}.inline-add-product label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:650}.inline-add-product button{padding:0 14px}.production-note-panel,.machine-worker-panel{display:grid;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:8px}.production-note-panel textarea{min-height:74px;border:0;border-radius:0;resize:vertical}.machine-worker-panel{gap:0}.machine-worker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-top:1px solid var(--border)}.machine-worker-row{min-width:0;display:grid;gap:7px;padding:10px;border-right:1px solid var(--border)}.machine-worker-row:last-child{border-right:0}.machine-worker-row>strong{color:#172033;font-size:13px;line-height:1.2}.worker-choice-list{display:flex;flex-wrap:wrap;gap:5px}.worker-chip{display:inline-flex;align-items:center;gap:4px;min-height:25px;padding:3px 7px;color:#344054;background:#f3f6fa;border:1px solid #d7e0ea;border-radius:999px;cursor:pointer;font-size:12px;font-weight:800;white-space:nowrap}.worker-chip.active{color:#0f5f64;background:#daf5ef;border-color:#70c8ba}.worker-chip input{width:13px;height:13px;margin:0;accent-color:var(--teal)}.worker-add-form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px;align-items:end;padding:10px;border-top:1px solid var(--border);background:#fbfcfe}.worker-add-form label{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:650}.worker-add-form button{min-height:42px;padding:0 14px}.schedule-builder{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px;align-items:start}.machine-selector,.product-picker,.plan-panel{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px #222b450a}.machine-selector{grid-column:1 / -1;display:grid;gap:12px;padding:14px}.machine-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.machine-tabs button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#28415e;background:#f7f9fc;border:1px solid var(--border);border-radius:8px;font-weight:800}.machine-tabs button.active{color:#fff;background:#0a6876;border-color:#0a6876}.product-picker{display:grid;gap:12px;padding:14px}.filter-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr);gap:12px}.filter-grid label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:650}.search-field span{position:relative;display:block}.search-field svg{position:absolute;left:11px;top:50%;color:var(--muted);transform:translateY(-50%);pointer-events:none}.search-field input{padding-left:34px}.product-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px;font-weight:800}.product-result-list{display:grid;gap:8px;max-height:520px;overflow:auto}.product-result-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px;align-items:center;padding:10px;background:#fff;border:1px solid var(--border);border-radius:8px}.product-result-row>div,.plan-product{min-width:0}.product-result-row strong,.plan-product strong{display:block;line-height:1.25}.product-result-row span,.plan-product span{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:700}.product-result-row em{display:block;margin-top:4px;color:#386174;font-size:12px;font-style:normal;overflow-wrap:anywhere}.icon-add-button{width:38px;height:38px;display:grid;place-items:center;color:#fff;background:#0a6876;border:1px solid #0a6876;border-radius:8px}.plan-panel{overflow:hidden}.plan-machine-list{display:grid;gap:12px;padding:14px;max-height:560px;overflow:auto}.plan-machine-group{display:grid;gap:8px;padding:10px;background:#f8fbfd;border:1px solid var(--border);border-radius:8px}.plan-machine-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-machine-head span{color:var(--muted);font-size:12px;font-weight:800}.plan-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(96px,.65fr) minmax(96px,.65fr) 90px minmax(96px,.65fr) auto;gap:8px;align-items:center;padding:9px;background:#fff;border:1px solid var(--border);border-radius:8px}.plan-row input{min-height:36px}.plan-row-tools{display:inline-flex;justify-content:flex-end;gap:4px;white-space:nowrap}.plan-row-tools .icon-button{width:30px;min-height:30px;padding:0}.plan-actions{padding:0 14px 14px}.simple-section-head,.table-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.simple-section-head strong,.table-title-row strong{font-size:16px}.simple-section-head span,.table-title-row span{color:var(--muted);font-size:13px;font-weight:800}.table-title-row{padding:14px 16px;border-bottom:1px solid var(--border)}.table-title-actions{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.compact-button{min-height:34px;padding:0 12px}.data-table{width:100%;min-width:850px;border-collapse:collapse}.data-table th,.data-table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;font-size:14px}.data-table th{color:#475467;background:#f6f8fb;font-size:12px;font-weight:850}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-weight:850}.quality-table{min-width:1120px}.finance-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:16px;align-items:start}.inline-title{padding:0;border-bottom:0}.product-admin-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:16px;align-items:start}.product-admin-list-panel{min-width:0;display:grid;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px #222b450a}.product-admin-filters{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,.8fr)}.product-admin-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-admin-head span{color:var(--muted);font-size:13px;font-weight:800}.product-admin-list{display:grid;gap:8px;max-height:calc(100vh - 255px);overflow:auto}.product-admin-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:8px;text-align:left}.product-admin-row.active{border-color:#80c8d0;box-shadow:0 0 0 3px #087f8c1f}.product-admin-row span{min-width:0}.product-admin-row strong,.product-admin-row em,.product-admin-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-admin-row strong{line-height:1.25}.product-admin-row em,.product-admin-row small{margin-top:3px;color:var(--muted);font-size:12px;font-style:normal;font-weight:700}.product-admin-row b{color:#23405f;font-size:12px;white-space:nowrap}.product-admin-row b.muted{color:var(--muted)}.product-admin-form{position:sticky;top:20px}.finance-table{min-width:940px}.small-input{width:84px;min-height:34px;padding:6px 8px}.small-input.heavy,.small-input.danger{color:#b42318;background:#fff1f1;border-color:#f89a9a;font-weight:800}.small-input.light{color:#8a4b00;background:#fff8e8;border-color:#f6c453;font-weight:800}.quantity-input{width:120px}.weight-input{width:112px}.quality-mobile-shell{min-height:100vh;padding:12px 12px 88px;background:#eef2f6}.quality-mobile-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-12px -12px 12px;padding:12px;background:#eef2f6f5;border-bottom:1px solid var(--border)}.quality-mobile-header span{display:block;color:var(--muted);font-size:12px;font-weight:800}.quality-mobile-header strong{display:block;margin-top:2px;font-size:20px;line-height:1.15}.quality-mobile-header button{min-height:38px;padding:0 13px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:8px;font-weight:800}.quality-mobile-controls{display:grid;gap:10px;margin-bottom:12px}.quality-mobile-controls label{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:800}.quality-mobile-controls input,.quality-mobile-card input{min-height:46px;font-size:16px}.quality-mobile-slots,.quality-mobile-hardness{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.quality-mobile-slots button,.quality-mobile-hardness button{min-height:44px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:8px;font-weight:850}.quality-mobile-slots button.active,.quality-mobile-hardness button.active{color:#fff;background:#0a6876;border-color:#0a6876}.quality-mobile-progress,.quality-mobile-message,.quality-mobile-empty{padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:8px}.quality-mobile-progress{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px}.quality-mobile-progress strong{color:var(--text)}.quality-mobile-message{margin-bottom:12px;font-weight:800}.quality-mobile-message.success{color:#14643e;background:#e7f7ee;border-color:#bfe9cf}.quality-mobile-message.error{color:#b42318;background:#fff1f1;border-color:#f89a9a}.quality-mobile-list{display:grid;gap:10px}.quality-mobile-card{display:grid;gap:10px;padding:12px;background:#fff;border:1px solid var(--border);border-radius:8px}.quality-mobile-card.light{border-color:#f6c453;background:#fffaf0}.quality-mobile-card.heavy{border-color:#f89a9a;background:#fff8f8}.quality-mobile-card-head{display:flex;justify-content:space-between;gap:10px}.quality-mobile-card-head strong{display:block;font-size:17px;line-height:1.25}.quality-mobile-card-head span,.quality-mobile-standard{color:var(--muted);font-size:12px;font-weight:750}.quality-mobile-result{align-self:start;min-width:52px;padding:5px 7px;border-radius:8px;color:#667085;background:#eef2f6;text-align:center;font-size:12px;font-weight:900;white-space:nowrap}.quality-mobile-result.ok{color:#14643e;background:#dff5e8}.quality-mobile-result.light{color:#8a4b00;background:#fff3d8}.quality-mobile-result.heavy,.quality-mobile-result.bad{color:#b42318;background:#ffe2e2}.quality-mobile-form-row{display:grid;grid-template-columns:minmax(112px,.75fr) minmax(0,1.25fr);gap:10px;align-items:end}.quality-mobile-form-row label{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:850}.quality-mobile-card input.light{color:#8a4b00;background:#fff8e8;border-color:#f6c453;font-weight:900}.quality-mobile-card input.heavy{color:#b42318;background:#fff1f1;border-color:#f89a9a;font-weight:900}.quality-mobile-hardness{grid-template-columns:repeat(3,minmax(0,1fr))}.quality-mobile-footer{position:fixed;left:0;right:0;bottom:0;z-index:6;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#eef2f6f5;border-top:1px solid var(--border)}.quality-mobile-footer .primary-button{width:100%;min-height:50px;font-size:16px}.production-mobile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.production-mobile-summary div,.production-mobile-note,.production-mobile-machine{background:#fff;border:1px solid var(--border);border-radius:8px}.production-mobile-summary div{display:grid;gap:4px;padding:10px 12px}.production-mobile-summary span,.production-mobile-note span,.production-mobile-card span,.production-mobile-card em,.production-mobile-machine-head span{color:var(--muted);font-size:12px;font-weight:800;font-style:normal}.production-mobile-summary strong{color:var(--text);font-size:20px;line-height:1.1}.production-mobile-note{display:grid;gap:8px;margin-bottom:12px;padding:12px}.production-mobile-note>div,.production-mobile-machine-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-mobile-note strong,.production-mobile-machine-head strong{color:var(--text);font-size:15px}.production-mobile-note textarea{min-height:78px;resize:vertical;font-size:16px;line-height:1.45}.production-mobile-list{display:grid;gap:12px}.production-mobile-machine{overflow:hidden}.production-mobile-machine-head{padding:10px 12px;background:#f8fafc;border-bottom:1px solid var(--border)}.production-mobile-card-list{display:grid}.production-mobile-card{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;align-items:center;padding:11px 12px;border-bottom:1px solid var(--border)}.production-mobile-card:last-child{border-bottom:0}.warehouse-mobile-card.light{background:#fffaf0}.warehouse-mobile-card.heavy{background:#fff8f8}.warehouse-mobile-card.overdue{box-shadow:inset 3px 0 #e39b28}.warehouse-mobile-card>.warehouse-status-toggle,.warehouse-mobile-card>.warehouse-status-editor{grid-column:1 / -1}.warehouse-mobile-card>.warehouse-status-toggle{justify-self:stretch;min-height:34px}.warehouse-status-editor.compact{grid-template-columns:1fr;gap:10px}.warehouse-status-editor.compact .warehouse-status-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-mobile-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px;padding:11px 12px;color:#154c55;background:#dff2f4;border:1px solid #acd8dd;border-radius:8px}.warehouse-mobile-section-title>div{min-width:0}.warehouse-mobile-section-title strong,.warehouse-mobile-section-title span{display:block}.warehouse-mobile-section-title strong{font-size:16px}.warehouse-mobile-section-title span{margin-top:2px;font-size:12px;font-weight:750}.warehouse-mobile-section-title b{flex:0 0 auto;font-size:13px}.warehouse-mobile-section-title.overdue{margin-top:6px;color:#78430a;background:#fff1d7;border-color:#efca80}.warehouse-mobile-overdue-group .production-mobile-machine-head{background:#fff9ee}button.warehouse-mobile-date-toggle{width:100%;color:var(--text);border:0;border-radius:0;text-align:left;cursor:pointer}.warehouse-mobile-date-toggle>div{min-width:0}.warehouse-mobile-date-toggle strong,.warehouse-mobile-date-toggle span{display:block}.warehouse-mobile-date-toggle span{margin-top:2px}.warehouse-mobile-clear{color:#14643e;background:#e7f7ee;border-color:#bfe9cf;font-weight:800}.production-mobile-card-main{min-width:0}.production-mobile-card-main strong,.production-mobile-card-main span,.production-mobile-card-main em{display:block}.production-mobile-card-main strong{overflow-wrap:anywhere;color:var(--text);font-size:16px;line-height:1.25}.production-mobile-card-main span{margin-top:4px}.production-mobile-card-main em{margin-top:3px}.production-mobile-qty{display:grid;gap:5px;color:#344054;font-size:12px;font-weight:900}.production-mobile-qty input{width:100%;min-height:48px;padding-inline:8px;text-align:center;font-size:20px;font-weight:900}.warehouse-mobile-qty input.light{color:#8a4b00;background:#fff8e8;border-color:#f6c453}.warehouse-mobile-qty input.heavy{color:#b42318;background:#fff1f1;border-color:#f89a9a}.warehouse-mobile-note textarea{min-height:58px}@media(max-width:380px){.quality-mobile-shell{padding-inline:8px}.quality-mobile-form-row{grid-template-columns:1fr}.production-mobile-card{grid-template-columns:minmax(0,1fr) 92px;padding-inline:10px}}.empty-cell{height:96px;color:var(--muted);text-align:center!important;font-weight:800}@media(max-width:1180px){.app-shell{grid-template-columns:84px minmax(0,1fr)}.brand span,.brand strong,.nav-item span,.sidebar-user div{display:none}.brand,.nav-item,.sidebar-user{justify-content:center}.brand{padding-bottom:14px}.today-batch-body{grid-template-columns:1fr}.dashboard-chart-stack{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border);border-left:0}.dashboard-chart-card{border-bottom:0}.dashboard-chart-card+.dashboard-chart-card{border-left:1px solid var(--border)}.metric-grid,.report-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpis,.machine-summary-grid,.machine-worker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.machine-worker-row:nth-child(3n){border-right:0}.two-column-view{grid-template-columns:1fr}.warehouse-desktop-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-desktop-remark{grid-column:span 2}.warehouse-desktop-save{justify-self:start}.warehouse-desktop-row{grid-template-columns:minmax(200px,1fr) repeat(3,64px) 116px 132px;gap:8px;padding-inline:12px}.warehouse-outbound-layout{grid-template-columns:minmax(0,1fr) 320px}.warehouse-count-toolbar{grid-template-columns:minmax(220px,1fr) minmax(150px,220px) auto}.warehouse-count-remark{grid-column:1 / 3}.warehouse-count-head,.warehouse-count-row{grid-template-columns:minmax(190px,1fr) 72px 72px 138px 126px 66px;gap:9px}.warehouse-transaction-filters{grid-template-columns:repeat(3,minmax(130px,1fr))}.warehouse-transaction-search{grid-column:span 2}.warehouse-transaction-layout{grid-template-columns:minmax(0,1fr) 300px}.warehouse-transaction-head,.warehouse-transaction-row{grid-template-columns:132px minmax(160px,1fr) minmax(110px,150px) 76px;gap:9px}.warehouse-transaction-head span:nth-child(4),.warehouse-transaction-document{display:none}.finance-layout,.product-admin-layout{grid-template-columns:1fr}.product-admin-form{position:static}.schedule-builder{grid-template-columns:minmax(280px,.92fr) minmax(300px,1.08fr);gap:10px}.product-picker,.plan-machine-list{padding:12px}.product-result-list,.plan-machine-list{max-height:calc(100vh - 340px)}.plan-row{grid-template-areas:"product tools" "customer mold" "weight remark";grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.plan-row .plan-product{grid-area:product}.plan-row input:nth-of-type(1){grid-area:customer}.plan-row input:nth-of-type(2){grid-area:mold}.plan-row input:nth-of-type(3){grid-area:weight}.plan-row input:nth-of-type(4){grid-area:remark}.plan-row-tools{grid-area:tools;justify-self:end}.side-list-body{max-height:420px}}@media(max-width:980px){.warehouse-outbound-layout{grid-template-columns:minmax(0,1fr) 292px}.warehouse-inventory-row{grid-template-columns:minmax(150px,1fr) 144px 22px}.warehouse-inventory-customers{display:none}.warehouse-desktop-row{grid-template-columns:minmax(180px,1fr) repeat(3,56px) 108px 116px;gap:6px}.warehouse-status-editor{grid-template-columns:170px minmax(300px,1fr)}.warehouse-status-note{grid-column:1 / -1}.warehouse-count-head,.warehouse-count-row{grid-template-columns:minmax(175px,1fr) 64px 64px 112px 112px 60px;padding-inline:11px}.warehouse-count-last span{white-space:normal}.warehouse-transaction-layout{grid-template-columns:minmax(0,1fr) 276px}.warehouse-transaction-head,.warehouse-transaction-row{grid-template-columns:112px minmax(140px,1fr) 70px}.warehouse-transaction-head span:nth-child(3),.warehouse-transaction-party{display:none}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;display:grid;grid-template-columns:1fr;gap:12px;padding:12px}.brand strong,.brand span,.nav-item span,.sidebar-user div{display:block}.nav-list{display:flex;gap:8px;margin-top:0;overflow-x:auto}.nav-item{width:auto;min-width:max-content}.warehouse-desktop-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.warehouse-desktop-summary>div{display:grid;gap:6px;padding:10px}.warehouse-desktop-meta-grid{grid-template-columns:1fr}.warehouse-desktop-remark{grid-column:auto}.warehouse-desktop-row{grid-template-columns:repeat(3,minmax(0,1fr)) 116px;gap:8px;justify-content:stretch}.warehouse-desktop-product{grid-column:1 / 4}.warehouse-desktop-input{grid-column:4;grid-row:1 / 3}.warehouse-desktop-row>.warehouse-status-toggle{grid-column:1 / 4}.warehouse-status-editor{grid-template-columns:1fr}.warehouse-status-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-outbound-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.warehouse-dual-stock-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-outbound-summary>div{display:grid;gap:6px;padding:10px}.warehouse-outbound-layout{display:flex;flex-direction:column}.warehouse-outbound-layout>.view-stack{width:100%}.warehouse-outbound-form{position:static;order:-1;width:100%}.warehouse-count-toolbar{grid-template-columns:1fr}.warehouse-count-remark{grid-column:auto}.warehouse-count-stock-toggle{min-height:auto;padding-bottom:0}.warehouse-count-head{display:none}.warehouse-count-row{grid-template-columns:repeat(4,minmax(58px,1fr)) 108px;gap:6px;min-height:104px}.warehouse-count-product{grid-column:1 / 5}.warehouse-count-theoretical,.warehouse-count-book,.warehouse-count-last,.warehouse-count-difference{text-align:left}.warehouse-count-input{grid-column:5;grid-row:1 / 3}.warehouse-transaction-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-transaction-search{grid-column:1 / -1}.warehouse-transaction-layout{display:flex;flex-direction:column}.warehouse-transaction-edit{position:static;order:-1;width:100%}.warehouse-transaction-empty-edit{min-height:96px}.warehouse-transaction-head,.warehouse-transaction-row{grid-template-columns:112px minmax(0,1fr) 70px}.warehouse-inventory-filters{grid-template-columns:1fr}.warehouse-inventory-row{grid-template-columns:minmax(0,1fr) 124px 22px;padding-inline:12px}.warehouse-inventory-stock-pair{gap:6px}.warehouse-inventory-stock strong{font-size:18px}.sidebar-user{display:none}.main-panel{padding:14px}.topbar{align-items:stretch;flex-direction:column}.topbar-actions,.date-control{width:100%;justify-content:space-between}.date-control input{width:180px}.metric-grid,.report-strip,.form-grid,.dashboard-kpis,.machine-summary-grid,.machine-worker-grid,.worker-add-form{grid-template-columns:1fr}.machine-worker-row{border-right:0;border-bottom:1px solid var(--border)}.machine-worker-row:last-child{border-bottom:0}.dashboard-chart-stack{grid-template-columns:1fr}.dashboard-chart-card+.dashboard-chart-card{border-top:1px solid var(--border);border-left:0}.wide-field{grid-column:span 1}.inline-add-product,.machine-tabs,.filter-grid,.product-admin-filters,.machine-lane,.batch-list{grid-template-columns:1fr}.product-result-list,.plan-machine-list{max-height:none}.view-header{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.schedule-builder{grid-template-columns:1fr}.product-result-list,.plan-machine-list{max-height:none}}
