/* AELIN Stocktake Sessions */
#opname.stocktake-mounted>:not(.stocktake-v2-host){display:none!important}
.stocktake-v2-host{display:block!important;color:#17332b;animation:stocktakeIn .22s ease-out}
@keyframes stocktakeIn{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
.stocktake-v2-host *{box-sizing:border-box}
.stocktake-v2-host button,.stocktake-v2-host input,.stocktake-v2-host select{font:inherit}
.stocktake-v2-host button:focus-visible,.stocktake-v2-host input:focus-visible,.stocktake-v2-host select:focus-visible{outline:3px solid rgba(27,126,91,.24);outline-offset:2px}
.stocktake-v2-host button:disabled{opacity:.48;cursor:not-allowed}
.stocktake-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.stocktake-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;overflow:hidden;padding:28px 30px;margin-bottom:15px;border-radius:20px;color:#fff;background:linear-gradient(125deg,#073f30,#0b684b 58%,#16815f);box-shadow:0 15px 30px rgba(7,63,48,.18)}
.stocktake-hero:after{content:'';position:absolute;right:-85px;top:-125px;width:275px;height:275px;border:38px solid rgba(255,255,255,.08);border-radius:50%}
.stocktake-hero>div{position:relative;z-index:1}.stocktake-hero h1{margin:5px 0 8px;font-size:28px;line-height:1.15;letter-spacing:-.5px}.stocktake-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.77);font-size:13px;line-height:1.55}
.stocktake-eyebrow{display:block;color:#16815f;font-size:10px;font-weight:850;letter-spacing:1px}.stocktake-hero .stocktake-eyebrow{color:#8de0bc}
.stocktake-hero-actions{display:flex;gap:8px;align-items:center}.stocktake-hero-actions .btn{min-height:44px;white-space:nowrap}.stocktake-hero-actions .btn.light{border:1px solid rgba(255,255,255,.24);color:#fff;background:rgba(255,255,255,.12)}
.stocktake-tabs{display:flex;gap:7px;overflow:auto;padding:4px 2px 13px;scrollbar-width:thin}.stocktake-tabs button{flex:0 0 auto;min-height:42px;padding:10px 15px;border:1px solid #dce7e1;border-radius:11px;color:#536e63;background:#fff;font-size:12px;font-weight:800;cursor:pointer}.stocktake-tabs button.active{border-color:#0d694b;color:#fff;background:#0d694b;box-shadow:0 5px 12px rgba(13,105,75,.17)}
.stocktake-message{position:sticky;z-index:32;top:73px;padding:12px 15px;margin:-3px 0 13px;border:1px solid #acd5bd;border-radius:11px;color:#105d43;background:#eaf7ef;box-shadow:0 7px 18px rgba(20,91,65,.09)}.stocktake-message[hidden]{display:none}.stocktake-message.error{border-color:#f1bbb7;color:#a23b35;background:#fff0ee}.stocktake-message.warning{border-color:#eed29b;color:#895e12;background:#fff7e4}
.stocktake-loading,.stocktake-setup,.stocktake-empty,.stocktake-create-card,.stocktake-active-card,.stocktake-history-card{overflow:hidden;border:0!important;border-radius:18px!important;box-shadow:0 7px 20px rgba(18,61,52,.07)}
.stocktake-loading>.pad{display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px}.stocktake-spinner{width:24px;height:24px;border:3px solid #cfe1d7;border-top-color:#16815f;border-radius:50%;animation:stocktakeSpin .8s linear infinite}@keyframes stocktakeSpin{to{transform:rotate(360deg)}}
.stocktake-setup{max-width:720px;margin:auto}.stocktake-setup .pad,.stocktake-empty .pad{padding:30px}.stocktake-setup h2,.stocktake-empty h2{margin:8px 0 10px;font-size:21px}.stocktake-setup p,.stocktake-empty p{max-width:680px;color:#5f7169;line-height:1.6}.stocktake-empty{text-align:center}.stocktake-empty .pad{display:grid;justify-items:center}.stocktake-empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#167451;background:#e2f5ea;font-size:25px;font-weight:900}.stocktake-empty .btn{min-height:45px;margin-top:4px}
.stocktake-create-card{max-width:760px}.stocktake-create-card>.head,.stocktake-active-card>.head,.stocktake-history-card>.head{padding:19px 21px;background:linear-gradient(90deg,#fff,#f3faf6)}.stocktake-create-card>.head h2,.stocktake-active-card>.head h2,.stocktake-history-card>.head h2{margin-top:4px;font-size:18px}
.stocktake-form{display:grid;gap:12px}.stocktake-form label{color:#64766d;font-size:10px;font-weight:850;letter-spacing:.35px}.stocktake-form input{min-height:45px;margin-top:7px;border-radius:9px}.stocktake-form>small{margin-top:-5px;color:#6e8178;font-size:10px;line-height:1.5}.stocktake-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.stocktake-form-actions .btn{min-height:44px}
.stocktake-session-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:19px 21px;margin-bottom:12px;border:1px solid #dfe9e4;border-radius:17px;background:#fff;box-shadow:0 6px 17px rgba(17,68,51,.06)}.stocktake-title-line{display:flex;align-items:center;gap:8px}.stocktake-title-line>span:last-child{color:#7b8b83;font-size:9px;font-weight:750;letter-spacing:.5px}.stocktake-session-head h2{margin:7px 0 5px;font-size:21px}.stocktake-session-head p{margin:0;color:#6d7e76;font-size:10px;line-height:1.5}.stocktake-session-actions{display:flex;align-items:center;gap:9px}.stocktake-session-actions .btn{min-height:42px;white-space:nowrap}
.stocktake-session-status{display:inline-flex;align-items:center;min-height:24px;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:900;letter-spacing:.55px}.stocktake-session-status.draft{color:#8a6118;background:#fff1d7}.stocktake-session-status.finalized{color:#11694b;background:#dff4e8}.stocktake-session-status.cancelled{color:#9c413b;background:#feecea}
.stocktake-save-state{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:10px;color:#536e62;background:#f0f5f2;font-size:9px;white-space:nowrap}.stocktake-save-state span{width:8px;height:8px;border-radius:50%;background:#9caf9f}.stocktake-save-state.dirty span{background:#d49a2e}.stocktake-save-state.saving span{background:#d49a2e;animation:stocktakePulse 1s ease-in-out infinite}.stocktake-save-state.saved span{background:#1a9b64}.stocktake-save-state.error{color:#9e413a;background:#fff0ee}.stocktake-save-state.error span{background:#bd4541}@keyframes stocktakePulse{50%{opacity:.35}}
.stocktake-progress-card{padding:17px 19px;margin-bottom:12px;border:1px solid #dfe9e4;border-radius:17px;background:#fff;box-shadow:0 6px 17px rgba(17,68,51,.05)}.stocktake-progress-copy{display:flex;align-items:end;justify-content:space-between;gap:14px}.stocktake-progress-copy strong{display:block;margin-top:5px;font-size:18px}.stocktake-progress-copy>b{color:#126249;font-size:21px}.stocktake-progress-track,.stocktake-mini-progress{height:8px;margin:13px 0 11px;overflow:hidden;border-radius:20px;background:#e7eeea}.stocktake-progress-track i,.stocktake-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#12ae6b,#08754f);transition:width .2s ease}.stocktake-progress-stats{display:flex;gap:18px;flex-wrap:wrap;color:#718078;font-size:9px}.stocktake-progress-stats b{color:#23483c;font-size:11px}
.stocktake-conflict{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin-bottom:12px;border:1px solid #efc7a2;border-radius:13px;color:#815213;background:#fff5e7}.stocktake-conflict b{font-size:12px}.stocktake-conflict p{margin:4px 0 0;font-size:10px;line-height:1.45}.stocktake-conflict .btn{flex:0 0 auto}
.stocktake-scanner-card{overflow:hidden;padding:0;margin-bottom:12px;border:1px solid #cfe2d8;border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(18,61,52,.07)}.stocktake-scanner-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 19px;background:linear-gradient(95deg,#f1faf5,#fff)}.stocktake-scanner-card h2{margin:5px 0 4px;font-size:17px}.stocktake-scanner-card header p{margin:0;color:#657970;font-size:9.5px;line-height:1.5}.stocktake-scanner-badge{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:#735713;background:#fff0c5;font-size:8px;font-weight:900;letter-spacing:.45px}.stocktake-scanner-controls{display:grid;grid-template-columns:minmax(250px,1fr) auto auto auto;gap:8px;align-items:end;padding:14px 17px}.stocktake-scanner-controls label{display:grid;gap:6px;color:#667a71;font-size:8px;font-weight:850;letter-spacing:.45px}.stocktake-scanner-controls input{height:45px;margin:0;border-radius:9px}.stocktake-scanner-controls .btn{min-height:45px;white-space:nowrap}.stocktake-scanner-status{padding:11px 17px;border-top:1px solid #e7efeb;color:#145f45;background:#f3faf6;font-size:10px;font-weight:700;line-height:1.5}.stocktake-scanner-status.bad{color:#a33f39;background:#fff0ee}.stocktake-barcode-reader{display:none;min-height:260px;margin:0 17px 15px;overflow:hidden;border:2px solid #16815f;border-radius:13px;background:#071d17}.stocktake-barcode-reader.show{display:block}.stocktake-row-stocktake-scan-hit,.stocktake-scan-hit{animation:stocktakeScanHit 1.4s ease-out}@keyframes stocktakeScanHit{0%,35%{background:#dff7e9;box-shadow:inset 4px 0 #139563}100%{background:inherit;box-shadow:none}}
.stocktake-count-card,.stocktake-review-card,.stocktake-receipt-lines{overflow:hidden;border:0!important;border-radius:18px!important;box-shadow:0 7px 20px rgba(18,61,52,.07)}.stocktake-count-card>.head,.stocktake-review-card>.head,.stocktake-receipt-lines>.head{padding:18px 20px;background:linear-gradient(90deg,#fff,#f4faf7)}.stocktake-count-card>.head h2,.stocktake-review-card>.head h2{margin-top:4px;font-size:18px}
.stocktake-filters{display:grid;grid-template-columns:minmax(210px,1fr) 170px 150px 160px auto;gap:9px;align-items:end;padding:14px 17px;border-bottom:1px solid #edf2ef;background:#fbfdfb}.stocktake-filters label{color:#667a71;font-size:8px;font-weight:850;letter-spacing:.45px}.stocktake-filters input,.stocktake-filters select{height:43px;margin:6px 0 0;border-radius:9px}.stocktake-clear-filter{height:43px;white-space:nowrap}
.stocktake-table-wrap{width:100%;overflow:auto;overscroll-behavior:contain}.stocktake-table{width:100%;min-width:850px;border-collapse:collapse;font-size:11px}.stocktake-table th,.stocktake-table td{padding:12px 13px;border-bottom:1px solid #edf1ee;text-align:left;vertical-align:middle}.stocktake-table thead th{position:sticky;z-index:2;top:0;color:#6e7f77;background:#f9fcfa;font-size:9px;letter-spacing:.35px}.stocktake-table tbody th{min-width:190px}.stocktake-table tbody th b,.stocktake-table tbody th span{display:block}.stocktake-table tbody th b{color:#173c31;font-size:12px}.stocktake-table tbody th span{margin-top:4px;color:#75857d;font-size:9px;font-weight:500}.stocktake-table td:nth-child(2){min-width:120px}.stocktake-table td:nth-child(3){width:130px}.stocktake-table td:nth-child(4){width:115px}.stocktake-table td:nth-child(5){min-width:255px}.stocktake-table input{width:100%;min-height:42px;margin:0;border-radius:8px}.stocktake-physical{text-align:center;font-size:14px;font-weight:800}.stocktake-physical[aria-invalid=true]{border-color:#c44942;background:#fff3f1}.stocktake-conflict-note{display:block;margin-top:4px;color:#a75532;font-size:8px}.stocktake-difference{white-space:nowrap}.stocktake-difference.positive,.stocktake-review-metrics .positive,.stocktake-receipt .positive{color:#17704f}.stocktake-difference.negative,.stocktake-review-metrics .negative,.stocktake-receipt .negative{color:#b33e39}
.stocktake-status{display:inline-flex;padding:5px 8px;border-radius:20px;font-size:8px;font-weight:900;white-space:nowrap}.stocktake-status.pending{color:#6d7c75;background:#edf1ef}.stocktake-status.match{color:#11694b;background:#dff4e8}.stocktake-status.difference{color:#8b6217;background:#fff1d7}.stocktake-status.reason,.stocktake-status.invalid,.stocktake-status.conflict{color:#9d4039;background:#feecea}.stocktake-reason{display:grid;gap:5px;margin-top:8px}.stocktake-reason[hidden]{display:none!important}.stocktake-reason span{color:#9a4a36;font-size:7px;font-weight:900;letter-spacing:.3px}.stocktake-reason input{min-height:38px;font-size:10px}.stocktake-row-reason{background:#fffdfa}.stocktake-row-conflict{background:#fff9f1}.stocktake-no-results{padding:28px!important;text-align:center!important;color:#718078}
.stocktake-sticky-actions{position:sticky;z-index:8;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:13px 16px;border-top:1px solid #dfe9e4;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}.stocktake-sticky-actions>div{margin-right:auto}.stocktake-sticky-actions span,.stocktake-sticky-actions small{display:block}.stocktake-sticky-actions span{font-size:11px;font-weight:800}.stocktake-sticky-actions small{margin-top:3px;color:#72827a;font-size:8px}.stocktake-sticky-actions .btn{min-height:44px;white-space:nowrap}
.stocktake-review-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 21px;margin-bottom:12px;border:1px solid #dfe9e4;border-radius:17px;background:#fff}.stocktake-review-head h2{margin:5px 0 6px;font-size:22px}.stocktake-review-head p{max-width:720px;margin:0;color:#657970;font-size:10px;line-height:1.5}.stocktake-review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.stocktake-review-metrics article{padding:15px;border:1px solid #e0e9e4;border-radius:14px;background:#fff}.stocktake-review-metrics small,.stocktake-review-metrics strong{display:block}.stocktake-review-metrics small{color:#73837b;font-size:8px;font-weight:850;letter-spacing:.4px}.stocktake-review-metrics strong{margin-top:8px;color:#164638;font-size:18px}.stocktake-review-blocked,.stocktake-review-ready{padding:13px 15px;margin-bottom:12px;border-radius:12px}.stocktake-review-blocked{color:#895e12;background:#fff4df;border:1px solid #eed3a0}.stocktake-review-blocked b{font-size:11px}.stocktake-review-blocked ul{display:flex;gap:5px 18px;flex-wrap:wrap;margin:7px 0 0;padding-left:18px;font-size:9px}.stocktake-review-ready{display:flex;gap:8px;align-items:center;color:#176349;background:#e6f5ec;border:1px solid #badbc8}.stocktake-review-ready span{font-size:9px}.stocktake-review-table input{min-width:210px}.stocktake-finalize{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;background:#f8fbf9}.stocktake-finalize b,.stocktake-finalize span{display:block}.stocktake-finalize b{font-size:11px}.stocktake-finalize span{margin-top:4px;color:#72827a;font-size:9px}.stocktake-finalize .btn{min-height:47px;white-space:nowrap}
.stocktake-session-list,.stocktake-session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.stocktake-session-card{overflow:hidden;border:1px solid #dfe9e4;border-radius:14px;background:#fff}.stocktake-session-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 15px 9px}.stocktake-session-card h3{margin:7px 0 4px;font-size:14px}.stocktake-session-card header small{color:#73837b;font-size:9px;line-height:1.45}.stocktake-session-card header>b{color:#17664b;font-size:17px}.stocktake-mini-progress{height:5px;margin:0 15px 11px}.stocktake-session-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 15px 12px}.stocktake-session-summary span{padding:8px;border-radius:8px;color:#76847e;background:#f5f8f6;font-size:8px}.stocktake-session-summary b{display:block;margin-bottom:3px;color:#294b40;font-size:10px}.stocktake-card-actions{display:flex;gap:7px;padding:11px 15px;border-top:1px solid #edf1ee;background:#fbfdfc}.stocktake-card-actions .btn{min-height:40px}.stocktake-history-filters{padding:10px 17px;border-bottom:1px solid #edf1ee;color:#718078;background:#fbfdfb;font-size:9px}.stocktake-no-history{grid-column:1/-1;display:grid;justify-items:center;gap:5px;padding:35px;color:#718078}.stocktake-no-history b{color:#345648;font-size:13px}.stocktake-no-history span{font-size:10px}
.stocktake-receipt{padding:2px}.stocktake-receipt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 25px;border-radius:17px 17px 0 0;color:#fff;background:linear-gradient(120deg,#073f30,#0d7151)}.stocktake-receipt-head .stocktake-eyebrow{color:#8de0bc}.stocktake-receipt-head h2{margin:6px 0;font-size:23px}.stocktake-receipt-head p{margin:0;color:#c5e7d8;font-size:9px}.stocktake-receipt-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-bottom:13px;background:#dfe8e3}.stocktake-receipt-meta>div{padding:14px;background:#fff}.stocktake-receipt-meta small,.stocktake-receipt-meta b,.stocktake-receipt-meta span{display:block}.stocktake-receipt-meta small{color:#77867f;font-size:8px;font-weight:850}.stocktake-receipt-meta b{margin:7px 0 4px;font-size:12px}.stocktake-receipt-meta span{color:#718078;font-size:9px}.stocktake-receipt-lines h3{margin:0;font-size:16px}.stocktake-receipt-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 0}.stocktake-receipt-actions .btn{min-height:44px}

body.stocktake-modal-open{overflow:hidden}
.stocktake-modal-backdrop{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;overflow:auto;padding:20px;background:rgba(5,29,23,.64);backdrop-filter:blur(4px);animation:stocktakeModalFade .16s ease-out}
.stocktake-modal{width:min(100%,490px);overflow:hidden;margin:auto;border:1px solid rgba(255,255,255,.45);border-radius:18px;color:#17332b;background:#fff;box-shadow:0 28px 70px rgba(2,24,18,.32);animation:stocktakeModalIn .2s ease-out}
.stocktake-modal:focus{outline:none}.stocktake-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 20px 14px;background:linear-gradient(100deg,#fff,#f2faf6)}.stocktake-modal.danger header{background:linear-gradient(100deg,#fff,#fff5f1)}
.stocktake-modal h2{margin:5px 0 0;font-size:20px;line-height:1.25}.stocktake-modal>p{min-height:22px;margin:0;padding:4px 20px 17px;color:#5f746a;font-size:12px;line-height:1.65;white-space:pre-line}
.stocktake-modal-close{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;padding:0;border:1px solid #dce6e1;border-radius:10px;color:#526a61;background:#fff;font-size:23px;line-height:1;cursor:pointer}.stocktake-modal-close:hover{background:#f3f7f5}
.stocktake-modal-field{display:grid;gap:7px;padding:0 20px 4px;color:#687a72;font-size:9px;font-weight:850;letter-spacing:.45px}.stocktake-modal-field input{width:100%;min-height:46px;margin:0;border:1px solid #ccd9d2;border-radius:9px;color:#17332b;background:#fff;font-size:13px;font-weight:600}.stocktake-modal-field input[aria-invalid=true]{border-color:#bd4541;background:#fff4f2;box-shadow:0 0 0 3px rgba(189,69,65,.1)}
.stocktake-modal-error{padding:4px 20px 0;color:#ad3f39;font-size:10px;font-weight:750}.stocktake-modal-error[hidden]{display:none}
.stocktake-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding:14px 20px;border-top:1px solid #e8efeb;background:#fafcfb}.stocktake-modal footer .btn{min-height:44px}.stocktake-modal .stocktake-modal-danger{border-color:#ad403a;background:#ad403a}.stocktake-modal .stocktake-modal-danger:hover{background:#96342f}
.stocktake-modal button:focus-visible,.stocktake-modal input:focus-visible{outline:3px solid rgba(27,126,91,.25);outline-offset:2px}.stocktake-modal.danger button:focus-visible{outline-color:rgba(173,64,58,.24)}
@keyframes stocktakeModalFade{from{opacity:0}to{opacity:1}}@keyframes stocktakeModalIn{from{opacity:.35;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.stocktake-modal-backdrop,.stocktake-modal{animation:none}.stocktake-v2-host{animation:none}}

@media(max-width:1050px){.stocktake-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-clear-filter{width:100%}.stocktake-session-list,.stocktake-session-grid{grid-template-columns:1fr}.stocktake-receipt-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.stocktake-hero{grid-template-columns:1fr;padding:22px 19px;border-radius:16px}.stocktake-hero h1{font-size:24px}.stocktake-hero-actions{display:grid;grid-template-columns:1fr 1fr}.stocktake-hero-actions .btn{min-width:0;padding-left:9px;padding-right:9px}.stocktake-tabs{margin:0 -14px;padding-left:14px;padding-right:14px}.stocktake-message{top:58px}.stocktake-session-head{grid-template-columns:1fr;padding:16px}.stocktake-session-actions{display:grid;grid-template-columns:1fr 1fr}.stocktake-save-state{white-space:normal}.stocktake-progress-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stocktake-conflict{align-items:flex-start;flex-direction:column}.stocktake-scanner-card>header{padding:15px}.stocktake-scanner-controls{grid-template-columns:1fr 1fr;padding:12px}.stocktake-scanner-controls label{grid-column:1/-1}.stocktake-scanner-controls .btn{width:100%;padding-left:8px;padding-right:8px}.stocktake-scanner-controls .stocktake-undo-scan{grid-column:1/-1}.stocktake-barcode-reader{min-height:220px;margin:0 12px 12px}.stocktake-filters{grid-template-columns:1fr;padding:12px}.stocktake-count-card>.head{align-items:flex-start}.stocktake-table-wrap{overflow:visible}.stocktake-table{display:block;min-width:0}.stocktake-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.stocktake-table tbody{display:grid;gap:9px;padding:11px}.stocktake-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #dfe8e3;border-radius:12px;background:#fff}.stocktake-table th,.stocktake-table td{display:grid;align-content:center;min-width:0!important;width:auto!important;padding:10px 11px;border-bottom:1px solid #edf1ee}.stocktake-table th:before,.stocktake-table td:before{content:attr(data-label);display:block;margin-bottom:5px;color:#7b8982;font-size:7px;font-weight:850;letter-spacing:.4px}.stocktake-table tbody th{grid-column:1/-1;background:#f6faf8}.stocktake-table td:last-child{grid-column:1/-1;border-bottom:0}.stocktake-table .stocktake-no-results{grid-column:1/-1;display:block}.stocktake-reason input{min-width:0}.stocktake-sticky-actions{display:grid;grid-template-columns:1fr 1fr;padding:11px}.stocktake-sticky-actions>div{grid-column:1/-1;margin:0}.stocktake-sticky-actions .btn{width:100%;padding-left:8px;padding-right:8px}.stocktake-review-head{align-items:flex-start;flex-direction:column;padding:16px}.stocktake-review-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-finalize{align-items:stretch;flex-direction:column}.stocktake-finalize .btn{width:100%}.stocktake-session-list,.stocktake-session-grid{padding:11px}.stocktake-receipt-head{padding:20px 17px}.stocktake-receipt-meta{grid-template-columns:1fr 1fr}.stocktake-receipt-actions{display:grid;grid-template-columns:1fr 1fr}.stocktake-receipt-actions .btn{min-width:0}.stocktake-form-actions{display:grid;grid-template-columns:1fr 1fr}.stocktake-session-summary{grid-template-columns:1fr 1fr}.stocktake-session-summary span:last-child{grid-column:1/-1}}
@media(max-width:420px){.stocktake-hero-actions,.stocktake-session-actions{grid-template-columns:1fr}.stocktake-review-metrics,.stocktake-receipt-meta{grid-template-columns:1fr}.stocktake-table tr{grid-template-columns:1fr}.stocktake-table tbody th,.stocktake-table td,.stocktake-table td:last-child{grid-column:1}.stocktake-session-summary{grid-template-columns:1fr}.stocktake-session-summary span:last-child{grid-column:auto}}
@media(max-width:420px){.stocktake-modal-backdrop{padding:12px}.stocktake-modal header{padding:17px 16px 12px}.stocktake-modal>p{padding:3px 16px 15px}.stocktake-modal-field{padding-left:16px;padding-right:16px}.stocktake-modal footer{display:grid;grid-template-columns:1fr;padding:12px 16px}.stocktake-modal footer .btn{width:100%}}
@media (pointer:coarse) and (max-width:900px),(pointer:coarse) and (max-height:600px){
  .aelin-mobile-camera-shell.stocktake-scanner-card>header h2{margin:0!important;color:#fff!important;font-size:18px!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card>header .stocktake-eyebrow,.aelin-mobile-camera-shell.stocktake-scanner-card>header p,.aelin-mobile-camera-shell.stocktake-scanner-card>header .stocktake-scanner-badge{display:none!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card>.stocktake-scanner-controls{position:absolute!important;z-index:9!important;top:calc(14px + env(safe-area-inset-top))!important;right:max(14px,env(safe-area-inset-right))!important;display:block!important;width:auto!important;margin:0!important;padding:0!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card>.stocktake-scanner-controls>label,.aelin-mobile-camera-shell.stocktake-scanner-card>.stocktake-scanner-controls>.btn:not(#stocktakeCameraButton){display:none!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeCameraButton{display:block!important;width:auto!important;min-width:104px!important;min-height:46px!important;margin:0!important;padding:10px 13px!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:24px!important;color:#fff!important;background:rgba(4,27,19,.78)!important;backdrop-filter:blur(8px);font-size:12px!important;font-weight:800!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeStatus{position:absolute!important;z-index:5!important;left:max(14px,env(safe-area-inset-left))!important;right:max(14px,env(safe-area-inset-right))!important;bottom:calc(15px + env(safe-area-inset-bottom))!important;margin:0!important;padding:12px 14px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:13px!important;color:#fff!important;background:rgba(3,27,19,.82)!important;backdrop-filter:blur(8px);font-size:12px!important;line-height:1.45!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeStatus.bad{color:#fff!important;background:rgba(130,25,24,.86)!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeReader{position:absolute!important;z-index:1!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;height:100vh!important;height:100dvh!important;min-height:100svh!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#07130f!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeReader>div{width:100%!important;height:auto!important;max-height:100dvh!important;border:0!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeReader video{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:100dvh!important;object-fit:contain!important}
  .aelin-mobile-camera-shell.stocktake-scanner-card #stocktakeBarcodeReader canvas{max-width:100%!important;max-height:100%!important}
}
@media print{body.stocktake-printing #app>.bar,body.stocktake-printing #app .nav,body.stocktake-printing #app .page:not(#opname),body.stocktake-printing #opname>.stocktake-v2-host>.stocktake-hero,body.stocktake-printing #opname>.stocktake-v2-host>.stocktake-tabs,body.stocktake-printing #opname>.stocktake-v2-host>.stocktake-message,body.stocktake-printing .stocktake-receipt-actions{display:none!important}body.stocktake-printing,body.stocktake-printing #opname.stocktake-mounted,body.stocktake-printing .stocktake-v2-host,body.stocktake-printing .stocktake-receipt{display:block!important;margin:0!important;padding:0!important;background:#fff!important}body.stocktake-printing .stocktake-receipt-head{border-radius:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body.stocktake-printing .stocktake-receipt-lines{box-shadow:none!important;border:1px solid #ccd8d1!important}body.stocktake-printing .stocktake-table{min-width:0!important}body.stocktake-printing .stocktake-table-wrap{overflow:visible!important}}
