@font-face{font-family:Dana;src:url('../assets/dana.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ink:#1d334b;--muted:#708096;--navy:#132e49;--line:#e2e8f0;--canvas:#f4f6f9;--blue:#1e5c96;--teal:#167561;--bs-body-font-family:Dana,Tahoma,sans-serif;--bs-body-color:var(--ink);--bs-body-bg:var(--canvas)}
body{font-size:14px;line-height:1.85;-webkit-font-smoothing:antialiased}.container-xxl{max-width:1376px;padding-inline:36px}.icon{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:absolute;top:-80px;right:20px;padding:10px 20px;background:white;z-index:100}.skip-link:focus{top:10px}.app-header{background:var(--navy);color:white;border-bottom:3px solid #b49a64}.header-content{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:14px;align-items:center;text-decoration:none;color:white}.brand:hover{color:#fff}.brand-mark{width:44px;height:48px;display:grid;place-items:center;background:#ffffff0d;border:1px solid #ffffff36;border-radius:9px}.brand-mark .icon{width:28px;height:28px;stroke:#d1bc93}.brand strong{display:block;font-size:22px;line-height:1.3;font-weight:750}.brand small{display:block;color:#b4c4d5;font-size:11px;margin-top:4px}.header-tools{display:flex;align-items:center;gap:24px;font-size:12px}.orders-link{color:#d1dce8;text-decoration:none;display:flex;align-items:center;gap:12px}.orders-link:hover{color:#fff}.orders-link .icon{width:17px}.header-divider{width:1px;height:24px;background:#ffffff25}.access-pill{display:flex;align-items:center;gap:8px;color:#d4dfeb}.status-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#a2adbb;flex-shrink:0}.access-pill.ready .status-dot,.station-badge.ready .status-dot{background:#42b894;box-shadow:0 0 0 3px #42b89418}.workspace{padding-top:30px;padding-bottom:20px}.session-banner{display:flex;align-items:center;gap:10px;background:#edf2f8;border:1px solid #dce5f0;border-radius:7px;padding:10px 15px;font-size:12px;color:#46627f;margin-bottom:20px;min-height:47px}.session-banner.ready{background:#eef7f3;border-color:#d5e8df;color:#386957}.session-banner.error{background:#fff6e8;border-color:#f0dfbe;color:#835f29}.session-banner .icon{width:18px}.session-banner a{color:inherit;font-weight:700;margin-inline-start:10px;text-underline-offset:4px}.summary-row{margin-bottom:24px}.stat-card{display:flex;align-items:center;gap:13px;min-height:100px;border:1px solid var(--line);border-radius:9px;padding:18px;background:white;position:relative}.stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:9px}.neutral{color:#40658a;background:#edf2f8}.positive{color:#218366;background:#edf7f2}.caution{color:#ab7a29;background:#fff7e9}.negative{color:#b05959;background:#fbefef}.stat-label{font-size:11px;color:#6d7d90;display:block;margin-bottom:0}.stat-card strong{font-size:27px;font-weight:700;line-height:1.25;display:block;font-variant-numeric:tabular-nums}.stat-caption{margin-inline-start:auto;align-self:flex-end;font-size:10px;color:#93a0af;padding-bottom:3px}.card{--bs-card-border-color:var(--line);--bs-card-border-radius:9px;box-shadow:0 2px 3px #182d4610;background:#fff}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-bottom:1px solid #edf0f5;min-height:65px}.heading-title{display:flex;align-items:center;gap:10px}.heading-title>.icon{color:#6a7e95;width:20px}.heading-title h2{font-size:15px;font-weight:700;margin:0}.station-badge{display:inline-flex;align-items:center;gap:7px;font-size:10px;padding:3px 9px;background:#f2f5f8;border:1px solid #e5eaf0;border-radius:5px;color:#6c7f94}.station-badge.ready{background:#f0f8f5;color:#47735f;border-color:#deeee5}.scan-body{padding:25px 24px 0}.form-label{font-size:13px;font-weight:650}.field-hint{font-size:10px;color:#8c99a8}.scan-input-group{display:flex;align-items:stretch;position:relative;gap:10px}.input-symbol{position:absolute;right:16px;top:17px;z-index:1;pointer-events:none;color:#889bb0}.input-symbol .icon{width:25px;height:25px}.scan-input-group .form-control{height:60px;min-width:0;border:1.5px solid #b7c8db;background:#fcfdff;border-radius:6px!important;padding:12px 53px 12px 14px;text-align:right;font:500 20px Dana,Tahoma,sans-serif;letter-spacing:.4px}.scan-input-group .form-control::placeholder{font-size:15px;color:#8a9aab;letter-spacing:0}.scan-input-group .form-control:focus{border-color:#4183bd;box-shadow:0 0 0 3px #3975ae13;background:#fff}.scan-input-group .form-control:disabled{background:#f3f5f8;color:#7f8fa3}.scan-input-group .btn{display:flex;align-items:center;justify-content:center;gap:17px;min-width:143px;font-size:14px;font-weight:650;border-radius:6px;white-space:nowrap}.btn-primary{--bs-btn-bg:var(--blue);--bs-btn-border-color:var(--blue);--bs-btn-hover-bg:#174c7e;--bs-btn-hover-border-color:#174c7e;--bs-btn-disabled-bg:#8b9fb4;--bs-btn-disabled-border-color:#8b9fb4}.btn:focus-visible,.filter-tab:focus-visible,.sound-button:focus-visible,.copy-button:focus-visible{outline:3px solid #82b4e0;outline-offset:3px}.scan-help{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8492a3;margin-top:9px}kbd{font:10px monospace;background:#f3f5f7;color:#6b7c8f;border:1px solid #dce3eb;border-radius:4px;padding:2px 5px}.shortcut-divider{padding-inline:7px;color:#bac4d0}.last-result{display:flex;align-items:flex-start;gap:14px;border:1px dashed #d6e0ea;background:#f8fafc;border-radius:7px;margin-top:25px;padding:20px;min-height:141px}.last-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eaf0f6;color:#748ba4;flex-shrink:0;margin-top:3px}.last-content{min-width:0;flex:1}.eyebrow{display:block;font-size:10px;letter-spacing:.1px;color:#8c9aac}.last-result h3{font-size:16px;font-weight:700;margin:3px 0 5px}.last-result p{font-size:12px;color:#728398;margin:0;white-space:pre-line}.last-result.success{background:#f0f8f4;border:1px solid #cce5d7}.last-result.success .last-icon{background:#ddefe3;color:#267e57}.last-result.success h3{color:#286548}.last-result.warning{background:#fff9ef;border:1px solid #f0dfbf}.last-result.warning .last-icon{background:#faecd2;color:#9d762f}.last-result.warning h3{color:#886022}.last-result.error{background:#fff5f5;border:1px solid #efd1d1}.last-result.error .last-icon{background:#f8e3e3;color:#ad5252}.last-result.error h3{color:#9e4545}.last-code{display:flex;align-items:center;gap:9px;margin-top:10px}.last-code bdi{font:13px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.45px;overflow-wrap:anywhere}.last-code>span{font-size:10px;color:#8b97a6;margin-inline-start:auto}.copy-button{background:none;border:0;color:#8393a5;padding:0;display:grid;place-items:center}.copy-button .icon{width:15px;height:15px}.scan-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#8b99a8;padding:17px 0}.scan-bottom>span{display:flex;align-items:center;gap:6px}.scan-bottom .icon{width:15px;height:15px}.sound-button{display:flex;align-items:center;gap:6px;background:none;border:0;color:#6d8096;padding:4px 0;font-size:10px;white-space:nowrap}.sound-button[aria-pressed="false"]{color:#aa6666}.guide-tag{font-size:10px;color:#9ca7b4}.guide-card .card-body{padding:21px 22px 20px}.workflow{list-style:none;padding:0;margin:0}.workflow li{display:flex;gap:13px;position:relative;padding-bottom:21px}.workflow li:not(:last-child):before{content:"";position:absolute;right:14px;top:29px;bottom:0;border-right:1px dashed #d7e1eb}.workflow li:last-child{padding-bottom:0}.step-number{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e0e7ef;border-radius:50%;background:#f7f9fb;color:#8998aa;flex-shrink:0;font-size:12px;z-index:1}.workflow h3{font-size:12px;font-weight:700;margin:3px 0 4px}.workflow p{font-size:11px;color:#8491a2;margin:0;line-height:1.9}.active-step .step-number{background:#edf3fa;border-color:#b9cfe5;color:#2f6594}.active-step h3{color:#245e93}.guide-note{display:flex;align-items:flex-start;gap:9px;background:#f4f7fa;border:1px solid #e7edf3;border-radius:6px;padding:11px;margin-top:20px}.guide-note .icon{width:17px;height:17px;color:#8193a8;margin-top:3px}.guide-note p{margin:0;font-size:10px;line-height:1.95;color:#74879b}.report-card{margin-top:24px;overflow:hidden}.report-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 23px;border-bottom:1px solid #edf1f6}.report-header .heading-title{gap:12px}.report-header p{font-size:10px;color:#8c99a9;margin:4px 0 0}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 23px;background:#fff}.filter-tabs{display:flex;gap:4px}.filter-tab{border:0;background:transparent;border-radius:5px;color:#8291a3;font-size:11px;padding:7px 13px;white-space:nowrap}.filter-tab.active{background:#edf3f9;color:#2c608e;font-weight:650}.filter-tab span{display:inline-block;margin-right:5px;min-width:19px;padding:0 4px;border-radius:4px;background:#dae6f2;color:#3d6a96;font-size:10px}.report-search{position:relative;width:270px;max-width:100%}.report-search .icon{position:absolute;right:11px;top:10px;width:16px;height:16px;color:#98a6b7}.report-search .form-control{padding:8px 34px 8px 10px;font-size:10px;border-color:#e2e8f0;background:#fafbfd;border-radius:6px;height:37px}.report-search .form-control::placeholder{color:#94a1b2}.row-number{width:65px}.order-link{color:#446d96;text-decoration:none;font-weight:600}.order-link:hover{text-decoration:underline}.result-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid transparent;border-radius:5px;white-space:nowrap;font-size:10px}.result-badge .icon{width:12px;height:12px}.result-badge.success{color:#38795c;background:#f0f8f3;border-color:#dceee2}.result-badge.warning{color:#a37a35;background:#fff8eb;border-color:#f1e5ce}.result-badge.error{color:#ad5b5b;background:#fdf2f2;border-color:#f1dddd}.description-cell{max-width:390px;min-width:220px;white-space:pre-line;font-size:10px;line-height:1.9}.time-cell{white-space:nowrap;color:#8a98a9;font-variant-numeric:tabular-nums}.empty-state{text-align:center;padding:30px 20px 35px}.empty-icon{display:grid;place-items:center;width:49px;height:49px;margin:0 auto 11px;border:1px solid #e6edf4;border-radius:12px;color:#9eafc2;background:#f8fafc}.empty-icon .icon{width:25px;height:25px}.empty-state h3{font-size:12px;font-weight:600;color:#7a8ba0;margin:0 0 5px}.empty-state p{font-size:10px;color:#a1adbb;margin:0}.report-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 22px;border-top:1px solid #edf1f6;font-size:10px;color:#9aa7b6;background:#fdfefe}.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9aa6b5;padding-top:22px}.footer-dot{color:#c0c9d4;padding:0 9px}[hidden]{display:none!important}.spinner-border{--bs-spinner-width:17px;--bs-spinner-height:17px;--bs-spinner-border-width:2px}
@media(min-width:1400px){.workspace{padding-top:35px}}
@media(max-width:991.98px){.container-xxl{padding-inline:24px}.scan-card{min-height:380px}.workflow{display:flex;gap:20px}.workflow li{flex:1;padding-bottom:0;gap:10px}.workflow li:before{display:none}.guide-note{margin-top:18px}.description-column{min-width:250px}.guide-card .card-body{padding-bottom:20px}.stat-caption{display:none}}
@media(max-width:575.98px){.container-xxl{padding-inline:16px}.header-content{min-height:77px;gap:10px}.brand{gap:10px}.brand-mark{width:36px;height:40px}.brand-mark .icon{width:24px;height:24px}.brand strong{font-size:19px}.brand small{font-size:9px}.orders-link{font-size:10px;gap:5px}.orders-link .icon{display:none}.header-divider,.access-pill{display:none}.workspace{padding-top:21px}.session-banner{font-size:11px;align-items:flex-start;padding:10px;margin-bottom:16px}.session-banner>.icon{margin-top:4px;min-width:18px}.summary-row{--bs-gutter-x:10px;--bs-gutter-y:10px;margin-bottom:19px}.stat-card{min-height:83px;padding:13px 12px;gap:10px}.stat-icon{width:35px;height:35px}.stat-icon .icon{width:19px;height:19px}.stat-label{font-size:10px}.stat-card strong{font-size:23px}.card-heading{padding:14px 16px;min-height:59px}.heading-title h2{font-size:13px}.station-badge{font-size:9px;padding:3px 6px}.scan-body{padding:20px 16px 0}.scan-input-group{flex-wrap:wrap;gap:9px}.scan-input-group .form-control{flex-basis:100%;height:58px;font-size:17px;padding-right:47px}.scan-input-group .form-control::placeholder{font-size:13px}.scan-input-group .btn{width:100%;min-height:47px;gap:12px;font-size:13px}.input-symbol{right:14px;top:17px}.input-symbol .icon{width:23px;height:23px}.scan-help{flex-wrap:wrap;font-size:9px;gap:4px}.scan-help>span:last-child{margin-inline-start:auto}.last-result{margin-top:20px;padding:15px 12px;gap:10px;min-height:150px}.last-icon{width:31px;height:31px}.last-icon .icon{width:18px;height:18px}.last-result h3{font-size:14px}.last-result p{font-size:11px}.last-code{flex-wrap:wrap;gap:7px}.last-code bdi{font-size:11px;letter-spacing:0}.last-code>span{font-size:9px}.scan-bottom{font-size:9px;align-items:flex-start;gap:10px;flex-wrap:wrap}.scan-bottom>span{max-width:230px}.sound-button{font-size:9px}.workflow{display:block}.workflow li{padding-bottom:17px}.workflow li:before{display:block}.guide-card .card-body{padding:18px 16px}.guide-note p{font-size:10px}.report-header{padding:17px 16px;align-items:flex-start}.report-header p{max-width:165px;font-size:9px}.report-toolbar{flex-wrap:wrap;gap:12px;padding:12px 14px}.filter-tabs{width:100%;justify-content:space-between;gap:0}.filter-tab{padding:7px 10px;font-size:10px}.report-search{width:100%}.report-footer{padding:10px 15px;flex-wrap:wrap;font-size:9px;gap:3px}.empty-state{padding:27px 15px}.app-footer{font-size:9px;gap:5px;flex-direction:column;padding-top:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.report-session-tag{font-size:10px;color:#7c8fa5;background:#f5f8fb;border:1px solid #e3ebf2;padding:4px 10px;border-radius:5px;white-space:nowrap}

/* Compact operation history beside the scanner. */
.report-column{min-width:0}.report-column .report-card{margin-top:0}.report-column .report-header{padding:17px 18px;min-height:65px;align-items:flex-start}.report-column .report-header p{font-size:10px;max-width:195px}.report-column .report-session-tag{display:none}.report-column .report-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px 16px}.report-column .filter-tabs{justify-content:space-between;gap:0}.report-column .filter-tab{padding:6px 9px;font-size:10px}.report-column .report-search{width:100%}.report-column .report-footer{margin-top:auto;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 16px;font-size:9px}.report-column .empty-state{padding:32px 16px}.report-column .empty-state p{max-width:245px;margin-inline:auto}.report-column .empty-state h3{font-size:12px}
@media(max-width:991.98px){.report-column .report-header p{max-width:none}}

.operation-list{display:flex;flex-direction:column;gap:7px;padding:0 13px 13px;max-height:410px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d1dce7 transparent}.operation-list:empty{display:none}.operation-card{flex-shrink:0;border:1px solid #e3eaf1;border-right:2px solid #bfcddd;border-radius:6px;background:#fff;overflow:hidden}.operation-card.success{border-right-color:#5a9b7d}.operation-card.warning{border-right-color:#c59d59}.operation-card.error{border-right-color:#cb8a8a}.operation-summary{display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;min-height:51px;list-style:none;cursor:pointer;outline-offset:-3px}.operation-summary::-webkit-details-marker{display:none}.operation-summary:hover{background:#f9fbfd}.operation-summary:focus-visible{outline:2px solid #6d9cc5}.operation-marker{display:grid;place-items:center;color:#b76c6c}.operation-marker .icon{width:19px;height:19px}.success .operation-marker{color:#40876a}.warning .operation-marker{color:#b18a47}.operation-main{min-width:0}.operation-code{display:block;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.2px;color:#3c5875;overflow-wrap:anywhere}.operation-meta{display:flex;align-items:center;gap:10px;font-size:9px;line-height:1.5;color:#98a6b6;margin-top:3px}.operation-meta .order-link{font-size:9px;font-weight:500}.operation-meta time{font-variant-numeric:tabular-nums}.operation-tail{display:flex;align-items:center;gap:7px}.operation-badge{font-size:9px;line-height:1.8;color:#a96767;background:#fbf2f2;border-radius:4px;padding:1px 6px;white-space:nowrap}.success .operation-badge{color:#4f806b;background:#f0f7f3}.warning .operation-badge{color:#9b7b44;background:#fcf7ec}.operation-caret{color:#9cacbd;font:14px/1 Arial;transition:transform .15s}.operation-card[open] .operation-caret{transform:rotate(180deg)}.operation-description{border-top:1px solid #edf1f5;padding:9px 12px;font-size:11px;line-height:1.9;color:#74869b;white-space:pre-line;background:#fafcfe}.operation-card[open]{border-color:#cbd9e7}.report-column .report-footer{margin-top:0}
@media(max-width:575.98px){.operation-list{padding-inline:11px}.operation-summary{padding:8px;gap:7px;grid-template-columns:20px minmax(0,1fr) auto}.operation-code{font-size:10px;letter-spacing:0}.operation-tail{gap:4px}.operation-badge{padding-inline:5px}.operation-meta{gap:8px}}

.report-column .filter-tab{display:inline-flex;align-items:center;justify-content:center;gap:3px;padding-inline:5px}.report-column .filter-tab span{margin:0;min-width:16px;font-size:9px;padding:0 3px}.report-column .filter-tabs{gap:2px}

.report-column .filter-tab .icon{width:13px;height:13px;stroke-width:1.8}.filter-tab[data-filter="all"]>.icon{color:#4a739e}.filter-tab[data-filter="success"]>.icon{color:#3c8b68}.filter-tab[data-filter="warning"]>.icon{color:#b18a43}.filter-tab[data-filter="error"]>.icon{color:#bc6c6c}.report-column .filter-tab{font-size:10px;gap:4px}.report-column .filter-tabs{justify-content:space-between}
@media(max-width:380px){.report-column .filter-tab{font-size:9px;padding-inline:2px;gap:3px}.report-column .filter-tab .icon{width:12px;height:12px}.report-column .filter-tab span{min-width:14px}}

/* A compact acknowledgement; detailed messages remain in the operation report. */
.last-result{min-height:0;padding:12px 14px;margin-top:18px;align-items:center;gap:10px;border-style:solid}.last-icon{width:28px;height:28px;margin-top:0}.last-icon .icon{width:17px;height:17px}.last-content{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}.last-result h3{font-size:13px;margin:0;line-height:1.7}.last-code{margin-top:0;gap:8px}.last-code bdi{font-size:12px;letter-spacing:.2px}.last-result p{flex-basis:100%;order:3;font-size:11px;margin:0}.last-result.success{background:#f7fbf9;border-color:#d9e9df}.last-result.success .last-icon{background:#e9f3ed}.last-result.success h3{font-size:13px;font-weight:600}
@media(max-width:575.98px){.last-result{padding:10px;gap:8px}.last-content{gap:4px 8px}.last-result h3,.last-result.success h3{font-size:12px}.last-code bdi{font-size:10px;letter-spacing:0}.last-code .icon{width:13px;height:13px}}

/* Keep the workstation inside the viewport; only the activity list scrolls. */
html,body{height:100%;overflow:hidden}body{height:100vh;height:100dvh;display:flex;flex-direction:column}.app-header{flex:0 0 auto}.header-content{min-height:55px}.brand-mark{width:33px;height:34px;border-radius:6px}.brand-mark .icon{width:23px;height:23px}.brand{gap:10px}.brand strong{font-size:18px}.brand small{font-size:9px;margin-top:2px}.header-tools{gap:12px}.workspace{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:14px;padding-bottom:8px}.workspace>.row{flex:1;min-height:0;--bs-gutter-y:0;margin-top:0}.workspace>.row>section,.workspace>.row>.report-column{min-height:0;display:flex;flex-direction:column;height:100%}.scan-card,.report-column .report-card{min-height:0;flex:1;overflow:hidden}.card-heading{min-height:51px;padding-block:11px;flex:0 0 auto}.scan-body{display:flex;flex-direction:column;min-height:0;padding-top:18px}.scan-bottom{margin-top:auto;flex:0 0 auto;padding-block:12px}.last-result{flex-shrink:0}.report-column .report-header{min-height:51px;padding:11px 16px;flex:0 0 auto}.report-column .report-header p{font-size:9px;margin-top:2px;max-width:none}.report-column .report-toolbar{flex:0 0 auto;padding:9px 12px;gap:8px}.report-column .operation-list{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;margin-bottom:0}.report-column .empty-state{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:16px}.app-footer{flex:0 0 auto;padding-top:8px;font-size:9px;line-height:1.7}.session-banner{flex:0 0 auto;margin-bottom:12px;min-height:40px;padding-block:7px}
@media(max-width:991.98px){.workspace>.row{flex-direction:column;flex-wrap:nowrap;gap:12px}.workspace>.row>section{flex:0 0 auto;height:auto;width:100%}.workspace>.row>.report-column{flex:1;height:auto;width:100%}.scan-card{height:auto!important;min-height:0}.scan-card .scan-body{padding:13px 16px 0}.scan-input-group .form-control{height:47px}.input-symbol{top:12px}.last-result{margin-top:12px;padding-block:9px}.scan-bottom{margin-top:7px;padding-block:8px}.app-footer{flex-direction:row}.report-column .report-header p{display:none}.report-column .report-header{min-height:44px;padding-block:10px}.report-column .report-toolbar{flex-direction:row;align-items:center;gap:12px}.report-column .filter-tabs{flex:1}.report-column .report-search{width:220px}.report-column .operation-list{max-height:none}}
@media(max-width:575.98px){.header-content{min-height:48px}.brand-mark{width:28px;height:29px}.brand-mark .icon{width:20px;height:20px}.brand strong{font-size:17px}.brand small{font-size:8px}.brand{gap:8px}.workspace{padding-top:10px;padding-bottom:10px}.workspace>.row{gap:10px}.card-heading{min-height:43px;padding:9px 12px}.scan-card .scan-body{padding:10px 12px 0}.scan-input-group{flex-wrap:nowrap;gap:7px}.scan-input-group .form-control{flex-basis:auto;height:45px;font-size:13px;padding:8px 34px 8px 8px;letter-spacing:0}.scan-input-group .form-control::placeholder{font-size:11px}.scan-input-group .btn{width:auto;min-width:80px;min-height:45px;padding-inline:10px;font-size:11px}.scan-input-group .btn>.icon{display:none}.input-symbol{right:10px;top:12px}.input-symbol .icon{width:20px;height:20px}.scan-help{margin-top:5px;font-size:8px}.last-result{margin-top:10px;padding:8px 10px;gap:8px}.last-result h3,.last-result.success h3{font-size:11px}.last-content{gap:3px 8px}.last-result p{font-size:10px;line-height:1.6;max-height:48px;overflow:hidden}.last-code bdi{font-size:10px}.last-icon{width:24px;height:24px}.scan-bottom{margin-top:3px;padding:5px 0;font-size:8px}.scan-bottom>span{max-width:none;font-size:8px}.scan-bottom .icon{width:12px;height:12px}.sound-button{font-size:8px;padding:0}.app-footer{display:none}.report-column .report-toolbar{flex-direction:column;align-items:stretch;gap:6px;padding:6px 10px 8px}.report-column .report-search{width:100%}.report-column .report-search .form-control{height:31px;padding-block:5px}.report-column .report-search>.icon{top:8px}.report-column .filter-tabs{width:100%}.report-column .filter-tab{padding-block:4px}.report-column .report-header{min-height:40px;padding:8px 12px}.session-banner{font-size:10px;padding:6px 9px;min-height:35px;margin-bottom:8px}.operation-summary{padding-block:7px;min-height:47px}}
@media(min-width:992px) and (max-height:650px){.workspace{padding-top:10px}.scan-body{padding-top:12px}.scan-input-group .form-control{height:47px}.input-symbol{top:12px}.last-result{margin-top:12px}.app-footer{display:none}}

/* Readability pass: stronger text contrast and clearer tracking digits. */
:root{--ink:#19324b;--muted:#50657c}.brand small{color:#d3dfeb;font-size:10px}.orders-link{color:#e5edf5;font-size:12px}.heading-title h2{font-size:15px;font-weight:750;color:#203a54}.heading-title>.icon{color:#4d6680}.station-badge{color:#455d75;font-size:11px;font-weight:550}.station-badge.ready{color:#28674e;background:#edf7f1;border-color:#bedbc9}.form-label{font-size:14px;color:#223f5c;font-weight:700}.scan-input-group .form-control{color:#183d61;font-weight:600}.scan-input-group .form-control::placeholder{color:#647b92;opacity:1}.scan-help{color:#536b82;font-size:11px}.scan-bottom{color:#556e84;font-size:11px}.sound-button{color:#42627f;font-size:11px}.last-result h3,.last-result.success h3{color:#224c37;font-size:14px;font-weight:650}.last-result.error h3{color:#913c3c}.last-result.warning h3{color:#78551c}.last-result p{color:#465e75;font-size:12px}.last-code bdi{font-size:13px;font-weight:600;color:#284a69}.copy-button{color:#4e6d87}.report-column .report-header p{color:#566d85;font-size:11px}.report-column .filter-tab{color:#4b6178;font-size:11px;font-weight:550}.report-column .filter-tab.active{color:#1d4e7b;background:#e1edf8;font-weight:700}.report-column .filter-tab span{color:#244f76;background:#deE8f2;font-size:10px;font-weight:700;min-width:18px}.report-search .form-control{color:#294a69;font-size:11px}.report-search .form-control::placeholder{color:#62788f}.report-search>.icon{color:#5d7791}.operation-code{color:#1f4162;font-size:12px;font-weight:600;letter-spacing:.25px}.operation-meta{font-size:10px;color:#5b7188}.operation-meta .order-link{font-size:10px;font-weight:600;color:#285b88}.operation-meta time{color:#5b7188}.operation-badge{font-size:10px;font-weight:600;color:#954646;background:#fbefef}.success .operation-badge{color:#2a6549;background:#eaf5ee}.warning .operation-badge{color:#79581e;background:#fbf2de}.operation-caret{color:#617d96}.operation-description{font-size:12px;color:#425c76}.empty-state h3,.report-column .empty-state h3{color:#526b85;font-size:13px;font-weight:600}.empty-state p{color:#62778d;font-size:11px}.app-footer{color:#5d7389;font-size:10px}.last-icon{color:#56718c}.last-result.success .last-icon{color:#2d7752}.last-result.error .last-icon{color:#9c4545}.last-result.warning .last-icon{color:#8a6728}
@media(max-width:575.98px){.brand small{font-size:9px}.orders-link{font-size:11px}.heading-title h2{font-size:14px}.station-badge{font-size:10px}.form-label{font-size:13px}.scan-input-group .form-control{font-size:14px}.scan-input-group .form-control::placeholder{font-size:12px}.scan-help{font-size:10px}.scan-bottom>span,.sound-button{font-size:9px}.last-result h3,.last-result.success h3{font-size:12px}.last-result p{font-size:11px}.last-code bdi{font-size:11px}.report-column .filter-tab{font-size:10px}.report-column .filter-tab span{font-size:10px;min-width:16px}.report-search .form-control{font-size:11px}.operation-code{font-size:11px;letter-spacing:0}.operation-meta,.operation-meta .order-link{font-size:10px}.operation-summary{padding-block:7px}.operation-description{font-size:11px}}
@media(max-width:380px){.report-column .filter-tab{font-size:9px;gap:3px}.operation-code{font-size:10.5px}.scan-bottom>span{font-size:8.5px}.scan-bottom .sound-button{font-size:8.5px}}

.scan-heading-actions{display:flex;align-items:center;gap:9px}.camera-button{display:inline-flex;align-items:center;gap:6px;color:#315c82;border:1px solid #baccdd;background:#f5f9fd;font-size:11px;font-weight:600;padding:5px 9px;white-space:nowrap;line-height:1.6}.camera-button:hover{color:#1e4c75;background:#eaf2fa;border-color:#8eacc8}.camera-button .icon{width:17px;height:17px}.camera-button[aria-pressed="true"]{color:#8d4c3b;background:#fff7f1;border-color:#e5c7b9}.camera-button:disabled{opacity:.55}.camera-panel{min-height:0}.camera-stage{position:relative;background:#102338;border-radius:7px;overflow:hidden;height:min(230px,30dvh);min-height:100px}.camera-stage video{display:block;width:100%;height:100%;object-fit:contain}.camera-target{position:absolute;inset:25% 4%;border:2px solid #eef6ff;border-radius:5px;box-shadow:0 0 0 200px #07152255;pointer-events:none}.camera-panel p{font-size:11px;line-height:1.8;margin:7px 0 0;color:#415f7b}.camera-active #scan-form,.camera-active #last-result{display:none}.camera-error .camera-stage{display:none}.camera-error p{color:#8a442f;background:#fff5eb;border:1px solid #ead4c0;border-radius:6px;padding:9px;margin:0 0 10px}.camera-active .scan-bottom{margin-top:auto}
@media(max-width:575.98px){.scan-heading-actions{gap:6px}.camera-button{padding:4px 7px;font-size:10px}.camera-button .icon{width:15px;height:15px}.scan-heading-actions .station-badge{display:none}.camera-stage{height:150px;min-height:80px}.camera-panel p{font-size:10px;margin-top:5px}.camera-active .scan-bottom{margin-top:4px}}
@media(max-height:600px){.camera-stage{height:120px;min-height:70px}}

/* Larger QR preview with zoom-aware decoding of the same visible target. */
.camera-stage{height:clamp(220px,42dvh,440px);min-height:0;isolation:isolate}.camera-stage video{object-fit:cover;transform-origin:center}.camera-target{inset:auto;top:50%;left:50%;width:min(250px,70%);height:auto;aspect-ratio:1;transform:translate(-50%,-50%);border-width:2px;box-shadow:0 0 0 2000px #07152235;border-radius:9px}.camera-zoom{display:flex;align-items:center;gap:12px;padding:9px 2px 2px;font-size:11px;color:#385b78}.camera-zoom label{margin:0;white-space:nowrap}.camera-zoom input{flex:1;min-width:0;accent-color:#2e6899;height:24px;direction:ltr;cursor:pointer}.camera-zoom output{min-width:40px;text-align:left;font-weight:650;font-variant-numeric:tabular-nums}.camera-error .camera-zoom{display:none}.camera-active .scan-body{overflow:hidden}
@media(max-width:575.98px){.camera-stage{height:clamp(170px,36dvh,310px);min-height:0}.camera-target{width:min(230px,70%)}.camera-zoom{gap:8px;padding-top:6px;font-size:10px}.camera-zoom input{height:21px}.camera-panel p{font-size:10px;line-height:1.6}.camera-active .scan-bottom>span{display:none}.camera-active .scan-bottom{justify-content:flex-end}}
@media(max-height:600px){.camera-stage{height:clamp(130px,31dvh,185px)}.camera-target{width:min(160px,65%)}.camera-zoom{padding-top:4px}.camera-active .scan-bottom{display:none}}

/* Scan acknowledgement: detection, warning, and server failure stay distinct. */
.camera-stage:after{content:"";position:absolute;inset:0;border:3px solid transparent;border-radius:7px;pointer-events:none}.camera-flash-success .camera-stage:after{border-color:#24c77d;background:#22b96e1c}.camera-flash-success .camera-target{border-color:#31ee9b;box-shadow:0 0 0 2000px #063c201f,0 0 18px #32dd8d85}.camera-flash-warning .camera-stage:after{border-color:#dfa12e;background:#d9a12b12}.camera-flash-warning .camera-target{border-color:#ffd066}.camera-flash-error .camera-stage:after{border-color:#e06a6a;background:#d94e4e14}.camera-flash-error .camera-target{border-color:#ff9898}

/* Explicit tap-to-read control; preview remains live between scans. */
.camera-stage{cursor:pointer;touch-action:manipulation}.camera-stage:focus-visible{outline:3px solid #5b97c7;outline-offset:2px}.camera-stage:before{content:attr(data-prompt);position:absolute;z-index:2;bottom:9px;left:50%;transform:translateX(-50%);padding:4px 11px;background:#102c48d9;border:1px solid #ffffff45;border-radius:5px;color:#fff;font-size:11px;font-weight:550;white-space:nowrap;pointer-events:none}.camera-reading .camera-target{border-color:#78bcff;box-shadow:0 0 0 2000px #07152235,0 0 12px #78bcff55}.camera-panel p.visually-hidden{margin:0;padding:0;border:0}.sound-button.header-sound{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #c4d3e2;border-radius:5px;position:relative;background:#f7fafe;color:#476884}.header-sound .icon{width:17px;height:17px}.header-sound[aria-pressed="false"]:after{content:"";position:absolute;width:20px;height:1.5px;background:#a56464;transform:rotate(-45deg)}
@media(max-width:575.98px){.sound-button.header-sound{width:28px;height:28px}.header-sound .icon{width:15px;height:15px}.camera-stage:before{font-size:10px;padding:3px 9px}}

/* Camera permission errors remain visible; routine instructions stay on the preview. */
.camera-error #camera-status.visually-hidden{position:static!important;width:auto!important;height:auto!important;padding:9px!important;margin:0 0 10px!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;border:1px solid #ead4c0!important}

/* Mobile station uses the camera directly after authentication. */
@media(max-width:575.98px){#exit-camera-btn,#scan-form,.scan-card #last-result,.skip-link{display:none!important}.camera-error #camera-status{cursor:pointer}}

@media(max-width:575.98px){.camera-error .camera-stage{display:block}.camera-panel{flex-shrink:0}.camera-stage{min-height:130px}}

/* Frontend mobile operations menu. */
.mobile-navigation{display:none}
@media(max-width:575.98px){.header-tools>.orders-link{display:none}.mobile-navigation{display:block;position:relative}.mobile-menu-toggle{width:34px;height:34px;padding:6px;display:grid;place-items:center;color:#f5f8fc;border:1px solid #ffffff40;border-radius:6px;background:#ffffff0b}.mobile-menu-toggle:hover,.mobile-menu-toggle[aria-expanded="true"]{background:#ffffff1d}.mobile-menu-toggle:focus-visible{outline:2px solid #b9d8f4;outline-offset:3px}.mobile-operation-menu{position:absolute;left:0;top:calc(100% + 12px);width:230px;max-width:calc(100vw - 32px);padding:7px;border:1px solid #d4dfeb;border-radius:9px;background:#fff;color:#203a54;box-shadow:0 12px 35px #102b4933;z-index:200}.mobile-menu-caption{display:block;font-size:10px;font-weight:600;color:#62788d;padding:5px 9px 8px;border-bottom:1px solid #e9eef4;margin-bottom:4px}.mobile-operation-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px;border:0;border-radius:5px;background:transparent;text-align:right;color:#294661;font:600 12px Dana,Tahoma,sans-serif}.mobile-operation-menu button:hover,.mobile-operation-menu button:focus-visible{background:#f0f5fa;outline:2px solid #b7cee3;outline-offset:-2px}.mobile-operation-menu button.selected{background:#eaf2fa;color:#205783}.mobile-operation-menu .icon{width:19px;height:19px}.mobile-current-dot{width:6px;height:6px;border-radius:50%;background:#367cae;margin-inline-start:auto}}

/* Shared operations menu: available on desktop and mobile. */
.mobile-navigation{display:block;position:relative}.mobile-menu-toggle{width:38px;height:38px;padding:7px;display:grid;place-items:center;color:#f5f8fc;border:1px solid #ffffff40;border-radius:6px;background:#ffffff0b;cursor:pointer}.mobile-menu-toggle:hover,.mobile-menu-toggle[aria-expanded="true"]{background:#ffffff1d}.mobile-menu-toggle:focus-visible{outline:2px solid #b9d8f4;outline-offset:3px}.mobile-operation-menu{position:absolute;left:0;top:calc(100% + 12px);width:250px;max-width:calc(100vw - 32px);padding:7px;border:1px solid #d4dfeb;border-radius:9px;background:#fff;color:#203a54;box-shadow:0 12px 35px #102b4933;z-index:200}.mobile-menu-site-link,.mobile-operation-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px;border:0;border-radius:5px;background:transparent;text-align:right;text-decoration:none;color:#294661;font:600 12px Dana,Tahoma,sans-serif}.mobile-menu-site-link{border-bottom:1px solid #e9eef4;border-radius:5px 5px 0 0;margin-bottom:4px;color:#205783}.mobile-menu-site-link:hover,.mobile-menu-site-link:focus-visible,.mobile-operation-menu button:hover,.mobile-operation-menu button:focus-visible{background:#f0f5fa;outline:2px solid #b7cee3;outline-offset:-2px}.mobile-menu-site-link .icon,.mobile-operation-menu .icon{width:19px;height:19px}.mobile-current-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#367cae;margin-inline-start:auto;flex:0 0 6px}

.torch-button[aria-pressed="true"]{color:#946500;border-color:#e5ca70;background:#fff8da}.torch-button:disabled{opacity:.65}.torch-button[hidden]{display:none!important}.torch-button:focus-visible{outline:2px solid #b9d8f4;outline-offset:2px}
