/* BELMAX Operator V7.16 RC — light, compact, touch-friendly production view. */
:root{--green:#247b49;--green2:#1e653e;--green-soft:#edf6f0;--ink:#172c25;--muted:#63746b;--bg:#f3f6f3;--shadow:0 3px 16px #213a2710}
.topbar{height:72px;grid-template-columns:44px 180px minmax(120px,1fr) 170px auto;gap:16px;padding:0 24px}.topbar .icon-btn{height:42px;width:42px;border-radius:10px}.brand small{font-size:8px}.job-head{border:0;padding-left:0}.job-head .connection{font-size:12px;max-width:100%;white-space:normal}.top-actions img{display:none}.top-actions .seg{padding:9px 11px}.top-actions .user{font-size:13px}.batch-progress b{font-size:18px}.workspace{max-width:1440px;padding:22px 24px}.bottom-nav{height:64px}.portal{padding-bottom:76px}.drawer .history-link{display:block;color:#245d3d;padding:15px;text-decoration:none;border-top:1px solid var(--line);font-size:14px}.drawer .history-link:hover{text-decoration:underline}
.op-screen{font-size:15px}.op-job{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.op-kicker{font-size:12px;font-weight:650;letter-spacing:.08em;color:#5b7162}.op-job h1{font-size:23px;margin:5px 0 0;line-height:1.35}.op-job h1 span{font-size:17px;font-weight:450;color:#607066}.op-job-end{display:flex;gap:16px;font-size:13px}.op-job-end b{background:#e2eee5;padding:7px 12px;border-radius:8px}.op-job-end>span{align-self:center;color:#586c60}.op-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.op-console{background:#fff;border:1px solid #dce5de;border-radius:18px;padding:24px;min-width:0;box-shadow:0 6px 22px #22352c08}.op-material{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.op-material small{font-size:11px;letter-spacing:.1em;color:#69776e;font-weight:650}.op-material h2{font-size:30px;margin:5px 0 0;letter-spacing:-.02em}.op-material p{font-size:14px;color:#607168;margin:4px 0 0}.op-badge{padding:7px 11px;border-radius:8px;background:#eef5f0;color:#2f6b45;font-size:12px;white-space:normal;text-align:right}.op-readings{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:12px;margin:25px 0 20px;align-items:center}.op-readings>div{min-width:0}.op-readings span{color:#69786f;font-size:13px;display:block;margin-bottom:7px}.op-readings strong{font-size:clamp(24px,3vw,38px);font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap;letter-spacing:-.035em}.op-readings strong small{font-size:14px;font-weight:450;letter-spacing:0}.op-readings .op-live strong{color:#206a43}.op-meter{height:10px;background:#edf1ed;border-radius:8px;overflow:hidden}.op-meter span{display:block;height:100%;background:#3c9562;border-radius:8px;transition:width .2s}.op-meter span[data-over=true]{background:#b36a12}.op-status{display:flex;gap:8px 18px;flex-wrap:wrap;justify-content:space-between;font-size:11px;color:#66786d;margin:12px 0 20px;font-variant-numeric:tabular-nums}.op-next{padding:15px 17px;background:#f0f6f1;border-radius:12px;display:grid;gap:6px;min-height:70px}.op-next b{font-size:17px;font-weight:650}.op-next span{color:#50685a;font-size:12px;line-height:1.4}.op-next[data-state=over],.op-next[data-state=station],.op-next[data-state=offline]{background:#fff2e2}.op-next[data-state=over] b,.op-next[data-state=station] b{color:#875018}.op-main-actions{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px}.op-main-actions .primary,.op-main-actions .secondary{font-size:16px;min-height:54px;border-radius:11px}.op-screen button:disabled{cursor:not-allowed;opacity:.46}.op-secondary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:12px;position:relative}.op-text-button{border:0;background:transparent;padding:10px 0;color:#536c5b;font-size:12px;cursor:pointer}.op-secondary summary{padding:10px;color:#52675a;font-size:13px;cursor:pointer}.op-more-content{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f8faf8;padding:14px;border-radius:12px;margin-top:8px}.op-more-content label,.op-modes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.op-more-content label{display:grid}.op-more-content input{min-height:44px;border:1px solid #cddacf;padding:8px;min-width:0;border-radius:8px;font-size:16px}.op-more-content button{min-height:44px;font-size:12px}.op-modes button[aria-pressed=true]{background:#d9eadd;color:#19452d}.op-recipe{border:1px solid #dce5de;background:#fff;border-radius:16px;padding:15px;min-width:0}.op-recipe header{display:flex;justify-content:space-between;margin:2px 0 12px}.op-recipe h3{font-size:15px;margin:0}.op-recipe header>span{font-size:12px;color:#607168}.op-recipe .component{width:100%;padding:12px 8px;grid-template-columns:24px 1fr auto;gap:7px;border:0;border-radius:8px;box-shadow:none;background:transparent;text-align:left;min-height:60px}.op-recipe .component.selected{background:#edf5ef}.op-recipe .component .num{width:23px;height:23px;font-size:11px}.op-recipe .component b{font-size:12px;line-height:1.4}.op-recipe .component small{font-size:11px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.op-recipe .component.done{opacity:.7}.op-trace{display:grid;border-top:1px solid #e3e9e3;margin-top:12px;padding-top:12px;font-size:12px;color:#63766a}.op-trace .op-text-button{text-align:left}.op-details{border-top:1px solid #dce5de;margin-top:18px}.op-details>summary{padding:16px 0;font-size:14px;color:#4b6253;cursor:pointer}.op-details .full-recipe{background:white;padding:16px;border-radius:14px}.op-details table{font-size:13px}.op-details .full-recipe .section-head small{display:none}.op-screen button:focus-visible,.op-screen summary:focus-visible{outline:3px solid #679e7a;outline-offset:3px}.vision-pip{max-width:150px!important;right:16px!important;bottom:84px!important}.vision-pip video{max-height:84px!important}.vision-pip-info small{display:none}
@media(max-width:1100px){.topbar{grid-template-columns:42px 170px 1fr auto}.topbar .job-head{display:none}.op-layout{grid-template-columns:minmax(0,1fr) 240px}.op-console{padding:20px}.op-readings strong{font-size:28px}.op-readings{gap:8px}.op-recipe{padding:12px}.op-job-end{gap:8px}}
@media(max-width:800px){.op-layout{grid-template-columns:1fr}.op-recipe{margin-top:0}.op-recipe .component{min-height:50px}.op-recipe .component small{max-width:none}.topbar{grid-template-columns:42px 1fr auto;height:64px;padding:0 16px}.batch-progress{display:none}.workspace{padding:16px}.op-readings strong{font-size:34px}.op-job-end>span{display:none}.op-job{margin-bottom:14px}.op-secondary details{max-width:70%}.op-recipe .component{grid-template-columns:26px 1fr auto}.bottom-nav button{display:flex!important;min-width:0;flex:1}}
@media(max-width:480px){.workspace{padding:12px}.op-job h1{font-size:19px}.op-job h1 span{font-size:14px}.op-job-end{font-size:11px}.op-job-end b{padding:6px 7px}.op-console{padding:16px}.op-material h2{font-size:26px}.op-badge{font-size:10px;max-width:108px}.op-readings strong{font-size:20px}.op-readings span{font-size:11px}.op-readings{gap:8px;margin-top:20px}.op-status{font-size:10px;gap:8px}.op-next b{font-size:16px}.op-main-actions .primary,.op-main-actions .secondary{padding:12px;font-size:14px}.op-secondary{display:block}.op-secondary details{max-width:none}.op-more-content{grid-template-columns:1fr}.op-job-end{white-space:nowrap}.op-job h1 span{display:block}.topbar .brand{font-size:17px}.bottom-nav span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.op-meter span{transition:none}}
/* V7.17: work first, one dominant live reading, clear execution mode. */
.op-home-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.op-home-head h1{font-size:30px;margin:8px 0}.op-home-head p{color:#5b6b63;margin:0}.op-home-head button{font-size:13px;min-height:44px}.op-home-next{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#e6f0e9;padding:24px 28px;border-radius:16px;margin-bottom:16px}.op-home-next h2{font-size:29px;margin:9px 0}.op-home-next p{margin:0;color:#52655a}.op-home-next .primary{min-height:56px;padding:16px 28px;font-size:17px}.op-home-filters{margin:16px 0;color:#52655a}.op-home-filters>summary{padding:12px 0;cursor:pointer}.op-steps{display:flex;justify-content:space-between;gap:10px;padding-bottom:16px;margin-bottom:22px;border-bottom:1px solid #e5eae6;color:#65716a;font-size:12px}.op-steps [data-active=true]{color:#236543;font-weight:700}.op-console{padding:26px 30px;box-shadow:0 5px 24px #18302706;border-radius:16px}.op-readings{grid-template-columns:.8fr 1.55fr .9fr;margin:30px 0 24px;align-items:end}.op-readings .op-live strong{font-size:clamp(38px,4.5vw,64px);letter-spacing:-.05em;font-weight:600;line-height:1.15}.op-readings strong{font-size:clamp(22px,2.4vw,32px);font-weight:500}.op-material p{max-width:380px}.op-material h2{font-size:32px}.op-readings span{margin-bottom:10px}.op-next{background:#f3f6f3;min-height:68px}.op-job{margin-bottom:20px}.op-recipe{background:#f8faf8;box-shadow:none}.op-recipe .component.selected{background:#e3ede6}.task-reuse{display:none}.task-card{grid-template-columns:36px 1fr auto}.op-home .task-card h3{font-size:17px}.op-home .task-card p{font-size:14px}.op-home .task-card{box-shadow:none;border-radius:12px}.op-home .task-card .primary{background:#fff;color:#215e3d;border:1px solid #ccdbcf;min-height:44px}.op-screen .op-status{font-size:12px}.op-screen .op-next span{font-size:13px}
@media(max-width:1100px){.op-readings .op-live strong{font-size:40px}.op-readings strong{font-size:24px}.op-console{padding:22px}}
@media(max-width:800px){.op-readings .op-live strong{font-size:52px}.op-layout{gap:14px}.op-home-head{align-items:flex-start}.op-home-head h1{font-size:26px}.op-home-next{padding:20px}.op-home-next .primary{padding:14px}}
@media(max-width:520px){.op-readings{grid-template-columns:1fr 1fr;gap:18px}.op-readings .op-live{grid-column:1/-1;grid-row:1}.op-readings .op-live strong{font-size:54px}.op-readings strong{font-size:25px}.op-steps{gap:8px;font-size:11px}.op-console{padding:18px}.op-home-head,.op-home-next{flex-direction:column;align-items:stretch}.op-home-head h1{font-size:25px}.op-home-next .primary{width:100%}.op-material h2{font-size:27px}.op-badge{font-size:11px}.op-job-end{display:none}}

.operations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0}.operations-grid label,#operationsSettings label,#qcForm label{display:flex;flex-direction:column;gap:7px;font-size:14px}#operationsSettings{grid-column:1/-1}#operationsSettings input,#operationsSettings select,#qcForm input,#qcForm select,#qcForm textarea{min-height:44px;border:1px solid #cad5df;border-radius:8px;background:white;color:#17334b;padding:9px;max-width:100%;box-sizing:border-box}#operationsSettings td input{width:105px}#operationsSettings fieldset{border:0;margin:0;padding:0}#operationsSettings p{line-height:1.55;color:#506779}#operationsSettings summary{cursor:pointer;padding:15px 0;font-weight:650}#qcForm textarea{width:100%;min-height:80px;margin-bottom:12px}#qcSaveState{margin-left:12px}#operationsSettings .actions{flex-wrap:wrap}

/* V7.19 — schedule dates and explicit camera power. */
.schedule-date{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-top:12px;font-size:14px;line-height:1.5;color:#456153}
.schedule-date time{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;color:#183f2d}
.schedule-date strong{font-size:12px;padding:3px 9px;border-radius:6px;background:#e3efe7;color:#25643e}
.schedule-date.overdue strong{background:#fff0e5;color:#94451c}.schedule-date.undated b{color:#906215}
.schedule-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin:18px 0;font-size:14px;color:#466354}
.undated-link{border:1px solid #dccda5;background:#fffaed;color:#775513;border-radius:8px;min-height:40px;padding:8px 12px;cursor:pointer}
.task-filters,.task-filters .filter-group{flex-wrap:wrap}.task-card>div{min-width:0}.task-card h3,.task-card p{overflow-wrap:anywhere}
.camera-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:14px;padding:12px 14px;border:1px solid #dce5de;border-radius:10px;font-size:13px;color:#52675a}
.camera-controls button,.camera-stop{min-height:44px;padding:10px 14px;font-size:13px;cursor:pointer;border-radius:8px}
.camera-controls button[data-active=true],.camera-stop{border:1px solid #d5b2aa;background:#fff5f2;color:#963d28}
.vision-pip .camera-stop{width:calc(100% - 16px);margin:0 8px 8px;font-size:12px;line-height:1.3}
.camera-dialog footer{display:flex;flex-wrap:wrap;gap:10px}.camera-dialog footer button{flex:1 1 auto;min-height:46px}.camera-dialog .decoder-status{flex:1 1 100%}.camera-dialog{max-height:94dvh;overflow:auto}
@media(max-width:520px){.task-card{grid-template-columns:28px minmax(0,1fr);gap:10px}.task-card>button{grid-column:2;width:100%;min-height:44px}.schedule-date{font-size:12px}.schedule-date time{font-size:15px}.camera-controls{align-items:stretch;flex-direction:column}.camera-controls button{width:100%}.filter-group button{min-height:40px}.op-job .schedule-date{margin-top:9px}}

/* V7.20 — approved BELMAX welcome, compact emblem and persistent camera stop. */
:root{--green:#00845d;--green2:#006d4e;--green-soft:#e8f5ef;--ink:#0c333d;--muted:#657b82;--bg:#f4f7f3;--line:#dfe8e4;--shadow:0 4px 18px #123f3107}
.ui-icon{display:inline-block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.topbar{display:flex;min-height:78px;height:auto;gap:20px;padding:14px 28px;flex-wrap:nowrap}.topbar .icon-btn{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center}.topbar .brand{flex:0 0 162px;font-size:23px;column-gap:1px}.topbar .job-head{display:flex;flex:1 1 auto;min-width:0}.job-head .connection{background:none;padding:0;font-size:13px;line-height:1.5;color:#57716b}.job-head .connection.online{color:#007957}.job-head .connection.offline{color:#986334}.topbar .batch-progress{flex:0 1 135px;min-width:100px;font-size:12px}.topbar[data-screen=dashboard] .batch-progress{display:none}
.header-camera{display:flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;padding:11px 14px;min-height:44px;font:inherit;font-size:13px;border:1px solid #dce5e5;border-radius:14px;background:#f6f8f9;color:#46606a;cursor:pointer;white-space:nowrap}.header-camera .ui-icon{width:21px;height:21px}.header-camera:disabled{opacity:1;cursor:default}.header-camera[data-active=true]{background:#fff2ed;color:#9a4128;border-color:#deb9aa}
.top-actions{flex-shrink:0}.top-actions .seg{min-height:42px;cursor:pointer}.top-actions .user{margin:0 0 0 9px;max-width:140px;overflow-wrap:anywhere}.top-actions .user small{font-size:10px;margin-top:2px}.user-initials{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--green);color:white;font-size:15px;font-weight:650;margin-left:18px}
.workspace{max-width:1440px;padding:24px 32px}.home-screen{max-width:1320px;margin:0 auto}.home-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#647c85;font-size:13px;font-weight:600;margin:0 0 22px;text-transform:uppercase;letter-spacing:.025em}.home-station{font-size:12px;font-weight:550;color:#007453;background:#e8f5ee;border:1px solid #d1e9dd;padding:8px 13px;border-radius:10px;max-width:45%;overflow-wrap:anywhere}
.home-welcome{display:flex;align-items:center;gap:30px;margin-bottom:22px;min-width:0}.home-symbol{width:124px;height:124px;flex:0 0 124px;border-radius:36px;background:#e8f5ef;box-shadow:0 8px 24px #00845d08;transform-origin:50% 70%}.home-symbol img{display:block;width:100%;height:100%}.home-symbol.is-speaking{animation:belmax-breathe 1.8s ease-in-out infinite}.home-intro{min-width:0}.home-intro h1{font-size:clamp(30px,3.5vw,48px);line-height:1.18;letter-spacing:-.035em;font-weight:700;margin:0 0 9px;overflow-wrap:anywhere}.home-lead{font-size:clamp(16px,1.9vw,25px);color:#647b85;line-height:1.4;margin:0}
.home-voice-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:16px}.home-voice-actions .secondary{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:550;min-height:44px;padding:9px 16px;border:1px solid #b8cbd0;border-radius:12px;background:transparent;color:var(--ink)}.home-voice-toggle{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#657d87;font:inherit;font-size:13px;min-height:44px;cursor:pointer;padding:6px 0}.home-voice-toggle[aria-pressed=false] .voice-wave{opacity:.35}.home-voice-state{display:block;color:#55776a;font-size:12px;line-height:1.5;min-height:18px;margin-top:4px}
.voice-wave{display:flex;align-items:center;justify-content:center;gap:3px;width:30px;height:26px}.voice-wave i{width:4px;border-radius:4px;background:#009d70;height:11px;transform-origin:center}.voice-wave i:nth-child(2){height:18px}.voice-wave i:nth-child(3){height:23px}.voice-wave i:nth-child(4){height:15px}.voice-wave.is-speaking i{animation:belmax-voice .65s ease-in-out infinite alternate}.voice-wave.is-speaking i:nth-child(2){animation-delay:-.15s}.voice-wave.is-speaking i:nth-child(3){animation-delay:-.4s}.voice-wave.is-speaking i:nth-child(4){animation-delay:-.3s}
.home-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.home-stat{display:flex;align-items:center;gap:16px;text-align:left;min-width:0;min-height:112px;background:white;border:1px solid #dfe8e7;border-radius:17px;padding:20px;cursor:pointer;color:var(--ink);font:inherit;box-shadow:var(--shadow);transition:border-color .15s,background .15s}.home-stat:hover{border-color:#91bfae;background:#fbfefc}.home-stat-icon{display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:50%;background:#eef3f1;color:#147e5c}.home-stat-icon .ui-icon{width:30px;height:30px}.home-stat-copy{display:grid;gap:5px;min-width:0}.home-stat-copy>span{font-size:14px;font-weight:550;overflow-wrap:anywhere}.home-stat-copy>strong{font-size:36px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}.home-stat-arrow{margin-left:auto;font-size:28px;font-weight:300;color:#608079}.home-stat.today{border-color:#d1e9dd}.home-stat.today .home-stat-icon{background:#e8f5ef}.home-stat.overdue{border-color:#f0dfc2;background:#fffdf8}.home-stat.overdue .home-stat-icon{color:#a16614;background:#fff0d5}.home-stat.undated .home-stat-icon{color:#45616c;background:#edf0f3}
.home-next{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;background:white;border:1px solid #e0e9e2;border-left:8px solid var(--green);border-radius:17px;padding:24px 28px;box-shadow:var(--shadow)}.home-next.is-blocked{border-left-color:#bf6d35}.home-next-copy{min-width:0}.home-next-heading{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.home-next .op-kicker{font-size:12px;font-weight:600;letter-spacing:.09em;color:#617982}.home-next-badge{display:inline-flex;align-items:center;min-height:29px;background:#e7f4ee;padding:4px 14px;border-radius:18px;font-size:12px;color:#007653;font-weight:600}.home-next h2{font-size:clamp(30px,3.7vw,49px);line-height:1.15;letter-spacing:-.035em;margin:15px 0 7px;overflow-wrap:anywhere}.home-job-meta{font-size:20px;line-height:1.5;margin:0;color:#244751;overflow-wrap:anywhere}.home-job-details{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-top:21px}.home-planned{display:flex;align-items:center;gap:10px;color:#456575}.home-planned .schedule-date{margin:0;font-size:14px;color:#244751}.home-planned .schedule-date time{color:var(--ink);font-size:15px}.home-qa{display:flex;align-items:center;gap:8px;font-size:13px;color:#647982}.home-qa.passed{color:#087958}.home-qa.warning{color:#946326}.home-qa.blocked{color:#a14929}.home-qa .ui-icon{width:22px;height:22px}.home-qa-detail{color:#8b562e;font-size:13px;line-height:1.55;max-width:660px;margin:12px 0 0}.home-next-actions{display:flex;align-items:stretch;flex-direction:column;gap:14px;min-width:250px}.home-next-actions .primary{display:flex;align-items:center;justify-content:center;gap:20px;min-height:64px;font-size:18px;padding:17px 24px;border-radius:14px;background:#00825b;color:#fff}.home-next-actions .primary:disabled{background:#f3ece4;color:#8e6443;opacity:1;cursor:not-allowed}.home-all-link{display:flex;align-items:center;justify-content:center;gap:12px;border:0;background:transparent;color:#345865;font:inherit;font-size:14px;min-height:40px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.home-all-link .ui-icon{width:20px}.home-next .home-empty-title{font-size:28px;letter-spacing:-.02em}.home-empty-copy{color:#617882;font-size:15px;line-height:1.6;margin:0;max-width:520px}
.home-footer{display:flex;justify-content:flex-end;margin-top:8px}.home-refresh{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;min-height:40px;font:inherit;font-size:12px;color:#667e81;padding:6px 0;cursor:pointer}.home-refresh .ui-icon{width:16px;height:16px}.home-manual{margin-top:4px}.home-manual>summary{font-size:12px;padding:12px 0;color:#6c8179}.home-screen button:focus-visible,.header-camera:focus-visible,.bottom-nav button:focus-visible{outline:3px solid #679f89;outline-offset:3px}.bottom-nav{height:72px;background:#fff}.bottom-nav button{display:flex!important;min-width:128px;gap:5px;cursor:pointer}.bottom-nav .ui-icon{width:24px;height:24px}.bottom-nav button.active{color:var(--green2);background:var(--green-soft)}.portal{padding-bottom:84px}.login-card>img{object-fit:contain;width:100px;height:100px}
@keyframes belmax-voice{from{transform:scaleY(.45)}to{transform:scaleY(1.05)}}@keyframes belmax-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@media(max-width:1200px){.topbar{gap:14px;padding:14px 20px}.topbar .job-head{display:none}.topbar .brand{margin-right:auto}.topbar .batch-progress{flex-basis:115px}.home-stat{padding:17px;gap:12px}.home-stat-icon{width:44px;height:44px;flex-basis:44px}.home-stat-icon .ui-icon{width:26px;height:26px}.home-stat-copy>span{font-size:13px}.home-stat-copy>strong{font-size:33px}.home-next-actions{min-width:230px}.home-next-actions .primary{font-size:16px}.home-job-details{gap:13px}.home-qa{font-size:12px}}
@media(max-width:900px){.topbar .batch-progress{display:none}.topbar .brand{flex-basis:145px;font-size:21px}.topbar .user{max-width:95px;font-size:12px}.user-initials{margin-left:12px}.workspace{padding:22px}.home-welcome{gap:23px}.home-symbol{width:106px;height:106px;flex-basis:106px}.home-overview{gap:12px}.home-stat{padding:14px;gap:10px}.home-stat-icon{width:34px;height:34px;flex-basis:34px}.home-stat-icon .ui-icon{width:22px;height:22px}.home-stat-arrow{display:none}.home-next{padding:22px;gap:18px}.home-next-actions{min-width:210px}.home-next-actions .primary{gap:12px;padding:14px}.home-job-meta{font-size:18px}.bottom-nav button{min-width:0;flex:1;max-width:150px}}
@media(max-width:720px){.topbar{display:grid;grid-template-columns:38px minmax(0,1fr) auto;grid-template-areas:'menu brand actions' 'camera camera camera';gap:8px 10px;padding:10px 16px}.topbar #menuBtn{grid-area:menu;width:36px;height:38px;min-width:0}.topbar .brand{grid-area:brand;min-width:0;width:max-content;font-size:20px;letter-spacing:.21em}.topbar .brand small{display:block;font-size:6px}.topbar .top-actions{grid-area:actions}.topbar .user{display:none}.topbar .user-initials{width:32px;height:32px;font-size:12px;margin-left:10px}.topbar .seg{padding:8px;min-height:38px;font-size:12px}.header-camera{grid-area:camera;min-height:38px;padding:7px 12px;font-size:12px;border-radius:10px}.header-camera .ui-icon{width:18px;height:18px}.workspace{padding:20px 16px}.home-topline{font-size:10px;gap:10px;margin-bottom:22px}.home-station{font-size:10px;padding:6px 8px}.home-welcome{gap:16px;align-items:flex-start}.home-symbol{width:70px;height:70px;flex-basis:70px;border-radius:21px;margin-top:2px}.home-intro h1{font-size:29px;line-height:1.15;margin-bottom:8px}.home-lead{font-size:15px}.home-voice-actions{gap:8px 16px;margin-top:12px}.home-voice-actions .secondary{font-size:12px;padding:8px 12px;gap:8px}.home-voice-actions .ui-icon{width:19px;height:19px}.home-voice-toggle{font-size:12px;gap:8px}.home-voice-state{font-size:11px}.home-overview{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.home-stat{min-height:97px;padding:16px}.home-stat-icon{width:44px;height:44px;flex-basis:44px}.home-stat-icon .ui-icon{width:25px;height:25px}.home-stat-copy>strong{font-size:32px}.home-stat-copy>span{font-size:13px}.home-next{grid-template-columns:1fr;padding:21px 20px;border-left-width:5px;gap:22px}.home-next h2{font-size:36px}.home-next .op-kicker{font-size:11px}.home-next-actions{min-width:0;gap:5px}.home-next-actions .primary{min-height:54px;font-size:16px}.home-job-details{margin-top:16px;align-items:flex-start;flex-direction:column}.home-planned .schedule-date{font-size:13px}.home-planned .schedule-date time{font-size:14px}.home-qa{font-size:13px}.home-next .home-empty-title{font-size:25px}.bottom-nav{height:66px}.bottom-nav button{padding:0 3px}.bottom-nav .ui-icon{width:22px;height:22px}.bottom-nav span{font-size:10px}.portal{padding-bottom:76px}}
@media(max-width:380px){.workspace{padding:16px 12px}.topbar{padding:10px 12px;column-gap:8px}.topbar .user-initials{display:none}.home-welcome{gap:12px}.home-symbol{width:56px;height:56px;flex-basis:56px}.home-intro h1{font-size:26px}.home-stat{padding:12px;gap:10px}.home-stat-icon{width:34px;height:34px;flex-basis:34px}.home-topline{font-size:9px}.home-next h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.home-symbol.is-speaking,.voice-wave.is-speaking i{animation:none}.home-stat{transition:none}}

.task-filters .filter-group{min-width:0}
/* V7.21: execute each complete recipe in its own physical container. */
.pack-screen{max-width:1320px;margin:auto}.pack-screen .op-job p{color:var(--muted);font-size:14px;line-height:1.5}.pack-panel{padding:28px}.pack-panel h2{margin:0 0 22px;font-size:24px}.pack-options{display:flex;flex-wrap:wrap;gap:24px 40px}.pack-options b{display:block;font-size:13px;margin-bottom:10px}.pack-options>div>div{display:flex;flex-wrap:wrap;gap:8px}.pack-options button{min-height:46px;font-size:14px}.pack-options button[aria-pressed=true]{background:var(--green);color:white}.pack-summary{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:28px 0 16px}.pack-summary strong{font-size:30px}.pack-summary span{color:var(--muted)}.pack-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px}.pack-chips>span{padding:10px 14px;background:#eef6f1;border-radius:10px;font-size:13px}.pack-preview{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.pack-preview td,.pack-preview th{padding:12px 14px}.pack-panel>.primary{margin-top:24px;min-height:54px;font-size:16px}.pack-note{font-size:12px;color:var(--muted);line-height:1.6}.pack-alert{border-left:4px solid #b27026;background:#fff5e6;color:#895022;padding:16px;font-size:14px;line-height:1.6}.pack-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;background:#e6f3eb;border:1px solid #c7e3d4;border-radius:14px;padding:18px 22px;margin:0 0 20px}.pack-banner>div{display:grid;gap:5px}.pack-banner b{font-size:22px}.pack-banner strong{font-size:24px}.pack-banner span,.pack-banner small{color:#4f7263;font-size:12px}.pack-boundary{max-width:850px;margin:20px auto;text-align:center}.pack-boundary h1{font-size:30px;margin:10px 0}.pack-boundary p{font-size:17px;line-height:1.7;color:#577168}.pack-boundary .primary{width:100%}
@media(max-width:720px){.pack-panel{padding:20px 16px}.pack-panel h2{font-size:21px}.pack-options{gap:20px}.pack-summary strong{font-size:25px}.pack-preview{font-size:11px}.pack-banner{padding:15px;gap:12px}.pack-banner>small{width:100%}.pack-boundary h1{font-size:24px}.pack-boundary p{font-size:15px}.pack-panel>.primary{width:100%;font-size:14px}.op-readings>div:first-child strong{font-size:24px}}

/* Dedicated USB scanner input, shared by mouse and touch workflows. */
.usb-scanner-panel{margin:14px 0;padding:14px;border:1px solid #dbe5ec;border-radius:12px;background:#f6f9fc}
.scanner-heading,.scanner-entry{display:flex;gap:12px;align-items:center;justify-content:space-between}
.scanner-heading{margin-bottom:10px}.scanner-heading label{display:flex;gap:8px;align-items:center;font-size:12px}
.scanner-heading select{padding:6px;max-width:150px}.scanner-entry input{min-width:0;flex:1;margin:0;font-size:16px;padding:12px;border:1px solid #aebfcc;border-radius:8px}
.scanner-entry input:focus{outline:3px solid #77b6e6;outline-offset:1px}.usb-scanner-panel>small{display:block;margin-top:8px;color:#4a5969}
.scanner-accepted{overflow-wrap:anywhere}.scanner-metadata{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;font-size:13px}
@media(max-width:540px){.scanner-heading{align-items:flex-start}.scanner-heading label{flex-direction:column;gap:3px}.scanner-entry{gap:8px}.scanner-entry button{padding:10px}}

.correction-dose{margin:0 0 16px;padding:16px 20px;background:#fff6d9;border:1px solid #e4c776;border-radius:12px;color:#584a20;display:grid;gap:5px}.correction-dose span{font-size:14px;line-height:1.5}

.station-recipe{padding:20px;margin:16px 0}.station-split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.manual-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}#manualEntry label{display:grid;gap:6px}#manualEntry small{display:block;margin-top:12px}@media(max-width:760px){.station-split,.manual-fields{grid-template-columns:1fr}}

html[lang="ne"] body{font-family:"Nirmala UI","Noto Sans Devanagari",Mangal,system-ui,sans-serif;line-height:1.55}
html[lang="ne"] .seg{min-width:44px;white-space:nowrap}
