:root{
  --primary:#0f7a5a;--primary-2:#1a9871;--primary-soft:#e8f6f1;--bg:#f3f7f5;--surface:#fff;--surface-2:#f7faf9;
  --text:#18372e;--muted:#6b8179;--border:#dce7e3;--danger:#d94848;--danger-soft:#fff0f0;--warning:#d98f15;--warning-soft:#fff7e8;
  --info:#3478d4;--info-soft:#eef5ff;--purple:#7b57c2;--purple-soft:#f3efff;--shadow:0 12px 30px rgba(29,71,57,.08);
  --radius:18px;--sidebar:258px;--topbar:78px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}body.dark{--bg:#101816;--surface:#17211e;--surface-2:#1d2925;--text:#e9f3ef;--muted:#9db0a9;--border:#2a3a35;--primary-soft:#18382f;--danger-soft:#3b2222;--warning-soft:#3b3020;--info-soft:#1d2f48;--purple-soft:#2b2740;--shadow:0 12px 30px rgba(0,0,0,.2)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--border);padding:20px 15px 14px;display:flex;flex-direction:column;z-index:60;transition:.25s ease}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 17px}.brand-logo{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--primary),#27aa7f);color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:-.5px;box-shadow:0 8px 18px rgba(15,122,90,.25)}.brand b{display:block;font-size:16px;letter-spacing:.7px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.store-card{display:flex;gap:10px;align-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:15px;padding:11px;margin:0 4px 16px}.store-badge{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:900}.store-card>span:last-child{min-width:0}.store-card small{display:block;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.8px}.store-card b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0}.store-card em{display:flex;align-items:center;gap:5px;color:var(--primary);font-size:9px;font-style:normal}.store-card em i,.sync-mini i,.connection-pill i{width:7px;height:7px;background:#22b573;border-radius:50%;box-shadow:0 0 0 4px rgba(34,181,115,.12)}.nav-menu{display:grid;gap:3px;overflow-y:auto;padding:0 4px 10px;scrollbar-width:thin}.nav-item{display:flex;align-items:center;gap:11px;min-height:43px;padding:9px 11px;border-radius:12px;color:var(--muted);font-size:12px;font-weight:700;transition:.18s}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--primary-soft);color:var(--primary)}.nav-icon{width:23px;height:23px;border-radius:8px;display:grid;place-items:center;font-size:14px;background:color-mix(in srgb,var(--surface-2) 70%,transparent)}.nav-item.active .nav-icon{background:rgba(15,122,90,.12)}.nav-item em{margin-left:auto;background:linear-gradient(135deg,var(--purple),#b15ee7);color:#fff;font-style:normal;font-size:8px;padding:3px 6px;border-radius:999px}.sidebar-footer{margin-top:auto;padding:10px 4px 0;border-top:1px solid var(--border)}.sync-mini{display:flex;gap:10px;align-items:center;padding:8px 11px;margin-bottom:4px}.sync-mini span{display:grid}.sync-mini b{font-size:10px}.sync-mini small{font-size:8px;color:var(--muted)}.nav-item.logout{color:#b64646}.main-area{margin-left:var(--sidebar);min-height:100vh}.topbar{height:var(--topbar);position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.topbar-left{display:flex;align-items:center;gap:12px}.topbar h1{font-size:19px;margin:0}.topbar p{margin:4px 0 0;color:var(--muted);font-size:10px}.topbar-actions{display:flex;align-items:center;gap:9px}.icon-button{width:40px;height:40px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);display:grid;place-items:center}.profile-button{display:flex;align-items:center;gap:9px;padding:5px 10px 5px 5px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.profile-button>span{width:34px;height:34px;border-radius:10px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900;font-size:11px}.profile-button div{display:grid}.profile-button b{font-size:10px}.profile-button small{font-size:8px;color:var(--muted)}.connection-pill{height:34px;display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--surface);padding:0 11px;border-radius:999px;color:var(--primary);font-size:9px;font-weight:800}.connection-pill.offline{color:var(--danger)}.connection-pill.offline i{background:var(--danger);box-shadow:0 0 0 4px rgba(217,72,72,.12)}.content{padding:22px 26px 90px;max-width:1680px;margin:0 auto}.eyebrow{font-size:8px;letter-spacing:1.3px;font-weight:900;color:var(--primary)}.eyebrow.light{color:#c8ffea}.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#0f6c51,#17946e 55%,#36aa84);color:#fff;border-radius:22px;padding:23px 25px;box-shadow:0 16px 34px rgba(15,122,90,.16);overflow:hidden;position:relative}.welcome-banner:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-75px;top:-110px;background:rgba(255,255,255,.09)}.welcome-banner h2{margin:7px 0 5px;font-size:22px}.welcome-banner p{margin:0;color:#ddfff2;font-size:11px}.welcome-actions{display:flex;gap:9px;position:relative;z-index:1}.button{border:0;border-radius:12px;min-height:40px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:11px}.button.primary{background:var(--primary);color:#fff}.button.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.button.light{background:#fff;color:#0d6048}.button.danger{background:var(--danger);color:#fff}.button.warning{background:var(--warning);color:#fff}.button.ghost{background:transparent;color:var(--primary)}.button.small{min-height:31px;padding:7px 10px;font-size:9px;border-radius:9px}.button.wide{width:100%}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:15px}.metric-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:var(--shadow)}.metric-card .head{display:flex;justify-content:space-between;align-items:center}.metric-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;font-size:17px}.metric-icon.green{background:var(--primary-soft);color:var(--primary)}.metric-icon.blue{background:var(--info-soft);color:var(--info)}.metric-icon.orange{background:var(--warning-soft);color:var(--warning)}.metric-icon.purple{background:var(--purple-soft);color:var(--purple)}.trend{font-size:8px;padding:4px 7px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-weight:800}.trend.danger{background:var(--danger-soft);color:var(--danger)}.metric-card p{margin:13px 0 4px;color:var(--muted);font-size:10px}.metric-card h3{margin:0;font-size:20px}.metric-card small{display:block;color:var(--muted);font-size:8px;margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:14px;margin-top:14px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:17px;box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header h3{font-size:13px;margin:0}.panel-header p{font-size:9px;color:var(--muted);margin:4px 0 0}.panel-actions{display:flex;gap:7px;align-items:center}.link{font-size:9px;color:var(--primary);font-weight:800}.chart-wrap{height:260px;position:relative}.chart-wrap canvas{width:100%;height:100%}.chart-legend{display:flex;gap:16px;align-items:center;font-size:8px;color:var(--muted);margin-bottom:6px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:3px;border-radius:999px;background:var(--primary)}.chart-legend .previous i{background:#b7c4bf}.stack-list{display:grid;gap:10px}.list-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-radius:13px;background:var(--surface-2);border:1px solid var(--border)}.list-avatar{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:900;font-size:10px}.list-row b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-row small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.list-row strong{font-size:10px;text-align:right}.list-row strong small{font-weight:500}.status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:800}.status.success{background:var(--primary-soft);color:var(--primary)}.status.warning{background:var(--warning-soft);color:var(--warning)}.status.danger{background:var(--danger-soft);color:var(--danger)}.status.info{background:var(--info-soft);color:var(--info)}.bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-action{min-height:77px;padding:11px;border-radius:13px;border:1px solid var(--border);background:var(--surface-2);display:grid;gap:5px;color:var(--text)}.quick-action span{font-size:18px}.quick-action b{font-size:9px}.quick-action small{font-size:7px;color:var(--muted)}.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px}.section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.section-title h2{font-size:17px;margin:0}.section-title p{margin:4px 0 0;color:var(--muted);font-size:10px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.search-input,.select-input,.date-input{min-height:38px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:11px;padding:9px 11px;outline:none}.search-input:focus,.select-input:focus,.date-input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(15,122,90,.1)}.search-input{min-width:240px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:15px}.data-table{width:100%;border-collapse:collapse;min-width:760px;background:var(--surface)}.data-table th{background:var(--surface-2);color:var(--muted);text-align:left;font-size:8px;letter-spacing:.4px;padding:11px;border-bottom:1px solid var(--border);white-space:nowrap}.data-table td{padding:11px;border-bottom:1px solid var(--border);font-size:9px;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:color-mix(in srgb,var(--primary-soft) 35%,transparent)}.product-cell{display:flex;align-items:center;gap:9px}.product-thumb{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:900}.product-cell b{display:block;font-size:9px}.product-cell small{display:block;color:var(--muted);font-size:7px;margin-top:2px}.actions-inline{display:flex;gap:5px;align-items:center}.icon-action{width:29px;height:29px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:grid;place-items:center;color:var(--text)}.icon-action.danger{color:var(--danger)}.form-card{position:sticky;top:calc(var(--topbar) + 18px)}.form-stack{display:grid;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field>span,.field label{font-size:9px;font-weight:800;color:var(--text)}.field input,.field select,.field textarea{width:100%;min-height:39px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;padding:9px 11px;outline:none}.field textarea{min-height:86px;resize:vertical}.form-note{font-size:8px;color:var(--muted);line-height:1.55;padding:10px;background:var(--surface-2);border-radius:10px;border:1px solid var(--border)}.alert{padding:11px 13px;border-radius:12px;margin-bottom:14px;font-size:10px;border:1px solid transparent}.alert-success{background:var(--primary-soft);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 20%,transparent)}.alert-danger{background:var(--danger-soft);color:var(--danger);border-color:color-mix(in srgb,var(--danger) 20%,transparent)}.empty-state{text-align:center;padding:34px 20px;color:var(--muted)}.empty-state span{display:block;font-size:28px;margin-bottom:8px}.empty-state b{display:block;color:var(--text);font-size:11px}.empty-state p{font-size:9px}.pagination{display:flex;gap:6px;justify-content:flex-end;margin-top:12px}.pagination a,.pagination span{min-width:31px;height:31px;border:1px solid var(--border);border-radius:9px;display:grid;place-items:center;background:var(--surface);font-size:9px}.pagination .active{background:var(--primary);color:#fff;border-color:var(--primary)}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.summary-item{padding:12px;border-radius:13px;background:var(--surface-2);border:1px solid var(--border)}.summary-item small{display:block;color:var(--muted);font-size:8px}.summary-item b{display:block;font-size:13px;margin-top:4px}.pos-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.75fr);gap:14px;align-items:start}.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px;max-height:calc(100vh - 230px);overflow:auto;padding-right:3px}.pos-product{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:12px;text-align:left;display:grid;gap:7px;color:var(--text);transition:.17s}.pos-product:hover{transform:translateY(-2px);border-color:var(--primary)}.pos-product .thumb{height:76px;border-radius:11px;background:linear-gradient(135deg,var(--primary-soft),var(--surface-2));display:grid;place-items:center;font-size:26px;color:var(--primary)}.pos-product b{font-size:9px;line-height:1.35}.pos-product small{font-size:7px;color:var(--muted)}.pos-product strong{font-size:11px;color:var(--primary)}.pos-product.out{opacity:.5;pointer-events:none}.cart-panel{position:sticky;top:calc(var(--topbar) + 17px)}.cart-list{display:grid;gap:8px;max-height:300px;overflow:auto;margin-bottom:12px}.cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-bottom:1px solid var(--border);padding-bottom:8px}.cart-item b{font-size:9px;display:block}.cart-item small{font-size:7px;color:var(--muted)}.qty-control{display:flex;align-items:center;gap:6px}.qty-control button{width:24px;height:24px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2);color:var(--text)}.qty-control span{min-width:20px;text-align:center;font-size:9px;font-weight:800}.cart-totals{display:grid;gap:7px;padding:11px 0;border-top:1px dashed var(--border);border-bottom:1px dashed var(--border)}.cart-totals div{display:flex;justify-content:space-between;font-size:9px}.cart-totals .grand{font-size:13px;font-weight:900;color:var(--primary)}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:11px 0}.payment-option{border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:9px 7px;text-align:center;font-size:8px;font-weight:800}.payment-option.active{background:var(--primary-soft);color:var(--primary);border-color:var(--primary)}.pending-sync{display:none;margin-top:10px;padding:9px;border-radius:10px;background:var(--warning-soft);color:var(--warning);font-size:8px}.pending-sync.show{display:block}.order-card{border:1px solid var(--border);border-radius:14px;padding:13px;background:var(--surface);display:grid;gap:10px}.order-card .top{display:flex;justify-content:space-between;gap:10px}.order-card h4{font-size:10px;margin:0}.order-card p{font-size:8px;color:var(--muted);margin:3px 0 0}.order-card .meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:9px;background:var(--surface-2);border-radius:10px}.order-card .meta small{display:block;color:var(--muted);font-size:7px}.order-card .meta b{display:block;font-size:9px;margin-top:3px}.order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;margin-bottom:14px}.ai-card{background:linear-gradient(135deg,#3e2d72,#7356bd 55%,#ab68df);color:#fff;border-radius:20px;padding:20px;position:relative;overflow:hidden}.ai-card:after{content:"✦";position:absolute;font-size:130px;right:10px;top:-30px;color:rgba(255,255,255,.08)}.ai-card h2{margin:7px 0;font-size:20px}.ai-card p{font-size:10px;line-height:1.6;color:#efe8ff;max-width:650px}.ai-stats{display:grid;gap:10px}.ai-stat{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:13px}.ai-stat small{display:block;color:var(--muted);font-size:8px}.ai-stat b{display:block;font-size:16px;margin-top:4px}.confidence{height:6px;border-radius:999px;background:var(--border);overflow:hidden;margin-top:5px}.confidence i{height:100%;display:block;background:linear-gradient(90deg,var(--primary),#62c49f)}.receipt{max-width:360px;margin:auto;background:#fff;color:#111;padding:22px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.receipt h2{text-align:center;font-size:16px;margin:0}.receipt p{text-align:center;font-size:9px}.receipt table{width:100%;font-size:9px;border-collapse:collapse}.receipt td{padding:4px 0}.receipt .line{border-top:1px dashed #777}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bar-list{display:grid;gap:9px}.bar-row{display:grid;grid-template-columns:130px minmax(0,1fr) 80px;align-items:center;gap:10px}.bar-row span{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-track{height:7px;background:var(--border);border-radius:999px;overflow:hidden}.bar-track i{display:block;height:100%;background:var(--primary);border-radius:999px}.bar-row b{font-size:8px;text-align:right}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.switch-row b{font-size:9px}.switch-row small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.switch{position:relative;width:42px;height:24px}.switch input{opacity:0;width:0;height:0}.switch i{position:absolute;inset:0;background:#b9c7c2;border-radius:999px;transition:.2s}.switch i:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+i{background:var(--primary)}.switch input:checked+i:before{transform:translateX(18px)}.mobile-nav{display:none}.drawer-backdrop{display:none}.toast{position:fixed;right:22px;bottom:22px;z-index:100;background:#18372e;color:#fff;border-radius:11px;padding:11px 14px;font-size:10px;box-shadow:0 12px 30px rgba(0,0,0,.22);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.login-body{background:#edf5f2}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr)}.login-visual{padding:42px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#0c5f47,#0f7a5a 58%,#3dac83);color:#fff;position:relative;overflow:hidden}.login-visual:before,.login-visual:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}.login-visual:before{width:460px;height:460px;right:-160px;top:-130px}.login-visual:after{width:340px;height:340px;left:-130px;bottom:-170px}.login-brand{display:flex;align-items:center;gap:11px;position:relative;z-index:1}.login-brand b{display:block;letter-spacing:.7px}.login-brand small{display:block;font-size:9px;color:#d8fff0}.login-copy{position:relative;z-index:1;max-width:670px}.login-copy h1{font-size:38px;line-height:1.17;margin:10px 0 13px}.login-copy p{font-size:13px;line-height:1.7;color:#dcfff2}.login-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;position:relative;z-index:1}.login-feature-grid div{padding:13px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.login-feature-grid b{font-size:10px;display:block}.login-feature-grid span{font-size:8px;color:#d9f9ed;display:block;margin-top:4px}.login-panel{display:grid;place-items:center;padding:28px;background:var(--bg)}.login-card{width:min(410px,100%);background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.login-card h2{font-size:23px;margin:7px 0 5px}.login-card>p{font-size:10px;color:var(--muted);margin:0 0 20px}.password-wrap{display:flex;border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.password-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(15,122,90,.1)}.password-wrap input{border:0;box-shadow:none!important}.password-wrap button{width:42px;border:0;background:transparent}.login-help{font-size:8px;line-height:1.6;color:var(--muted);margin-top:14px;text-align:center}.mobile-login-brand{display:none}.mobile-only{display:none}@media print{.sidebar,.topbar,.mobile-nav,.no-print,.button,.toolbar{display:none!important}.main-area{margin:0}.content{padding:0}.panel{box-shadow:none;border:0}.print-full{width:100%!important}}
@media(max-width:1180px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.bottom-grid{grid-template-columns:1fr 1fr}.page-grid{grid-template-columns:1fr}.form-card{position:static}.pos-layout{grid-template-columns:minmax(0,1fr) 340px}.settings-grid{grid-template-columns:1fr}.login-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:920px){:root{--sidebar:265px}.sidebar{transform:translateX(-105%);box-shadow:0 0 40px rgba(0,0,0,.18)}.sidebar.open{transform:none}.drawer-backdrop{position:fixed;inset:0;background:rgba(6,20,16,.42);z-index:55}.drawer-backdrop.show{display:block}.main-area{margin-left:0}.mobile-only{display:grid}.topbar{padding:0 16px;height:70px}.content{padding:16px 15px 92px}.welcome-banner{padding:19px}.welcome-banner h2{font-size:18px}.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.pos-products{max-height:none}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-panel{min-height:100vh}.mobile-login-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}.mobile-nav{position:fixed;left:0;right:0;bottom:0;height:72px;display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--border);z-index:45;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted)}.mobile-nav a span{font-size:18px}.mobile-nav a small{font-size:7px;font-weight:700}.mobile-nav a.active{color:var(--primary)}.mobile-nav .pos-fab span{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--primary),#2faa81);color:#fff;display:grid;place-items:center;margin-top:-26px;border:5px solid var(--bg);box-shadow:0 8px 17px rgba(15,122,90,.25)}.mobile-nav .pos-fab small{margin-top:-2px}.ai-hero{grid-template-columns:1fr}.ai-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){body{font-size:13px}.topbar p{display:none}.profile-button div,.connection-pill span{display:none}.profile-button{padding-right:5px}.welcome-banner{align-items:flex-start;flex-direction:column}.welcome-actions{width:100%}.welcome-actions .button{flex:1}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{padding:13px}.metric-card h3{font-size:16px}.dashboard-grid,.bottom-grid{gap:10px;margin-top:10px}.bottom-grid{grid-template-columns:1fr}.panel{padding:14px}.summary-strip{grid-template-columns:1fr 1fr}.section-title{flex-direction:column}.section-title .toolbar{width:100%}.search-input{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.order-grid{grid-template-columns:1fr}.order-card .meta{grid-template-columns:1fr 1fr}.report-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.ai-stats{grid-template-columns:1fr}.bar-row{grid-template-columns:90px minmax(0,1fr) 60px}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-actions{gap:5px}.icon-button{width:36px;height:36px}.content{padding-left:10px;padding-right:10px}.login-panel{padding:14px}.login-card{padding:21px}.toast{left:12px;right:12px;bottom:84px;text-align:center}.toolbar>*{flex:1}.toolbar .button{white-space:nowrap}}
@media(max-width:390px){.metric-grid{grid-template-columns:1fr}.welcome-actions{flex-direction:column}.summary-strip{grid-template-columns:1fr}.pos-products{grid-template-columns:1fr 1fr}}
.shop-body{background:var(--bg);min-height:100vh}.shop-header{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.shop-header-inner{max-width:1280px;margin:auto;height:72px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.shop-brand{display:flex;align-items:center;gap:10px}.shop-brand b{display:block}.shop-brand small{display:block;color:var(--muted);font-size:8px}.shop-actions{display:flex;align-items:center;gap:8px}.shop-container{max-width:1280px;margin:auto;padding:20px}.shop-hero{background:linear-gradient(120deg,#0e684e,#14906a 58%,#45b18c);border-radius:24px;padding:28px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.shop-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-80px;top:-120px;background:rgba(255,255,255,.08)}.shop-hero h1{font-size:28px;margin:8px 0}.shop-hero p{color:#dffff3;font-size:11px;margin:0;max-width:600px}.shop-search{min-width:310px;position:relative;z-index:1}.shop-search input{width:100%;height:46px;border:0;border-radius:14px;padding:0 15px;outline:none;box-shadow:0 10px 25px rgba(0,0,0,.12)}.category-scroll{display:flex;gap:8px;overflow:auto;padding:16px 0 12px;scrollbar-width:none}.category-scroll::-webkit-scrollbar{display:none}.category-chip{white-space:nowrap;border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;padding:8px 13px;font-size:9px;font-weight:800}.category-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}.shop-section-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 12px}.shop-section-head h2{font-size:16px;margin:0}.shop-section-head p{font-size:9px;color:var(--muted);margin:4px 0 0}.shop-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.shop-product{background:var(--surface);border:1px solid var(--border);border-radius:17px;padding:11px;display:grid;gap:8px;box-shadow:var(--shadow)}.shop-product-image{height:140px;border-radius:13px;background:linear-gradient(135deg,var(--primary-soft),var(--surface-2));display:grid;place-items:center;color:var(--primary);font-size:34px;overflow:hidden}.shop-product-image img{width:100%;height:100%;object-fit:cover}.shop-product h3{font-size:10px;line-height:1.4;margin:0;min-height:28px}.shop-product small{color:var(--muted);font-size:8px}.shop-product .price-row{display:flex;align-items:center;justify-content:space-between;gap:7px}.shop-product strong{font-size:12px;color:var(--primary)}.add-cart{width:32px;height:32px;border:0;border-radius:10px;background:var(--primary);color:#fff;font-weight:900}.cart-button{position:relative}.cart-count{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--danger);color:#fff;font-size:8px;display:grid;place-items:center}.shop-overlay{position:fixed;inset:0;background:rgba(4,18,14,.45);z-index:80;opacity:0;pointer-events:none;transition:.2s}.shop-overlay.open{opacity:1;pointer-events:auto}.shop-cart{position:fixed;right:0;top:0;bottom:0;width:min(430px,100%);background:var(--surface);z-index:90;padding:19px;display:flex;flex-direction:column;transform:translateX(105%);transition:.25s;box-shadow:-20px 0 50px rgba(0,0,0,.15)}.shop-cart.open{transform:none}.shop-cart-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--border)}.shop-cart-head h2{font-size:15px;margin:0}.shop-cart-list{display:grid;gap:9px;overflow:auto;padding:12px 2px;flex:1}.shop-cart-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid var(--border);border-radius:12px}.shop-cart-item .pic{width:48px;height:48px;border-radius:10px;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary)}.shop-cart-item b{font-size:9px;display:block}.shop-cart-item small{font-size:8px;color:var(--muted)}.shop-checkout{border-top:1px solid var(--border);padding-top:12px}.shop-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.shop-total span{font-size:10px}.shop-total b{font-size:16px;color:var(--primary)}.shop-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:16px;background:rgba(4,18,14,.55);opacity:0;pointer-events:none;transition:.2s}.shop-modal.open{opacity:1;pointer-events:auto}.shop-modal-card{width:min(570px,100%);max-height:94vh;overflow:auto;background:var(--surface);border-radius:21px;padding:20px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.shop-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.shop-modal-head h3{font-size:15px;margin:0}.shop-closed{padding:12px;border-radius:12px;background:var(--warning-soft);color:var(--warning);font-size:10px;margin-bottom:13px}.shop-footer{max-width:1280px;margin:25px auto 0;padding:22px 20px 35px;border-top:1px solid var(--border);color:var(--muted);font-size:9px;display:flex;justify-content:space-between;gap:14px}.order-success{text-align:center;padding:18px}.order-success .check{width:62px;height:62px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:28px;margin:0 auto 12px}.order-success h3{font-size:18px}.order-success p{font-size:10px;color:var(--muted);line-height:1.6}@media(max-width:1050px){.shop-products{grid-template-columns:repeat(4,1fr)}}@media(max-width:820px){.shop-products{grid-template-columns:repeat(3,1fr)}.shop-hero{align-items:flex-start;flex-direction:column}.shop-search{width:100%;min-width:0}.shop-hero h1{font-size:23px}}@media(max-width:560px){.shop-header-inner{height:64px;padding:0 12px}.shop-container{padding:12px}.shop-hero{padding:19px;border-radius:18px}.shop-hero h1{font-size:19px}.shop-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-product{padding:9px}.shop-product-image{height:105px}.shop-footer{flex-direction:column}.shop-actions .button span{display:none}}
/* Multi-store */
.sidebar-store-switch{padding:0 15px 12px}.sidebar-store-switch label{display:grid;gap:5px}.sidebar-store-switch span{font-size:7px;font-weight:900;letter-spacing:.12em;color:var(--muted)}.sidebar-store-switch select,.topbar-store-switch select{width:100%;height:34px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);padding:0 9px;font:inherit;font-size:9px;font-weight:800;outline:none}.topbar-store-switch{width:min(190px,24vw)}.active-store-row{background:var(--primary-soft)}.store-picker-page{min-height:100vh;display:grid;place-items:center;padding:20px}.store-picker-card{width:min(760px,100%);background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:28px;box-shadow:var(--shadow);text-align:center}.store-picker-card>.brand-logo{margin:0 auto 14px}.store-picker-card h1{font-size:24px;margin:8px 0}.store-picker-card>p{color:var(--muted);font-size:10px;margin:0 0 20px}.public-store-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}.public-store-grid>a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--border);border-radius:15px;padding:12px;background:var(--surface-2);transition:.2s}.public-store-grid>a:hover{border-color:var(--primary);transform:translateY(-1px)}.public-store-grid>a>span{width:46px;height:46px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900}.public-store-grid b{display:block;font-size:11px}.public-store-grid small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.public-store-grid em{font-size:22px;color:var(--primary);font-style:normal}@media(max-width:920px){.topbar-store-switch{display:none}}@media(max-width:560px){.public-store-grid{grid-template-columns:1fr}.store-picker-card{padding:20px}.store-picker-card h1{font-size:19px}}

/* LAN POS v1.2 — full-width CRUD pages and improved readability */
.section-title h2{font-size:20px}.section-title p{font-size:11px;line-height:1.55}.panel-header h3{font-size:15px}.panel-header p{font-size:10px;line-height:1.5}.button{font-size:11px;min-height:42px;padding:10px 15px}.button.small{font-size:10px;min-height:34px;padding:7px 11px}.search-input,.select-input,.date-input{min-height:43px;font-size:11px}.field>span,.field label{font-size:10px}.field input,.field select,.field textarea{min-height:44px;font-size:11px;padding:10px 12px}.field textarea{min-height:104px}.field small{font-size:9px;color:var(--muted);line-height:1.45}.form-note{font-size:9px}.data-table{min-width:860px}.data-table th{font-size:9px;padding:13px 14px}.data-table td{font-size:10.5px;padding:13px 14px;line-height:1.45}.data-table td small{font-size:8.5px;color:var(--muted)}.product-cell{gap:11px}.product-cell b{font-size:11px;line-height:1.35}.product-cell small{font-size:8.5px;line-height:1.4}.product-thumb{width:42px;height:42px;border-radius:11px;overflow:hidden;flex:0 0 auto}.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.status{font-size:9px;padding:5px 8px}.price-strong{font-size:12px;color:var(--text)}.readable-table{min-width:930px}.readable-table th{font-size:9.5px}.readable-table td{font-size:11px}.product-cell-large{min-width:250px}.product-cell-large b{font-size:12px}.product-cell-large small{font-size:9px}.product-thumb-large{width:52px;height:52px;border-radius:14px}.full-list-panel{width:100%}.filter-toolbar{margin-bottom:13px}.list-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 2px 12px;color:var(--muted);font-size:10px}.list-summary b{font-size:12px;color:var(--text)}.actions-inline{flex-wrap:wrap}.actions-inline form{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:5px}.form-large{gap:16px}.form-large .field{gap:8px}.form-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.standalone-form{max-width:760px;margin:0 auto}.standalone-form.wide-form,.wide-form{max-width:980px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,410px);gap:16px;align-items:start}.editor-main,.editor-side{min-width:0}.editor-side{position:sticky;top:calc(var(--topbar) + 18px)}.product-image-preview{min-height:260px;border:1px dashed var(--border);border-radius:17px;background:linear-gradient(145deg,var(--primary-soft),var(--surface-2));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:16px;overflow:hidden}.product-image-preview img{width:100%;height:280px;object-fit:contain;border-radius:13px;background:#fff}.product-image-preview>span{font-size:36px;color:var(--primary)}.product-image-preview>b{font-size:12px}.product-image-preview>small{font-size:9px;color:var(--muted);max-width:260px;line-height:1.5}.check-row{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2);font-size:10px;font-weight:700;line-height:1.45}.check-row input{margin-top:2px;accent-color:var(--primary)}.image-search-status{font-size:9px;color:var(--muted);line-height:1.55;padding:10px 11px;border-radius:11px;background:var(--surface-2);border:1px solid var(--border)}.image-candidate-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.image-candidate{position:relative;border:1px solid var(--border);border-radius:13px;background:var(--surface);padding:7px;text-align:left;color:var(--text);display:grid;gap:6px;transition:.18s;min-width:0}.image-candidate:hover{border-color:var(--primary);transform:translateY(-1px)}.image-candidate.selected{border:2px solid var(--primary);background:var(--primary-soft)}.candidate-image{height:105px;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden}.candidate-image img{width:100%;height:100%;object-fit:contain}.candidate-copy{min-width:0;display:grid;gap:3px}.candidate-copy b{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.candidate-copy small{font-size:7px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.candidate-check{position:absolute;top:5px;right:5px;width:23px;height:23px;border-radius:50%;background:var(--primary);color:#fff;display:none;place-items:center;font-size:11px;font-weight:900}.image-candidate.selected .candidate-check{display:grid}.color-preview{display:inline-flex;align-items:center;gap:8px;font-size:10px}.color-preview i{width:24px;height:24px;border-radius:8px;border:1px solid var(--border)}
@media(max-width:1180px){.editor-layout{grid-template-columns:1fr}.editor-side{position:static}.product-image-preview img{height:260px}.image-candidate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.section-title h2{font-size:18px}.section-title .toolbar{display:grid;grid-template-columns:1fr 1fr}.section-title .toolbar .button{width:100%}.form-grid-wide{grid-template-columns:1fr}.form-actions{display:grid;grid-template-columns:1fr}.form-actions .button{width:100%}.readable-table{min-width:820px}.data-table td{font-size:10px;padding:12px}.product-cell-large{min-width:220px}.product-thumb-large{width:48px;height:48px}.image-candidate-grid{grid-template-columns:1fr 1fr}.product-image-preview{min-height:220px}.product-image-preview img{height:230px}.list-summary{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:420px){.section-title .toolbar{grid-template-columns:1fr}.image-candidate-grid{grid-template-columns:1fr 1fr}.candidate-image{height:92px}}

/* =========================================================
   LAN POS v1.3 — LARGE & CONSISTENT TYPOGRAPHY
   ========================================================= */
:root{--sidebar:286px;--topbar:86px}
body{font-size:16px;line-height:1.5}
.brand{gap:13px}.brand-logo{width:48px;height:48px;border-radius:15px;font-size:15px}.brand b{font-size:19px}.brand small{font-size:12px}
.store-card{padding:13px}.store-badge{width:42px;height:42px;font-size:13px}.store-card small{font-size:11px}.store-card b{font-size:14px}.store-card em{font-size:11px}
.nav-item{min-height:49px;padding:11px 13px;font-size:14px}.nav-icon{width:27px;height:27px;font-size:16px}.nav-item em{font-size:10px;padding:4px 8px}
.sync-mini b{font-size:13px}.sync-mini small{font-size:11px}.sidebar-store-switch span{font-size:10px}.sidebar-store-switch select,.topbar-store-switch select{height:42px;font-size:13px}
.topbar{padding:0 30px}.topbar h1{font-size:24px}.topbar p{font-size:13px}.icon-button{width:45px;height:45px;font-size:18px}.profile-button{padding:7px 13px 7px 7px}.profile-button>span{width:39px;height:39px;font-size:13px}.profile-button b{font-size:13px}.profile-button small{font-size:11px}.connection-pill{height:39px;font-size:12px;padding:0 14px}
.content{padding:26px 30px 110px;max-width:1800px}.eyebrow{font-size:11px}.welcome-banner h2{font-size:27px}.welcome-banner p{font-size:14px;line-height:1.55}
.button{min-height:46px;padding:11px 17px;font-size:14px;border-radius:13px}.button.small{min-height:38px;padding:8px 12px;font-size:12px}.link{font-size:12px}
.section-title{margin-bottom:18px}.section-title h2{font-size:25px}.section-title p{font-size:14px;line-height:1.6}.panel{padding:20px}.panel-header{margin-bottom:17px}.panel-header h3{font-size:18px}.panel-header p{font-size:13px;line-height:1.55}
.metric-card p{font-size:13px}.metric-card h3{font-size:25px}.metric-card small{font-size:11px}.trend{font-size:11px}.metric-icon{width:44px;height:44px;font-size:20px}
.list-row{padding:13px}.list-avatar{width:44px;height:44px;font-size:13px}.list-row b{font-size:14px}.list-row small{font-size:12px}.list-row strong{font-size:14px}.status{font-size:12px;padding:6px 10px}.quick-action b{font-size:13px}.quick-action small{font-size:11px}.quick-action span{font-size:22px}
.search-input,.select-input,.date-input{min-height:50px;font-size:16px;padding:11px 14px;border-radius:13px}.field{gap:8px}.field>span,.field label{font-size:14px}.field input,.field select,.field textarea{min-height:50px;font-size:16px;padding:11px 14px;border-radius:12px}.field textarea{min-height:120px}.field small{font-size:12px;line-height:1.5}.form-note{font-size:12.5px;padding:13px;line-height:1.65}.form-stack{gap:15px}.form-large{gap:20px}.form-grid,.form-grid-wide{gap:15px}.switch-row b{font-size:14px}.switch-row small{font-size:12px}.check-row{font-size:13px;padding:12px}
.data-table{min-width:980px}.data-table th{font-size:12px;padding:15px 16px;letter-spacing:.5px}.data-table td{font-size:14px;padding:15px 16px;line-height:1.55}.data-table td small{font-size:12px}.readable-table th{font-size:12px}.readable-table td{font-size:14px}.product-cell b,.product-cell-large b{font-size:15px;line-height:1.4}.product-cell small,.product-cell-large small{font-size:12px}.product-thumb{width:48px;height:48px}.product-thumb-large{width:60px;height:60px}.price-strong{font-size:15px}.list-summary{font-size:13px}.list-summary b{font-size:15px}.summary-item small{font-size:12px}.summary-item b{font-size:19px}.empty-state b{font-size:16px}.empty-state p{font-size:13px}
.alert{font-size:14px;padding:13px 16px}.toast{font-size:14px}.form-actions{gap:12px}.actions-inline{gap:8px}.icon-action{width:38px;height:38px;font-size:15px}
.settings-grid-large{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sticky-save-bar{position:sticky;bottom:14px;z-index:20;margin-top:18px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:17px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.sticky-save-bar span{font-size:13px;color:var(--muted)}
.ai-test-result{font-size:13px;line-height:1.55;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;padding:12px 13px}.ai-test-result.loading{color:var(--info)}.ai-test-result.success{background:var(--primary-soft);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.ai-test-result.error{background:var(--danger-soft);color:var(--danger)}.ai-model-chip{display:inline-flex;margin-top:13px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px}.ai-summary-panel{margin-top:16px}.ai-summary-text{font-size:15px;line-height:1.75;white-space:normal}.ai-card h2{font-size:27px}.ai-card p{font-size:14px}.ai-stat small{font-size:12px}.ai-stat b{font-size:18px}
.product-image-preview>b{font-size:15px}.product-image-preview>small{font-size:12px}.image-search-status{font-size:12px}.candidate-copy b{font-size:12px}.candidate-copy small{font-size:10px}

/* POS besar, nyaman untuk sentuh, scanner, tablet, dan komputer */
.pos-section-title{align-items:center}.pos-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:-5px 0 16px}.pos-shortcuts span{font-size:12px;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:7px 10px}.pos-shortcuts kbd{font:700 11px ui-monospace,monospace;background:var(--surface-2);border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;padding:2px 6px;color:var(--text)}
.pos-layout-large{grid-template-columns:minmax(0,1.45fr) minmax(430px,.85fr);gap:18px}.pos-catalog-panel{min-width:0}.pos-search-row{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:11px}.pos-search-box{position:relative}.pos-search-box>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:22px;color:var(--primary);z-index:1}.pos-search-box input{width:100%;padding-left:48px}.pos-catalog-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;color:var(--muted);font-size:13px}.pos-catalog-info b{font-size:15px;color:var(--text)}
.pos-products{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:13px;max-height:calc(100vh - 285px);padding:2px 5px 4px 2px}.pos-product{padding:13px;border-radius:17px;gap:10px;min-height:245px}.pos-product .thumb{height:125px;border-radius:13px;position:relative;overflow:hidden;font-size:32px}.pos-product .thumb img{width:100%;height:100%;object-fit:contain;background:#fff;border-radius:13px}.pos-product .thumb em{position:absolute;left:8px;top:8px;background:var(--warning);color:#fff;border-radius:999px;padding:4px 7px;font-style:normal;font-size:10px;font-weight:900}.pos-product.out .thumb em{background:var(--danger)}.pos-product-copy{display:grid;gap:4px}.pos-product b{font-size:15px;line-height:1.4;min-height:42px}.pos-product small{font-size:11.5px;line-height:1.4}.pos-product-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto}.pos-product strong{font-size:17px}.pos-product-foot small{text-align:right}.pos-product.low:not(.out){border-color:color-mix(in srgb,var(--warning) 40%,var(--border))}
.cart-panel-large{top:calc(var(--topbar) + 16px)}.cart-head{align-items:flex-start}.cart-head-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.cart-list{max-height:340px;gap:10px;margin-bottom:15px}.cart-item{grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;gap:10px;padding:11px 0}.cart-item b{font-size:14px}.cart-item small{font-size:12px}.cart-item small strong{color:var(--primary)}.qty-control{display:grid;grid-template-columns:36px 58px 36px;align-items:center}.qty-control button{width:36px;height:38px;font-size:19px}.qty-control input{width:58px;height:38px;border:1px solid var(--border);border-left:0;border-right:0;background:var(--surface);color:var(--text);text-align:center;font-size:14px;font-weight:800;outline:none}.cart-remove{width:32px;height:32px;border:1px solid var(--border);border-radius:9px;background:var(--danger-soft);color:var(--danger);font-size:18px}.pos-customer-form{margin-top:4px}.quick-cash-wrap{display:grid;gap:8px;margin:14px 0}.quick-cash-wrap>span{font-size:13px;font-weight:800}.quick-cash-grid{display:flex;gap:7px;flex-wrap:wrap}.quick-cash{min-height:38px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);padding:7px 11px;font-size:12px;font-weight:800}.quick-cash:hover{border-color:var(--primary);color:var(--primary)}.quick-cash.exact{background:var(--primary-soft);color:var(--primary)}.quick-cash.clear{color:var(--danger)}
.payment-grid{gap:9px;margin:14px 0}.payment-option{padding:11px 8px;font-size:13px;display:grid;gap:3px}.payment-option b{font-size:14px}.payment-option small{font-size:10px;color:var(--muted)}.payment-option.active small{color:inherit}.cart-totals{gap:9px;padding:14px 0}.cart-totals div{font-size:14px}.cart-totals div b{font-size:15px}.cart-totals .grand{font-size:19px}.cart-totals .grand b{font-size:24px}.cart-totals .change-row{color:var(--primary);font-weight:800}.pending-sync{font-size:12px}.checkout-large{min-height:58px;font-size:17px;margin-top:14px}.checkout-large small{margin-left:auto;font-size:11px;opacity:.8}
.pos-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px;background:rgba(4,18,14,.58);opacity:0;pointer-events:none;transition:.2s}.pos-modal.open{opacity:1;pointer-events:auto}.pos-modal-card{width:min(700px,100%);max-height:88vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.pos-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}.pos-modal-head h3{font-size:21px;margin:0}.pos-modal-head p{font-size:13px;color:var(--muted);margin:5px 0 0}.held-cart-list{display:grid;gap:10px}.held-cart-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.held-cart-row b{font-size:15px}.held-cart-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.held-cart-row>div{display:flex;gap:7px}

/* Struk lebih jelas */
.receipt{font-size:13px}.receipt h2{font-size:20px}.receipt p{font-size:12px}.receipt table{font-size:12px}.receipt td{padding:5px 0}

@media(max-width:1250px){.settings-grid-large{grid-template-columns:1fr}.pos-layout-large{grid-template-columns:minmax(0,1fr) 410px}.pos-products{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}}
@media(max-width:920px){:root{--sidebar:286px}.topbar h1{font-size:21px}.content{padding:20px 18px 100px}.pos-layout-large{grid-template-columns:1fr}.cart-panel-large{position:static}.pos-products{max-height:none;grid-template-columns:repeat(3,minmax(0,1fr))}.sticky-save-bar{bottom:80px}}
@media(max-width:680px){body{font-size:15px}.content{padding:16px 12px 96px}.panel{padding:15px}.topbar{padding:0 13px}.topbar h1{font-size:19px}.topbar p{font-size:11px}.profile-button div,.connection-pill{display:none}.section-title h2{font-size:21px}.section-title p{font-size:13px}.section-title{gap:11px}.button{font-size:14px}.button.small{font-size:12px}.field>span,.field label{font-size:14px}.field input,.field select,.field textarea,.search-input,.select-input,.date-input{font-size:16px;min-height:50px}.data-table td{font-size:14px}.data-table th{font-size:12px}.mobile-nav a small{font-size:10px}.mobile-nav a span{font-size:20px}.pos-shortcuts{display:none}.pos-search-row{grid-template-columns:1fr}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pos-product{min-height:220px;padding:10px}.pos-product .thumb{height:105px}.pos-product b{font-size:14px;min-height:39px}.pos-product strong{font-size:15px}.pos-product small{font-size:10.5px}.cart-head{display:grid}.cart-head-actions{justify-content:flex-start}.cart-item{grid-template-columns:minmax(0,1fr) auto 31px}.qty-control{grid-template-columns:34px 49px 34px}.qty-control input{width:49px}.quick-cash{flex:1 1 calc(33.33% - 7px)}.payment-option b{font-size:13px}.payment-option small{font-size:9px}.cart-totals .grand b{font-size:22px}.held-cart-row{align-items:flex-start;flex-direction:column}.held-cart-row>div{width:100%}.held-cart-row>div .button{flex:1}.sticky-save-bar{align-items:stretch;flex-direction:column;bottom:78px}.sticky-save-bar span{display:none}.settings-grid-large{gap:13px}}
@media(max-width:390px){.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product .thumb{height:92px}.pos-product{min-height:205px}.cart-head-actions .button{flex:1 1 calc(50% - 5px)}}

/* Area lain mengikuti skala huruf besar yang sama */
.pagination a,.pagination span{font-size:13px;min-width:38px;height:38px}.order-card h4{font-size:16px}.order-card p{font-size:13px;line-height:1.55}.order-card .meta small{font-size:11px}.order-card .meta b{font-size:14px}.bar-row span,.bar-row b{font-size:12px}.confidence{height:8px}
.login-brand small{font-size:13px}.login-feature-grid b{font-size:14px}.login-feature-grid span{font-size:12px;line-height:1.5}.login-card>p{font-size:14px;line-height:1.6}.login-help{font-size:12px}.login-card h1{font-size:27px}.login-card .field>span{font-size:14px}
.shop-brand b{font-size:18px}.shop-brand small{font-size:12px}.shop-hero h1{font-size:31px}.shop-hero p{font-size:14px;line-height:1.6}.category-chip{font-size:13px;padding:9px 13px}.shop-section-head h2{font-size:22px}.shop-section-head p{font-size:13px}.shop-product h3{font-size:15px;line-height:1.45}.shop-product small{font-size:12px}.shop-product strong{font-size:17px}.cart-count{font-size:11px;min-width:20px;height:20px}.shop-cart-item b{font-size:14px}.shop-cart-item small{font-size:12px}.shop-total span{font-size:14px}.shop-total b{font-size:20px}.shop-closed{font-size:13px}.shop-footer{font-size:12px}.shop-modal-head h3{font-size:20px}.order-success h3{font-size:22px}.order-success p{font-size:13px}.shop-search input{font-size:16px}.shop-actions .button{font-size:13px}
.store-picker-card>p{font-size:14px}.public-store-grid b{font-size:15px}.public-store-grid small{font-size:12px}.public-store-grid>a{padding:14px}.store-picker-card h1{font-size:28px}
@media(max-width:560px){.shop-hero h1{font-size:24px}.shop-product h3{font-size:14px}.shop-product strong{font-size:15px}.shop-product small{font-size:11px}.category-chip{font-size:12px}.store-picker-card h1{font-size:23px}}

/* LAN POS v1.3.4 — galeri foto produk berdasarkan kata singkat */
.product-editor-stack{grid-template-columns:1fr;gap:18px}.product-editor-stack .editor-side{position:static}.product-photo-panel{padding:20px}.photo-search-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;align-items:start}.photo-preview-column,.photo-results-column{min-width:0}.photo-search-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.72fr);gap:12px;align-items:end;margin-bottom:12px}.photo-search-controls .field.full{grid-column:1/-1}.compact-check{min-height:52px}.photo-search-buttons{display:flex;gap:10px}.photo-search-buttons .button{min-width:150px;min-height:50px;font-size:14px}.image-candidate-grid-wide{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:13px}.image-candidate-grid-wide .image-candidate{padding:10px;border-radius:15px;gap:8px;min-height:245px}.image-candidate-grid-wide .candidate-image{height:155px}.image-candidate-grid-wide .candidate-copy b{font-size:13px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.image-candidate-grid-wide .candidate-copy small{font-size:11px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.image-candidate-grid-wide .candidate-copy a{font-size:11px;color:var(--primary);font-weight:800;margin-top:2px}.candidate-choose{display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:9px;background:var(--surface-2);border:1px solid var(--border);font-size:12px;font-weight:900;color:var(--primary)}.image-candidate.selected .candidate-choose{background:var(--primary);color:#fff;border-color:var(--primary)}.candidate-image.image-error{padding:12px;text-align:center;color:var(--danger);font-size:12px;font-weight:800}.product-photo-panel .image-search-status{font-size:13px;line-height:1.6;padding:12px 14px}.product-photo-panel .form-note{font-size:12px;line-height:1.55;margin-top:12px}.product-photo-panel .product-image-preview{min-height:315px}.product-photo-panel .product-image-preview img{height:315px}
@media(max-width:1280px){.image-candidate-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-search-controls{grid-template-columns:1fr}}
@media(max-width:900px){.photo-search-layout{grid-template-columns:1fr}.photo-preview-column{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px}.photo-preview-column .form-stack{margin-top:0!important}.image-candidate-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.product-photo-panel{padding:15px}.photo-preview-column{display:block}.photo-preview-column .form-stack{margin-top:14px!important}.photo-search-buttons{display:grid;grid-template-columns:1fr 1fr}.photo-search-buttons .button{min-width:0}.image-candidate-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.image-candidate-grid-wide .image-candidate{min-height:215px;padding:8px}.image-candidate-grid-wide .candidate-image{height:125px}.image-candidate-grid-wide .candidate-copy b{font-size:12px}.image-candidate-grid-wide .candidate-copy small{font-size:10px}.product-photo-panel .product-image-preview{min-height:240px}.product-photo-panel .product-image-preview img{height:250px}}
@media(max-width:390px){.image-candidate-grid-wide{grid-template-columns:1fr 1fr}.image-candidate-grid-wide .candidate-image{height:108px}.image-candidate-grid-wide .image-candidate{min-height:200px}}
