:root{color-scheme:light;--ink:#131923;--muted:#7d8797;--surface:#fff;--bg:#f6f8fa;--line:#e8ebf0;--lime:#c5fb69;--green:#78b72e;--nav:#111821;--shadow:0 14px 60px rgba(19,25,35,.07);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;font-optical-sizing:auto}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #91be55;outline-offset:2px}h1,h2,h3,p{margin:0}h2{font-size:clamp(28px,3vw,38px);letter-spacing:-1.5px;line-height:1.1}h3{font-size:19px;letter-spacing:-.4px}.accent{color:var(--green)}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#86909c}.micro{font-size:11px;line-height:1.5}.small{font-size:12px}.wide{width:100%}.centered{margin-inline:auto}.primary{background:var(--ink);color:white;border:1px solid var(--ink);min-height:47px;padding:11px 19px;border-radius:12px;font-weight:750;display:inline-flex;align-items:center;gap:18px;justify-content:center}.primary span:last-child{margin-left:auto}.primary:hover:not(:disabled){background:#26313e}.secondary{background:white;border:1px solid var(--line);border-radius:11px;padding:12px 15px;font-size:12px;font-weight:750;min-height:43px}.text-button{background:none;border:0;color:#8d97a2;font-size:12px;text-align:left;padding:5px}.text-button:hover{color:var(--ink)}.icon-btn{width:41px;height:41px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:white}.auth-shell{min-height:100dvh;display:grid;place-items:center;padding:28px;background:#111821;background-image:radial-gradient(ellipse at 70% -30%,#324834,transparent 65%)}.auth-shell[hidden]{display:none}.auth-card{background:white;width:min(100%,470px);padding:clamp(26px,5vw,44px);border-radius:22px;box-shadow:0 28px 100px #0002}.brand-mark{font-size:37px;font-weight:900;letter-spacing:-4px;line-height:1}.brand-dot{color:#9fdd48}.auth-card h1{font-size:30px;letter-spacing:-1.2px;margin:18px 0 8px}.auth-card>p{font-size:13px}.auth-card .eyebrow{display:block;margin-top:11px}.form-stack{display:grid;gap:16px;margin-top:26px}.form-stack label,.paper-form label{font-size:12px;font-weight:700;display:grid;gap:8px}.form-stack input,.form-stack select,.paper-form input,.paper-form select,.paper-form textarea{border:1px solid #dde1e7;border-radius:10px;min-height:45px;padding:11px 12px;width:100%;background:white;color:var(--ink)}.auth-note{border-top:1px solid var(--line);margin-top:28px;padding-top:18px;text-align:center;color:var(--muted)}.app-shell{min-height:100dvh;display:grid;grid-template-columns:232px minmax(0,1fr)}.app-shell[hidden]{display:none}.sidebar{background:var(--nav);color:white;position:sticky;top:0;height:100dvh;padding:28px 16px 19px;display:flex;flex-direction:column;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 9px}.sidebar-brand .brand-mark{font-size:32px}.sidebar-brand strong{font-size:15px;letter-spacing:-.5px}.mark-light{font-weight:400;color:#a8b4bf}.sidebar-brand small{display:block;font-size:8px;color:#697985;letter-spacing:.8px;font-weight:800;margin-top:4px}.store-pill{border:1px solid #2e3943;background:#1b2530;border-radius:12px;padding:13px 11px;margin:39px 0 26px;display:flex;align-items:center;gap:10px;min-height:67px}.store-pill img{max-width:58px;max-height:38px;object-fit:contain}.store-icon{display:grid;place-items:center;background:#d2fa9c;color:#111;font-weight:900;border-radius:9px;min-width:36px;height:36px}.store-info{min-width:0}.store-info strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.store-info small{color:#85919d;font-size:10px}.nav-list{display:grid;gap:6px}.nav-item{height:45px;display:flex;gap:14px;align-items:center;border:none;border-radius:10px;padding:0 14px;text-align:left;background:none;color:#a0aebc;font-size:12px;font-weight:700;letter-spacing:.1px}.nav-ico{font-size:19px;display:inline-flex;width:20px;justify-content:center;font-weight:400}.nav-item:hover{color:#fff;background:#26313d}.nav-item.active{background:#d6ff95;color:#142114}.nav-item small{margin-left:auto;font-size:9px}.sidebar-bottom{margin-top:auto;padding:16px 10px;border-top:1px solid #2b3540}.connection{display:flex;gap:9px;align-items:center;font-size:11px;color:#9dacbb;margin-bottom:14px}.status-dot{width:8px;height:8px;background:#a2dd5a;border-radius:50%}.status-dot.down{background:#e5aa54}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{height:79px;padding:0 31px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:14px}.page-heading{display:grid;gap:3px}.page-heading small{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#a0a8b3}.page-heading strong{font-size:16px;letter-spacing:-.35px}.topbar-tools{display:flex;align-items:center;gap:13px}.scan-btn{border:1px solid var(--line);background:white;border-radius:10px;min-height:39px;padding:7px 13px;font-size:12px;font-weight:700}.staff-chip{display:flex;gap:10px;align-items:center;background:none;border:none;border-left:1px solid var(--line);padding-left:17px}.staff-avatar{height:35px;width:35px;display:grid;place-items:center;background:#e8f2d6;border-radius:9px;color:#496a27;font-weight:800}.staff-info{display:grid;text-align:left;gap:3px}.staff-info strong{font-size:11px}.staff-info small{font-size:10px;color:var(--muted)}.offline-badge{font-size:9px;font-weight:800;color:#a55800;background:#fff0dc;padding:9px;border-radius:7px}.view-sell{display:grid;grid-template-columns:minmax(0,1fr) 343px;flex:1;min-height:calc(100dvh - 79px)}.selling-left{padding:33px clamp(18px,3.2vw,44px) 50px;min-width:0}.hero-line{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.hero-line p{font-size:12px;margin-top:9px}.today-tag{padding:9px 13px;background:white;border-radius:9px;font-size:10px;font-weight:700;color:#6b7786;border:1px solid var(--line)}.search-wrap{height:55px;margin-top:30px;background:white;border:1px solid #e4e9ed;border-radius:12px;display:flex;align-items:center;gap:13px;padding:0 15px;box-shadow:0 4px 14px #0f162605}.search-wrap:focus-within{border-color:#93c357;box-shadow:0 0 0 3px #c7f38b55}.search-icon{font-size:25px;color:#8a99a7;line-height:1}.search-wrap input{flex:1;min-width:0;border:0;background:transparent;font-size:13px;color:#15202b}.kbd{font-size:10px;color:#a1a9b1;background:#f7f8f9;border:1px solid #edf0f2;border-radius:6px;padding:5px 7px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 17px;gap:12px}.catalog-heading strong{font-size:13px}.catalog-heading span{font-size:11px;color:#98a2ae}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:13px}.product-card{background:white;border:1px solid #e9edf0;border-radius:14px;min-height:161px;padding:17px;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:11px;transition:border-color .12s,transform .12s;position:relative}.product-card:hover{border-color:#a5d36f;transform:translateY(-1px)}.product-card:disabled{transform:none;opacity:.62}.picon{height:43px;width:43px;border-radius:10px;background:#f1f4f7;display:grid;place-items:center;font-size:22px}.product-card strong{font-size:12px;line-height:1.35;margin-top:1px}.product-card .price{font-size:15px;font-weight:850;margin-top:auto}.product-card .pmeta{font-size:10px;color:var(--muted)}.cart-panel{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0;max-height:calc(100dvh - 79px);position:sticky;top:0}.cart-head{padding:29px 24px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.cart-head h3{margin-top:9px}.cart-head h3 span{display:inline-flex;background:#edf4e5;border-radius:6px;padding:3px 7px;font-size:11px;color:#477630;margin-left:5px}.cart-lines{padding:14px 22px;overflow-y:auto;flex:1;min-height:85px}.cart-empty{min-height:170px;display:grid;place-content:center;text-align:center;gap:10px;color:#8e9aaa;font-size:12px}.cart-empty .big-icon{font-size:31px;color:#b7c2ce}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0;border-bottom:1px solid #f0f1f3}.cart-line .item-name{font-size:12px;font-weight:750}.cart-line .item-sub{font-size:10px;color:var(--muted);margin-top:5px}.cart-line .item-price{font-size:12px;font-weight:800}.cart-line .line-actions{display:flex;align-items:center;gap:9px;margin-top:9px}.mini-btn{width:25px;height:25px;border:1px solid var(--line);border-radius:7px;background:#fff}.cart-summary{padding:16px 24px 20px;border-top:1px solid var(--line);overflow:auto}.total-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#747e8b;margin-bottom:10px}.total-row strong{color:#242b34}.total-row.big{border-top:1px solid var(--line);padding-top:13px;margin-top:10px;font-weight:800;font-size:13px;color:#15202b}.total-row.big strong{font-size:24px;letter-spacing:-1px}.inline-label{display:grid;font-size:11px;font-weight:700;gap:7px;margin:9px 0}.inline-label select,.inline-label input,.customer-details input{width:100%;border:1px solid #e4e8ed;border-radius:9px;background:#fff;padding:11px;font-size:12px;min-height:42px}.customer-details{margin:10px 0;font-size:11px;color:#637080}.customer-details summary{cursor:pointer}.customer-details label{display:grid;gap:6px;margin:10px 0}.checkout{width:100%;margin-top:14px;min-height:49px;justify-content:space-between}.cart-summary .centered{display:block;margin-top:11px}.cart-summary .micro{margin-top:12px}.content-view{padding:34px clamp(18px,3.7vw,52px);max-width:1350px;width:100%;margin-inline:auto}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head p{font-size:12px;margin-top:9px}.content-view .search-wrap{margin-top:16px;margin-bottom:20px}.table-wrap{border:1px solid var(--line);border-radius:13px;overflow:auto;background:#fff}.data-table{border-collapse:collapse;width:100%;min-width:640px;text-align:left}.data-table th{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#8a94a1;background:#fafbfc}.data-table th,.data-table td{padding:15px 16px;border-bottom:1px solid #f0f2f4;vertical-align:middle}.data-table td{font-size:12px}.data-table tr:last-child td{border:0}.data-table .click{cursor:pointer}.data-table .click:hover{background:#f8fbf4}.pill{display:inline-block;padding:5px 8px;border-radius:7px;background:#eef5e6;color:#4c7c34;font-size:10px;font-weight:750;white-space:nowrap}.pill.pending{background:#fff3dc;color:#9b6612}.pill.cancelled{background:#f9e7e9;color:#a54143}.paper-form{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;max-width:760px}.paper-form form{display:grid;gap:17px}.paper-form h3{margin-bottom:18px}.paper-form textarea{resize:vertical}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-separator{height:1px;background:var(--line);margin:3px 0}.space-top{margin-top:22px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:21px;min-height:115px}.stat-card small{display:block;color:#8893a0;font-size:11px;margin-bottom:13px}.stat-card strong{font-size:23px;letter-spacing:-.9px}.stat-card .hint{font-size:10px;color:var(--muted);margin-top:8px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dash-panel{background:white;padding:23px;border:1px solid var(--line);border-radius:14px}.dash-panel h3{font-size:15px;margin-bottom:17px}.dash-panel p{font-size:12px;color:var(--muted);line-height:1.7}.dash-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;gap:14px}.dash-row:last-child{border:0}.alert-num{background:#fff0dd;color:#975a17;border-radius:7px;padding:5px 9px;font-weight:800}.overlay{position:fixed;inset:0;display:grid;place-items:center;background:#141d28a6;z-index:70;padding:14px;backdrop-filter:blur(5px)}.overlay[hidden]{display:none}.modal{width:min(100%,525px);max-height:90dvh;overflow:auto;background:#fff;border-radius:20px;padding:27px;box-shadow:var(--shadow);position:relative}.modal h3{margin-bottom:18px;padding-right:35px}.close-modal{position:absolute;right:19px;top:17px}.modal .paper-form{padding:0;border:0}.modal-body{font-size:13px}.modal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.modal-form{display:grid;gap:12px}.modal-form label{font-size:12px;font-weight:700;display:grid;gap:6px}.modal-form input,.modal-form select{width:100%;min-height:43px;padding:10px;border:1px solid var(--line);border-radius:9px}#camera-video{width:100%;background:#111;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.mobile-menu,.mobile-only,.mobile-cart-bar{display:none}#toast{position:fixed;z-index:100;top:17px;right:18px;width:min(340px,calc(100vw - 36px));pointer-events:none}#toast .toast-message{background:#1d2934;color:white;border-radius:12px;padding:14px 17px;font-size:12px;box-shadow:var(--shadow);margin-bottom:8px}#toast .toast-message.error{background:#a13b31}.receipt-print{display:none}@media(max-width:1180px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.view-sell{grid-template-columns:minmax(0,1fr) 310px}.sidebar{padding-inline:12px}.selling-left{padding:28px 23px}.cart-head,.cart-summary{padding-left:17px;padding-right:17px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.app-shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{padding:21px 8px}.sidebar-brand{justify-content:center;padding:0}.sidebar-brand>div:last-child,.store-pill .store-info,.nav-item small,.sidebar-bottom,.nav-item{font-size:0}.sidebar-brand .brand-mark{font-size:27px}.store-pill{justify-content:center;padding:9px 3px}.store-pill img{max-width:38px}.nav-item{justify-content:center;padding:0}.nav-ico{font-size:22px}.view-sell{grid-template-columns:minmax(0,1fr) 300px}.topbar{padding:0 20px}.catalog-heading{margin-top:23px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(143px,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:690px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:248px;height:100dvh;transform:translateX(-105%);transition:transform .18s;box-shadow:var(--shadow);z-index:65;padding:28px 16px}.sidebar.open{transform:translateX(0)}.sidebar-brand{justify-content:flex-start}.sidebar-brand>div:last-child,.store-pill .store-info,.nav-item,.sidebar-bottom{font-size:inherit}.store-pill{justify-content:flex-start}.sidebar-bottom{display:block}.nav-item{justify-content:flex-start;padding:0 13px;font-size:12px}.topbar{height:67px;padding:0 14px}.page-heading strong{font-size:14px}.page-heading small{font-size:8px}.mobile-menu{display:grid}.topbar-tools{gap:7px}.scan-btn{padding:8px 10px}.scan-btn span,.staff-info,.staff-chip>span:last-child{display:none}.staff-chip{padding-left:8px}.staff-avatar{height:33px;width:33px}.view-sell{display:block;min-height:calc(100dvh - 67px)}.selling-left{padding:24px 17px 95px}.hero-line p{font-size:11px}.today-tag{font-size:9px}.search-wrap{margin-top:23px}.kbd{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{min-height:150px;padding:14px}.cart-panel{display:none;position:fixed;z-index:60;inset:10dvh 0 0 0;max-height:90dvh;border-radius:22px 22px 0 0;box-shadow:0 -22px 70px #1d24304b}.cart-panel.open{display:flex}.cart-head{padding:18px}.cart-lines{max-height:none}.cart-summary{padding:12px 18px 22px}.mobile-only{display:grid}.mobile-cart-bar{position:fixed;z-index:40;bottom:12px;left:12px;right:12px;min-height:55px;background:#151f29;color:white;border:0;border-radius:13px;box-shadow:0 12px 24px #0f18222b;padding:0 14px;display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:8px}.mobile-cart-bar[hidden]{display:none}.mobile-cart-bar strong{font-size:16px}.content-view{padding:25px 16px}.section-head{align-items:center}.two-fields{grid-template-columns:1fr}.paper-form{padding:17px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:14px;min-height:99px}.stat-card strong{font-size:18px}.stat-card small{font-size:10px}.dashboard-grid{grid-template-columns:1fr}.offline-badge{font-size:8px;max-width:83px}.modal{padding:23px}}
@media(max-width:360px){.hero-line .today-tag{display:none}.product-grid{grid-template-columns:1fr 1fr}.product-card{padding:11px}.topbar-tools{gap:3px}.offline-badge{display:none}}
@media print{body>*{display:none!important}body>#receipt-print{display:block!important;position:static;margin:0 auto;padding:4mm;color:#000;font-family:monospace;width:72mm;font-size:11px}.receipt-print .rrow{display:flex;justify-content:space-between}.receipt-print hr{border:0;border-top:1px dashed #000;margin:10px 0}.receipt-print h2{text-align:center;font-size:20px}.receipt-print p{text-align:center;font-size:10px;margin:6px 0}@page{size:80mm auto;margin:4mm}}
[hidden]{display:none!important}

.staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.staff-choice{border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px;display:flex;align-items:center;gap:10px;text-align:left}.staff-choice:hover{border-color:var(--green);background:#f9fdf4}.staff-choice strong{display:block;font-size:12px}.staff-choice small{display:block;color:var(--muted);font-size:10px;margin-top:3px}@media(max-width:390px){.staff-grid{grid-template-columns:1fr}}

/* Quick product entry and responsive, searchable inventory */
.inventory-list{background:#fff;border-radius:14px;overflow:hidden}
.inventory-item{display:flex;align-items:center;gap:15px;padding:14px 18px;border-bottom:1px solid var(--line);min-width:0}
.inventory-item:last-child{border-bottom:0}.inventory-avatar{width:45px;height:45px;flex:0 0 45px;background:#eef4e8;border-radius:12px;display:grid;place-items:center;color:#476c25;font-size:19px}
.inventory-info{flex:1;min-width:0;display:grid;gap:5px}.inventory-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-info span,.inventory-info small{font-size:11px;color:var(--muted)}.inventory-price{white-space:nowrap;font-size:14px;font-weight:800}.inventory-edit{min-width:64px}.inventory-empty{padding:38px 18px;text-align:center;color:var(--muted);font-size:13px}.product-editor{gap:15px}.product-kind{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kind-choice{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 7px;min-height:47px;font-size:12px;font-weight:750;color:#566170}.kind-choice.chosen{border-color:#6ea82c;background:#f0f8e7;color:#385b1b}.kind-choice:disabled{opacity:1}.advanced-product{border:1px solid var(--line);border-radius:11px;padding:13px}.advanced-product summary{cursor:pointer;font-size:12px;font-weight:700;color:#667380}.product-more{display:grid;gap:12px;padding-top:16px}.product-submit{width:100%;min-height:50px}.product-success{text-align:center;display:grid;justify-items:center;gap:9px}.product-success strong{font-size:17px}.product-success p{font-size:12px;color:var(--muted)}.success-mark{height:49px;width:49px;border-radius:50%;background:#ecf8df;color:#52852d;display:grid;place-items:center;font-weight:900;font-size:26px}.product-success-actions{display:grid;width:100%;gap:8px;margin-top:12px}.product-success-actions .text-button{text-align:center;min-height:36px}
@media(max-width:690px){.inventory-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:13px}.inventory-avatar{width:40px;height:40px;flex-basis:40px}.inventory-info{grid-column:2;grid-row:1/3}.inventory-info strong{white-space:normal}.inventory-price{grid-column:3;grid-row:1;text-align:right}.inventory-edit{grid-column:3;grid-row:2;padding:9px}.modal{max-height:94dvh}.product-kind{gap:7px}}


/* Return/refund wizard: concise, tactile, accessible on phone, iPad and desktop. */
.guided-return{gap:14px}.return-lines{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}
.return-line{display:flex!important;flex-direction:row!important;gap:12px;align-items:center;justify-content:space-between;margin:0!important;padding:13px 14px;border-bottom:1px solid var(--line)}
.return-line:last-child{border-bottom:0}.return-line-details{min-width:0;flex:1;display:grid;gap:5px}
.return-line-details strong{font-size:13px;color:var(--ink)}.return-line-details small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.return-line input.return-qty{width:72px!important;min-width:72px;min-height:46px;padding:10px!important;text-align:center;font-size:16px;font-weight:700;border-radius:9px;border:1px solid var(--line);background:#f8faf7}
.return-note{display:grid;gap:6px;padding:12px 14px;border:1px solid #dbe8d3;background:#f5faf1;border-radius:12px;font-size:12px}
.return-note b{color:#325e24}.return-note small{color:#5b6957;line-height:1.45}
.return-check{display:flex!important;flex-direction:row!important;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;padding:10px;border-radius:10px;background:var(--paper,#f7f8f6)}
.return-check input{margin-top:2px!important;min-width:19px;min-height:19px;width:19px;height:19px;flex:0 0 19px;accent-color:#427d2f}
.guided-return button[type=submit],.refund-confirm button[type=submit]{min-height:49px;width:100%}
.sale-refund-history{margin-top:17px;padding-top:16px;border-top:1px solid var(--line)}
.return-history-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.return-history-header strong{font-size:14px}.return-history-header button{min-height:42px;white-space:nowrap}
.return-record{display:flex;gap:10px;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line)}
.return-record>div{display:grid;align-content:start;gap:6px}.return-record>div:last-child{justify-items:end;text-align:right}
.return-record b{font-size:12px}.return-record small{font-size:10px;color:var(--muted)}
.return-record strong{font-size:14px}.return-record button{min-height:41px}
@media(max-width:430px){.return-line{padding:12px 9px}.return-line input.return-qty{width:60px!important;min-width:60px}.return-record{flex-wrap:wrap}.return-record>div:last-child{margin-left:auto}.return-history-header{align-items:flex-start}.return-history-header button{padding:10px}}

.refund-queue{margin-top:16px;padding:18px}.refund-queue>p{font-size:12px;margin:5px 0 11px}
.refund-queue-row{display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}
.refund-queue-row>div{display:grid;gap:5px;min-width:0;flex:1}
.refund-queue-row b{font-size:12px}.refund-queue-row small{font-size:11px;color:var(--muted)}
.refund-queue-row strong{font-size:13px;white-space:nowrap}
.refund-queue-row button{min-height:42px}
@media(max-width:420px){.refund-queue{padding:13px}.refund-queue-row{gap:8px;flex-wrap:wrap}.refund-queue-row button{margin-left:auto;min-width:76px}}

.return-preview-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#111821;color:#fff;border-radius:13px;padding:16px;margin-top:3px}.return-preview-total span{font-size:12px;color:#d5dce3}.return-preview-total strong{font-size:clamp(18px,5vw,24px);font-variant-numeric:tabular-nums}

/* Checkout UX: manually find a specific phone; scanner is never required. */
.card-action{display:block;margin-top:2px;font-size:11px;font-weight:800;color:#4b7c2d}
.product-card:disabled .card-action{color:#8b95a0}.product-card:disabled .card-action::after{content:" · Out of stock"}
.more-products{grid-column:1/-1;background:#fff;border:1px dashed #b5c4b6;border-radius:12px;padding:17px;font-weight:800;color:#315b25;min-height:48px;cursor:pointer}
.device-picker{display:grid;gap:14px}
.device-picker>p{font-size:12px;line-height:1.6;margin:0}
.device-picker label{display:grid;gap:8px;font-size:12px;font-weight:800}
.device-picker input{width:100%;min-height:49px;border:1px solid #b6c4b5;border-radius:11px;padding:12px 14px;font-size:16px;background:#fff}
.device-list{display:grid;gap:8px;max-height:min(43dvh,340px);overflow-y:auto;overscroll-behavior:contain}
.device-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid #e1e9de;border-radius:12px;min-height:64px;background:#fff;padding:11px 13px;text-align:left;cursor:pointer}
.device-choice:hover,.device-choice:focus-visible{background:#f3faec;border-color:#83b658}
.device-choice-info{display:grid;gap:5px;min-width:0}.device-choice-info strong{font-size:13px;overflow-wrap:anywhere;line-height:1.4}.device-choice-info small{font-size:11px;color:#687785;overflow-wrap:anywhere}
.device-choice-add{white-space:nowrap;font-size:12px;color:#3b7528;font-weight:800}
.device-empty{font-size:12px;line-height:1.6;color:#6b7683;background:#f6f8f6;border-radius:12px;padding:17px}
.mini-btn{width:44px;height:44px;min-width:44px;border-radius:11px;font-size:20px;font-weight:700}
.staff-chip{min-height:46px}.staff-choice{min-height:54px}
#cart-lines button[data-remove]{min-height:44px;padding:10px}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #578d36;outline-offset:3px}
@media(max-width:690px){
 .overlay{align-items:end;padding:0}
 .modal{width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:24px 19px calc(18px + env(safe-area-inset-bottom));overscroll-behavior:contain}
 .device-list{max-height:42dvh}
 .mobile-cart-bar{bottom:calc(10px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.product-card,.sidebar{transition:none!important}.product-card{transform:none!important}}

/* Brand hierarchy: a merchant runs THEIR store; Palmward One is the quiet product endorsement. */
.boot-screen{position:fixed;inset:0;z-index:120;display:grid;place-items:center;background:#0b1f19;color:#f8faf6;padding:25px}
.boot-screen[hidden]{display:none!important}
.boot-identity{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.boot-identity img{display:block;width:46px;height:110px;object-fit:contain}
.boot-identity strong{font-size:22px;font-weight:800;letter-spacing:-.65px;margin-top:10px}
.boot-identity span{font-size:12px;color:#abbfb5;letter-spacing:.08px}
.auth-merchant-lockup{display:flex;align-items:center;min-height:68px;max-width:100%;overflow:hidden}
.auth-merchant-lockup #auth-istore-logo{display:block;width:min(190px,100%);height:auto;max-height:60px;object-fit:contain;object-position:left center}
.auth-merchant-lockup #auth-istore-logo[hidden]{display:none!important}
.auth-one-lockup{display:flex;align-items:center;gap:14px}
.auth-one-lockup strong{font-size:25px;letter-spacing:-1px;line-height:1.15;font-weight:850}
.auth-one-lockup img{width:23px;height:56px;object-fit:contain}
.auth-powered{display:flex;align-items:center;justify-content:center;gap:7px;margin:17px 0 -15px;color:#78858b;font-size:10px;letter-spacing:.1px}
.auth-powered strong{font-weight:750;color:#384e43}
.auth-powered img{object-fit:contain}
.sidebar-brand{min-height:57px;display:flex;align-items:center;gap:10px;padding:0 10px}
.sidebar-brand #store-logo{display:block;width:158px;height:46px;max-width:100%;object-fit:contain;object-position:left center}
.sidebar-brand #store-logo[hidden]{display:none!important}
.sidebar-compact-istore{display:none}
.generic-store-brand{display:flex;align-items:center;gap:11px;min-width:0}
.generic-store-brand strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-pill{margin-top:20px;margin-bottom:26px;min-height:60px;gap:11px;padding:11px 13px}
.store-pill-indicator{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#c5fb69}
.store-pill .store-info strong{font-size:12px}
.powered-by-one{display:flex;align-items:center;gap:6px;padding-top:18px;margin-top:12px;border-top:1px solid #2b3540;color:#899b99;font-size:10px;white-space:nowrap}
.powered-by-one img{object-fit:contain;flex:0 0 auto}
.powered-by-one strong{color:#d9e3de;font-size:11px;letter-spacing:-.2px}
.mobile-store-brand{display:none;align-items:center;gap:6px;min-width:0}
.mobile-store-brand img{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain}
.mobile-store-brand img[hidden]{display:none!important}
.mobile-store-brand strong{color:#1c2831;font-weight:830;font-size:14px;white-space:nowrap;max-width:115px;overflow:hidden;text-overflow:ellipsis}
@media(min-width:691px) and (max-width:900px){
 .app-shell.is-istore .sidebar-brand #store-logo{display:none}
 .app-shell.is-istore .sidebar-compact-istore{display:block;width:36px;height:36px;object-fit:contain}
 .sidebar-brand{justify-content:center;padding:0}
 .store-pill{justify-content:center;min-height:51px;padding:9px 3px}
 .store-pill-indicator{width:10px;height:10px;flex-basis:10px}
 .sidebar .powered-by-one{display:none}
 .app-shell:not(.is-istore) .generic-store-brand strong{display:none}
}
@media(max-width:690px){
 .sidebar-brand{justify-content:flex-start;padding:0 9px}
 .sidebar-brand #store-logo{width:158px}
 .app-shell.is-istore .sidebar-compact-istore{display:none}
 .mobile-store-brand{display:flex}
 .topbar{gap:9px}
 .topbar .page-heading{flex:1;min-width:0}
 .topbar .page-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .store-pill{margin-top:20px}
 .auth-merchant-lockup{min-height:61px}
 .auth-merchant-lockup #auth-istore-logo{width:170px}
}
@media(max-width:390px){
 .app-shell.is-istore .mobile-store-brand strong{display:none}
 .mobile-store-brand img{width:29px;height:29px;flex-basis:29px}
 .topbar .page-heading small{font-size:8px;letter-spacing:.4px}
 .topbar .page-heading strong{font-size:13px}
 .topbar .staff-chip{padding-left:6px}
}
@media(prefers-reduced-motion:reduce){.boot-screen,.boot-identity *{animation:none!important;transition:none!important}}

/* Actual official iStore wordmark on standard smartphones; compact symbol at 360px and below. */
@media(max-width:690px){
 .app-shell.is-istore #mobile-store-logo{display:none}
 .app-shell.is-istore #mobile-store-wordmark{display:block;width:92px;height:29px;flex:0 0 92px;object-fit:contain}
 .app-shell.is-istore #mobile-store-name{display:none}
}
@media(max-width:360px){
 .app-shell.is-istore #mobile-store-wordmark{display:none}
 .app-shell.is-istore #mobile-store-logo{display:block;width:29px;height:29px;flex:0 0 29px}
}
/* Owner/manager Tools hub: compact navigation, comfortable touch targets, no fake settings. */
.nav-item[hidden],.manager[hidden],.tool-tile[hidden],.view[hidden]{display:none!important}
.nav-tools{margin-top:17px;border-top:1px solid #2b3540;border-radius:0 0 10px 10px;padding-top:14px;height:60px}
.inventory-header-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.tools-heading{margin:10px 0 14px}
.tools-heading h3{font-size:16px;letter-spacing:-.35px}
.tools-heading p{font-size:12px;line-height:1.6;margin-top:6px}
.tools-group-space{margin-top:30px}
.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tool-tile{display:grid;grid-template-columns:44px minmax(0,1fr) 14px;gap:13px;align-items:center;text-align:left;min-height:106px;width:100%;border:1px solid var(--line);background:var(--surface);padding:18px;border-radius:14px;transition:border-color .15s,box-shadow .15s,transform .15s}
.tool-tile:hover{border-color:#b8d597;box-shadow:0 9px 26px rgba(19,25,35,.055);transform:translateY(-1px)}
.tool-tile:focus-visible{outline:2px solid #91be55;outline-offset:2px}
.tool-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#f1f5ed;color:#4f742b;font-size:23px}
.tool-tile strong{display:block;font-size:13px;font-weight:780;letter-spacing:-.18px}
.tool-tile small{display:block;color:var(--muted);font-size:11px;line-height:1.55;margin-top:5px;max-width:32ch}
.tool-arrow{font-size:15px;color:#87949e;align-self:start}
@media(max-width:800px){.tools-grid{grid-template-columns:1fr}.tool-tile{min-height:88px;padding:15px}.nav-tools{margin-top:7px}}
@media(max-width:430px){.inventory-header-actions{width:100%;justify-content:flex-start}.tool-tile{grid-template-columns:41px minmax(0,1fr) 14px;gap:11px}.tool-icon{width:41px;height:41px}}


/* Canonical Palmward One product mark; iStore merchant mark remains separate */
.brand-mark img{display:block;width:26px;height:49px;object-fit:contain}
.sidebar-brand .brand-mark{flex:0 0 31px}
.sidebar-brand .brand-mark img{height:43px;width:26px}
.sidebar-brand .mark-light{color:#D7F88A;font-weight:700}

/* Product identity only: tenant iStore logo is unchanged. */
.auth-card .auth-brand{justify-content:flex-start;width:100%;overflow:hidden;min-height:56px}
.auth-card .auth-brand img{width:min(100%,242px);height:auto;max-height:56px;object-fit:contain;object-position:left center}
.sidebar-brand .mark-light{color:#D7F88A;font-weight:700}
@media(max-width:360px){.auth-card{padding:24px 20px}.auth-card .auth-brand img{width:min(100%,220px)}}

/* v7 forward-port: cash tender is legible without a scanner or calculator. */
.cash-change{margin:4px 0 10px;padding:10px 12px;background:#eef7e9;color:#285a2a;border-radius:10px;font-size:12px;font-weight:700;line-height:1.45}
.cash-change.insufficient{background:#fff2e5;color:#96430f}
#cash-tender input{min-height:44px;font-size:16px}

/* PALMWARD ONE — retail design foundations v1
   Brand tokens are canonical in docs/branding/ONE-UI-SYSTEM.md.
   This layer only changes presentation; sales, permissions and stock remain unchanged. */
:root{
  --one-pine:#0B1F19;--one-pine-raised:#17372C;--one-teal:#087C68;
  --one-lime:#D7F88A;--one-ivory:#F8FAF6;--one-ink:#0D261D;
  --one-muted:#50695B;--one-line:#D7E1D5;--one-white:#FFFFFF;
  --one-radius-xs:8px;--one-radius-sm:12px;--one-radius-md:16px;--one-radius-lg:20px;
  --one-shadow:0 10px 28px rgba(11,31,25,.045);
  --ink:var(--one-ink);--muted:var(--one-muted);--bg:var(--one-ivory);
  --nav:var(--one-pine);--lime:var(--one-lime);--green:#17674F;
  --surface:var(--one-white);--line:var(--one-line);--shadow:var(--one-shadow);
  font-family:-apple-system,BlinkMacSystemFont,Inter,"Segoe UI",Roboto,Arial,sans-serif;
  font-synthesis:none;font-optical-sizing:auto;
}
html{scrollbar-gutter:stable}
body{font-size:14px;line-height:1.45}
h2,h3,.page-heading strong{color:var(--one-ink);font-weight:650}
h2{letter-spacing:-.035em;line-height:1.14}
h3{letter-spacing:-.022em}
.muted{color:var(--one-muted)}
.eyebrow{color:#486F5B;letter-spacing:.11em;font-size:10px;font-weight:750}
.micro{font-size:12px;line-height:1.55}
.primary,.secondary,.scan-btn,.icon-btn,.nav-item,.product-card,.mini-btn,.staff-choice{
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.primary{background:var(--one-pine);border-color:var(--one-pine);border-radius:var(--one-radius-sm);color:#fff;font-weight:650}
.primary:hover:not(:disabled){background:var(--one-pine-raised);border-color:var(--one-pine-raised)}
.secondary{border-color:var(--one-line);border-radius:var(--one-radius-sm);background:#fff;color:var(--one-ink);font-weight:650}
.secondary:hover:not(:disabled),.scan-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled){border-color:#92B4A0;background:#F2F7F0}
.text-button{color:#476B58}
.text-button:hover{color:var(--one-pine)}
button:focus-visible,.nav-item:focus-visible,a:focus-visible,summary:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--one-teal);outline-offset:3px;
}
.form-stack input:focus,.paper-form input:focus,.paper-form select:focus,
.paper-form textarea:focus,.inline-label input:focus,.inline-label select:focus,
.customer-details input:focus,.modal-form input:focus,.modal-form select:focus{
  border-color:var(--one-teal);box-shadow:0 0 0 3px rgba(8,124,104,.12);outline:0;
}
input,select,textarea{color:var(--one-ink)}
.auth-shell{background:radial-gradient(ellipse at 70% -24%,#224E3D 0%,transparent 52%),var(--one-pine)}
.auth-card{border-radius:var(--one-radius-lg);box-shadow:0 24px 68px rgba(0,0,0,.16)}
.auth-card h1{font-weight:680;color:var(--one-pine);letter-spacing:-.035em}
.auth-note{color:var(--one-muted)}
.sidebar{background:var(--one-pine)}
.sidebar-brand strong{font-weight:700;letter-spacing:-.025em}
.sidebar-brand small{color:#ABC8B5;letter-spacing:.08em;line-height:1.5}
.sidebar-brand .mark-light{color:var(--one-lime)}
.store-pill{background:#14372A;border-color:#305846;border-radius:var(--one-radius-sm)}
.store-icon{background:var(--one-lime);color:var(--one-pine);font-weight:750}
.store-info small{color:#ABC8B5}
.nav-list{gap:5px}
.nav-item{min-height:46px;height:auto;font-size:13px;font-weight:600;color:#C2D7C9;border-radius:11px}
.nav-item:hover{background:#1A4634;color:#fff}
.nav-item.active,.nav-item[aria-current="page"]{background:var(--one-lime);color:var(--one-pine)}
.nav-ico{width:20px;height:20px;flex:0 0 20px;display:block;stroke:currentColor}
.sidebar-bottom{border-top-color:#2D5743}
.connection{color:#C4D9CA}
.status-dot{background:#C5E993}
.status-dot.down{background:#F0AF65}
.topbar{background:#fff;border-bottom-color:var(--one-line)}
.page-heading small{color:#537260;letter-spacing:.1em}
.page-heading strong{font-size:16px}
.scan-btn{border-radius:10px}
.staff-avatar{background:#E5F1E5;color:#17674F}
.today-tag{border-color:var(--one-line);color:var(--one-muted)}
.search-wrap{border-color:var(--one-line);box-shadow:none}
.search-wrap:focus-within{border-color:var(--one-teal);box-shadow:0 0 0 3px rgba(8,124,104,.11)}
.search-wrap input{color:var(--one-ink)}
.search-icon{color:#607C6B}
.kbd{background:#F2F7F1;border-color:var(--one-line);color:var(--one-muted)}
.catalog-heading span{color:var(--one-muted)}
.product-card{border-color:var(--one-line);border-radius:var(--one-radius-md);box-shadow:none}
.product-card:hover:not(:disabled){border-color:#88B89B;box-shadow:var(--one-shadow);transform:none}
.product-card:active:not(:disabled){background:#F5F9F4}
.picon{background:#EDF4EC;color:#17674F;border-radius:11px}
.product-card strong{font-weight:650;font-size:13px}
.product-card .price{font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}
.product-card .pmeta{color:var(--one-muted);font-size:11px}
.cart-panel{border-left-color:var(--one-line)}
.cart-head,.cart-summary{border-color:var(--one-line)}
.cart-head h3 span{background:#EAF4E7;color:#17674F}
.cart-empty{color:var(--one-muted)}
.cart-line{border-bottom-color:#E8EEE8}
.cart-line .item-name{font-weight:650}
.cart-line .item-price,.total-row strong{color:var(--one-ink);font-variant-numeric:tabular-nums}
.total-row{color:var(--one-muted);font-size:12px}
.total-row.big{color:var(--one-ink)}
.total-row.big strong{font-weight:750;letter-spacing:-.03em}
.cart-summary .micro{color:var(--one-muted)}
.mini-btn{width:35px;height:35px;display:grid;place-items:center}
.table-wrap,.paper-form,.stat-card,.dash-panel{border-color:var(--one-line);border-radius:var(--one-radius-md);box-shadow:none}
.data-table th{background:#F4F8F3;color:#567361;font-weight:700}
.data-table th,.data-table td{border-bottom-color:#E8EEE8}
.data-table .click:hover{background:#F1F7F0}
.pill{background:#E7F2E8;color:#205C44}
.stat-card small{color:var(--one-muted)}
.stat-card strong{font-weight:700;color:var(--one-ink);font-variant-numeric:tabular-nums}
.stat-card .hint,.dash-panel p{color:var(--one-muted)}
.dash-panel h3{font-weight:700}
.overlay{background:rgba(5,19,14,.68)}
.modal{border-radius:var(--one-radius-lg);box-shadow:0 24px 70px rgba(0,0,0,.18)}
.mobile-cart-bar{background:var(--one-pine);color:#fff}
#toast .toast-message{background:var(--one-pine);color:#fff}
@media (min-width:691px) and (max-width:900px){
  .sidebar-brand>div:last-child,.store-pill .store-info,.sidebar-bottom{display:none}
  .sidebar .nav-item{font-size:0;justify-content:center}
  .sidebar .nav-ico{width:21px;height:21px;flex-basis:21px}
}
@media(max-width:690px){
  .sidebar .nav-item{font-size:13px;justify-content:flex-start}
  .selling-left{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .mobile-cart-bar{bottom:calc(12px + env(safe-area-inset-bottom,0px));box-shadow:0 12px 32px rgba(6,27,18,.22)}
  .cart-panel{max-height:90dvh;padding-bottom:env(safe-area-inset-bottom,0px);overscroll-behavior:contain}
  .mini-btn{min-width:44px;min-height:44px}
  .search-wrap input,.form-stack input,.form-stack select,
  .paper-form input,.paper-form select,.paper-form textarea,
  .inline-label input,.inline-label select,.customer-details input,
  .modal-form input,.modal-form select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .primary,.secondary,.scan-btn,.icon-btn,.nav-item,.product-card,.mini-btn,.staff-choice{transition:none}
}

/* One coherent outline icon weight in scanner and both product searches. */
.scan-btn{display:inline-flex;align-items:center;gap:8px}
.action-icon{width:19px;height:19px;flex:0 0 19px}
.search-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
.search-icon svg{width:19px;height:19px;display:block}

/* Shared register, 691–900px: keep sign-out reachable when the sidebar collapses. */
@media (min-width:691px) and (max-width:900px){
  .sidebar .sidebar-bottom{display:flex;flex-direction:column;align-items:center;padding:12px 0;border-top:1px solid var(--one-line)}
  .sidebar .connection{display:none}
  .sidebar #signout{display:grid;place-items:center;width:44px;min-height:44px;padding:0;font-size:0;color:#fff;border-radius:11px}
  .sidebar #signout::before{content:"↗";font-size:22px;line-height:1}
  .sidebar #signout:focus-visible{outline:3px solid var(--one-lime)}
}

/* Quiet, persistent distinction between the isolated trial and a live shop. */
#trial-banner{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:150;width:max-content;max-width:calc(100vw - 24px);padding:6px 14px;background:#0b1f19;color:#e9f2e8;border:1px solid #35594b;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 2px 12px #09191122;font:600 11px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:.005em;text-align:center;pointer-events:none}
#trial-banner[hidden]{display:none!important}
@media(max-width:690px){#trial-banner{font-size:10px;padding:5px 9px;white-space:normal;line-height:1.35}}


/* IMEI camera flow — uses existing Palmward One tokens. */
.imei-intake-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.imei-intake-actions .micro{flex:1 1 210px;line-height:1.6}
#receive-count{margin-top:9px;color:var(--one-muted)}
.imei-scanner{width:min(96vw,540px);max-height:92dvh;overflow-y:auto;overscroll-behavior:contain}
.imei-scanner .scanner-instruction{font-size:13px;line-height:1.6;margin:4px 0 13px;padding-right:22px}
.imei-scanner .scanner-instruction strong{color:var(--one-ink);font-variant-numeric:tabular-nums}
.scanner-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#edf4ec;border-radius:12px;padding:5px;margin:12px 0}
.scanner-modes button{border:0;border-radius:9px;min-height:43px;padding:8px 10px;background:transparent;font-size:12px;font-weight:700;color:var(--one-muted)}
.scanner-modes button.active{background:white;color:var(--one-ink);box-shadow:0 2px 7px #071f1412}
.imei-scanner video{display:block;width:100%;max-height:36dvh;min-height:145px;object-fit:contain;background:#101a17;border-radius:13px;margin:9px 0 12px}
.imei-scanner #scanner-capture{margin-bottom:10px}
.imei-scanner #scanner-note{line-height:1.55;min-height:24px;margin:8px 0 12px}
.scanner-results{padding:12px;border:1px solid var(--one-line);border-radius:13px;background:#f7faf6;margin-bottom:12px}
.scanner-results .scanner-review-label{font-size:12px;font-weight:650;margin-bottom:8px}
.scanner-choice{display:block;width:100%;text-align:left;border:1px solid #aac4b0;border-radius:10px;background:white;padding:12px;margin-top:6px;font-size:16px;letter-spacing:.05em;font-variant-numeric:tabular-nums;font-weight:750}
.scanner-choice:hover{border-color:#228867}
.scanner-manual-form{border-top:1px solid var(--one-line);padding-top:14px;display:flex;gap:8px;align-items:end}
.scanner-manual-form label{flex:1;min-width:0;font-size:11px;font-weight:700;display:grid;gap:6px}
.scanner-manual-form input{width:100%;min-height:44px;padding:11px 12px;border:1px solid #dce5df;border-radius:10px;letter-spacing:.02em;font-variant-numeric:tabular-nums;font-size:16px}
.scanner-manual-form button{flex:0 0 auto}
.scanner-privacy{padding-top:13px;line-height:1.55}
@media(max-width:420px){.scanner-manual-form{flex-direction:column;align-items:stretch}.scanner-manual-form button{width:100%}.imei-scanner{padding:19px}.imei-scanner video{max-height:29dvh}}

.imei-scanner #scanner-capture[hidden]{display:none}

.imei-scanner .scanner-results[hidden]{display:none}
.imei-scanner .scanner-choice{min-height:48px}
.imei-scanner #scanner-manual:focus{outline:2px solid var(--one-teal);outline-offset:2px}

/* A single contextual shortcut for a real staff task, never an extra sales step. */
.sell-task-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--one-line,#dce5df);border-radius:12px;background:#f7faf7;padding:11px 13px;margin:0 0 12px}
.sell-task-shortcut[hidden]{display:none}
.sell-task-shortcut>span{min-width:0;display:grid;gap:3px}
.sell-task-shortcut strong{font-size:13px;color:var(--one-ink,#142c22)}
.sell-task-shortcut small{font-size:12px;color:var(--one-muted,#64746e);overflow-wrap:anywhere}
.sell-task-shortcut button{flex:0 0 auto;min-height:44px}
@media(max-width:360px){.sell-task-shortcut{flex-wrap:wrap}.sell-task-shortcut button{width:100%}}
