.reference-tabs{display:flex;gap:16px;padding:16px 24px;background:#fff;border-bottom:1px solid #e2e5ed}.reference-tabs button{border:0;border-bottom:3px solid transparent;background:none;min-height:52px;padding:12px 16px;font-weight:700;color:#29344a}.reference-tabs button.active{border-color:var(--primary,#1677ff);color:var(--primary,#1677ff)}
.reference-card{background:white;margin:16px;padding:24px;border-radius:10px}.reference-card>header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.reference-card label{display:grid;gap:10px}.reference-card input,.reference-card select{min-height:52px}.reference-attendance{background:#dedfe2;min-height:calc(100dvh - 160px)}#attendance-live-clock{font-size:28px}.reference-card .attendance-card{box-shadow:none;border:0}
.cashier-stage>.reference-attendance{box-sizing:border-box;min-width:0;min-height:0;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.cashier-stage>.reference-attendance>.reference-tabs{position:sticky;top:0;z-index:2}
@media(max-width:900px){.cashier-stage>.reference-attendance{height:auto;min-height:calc(100dvh - 134px);overflow:visible}.cashier-stage>.reference-attendance>.reference-tabs{position:static}}
.reference-availability{display:grid;grid-template-columns:minmax(280px,33%) 1fr;min-height:calc(100dvh - 160px)}.reference-availability>aside{background:#fafbfc;display:flex;flex-direction:column}.reference-unavailable{flex:1}.reference-availability footer{padding:20px;border-top:1px solid #ddd}.reference-availability>section{padding:20px;background:#20243f;color:#fff}.reference-availability input{width:100%;min-height:56px}.reference-availability section>p{color:#c8cbd7}.reference-unavailable button,.reference-available button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:20px;text-align:left;background:white;border:1px solid #e5e7ee;color:#273046}.reference-availability button span{display:grid;gap:8px}.reference-available{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.reference-available button{border-radius:8px}.reference-availability small{color:#747d8e}
.reference-ledger{display:grid;grid-template-columns:minmax(320px,33%) 1fr 180px;min-height:calc(100dvh - 160px);background:#20243f;color:white}.reference-ledger form{background:white;color:#283147;display:flex;flex-direction:column;justify-content:space-between}.reference-ledger form>div{padding:20px}.reference-ledger label{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:8px;margin:18px 0;padding:10px;background:#f2f3f6}.reference-ledger input,.reference-ledger select,.reference-ledger textarea{width:100%;min-width:0;min-height:42px}.reference-ledger footer{display:flex;gap:16px;padding:20px;border-top:1px solid #ddd}.reference-ledger footer button{flex:1;min-height:60px}.reference-ledger-board{padding:24px}.reference-ledger-board>header{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.reference-ledger-board article{display:flex;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid #545975}.reference-ledger-board article span{display:grid;gap:12px}.reference-ledger-board small{color:#cbd0e3}.reference-keypad{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.reference-keypad button{min-height:64px;border:1px solid #e1e3e8;border-radius:8px;background:white;font-size:20px;box-shadow:0 2px 2px #0002}
.reference-business h3{margin:24px 0 12px}.reference-business>div,.reference-template-options{display:flex;gap:16px;flex-wrap:wrap}.reference-business button,.reference-template-options button{min-height:60px;padding:15px 20px;background:#fff;color:#7c8595;border:1px solid #e2e4e9;border-radius:4px;box-shadow:0 2px 3px #0001;font-weight:700}.reference-business button.active,.reference-template-options button.active{background:var(--primary,#1677ff);color:white;border-color:var(--primary,#1677ff)}.reference-business{margin-bottom:32px}.reference-network{text-align:center;padding:80px 30px!important;display:grid;justify-items:center;gap:20px}.reference-network>strong{font-size:38px;color:var(--primary,#1677ff)}.reference-network input{width:min(500px,100%);min-height:58px}.reference-diagnostics{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-top:30px}.reference-diagnostics p{overflow-wrap:anywhere}.reference-diagnostics h3{margin-top:24px}.reference-template{display:grid;grid-template-columns:1.35fr 1fr;gap:40px;padding-top:24px}.reference-template h3{margin:24px 0 12px}.reference-template #save-cashier-template{margin-top:28px}.reference-ticket-preview{background:white;padding:32px;border:1px solid #eee;color:#000;align-self:start;min-height:650px;font-size:16px}.reference-ticket-preview.large{font-size:20px}.reference-ticket-preview h2{text-align:center}.reference-ticket-preview p{overflow:auto}.reference-ticket-preview p>span{float:right}.reference-ticket-preview hr{border:0;border-top:1px dashed #000;margin:18px 0}.reference-preview-logo{text-align:center;font-size:48px;font-weight:800;letter-spacing:-3px;padding:30px}.reference-ticket-preview>small{color:#7d8493}
.cashier-settings-shell{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;overflow:hidden}.reference-settings-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.cashier-settings-page{width:100%!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:250px minmax(0,1fr);gap:0 28px!important;padding:24px!important;align-items:start}.cashier-settings-title{grid-column:1/-1}.cashier-settings-tabs{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start!important;gap:0!important;border:0!important;background:white;align-self:stretch}.cashier-settings-tabs>button{flex:none!important;min-height:60px;text-align:left;border-radius:0!important;padding:18px 22px!important;font-size:15px!important}.cashier-settings-tabs button.active{background:#e6e8ee!important;color:#273046!important}.cashier-settings-card{min-width:0}.cashier-settings-shell .cashier-setting-row{min-height:90px}.reference-settings-user{padding:24px;display:grid;gap:6px}.reference-settings-user small{color:#758298}.cashier-settings-tabs footer{display:flex;gap:12px;padding:24px;margin-top:auto}.cashier-settings-tabs footer button{border:1px solid #bac2ce;background:white;min-height:50px}.cashier-settings-tabs footer button:first-child{flex:1;color:#d33}.cashier-settings-tabs footer svg{width:24px;height:24px}.reference-attendance-actions{display:flex;justify-content:space-between;gap:24px}.reference-attendance-actions>div:last-child{display:grid;gap:16px;min-width:180px}.reference-attendance-actions button{min-height:64px}.reference-touch-keyboard{margin-top:24px}.reference-touch-keyboard summary{cursor:pointer;padding:16px}.reference-touch-keyboard>div{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}.reference-touch-keyboard button{min-height:60px;background:white;border:0;border-radius:6px;color:#263048}.reference-priority-memo{background:#fff6d8;padding:16px;color:#513e10}.reference-priority-memo p{margin:6px 0 0}
.attendance-pin-form{display:grid;gap:16px}.attendance-pin-form label{display:grid;gap:8px}.attendance-pin-form input{min-height:58px;text-align:center;font-size:28px;font-weight:850;letter-spacing:.5em;text-indent:.5em}.attendance-pin-form .reference-keypad{grid-template-columns:repeat(6,minmax(0,1fr))}.attendance-pin-form .reference-keypad button{min-height:52px}.attendance-pin-form>p{margin:0;color:#687789;font-size:11px;line-height:1.5}
.attendance-capture{position:relative;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.75fr);grid-template-rows:auto 1fr;gap:16px 18px;align-items:start}.attendance-capture-close{position:absolute;z-index:2;top:-70px;right:-4px;width:42px;height:42px;border:0;background:transparent;color:#173b57;font-size:31px;line-height:1;cursor:pointer}.attendance-camera-stage{position:relative;display:grid;grid-column:1;grid-row:1/span 2;place-items:center;overflow:hidden;height:min(54vh,430px);min-height:300px;border:1px solid #c5e2f2;border-radius:14px;background:#0c2537}.attendance-camera-stage video,.attendance-camera-stage img{display:block;width:100%;height:100%;object-fit:cover}.attendance-camera-stage [hidden]{display:none}.attendance-camera-status{display:grid;place-items:center;gap:12px;padding:40px;color:#eaf7ff;text-align:center}.attendance-camera-status .loader{width:34px;height:34px}.attendance-camera-status small{max-width:420px;color:#b9dff4;line-height:1.5}.attendance-camera-tools{display:flex;grid-column:2;align-items:stretch;flex-direction:column;gap:10px}.attendance-camera-tools .button{display:flex;justify-content:center;width:100%;min-width:0}.attendance-capture-notes{display:grid;grid-column:2;gap:7px;align-self:stretch}.attendance-capture-notes>span{font-weight:800}.attendance-capture-notes textarea{min-height:150px;resize:none}.attendance-capture-notes small{color:#687789;line-height:1.4}.attendance-evidence-actions{display:flex;flex-wrap:wrap;gap:6px}.attendance-evidence-actions button{border:1px solid #b9dff4;border-radius:999px;background:#eef8fe;color:#075b96;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.attendance-evidence-view{display:grid;gap:18px}.attendance-evidence-view img{display:block;width:100%;max-height:65vh;border-radius:14px;background:#0c2537;object-fit:contain}.attendance-evidence-view>div{padding:14px;border-radius:12px;background:#eef8fe}.attendance-evidence-view strong{display:block;margin-bottom:5px;color:#145787}.attendance-evidence-view p{margin:0;white-space:pre-wrap}.modal.wide:has(.attendance-capture){width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 28px)}.modal:has(.attendance-capture) .modal-body{overflow:visible}.modal:has(.attendance-capture) [data-attendance-capture-confirm]:disabled{background:#c9d6df;border-color:#c9d6df;color:#71828f;box-shadow:none;cursor:not-allowed}
.attendance-camera-stage>*{grid-area:1/1}
@media(min-height:900px){.modal.wide:has(.attendance-capture){width:min(800px,calc(100vw - 32px))}.attendance-capture{grid-template-columns:1fr;grid-template-rows:auto}.attendance-camera-stage{grid-column:1;grid-row:auto;height:min(46vh,500px);min-height:360px}.attendance-camera-tools{grid-column:1;flex-direction:row;justify-content:center}.attendance-camera-tools .button{width:auto;min-width:170px}.attendance-capture-notes{grid-column:1}.attendance-capture-notes textarea{min-height:78px;resize:vertical}}
@media(max-width:700px){.modal.wide:has(.attendance-capture){width:min(800px,calc(100vw - 20px))}.modal:has(.attendance-capture) .modal-body{overflow:auto}.attendance-capture{grid-template-columns:1fr;grid-template-rows:auto}.attendance-camera-stage{grid-column:1;grid-row:auto;height:min(40vh,320px);min-height:230px}.attendance-camera-tools{grid-column:1}.attendance-capture-notes{grid-column:1}.attendance-capture-notes textarea{min-height:78px}.attendance-capture-close{top:-64px}}
@media(max-width:1000px){.reference-ledger{grid-template-columns:360px 1fr}.reference-ledger>.cashier-filter-rail{grid-column:1/-1;flex-direction:row}.cashier-settings-page{grid-template-columns:200px 1fr;gap:16px!important}.reference-template{grid-template-columns:1fr}.reference-diagnostics{gap:20px}.reference-ticket-preview{min-height:420px}}@media(max-width:650px){.reference-availability,.reference-ledger,.reference-diagnostics,.cashier-settings-page{display:block!important}.cashier-settings-tabs{flex-direction:row;overflow:auto}.cashier-settings-tabs button{white-space:nowrap}.reference-card>header{flex-wrap:wrap}.reference-ledger form>div{padding:12px}}
/* Register settings: compact navigation and aligned, quiet controls. */
.cashier-settings-shell .cashier-settings-page{grid-template-columns:190px minmax(0,1fr);gap:0 24px!important;padding:24px 28px 48px!important;max-width:1180px!important;margin:0 auto!important}
.cashier-settings-shell .cashier-settings-title{margin-bottom:24px}
.cashier-settings-shell .cashier-settings-title h1{font-size:25px;line-height:1.25}
.cashier-settings-shell .cashier-settings-title p{color:#64748b;font-size:11px;line-height:1.5}
.cashier-settings-shell .cashier-settings-title .button{min-height:40px;padding:10px 18px;border-radius:8px;box-shadow:none;font-size:12px}
.cashier-settings-shell .cashier-settings-tabs{align-self:start;padding:8px;gap:4px!important;border:1px solid #e2e8f0!important;border-radius:12px;background:#fff}
.cashier-settings-shell .reference-settings-user{padding:12px 10px 18px;margin-bottom:6px;border-bottom:1px solid #eef2f6;gap:4px}
.cashier-settings-shell .reference-settings-user strong{font-size:13px;font-weight:650}
.cashier-settings-shell .reference-settings-user small{font-size:11px}
.cashier-settings-shell .cashier-settings-tabs>button{min-height:40px;padding:10px 12px!important;border-radius:7px!important;font-size:12px!important;font-weight:600;color:#526278;line-height:1.4;box-shadow:none}
.cashier-settings-shell .cashier-settings-tabs>button:hover{background:#f4f7fb}
.cashier-settings-shell .cashier-settings-tabs>button.active{background:#eaf2fc!important;color:#245fa8!important;box-shadow:none}
.cashier-settings-shell .cashier-settings-tabs footer{padding:14px 4px 4px;margin-top:14px;border-top:1px solid #eef2f6;gap:8px}
.cashier-settings-shell .cashier-settings-tabs footer button{min-height:36px;border-color:#e2e8f0;border-radius:6px;font-size:11px}
.cashier-settings-shell .cashier-settings-tabs footer svg{width:18px;height:18px}
.cashier-settings-shell .cashier-settings-card{border-color:#e2e8f0;border-radius:12px;box-shadow:none}
.cashier-settings-shell .cashier-settings-card>header{padding:20px 24px;background:#fff;border-bottom:1px solid #e9eef4}
.cashier-settings-shell .cashier-settings-card>header h2{font-size:18px;font-weight:650}
.cashier-settings-shell .cashier-settings-card>header p{font-size:8px;color:#64809c}
.cashier-settings-shell .cashier-settings-card>header span{font-size:11px;line-height:1.5;color:#64748b}
.cashier-settings-shell .reference-business{padding:20px 24px;margin:0;border-bottom:1px solid #e9eef4}
.cashier-settings-shell .reference-business h3{margin:0 0 10px;font-size:12px;line-height:1.5;font-weight:650}
.cashier-settings-shell .reference-business h3:not(:first-child){margin-top:22px}
.cashier-settings-shell .reference-business>div{gap:8px}
.cashier-settings-shell .reference-business button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #dce4ed;border-radius:7px;background:#fff;color:#536478;font-size:11px;font-weight:600;line-height:1.4;box-shadow:none}
.cashier-settings-shell .reference-business button.active{border-color:#a8c5ea;background:#edf4ff;color:#245fa8}
.cashier-settings-shell .reference-business button:before{content:'';width:13px;height:13px;flex:none;border:1px solid #bcc8d6;border-radius:3px;background:#fff}
.cashier-settings-shell .reference-business button[data-business-model]:before{border-radius:50%}
.cashier-settings-shell .reference-business button.active:before{background:#326eb9;border-color:#326eb9;box-shadow:inset 0 0 0 3px #fff}
.cashier-settings-shell .reference-business button:hover{border-color:#7fa7d5}
.cashier-settings-shell button:focus-visible,.cashier-settings-shell .cashier-mode input:focus-visible+span{outline:2px solid #326eb9;outline-offset:3px}
.cashier-settings-shell .cashier-auto-checkout{padding:20px 24px;gap:14px 20px;border-color:#e9eef4}
.cashier-settings-shell .cashier-setting-list{padding:0 24px}
.cashier-settings-shell .cashier-setting-row{min-height:72px;padding:16px 0;gap:20px;border-color:#edf1f5}
.cashier-settings-shell .cashier-setting-row strong,.cashier-settings-shell .cashier-auto-checkout strong{font-size:12px;font-weight:600}
.cashier-settings-shell .cashier-setting-row small,.cashier-settings-shell .cashier-auto-checkout>div:first-child small{font-size:11px;color:#758295;line-height:1.55;max-width:560px}
.cashier-settings-shell .cashier-mode span{min-height:36px;border-radius:6px;background:#fff;border-color:#dce4ed;color:#64748b;font-size:11px;font-weight:600;box-shadow:none}
.cashier-settings-shell .cashier-mode.active span{background:#edf4ff;border-color:#a8c5ea;color:#245fa8;box-shadow:none}
.cashier-settings-page:has(#cashier-template-panel) #save-cashier-settings{display:none}
.cashier-settings-page:has(#cashier-system-detection) #save-cashier-settings{display:none}
.cashier-settings-shell #cashier-system-detection{min-width:0;display:grid;gap:16px}
.cashier-settings-shell .cashier-display-manager{overflow:hidden;background:#fff}
.cashier-settings-shell .cashier-display-body{padding:22px 24px 26px;display:grid;gap:22px}
.cashier-settings-shell .cashier-display-status{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #d7e4ef;border-radius:12px;background:#f5f9fc}
.cashier-settings-shell .cashier-display-status.success{border-color:#bfe2cc;background:#f1faf4}.cashier-settings-shell .cashier-display-status.error{border-color:#efc5c5;background:#fff5f5}
.cashier-settings-shell .cashier-display-status-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:#dbeefa;color:#176aa5;font-size:18px;font-weight:800}
.cashier-settings-shell .cashier-display-status>span:nth-child(2){display:grid;gap:4px;min-width:0}.cashier-settings-shell .cashier-display-status strong{font-size:12px}.cashier-settings-shell .cashier-display-status small{color:#6c8193;font-size:10px;line-height:1.5}
.cashier-settings-shell .cashier-display-status button{margin-left:auto;flex:none;min-height:36px;padding:8px 12px;border-radius:7px;font-size:11px}
.cashier-settings-shell .cashier-screen-selection,.cashier-settings-shell .cashier-screen-purpose{display:grid;gap:12px}
.cashier-settings-shell .cashier-screen-selection>header,.cashier-settings-shell .cashier-screen-purpose>header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cashier-settings-shell .cashier-screen-selection>header>span,.cashier-settings-shell .cashier-screen-purpose>header>span{display:flex;align-items:center;gap:9px}.cashier-settings-shell .cashier-screen-selection>header b,.cashier-settings-shell .cashier-screen-purpose>header b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#155f96;color:#fff;font-size:10px}.cashier-settings-shell .cashier-screen-selection>header strong,.cashier-settings-shell .cashier-screen-purpose>header strong{font-size:12px}.cashier-settings-shell .cashier-screen-selection>header small,.cashier-settings-shell .cashier-screen-purpose>header small{color:#718699;font-size:10px;text-align:right}
.cashier-settings-shell .cashier-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cashier-settings-shell .cashier-screen-card{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:14px;min-height:102px;padding:13px;border:1px solid #dbe5ed;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}.cashier-settings-shell .cashier-screen-card:hover{border-color:#89b4d3}.cashier-settings-shell .cashier-screen-card.selected{border-color:#3d8cc3;background:#f1f8fd;box-shadow:0 0 0 2px #3d8cc322}.cashier-settings-shell .cashier-screen-card>input{position:absolute;opacity:0;pointer-events:none}
.cashier-settings-shell .cashier-screen-picture{display:grid;place-items:center;width:78px;aspect-ratio:16/10;border:4px solid #194f73;border-radius:7px;background:linear-gradient(145deg,#d8edf9,#f9fcfe);box-shadow:inset 0 0 0 1px #aacadd}.cashier-settings-shell .cashier-screen-picture i{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#176da7;color:#fff;font-size:11px;font-style:normal;font-weight:800}.cashier-settings-shell .cashier-screen-card>span:nth-of-type(2){display:grid;gap:4px;min-width:0}.cashier-settings-shell .cashier-screen-card strong{font-size:12px}.cashier-settings-shell .cashier-screen-card small{color:#708598;font-size:9px;line-height:1.5}.cashier-settings-shell .cashier-screen-card em{min-height:13px;color:#28784b;font-size:9px;font-style:normal;font-weight:700}.cashier-settings-shell .cashier-screen-card>b{position:absolute;right:10px;top:9px;padding:4px 6px;border-radius:5px;background:#e0f0fa;color:#176595;font-size:8px}
.cashier-settings-shell .cashier-screen-purpose>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cashier-settings-shell .cashier-screen-purpose label{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:108px;padding:15px;border:1px solid #dbe5ed;border-radius:12px;background:#fff;cursor:pointer}.cashier-settings-shell .cashier-screen-purpose label:hover{border-color:#89b4d3}.cashier-settings-shell .cashier-screen-purpose label.selected{border-color:#3d8cc3;background:#f1f8fd;box-shadow:0 0 0 2px #3d8cc322}.cashier-settings-shell .cashier-screen-purpose input{position:absolute;opacity:0}.cashier-settings-shell .cashier-purpose-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#dceef9;color:#17699f;font-size:20px}.cashier-settings-shell .cashier-screen-purpose label>span:nth-of-type(2){display:grid;gap:5px}.cashier-settings-shell .cashier-screen-purpose label strong{font-size:12px}.cashier-settings-shell .cashier-screen-purpose label small{color:#6d8395;font-size:10px;line-height:1.5}.cashier-settings-shell .cashier-screen-purpose label>b{position:absolute;right:12px;top:10px;color:#668095;font-size:8px;text-transform:uppercase;letter-spacing:.05em}
.cashier-settings-shell .cashier-display-privacy{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-left:3px solid #278456;border-radius:5px;background:#f1faf4;color:#4e6d5a}.cashier-settings-shell .cashier-display-privacy strong{flex:none;color:#286b45;font-size:11px}.cashier-settings-shell .cashier-display-privacy span{font-size:10px;line-height:1.55}
.cashier-settings-shell .cashier-display-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:18px;border-top:1px solid #e7eef3}.cashier-settings-shell .cashier-display-actions>span{color:#708598;font-size:10px}.cashier-settings-shell .cashier-display-actions>div{display:flex;gap:9px}.cashier-settings-shell .cashier-display-actions button{min-height:38px;padding:8px 13px;border-radius:7px;font-size:11px}
.cashier-settings-shell .cashier-device-diagnostics{overflow:hidden}.cashier-settings-shell .cashier-device-diagnostics>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;cursor:pointer;list-style:none}.cashier-settings-shell .cashier-device-diagnostics>summary::-webkit-details-marker{display:none}.cashier-settings-shell .cashier-device-diagnostics>summary>span{display:grid;gap:4px}.cashier-settings-shell .cashier-device-diagnostics>summary strong{font-size:12px}.cashier-settings-shell .cashier-device-diagnostics>summary small{color:#73889a;font-size:10px}.cashier-settings-shell .cashier-device-diagnostics>summary>b{color:#246a9d;font-size:10px}.cashier-settings-shell .cashier-diagnostics-toolbar{padding:12px 22px 0;border-top:1px solid #e7eef3}.cashier-settings-shell .cashier-diagnostics-toolbar button{min-height:34px;padding:7px 11px;font-size:10px}.cashier-settings-shell .cashier-device-diagnostics .reference-diagnostics{padding:8px 22px 24px}
.cashier-settings-shell #cashier-template-panel{overflow:visible;background:#f8fbff}
.cashier-settings-shell #cashier-template-panel>.reference-tabs{gap:6px;padding:10px 12px;border-bottom:1px solid #e2e8f0;background:#fff}
.cashier-settings-shell #cashier-template-panel>.reference-tabs button{min-width:112px;min-height:38px;padding:8px 18px;border:0;border-radius:8px;background:#f2f6fa;color:#526278;font-size:12px;font-weight:700}
.cashier-settings-shell #cashier-template-panel>.reference-tabs button.active{border:0;background:#145787;color:#fff;box-shadow:0 5px 14px rgba(20,87,135,.16)}
.cashier-settings-shell .reference-template{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:0;padding:0;background:#f8fbff}
.cashier-settings-shell .reference-template-editor{min-width:0;padding:22px 24px 32px;border-right:1px solid #e2e8f0;background:#fff}
.cashier-settings-shell .reference-template-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #e9eef4}
.cashier-settings-shell .reference-template-toolbar>div:first-child{display:grid;gap:3px}
.cashier-settings-shell .reference-template-toolbar small{color:#64809c;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.cashier-settings-shell .reference-template-toolbar h2{margin:0;color:#173b57;font-size:20px;line-height:1.25}
.cashier-settings-shell .reference-template-toolbar>div:last-child{display:flex;align-items:center;gap:10px}
.cashier-settings-shell .reference-template-toolbar #template-save-status{margin:0;color:#2d7a43;font-size:11px;font-weight:700}
.cashier-settings-shell .reference-template-toolbar #save-cashier-template{min-height:38px;margin:0;padding:9px 15px;border-radius:8px;box-shadow:none;font-size:11px}
.cashier-settings-shell .reference-template-group{margin-top:18px}
.cashier-settings-shell .reference-template-group:first-of-type{margin-top:0}
.cashier-settings-shell .reference-template-group h3{margin:0 0 9px;color:#334155;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.cashier-settings-shell .reference-template-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cashier-settings-shell .reference-template-options button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #dce4ed;border-radius:9px;background:#fff;color:#526278;box-shadow:none;font-size:11px;font-weight:650;line-height:1.3;text-align:left}
.cashier-settings-shell .reference-template-options button>span{display:grid;place-items:center;width:17px;height:17px;flex:none;border:1px solid #b9c6d5;border-radius:5px;background:#fff;color:#fff;font-size:11px}
.cashier-settings-shell .reference-template-options button:hover{border-color:#7fa7d5;background:#f8fbff}
.cashier-settings-shell .reference-template-options button.active{border-color:#a8c5ea;background:#edf4ff;color:#245fa8}
.cashier-settings-shell .reference-template-options button.active>span{border-color:#326eb9;background:#326eb9}
.cashier-settings-shell .reference-preview-pane{position:sticky;top:88px;align-self:start;min-width:0;padding:22px;background:#f2f7fb}
.cashier-settings-shell .reference-preview-pane>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px;color:#334155}
.cashier-settings-shell .reference-preview-pane>header strong{font-size:12px}
.cashier-settings-shell .reference-preview-pane>header small{color:#758295;font-size:9px}
.cashier-settings-shell .reference-ticket-preview{width:min(100%,360px);min-height:500px;margin:0 auto;padding:28px 26px;border:1px solid #dce4ed;border-radius:4px;background:#fff;color:#111;box-shadow:0 16px 38px rgba(23,59,87,.12);font-family:Arial,"Microsoft YaHei",sans-serif;font-size:12px;line-height:1.45}
.cashier-settings-shell .reference-ticket-preview.large{font-size:15px}
.cashier-settings-shell .reference-ticket-preview h2{margin:15px 0 10px;font-size:17px;line-height:1.3;text-align:center}
.cashier-settings-shell .reference-ticket-preview p{min-height:18px;margin:8px 0;overflow:visible}
.cashier-settings-shell .reference-ticket-preview hr{margin:13px 0;border-top:1px dashed #64748b}
.cashier-settings-shell .reference-preview-logo{display:grid;place-items:center;padding:2px 0 12px}
.cashier-settings-shell .reference-preview-logo img{width:96px;height:52px;object-fit:contain;filter:grayscale(1) contrast(1.15)}
@media(max-width:800px){.cashier-settings-shell .cashier-settings-page{grid-template-columns:160px minmax(0,1fr);padding:20px!important;gap:0 16px!important}.cashier-settings-shell .cashier-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.cashier-settings-shell .reference-template{grid-template-columns:1fr}.cashier-settings-shell .reference-template-editor{border-right:0;border-bottom:1px solid #e2e8f0}.cashier-settings-shell .reference-preview-pane{position:static}.cashier-settings-shell .reference-ticket-preview{min-height:420px}}
@media(max-width:650px){.cashier-settings-shell .cashier-settings-page{display:block!important;padding:16px!important}.cashier-settings-shell .cashier-settings-title{gap:12px;margin-bottom:16px}.cashier-settings-shell .cashier-settings-tabs{position:static;display:flex!important;flex-direction:row!important;overflow-x:auto;gap:4px!important;margin-bottom:16px;padding:6px}.cashier-settings-shell .cashier-settings-tabs>button{white-space:nowrap;min-height:38px}.cashier-settings-shell .reference-settings-user,.cashier-settings-shell .cashier-settings-tabs footer{display:none}.cashier-settings-shell .cashier-settings-card>header,.cashier-settings-shell .reference-business,.cashier-settings-shell .cashier-auto-checkout{padding:18px}.cashier-settings-shell .cashier-setting-list{padding:0 18px}.cashier-settings-shell .reference-template-editor,.cashier-settings-shell .reference-preview-pane{padding:16px}.cashier-settings-shell .reference-template-toolbar{align-items:flex-start}.cashier-settings-shell .reference-template-options{grid-template-columns:1fr}.cashier-settings-shell .reference-ticket-preview{padding:22px 18px}}
@media(max-width:850px){.cashier-settings-shell .cashier-screen-grid,.cashier-settings-shell .cashier-screen-purpose>div{grid-template-columns:1fr}.cashier-settings-shell .cashier-display-actions{align-items:flex-start;flex-direction:column}.cashier-settings-shell .cashier-display-actions>div{width:100%}.cashier-settings-shell .cashier-display-actions button{flex:1}}
@media(max-width:650px){.cashier-settings-shell .cashier-display-body{padding:16px}.cashier-settings-shell .cashier-display-status{align-items:flex-start;flex-wrap:wrap}.cashier-settings-shell .cashier-display-status button{width:100%;margin-left:0}.cashier-settings-shell .cashier-screen-selection>header,.cashier-settings-shell .cashier-screen-purpose>header{align-items:flex-start;flex-direction:column;gap:7px}.cashier-settings-shell .cashier-screen-selection>header small,.cashier-settings-shell .cashier-screen-purpose>header small{text-align:left}.cashier-settings-shell .cashier-display-actions>div{flex-direction:column}.cashier-settings-shell .cashier-display-privacy{display:grid}}

/* One-stop POS hardware diagnostics. */
.cashier-settings-shell #cashier-system-detection{display:grid;gap:18px;min-width:0}
.cashier-settings-shell .hardware-diagnostics-center,.cashier-settings-shell .hardware-diagnostic-log{overflow:hidden;background:#fff}
.cashier-settings-shell .hardware-diagnostics-body{display:grid;gap:20px;padding:22px 24px 26px}
.cashier-settings-shell .hardware-diagnostics-toolbar{display:flex;flex-wrap:wrap;gap:8px}
.cashier-settings-shell .hardware-diagnostics-toolbar .button{min-height:36px;padding:8px 12px;border-radius:7px;font-size:10px;box-shadow:none}
.cashier-settings-shell .hardware-diagnostics-toolbar .danger{margin-left:auto;border-color:#efcaca;color:#b42318;background:#fff8f7}
.cashier-settings-shell .hardware-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cashier-settings-shell .hardware-summary article{display:grid;gap:5px;min-width:0;padding:15px;border:1px solid #dce5ee;border-radius:11px;background:#f8fbfd}
.cashier-settings-shell .hardware-summary article.pass{border-color:#b9dec8;background:#f2fbf5}.cashier-settings-shell .hardware-summary article.fail{border-color:#efc4c4;background:#fff5f5}.cashier-settings-shell .hardware-summary article.info{border-color:#bed7ed;background:#f2f8fd}
.cashier-settings-shell .hardware-summary span{color:#718196;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.cashier-settings-shell .hardware-summary strong{overflow:hidden;color:#26384b;font-size:15px;text-overflow:ellipsis}.cashier-settings-shell .hardware-summary small{color:#75879a;font-size:9px;line-height:1.45}
.cashier-settings-shell .hardware-permissions,.cashier-settings-shell .hardware-inventory,.cashier-settings-shell .hardware-saved-devices{display:grid;gap:11px;padding-top:2px}
.cashier-settings-shell :is(.hardware-permissions,.hardware-saved-devices)>header,.cashier-settings-shell .hardware-inventory>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.cashier-settings-shell :is(.hardware-permissions,.hardware-saved-devices)>header,.cashier-settings-shell .hardware-inventory>header>span{display:grid;gap:4px}
.cashier-settings-shell :is(.hardware-permissions,.hardware-inventory,.hardware-saved-devices)>header strong{font-size:12px}.cashier-settings-shell :is(.hardware-permissions,.hardware-inventory,.hardware-saved-devices)>header small{max-width:700px;color:#76879a;font-size:9px;line-height:1.45}
.cashier-settings-shell .hardware-inventory>header>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.cashier-settings-shell #cashier-hardware-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cashier-settings-shell #cashier-hardware-permissions article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;padding:12px;border:1px solid #dce5ee;border-radius:9px}.cashier-settings-shell #cashier-hardware-permissions article.fail{border-color:#efc5c5;background:#fff7f7}.cashier-settings-shell #cashier-hardware-permissions article.pass{border-color:#c9e5d3;background:#f7fcf8}
.cashier-settings-shell #cashier-hardware-permissions article>span{display:grid;gap:3px}.cashier-settings-shell #cashier-hardware-permissions strong{font-size:10px}.cashier-settings-shell #cashier-hardware-permissions small{overflow-wrap:anywhere;color:#75879a;font-size:8px;line-height:1.4}.cashier-settings-shell #cashier-hardware-permissions b{color:#536b7d;font-size:8px}.cashier-settings-shell #cashier-hardware-permissions button{grid-column:2;min-width:62px}
.cashier-settings-shell #cashier-hardware-discovered{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cashier-settings-shell #cashier-hardware-discovered>p{grid-column:1/-1;margin:0;padding:16px;border:1px dashed #cdd9e4;border-radius:9px;color:#738496;font-size:9px}
.cashier-settings-shell #cashier-hardware-discovered article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid #dce5ee;border-radius:9px}.cashier-settings-shell #cashier-hardware-discovered article>span:nth-child(2){display:grid;gap:3px;min-width:0}.cashier-settings-shell #cashier-hardware-discovered strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cashier-settings-shell #cashier-hardware-discovered small{overflow:hidden;color:#77899a;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.cashier-settings-shell #cashier-hardware-discovered b{color:#26734d;font-size:8px}
.cashier-settings-shell .hardware-device-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#e6f1fa;color:#246a9d;font-size:8px;font-weight:900}
.cashier-settings-shell .hardware-saved-devices>div{display:grid;gap:9px}.cashier-settings-shell .hardware-device-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid #dce5ee;border-radius:10px;background:#fbfdff}.cashier-settings-shell .hardware-device-card>span:nth-child(2){display:grid;gap:3px;min-width:0}.cashier-settings-shell .hardware-device-card strong{font-size:11px}.cashier-settings-shell .hardware-device-card small{overflow:hidden;color:#718396;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.cashier-settings-shell .hardware-device-card em{color:#60798e;font-size:8px;font-style:normal}.cashier-settings-shell .hardware-device-card b{width:max-content;border-radius:999px;background:#edf2f6;padding:4px 7px;color:#66778a;font-size:7px}.cashier-settings-shell .hardware-device-card b.success{background:#e7f7ed;color:#26734d}.cashier-settings-shell .hardware-device-card b.error{background:#fde9e8;color:#a52b24}.cashier-settings-shell .hardware-device-card b.checking{background:#fff3d9;color:#8a5a12}.cashier-settings-shell .hardware-device-card>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.cashier-settings-shell .hardware-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cashier-settings-shell .hardware-test-grid>section{display:grid;align-content:start;gap:12px;padding:15px;border:1px solid #dce5ee;border-radius:11px;background:#f8fbfd}.cashier-settings-shell .hardware-test-grid header{display:grid;gap:4px}.cashier-settings-shell .hardware-test-grid strong{font-size:11px}.cashier-settings-shell .hardware-test-grid small{color:#718396;font-size:8px;line-height:1.45}.cashier-settings-shell .hardware-test-grid label{display:grid;gap:5px;color:#52677b;font-size:8px;font-weight:800}.cashier-settings-shell .hardware-test-grid select,.cashier-settings-shell .hardware-test-grid input{min-width:0;width:100%;min-height:38px}.cashier-settings-shell .hardware-test-grid section>div{display:flex;gap:7px}.cashier-settings-shell .hardware-test-grid .button{flex:1;min-height:36px;padding:8px;font-size:9px}.cashier-settings-shell #hardware-scanner-status{color:#327150;font-size:9px}
.cashier-settings-shell .hardware-diagnostic-log>#cashier-hardware-log{display:grid;gap:9px;max-height:560px;overflow:auto;padding:18px 22px}.cashier-settings-shell .hardware-log-entry{display:grid;gap:7px;padding:13px;border-left:4px solid #8aa5ba;border-radius:8px;background:#f6f9fb}.cashier-settings-shell .hardware-log-entry.success{border-color:#36a269;background:#f4fbf6}.cashier-settings-shell .hardware-log-entry.error{border-color:#d74b45;background:#fff7f6}.cashier-settings-shell .hardware-log-entry.warning{border-color:#d99b26;background:#fffaf0}.cashier-settings-shell .hardware-log-entry.info{border-color:#3f82bd;background:#f4f9fd}.cashier-settings-shell .hardware-log-entry header{display:flex;align-items:start;justify-content:space-between;gap:12px}.cashier-settings-shell .hardware-log-entry header>span{display:grid;gap:2px}.cashier-settings-shell .hardware-log-entry b{font-size:10px}.cashier-settings-shell .hardware-log-entry time{color:#77889a;font-size:8px}.cashier-settings-shell .hardware-log-entry code{border-radius:5px;background:#fff;padding:3px 6px;color:#40566b;font-size:8px}.cashier-settings-shell .hardware-log-entry p{margin:0;color:#34495e;font-size:9px;line-height:1.5}.cashier-settings-shell .hardware-log-entry>strong{color:#314d61;font-size:8px;line-height:1.5}.cashier-settings-shell .hardware-log-entry>small{color:#73869a;font-size:8px}.cashier-settings-shell .hardware-log-entry details{font-size:8px}.cashier-settings-shell .hardware-log-entry summary{cursor:pointer;color:#246a9d;font-weight:800}.cashier-settings-shell .hardware-log-entry pre{max-height:220px;margin:7px 0 0;overflow:auto;border-radius:6px;background:#173b57;padding:10px;color:#eaf5fb;font:8px/1.5 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.cashier-settings-shell .hardware-log-empty{display:grid;place-items:center;gap:5px;min-height:105px;padding:18px;border:1px dashed #cdd9e4;border-radius:9px;text-align:center}.cashier-settings-shell .hardware-log-empty strong{font-size:11px}.cashier-settings-shell .hardware-log-empty span{color:#718396;font-size:8px}
.cashier-settings-shell .hardware-auto-status{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #bed7ed;border-radius:9px;background:#f3f8fc}.cashier-settings-shell .hardware-auto-status>i{width:9px;height:9px;flex:0 0 auto;border:2px solid #3f82bd;border-top-color:transparent;border-radius:50%;animation:hardware-auto-spin .9s linear infinite}.cashier-settings-shell .hardware-auto-status>span{display:grid;gap:2px}.cashier-settings-shell .hardware-auto-status strong{font-size:10px}.cashier-settings-shell .hardware-auto-status small{color:#687e92;font-size:8px;line-height:1.45}.cashier-settings-shell .hardware-auto-status.success{border-color:#b9dec8;background:#f2fbf5}.cashier-settings-shell .hardware-auto-status.success>i{border-color:#36a269;animation:none}.cashier-settings-shell .hardware-auto-status.warning{border-color:#ead39e;background:#fffaf0}.cashier-settings-shell .hardware-auto-status.warning>i{border-color:#d99b26;animation:none}@keyframes hardware-auto-spin{to{transform:rotate(360deg)}}
.cashier-settings-shell #cashier-hardware-discovered article>span:nth-child(2) em{color:#4e7896;font-size:8px;font-style:normal}.cashier-settings-shell .hardware-discovered-actions{display:grid;justify-items:end;gap:6px}.cashier-settings-shell .hardware-discovered-actions b{width:max-content}.cashier-settings-shell .hardware-manual-connect{display:grid;gap:13px;padding:16px;border:1px solid #cbdce9;border-radius:11px;background:#f8fbfd}.cashier-settings-shell .hardware-manual-connect>header>span{display:grid;gap:4px}.cashier-settings-shell .hardware-manual-connect>header strong{font-size:12px}.cashier-settings-shell .hardware-manual-connect>header small{max-width:760px;color:#6e8295;font-size:9px;line-height:1.5}.cashier-settings-shell .hardware-manual-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cashier-settings-shell .hardware-manual-form label{display:grid;align-content:start;gap:5px;color:#52677b;font-size:9px;font-weight:800}.cashier-settings-shell .hardware-manual-form label[hidden],.cashier-settings-shell .hardware-manual-form [hidden]{display:none!important}.cashier-settings-shell .hardware-manual-form .full{grid-column:1/-1}.cashier-settings-shell .hardware-manual-form input,.cashier-settings-shell .hardware-manual-form select{min-width:0;width:100%;min-height:38px}.cashier-settings-shell .hardware-manual-form label small{color:#7b8b9a;font-size:8px;font-weight:500;line-height:1.4}.cashier-settings-shell .hardware-manual-actions{display:flex;justify-content:flex-end;gap:7px}.cashier-settings-shell .hardware-manual-actions .button{min-height:36px;padding:8px 12px;font-size:9px}.cashier-settings-shell .hardware-manual-status{display:block;min-height:34px;border-radius:7px;background:#edf4f9;padding:9px 11px;color:#536b7d;font-size:9px;line-height:1.5}.cashier-settings-shell .hardware-manual-status[data-tone="success"]{background:#e8f7ed;color:#26734d}.cashier-settings-shell .hardware-manual-status[data-tone="error"]{background:#fdebea;color:#a52b24}.cashier-settings-shell .hardware-manual-status[data-tone="warning"]{background:#fff3d9;color:#8a5a12}.cashier-settings-shell .hardware-manual-saved{display:grid;gap:7px;padding-top:3px}.cashier-settings-shell .hardware-manual-saved>header{display:flex;justify-content:space-between;gap:10px}.cashier-settings-shell .hardware-manual-saved>header strong{font-size:10px}.cashier-settings-shell .hardware-manual-saved>header small,.cashier-settings-shell .hardware-manual-saved>p{margin:0;color:#75879a;font-size:8px}.cashier-settings-shell .hardware-manual-saved article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #dce5ee;border-radius:9px;background:#fff}.cashier-settings-shell .hardware-manual-saved article>span:nth-child(2){display:grid;gap:3px;min-width:0}.cashier-settings-shell .hardware-manual-saved article strong{font-size:10px}.cashier-settings-shell .hardware-manual-saved article small{overflow:hidden;color:#77899a;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.cashier-settings-shell .hardware-manual-saved article>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.cashier-settings-shell #cashier-hardware-discovered article[data-discovery-state="new"]{border-color:#edc66f;background:#fffaf0}.cashier-settings-shell #cashier-hardware-discovered article[data-discovery-state="saved"]{border-color:#a9d8bb;background:#f4fbf6}.cashier-settings-shell .hardware-discovered-actions b.new{border-radius:999px;background:#fff0c9;padding:4px 7px;color:#8a5a12}.cashier-settings-shell .hardware-discovered-actions b.saved{border-radius:999px;background:#dff3e6;padding:4px 7px;color:#26734d}
@media(prefers-reduced-motion:reduce){.cashier-settings-shell .hardware-auto-status>i{animation:none}}
@media(max-width:900px){.cashier-settings-shell .hardware-summary,.cashier-settings-shell .hardware-test-grid{grid-template-columns:1fr}.cashier-settings-shell #cashier-hardware-permissions,.cashier-settings-shell #cashier-hardware-discovered{grid-template-columns:1fr}}
@media(max-width:650px){.cashier-settings-shell .hardware-diagnostics-body{padding:16px}.cashier-settings-shell .hardware-diagnostics-toolbar .danger{margin-left:0}.cashier-settings-shell :is(.hardware-permissions,.hardware-saved-devices)>header,.cashier-settings-shell .hardware-inventory>header{align-items:flex-start;flex-direction:column}.cashier-settings-shell .hardware-inventory>header>div{justify-content:flex-start}.cashier-settings-shell .hardware-device-card{grid-template-columns:38px minmax(0,1fr)}.cashier-settings-shell .hardware-device-card>div{grid-column:1/-1;justify-content:stretch}.cashier-settings-shell .hardware-device-card>div button{flex:1}.cashier-settings-shell .hardware-manual-form{grid-template-columns:1fr}.cashier-settings-shell .hardware-manual-form .full{grid-column:auto}.cashier-settings-shell .hardware-manual-actions{display:grid;grid-template-columns:1fr}.cashier-settings-shell .hardware-manual-saved article{grid-template-columns:36px minmax(0,1fr)}.cashier-settings-shell .hardware-manual-saved article>div{grid-column:1/-1;justify-content:stretch}.cashier-settings-shell .hardware-manual-saved article>div button{flex:1}.cashier-settings-shell #cashier-hardware-discovered article{grid-template-columns:36px minmax(0,1fr)}.cashier-settings-shell .hardware-discovered-actions{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;justify-items:start;width:100%}.cashier-settings-shell .hardware-diagnostic-log>#cashier-hardware-log{padding:14px}}

/* Per-item sold-out control: reference workflow, Taro POS visual language. */
.cashier-availability-workspace{grid-template-columns:minmax(260px,31%) minmax(0,1fr);height:calc(100dvh - 160px);min-height:580px;background:#edf7fc;color:var(--ink);overflow:hidden}
.cashier-availability-workspace>aside{min-width:0;border-right:1px solid #cfe3f0;background:#fff}
.cashier-availability-workspace>aside>header{display:grid;gap:4px;padding:20px 22px 14px}
.cashier-availability-workspace>aside>header .eyebrow{margin:0;color:#36759f;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.cashier-availability-workspace>aside>header h2{margin:0;color:var(--ink);font-size:21px}
.cashier-availability-workspace>aside>header span{color:#688096;font-size:10px;line-height:1.45}
.cashier-availability-workspace .reference-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 20px 16px;border-bottom:1px solid #e3edf4}
.cashier-availability-workspace .reference-tabs button{min-height:52px;border:1px solid #c8dcea;border-radius:9px;background:#fff;color:#435c71;font-weight:800}
.cashier-availability-workspace .reference-tabs button.active{border-color:#1976b9;background:#eaf5fc;color:#075f9d;box-shadow:inset 0 0 0 1px #1976b9}
.cashier-availability-workspace .reference-unavailable{min-height:0;padding:15px 20px;overflow:auto}
.cashier-availability-workspace .reference-unavailable>h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;color:#536a7e;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.cashier-availability-workspace .reference-unavailable>h3 span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#e6f2fa;color:#12679f;font-size:10px}
.cashier-sold-out-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:10px!important;width:100%;min-height:58px!important;margin-bottom:7px;padding:8px!important;border:1px solid #dce8f0!important;border-radius:9px!important;background:#fff!important;color:var(--ink)!important;text-align:left!important}
.cashier-sold-out-row:hover{border-color:#91bfdc!important;background:#f7fbfe!important}.cashier-sold-out-row>span:nth-child(2){display:grid;align-content:center;gap:3px;min-width:0}.cashier-sold-out-row strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.cashier-sold-out-row small{color:#b43e3e!important;font-size:8px}.cashier-sold-out-row>b{color:#78a1bc;font-size:24px;font-weight:400}
.cashier-availability-thumb{display:grid!important;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:7px;background:#e7f3fa;color:#176b9f;font-size:10px;font-weight:900}.cashier-availability-thumb img{width:100%;height:100%;object-fit:cover}
.cashier-availability-empty{margin:18px 0;padding:18px;border:1px dashed #cbdde9;border-radius:9px;color:#70869a;font-size:10px;text-align:center}
.cashier-availability-workspace>aside>footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 20px;border-top:1px solid #e1ebf2}.cashier-availability-workspace>aside>footer button{min-height:42px;border:1px solid #aac9dd;border-radius:8px;background:#fff;color:#145787;font-size:10px;font-weight:800}.cashier-availability-workspace>aside>footer button:first-child{border-color:#145787;background:#145787;color:#fff}
.cashier-availability-workspace>section{min-width:0;padding:20px 24px;background:#edf7fc;color:var(--ink);overflow:auto}
.cashier-availability-search{position:sticky;z-index:2;top:-20px;margin:-20px -24px 18px;padding:20px 24px 14px;border-bottom:1px solid #cee2ee;background:rgba(237,247,252,.96);backdrop-filter:blur(8px)}
.cashier-availability-search label{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;min-height:50px;border:1px solid #bed5e4;border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(20,87,135,.06)}
.cashier-availability-search label>span{color:#4d7897;font-size:24px;text-align:center}.cashier-availability-workspace .cashier-availability-search input{min-height:48px;border:0;background:transparent;box-shadow:none;color:var(--ink);font-size:13px}.cashier-availability-workspace .cashier-availability-search input:focus{outline:0}
.cashier-availability-search p{margin:8px 2px 0!important;color:#657f93!important;font-size:9px}
.cashier-availability-workspace .reference-available{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));align-content:start;gap:12px}
.cashier-availability-workspace .cashier-availability-card{display:grid!important;grid-template-rows:112px minmax(88px,auto)!important;min-width:0;overflow:hidden;padding:0!important;border:1px solid #cddfea!important;border-radius:11px!important;background:#fff!important;color:var(--ink)!important;text-align:left!important;box-shadow:0 5px 15px rgba(29,75,105,.06);transition:.15s ease}
.cashier-availability-workspace .cashier-availability-card:hover{transform:translateY(-2px);border-color:#4d98c8!important;box-shadow:0 9px 20px rgba(29,75,105,.12)}
.cashier-availability-visual{position:relative;display:grid!important;place-items:center;overflow:hidden;background:linear-gradient(145deg,#e2f1f9,#f5fbfe);color:#176b9f;font-size:24px;font-weight:900}.cashier-availability-visual img{width:100%;height:100%;object-fit:cover}.cashier-availability-visual em{position:absolute;inset:auto 7px 7px;display:block;border-radius:5px;background:#b23939;padding:5px 7px;color:#fff;font-size:8px;font-style:normal;font-weight:900;text-align:center;text-transform:uppercase;letter-spacing:.04em}
.cashier-availability-copy{display:grid!important;align-content:start;gap:5px;min-width:0;padding:12px 13px}.cashier-availability-copy small{overflow:hidden;color:#66849a!important;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.cashier-availability-copy strong{display:-webkit-box;min-height:30px;overflow:hidden;color:var(--ink);font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cashier-availability-copy>span{margin-top:2px;color:#0969b5;font-size:12px;font-weight:900}
.cashier-availability-card.sold-out{border-color:#e1c2c2!important;background:#fffafa!important}.cashier-availability-card.sold-out .cashier-availability-visual img{filter:grayscale(.75);opacity:.6}.cashier-availability-card.sold-out .cashier-availability-copy>span{color:#8a5d5d}
.cashier-availability-no-results{grid-column:1/-1;margin:40px auto;color:#6b8294;font-size:12px;text-align:center}
.cashier-availability-editor{display:grid;gap:18px;min-width:min(520px,75vw)}
.cashier-availability-product{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid #dfe9f0}.cashier-availability-product>div:last-child{display:grid;gap:5px;min-width:0}.cashier-availability-product h3{margin:0;color:var(--ink);font-size:20px}.cashier-availability-product p,.cashier-availability-product small{margin:0;color:#708498;font-size:10px}.cashier-availability-product strong{margin-top:4px;color:#0969b5;font-size:18px}
.cashier-availability-image{display:grid;place-items:center;width:92px;height:84px;overflow:hidden;border-radius:10px;background:#e5f2fa;color:#176b9f;font-size:22px;font-weight:900}.cashier-availability-image img{width:100%;height:100%;object-fit:cover}
.modal .cashier-availability-toggle{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;align-items:center!important;gap:20px;min-height:78px;padding:15px 17px;border:1px solid #cbdfea;border-radius:10px;background:#f4faff}.cashier-availability-toggle>span:first-child{display:grid;gap:5px}.cashier-availability-toggle strong{font-size:14px}.cashier-availability-toggle small{max-width:390px;color:#667f92;font-size:9px;line-height:1.45}
.modal .cashier-toggle{position:relative!important;display:block!important;width:54px!important;min-width:54px!important;max-width:54px!important;height:30px!important;min-height:30px!important;margin:0!important}.cashier-toggle input{position:absolute;opacity:0;pointer-events:none}.cashier-toggle i{position:absolute;inset:0;border-radius:999px;background:#b8c4cd;transition:.18s}.cashier-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:.18s}.cashier-toggle input:checked+i{background:#0969b5}.cashier-toggle input:checked+i:after{transform:translateX(24px)}.cashier-toggle input:focus-visible+i{outline:3px solid #80b9dd;outline-offset:2px}.cashier-toggle input:disabled+i{cursor:not-allowed;opacity:.55}.cashier-availability-toggle:has(input:not(:disabled)){cursor:pointer}
.cashier-availability-warning{margin:0;border-left:3px solid #d59d38;border-radius:4px;background:#fff8e8;padding:10px 12px;color:#7c581a;font-size:9px;line-height:1.5}
@media(max-width:900px){.cashier-availability-workspace{grid-template-columns:230px minmax(0,1fr)}.cashier-availability-workspace .reference-available{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}
@media(max-width:650px){.cashier-availability-workspace{display:block;height:auto;min-height:calc(100dvh - 134px);overflow:visible}.cashier-availability-workspace>aside{border-right:0;border-bottom:1px solid #cfe3f0}.cashier-availability-workspace .reference-unavailable{max-height:220px}.cashier-availability-workspace>section{overflow:visible}.cashier-availability-search{top:0}.cashier-availability-editor{min-width:0}.cashier-availability-product{grid-template-columns:72px minmax(0,1fr)}.cashier-availability-image{width:72px;height:68px}}
.cashier-catalog-scan-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex:1}.cashier-catalog-toolbar .cashier-catalog-scan-tools .control-search{width:min(250px,100%)}.pos-camera-scan,.pos-custom-item-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #b9dff4;border-radius:20px;background:#eef8fe;color:#075b96;font:700 12px/1 inherit;white-space:nowrap;cursor:pointer}.pos-custom-item-button{border-color:#ffcf9d;background:#fff4e7;color:#8b4a08}.pos-camera-scan .control-icon,.pos-custom-item-button .control-icon{width:18px;height:18px}.pos-camera-scan:disabled{opacity:.55;cursor:wait}
.barcode-scanner-settings{display:grid;gap:18px}.barcode-scanner-settings>header{margin-bottom:0}.barcode-scanner-master,.barcode-scanner-camera{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #d5e9f5;border-radius:14px;background:#f7fcff}.barcode-scanner-master>span,.barcode-scanner-camera>span{display:grid;gap:4px}.barcode-scanner-master small,.barcode-scanner-camera small,.barcode-scanner-device small,.barcode-scanner-test small{color:#637b8c;line-height:1.45}.barcode-scanner-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;border:0}.barcode-scanner-modes>legend{grid-column:1/-1;margin-bottom:2px;color:#173b57;font-size:13px;font-weight:800}.barcode-scanner-modes>label{position:relative;min-width:0;cursor:pointer}.barcode-scanner-modes input{position:absolute;opacity:0;pointer-events:none}.barcode-scanner-modes label>span{display:grid;grid-template-columns:26px 1fr;gap:4px 9px;min-height:108px;padding:15px;border:1px solid #cce3f0;border-radius:14px;background:#fff;color:#173b57}.barcode-scanner-modes label>span .control-icon{grid-row:1/3;width:24px;height:24px;color:#0873ba}.barcode-scanner-modes label>span strong{font-size:13px}.barcode-scanner-modes label>span small{color:#687f90;font-size:11px;line-height:1.45}.barcode-scanner-modes label.active>span,.barcode-scanner-modes input:focus-visible+span{border-color:#0873ba;box-shadow:0 0 0 3px #0c81cc1f;background:#eff9ff}.barcode-scanner-modes:disabled{opacity:.55}.barcode-scanner-device{display:grid;gap:14px;padding:17px;border:1px solid #d5e9f5;border-radius:14px}.barcode-scanner-device>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.barcode-scanner-device>header span,.barcode-scanner-device>label{display:grid;gap:4px}.barcode-scanner-device select{width:100%;min-height:44px}.barcode-scanner-camera .button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.barcode-scanner-camera .control-icon{width:18px;height:18px}.barcode-scanner-test{display:grid;gap:6px;padding:16px 18px;border-radius:14px;background:#102f45;color:#fff}.barcode-scanner-test small{color:#c5dce9}.barcode-scanner-test output{display:block;margin-top:5px;padding:12px;border:1px solid #496a80;border-radius:10px;background:#0a2436;color:#e7f6ff}.barcode-scanner-test output[data-tone="success"]{border-color:#46ba76;color:#bdf2d1}.barcode-scanner-test output[data-tone="error"]{border-color:#e78a8a;color:#ffd0d0}
@media(max-width:760px){.barcode-scanner-modes{grid-template-columns:1fr}.barcode-scanner-modes>legend{grid-column:auto}.barcode-scanner-modes label>span{min-height:0}.barcode-scanner-master,.barcode-scanner-camera,.barcode-scanner-device>header{align-items:stretch;flex-direction:column}.cashier-catalog-scan-tools{flex-wrap:wrap}.pos-camera-scan span{display:none}}

/* Readable register settings and durable offline-order status. */
.cashier-settings-shell .cashier-settings-title p{font-size:13px}
.cashier-settings-shell .reference-settings-user strong{font-size:14px}.cashier-settings-shell .reference-settings-user small{font-size:12px}
.cashier-settings-shell .cashier-settings-tabs>button{font-size:13px!important}
.cashier-settings-shell .cashier-settings-card>header h2{font-size:20px}.cashier-settings-shell .cashier-settings-card>header p{font-size:10px}.cashier-settings-shell .cashier-settings-card>header span{font-size:13px}
.cashier-settings-shell .cashier-setting-row strong,.cashier-settings-shell .cashier-auto-checkout strong{font-size:14px}.cashier-settings-shell .cashier-setting-row small,.cashier-settings-shell .cashier-auto-checkout>div:first-child small{font-size:12px}
.cashier-rail-brand{position:relative}.cashier-online-state{display:inline-flex;align-items:center}.cashier-offline-status{position:relative;z-index:20;display:grid;place-items:center}.cashier-offline-indicator{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:4px!important;width:auto!important;min-width:0!important;min-height:24px!important;padding:4px 7px!important;border:1px solid #f3aaaa!important;border-radius:999px!important;background:#fff1f1!important;color:#a32929!important;font-size:8px!important;font-weight:900!important;letter-spacing:.04em;line-height:1;box-shadow:none!important}.cashier-offline-indicator i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px currentColor;opacity:.82}.cashier-offline-indicator b{display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#a32929;color:#fff;font-size:8px;letter-spacing:0}.cashier-offline-status.pending .cashier-offline-indicator{border-color:#e5c26f!important;background:#fff8e6!important;color:#805c08!important}.cashier-offline-status.pending .cashier-offline-indicator b{background:#805c08}.cashier-offline-status.failed .cashier-offline-indicator{background:#a32929!important;color:#fff!important}.cashier-offline-status.failed .cashier-offline-indicator b{background:#fff;color:#a32929}.cashier-offline-indicator:focus-visible{outline:3px solid #fff;outline-offset:2px}.offline-status-popover{position:absolute;z-index:80;top:30px;left:calc(100% + 12px);display:grid;width:min(330px,calc(100vw - 130px));overflow:hidden;border:1px solid #d7e3eb;border-radius:14px;background:#fff;color:#173b57;text-align:left;box-shadow:0 18px 45px #071b4238}.offline-status-popover:before{content:"";position:absolute;top:14px;left:-7px;width:12px;height:12px;border:1px solid #d7e3eb;border-width:0 0 1px 1px;background:#fff;transform:rotate(45deg)}.offline-status-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid #e4edf3;background:#f8fbfd}.offline-status-popover>header>span{display:grid;gap:2px}.offline-status-popover>header small{color:#72889a;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.offline-status-popover>header strong{font-size:15px}.offline-status-popover>header button{display:grid;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;place-items:center;padding:0!important;border:1px solid #d7e3eb!important;border-radius:8px!important;background:#fff!important;color:#173b57!important;font-size:19px!important}.offline-status-popover dl{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:0;background:#e4edf3}.offline-status-popover dl>div{display:grid;gap:4px;min-width:0;padding:11px;background:#fff}.offline-status-popover dt{color:#72889a;font-size:8px}.offline-status-popover dd{margin:0;overflow:hidden;font-size:11px;font-weight:800;text-overflow:ellipsis}.offline-status-popover>p{margin:0;padding:12px 15px;color:#526b7d;font-size:10px;line-height:1.5}.offline-status-popover>footer{display:flex;justify-content:flex-end;gap:7px;padding:0 15px 14px}.offline-status-popover>footer :is(button,a){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;min-height:34px!important;padding:7px 10px!important;border:1px solid #b9d2e1!important;border-radius:8px!important;background:#fff!important;color:#145787!important;font-size:10px!important;font-weight:800!important;text-decoration:none}.offline-status-popover>footer button{border-color:#145787!important;background:#145787!important;color:#fff!important}.offline-pos-unavailable,.offline-pos-readonly{display:none!important}
.offline-mode-settings{overflow:hidden}.offline-risk-panel{margin:20px 24px 4px;padding:18px;border:1px solid #e6bf66;border-radius:12px;background:#fff9e8;color:#654b13}.offline-risk-panel>strong{font-size:15px}.offline-risk-panel ul{display:grid;gap:7px;margin:11px 0 0;padding-left:20px;font-size:12px;line-height:1.5}
.offline-device-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 24px 24px;padding:18px;border:1px solid #d8e3ec;border-radius:12px;background:#f7fafc}.offline-device-card>div:first-child{display:grid;gap:6px;min-width:0}.offline-device-card>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.offline-device-card strong{font-size:15px}.offline-device-card small{color:#617486;font-size:12px;line-height:1.5}.offline-device-card code{overflow:hidden;color:#718294;font-size:10px;text-overflow:ellipsis}.offline-device-state{width:max-content;padding:5px 8px;border-radius:999px;background:#e9edf1;color:#657586;font-size:11px;font-weight:800}.offline-device-state.enabled{background:#dff4e7;color:#247345}
.offline-sync-warning,.offline-adjustment-list{display:grid;gap:6px;margin:0 24px 22px;padding:14px 16px;border-left:4px solid #c43e3e;border-radius:8px;background:#fff2f2;color:#7e2828}.offline-sync-warning strong,.offline-adjustment-list>strong{font-size:13px}.offline-sync-warning span,.offline-adjustment-list span{font-size:12px;line-height:1.5}.offline-adjustment-list{border-color:#d59b27;background:#fff8e7;color:#71500e}
.offline-enable-warning{display:grid;gap:6px;padding:14px;border:1px solid #e3bd61;border-radius:10px;background:#fff8e5}.offline-enable-warning strong{font-size:14px}.offline-enable-warning span{font-size:12px;line-height:1.5}.offline-risk-confirm{display:flex!important;grid-column:1/-1;align-items:flex-start;gap:10px}.offline-risk-confirm input{width:18px;height:18px;flex:none}.offline-order-note{display:grid;gap:4px;margin:12px 0;padding:12px;border-left:4px solid #d99c24;background:#fff8e5;color:#6b4b0d}.offline-order-note strong{font-size:13px}.offline-order-note span{font-size:11px;line-height:1.45}
.cashier-ticket-paused{flex:none;display:grid;gap:3px;margin:8px 12px;padding:10px 12px;border-left:3px solid #d99c24;border-radius:8px;background:#fff8e5;color:#6b4b0d;font-size:12px;line-height:1.4}.cashier-ticket-paused strong{font-size:13px}.cashier-ticket-actions [data-action="hold-order"][aria-pressed="true"],.ticket-quick-actions [data-action="hold-order"][aria-pressed="true"]{background:#fff0bf;color:#6b4b0d;border-color:#d99c24}
.cashier-ticket-lines>.cashier-ticket-paused{position:sticky;top:0;z-index:1;margin:0 0 8px}
@media(min-width:901px) and (max-height:700px){html:not([data-screen="phone"]) .cashier-ticket-lines{min-height:0}html:not([data-screen="phone"]) .cashier-delivery-fields{min-height:0;max-height:112px;overflow-y:auto;flex:0 1 auto}}
@media(max-width:760px){.offline-status-popover{position:fixed;top:72px;left:84px;right:8px;width:auto}.offline-status-popover:before{display:none}.offline-device-card{align-items:stretch;flex-direction:column}.offline-device-card>div:last-child .button{width:100%}.offline-risk-panel,.offline-device-card,.offline-sync-warning,.offline-adjustment-list{margin-left:16px;margin-right:16px}}
.cashier-reference-receipt .order-reason-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 16px;text-align:left}
.cashier-reference-receipt .order-reason-summary>div>strong{grid-column:1/-1}
.cashier-reference-receipt .order-reason-summary>div>span{min-width:0;overflow-wrap:anywhere;text-align:left}
.cashier-reference-receipt .order-reason-summary>div>span small{display:block;margin-top:6px;font-size:.85em}
.cashier-reference-receipt .order-reason-summary>div>b{align-self:start;white-space:nowrap}
