:root{--bg:#f4f7f5;--panel:#fff;--ink:#15221c;--muted:#6a7770;--line:#dfe7e2;--green:#16643f;--green2:#0f4d32;--soft:#eaf5ee;--red:#b64242;--shadow:0 18px 60px rgba(22,57,39,.09);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}.startup{min-height:100vh;display:grid;place-content:center;gap:12px;text-align:center;color:var(--muted)}.spinner{width:34px;height:34px;border:3px solid #d8e6dd;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr)}.auth-hero{background:linear-gradient(145deg,#0b3927,#176140);color:white;padding:56px;display:flex;flex-direction:column;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:750}.brand-mark{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#d9f5e3;color:#145638;font-weight:900}.hero-copy{max-width:620px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:#a9e6bf}.hero-copy h1{font-size:clamp(40px,5vw,68px);line-height:1.02;margin:16px 0}.hero-copy p{font-size:18px;line-height:1.7;color:rgba(255,255,255,.75)}.auth-panel{display:grid;place-items:center;padding:32px}.auth-card{width:min(430px,100%);background:var(--panel);padding:38px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}h1,h2,h3,p{margin-top:0}.subtle{color:var(--muted)}.form{display:grid;gap:16px}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:750}.input,.select,.textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 14px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#58a578;box-shadow:0 0 0 3px rgba(39,135,82,.12)}.textarea{min-height:110px;resize:vertical}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:750;cursor:pointer}.btn-primary{background:var(--green);color:#fff}.btn-secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-danger{background:#fff0f0;color:var(--red)}.alert{padding:12px 14px;border-radius:12px;margin:12px 0}.alert-error{background:#fff0f0;color:#8c2f2f}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{background:#0f2f22;color:#d8e7de;padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden}.side-brand{padding:4px 8px 24px}.nav{display:grid;gap:5px}.nav-label{padding:18px 12px 8px;color:#7fa28f;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800}.nav-btn{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#c6d8ce;padding:11px 12px;border-radius:11px;text-align:left;cursor:pointer}.nav-btn:hover,.nav-btn.active{background:rgba(255,255,255,.1);color:#fff}.nav-spacer{flex:1}.account-mini{display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.1);padding:18px 8px 0}.avatar{width:38px;height:38px;border-radius:12px;background:#d8f3e2;color:#124b31;display:grid;place-items:center;font-weight:850}.account-mini strong,.account-mini small{display:block}.account-mini small{color:#91ad9d;margin-top:2px}.main{min-width:0}.topbar{height:72px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:5}.topbar-title{font-weight:800}.topbar-spacer{flex:1}.page{padding:30px;max-width:1440px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.page-head h1{font-size:32px;margin-bottom:7px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 35px rgba(31,64,46,.05)}.section{padding:22px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.kpi{padding:20px}.kpi small{color:var(--muted)}.kpi strong{display:block;font-size:28px;margin:8px 0}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.table th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.status{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--soft);color:var(--green);font-size:12px;font-weight:800}.status.pending,.status.assigned{background:#fff6df;color:#8d6517}.status.rejected,.status.missed{background:#fff0f0;color:#a33}.empty{padding:44px;text-align:center;color:var(--muted)}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.clock-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.clock-state{font-size:28px;font-weight:850}.task-card,.notification{padding:18px;border-bottom:1px solid var(--line)}.task-card:last-child,.notification:last-child{border-bottom:0}.task-actions{display:flex;gap:8px;margin-top:12px}.summary-line{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line)}.summary-line:last-child{border-bottom:0}.mobile-menu{display:none}.employee-toast{position:fixed;right:22px;bottom:22px;background:#123c2a;color:white;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow);z-index:1200}@media(max-width:900px){.auth{grid-template-columns:1fr}.auth-hero{display:none}.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-280px;width:260px;z-index:20;transition:.2s}.sidebar.open{left:0}.mobile-menu{display:inline-flex}.kpis,.grid-3,.grid-2{grid-template-columns:1fr}.page{padding:20px}.topbar{padding:0 18px}.page-head{flex-direction:column}.clock-card{grid-template-columns:1fr}}

/* Guided production weighing workflow */
.production-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.production-assignment-card{padding:21px}.assignment-top{display:flex;justify-content:space-between;align-items:center}.production-assignment-card h3{margin:15px 0 5px;font-size:21px}.assignment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.assignment-meta span{padding:11px;border:1px solid var(--line);border-radius:11px;background:#fbfcfb}.assignment-meta small,.assignment-meta strong{display:block}.assignment-meta small{color:var(--muted);font-size:11px;margin-bottom:5px}.progress-track{height:8px;background:#e4ece7;border-radius:999px;overflow:hidden;margin:14px 0 18px}.progress-track span{display:block;height:100%;background:var(--green);border-radius:inherit}.text-button{border:0;background:transparent;color:var(--green);padding:0;margin:0 0 18px;font-weight:750;cursor:pointer}.production-order-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:22px;margin-bottom:16px}.production-order-header h1{margin:12px 0 5px}.production-order-header p{margin:0;color:var(--muted)}.production-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.guided-weighing-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:18px;margin-bottom:18px}.current-ingredient-card h2{font-size:30px;margin:10px 0 0}.ingredient-step-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-2px 0 18px;color:var(--muted);font-size:13px}.ingredient-step-line strong{color:var(--ink);font-size:15px}.ingredient-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ingredient-sku{margin-top:8px;color:var(--muted);font-size:14px;font-weight:800;letter-spacing:.03em}.weight-unit-control{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}.weight-unit-control>span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.segmented-unit-toggle{display:inline-grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:3px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f2f6f3}.segmented-unit-toggle button{border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:850;line-height:1;padding:9px 12px;cursor:pointer}.segmented-unit-toggle button.active{background:#fff;color:var(--green);box-shadow:0 1px 5px rgba(18,63,44,.12)}.legacy-instruction{margin:22px 0 16px;font-size:clamp(19px,2vw,27px);line-height:1.25;letter-spacing:-.025em}.live-weight-progress{position:relative;isolation:isolate;height:76px;margin:0 0 14px;border:1px solid #d8ded9;border-radius:999px;background:#eef1ed;overflow:hidden;display:grid;place-items:center;box-shadow:inset 0 1px 3px rgba(18,63,44,.06)}.live-weight-progress>span{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:#a6b67e;transition:width .14s linear,background .18s ease}.live-weight-progress>strong{position:relative;z-index:1;padding:0 18px;text-align:center;color:#fff;font-size:clamp(22px,2.1vw,31px);font-weight:900;letter-spacing:-.02em;text-shadow:0 2px 5px rgba(17,39,28,.28)}.live-weight-progress.weighing>span{background:#77934b}.live-weight-progress.within>span{background:#228a51}.live-weight-progress.over>span{background:#c93a31}.live-weight-progress.confirmed>span{background:#16643f}.live-weight-message{display:grid;place-items:center;min-height:76px;margin-bottom:18px;padding:14px 20px;border:1px solid #dfe5d7;border-radius:22px;background:#f4f6ed;color:#526a27;text-align:center;font-size:clamp(20px,2vw,28px);font-weight:900;letter-spacing:-.025em}.live-weight-message.weighing{background:#f1f6e9;color:#4f6824}.live-weight-message.within{background:#e6f6eb;border-color:#c4e7d0;color:#176d42}.live-weight-message.over{background:#fff0ef;border-color:#f0c4c0;color:#ae2e27}.live-weight-message.confirmed{background:#def3e6;border-color:#b7ddc5;color:#105d37}.ingredient-target{padding:17px;border-radius:15px;background:var(--soft);margin-bottom:12px}.ingredient-target small,.ingredient-target strong{display:block}.ingredient-target strong{font-size:32px;margin-top:6px}.recipe-unit-note{display:block;margin-top:7px;color:var(--muted);font-size:12px;font-weight:650}.recorded-partial{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:12px;border:1px solid #efd9a4;border-radius:12px;background:#fff9e8;color:#7b5c15}.tolerance-band{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;margin-bottom:13px}.scale-console{position:sticky;top:90px;align-self:start}.scale-console-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.scale-console-head h3{margin:7px 0 0}.connection-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.connection-pill.online{background:#e3f5e9;color:#176d42}.connection-pill.offline{background:#fff0f0;color:#a33}.webhid-device-line{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fafcfa}.webhid-device-line span,.webhid-device-line small{display:block}.webhid-device-line span{font-weight:800}.webhid-device-line small{color:var(--muted);text-align:right}.scale-reading{font-size:clamp(48px,6vw,76px);font-weight:850;letter-spacing:-.04em;text-align:center;padding:32px 8px 12px}.scale-reading small{font-size:.32em;letter-spacing:0;color:var(--muted)}.scale-converted{min-height:24px;text-align:center;font-size:14px;font-weight:750;color:var(--muted);margin:-3px 0 14px}.scale-converted.within{color:#176d42}.scale-converted.outside{color:#a33}.scale-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.webhid-requirement{padding:12px 14px;border-radius:12px;background:#f3f7f4;color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:14px}.scale-error{padding:10px 12px;margin-top:12px;border-radius:10px;background:#fff0f0;color:#a33;font-size:12px;font-weight:700}.automatic-status{padding:14px;border-radius:12px;background:#eef3ef;color:var(--muted);font-weight:850;text-align:center}.automatic-status.within,.automatic-status.confirmed{background:#e0f3e7;color:#176d42}.automatic-status.over{background:#fff0f0;color:#a33}.manual-test{border:1px solid var(--line);border-radius:12px;padding:11px 13px;margin:0 0 14px}.manual-test summary{cursor:pointer;font-weight:750}.manual-test small{display:block;color:var(--muted);margin-top:9px}.manual-row{display:grid;grid-template-columns:1fr 100px;gap:8px;margin:12px 0 7px}.production-step-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;margin-bottom:18px}.workflow-button{min-height:88px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:14px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.workflow-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px rgba(26,64,43,.09);border-color:#b8cbbf}.workflow-button:disabled{opacity:.42;cursor:not-allowed}.workflow-button>span{grid-row:1/3;font-size:25px;font-weight:900}.workflow-button strong{font-size:16px}.workflow-button small{color:var(--muted)}.workflow-button.previous{background:#f8faf8}.workflow-button.next{background:#eef5f0;border-color:#d7e5dc}.workflow-button.skip{background:#fff7e8;border-color:#f0d59a;color:#8a5a08}.workflow-button.cancel{background:#fff0f0;border-color:#edc5c5;color:#ad302b}.formula-sequence{overflow:hidden}.formula-step-list{display:grid}.formula-step{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 20px;border-top:1px solid var(--line)}.formula-step.done{background:#f8fcf9}.formula-step.skipped{background:#fffaf0}.step-number{width:32px;height:32px;border-radius:10px;background:#edf2ef;display:grid;place-items:center;font-weight:850}.formula-step.done .step-number{background:#dff4e6;color:#176a40}.formula-step.skipped .step-number{background:#ffedc4;color:#8a5a08}.formula-step strong,.formula-step small{display:block}.formula-step small{color:var(--muted);margin-top:4px}.formula-step>div:last-child{text-align:right}.formula-open-button{border:0;background:transparent;color:var(--green);font-weight:800;cursor:pointer;padding:5px 0 0}.production-complete{text-align:center;margin-bottom:18px}.completion-mark{width:64px;height:64px;border-radius:20px;background:#dff4e6;color:#176a40;display:grid;place-items:center;font-size:34px;font-weight:900;margin:0 auto 15px}
@media(max-width:1000px){.production-assignment-grid,.guided-weighing-grid{grid-template-columns:1fr}.scale-console{position:static}.production-order-header{flex-direction:column}.production-header-actions{justify-content:flex-start}.assignment-meta{grid-template-columns:1fr 1fr}.production-step-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ingredient-step-line{align-items:flex-start;flex-direction:column;gap:5px}.ingredient-heading-row{align-items:stretch;flex-direction:column}.weight-unit-control{align-items:flex-start}.segmented-unit-toggle{width:100%;grid-template-columns:repeat(3,1fr)}.legacy-instruction{font-size:21px}.live-weight-progress{height:66px}.live-weight-message{min-height:66px;font-size:20px;border-radius:18px}.webhid-device-line{flex-direction:column}.webhid-device-line small{text-align:left}.production-step-controls{grid-template-columns:1fr 1fr}.formula-step{grid-template-columns:36px 1fr}.formula-step>div:last-child{grid-column:2;text-align:left}}
@media(max-width:520px){.assignment-meta,.scale-actions,.production-step-controls{grid-template-columns:1fr}.production-order-header{padding:17px}}

/* Administrator-assigned Customer Sales workspace inside Employee Portal */
.customer-module-host{max-width:none;padding:0}.customer-module-host>.page{max-width:none;margin:0;padding:30px}.customer-module-host .customer-sales-page{min-height:calc(100vh - 72px)}.customer-module-host .invoice-workspace-page{min-height:calc(100vh - 72px)}.customer-module-host .page-header{margin-bottom:20px}.customer-module-host .panel{box-shadow:0 8px 35px rgba(31,64,46,.05)}.customer-module-host .modal .field{display:grid}.customer-module-host .invoice-action-footer{left:260px}.customer-module-host .button svg,.customer-module-host .icon-button svg,#overlay-root svg,#toast-root svg{width:18px;height:18px}.nav-btn span:first-child{width:20px;text-align:center;flex:0 0 20px}.nav-btn span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.toast-root{z-index:1400}.modal-backdrop{z-index:1300}@media(max-width:900px){.customer-module-host>.page{padding:20px}.customer-module-host .invoice-action-footer{left:0}}

/* Direct WebHID staged weighing states */
.scale-reading.hidden-reading{font-size:clamp(38px,5vw,58px);letter-spacing:-.025em;color:var(--ink)}
.live-weight-progress.add>span{background:#77934b}
.live-weight-progress.slow>span{background:#b58b32}
.live-weight-progress.near>span{background:#d27b2d}
.live-weight-progress.stop>span{background:#228a51}
.live-weight-progress.remove>span{background:#16643f}
.live-weight-message.add{background:#f1f6e9;color:#4f6824}
.live-weight-message.slow{background:#fff8e8;border-color:#ead8a9;color:#7f5b17}
.live-weight-message.near{background:#fff1e5;border-color:#ecc7a5;color:#974e18}
.live-weight-message.stop{background:#e6f6eb;border-color:#c4e7d0;color:#176d42}
.live-weight-message.remove{background:#def3e6;border-color:#b7ddc5;color:#105d37}
.automatic-status.add{background:#f1f6e9;color:#4f6824}
.automatic-status.slow{background:#fff8e8;color:#7f5b17}
.automatic-status.near{background:#fff1e5;color:#974e18}
.automatic-status.stop,.automatic-status.remove{background:#e0f3e7;color:#176d42}


/* Automatic guided weighing: one active state, no manual record step */
.live-weight-progress.near{box-shadow:0 0 0 5px rgba(210,123,45,.13),inset 0 1px 3px rgba(18,63,44,.06)}
.live-weight-progress.stop{box-shadow:0 0 0 5px rgba(34,138,81,.13),inset 0 1px 3px rgba(18,63,44,.06)}
.live-weight-progress.over{box-shadow:0 0 0 5px rgba(201,58,49,.12),inset 0 1px 3px rgba(18,63,44,.06)}
.live-weight-progress.remove{box-shadow:0 0 0 5px rgba(22,100,63,.12),inset 0 1px 3px rgba(18,63,44,.06)}
.live-weight-message.ready,.automatic-status.ready{background:#f4f6ed;color:#526a27}
.live-weight-message.near,.automatic-status.near{font-weight:950;text-transform:none}
.live-weight-message.stop,.automatic-status.stop{font-weight:950}

.cancelled-batch .completion-mark{background:#ffe5e2;color:#a62f29}.cancelled-batch h2{color:#8f2924}

/* Production review and unfinished-process workflow */
.production-step-controls{grid-template-columns:repeat(5,minmax(0,1fr))}
.workflow-button.review{background:#f3f6ec;border-color:#dce5c8;color:#526a27}
.production-modal-backdrop{z-index:1500;background:rgba(12,34,23,.48);backdrop-filter:blur(7px)}
.production-decision-modal{width:min(660px,100%);border-radius:26px;overflow:hidden;background:#fff}
.production-modal-hero{text-align:center;padding:34px 30px 22px;background:linear-gradient(180deg,#fbfcf8 0%,#fff 100%)}
.production-modal-hero h2{margin:8px 0 8px;font-size:clamp(30px,4vw,46px);line-height:1.05;color:#536b27;letter-spacing:-.035em}
.production-modal-hero p{margin:4px auto;color:#73806f;font-size:16px;line-height:1.45;max-width:560px}
.production-modal-icon{width:58px;height:58px;margin:0 auto 10px;border-radius:18px;display:grid;place-items:center;background:#eef2e5;color:#5d742e;font-size:28px;font-weight:900}
.production-batch-badge{display:inline-flex;margin-top:18px;padding:9px 16px;border-radius:999px;background:#f0f3e8;color:#5b702d;font-weight:850}
.production-modal-actions{padding:18px 22px 22px}
.decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.decision-grid .btn{min-height:58px;border-radius:17px;font-size:15px}
.decision-grid .decision-primary{background:#809b38}
.decision-grid.with-complete{grid-template-columns:repeat(2,minmax(0,1fr))}
.production-modal-note{margin:0;padding:0 24px 24px;color:#78837a;text-align:center;font-size:12px;line-height:1.5}
.skipped-hero .production-modal-icon{background:#fff0d0;color:#95610d}
.skipped-weight-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(430px,100%);margin:20px auto 0}
.skipped-weight-summary span{padding:12px;border:1px solid #e3e8da;border-radius:14px;background:#fff;text-align:left}
.skipped-weight-summary small,.skipped-weight-summary strong{display:block}
.skipped-weight-summary small{color:#7b8677;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.skipped-weight-summary strong{margin-top:5px;font-size:18px}
.production-review-page{display:grid;gap:18px;padding-bottom:105px}
.production-review-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px}
.production-review-header h1{margin:10px 0 6px;font-size:clamp(28px,4vw,42px);letter-spacing:-.035em}
.production-review-header p{margin:0;color:var(--muted)}
.review-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.review-summary{padding:18px;display:grid;gap:5px}
.review-summary small{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;font-size:10px}
.review-summary strong{font-size:34px;line-height:1}
.review-summary span{font-size:12px;color:var(--muted)}
.review-summary.completed{border-color:#cfe6d7;background:#f8fcf9}
.review-summary.skipped{border-color:#ecd8aa;background:#fffaf0}
.review-summary.waiting{border-color:#dfe5e0;background:#fbfcfb}
.review-warning,.review-success{padding:14px 16px;border-radius:14px;border:1px solid #ecd8aa;background:#fff8e9;color:#78520f;line-height:1.5}
.review-warning.waiting{border-color:#e6c8c8;background:#fff4f4;color:#8d3737}
.review-success{border-color:#c8e5d2;background:#eef9f2;color:#17643e}
.review-list-heading{display:flex;justify-content:space-between;align-items:flex-start}
.review-material-list{display:grid}
.review-material-row{display:grid;grid-template-columns:44px minmax(220px,1.5fr) minmax(190px,1fr) minmax(150px,.7fr);gap:14px;align-items:center;padding:16px 20px;border-top:1px solid var(--line)}
.review-material-row.completed{background:#fbfdfb}
.review-material-row.skipped{background:#fffaf0}
.review-material-number{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#edf2ef;font-weight:900}
.review-material-row.completed .review-material-number{background:#dff4e6;color:#176a40}
.review-material-row.skipped .review-material-number{background:#ffedc4;color:#8a5a08}
.review-material-copy strong,.review-material-copy small{display:block}
.review-material-copy small{margin-top:4px;color:var(--muted)}
.review-material-values{display:flex;gap:18px;justify-content:flex-start}
.review-material-values span{min-width:78px}
.review-material-values small,.review-material-values strong{display:block}
.review-material-values small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.review-material-values strong{margin-top:4px}
.review-material-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.review-status{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:850}
.review-status.completed{background:#dff4e6;color:#176a40}
.review-status.skipped{background:#ffedc4;color:#8a5a08}
.review-status.waiting{background:#edf1ee;color:#657069}
.production-review-footer{position:fixed;left:calc(260px + 30px);right:30px;bottom:20px;z-index:60;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 18px;box-shadow:0 18px 50px rgba(20,55,37,.18)}
.production-review-footer strong,.production-review-footer small{display:block}
.production-review-footer small{margin-top:4px;color:var(--muted)}
.review-footer-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.production-complete-modal{width:min(620px,100%)}
.completion-confirmation-card{display:grid;gap:3px;padding:14px 16px;margin-bottom:14px;border:1px solid var(--line);border-radius:14px;background:#f7faf8}
.completion-confirmation-card span{color:var(--muted)}
.production-complete-warning{margin:16px 0 0;color:#6d786f;line-height:1.55}

@media(max-width:1100px){
  .production-step-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .review-material-row{grid-template-columns:40px minmax(0,1fr) minmax(170px,.8fr)}
  .review-material-action{grid-column:2/4;justify-content:flex-start}
}
@media(max-width:900px){
  .production-review-header{display:grid}
  .production-review-footer{left:16px;right:16px;bottom:14px}
}
@media(max-width:680px){
  .decision-grid,.decision-grid.with-complete{grid-template-columns:1fr}
  .production-modal-hero{padding:28px 18px 18px}
  .production-modal-actions{padding:14px 16px 18px}
  .skipped-weight-summary{grid-template-columns:1fr}
  .review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .review-material-row{grid-template-columns:36px minmax(0,1fr);padding:14px}
  .review-material-values,.review-material-action{grid-column:2;justify-content:flex-start}
  .production-review-footer{position:static;display:grid}
  .review-footer-actions{justify-content:stretch}
  .review-footer-actions .btn{width:100%}
  .production-review-page{padding-bottom:0}
}

/* Employee password recovery */
.auth-text-button{appearance:none;border:0;background:transparent;color:#176b43;font:inherit;font-weight:800;padding:8px 4px;cursor:pointer;text-align:center}.auth-text-button:hover{text-decoration:underline}.auth-text-button:focus-visible{outline:3px solid rgba(31,139,82,.2);outline-offset:3px;border-radius:8px}.password-rule{margin-top:-4px;color:var(--muted);font-size:12px;line-height:1.45}.alert-success{background:#edf8f1;border:1px solid #c7e6d2;color:#17623d}.auth-card .btn:disabled{opacity:.5;cursor:not-allowed}

/* v45 — post-production packing & counting */
.counting-page-head{align-items:flex-end}.counting-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#2b8a57;margin-bottom:6px}.counting-pending-kpi{min-width:150px;padding:14px 18px;border:1px solid #d9e5dd;border-radius:18px;background:#f6faf7}.counting-pending-kpi small{display:block;color:#6e7d74}.counting-pending-kpi strong{display:block;font-size:30px;margin-top:4px;color:#163e2c}.counting-flow{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:24px;padding:18px}.counting-flow>div{display:flex;align-items:center;gap:10px}.counting-flow>div>span,.counting-step-heading>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e3f4e9;color:#176a42;font-weight:800;flex:none}.counting-flow strong,.counting-flow small{display:block}.counting-flow small{color:#7a877f}.counting-flow i{font-style:normal;color:#a8b5ad}.counting-section{margin-top:24px}.section-title-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.section-title-row h2{margin:0 0 4px}.counting-job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}.counting-job-card{padding:20px}.counting-job-card header,.counting-job-footer{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.counting-job-card h3{margin:10px 0 4px;font-size:21px}.counting-job-card p{margin:0;color:#6d7a72}.counting-job-date{text-align:right}.counting-job-date small,.counting-job-date strong{display:block}.counting-job-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;padding:12px;border-radius:14px;background:#f6f8f6}.counting-job-metrics span small,.counting-job-metrics span strong{display:block}.counting-job-metrics small{color:#7a867f}.counting-job-footer{align-items:end}.counting-job-footer>div small,.counting-job-footer>div strong{display:block}.counting-workspace{display:grid;gap:16px}.counting-header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px}.counting-header h1{margin:3px 0 5px}.counting-header p{margin:0;color:#66736b}.counting-header-status{text-align:right}.counting-header-status span,.counting-header-status small{display:block;margin-left:auto}.counting-header-status small{margin-top:8px;color:#6c796f}.counting-step-card{padding:22px}.counting-step-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}.counting-step-heading.compact{margin-bottom:14px}.counting-step-heading h2{margin:2px 0 5px;font-size:21px}.counting-step-heading p{margin:0;color:#69766e;max-width:850px}.counting-pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}.counting-pack-card{border:1px solid #dce5df;border-radius:18px;padding:17px;background:#fff}.counting-pack-card>header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1ee;padding-bottom:12px}.counting-pack-card h3{margin:3px 0 3px;font-size:20px}.counting-pack-card header small,.counting-pack-card header span{color:#748079}.pack-equivalent{text-align:right}.pack-equivalent strong,.pack-equivalent small{display:block}.pack-equivalent strong{font-size:24px;color:#176a42}.pack-count-field{display:block;margin:14px 0}.pack-count-field>span{display:block;font-weight:700;margin-bottom:6px}.pack-count-field input{font-size:25px;font-weight:800}.pack-base-total{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #edf1ee}.pack-materials>small{display:block;font-weight:700;color:#67746c;margin:7px 0}.pack-materials>div[data-pack-material]{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:8px 0;border-top:1px dashed #e4e9e6}.pack-materials>div[data-pack-material] span{font-weight:700}.pack-materials>div[data-pack-material] span small{font-weight:500;color:#839087}.pack-materials>div[data-pack-material] em{grid-column:1/-1;font-style:normal;font-size:12px;color:#6f7c74}.pack-materials>div[data-pack-material] em.short{color:#bd2e2e;font-weight:800}.no-pack-material{font-size:13px;color:#8b968f;padding:8px 0}.counting-summary-card{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px}.counting-summary-card>div{padding:12px;border-right:1px solid #e2e8e4}.counting-summary-card>div:last-child{border-right:0}.counting-summary-card small,.counting-summary-card strong{display:block}.counting-summary-card strong{font-size:26px;margin-top:3px}.counting-summary-card .remaining strong{color:#176a42}.counting-material-summary{padding:20px}.counting-material-table>div{display:flex;justify-content:space-between;gap:24px;padding:12px 4px;border-top:1px solid #edf0ee}.counting-material-table>div:first-child{border-top:0}.counting-material-table span:last-child{text-align:right}.counting-material-table strong,.counting-material-table small{display:block}.counting-material-table small{color:#748078}.counting-material-table .short{color:#b82929;background:#fff5f5;border-radius:10px;padding:10px}.counting-actions{position:sticky;bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;z-index:4;box-shadow:0 12px 35px rgba(20,55,38,.12)}.counting-actions p{margin:4px 0 0}.counting-action-buttons{display:flex;gap:10px;flex-wrap:wrap}.counting-workspace>.text-button{justify-self:start}
@media(max-width:800px){.counting-flow{display:grid;grid-template-columns:1fr}.counting-flow i{display:none}.counting-job-grid,.counting-pack-grid{grid-template-columns:1fr}.counting-summary-card{grid-template-columns:1fr 1fr}.counting-actions,.counting-header{align-items:stretch;flex-direction:column}.counting-header-status{text-align:left}.counting-header-status span{margin-left:0}.counting-action-buttons{display:grid;grid-template-columns:1fr}.counting-action-buttons .btn{width:100%}}

/* v46: pack counts are the single source of truth for finished-unit quantity. */
.auto-count-banner{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,280px);gap:14px;align-items:stretch}.auto-count-banner>div{padding:16px 18px;border:1px solid #dce7df;border-radius:16px;background:#f6faf7}.auto-count-banner>div:first-child{background:#eaf7ef;border-color:#cce6d6}.auto-count-banner small,.auto-count-banner strong,.auto-count-banner span{display:block}.auto-count-banner small{color:#6f7d74;font-weight:700}.auto-count-banner strong{font-size:34px;line-height:1.15;margin:5px 0;color:#176a42}.auto-count-banner span{color:#6b786f}.counting-auto-label{font-size:18px!important;color:#176a42!important;margin-top:8px!important}.counting-summary-card{grid-template-columns:repeat(4,1fr)}
@media(max-width:800px){.auto-count-banner{grid-template-columns:1fr}}

/* Employee Portal responsive shell v47 — one active sidebar implementation. */
.employee-shell{grid-template-columns:260px minmax(0,1fr)!important;width:100%;max-width:100vw;overflow-x:hidden}
.employee-shell .employee-main{grid-column:auto!important;grid-row:auto!important;width:100%;min-width:0;margin:0!important}
.employee-shell .employee-sidebar{inset:0 auto 0 0;left:0;width:260px;transform:none;z-index:60}
.employee-shell .employee-sidebar-scrim{display:none;position:fixed;inset:0;border:0;background:rgba(8,26,17,.34);backdrop-filter:blur(2px);z-index:55;cursor:pointer}
.employee-shell .employee-sidebar-close{display:none;margin-left:auto;width:36px;height:36px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:25px;line-height:1;cursor:pointer}
.employee-shell .employee-topbar{width:100%;min-width:0}
.employee-shell .employee-page{width:100%;min-width:0;max-width:1440px}
body.employee-nav-open{overflow:hidden}

@media(max-width:1100px){
  .employee-shell{display:block!important;grid-template-columns:none!important}
  .employee-shell .employee-main{display:block!important;width:100%!important;max-width:100vw!important}
  .employee-shell .employee-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(320px,86vw)!important;height:100dvh!important;transform:translateX(-105%)!important;transition:transform .22s ease,box-shadow .22s ease!important;z-index:60!important;visibility:visible!important}
  .employee-shell .employee-sidebar.open{transform:translateX(0)!important;box-shadow:0 24px 70px rgba(9,35,21,.28)!important}
  .employee-shell.sidebar-open .employee-sidebar-scrim{display:block}
  .employee-shell .employee-sidebar-close{display:inline-grid;place-items:center}
  .employee-shell .mobile-menu{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;width:46px;height:46px;padding:0;font-size:22px}
  .employee-shell .employee-topbar{height:68px;padding:0 18px;gap:12px;position:sticky;top:0;z-index:40}
  .employee-shell .topbar-title{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .employee-shell .employee-page{max-width:none!important;margin:0!important;padding:24px 20px 38px!important}
  .employee-shell .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-shell .grid-2,.employee-shell .grid-3{grid-template-columns:1fr}
  .employee-shell .page-head{flex-direction:column;align-items:stretch}
}

@media(max-width:640px){
  .employee-shell .employee-topbar{padding:0 14px;height:64px}
  .employee-shell .mobile-menu{width:44px;height:44px}
  .employee-shell .employee-signout{padding:10px 12px;white-space:nowrap}
  .employee-shell .employee-page{padding:22px 16px 34px!important}
  .employee-shell .page-head h1{font-size:clamp(28px,8.5vw,38px);line-height:1.03}
  .employee-shell .kpis{grid-template-columns:1fr;gap:14px}
  .employee-shell .kpi{padding:20px}
  .employee-shell .panel{border-radius:16px}
  .employee-shell .table{min-width:640px}
}

@media(max-width:430px){
  .employee-shell .topbar-title{font-size:15px}
  .employee-shell .employee-signout{font-size:13px;padding:9px 10px}
  .employee-shell .employee-page{padding-left:13px!important;padding-right:13px!important}
}

/* v50 — separate finished-unit counting and packing stages */
.single-counter-card{padding:24px}.single-counter-total{display:grid;place-items:center;text-align:center;min-height:260px;margin:12px 0 20px;border:1px solid #d7e7dc;border-radius:24px;background:linear-gradient(180deg,#effaf3,#f9fcfa)}.single-counter-total small{font-size:14px;font-weight:800;color:#68786e;text-transform:uppercase;letter-spacing:.08em}.single-counter-total strong{display:block;margin:10px 0 2px;font-size:clamp(64px,10vw,120px);line-height:.95;letter-spacing:-.06em;color:#154f32}.single-counter-total span{color:#6f7d74;font-weight:700}.single-counter-controls{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.5fr) minmax(130px,.4fr);gap:12px}.single-counter-controls .btn{min-height:66px;font-size:18px}.single-counter-controls .single-count-main{font-size:24px;font-weight:900}.single-counter-shortcuts{display:flex;justify-content:space-between;gap:16px;margin-top:12px;color:#718077;font-size:12px}.counting-over{color:#b82929!important}.counting-job-card.is-completed{background:#fbfdfb}.counting-job-card.is-completed .status.completed{background:#e5f5eb;color:#176a42}
@media(max-width:720px){.single-counter-controls{grid-template-columns:1fr 1fr}.single-counter-controls .single-count-main{grid-column:1/-1}.single-counter-total{min-height:220px}.single-counter-shortcuts{flex-direction:column;gap:4px}}


/* v55 — controlled packing entries + backorder posting visibility */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.packing-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px}
.packing-control-head .counting-step-heading{margin:0}
.packing-quick-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.packing-entry-panel{padding:0;overflow:hidden}
.packing-entry-table{display:grid}
.packing-entry-row{display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(110px,.55fr) minmax(150px,.65fr) minmax(130px,.6fr) minmax(260px,1.4fr);gap:14px;align-items:center;padding:16px 18px;border-top:1px solid #e8eee9}
.packing-entry-row:first-child{border-top:0}
.packing-entry-header{background:#f5f8f6;padding-top:12px;padding-bottom:12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#6b796f}
.packing-entry-name small,.packing-entry-name strong,.packing-entry-name span,.packing-entry-equivalent strong,.packing-entry-equivalent small,.packing-entry-total strong,.packing-entry-total small{display:block}
.packing-entry-name small{color:#758179;text-transform:capitalize}
.packing-entry-name strong{font-size:17px;margin:3px 0}
.packing-entry-name span{color:#7d8981;font-size:12px}
.packing-entry-equivalent strong,.packing-entry-total strong{font-size:22px;color:#176a42}
.packing-entry-equivalent small,.packing-entry-total small{color:#748178}
.packing-entry-input input{font-size:22px;font-weight:800;text-align:center;min-height:52px}
.packing-entry-materials{display:grid;gap:7px}
.packing-entry-materials>div{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:7px 0;border-bottom:1px dashed #e6ece8}
.packing-entry-materials>div:last-child{border-bottom:0}
.packing-entry-materials span{font-weight:700}
.packing-entry-materials small{color:#77847c}
.packing-entry-materials em{grid-column:1/-1;font-style:normal;color:#69776f;font-size:12px}
.packing-entry-materials em.short{color:#b52d2d;font-weight:800}
.packing-posting-panel{padding:20px}
.packing-posting-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0 14px}
.packing-posting-metrics>div{padding:14px;border:1px solid #e0e8e2;border-radius:14px;background:#f7faf8}
.packing-posting-metrics small,.packing-posting-metrics strong{display:block}
.packing-posting-metrics small{color:#6f7c74}
.packing-posting-metrics strong{font-size:24px;margin-top:4px}
.packing-backorder-list{border-top:1px solid #e8eee9}
.packing-backorder-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px 4px;border-bottom:1px solid #edf1ee}
.packing-backorder-list span:last-child{text-align:right}
.packing-backorder-list strong,.packing-backorder-list small{display:block}
.packing-backorder-list small{color:#748078}
@media(max-width:980px){
  .packing-control-head{flex-direction:column}
  .packing-quick-actions{justify-content:flex-start}
  .packing-entry-header{display:none}
  .packing-entry-row{grid-template-columns:1fr 1fr}
  .packing-entry-name,.packing-entry-materials{grid-column:1/-1}
  .packing-entry-materials{padding-top:8px;border-top:1px dashed #e4ebe6}
  .packing-posting-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .packing-entry-row{grid-template-columns:1fr}
  .packing-entry-name,.packing-entry-materials{grid-column:auto}
  .packing-entry-input input{text-align:left}
  .packing-posting-metrics{grid-template-columns:1fr}
  .packing-backorder-list>div{flex-direction:column}
  .packing-backorder-list span:last-child{text-align:left}
}

/* v56: make post-production queues visible on the Employee Dashboard. */
.dashboard-post-production{margin:22px 0}.dashboard-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dashboard-stage-card{padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}.dashboard-stage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.dashboard-stage-head h3{margin:3px 0 0}.dashboard-stage-head>strong{font-size:34px;line-height:1;color:#148348}.dashboard-work-list{display:flex;flex-direction:column;gap:8px;min-height:72px}.dashboard-work-row{width:100%;border:1px solid var(--line,#dce6df);background:#fff;border-radius:12px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;color:inherit}.dashboard-work-row:hover{background:#f4faf6}.dashboard-work-row span:first-child{display:flex;flex-direction:column;min-width:0}.dashboard-work-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-work-row small{color:#6b7b71;margin-top:2px}.dashboard-work-meta{font-size:12px;color:#16834b;white-space:nowrap}.empty.compact{padding:18px 8px}.dashboard-stage-card>.btn{align-self:flex-start}
@media(max-width:800px){.dashboard-stage-grid{grid-template-columns:1fr}.dashboard-stage-card>.btn{width:100%}}


/* v64 Base Material / Manual Entry production */
.manual-entry-grid .manual-entry-console{display:flex;flex-direction:column;gap:18px}
.manual-entry-console .manual-entry-quantity{margin:0}
.manual-entry-console .manual-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:10px}
.manual-entry-submit{min-height:54px;font-size:1rem;font-weight:800}
.base-yield-preview,.manual-yield-rule,.manual-target-note{border:1px solid var(--line,#dce6df);border-radius:16px;background:#f3faf6;padding:18px;display:flex;flex-direction:column;gap:6px}
.base-yield-preview small,.manual-yield-rule small,.manual-target-note small{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;color:#64756a;font-weight:800}
.base-yield-preview strong,.manual-yield-rule strong,.manual-target-note strong{font-size:1.55rem;color:#103f2c}
.base-yield-preview span,.manual-yield-rule span,.manual-target-note span{color:#64756a}
@media(max-width:720px){.manual-entry-console .manual-row{grid-template-columns:1fr}.manual-entry-grid{grid-template-columns:1fr}}

/* v69 — Employee Portal batched live event status */
.employee-topbar .realtime-indicator{margin-right:8px}


/* v72 Employee PIN-only quick login */
.employee-signin-stage{display:grid;grid-template-areas:"stack";position:relative;min-height:365px;overflow:hidden;margin-top:4px}
.employee-signin-pane{grid-area:stack;transition:transform .24s ease,opacity .18s ease,visibility 0s linear .24s;will-change:transform,opacity}
.password-signin-pane{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto}
.pin-signin-pane{transform:translateX(38px);opacity:0;visibility:hidden;pointer-events:none}
.employee-signin-stage.pin-mode .password-signin-pane{transform:translateX(-42px);opacity:0;visibility:hidden;pointer-events:none}
.employee-signin-stage.pin-mode .pin-signin-pane{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
.signin-link-stack{display:grid;gap:2px;margin-top:1px}
.pin-login-link{font-weight:900;color:var(--green)}
.pin-login-heading{text-align:center;display:grid;gap:5px;margin:0 0 14px}
.pin-login-heading strong{font-size:19px;color:var(--ink)}
.pin-login-heading small{color:var(--muted);line-height:1.35}
.pin-machine-icon{display:inline-flex;justify-self:center;align-items:center;justify-content:center;height:38px;min-width:88px;padding:0 12px;border:1px solid #d6e2da;border-radius:999px;background:#f4f8f5;color:#7c8b82;letter-spacing:.32em;font-weight:900}
.pin-hidden-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.pin-dot-display{display:flex;justify-content:center;gap:11px;margin:5px 0 17px}
.pin-dot-display span{width:15px;height:15px;border-radius:50%;border:2px solid #a9b9af;background:#fff;box-shadow:inset 0 0 0 3px #fff;transition:.1s ease}
.pin-dot-display span.filled{border-color:#176d48;background:#176d48;box-shadow:inset 0 0 0 2px #dff1e6}
.pin-keypad{padding:13px;border:1px solid var(--line);border-radius:17px;background:#f7faf8}
.pin-keypad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pin-keypad-grid button{min-height:56px;border:1px solid #d8e3dc;border-radius:13px;background:#fff;color:var(--ink);font-size:22px;font-weight:900;cursor:pointer;box-shadow:0 2px 5px rgba(18,63,44,.05);touch-action:manipulation;transition:transform .06s ease,background .08s ease,border-color .08s ease}
.pin-keypad-grid button:active{transform:translateY(1px) scale(.985);background:#e8f4ed;border-color:#8cc4a3}
.pin-keypad-grid button:disabled{opacity:.48;cursor:wait}
.pin-keypad-grid .pin-keypad-action{font-size:13px;color:var(--green)}
.pin-keypad>small{display:block;margin-top:10px;text-align:center;color:var(--muted);font-size:11px;font-weight:700}
.pin-login-progress{text-align:center;min-height:18px;margin:8px 0 2px;color:var(--muted);font-size:12px;font-weight:800}
@media(max-width:520px){.auth-panel{padding:16px}.auth-card{padding:25px 20px}.employee-signin-stage{min-height:405px}.pin-keypad-grid button{min-height:62px;font-size:24px}}

/* v75 — assigned recipe ratio banner */
.recipe-ratio-banner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;padding:14px 16px}.recipe-ratio-banner>div{display:flex;flex-direction:column;gap:4px}.recipe-ratio-banner small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;opacity:.68}.recipe-ratio-banner strong{font-size:15px}@media(max-width:760px){.recipe-ratio-banner{grid-template-columns:1fr}}
/* v76 employee audit */
.audit-assignment-list{display:grid;gap:10px}.employee-audit-assignment{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;border:1px solid var(--border,#dde4df);background:#fff;border-radius:14px;padding:14px;cursor:pointer}.employee-audit-assignment span,.employee-audit-assignment strong,.employee-audit-assignment small{display:block}.employee-audit-assignment small{color:#758078;margin-top:3px}.employee-audit-assignment-progress{min-width:150px;text-align:right}.employee-audit-assignment-progress i{display:block;height:7px;background:#eef2ef;border-radius:999px;margin:6px 0;overflow:hidden}.employee-audit-assignment-progress em{display:block;height:100%;background:#178d4b}.employee-audit-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px}.employee-audit-index{padding:14px}.employee-audit-items{display:grid;gap:6px;margin-top:12px;max-height:620px;overflow:auto}.employee-audit-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;border:1px solid transparent;background:transparent;border-radius:12px;padding:9px;cursor:pointer}.employee-audit-item.active{background:#eef8f1;border-color:#cde8d5}.audit-alpha{width:32px;height:32px;border-radius:9px;background:#eef2ef;display:grid;place-items:center;font-weight:700}.employee-audit-item strong,.employee-audit-item small{display:block}.employee-audit-item small{color:#7a837d;margin-top:2px}.employee-audit-status{font-size:11px;border-radius:999px;padding:4px 7px;background:#edf1ee}.employee-audit-status.completed,.employee-audit-status.zero{background:#e5f6ea;color:#156c39}.employee-audit-status.skipped{background:#fff4dd;color:#8c5b00}.employee-audit-workspace{padding:20px}.employee-audit-work-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.employee-audit-work-head h2{margin:4px 0}.employee-audit-method{padding:6px 10px;border-radius:999px;background:#eef3ff;white-space:nowrap}.employee-audit-method.manual{background:#f2f2ef}.audit-manual-entry{margin:28px 0}.audit-count-input{font-size:34px!important;padding:18px!important;font-weight:700}.employee-audit-actions{display:flex;gap:10px;margin-top:24px}.employee-audit-actions .btn{flex:1}.audit-scale-console{margin-top:22px}.audit-scale-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.audit-density-note{font-size:12px;color:#77817b}.audit-live-reading{text-align:center;border:1px solid #dde4df;border-radius:16px;padding:24px;margin-top:14px}.audit-live-reading small,.audit-live-reading strong{display:block}.audit-live-reading strong{font-size:42px;margin:8px 0 16px}.audit-scale-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 16px;text-align:left}.audit-scale-numbers>div{border:1px solid #e1e7e3;background:#f8faf8;border-radius:11px;padding:9px 10px}.audit-scale-numbers small{font-size:10px;color:#7a837d;text-transform:uppercase;letter-spacing:.04em}.audit-scale-numbers b{display:block;margin-top:3px;font-size:15px}.audit-stable-track{height:10px;background:#edf1ee;border-radius:999px;overflow:hidden}.audit-stable-track span{display:block;height:100%;width:0;background:#168c49;transition:width .12s linear}.audit-scale-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.audit-counted-result{display:grid;gap:8px;border:1px solid #dce6df;border-radius:14px;padding:18px;margin-top:24px}.audit-counted-result strong{font-size:28px}.audit-skip-alert{margin-top:14px}.employee-link-button{border:0;background:transparent;padding:0;color:#177744;cursor:pointer;margin-bottom:6px}@media(max-width:850px){.employee-audit-layout{grid-template-columns:1fr}.employee-audit-items{max-height:280px}.employee-audit-work-head{flex-direction:column}.audit-live-reading strong{font-size:34px}.audit-scale-numbers{grid-template-columns:1fr}.audit-scale-numbers>div{text-align:center}}

/* v79 employee audit cache refresh */
