/* Brand type, self-hosted (SIL Open Font License, see fonts/OFL-*.txt). Works offline in the Android app. */
@font-face{font-family:'Poppins';src:url('/shared/fonts/Poppins-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'Poppins';src:url('/shared/fonts/Poppins-Medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:'Poppins';src:url('/shared/fonts/Poppins-SemiBold.woff') format('woff');font-weight:600;font-display:swap}
@font-face{font-family:'Poppins';src:url('/shared/fonts/Poppins-Bold.woff') format('woff');font-weight:700;font-display:swap}
@font-face{font-family:'Poppins';src:url('/shared/fonts/Poppins-ExtraBold.woff') format('woff');font-weight:800;font-display:swap}
@font-face{font-family:'Anek Tamil';src:url('/shared/fonts/AnekTamil-var.woff') format('woff');font-weight:400 800;font-stretch:100% 125%;font-display:swap}
@font-face{font-family:'Hind Madurai';src:url('/shared/fonts/HindMadurai-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'Hind Madurai';src:url('/shared/fonts/HindMadurai-Medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:'Hind Madurai';src:url('/shared/fonts/HindMadurai-SemiBold.woff') format('woff');font-weight:600;font-display:swap}
@font-face{font-family:'Hind Madurai';src:url('/shared/fonts/HindMadurai-Bold.woff') format('woff');font-weight:700;font-display:swap}
:root{
  /* Hayaafi identity, "Kolam": every Tamil home draws a kolam at its door each morning, and Hayaafi is about doors.
     Neelam indigo carries the structure, manjal (turmeric) is the single accent, ilai green means paid,
     kumkum red means due. The kolam (dots joined by loops: homes joined by the cable) is the one ornament. */
  --canvas:#F3F4F8; --surface:#FFFFFF; --soft:#F6F7FB; --ink:#141833; --muted:#5D6382; --line:#E1E3EE;
  --neelam:#1B2266; --neelam2:#262F86; --neelam3:#3A45A8;
  --manjal:#F2B200; --manjal2:#FFD866; --manjal-ink:#7A5600;
  --ilai:#0F8A5F; --kumkum:#D62839; --ochre:#C26A00;
  /* names used by earlier screens, mapped onto the new palette */
  --plum:var(--neelam); --plum2:var(--neelam2); --zari:var(--manjal); --zari2:var(--manjal2);
  --arakku:var(--kumkum); --mayil:var(--ilai); --kathiri:var(--neelam3); --kavi:var(--ochre);
  --ok:var(--ilai); --warn:var(--ochre); --bad:var(--kumkum);
  --display:'Anek Tamil','Hind Madurai',system-ui,sans-serif;
  --body:'Hind Madurai',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --brand:var(--neelam2);
  --android:'Roboto','Hind Madurai',system-ui,sans-serif;
  --kolam:url('/shared/kolam.svg'); --kolam-faint:url('/shared/kolam-faint.svg');
  --pulli:radial-gradient(rgba(255,255,255,.14) 1.1px,transparent 1.3px) 0 0/18px 18px;
  --temple-gold:none; --temple-screen:none;
  --shadow:0 1px 2px rgba(20,24,51,.06),0 8px 24px -16px rgba(20,24,51,.28);
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:var(--canvas);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
option{color:#1E1433;background:#fff}
:focus-visible{outline:2.5px solid var(--zari);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--display);line-height:1.1;margin:0;text-wrap:balance;font-weight:650}
.ic{flex:none;display:block}
.muted{color:var(--muted)} .small{font-size:13px}
.num{font-family:var(--display);font-stretch:110%;font-variant-numeric:tabular-nums}

/* ---- top rail ---- */
.top{background:var(--plum);color:#fff;min-height:64px;padding:8px 22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(224,168,46,.45)}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-stretch:112%;font-weight:700;font-size:25px;letter-spacing:-.01em}
.logo .gem{width:26px;height:26px;transform:rotate(45deg);background:var(--zari);border-radius:6px;display:grid;place-items:center}
.logo .gem svg{transform:rotate(-45deg);color:var(--plum)}
.logo small{font-family:var(--body);font-weight:500;font-size:12px;letter-spacing:0;opacity:.7;font-stretch:100%;display:block;margin-top:-2px}
.switch{display:flex;gap:2px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:4px;margin-left:auto;flex-wrap:wrap}
.switch button{display:flex;align-items:center;gap:7px;border:0;background:none;color:rgba(255,255,255,.82);padding:7px 14px;border-radius:999px;font-weight:600;font-size:14px}
.switch button:hover{color:#fff;background:rgba(255,255,255,.08)}
.switch button[aria-current="page"]{background:var(--zari);color:var(--plum)}
.lang{display:flex;border:1px solid rgba(255,255,255,.22);border-radius:999px;overflow:hidden}
.lang button{border:0;background:none;color:rgba(255,255,255,.8);padding:6px 12px;font-weight:600;font-size:13px}
.lang button[aria-pressed="true"]{background:#fff;color:var(--plum)}
main{padding:26px 24px 48px;max-width:1440px;margin:0 auto;display:flex;flex-direction:column;gap:20px}

/* ---- page heads ---- */
.phead{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;justify-content:space-between}
.phead h1{font-size:36px;font-stretch:108%;letter-spacing:-.015em}
.phead p{margin:6px 0 0;color:var(--muted);max-width:640px}
.ctx{display:flex;align-items:center;gap:8px}
.ctx label{font-size:13px;color:var(--muted);font-weight:600}

/* ---- bento ---- */
.bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.s3{grid-column:span 3}.s4{grid-column:span 4}.s5{grid-column:span 5}.s6{grid-column:span 6}.s7{grid-column:span 7}.s8{grid-column:span 8}.s12{grid-column:span 12}
@media (max-width:1100px){.s3,.s4{grid-column:span 6}.s5,.s7,.s8,.s6{grid-column:span 12}}
@media (max-width:640px){.s3,.s4,.s6{grid-column:span 12}}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px;min-width:0;display:flex;flex-direction:column;gap:14px}
.ph{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ph h3{font-size:19px;font-stretch:104%}
.ph .hint{font-size:13px;color:var(--muted)}

/* ---- KPI ---- */
.kgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:760px){.kgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;min-width:0}
.kpi-h{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--muted)}
.chipic{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:var(--c);background:color-mix(in srgb,var(--c) 13%,#fff);flex:none}
.kpi-v{font-family:var(--display);font-stretch:112%;font-weight:700;font-size:30px;line-height:1.05;letter-spacing:-.01em;margin-top:4px}
.kpi-s{font-size:13px;color:var(--muted)}
.kbar{height:5px;border-radius:3px;background:#EFEBF5;overflow:hidden;margin-top:4px}.kbar>i{display:block;height:100%;border-radius:3px;background:var(--c)}

/* ---- silk hero surfaces ---- */
.silk{background:var(--plum);color:#fff;border-radius:24px;position:relative;overflow:hidden;display:flex;flex-direction:column}
.temple{height:10px;flex:none;background:var(--temple-gold) repeat-x 0 0/14px 7px,linear-gradient(var(--zari),var(--zari)) 0 100%/100% 1.5px no-repeat}
.silk-in{padding:20px 22px 22px;display:flex;flex-direction:column;gap:12px;flex:1}
.silk .lbl2{color:var(--zari2);font-weight:600;font-size:14px}
.silk .big{font-family:var(--display);font-stretch:118%;font-weight:700;font-size:54px;line-height:1;letter-spacing:-.02em}
.silk .sub{color:rgba(255,255,255,.72);font-size:13.5px}
.mini{display:flex;align-items:flex-end;gap:8px;height:64px;margin-top:auto}
.mini div{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end}
.mini i{display:block;width:100%;border-radius:6px 6px 2px 2px;background:rgba(255,255,255,.16)}
.mini i.on{background:var(--zari)}
.mini span{font-size:11px;color:rgba(255,255,255,.6)}

/* ---- tables ---- */
.tablewrap{overflow-x:auto;margin:0 -20px;padding:0 20px}
table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}
th{text-align:left;font-size:12.5px;color:var(--muted);font-weight:500;padding:9px 12px;background:var(--soft);white-space:nowrap;border-bottom:1px solid var(--line)}
th:first-child{border-radius:10px 0 0 10px}th:last-child{border-radius:0 10px 10px 0}
td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tr.click{cursor:pointer}tr.click:hover td{background:#FAF8FD}
td.r,th.r{text-align:right}
td .amt,.amt{font-family:var(--display);font-stretch:108%;font-weight:650}
.cell{display:flex;align-items:center;gap:11px;min-width:0}
.cell b{display:block;font-weight:600}
.cell .small{color:var(--muted)}

/* ---- pills, buttons, inputs ---- */
.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px 2px 8px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap;line-height:1.6}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.pill.nodot::before{display:none}
.p-ok{background:#E2F4F1;color:#08695F}.p-bad{background:#FBE5EA;color:#A11D3D}.p-warn{background:#FDEFD9;color:#8F4C00}
.p-info{background:#E7EAFD;color:#2F3DB3}.p-vio{background:#F0E8FB;color:#6230A6}.p-mut{background:#EFECF4;color:#5A5270}
.p-gold{background:#FBF1D9;color:#7A5500}
.btn{border:0;border-radius:999px;height:38px;padding:0 16px;font-weight:600;font-size:14px;background:var(--plum);color:#fff;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.btn:hover{background:var(--plum2)}
.btn.brand{background:var(--brand)}.btn.brand:hover{filter:brightness(1.08)}
.btn.ok{background:var(--mayil)}.btn.warn{background:var(--kavi)}.btn.red{background:var(--arakku)}.btn.gold{background:var(--zari);color:var(--plum)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.ghost:hover{background:var(--soft)}
.btn.sm{height:30px;padding:0 12px;font-size:13px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.spacer{flex:1}
.field{display:flex;flex-direction:column;gap:5px;min-width:0}
.field label,.lbl{font-size:13px;font-weight:600;color:var(--muted)}
input,select,textarea{border:1px solid var(--line);border-radius:12px;padding:9px 12px;background:#fff;min-width:0;height:auto}
select{padding-right:30px}
input:focus,select:focus,textarea:focus{border-color:var(--plum2);outline:3px solid color-mix(in srgb,var(--zari) 35%,transparent);outline-offset:0}
.search{position:relative;flex:1;min-width:220px}
.search .ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted)}
.search input{width:100%;padding-left:38px}
.err{color:var(--bad);font-size:12.5px;font-weight:600}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 13px;font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.chip:hover{border-color:#CFC6DE}
.chip[aria-pressed="true"]{background:var(--plum);color:#fff;border-color:var(--plum)}
.swatches{display:flex;gap:8px;flex-wrap:wrap}
.swatch{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line)}
.swatch[aria-pressed="true"]{box-shadow:0 0 0 2.5px var(--ink)}
.mono{width:42px;height:42px;border-radius:13px;background:var(--brand);display:grid;place-items:center;font-family:var(--display);font-stretch:115%;font-weight:700;font-size:16px;color:#fff;flex:none}
.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:600;color:#fff;flex:none;font-size:13px}
.hbar{display:grid;grid-template-columns:118px 1fr 76px;gap:12px;align-items:center;font-size:14px}
.hbar .track{height:10px;border-radius:5px;background:#F0ECF6;overflow:hidden}
.hbar .fill{height:100%;border-radius:5px}
.hbar .amt{text-align:right}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.list{display:flex;flex-direction:column}
.list>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.list>div:last-child{border-bottom:0}
.kv{display:flex;justify-content:space-between;gap:8px;font-size:13.5px}
.kv span:first-child{color:var(--muted)}
.meter{height:7px;border-radius:4px;background:#EFEBF5;overflow:hidden}.meter>i{display:block;height:100%;border-radius:4px}

/* ---- operator console ---- */
.op{display:grid;grid-template-columns:262px minmax(0,1fr);gap:18px;padding:18px 18px 40px;max-width:1520px;margin:0 auto}
.side{position:sticky;top:82px;align-self:start;background:#fff;border:1px solid var(--line);border-radius:24px;padding:14px;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 100px);overflow:auto}
.brandcard{display:flex;gap:11px;align-items:center;padding:6px 6px 14px;border-bottom:1px solid var(--line)}
.bn{font-family:var(--display);font-stretch:104%;font-weight:650;font-size:16.5px;line-height:1.15}
.bsub{font-size:12.5px;color:var(--muted)}
.nav{display:flex;flex-direction:column;gap:2px}
.nav button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:none;color:var(--ink);padding:6px 8px;border-radius:14px;font-weight:600;text-align:left;font-size:14.5px}
.nav button:hover{background:var(--soft)}
.nav button .chipic{width:32px;height:32px}
.nav button[aria-current="page"]{background:var(--plum);color:#fff}
.nav button[aria-current="page"] .chipic{background:var(--zari);color:var(--plum)}
.powered{margin-top:auto;font-size:12px;color:var(--muted);padding:10px 8px 2px;border-top:1px solid var(--line);display:flex;align-items:center;gap:6px}
.opmain{display:flex;flex-direction:column;gap:18px;min-width:0;padding:6px 0 0;margin:0;width:100%;max-width:none}
@media (max-width:900px){.op{grid-template-columns:1fr}.side{position:static;max-height:none}.nav{flex-direction:row;overflow-x:auto}.nav button{width:auto;white-space:nowrap}.powered{display:none}}

/* ---- kanban ---- */
.kanban{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:14px;overflow-x:auto;padding-bottom:6px}
.col{background:#EEEAF5;border-radius:20px;padding:10px;min-height:260px;display:flex;flex-direction:column;gap:8px}
.col h4{font-size:16px;display:flex;justify-content:space-between;align-items:center;padding:6px 8px 8px}
.col h4 .cnt{min-width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#fff;font-size:13px}
.ticket{background:#fff;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:5px;font-size:13.5px;border:1px solid var(--line);position:relative;overflow:hidden}
.ticket::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--c)}
.ticket b{font-size:14.5px}

/* ---- drawer, modal, toast ---- */
.scrim{position:fixed;inset:0;background:rgba(30,20,51,.5);z-index:50;display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}
.scrim.center{justify-content:center;align-items:center}
.drawer{width:min(520px,100%);height:100%;background:#fff;overflow-y:auto;display:flex;flex-direction:column;animation:slide .22s ease-out;border-radius:24px 0 0 24px}
.drawer .dhead{background:var(--plum);color:#fff;display:flex;flex-direction:column}
.drawer .dhead-in{padding:20px 22px 18px;display:flex;flex-direction:column;gap:12px}
.drawer .dbody{padding:20px 22px 30px;display:flex;flex-direction:column;gap:16px}
.drawer h3{font-size:17px}
.modal{width:min(560px,94%);background:#fff;border-radius:24px;padding:22px;max-height:92%;overflow:auto;display:flex;flex-direction:column;gap:14px;animation:pop .18s ease-out}
@keyframes slide{from{transform:translateX(40px);opacity:.4}}
@keyframes pop{from{transform:scale(.97);opacity:.5}}
.x{border:0;background:rgba(255,255,255,.12);color:inherit;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none}
.modal .x{background:var(--soft)}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stat{background:rgba(255,255,255,.08);border-radius:14px;padding:10px 12px}
.stat .v{font-family:var(--display);font-stretch:112%;font-weight:700;font-size:24px;line-height:1.1}
.stat .k{font-size:12.5px;color:rgba(255,255,255,.7)}
.conn{border:1px solid var(--line);border-radius:16px;padding:12px 14px;display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:14px}
.conn .chipic{grid-row:span 3;width:40px;height:40px;border-radius:12px}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--plum);color:#fff;padding:12px 18px 12px 16px;border-radius:14px;font-weight:500;opacity:0;pointer-events:none;transition:.25s;z-index:90;max-width:min(92%,560px);box-shadow:0 16px 40px -14px rgba(30,20,51,.6);border-left:4px solid var(--zari)}
.toast.on{opacity:1;transform:translate(-50%,0)}

/* ---- HQ tile map ---- */
.tmap{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:470px}
.tmap button{aspect-ratio:1;border-radius:12px;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-size:11.5px;font-weight:700;line-height:1.1;padding:2px;color:#fff}
.tmap button span{font-weight:500;font-size:10.5px;opacity:.85}
.tmap button.none{background:transparent;border:1.5px dashed rgba(255,255,255,.22);color:rgba(255,255,255,.5)}
.tmap button[aria-pressed="true"]{outline:2.5px solid #fff;outline-offset:1px}
.scale{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.7)}
.scale i{width:22px;height:10px;border-radius:3px;display:inline-block}
.dcard{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:6px}
.dcard .v{font-family:var(--display);font-stretch:115%;font-weight:700;font-size:34px;line-height:1}
.mapwrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:760px){.mapwrap{grid-template-columns:1fr}}
.plan{border-radius:20px;padding:18px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden}
.plan::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--c)}
.plan .price{font-family:var(--display);font-stretch:112%;font-size:28px;font-weight:700;color:var(--c)}
.plan ul{margin:0;padding-left:0;list-style:none;font-size:13.5px;color:var(--muted);display:flex;flex-direction:column;gap:4px}
.plan li{display:flex;gap:6px;align-items:flex-start}.plan li .ic{color:var(--c);margin-top:3px}

/* ---- register ---- */
.reg{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:1000px){.reg{grid-template-columns:1fr}}
.steps{display:flex;flex-direction:column}
.step{position:relative;padding:0 0 26px 54px;display:flex;flex-direction:column;gap:12px}
.step::before{content:"";position:absolute;left:17px;top:38px;bottom:4px;width:2px;background:repeating-linear-gradient(var(--line) 0 6px,transparent 6px 10px)}
.step:last-child::before{display:none}
.step .sn{position:absolute;left:0;top:0;width:36px;height:36px;border-radius:12px;background:var(--plum);color:var(--zari);display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:17px}
.step h3{font-size:20px;padding-top:6px}
.fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:560px){.fgrid,.duo{grid-template-columns:1fr}.hbar{grid-template-columns:90px 1fr 70px}}
.sticky{position:sticky;top:84px;display:flex;flex-direction:column;align-items:center;gap:12px}

/* ---- inventory / staff ---- */
.stock{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:20px;border:1px solid var(--line);background:#fff}
.stock .qty{font-family:var(--display);font-stretch:112%;font-size:30px;font-weight:700;line-height:1}
.staff{display:flex;flex-direction:column;gap:9px;padding:18px;border-radius:22px;border:1px solid var(--line);background:#fff}

/* ---- field stage + phones ---- */
.stage{background:var(--plum) radial-gradient(rgba(224,168,46,.16) 1.2px,transparent 1.4px) 0 0/22px 22px;border-radius:30px;padding:30px 12px 40px;display:flex;flex-direction:column;gap:22px}
.phones{display:flex;gap:34px;justify-content:center;flex-wrap:wrap;align-items:flex-start}
.phonewrap{display:flex;flex-direction:column;align-items:center;gap:10px;width:352px;max-width:100%}
.phonelabel{display:flex;align-items:center;gap:10px;color:#fff;font-family:var(--display);font-stretch:108%;font-weight:650;font-size:19px}
.phonelabel .chipic{background:rgba(255,255,255,.1);color:var(--zari)}
.phonewrap select{width:100%;background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}
.phone{width:352px;max-width:100%;height:740px;border-radius:54px;background:#0E0A18;padding:11px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 34px 60px -24px rgba(0,0,0,.7)}
.screen{width:100%;height:100%;border-radius:44px;background:#F6F4FA;overflow:hidden;display:flex;flex-direction:column;position:relative}
.island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:98px;height:27px;border-radius:20px;background:#0E0A18;z-index:3}
.ph-head{background:var(--brand);color:#fff;padding:0 18px 26px;position:relative;flex:none}
.ph-head::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:7px;background:var(--temple-screen) repeat-x 0 0/14px 7px}
.sbar{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;padding:13px 10px 10px}
.ph-brand{display:flex;align-items:center;gap:8px;font-weight:600;font-size:13.5px;padding-right:86px;line-height:1.2;margin-top:4px}
.ph-brand .mono{width:28px;height:28px;font-size:11.5px;border-radius:9px;background:rgba(255,255,255,.2)}
.ph-hi{font-family:var(--display);font-stretch:108%;font-size:25px;font-weight:650;margin-top:12px;line-height:1.1}
.ph-sub{font-size:12.5px;opacity:.85;margin-top:2px}
.netchip{position:absolute;right:16px;top:48px;border:0;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;background:rgba(255,255,255,.95);color:#08695F;display:flex;align-items:center;gap:6px}
.netchip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.netchip.off{color:#8F4C00;background:#FFE8C2}
.ph-body{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:12px}
.ph-tabs{display:grid;background:#fff;border-top:1px solid var(--line);padding:8px 10px 20px;flex:none}
.ph-tabs button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11.5px;font-weight:600;color:var(--muted);padding:4px}
.ph-tabs button[aria-current="true"]{color:var(--brand)}
.ph-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ph-stat{background:#fff;border-radius:14px;padding:9px 10px;border:1px solid var(--line);font-size:11.5px;color:var(--muted);line-height:1.25}
.ph-stat b{font-family:var(--display);font-stretch:110%;font-size:18px;display:block;color:var(--ink);margin-top:3px}
.crow{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;width:100%;text-align:left}
.crow:hover{border-color:color-mix(in srgb,var(--brand) 45%,#fff)}
.crow .who{min-width:0;flex:1;line-height:1.25}
.crow .who b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crow .who span{font-size:12px;color:var(--muted)}
.crow .amt{font-size:16px;text-align:right;white-space:nowrap}
.crow.paid{opacity:.6}
.big-btn{width:100%;padding:14px;border-radius:16px;border:0;background:var(--brand);color:#fff;font-family:var(--display);font-stretch:106%;font-size:17px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:8px}
.big-btn.alt{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
.seg{display:grid;grid-template-columns:1fr 1fr;background:#ECE8F3;border-radius:14px;padding:4px}
.seg button{border:0;background:none;padding:8px;border-radius:11px;font-weight:600}
.seg button[aria-pressed="true"]{background:#fff;color:var(--brand);box-shadow:0 1px 3px rgba(30,20,51,.15)}
.amtin{font-family:var(--display);font-stretch:115%;font-size:32px;font-weight:700;text-align:center;width:100%;border-radius:16px;padding:6px}
.card{background:#fff;border-radius:18px;border:1px solid var(--line);padding:13px;display:flex;flex-direction:column;gap:6px}
.card h4{font-size:16px}
.wa{background:#EAE4DA;border-radius:16px;padding:10px}
.wa .from{font-size:11.5px;color:#5A5270;margin-bottom:5px}
.bubble{background:#D9FDD3;border-radius:14px 14px 14px 4px;padding:9px 11px;font-size:13.5px;color:#1C2A1C;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.okmark{width:64px;height:64px;border-radius:50%;background:var(--mayil);color:#fff;display:grid;place-items:center;margin:4px auto 0;box-shadow:0 0 0 8px color-mix(in srgb,var(--mayil) 15%,transparent)}
.backlink{border:0;background:none;color:var(--brand);font-weight:600;padding:0;align-self:flex-start;display:flex;align-items:center;gap:4px}
.bill{border-radius:20px;padding:16px 16px 14px;color:#fff;background:var(--plum);display:flex;flex-direction:column;gap:6px;position:relative;overflow:hidden}
.bill::after{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;background:var(--brand);opacity:.9}
.bill>*{position:relative;z-index:1}
.bill .big{font-family:var(--display);font-stretch:118%;font-size:38px;font-weight:700;line-height:1}
.bill .btn{background:var(--zari);color:var(--plum);align-self:flex-start;height:32px}
.receipt{background:#fff;border-radius:16px;padding:14px;border:1px dashed #C9C0DA;display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.receipt .rh{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px dashed #C9C0DA}
.qrbox{background:#fff;border-radius:18px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid var(--line)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---- v3 additions: horizontal tabs, street register, android ---- */
.htabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;margin-top:-4px}
.htabs button{border:0;background:none;padding:10px 14px 11px;font-weight:600;color:var(--muted);border-bottom:2.5px solid transparent;margin-bottom:-1px;white-space:nowrap;display:flex;align-items:center;gap:7px;font-size:14.5px}
.htabs button:hover{color:var(--ink)}
.htabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--plum)}
.htabs .cnt{min-width:22px;height:20px;padding:0 6px;border-radius:10px;background:#EFEBF5;font-size:12px;display:grid;place-items:center}
.htabs button[aria-selected="true"] .cnt{background:var(--zari);color:var(--plum)}
.banner{display:flex;gap:12px;align-items:flex-start;background:#FBF3DE;border:1px solid #F0DDA8;border-radius:16px;padding:12px 14px;font-size:14px}
.banner .ic{color:#9A6A00;margin-top:2px}
.banner b{display:block}
.ctl{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ctl .lbl{margin-right:2px}
.street{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--soft)}
.street-h{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.street-h h3{font-size:19px}
.street-h .meta{font-size:13px;color:var(--muted)}
.prog{height:8px;border-radius:4px;background:#E9E4F1;overflow:hidden;display:flex;min-width:140px;flex:1;max-width:260px}
.prog i{display:block;height:100%}
.doors{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.door{border:1px solid var(--line);border-radius:16px;padding:12px 12px 10px;background:#fff;text-align:left;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:2px}
.door::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--c)}
.door:hover{border-color:#CFC6DE}
.door .dn{font-family:var(--display);font-stretch:115%;font-weight:700;font-size:22px;line-height:1.1}
.door .dn small{font-family:var(--body);font-size:11.5px;color:var(--muted);font-weight:600;margin-right:3px}
.door .nm{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.door .st{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;margin-top:4px}
.door .st b{font-family:var(--display);font-stretch:108%}
.mcell{width:34px;height:28px;border-radius:8px;display:inline-grid;place-items:center;font-size:13px;font-weight:700}
.m-paid{background:#E2F4F1;color:#08695F}.m-partial{background:#FDEFD9;color:#8F4C00}.m-due{background:#FBE5EA;color:#A11D3D}.m-na{background:#F1EEF5;color:#9A91AD}
tr.grp td{background:#F6F3FA;font-weight:600;font-size:13.5px;padding:8px 12px}
.mt{display:flex;flex-direction:column;gap:12px}
.mitem{display:grid;grid-template-columns:86px 1fr auto;gap:16px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fff}
.mdate{border-radius:14px;background:var(--soft);text-align:center;padding:8px 4px;line-height:1.1}
.mdate b{font-family:var(--display);font-stretch:112%;font-size:26px;display:block}
.mdate span{font-size:12px;color:var(--muted)}
@media (max-width:700px){.mitem{grid-template-columns:70px 1fr}.mitem>:last-child{grid-column:1/-1}}
.msg{max-width:85%;padding:10px 12px;border-radius:14px;font-size:14px;display:flex;flex-direction:column;gap:2px}
.msg small{font-size:11.5px;color:var(--muted)}
.msg.op{background:#F1EEF5;align-self:flex-start;border-bottom-left-radius:4px}
.msg.hq{background:#E7EAFD;align-self:flex-end;border-bottom-right-radius:4px}
.thread{display:flex;flex-direction:column;gap:8px}
.check{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px;width:100%;background:none;border-left:0;border-right:0;border-top:0;text-align:left}
.check .box{width:20px;height:20px;border-radius:6px;border:2px solid #CFC6DE;display:grid;place-items:center;flex:none;color:#fff}
.check[aria-pressed="true"] .box{background:var(--mayil);border-color:var(--mayil)}
.yes{color:var(--mayil)}.no{color:#B9B0C9}

/* ---- android ---- */
.droids{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;align-items:flex-start}
.dwrap{display:flex;flex-direction:column;align-items:center;gap:8px;width:314px;max-width:100%}
.dwrap select{width:100%;background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}
.dlabel{display:flex;align-items:center;gap:10px;color:#fff;font-family:var(--display);font-stretch:106%;font-weight:650;font-size:18px;text-align:center}
.dlabel small{display:block;font-family:var(--body);font-weight:500;font-size:12.5px;color:var(--zari2)}
.droid{width:314px;max-width:100%;height:690px;border-radius:40px;background:#131217;padding:8px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 30px 60px -24px rgba(0,0,0,.7)}
.dscreen{width:100%;height:100%;border-radius:33px;background:#F6F4FA;overflow:hidden;display:flex;flex-direction:column;position:relative;font-family:var(--android)}
.punch{position:absolute;top:10px;left:50%;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#131217;z-index:4}
.astat{display:flex;justify-content:space-between;align-items:center;padding:7px 20px 3px;font-size:12.5px;font-weight:500}
.abar{background:var(--brand);color:#fff;position:relative;flex:none}
.abar::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:7px;background:var(--temple-screen) repeat-x 0 0/14px 7px}
.abar-in{padding:6px 16px 24px}
.abar-top{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;line-height:1.2}
.abar-top .mono{width:28px;height:28px;font-size:11px;border-radius:9px;background:rgba(255,255,255,.2)}
.ahi{font-family:var(--display);font-stretch:106%;font-size:24px;font-weight:650;margin-top:10px;line-height:1.1}
.asub{font-size:12.5px;opacity:.85;margin-top:2px}
.abar.compact .abar-in{display:flex;align-items:center;gap:4px;padding:2px 6px 20px}
.abt{font-size:18px;font-weight:500;line-height:1.2;min-width:0}
.abt small{display:block;font-size:12px;opacity:.8;font-weight:400}
.iconbtn{width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:inherit;display:grid;place-items:center;flex:none}
.iconbtn:hover{background:rgba(255,255,255,.14)}
.dbody{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:10px}
.dbody>*{flex-shrink:0}
.mnav{display:grid;background:#fff;padding:10px 4px 2px;border-top:1px solid var(--line);flex:none}
.mnav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--muted);padding:0}
.mnav .pind{width:56px;height:30px;border-radius:15px;display:grid;place-items:center}
.mnav button[aria-current="true"]{color:var(--ink);font-weight:700}
.mnav button[aria-current="true"] .pind{background:color-mix(in srgb,var(--brand) 16%,#fff);color:color-mix(in srgb,var(--brand) 85%,#000)}
.gbar{height:20px;display:grid;place-items:center;background:#fff;flex:none}
.gbar i{width:104px;height:4px;border-radius:2px;background:#1E1433;opacity:.7}
.mli{display:flex;gap:12px;align-items:center;padding:11px 12px;background:#fff;border-radius:16px;border:1px solid var(--line);width:100%;text-align:left}
.mli:hover{border-color:color-mix(in srgb,var(--brand) 40%,#fff)}
.mli .who{flex:1;min-width:0;line-height:1.25}
.mli .who b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mli .who span{font-size:12px;color:var(--muted)}
.mli .end{text-align:right;white-space:nowrap}
.dbadge{min-width:46px;height:40px;padding:0 6px;border-radius:12px;display:grid;place-items:center;font-family:var(--display);font-stretch:112%;font-weight:700;font-size:15px;background:var(--soft);border:1.5px solid var(--c);color:var(--ink)}
.hscroll{display:flex;gap:8px;overflow-x:auto;flex:none;padding-bottom:2px}
.fchip{height:32px;border-radius:8px;border:1px solid #CFC6DE;padding:0 12px;background:#fff;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none}
.fchip[aria-pressed="true"]{background:color-mix(in srgb,var(--brand) 15%,#fff);border-color:transparent;color:color-mix(in srgb,var(--brand) 85%,#000)}
.mbtn{min-height:46px;border-radius:23px;border:0;background:var(--brand);color:#fff;font-weight:600;font-size:14.5px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;font-family:var(--android)}
.mbtn.tonal{background:color-mix(in srgb,var(--brand) 14%,#fff);color:color-mix(in srgb,var(--brand) 85%,#000)}
.mbtn.outline{background:#fff;border:1px solid #CFC6DE;color:color-mix(in srgb,var(--brand) 85%,#000)}
.mbtn.green{background:#1FA855}
.mcard{background:#fff;border-radius:18px;border:1px solid var(--line);padding:13px;display:flex;flex-direction:column;gap:7px}
.mcard h4{font-size:15.5px}
.hero-m{border-radius:22px;padding:16px;color:#fff;background:var(--plum);display:flex;flex-direction:column;gap:6px;position:relative;overflow:hidden}
.hero-m::after{content:"";position:absolute;right:-34px;top:-34px;width:124px;height:124px;border-radius:50%;background:var(--brand)}
.hero-m>*{position:relative;z-index:1}
.hero-m .big{font-family:var(--display);font-stretch:118%;font-size:36px;font-weight:700;line-height:1}
.hero-m .mbtn{background:var(--zari);color:var(--plum);width:auto;align-self:flex-start;min-height:36px}
.alogin{flex:1;display:flex;flex-direction:column;background:var(--brand);color:#fff}
.al-in{flex:1;display:flex;flex-direction:column;gap:12px;padding:30px 22px 22px}
.al-in .mono{width:64px;height:64px;font-size:24px;border-radius:20px;background:rgba(255,255,255,.18)}
.al-card{background:#fff;color:var(--ink);border-radius:24px;padding:18px;display:flex;flex-direction:column;gap:12px;margin-top:auto}
.otp{display:flex;gap:7px;justify-content:center}
.otp span{width:36px;height:46px;border-radius:12px;border:1.5px solid var(--brand);display:grid;place-items:center;font-size:20px;font-weight:700}
.note{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:var(--muted);margin:0}
.ring-s{display:flex;align-items:center;gap:12px}

.appstrip,.apick{font-family:var(--android)}
body.app{background:#F6F4FA;overflow:hidden}
body.app #app{height:100dvh;display:flex;flex-direction:column}
.dscreen.app{flex:1;height:auto;min-height:0;border-radius:0}
.appstrip{height:46px;flex:none;display:flex;align-items:center;gap:8px;padding:0 8px;background:var(--plum);color:#fff}
.appbtn{border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:16px;height:32px;padding:0 10px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px}
.appsel{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.25);height:32px;padding:0 26px 0 8px;font-size:13px;max-width:44%;border-radius:16px}
.apick{flex:1;overflow:auto;background:var(--plum) radial-gradient(rgba(224,168,46,.16) 1.2px,transparent 1.4px) 0 0/22px 22px;color:#fff;padding:22px 18px 28px;display:flex;flex-direction:column;gap:18px}
.apick select{color:var(--ink);background:#fff;height:44px}
.apgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.aprole{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;border-radius:20px;padding:16px 14px;text-align:left;display:flex;flex-direction:column;gap:8px}
.aprole b{font-family:var(--display);font-size:18px;font-weight:650}
.aprole span:last-child{font-size:12.5px;opacity:.7}

/* ---- production additions ---- */
[hidden]{display:none!important}
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:var(--ink);padding:8px 12px;border-radius:8px;z-index:100}
.skip:focus{left:8px}
.auth{min-height:100%;display:grid;place-items:center;padding:24px;background:var(--plum) radial-gradient(rgba(224,168,46,.14) 1.2px,transparent 1.4px) 0 0/22px 22px}
.authcard{width:min(440px,100%);background:#fff;border-radius:26px;padding:26px;display:flex;flex-direction:column;gap:16px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.authcard h1{font-size:28px}
.authcard .logo{color:var(--plum)}
.authcard .logo small{color:var(--muted)}
.otpbox{font-family:var(--display);font-stretch:118%;font-size:30px;letter-spacing:.3em;text-align:center;font-weight:700}
.codebox{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:20px;font-weight:700;letter-spacing:.06em;background:var(--soft);border:1px dashed var(--line);border-radius:14px;padding:14px;text-align:center;word-break:break-all}
.empty{padding:28px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:10px}
.syncbar{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted)}
.syncbar .dot{width:8px;height:8px;border-radius:50%;background:var(--mayil)}
.syncbar.off .dot{background:var(--kavi)}
.spin{width:18px;height:18px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;animation:spin .8s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}
.btn[disabled],.mbtn[disabled]{opacity:.55;cursor:not-allowed}
.field .hint{font-size:12.5px;color:var(--muted)}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--bad)}
.inline-err{background:#FBE5EA;color:#A11D3D;border-radius:12px;padding:10px 12px;font-size:14px}
.top .userchip{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.85)}
.linkbtn{border:0;background:none;color:var(--brand);font-weight:600;padding:0;cursor:pointer}
table .num{font-family:var(--display);font-stretch:108%}
@media print{.top,.side,.no-print{display:none!important}.op{display:block}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* Round 2: wide drawers, step lists, report toolbars */
.modal.wide{width:min(1000px,96%)}
.steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;color:var(--ink-2,#3b3350)}
.steps li::marker{color:var(--brand);font-weight:700}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.kgrid.k5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1200px){.kgrid.k5{grid-template-columns:repeat(3,minmax(0,1fr))}.grid3{grid-template-columns:1fr 1fr}}
@media (max-width:860px){.grid2,.grid3{grid-template-columns:1fr}.kgrid.k5{grid-template-columns:repeat(2,minmax(0,1fr))}}
.panel.rbar{flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center;padding:14px 16px}
.rbar input[type=date]{height:36px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit}
.chip[aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}
.age{display:flex;flex-direction:column;gap:10px}
.agebar{display:grid;grid-template-columns:82px 1fr 74px 70px;gap:10px;align-items:center;background:none;border:0;padding:4px 0;font:inherit;text-align:left;cursor:pointer;color:inherit}
.agebar i{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--c) var(--w),#F0ECF6 var(--w))}
.agebar b{text-align:right}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;vertical-align:middle}
tfoot td{border-top:2px solid var(--plum)}

/* Phones (consoles inside the Android apps or a phone browser): compact header, sticky section strip */
@media (max-width:640px){
  .top{min-height:54px;padding:6px 10px;gap:8px;flex-wrap:nowrap}
  .top .logo{font-size:20px}.top .logo small,.top .userchip{display:none}
  .top .syncbar{font-size:0;gap:0}.top .syncbar .dot{margin:0}
  .top .btn.sm{font-size:0;padding:0 10px;gap:0;min-width:38px;justify-content:center}
  .op{padding:8px 8px 40px;gap:10px}
  .side{position:sticky;top:54px;z-index:20;border-radius:16px;padding:6px;box-shadow:0 8px 20px -14px rgba(42,22,69,.5)}
  .brandcard{display:none}
  .nav{gap:4px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
  .nav button{padding:6px 10px 6px 6px;font-size:14px}
  .phead h1{font-size:28px}.phead p{font-size:13.5px}
  .panel{padding:14px;border-radius:18px}
  .kgrid{gap:10px}.kpi-v{font-size:26px}
  .authcard{padding:20px}
  .modal{width:100%;max-height:96%;border-radius:20px;padding:16px}
  table{font-size:13.5px}
}
.more summary{cursor:pointer;color:var(--plum);font-weight:600;font-size:14px}.more{border-top:1px solid var(--line);padding-top:12px}
.auth{min-height:100vh;min-height:100dvh}
[data-server-pick],[data-apps]{display:inline-flex;align-items:center;gap:6px;justify-content:center;align-self:center}


/* =====================================================================
   Kolam identity layer (P24). Overrides earlier component styles.
   ===================================================================== */
:focus-visible{outline:2.5px solid var(--manjal);outline-offset:2px}
body{background:var(--canvas)}
h1,h2,h3{letter-spacing:-.01em}
/* Logo: the kolam mark replaces the old diamond everywhere */
.logo .gem{transform:none;background:url('/shared/mark.svg') center/contain no-repeat;width:34px;height:34px;border-radius:0}
.logo .gem svg{display:none}
.logo{font-stretch:108%;gap:12px}
/* Top bar: light, quiet */
.top{background:#fff;color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(20,24,51,.02)}
.top .logo .gem{background-image:url('/shared/icon.svg')}
.top .logo small{opacity:1;color:var(--muted)}
.top .syncbar{color:var(--muted)!important}
.top .userchip{color:var(--muted)}
.top .btn.ghost{background:var(--soft);border-color:var(--line);color:var(--ink)}
/* Sidebar: the indigo spine, monochrome icons, turmeric marker on the active section */
.side{background:var(--neelam);border:0;color:#fff;box-shadow:var(--shadow)}
.brandcard{border-bottom-color:rgba(255,255,255,.12)}
.bn{color:#fff}.bsub{color:rgba(255,255,255,.62)}
.brandcard .mono{box-shadow:0 0 0 2px rgba(255,255,255,.18)}
.nav button{color:rgba(255,255,255,.82);border-radius:12px;position:relative}
.nav button:hover{background:rgba(255,255,255,.07);color:#fff}
.nav button .chipic{--c:#fff!important;background:rgba(255,255,255,.08)!important;color:rgba(255,255,255,.88)!important;width:30px;height:30px;border-radius:9px}
.nav button[aria-current="page"]{background:rgba(255,255,255,.1);color:#fff}
.nav button[aria-current="page"]::before{content:"";position:absolute;left:-6px;top:9px;bottom:9px;width:4px;border-radius:4px;background:var(--manjal)}
.nav button[aria-current="page"] .chipic{background:var(--manjal)!important;color:var(--neelam)!important}
.nav .pill{background:var(--manjal);color:var(--neelam)}
.powered{color:rgba(255,255,255,.55);border-top-color:rgba(255,255,255,.12)}
/* Surfaces */
.panel,.kpi{border-color:var(--line);box-shadow:var(--shadow);border-radius:18px}
.kpi{gap:4px}
.kpi-h{color:var(--muted);font-weight:600}
.kpi-v{color:var(--ink)}
.chipic{border-radius:10px}
.phead h1{font-size:34px;font-stretch:106%}
.phead p{color:var(--muted)}
/* Buttons: indigo primary, turmeric reserved for the one key action on dark */
.btn{background:var(--neelam2)}
.btn:hover{background:var(--neelam3)}
.btn.brand{background:var(--neelam2)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.gold{background:var(--manjal);color:var(--neelam)}
.linkbtn{color:var(--neelam3)}
.htabs button[aria-selected="true"]{color:var(--ink);box-shadow:inset 0 -3px 0 var(--manjal)}
.chip[aria-pressed=true]{background:var(--neelam);border-color:var(--neelam)}
/* Hero surfaces: indigo with the kolam, no borders or stripes */
.silk{background:var(--neelam) var(--kolam-faint) no-repeat right -120px bottom -150px/300px;border-radius:20px;box-shadow:var(--shadow)}
.temple{display:none}
.silk .lbl2{color:var(--manjal2)}
.silk .big{color:#fff}
/* Sign-in screens */
.auth{background:var(--neelam) var(--kolam-faint) no-repeat center top -60px/min(760px,140vw)}
.authcard{border-radius:24px;box-shadow:0 30px 70px -30px rgba(5,8,30,.75)}
.authcard .logo .gem{background-image:url('/shared/icon.svg')}
.codebox{background:var(--soft);border-color:var(--line)}
/* Status colours */
.p-ok{background:color-mix(in srgb,var(--ilai) 12%,#fff);color:var(--ilai)}
.p-bad{background:color-mix(in srgb,var(--kumkum) 10%,#fff);color:var(--kumkum)}
.p-warn{background:#FFF4D6;color:var(--manjal-ink)}
/* Phone app header: operator colour on top, a row of kolam dots instead of the zig-zag */
.abar::after{height:10px;bottom:-5px;background:radial-gradient(circle,var(--canvas) 2.2px,transparent 2.6px) 0 0/14px 10px repeat-x;filter:none}
.hero-m{background:var(--neelam) var(--kolam-faint) no-repeat right -60px top -60px/220px}
.hero-m::after{display:none}
.hero-m .mbtn{background:var(--manjal);color:var(--neelam)}
.mbtn{background:var(--neelam2)}
.mnav button[aria-current="true"] .pind{background:color-mix(in srgb,var(--manjal) 30%,#fff);color:var(--neelam)}
.mnav{border-top-color:var(--line)}


/* =====================================================================
   Violet theme (P25), from the owner's reference: violet-indigo gradient,
   soft bokeh light, white wave edges, hot-pink primary action, Poppins.
   ===================================================================== */
:root{
  --canvas:#F7F5FD; --surface:#FFFFFF; --soft:#F3F0FC; --ink:#1F1640; --muted:#6B6585; --line:#ECE8F7;
  --v1:#A256F4; --v2:#7C4FEC; --v3:#5326D3; --violet:#6C3CE6;
  --grad:linear-gradient(135deg,#A256F4 0%,#8A4BF0 35%,#7C4FEC 60%,#5326D3 100%);
  --pink:#EC1C8A; --pink2:#FF4FAE;
  --ilai:#12B886; --kumkum:#F03E3E; --ochre:#F08C00;
  --neelam:#5326D3; --neelam2:#6C3CE6; --neelam3:#7C4FEC; --manjal:#EC1C8A; --manjal2:#FFC2E2; --manjal-ink:#B3156A;
  --display:'Poppins','Anek Tamil','Hind Madurai',system-ui,sans-serif;
  --body:'Poppins','Hind Madurai',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --brand:var(--violet);
  --bokeh:radial-gradient(circle at 12% 88%,rgba(255,255,255,.13),transparent 120px),radial-gradient(circle at 30% 20%,rgba(255,255,255,.08),transparent 90px),radial-gradient(circle at 78% 70%,rgba(255,255,255,.10),transparent 140px),radial-gradient(circle at 92% 18%,rgba(255,255,255,.07),transparent 100px);
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70C180 20 330 10 520 46s330 74 520 40 300-70 400-56V120H0Z' fill='%23F7F5FD'/%3E%3Cpath d='M0 92C240 52 420 60 640 84s420 30 800-20V120H0Z' fill='%23F7F5FD' fill-opacity='.6'/%3E%3C/svg%3E"); --wave-white:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70C180 20 330 10 520 46s330 74 520 40 300-70 400-56V120H0Z' fill='%23FFFFFF'/%3E%3Cpath d='M0 92C240 52 420 60 640 84s420 30 800-20V120H0Z' fill='%23FFFFFF' fill-opacity='.6'/%3E%3C/svg%3E");
  --shadow:0 2px 6px rgba(83,38,211,.05),0 18px 40px -22px rgba(83,38,211,.35);
}
body{font-size:14.5px;letter-spacing:-.003em}
h1,h2,h3,h4{font-weight:700;letter-spacing:-.02em}
.phead h1{font-size:32px;font-weight:800;letter-spacing:-.03em}
.kpi-v,.silk .big,.hero-m .big,.num{font-family:'Poppins',var(--display);font-weight:700;letter-spacing:-.02em;font-stretch:100%}
:focus-visible{outline:2.5px solid var(--pink)}
/* Logo */
.logo{font-family:'Poppins',var(--display);font-weight:700;letter-spacing:-.02em;font-stretch:100%}
.logo .gem{background-image:url('/shared/icon.svg');border-radius:10px;width:34px;height:34px}
/* Top bar */
.top{background:#fff;border-bottom:1px solid var(--line)}
/* Sidebar: the gradient spine */
.side{background:var(--bokeh),var(--grad);box-shadow:0 20px 40px -24px rgba(83,38,211,.6)}
.nav button{color:rgba(255,255,255,.86);font-weight:500}
.nav button:hover{background:rgba(255,255,255,.1)}
.nav button[aria-current="page"]{background:#fff;color:var(--v3);font-weight:600;box-shadow:0 8px 18px -10px rgba(20,0,80,.5)}
.nav button[aria-current="page"]::before{background:var(--pink);left:-6px}
.nav button[aria-current="page"] .chipic{background:var(--grad)!important;color:#fff!important}
.nav .pill{background:var(--pink);color:#fff}
.brandcard{border-bottom-color:rgba(255,255,255,.18)}
/* Cards */
.panel,.kpi{border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.kpi .chipic{border-radius:12px}
/* Buttons: violet standard, pink for the one main action, white secondary */
.btn{background:var(--violet);border-radius:10px;font-weight:600;letter-spacing:.01em}
.btn:hover{background:var(--v3)}
.btn.brand{background:var(--pink);text-transform:uppercase;letter-spacing:.08em;font-size:13px;box-shadow:0 10px 22px -12px rgba(236,28,138,.8)}
.btn.brand:hover{background:#D4127A}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.sm{border-radius:8px}
.mbtn{background:var(--violet);border-radius:12px;font-weight:600}
.mbtn.tonal{background:var(--soft);color:var(--v3)}
.linkbtn{color:var(--violet)}
.htabs button[aria-selected="true"]{box-shadow:inset 0 -3px 0 var(--pink);color:var(--v3)}
.chip[aria-pressed=true]{background:var(--violet);border-color:var(--violet);color:#fff}
/* Hero surfaces: gradient with soft light */
.silk{background:var(--bokeh),var(--grad);border-radius:18px;box-shadow:0 22px 40px -24px rgba(83,38,211,.75)}
.silk .lbl2{color:#FFD3EA}
.hero-m{background:var(--bokeh),var(--grad);border-radius:18px;box-shadow:0 18px 36px -20px rgba(83,38,211,.7)}
.hero-m .mbtn{background:var(--pink);color:#fff;text-transform:uppercase;letter-spacing:.08em;font-size:12.5px}
/* Sign-in pages: gradient with a white wave */
.auth{background:var(--wave-white) no-repeat bottom/100% 140px,var(--bokeh),var(--grad)}
.authcard{border-radius:20px}
.welcome{background:var(--wave) no-repeat bottom/100% 120px,var(--bokeh),var(--grad)!important}
/* Phone app header: gradient with a wave edge */
.abar{background:var(--bokeh),var(--grad)!important}
.abar::after{height:26px;bottom:-1px;background:var(--wave) no-repeat bottom/100% 100%}
.abar .mono{background:rgba(255,255,255,.22)!important}
.mnav button[aria-current="true"] .pind{background:var(--soft);color:var(--v3)}
/* Start screen */
.start-top{background:var(--wave) no-repeat bottom/100% 90px,var(--bokeh),var(--grad);border-radius:0;padding-bottom:84px}
.start-art{display:none}
.start-h{font-family:'Poppins',var(--display);font-weight:800;letter-spacing:-.035em;font-size:44px;margin-top:70px;text-shadow:none;font-stretch:100%}
.start-tiles{margin-top:-46px}
.roletile{border-radius:16px;border:0;box-shadow:0 14px 34px -20px rgba(83,38,211,.55)}
.rt-ic{background:var(--grad);color:#fff;border-radius:14px}
.rt-t b{font-family:'Poppins',var(--display);font-weight:600;font-size:16px;letter-spacing:-.01em}
.rt-go{color:var(--pink)}
.start-srv{color:var(--violet)}
/* Status colours */
.p-ok{background:#E6FCF5;color:#0B8A63}
.p-bad{background:#FFF0F0;color:#E03131}
.p-warn{background:#FFF4E0;color:#C25E00}

/* P25b: no pink buttons. Main action = violet gradient; on purple backgrounds = white with violet text. */
.btn.brand{background:var(--grad);text-transform:none;letter-spacing:.01em;font-size:14px;box-shadow:0 10px 22px -12px rgba(83,38,211,.75)}
.btn.brand:hover{background:var(--v3)}
.hero-m .mbtn{background:#fff;color:var(--v3);text-transform:uppercase;letter-spacing:.08em}
.silk .btn,.silk .btn.brand{background:#fff;color:var(--v3)}
.mbtn{background:var(--grad)}
.mbtn.green{background:#12B886}
.bill .btn,.btn.gold{background:#fff;color:var(--v3)}
.switch button[aria-current="page"]{background:#fff;color:var(--v3)}

/* P26: no pink anywhere; accents follow the violet theme */
:root{--pink:#7C4FEC;--pink2:#A256F4}
:focus-visible{outline-color:#5326D3}

/* ===== P29 UI/UX fixes ===== */
/* U1: tables turn into labelled cards on phones and small tablets. */
@media (max-width:760px){
  .tablewrap{overflow:visible;margin:0;padding:0}
  .tablewrap table.cards,.tablewrap table.cards tbody,.tablewrap table.cards tr,.tablewrap table.cards td{display:block;width:auto}
  .tablewrap table.cards thead{display:none}
  .tablewrap table.cards tr{border:1px solid var(--line);border-radius:14px;padding:4px 14px;margin:0 0 10px;background:#fff}
  .tablewrap table.cards td{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;border:0;border-bottom:1px dashed var(--line);text-align:right;white-space:normal}
  .tablewrap table.cards tr td:last-child{border-bottom:0}
  .tablewrap table.cards td::before{content:attr(data-label);font-size:12.5px;color:var(--muted);font-weight:600;text-align:left;flex:none;max-width:42%}
  .tablewrap table.cards td[data-label=""]::before{display:none}
  .tablewrap table.cards td[data-label=""]{justify-content:flex-start;text-align:left}
  .tablewrap table.cards td>*{min-width:0}
  .tablewrap table.cards td .cell{justify-content:flex-end;text-align:left}
  .tablewrap table.cards tr.grp{border:0;background:none;padding:10px 0 2px;margin:0}
  .tablewrap table.cards tr.grp td{font-weight:700;border:0}
  .tablewrap table.cards tr.click:hover td{background:none}
  .tablewrap table.cards tr:has(td:only-child){padding:0;border:0}
}
/* U7: canvas colour fills the whole window on short pages. */
html{background:var(--canvas)}body{min-height:100vh}
/* U13: customer filters and buttons fit on one line at laptop widths. */
.search{flex:1 1 240px;min-width:200px}
.panel>.row select{flex:0 1 160px;min-width:130px}
/* U16 + U8: brand settings with a live receipt preview; visible colour swatch and hex value. */
.brandwrap{display:grid;grid-template-columns:minmax(0,760px) minmax(280px,1fr);gap:18px;align-items:start}
@media (max-width:1100px){.brandwrap{grid-template-columns:1fr}}
.colorpick{display:flex;align-items:center;gap:12px}
.colorpick input[type=color]{width:64px;height:44px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;flex:none}
.colorpick span{font-family:var(--display);font-weight:600;letter-spacing:.04em}
.rcpt{border:1px dashed var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;background:#fff}
.rcpt-h{display:flex;gap:12px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.rcpt-h .mono{width:42px;height:42px;border-radius:12px;color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.rcpt-r{display:flex;justify-content:space-between;gap:12px;font-size:14px}.rcpt-r span{color:var(--muted)}
h2.h3{font-size:17px;margin:0}
/* U9: touch targets at least 44 px when the console is used on a phone. */
@media (max-width:640px){
  .top .btn.sm{min-width:44px;height:44px}
  .btn.sm{min-height:44px}
  .chip{min-height:44px;padding:8px 14px}
  .nav button{min-height:44px}
  .htabs button{min-height:44px}
}
/* U10: rows that scroll sideways show a fade and an arrow cue at the hidden edge. */
.scrollcue{position:relative}
.scrollcue.more-r{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent)}
.scrollcue.more-l{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 44px),transparent)}
.scrollcue.more-l.more-r{-webkit-mask-image:linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent)}
/* U3: no pink left in the console and HQ. */
:root{--manjal:#7C4FEC;--manjal2:#E4D8FF;--manjal-ink:#4B2AA8}
.mini i.on{background:#fff}
.nav .pill{background:#fff;color:#5326D3}
.nav button[aria-current="page"] .pill{background:#7C4FEC;color:#fff}
/* U4: text colours that reach WCAG AA 4.5:1 on their backgrounds. */
:root{--kumkum:#C92A2A;--ilai:#0B7A55}
.p-ok{background:#E3F7EE;color:#0A6B4A}
.p-bad{background:#FDECEC;color:#B02323}
.p-warn{background:#FFF1DB;color:#8A4B00}
.htabs .cnt{background:#EFEBF5;color:#3B2F63}
.htabs button[aria-selected="true"] .cnt{background:#7C4FEC;color:#fff}
.btn.ok{background:#0A7A55}
.btn.warn{background:#B3540A}
.btn.red{background:#C92A2A}
/* U17: input borders neutral grey-violet; focus ring violet. */
input,select,textarea{border-color:#DCD6EC}
input:focus,select:focus,textarea:focus{border-color:#7C4FEC;outline:3px solid rgba(124,79,236,.22);outline-offset:0}
.tmap button span{opacity:1}
.tmap button.none{color:rgba(255,255,255,.78);border-color:rgba(255,255,255,.35)}
/* U21: error messages are red with a warning mark; other messages stay violet. */
.toast{display:flex;align-items:center;gap:10px;border-left:0}
.toast.error{background:#B02323}
.toast.error::before{content:"!";flex:none;width:22px;height:22px;border-radius:50%;background:#fff;color:#B02323;display:grid;place-items:center;font-weight:800;font-size:14px}
.toast.info::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#fff;opacity:.9}
:root{color-scheme:light}
.m-na{color:#6F6688}
/* Buttons and links are easy to tap when the console runs on a phone; the skip link too. */
@media (max-width:640px){ .btn{min-height:44px} .linkbtn{min-height:44px;display:inline-flex;align-items:center} }
a.skip{min-height:44px;display:inline-flex;align-items:center}
.authcard .linkbtn{min-height:44px;display:inline-flex;align-items:center}
/* Support board: columns wrap instead of running off the screen. */
.kanban{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));overflow-x:visible}
/* Long addresses and codes wrap instead of pushing the page sideways. */
code,.mono,td{overflow-wrap:anywhere}
.tablewrap table.cards td{word-break:break-word}
/* HQ district tiles: 44 px tap targets on phones. */
/* HQ district tiles: a 2 px invisible margin around each tile makes the tap area 46 px on phones. */
.tmap button{position:relative}.tmap button::after{content:"";position:absolute;inset:-2px}
.tablewrap table.cards .pill{white-space:normal;line-height:1.35;text-align:left}
.list>div>*{min-width:0}.list b{overflow-wrap:anywhere}
@media (max-width:760px){
  /* Card cells flow as text (label on the left, value on the right) so "14, Kovil Street" stays together. */
  .tablewrap table.cards td{display:block;text-align:right;overflow:hidden}
  .tablewrap table.cards td::before{float:left;margin-right:14px;line-height:inherit}
  .tablewrap table.cards td .cell{display:inline-flex}
  .tablewrap table.cards td[data-label=""]{text-align:left}
  .col{min-height:0}
}

/* P34.D Test / development ribbon */
#envRibbon{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:repeating-linear-gradient(135deg,#FF8A00 0 14px,#FFA733 14px 28px);color:#2B1600;font:700 12px/1 system-ui,sans-serif;letter-spacing:.04em;text-align:center;padding:6px 8px calc(6px + env(safe-area-inset-bottom));pointer-events:none}
body.has-env-ribbon{padding-bottom:26px}

/* =====================================================================
   P35 Hayaafi identity, from the logo: a ribbon "H" in blue and cyan turning into orange and violet, on black, with a
   bold white wordmark and one orange dot. Black carries the brand surfaces (sidebar, headers, hero cards); the
   ribbon gradient marks the main action; orange is the single accent (alerts, the active marker, counts); working
   surfaces stay light so screens read well in daylight.
   ===================================================================== */
:root{
  --hy-black:#0B0B12; --hy-black2:#15172A; --hy-blue:#1E6BFF; --hy-cyan:#12C2F5; --hy-violet:#7B3FF2; --hy-magenta:#C640F0;
  --hy-orange:#FF9500; --hy-amber:#FFC21A;
  --hy-ribbon:linear-gradient(120deg,#12C2F5 0%,#1E6BFF 34%,#7B3FF2 72%,#C640F0 100%);
  --hy-warm:linear-gradient(120deg,#FFC21A 0%,#FF9500 100%);
  --hy-night:radial-gradient(90% 70% at 0% 0%,rgba(18,194,245,.28),transparent 60%),radial-gradient(80% 70% at 100% 100%,rgba(198,64,240,.30),transparent 62%),radial-gradient(60% 50% at 100% 0%,rgba(255,149,0,.20),transparent 60%),#0B0B12;
  --canvas:#F5F6FA; --surface:#FFFFFF; --soft:#EFF2F9; --ink:#11131C; --muted:#5E6476; --line:#E3E6EF;
  --v1:#12C2F5; --v2:#1E6BFF; --v3:#1450D6; --violet:#1E6BFF;
  --grad:var(--hy-ribbon); --pink:#FF9500; --pink2:#FFC21A;
  --neelam:#1450D6; --neelam2:#1E6BFF; --neelam3:#1E6BFF; --manjal:#FF9500; --manjal2:#FFE2B8; --manjal-ink:#8A4B00;
  --brand:#1E6BFF;
  --shadow:0 2px 6px rgba(17,19,28,.05),0 18px 40px -24px rgba(17,19,28,.35);
}
:focus-visible{outline:2.5px solid var(--hy-orange)}
input:focus,select:focus,textarea:focus{border-color:var(--hy-blue);outline:3px solid rgba(30,107,255,.22);outline-offset:0}
option{color:var(--ink)}
/* Logo: the H mark plus the wordmark */
.logo .gem,.top .logo .gem,.authcard .logo .gem{background:url('/shared/brand/mark.png') center/contain no-repeat;border-radius:0;width:36px;height:36px;transform:none}
/* Sidebar: black with the ribbon's light */
.side{background:var(--hy-night);box-shadow:0 22px 44px -24px rgba(11,11,18,.75)}
.nav button{color:rgba(255,255,255,.84)}
.nav button:hover{background:rgba(255,255,255,.08)}
.nav button[aria-current="page"]{background:#fff;color:var(--ink);box-shadow:0 8px 18px -10px rgba(0,0,0,.6)}
.nav button[aria-current="page"]::before{background:var(--hy-orange)}
.nav button[aria-current="page"] .chipic{background:var(--hy-ribbon)!important;color:#fff!important}
.nav .pill{background:var(--hy-orange);color:#1B0F00}
.nav button[aria-current="page"] .pill{background:var(--hy-orange);color:#1B0F00}
.htabs button[aria-selected="true"]{color:var(--hy-blue)}
.htabs button[aria-selected="true"]::after{background:var(--hy-ribbon)}
.htabs button[aria-selected="true"] .cnt{background:var(--hy-orange);color:#1B0F00}
/* Actions */
.btn{background:var(--hy-ribbon);background-size:140% 100%;background-position:0 0;transition:background-position .25s}
.btn:hover{background:var(--hy-ribbon);background-size:140% 100%;background-position:100% 0}
.btn.ghost,.btn.sm.ghost{background:#fff;color:var(--ink)}
.mbtn{background:var(--hy-ribbon)}
.mbtn.tonal{background:var(--soft);color:var(--v3)}
.mbtn.outline{background:#fff;color:var(--v3)}
.linkbtn{color:var(--v3)}
/* Hero cards: night with the ribbon's glow; the one main button on them is orange */
.silk,.hero-m{background:var(--hy-night);box-shadow:0 22px 40px -24px rgba(11,11,18,.8)}
.silk .lbl2{color:var(--hy-amber)}
.silk .btn,.silk .btn.brand{background:#fff;color:var(--ink)}
.hero-m .mbtn{background:var(--hy-warm);color:#1B0F00}
.abar{background:var(--hy-night)!important}
.abar .mono{background:rgba(255,255,255,.16)!important}
.top{background:#fff}
.auth{background:var(--hy-night)}
.authcard{box-shadow:0 30px 70px -30px rgba(0,0,0,.85)}
