:root{color-scheme:light;--pm-blue: #4A7BB5;--pm-green: #3aab48;--pm-orange: #E39324;--pm-blue-lt: #E8F2FC;--pm-blue-dk: #2B5F9E;--pm-green-lt: #E8F5E9;--pm-green-dk: #2E7D32;--pm-orange-lt: #FFF8E7;--pm-orange-dk: #C77700;--err: #DC2626;--err-lt: #FEE2E2;--bg: #F5F9FC;--bg2: #FFFFFF;--card: #FFFFFF;--border: #D4E4F0;--border-lt: #E8F1F7;--text: #1a365d;--text2: #4a5568;--r: 8px;--rlg: 12px;--sans: "Fira Sans", system-ui, sans-serif;--head: "Inter", "Fira Sans", system-ui, sans-serif;--mono: "JetBrains Mono", monospace;--shadow: 0 1px 4px rgba(74,123,181,.06), 0 2px 8px rgba(0,0,0,.04);--shadow-lg: 0 12px 32px rgba(74,123,181,.1);font-family:var(--sans)}*{box-sizing:border-box}button,input,select,textarea{font-family:inherit}.app-lang-fixed{position:fixed;top:8px;right:8px;z-index:9999;padding:4px}.app-root:has(.operator-shell) .app-lang-fixed{display:none}[dir=rtl] .language-selector-sheet .bsheet-item span:first-of-type{text-align:right}:lang(ar){font-family:"Noto Sans Arabic",var(--sans)}:lang(ne){font-family:"Noto Sans Devanagari",var(--sans)}html,body,#root{margin:0;height:100%}body{background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh;gap:0}.sidebar{background:linear-gradient(180deg,#fff,#f8fcff);border-right:1px solid var(--border);padding:20px 16px;position:sticky;top:0;height:100vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:2px 0 12px #4a7bb50a}.sidebar-nav-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}.sidebar-nav-scroll::-webkit-scrollbar{display:none}.sidebar-search{position:relative;flex-shrink:0;padding:0 4px 12px;border-bottom:1px solid rgba(0,0,0,.06);margin-bottom:10px}.sidebar-search-input{width:100%;padding:6px 26px 6px 10px;font-size:13px;border:1px solid rgba(0,0,0,.12);border-radius:6px;background:#fff9;outline:none;transition:border-color .15s ease,background .15s ease}.sidebar-search-input:focus{border-color:#00000047;background:#fff}.sidebar-search-input::-webkit-search-cancel-button,.sidebar-search-input::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none}.sidebar-search-clear{position:absolute;top:4px;right:8px;width:20px;height:20px;padding:0;border:none;background:transparent;font-size:18px;line-height:1;color:#00000073;cursor:pointer}.sidebar-search-clear:hover{color:#000000bf}.sidebar-search-empty-note{margin-top:6px;font-size:11px;color:#00000073;font-style:italic}.admin-shell.theme-dark .sidebar-search{border-bottom-color:#ffffff14}.admin-shell.theme-dark .sidebar-search-input{background:#ffffff0a;border-color:#ffffff24;color:#f1f5f9}.admin-shell.theme-dark .sidebar-search-input:focus{background:#ffffff14;border-color:#ffffff52}.admin-shell.theme-dark .sidebar-search-clear{color:#ffffff73}.admin-shell.theme-dark .sidebar-search-clear:hover{color:#fffc}.admin-shell.theme-dark .sidebar-search-empty-note{color:#ffffff73}.sidebar-title{font-weight:600;font-size:15px;margin:0 0 12px;padding:0 4px;display:flex;align-items:center}.sidebar-logo{display:block;width:160px;height:auto;max-width:100%}.sidebar-section{margin-bottom:16px}.sidebar-section-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1.2px;color:var(--text2);padding:12px 12px 6px 14px;margin-top:8px;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;gap:10px;-webkit-user-select:none;user-select:none}.sidebar-section-label:hover{color:var(--pm-blue-dk)}.sidebar-expand-glyph{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:18px;line-height:0;opacity:.85}.sidebar-expand-icon{display:block}.sidebar-list{list-style:none;padding:0;margin:0;display:grid;gap:4px}.sidebar-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text2);padding:10px 14px;border-radius:var(--r);border:1px solid transparent;font-size:13px;transition:background .15s,color .15s}.sidebar-link:hover{background:var(--pm-blue-lt);color:var(--pm-blue-dk);border-color:transparent}.sidebar-link.active{background:linear-gradient(135deg,var(--pm-blue) 0%,var(--pm-blue-dk) 100%);color:#fff;font-weight:600}.sidebar-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.7}.sidebar-link.active .sidebar-icon{opacity:1}.sidebar-link-row{display:flex;align-items:stretch;gap:2px}.sidebar-link-row .sidebar-link{flex:1;min-width:0}.sidebar-fav-block{padding-top:4px}.sidebar-fav-star{flex-shrink:0;align-self:center;border:none;background:transparent;padding:4px 5px;margin:0;cursor:pointer;color:var(--text2);display:inline-flex;align-items:center;justify-content:center;line-height:0}.sidebar-fav-star:hover{color:var(--pm-blue-dk)}.sidebar-fav-star:focus-visible{outline:2px solid var(--pm-blue);outline-offset:2px}.admin-content{padding:24px 28px 40px;display:grid;gap:20px;overflow-y:auto;height:100vh;background:var(--bg)}.admin-header{display:flex;align-items:center;justify-content:space-between}.shell-page{padding:20px 24px;max-width:1400px;margin:0 auto}.card{border:1px solid var(--border);border-radius:var(--rlg);background:var(--card);padding:24px;box-shadow:var(--shadow)}.hint{color:var(--text2)}.badge{font-size:12px;border:1px solid #334155;border-radius:999px;padding:3px 8px;color:#93c5fd}code{background:#0b1220;border:1px solid #1f2937;border-radius:6px;padding:2px 6px;font-family:var(--mono)}.operator-shell{display:grid;grid-template-columns:1fr;max-width:860px;width:100%;margin:0 auto;gap:10px;background:#f0f4f8;overflow-x:hidden;box-sizing:border-box;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));padding-block-start:max(12px,env(safe-area-inset-top));padding-block-end:max(24px,env(safe-area-inset-bottom));min-height:100dvh;-webkit-tap-highlight-color:rgba(74,123,181,.2)}.operator-shell button,.operator-shell input,.operator-shell select,.operator-shell textarea,.operator-shell .tile,.operator-shell .emp-card,.operator-shell .add-mat-item,.operator-shell .bsheet-item{touch-action:manipulation}.operator-shell .declarare-breadcrumb,.operator-shell .shift-bar,.operator-shell .card,.operator-shell .div-group,.operator-shell .mat-card,.operator-shell .bsheet,.operator-shell .layer-tab{border-radius:8px}.operator-shell .declarare-breadcrumb-step,.operator-shell .declarare-breadcrumb-num,.operator-shell .shift-badge,.operator-shell .tile,.operator-shell .emp-card,.operator-shell .add-mat-item,.operator-shell .bsheet-item,.operator-shell .btn-soft,.operator-shell .add-mat-create,.operator-shell .lot-add-btn,.operator-shell .lot-rm,.operator-shell .layer-swap-btn,.operator-shell .replace-prod-btn,.operator-shell .tile-icon,.operator-shell .emp-avatar,.operator-shell .empty-state,.operator-shell .change-order-note,.operator-shell button{border-radius:6px}.operator-shell .emp-search,.operator-shell input,.operator-shell select,.operator-shell textarea,.operator-shell .add-mat-panel input,.operator-shell .lot-row input,.operator-shell .pct-inp,.operator-shell .bsheet-search,.operator-shell .layer-pct-item input{border-radius:5px}.operator-shell .emp-grid-square{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.operator-shell .emp-grid-square .emp-card{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;min-height:0}.operator-shell .emp-grid-square .emp-avatar{margin-bottom:6px}.operator-shell .emp-grid-square .emp-name{font-size:12px;text-align:center;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.operator-shell .emp-grid-square .emp-info{font-size:10px;margin-top:4px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operator-search-wrap{position:relative;margin-bottom:12px}.operator-search-wrap .operator-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text2);display:flex;align-items:center;justify-content:center;pointer-events:none}.operator-search-wrap .emp-search{padding-left:40px}.operator-icon-wrap{display:inline-flex;align-items:center;justify-content:center;color:currentColor}.operator-shell .tile-icon,.operator-shell .tile-icon.operator-icon-wrap{background:var(--border-lt);color:var(--text);border:1px solid var(--border)}.operator-shell .tile-icon .operator-wc-recycl-label{font-size:14px;font-weight:700;line-height:1}.operator-step-1-wrap{position:relative;min-height:40vh;max-width:512px;margin-left:auto;margin-right:auto;width:100%;padding-left:16px;padding-right:16px;overflow:hidden;background:transparent}.operator-wc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:512px;margin-left:auto;margin-right:auto;isolation:isolate;overflow:hidden;background:transparent}.operator-wc-tile{height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:16px;box-shadow:0 1px 2px #0000000d;border:none;transition:transform .15s ease,background .15s ease;padding:12px;overflow:hidden}.operator-wc-tile--CONVERSIE{background:#dbeafe}.operator-wc-tile--CONVERSIE .operator-wc-tile-name{color:#1e3a5f}.operator-wc-tile--CONVERSIE:active{background:#bfdbfe}.operator-wc-tile--EXTRUDARE-FOLIE{background:#dcfce7}.operator-wc-tile--EXTRUDARE-FOLIE .operator-wc-tile-name{color:#14532d}.operator-wc-tile--EXTRUDARE-FOLIE:active{background:#bbf7d0}.operator-wc-tile--EXTRUDARE-GRANULE{background:#fef9c3}.operator-wc-tile--EXTRUDARE-GRANULE .operator-wc-tile-name{color:#713f12}.operator-wc-tile--EXTRUDARE-GRANULE:active{background:#fef08a}.operator-wc-tile--IMPRIMARE{background:#fce7f3}.operator-wc-tile--IMPRIMARE .operator-wc-tile-name{color:#831843}.operator-wc-tile--IMPRIMARE:active{background:#fbcfe8}.operator-wc-tile--RECICLARE{background:#f3e8ff}.operator-wc-tile--RECICLARE .operator-wc-tile-name{color:#4a1d96}.operator-wc-tile--RECICLARE:active{background:#e9d5ff}.operator-wc-tile--default{background:#dbeafe}.operator-wc-tile--default .operator-wc-tile-name{color:#1e3a5f}.operator-wc-tile--default:active{background:#bfdbfe}.operator-wc-tile:active{transform:scale(.95)}.operator-wc-tile.sel{border:none}.operator-wc-tile-name{font-size:18px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.operator-wc-grid .operator-wc-tile:last-child:nth-child(odd){grid-column:1 / -1;height:112px}.operator-step-nav{display:flex;align-items:center;justify-content:center;gap:16px;min-height:0;padding:12px 16px;background:var(--bg2);border:1px solid var(--border);border-radius:var(--rlg);margin-bottom:16px;box-shadow:var(--shadow)}.operator-shell .operator-step-nav{gap:0 4px;min-height:0;padding:6px 16px}.operator-step-nav-btn{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;font-size:24px;font-weight:600;color:var(--text);background:var(--bg2);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s}.operator-step-nav-btn:hover:not(:disabled){background:var(--pm-blue-lt);border-color:var(--pm-blue)}.operator-step-nav-btn:disabled{opacity:.4;cursor:not-allowed}.operator-shell .operator-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid #e5e7eb;padding:8px 16px;margin:0;display:flex;justify-content:center;align-items:center;gap:8px}.operator-shell .operator-bottom-nav{background:var(--bg2);border-top:1px solid var(--border)}.operator-layout-bar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;min-height:48px;height:48px;padding:0 16px;background:var(--bg2);border:1px solid var(--border);border-radius:var(--rlg);margin-bottom:12px;box-shadow:var(--shadow)}.operator-layout-bar .operator-date-text{flex:1;min-width:0}.operator-shell .operator-bottom-nav{position:fixed!important;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid #e5e7eb;padding:8px 16px;padding-bottom:max(8px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:8px}main.operator-shell{padding-bottom:72px}.operator-shell .operator-dashboard .submit-actions{margin-bottom:80px!important}.language-selector-sheet .bsheet-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.language-selector-sheet .bsheet-item span:first-of-type{flex:1;text-align:left}.operator-shell .operator-shift-bar-compact{padding:8px 12px}.operator-shell .operator-shift-bar-compact input[type=date]{min-height:36px;padding:6px 10px}.operator-shell .operator-step-hdr{margin-bottom:6px}.operator-dashboard{display:flex;flex-direction:column;gap:12px;padding-bottom:100px}.operator-dashboard-section{background:var(--card);border:1px solid var(--border);border-radius:var(--rlg);overflow:hidden}.operator-dashboard-section-title{font-size:16px;font-weight:600;padding:12px 16px;color:var(--text)}.operator-dashboard-section-body{padding:12px 0;border-top:1px solid var(--border-lt);box-sizing:border-box}.operator-dashboard-section-body>*{padding-inline:16px}.operator-dashboard-section-body input,.operator-dashboard-section-body textarea{padding-inline:12px;width:100%;box-sizing:border-box;contain:layout}.operator-dashboard-section-body .lot-row{min-height:56px;contain:layout}.operator-collapsible-section{background:var(--card);border:1px solid var(--border);border-radius:var(--rlg);overflow:visible}.operator-collapsible-header{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:12px 16px;font-size:15px;font-weight:600;color:var(--text);background:var(--bg2);border:none;cursor:pointer;text-align:left}.operator-collapsible-chevron{display:inline-block;font-size:12px;transition:transform .2s}.operator-collapsible-chevron.open{transform:rotate(-90deg)}.operator-collapsible-title{flex:1}.operator-collapsible-action{color:var(--text2);font-size:14px}.operator-collapsible-body{padding:12px 16px;border-top:1px solid var(--border-lt);background:var(--card);box-sizing:border-box}.operator-dashboard-header{padding:10px 16px 12px;background:var(--bg2);border-bottom:1px solid var(--border-lt);margin-bottom:4px}.operator-dashboard-header-line1{font-size:15px;font-weight:600;color:var(--text)}.operator-dashboard-header-line2{font-size:13px;color:var(--text2);margin-top:2px}.declarare-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:4px 0;padding:12px 16px;background:var(--bg2);border:1px solid var(--border);border-radius:var(--rlg);margin-bottom:16px;box-shadow:var(--shadow)}.declarare-breadcrumb-sep{color:var(--text2);font-weight:600;font-size:14px;margin:0 6px;opacity:.6}.operator-shell .declarare-breadcrumb{gap:0 4px;padding:6px 0 4px;margin-bottom:4px;background:transparent;border:none;box-shadow:none;border-radius:0}.operator-shell .declarare-breadcrumb-sep{margin:0 3px}.operator-shell .declarare-breadcrumb-step{padding:5px 8px;gap:4px}.operator-shell .declarare-breadcrumb-num{display:inline-flex!important;visibility:visible!important}.declarare-breadcrumb-step{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--r);border:1px solid var(--border);background:transparent;color:var(--text2);font-size:12px;font-weight:500;cursor:default;transition:all .2s}.declarare-breadcrumb-step:not(.disabled){cursor:pointer}.declarare-breadcrumb-step:not(.disabled):hover{background:var(--pm-blue-lt);border-color:var(--pm-blue);color:var(--pm-blue-dk)}.declarare-breadcrumb-step.active{background:var(--pm-green-lt);border-color:var(--pm-green);color:var(--pm-green-dk);font-weight:600}.declarare-breadcrumb-step.done{color:var(--pm-green-dk)}.declarare-breadcrumb-step.done:not(.disabled):hover{background:var(--pm-green-lt);border-color:var(--pm-green)}.declarare-breadcrumb-step.disabled{opacity:.5}.declarare-breadcrumb-num{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:currentColor;color:var(--bg2);font-size:11px;font-weight:700}.declarare-breadcrumb-step.active .declarare-breadcrumb-num,.declarare-breadcrumb-step.done .declarare-breadcrumb-num{background:var(--pm-green);color:#fff}.declarare-breadcrumb-step.disabled .declarare-breadcrumb-num{background:var(--border);color:var(--text2)}.shift-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--bg2);border-radius:var(--rlg);border:1px solid var(--border);margin-bottom:12px;box-shadow:var(--shadow)}.operator-layout-bar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--bg2);border-radius:var(--rlg);border:1px solid var(--border);margin-bottom:12px;box-shadow:var(--shadow)}.language-selector-sheet .bsheet-item{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;text-align:left}.shift-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;letter-spacing:.3px;cursor:pointer}.shift-badge.s1{background:#dbeafe;color:#1d4ed8;border:2px solid #3b82f6}.shift-badge.s2{background:#e2e8f0;color:#0f172a;border:2px solid #94a3b8}.shift-badge.active{box-shadow:0 0 0 3px #3b82f640}.emp-search{width:100%;padding:10px 14px;border-radius:var(--r);border:1px solid var(--border);background:var(--bg2);color:var(--text)}.div-group{border:1px solid var(--border);border-radius:var(--rlg);overflow:hidden;background:var(--bg2);box-shadow:var(--shadow)}.div-group-hdr{color:var(--text);font-weight:600;font-size:13px;padding:10px 14px;background:var(--pm-blue-lt);border-bottom:1px solid var(--border)}.div-group-body{padding:10px}.grp-label{font-size:12px;color:#94a3b8;margin:6px 0}.emp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.emp-card{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r);padding:12px;text-align:left;cursor:pointer;box-shadow:var(--shadow)}.emp-card.sel{border-color:var(--pm-blue);background:var(--pm-blue-lt)}.emp-avatar{width:36px;height:36px;border-radius:999px;color:#fff;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:8px}.emp-name{font-weight:500;font-size:13px}.emp-info{margin-top:4px;color:#94a3b8;font-size:12px}.empty-state{border:1px dashed #475569;border-radius:10px;padding:18px;text-align:center;color:#94a3b8}.step-hdr{margin-bottom:10px}.change-order-note{padding:6px 14px;margin-bottom:10px;background:#ffedd5;border:1.5px solid #f59e0b;border-radius:10px;font-size:12px;font-weight:500;color:#9a3412}.sec-title{font-weight:600;font-size:13px;text-transform:uppercase;color:#94a3b8;letter-spacing:.5px;margin:16px 0 10px;display:flex;align-items:center;gap:6px}.sec-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}.tile{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--rlg);padding:12px;text-align:left;display:flex;gap:12px;align-items:center;cursor:pointer;box-shadow:var(--shadow)}.tile.sel{border-color:var(--pm-green);background:var(--pm-green-lt)}.tile-icon{width:34px;height:34px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#111827}.tile-text{min-width:0;flex:1}.tile-name{font-size:13px;font-weight:500}.tile-code{font-size:12px;font-weight:500;margin-bottom:3px}.uom-tag{font-size:11px;font-weight:500;color:var(--text2, #64748b);margin-left:4px}.tile-badge{display:inline-flex;margin-top:4px;font-size:11px;font-weight:500;color:var(--text2, #64748b)}.replace-prod-btn{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:8px 14px;font-size:12px;font-weight:600;background:#ffedd5;border:1.5px solid #f59e0b;border-radius:10px;color:#9a3412;cursor:pointer}.add-mat-panel{margin-top:12px;border:1px solid #334155;border-radius:10px;padding:10px;display:grid;gap:8px}.add-mat-panel input{border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:8px 10px}.add-mat-results{position:absolute;top:100%;left:0;right:0;z-index:1000;display:grid;gap:6px;margin-top:4px;background:var(--bg2, #111827);border:1px solid var(--border, #334155);border-radius:8px;box-shadow:0 4px 12px #0000004d}.add-mat-item{border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:8px;padding:8px;text-align:left;display:flex;gap:8px;align-items:center;cursor:pointer}.add-mat-new-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}.add-mat-create{border:1px solid #1d4ed8;background:#2563eb;color:#fff;border-radius:8px;padding:8px 12px;cursor:pointer}.prod-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#111827;white-space:nowrap;overflow:hidden;border-radius:12px;border:1.5px solid #334155;margin-bottom:12px;width:100%;max-width:100%;box-sizing:border-box}.prod-banner-code{font-size:13px;font-weight:600}.prod-banner-name{font-size:clamp(11px,3vw,16px);color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.prod-banner-machine{font-size:11px;color:#94a3b8;font-weight:500}.mat-cat-sec{margin-bottom:12px}.mat-cat-hdr{font-size:12px;font-weight:600;color:#e2e8f0;margin-bottom:8px}.mat-cat-body{display:grid;gap:8px}.mat-card{border:1px solid #334155;border-radius:10px;background:#0b1220;overflow:hidden}.mat-hdr{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px 10px;background:#111827;border-bottom:1px solid #334155}.mat-code{font-weight:600;font-size:11px}.mat-name{font-size:12px}.mat-uom{font-size:10px;color:var(--text2, #64748b)}.mat-body{padding:10px;display:grid;gap:8px}.lot-entry{display:flex;gap:8px;border:1px solid #334155;border-radius:8px;padding:8px;align-items:flex-start}.lot-num{font-size:11px;font-weight:500;color:#94a3b8;min-width:22px}.lot-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.lot-row{display:grid;gap:4px}.lot-row label{font-size:11px;color:#94a3b8}.lot-row input{border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:7px;padding:7px 8px;font-size:12px}.lot-row input.err{border-color:#ef4444;box-shadow:0 0 0 1px #ef444466 inset}.lot-rm{border:1px solid #475569;background:#1f2937;color:#e2e8f0;border-radius:7px;width:28px;height:28px;cursor:pointer}.lot-add-btn{border:1px dashed #475569;background:#0f172a;color:#cbd5e1;border-radius:8px;padding:8px 10px;cursor:pointer;font-weight:500;font-size:12px}.mat-hint{font-size:11px;color:#94a3b8;font-weight:500}.step-nav{margin-top:8px;display:flex;justify-content:space-between;align-items:center}.btn-soft{border:1px solid #475569;background:#111827;color:#e2e8f0;border-radius:8px;padding:8px 12px;cursor:pointer}.layer-step-note{font-size:12px;color:#94a3b8;margin:0 0 10px}.layer-pct-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.layer-pct-item{display:inline-flex;align-items:center;gap:6px;border:1px solid #334155;border-radius:8px;padding:6px 8px;background:#0b1220}.layer-pct-item label{font-weight:600;font-size:12px}.layer-pct-item input{width:70px;border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:6px;padding:5px 6px}.layer-total,.layer-layer-total{font-size:12px;font-weight:600;color:#93c5fd}.layer-total.err,.layer-layer-total.err{color:#fca5a5}.layer-tabs{display:flex;gap:8px;margin-bottom:10px}.layer-tab{border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:6px 10px;cursor:pointer;font-weight:500}.layer-tab.active{border-color:#2563eb;background:#1d4ed8;color:#fff}.layer-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #334155;border-radius:10px;overflow:visible;margin-bottom:8px}.layer-table th,.layer-table td{border-bottom:1px solid #334155;padding:8px 10px;text-align:left;font-size:12px}.layer-table th{position:sticky;top:0;z-index:12;background:#111827;box-shadow:0 1px #111827}.layer-table thead tr:first-child th{top:0;z-index:12;box-shadow:0 4px #111827}.layer-table.has-filter-row thead tr:nth-child(2) th{top:38px;z-index:11;box-shadow:0 1px #111827}.layer-table tbody tr.excel-row-selected td{background:#4588ff1f!important}.layer-table td.excel-cell-active{outline:1px solid rgba(69,136,255,.45);outline-offset:-1px}.layer-table td:has(input[type=checkbox]),.layer-table th:has(input[type=checkbox]){text-align:center;width:34px}.layer-table input[type=checkbox]{width:14px;height:14px;margin:0;vertical-align:middle;opacity:1}.layer-table thead tr:first-child th{min-height:38px;box-sizing:border-box}.layer-table th{color:#94a3b8;text-transform:none;letter-spacing:.01em;font-size:12px;font-weight:600;line-height:1.35;padding-top:10px;padding-bottom:10px}.pct-inp{width:80px;border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:6px;padding:5px 6px}.layer-swap-btn{border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:8px;width:30px;height:30px;cursor:pointer}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50;display:flex;justify-content:center;align-items:flex-end}.bsheet{width:min(760px,100%);background:#111827;border:1px solid #334155;border-radius:14px 14px 0 0;padding:10px;max-height:72vh;overflow:auto}.bsheet-handle{width:42px;height:4px;background:#475569;border-radius:999px;margin:0 auto 8px}.bsheet-title{font-size:13px;font-weight:600;margin-bottom:8px}.bsheet-search{width:100%;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:8px 10px;margin-bottom:8px}.bsheet-item{width:100%;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:8px 10px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;cursor:pointer;margin-bottom:6px}.bsheet-code{font-weight:600;font-size:11px}.bsheet-name{font-size:12px}.bsheet-close{width:100%;border:1px solid #334155;background:#1d4ed8;color:#fff;border-radius:8px;padding:9px 10px;cursor:pointer;font-weight:500;margin-top:6px}.operator-shell .add-mat-panel{border-color:var(--border);background:var(--bg2)}.operator-shell .add-mat-panel input,.operator-shell .add-mat-item{border-color:var(--border);background:var(--bg2);color:var(--text)}.operator-shell .add-mat-item:hover,.operator-shell .prod-banner{background:var(--pm-blue-lt);border-color:var(--pm-blue)}.operator-shell .prod-banner-code{color:var(--pm-blue-dk)}.operator-shell .prod-banner-name,.operator-shell .prod-banner-machine{color:var(--text2)}.operator-shell .mat-card{border-color:var(--border);background:var(--bg2)}.operator-shell .mat-hdr{background:var(--pm-blue-lt);border-color:var(--border)}.operator-shell .mat-code{color:var(--pm-blue-dk)}.operator-shell .mat-name{color:var(--text)}.operator-shell .mat-uom{color:var(--text2)}.operator-shell .lot-entry{border-color:var(--border);background:var(--bg2)}.operator-shell .lot-row label{color:var(--text2)}.operator-shell .lot-row input,.operator-shell .pct-inp,.operator-shell .layer-pct-item input{border-color:var(--border);background:var(--bg2);color:var(--text);transition:none}.operator-shell .lot-row input.err{border-color:var(--err);box-shadow:0 0 0 1px color-mix(in srgb,var(--err) 40%,transparent)}.operator-shell .lot-rm{border-color:var(--border);background:var(--bg2);color:var(--text)}.operator-shell .lot-rm:hover{background:var(--err-lt);border-color:var(--err);color:var(--err)}.operator-shell .lot-add-btn{border-color:var(--border);background:var(--bg2);color:var(--text2)}.operator-shell .lot-add-btn:hover{background:var(--pm-blue-lt);border-color:var(--pm-blue);color:var(--pm-blue-dk)}.operator-shell .btn-soft{border-color:var(--border);background:var(--pm-blue-lt);color:var(--pm-blue-dk)}.operator-shell .btn-soft:hover{background:#d4e4ff;border-color:var(--pm-blue)}.operator-shell .add-mat-create{border-color:var(--pm-blue);background:var(--pm-blue);color:#fff}.operator-shell .add-mat-create:hover{opacity:.9}.operator-shell .mat-hint{color:var(--text2)}.operator-shell .layer-pct-item{background:var(--bg2);border-color:var(--border)}.operator-shell .layer-pct-item label{color:var(--text)}.operator-shell .layer-pct-item input{border-color:var(--border);background:var(--bg2);color:var(--text)}.operator-shell .layer-total,.operator-shell .layer-layer-total{color:var(--pm-blue-dk)}.operator-shell .layer-total.err,.operator-shell .layer-layer-total.err{color:var(--err)}.operator-shell .layer-tab{background:var(--bg2);border-color:var(--border);color:var(--text)}.operator-shell .layer-tab.active{background:var(--pm-blue);border-color:var(--pm-blue);color:#fff}.operator-shell .layer-table{border-color:var(--border)}.operator-shell .layer-table th,.operator-shell .layer-table td{border-bottom-color:var(--border-lt)}.operator-shell .layer-table th{background:#f8fbff;color:var(--text2);box-shadow:0 1px #f8fbff}.operator-shell .layer-table thead tr:first-child th{box-shadow:0 4px #f8fbff}.operator-shell .layer-table.has-filter-row thead tr:nth-child(2) th{box-shadow:0 1px #f8fbff}.operator-shell .pct-inp,.operator-shell .layer-swap-btn{border-color:var(--border);background:var(--bg2);color:var(--text)}.operator-shell .layer-swap-btn:hover{background:var(--pm-blue-lt);border-color:var(--pm-blue);color:var(--pm-blue-dk)}.operator-shell .overlay .bsheet{background:var(--bg2);border-color:var(--border);color:var(--text);animation:operator-bsheet-slide-up .35s ease-out forwards}@keyframes operator-bsheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.operator-shell .overlay{animation:operator-overlay-fade-in .25s ease-out forwards}@keyframes operator-overlay-fade-in{0%{opacity:0}to{opacity:1}}.operator-shell .overlay[data-visible] .bsheet,.operator-shell .overlay:not([hidden]) .bsheet{transform:translateY(0)}.operator-shell .overlay{transition:background-color .2s ease-out;z-index:60}.operator-shell .overlay.operator-leave-confirm-overlay{z-index:100}.operator-shell .bsheet-search,.operator-shell .bsheet-item{border-color:var(--border);background:var(--bg2);color:var(--text)}.operator-shell .bsheet-item:hover{background:var(--pm-blue-lt);border-color:var(--pm-blue)}.operator-shell .bsheet-close{border-color:var(--pm-blue);background:var(--pm-blue)}.operator-shell .norma-progress{border-color:var(--border);background:var(--bg2)}.operator-shell .np-pct{color:var(--pm-blue-dk)}.operator-shell .np-bar{background:var(--border-lt)}.operator-shell .np-detail,.operator-shell .eq-row{color:var(--text2)}.operator-shell .qty-warn{background:var(--err-lt);border-color:var(--err);color:var(--err)}.operator-shell .mat-cat-hdr{color:var(--text)}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-cat-hdr{display:none}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-cat-sec{margin-bottom:0}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-cat-body{gap:0}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-card,.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-card.cat-input,.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-card.cat-ambalare{background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-card+.mat-card,.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-cat-body .mat-card:not(:first-child){border-top:1px solid #f3f4f6!important;padding-top:16px;margin-top:16px}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-hdr{background:none!important;border:none!important;border-radius:0;padding:0 0 8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-code{font-size:14px;font-weight:700;color:var(--text)}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-code:after{content:" · ";font-weight:400}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-name{display:inline-block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(11px,3.2vw,14px);font-weight:600;color:var(--text);flex:1 1 0;min-width:0}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-uom{display:inline;margin-left:4px;font-size:clamp(11px,3.2vw,14px);font-weight:600;color:var(--text)}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .mat-body{padding:0 0 16px;background:none;border:none}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .lot-entry{background:none!important;border:none!important;border-radius:0;padding:12px 0 0;box-shadow:none}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .lot-row input{border-radius:8px;border:1px solid #e5e7eb;background:var(--bg2)}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .lot-add-btn{background:none!important;border:none!important;border-top:1px solid #f3f4f6!important;border-radius:0;margin-top:12px;padding:12px 0 0;color:var(--pm-blue-dk);font-weight:500}.operator-shell .operator-dashboard .operator-collapsible-section:first-of-type .lot-add-btn:hover{background:transparent!important;color:var(--pm-blue)}.operator-shell .problems-box textarea{border-color:var(--border);background:var(--bg2);color:var(--text)}.norma-progress{border:1px solid #334155;border-radius:10px;background:#0b1220;padding:8px 10px;margin-bottom:12px}.np-label{display:flex;justify-content:space-between;font-size:12px;font-weight:500}.np-pct{color:#93c5fd}.np-bar{margin-top:6px;height:8px;border-radius:999px;background:#1f2937;overflow:hidden}.np-fill{height:100%;background:#22c55e}.np-fill.over{background:#f59e0b}.np-detail{margin-top:6px;font-size:11px;color:#94a3b8;font-weight:500}.tot-row{padding:10px 14px;background:#dcfce7;color:#14532d;border-top:2px solid #22c55e;display:flex;justify-content:space-between;font-weight:600}.eq-row{padding:4px 14px 8px;font-size:11px;color:#94a3b8;font-weight:500}.qty-warn{margin-top:8px;border:1px solid #ef4444;background:#7f1d1d22;color:#fecaca;border-radius:10px;padding:8px 10px;font-size:12px;display:grid;gap:8px}.qty-warn-actions{display:flex;gap:8px}.problems-box{margin-top:10px;display:grid;gap:6px}.problems-box label{font-size:12px;font-weight:500}.problems-box textarea{min-height:90px;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:8px 10px;resize:vertical}.toast-c{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10000;display:grid;gap:8px;width:calc(100% - 40px);max-width:560px;pointer-events:none}.toast{border-radius:var(--rlg);padding:16px 22px;font-size:15px;font-weight:500;line-height:1.45;box-shadow:0 4px 16px #0000001f;animation:toastSlideIn .25s ease-out;pointer-events:auto}@keyframes toastSlideIn{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.toast-ok{background:var(--pm-green-lt);border:1px solid var(--pm-green);color:var(--pm-green-dk)}.toast-err{background:var(--err-lt);border:1px solid var(--err);color:#991b1b}.admin-dash-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-dash-top h1{margin:0}.admin-dash-top>div{margin-left:auto}.admin-dash-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-dash-controls input[type=date]{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r);padding:7px 10px;font-size:12.5px;font-family:inherit}.admin-dash-controls input[type=date]:focus{outline:none;border-color:var(--pm-blue);box-shadow:0 0 0 2px #4588ff26}.btn-soft.active{border-color:#2563eb;background:#1d4ed8;color:#fff}.btn-soft.btn-icon{padding:5px 10px;display:inline-flex;align-items:center;justify-content:center}.btn-soft.btn-icon-danger{color:#dc2626;border-color:#fca5a5}.btn-soft.btn-icon-danger:hover{background:#fef2f2;border-color:#f87171}.admin-shell .btn-soft.btn-icon-danger{color:#dc2626;border-color:#fca5a5;background:#fff}.admin-shell .btn-soft.btn-icon-danger:hover{background:#fef2f2;border-color:#f87171}.admin-dash-stats{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.admin-dash-table-wrap{margin-top:28px;overflow-x:auto;overflow-y:visible;position:relative}.program-zilnic-table-view .admin-dash-table-wrap{margin-top:20px}.admin-dash-table-wrap .layer-table thead th{position:sticky;top:0;z-index:12;background:#111827;box-shadow:inset 0 -1px #334155,0 1px #334155}.table-page-layout{display:flex;flex-direction:column;gap:0}.table-scroll-body{overflow-y:auto;overflow-x:auto;max-height:min(70vh,calc(100vh - 220px));position:relative}.table-scroll-body .layer-table thead th{position:sticky;top:0;z-index:12;background:var(--bg2, #fff);box-shadow:0 1px 0 0 var(--bg2, #fff);backface-visibility:hidden}.admin-shell .table-scroll-body .layer-table thead th{background:#f8fbff!important;box-shadow:0 1px #f8fbff}.admin-shell .table-scroll-body .layer-table thead tr:first-child th{box-shadow:0 4px #f8fbff}.admin-shell .table-scroll-body .layer-table.has-filter-row thead tr:nth-child(2) th{top:38px;background:#f8fbff!important;box-shadow:0 1px #f8fbff}.table-pagination-footer{flex-shrink:0;border-top:1px solid var(--border-lt, #e2e8f0);margin-top:0;padding-top:8px}.admin-shell .table-pagination-footer{border-top-color:var(--border)}.admin-dash-matrix{margin-top:12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.alloc-mat-tile:hover{transform:scale(1.01);box-shadow:0 2px 8px #00000014}.alloc-mat-tile.drag-over{box-shadow:0 0 0 2.5px var(--pm-blue);transform:scale(1.02)}.alloc-mat-op:hover{background:var(--bg3, #e2e8f0)!important}.alloc-mat-sidebar::-webkit-scrollbar,.alloc-matrix-wrap>div:last-child::-webkit-scrollbar{width:5px}.alloc-mat-sidebar::-webkit-scrollbar-thumb,.alloc-matrix-wrap>div:last-child::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-counter-input{width:90px;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:6px 8px;font-size:12px}.admin-norma-inline-input.admin-counter-input{border:none;outline:1px solid #334155;outline-offset:0;padding:2px 6px;box-sizing:border-box}.admin-audit-filter{margin-top:10px;margin-bottom:10px}.admin-audit-search{width:100%;max-width:420px;border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:8px;padding:8px 10px}.admin-audit-pagination{margin-top:8px;display:flex;gap:8px;align-items:center}.audit-action{display:inline-block;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;text-transform:uppercase}.audit-action.a-create{background:var(--pm-green-lt);color:var(--pm-green-dk)}.audit-action.a-edit{background:var(--pm-blue-lt);color:var(--pm-blue-dk)}.audit-action.a-delete{background:var(--err-lt);color:#c33}.audit-action.a-login{background:var(--pm-orange-lt);color:var(--pm-orange-dk)}.admin-users-tabs{display:flex;gap:6px;margin-top:10px;margin-bottom:10px;flex-wrap:wrap}.admin-editor-box{margin:10px 0;border:1px solid #334155;background:#0b1220;border-radius:10px;padding:10px}.admin-editor-box h3{margin:0 0 8px}.admin-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-bottom:10px}.admin-editor-grid input,.admin-editor-grid select{border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:8px;padding:8px 10px}.admin-inline-input{width:100%;border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:7px;padding:5px 8px;font-size:12px}.admin-perm-grid{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.admin-perm-chip{border:1px solid #334155;background:#111827;color:#cbd5e1;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:500;cursor:pointer}.admin-perm-chip.active{border-color:#2563eb;background:#1d4ed8;color:#fff}.admin-perm-chip input{display:none}.chip-dropdown-summary::-webkit-details-marker,.chip-dropdown-summary::marker{display:none}.chip-dropdown-wrap{position:relative;margin-bottom:10px;z-index:5}.chip-dropdown-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid #334155;border-radius:8px;background:#111827;color:#cbd5e1;font-size:12px;cursor:pointer;text-align:left}.chip-dropdown-trigger-label{color:#94a3b8}.chip-dropdown-chevron{font-size:10px;opacity:.75;flex-shrink:0}.chip-dropdown-panel{position:absolute;left:0;right:0;top:calc(100% + 4px);max-height:220px;overflow-y:auto;padding:6px;border:1px solid #334155;border-radius:8px;background:#0f172a;box-shadow:0 12px 28px #00000059;z-index:40}.chip-dropdown-option{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:12px;color:#e2e8f0}.chip-dropdown-option.checked{background:#2563eb40}.chip-dropdown-option input{flex-shrink:0}.admin-perms-inline{display:flex;gap:4px;flex-wrap:wrap}.admin-employees-filters{margin-top:10px;display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,minmax(150px,1fr));gap:8px}.admin-employees-filters select{border:1px solid #334155;background:#111827;color:#e2e8f0;border-radius:8px;padding:8px 10px}.admin-shell{background:var(--bg);color:var(--text)}.admin-shell .sidebar{background:#f0f0f0;border-right:1px solid var(--border);color:var(--text);box-shadow:2px 0 12px #4a7bb50a}.admin-shell .sidebar-title{color:var(--text)}.admin-shell .sidebar-section-label{color:var(--text2)}.admin-shell .sidebar-section-label:hover{color:var(--pm-blue-dk)}.admin-shell .sidebar-link{color:var(--text2)}.admin-shell .sidebar-link:hover{background:var(--pm-blue-lt);border-color:transparent;color:var(--pm-blue-dk)}.admin-shell .sidebar-link.active{background:linear-gradient(135deg,var(--pm-blue) 0%,var(--pm-blue-dk) 100%);border-color:var(--pm-blue);color:#fff;font-weight:600}.admin-shell .sidebar-fav-star{color:var(--text2)}.admin-shell .sidebar-fav-star:hover{color:var(--pm-blue-dk)}.admin-shell .admin-content{padding:16px 20px 30px}.admin-shell .card{background:var(--bg2);border:1px solid var(--border-lt);box-shadow:var(--shadow);border-radius:var(--rlg)}.admin-shell .hint{color:var(--text2)}.admin-shell .btn-soft{border:1px solid var(--border);background:var(--pm-blue-lt);color:var(--pm-blue-dk);border-radius:var(--r);padding:5px 10px;font-size:11px;font-weight:500}.admin-shell .btn-soft:hover{background:#d4e4ff;border-color:#bcd3ff}.admin-shell .btn-soft.active{background:var(--pm-blue);border-color:var(--pm-blue);color:#fff}.admin-shell .btn-soft.btn-icon{padding:5px 10px;min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center}.admin-shell .btn-soft.btn-icon.btn-icon-danger{color:var(--err, #dc2626);border-color:#fca5a5;background:#fef2f2}.admin-shell .btn-soft.btn-icon.btn-icon-danger:hover{background:#fee2e2;border-color:#f87171}.cell-value{font-size:12px;font-weight:500;color:var(--text, #334155)}.cell-value--muted{color:var(--text2, #64748b)}.cell-value--ok{color:var(--pm-green-dk, #166534);font-weight:600}.cell-value--err{color:var(--err, #dc2626);font-weight:600}.cell-value--muted-err{color:var(--text2, #64748b)}.admin-shell .badge{display:inline-block;padding:2px 8px;border-radius:99px;border:none;font-size:10.5px;font-weight:600;color:var(--pm-blue-dk);background:var(--pm-blue-lt)}.admin-shell .badge.b-ok{background:var(--pm-green-lt);color:var(--pm-green-dk)}.admin-shell .badge.b-err{background:var(--err-lt);color:var(--err)}.admin-shell .badge.b-amb{background:var(--pm-orange-lt);color:var(--pm-orange-dk)}.admin-shell .badge.b-blu{background:var(--pm-blue-lt);color:var(--pm-blue-dk)}.admin-shell .admin-editor-box{border:1px solid var(--border-lt);background:#f9fbff}.admin-shell .chip-dropdown-trigger{border:1px solid var(--border);background:var(--bg2);color:var(--text)}.admin-shell .chip-dropdown-trigger-label{color:var(--text2)}.admin-shell .chip-dropdown-panel{border-color:var(--border);background:var(--bg2);box-shadow:0 12px 28px #0f172a1f}.admin-shell .chip-dropdown-option{color:var(--text)}.admin-shell .chip-dropdown-option.checked{background:var(--pm-blue-lt)}.admin-shell .admin-editor-grid input,.admin-shell .admin-editor-grid select,.admin-shell .admin-inline-input{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r);padding:7px 10px;font-size:12.5px}.admin-shell .admin-editor-grid input:focus,.admin-shell .admin-editor-grid select:focus,.admin-shell .admin-inline-input:focus{outline:none;border-color:var(--pm-blue);box-shadow:0 0 0 2px #4588ff26}.admin-date-input{border:1px solid var(--border);background:var(--bg2);color:var(--text);color-scheme:light;border-radius:var(--r);padding:7px 10px;font-size:12.5px;font-family:inherit}.admin-date-input:focus{outline:none;border-color:var(--pm-blue);box-shadow:0 0 0 2px #4588ff26}.admin-shell .layer-table{border:.5px solid var(--border-lt);background:var(--bg2);font-size:12.5px}.admin-shell .layer-table th,.admin-shell .layer-table td{color:var(--text);padding:7px 10px;font-size:12.5px;border:none}.admin-shell .layer-table th{color:var(--text2);background:#f8fbff;position:sticky;top:0;z-index:12;text-transform:none;letter-spacing:.01em;font-size:12px;font-weight:600;line-height:1.35;padding-top:10px;padding-bottom:10px}.admin-shell .layer-table thead tr:first-child th{top:0;z-index:12;box-shadow:0 1px 0 0 var(--border-lt)}.admin-shell .layer-table.has-filter-row thead tr:nth-child(2) th{top:38px;z-index:11;background:var(--bg2);box-shadow:none}.admin-shell .layer-table tbody td{border-bottom:.3px solid var(--border-lt)}.admin-shell .layer-table tbody tr{transition:background .12s ease}.admin-shell .layer-table tbody tr:hover td{background:#f0f4ff}.admin-shell .layer-table tbody tr:active td{background:#e8eeff}.admin-shell .admin-dash-table-wrap .layer-table thead th{background:#f8fbff!important;box-shadow:0 1px #f8fbff}.excel-table-wrap .layer-table th,.excel-table-wrap .layer-table td{padding:8px 10px;font-size:12px;line-height:1.35}.excel-table-wrap{margin-top:24px;overflow-x:auto;overflow-y:visible;position:relative}@media (max-width: 1280px){.admin-dash-table-wrap{margin-top:22px}.excel-table-wrap{margin-top:18px}}@media (min-width: 1500px){.admin-dash-table-wrap{margin-top:40px}.excel-table-wrap{margin-top:34px}}.employees-toolbar-row{flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;white-space:nowrap;gap:10px;scrollbar-width:thin}.excel-table-wrap .layer-table th{padding-top:10px;padding-bottom:10px}.excel-table-wrap .layer-table .table-filter-input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.excel-table-wrap .layer-table.has-filter-row thead tr:nth-child(2) th{overflow:hidden}.admin-shell .admin-perm-chip{border:1px solid var(--border);background:var(--bg2);color:var(--text)}.admin-shell .admin-perm-chip.active{border-color:var(--pm-blue);background:var(--pm-blue-lt);color:var(--pm-blue-dk)}.admin-shell .admin-forgot-link{border:none;background:transparent;color:var(--pm-blue);font-size:12px;padding:0;cursor:pointer}.admin-shell .admin-forgot-link:hover{color:var(--pm-blue-dk);text-decoration:underline}.login-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--bg, #F5F6F8);position:relative;overflow:hidden}.login-bg-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:70%;height:70%;background:url(/logo.svg) center center / contain no-repeat;opacity:.3;pointer-events:none;z-index:0}.login-box{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;background:var(--bg2, #fff);border:none;border-radius:12px;padding:32px 28px;width:340px;max-width:90vw}.login-error{background:var(--err-lt, #FEE2E2);color:var(--err, #DC2626);border:1px solid #fecaca;border-radius:6px;padding:8px 12px;font-size:13px;width:100%;margin-bottom:12px;text-align:center}.login-input{width:100%;padding:10px 12px;margin-bottom:10px;border:1px solid var(--border, #E2E5EA);border-radius:6px;background:var(--bg, #F5F6F8);color:var(--text, #111);font-size:14px;outline:none;box-sizing:border-box}.login-input:focus{border-color:var(--pm-blue, #3b82f6);box-shadow:0 0 0 2px #4588ff26}.login-btn{width:100%;padding:10px;margin-top:4px;border:none;border-radius:6px;background:var(--pm-blue, #3b82f6);color:#fff;font-size:14px;font-weight:500;cursor:pointer}.login-btn:hover{opacity:.9}.login-btn:disabled{opacity:.5;cursor:not-allowed}.sidebar-footer{border-top:1px solid var(--border);padding:12px 14px;font-size:12px}.sidebar-footer-user{color:var(--text2);font-size:12px;margin-bottom:8px;font-weight:500}.sidebar-footer-actions{display:flex;align-items:center;gap:6px;margin-bottom:8px}.sidebar-footer-link{display:block;color:var(--text2);text-decoration:none;padding:4px 0;font-size:12px}.sidebar-footer-link:hover{color:var(--pm-blue-dk)}.admin-shell.theme-dark .sidebar{background:#1e293b;border-right-color:#ffffff14;color:#e2e8f0}.admin-shell.theme-dark .sidebar-title{color:#f1f5f9}.admin-shell.theme-dark .sidebar-section-label{color:#ffffff80}.admin-shell.theme-dark .sidebar-section-label:hover{color:#ffffffbf}.admin-shell.theme-dark .sidebar-link{color:#ffffffa6}.admin-shell.theme-dark .sidebar-link:hover{background:#ffffff14;color:#f1f5f9}.admin-shell.theme-dark .sidebar-link.active{background:var(--pm-blue);border-color:var(--pm-blue);color:#fff}.admin-shell.theme-dark .sidebar-fav-star{color:#ffffff8c}.admin-shell.theme-dark .sidebar-fav-star:hover{color:#ffffffe6}.admin-shell.theme-dark .sidebar-footer{border-top-color:#ffffff1a}.admin-shell.theme-dark .sidebar-footer-user{color:#ffffff80}.admin-shell.theme-dark .sidebar-footer-link{color:#fff9}.admin-shell.theme-dark .sidebar-footer-link:hover{color:#f1f5f9}.admin-shell.theme-dark .sidebar-footer-logout{color:#f87171}.admin-shell.theme-dark .sidebar-footer-logout:hover{color:#fca5a5}.admin-shell.theme-dark .sidebar-footer-theme-toggle{border-color:#fff3;color:#ffffffb3}.admin-shell.theme-dark .sidebar-footer-theme-toggle:hover{background:#ffffff1a;color:#f1f5f9;border-color:#ffffff40}@keyframes modalIn{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.admin-shell [style*="position: fixed"][style*="inset: 0"]>div{animation:modalIn .18s ease-out}.admin-shell [style*="position: fixed"][style*="inset: 0"]{animation:fadeIn .12s ease-out}.admin-shell .btn-soft{transition:background .12s ease,color .12s ease,box-shadow .12s ease,border-color .12s ease}.admin-shell .btn-soft:active:not(:disabled){transform:scale(.97)}.admin-shell .badge{transition:background .15s ease,color .15s ease}.admin-shell select{transition:border-color .12s ease}.admin-shell select:focus{border-color:var(--pm-blue);outline:none;box-shadow:0 0 0 2px #4588ff1f}.admin-shell .btn-soft[disabled]{opacity:.4;cursor:not-allowed}.admin-shell .layer-table tbody tr:nth-child(2n) td{background:#fafbfc}.admin-shell .layer-table tbody tr:nth-child(2n):hover td{background:#f0f4ff}@keyframes pulse{0%,to{opacity:1}50%{opacity:.65}}.admin-shell .toast-ok,.operator-shell .toast-ok{background:var(--pm-green-lt, #E8F5E9);border:1px solid var(--pm-green, #3aab48);color:var(--pm-green-dk, #2E7D32)}.admin-shell .toast-err,.operator-shell .toast-err{background:var(--err-lt, #FEE2E2);border:1px solid var(--err, #DC2626);color:#991b1b}.admin-shell .card{transition:box-shadow .15s ease}.admin-shell input:focus,.admin-shell textarea:focus{border-color:var(--pm-blue);outline:none;box-shadow:0 0 0 2px #4588ff1f}.admin-shell ::-webkit-scrollbar{width:6px;height:6px}.admin-shell ::-webkit-scrollbar-track{background:transparent}.admin-shell ::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.admin-shell ::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-shell{color-scheme:light}.admin-shell input,.admin-shell select,.admin-shell textarea{font-family:inherit;font-size:12.5px;color:var(--text);background:var(--bg2);border:1px solid var(--border);border-radius:var(--r);padding:7px 10px;box-sizing:border-box}.admin-shell input[type=checkbox],.admin-shell input[type=radio]{padding:0;width:auto;accent-color:var(--pm-blue);border:none}.admin-shell select{cursor:pointer;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.admin-shell textarea{resize:vertical;min-height:60px}.admin-shell input::placeholder,.admin-shell textarea::placeholder{color:var(--text2);opacity:.6}.admin-shell .fi{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r);padding:7px 10px;font-size:12.5px}.admin-shell .fi-sm{padding:5px 8px;font-size:12px}.admin-shell .fi:focus,.admin-shell .fi-sm:focus{border-color:var(--pm-blue);outline:none;box-shadow:0 0 0 2px #4588ff1f}.admin-shell .badge.b-grn{background:var(--pm-green-lt);color:var(--pm-green-dk)}.admin-shell .badge.b-gray{background:#f1f5f9;color:#64748b}.admin-shell .badge.b-semi{background:#ede7f6;color:#5e35b1}.admin-shell .admin-counter-input{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r)}.admin-shell .admin-norma-inline-input{outline-color:var(--border)}.admin-shell .admin-audit-search{border:1px solid var(--border);background:var(--bg2);color:var(--text);border-radius:var(--r);padding:8px 10px}.mobile-admin-menu-btn{display:none}.mobile-admin-menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#0f172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:flex-end}.mobile-admin-menu-sheet{width:100%;max-height:86vh;background:var(--bg2);border-radius:16px 16px 0 0;border-top:1px solid var(--border-lt);box-shadow:var(--shadow-lg);padding:12px;display:grid;gap:10px;overflow-y:auto}.mobile-admin-menu-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-admin-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-admin-menu-tile-wrap{position:relative}.mobile-admin-tile-fav{position:absolute;top:6px;right:6px;z-index:2;border:none;background:transparent;padding:6px;margin:0;cursor:pointer;color:var(--text2);display:inline-flex;align-items:center;justify-content:center;line-height:0}.mobile-admin-tile-fav:hover{color:var(--pm-blue-dk)}.mobile-admin-tile-fav:focus-visible{outline:2px solid var(--pm-blue);outline-offset:1px}.mobile-admin-menu-tile{text-decoration:none;border:1px solid var(--border);border-radius:10px;min-height:84px;padding:10px;background:#f8fbff;color:var(--text);display:grid;align-content:center;justify-items:center;gap:6px;text-align:center;font-size:12px;font-weight:600}.mobile-admin-menu-tile.active{border-color:var(--pm-blue);background:var(--pm-blue-lt);color:var(--pm-blue-dk)}.mobile-admin-menu-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center}.mobile-admin-menu-actions{display:flex;gap:8px;justify-content:flex-end}.mobile-matrix-topbar{display:none}@media (max-width: 960px){.admin-shell{grid-template-columns:1fr}.sidebar{display:none}.admin-content{height:auto;min-height:100vh;padding:62px 12px 18px!important}.mobile-admin-menu-btn{display:inline-flex;position:fixed;top:10px;right:10px;z-index:121;border:1px solid var(--pm-blue);background:var(--pm-blue);color:#fff;border-radius:12px;font-size:13px;font-weight:600;padding:10px 14px;box-shadow:var(--shadow)}.admin-shell .btn-soft{padding:8px 12px;font-size:12.5px;border-radius:10px;font-weight:600}.admin-shell .badge{padding:5px 10px;font-size:12px;border-radius:999px}.admin-shell .admin-date-input{padding:9px 12px;font-size:13px;border-radius:10px}.admin-dash-stats{gap:10px;margin-top:14px}.admin-dash-matrix{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.mobile-matrix-topbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.mobile-matrix-topbar .btn-soft{min-height:38px}.mobile-admin-menu-sheet{max-height:88vh;padding:14px;gap:12px;border-radius:18px 18px 0 0}.mobile-admin-menu-grid{gap:10px}.mobile-admin-menu-tile{min-height:94px;padding:12px 10px;border-radius:12px;font-size:12.5px;gap:8px}.mobile-admin-menu-icon{width:20px;height:20px}}.feedback-fab{position:fixed;right:16px;bottom:16px;z-index:9998;border:1px solid var(--pm-blue-dk);background:var(--pm-blue-dk);color:#fff;border-radius:999px;padding:10px 14px;font-weight:700;font-size:13px;cursor:pointer;box-shadow:var(--shadow-lg);font-family:var(--sans)}.feedback-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0206178c;z-index:9999;display:flex;align-items:flex-end;justify-content:flex-end;padding:14px;animation:fadeIn .12s ease-out}.feedback-panel{width:min(460px,calc(100vw - 24px));background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:16px;display:grid;gap:10px;box-shadow:var(--shadow-lg);color:var(--text)}.feedback-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.feedback-row strong{font-size:14px;font-weight:600;color:var(--text)}.feedback-inp,.feedback-ta{width:100%;border:1px solid var(--border);border-radius:var(--r);padding:8px 10px;font-family:var(--sans);font-size:12.5px;background:var(--bg2);color:var(--text);box-sizing:border-box}.feedback-inp:focus,.feedback-ta:focus{border-color:var(--pm-blue);outline:none;box-shadow:0 0 0 2px #4588ff26}.feedback-ta{min-height:120px;resize:vertical}.feedback-image-label{font-size:12px;color:var(--text2);display:block;margin-bottom:4px}.feedback-image-preview-wrap{position:relative;margin-top:6px}.feedback-image-preview{max-width:160px;max-height:120px;border-radius:8px;border:1px solid var(--border);object-fit:cover}.feedback-image-remove{position:absolute;top:4px;right:4px;width:24px;height:24px;border:none;border-radius:50%;background:var(--err);color:#fff;font-size:12px;cursor:pointer;line-height:1}.feedback-actions{display:flex;justify-content:flex-end;gap:8px}.feedback-btn{border:1px solid var(--border);background:var(--pm-blue-lt);color:var(--pm-blue-dk);border-radius:var(--r);padding:8px 12px;cursor:pointer;font-weight:600;font-size:12px;font-family:var(--sans)}.feedback-btn:hover{background:#d4e4ff}.feedback-btn-primary{background:var(--pm-blue-dk);border-color:var(--pm-blue-dk);color:#fff}.feedback-btn-primary:hover:not(:disabled){background:var(--pm-blue)}.feedback-btn-primary:disabled{opacity:.6;cursor:not-allowed}.feedback-msg-ok{font-size:13px;color:var(--pm-green-dk);margin:0}.feedback-msg-err{font-size:13px;color:var(--err);margin:0}main.operator-shell{padding-inline:16px;padding-block:16px 24px;padding-bottom:72px;max-width:100%}.operator-shell .emp-search,.operator-shell input[type=text],.operator-shell input[type=number],.operator-shell input[type=date],.operator-shell input[type=search],.operator-shell select,.operator-shell textarea,.operator-shell .add-mat-panel input,.operator-shell .lot-row input,.operator-shell .bsheet-search,.operator-shell .pct-inp{font-size:16px!important}main.operator-shell,.operator-shell.shell-page{padding-inline:16px;padding-block:16px 24px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:4px}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;min-height:56px}.operator-shell .shift-bar{flex-wrap:wrap;gap:12px}.operator-shell .shift-bar input[type=date]{min-height:56px;width:100%}.operator-shell .emp-search{min-height:56px}.operator-shell .tile-grid,.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .emp-card{min-height:56px;padding:14px}.operator-shell .add-mat-new-row{grid-template-columns:1fr 1fr auto;gap:12px}.operator-shell .add-mat-panel input{min-height:56px}.operator-shell .add-mat-item{min-height:56px;padding:12px}.operator-shell .lot-fields{grid-template-columns:1fr;gap:12px}.operator-shell .lot-entry{flex-direction:column;align-items:stretch;padding:12px}.operator-shell .lot-row input{min-height:56px;width:100%}.operator-shell .lot-rm{min-width:56px;min-height:56px;width:56px;height:56px}.operator-shell .step-nav{flex-direction:column;gap:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px}.operator-shell .layer-pct-row{flex-direction:column}.operator-shell .layer-pct-item{width:100%}.operator-shell .layer-pct-item input{min-height:56px;font-size:16px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px}.operator-shell .layer-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:-16px;padding-inline:16px}.operator-shell .layer-swap-btn{min-width:56px;min-height:56px;width:56px;height:56px}.operator-shell .qty-warn-actions{flex-direction:column}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .bsheet{width:95vw;max-width:none;max-height:90vh;overflow-y:auto}.operator-shell .bsheet-search{min-height:56px}.operator-shell .bsheet-item{min-height:56px;padding:12px}.operator-shell .bsheet-close{min-height:56px}@media (min-width: 768px){.operator-shell .shell-page{padding-inline:32px;padding-block:20px 24px}.operator-shell .card{padding:24px}.operator-shell .declarare-breadcrumb{flex-wrap:wrap;overflow-x:visible}.operator-shell .shift-bar input[type=date]{width:auto}.operator-shell .tile-grid,.operator-shell .emp-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}.operator-shell .lot-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.operator-shell .lot-entry{flex-direction:row;align-items:flex-start;padding:8px}.operator-shell .step-nav{flex-direction:row}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:auto}.operator-shell .layer-pct-row{flex-direction:row}.operator-shell .layer-pct-item{width:auto}.operator-shell .bsheet{width:min(760px,100%);max-height:72vh}.operator-shell .qty-warn-actions{flex-direction:row}}.operator-shell .shell-page{padding-inline-start:1rem;padding-inline-end:1rem;padding-block:16px 24px}.operator-shell .operator-header{padding-inline:0;padding-block:12px 16px;flex-wrap:wrap;gap:8px}.operator-shell .operator-logo{max-width:140px}.operator-shell .emp-search,.operator-shell input[type=text],.operator-shell input[type=number],.operator-shell input[type=date],.operator-shell input[type=search],.operator-shell select,.operator-shell textarea{font-size:16px!important;min-height:56px;width:100%;padding:10px 14px;box-sizing:border-box}.operator-shell .add-mat-panel input,.operator-shell .lot-row input,.operator-shell .pct-inp,.operator-shell .bsheet-search{font-size:16px!important;min-height:56px;padding:10px 12px}.operator-shell .lot-fields,.operator-shell .add-mat-new-row{grid-template-columns:1fr;gap:10px}.operator-shell .add-mat-new-row button{min-height:56px;width:100%}.operator-shell .tile-grid{grid-template-columns:1fr;gap:10px}.operator-shell .tile,.operator-shell .emp-card{min-height:56px;padding:12px 14px}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px;min-width:56px;padding:12px 16px}.operator-shell .qty-warn-actions{flex-direction:column;gap:10px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%;min-height:56px}.operator-shell .btn-soft,.operator-shell .add-mat-create,.operator-shell .replace-prod-btn{min-height:56px;min-width:56px}.operator-shell .lot-rm{min-width:56px;min-height:56px}.operator-shell .lot-add-btn{min-height:56px}.operator-shell .layer-swap-btn{min-width:56px;min-height:56px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-inline:12px;gap:4px}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;min-height:56px;padding:8px 12px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .shift-bar{flex-wrap:wrap;gap:10px}.operator-shell .shift-bar input[type=date]{width:100%;min-width:0}.operator-shell .overlay .bsheet{width:95vw;max-width:min(760px,100%);max-height:90vh;overflow-y:auto}.operator-shell .bsheet-close{min-height:56px;min-width:100%}.operator-shell .operator-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:10px}.operator-shell .operator-table-wrap .layer-table th,.operator-shell .operator-table-wrap .layer-table td{min-height:56px;padding:10px 12px}.operator-shell .add-mat-results{max-height:40vh;overflow-y:auto}.operator-shell .prod-banner{flex-wrap:wrap}.operator-shell .layer-pct-item{flex:1 1 auto;min-width:0}.operator-shell .layer-pct-item input{width:100%;min-width:0}@media (min-width: 768px){.operator-shell .shell-page{padding-inline-start:2rem;padding-inline-end:2rem}.operator-shell .lot-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.operator-shell .add-mat-new-row{grid-template-columns:1fr 1fr auto}.operator-shell .add-mat-new-row button{width:auto}.operator-shell .tile-grid,.operator-shell .emp-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}.operator-shell .step-nav{flex-direction:row}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:auto}.operator-shell .qty-warn-actions{flex-direction:row}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:auto}.operator-shell .card{padding:24px}.operator-shell .overlay .bsheet{width:min(760px,100%)}}@media (max-width: 390px){.operator-shell{padding-inline:12px;max-width:min(390px,100vw)}.operator-shell .shell-page{padding-inline:12px}}.operator-shell input,.operator-shell select,.operator-shell textarea{font-size:16px!important}.operator-shell input[type=number],.operator-shell input[type=text],.operator-shell input[type=date],.operator-shell select{min-height:56px;width:100%;box-sizing:border-box}.operator-shell .operator-step-hdr,.operator-shell .step-hdr .hint,.operator-shell .step-hdr,.operator-shell .sec-title{font-size:18px!important}.operator-shell .tile-name,.operator-shell .tile .tile-text{font-size:28px!important}.operator-shell .step3-machine-product .step-hdr h2{font-size:22px!important}.operator-shell .step3-machine-product .hint{font-size:14px!important}.operator-shell .step3-machine-product .tile-name,.operator-shell .step3-machine-product .tile .tile-text{font-size:17px!important}.operator-shell .step3-machine-product .tile-code{font-size:13px!important}.operator-shell .emp-card .tile-name,.operator-shell .emp-card .tile-text{font-size:28px!important}@media (max-width: 390px){.operator-shell,.operator-shell .shell-page{padding-inline:12px}}@media (max-width: 767px){.operator-shell{max-width:100%;padding-inline:16px;gap:12px;padding-bottom:130px}.operator-shell .shell-page{padding:16px;max-width:100%}.operator-shell .operator-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;margin:0;padding:8px 12px max(8px,env(safe-area-inset-bottom));background:var(--bg2);border-top:1px solid var(--border);box-shadow:0 -2px 12px #0000000f}.operator-shell .operator-fixed-actions{position:fixed;bottom:64px;left:0;right:0;z-index:39;display:flex;gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:var(--bg2);border-top:1px solid var(--border);box-shadow:0 -2px 8px #0000000a;min-height:56px;align-items:center;justify-content:stretch}.operator-shell .operator-fixed-actions .btn-soft,.operator-shell .operator-fixed-actions .add-mat-create{flex:1;min-height:56px;min-width:0}.operator-header{flex-wrap:wrap;gap:10px;padding:12px 0 16px}.operator-logo{height:36px}.operator-step-1-wrap{min-height:0}.operator-shell .operator-shift-bar-compact{padding:2px 0 6px}.operator-shell .operator-step-hdr{margin-bottom:2px}.operator-shell .operator-date-static{min-height:44px;display:flex;align-items:center}.operator-shell .operator-date-text{font-size:14px;color:var(--text2);font-weight:500}.operator-shell .operator-fixed-actions{position:fixed;bottom:72px;left:0;right:0;z-index:39;display:flex;gap:12px;padding:12px 16px;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));background:var(--bg2);border-top:1px solid var(--border);box-shadow:0 -2px 8px #0000000a;min-height:56px;align-items:center}.operator-shell .operator-fixed-actions{position:fixed;bottom:calc(72px + env(safe-area-inset-bottom,0px));left:0;right:0;z-index:39;display:flex;gap:12px;padding:12px 16px;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));background:var(--bg2);border-top:1px solid var(--border);box-shadow:0 -2px 8px #0000000a;min-height:56px;align-items:center}main.operator-shell{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}.operator-shell .operator-bottom-nav.declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-inline:12px 12px;gap:4px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-inline:12px;gap:4px}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 12px}.operator-shell .declarare-breadcrumb-num{width:24px;height:24px;font-size:12px}.operator-shell .operator-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;margin:0;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:var(--bg2);border-top:1px solid var(--border);box-shadow:0 -4px 12px #0000000f}.operator-shell .operator-fixed-actions{position:fixed;bottom:64px;left:0;right:0;z-index:39;display:flex;gap:12px;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:var(--bg2);border-top:1px solid var(--border);min-height:56px;align-items:center}.operator-shell .operator-fixed-actions .btn-soft,.operator-shell .operator-fixed-actions .add-mat-create{flex:1;min-height:56px}main.operator-shell{padding-bottom:140px}.operator-shell .layer-tabs{flex-wrap:wrap!important;overflow-x:hidden!important;overflow-y:visible!important}.operator-shell .operator-table-scroll{overflow-x:hidden!important;margin-inline:0!important}.operator-shell .operator-table-scroll .layer-table,.operator-shell .operator-table-wrap .layer-table{display:block}.operator-shell .operator-table-scroll .layer-table thead,.operator-shell .operator-table-wrap .layer-table thead{display:none}.operator-shell .operator-table-scroll .layer-table tbody,.operator-shell .operator-table-wrap .layer-table tbody{display:block}.operator-shell .operator-table-scroll .layer-table tbody tr,.operator-shell .operator-table-wrap .layer-table tbody tr{display:block;border:1px solid var(--border);border-radius:8px;padding:12px;margin-bottom:8px;background:var(--card)}.operator-shell .operator-table-scroll .layer-table tbody td,.operator-shell .operator-table-wrap .layer-table tbody td{display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:6px 0!important;border:none!important;min-height:auto!important}.operator-shell .operator-table-scroll .layer-table tbody td:before,.operator-shell .operator-table-wrap .layer-table tbody td:before{content:attr(data-label);font-weight:600;font-size:13px;color:var(--text2);flex-shrink:0}.operator-shell .operator-table-scroll .layer-table tbody td[data-label=""]:before,.operator-shell .operator-table-wrap .layer-table tbody td[data-label=""]:before{display:none}.operator-shell .shift-bar{flex-wrap:wrap;gap:10px}.operator-shell .shift-bar input[type=date]{width:100%;margin-left:0!important}.operator-shell .card{padding:16px}.operator-shell .add-mat-new-row{grid-template-columns:1fr}.operator-shell .add-mat-new-row>*:last-child{justify-self:start}.operator-shell .lot-fields{grid-template-columns:1fr}.operator-shell .lot-entry{flex-direction:column;align-items:stretch;min-height:auto}.operator-shell .lot-row{min-height:56px}.operator-shell .lot-row input{min-height:56px;font-size:16px;padding:10px 12px}.operator-shell .step-nav{flex-direction:column;gap:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px;min-width:56px}.operator-shell .add-mat-create,.operator-shell .btn-soft,.operator-shell .replace-prod-btn{min-height:56px;min-width:56px}.operator-shell .qty-warn-actions{flex-direction:column;gap:12px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%;min-height:56px}.operator-shell .lot-add-btn,.operator-shell .lot-rm{min-height:56px;min-width:56px}.operator-shell .lot-rm{width:56px;height:56px}.operator-shell .tile-grid{grid-template-columns:1fr}.operator-shell .tile{min-height:56px}.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .emp-card{min-height:56px;padding:12px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px}.operator-shell .operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:-16px;padding-inline:16px}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:10px 12px}.operator-shell .layer-table input.pct-inp{min-height:56px;font-size:16px}.operator-shell .layer-swap-btn{width:56px;height:56px}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:100%;max-width:95vw;max-height:90vh;overflow-y:auto;border-radius:14px 14px 0 0}.operator-shell .bsheet-search{min-height:56px;font-size:16px;padding:12px 14px}.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}.operator-shell .bsheet-close{min-height:56px}.operator-shell .add-mat-panel input{min-height:56px;font-size:16px;padding:10px 12px}.operator-shell .add-mat-item{min-height:56px;padding:12px}}@media (min-width: 768px){.operator-shell{padding-inline:32px}.operator-shell .shell-page{padding:20px 24px}}.operator-shell .shell-page{padding-inline-start:16px;padding-inline-end:16px;padding-block:16px}.operator-shell .emp-search,.operator-shell .add-mat-panel input,.operator-shell .bsheet-search,.operator-shell .pct-inp,.operator-shell .lot-row input,.operator-shell .layer-pct-item input,.operator-shell .problems-box textarea,.operator-shell input[type=date]{font-size:16px!important;min-height:56px;padding:10px 12px}.operator-shell .add-mat-panel input,.operator-shell .lot-fields{width:100%}.operator-shell .btn-soft,.operator-shell .add-mat-create,.operator-shell .lot-add-btn,.operator-shell .lot-rm,.operator-shell .layer-swap-btn,.operator-shell .replace-prod-btn,.operator-shell .declarare-breadcrumb-step{min-height:56px;min-width:56px}.operator-shell .lot-rm,.operator-shell .layer-swap-btn{width:56px;height:56px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-inline:12px}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:95vw;max-width:95vw;max-height:90vh;overflow-y:auto;border-radius:14px 14px 0 0}.operator-shell .bsheet-close{min-height:56px;min-width:56px;padding:12px 16px;font-size:16px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;padding-block-end:4px}@media (max-width: 767px){.operator-shell .shell-page{padding-inline-start:16px;padding-inline-end:16px}.operator-shell .card{padding:16px}.operator-shell .operator-header{flex-wrap:wrap;gap:12px;padding:12px 0 16px}.operator-shell .shift-bar{flex-wrap:wrap;gap:12px;padding:12px}.operator-shell .shift-bar input[type=date]{width:100%;margin-inline-start:0!important}.operator-shell .emp-grid,.operator-shell .tile-grid{grid-template-columns:1fr}.operator-shell .step-nav{flex-direction:column;gap:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%}.operator-shell .qty-warn-actions{flex-direction:column}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .lot-fields{grid-template-columns:1fr}.operator-shell .layer-pct-row{flex-direction:column}.operator-shell .layer-pct-item,.operator-shell .layer-pct-item input{width:100%}.operator-shell .prod-banner{flex-wrap:wrap}.operator-shell .mat-hdr{grid-template-columns:1fr auto;gap:8px}}@media (min-width: 768px){.operator-shell .shell-page{padding-inline-start:32px;padding-inline-end:32px}.operator-shell .card{padding:24px}}.operator-shell .operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:-16px;padding-inline:16px}@media (min-width: 768px){.operator-shell .operator-table-scroll{margin-inline:0;padding-inline:0}}.operator-shell input[type=number],.operator-shell input[type=text],.operator-shell input[type=date],.operator-shell input[type=search]{font-size:16px!important}.operator-shell .emp-search,.operator-shell .add-mat-panel input,.operator-shell .bsheet-search,.operator-shell .lot-row input,.operator-shell .pct-inp{font-size:16px!important;min-height:56px;padding:10px 12px}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:10px 12px;font-size:14px}@media (max-width: 767px){.operator-shell.shell-page,main.shell-page.operator-shell{padding-inline:16px;padding-block:12px 24px;max-width:100%}.operator-shell .card{padding:16px;border-radius:var(--rlg)}.operator-shell .operator-header{flex-wrap:wrap;gap:8px;padding:12px 0 16px}.operator-shell .operator-logo{height:36px;max-width:140px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-inline:12px;padding-block:10px;gap:4px;scrollbar-width:none}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;min-height:56px;min-width:56px;padding:8px 12px}.operator-shell .shift-bar{flex-wrap:wrap;gap:8px;padding:10px 12px}.operator-shell .shift-bar input[type=date]{width:100%;margin-left:0!important;margin-top:4px}.operator-shell .emp-search{width:100%;min-height:56px;padding:12px 14px}.operator-shell .lot-fields,.operator-shell .add-mat-new-row{grid-template-columns:1fr;gap:10px}.operator-shell .add-mat-new-row button{min-height:56px}.operator-shell .tile-grid{grid-template-columns:1fr;gap:10px}.operator-shell .tile{min-height:52px;padding:12px}.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .emp-card{min-height:52px;padding:12px}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px;min-width:56px;padding:12px 16px}.operator-shell .add-mat-create,.operator-shell .replace-prod-btn,.operator-shell .lot-add-btn,.operator-shell .btn-soft{min-height:56px;min-width:56px;padding:12px 16px}.operator-shell .qty-warn-actions{flex-direction:column;gap:10px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .lot-rm,.operator-shell .layer-swap-btn{min-width:56px;min-height:56px}.operator-shell .layer-tabs{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .overlay{padding:0;align-items:flex-end}.operator-shell .bsheet{width:95vw;max-width:none;max-height:90vh;overflow-y:auto;border-radius:16px 16px 0 0}.operator-shell .bsheet-close{min-height:56px;min-width:56px}.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}.operator-shell .add-mat-item{min-height:56px;padding:12px}.operator-shell .prod-banner{padding:12px 14px;flex-wrap:wrap}.operator-shell .mat-hdr{padding:12px 14px}.operator-shell .layer-pct-item input{min-height:56px;font-size:16px}}@media (min-width: 768px){.operator-shell.shell-page,main.shell-page.operator-shell{padding-inline:32px}}.operator-shell input,.operator-shell select,.operator-shell textarea{min-height:56px;width:100%;box-sizing:border-box}.operator-shell .emp-search,.operator-shell .bsheet-search,.operator-shell .add-mat-panel input{font-size:16px;min-height:56px;padding:12px 14px}.operator-shell .lot-row input,.operator-shell .pct-inp{font-size:16px;min-height:56px;padding:10px 12px}.operator-shell .layer-table input,.operator-shell .layer-table .pct-inp{font-size:16px;min-height:56px}.operator-shell .layer-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:8px}.operator-shell .layer-table{min-width:320px}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:12px 10px}.operator-shell .layer-swap-btn,.operator-shell .lot-rm{min-width:56px;min-height:56px;width:56px;height:56px}.operator-shell .lot-add-btn,.operator-shell .add-mat-create,.operator-shell .btn-soft,.operator-shell .replace-prod-btn{min-height:56px;min-width:56px;font-size:16px;padding:12px 16px}.operator-shell .add-mat-item,.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}.operator-shell .tile{min-height:52px}.operator-shell .emp-card{min-height:52px;padding:12px}@media (max-width: 767px){.operator-shell.shell-page,main.operator-shell.shell-page{padding:12px 16px;max-width:100%}.operator-shell .card{padding:16px}.operator-shell .operator-header{flex-wrap:wrap;gap:12px;padding:12px 0 16px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px 12px;gap:4px;scrollbar-width:none}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;padding:8px 10px;font-size:11px}.operator-shell .declarare-breadcrumb-step .declarare-breadcrumb-label{white-space:nowrap}.operator-shell .shift-bar{flex-wrap:wrap;gap:10px;padding:12px}.operator-shell .shift-bar input[type=date]{margin-left:0!important;width:100%;min-height:56px}.operator-shell .tile-grid,.operator-shell .emp-grid,.operator-shell .lot-fields,.operator-shell .add-mat-new-row{grid-template-columns:1fr;gap:10px}.operator-shell .add-mat-new-row .add-mat-create{width:100%}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;justify-content:center}.operator-shell .qty-warn-actions{flex-direction:column;gap:12px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;padding-bottom:4px;scrollbar-width:none}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .layer-pct-row{flex-direction:column;align-items:stretch;gap:10px}.operator-shell .layer-pct-item{padding:10px 12px}.operator-shell .layer-pct-item input{min-height:56px;font-size:16px}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:95vw;max-width:95vw;max-height:90vh;overflow-y:auto;padding:16px;border-radius:16px 16px 0 0}.operator-shell .bsheet-handle{margin-bottom:12px}.operator-shell .bsheet-close{min-height:56px;min-width:100%;padding:14px 16px;font-size:16px}.operator-shell .prod-banner{flex-wrap:wrap;padding:12px 14px}.operator-shell .mat-hdr{grid-template-columns:1fr auto;gap:8px;padding:12px 14px}.operator-shell .mat-hdr .mat-name{grid-column:1 / -1}.operator-shell .problems-box textarea{min-height:100px;font-size:16px}}@media (min-width: 768px){.operator-shell.shell-page,main.operator-shell.shell-page{padding:20px 32px}.operator-shell .card{padding:24px}.operator-shell .step-nav{flex-direction:row}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:auto}.operator-shell .lot-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.operator-shell .add-mat-new-row{grid-template-columns:1fr 1fr auto}}.operator-shell input,.operator-shell select,.operator-shell textarea{font-size:16px}@media (max-width: 767px){.operator-shell .shell-page{padding:12px 16px;max-width:100%}.operator-shell .operator-header{padding:12px 0 16px;flex-wrap:wrap;gap:8px}.operator-shell .operator-logo{height:36px;max-width:140px}.operator-shell .declarare-breadcrumb-label{display:none}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:6px 10px;gap:2px;margin-bottom:4px}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;padding:4px;min-height:34px;min-width:34px;justify-content:center;font-size:11px}.operator-shell .declarare-breadcrumb-num{width:22px;height:22px;font-size:11px}.operator-shell .declarare-breadcrumb-sep{flex-shrink:0;margin:0 2px}.operator-shell .shift-bar{flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px}.operator-shell .shift-bar input[type=date]{min-height:56px;margin-left:0!important;width:100%}.operator-shell .operator-shift-bar-compact{padding:6px 10px}.operator-shell .operator-shift-bar-compact input[type=date]{min-height:32px;padding:5px 8px}.operator-shell .emp-search{min-height:56px;padding:12px 14px;font-size:16px}.operator-shell .add-mat-new-row{grid-template-columns:1fr}.operator-shell .tile-grid{grid-template-columns:1fr;gap:10px}.operator-shell .tile{min-height:56px;padding:14px}.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .emp-card{min-height:56px;padding:14px}.operator-shell .card{padding:16px}.operator-shell .lot-fields{grid-template-columns:1fr;gap:10px}.operator-shell .lot-entry{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.operator-shell .lot-row input{min-height:56px;padding:12px 14px;font-size:16px}.operator-shell .lot-add-btn,.operator-shell .lot-rm{min-height:56px;min-width:56px;padding:12px 14px}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:12px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px;min-width:56px}.operator-shell .btn-soft,.operator-shell .add-mat-create{min-height:56px;min-width:56px;padding:12px 16px}.operator-shell .replace-prod-btn{min-height:56px;padding:12px 16px}.operator-shell .add-mat-panel input{min-height:56px;padding:12px 14px;font-size:16px}.operator-shell .add-mat-item{min-height:56px;padding:12px 14px}.operator-shell .operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:12px 10px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;padding-bottom:4px}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .layer-swap-btn{min-width:56px;min-height:56px}.operator-shell .pct-inp{min-height:56px;font-size:16px}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:95vw;max-width:95vw;max-height:90vh;overflow-y:auto;border-radius:14px 14px 0 0;padding:14px 16px}.operator-shell .bsheet-search{min-height:56px;padding:12px 14px;font-size:16px}.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}.operator-shell .bsheet-close{min-height:56px;padding:14px 16px}.operator-shell .qty-warn-actions{flex-direction:column;gap:12px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .prod-banner{flex-direction:column;align-items:flex-start;padding:12px 14px}.operator-shell .layer-pct-row{flex-direction:column;align-items:stretch}.operator-shell .layer-pct-item{min-height:56px}.operator-shell .layer-pct-item input{min-height:56px;font-size:16px}}@media (min-width: 768px){.operator-shell .shell-page{padding:20px 32px}.operator-shell .card{padding:24px}}.operator-shell .emp-search,.operator-shell input[type=date],.operator-shell input[type=text],.operator-shell input[type=number],.operator-shell input[type=search],.operator-shell select,.operator-shell textarea,.operator-shell .add-mat-panel input,.operator-shell .lot-row input,.operator-shell .bsheet-search,.operator-shell .pct-inp,.operator-shell .problems-box textarea{font-size:16px!important}.operator-shell .emp-search,.operator-shell input[type=date],.operator-shell .add-mat-panel input,.operator-shell .lot-row input,.operator-shell .bsheet-search,.operator-shell .pct-inp{min-height:56px;padding:12px 14px}.operator-shell .emp-card,.operator-shell .tile,.operator-shell .add-mat-item{min-height:56px}.operator-shell .declarare-breadcrumb-step{min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .shift-badge{min-height:56px;padding:10px 14px}@media (max-width: 767px){.operator-shell{max-width:100%}.operator-shell .shell-page{padding:16px;padding-inline:16px}.operator-shell .operator-header{flex-wrap:wrap;gap:12px;padding:12px 0 16px}.operator-shell .operator-logo{height:36px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 12px;gap:4px}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-sep{flex-shrink:0}.operator-shell .declarare-breadcrumb-step{flex-shrink:0;font-size:12px;padding:8px 10px}.operator-shell .declarare-breadcrumb-label{white-space:nowrap}.operator-shell .shift-bar{flex-wrap:wrap;gap:12px;padding:12px}.operator-shell .shift-bar input[type=date]{width:100%;margin-left:0!important}.operator-shell .add-mat-new-row{grid-template-columns:1fr}.operator-shell .lot-fields{grid-template-columns:1fr;gap:12px}.operator-shell .lot-entry{flex-direction:column;align-items:stretch;padding:12px;min-height:56px}.operator-shell .lot-row input{width:100%;min-height:56px}.operator-shell .lot-rm{min-width:56px;min-height:56px;width:56px;height:56px}.operator-shell .lot-add-btn{min-height:56px}.operator-shell .tile-grid{grid-template-columns:1fr;gap:10px}.operator-shell .tile{min-height:56px;padding:14px}.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .emp-card{padding:14px;min-height:52px}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:16px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;min-height:56px;min-width:56px}.operator-shell .replace-prod-btn{min-height:56px;width:100%}.operator-shell .add-mat-create,.operator-shell .btn-soft{min-height:56px;min-width:56px}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:95vw;max-width:none;max-height:90vh;overflow-y:auto;border-radius:14px 14px 0 0;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.operator-shell .bsheet-close{min-height:56px;min-width:56px;padding:14px}.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}.operator-shell .bsheet-search{min-height:56px}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:8px}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;min-width:56px;padding:10px 14px}.operator-shell .layer-swap-btn{min-width:56px;min-height:56px}.operator-shell .layer-pct-item input{min-height:56px;font-size:16px}.operator-shell .operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:12px 10px}.operator-shell .qty-warn-actions{flex-direction:column;gap:12px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .card{padding:16px}.operator-shell .prod-banner{flex-wrap:wrap;padding:12px}}@media (min-width: 768px){.operator-shell .shell-page{padding-inline:32px}}.operator-shell input,.operator-shell select,.operator-shell textarea{font-size:16px!important;min-height:56px}.operator-shell input[type=number],.operator-shell input[type=text],.operator-shell input[type=date],.operator-shell select{width:100%}.operator-shell .emp-search{min-height:56px;padding:12px 14px;font-size:16px}.operator-shell .lot-row input,.operator-shell .add-mat-panel input,.operator-shell .bsheet-search,.operator-shell .pct-inp{min-height:56px;padding:10px 12px;font-size:16px}.operator-shell .add-mat-new-row{grid-template-columns:1fr}@media (min-width: 768px){.operator-shell .add-mat-new-row{grid-template-columns:1fr 1fr auto}}.operator-shell .lot-fields{grid-template-columns:1fr}@media (min-width: 480px){.operator-shell .lot-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}.operator-shell .lot-entry{flex-direction:column;align-items:stretch;min-height:56px}@media (min-width: 480px){.operator-shell .lot-entry{flex-direction:row;align-items:flex-start}}.operator-shell .lot-rm,.operator-shell .layer-swap-btn{min-width:56px;min-height:56px;width:56px;height:56px}.operator-shell .lot-add-btn,.operator-shell .btn-soft,.operator-shell .add-mat-create{min-height:56px;min-width:56px;padding:12px 16px;font-size:16px}.operator-shell .add-mat-item,.operator-shell .bsheet-item{min-height:56px;padding:12px 14px;padding-inline-start:14px;padding-inline-end:14px}.operator-shell .tile,.operator-shell .emp-card{min-height:56px}.operator-shell.shell-page,main.operator-shell{padding-inline-start:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:24px}@media (min-width: 768px){.operator-shell.shell-page,main.operator-shell,.shell-page.operator-shell{padding-inline-start:32px;padding-inline-end:32px;padding-top:20px;padding-bottom:40px}}.operator-shell .card{padding:16px}@media (min-width: 768px){.operator-shell .card{padding:24px}}.declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-inline-start:12px;padding-inline-end:12px}.declarare-breadcrumb-step{flex-shrink:0;min-height:56px;padding:10px 14px}.operator-shell .shift-bar{flex-wrap:wrap;gap:10px;padding:12px 14px}.operator-shell .shift-bar input[type=date]{min-width:140px;flex:1}.operator-shell .tile-grid{grid-template-columns:1fr}@media (min-width: 768px){.operator-shell .tile-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}}.operator-shell .emp-grid{grid-template-columns:1fr}@media (min-width: 480px){.operator-shell .emp-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}}@media (min-width: 768px){.operator-shell .emp-grid{grid-template-columns:repeat(auto-fill,minmax(0,1fr))}}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:16px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%}@media (min-width: 768px){.operator-shell .step-nav{flex-direction:row;justify-content:space-between}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:auto}}.operator-shell .qty-warn-actions{flex-direction:column;gap:12px}.operator-shell .qty-warn-actions button{width:100%;min-height:56px}@media (min-width: 480px){.operator-shell .qty-warn-actions{flex-direction:row}.operator-shell .qty-warn-actions button{width:auto}}.operator-shell .layer-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;padding:10px 14px}.operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:-4px}.operator-shell .overlay{align-items:flex-end}.operator-shell .summary-sheet-overlay .summary-sheet{max-height:85vh;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0)}.operator-shell .summary-sheet-title{font-size:1.125rem;font-weight:700;margin:0 0 16px;padding:0}.operator-shell .summary-sheet-content{overflow-y:auto;flex:1;min-height:0;-webkit-overflow-scrolling:touch}.operator-shell .summary-section{margin-bottom:20px}.operator-shell .summary-section:last-of-type{margin-bottom:0}.operator-shell .summary-section-label{font-size:.75rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.operator-shell .summary-warn{color:#b45309;background:#fffbeb;padding:10px 12px;border-radius:6px;font-size:14px}.operator-shell .summary-sheet-actions{flex-shrink:0;padding:16px 0 0;border-top:1px solid #e5e7eb;margin-top:16px}.operator-shell .summary-sheet-actions .add-mat-create{background:var(--pm-green);border-color:var(--pm-green);width:100%;min-height:56px;margin-bottom:12px}.operator-shell .summary-sheet-actions .add-mat-create:hover{opacity:.9}.operator-shell .summary-sheet-actions .add-mat-create:disabled{opacity:.7}.operator-shell .bsheet{width:95vw;max-width:95vw;max-height:90vh;overflow-y:auto;padding:12px 16px}.operator-shell .bsheet-search{width:100%}.operator-shell .bsheet-close{min-height:56px;padding:12px 16px;font-size:16px}.operator-shell .bsheet .bsheet-close{position:relative}.summary-sheet-overlay.overlay{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0}.operator-shell .summary-sheet.bsheet{width:100%;max-width:100%;max-height:85vh;display:flex;flex-direction:column;border-radius:var(--rlg) var(--rlg) 0 0;padding:0 16px 16px}.summary-sheet-title{font-size:1.125rem;font-weight:700;margin:12px 0 16px;padding:0}.summary-sheet-content{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.summary-section{margin-bottom:20px}.summary-section:last-child{margin-bottom:0}.summary-section-label{font-size:.75rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.summary-warn{color:#b45309;background:#fffbeb;padding:10px 12px;border-radius:var(--r);font-size:14px}.summary-sheet-actions{flex-shrink:0;padding-top:16px;border-top:1px solid #e5e7eb;margin-top:0}.summary-sheet-actions .add-mat-create{background:var(--pm-green);border-color:var(--pm-green);color:#fff}.summary-sheet-actions .add-mat-create:hover:not(:disabled){opacity:.9}@media (min-width: 768px){.operator-shell .bsheet{width:min(480px,100%);max-width:32rem}}.operator-shell .prod-banner{flex-wrap:wrap;padding:12px 14px}.operator-shell .mat-hdr{grid-template-columns:auto 1fr auto;min-height:56px}.operator-shell .replace-prod-btn{min-height:56px;padding:12px 16px}.operator-shell .operator-header{flex-wrap:wrap;gap:10px;padding:12px 0 16px}.operator-shell .emp-search,.operator-shell .add-mat-panel input,.operator-shell .bsheet-search,.operator-shell .lot-row input,.operator-shell .pct-inp,.operator-shell input[type=date],.operator-shell input[type=number],.operator-shell input[type=text],.operator-shell select,.operator-shell textarea{font-size:16px!important}.operator-shell input,.operator-shell select,.operator-shell button:not(.lot-num):not(.tile-badge){min-height:56px}.operator-shell .emp-search{min-height:56px;padding:12px 14px}.operator-shell .tile,.operator-shell .emp-card,.operator-shell .add-mat-item{min-height:56px}.operator-shell .lot-rm,.operator-shell .layer-swap-btn{min-width:56px;min-height:56px;width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center}.operator-shell .lot-add-btn,.operator-shell .btn-soft,.operator-shell .add-mat-create,.operator-shell .replace-prod-btn{min-height:56px;min-width:56px;padding:12px 14px}.operator-shell .declarare-breadcrumb-step{min-height:56px;padding:10px 12px}.operator-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px}.operator-shell .layer-table th,.operator-shell .layer-table td{min-height:56px;padding:10px 12px}.operator-shell .bsheet-item{min-height:56px;padding:12px 14px}@media (max-width: 767px){.operator-shell.shell-page,main.operator-shell.shell-page{padding-inline:16px;padding-block:16px;max-width:100%}.operator-shell .card{padding:16px}.operator-shell .operator-header{padding:12px 0 16px;flex-wrap:wrap;gap:8px}.operator-shell .operator-logo{max-width:140px;height:36px}.operator-shell .declarare-breadcrumb{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 12px;gap:4px}.operator-shell .declarare-breadcrumb::-webkit-scrollbar{display:none}.operator-shell .declarare-breadcrumb-step{flex-shrink:0}.operator-shell .shift-bar{flex-wrap:wrap;gap:8px;padding:10px 12px}.operator-shell .shift-bar input[type=date]{margin-left:0!important;width:100%}.operator-shell .add-mat-new-row{grid-template-columns:1fr;gap:12px}.operator-shell .add-mat-new-row .add-mat-create{width:100%}.operator-shell .lot-fields{grid-template-columns:1fr;gap:10px}.operator-shell .lot-entry{flex-direction:column;align-items:stretch}.operator-shell .lot-entry .lot-num{margin-bottom:4px}.operator-shell .tile-grid{grid-template-columns:1fr;gap:10px}.operator-shell .emp-grid{grid-template-columns:1fr}.operator-shell .step-nav{flex-direction:column;gap:12px;margin-top:16px}.operator-shell .step-nav .btn-soft,.operator-shell .step-nav .add-mat-create{width:100%;margin:0}.operator-shell .add-mat-create:not(.step-nav .add-mat-create){width:100%}.operator-shell .qty-warn-actions{flex-direction:column;gap:10px}.operator-shell .qty-warn-actions .btn-soft,.operator-shell .qty-warn-actions .add-mat-create{width:100%}.operator-shell .overlay{align-items:flex-end;padding:0}.operator-shell .bsheet{width:95vw!important;max-width:95vw;max-height:90vh;overflow-y:auto;border-radius:14px 14px 0 0;padding:14px}.operator-shell .bsheet-close{min-height:56px;min-width:56px;padding:12px 16px;font-size:16px;margin-top:12px}.operator-shell .layer-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:8px}.operator-shell .layer-tabs::-webkit-scrollbar{display:none}.operator-shell .layer-tab{flex-shrink:0;min-height:56px;padding:10px 14px}.operator-shell .prod-banner{flex-wrap:wrap;padding:12px 14px}.operator-shell .mat-hdr{grid-template-columns:1fr auto;gap:8px;padding:10px 12px}.operator-shell .lot-row input{width:100%;min-height:56px;padding:12px 14px}.operator-shell .pct-inp{min-height:56px;padding:10px 12px}}@media (min-width: 768px){.operator-shell.shell-page,main.operator-shell.shell-page{padding-inline:32px}.operator-shell .card{padding:24px}}@media (max-width: 640px){.operator-shell,.operator-shell *{max-width:100%;box-sizing:border-box}.operator-shell{overflow-x:hidden}.operator-shell .operator-logo,.operator-shell .shift-bar input[type=date]{min-width:0;width:100%;max-width:100%}}
