@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.table{display:table}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--green:#0b5d3b;--green-2:#0f7a4d;--green-soft:#e8f5ef;--bg:#f6f8f7;--card:#fff;--surface-soft:#fbfcfb;--input-bg:#fff;--text:#17231d;--muted:#66736d;--border:#dfe7e3;--warning:#b7791f;--warning-bg:#fff7df;--danger:#b42318;--danger-bg:#fff0ee;--success:#0f7a4d;--success-bg:#e8f5ef;--neutral-bg:#f1f5f3;--neutral-text:#55645d;--nav-text:#33443b;--btn-text:#26352e;--field-label:#34483e;--progress-bg:#edf2ef;--mobile-top-bg:#fffffff5;--shadow:0 16px 45px #0e291c14;--radius:18px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--green:#47d18d;--green-2:#59e0a0;--green-soft:#123222;--bg:#0f1612;--card:#17211b;--surface-soft:#111a15;--input-bg:#101812;--text:#edf7f1;--muted:#a9b8b0;--border:#2a3a31;--warning:#f7c86b;--warning-bg:#33260d;--danger:#ff9b91;--danger-bg:#3a1815;--success:#62dfa0;--success-bg:#123222;--neutral-bg:#1e2a24;--neutral-text:#c1d0c8;--nav-text:#d6e6de;--btn-text:#edf7f1;--field-label:#d6e6de;--progress-bg:#26362e;--mobile-top-bg:#17211bf5;--shadow:0 16px 45px #00000047}}*{box-sizing:border-box}html,body{background:var(--bg);max-width:100vw;color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}.app-shell{grid-template-columns:280px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--card);border-right:1px solid var(--border);height:100vh;padding:22px 18px;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.brand-mark{background:linear-gradient(135deg, var(--green), #13905b);color:#fff;letter-spacing:-1px;border-radius:14px;place-items:center;width:44px;height:44px;font-weight:900;display:grid;box-shadow:0 12px 24px #0b5d3b38}.brand-title{font-size:19px;font-weight:850;line-height:1.1}.brand-subtitle{color:var(--muted);margin-top:3px;font-size:12px}.role-pill{background:var(--green-soft);color:var(--green);border-radius:999px;align-items:center;gap:8px;margin-bottom:18px;padding:8px 10px;font-size:12px;font-weight:750;display:inline-flex}.nav{gap:7px;display:grid}.nav a,.nav button{width:100%;color:var(--nav-text);text-align:left;background:0 0;border-radius:13px;align-items:center;gap:10px;padding:12px 13px;font-weight:650;transition:all .18s;display:flex}.nav a:hover,.nav button:hover{background:var(--neutral-bg)}.nav a.active{background:var(--green);color:#fff;box-shadow:0 12px 20px #0b5d3b2e}.main{min-width:0;padding:28px}.topbar{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.topbar h1{letter-spacing:-1px;margin:0;font-size:clamp(25px,3vw,34px)}.topbar p{color:var(--muted);max-width:760px;margin:7px 0 0}.route-label{background:var(--card);border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:999px;padding:8px 11px;font-size:12px;display:inline-flex}.mobile-top{display:none}.mobile-top .brand,.drawer-head .brand{margin-bottom:0}.mobile-menu-btn{min-width:44px;min-height:40px;font-size:22px;line-height:1}.drawer-backdrop{z-index:80;background:#0718106b;position:fixed;inset:0}.mobile-drawer{z-index:90;background:var(--card);border-right:1px solid var(--border);width:min(330px,86vw);height:100vh;padding:18px;transition:transform .22s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%);box-shadow:22px 0 55px #0e291c2e}.mobile-drawer.open{transform:translate(0)}.drawer-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.close-btn{background:var(--neutral-bg);width:38px;height:38px;color:var(--text);border-radius:12px;place-items:center;font-size:26px;line-height:1;display:grid}.close-btn:hover{background:var(--green-soft);color:var(--green)}.nav-icon{text-align:center;width:24px;min-width:24px}.grid{gap:16px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.card-title{justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px;font-size:16px;font-weight:850;display:flex}.kpi{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.kpi .label{color:var(--muted);font-size:13px;font-weight:700}.kpi .value{letter-spacing:-1px;margin-top:8px;font-size:31px;font-weight:900}.kpi .hint{color:var(--muted);margin-top:5px;font-size:12px}.kpi-icon{background:var(--green-soft);width:43px;height:43px;color:var(--green);border-radius:14px;place-items:center;font-size:20px;display:grid}.progress{background:var(--progress-bg);border-radius:999px;width:100%;height:10px;overflow:hidden}.progress>span{background:linear-gradient(90deg, var(--green), #21a66b);border-radius:inherit;height:100%;display:block}.table-wrap{border:1px solid var(--border);border-radius:15px;overflow-x:auto}table{border-collapse:collapse;background:var(--card);width:100%;min-width:720px}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:13px 14px;font-size:13px}th{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;background:var(--surface-soft);font-size:12px}tr:last-child td{border-bottom:0}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.badge.success{background:var(--success-bg);color:var(--success)}.badge.warning{background:var(--warning-bg);color:var(--warning)}.badge.danger{background:var(--danger-bg);color:var(--danger)}.badge.neutral{background:var(--neutral-bg);color:var(--neutral-text)}.btn{background:var(--neutral-bg);color:var(--btn-text);border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-weight:850;transition:all .18s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--green);color:#fff;box-shadow:0 12px 24px #0b5d3b2e}.btn.secondary{background:var(--green-soft);color:var(--green);border-color:var(--green)}.btn.danger{background:var(--danger-bg);color:var(--danger)}.btn.warning{background:var(--warning-bg);color:var(--warning)}.btn.ghost{border-color:var(--border);background:0 0}.btn.neutral{background:var(--neutral-bg);color:var(--neutral-text);border-color:var(--border)}.btn.large{border-radius:20px;width:100%;min-height:78px;font-size:19px}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.actions{flex-wrap:wrap;gap:8px;display:flex}.field{gap:7px;margin-bottom:13px;display:grid}.field label{color:var(--field-label);font-size:13px;font-weight:800}.input,.select,textarea{border:1px solid var(--border);background:var(--input-bg);width:100%;color:var(--text);border-radius:13px;outline:none;min-height:45px;padding:12px 13px}.input:focus,.select:focus,textarea:focus{border-color:#6ab38d;box-shadow:0 0 0 4px #0b5d3b14}.muted{color:var(--muted)}.small{font-size:12px}.login-page{background:radial-gradient(circle at 20% 20%, #21a66b29, transparent 30%), radial-gradient(circle at 80% 80%, #0b5d3b1f, transparent 30%), var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--card);border:1px solid var(--border);width:min(410px,100%);box-shadow:var(--shadow);border-radius:26px;padding:30px}.login-card h2{letter-spacing:-.7px;margin:0 0 18px;font-size:27px}.alert{border-radius:15px;margin:12px 0;padding:13px 14px;font-size:13px;font-weight:750}.alert.success{background:var(--success-bg);color:var(--success);border:1px solid #cceadd}.alert.warning{background:var(--warning-bg);color:var(--warning);border:1px solid #f1dfad}.alert.danger{background:var(--danger-bg);color:var(--danger);border:1px solid #ffd3cf}.alert.neutral{background:var(--neutral-bg);color:var(--neutral-text);border:1px solid var(--border)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--green-soft);color:var(--green);border:1px solid #0000;border-radius:999px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:800;display:inline-flex}.chip.selected{background:var(--green-soft);border-color:var(--green);color:var(--green)}.summary-box{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.summary-item{background:var(--surface-soft);border:1px solid var(--border);border-radius:15px;padding:13px}.summary-item strong{margin-top:6px;font-size:19px;display:block}.modal-backdrop{z-index:9999;background:#091a116b;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.modal-backdrop.open{display:flex}.modal{background:var(--card);border:1px solid var(--border);width:min(640px,100%);max-height:90vh;box-shadow:var(--shadow);border-radius:22px;padding:22px;overflow-y:auto}.modal-with-footer{background:var(--card);border:1px solid var(--border);width:min(640px,100%);max-height:90vh;box-shadow:var(--shadow);border-radius:22px;flex-direction:column;padding:0;display:flex;overflow:hidden}.modal-body{flex:1;padding:22px 22px 12px;overflow-y:auto}.modal-footer{border-top:1px solid var(--border);background:var(--card);flex-shrink:0;gap:8px;padding:14px 22px;display:flex}.operator-layout{background:var(--bg);min-height:100vh}.operator-header{background:var(--card);border-bottom:1px solid var(--border);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:16px;width:100%;min-width:0;padding:18px 28px;display:flex}.operator-header .brand{flex:auto;min-width:0;margin-bottom:0}.operator-header .brand-mark{flex:none}.operator-header .brand>div:last-child{min-width:0}.operator-header .brand-title,.operator-header .brand-subtitle{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.operator-main{padding:28px}.operator-actions{flex-wrap:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.operator-actions .btn{white-space:nowrap;flex:none;min-height:44px}.operator-session{display:none!important}.operator-hero{background:linear-gradient(135deg, var(--green), #15935d);color:#fff;border:0}.operator-hero .muted{color:#ffffffc2}.operator-hero .btn{color:var(--green);background:#fff}.operator-current-username-row{justify-content:flex-start;margin:-14px 0 18px;padding-left:2px;display:flex}.operator-current-username{width:fit-content;max-width:100%;color:var(--green);letter-spacing:.01em;white-space:nowrap;background:0 0;border:0;border-radius:0;align-items:center;gap:6px;padding:0;font-size:20px;font-weight:900;display:inline-flex}.operator-current-username-label{color:var(--muted);font-weight:750}@media (max-width:820px){.operator-current-username-row{justify-content:flex-start;margin:-10px 0 16px;padding-left:0}}.operator-pending-table{min-width:920px}.operator-pending-table>tbody>tr>td{vertical-align:middle}.operator-pending-table tbody tr:hover{background:#0b5d3b09}.pending-reference-cell{min-width:190px}.pending-reference-cell strong{margin-bottom:3px;display:inline-block}.operator-number-cell{text-align:center;white-space:nowrap}.ref-detail-list{gap:8px;min-width:270px;display:grid}.ref-detail-item{background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;padding:10px 12px}.ref-detail-item strong{margin-bottom:3px;display:block}.ref-detail-item .ref-meta{background:var(--green-soft);color:var(--green);border-radius:999px;margin-top:6px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.filters{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}@media (max-width:1100px){.grid-4,.grid-3,.summary-box{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.app-shell{display:block}.sidebar{display:none}.mobile-top{z-index:70;background:var(--mobile-top-bg);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex;position:sticky;top:0}.mobile-top .brand-title{font-size:16px}.mobile-top .brand-subtitle{font-size:11px}.mobile-top .brand-mark{border-radius:12px;width:38px;height:38px}.main,.operator-main{padding:18px 14px}.topbar{display:grid}.route-label{text-overflow:ellipsis;width:max-content;max-width:100%;overflow:hidden}.grid-4,.grid-3,.grid-2,.summary-box{grid-template-columns:1fr}.card-title{flex-direction:column;align-items:flex-start}.operator-pending-table{min-width:920px}.pending-reference-cell{min-width:180px}}@media (max-width:1366px) and (orientation:landscape){.operator-header{gap:12px;padding:14px 20px}.operator-main{padding:22px 20px}.operator-actions .btn{min-height:44px;padding:10px 14px}}@media (max-width:900px){.operator-header{gap:10px;padding:14px 16px}.operator-main{padding:18px 14px}.operator-header .brand{gap:10px}.operator-header .brand-mark{border-radius:12px;width:40px;min-width:40px;height:40px}.operator-header .brand-title{font-size:16px}.operator-header .brand-subtitle{font-size:11px}.operator-actions{gap:7px}.operator-actions .btn{border-radius:12px;min-height:44px;padding:10px 13px;font-size:13px}}@media (max-width:600px){.operator-header{gap:8px;padding:12px}.operator-main{padding:14px 10px}.operator-header .brand{gap:8px}.operator-header .brand-mark{border-radius:11px;width:36px;min-width:36px;height:36px;font-size:13px}.operator-header .brand-title{font-size:15px}.operator-header .brand-subtitle{display:none}.operator-actions{gap:6px}.operator-actions .btn{border-radius:11px;min-height:42px;padding:9px 11px;font-size:12px}}.new-order-flow{gap:16px;display:grid}.order-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.order-section-heading h3,.selected-production-head h3{margin:0}.order-section-heading p,.selected-production-head p,.batch-submit-card p{margin:5px 0 0}.production-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.production-select-card{border:2px solid var(--border);background:var(--surface-soft);width:100%;color:var(--text);text-align:left;border-radius:16px;gap:7px;padding:16px;transition:border-color .18s,transform .18s,box-shadow .18s,background .18s;display:grid}.production-select-card:hover{border-color:var(--green);box-shadow:var(--shadow);transform:translateY(-2px)}.production-select-card.active{border-color:var(--green);background:var(--green-soft)}.production-select-card-code{font-size:17px;font-weight:900}.production-select-card-type{color:var(--green);font-size:12px;font-weight:850}.production-select-card-stat{color:var(--muted);font-size:12px}.production-select-card-action{color:var(--green);margin-top:4px;font-size:12px;font-weight:900}.production-selector-sticky{z-index:40;position:sticky;top:12px}.production-selector-sticky>.card{box-shadow:0 12px 30px #0e291c24, 0 0 0 1px var(--border)}.active-productions-selector{min-width:0}.selected-production-panel{gap:14px;display:grid}.selected-production-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.production-reference-selection-table{min-width:980px}.production-reference-quantity,.production-cart-quantity{min-width:110px;max-width:145px}.production-cart-section,.production-cart-groups{gap:14px;display:grid}.production-cart-totals{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.production-cart-totals span{background:var(--neutral-bg);color:var(--neutral-text);border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}.production-cart-group{border:1px solid var(--border);background:var(--card);border-radius:16px;overflow:hidden}.production-cart-group-head{border-bottom:1px solid var(--border);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;display:flex}.production-cart-group-head div{gap:3px;display:grid}.production-cart-group .table-wrap{border:0;border-radius:0}.production-cart-table{min-width:760px}.batch-submit-card{grid-template-columns:minmax(0,1fr) minmax(260px,420px);align-items:center;gap:18px;display:grid}.batch-result-table{min-width:820px}.operator-required-alert{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.operator-required-alert>div{gap:4px;display:grid}.operator-selection-card{scroll-margin-top:150px}.order-steps-bar{background:var(--card);border:1px solid var(--border);border-radius:14px;align-items:center;gap:0;margin-bottom:16px;padding:14px 16px;display:flex;overflow-x:auto}.order-step{opacity:.4;flex:1;align-items:center;gap:8px;min-width:0;transition:opacity .2s;display:flex}.order-step.active,.order-step.done{opacity:1}.order-step-number{background:var(--border);width:28px;height:28px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:background .2s,color .2s;display:flex}.order-step.active .order-step-number,.order-step.done .order-step-number{background:var(--green);color:#fff}.order-step-label{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.order-step-connector{background:var(--border);flex:1;min-width:12px;height:2px;margin:0 6px;transition:background .2s}.order-step.done .order-step-connector{background:var(--green)}.step-next-action{justify-content:flex-end;padding:4px 0 8px;display:flex}@media print{.no-print,.operator-actions,.modal-backdrop,.route-label,.sidebar,.mobile-top,.mobile-drawer,.drawer-backdrop,.bottom-nav{display:none!important}body{background:#fff!important}.operator-layout,.app-shell{background:#fff!important;display:block!important}.operator-header{border-bottom:1px solid var(--border);break-after:avoid;padding:12px 0!important}.operator-main,.main{padding:0!important}.topbar{break-after:avoid;margin-bottom:12px}.topbar h1{font-size:22px}.card{break-inside:avoid;box-shadow:none!important}.table-wrap{break-inside:avoid}.actions{display:none!important}}@media (max-width:1100px){.production-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.production-card-grid{grid-template-columns:1fr}.order-section-heading,.selected-production-head,.batch-submit-card{grid-template-columns:1fr;display:grid}.production-cart-totals{justify-content:flex-start}.batch-submit-card .btn.large{min-height:58px;font-size:16px}.operator-required-alert{align-items:stretch;display:grid}.operator-required-alert .btn{width:100%}.production-selector-sticky{top:8px}}@media (max-width:600px){.order-step-label{display:none}.order-steps-bar{justify-content:center;gap:4px}.order-step{flex:none}.order-step-connector{min-width:20px}}.production-netflix-row{scrollbar-width:thin;scrollbar-color:var(--border) transparent;scroll-snap-type:x mandatory;gap:12px;padding:4px 2px 12px;display:flex;overflow-x:auto}.production-netflix-row .production-select-card{scroll-snap-align:start;flex-shrink:0;min-width:220px;max-width:260px}.order-frame{gap:16px;display:grid}.order-frame-panel{border-left:3px solid var(--green)}.step-nav-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.ref-search-result{border-left:3px solid var(--green);padding:12px}.ref-search-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.ref-search-code{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ref-search-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ref-qty-input{flex-shrink:0;width:90px;min-height:38px;padding:6px 10px}.operator-search-results{border:1px solid var(--border);border-radius:13px;gap:4px;margin-top:8px;display:grid;overflow:hidden}.operator-search-item{background:var(--card);text-align:left;border:0;border-bottom:1px solid var(--border);cursor:pointer;align-items:center;gap:10px;padding:10px 14px;transition:background .15s;display:flex}.operator-search-item:last-child{border-bottom:0}.operator-search-item:hover{background:var(--neutral-bg)}.operator-search-item.selected{background:var(--green-soft)}.operator-search-item span:first-child{flex:1;font-weight:600}.search-field-label{color:var(--field-label);margin-bottom:6px;font-size:13px;font-weight:800;display:block}.search-input-wrap{position:relative}.search-input-wrap .input{padding-right:44px}.search-clear-btn{color:#fff;cursor:pointer;background:#e53e3e;border:0;border-radius:0 13px 13px 0;justify-content:center;align-items:center;width:44px;font-size:18px;font-weight:900;transition:background .15s;display:flex;position:absolute;top:0;bottom:0;right:0}.search-clear-btn:hover{background:#c53030}.ref-search-meta{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.ref-pending-pill{background:var(--warning-bg);color:var(--warning);white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:800}.ref-stats-pills{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.ref-stat-pill{color:var(--text);white-space:nowrap;background:#eef4f1;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.ref-stat-pill.delivered,.ref-stat-pill.success{color:var(--green);background:#e8f3ee}.ref-stat-pill.danger{background:var(--danger-bg);color:var(--danger)}.confirm-overlay{z-index:9999;background:#0b5d3bd1;flex-direction:column;justify-content:center;align-items:center;gap:16px;animation:1.8s forwards confirm-fade;display:flex;position:fixed;inset:0}.confirm-check{width:100px;height:100px;color:var(--green);background:#fff;border-radius:50%;justify-content:center;align-items:center;font-size:56px;font-weight:900;animation:.4s cubic-bezier(.175,.885,.32,1.275) forwards confirm-pop;display:flex;box-shadow:0 8px 32px #0000002e}.confirm-label{color:#fff;margin:0;font-size:22px;font-weight:800}@keyframes confirm-pop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}@keyframes confirm-fade{0%{opacity:1}70%{opacity:1}to{opacity:0;pointer-events:none}}.signature-modal{width:min(760px,100%)}.signature-modal-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.signature-modal-head h2{margin:0 0 8px}.signature-modal-head p{margin:4px 0 0}.warehouse-signature-pad{width:100%;min-height:240px;color:var(--text);background:var(--input-bg);border:2px dashed var(--border);cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:16px;display:block}.warehouse-signature-pad:focus,.warehouse-signature-pad:hover{border-color:var(--green)}.signature-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;display:flex}@media (max-width:600px){.signature-modal-head{gap:12px}.warehouse-signature-pad{min-height:190px}.signature-modal-actions{grid-template-columns:1fr;display:grid}.signature-modal-actions .btn{width:100%}}.print-jobs-wrap{max-height:420px;overflow-y:auto}.print-jobs-thead th{z-index:2;background:var(--surface-soft);position:sticky;top:0}.ref-qty-warning{color:var(--danger);margin:6px 0 0;font-size:12px;font-weight:700}.proforma-viewer-card{gap:14px;display:grid}.proforma-viewer-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.proforma-viewer-toolbar h3{margin:0 0 6px;font-size:18px;font-weight:900}.proforma-frame-wrap{border:1px solid var(--border);background:#fff;border-radius:16px;width:100%;height:calc(100vh - 240px);min-height:640px;overflow:hidden}.proforma-frame,.proforma-pdf-object,.proforma-pdf-embed{background:#fff;border:0;width:100%;height:100%;display:block}@media (max-width:820px){.proforma-frame-wrap{height:calc(100vh - 260px);min-height:560px}.proforma-viewer-toolbar{display:grid}.proforma-viewer-toolbar .actions{width:100%}.proforma-viewer-toolbar .btn{flex:1}}@media print{.proforma-viewer-toolbar{display:none!important}.proforma-frame-wrap{border:0;border-radius:0;height:100vh;min-height:100vh}}.password-input-wrap{position:relative}.password-input-wrap .input{padding-right:52px}.password-visibility-btn{background:var(--neutral-bg);width:38px;height:38px;color:var(--muted);border:1px solid var(--border);cursor:pointer;border-radius:11px;place-items:center;transition:background .15s,color .15s,border-color .15s;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.password-visibility-btn:hover{background:var(--green-soft);color:var(--green);border-color:var(--green)}.password-visibility-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.audit-events-table{table-layout:fixed;min-width:940px}.audit-events-table .audit-date-cell{width:9%}.audit-events-table .audit-user-cell{width:12%}.audit-events-table .audit-action-cell{width:15%}.audit-events-table .audit-module-cell{width:11%}.audit-events-table .audit-before-cell{width:16%}.audit-events-table .audit-after-cell{width:25%}.audit-events-table .audit-result-cell{text-align:right;width:12%}.audit-events-table th.audit-result-cell{text-align:right}.audit-events-table td.audit-result-cell{white-space:nowrap}.audit-events-table .audit-text-cell{white-space:normal;overflow-wrap:anywhere}.local-proforma-document{color:#111;border:1px solid var(--border);background:#fff;border-radius:16px;padding:18px;overflow-x:auto}.local-proforma-meta{gap:4px;margin-bottom:16px;display:grid}.local-proforma-meta p{margin:0;font-size:13px}.local-proforma-document h2{text-align:center;margin:12px 0 4px;font-size:22px}.local-proforma-subtitle{text-align:center;margin:0 0 14px;font-weight:700}.local-proforma-table{min-width:520px}.local-proforma-text{margin-top:16px;font-size:13px}.local-proforma-text pre{white-space:pre-wrap;margin:6px 0 0;font-family:inherit;line-height:1.35}.order-lines-table-wrap{border-radius:16px;max-height:520px;overflow:auto}.order-lines-table{min-width:900px}.order-lines-table thead th{z-index:2;background:var(--surface-soft);box-shadow:0 1px 0 var(--border);position:sticky;top:0}.production-highlight-head{border-left:5px solid var(--danger);background:linear-gradient(135deg, var(--danger-bg), #b4231814)}.production-highlight-block{gap:3px;display:grid}.production-highlight-label{background:var(--danger);color:#fff;text-transform:uppercase;letter-spacing:.05em;border-radius:999px;width:max-content;padding:4px 8px;font-size:10px;font-weight:900}.production-highlight-code{color:var(--danger);font-size:18px;font-weight:950}.production-highlight-type{color:var(--danger);font-size:12px;font-weight:800}.production-highlight-inline{border-left:5px solid var(--danger);background:linear-gradient(135deg, var(--danger-bg), #b4231814);border-radius:14px;gap:4px;min-width:160px;padding:10px 12px;display:inline-grid}.production-result-badge{background:var(--danger-bg);width:fit-content;max-width:100%;color:var(--danger);white-space:normal;border:1px solid #b4231838;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;font-weight:900;line-height:1.35;display:inline-flex}.production-delete-hint{max-width:280px;margin:8px 0 0;line-height:1.4}.production-row-actions{flex-wrap:wrap}.production-result-badge:before{content:"PRODUCCIÓN";background:var(--danger);color:#fff;letter-spacing:.04em;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:950;display:inline-flex}.acts-kpi-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:16px;padding-bottom:2px;display:grid;overflow-x:auto}.acts-kpi-grid>.card{min-width:220px}.local-orders-unified-table{min-width:1050px}.local-production-badge{white-space:normal;width:fit-content;max-width:none;text-overflow:unset;line-height:1.35;overflow:visible}.local-orders-unified-table td:first-child{vertical-align:top;min-width:220px}.local-order-production-actions{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:16px;display:grid}.local-order-production-action-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;padding:14px}.local-order-production-action-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.local-reference-production-cell{align-items:center;gap:10px;min-width:260px;display:flex}.local-reference-checkbox{width:20px;height:20px;accent-color:var(--green);cursor:pointer;flex:none}.local-reference-checkbox:disabled{cursor:not-allowed;opacity:.45}.local-proforma-frame-wrap{background:var(--card);height:auto;min-height:0;padding:0;overflow:auto}@media (max-width:900px){.local-proforma-frame-wrap{border:0;height:auto;min-height:0;max-height:none;overflow:visible}}.mobile-pdf-viewer{background:#fff;border-radius:16px;gap:14px;width:100%;padding:4px 0 12px;display:grid;overflow-x:auto}.mobile-pdf-page{border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;height:auto;margin:0 auto;display:block;box-shadow:0 10px 28px #0e291c14}@media (max-width:900px){.proforma-frame-wrap{height:calc(100vh - 190px);min-height:620px}.proforma-viewer-card{padding:12px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
