:root{--bg:#f3f6f4;--surface:#fff;--surface-soft:#edf3ef;--ink:#17231d;--muted:#66736c;--line:#dbe4de;--brand:#155e45;--brand-dark:#104a37;--brand-soft:#dff2e8;--warning:#a65d0a;--warning-soft:#fff3dc;--danger:#b42318;--danger-soft:#fee9e7;--shadow:0 12px 32px #16302414}*{box-sizing:border-box}html{background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}body{background:var(--bg);min-height:100vh;margin:0}button,input,select{color:inherit;font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #155e4547}h1,h2,p{margin-top:0}.app-frame{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#f9fbfa;flex-direction:column;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 8px 24px;display:flex}.brand-mark{background:var(--brand);color:#fff;letter-spacing:.06em;border-radius:12px;place-items:center;width:42px;height:42px;font-size:13px;font-weight:800;display:grid}.brand strong,.brand small{display:block}.brand strong{font-size:16px}.brand small{color:var(--muted);margin-top:3px;font-size:11px}.side-nav{gap:6px;display:grid}.nav-item{color:#46534c;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;min-height:46px;padding:0 14px;font-weight:650;display:flex}.nav-item:hover{background:var(--surface-soft)}.nav-item.active{background:var(--brand-soft);color:var(--brand-dark)}.nav-dot{border:2px solid #95a39b;border-radius:50%;width:8px;height:8px}.nav-item.active .nav-dot{border-color:var(--brand);background:var(--brand)}.sidebar-footer{color:var(--muted);gap:8px;margin-top:auto;padding:16px 10px 4px;display:grid}.demo-label{background:var(--warning-soft);color:#7a480b;letter-spacing:.06em;text-transform:uppercase;border-radius:5px;width:fit-content;padding:4px 7px;font-size:10px;font-weight:800}.device-label{background:var(--brand-soft);width:fit-content;color:var(--brand-dark);letter-spacing:.06em;text-transform:uppercase;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:800}.app-content{min-width:0}.topbar{z-index:10;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f9fbfaf0;justify-content:space-between;align-items:center;gap:20px;min-height:70px;padding:12px 30px;display:flex;position:sticky;top:0}.topbar p,.topbar strong{margin:0}.topbar strong{font-size:17px}.eyebrow{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:800}.connection-area{align-items:center;gap:8px;display:flex}.connection,.pending-badge,.last-sync,.keyboard-hint{border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.scan-actions{align-items:center;gap:7px;display:flex}.camera-scan-button{border:1px solid var(--brand);min-height:34px;color:var(--brand);cursor:pointer;background:#fff;border-radius:8px;padding:0 11px;font-size:11px;font-weight:750}.camera-dialog{width:min(560px,100%)}.camera-preview{aspect-ratio:4/3;background:#101713;border-radius:12px;margin-top:18px;position:relative;overflow:hidden}.camera-preview video{object-fit:cover;width:100%;height:100%}.camera-preview span{border:2px solid #7cf0b5;border-radius:8px;position:absolute;inset:30% 10%;box-shadow:0 0 0 999px #00000042}.connection span{border-radius:50%;width:7px;height:7px}.connection.online{background:var(--brand-soft);color:var(--brand-dark)}.connection.online span{background:#198754}.connection.offline{background:var(--warning-soft);color:#70420a}.connection.offline span{background:#d47a0a}.pending-badge{color:#4e5b54;background:#edf0ee}.pair-device-button{border:1px solid var(--brand);min-height:34px;color:var(--brand-dark);cursor:pointer;background:#fff;border-radius:8px;padding:0 12px;font-size:12px;font-weight:750}.staff-button{border:1px solid var(--line);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#fff;border-radius:8px;max-width:150px;min-height:34px;padding:0 11px;font-size:11px;font-weight:750;overflow:hidden}.staff-login-backdrop{z-index:120}.sync-retry{background:var(--warning-soft);color:#70420a;cursor:pointer;border:1px solid #d8a24f;border-radius:8px;min-height:32px;padding:0 10px;font-size:11px;font-weight:750}.main-content{padding:32px}.view-stack{gap:24px;width:min(1180px,100%);margin:0 auto;display:grid}.narrow-view{width:min(900px,100%)}.welcome-row,.list-heading,.sale-heading,.section-heading,.cart-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.welcome-row h1,.list-heading h1,.sale-heading h1{letter-spacing:-.035em;margin-bottom:8px;font-size:clamp(25px,3vw,34px)}.welcome-row p:last-child,.list-heading p:last-child{color:var(--muted);margin-bottom:0}.sync-note{background:var(--warning-soft);color:#64400d;border:1px solid #efd09a;border-radius:10px;gap:4px;max-width:330px;padding:13px 15px;display:grid}.sync-note strong{font-size:13px}.sync-note span{font-size:11px;line-height:1.4}.pairing-banner{background:var(--warning-soft);color:#64400d;border:1px solid #efd09a;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.pairing-banner>div{gap:4px;display:grid}.pairing-banner span{font-size:12px;line-height:1.45}.pairing-banner button{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:8px;flex:none;min-height:40px;padding:0 15px;font-weight:750}.stale-data-warning{background:var(--warning-soft);color:#70420a;border:1px solid #efd09a;border-radius:9px;margin:0;padding:11px 14px;font-size:12px}.dialog-backdrop{z-index:100;background:#0a181194;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pairing-dialog{background:#fff;border-radius:16px;width:min(500px,100%);max-height:calc(100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #081b123d}.supplier-return-dialog{width:min(900px,100%)}.sale-return-dialog{width:min(680px,100%)}.return-lines{gap:8px;display:grid}.return-lines label{border:1px solid var(--line);border-radius:10px;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:16px;padding:12px 14px;display:grid}.return-lines label>span{gap:3px;display:grid}.return-lines small{color:var(--muted)}.return-lines input{border:1px solid var(--line);border-radius:8px;width:100%;height:42px;padding:0 10px}.select-all-return{justify-self:start}.today-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.today-heading-actions .dialog-error{text-align:right;flex-basis:100%;margin:0}.barcode-list{gap:8px;margin:18px 0;display:grid}.barcode-list>div{border:1px solid var(--line);border-radius:9px;justify-content:space-between;gap:16px;padding:11px 13px;display:flex}.barcode-list span{color:var(--muted)}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.dialog-heading h2{margin:0;font-size:22px}.dialog-heading>button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:8px;width:38px;height:38px;font-size:24px;line-height:1}.dialog-description{color:var(--muted);margin:18px 0;font-size:13px;line-height:1.55}.demo-warning,.dialog-error{background:var(--warning-soft);color:#70420a;border-radius:8px;margin:0 0 14px;padding:10px 12px;font-size:12px;line-height:1.45}.dialog-error{background:var(--danger-soft);color:var(--danger)}.pairing-form,.pairing-form label{gap:8px;display:grid}.pairing-form{gap:16px}.pairing-form label{color:var(--muted);font-size:12px;font-weight:700}.pairing-form input,.pairing-form select,.pairing-form textarea{border:1px solid var(--line);background:#fff;border-radius:9px;height:46px;padding:0 12px;font-size:15px}.pairing-form textarea{resize:vertical;height:auto;min-height:82px;padding-block:11px;font-family:inherit}.party-create-form label:first-child input{letter-spacing:normal;text-transform:none;font-family:inherit;font-weight:400}.list-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.settings-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;display:grid}.settings-panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px}.settings-panel h2{margin:0;font-size:20px}.staff-list{margin-top:16px;display:grid}.staff-list>div{border-top:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:62px;display:grid}.staff-list>div:first-child{border-top:0}.staff-list span:nth-child(2){gap:3px;display:grid}.staff-list small{color:var(--muted)}.staff-list b{background:var(--brand-soft);color:var(--brand-dark);border-radius:999px;padding:4px 7px;font-size:10px}.device-details{gap:0;margin:16px 0 0;display:grid}.device-details>div{border-top:1px solid var(--line);justify-content:space-between;gap:16px;padding:11px 0;display:flex}.device-details dt{color:var(--muted)}.device-details dd{text-align:right;margin:0;font-weight:700}.inventory-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.compact-action{border:1px solid var(--line);min-height:42px;color:var(--brand);cursor:pointer;background:#fff;border-radius:8px;padding:0 11px;font-size:11px;font-weight:750}.visually-hidden{clip:rect(0 0 0 0)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.inventory-tools input{width:min(290px,100%)}.inventory-tools .secondary-button{flex:none}.product-create-form{margin-top:18px}.form-grid-two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pairing-form label:first-child input{letter-spacing:.08em;text-transform:uppercase;font-family:Consolas,monospace;font-weight:750}.dialog-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:4px;display:flex}.dialog-actions .complete-sale{min-width:150px;padding:0 16px}.quick-actions{grid-template-columns:1.25fr repeat(3,1fr);gap:14px;display:grid}.quick-actions.cashier-actions{grid-template-columns:1.25fr repeat(2,1fr)}.quick-action{border:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;border-radius:14px;align-content:end;gap:6px;min-height:142px;padding:20px;transition:border-color .15s,transform .15s;display:grid;box-shadow:0 5px 18px #1630240a}.quick-action:hover{border-color:#9bb5a6;transform:translateY(-2px)}.quick-action.primary{border-color:var(--brand);background:var(--brand);color:#fff}.quick-action strong{font-size:19px}.quick-action small{color:var(--muted);line-height:1.35}.quick-action.primary small,.quick-action.primary .action-kicker{color:#cce8da}.action-kicker{color:var(--brand);letter-spacing:.1em;margin-bottom:auto;font-size:10px;font-weight:800}.home-grid{grid-template-columns:1.3fr 1fr;gap:18px;display:grid}.panel,.upload-panel,.ledger-summary,.ledger-list,.data-list{border:1px solid var(--line);background:var(--surface);border-radius:14px;box-shadow:0 5px 18px #16302409}.panel{padding:22px}.section-heading h2,.cart-heading h2{margin:0;font-size:18px}.text-button{min-height:34px;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0 8px;font-size:12px;font-weight:750}.metric-row{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px;display:grid}.metric-row div{gap:7px;display:grid}.metric-row span{color:var(--muted);font-size:12px}.metric-row strong{font-size:clamp(17px,2vw,23px)}.attention-list{gap:15px;margin:23px 0 0;padding:0;list-style:none;display:grid}.attention-list li{color:#3c4942;align-items:center;gap:10px;font-size:13px;display:flex}.severity{background:#8ca298;border-radius:50%;width:8px;height:8px}.severity.high{background:var(--danger)}.severity.medium{background:#d27a0b}.severity.low{background:#69877a}.sale-layout{border:1px solid var(--line);background:var(--surface);width:min(1280px,100%);min-height:calc(100vh - 134px);box-shadow:var(--shadow);border-radius:16px;grid-template-columns:minmax(0,1fr) 390px;margin:0 auto;display:grid;overflow:hidden}.sale-products{border-right:1px solid var(--line);min-width:0;padding:26px}.sale-heading h1{margin:0;font-size:26px}.keyboard-hint{background:var(--surface-soft);color:#4e5b54}.product-search{gap:7px;margin:24px 0 20px;display:grid}.product-search label,.customer-select{color:var(--muted);font-size:12px;font-weight:700}.product-search>div{background:#fff;border:2px solid #9db6a8;border-radius:11px;grid-template-columns:1fr auto;display:grid;overflow:hidden}.product-search input{border:0;outline:0;min-width:0;height:54px;padding:0 16px;font-size:17px}.product-search button{background:var(--brand);color:#fff;cursor:pointer;border:0;min-width:90px;font-weight:750}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.product-tile{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fcfdfc;border-radius:11px;align-content:space-between;gap:10px;min-height:128px;padding:15px;display:grid}.product-tile:hover{background:var(--surface-soft);border-color:#89aa98}.product-tile>span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.product-tile strong{font-size:14px;line-height:1.35}.product-tile div{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.product-tile b{color:var(--brand-dark)}.product-tile small{color:var(--muted);font-size:10px}.empty-search{color:var(--muted);text-align:center;grid-column:1/-1;padding:24px}.empty-list{color:var(--muted);text-align:center;margin:0;padding:32px 18px;font-size:13px}.cart-panel{background:#fbfcfb;flex-direction:column;min-width:0;display:flex}.cart-heading{border-bottom:1px solid var(--line);padding:22px 22px 18px}.cart-lines{flex:1;min-height:180px;padding:4px 20px;overflow-y:auto}.cart-heading-actions{align-items:center;gap:2px;display:flex}.held-sales{border-bottom:1px solid var(--line);background:var(--warning-soft);gap:6px;padding:10px 20px;display:grid}.held-sales>strong{color:#70420a;font-size:11px}.held-sales>div{grid-template-columns:minmax(0,1fr) 32px;gap:5px;display:grid}.held-sales button{cursor:pointer;background:#fff;border:1px solid #e7c98f;border-radius:7px;min-height:34px}.held-sales>div>button:first-child{justify-content:space-between;align-items:center;gap:10px;padding:0 10px;font-size:11px;display:flex}.held-sales button:disabled{cursor:not-allowed;opacity:.55}.held-sales>div>button:last-child{color:var(--danger);font-size:18px}.empty-cart{min-height:230px;color:var(--muted);text-align:center;place-content:center;gap:5px;display:grid}.empty-cart strong{color:var(--ink)}.cart-line{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:15px 0;display:grid}.cart-product{gap:4px;min-width:0;display:grid}.cart-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.cart-product span{color:var(--muted);font-size:11px}.cart-line>strong{text-align:right;min-width:72px;font-size:13px}.quantity-control{border:1px solid var(--line);text-align:center;background:#fff;border-radius:8px;grid-template-columns:28px 26px 28px;align-items:center;display:grid;overflow:hidden}.quantity-control button{cursor:pointer;background:0 0;border:0;height:30px;font-size:17px}.quantity-control button:hover{background:var(--surface-soft)}.quantity-control span{font-size:12px;font-weight:750}.payment-area{border-top:1px solid var(--line);background:#fff;gap:13px;padding:18px 20px 20px;display:grid}.payment-methods,.ledger-tabs{background:#edf1ef;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;display:grid}.ledger-tabs.single-tab{grid-template-columns:1fr}.payment-methods button,.ledger-tabs button{cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:38px;font-size:12px;font-weight:700}.payment-methods button.active,.ledger-tabs button.active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 8px #1430231a}.payment-methods button:disabled{cursor:not-allowed;opacity:.45}.customer-select{gap:6px;display:grid}.customer-select select{border:1px solid var(--line);background:#fff;border-radius:8px;height:40px;padding:0 10px}.cart-total{justify-content:space-between;align-items:flex-end;display:flex}.cart-total span{color:var(--muted);font-size:13px}.cart-total strong{letter-spacing:-.04em;font-size:28px}.complete-sale,.secondary-button,.upload-panel button{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:10px;min-height:48px;font-weight:750}.complete-sale:disabled,.upload-panel button:disabled{cursor:not-allowed;opacity:.45}.sale-message{background:var(--brand-soft);color:var(--brand-dark);border-radius:7px;margin:0;padding:9px 10px;font-size:11px;line-height:1.4}.sale-message.error{background:var(--danger-soft);color:var(--danger)}.upload-panel{text-align:center;border-style:dashed;align-content:center;place-items:center;gap:10px;min-height:310px;padding:36px;display:grid}.upload-mark{background:var(--brand-soft);width:74px;height:74px;color:var(--brand-dark);letter-spacing:.08em;border-radius:18px;place-items:center;font-size:10px;font-weight:850;display:grid}.upload-panel h2,.upload-panel p{margin:0}.upload-panel p{max-width:470px;color:var(--muted);font-size:13px;line-height:1.5}.upload-panel button{min-width:190px;margin-top:8px}.receipt-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:22px;padding:22px;display:grid;box-shadow:0 5px 18px #16302409}.receipt-meta{grid-template-columns:1.2fr 1fr 180px;gap:12px;display:grid}.receipt-meta label,.receipt-product-search>label,.receipt-line label{color:var(--muted);gap:7px;font-size:11px;font-weight:700;display:grid}.receipt-meta input,.receipt-meta select,.receipt-product-search>input,.receipt-line input{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;height:44px;padding:0 11px}.receipt-product-search{gap:7px;display:grid;position:relative}.receipt-search-results{z-index:8;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px;position:absolute;top:70px;left:0;right:0;overflow:hidden}.receipt-search-results button{border:0;border-top:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:58px;padding:10px 13px;display:flex}.receipt-search-results button:first-child{border-top:0}.receipt-search-results button:hover{background:var(--surface-soft)}.receipt-search-results button>span:first-child{gap:3px;display:grid}.receipt-search-results small,.receipt-product small{color:var(--muted);font-size:10px}.receipt-search-results button>span:last-child{color:var(--brand);font-size:12px;font-weight:750}.receipt-search-results p{color:var(--muted);margin:0;padding:18px;font-size:12px}.receipt-lines{border:1px solid var(--line);border-radius:10px;overflow:hidden}.receipt-line{border-top:1px solid var(--line);grid-template-columns:minmax(170px,1fr) 84px 84px 84px 138px 104px 100px 34px;align-items:center;gap:12px;min-height:66px;padding:10px 12px;display:grid}.receipt-line:first-child{border-top:0}.receipt-line-header{min-height:38px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;background:#edf2ef;font-size:10px;font-weight:800}.receipt-product{gap:4px;min-width:0;display:grid}.receipt-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.receipt-line label>span{display:none}.receipt-line>strong{text-align:right}.bonus-note{color:var(--accent,#1f7a4d);font-weight:700}.bonus-total strong{color:var(--accent,#1f7a4d)}.receipt-line>button{background:var(--danger-soft);width:32px;height:32px;color:var(--danger);cursor:pointer;border:0;border-radius:7px;font-size:18px}.receipt-footer{justify-content:flex-end;align-items:center;gap:24px;display:flex}.receipt-footer>span{text-align:right;gap:3px;display:grid}.receipt-footer small{color:var(--muted)}.receipt-footer strong{letter-spacing:-.035em;font-size:25px}.receipt-footer .complete-sale{min-width:190px;padding:0 18px}.compact-upload{text-align:left;grid-template-columns:auto minmax(0,1fr) auto;align-content:center;place-items:center start;min-height:0}.compact-upload .upload-mark{border-radius:13px;width:54px;height:54px}.compact-upload button{min-width:170px;margin:0}.flow-steps{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.flow-steps div{border-left:3px solid var(--brand-soft);gap:5px;padding:15px;display:grid}.flow-steps span{color:var(--brand);font-size:11px;font-weight:850}.flow-steps strong{font-size:13px}.flow-steps small{color:var(--muted)}.list-heading{align-items:end}.list-heading input{border:1px solid var(--line);background:#fff;border-radius:9px;width:min(320px,100%);height:44px;padding:0 13px}.secondary-button{min-height:42px;padding:0 18px}.secondary-button:disabled{cursor:not-allowed;opacity:.45}.data-list{overflow:hidden}.data-list-header,.data-list-row{grid-template-columns:minmax(250px,1.5fr) minmax(95px,.6fr) minmax(85px,.5fr) 85px 126px;align-items:center;gap:16px;padding:13px 18px;display:grid}.data-list-header{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;background:#edf2ef;font-size:10px;font-weight:800}.data-list-row{border-top:1px solid var(--line);min-height:68px;font-size:13px}.data-list-row:first-of-type{border-top:0}.data-list-row>span:first-child{gap:4px;display:grid}.data-list-row small{color:var(--muted)}.stock-state{background:var(--brand-soft);width:fit-content;color:var(--brand-dark);border-radius:999px;padding:5px 8px;font-size:10px;font-weight:750}.stock-state.critical{background:var(--warning-soft);color:#7a480b}.row-action{border:1px solid var(--line);min-height:34px;color:var(--brand);cursor:pointer;background:#fff;border-radius:7px;font-size:11px;font-weight:750}.row-actions{grid-template-columns:1fr 1fr;gap:5px;display:grid}.price-comparison{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.price-comparison>div{background:var(--surface-soft);border-radius:8px;gap:5px;padding:12px;display:grid}.price-comparison span,.price-hint{color:var(--muted);font-size:11px;line-height:1.45}.price-comparison strong{font-size:14px}.price-hint{margin:-4px 0 0}.ledger-tabs{grid-template-columns:repeat(2,1fr);width:min(420px,100%)}.ledger-message{background:var(--brand-soft);color:var(--brand-dark);border-radius:8px;margin:-8px 0 0;padding:11px 13px;font-size:12px}.ledger-summary{gap:5px;padding:24px;display:grid}.ledger-summary span,.ledger-summary small{color:var(--muted);font-size:12px}.ledger-summary strong{letter-spacing:-.04em;font-size:30px}.ledger-list{overflow:hidden}.ledger-row{border:0;border-top:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:78px;padding:13px 18px;display:grid}.ledger-row:first-child{border-top:0}.ledger-row:hover{background:#f8faf9}.avatar{background:var(--brand-soft);width:40px;height:40px;color:var(--brand-dark);border-radius:50%;place-items:center;font-weight:850;display:grid}.ledger-person,.ledger-balance{gap:5px;display:grid}.ledger-person small,.ledger-balance small{color:var(--muted);font-size:11px}.ledger-balance{text-align:right}.ledger-form{margin-top:20px}.ledger-form select{border:1px solid var(--line);background:#fff;border-radius:9px;height:46px;padding:0 12px}.ledger-form label small{color:var(--muted);font-size:11px;font-weight:500}.ledger-history-dialog{width:min(620px,100%)}.ledger-history-balance{background:var(--surface-soft);border-radius:9px;justify-content:space-between;align-items:center;margin:18px 0 10px;padding:14px;display:flex}.ledger-history-balance span{color:var(--muted);font-size:12px}.ledger-history-list{border-top:1px solid var(--line);max-height:380px;overflow-y:auto}.ledger-history-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:62px;display:grid}.ledger-history-list span{gap:4px;display:grid}.ledger-history-list small{color:var(--muted);font-size:10px}.positive-movement{color:var(--danger)}.negative-movement{color:var(--brand)}.optional-label{color:#87938c;font-size:10px;font-weight:500}.ledger-payment-methods{background:#edf1ef;border:0;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:4px;display:grid}.ledger-payment-methods legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ledger-payment-methods button{cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:40px;font-size:12px;font-weight:700}.ledger-payment-methods button.active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 8px #1430231a}.today-cards{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.today-cards.cashier-summary{grid-template-columns:1fr}.today-cards>div{border:1px solid var(--line);background:#fff;border-radius:13px;gap:8px;padding:22px;display:grid}.today-cards span,.today-cards small{color:var(--muted);font-size:12px}.today-cards strong{letter-spacing:-.04em;font-size:clamp(20px,3vw,30px)}.today-cards .profit{background:var(--brand-soft);border-color:#9dcab3}.payment-breakdown{gap:17px;display:grid}.today-secondary{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.today-secondary>div{border:1px solid var(--line);background:var(--surface);border-radius:11px;gap:7px;padding:17px 20px;display:grid}.today-secondary span{color:var(--muted);font-size:12px}.today-secondary strong{font-size:18px}.recent-sales{gap:0;display:grid}.recent-sale-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 130px 100px;align-items:center;gap:14px;min-height:62px;display:grid}.recent-sale-row>span:first-child{gap:4px;display:grid}.recent-sale-row small{color:var(--muted);font-size:11px}.returned-label{color:var(--muted);text-align:center;font-size:11px}.breakdown-row{grid-template-columns:80px minmax(120px,1fr) 120px;align-items:center;gap:16px;font-size:13px;display:grid}.breakdown-row>div{background:#e5ebe7;border-radius:99px;height:8px;overflow:hidden}.breakdown-row i{border-radius:inherit;background:var(--brand);height:100%;display:block}.breakdown-row strong{text-align:right}.last-sync{background:var(--surface-soft);color:var(--muted)}.bottom-nav{display:none}@media (max-width:1050px){.app-frame{grid-template-columns:86px minmax(0,1fr)}.sidebar{align-items:center;padding-inline:10px}.brand>span:last-child,.nav-item:not(.active) .nav-dot,.nav-item .nav-dot,.sidebar-footer small{display:none}.brand{padding-inline:0}.nav-item{text-align:center;justify-content:center;min-width:64px;padding-inline:6px;font-size:11px}.quick-actions{grid-template-columns:repeat(2,1fr)}.sale-layout{grid-template-columns:minmax(0,1fr) 350px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.app-frame{padding-bottom:calc(66px + env(safe-area-inset-bottom));display:block}.sidebar{display:none}.topbar{min-height:60px;padding:9px 16px}.topbar .eyebrow,.pending-badge{display:none}.pair-device-button{padding-inline:9px;font-size:11px}.topbar strong{font-size:15px}.connection{min-height:28px;font-size:11px}.main-content{padding:20px 14px}.welcome-row,.list-heading,.sale-heading{display:grid}.welcome-row h1,.list-heading h1,.sale-heading h1{font-size:25px}.sync-note{max-width:none}.pairing-banner{flex-direction:column;align-items:stretch}.pairing-dialog{padding:20px}.return-lines label{grid-template-columns:1fr;gap:9px}.today-heading-actions{justify-content:flex-start;align-items:flex-start}.quick-actions,.home-grid,.today-cards,.today-secondary,.flow-steps,.settings-grid{grid-template-columns:1fr 1fr}.quick-action{min-height:126px;padding:16px}.quick-action strong{font-size:17px}.home-grid{grid-template-columns:1fr}.metric-row{gap:10px}.metric-row strong{font-size:16px}.sale-layout{min-height:auto;box-shadow:none;background:0 0;border:0;border-radius:0;display:block;overflow:visible}.sale-products,.cart-panel{border:1px solid var(--line);background:#fff;border-radius:13px}.sale-products{padding:18px}.scan-actions{flex-direction:column;align-items:stretch}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-tile{min-height:118px;padding:13px}.cart-panel{margin-top:14px;overflow:hidden}.cart-lines{max-height:330px}.empty-cart{min-height:120px}.data-list{overflow-x:auto}.receipt-panel{padding:16px}.receipt-meta{grid-template-columns:1fr}.receipt-line-header{display:none}.receipt-line{grid-template-columns:minmax(0,1fr) minmax(90px,.6fr) 34px;gap:10px;padding:14px}.receipt-product{grid-column:1/-1}.receipt-line label>span{display:block}.receipt-line>strong{text-align:left;grid-area:3/1/auto/3;font-size:17px}.receipt-line>button{grid-area:2/3}.receipt-footer{flex-direction:column;align-items:stretch;gap:14px}.receipt-footer>span{text-align:left}.compact-upload{grid-template-columns:auto minmax(0,1fr);padding:20px}.compact-upload button{grid-column:1/-1;width:100%}.data-list-header,.data-list-row{min-width:720px}.list-heading input{width:100%}.inventory-tools{flex-direction:column;align-items:stretch}.inventory-tools input,.inventory-tools .secondary-button,.inventory-tools .compact-action{width:100%}.today-cards{grid-template-columns:1fr}.recent-sale-row{grid-template-columns:minmax(0,1fr) auto;padding:10px 0}.recent-sale-row>:last-child{grid-column:1/-1;width:100%}.bottom-nav{z-index:30;min-height:calc(60px + env(safe-area-inset-bottom));padding:5px 5px env(safe-area-inset-bottom);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;grid-template-columns:repeat(6,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);background:0 0;border:0;place-items:center;gap:4px;font-size:10px;font-weight:700;display:grid}.bottom-nav button span{background:#b8c3bd;border-radius:50%;width:6px;height:6px}.bottom-nav button.active{color:var(--brand)}.bottom-nav button.active span{background:var(--brand)}}@media (max-width:420px){.quick-actions,.flow-steps,.settings-grid{grid-template-columns:1fr}.quick-action{min-height:108px}.product-grid{grid-template-columns:1fr}.cart-line{grid-template-columns:minmax(0,1fr) auto}.cart-line>strong{grid-column:2}.quantity-control{grid-area:1/2}.metric-row{grid-template-columns:1fr}.breakdown-row{grid-template-columns:65px minmax(80px,1fr) 100px;gap:8px}.price-comparison,.form-grid-two{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.app-frame{--theme-accent:var(--brand);--theme-accent-contrast:#fff;background:var(--bg)}.theme-counter{--bg:#f2f5fc;--surface:#fff;--surface-soft:#e8eefc;--ink:#172039;--muted:#69738b;--line:#d9dfeb;--brand:#0b43c9;--brand-dark:#082d8d;--brand-soft:#dce7ff;--theme-accent:#ff6d1f;--theme-accent-contrast:#fff;--shadow:0 16px 40px #1935761a}.theme-command{--bg:#e8e8e2;--surface:#f8f8f3;--surface-soft:#e8e9df;--ink:#111312;--muted:#64685f;--line:#cfd1c7;--brand:#b9f128;--brand-dark:#18200b;--brand-soft:#dffca0;--theme-accent:#c6ff2e;--theme-accent-contrast:#10120e;--shadow:0 16px 40px #00000029}.theme-touch{--bg:#f2e3c8;--surface:#fffaf0;--surface-soft:#efd9b5;--ink:#35172d;--muted:#806a72;--line:#dfcaa8;--brand:#54203f;--brand-dark:#351329;--brand-soft:#e9d2e4;--theme-accent:#ff786c;--theme-accent-contrast:#351329;--shadow:0 16px 40px #41183124}.theme-counter .sidebar{color:#fff;background:#0839ba;border-color:#ffffff1f}.theme-command .sidebar{color:#fff;background:#0d0f0e;border-color:#2d2f2c}.theme-touch .sidebar{color:#fff7e9;background:#3b142f;border-color:#ffffff1a}.theme-counter .brand small,.theme-command .brand small,.theme-touch .brand small,.theme-counter .sidebar-footer,.theme-command .sidebar-footer,.theme-touch .sidebar-footer{color:#ffffffad}.theme-counter .brand-mark,.theme-command .brand-mark,.theme-touch .brand-mark{color:#fff;background:#ffffff21}.nav-icon{flex:none}.theme-counter .nav-item,.theme-command .nav-item,.theme-touch .nav-item{color:#ffffffba}.theme-counter .nav-item:hover,.theme-command .nav-item:hover,.theme-touch .nav-item:hover{background:#ffffff14}.theme-counter .nav-item.active{color:#fff;background:#ff6d1f}.theme-command .nav-item.active{color:#10120e;background:#c6ff2e}.theme-touch .nav-item.active{color:#351329;background:#ff786c}.theme-counter .topbar,.theme-command .topbar,.theme-touch .topbar{background:color-mix(in srgb, var(--surface) 94%, transparent)}.theme-command .topbar{color:#fff;background:#111312;border-color:#242724}.theme-command .topbar .eyebrow,.theme-command .connection{color:#cfd2c7}.theme-touch .topbar{background:#fffaf0ed}.theme-command .panel,.theme-command .settings-panel,.theme-command .data-list,.theme-command .receipt-panel,.theme-command .payment-breakdown,.theme-command .sales-list-panel,.theme-touch .panel,.theme-touch .settings-panel,.theme-touch .data-list,.theme-touch .receipt-panel,.theme-touch .payment-breakdown,.theme-touch .sales-list-panel{border-color:var(--line);background:var(--surface)}.product-search>div{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.search-field-icon{color:var(--muted);margin-left:15px}.product-section-heading{justify-content:space-between;align-items:center;margin:4px 0 12px;display:flex}.product-section-heading strong{font-size:14px}.product-section-heading small{color:var(--muted);font-size:11px}.product-tile .product-photo{background:#fff;place-items:center;display:grid;overflow:hidden}.product-photo img{object-fit:contain;width:100%;height:100%}.product-tile .product-copy{min-width:0;color:var(--ink);text-transform:none;gap:5px;display:grid}.product-copy strong{text-overflow:ellipsis;font-size:14px;line-height:1.25;overflow:hidden}.product-copy small{color:var(--muted);font-size:10px}.product-tile .product-price{color:var(--brand-dark);letter-spacing:-.02em;text-transform:none;font-size:15px;font-weight:850}.camera-scan-button,.keyboard-hint{align-items:center;gap:7px;display:inline-flex}.theme-counter .product-search button,.theme-counter .complete-sale{background:#ff6d1f}.theme-command .product-search button,.theme-command .complete-sale{color:#10120e;background:#c6ff2e}.theme-touch .product-search button,.theme-touch .complete-sale{color:#351329;background:#ff786c}.mobile-scan-hero,.mobile-command-pad,.mobile-cart-bar,.mobile-cart-backdrop,.mobile-cart-close{display:none}.theme-settings-panel{gap:16px;display:grid}.theme-settings-description{color:var(--muted);margin:-6px 0 0;font-size:13px}.theme-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.theme-option{border:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;border-radius:13px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:82px;padding:13px;display:grid}.theme-option:hover,.theme-option.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.theme-swatches{border:1px solid #00000014;border-radius:11px;grid-template-columns:repeat(2,1fr);width:52px;height:52px;display:grid;overflow:hidden}.theme-swatches i:first-child{grid-row:1/3}.theme-option>span:nth-child(2){gap:5px;min-width:0;display:grid}.theme-option small{color:var(--muted);font-size:10px;line-height:1.3}.theme-option>b{color:var(--brand);font-size:10px}@media (min-width:761px){.theme-counter,.theme-touch{grid-template-columns:224px minmax(0,1fr)}.theme-command{grid-template-columns:210px minmax(0,1fr)}.sale-layout{border-radius:18px;min-height:calc(100vh - 130px)}.theme-counter .sale-layout,.theme-command .sale-layout{grid-template-columns:minmax(0,1fr) 400px}.theme-counter .product-grid,.theme-command .product-grid{grid-template-columns:1fr}.theme-counter .product-tile,.theme-command .product-tile{grid-template-columns:58px minmax(0,1fr) auto;align-content:center;align-items:center;gap:14px;min-height:76px;padding:9px 14px}.theme-counter .product-photo{border-radius:10px;width:56px;height:56px}.theme-command .product-photo{display:none}.theme-counter .product-price{color:#d94a00;text-align:center;background:#fff0e7;border-radius:8px;min-width:92px;padding:9px 11px}.theme-command .sale-layout{border-color:#1d211d;border-radius:5px}.theme-command .sale-products{background:#f4f4ee}.theme-command .product-tile{background:0 0;border-color:#b9bcb0;border-radius:3px;grid-template-columns:minmax(0,1fr) auto}.theme-command .product-price{color:#111312;text-align:center;background:#c6ff2e;min-width:90px;padding:9px 12px}.theme-command .cart-panel{color:#fff;background:#101211}.theme-command .cart-heading,.theme-command .cart-lines,.theme-command .cart-line,.theme-command .payment-area{border-color:#353936}.theme-command .payment-area,.theme-command .quantity-control{background:#171a18}.theme-command .cart-product span,.theme-command .cart-heading .eyebrow,.theme-command .empty-cart,.theme-command .customer-select{color:#aeb5aa}.theme-command .payment-methods{background:#2a2d2a}.theme-command .payment-methods button{color:#d8ddd3}.theme-command .payment-methods button.active,.theme-command .complete-sale{color:#10120e;background:#c6ff2e}.theme-touch .sale-layout{border-color:#d8bf98;grid-template-columns:minmax(0,1fr) 370px}.theme-touch .sale-products{background:#fff7e7;padding:24px}.theme-touch .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.theme-touch .product-tile{background:#fff;border:0;border-radius:16px;grid-template-columns:1fr;align-content:start;gap:10px;min-height:224px;padding:10px;display:grid;box-shadow:0 5px 16px #41183114}.theme-touch .product-photo{background:#f6ead6;border-radius:11px;width:100%;height:126px}.theme-touch .product-price{color:#d54e45}.theme-touch .cart-panel{color:#fff8ea;background:#3a142e}.theme-touch .cart-heading,.theme-touch .cart-lines,.theme-touch .cart-line,.theme-touch .payment-area{border-color:#ffffff1f}.theme-touch .payment-area{background:#2f1026}.theme-touch .quantity-control,.theme-touch .payment-methods{background:#ffffff1a}.theme-touch .quantity-control button,.theme-touch .payment-methods button,.theme-touch .cart-product span,.theme-touch .cart-heading .eyebrow,.theme-touch .empty-cart,.theme-touch .customer-select{color:#e7d9dc}.theme-touch .payment-methods button.active,.theme-touch .complete-sale{color:#351329;background:#ff786c}}@media (max-width:760px){.app-frame{min-height:100dvh;padding-bottom:calc(126px + env(safe-area-inset-bottom))}.main-content{padding:0}.topbar{min-height:64px;padding:10px 15px}.topbar .staff-button,.topbar .pair-device-button,.topbar .sync-retry{display:none}.sale-layout{width:100%;margin:0}.sale-products{background:var(--bg);border:0;border-radius:0;padding:18px 15px 26px}.sale-heading{margin-bottom:14px;display:block}.sale-heading h1{max-width:330px;font-size:24px;line-height:1.08}.sale-heading .scan-actions{display:none}.mobile-scan-hero{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:20px;justify-content:center;align-items:center;gap:5px;width:100%;min-height:148px;margin:0 0 14px}.theme-counter .mobile-scan-hero{background:#0b43c9;flex-direction:column;display:flex;box-shadow:0 13px 28px #0b43c938}.mobile-scan-hero>span{background:#ff6d1f;border-radius:50%;place-items:center;width:66px;height:66px;margin-bottom:3px;display:grid}.mobile-scan-hero strong{font-size:18px}.mobile-scan-hero small{color:#ffffffbf}.product-search{margin:12px 0 18px}.product-search label{display:none}.product-search>div{border-width:1px;border-radius:13px;min-height:52px}.product-search input{height:50px;padding-inline:11px;font-size:15px}.product-search button{min-width:68px;padding:0 10px;font-size:11px}.product-section-heading{margin-top:10px}.product-grid,.theme-touch .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-tile,.theme-touch .product-tile{border:1px solid var(--line);background:var(--surface);border-radius:15px;grid-template-columns:1fr;align-content:start;gap:9px;min-height:186px;padding:10px;display:grid}.product-tile .product-photo,.theme-touch .product-tile .product-photo{background:#fff;border-radius:11px;width:100%;height:96px;display:grid}.product-copy strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:35px;display:-webkit-box;overflow:hidden}.product-price{font-size:15px}.cart-panel{z-index:70;background:var(--surface);border:0;border-radius:22px 22px 0 0;max-height:90dvh;margin:0;transition:transform .18s;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(105%);box-shadow:0 -18px 45px #0f161238}.cart-panel.mobile-open{transform:translateY(0)}.cart-panel .cart-heading{padding-right:54px;position:relative}.mobile-cart-close{background:var(--surface-soft);cursor:pointer;border:0;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:18px;right:16px}.cart-heading-actions{margin-right:4px}.cart-lines{max-height:36dvh}.mobile-cart-backdrop{z-index:69;background:#0a0d0c7a;border:0;display:block;position:fixed;inset:0}.mobile-cart-bar{z-index:45;right:12px;bottom:calc(69px + env(safe-area-inset-bottom));background:var(--theme-accent);min-height:56px;color:var(--theme-accent-contrast);cursor:pointer;text-align:left;border:0;border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 14px;display:grid;position:fixed;left:12px;box-shadow:0 12px 28px #151b1840}.mobile-cart-bar>span{background:#ffffff2e;border-radius:11px;place-items:center;width:38px;height:38px;display:grid;position:relative}.mobile-cart-bar>span b{background:var(--surface);min-width:19px;height:19px;color:var(--ink);border-radius:10px;place-items:center;font-size:10px;display:grid;position:absolute;top:-5px;right:-5px}.mobile-cart-bar>strong{font-size:17px}.mobile-cart-bar>small{font-size:11px;font-weight:750}.bottom-nav{min-height:calc(64px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 96%, transparent);grid-template-columns:repeat(5,minmax(0,1fr));padding-top:7px}.bottom-nav button{color:var(--muted)}.bottom-nav button.active{color:var(--brand)}.theme-counter .topbar{color:#fff;background:#0839ba;border-color:#ffffff1f}.theme-counter .connection{color:#fff;background:#ffffff24}.theme-counter .product-search button,.theme-counter .mobile-cart-bar{background:#ff6d1f}.theme-counter .product-tile{border-color:#d8e2fa;box-shadow:0 4px 12px #1136890f}.theme-command,.theme-command .topbar{background:#0d0f0e}.theme-command .sale-products{color:#f5f6ef;background:#121412}.theme-command .sale-heading h1{color:#fff}.theme-command .product-search{display:none}.theme-command .mobile-command-pad{gap:10px;margin:8px 0 20px;display:grid}.command-display{background:#050606;border:1px solid #3a3e39;border-radius:5px;gap:4px;min-height:72px;padding:12px 15px;display:grid}.command-display span{color:#9da59a;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:800}.command-display strong{color:#c6ff2e;text-overflow:ellipsis;font-family:Consolas,Courier New,monospace;font-size:25px;overflow:hidden}.command-keys{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.command-keys button{color:#fff;cursor:pointer;background:#1b1e1c;border:1px solid #3b3e3b;border-radius:4px;min-height:54px;font-size:20px;font-weight:800}.command-keys .command-delete{color:#c6ff2e;grid-column:2;font-size:13px}.command-keys .command-camera{color:#10120e;background:#c6ff2e;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.theme-command .product-section-heading{color:#f4f6ee}.theme-command .product-section-heading small{color:#a8afa4}.theme-command .product-tile{color:#fff;background:#1a1d1b;border-color:#363a36;border-radius:4px;min-height:152px}.theme-command .product-photo{display:none}.theme-command .product-copy{color:#fff}.theme-command .product-copy small{color:#9fa69c}.theme-command .product-price{color:#10120e;background:#c6ff2e;width:fit-content;padding:6px 8px}.theme-command .mobile-cart-bar{color:#10120e;background:#c6ff2e;border-radius:4px}.theme-command .bottom-nav{background:#0d0f0e;border-color:#333733}.theme-command .bottom-nav button{color:#9aa197}.theme-command .bottom-nav button.active{color:#c6ff2e}.theme-touch .topbar{color:#fff5e4;background:#3b142f}.theme-touch .connection{color:#fff5e8;background:#ffffff21}.theme-touch .sale-products{background:#f3e4c9}.theme-touch .product-search>div{background:#fffaf0;border-color:#c9a97b}.theme-touch .product-search button,.theme-touch .mobile-cart-bar{background:#ff786c}.theme-touch .product-tile{background:#fffaf0;border:0;box-shadow:0 7px 18px #4118311c}.theme-touch .product-photo{background:#f5e7cf;height:112px}.theme-touch .product-price{color:#d34c44}.theme-touch .cart-panel{color:#fff;background:#3a142e}.theme-touch .cart-heading,.theme-touch .cart-lines,.theme-touch .cart-line,.theme-touch .payment-area{border-color:#ffffff1f}.theme-touch .payment-area{background:#2f1026}.theme-touch .bottom-nav{background:#fff8eb}.theme-picker{grid-template-columns:1fr}}@media (max-width:380px){.sale-heading h1{font-size:21px}.product-grid,.theme-touch .product-grid{gap:8px}.product-tile,.theme-touch .product-tile{min-height:174px;padding:8px}.mobile-cart-bar{left:8px;right:8px}}.rejected-badge{color:#a4160c;background:#d92d2024;border-radius:999px;align-items:center;padding:.3rem .7rem;font-size:.78rem;font-weight:650;display:inline-flex}.cash-badge{color:#0b5c42;background:#12805c24;border-radius:999px;align-items:center;padding:.3rem .7rem;font-size:.78rem;font-weight:650;display:inline-flex}.cash-badge.closed{color:#8a3a06;background:#b5470824}.profit-dialog{max-width:700px}.profit-body{max-height:56vh;overflow-y:auto}.profit-heading{margin:18px 0 4px;font-size:.95rem}.profit-list{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.profit-list li{border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.profit-list li>span{gap:2px;min-width:0;display:grid}.profit-list small{color:var(--muted)}.expiry-scan{flex-wrap:wrap;align-items:center;gap:10px;margin-block-start:10px;display:flex}.expiry-scan small{color:var(--muted)}.expiry-candidates{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;gap:4px;margin-block-start:12px;padding:12px 14px;display:grid}.expiry-candidates small{color:var(--muted)}.candidate-row{flex-wrap:wrap;gap:8px;margin-block-start:6px;display:flex}.candidate{border:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:start;border-radius:8px;gap:2px;padding:8px 12px;font-weight:700;display:grid}.candidate.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.candidate small{font-weight:500}.voice-field{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.voice-button{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:8px;padding:0 14px;font-size:.85rem;font-weight:650}.voice-button.listening{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.supplier-scorecard{border:1px solid var(--line);border-inline-start:4px solid var(--brand);background:var(--surface-soft);border-radius:10px;gap:4px;margin-block-end:12px;padding:12px 14px;display:grid}.supplier-scorecard.warn{border-inline-start-color:var(--warning);background:var(--warning-soft)}.supplier-scorecard small{color:var(--muted)}.price-rise-note{border:1px solid color-mix(in srgb, var(--warning) 45%, transparent);background:var(--warning-soft);border-radius:10px;gap:4px;margin-block-start:12px;padding:12px 14px;display:grid}.price-rise-note small{color:var(--warning);line-height:1.5}.checkbox-row{cursor:pointer;align-items:center;gap:9px;display:flex}.checkbox-row input{flex-shrink:0;width:18px;height:18px}.receipt-qr{justify-items:center;gap:8px;padding:14px 0;display:grid}.receipt-qr img{border:1px solid var(--line);background:#fff;border-radius:8px}.expected-profit strong{color:#0b5c42}.expected-profit small:last-child{color:var(--muted);font-weight:500}.profit-list li.flagged{border-color:color-mix(in srgb, var(--warning) 50%, transparent);background:var(--warning-soft)}.pattern-reason{color:var(--warning);margin-block-start:3px;font-weight:600}.profit-list .gain{color:#0b5c42}.profit-list .loss{color:var(--danger)}.risk-badge{border-radius:999px;justify-self:start;margin-block-start:4px;padding:.15rem .55rem;font-size:.72rem;font-weight:750}.risk-badge.high{background:var(--danger-soft);color:var(--danger)}.risk-badge.watch{background:var(--warning-soft);color:var(--warning)}.expiry-dialog{max-width:660px}.expiry-add{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 90px auto;align-items:end;gap:10px;padding:12px;display:grid}.expiry-add label{min-width:0;color:var(--muted);gap:5px;font-size:11px;font-weight:700;display:grid}.expiry-add input,.expiry-add select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;height:42px;padding:0 10px}.expiry-list{gap:8px;max-height:44vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.expiry-item{border:1px solid var(--line);border-inline-start-width:4px;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.expiry-item.critical{border-inline-start-color:var(--danger)}.expiry-item.warning{border-inline-start-color:var(--warning)}.expiry-item.info{border-inline-start-color:var(--brand)}.expiry-body{gap:2px;min-width:0;display:grid}.expiry-body small{color:var(--muted)}.expiry-actions{flex-shrink:0;gap:4px;display:flex}.text-button.danger{color:var(--danger)}@media (max-width:640px){.expiry-add{grid-template-columns:1fr 1fr}.expiry-item{flex-direction:column;align-items:stretch}.expiry-actions{justify-content:flex-end}}.changes-panel .period-toggle{border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.period-toggle button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.35rem .85rem;font-size:.82rem;font-weight:650}.period-toggle button.active{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px #1630241f}.changes-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-block-start:12px;display:grid}.change-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:3px;padding:12px 14px;display:grid}.change-card small{color:var(--muted);font-size:11px;font-weight:700}.change-card strong{font-size:1.15rem}.change-delta{font-size:.78rem;font-weight:750}.change-delta.up{color:#0b5c42}.change-delta.down{color:var(--danger)}.change-delta.flat{color:var(--muted)}.changes-notes{gap:6px;margin:14px 0 0;padding:0;list-style:none;display:grid}.changes-notes li{border-inline-start:3px solid var(--brand-soft);color:var(--muted);padding-inline-start:14px;font-size:.88rem;line-height:1.5}.changes-notes strong{color:var(--ink)}.bell-button{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--muted);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:relative}.bell-button:hover{border-color:var(--brand);color:var(--brand)}.bell-button.warning{border-color:color-mix(in srgb, var(--warning) 45%, transparent);background:var(--warning-soft);color:var(--warning)}.bell-button.critical{border-color:color-mix(in srgb, var(--danger) 45%, transparent);background:var(--danger-soft);color:var(--danger)}.bell-count{background:var(--danger);color:#fff;text-align:center;border-radius:999px;min-width:18px;padding:0 4px;font-size:10px;font-weight:800;line-height:18px;position:absolute;inset-block-start:-5px;inset-inline-end:-5px}.bell-button.warning .bell-count{background:var(--warning)}.notifications-dialog{max-width:640px}.notification-list{gap:8px;max-height:52vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.notification-item{border:1px solid var(--line);background:var(--surface);border-inline-start-width:4px;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.notification-item.critical{border-inline-start-color:var(--danger)}.notification-item.warning{border-inline-start-color:var(--warning)}.notification-item.info{border-inline-start-color:var(--brand)}.notification-body{gap:3px;min-width:0;display:grid}.notification-kind{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.notification-body small{color:var(--muted);line-height:1.45}.notification-actions{flex-shrink:0;gap:4px;display:flex}@media (max-width:640px){.notification-item{flex-direction:column}.notification-actions{align-self:flex-end}}.global-warning{z-index:40;color:#fff;background:#7a271a;border-radius:12px;margin:0;padding:.85rem 1rem;font-size:.9rem;position:fixed;inset-block-end:5.5rem;inset-inline:1rem;box-shadow:0 12px 32px #00000040}.cart-summary{gap:.35rem;margin-block:.6rem;font-size:.86rem;display:grid}.cart-summary div{color:var(--muted-text,#5d6470);justify-content:space-between;display:flex}.cart-line-total{justify-items:end;gap:.15rem;display:grid}.line-discount{color:#a4160c;font-size:.78rem}.split-amount,.credit-hint{margin-block:.5rem;font-size:.86rem;display:block}.credit-hint{color:var(--muted-text,#5d6470)}.row-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.row-action.danger{color:#a4160c}.ledger-row-wrap{align-items:stretch;gap:.5rem;display:flex}.ledger-row-wrap>.ledger-row{flex:1}.scale-fields{border:1px solid var(--hairline,#dfe3ec);border-radius:12px;padding:.75rem .9rem}.scale-fields summary{cursor:pointer;font-weight:600}.cash-session-panel .section-heading,.rejected-panel .section-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.receipt-dialog{max-width:30rem}.receipt-sheet{color:#111;border:1px solid var(--hairline,#dfe3ec);background:#fff;border-radius:12px;max-height:55vh;padding:1rem 1.1rem;font-family:Courier New,ui-monospace,monospace;font-size:.85rem;overflow-y:auto}.receipt-sheet header{text-align:center;border-block-end:1px dashed #999;gap:.1rem;padding-block-end:.6rem;display:grid}.receipt-sheet header strong{font-size:1rem}.receipt-sheet table{border-collapse:collapse;width:100%;margin-block:.6rem}.receipt-sheet td{vertical-align:top;padding-block:.2rem}.receipt-sheet td:last-child{text-align:right;white-space:nowrap}.receipt-sheet td small{color:#555;display:block}.receipt-sheet dl{border-block-start:1px dashed #999;gap:.2rem;margin:0;padding-block-start:.6rem;display:grid}.receipt-sheet dl div{justify-content:space-between;gap:1rem;display:flex}.receipt-sheet dt,.receipt-sheet dd{margin:0}.receipt-sheet .receipt-total{padding-block-start:.3rem;font-size:.95rem;font-weight:700}.receipt-sheet .receipt-total.difference{color:#a4160c}.receipt-sheet footer{text-align:center;color:#555;margin-block-start:.8rem;font-size:.78rem}@media print{body *{visibility:hidden}#receipt-sheet,#receipt-sheet *{visibility:visible}#receipt-sheet{border:0;width:100%;max-height:none;padding:0;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:visible}.no-print{display:none!important}}.cash-closed-hint{color:#8a3a06;background:#b547081a;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0 0 .75rem;padding:.6rem .85rem;font-size:.88rem;display:flex}.tax-note{color:var(--muted-text,#5d6470);margin:.2rem 0 .6rem;font-size:.8rem}.wide-dialog{width:min(52rem,94vw);max-width:52rem}.price-history,.audit-list{gap:.4rem;max-height:22rem;display:grid;overflow-y:auto}.price-history>div,.audit-list>div{background:color-mix(in srgb, currentColor 4%, transparent);border-radius:10px;justify-content:space-between;align-items:baseline;gap:.75rem;padding:.5rem .7rem;display:flex}.price-history span,.audit-list span{gap:.1rem;display:grid}.price-history small,.audit-list small{color:var(--muted-text,#5d6470)}.change.up{color:#a4160c}.change.down{color:#0b5c42}.audit-meta{text-align:right;max-width:45%}.price-history-details,.scale-fields{margin-block:.5rem}.price-history-details summary{cursor:pointer;font-weight:600}.bulk-price-tools{flex-wrap:wrap;align-items:end;gap:.6rem;margin-block:.6rem;display:flex}.bulk-price-tools input{min-width:8rem}.bulk-price-list{gap:.3rem;max-height:26rem;display:grid;overflow-y:auto}.bulk-price-row{border-radius:10px;grid-template-columns:minmax(0,1fr) 6rem 7rem 6rem;align-items:center;gap:.6rem;padding:.4rem .6rem;display:grid}.bulk-price-row.changed{background:#12805c1f}.bulk-price-row span{gap:.1rem;min-width:0;display:grid}.bulk-price-row .current-price,.bulk-price-row .margin-hint{color:var(--muted-text,#5d6470);font-size:.85rem}.label-picker{gap:.3rem;max-height:18rem;margin-block:.6rem;display:grid;overflow-y:auto}.label-picker label{border-radius:8px;align-items:center;gap:.6rem;padding:.35rem .5rem;display:flex}.label-picker span{gap:.1rem;display:grid}.label-sheet{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.5rem;margin-block:.6rem;display:grid}.price-label{text-align:center;color:#111;background:#fff;border:1px dashed #999;border-radius:8px;gap:.15rem;padding:.6rem;display:grid}.price-label b{font-size:1.5rem}.price-label small{font-family:Courier New,ui-monospace,monospace;font-size:.72rem}.receipt-line.short{background:#b547081a}.shortage-note strong,.shortage-amount{color:#a4160c}.target-hint{color:#b54708;font-size:.75rem;display:block}.reminder-text textarea{width:100%;font:inherit}.document-list .row-actions{justify-content:flex-end}.upload-actions{gap:.5rem;display:flex}@media print{.label-sheet{grid-template-columns:repeat(3,1fr)}}.catalog-suggestion{background:#12805c14;border:1px solid #12805c59;border-radius:12px;align-items:center;gap:.75rem;margin-block:.6rem;padding:.7rem .85rem;display:flex}.catalog-thumb{object-fit:contain;background:#fff;border-radius:8px;flex:none;width:3.5rem;height:3.5rem}.catalog-copy{flex:1;gap:.15rem;min-width:0;display:grid}.catalog-copy small{color:var(--muted-text,#5d6470)}.catalog-warning{color:#8a3a06}.unknown-barcode{border:1px dashed color-mix(in srgb, currentColor 30%, transparent);border-radius:12px;gap:.5rem;margin-block:.75rem;padding:.85rem 1rem;display:grid}.unknown-barcode>div:first-child{gap:.1rem;display:grid}.unknown-barcode>div:first-child strong{font-family:Courier New,ui-monospace,monospace;font-size:1.1rem}.unknown-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}@media (max-width:640px){.catalog-suggestion{flex-wrap:wrap}}.plan-lock{border:1px dashed var(--line);background:color-mix(in srgb, var(--brand) 5%, white);border-radius:12px;gap:6px;padding:20px 22px;display:grid}.plan-lock strong{font-size:15px}.plan-lock small{color:var(--muted);font-size:13px;line-height:1.5}.nav-item[data-kilitli=evet],.bottom-nav button[data-kilitli=evet]{opacity:.55}.nav-item[data-kilitli=evet]:after,.bottom-nav button[data-kilitli=evet]:after{content:"kilitli";letter-spacing:.06em;text-transform:uppercase;opacity:.8;margin-left:auto;font-size:10px;font-weight:700}.bottom-nav button[data-kilitli=evet]:after{margin-left:0}.receipt-expiry-off{text-align:center;color:var(--muted);cursor:help;font-size:15px}.setup-dialog{max-width:640px}.setup-types{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.setup-type{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;gap:4px;padding:14px 16px;display:grid}.setup-type:hover{border-color:var(--brand)}.setup-type.active{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent)}.setup-type strong{font-size:15px}.setup-type small{color:var(--muted);font-size:12.5px;line-height:1.45}@media (max-width:640px){.receipt-expiry-off{display:none}}.expense-dialog{max-width:720px}.expense-form{padding-bottom:4px}.expense-period{flex-wrap:wrap;gap:8px;margin:18px 0 12px;display:flex}.expense-period .compact-action.active{background:var(--brand);border-color:var(--brand);color:#fff}.expense-totals{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.expense-totals>div{border:1px solid var(--line);background:color-mix(in srgb, var(--brand) 4%, white);border-radius:12px;gap:3px;padding:14px 16px;display:grid}.expense-totals span{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.expense-totals strong{font-variant-numeric:tabular-nums;font-size:22px}.expense-totals small{color:var(--muted);font-size:12px}.expense-categories{gap:6px;margin-top:14px;padding:0;list-style:none;display:grid}.expense-categories li{background:color-mix(in srgb, var(--line) 25%, white);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:9px 12px;font-size:14px;display:grid}.expense-categories b{font-variant-numeric:tabular-nums}.expense-categories small{color:var(--muted);text-align:right;min-width:62px;font-size:12px}.expense-list{gap:2px;max-height:320px;margin-top:14px;padding:0;list-style:none;display:grid;overflow-y:auto}.expense-list li{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.expense-list li:first-child{border-top:0}.expense-list strong{font-size:14.5px;display:block}.expense-list small{color:var(--muted);font-size:12px;display:block}.expense-list b{font-variant-numeric:tabular-nums}.expense-list .empty-list{color:var(--muted);text-align:center;padding:18px 12px;display:block}@media (max-width:640px){.expense-list li,.expense-categories li{grid-template-columns:minmax(0,1fr) auto}.expense-list .row-action{grid-column:1/-1;justify-self:start}}.expense-confirm{flex-wrap:wrap;gap:6px;display:flex}.expense-confirm .row-action.danger{border-color:var(--danger);color:var(--danger)}.receipt-sheet .blind-count-note dd{color:var(--muted);font-style:italic}.permission-block{border:1px solid var(--line);border-radius:12px;padding:12px 14px}.permission-block>summary{cursor:pointer;font-size:14.5px;font-weight:700}.permission-list{gap:2px;max-height:340px;margin:10px 0 14px;padding:0;list-style:none;display:grid;overflow-y:auto}.permission-list li{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 4px;display:grid}.permission-list li:first-child{border-top:0}.permission-list label{cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;display:grid}.permission-list input{width:18px;height:18px;margin-top:3px}.permission-list b{font-size:14px;display:block}.permission-list small{color:var(--muted);font-size:12px;line-height:1.45;display:block}.permission-list em{color:var(--brand);background:color-mix(in srgb, var(--brand) 10%, white);white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:11px;font-style:normal;font-weight:700}.campaign-dialog{max-width:700px}.campaign-list{gap:2px;max-height:300px;margin-top:16px;padding:0;list-style:none;display:grid;overflow-y:auto}.campaign-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.campaign-row:first-child{border-top:0}.campaign-row.ended{opacity:.55}.campaign-row strong{font-size:14.5px;display:block}.campaign-row small{color:var(--muted);font-size:12px;display:block}.campaign-list .empty-list{color:var(--muted);text-align:center;padding:18px 12px;display:block}.line-discount{color:var(--brand);font-weight:700}.branch-dialog{max-width:720px}.branch-list{gap:2px;max-height:340px;margin-top:14px;padding:0;list-style:none;display:grid;overflow-y:auto}.branch-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.branch-row:first-child{border-top:0}.branch-row.passive{opacity:.55}.branch-row strong{font-size:14.5px;display:block}.branch-row small{color:var(--muted);font-size:12px;display:block}.branch-row input{border:1px solid var(--line);border-radius:8px;width:100%;height:38px;padding:0 10px}.branch-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.branch-pairing{background:color-mix(in srgb, var(--brand) 10%, white);border-radius:8px;margin-top:7px;padding:7px 12px;font-size:13px;display:inline-block}.branch-pairing b{letter-spacing:.14em;font-variant-numeric:tabular-nums;font-size:17px}.branch-table{border-collapse:collapse;text-align:left;width:100%;min-width:520px}.branch-table th,.branch-table td{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;padding:11px 14px}.branch-table thead th{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);border-top:0;font-size:12px}.branch-table tbody th[scope=row]{font-weight:700}.branch-table em{color:var(--muted);font-size:12px;font-style:normal;font-weight:400}.branch-table td small{color:var(--muted);font-size:11.5px;display:block}.branch-table tr.passive{opacity:.55}@media (max-width:640px){.branch-row{grid-template-columns:1fr}.branch-actions{justify-content:flex-start}}.depot-dialog{max-width:680px}.depot-stock{gap:2px;margin-top:14px;padding:0;list-style:none;display:grid}.depot-stock li{background:color-mix(in srgb, var(--line) 25%, white);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:14px;display:flex}.depot-stock b{font-variant-numeric:tabular-nums;font-size:15px}.kiosk{z-index:200;background:var(--brand);color:#fff;flex-direction:column;align-items:center;gap:28px;padding:28px 24px 48px;display:flex;position:fixed;inset:0;overflow-y:auto}.kiosk-head{opacity:.75;justify-content:space-between;align-items:center;width:100%;font-size:14px;display:flex}.kiosk-exit{color:#fff;background:#ffffff1f;border-radius:50%;width:40px;height:40px;font-size:17px}.kiosk-form{text-align:center;gap:12px;width:min(560px,100%);display:grid}.kiosk-form label{opacity:.85;font-size:17px}.kiosk-form input{height:68px;color:var(--ink,#16281f);text-align:center;background:#fff;border:0;border-radius:14px;padding:0 20px;font-size:26px}.kiosk-result{text-align:center;background:#ffffff1a;border-radius:20px;justify-items:center;gap:10px;width:min(720px,100%);padding:36px 24px;display:grid}.kiosk-name{font-size:clamp(26px,5vw,40px);line-height:1.2}.kiosk-brand{opacity:.75;font-size:18px}.kiosk-price{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:clamp(52px,12vw,96px);font-weight:800}.kiosk-unit{opacity:.85;font-size:19px}.kiosk-empty{background:#0000002e}.kiosk-hint{opacity:.7;text-align:center;max-width:34ch;font-size:18px}.kiosk-submit{color:#fff;background:#ffffff29;border-radius:14px;height:58px;font-size:19px;font-weight:700}.kiosk-submit:disabled{opacity:.45}
