:root{font-family:Arial,sans-serif;color:#253b34;background:#f4f3ed;--green:#183f33;--lime:#dcf09b}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:210px;background:var(--green);color:white;position:fixed;height:100vh;padding:32px 20px}.brand{font-size:32px;letter-spacing:5px}.brand span{display:block;font-size:9px;letter-spacing:2px;margin:10px 0 40px}nav button{display:block;background:transparent;color:#cbdcd4;text-align:left;width:100%;margin:5px 0}nav button.active{background:var(--lime);color:var(--green)}.foot{position:absolute;bottom:30px;color:#a6c0b3;line-height:1.6;font-size:12px}main{margin-left:210px;padding:30px;width:calc(100% - 210px)}header{display:flex;justify-content:space-between;align-items:center}small{letter-spacing:2px;font-size:10px}h1{font-size:30px;margin:9px 0 24px}h2{font-size:20px}.notice{background:#eee7cd;padding:12px 16px;font-size:12px;border-radius:10px;margin-bottom:24px}button,input,select{font:inherit;border-radius:9px;padding:12px;border:1px solid #d7dfd7}button{cursor:pointer;background:white;color:var(--green)}button.primary{background:var(--green);color:white}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:default}input,select{max-width:100%;background:white}label{display:block;font-size:12px;margin:12px 0 5px}label input,label select{display:block;width:100%;margin-top:6px}input[type=checkbox]{width:auto;display:inline}.split{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px}.card{background:white;border:1px solid #e0e5dc;border-radius:16px;padding:20px;margin-bottom:14px}.product{text-align:left;min-height:130px}.product b,.product span{display:block;margin:12px 0}.product span{font-size:12px;color:#697b70}.row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0}.muted{color:#6a796f;font-size:12px}.money{font-size:27px;font-weight:bold}.pill{font-size:11px;padding:5px 9px;background:#eaf0e5;border-radius:20px}.actions{display:flex;gap:8px;flex-wrap:wrap}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;padding:12px 8px;border-bottom:1px solid #eee}dialog{border:0;border-radius:16px;max-width:520px;width:95%;max-height:90vh;overflow:auto}dialog::backdrop{background:#10281e88}#toast{color:#8a3b22;margin-bottom:15px}pre{white-space:pre-wrap;font-size:13px;line-height:1.6}a{color:var(--green)}@media(max-width:850px){aside{width:100%;height:auto;position:static;padding:14px}.brand{font-size:22px}.brand span,.foot{display:none}body{display:block}nav{display:flex;overflow:auto}nav button{width:auto;white-space:nowrap}main{margin:0;width:100%;padding:18px}.split{grid-template-columns:1fr}}@media print{body>*{display:none!important}dialog{display:block!important;position:static;border:0;width:72mm;margin:0;padding:0}dialog button{display:none!important}dialog::backdrop{display:none}body{display:block}#dialogContent{display:block}}

@media print{.shareControls{display:none!important}}
/* VERVE workspace — v0.5 */
:root{--accent:#e1b960;--dark:#202723;background:#f5f3ee;color:#252d29;font-family:Inter,'Segoe UI',Arial,sans-serif}aside{background:var(--dark);width:104px;padding:30px 12px;border-radius:0 28px 28px 0;box-shadow:8px 0 40px #2027230a}.brand{font-size:20px;letter-spacing:2px;text-align:center}.brand span{font-size:7px;letter-spacing:1px;margin:10px 0 28px}.brandLogo{width:72px;height:72px;object-fit:contain;border-radius:14px;background:#fff}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;min-height:70px;border-radius:16px;margin:5px 0;font-size:10px;transition:background .15s}nav button.active{background:var(--accent);color:#18271f;box-shadow:0 5px 20px #0002}nav svg{width:24px;height:24px}svg{pointer-events:none}button span{pointer-events:none}.foot{font-size:9px;left:15px;bottom:18px}main{margin-left:104px;width:calc(100% - 104px);padding:32px 40px}header{gap:18px}header>div:first-child{flex:1}header small{font-size:10px;color:#798476;letter-spacing:3px}h1{font-size:32px;letter-spacing:-1px;font-weight:650}header select{border:0;box-shadow:0 3px 12px #243d2810;padding:13px 18px}.toolbar{display:flex;gap:8px}.iconButton{width:44px;height:44px;padding:11px;border:1px solid #e0e2d9}.iconButton svg{width:21px;height:21px}.notice{background:#fff9e9;color:#766336;border:1px solid #e9dfc4;font-size:11px;line-height:1.6;border-radius:12px;padding:10px 15px}.split{grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);gap:26px}.grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:18px}.card{border:1px solid #e5e6df;box-shadow:0 8px 24px #253d2810;border-radius:20px;padding:24px}h2{font-weight:650;letter-spacing:-.4px;margin-top:0}.product{position:relative;overflow:hidden;padding:16px;border:1px solid #e2e4dc;border-radius:20px;box-shadow:0 5px 18px #203d2810;min-height:215px;transition:transform .15s,box-shadow .15s}.product:hover{transform:translateY(-3px);box-shadow:0 10px 22px #203d2820;filter:none}.productArt{height:86px;border-radius:12px;background:linear-gradient(130deg,#efe7d6,#e4eadf);display:flex;align-items:center;justify-content:center;margin-bottom:12px}.productArt svg{height:50px;width:50px;color:#596951;stroke-width:1.1}.product:nth-child(2n) .productArt{background:linear-gradient(130deg,#f1ded3,#f2eddf)}.product:nth-child(3n) .productArt{background:linear-gradient(130deg,#e5e0ec,#e7eadc)}.product span{font-size:10px;letter-spacing:1px;text-transform:uppercase;margin:8px 0}.product b{font-size:14px;margin:7px 0 14px}.primary{background:var(--dark)!important;border-color:var(--dark);box-shadow:0 4px 12px #20272320;font-weight:600}#create{width:100%;margin-top:18px;min-height:52px}.money{letter-spacing:-1px}input:focus,select:focus,button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button{min-height:44px}.pill{background:#e8efdf;color:#436243}.icons-only nav .navLabel{display:none}.icons-only nav button{min-height:60px}.steps{padding-left:24px}.steps li{padding:10px 0 10px 6px;line-height:1.6;border-bottom:1px solid #eceee7}.helpIcon{width:52px;height:52px;background:#f0e7cf;color:#6b572c;border-radius:14px;padding:12px;margin-bottom:20px}.helpIcon svg{width:28px;height:28px}dialog{padding:28px;box-shadow:0 24px 80px #0003}#buttonTip{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:85vw;background:#202723;color:white;border-radius:14px;padding:14px 20px;z-index:10000;display:none;box-shadow:0 8px 30px #0003;font-size:13px;pointer-events:none}#buttonTip.visible{display:block}input[type=color]{width:100px;height:48px;padding:4px}#toast:not(:empty){padding:12px;background:#fff1e4;border-radius:12px}button{touch-action:manipulation}@media(max-width:900px){main{padding:22px}.split{grid-template-columns:1fr}}@media(max-width:850px){aside{width:100%;border-radius:0 0 22px 22px;position:static;height:auto;padding:15px}.brand{display:flex;align-items:center;justify-content:center;font-size:24px}.brandLogo{width:48px;height:48px}.brand span{display:none}nav{display:flex;gap:6px;margin-top:12px}nav button{min-width:70px;min-height:62px;margin:0}.foot{display:none}main{width:100%;margin:0;padding:18px}header{flex-wrap:wrap;gap:10px}header>div:first-child{min-width:50%}h1{font-size:26px;margin-bottom:14px}header select{max-width:130px}.toolbar{margin-left:auto}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{padding:12px;min-height:195px}.card{padding:18px}dialog{padding:20px}.notice{margin-top:15px}}
@media print{#buttonTip,.toolbar,.helpIcon{display:none!important}dialog{box-shadow:none!important;padding:0!important;width:80mm!important}.card{box-shadow:none}}

/* VERVE by Khazri: original brand artwork, neon pink and yellow. */
:root{--accent:#ec008c;--dark:#17131c}
body{background:#f5f2f6;color:#211b27}
aside{background:var(--dark);border-right:3px solid var(--accent)}
.brand{padding:12px 4px}.brandLogo{width:100%;max-width:150px;height:auto;max-height:150px;object-fit:contain;background:#fff;border-radius:16px;display:block;margin:0 auto 12px}
.primary,nav button.active{background:var(--accent);color:white}
nav button.active{box-shadow:0 4px 20px #ec008c33}
.productArt{background:#fff1f8;color:#b00064}.product:hover{border-color:var(--accent)}
.card{border-color:#e8dfe9}.notice{border-left:4px solid #f6cf18;background:#fff9db;color:#51431a}
.money{color:#9c005b}header small{color:#9c005b}.brand span{color:#f6cf18}
#receiptPaper{color:#111;background:white;padding:8px}#receiptPaper .money{color:#111}
@media print{#receiptPaper{padding:0}}

aside{overflow-y:auto}.foot{position:static;margin-top:22px}.primary{background:var(--accent)!important;border-color:var(--accent)}.productArt svg{color:#9c005b}.product:nth-child(2n) .productArt{background:#fff6c9}.product:nth-child(3n) .productArt{background:#f5e3f1}
@media(max-width:850px){.brandLogo{width:72px;height:72px;margin:0}.brand{padding:0}}

/* ===== VERVE POS MASTER 2026-09-21 · Chat 2 Operations + Chat 4 UI ===== */
:root{--surface:#fff;--surface-2:#faf7fb;--page:#f5f2f6;--text:#211b27;--muted:#6e6471;--border:#e8dfe9;--warning:#fff9db;--danger:#8b294d;--success:#315f48}
html[data-theme="dark"]{--surface:#241f29;--surface-2:#2b2531;--page:#151219;--text:#f5eef7;--muted:#b9adbd;--border:#443b49;--warning:#352f1d;--danger:#ff94b9;--success:#91d3ae;color-scheme:dark}
body{background:var(--page);color:var(--text);transition:background .18s,color .18s}
.card,dialog{background:var(--surface);color:var(--text);border-color:var(--border)}
input,select,textarea,button{background:var(--surface);color:var(--text);border-color:var(--border)}
.muted{color:var(--muted)}
a{color:var(--accent)}
html[data-theme="dark"] .notice{background:var(--warning);color:#f6e9aa;border-color:#6d5a1e}
html[data-theme="dark"] .pill{background:#343b34;color:#cdebd5}
html[data-theme="dark"] .product{background:var(--surface);color:var(--text);border-color:var(--border)}
html[data-theme="dark"] .productArt{background:#372330}
html[data-theme="dark"] .product:nth-child(2n) .productArt{background:#37311f}
html[data-theme="dark"] .product:nth-child(3n) .productArt{background:#32273a}
html[data-theme="dark"] #toast:not(:empty){background:#38251f;color:#ffd1b9}
html[data-theme="dark"] header select{background:var(--surface);color:var(--text)}
html[data-theme="dark"] dialog::backdrop{background:#000a}
html[data-theme="dark"] .steps li{border-color:var(--border)}
html[data-theme="dark"] .helpIcon{background:#392638;color:#ff8acb}
html[data-theme="dark"] .money{color:#ff72c0}
html[data-theme="dark"] #receiptPaper{color:#111;background:#fff}

.orderComposer{position:sticky;top:20px;align-self:start}.totalsBox{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:16px 0;padding:8px 0}.totalRow{font-size:1.05rem}.discountPanel{border:1px solid var(--border);border-radius:14px;padding:12px;margin:14px 0;background:var(--surface-2)}.discountPanel summary{cursor:pointer;font-weight:700}.discountLine{font-size:12px;color:var(--muted);padding:8px 10px;border-radius:10px;background:var(--surface-2)}.summaryGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:14px 0}.summaryGrid span{background:var(--surface-2);border:1px solid var(--border);padding:10px;border-radius:10px;font-size:12px}.summaryGrid b{display:block;margin-top:4px}.orderCard .actions [data-refund]{border-color:#d898b1;color:var(--danger)}.orderCard .actions [data-void]{border-color:#c98080;color:#a73737}.metricGrid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.periodButtons{margin-bottom:12px}.trendCard,.merchantCard,.targetCard{margin-top:16px}.chartWrap{overflow-x:auto}.chartWrap svg{width:100%;min-width:650px;height:280px}.progressTrack{height:12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);overflow:hidden}.progressFill{height:100%;background:var(--accent);border-radius:inherit;transition:width .4s ease}.merchantTable{overflow-x:auto;margin-top:14px}.merchantRow{display:grid;grid-template-columns:minmax(120px,1.3fr) repeat(5,minmax(90px,1fr));gap:10px;align-items:center;min-width:680px;padding:10px 8px;border-bottom:1px solid var(--border);font-size:12px}.merchantHead{background:var(--surface-2);border-radius:10px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.closeStatus{border-left:5px solid #d4a91a}.closeStatus.locked{border-left-color:var(--success)}

.birthdayBanner{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:-12px 0 20px;padding:12px 16px;border-radius:14px;background:linear-gradient(100deg,#fff1f8,#fff7c9,#fff1f8);border:1px solid #f2c8dc;color:#632044;box-shadow:0 8px 24px #ec008c14}.birthday-mode .brandLogo{box-shadow:0 0 0 3px #f6cf18,0 0 30px #ec008c55}.birthday-mode .notice{border-left-color:var(--accent)}
html[data-theme="dark"] .birthdayBanner{background:linear-gradient(100deg,#352331,#3a341e,#352331);color:#ffd8ed;border-color:#5e4052}

.targetCelebration{position:fixed;inset:0;z-index:20000;background:#100913d9;display:grid;place-items:center;padding:20px;animation:celebrationFade .25s ease}.celebrationCard{width:min(520px,94vw);text-align:center;background:var(--surface);color:var(--text);border:2px solid var(--accent);border-radius:28px;padding:34px;box-shadow:0 28px 100px #0008;animation:celebrationPop .45s cubic-bezier(.2,.9,.25,1.2)}.celebrationCard h2{font-size:36px;color:var(--accent);margin:8px 0}.celebrationBurst{font-size:64px;color:#f6cf18;animation:celebrationSpin 1.4s ease-in-out}.celebrationCard button{background:var(--accent);color:#fff;border-color:var(--accent);min-width:120px}@keyframes celebrationFade{from{opacity:0}to{opacity:1}}@keyframes celebrationPop{from{opacity:0;transform:scale(.78) translateY(30px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes celebrationSpin{0%{transform:rotate(-20deg) scale(.6)}60%{transform:rotate(18deg) scale(1.2)}100%{transform:rotate(0) scale(1)}}

/* Tablet layout: keep navigation available without squeezing the workspace. */
@media (min-width:851px) and (max-width:1180px){aside{width:92px;padding:22px 9px}.brandLogo{max-width:70px}.brand span{font-size:6px}.foot{font-size:8px}main{margin-left:92px;width:calc(100% - 92px);padding:24px}.split{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px}.grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.product{min-height:185px}.card{padding:18px}nav button{min-height:64px;font-size:9px}.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.orderComposer{position:static}.merchantRow{font-size:11px}}
@media(max-width:650px){.row{align-items:stretch;flex-direction:column}.actions{width:100%}.actions button{flex:1}.grid,.metricGrid{grid-template-columns:1fr 1fr}.summaryGrid{grid-template-columns:1fr 1fr}.celebrationCard h2{font-size:28px}.birthdayBanner{justify-content:flex-start}.orderCard .actions{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:420px){.grid,.metricGrid,.summaryGrid{grid-template-columns:1fr}.product{min-height:160px}.orderCard .actions{grid-template-columns:1fr}.toolbar{width:100%;justify-content:flex-end}}
@media print{.targetCelebration,.birthdayBanner{display:none!important}}

/* Cash payment calculator */
.paymentDue{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:14px 16px;margin:10px 0 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}
.paymentDue small{font-size:10px;letter-spacing:.08em;color:var(--muted)}
.paymentDue b{font-size:26px;line-height:1}
.cashQuick{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 12px}
.cashQuick button{min-height:38px;padding:8px 11px}
.cashCalculator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.cashCalculator span{padding:12px;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;min-width:0}
.cashCalculator small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}
.cashCalculator b{display:block;font-size:18px;overflow-wrap:anywhere}
.paymentHistory{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:10px 0;margin:12px 0;font-size:12px}
.paymentHistory>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;color:var(--muted)}
.paymentHistory>div span:last-child{text-align:right;color:var(--text)}
@media(max-width:650px){.cashCalculator{grid-template-columns:1fr}.paymentHistory>div{flex-direction:column;gap:3px}.paymentHistory>div span:last-child{text-align:left}}
.moneyMove{align-items:center}.moneyMove>span{min-width:0}.moneyMove small{overflow-wrap:anywhere}.moneyIn,.moneyOut{white-space:nowrap;font-variant-numeric:tabular-nums}.moneyIn::first-letter,.moneyOut::first-letter{font-weight:900}


:root{--brand-mark:url('/brand-logo.png');}
body::before{content:'';position:fixed;inset:0;background-image:var(--brand-mark);background-repeat:no-repeat;background-position:center;background-size:min(70vmin,560px);opacity:.045;pointer-events:none;filter:grayscale(1);}
.brandLogo{background:transparent;object-fit:contain}
.saleNotice{display:flex;align-items:center;justify-content:space-between;gap:12px}
.receiptReminder{margin-bottom:14px}
.supportWhatsapp{position:fixed;right:18px;bottom:18px;width:54px;height:54px;border-radius:999px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:26px;box-shadow:0 12px 28px rgba(0,0,0,.22);z-index:90;background:#fff;border:1px solid rgba(0,0,0,.08)}
.supportWhatsapp:hover{transform:translateY(-1px)}
@media (max-width: 720px){.supportWhatsapp{right:12px;bottom:12px;width:50px;height:50px}}

/* R5.5 sales category navigation */
.saleCategoryTabs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;margin-bottom:8px;scrollbar-width:thin}.saleCategoryButton{flex:0 0 auto;min-height:42px;padding:9px 14px;border-radius:999px;background:var(--surface,#fff);border:1px solid var(--border,#e0e5dc);font-weight:700;white-space:nowrap}.saleCategoryButton.active{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 4px 14px #0001}.saleCategoryButton[aria-selected="true"]{outline:2px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:2px}@media(max-width:650px){.saleCategoryTabs{margin-left:-2px;margin-right:-2px}.saleCategoryButton{min-height:40px;padding:8px 12px}}

/* R5.6 Category Manager */
.categoryManager{display:grid;gap:10px;margin:14px 0}.categoryRow{display:flex;justify-content:space-between;align-items:center;gap:12px}.categoryRow .actions{flex-wrap:wrap;justify-content:flex-end}.categoryAddForm{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.categoryAddForm label{margin:0}@media(max-width:700px){.categoryAddForm{grid-template-columns:1fr}.categoryRow{align-items:flex-start;flex-direction:column}.categoryRow .actions{justify-content:flex-start}}

/* ===== VERVE POS WEB V2.6 DESIGN SYSTEM ===== */
:root{--radius-sm:10px;--radius:14px;--radius-lg:20px;--shadow:0 10px 30px rgba(25,18,29,.07);--sidebar:112px;font-family:Inter,'Segoe UI Variable','Segoe UI',Arial,sans-serif}
html,body,button,input,select,textarea{font-family:Inter,'Segoe UI Variable','Segoe UI',Arial,sans-serif}
body{min-height:100vh}aside{width:var(--sidebar);padding:20px 10px;border-radius:0;box-shadow:none}.brandLogo{max-width:84px}.brand span{margin:8px 0 18px}main{margin-left:var(--sidebar);width:calc(100% - var(--sidebar));max-width:1680px;padding:24px clamp(18px,3vw,42px)}header{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--page) 92%,transparent);backdrop-filter:blur(12px);padding:6px 0 12px;margin-bottom:8px}h1{font-size:clamp(25px,3vw,34px);margin:5px 0 8px}h2{font-size:20px}h3{font-size:15px;margin:0 0 12px}.card{border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:20px}.notice{border-radius:var(--radius);margin-bottom:16px}.pageToolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 16px}.pageToolbar h2{margin:2px 0}.eyebrow{margin:0;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.12em}.metricGridV26,.healthGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 16px}.metricCard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:17px;box-shadow:var(--shadow);min-width:0}.metricCard small{display:block;color:var(--muted);letter-spacing:.06em}.metricCard strong{display:block;font-size:clamp(20px,2.4vw,28px);margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metricCard span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.dashboardGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compactRows>div,.poRow,.staffRow,.payrollStaff{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--border)}.compactRows>div:last-child,.poRow:last-child,.staffRow:last-child,.payrollStaff:last-child{border-bottom:0}.compactRows span,.poRow span,.staffRow span,.payrollStaff span{display:block;color:var(--muted);font-size:11px}.statusBadge{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border:1px solid var(--border);background:var(--surface-2);border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.statusBadge[data-status="online"],.statusBadge[data-status="active"],.statusBadge[data-status="paid"],.statusBadge[data-status="received"],.statusBadge[data-status="clocked-in"]{color:var(--success);border-color:color-mix(in srgb,var(--success) 30%,var(--border))}.statusBadge[data-status="offline"],.statusBadge[data-status="failed"],.statusBadge[data-status="rejected"]{color:var(--danger)}.tableWrap{overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);margin-bottom:14px}.tableWrap table{min-width:620px}.tableWrap th{position:sticky;top:0;background:var(--surface-2);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.recordCard{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr) auto;gap:18px;align-items:center}.recordCard h3{margin:4px 0}.recordStats{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.recordStats span{font-size:11px;color:var(--muted)}.recordStats b{color:var(--text)}.timelineRow{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,.8fr) repeat(3,minmax(90px,1fr));gap:10px;padding:10px 0;border-bottom:1px solid var(--border);font-size:11px;align-items:center}.emptyState,.errorState{padding:22px;border:1px dashed var(--border);border-radius:var(--radius);color:var(--muted);text-align:center}.emptyState p{margin:6px 0 0}.errorState{color:var(--danger);grid-column:1/-1}.skeleton{height:86px;border-radius:var(--radius-lg);background:linear-gradient(90deg,var(--surface),var(--surface-2),var(--surface));background-size:200% 100%;animation:sk 1.2s linear infinite}@keyframes sk{to{background-position:-200% 0}}textarea{width:100%;min-height:88px;resize:vertical;border-radius:var(--radius);padding:12px}.supportWhatsapp{font-size:0;background:var(--surface);color:var(--accent)}.supportWhatsapp::before{content:'?';font-size:20px;font-weight:900}.saleNotice{display:none}
.loginBody{display:grid;place-items:center;background:radial-gradient(circle at 50% 0,#fff 0,var(--page) 48%);padding:20px}.loginBody::before{opacity:.025}.loginShell{margin:0;width:100%;max-width:460px;padding:0}.loginCard{background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(20,14,23,.12)}.loginLogo{display:block;width:118px;max-height:118px;object-fit:contain;margin:0 auto 18px}.loginCard h1{text-align:center;margin:3px 0 6px}.loginCard>.eyebrow,.loginCard>.muted{text-align:center}.loginForm{margin-top:20px}.loginForm input{min-height:48px}.loginForm .primary{width:100%;min-height:50px;margin-top:12px}.passwordField{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:6px}.passwordField input{margin:0}.passwordField button{min-width:64px}.loginDivider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:10px;margin:20px 0}.loginDivider::before,.loginDivider::after{content:'';height:1px;background:var(--border);flex:1}.googleSlot{display:flex;justify-content:center;min-height:44px}.loginStatus{min-height:20px;text-align:center;font-size:11px;color:var(--muted);margin:14px 0}.loginStatus.error{color:var(--danger)}.loginFooter{display:flex;justify-content:center;align-items:center;gap:8px}.loginFooter button{min-height:34px;padding:6px 10px}.loginHelp{text-align:center!important;margin-top:16px!important;line-height:1.5}
@media(max-width:1050px){.metricGridV26,.healthGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.recordCard{grid-template-columns:1fr}.dashboardGrid{grid-template-columns:1fr}.timelineRow{grid-template-columns:1fr 1fr}}
@media(max-width:850px){:root{--sidebar:0px}aside{position:sticky;top:0;z-index:50;width:100%;border-right:0;border-bottom:2px solid var(--accent);border-radius:0;padding:9px}.brand{display:none}nav{margin:0;gap:5px}nav button{min-height:50px;min-width:66px;padding:7px;font-size:9px}main{margin:0;width:100%;padding:14px}header{top:68px}.metricGridV26,.healthGrid{grid-template-columns:1fr 1fr}.pageToolbar{align-items:flex-start;flex-direction:column}.pageToolbar>.actions{width:100%}.pageToolbar input{width:100%}.loginShell{max-width:440px}.loginBody main{padding:0}}
@media(max-width:520px){.metricGridV26,.healthGrid{grid-template-columns:1fr}.timelineRow{grid-template-columns:1fr}.loginCard{padding:22px;border-radius:22px}.recordStats{flex-direction:column;align-items:flex-start}.poRow,.staffRow,.payrollStaff{align-items:flex-start;flex-direction:column}}

/* RC4 login branding polish */
.loginLogo{width:150px;max-height:150px;margin:0 auto 10px;filter:drop-shadow(0 10px 24px rgba(236,0,140,.12))}
.verveHero{text-align:center;font-size:clamp(22px,4vw,30px);font-weight:800;letter-spacing:.12em;line-height:1.15;margin:2px 0 8px;color:var(--text);text-shadow:0 1px 0 rgba(255,255,255,.7)}
.loginCard>.eyebrow{margin-top:0;color:#9c005b;letter-spacing:.16em}
.khazriSignature{margin-top:20px;padding-top:16px;border-top:1px solid var(--border);text-align:center;color:var(--muted);font-size:10px;letter-spacing:.04em}
.khazriSignature span{display:inline-block;margin-left:4px;color:var(--text);font-weight:800;letter-spacing:.08em}
@media(max-width:520px){.loginLogo{width:132px;max-height:132px}.verveHero{font-size:22px;letter-spacing:.09em}.khazriSignature span{display:block;margin:5px 0 0}}

/* RC6.6 login polish */
.loginLogo{width:200px;max-width:72%;max-height:185px;margin:0 auto 8px;object-fit:contain;filter:drop-shadow(0 12px 28px rgba(236,0,140,.16))}
.verveHero{font-weight:900;letter-spacing:.12em;text-align:center}
.loginThemeToggle{position:fixed;right:18px;bottom:18px;z-index:100;width:48px;height:48px;min-height:48px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:0 10px 30px rgba(0,0,0,.12);display:grid;place-items:center;padding:0}
.loginThemeToggle .themeMoon{display:none}
html[data-theme="dark"] .loginThemeToggle .themeSun{display:none}
html[data-theme="dark"] .loginThemeToggle .themeMoon{display:inline}
@media(max-width:520px){.loginLogo{width:176px;max-height:165px}.loginThemeToggle{right:12px;bottom:12px}}


/* RC6.6.4 login cleanup */
.loginCardClean{overflow:hidden}
.loginLogoHero{width:232px;max-width:78%;max-height:210px;margin:4px auto 14px;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(236,0,140,.18))}
.loginFooterCompact{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px}
.loginStatusPill{min-height:40px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.iconButton{width:40px;height:40px;min-height:40px;display:inline-grid;place-items:center;border-radius:12px;border:1px solid var(--border);background:transparent;color:var(--text);font-size:1.1rem;cursor:pointer}
.iconButton:hover{transform:translateY(-1px)}
.loginStatus.compact,.compactNote{text-align:center;max-width:26rem;margin:10px auto 0}
.loginStatus:empty,.compactNote:empty{display:none}
html[data-theme="dark"] .loginCardClean{background:rgba(24,20,31,.92)}
html[data-theme="dark"] .loginLogoHero{filter:drop-shadow(0 22px 40px rgba(236,0,140,.24))}
@media(max-width:520px){
 .loginLogoHero{width:196px;max-height:182px;margin-bottom:10px}
 .loginFooterCompact{gap:8px}
}

/* RC6.6.5: login status lives in buttons, not below Google */
#loginStatus,#googleNote{display:none!important}
