/* =====================================================================
   Castle · design system "Kanchi"
   Rooted in a Tamil home: limewashed walls, Kanchipuram silk (maroon body,
   peacock contrast, gold zari temple border), kolam rice-flour lines,
   banana-leaf green for "all good", monsoon blue for "waiting".
   Single light theme on purpose; every colour is set explicitly.
   ===================================================================== */
:root {
  /* Ground and surfaces */
  --bg: #F4F1EB;          /* limewash */
  --bg-2: #ECE7DD;        /* recessed wells, segmented controls */
  --surface: #FFFFFF;
  --line: #E3DBCD;
  --line-2: #D2C6B1;
  /* Text (all AA on --bg and --surface) */
  --ink: #1C1916;
  --ink-2: #3F3A35;
  --muted: #5B554D;
  /* Brand */
  --peacock: #0B5560; --peacock-deep: #06363D; --peacock-soft: #DCECEC; --peacock-line: #A9CFD0;
  --silk: #5A1A2C; --silk-2: #74243B; --silk-deep: #3B0E1C;
  --zari: #D3A044; --zari-bright: #EFC970; --zari-soft: #F7EBCF; --zari-ink: #664405; --zari-line: #E5C98C;
  --pay: #F0B23C; --pay-ink: #2A1800; --pay-press: #DE9E25;
  /* Status: shape + colour + word */
  --ok: #1B6640; --ok-deep: #0F4A2C; --ok-soft: #E0F0E5; --ok-line: #A7D3B6;
  --wait: #22549B; --wait-soft: #E3EBF7; --wait-line: #B4C9EA;
  --due: #7A4D00; --due-soft: #FCEFD0; --due-line: #EBCB86;
  --bad: #AE2A1F; --bad-soft: #FBE5E1; --bad-line: #EDB8AF;
  --wa: #157347;
  /* Type */
  --display: "Noto Sans", "Noto Sans Tamil", "Nirmala UI", system-ui, sans-serif;
  --body: "Noto Sans", "Noto Sans Tamil", "Nirmala UI", system-ui, sans-serif;
  --fs-cap: 15px; --fs-body: 16px; --fs-row: 17px; --fs-h3: 19px; --fs-h2: 22px; --fs-h1: 30px; --fs-num: 40px; --fs-hero: 46px;
  /* Space (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px;
  /* Radii: deliberately different per kind of object */
  --r-chip: 999px; --r-btn: 14px; --r-field: 14px; --r-row: 18px; --r-card: 22px; --r-hero: 28px;
  /* Elevation */
  --e1: 0 1px 2px rgba(48, 32, 12, .06);
  --e2: 0 1px 2px rgba(48, 32, 12, .05), 0 8px 20px -12px rgba(48, 32, 12, .28);
  --e3: 0 22px 40px -22px rgba(59, 14, 28, .75), 0 4px 10px -4px rgba(59, 14, 28, .25);
  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --t1: 140ms; --t2: 260ms; --t3: 480ms;
  /* Temple border (zari): gold gopuram triangles with a silk dot, on a gold rule */
  --temple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Crect width='18' height='1.6' fill='%23D3A044'/%3E%3Cpath d='M0 14 9 4.2 18 14Z' fill='%23D3A044'/%3E%3Ccircle cx='9' cy='10.6' r='1.7' fill='%235A1A2C'/%3E%3C/svg%3E");
  --temple-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Crect width='18' height='1.6' fill='%23EFC970'/%3E%3Cpath d='M0 14 9 4.2 18 14Z' fill='%23EFC970'/%3E%3Ccircle cx='9' cy='10.6' r='1.7' fill='%23124A2E'/%3E%3C/svg%3E");
  --temple-peacock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Crect width='18' height='1.6' fill='%23D3A044'/%3E%3Cpath d='M0 14 9 4.2 18 14Z' fill='%23D3A044'/%3E%3Ccircle cx='9' cy='10.6' r='1.7' fill='%2306363D'/%3E%3C/svg%3E");
  --pulli: radial-gradient(circle, rgba(90, 26, 44, .13) 1.3px, transparent 1.7px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #E9E2D4; color: var(--ink); font-family: var(--body); font-size: var(--fs-body); line-height: 1.5; font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 24px 40px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: var(--peacock); }
:focus-visible { outline: 3px solid var(--zari); outline-offset: 2px; border-radius: 6px; }
b, strong { font-weight: 700; }
[hidden] { display: none !important; }

/* =============================== Board (outside the phone) =============================== */
.board { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 300px 410px 300px; gap: 28px; justify-content: center; align-items: start; }
.side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
.side > * { flex: none; }
.panel { background: #241A17; color: #F6EEE1; border-radius: 20px; padding: 16px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--temple) repeat-x left bottom / 14px 10px; opacity: .9; }
.panel > :first-child { margin-top: 6px; }
.panel h2 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.panel .note { margin: 0; font-size: 15px; color: #CDBFA9; }
.panel .lab { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--zari-bright); margin-top: 6px; }
.pbtn { width: 100%; text-align: left; min-height: 48px; border-radius: 12px; border: 1px solid #4E413A; background: rgba(255,255,255,.03); color: #F6EEE1; font-weight: 600; padding: 7px 12px; line-height: 1.25; transition: border-color var(--t1), background var(--t1); }
.pbtn small { display: block; font-weight: 400; font-size: 14px; color: #CDBFA9; margin-top: 2px; }
.pbtn[aria-pressed="true"] { background: var(--zari); border-color: var(--zari); color: #2A1800; }
.pbtn[aria-pressed="true"] small { color: #4A3410; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.jump button { min-height: 34px; border-radius: 99px; border: 1px solid #4E413A; background: transparent; color: #F6EEE1; font-size: 15px; padding: 2px 11px; }
.jump button:hover, .pbtn:hover { border-color: var(--zari); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.intro { background: var(--surface); border-radius: 20px; padding: 18px 16px 16px; box-shadow: var(--e2); position: relative; overflow: hidden; }
.intro::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--silk); }
.intro h1 { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 4px 0 6px; color: var(--silk); text-wrap: balance; letter-spacing: -.01em; }
.intro p { margin: 0 0 8px; color: var(--muted); }
.intro p:last-child { margin: 0; }
.tier { border-top: 1px solid #44372F; padding-top: 10px; }
.tier h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tier h3 small { font-weight: 400; color: #CDBFA9; font-size: 13px; }
.tier ul { margin: 6px 0 0; padding-left: 18px; font-size: 15px; color: #E8DCC8; display: grid; gap: 2px; }
.tier.now h3 { color: var(--zari-bright); }

/* =============================== Phone =============================== */
.phone { width: 410px; height: 860px; border-radius: 52px; background: #17110F; padding: 10px; box-shadow: 0 40px 70px -30px rgba(59, 30, 10, .55), inset 0 0 0 2px #3A2E29; }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; isolation: isolate; }
.proto { background: var(--silk-deep); color: var(--zari-bright); font-weight: 700; font-size: 15px; padding: 7px 12px 6px; display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; letter-spacing: .01em; }
.proto::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--zari); }
.proto .demo-btn { display: none; border: 0; background: var(--zari); color: #2A1800; border-radius: 99px; font-size: 14px; font-weight: 700; padding: 3px 12px; min-height: 30px; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 16px 32px; scroll-behavior: smooth; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }

/* Screen transitions (set by navigation, never by re-renders) */
.nav-fwd > * { animation: navFwd var(--t2) var(--ease) both; }
.nav-back > * { animation: navBack var(--t2) var(--ease) both; }
.nav-tab > * { animation: navTab var(--t2) var(--ease) both; }
.nav-fwd > :nth-child(2), .nav-tab > :nth-child(2) { animation-delay: 30ms; }
.nav-fwd > :nth-child(n+3), .nav-tab > :nth-child(n+3) { animation-delay: 60ms; }
@keyframes navFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes navBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes navTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =============================== Tab bar =============================== */
.tabs { flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--line); padding: 4px 4px calc(8px + env(safe-area-inset-bottom, 0px)); position: relative; z-index: 5; }
.tabs button { background: none; border: 0; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; padding: 0 2px; position: relative; line-height: 1.15; }
.tabs button > span:not(.badge) { position: relative; z-index: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tabs svg { width: 26px; height: 26px; position: relative; z-index: 1; transition: transform var(--t2) var(--spring); }
.tabs button::before { content: ""; position: absolute; top: 5px; left: 50%; width: 58px; height: 34px; margin-left: -29px; border-radius: 99px; background: var(--peacock-soft); transform: scaleX(.4); opacity: 0; transition: transform var(--t2) var(--ease), opacity var(--t1); }
.tabs button[aria-current="page"] { color: var(--peacock-deep); font-weight: 700; }
.tabs button[aria-current="page"]::before { transform: none; opacity: 1; }
.tabs button[aria-current="page"] svg { stroke-width: 2.3; }
.tabs button:active svg { transform: scale(.88); }
.badge { position: absolute; top: 2px; right: calc(50% - 30px); z-index: 2; background: var(--bad); color: #fff; font-size: 15px; font-weight: 700; min-width: 23px; height: 23px; border-radius: 99px; display: grid; place-items: center; padding: 0 6px; line-height: 1; box-shadow: 0 0 0 2px var(--surface); }

/* =============================== Header =============================== */
.top { display: flex; align-items: center; gap: 12px; padding: 16px 0 14px; position: relative; }
.top::before { content: ""; position: absolute; left: -16px; right: -16px; top: 0; bottom: -40px; background-image: var(--pulli); background-size: 14px 14px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent); pointer-events: none; z-index: -1; }
.top .who { flex: 1; min-width: 0; }
.crest { width: 48px; height: 52px; flex: none; border-radius: 14px 14px 6px 6px; background: var(--silk); color: var(--zari-bright); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; position: relative; overflow: hidden; box-shadow: var(--e1); }
.crest::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--temple) repeat-x left bottom / 10px 8px; }
.crest span { margin-top: -6px; }
.crest.home { background: var(--peacock); } .crest.home::after { background-image: var(--temple-peacock); }
.crest svg { width: 24px; height: 24px; margin-top: -6px; }
.hello { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.12; margin: 0; color: var(--ink); letter-spacing: -.015em; }
.namebtn { display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; max-width: 100%; text-align: left; color: var(--ink); min-height: 36px; border-radius: 10px; }
.namebtn .hello { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.namebtn svg { width: 22px; height: 22px; flex: none; color: var(--silk); background: var(--zari-soft); border-radius: 50%; padding: 2px; }
.top .area { margin: -2px 0 0; color: var(--muted); font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.top .area b { color: var(--silk); font-weight: 700; }
.place { display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 2px 0; color: var(--muted); font-size: 16px; text-align: left; max-width: 100%; min-height: 32px; }
.place .ptxt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place .ptxt svg { width: 16px; height: 16px; vertical-align: -2px; }
.place b { color: var(--ink); font-weight: 600; }
.place svg { width: 18px; height: 18px; flex: none; }
.iconbtn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--peacock-deep); display: grid; place-items: center; flex: none; box-shadow: var(--e1), inset 0 0 0 1px var(--line); }
.iconbtn svg { width: 24px; height: 24px; }
.iconbtn .badge { top: -2px; right: -4px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--peacock); color: #fff; border: 0; font-family: var(--display); font-weight: 700; font-size: 20px; flex: none; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--zari-line); }
.avatar.dot { position: relative; }
.avatar.dot::after { content: ""; position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--bg); }

/* Page header for pushed screens */
.backbar { display: flex; align-items: center; padding: 12px 0 0; position: sticky; top: 0; z-index: 4; margin: 0 -16px; padding-inline: 12px; background: linear-gradient(var(--bg) 70%, rgba(244, 241, 235, 0)); }
.back { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 0; padding: 0 16px 0 8px; color: var(--peacock-deep); font-weight: 700; font-size: 17px; border-radius: 99px; box-shadow: var(--e1), inset 0 0 0 1px var(--line); }
.back svg { width: 22px; height: 22px; }
.back:active { transform: scale(.97); }
.title { font-family: var(--display); font-size: var(--fs-h1); font-weight: 700; margin: 12px 0 14px; color: var(--ink); line-height: 1.1; text-wrap: balance; letter-spacing: -.02em; overflow-wrap: anywhere; }
.eyebrow { display: block; font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--silk-2); margin-bottom: 2px; }
.subtitle { margin: -8px 0 16px; color: var(--muted); font-size: 17px; }
.private { display: flex; gap: 8px; align-items: center; background: var(--peacock-soft); color: var(--peacock-deep); border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.private svg { width: 20px; height: 20px; flex: none; }

/* =============================== Layout blocks =============================== */
.stack { display: flex; flex-direction: column; gap: 14px; }
.sec { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin: 12px 2px -2px; }
.sec h2 { margin: 0; font-family: var(--display); font-size: var(--fs-h3); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.sec button, .slot button { background: none; border: 0; color: var(--peacock); font-weight: 700; font-size: 16px; min-height: 44px; padding: 0 2px; display: inline-flex; align-items: center; gap: 2px; }
.sec button::after, .slot button::after { content: "›"; font-size: 22px; line-height: 1; margin-top: -2px; }
.slot { display: flex; justify-content: space-between; align-items: center; margin: 14px 2px -4px; gap: 8px; }
.slot > span { font-family: var(--display); font-size: var(--fs-h3); font-weight: 700; color: var(--ink); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.slot > span .n { font-family: var(--body); font-size: 15px; font-weight: 700; background: var(--silk); color: #fff; border-radius: 99px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0 7px; }
.home { gap: 12px; }

.card { background: var(--surface); border-radius: var(--r-card); padding: 18px; box-shadow: var(--e2); border: 0; }
.card.tight { padding: 14px 16px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card h3 { margin: 0 0 4px; font-size: var(--fs-h3); font-family: var(--display); letter-spacing: -.01em; }

/* Lists: rows grouped into one sheet with hairlines (inset-grouped), so long lists read as one object */
.list { display: flex; flex-direction: column; gap: 10px; }
.list:has(> .row:first-child):not(:has(> :not(.row))) { gap: 0; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--e2); overflow: hidden; }
.list:has(> .row:first-child):not(:has(> :not(.row))) > .row { border-radius: 0; box-shadow: none; }
.list:has(> .row:first-child):not(:has(> :not(.row))) > .row + .row::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; height: 1px; background: var(--line); }
.list:has(> .row:first-child):not(:has(> :not(.row))) > .row:not(:has(.lead, .tick, .svcicon)) + .row::before { left: 16px; }
.row { position: relative; width: 100%; text-align: left; display: flex; gap: 14px; align-items: center; background: var(--surface); border: 0; border-radius: var(--r-row); padding: 14px 16px; min-height: 68px; box-shadow: var(--e2); color: var(--ink); font-size: var(--fs-body); transition: background var(--t1); }
button.row:active, a.row:active { background: #FAF7F1; }
button.row:active .chev { transform: translateX(3px); }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 600; font-size: var(--fs-row); display: block; line-height: 1.3; overflow-wrap: anywhere; }
.row .s { color: var(--muted); display: block; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; margin-top: 2px; }
.row .r { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chev { color: #9C907C; flex: none; width: 20px; height: 20px; display: grid; place-items: center; transition: transform var(--t1); margin-right: -4px; }
.chev svg { width: 20px; height: 20px; }
.lead { width: 46px; height: 46px; border-radius: 14px; background: var(--peacock); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; flex: none; letter-spacing: .01em; }
.lead.soft { background: var(--peacock-soft); color: var(--peacock-deep); }
.lead svg { width: 24px; height: 24px; }
.lead.tone-teal { background: var(--peacock-soft); color: var(--peacock-deep); }
.lead.tone-wait { background: var(--wait-soft); color: var(--wait); }
.lead.tone-bad { background: #F8D3CC; color: var(--bad); }
.lead.tone-due { background: var(--zari-soft); color: var(--zari-ink); }
.lead.tone-ok { background: var(--ok-soft); color: var(--ok); }
.lead.tone-silk { background: #F3E1E5; color: var(--silk); }
.row .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--zari-line); }
.row.urgent { background: var(--bad-soft); box-shadow: inset 4px 0 0 var(--bad), var(--e2); }
.row.pinned { background: var(--zari-soft); }
.alert-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bad); margin-bottom: 2px; }
.feed { display: flex; flex-direction: column; }

/* Text helpers */
.meta { color: var(--muted); font-size: 16px; }
.hint { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.45; }
.money { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; letter-spacing: -.005em; }
.big { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.divider { border: 0; border-top: 1.5px dashed var(--line); margin: 14px 0; }
.empty { text-align: center; color: var(--muted); padding: 22px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-card); background: rgba(255,255,255,.4); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Pills: status by colour, shape and word. ● done · ○ waiting · ◆ due · ▲ problem */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; padding: 2px 11px 2px 10px; border-radius: 99px; white-space: nowrap; line-height: 1.55; }
.pill::before { content: none; flex: none; }
.p-ok { background: var(--ok-soft); color: var(--ok); } .p-ok::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.p-wait { background: var(--wait-soft); color: var(--wait); } .p-wait::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.p-due { background: var(--due-soft); color: var(--due); } .p-due::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); border-radius: 1px; }
.p-bad { background: var(--bad-soft); color: var(--bad); } .p-bad::before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid currentColor; }
.p-plain { background: var(--bg-2); color: var(--ink-2); }
.p-teal { background: var(--peacock-soft); color: var(--peacock-deep); }
.p-tbd { background: #F4E4F1; color: #74195F; border: 1px dashed #B5579C; font-size: 14px; padding: 0 8px; letter-spacing: .04em; }

/* Notes inline on a screen */
.alert { border-radius: 16px; padding: 12px 14px; font-size: 16px; line-height: 1.45; border: 1px solid transparent; }
.a-bad { background: var(--bad-soft); color: #7E1D15; border-color: var(--bad-line); }
.a-wait { background: var(--wait-soft); color: #193F76; border-color: var(--wait-line); }
.a-due { background: var(--due-soft); color: #5E3B00; border-color: var(--due-line); }
.a-ok { background: var(--ok-soft); color: var(--ok-deep); border-color: var(--ok-line); }
.a-teal { background: var(--peacock-soft); color: var(--peacock-deep); border-color: var(--peacock-line); }
.a-plain { background: var(--bg-2); color: var(--ink-2); }
.alert b { color: inherit; }

/* =============================== Hero (silk card) =============================== */
.hero { position: relative; overflow: hidden; background: var(--silk); color: #FFF6EA; border-radius: var(--r-hero); padding: 20px 20px 34px; box-shadow: var(--e3); isolation: isolate; }
.hero::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: var(--kolam-art) center / contain no-repeat; opacity: .16; z-index: -1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--temple) repeat-x left bottom / 18px 14px; }
.hero > * { position: relative; }
.hero .lbl { font-size: 16px; color: #F4DDC8; margin: 0; font-weight: 600; }
.hero .amt { font-family: var(--display); font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; margin: 4px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; color: #fff; }
.hero .amt small { font-size: .5em; font-weight: 600; color: var(--zari-bright); margin-right: 4px; letter-spacing: 0; vertical-align: .55em; }
.hero .sub { margin: 0 0 12px; font-size: 16px; color: #F4DDC8; }
.hero .warn { background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; font-size: 16px; }
.hero.ok, .hero.leaf { background: var(--ok-deep); box-shadow: 0 22px 40px -22px rgba(15, 74, 44, .8); }
.hero.ok::after, .hero.leaf::after { background-image: var(--temple-leaf); }
.hero.peacock { background: var(--peacock-deep); box-shadow: 0 22px 40px -22px rgba(6, 54, 61, .8); }
.hero.peacock::after { background-image: var(--temple-peacock); }
.hero.compact .amt { font-size: 36px; }
.hero .btn.b-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.progress { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; margin: 10px 0; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--zari), var(--zari-bright)); border-radius: 99px; transform-origin: left; }
.enter .progress i, .enter .meter i, .enter .prog2 i { animation: grow var(--t3) var(--ease) both; animation-delay: 120ms; }
@keyframes grow { from { transform: scaleX(0); } }
.meter { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: 6px 0; }
.meter i { display: block; height: 100%; background: var(--peacock); border-radius: 99px; transform-origin: left; }
.meter i.warn { background: var(--zari); } .meter i.bad { background: var(--bad); } .meter i.x { background: var(--silk-2); }
.kolam-art { display: none; }
:root { --kolam-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23EFC970' stroke-width='2.4' stroke-linecap='round'%3E%3Cg fill='%23EFC970' stroke='none'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3Ccircle cx='60' cy='30' r='3'/%3E%3Ccircle cx='90' cy='30' r='3'/%3E%3Ccircle cx='30' cy='60' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='90' cy='60' r='3'/%3E%3Ccircle cx='30' cy='90' r='3'/%3E%3Ccircle cx='60' cy='90' r='3'/%3E%3Ccircle cx='90' cy='90' r='3'/%3E%3C/g%3E%3Cpath d='M60 60C44 48 46 16 60 16S76 48 60 60C72 44 104 46 104 60S72 76 60 60C76 72 74 104 60 104S44 72 60 60C48 76 16 74 16 60S48 44 60 60Z'/%3E%3Ccircle cx='30' cy='30' r='12'/%3E%3Ccircle cx='90' cy='30' r='12'/%3E%3Ccircle cx='30' cy='90' r='12'/%3E%3Ccircle cx='90' cy='90' r='12'/%3E%3Cpath d='M60 4 116 60 60 116 4 60Z' stroke-dasharray='2 7'/%3E%3C/svg%3E"); }

/* Dues card details */
.dlines { display: grid; gap: 2px; margin: 10px 0 0; background: rgba(0, 0, 0, .14); border-radius: 16px; padding: 6px 14px; }
.dline { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; padding: 7px 0; }
.dline + .dline { border-top: 1px solid rgba(255, 255, 255, .12); }
.dline .late { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: #3B0E1C; background: #FFC9A8; border-radius: 99px; padding: 0 8px; margin-left: 4px; text-transform: uppercase; letter-spacing: .03em; }
.dline small { font-size: 15px; color: #F4DDC8; }
.later { margin-top: 14px; padding: 12px 14px; border-radius: 16px; border: 1px dashed rgba(239, 201, 112, .55); display: grid; gap: 4px; }
.later .lbl { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zari-bright); }
.later .dline { padding: 4px 0; border: 0; }
.later + .btn, .hero .btn.b-ghost { margin-top: 12px; }
.hero .btn.b-pay { margin-top: 14px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.dues-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dues-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .12); color: #FFF6EA; border-radius: 99px; padding: 3px 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.dues-chip svg { width: 16px; height: 16px; }

.owe { --acc: var(--ok); box-shadow: inset 5px 0 0 var(--acc), var(--e2); }
.owe-bad { --acc: var(--bad); } .owe-due { --acc: var(--zari); } .owe-wait { --acc: var(--wait); } .owe-ok { --acc: var(--ok); }
/* Calm "all paid" card */
.paidcard { display: grid; gap: 12px; position: relative; overflow: hidden; }
.paidrow { display: flex; align-items: center; gap: 14px; }
.paidrow .grow { flex: 1; min-width: 0; }
.paidrow b { font-size: 18px; display: block; line-height: 1.3; }
.paidcard > .btn { justify-self: start; }
.paidcard.leafy { background: linear-gradient(135deg, #F3FAF5, #FFFFFF 60%); box-shadow: inset 0 0 0 1px var(--ok-line), var(--e2); }
.seal { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 0 0 4px var(--ok-soft), 0 0 0 5px var(--ok-line); }
.seal svg { width: 28px; height: 28px; stroke-width: 2.6; }
.seal.wait { background: var(--wait); box-shadow: 0 0 0 4px var(--wait-soft), 0 0 0 5px var(--wait-line); }

/* =============================== Committee collection =============================== */
.collect { width: 100%; text-align: left; display: grid; gap: 12px; border: 0; color: var(--ink); }
.collect .head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.collect .head b { font-family: var(--display); font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
.collect .head span { color: var(--muted); }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(32px, 1fr)); gap: 5px; }
.door { height: 52px; border-radius: 12px 12px 3px 3px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; position: relative; border: 2px solid transparent; line-height: 1; }
.door.ok { background: var(--ok); color: #fff; }
.door.wait { background: var(--wait-soft); color: var(--wait); border-color: var(--wait); border-style: dashed; }
.door.due { background: var(--due-soft); color: var(--due); border-color: var(--due-line); }
.door.bad { background: var(--bad-soft); color: var(--bad); border-color: var(--bad); }
.legend-row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legend { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.legend::before { content: ""; width: 14px; height: 14px; border-radius: 4px 4px 2px 2px; border: 2px solid currentColor; box-sizing: border-box; }
.legend.ok::before { color: var(--ok); background: var(--ok); } .legend.wait::before { color: var(--wait); background: var(--wait-soft); border-style: dashed; }
.legend.due::before { color: var(--due-line); background: var(--due-soft); } .legend.bad::before { color: var(--bad); background: var(--bad-soft); }
.prog2 { display: flex; height: 12px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.prog2 i { display: block; height: 100%; background: var(--ok); }
.prog2 i.w { background: repeating-linear-gradient(135deg, var(--wait) 0 4px, #6E95CF 4px 8px); }

/* =============================== Tiles & quick actions =============================== */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quick button { background: var(--surface); border: 0; border-radius: 18px; min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 2px; font-size: 15px; font-weight: 600; line-height: 1.15; text-align: center; box-shadow: var(--e2); }
.quick svg { width: 26px; height: 26px; color: var(--peacock); }
.attn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.attn button { background: var(--surface); border: 0; border-radius: 18px; padding: 14px 12px; text-align: left; min-height: 100px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; box-shadow: var(--e2); position: relative; overflow: hidden; }
.attn button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-2); }
.attn .n { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.attn .l { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.attn .wait .n { color: var(--wait); } .attn .wait::before { background: var(--wait); }
.attn .bad .n { color: var(--bad); } .attn .bad::before { background: var(--bad); }
.attn .warn .n { color: var(--due); } .attn .warn::before { background: var(--zari); }
.attn .ok .n { color: var(--ok); } .attn .ok::before { background: var(--ok); }
.checklist .row { min-height: 56px; }
.tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--line-2); color: #fff; background: var(--surface); }
.tick.done { background: var(--ok); border-color: var(--ok); }
.tick svg { width: 17px; height: 17px; stroke-width: 3; }

/* =============================== Buttons =============================== */
.btn { min-height: 54px; border-radius: var(--r-btn); border: 0; font-weight: 700; font-size: 17px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; line-height: 1.2; transition: transform var(--t1) var(--ease), background var(--t1), box-shadow var(--t1); letter-spacing: .005em; }
.btn:active:not(:disabled) { transform: scale(.975); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.full { width: 100%; }
.b-pay { background: var(--pay); color: var(--pay-ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.b-pay:active { background: var(--pay-press); }
.b-primary { background: var(--peacock); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.b-ghost { background: var(--surface); color: var(--peacock-deep); box-shadow: inset 0 0 0 2px var(--peacock-line); }
.b-danger { background: var(--surface); color: var(--bad); box-shadow: inset 0 0 0 2px var(--bad-line); }
.b-ok { background: var(--ok); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.b-wa { background: var(--wa); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.b-silk { background: var(--silk); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.b-small { min-height: 48px; font-size: 16px; padding: 0 14px; border-radius: 12px; gap: 6px; }
.nw { white-space: nowrap; }
.b-small svg { width: 20px; height: 20px; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btns.three { grid-template-columns: repeat(3, 1fr); }
.btns > .btn { min-width: 0; padding-inline: 10px; }

/* =============================== Forms =============================== */
.form { display: flex; flex-direction: column; gap: 18px; }
.form > *, .field > *, .stack > * { min-width: 0; }
.field { display: grid; gap: 8px; }
.field > label, .field > .flabel, .flabel { font-weight: 700; font-size: 17px; color: var(--ink); }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select { width: 100%; min-height: 56px; border: 2px solid var(--line); border-radius: var(--r-field); padding: 12px 14px; background: var(--surface); font-size: 18px; transition: border-color var(--t1), box-shadow var(--t1); color: var(--ink); }
.field textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5560' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 22px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8C847A; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--peacock); outline: none; box-shadow: 0 0 0 4px var(--peacock-soft); }
.field .hint { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; min-height: 48px; padding: 8px 16px; border-radius: 99px; border: 0; box-shadow: inset 0 0 0 2px var(--line); background: var(--surface); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; line-height: 1.2; transition: box-shadow var(--t1), background var(--t1); color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked), .chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--peacock); background: var(--peacock-soft); color: var(--peacock-deep); }
.chip:has(input:checked)::before, .chip[aria-pressed="true"]::before { content: ""; width: 16px; height: 16px; flex: none; margin-left: -4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip:has(input:focus-visible) { outline: 3px solid var(--zari); outline-offset: 2px; }
.chip:active { transform: scale(.97); }
.check { display: flex; gap: 12px; align-items: center; min-height: 52px; font-weight: 600; cursor: pointer; line-height: 1.35; }
.check input { width: 26px; height: 26px; accent-color: var(--peacock); flex: none; }
/* Switch style for on/off settings */
.switch { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 56px; font-weight: 600; cursor: pointer; line-height: 1.35; }
.switch input { appearance: none; -webkit-appearance: none; width: 54px; height: 32px; border-radius: 99px; background: var(--line-2); position: relative; flex: none; transition: background var(--t2); cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--t2) var(--spring); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(22px); }
.toggle { display: flex; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: 16px; }
.toggle button { flex: 1; min-height: 48px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; padding: 0 8px; color: var(--ink-2); transition: background var(--t1), box-shadow var(--t1); line-height: 1.2; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--peacock-deep); font-weight: 700; box-shadow: 0 1px 3px rgba(48, 32, 12, .18); }
.otp { letter-spacing: .5em; text-align: center; font-size: 30px !important; font-weight: 700; font-family: var(--display) !important; font-variant-numeric: tabular-nums; padding-left: calc(14px + .5em) !important; }

/* =============================== Tables =============================== */
.tablewrap { overflow-x: auto; border-radius: 16px; background: var(--surface); box-shadow: var(--e2); }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--bg-2); font-weight: 700; color: var(--ink-2); }
td.num, th.num { text-align: right; }
tr.err td { background: var(--bad-soft); color: var(--bad); }

/* =============================== Receipt =============================== */
.receipt { background: var(--surface); border-radius: 22px 22px 6px 6px; padding: 30px 20px 26px; position: relative; box-shadow: var(--e2); overflow: hidden; }
.receipt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--temple) repeat-x left bottom / 18px 14px, var(--silk); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: radial-gradient(circle at 8px 12px, var(--bg) 6px, transparent 6.5px) repeat-x 0 0 / 16px 12px; }
.receipt .rhead { text-align: center; padding: 8px 0 14px; margin-bottom: 14px; border-bottom: 1.5px dashed var(--line); }
.receipt .rhead b { font-family: var(--display); font-size: 23px; color: var(--silk); display: block; letter-spacing: -.01em; }
.receipt .rhead .meta { font-size: 15px; }
.receipt .ramt { text-align: center; padding: 6px 0 12px; }
.receipt .ramt .big { font-size: 44px; color: var(--ink); }
.rno { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.stamp { position: absolute; right: 18px; top: 92px; transform: rotate(-14deg); width: 86px; height: 86px; border-radius: 50%; border: 3px solid var(--ok); color: var(--ok); display: grid; place-items: center; text-align: center; font-weight: 800; letter-spacing: .12em; font-size: 15px; opacity: .88; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--ok); background: rgba(224, 240, 229, .55); }
.enter .stamp { animation: stampIn var(--t3) var(--spring) both; animation-delay: 260ms; }
.stamp.void { border-color: var(--bad); color: var(--bad); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--bad); background: rgba(251, 229, 225, .6); }
@keyframes stampIn { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } to { opacity: .88; transform: rotate(-14deg) scale(1); } }
.qr { display: grid; place-items: center; background: var(--surface); border-radius: var(--r-card); padding: 20px 16px 18px; gap: 8px; text-align: center; box-shadow: var(--e2); position: relative; }
.qr canvas { width: 184px; height: 184px; image-rendering: pixelated; border-radius: 6px; }
.qrframe { padding: 12px; border-radius: 20px; background: #fff; position: relative; box-shadow: inset 0 0 0 2px var(--zari-line); }
.qrframe::before, .qrframe::after { content: ""; position: absolute; width: 26px; height: 26px; border: 4px solid var(--silk); }
.qrframe::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.qrframe::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.upi-id { font-size: 18px; font-weight: 700; color: var(--peacock-deep); font-variant-numeric: tabular-nums; }
.upiapps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.upiapps span { font-size: 15px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border-radius: 99px; padding: 2px 10px; }

/* WhatsApp preview */
.wa-bubble { background: #DCF5C6; border-radius: 14px 14px 14px 3px; padding: 10px 12px; white-space: pre-wrap; font-size: 16px; color: #17301F; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-wrap { background: #EDE5DA; border-radius: 16px; padding: 12px; display: grid; gap: 8px; }

/* Timeline */
.timeline { display: grid; gap: 0; background: var(--surface); border-radius: var(--r-card); padding: 18px 16px 6px; box-shadow: var(--e2); }
.tl { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.tl::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl i { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 5px solid var(--peacock); margin-top: 3px; box-sizing: border-box; }
.tl:last-child i { background: var(--peacock); }
.tl.internal i { border-color: var(--zari); }
.stars { color: var(--zari); letter-spacing: 1px; white-space: nowrap; font-size: 18px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.bar-row .meter { grid-column: 1 / -1; margin: 0 0 10px; height: 8px; }

/* Step tracker (service booking, payment) */
.tracker { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 0; position: relative; margin: 2px 0; }
.tracker .st { display: grid; justify-items: center; text-align: center; gap: 6px; position: relative; font-size: 15px; font-weight: 600; color: var(--muted); line-height: 1.2; padding: 0 2px; }
.tracker .st::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.tracker .st:first-child::before { display: none; }
.tracker .st.on::before { background: var(--ok); }
.tracker .st.now::before { background: linear-gradient(90deg, var(--ok), var(--wait)); }
.tracker .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-2); display: grid; place-items: center; position: relative; z-index: 1; color: #fff; }
.tracker .dot svg { width: 18px; height: 18px; stroke-width: 3; }
.tracker .on .dot { background: var(--ok); border-color: var(--ok); }
.tracker .now .dot { border-color: var(--wait); background: var(--wait-soft); }
.tracker .now .dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--wait); animation: pulse 1.6s ease-in-out infinite; }
.tracker .on, .tracker .now { color: var(--ink); }
@keyframes pulse { 50% { transform: scale(.6); opacity: .55; } }
.steps { display: flex; gap: 5px; margin: 4px 0 12px; }
.steps i { flex: 1; height: 7px; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--peacock); }

/* =============================== Sheet and toast =============================== */
.sheet-bg { position: absolute; inset: 0; z-index: 30; background: rgba(28, 14, 8, .5); display: flex; flex-direction: column; justify-content: flex-end; }
.sheet { background: var(--bg); border-radius: 28px 28px 0 0; max-height: 88%; overflow-y: auto; padding: 10px 16px calc(28px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 12px; }
.sheet-in { animation: fadeIn var(--t2) var(--ease) both; }
.sheet-in .sheet { animation: sheetUp var(--t2) var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(40%); opacity: .4; } }
.sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.sheet-h h2 { margin: 0; font-family: var(--display); font-size: 24px; color: var(--ink); letter-spacing: -.015em; }
.toast { position: absolute; left: 14px; right: 14px; bottom: 96px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; font-weight: 600; z-index: 40; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .45); display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.toast::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.toast.new { animation: toastIn var(--t3) var(--spring) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* =============================== Sign-in =============================== */
.auth { padding-top: 12px; padding-bottom: 8px; }
.auth:has(> .auth-hero) { padding-top: 0; }
.auth .title { margin: 4px 0 0; font-size: 32px; }
.auth-hero { position: relative; margin: 0 -16px; padding: 14px 20px 34px; background: var(--silk); color: #FFF6EA; overflow: hidden; border-radius: 0 0 32px 32px; isolation: isolate; }
.auth-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--temple) repeat-x left bottom / 18px 14px; }
.auth-hero .kolam { position: absolute; right: -34px; top: 74px; width: 190px; height: 190px; opacity: .32; z-index: -1; }
.auth-hero .brand { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.auth-hero .brand b { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; color: #fff; }
.auth-hero h1 { font-family: var(--display); font-size: 31px; line-height: 1.12; margin: 18px 0 6px; color: #fff; max-width: 15ch; letter-spacing: -.02em; text-wrap: balance; }
.auth-hero p { margin: 0; color: #F4DDC8; font-size: 17px; max-width: 30ch; }
.auth-hero .toggle { background: rgba(0, 0, 0, .22); flex: none; }
.auth-hero .toggle button { color: #F4DDC8; min-height: 44px; flex: none; padding: 0 12px; }
.auth-hero .toggle button[aria-pressed="true"] { background: var(--zari); color: #2A1800; }
.logo { width: 56px; height: 60px; border-radius: 16px 16px 8px 8px; background: var(--silk); color: var(--zari-bright); display: grid; place-items: center; position: relative; overflow: hidden; flex: none; box-shadow: var(--e2); }
.logo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--temple) repeat-x left bottom / 11px 9px; }
.logo svg { width: 30px; height: 30px; margin-top: -8px; }
.auth-hero .logo { box-shadow: inset 0 0 0 2px rgba(239, 201, 112, .5); background: var(--silk-deep); }
.phonein { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: var(--r-field); background: var(--surface); overflow: hidden; transition: border-color var(--t1), box-shadow var(--t1); }
.phonein:focus-within { border-color: var(--peacock); box-shadow: 0 0 0 4px var(--peacock-soft); }
.phonein .cc { display: grid; place-items: center; padding: 0 12px 0 16px; font-weight: 700; font-size: 19px; color: var(--ink-2); border-right: 2px solid var(--line); background: var(--bg); }
.phonein input { border: 0 !important; box-shadow: none !important; font-size: 22px !important; letter-spacing: .06em; font-weight: 600; min-height: 60px !important; }
.found { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.found input { width: 28px; height: 28px; accent-color: var(--peacock); flex: none; margin-top: 10px; }

/* Success moment: kolam drawn line by line, then a seal */
.success { text-align: center; padding-top: 18px; display: grid; justify-items: center; gap: 10px; }
.success .art { width: 188px; height: 188px; position: relative; display: grid; place-items: center; }
.success .art svg.kolam { position: absolute; inset: 0; width: 100%; height: 100%; }
.enter .kolam path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.kolam .d2 { animation-delay: .35s; } .kolam .d3 { animation-delay: .7s; }
.enter .kolam .dots circle { animation: dotIn .4s var(--spring) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dotIn { from { transform: scale(0); opacity: 0; } }
.kolam .dots circle { transform-box: fill-box; transform-origin: center; }
.success .art .seal { position: relative; z-index: 1; width: 64px; height: 64px; }
.enter .success .art .seal { animation: sealIn .5s var(--spring) both; animation-delay: 1.1s; }
.success .art .seal svg { width: 32px; height: 32px; }
@keyframes sealIn { from { transform: scale(0); opacity: 0; } }
.success .title { margin: 6px 0 0; }
.success .lead-text { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 32ch; }

/* =============================== Narrow screens =============================== */
@media (max-width: 1100px) {
  .board { grid-template-columns: 410px 300px; }
  .side.left { grid-column: 1 / -1; position: static; max-height: none; order: 3; }
}
@media (max-width: 760px) {
  body { padding: 0; background: var(--bg); }
  .board { display: flex; flex-direction: column; }
  .phone { order: 1; }
  .side.left { order: 2; }
  .phone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; background: var(--bg); }
  .screen { border-radius: 0; }
  .proto .demo-btn { display: inline-block; }
  .side.right { position: fixed; inset: 0; z-index: 50; max-height: none; background: rgba(20, 14, 8, .6); padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); display: none; }
  .side.right.open { display: flex; }
  .side.right .closer { display: block !important; }
  .side.left { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
}

/* =============================== Flats =============================== */
/* Committee flat board (kept for other screens) */
.flatboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ft { min-height: 70px; border-radius: 14px 14px 6px 6px; border: 2px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 6px 2px; }
.ft .fd { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.1; }
.ft .fa { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ft.ok { border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok); }
.ft.wait { border-color: var(--wait-line); background: var(--wait-soft); color: var(--wait); }
.ft.due { border-color: var(--due-line); background: var(--due-soft); color: var(--due); }
.ft.bad { border-color: var(--bad-line); background: var(--bad-soft); color: var(--bad); }
/* The building, floor by floor */
.bldg { background: var(--surface); border-radius: var(--r-card) var(--r-card) 10px 10px; box-shadow: var(--e2); padding: 0 0 6px; position: relative; overflow: hidden; }
.bldg .roof { height: 18px; background: var(--temple) repeat-x left bottom / 18px 14px, var(--silk); }
.floor { display: grid; grid-template-columns: 30px 1fr; align-items: stretch; border-bottom: 1.5px dashed var(--line); }
.floor:last-child { border-bottom: 0; }
.floor .fl { display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); background: var(--bg); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .04em; }
.floor .flats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; padding: 10px 8px; }
.unitbox { border-radius: 16px; background: var(--bg); padding: 10px 8px 10px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.unitbox.mine { background: var(--zari-soft); box-shadow: inset 0 0 0 2px var(--zari-line); }
.plate { display: inline-flex; align-items: center; justify-content: center; align-self: start; justify-self: start; min-width: 44px; height: 30px; padding: 0 9px; border-radius: 8px; background: linear-gradient(160deg, #E9C878, #C8923A); color: #3A2400; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .03em; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(59, 36, 0, .35); }
.person { display: block; width: 100%; text-align: left; background: var(--surface); border: 0; border-radius: 12px; padding: 8px 10px 8px 12px; min-height: 52px; box-shadow: var(--e1), inset 4px 0 0 var(--peacock); color: var(--ink); }
.person.t { box-shadow: var(--e1), inset 4px 0 0 var(--wait); }
.person:active { background: #FAF7F1; }
.person .av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; background: var(--peacock); }
.person .av.t { background: var(--wait); }
.person .nm { display: block; font-weight: 700; font-size: 16px; line-height: 1.25; overflow-wrap: break-word; }
.person .rl { display: block; font-size: 15px; color: var(--muted); line-height: 1.25; }
.unitbox .vac { color: var(--muted); font-size: 15px; padding: 6px 2px; }
/* Profile */
.prof { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 6px 0 4px; }
.prof .avatar { width: 92px; height: 92px; font-size: 38px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--zari-line); }
.prof h2 { margin: 6px 0 0; font-family: var(--display); font-size: 28px; letter-spacing: -.02em; line-height: 1.1; }

/* =============================== Services =============================== */
.svcgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svctile { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: left; background: var(--surface); border: 0; border-radius: 20px; padding: 14px 14px 14px; min-height: 120px; box-shadow: var(--e2); position: relative; overflow: hidden; align-content: start; color: var(--ink); transition: transform var(--t1) var(--ease); }
.svctile:active { transform: scale(.97); }
.svctile .nm { font-weight: 700; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.svctile .pr { font-size: 15px; color: var(--muted); line-height: 1.3; margin-top: -6px; }
.svctile::after { content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%; background: var(--g-soft, var(--peacock-soft)); opacity: .55; }
.svcicon { width: 48px; height: 48px; border-radius: 15px; background: var(--g-soft, var(--peacock-soft)); color: var(--g-ink, var(--peacock-deep)); display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.svcicon svg { width: 26px; height: 26px; }
.g-repairs { --g-soft: #DCEAF0; --g-ink: #134A63; }
.g-cleaning { --g-soft: #DFEFE4; --g-ink: #18573A; }
.g-care { --g-soft: #F7E8CB; --g-ink: #6A4708; }
.g-head { display: flex; align-items: center; gap: 10px; margin: 16px 2px 2px; }
.g-head b { font-family: var(--display); font-size: var(--fs-h3); letter-spacing: -.01em; }
.g-head i { flex: 1; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.svc-hero { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--r-card); padding: 16px; box-shadow: var(--e2); }
.svc-hero .svcicon { width: 60px; height: 60px; border-radius: 18px; }
.svc-hero .svcicon svg { width: 32px; height: 32px; }
.svc-hero b { display: block; font-size: 18px; }
.qstep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; background: var(--surface); border-radius: var(--r-card); padding: 16px; box-shadow: var(--e2); }
.qstep > .qh { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.qstep > .qh .num { width: 30px; height: 30px; border-radius: 50%; background: var(--silk); color: var(--zari-bright); display: grid; place-items: center; font-size: 16px; flex: none; }
.qstep .field > label, .qstep .field > .flabel { font-size: 16px; color: var(--ink-2); }
.daypick { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.daypick::-webkit-scrollbar { display: none; }
.day { position: relative; display: grid; justify-items: center; gap: 0; padding: 8px 4px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; min-height: 84px; align-content: center; transition: background var(--t1), box-shadow var(--t1); }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day .dw { font-size: 15px; font-weight: 600; color: var(--muted); }
.day .dn { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.05; }
.day .dm { font-size: 15px; color: var(--muted); }
.day:has(input:checked) { background: var(--peacock); box-shadow: none; color: #fff; }
.day:has(input:checked) .dw, .day:has(input:checked) .dm { color: #D3EBEB; }
.day:has(input:focus-visible) { outline: 3px solid var(--zari); outline-offset: 2px; }
.slots { display: grid; gap: 8px; }
.slotc { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; min-height: 58px; font-weight: 600; }
.slotc input { position: absolute; opacity: 0; pointer-events: none; }
.slotc svg { width: 24px; height: 24px; color: var(--zari-ink); flex: none; }
.slotc small { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.slotc:has(input:checked) { background: var(--peacock-soft); box-shadow: inset 0 0 0 2px var(--peacock); color: var(--peacock-deep); }
.slotc:has(input:checked) svg { color: var(--peacock); }
.slotc:has(input:focus-visible) { outline: 3px solid var(--zari); outline-offset: 2px; }
.bigchoice .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bigchoice .chip { justify-content: center; border-radius: 16px; min-height: 56px; text-align: center; }
.provider { display: flex; gap: 14px; align-items: center; }
.provider .pav { width: 56px; height: 56px; border-radius: 18px; background: var(--peacock); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 700; flex: none; position: relative; }
.provider .pav::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 3px var(--surface); }
.when-big { display: flex; gap: 12px; align-items: center; }
.when-big .cal { width: 60px; flex: none; border-radius: 14px; overflow: hidden; text-align: center; box-shadow: var(--e1), inset 0 0 0 1px var(--line); background: var(--surface); }
.when-big .cal span { display: block; background: var(--silk); color: #fff; font-size: 15px; font-weight: 700; padding: 2px 0; text-transform: uppercase; letter-spacing: .06em; }
.when-big .cal b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.25; padding: 2px 0 4px; }
.desk-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.waitbadge { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--due-soft); color: var(--due); white-space: nowrap; }
.waitbadge.hot { background: var(--bad-soft); color: var(--bad); }
.waitbadge svg { width: 15px; height: 15px; }

/* Charts */
.chart svg { display: block; overflow: visible; }
.chart g:focus-visible { outline: none; }

/* Inline icon helpers */
.ic-inline { display: inline-flex; align-items: center; gap: 6px; }
.ic-inline svg { width: 18px; height: 18px; flex: none; }
.scrollx { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.scrollx::-webkit-scrollbar { display: none; }
.scrollx .chip { flex: none; }
.sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sum .big { color: var(--ink); }
.sum > :first-child { flex: 1; min-width: 0; }
.sum > :last-child { flex: none; }
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: var(--e2); display: grid; gap: 2px; }
.stat .k { color: var(--muted); font-size: 15px; font-weight: 600; }
.stat .v { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* =============================== Motion preferences =============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .kolam path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* =====================================================================
   CALM LAYER (founder feedback 21-10-2026): restrained, professional.
   One accent colour (blue) for every action. White cards on a neutral
   background. No patterns, borders or ornaments. Status is plain coloured
   text, never a filled pill or tile. This block overrides everything above.
   ===================================================================== */
:root {
  --bg: #F5F6F8; --bg-2: #ECEEF2; --surface: #FFFFFF; --line: #E2E5EA; --line-2: #CCD1D9;
  --ink: #17202A; --ink-2: #3A4552; --muted: #5A6573;
  --peacock: #1D5FB8; --peacock-deep: #154A92; --peacock-soft: #E8F0FB; --peacock-line: #BBD0EE;
  --silk: #17202A; --silk-2: #3A4552; --silk-deep: #17202A;
  --zari: #1D5FB8; --zari-bright: #1D5FB8; --zari-soft: #E8F0FB; --zari-ink: #154A92; --zari-line: #BBD0EE;
  --pay: #1D5FB8; --pay-ink: #FFFFFF; --pay-press: #154A92;
  --temple: none; --temple-leaf: none; --temple-peacock: none; --pulli: none; --kolam-art: none;
  --e2: 0 1px 2px rgba(23, 32, 42, .06); --e3: 0 1px 2px rgba(23, 32, 42, .06);
}
:focus-visible { outline-color: #1D5FB8; }
/* Banner and header: plain */
.proto { background: #17202A; color: #FFFFFF; }
.proto::before { display: none; }
.top::before { display: none; }
.crest { background: var(--peacock); color: #fff; border-radius: 12px; }
.crest::after, .logo::after { display: none; }
.namebtn svg { background: transparent; color: var(--muted); }
/* Hero cards become plain white cards */
.hero, .hero.ok, .hero.leaf, .hero.peacock { background: var(--surface); color: var(--ink); box-shadow: none; border: 1px solid var(--line); padding: 18px; }
.hero::before, .hero::after { display: none; }
.hero .lbl, .hero .sub, .dline small { color: var(--muted); }
.hero .amt { color: var(--ink); }
.hero .amt small { color: var(--muted); }
.hero .warn { background: var(--bg-2); color: var(--ink-2); }
.dlines { background: var(--bg); }
.dline + .dline { border-top: 1px solid var(--line); }
.dline .late { background: transparent; color: var(--bad); padding: 0; text-transform: none; }
.later { border: 1px solid var(--line); background: var(--bg); }
.later .lbl { color: var(--muted); }
.hero .btn.b-ghost { background: var(--surface); color: var(--peacock); box-shadow: inset 0 0 0 1.5px var(--peacock); }
.hero .btn.b-pay { box-shadow: none; }
.dues-chip { background: var(--bg-2); color: var(--ink-2); }
.progress { background: var(--bg-2); }
.progress i, .meter i.warn, .meter i.x { background: var(--peacock); }
/* One blue for every main action */
.b-pay, .b-silk { background: var(--peacock); color: #fff; box-shadow: none; }
.b-pay:active { background: var(--peacock-deep); }
/* Status pills become plain coloured text */
.pill { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; font-weight: 600; }
.pill::before { display: none !important; }
/* Receipt, sign-in, steps: no ornaments */
.receipt::before { display: none; }
.receipt .rhead b { color: var(--ink); }
.auth-hero { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.auth-hero::after, .auth-hero .kolam { display: none; }
.auth-hero .toggle button[aria-pressed="true"] { background: var(--peacock); color: #fff; }
.logo, .auth-hero .logo { background: var(--peacock); color: #fff; box-shadow: none; }
.qstep > .qh .num, .when-big .cal span { background: var(--peacock); color: #fff; }
.bldg .roof { background: var(--line-2); }
.unitbox.mine { background: var(--peacock-soft); box-shadow: inset 0 0 0 2px var(--peacock-line); }
.qrframe { box-shadow: inset 0 0 0 1px var(--line); }
.qrframe::before, .qrframe::after { border-color: var(--ink); }
.stars { color: #C98A00; }
.row.pinned { background: var(--surface); }
/* Success moments: a simple tick, no kolam drawing */
.success .art svg.kolam { display: none; }
/* Demo panel (outside the app): neutral */
.panel::before, .intro::after { display: none; }
.panel .lab, .tier.now h3 { color: #9FB9E0; }
.pbtn[aria-pressed="true"] { background: #1D5FB8; border-color: #1D5FB8; color: #fff; }
.intro h1 { color: var(--ink); }
/* Every action button is the same blue (WhatsApp buttons keep only the icon). Flat numbers are plain labels. */
.b-ok, .b-wa { background: var(--peacock); color: #fff; box-shadow: none; }
.b-ok:active, .b-wa:active { background: var(--peacock-deep); }
.plate { background: var(--bg-2) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; box-shadow: none !important; text-shadow: none !important; }
.plate::before, .plate::after { display: none !important; }
