/* IBM Plex Sans, self-hosted (SIL OFL) */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Archivo (variable weight + width), display headings on the landing page. SIL OFL, see fonts/OFL-Archivo.txt */
@font-face{font-family:'Archivo';font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(fonts/archivo-latin-standard-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* VittSphere Accounting
   Ledger vernacular: navy ink on ruled paper, red bahi-khata binding,
   red money-column rules. One typeface, tabular figures everywhere. */

:root {
  --paper:   #F5F6F8;
  --sheet:   #FFFFFF;
  --ink:     #18213D;
  --ink-2:   #4A5373;
  --ink-3:   #7B839E;
  --rule:    #DCE2EE;
  --rule-2:  #C3CCDF;
  --bahi:    #8C1C2E;
  --bahi-dk: #6E1424;
  --bahi-lt: #F6E7EA;
  --ok:      #1D7349;
  --ok-lt:   #E3F2EA;
  --warn:    #A35F00;
  --warn-lt: #FBF0DC;
  --err:     #B3261E;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 4px;
  --r-md: 8px;
  --side: 248px;

  --navbg:   var(--ink);       /* sidebar */
  --solid:   var(--ink);       /* dark bars: toasts, bulk bar, chips that are on */
  --navon:   #FFFFFF;          /* active menu item */
  --navon-ink: var(--ink);
  --topbar:  rgba(255,255,255,.94);
  --hover:   #FAFBFD;
  --tint:    #F7F8FB;
  --shadow:  rgba(24,33,61,.12);
  color-scheme: light;
}
[data-theme="dark"] {
  --paper:   #0F1423;
  --sheet:   #171D30;
  --ink:     #E7EAF3;
  --ink-2:   #B9C0D6;
  --ink-3:   #8E96B0;
  --rule:    #283049;
  --rule-2:  #39425F;
  --bahi:    #C23A50;
  --bahi-dk: #A42D41;
  --bahi-lt: #3A1D26;
  --ok:      #3DAA74;
  --ok-lt:   #14301F;
  --warn:    #E0A24A;
  --warn-lt: #352810;
  --err:     #F2837A;
  --navbg:   #0A0E1A;
  --solid:   #2A3352;
  --navon:   #2A3352;
  --navon-ink: #FFFFFF;
  --topbar:  rgba(23,29,48,.94);
  --hover:   #1D2440;
  --tint:    #1C2338;
  --shadow:  rgba(0,0,0,.4);
  color-scheme: dark;
}
[data-theme="dark"] a { color: #F08C9C; }
[data-theme="dark"] .nav a, [data-theme="dark"] .side a { color: #C9CFE3; }
[data-theme="dark"] .hd-pop a, [data-theme="dark"] .botbar a, [data-theme="dark"] .sup-b { color: var(--ink); }
[data-theme="dark"] img.logo, [data-theme="dark"] .fs-frame { background: #fff; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p  { margin: 0 0 12px; }
a  { color: var(--bahi); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.boot { padding: 40px; color: var(--ink-3); }

:focus-visible { outline: 2px solid var(--bahi); outline-offset: 2px; }

/* ---------- buttons & inputs ---------- */
button, .btn {
  font: inherit; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--rule-2); background: var(--sheet); color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
button:hover { border-color: var(--ink-3); }
button:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--bahi); border-color: var(--bahi); color: #fff; }
.btn-primary:hover { background: var(--bahi-dk); border-color: var(--bahi-dk); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-2); padding: 6px 10px; }
.btn-ghost:hover { background: var(--rule); border-color: transparent; }
.btn-sm { padding: 5px 10px; font-size: 13px; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
input, select, textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  width: 100%; padding: 9px 11px;
  border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--sheet);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--shadow); }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--bahi); padding: 0; }
.field { margin-bottom: 14px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: 1 1 160px; }
.amt-input { text-align: right; }

/* ---------- auth screen ---------- */
.auth {
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
}
.auth-cover {
  position: relative; background: var(--bahi); color: #fff;
  padding: 56px 56px 48px 88px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
/* stitched binding */
.auth-cover::before {
  content: ""; position: absolute; left: 40px; top: 0; bottom: 0;
  border-left: 2px dashed rgba(255,255,255,.45);
}
.auth-cover .brand { font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.auth-cover .tag {
  font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -0.03em;
  max-width: 9ch;
}
.auth-cover .sub { max-width: 40ch; font-size: 16px; color: rgba(255,255,255,.82); }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: var(--sheet); }
.auth-box { width: 100%; max-width: 360px; }
.auth-box h1 { margin-bottom: 6px; }
.auth-box .switch { margin-top: 16px; font-size: 14px; }
.auth-box button[type=submit] { width: 100%; justify-content: center; padding: 11px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.shell.mini { --side: 64px; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--navbg); color: #DDE2F0;
  border-left: 10px solid var(--bahi);
  display: flex; flex-direction: column; padding: 16px 10px;
}
.brandrow { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 2px 14px 6px; min-width: 0; }
.side .brand { color: #fff; font-weight: 800; font-size: 17px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 1.12; }
.side .brand span { display: block; font-weight: 500; font-size: 12px; letter-spacing: .06em; color: #9AA3C0; }
.sidetog { background: transparent; border: 0; color: #9AA3C0; padding: 2px 6px; font-size: 16px; flex-shrink: 0; }
.sidetog:hover { color: #fff; }
.org-pick { margin: 0 4px 14px; }
.org-pick select { background: #222C4E; color: #fff; border-color: #36406A; font-size: 14px; }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav .ico, .botbar .ico, .topbar .ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav .nv {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: var(--r-sm); background: transparent;
  color: #C9CFE3; text-decoration: none; font: inherit; font-weight: 500; font-size: 14.5px; text-align: left; cursor: pointer;
}
.nav .nv .lb { flex: 1; white-space: nowrap; }
.nav .nv:hover { background: #222C4E; color: #fff; }
.nav a.nv.active { background: var(--navon); color: var(--navon-ink); font-weight: 700; }
.nav .nsec.has > .nhead { color: #fff; font-weight: 700; }
.nav .car { transition: transform .15s; color: #7B839E; }
.nav .nsec.open .car { transform: rotate(90deg); }
.nav .nsub { display: none; flex-direction: column; gap: 1px; margin: 2px 0 6px 19px; padding-left: 9px; border-left: 1px solid #36406A; }
.nav .nsec.open .nsub { display: flex; }
.nav .nsub a { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: var(--r-sm); color: #B4BBD3; text-decoration: none; font-size: 14px; }
.nav .nsub a:hover { background: #222C4E; color: #fff; }
.nav .nsub a.active { background: var(--navon); color: var(--navon-ink); font-weight: 700; }
.nav .count { font-size: 12px; font-weight: 700; background: var(--warn); color: #fff; border-radius: 10px; padding: 0 7px; }
.shell.mini .side { padding: 16px 6px; }
.shell.mini .brand, .shell.mini .org-pick, .shell.mini .nav .lb, .shell.mini .nav .car, .shell.mini .nav .nsub { display: none; }
.shell.mini .brandrow { justify-content: center; padding: 0 0 14px; }
.shell.mini .nav .nv { justify-content: center; padding: 10px 0; position: relative; }
.shell.mini .nav .count { position: absolute; top: 2px; right: 4px; padding: 0 5px; font-size: 10.5px; }

.mainwrap { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; padding: 10px 36px; background: var(--topbar); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.topbar .crumb { font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar .crumb i { font-style: normal; margin: 0 6px; }
.topbar .crumb b { color: var(--ink); }
.tb-search { flex: 1; max-width: 440px; margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ink-3); background: var(--paper, #F5F6FA); border: 1px solid var(--rule-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: text; }
.tb-search span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-search kbd { font: inherit; font-size: 11.5px; border: 1px solid var(--rule-2); border-radius: 4px; padding: 0 5px; background: var(--sheet); }
.tb-search:hover { border-color: var(--ink-3); color: var(--ink-2); }
.tb-new { white-space: nowrap; }
.tb-user { width: 34px; height: 34px; border-radius: 50%; padding: 0; justify-content: center; font-weight: 700; background: var(--solid); color: #fff; border: 0; }
.tb-who { padding: 8px 10px 10px; font-size: 13px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; word-break: break-all; }
.hd-pop a { display: block; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink); text-decoration: none; }
.hd-pop a:hover { background: var(--bahi-lt); }
.hd-pop hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; }
.tb-menu { display: none; border: 0; background: transparent; font-size: 20px; padding: 2px 6px; }
.botbar, .side-scrim { display: none; }

dialog.palm { width: min(620px, 94vw); align-self: start; margin-top: 10vh; }
.pal { margin-top: 10px; max-height: 52vh; overflow-y: auto; }
.pal .pr { display: grid; grid-template-columns: 64px auto 1fr; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.pal .pr .muted { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal .pr.on, .pal .pr:hover { background: var(--bahi-lt); }
.pal .pk { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.pal .pk.ask, .pal .pk.bill { color: var(--bahi); }

.main { min-width: 0; padding: 28px 36px 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.sheet > h2 { margin-bottom: 12px; }

/* ---------- today: the approval list is the hero ---------- */
.today-sum { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 22px; font-size: 14px; color: var(--ink-2); }
.today-sum strong { display: block; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.today-sum .warn strong { color: var(--warn); }
.task {
  display: grid; grid-template-columns: 92px 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--rule);
}
.task:last-child { border-bottom: 0; }
.task .d { color: var(--ink-3); font-size: 13px; }
.task .n { min-width: 0; }
.task .n .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task .n .why { font-size: 12.5px; color: var(--ink-3); }
.task .a { font-weight: 700; text-align: right; min-width: 120px; }
.task .go { display: flex; gap: 6px; align-items: center; }
.task .go select { width: 200px; padding: 6px 8px; font-size: 14px; }
.empty { padding: 28px 8px; color: var(--ink-2); }
.empty h3 { margin-bottom: 6px; color: var(--ink); }

/* ---------- ledger tables ---------- */
.tbl-wrap { overflow-x: auto; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th {
  text-align: left; font-weight: 700; font-size: 12.5px; color: var(--ink-2);
  padding: 8px 10px; border-bottom: 2px solid var(--ink);
}
.ledger td { padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger tr:hover td { background: var(--hover); }
/* red money-column rules, as in a ruled ledger */
.ledger .money { text-align: right; white-space: nowrap; border-left: 1px solid rgba(140,28,46,.35); }
.ledger th.money { border-left: 1px solid rgba(140,28,46,.35); }
.ledger tfoot td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 3px double var(--ink); background: var(--sheet); }
.ledger .chk { width: 32px; }
.ledger .narr { max-width: 320px; }
.ledger .narr div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr { color: var(--ink); }
.cr { color: var(--ok); }
.out { color: var(--bahi); }
.in  { color: var(--ok); }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; background: var(--rule); color: var(--ink-2); }
.pill.posted { background: var(--ok-lt); color: var(--ok); }
.pill.suspense, .pill.draft, .pill.pending_approval { background: var(--warn-lt); color: var(--warn); }
.pill.reversed { background: var(--bahi-lt); color: var(--bahi); }

.bulkbar {
  position: sticky; bottom: 16px; z-index: 5;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--solid); color: #fff; padding: 10px 14px; border-radius: var(--r-md); margin-top: 12px;
}
.bulkbar select { width: 240px; padding: 6px 8px; }
.bulkbar label { color: #fff; display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: 500; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule-2); margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--ink-2); padding: 8px 12px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--bahi); }

.lines .ln { display: grid; grid-template-columns: 1fr 140px 140px 32px; gap: 8px; margin-bottom: 8px; }
.items .ln { display: grid; grid-template-columns: minmax(160px,2fr) 70px 100px minmax(130px,1.2fr) 78px 120px 32px; gap: 8px; margin-bottom: 8px; }
.balance-note { font-weight: 700; padding: 10px 0; }
.balance-note.bad { color: var(--err); }
.balance-note.good { color: var(--ok); }

.err { color: var(--err); font-size: 14px; margin: 8px 0; }
.notice { background: var(--warn-lt); color: #5C3A00; border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }

/* ---------- toast & modal ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--solid); color: #fff; padding: 10px 16px; border-radius: var(--r-md);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 50;
  max-width: min(560px, 92vw);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--err); }
dialog { border: 0; border-radius: var(--r-md); padding: 0; width: min(760px, 94vw); color: var(--ink); }
dialog::backdrop { background: rgba(24,33,61,.45); }
dialog.wide { width: min(1060px, 96vw); }
#modal-body { padding: 22px; max-height: 86vh; overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

.tb-theme { width: 34px; height: 34px; border-radius: 50%; padding: 0; justify-content: center; color: var(--ink-2); background: var(--sheet); }
.tb-theme .ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hd-pop button.th-on { font-weight: 700; background: var(--bahi-lt); }
.tb-help { width: 34px; height: 34px; border-radius: 50%; padding: 0; justify-content: center; font-weight: 800; font-size: 16px; color: var(--ink-2); background: var(--sheet); }
.side-help { margin-top: auto; padding: 14px 4px 0; }
.side-help button { width: 100%; background: transparent; color: #B4BBD3; border: 1px dashed #36406A; font-size: 13px; padding: 9px 10px; text-align: left; white-space: normal; }
.side-help button:hover { color: #fff; border-color: #9AA3C0; }
.shell.mini .side-help { display: none; }
.pal-in { display: flex; gap: 6px; align-items: center; }
.pal-in input { flex: 1; }
.pal .pk.help { color: #1F7A4D; }
.pal .pk.screen { color: var(--ink-3); }
.ai-reply { white-space: pre-line; }
ol.howto { margin: 0 0 16px; padding-left: 22px; }
ol.howto li { margin-bottom: 8px; line-height: 1.5; }
.sup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0; }
.sup-b { display: block; border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.sup-b b { display: block; font-size: 15px; }
.sup-b span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; word-break: break-all; }
.sup-b:hover { border-color: var(--ink-3); background: var(--paper); }
.sup-b:first-child { border-color: #1F7A4D; }
.sup-b:first-child b { color: #1F7A4D; }

.idtag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule-2); border-radius: 4px; padding: 0 6px; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.idbig { font-size: 17px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.idbox { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 6px; background: var(--paper); }
.idbox > div { display: flex; flex-direction: column; }
.tb-ids { display: flex; gap: 14px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.tb-ids b { color: var(--ink); }
.pal .pk.id { color: var(--bahi); }

.ca-note { border: 1px solid var(--warn); background: var(--warn-lt); color: var(--ink); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.ca-req { border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 10px; }
.chks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.chks .chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; font-size: 14px; color: var(--ink); margin: 0; }
tr.on td { background: var(--bahi-lt); }

/* ---------- import & health ---------- */
.impsrc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.impcard { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; font-weight: 400; color: var(--ink); margin: 0; }
.impcard input { width: auto; margin: 0 0 4px; }
.impcard b { font-size: 15px; }
.impcard span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.impcard:has(input:checked) { border-color: var(--bahi); background: var(--bahi-lt); }
.imp-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0; }
.imp-sum > div { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 10px 12px; }
.imp-sum b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.imp-sum span { font-size: 12.5px; color: var(--ink-3); }
.imp-led { max-height: 420px; overflow-y: auto; }
.imp-led select { padding: 5px 8px; font-size: 14px; }
.imp-led tr.unsure td { background: var(--warn-lt); }
.imp-bad { margin: 8px 0; }
.imp-bar { height: 8px; background: var(--rule); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.imp-bar i { display: block; height: 100%; background: var(--bahi); transition: width .3s; }
.imp-done { border: 1px solid var(--ok); background: var(--ok-lt); border-radius: var(--r-md); padding: 12px 16px; margin-top: 12px; }
.hscore { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-left: 8px; vertical-align: 2px; }
.hscore.ok { background: var(--ok-lt); color: var(--ok); } .hscore.mid { background: var(--warn-lt); color: var(--warn); } .hscore.low { background: var(--bahi-lt); color: var(--bahi); }
.hlist { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.hrow { border: 1px solid var(--rule); border-left: 4px solid var(--ink-3); border-radius: var(--r-sm); padding: 0 12px; }
.hrow.high { border-left-color: var(--err); } .hrow.warn { border-left-color: var(--warn); }
.hrow > summary { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; cursor: pointer; list-style: none; }
.hrow > summary::-webkit-details-marker { display: none; }
.hrow[open] { padding-bottom: 12px; }
.hsev { font-size: 11.5px; font-weight: 700; color: var(--ink-3); min-width: 56px; }
.hrow.high .hsev { color: var(--err); } .hrow.warn .hsev { color: var(--warn); }
.hmeta { margin-left: auto; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- people ---------- */
.att-wrap { max-height: 70vh; }
.att-grid { font-size: 12.5px; }
.att-grid th, .att-grid td { padding: 4px 3px; text-align: center; }
.att-grid .att-name { text-align: left; position: sticky; left: 0; background: var(--sheet); z-index: 1; min-width: 160px; padding-left: 8px; }
.att-grid .att-h { font-weight: 600; color: var(--ink-2); min-width: 30px; }
.att-grid .att-h span { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.att-grid .att-h.sun { color: var(--bahi); }
.att { font-weight: 700; font-size: 11.5px; cursor: pointer; border-radius: 3px; }
.att.out { background: repeating-linear-gradient(45deg, transparent 0 4px, var(--rule) 4px 5px); cursor: default; }
.att.auto { font-weight: 500; opacity: .75; }
.att.pend { outline: 2px dashed var(--warn); outline-offset: -2px; }
.st-P, .st-WFH, .st-OD { background: var(--ok-lt); color: var(--ok); }
.st-HD { background: var(--warn-lt); color: var(--warn); }
.st-CL, .st-SL, .st-PL, .st-CO { background: #E6ECFA; color: #2D4C9C; }
.st-UL, .st-A { background: var(--bahi-lt); color: var(--bahi); }
.st-WO, .st-H { background: var(--paper); color: var(--ink-3); }
.st-NM, .st-blank { color: var(--ink-3); }
[data-theme="dark"] .st-CL, [data-theme="dark"] .st-SL, [data-theme="dark"] .st-PL, [data-theme="dark"] .st-CO { background: #1E2A4A; color: #9FB6F0; }
.att-legend .att { display: inline-block; min-width: 26px; text-align: center; padding: 1px 3px; cursor: default; }
.att-pick { width: 120px; padding: 2px 4px; font-size: 12px; }
.pay-grid input.pay-in { width: 90px; padding: 4px 6px; font-size: 13px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 520px; }
.cal > b { text-align: center; font-size: 12px; color: var(--ink-3); }
.cal-d { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 0; border-radius: 6px; border: 1px solid var(--rule); font-size: 12px; font-weight: 700; min-height: 44px; justify-content: center; }
.cal-d i { font-style: normal; font-weight: 500; font-size: 11px; color: var(--ink-3); }
.staff-tabs { display: flex; gap: 4px; padding: 8px 20px 0; background: var(--sheet); border-bottom: 1px solid var(--rule); }

/* ---------- settings ---------- */
.set-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.set-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 6px; }
.set-nav button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r-sm); border-left: 3px solid transparent; }
.set-nav button b { display: block; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.set-nav button span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; font-weight: 400; white-space: normal; }
.set-nav button:hover { background: var(--paper); }
.set-nav button.on { background: var(--bahi-lt); border-left-color: var(--bahi); }
.set-body { min-width: 0; }
table.kv th { width: 34%; text-align: left; font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: transparent; border-bottom: 1px solid var(--rule); vertical-align: top; }
details.fyb { border: 1px solid var(--rule); border-radius: var(--r-sm); margin-top: 10px; }
details.fyb > summary { cursor: pointer; padding: 10px 14px; display: flex; gap: 12px; align-items: baseline; }
details.fyb[open] > summary { border-bottom: 1px solid var(--rule); }
details.fyb .tbl-wrap { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-cover { padding: 32px 24px 32px 56px; min-height: 260px; }
  .auth-cover::before { left: 26px; }
  .shell, .shell.mini { grid-template-columns: 1fr; --side: 280px; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .2s; border-left: 0; }
  .shell.drawer .side { transform: none; }
  .shell.drawer .side-scrim { display: block; position: fixed; inset: 0; background: rgba(24,33,61,.45); z-index: 35; }
  .shell.mini .brand, .shell.mini .org-pick, .shell.mini .nav .lb, .shell.mini .nav .car { display: revert; }
  .shell.mini .nav .nsec.open .nsub { display: flex; }
  .shell.mini .nav .nv { justify-content: flex-start; padding: 8px 10px; }
  .sidetog { display: none; }
  .topbar { padding: 8px 12px; gap: 8px; }
  .tb-menu { display: block; }
  .topbar .crumb { flex: 1; }
  .topbar .crumb span, .topbar .crumb i { display: none; }
  .tb-search { flex: none; width: 38px; height: 34px; padding: 0; justify-content: center; margin-left: 0; }
  .tb-search span, .tb-search kbd { display: none; }
  .topbar .tb-new { display: none; }
  .main { padding: 18px 14px 88px; }
  .botbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--sheet); border-top: 1px solid var(--rule); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .botbar > a, .botbar > button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0; border: 0; background: none; color: var(--ink-3); font-size: 11px; text-decoration: none; position: relative; }
  .botbar .on { color: var(--ink); font-weight: 700; }
  .botbar .plus { font-size: 18px; line-height: 18px; height: 18px; }
  .botbar b { position: absolute; top: 0; left: 55%; background: var(--warn); color: #fff; font-size: 10px; border-radius: 8px; padding: 0 5px; }
  .set-wrap { grid-template-columns: 1fr; gap: 12px; }
  .sup { grid-template-columns: 1fr; }
  .impsrc, .imp-sum { grid-template-columns: 1fr 1fr; }
  .tb-help { width: 34px; }
  .set-nav { position: static; flex-direction: row; overflow-x: auto; padding: 4px; }
  .set-nav button { flex: none; width: auto; border-left: 0; border-bottom: 3px solid transparent; padding: 8px 12px; }
  .set-nav button.on { border-bottom-color: var(--bahi); }
  .set-nav button span { display: none; }
  .hd-pop.bottom { position: fixed; top: auto; bottom: 64px; left: 12px; right: 12px; }
  .task { grid-template-columns: 1fr auto; }
  .task .d { grid-column: 1 / -1; }
  .task .go { grid-column: 1 / -1; }
  .task .go select { flex: 1; width: auto; }
  .lines .ln { grid-template-columns: 1fr 1fr 32px; }
  .lines .ln > :first-child { grid-column: 1 / -1; }
  .items .ln { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

[hidden] { display: none !important; }
.ledger td:first-child, .ledger td.dt { white-space: nowrap; }
.ledger .chk + td { white-space: nowrap; }
.ledger td .go select { min-width: 140px !important; max-width: 170px; }

/* figures line up only where they are money */
.money, .today-sum strong, .task .a, .balance-note { font-variant-numeric: tabular-nums; }

/* smart approval groups */
.viewsw { margin-left: auto; display: inline-flex; gap: 2px; align-self: center; background: var(--rule); border-radius: var(--r-sm); padding: 2px; }
.viewsw button { border: 0; background: transparent; padding: 5px 10px; font-size: 13px; border-radius: 3px; color: var(--ink-2); }
.viewsw button.on { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(24,33,61,.12); }
.smart-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--ok-lt); border: 1px solid #BFE0CD; border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 14px; }
.sgroup { background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--bahi); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 10px; }
.sg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sg-title h3 { font-size: 16px; }
.sg-act { display: flex; gap: 8px; align-items: center; }
.sg-act select { width: 300px; padding: 6px 8px; font-size: 14px; }
.sgroup details { margin-top: 6px; }
.sgroup summary { cursor: pointer; color: var(--ink-2); padding: 4px 0; }
.sgroup table.ledger { margin-top: 4px; }
.sheet .sgroup { border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .sg-act { width: 100%; } .sg-act select { flex: 1; width: auto; } }
.warn-t { color: var(--warn); }

/* period bar, toggles, day book */
.period { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.period select, .period input { width: auto; padding: 7px 8px; font-size: 14px; }
.toggles { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: -6px 0 12px; font-size: 14px; }
.toggles label { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.ledger tr.vline td { border-bottom: 0; padding-top: 2px; padding-bottom: 2px; font-size: 13.5px; color: var(--ink-2); }
.ledger tr.vline td:nth-child(2) { padding-left: 18px; }
.ledger .cr-ind { padding-left: 14px; }
.ledger tr.muted-row td { color: var(--ink-3); }
.ledger tr.muted-row td b { font-weight: 500; }
.ledger td a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--ink-3); }
.ledger td a:hover { color: var(--bahi); border-bottom-color: var(--bahi); }
.recon-ok { color: var(--ok); font-weight: 600; }
.recon-bad { color: var(--err); font-weight: 600; }

/* documents */
.docs { display: flex; flex-wrap: wrap; gap: 8px; }
.doc { font-weight: 500; font-size: 13.5px; padding: 6px 10px; }
.clip { font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-lt); border-radius: 8px; padding: 0 6px; vertical-align: 1px; }

/* GST month view */
.gst-step h2 { margin-bottom: 6px; }
.buckets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.bucket { text-align: left; padding: 10px 12px; border: 1px solid var(--rule); background: var(--sheet); border-radius: 6px; font-size: 13px; color: var(--ink); cursor: pointer; }
.bucket strong { display: block; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bucket.on { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.bucket.b-matched strong { color: var(--ok); }
.bucket.b-mismatch strong { color: var(--warn); }
.bucket.b-books strong, .bucket.b-portal strong { color: var(--bahi); }
.returns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.returns > * { min-width: 0; }
.returns .tbl-wrap { max-width: 100%; overflow-x: auto; }
.returns .tbl-wrap table.ledger { font-size: 12.5px; }
.returns .tbl-wrap td, .returns .tbl-wrap th { padding-left: 6px; padding-right: 6px; }
.ret { border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; }
.ret h3 { margin: 0 0 6px; }
@media (max-width: 760px) { .buckets { grid-template-columns: 1fr 1fr; } .returns { grid-template-columns: 1fr; } }
.imgpick { min-height: 60px; display: flex; align-items: center; padding: 6px; border: 1px dashed var(--rule-2); border-radius: 6px; background: var(--sheet); margin-bottom: 6px; }
.imgpick img { max-height: 70px; max-width: 200px; }
.party-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.party-top .sheet { margin: 0; }
.party-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.party-sum > div { background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; }
.kyc dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0; }
.kyc dt { color: var(--ink-3); font-size: 13px; }
.kyc dd { margin: 0; }
@media (max-width: 860px) { .party-top { grid-template-columns: 1fr; } }
/* staff expense screen */
.staff { min-height: 100vh; background: var(--paper); }
.staff-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--solid); color: #fff; }
.staff-head select { width: auto; margin-right: 8px; }
.staff-main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.staff-main .party-sum { margin-bottom: 16px; }

/* financial statements */
.fs-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fs-checks li { padding: 8px 12px; border-left: 3px solid var(--rule); background: var(--paper); border-radius: 4px; font-size: 14px; }
.fs-checks li b { margin-right: 6px; }
.fs-checks li.ok { border-left-color: #2f7d4f; }
.fs-checks li.warn { border-left-color: #b7791f; }
.fs-checks li.fail { border-left-color: #b42318; }
.fs-checks li.info { border-left-color: #5b6b86; }
.fs-sub { font-size: 1rem; margin: 18px 0 2px; }
.fs-inp { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.fs-app { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.fs-app dt { font-weight: 700; }
.fs-app dd { margin: 0; }
.fs-frame { width: 100%; height: 75vh; border: 1px solid var(--line, #d8dce4); border-radius: 4px; background: #fff; }
@media (max-width: 640px) { .fs-app { grid-template-columns: 1fr; } .fs-app dd { margin-bottom: 8px; } }

/* reports */
.rp-wrap { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: start; }
.rp-nav { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.rp-nav h3 { font-size: 12px; color: var(--muted, #6b7280); margin: 14px 0 4px; font-weight: 600; }
.rp-nav h3:first-child { margin-top: 0; }
.rp-nav a { padding: 5px 10px; border-radius: 4px; color: inherit; text-decoration: none; }
.rp-nav a:hover { background: var(--paper); }
.rp-nav a.on { background: var(--paper); font-weight: 700; box-shadow: inset 3px 0 0 currentColor; }
.rp-body { min-width: 0; }
.rp-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.rp-bar h2 { margin: 0 auto 0 0; }
.rp-bar input[type=date] { width: auto; }
.rp-t tr.rp-sec td { font-weight: 700; background: var(--paper); padding-top: 10px; }
.rp-t tr.rp-grp td { font-weight: 600; }
.rp-t tr.rp-led td:first-child { padding-left: 26px; }
.rp-t tr.rp-tot td { font-weight: 700; border-top: 1px solid currentColor; }
.rp-t tr.rp-v td { vertical-align: top; }
.rp-share { display: inline-block; min-width: 64px; background: linear-gradient(90deg, rgba(120,130,150,.22) var(--w), transparent var(--w)); padding: 0 4px; }
@media (max-width: 860px) { .rp-wrap { grid-template-columns: 1fr; } .rp-nav { position: static; flex-direction: row; flex-wrap: wrap; } .rp-nav h3 { width: 100%; } }

/* AI assistant and bills inbox */
.ai-assist { margin: 4px 0 18px; }
.ai-bar { display: flex; gap: 6px; align-items: center; background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 10px; padding: 6px 6px 6px 14px; box-shadow: 0 1px 2px rgba(20,30,50,.05); }
.ai-bar:focus-within { border-color: currentColor; }
.ai-bar input#aiq { flex: 1; border: 0; outline: 0; font-size: 15px; padding: 8px 0; background: transparent; min-width: 0; }
.ai-ico { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; border-radius: 8px; }
.ai-ico.on { background: #fde8e8; color: #b42318; animation: aipulse 1.2s infinite; }
@keyframes aipulse { 50% { box-shadow: 0 0 0 6px rgba(180,35,24,.12); } }
@media (prefers-reduced-motion: reduce) { .ai-ico.on { animation: none; } }
#aiatn { margin: 4px 2px 0; }
.ai-card { border-left: 3px solid #5b6b86; background: var(--sheet); padding: 10px 14px; margin-top: 10px; border-radius: 0 8px 8px 0; }
.ai-card p { margin: 2px 0 6px; }
.ai-you { font-weight: 600; }
.ai-out { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ai-out li.ok { color: #1f5f3a; } .ai-out li.bad { color: #8a4b08; }
.ai-out a { margin-left: 8px; font-weight: 600; }
.ai-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ai-head h2 { margin-bottom: 2px; }
.ai-auto { white-space: nowrap; }
.ai-drop { border: 1.5px dashed var(--rule-2); border-radius: 10px; padding: 14px; margin: 10px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ai-drop.on { border-color: currentColor; background: var(--paper); }
.ai-sub { margin: 16px 0 6px; font-size: 15px; }
.ai-log, .ai-done { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; font-size: 14px; max-height: 280px; overflow: auto; }
.ai-log li a, .ai-done li a { margin-left: 6px; }
/* GSTIN-wise summary: a line opens that GSTIN */
table.gst-all tr.clickable { cursor: pointer; }
table.gst-all tr.clickable:hover td { background: rgba(0, 0, 0, 0.03); }
table.gst-all td { white-space: nowrap; }
table.gst-all th { white-space: normal; vertical-align: bottom; min-width: 70px; }
/* stock page */
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(0, 0, 0, 0.03); }
tr.neg td:first-child b { color: var(--out, #b42318); }

/* recurring invoices, reminders, WhatsApp */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--rule-2); border-radius: 14px; font-size: 13px; font-weight: 500; cursor: pointer; background: var(--sheet); }
.chip:has(input:checked) { border-color: var(--bahi); background: var(--bahi-lt); color: var(--bahi-dk); }
.chip input { margin: 0; accent-color: var(--bahi); }
.pill.out { background: var(--bahi-lt); color: var(--err); }
code.copy { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 1px 6px; cursor: copy; word-break: break-all; font-size: 12.5px; }
pre.tplbox { white-space: pre-wrap; background: var(--paper); border-left: 3px solid var(--ok); padding: 8px 12px; font: inherit; margin: 4px 0 10px; }
.wa-grid select { width: auto; display: inline-block; margin-left: 6px; padding: 4px 8px; }
details > summary { cursor: pointer; }
.inbox-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.inbox-ways > div { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 10px 12px; background: var(--paper); }
.inbox-ways b { display: block; margin-bottom: 4px; }
.src { cursor: help; }

/* income tax & TDS */
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 6px; }
.section-head .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ledger tr.tot td { font-weight: 700; border-top: 1px solid var(--ink); }

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

/* ---------- Home ---------- */
.hd-seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px; background: var(--sheet); }
.hd-seg button { border: 0; border-radius: 0; background: none; padding: 7px 16px; color: var(--ink-2); font-weight: 500; }
.hd-seg button + button { border-left: 1px solid var(--rule); }
.hd-seg button.on { background: var(--bahi); color: #fff; }
.hd-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.hd-kpi { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hd-kpi .hd-l { font-size: 13px; color: var(--ink-2); }
a.hd-kpi { text-decoration: none; color: inherit; }
.hd-sector.hd-kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.hd-kpi strong { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.hd-kpi strong.neg, .hd-tbl .neg { color: var(--err); }
.hd-cmp { font-size: 12.5px; color: var(--ink-3); }
.hd-full { font-size: 12.5px; color: var(--ink-3); }
.hd-d { font-weight: 600; color: var(--ink-2); }
.hd-d.up { color: var(--ok); } .hd-d.down { color: var(--err); }
.hd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.hd-grid.two { grid-template-columns: 1fr 1fr; }
.hd-grid > .sheet { margin-bottom: 20px; }
.hd-tip { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hd-tip:last-of-type { border-bottom: 0; }
.hd-tip .dot { font-size: 12px; line-height: 22px; }
.hd-tip.act .dot { color: var(--err); } .hd-tip.watch .dot { color: var(--warn); } .hd-tip.good .dot { color: var(--ok); }
.hd-tip h3 { margin: 0 0 3px; font-size: 15px; }
.hd-tip p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; max-width: 72ch; }
.hd-note { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; }
.hd-big { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hd-sub { font-weight: 500; color: var(--ink-2); font-size: 15px; margin-left: 6px; }
.hd-list { width: 100%; border-collapse: collapse; font-size: 14px; }
.hd-list td { padding: 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hd-list tr:last-child td { border-bottom: 0; }
.hd-list .money { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 12px; background: var(--rule); gap: 2px; }
.hd-age { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--ink-2); }
.hd-age strong { display: block; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hd-age .warn strong { color: var(--warn); }
.k { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: baseline; }
.a0, .hd-bar .a0 { background: #5B8DB8; } .a1, .hd-bar .a1 { background: #E0B04A; } .a2, .hd-bar .a2 { background: #D9822B; } .a3, .hd-bar .a3 { background: #C2512F; } .a4, .hd-bar .a4 { background: var(--err); }
.hd-chart { width: 100%; height: auto; max-height: 240px; display: block; }
.hd-chart .s { fill: var(--bahi); } .hd-chart .ci { fill: var(--ok); } .hd-chart .co { fill: var(--err); opacity: .75; }
.hd-chart text { font-size: 10px; fill: var(--ink-3); } .hd-chart .ax { stroke: var(--rule-2); stroke-width: 1; }
.hd-legend { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 14px; align-items: center; }
.hd-legend .k.s { background: var(--bahi); } .hd-legend .k.ci { background: var(--ok); } .hd-legend .k.co { background: var(--err); }
.hd-fs { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 14px; }
.hd-fs legend { font-weight: 600; padding: 0 4px; }
@media (max-width: 1100px) { .hd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hd-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hd-grid.two { grid-template-columns: 1fr; } .hd-seg { display: flex; } .hd-seg button { flex: 1; padding: 7px 6px; } }
/* Home: clickable, slider, details, downloads */
button.hd-kpi { text-align: left; font: inherit; cursor: pointer; color: inherit; }
.hd-kpi:hover, .hd-click:hover, .hd-tip:hover { border-color: var(--bahi); box-shadow: 0 1px 0 var(--bahi-lt), 0 0 0 3px var(--bahi-lt); }
.hd-kpi:focus-visible, .hd-click:focus-visible, .hd-tip:focus-visible, .hd-cell:focus-visible, .hd-day:focus-visible { outline: 2px solid var(--bahi); outline-offset: 2px; }
.hd-click { cursor: pointer; position: relative; }
.hd-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--bahi); }
.hd-cell { cursor: pointer; } .hd-cell:hover { background: var(--bahi-lt); }
.hd-day { cursor: pointer; } .hd-day .hit { fill: transparent; } .hd-day:hover .hit { fill: var(--bahi-lt); }
.hd-advhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.hd-advhead h2 { margin: 0; }
.hd-filt { display: flex; gap: 4px; flex-wrap: wrap; }
.hd-filt button { border: 1px solid var(--rule-2); background: var(--sheet); border-radius: 14px; padding: 3px 10px; font-size: 12.5px; color: var(--ink-2); }
.hd-filt button span { font-weight: 700; margin-left: 2px; }
.hd-filt button.on { background: var(--solid); border-color: var(--solid); color: #fff; }
button.hd-tip { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; cursor: pointer; padding: 12px 6px; }
button.hd-tip:hover { box-shadow: none; background: var(--hover); }
.hd-tag { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.hd-tip.act .hd-tag { color: var(--err); } .hd-tip.watch .hd-tag { color: var(--warn); } .hd-tip.good .hd-tag { color: var(--ok); }
.hd-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.hd-pager button { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--sheet); font-size: 17px; line-height: 1; }
.hd-pager button:disabled { opacity: .35; }
.hd-pager i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); cursor: pointer; }
.hd-pager i.on { background: var(--bahi); }
.hd-menu { position: relative; display: inline-block; }
.hd-pop { position: absolute; right: 0; top: calc(100% + 4px); background: var(--sheet); border: 1px solid var(--rule-2); border-radius: var(--r-md); box-shadow: 0 6px 20px var(--shadow); z-index: 20; min-width: 190px; padding: 4px; }
.hd-pop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; }
.hd-pop button:hover { background: var(--bahi-lt); }
.hd-printper, .hd-caph { display: none; }
.snapping .hd-printper, .snapping .hd-caph { display: block; }
.snapping .hd-noprint, .snapping .hd-more, .snapping .hd-pager { display: none !important; }
.snapping { background: var(--sheet); padding: 16px; }
.hd-dhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.hd-dhead p { margin: 0; }
#hdbody h3 { margin: 18px 0 8px; font-size: 15px; }
.hd-intro { padding: 12px 14px; border-radius: var(--r-md); background: var(--tint); border-left: 4px solid var(--ink-3); margin-bottom: 12px; line-height: 1.55; }
.hd-intro.act { border-left-color: var(--err); } .hd-intro.watch { border-left-color: var(--warn); } .hd-intro.good { border-left-color: var(--ok); }
.hd-dt td, .hd-dt th { white-space: nowrap; } .hd-dt td:first-child { white-space: normal; }
.hd-chart.sm { max-height: 170px; margin: 6px 0 10px; }
.hd-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 0; }
.hd-wgrid > .sheet { margin-bottom: 20px; }
.hd-w .hd-big { font-size: 24px; }
.hd-wform { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 12px; }
.hd-wform .field:first-child, .hd-wform #wsl, .hd-wform button { grid-column: 1 / -1; }
.hd-wform button { justify-self: start; }
#hwadd summary { list-style: none; display: inline-block; cursor: pointer; margin-top: 8px; }
@media (max-width: 640px) { .hd-wform { grid-template-columns: 1fr; } }
button.hd-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 16px; font-weight: 400; font-size: inherit; border-radius: var(--r-md); border: 1px solid var(--rule); background: var(--sheet); white-space: normal; }
button.hd-tip { display: grid; grid-template-columns: 16px 1fr; align-items: start; gap: 10px; white-space: normal; font-weight: 400; font-size: inherit; }
button.hd-tip p { white-space: normal; }
.hd-pager button { display: inline-flex; align-items: center; justify-content: center; }
.hd-w .hd-chart text { display: none; }
#hdbody a.btn, #hdbody a.btn-primary { text-decoration: none; }
a.btn-primary { display: inline-flex; padding: 9px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
/* widgets: charts and formula builder */
.hd-chart .ln { fill: none; stroke: var(--bahi); stroke-width: 2.5; } .hd-chart .pt { fill: var(--sheet); stroke: var(--bahi); stroke-width: 2; }
.hd-donut { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hd-donut svg { width: 120px; height: 120px; flex: none; }
.hd-donut ul { list-style: none; margin: 0; padding: 0; font-size: 13px; flex: 1; min-width: 120px; }
.hd-donut li { display: flex; align-items: center; gap: 4px; padding: 2px 0; } .hd-donut li strong { margin-left: auto; }
.hd-hb > div { display: grid; grid-template-columns: minmax(70px, 38%) 1fr auto; gap: 8px; align-items: center; font-size: 13px; padding: 3px 0; }
.hd-hb .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hd-hb .b { background: var(--rule); height: 8px; border-radius: 4px; overflow: hidden; }
.hd-hb .b i { display: block; height: 100%; background: var(--bahi); } .hd-hb .v { font-variant-numeric: tabular-nums; }
.hd-wform .full, .hd-wform .wsrc, .hd-wform .wfx { grid-column: 1 / -1; }
.hd-wform .wsrc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hd-ms { display: grid; gap: 8px; margin-bottom: 12px; }
.hd-m { display: grid; grid-template-columns: 22px 120px 1fr 215px 150px; gap: 8px; align-items: start; }
.hd-m strong { line-height: 36px; text-align: center; background: var(--bahi-lt); color: var(--bahi-dk); border-radius: var(--r-sm); }
.hd-m select, .hd-m input { min-width: 0; }
.hd-formula { background: var(--tint); padding: 10px 12px; border-radius: var(--r-md); font-size: 14px; }
.hd-formula code { font-weight: 700; }
@media (max-width: 900px) { .hd-m { grid-template-columns: 22px 1fr; } .hd-m > *:not(strong) { grid-column: 2; } .hd-wform .wsrc { grid-template-columns: 1fr; } }
.hd-chart.big { max-height: 260px; }
.imp-bgopt { display: block; margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper); }
.ai-srv { display: block; margin-top: 6px; }
.bulk-sum { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper); }
.bulk-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bulk-head .btn-sm { margin-left: auto; }
.bulk-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.kyc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kyc-head h2 { margin: 0; }
.kyc-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kyc-btns .btn-sm.on { border-color: var(--bahi, #8C1C2E); color: var(--bahi, #8C1C2E); }
.per-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.per-bar input[type=date] { width: auto; }
.kyc-list { display: grid; gap: 0; margin-top: 8px; }
.kyc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.kyc-row .small a { margin: 0 1px; }
.kyc-up { cursor: pointer; white-space: nowrap; }
.ob-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ob-mini input#poba { width: 120px; }
.ob-mini .small.muted:last-child { flex-basis: 100%; }
.ob-roles { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.tk { padding: 10px 0; border-top: 1px solid var(--rule); }
.tk:first-child { border-top: 0; }
.tk-reply { background: var(--paper); border-radius: var(--r-sm); padding: 6px 8px; }
.tk-f textarea { width: 100%; margin: 6px 0; }
.hd-tip.minor .dot, .hd-tip.minor .hd-tag { color: var(--ink-3, #8A90A2); }
/* Home: income and expense, top expenses donut */
.ie-tot { display: flex; gap: 28px; flex-wrap: wrap; margin: 2px 0 8px; font-size: 13px; color: var(--ink-2); }
.ie-tot > div { display: flex; flex-direction: column; gap: 2px; }
.ie-tot strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ie-tot strong.in { color: var(--ok); } .ie-tot strong.out { color: var(--err); }
.ie-tot .k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.hd-chart.ie { width: 100%; height: auto; max-height: 260px; }
.hd-chart .ie-i, .ie-tot .k.ie-i { fill: #1D9E63; background: #1D9E63; } .hd-chart .ie-e, .ie-tot .k.ie-e { fill: #D14B55; background: #D14B55; }
.hd-chart .gl { stroke: var(--rule); stroke-dasharray: 3 3; }
.hd-chart.ie text { font-size: 10px; fill: var(--ink-2); } .hd-chart.ie text.yr { font-size: 8.5px; fill: var(--ink-3, #8A90A2); }
.hd-chart.ie .hd-day:hover .hit { fill: var(--hover); }
.te-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.te-wrap svg { width: 150px; height: 150px; flex: none; }
.te-wrap .te-l { font-size: 9px; fill: var(--ink-2); } .te-wrap .te-v { font-size: 13px; font-weight: 600; fill: var(--ink); }
.hd-list.te { flex: 1; min-width: 200px; } .hd-list.te .k { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }

.btn-danger { background: #fff; border-color: #c0392b; color: #c0392b; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.actions.vtop { margin: 0 0 12px; flex-wrap: wrap; }
.delbox { border: 1px solid #e6b0aa; background: #fdf3f2; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.delbox p { margin: 0 0 6px; }
td.ract { white-space: nowrap; text-align: right; width: 1%; }
.ricon { border: 0; background: transparent; padding: 2px 5px; cursor: pointer; font-size: 14px; opacity: .55; }
tr:hover .ricon, .ricon:focus-visible { opacity: 1; }
.ricon:hover { background: rgba(0,0,0,.06); border-radius: 6px; }
pre.code { background: #0f1b2d; color: #e6edf6; padding: 10px 12px; border-radius: 8px; overflow: auto; font-size: 12.5px; line-height: 1.45; max-height: 320px; }

.btn-warn { background: #fff; border-color: #b7791f; color: #8a5a12; }
.btn-warn:hover { background: #fdf3e1; }
.pill.cancelled { background: #f1e3e3; color: #9b2c2c; text-decoration: none; }
tr.cx-row td.money { text-decoration: line-through; }
.cancelbox { border: 1px solid #e6b0aa; background: #fdf3f2; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font-size: 13.5px; }

/* management P&L one-pager */
.hd-mpl .mpl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mpl-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.mpl-chip { border: 1px solid var(--line, #d5dbe7); border-radius: 8px; padding: 8px 10px; }
.mpl-chip span { display: block; font-size: 12px; color: var(--muted, #5b6278); }
.mpl-chip strong { font-size: 20px; }
.mpl-chip em { display: block; font-style: normal; font-size: 11.5px; }
.mpl-chip em.up { color: #1f7a3d; } .mpl-chip em.down { color: #b42318; }
.mpl-tbl tr.mpl-sub td { font-weight: 700; background: rgba(140, 28, 46, .045); border-top: 1px solid #c9cfdb; }
.mpl-tbl tr.mpl-top td { font-weight: 700; }
.mpl-tbl tr.mpl-line td:first-child, .mpl-tbl tr.mpl-opt td:first-child { padding-left: 22px; color: var(--muted, #5b6278); }
.mpl-tbl tr[data-mplb] { cursor: pointer; }
.mpl-bar { display: inline-block; width: 56px; height: 7px; background: #eceff4; border-radius: 4px; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.mpl-bar i { display: block; height: 100%; background: #8c1c2e; } .mpl-bar i.neg { background: #b42318; }
.hp-opts { display: grid; gap: 8px; margin-bottom: 12px; }
.hp-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line, #d5dbe7); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.hp-opt:has(input:checked) { border-color: #8c1c2e; background: rgba(140, 28, 46, .04); }
.snap-hide { display: none !important; }
@media (max-width: 720px) { .mpl-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* chart of accounts */
.coa tr.coa-g td { background: var(--paper, #f7f8fb); }
.coa-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border: 1px solid #8c1c2e; background: rgba(140, 28, 46, .04); border-radius: 8px; padding: 8px 12px; margin: 0 0 10px; }
.coa-bulk select { width: auto; }
.mplmv { font-size: 12.5px; padding: 3px 6px; width: auto; }

.mpl-open { cursor: pointer; }
.mpl-chip.mpl-open:hover, .mpl-chip.mpl-open:focus-visible { border-color: #8c1c2e; }
h2.mpl-open:hover { color: #8c1c2e; }
.hd-mpl > .hd-more { display: inline-block; margin-top: 6px; }

.hp-opt input[type=radio] { width: auto; flex: 0 0 auto; margin: 3px 0 0; }
.hp-opt span { flex: 1 1 auto; text-align: left; }
.hp-fmt { display: flex; gap: 16px; align-items: center; margin: 4px 0 12px; }
.hp-fmt span { font-weight: 600; }
.hp-fmt label { display: inline-flex; gap: 6px; align-items: center; }
.hp-fmt input { width: auto; }

/* expense claims */
.cl-trail { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; }
.cl-trail li { color: var(--muted, #5b6278); }
.cl-trail li.in::first-letter { color: #1f7a3d; } .cl-trail li.out::first-letter { color: #b42318; }
.lvl { border-bottom: 1px dashed var(--line, #d5dbe7); padding-bottom: 6px; margin-bottom: 6px; align-items: flex-end; }
#cats input, #cats select { min-width: 120px; }

/* ---------- public page (signed out) ---------- */
.lp { background: var(--paper); color: var(--ink); min-height: 100vh; }
.lp-top { display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(20px, 5vw, 64px); background: var(--bahi); color: #fff; }
.lp-brand { font-size: 16px; letter-spacing: .01em; line-height: 1.25; } .lp-brand b { font-weight: 700; } .lp-brand small { display: block; font-size: 13px; color: rgba(255,255,255,.82); }
.lp-signin { color: #fff; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: var(--r-md); }
.lp-signin:hover, .lp-signin:focus-visible { background: rgba(255,255,255,.12); }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); }
.lp-cover { position: relative; background: var(--bahi); color: #fff; padding: 28px clamp(24px, 5vw, 64px) 56px calc(clamp(24px, 5vw, 64px) + 34px); }
.lp-cover::before { content: ""; position: absolute; left: clamp(14px, 3vw, 38px); top: 0; bottom: 0; border-left: 2px dashed rgba(255,255,255,.45); }
.lp-cover h1 { font-size: clamp(42px, 6.2vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -0.03em; margin: 8px 0 18px; color: #fff; }
.lp-sub { font-size: 18px; line-height: 1.5; max-width: 44ch; color: rgba(255,255,255,.88); margin: 0 0 28px; }
.lp-kw { font-size: 14px; line-height: 1.5; max-width: 52ch; color: rgba(255,255,255,.72); margin: -16px 0 24px; }
.lp-demo { background: var(--sheet); color: var(--ink); border-radius: var(--r-md); max-width: 520px; box-shadow: 0 18px 40px rgba(0,0,0,.22); overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px); }
.lp-demo-h { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--tint); border-bottom: 1px solid var(--rule); }
#lpcount { font-variant-numeric: tabular-nums; color: var(--bahi); }
.lp-demo ol { list-style: none; margin: 0; padding: 0; }
.lp-demo li { display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 10px; height: 44px; padding: 0 16px; font-size: 14px; }
.lp-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lp-n i { font-style: normal; color: var(--ink-3); margin-left: 6px; }
.lp-a { font-variant-numeric: tabular-nums; font-weight: 600; border-left: 1px solid var(--bahi); padding-left: 10px; min-width: 104px; text-align: right; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.lp-tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: transparent; border: 1.5px solid var(--rule-2); transition: all .25s ease; }
.lp-demo li.done .lp-tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.lp-demo li.done .lp-n i { color: var(--ok); }
.lp-go { display: block; width: calc(100% - 32px); margin: 8px 16px 16px; padding: 11px; border: 0; border-radius: var(--r-md); background: var(--ink); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.lp-go:disabled { background: var(--ok); cursor: default; opacity: 1; }
.lp-go:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lp-panel { display: flex; align-items: flex-start; justify-content: center; padding: 72px 28px 40px; background: var(--sheet); }
.lp-panel > * { position: sticky; top: 24px; }
.lp-panel .auth-box h2 { font-size: 24px; margin: 0 0 6px; }
.lp-ledger, .lp-steps { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-ledger h2, .lp-steps h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; margin: 0 0 24px; }
.lp-sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
.lp-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr); border-top: 1px solid var(--rule); }
.lp-row:first-child { border-top: 0; }
.lp-row > span { padding: 14px 18px; font-size: 15px; line-height: 1.45; }
.lp-head > span { padding-top: 10px; padding-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--tint); }
.lp-k { font-weight: 700; color: var(--bahi); }
.lp-was { color: var(--ink-3); }
.lp-now { border-left: 2px solid var(--bahi); font-weight: 500; }
.lp-head .lp-now, .lp-head > span:last-child { border-left: 2px solid var(--bahi); }
.lp-steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lp-steps li { counter-increment: s; padding: 18px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.lp-steps li::before { content: counter(s); font-size: 40px; font-weight: 800; color: var(--bahi); line-height: 1; font-variant-numeric: tabular-nums; }
.lp-steps li b { font-size: 18px; } .lp-steps li span { color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 32ch; }
.lp-end { max-width: 1120px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 28px clamp(20px, 5vw, 64px); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.lp-end p { font-size: 18px; margin: 0; max-width: 46ch; }
.lp-end .btn-primary { padding: 12px 22px; font-size: 16px; }
.lp-foot { max-width: 1120px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 64px) 40px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); border-top: 1px solid var(--rule); }
.lp-foot a { color: var(--ink-2); }
.lp-foot-r { display: flex; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.lp-foot-c { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.lp-foot-l { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 12px; font-weight: 500; }
.lp-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.lp-social span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.lp-social a { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; font-weight: 500; text-decoration: none; }
.lp-social a:hover, .lp-social a:focus-visible { border-color: var(--bahi); color: var(--bahi); }
.lp-foot-n { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); max-width: 110ch; }
@media (max-width: 880px) { .lp-foot-c { text-align: left; } }
/* legal pages */
.lg { background: var(--paper); color: var(--ink); }
.lg-main { max-width: 760px; margin: 0 auto; padding: 40px 22px 24px; font-size: 16px; line-height: 1.65; }
.lg-main h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
.lg-main h2 { font-size: 19px; margin: 28px 0 6px; }
.lg-main ul { padding-left: 20px; } .lg-list li { margin-bottom: 10px; }
.lg-upd { color: var(--ink-3); font-size: 14px; margin-top: 0; }
.lg-foot { max-width: 760px; margin: 0 auto; padding: 22px 22px 40px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.lg-foot a { color: var(--ink-2); }
@media (max-width: 880px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-row { grid-template-columns: 1fr; }
  .lp-row > span { padding: 4px 18px; } .lp-row .lp-k { padding-top: 14px; } .lp-row .lp-now { padding-bottom: 14px; margin-left: 18px; padding-left: 10px; }
  .lp-head { display: none; }
  .lp-steps ol { grid-template-columns: 1fr; } .lp-steps li { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .lp-tick { transition: none; } }

.lp-big { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-big h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 24px; }
.lp-big-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.lp-big-g > div { border-left: 3px solid var(--bahi); padding: 2px 0 2px 18px; }
.lp-big-g h3 { font-size: 20px; margin: 0 0 6px; }
.lp-big-g p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 46ch; }
@media (max-width: 880px) { .lp-big-g { grid-template-columns: 1fr; gap: 22px; } }

/* punch card (staff portal) */
.punch .punch-btn { display: block; width: 100%; max-width: 360px; padding: 16px; font-size: 18px; margin: 10px 0 6px; justify-content: center; }
.punch-list { list-style: none; padding: 0; margin: 6px 0; } .punch-list li { padding: 4px 0; border-bottom: 1px dashed var(--rule); }

/* organisation chart (top-down tree) */
.oc-wrap { overflow-x: auto; padding: 8px 0 16px; }
.oc, .oc ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.oc ul { padding-top: 22px; position: relative; }
.oc li { position: relative; padding: 22px 8px 0; display: flex; flex-direction: column; align-items: center; }
.oc > li { padding-top: 0; }
.oc li::before, .oc li::after { content: ""; position: absolute; top: 0; width: 50%; height: 22px; border-top: 1.5px solid var(--rule-2); }
.oc li::before { right: 50%; } .oc li::after { left: 50%; border-left: 1.5px solid var(--rule-2); }
.oc li:only-child::before, .oc li:only-child::after { border-top: 0; }
.oc li:first-child::before, .oc li:last-child::after { border-top: 0; }
.oc li:last-child::before { border-right: 1.5px solid var(--rule-2); border-radius: 0 6px 0 0; }
.oc li:first-child::after { border-radius: 6px 0 0 0; }
.oc > li::before, .oc > li::after { display: none; }
.oc ul::before { content: ""; position: absolute; top: 0; left: 50%; height: 22px; border-left: 1.5px solid var(--rule-2); }
.oc-card, .tm-card { background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink-2); border-radius: var(--r-md); padding: 8px 12px; min-width: 150px; max-width: 200px; text-align: center; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.oc-card b, .tm-card b { font-size: 14px; } .oc-card span, .tm-card span { color: var(--ink-2); }
.oc-card i, .tm-card i { font-style: normal; font-size: 12px; color: var(--ink-3); } .oc-card em { font-style: normal; font-size: 11.5px; color: var(--bahi); }
.oc-card.me, .tm-card.me { border-top-color: var(--bahi); background: var(--bahi-lt); }
.tm { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 0; }
.tm-ln { width: 0; height: 20px; border-left: 1.5px solid var(--rule-2); }
.tm-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.tm-grp { border: 1.5px dashed var(--rule-2); border-radius: var(--r-md); padding: 18px 12px 10px; position: relative; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tm-cap { position: absolute; top: -10px; left: 12px; background: var(--sheet); padding: 0 6px; font-size: 12px; color: var(--ink-2); }
.tm-card.muted { opacity: .75; } .tm-card.peer, .tm-card.rep { border-top-color: var(--rule-2); }
@media print { .shell > nav, .topbar, .page-head .actions { display: none !important; } .oc-wrap { overflow: visible; } }
/* letters */
.hr-ed { border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 14px 16px; min-height: 260px; max-height: 52vh; overflow: auto; background: var(--sheet); line-height: 1.55; }
.hr-ed mark, .hrdoc mark { background: #ffe58a; }
.hrdoc { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 22px 26px; margin: 10px 0; line-height: 1.6; max-height: 56vh; overflow: auto; }
.hrdoc header { display: flex; flex-direction: column; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; } .hrdoc header b { font-size: 18px; } .hrdoc header span { font-size: 13px; color: var(--ink-2); }
.hrdoc .sgs { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; flex-wrap: wrap; } .hrdoc .sg { flex: 1 1 200px; font-size: 13px; }
.hrdoc .sgi { height: 64px; border-bottom: 1px solid var(--ink-2); margin-bottom: 4px; display: flex; align-items: flex-end; } .hrdoc .sgi img { max-height: 62px; } .hrdoc .sgt { font: italic 24px cursive; }
.hrdoc .sg.pending { color: var(--ink-3); }
.hrdoc .hl-head { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo co" "logo addr"; column-gap: 12px; border-bottom: 1.5px solid #1b2a6b; padding-bottom: 8px; margin-bottom: 12px; }
.hrdoc .hl-logo { grid-area: logo; max-height: 48px; max-width: 100px; align-self: center; } .hrdoc .hl-co { grid-area: co; } .hrdoc .hl-co b { display: block; font-size: 18px; color: #1b2a6b; } .hrdoc .hl-co span, .hrdoc .hl-addr { font-size: 12px; color: var(--ink-2); }
.hrdoc .hl-addr { grid-area: addr; } .hrdoc .hl-addr span { display: block; } .hrdoc .hl-ref, .hrdoc .hl-conf { font-size: 12.5px; margin: 0 0 6px; } .hrdoc .hl-conf { font-weight: 600; } .hrdoc .hl-subj { font-weight: 600; }
.hrdoc .hl-body h4 { margin: 12px 0 2px; font-size: 14px; color: #1b2a6b; } .hrdoc .hl-body h3 { color: #1b2a6b; }
.hrdoc table.hl-kv, .hrdoc table.hl-sal, .hr-ed table.hl-kv, .hr-ed table.hl-sal { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 13px; }
.hrdoc .hl-kv th, .hr-ed .hl-kv th { text-align: left; font-weight: 400; color: var(--ink-2); width: 34%; padding: 3px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; } .hrdoc .hl-kv td, .hr-ed .hl-kv td { padding: 3px 6px; border-bottom: 1px solid var(--rule); }
.hrdoc .hl-sal th, .hrdoc .hl-sal td, .hr-ed .hl-sal th, .hr-ed .hl-sal td { border: 1px solid var(--rule); padding: 3px 6px; text-align: left; } .hrdoc .hl-sal .n, .hr-ed .hl-sal .n { text-align: right; white-space: nowrap; }
.hrdoc .hl-sal tr.t td, .hr-ed .hl-sal tr.t td { font-weight: 600; } .hrdoc .hl-annex, .hr-ed .hl-annex { border-top: 1px dashed var(--rule-2); margin-top: 16px; padding-top: 10px; } .hl-note { font-size: 12px; color: var(--ink-3); }
.hrdoc .hl-accept { font-size: 13px; border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 14px; } .hrdoc .sgw { color: var(--ink-2); }
.hv-trail ul { margin: 6px 0 0 1em; padding: 0; } .hrdoc footer { margin-top: 18px; font-size: 11.5px; color: var(--ink-3); word-break: break-all; }
.sig-pad { width: 100%; max-width: 520px; height: 160px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-md); background: #fff; touch-action: none; display: block; }
/* landing: pricing */
.lp-price { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-price h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 8px; }
.lp-sub2 { color: var(--ink-2); font-size: 17px; margin: 0 0 22px; }
.lp-terms { display: inline-flex; border: 1px solid var(--rule); border-radius: 10px; padding: 3px; gap: 2px; margin-bottom: 22px; flex-wrap: wrap; }
.lp-terms button { background: none; border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.lp-terms button small { font-weight: 500; font-size: 12px; color: var(--bahi); }
.lp-terms button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.lp-terms button[aria-checked="true"] small { color: inherit; opacity: .8; }
.lp-terms button:focus-visible { outline: 2px solid var(--bahi); outline-offset: 2px; }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.lp-plan { padding: 18px 16px 20px 0; border-right: 1px solid var(--rule); padding-left: 16px; }
.lp-plan:nth-child(3n+1) { padding-left: 0; } .lp-plan:nth-child(3n) { border-right: 0; } .lp-plan:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
.lp-plan.hi h3::after { content: "Most chosen"; font-size: 11px; font-weight: 600; color: var(--paper); background: var(--bahi); border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }
.lp-plan h3 { font-size: 20px; margin: 0 0 2px; }
.lp-for { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; min-height: 2.6em; }
.lp-amt { margin: 0; font-variant-numeric: tabular-nums; } .lp-amt s { color: var(--ink-2); font-size: 15px; }
.lp-amt b { font-size: 28px; letter-spacing: -0.01em; } .lp-amt span { color: var(--ink-2); font-size: 14px; }
.lp-bill { font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; }
.lp-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.lp-plan li::before { content: "✓"; color: var(--bahi); font-weight: 700; margin-right: 8px; }
.lp-plan { display: flex; flex-direction: column; } .lp-plan ul { flex: 1; align-content: start; } .lp-plan .lp-plan-go { margin-top: 18px; align-self: flex-start; padding: 12px 18px; font-size: 15px; }
.lp-fine { font-size: 13px; color: var(--ink-2); margin: 18px 0 16px; }
.lp-price .btn-primary { padding: 12px 22px; font-size: 16px; }
@media (max-width: 980px) { .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-plan:nth-child(n) { border-right: 1px solid var(--rule); padding-left: 16px; border-bottom: 1px solid var(--rule); } .lp-plan:nth-child(2n) { border-right: 0; } .lp-plan:nth-child(2n+1) { padding-left: 0; } }
@media (max-width: 600px) { .lp-plans { grid-template-columns: 1fr; } .lp-plan:nth-child(n) { padding-left: 0; border-right: 0; } }
/* plan & billing */
.plan-bn { margin: 0; padding: 8px 20px; background: color-mix(in srgb, var(--bahi) 8%, var(--paper)); border-bottom: 1px solid var(--rule); font-size: 14px; }
.plan-bn.out { color: var(--out, #b42318); } .plan-bn a { margin-left: 8px; font-weight: 600; }
.pl-use { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 12px 0; }
.pl-use span { display: block; font-size: 13px; color: var(--ink-2); } .pl-use b { font-size: 18px; font-variant-numeric: tabular-nums; }
.pl-bar { height: 6px; background: var(--rule); border-radius: 3px; margin-top: 6px; overflow: hidden; } .pl-bar i { display: block; height: 100%; background: var(--bahi); }
.cr-box { border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.cr-head span { display: block; font-size: 13px; color: var(--ink-2); } .cr-head b { font-size: 20px; font-variant-numeric: tabular-nums; }
.cr-more { margin-top: 8px; } .cr-more summary { cursor: pointer; font-size: 13px; color: var(--ink-2); } .cr-more table { margin-top: 6px; }
.cr-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pl-card { border: 1px solid var(--rule); border-radius: 10px; padding: 14px; min-width: 0; display: flex; flex-direction: column; } .pl-card.cur { border-color: var(--bahi); box-shadow: inset 0 0 0 1px var(--bahi); }
.pl-card h3 { margin: 0 0 4px; font-size: 17px; } .pl-amt { margin: 0 0 6px; white-space: nowrap; font-size: 13px; color: var(--ink-2); } .pl-amt s { color: var(--ink-2); font-size: 13px; } .pl-amt b { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); }
.pl-card .btn-sm { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: normal; text-align: left; }
.pl-card .small { margin-bottom: 10px; }
@media (max-width: 600px) { .pl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pl-cards { grid-template-columns: 1fr; } } @media (max-width: 600px) { .pl-use { grid-template-columns: 1fr; } }

/* RERA certificates (MahaRERA Forms 1, 2, 3, 5) */
.rc-doc{background:#fff;color:#111;max-width:860px;margin:0 auto 24px;padding:36px 44px;border:1px solid #d5dbe7;border-radius:4px;box-shadow:0 1px 0 #e6e9f0;font:13.5px/1.55 Calibri,Arial,sans-serif}
.rc-doc p{margin:6px 0}
.rc-h{text-align:center;margin-bottom:14px}.rc-h b{font-size:17px;letter-spacing:.5px}.rc-h div{font-size:12px;color:#444}.rc-h .rc-sub{font-weight:600;color:#111;margin-top:4px}
.rc-th{font-weight:700;color:#6e1424;margin:18px 0 6px}
.rc-t{width:100%;border-collapse:collapse;margin:4px 0 10px;font-size:12.5px}
.rc-t th{background:#8c1c2e;color:#fff;font-weight:600;text-align:left;padding:6px 8px;border:1px solid #8c1c2e}
.rc-t td{border:1px solid #c9cfdb;padding:5px 8px;vertical-align:top}
.rc-t td:first-child{width:46px;color:#555}
.rc-n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:120px}
.rc-sec td{background:#f6e7ea;font-weight:700;color:#6e1424}
.rc-tot td{background:#eceff6;font-weight:700}
.rc-grand td{background:#dde3ef;font-weight:700;border-top:2px solid #18213d}
.rc-c{background:#fff8e1}
.rc-tot .rc-c,.rc-grand .rc-c{background:inherit}
.rc-doc [contenteditable]{outline:none;cursor:text}
.rc-doc td[contenteditable]:hover,.rc-f:hover{background:#eef4ff}
.rc-doc [contenteditable]:focus{background:#e3edff;box-shadow:inset 0 0 0 2px #3b6fd8}
.rc-f{display:inline-block;min-width:90px;border-bottom:1px dotted #8a93a8;padding:0 3px}.rc-f.rc-w{min-width:260px}
.rc-f:empty::before{content:attr(data-ph);color:#9aa3b5;font-style:italic}
.rc-sign{display:flex;justify-content:space-between;gap:30px;margin-top:30px}.rc-sign>div{flex:1}
@media (max-width:700px){.rc-doc{padding:18px 14px}.rc-sign{flex-direction:column}}
@media print{.rc-noprint{display:none}}

/* industry checks on Home */
.hd-sector-tips { padding: 10px 16px; }
.hd-sector-tips summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; }
.hd-sector-tips summary::-webkit-details-marker { display: none; }
.hd-sector-tips summary::before { content: "›"; display: inline-block; transition: transform .15s; color: var(--muted, #5b6278); }
.hd-sector-tips details[open] summary::before { transform: rotate(90deg); }
.hd-sector-tips ul { margin: 8px 0 10px; padding-left: 20px; }
.hd-sector-tips li { margin: 3px 0; }
@media (prefers-reduced-motion: reduce) { .hd-sector-tips summary::before { transition: none; } }

/* landing: demo button, industries, CA, FAQ, WhatsApp, demo walkthrough */
.lp-play { display: inline-flex; align-items: center; gap: 8px; margin: -12px 0 24px; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.lp-play span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--bahi); font-size: 11px; padding-left: 2px; }
.lp-play small { font-weight: 500; opacity: .8; }
.lp-play:hover, .lp-play:focus-visible { background: rgba(255,255,255,.16); }
.lp-ind, .lp-faq { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-ind h2, .lp-faq h2, .lp-ca h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 8px; }
.lp-ind-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.lp-ind-g > div { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.lp-ind-g h3 { font-size: 17px; margin: 0 0 8px; color: var(--bahi); }
.lp-ind-g ul { margin: 0; padding: 0; list-style: none; }
.lp-ind-g li { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); padding: 3px 0 3px 14px; position: relative; }
.lp-ind-g li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: var(--bahi); }
.lp-ca { max-width: 1120px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 32px clamp(20px, 5vw, 64px); background: var(--ink); color: #fff; display: flex; gap: 24px 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: var(--r-md); }
.lp-ca h2 { color: #fff; }
.lp-ca p { margin: 6px 0 0; font-size: 17px; line-height: 1.5; max-width: 56ch; color: rgba(255,255,255,.86); }
.lp-ca .lp-ca-2 { font-weight: 600; color: #fff; }
.lp-ca-go { color: var(--ink); background: #fff; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: var(--r-md); white-space: nowrap; }
.lp-ca-go:hover, .lp-ca-go:focus-visible { background: #F6E8EA; }
.lp-faq details { border-top: 1px solid var(--rule); }
.lp-faq details:last-child { border-bottom: 1px solid var(--rule); }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--bahi); font-size: 22px; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 72ch; }
.lp-wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 8px; background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 16px 11px 13px; border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.lp-wa svg { width: 22px; height: 22px; }
.lp-wa:hover, .lp-wa:focus-visible { background: #186640; }
@media (max-width: 600px) { .lp-wa span { display: none; } .lp-wa { padding: 13px; } }
@media (max-width: 880px) { .lp-ind-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lp-ind-g { grid-template-columns: 1fr; } .lp-ca { border-radius: 0; } }
.lpv { min-width: min(520px, 80vw); }
.lpv-bar { height: 4px; background: var(--rule); border-radius: 4px; overflow: hidden; margin-bottom: 14px; } .lpv-bar i { display: block; height: 100%; width: 0; background: var(--bahi); }
.lpv h3 { margin: 0 0 4px; font-size: 20px; }
.lpv ul { list-style: none; margin: 14px 0; padding: 0; min-height: 176px; }
.lpv li { padding: 10px 12px; margin-bottom: 6px; border: 1px solid var(--rule); border-left: 3px solid var(--bahi); border-radius: 6px; background: var(--sheet); font-size: 14.5px; opacity: 0; animation: lpvIn .4s ease forwards; }
@keyframes lpvIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lpv-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--ink-3); font-size: 13px; }
.lpv .btn-primary { width: 100%; }
@media (prefers-reduced-motion: reduce) { .lpv li { animation: none; opacity: 1; } }
.lp-works { padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-works h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; letter-spacing: -0.01em; }
.lp-works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-works li { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 99px; background: var(--sheet); font-size: 14.5px; font-weight: 500; }
.lp-move { max-width: 1120px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 20px clamp(20px, 5vw, 64px); display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--bahi-lt, #F6E8EA); border-left: 4px solid var(--bahi); }
.lp-move div { font-size: 17px; line-height: 1.5; max-width: 62ch; } .lp-move b { color: var(--bahi); }

/* landing v2: sticky nav, chips, numbers, compare, trust, end band, mobile CTA */
.lp-top { position: sticky; top: 0; z-index: 25; gap: 16px; }
.lp-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.lp-nav a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 500; font-size: 15px; }
.lp-nav a:hover, .lp-nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lp-top-r { display: flex; gap: 10px; align-items: center; }
.lp-start { color: var(--bahi); background: #fff; font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: var(--r-md); }
.lp-start:hover, .lp-start:focus-visible { background: #F6E8EA; }
@media (max-width: 960px) { .lp-nav { display: none; } }
@media (max-width: 420px) { .lp-brand small { display: none; } .lp-top-r { gap: 6px; } .lp-signin, .lp-start { padding: 6px 10px; font-size: 14px; } }
.lp-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lp-chips li { font-size: 14px; color: rgba(255,255,255,.92); padding-left: 20px; position: relative; }
.lp-chips li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: #fff; }
.lp-stats { max-width: 1120px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 64px) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.lp-stats > div { padding: 18px 20px 18px 0; border-bottom: 2px solid var(--ink); }
.lp-stats b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--bahi); line-height: 1.05; }
.lp-stats span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-vs { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; }
.lp-vs h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 20px; }
.lp-vs-t { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
.lp-vs-r { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.15fr); border-top: 1px solid var(--rule); }
.lp-vs-r:first-child { border-top: 0; }
.lp-vs-r > span { padding: 13px 18px; font-size: 15px; line-height: 1.45; }
.lp-vs-r > span:first-child { font-weight: 700; }
.lp-vs-h > span { font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--tint); padding-top: 10px; padding-bottom: 10px; }
.lp-vs-o { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(140,28,46,.35); }
.lp-vs-h .lp-vs-o { text-decoration: none; }
.lp-vs-n, .lp-vs-h > span:last-child { border-left: 2px solid var(--bahi); font-weight: 600; }
.lp-vs-r:not(.lp-vs-h) .lp-vs-n::before { content: "✓ "; color: var(--ok); }
@media (max-width: 760px) { .lp-vs-r { grid-template-columns: 1fr; } .lp-vs-h { display: none; } .lp-vs-r > span { padding: 4px 16px; } .lp-vs-r > span:first-child { padding-top: 12px; } .lp-vs-r > span:last-child { padding-bottom: 12px; margin-left: 16px; padding-left: 10px; } }
.lp-trust { max-width: 1120px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0 clamp(20px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-trust b { display: block; font-size: 16px; margin-bottom: 4px; }
.lp-trust span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 860px) { .lp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lp-trust { grid-template-columns: 1fr; } }
.lp-end { background: var(--bahi); color: #fff; border-top: 0; border-radius: var(--r-md); padding: 36px clamp(20px, 5vw, 56px); }
.lp-end h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0 0 6px; color: #fff; }
.lp-end p { color: rgba(255,255,255,.88); font-size: 17px; }
.lp-end-b { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-end .btn-primary { background: #fff; color: var(--bahi); border-color: #fff; font-weight: 700; }
.lp-end-demo { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: var(--r-md); padding: 12px 18px; font: 600 16px var(--font); cursor: pointer; }
.lp-mcta { display: none; }
@media (max-width: 760px) { .lp-mcta { position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 29; transform: translateY(140%); transition: transform .25s ease; display: block; }
  .lp-mcta.on { transform: none; } .lp-mcta .btn-primary { width: 100%; padding: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.25); } }
@media (prefers-reduced-motion: reduce) { .lp-mcta { transition: none; } }
.lp-ca-b { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.lp-ca-2go { color: #fff; text-align: center; font-weight: 600; font-size: 14.5px; }

/* settings: privacy & data */
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0 6px; }
.pv-card { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 14px 16px; background: var(--sheet); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pv-card h3 { margin: 0; font-size: 15px; } .pv-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; flex: 1; }
.pv-danger { border-color: rgba(192,57,43,.35); }
.pv-h { font-size: 14px; margin: 18px 0 4px; color: var(--ink-2); }
label.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 8px 0; line-height: 1.4; } label.chk input { margin-top: 3px; }
.banner.warn { background: #FBEDE3; border: 1px solid #E8C2A6; color: #7A3A12; border-radius: var(--r-md); padding: 10px 14px; margin: 8px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cf-ts { margin: 6px 0; min-height: 0; }
/* quick landing preview shown before the app loads (hidden once signed in) */
.vs-signed #lp-pre { display: none; }
html:not(.vs-signed) #app > .vs-boot { display: none; }
/* password checklist */
.pw-meter { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.pw-bar { height: 5px; border-radius: 4px; background: var(--rule); overflow: hidden; margin-bottom: 4px; }
.pw-bar i { display: block; height: 100%; width: 0; transition: width .2s; }
.pw-bar.weak i { width: 33%; background: #c0392b; } .pw-bar.good i { width: 70%; background: #D99A1E; } .pw-bar.strong i { width: 100%; background: var(--ok, #1F7A4D); }
.pw-meter ul { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.pw-meter li.ok { color: var(--ok, #1F7A4D); font-weight: 600; }
.pw-tip { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .pw-bar i { transition: none; } }
/* brand mark (Balanced V) */
.lp-brand, .auth-cover .brand, .side .brand { background: url(logo-mark.svg?v=1) no-repeat left center; }
.lp-brand { padding-left: 46px; background-size: 36px 36px; min-height: 36px; display: inline-block; }
.auth-cover .brand { padding-left: 38px; background-size: 28px 28px; min-height: 28px; line-height: 28px; }
.side .brand { padding-left: 38px; background-size: 30px 30px; min-height: 32px; display: flex; flex-direction: column; justify-content: center; }
/* products menu, modules section, book a demo */
.lp-pm { position: relative; }
.lp-pm summary { list-style: none; cursor: pointer; color: rgba(255,255,255,.88); font-weight: 500; font-size: 15px; }
.lp-pm summary::-webkit-details-marker { display: none; }
.lp-pm summary::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.lp-pm[open] summary, .lp-pm summary:hover, .lp-pm summary:focus-visible { color: #fff; }
.lp-pm-p { position: absolute; top: calc(100% + 14px); left: -16px; width: min(640px, 90vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  background: #fff; border-radius: var(--r-md); box-shadow: 0 18px 48px rgba(24,33,61,.22); padding: 10px; z-index: 40; }
.lp-nav .lp-pm-p a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lp-nav .lp-pm-p a b { display: block; font-weight: 600; }
.lp-nav .lp-pm-p a span { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 400; }
.lp-nav .lp-pm-p a:hover, .lp-nav .lp-pm-p a:focus-visible { background: #F6E8EA; text-decoration: none; color: var(--ink); }
.lp-book { background: transparent; color: #fff; border: 0; font: 600 15px var(--font); cursor: pointer; padding: 7px 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.5); }
.lp-book:hover, .lp-book:focus-visible { text-decoration-color: #fff; }
@media (max-width: 600px) { .lp-book { display: none; } }
.lp-hb { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 24px; } .lp-hb .lp-play { margin: 0; }
.lp-play2 { background: #fff; color: var(--bahi); border-color: #fff; } .lp-play2:hover, .lp-play2:focus-visible { background: #F6E8EA; }
.lp-mods { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; scroll-margin-top: 70px; }
.lp-mods-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; border-top: 2px solid var(--ink); }
.lp-mods-g > div { padding: 18px 0 20px; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.lp-mods-g h3 { font-size: 18px; margin: 0; color: var(--bahi); }
.lp-mods-g p { margin: 2px 0 10px; font-size: 14px; color: var(--ink-2); font-style: italic; }
.lp-mods-g ul { margin: 0; padding: 0; list-style: none; }
.lp-mods-g li { font-size: 14.5px; line-height: 1.45; color: var(--ink); padding: 3px 0 3px 14px; position: relative; }
.lp-mods-g li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: var(--bahi); }
.lp-mods-b { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 0; color: var(--ink-2); }
@media (max-width: 880px) { .lp-mods-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lp-mods-g { grid-template-columns: 1fr; } }
.lp-end-b { flex-wrap: wrap; }
.lp-mcta-d { display: none; }
@media (max-width: 760px) { .lp-mcta { display: flex; gap: 8px; } .lp-mcta .btn-primary { flex: 1; width: auto; }
  .lp-mcta-d { display: block; background: #fff; color: var(--bahi); border: 1px solid var(--bahi); border-radius: var(--r-md); font: 600 15px var(--font); padding: 0 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); } }
.bd .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 560px) { .bd .row { grid-template-columns: 1fr; } }
.bd-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 4px; } .bd-ok input { margin-top: 3px; }
.bd-done h3 { margin: 4px 0 8px; } .bd-done .actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* refer & earn */
.tb-ref { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--bahi-lt, #F6E8EA); color: var(--bahi); font-weight: 700; font-size: 13.5px; border: 1px solid transparent; white-space: nowrap; }
.tb-ref:hover, .tb-ref:focus-visible { border-color: var(--bahi); }
.tb-ref .ico, .lp-ref .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 1100px) { .tb-ref { width: 34px; padding: 0; justify-content: center; } .tb-ref span { display: none; } }
.lp-ref { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 6px 12px; font: 600 14px var(--font); cursor: pointer; white-space: nowrap; }
.lp-ref:hover, .lp-ref:focus-visible { background: rgba(255,255,255,.2); }
@media (max-width: 1180px) { .lp-ref span { display: none; } .lp-ref { padding: 7px; } }
.ref-how { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: rh; }
.ref-how li { counter-increment: rh; border-top: 2px solid var(--bahi); padding-top: 8px; }
.ref-how li::before { content: counter(rh); font-weight: 800; color: var(--bahi); margin-right: 6px; }
.ref-how b { font-size: 15px; } .ref-how span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 560px) { .ref-how { grid-template-columns: 1fr; } }
.ref-ex { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 14px; } .ref-ex th, .ref-ex td { padding: 7px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.ref-ex th { font-size: 12.5px; color: var(--ink-2); font-weight: 600; } .ref-ex .money { text-align: right; }
.ref-link { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; } .ref-link input { flex: 1 1 260px; font-weight: 600; }
.ref-wa { background: #1F7A4D; color: #fff; text-decoration: none; border-color: #1F7A4D; }
.ref-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ref-sum div { background: var(--paper, #F5F6F8); border-radius: 10px; padding: 10px 12px; } .ref-sum span { display: block; font-size: 12.5px; color: var(--ink-2); } .ref-sum b { font-size: 19px; }
.ref-pay { border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; } .ref-pay h3 { margin: 0 0 8px; font-size: 16px; }
.ref-pay .row { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 0 12px; } @media (max-width: 640px) { .ref-pay .row { grid-template-columns: 1fr; } }
.ref-t { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); } .ref-t summary { cursor: pointer; font-weight: 600; } .ref-t ul { padding-left: 18px; margin: 8px 0 0; } .ref-t li { margin-bottom: 4px; }
/* bank row actions, settlement mode */
.btn-xs { padding: 3px 8px; font-size: 12.5px; border-radius: 6px; min-height: 0; line-height: 1.4; }
.bk-btns { display: flex; gap: 2px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
.bk-att { cursor: pointer; display: inline-flex; align-items: center; }
th.bk-act, td.bk-act { width: 1%; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.settle-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.settle-opt { display: block; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.settle-opt.on { border-color: var(--bahi); background: var(--bahi-lt); }
.settle-opt input { margin-right: 6px; } .settle-opt b { font-size: 15px; } .settle-opt span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 640px) { .settle-opts { grid-template-columns: 1fr; } }
.settle-how { display: block; margin-top: 2px; }
/* setup guide: documents by e-mail & WhatsApp */
.guide details { border-top: 1px solid var(--rule); padding: 8px 0; }
.guide details:last-child { border-bottom: 1px solid var(--rule); }
.guide summary { cursor: pointer; font-weight: 600; padding: 2px 0; }
.guide .g-body { padding: 4px 0 2px; font-size: 14px; line-height: 1.55; }
.guide ol, .guide ul { margin: 6px 0 6px 20px; padding: 0; }
.guide li { margin: 4px 0; }
.guide code { word-break: break-all; }
.fwd-code .btn-sm { margin-right: 4px; }
/* pay by UPI */
.upi-pay { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-top: 6px; }
.upi-pay .upi-qr { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 8px; line-height: 0; }
.upi-pay .upi-qr svg { width: 210px; height: 210px; }
.upi-pay > div:last-child { flex: 1 1 260px; min-width: 0; }
.blocked-list { margin: 8px 0; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 8px 10px; }
.blocked-list summary { cursor: pointer; }

/* fixed asset register import */
.far-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 6px 0 10px; }
.far-checks .ok { color: var(--ink); } .far-checks .ok::before { content: "✓ "; color: var(--ok, #2f7d4f); }
.far-checks .out::before { content: "≠ "; }
.far-issues, .far-cols { margin: 8px 0; font-size: 14px; } .far-issues ul { max-height: 160px; overflow: auto; margin: 6px 0; }
.far-colgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 12px; margin: 10px 0; }
.far-colgrid label { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.far-colgrid .small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.far-colgrid select { font-size: 13px; }
.far-sel { min-width: 170px; max-width: 230px; }
/* home: last year / custom dates */
.hd-range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -6px 0 14px; font-size: 14px; }
.hd-range label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
.hd-range input[type=date] { padding: 4px 8px; font-size: 13px; }
@media (max-width: 640px) { .hd-seg { flex-wrap: wrap; } .hd-seg button { flex: 1 0 30%; } }
/* full screen reports: menu and top bar hidden, report uses the whole width */
body.rp-full .shell { grid-template-columns: 1fr; }
body.rp-full .side, body.rp-full .topbar { display: none; }
body.rp-full .main { padding: 14px 18px 48px; }
body.rp-full .rp-wrap { grid-template-columns: 170px 1fr; }
body.rp-full .page-head { margin-bottom: 10px; }
#rpfab { position: fixed; right: 18px; bottom: 18px; z-index: 40; padding: 7px 12px; font-size: 13px; border-radius: 18px; background: var(--sheet, #fff); border: 1px solid var(--rule, #ccc); box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; }
@media print { #rpfab { display: none; } }
/* wide reports scroll sideways with the first column fixed */
.rp-scroll { overflow-x: auto; max-width: 100%; }
.rp-wide table.ledger { width: max-content; min-width: 100%; }
.rp-wide td, .rp-wide th { white-space: nowrap; }
.rp-wide td:first-child, .rp-wide th:first-child { position: sticky; left: 0; z-index: 1; background: var(--sheet, #fff); max-width: 280px; white-space: normal; box-shadow: 1px 0 0 var(--rule, #ddd); }
.rp-wide tr.rp-sec td:first-child { background: var(--paper); }
/* ledger balance under the ledger name in an entry */
.ln-acc { display: flex; flex-direction: column; min-width: 0; }
.ln-acc select { width: 100%; }
.ln-bal { font-size: 12px; color: var(--ink-3); margin-top: 3px; min-height: 0; font-variant-numeric: tabular-nums; }
.ln-bal:empty { display: none; }
.ln-bal.out { color: var(--err); }
.lines .ln { align-items: start; }
/* notifications bell, and a tighter top bar so the search keeps its width */
.tb-bell { position: relative; width: 34px; height: 34px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: var(--sheet); }
.tb-bell .ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-dot { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--err); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--sheet); }
.tb-npop { width: 320px; right: 0; left: auto; }
.tb-nh { font-weight: 700; font-size: 13px; padding: 6px 10px 8px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.hd-pop a.tb-n { white-space: normal; line-height: 1.35; border-left: 3px solid var(--rule); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 2px 0; }
.hd-pop a.tb-n.warn { border-left-color: var(--warn); }
.hd-pop a.tb-n.err { border-left-color: var(--err); }
.hd-pop a.tb-nall { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--rule); margin-top: 4px; border-radius: 0; }
@media (min-width: 901px) {
  .topbar { gap: 8px; padding: 10px 24px; }
  .topbar .crumb { font-size: 13px; }
  .tb-ref { height: 32px; padding: 0 10px; font-size: 12.5px; gap: 5px; }
  .tb-theme, .tb-help, .tb-bell, .tb-user { width: 32px; height: 32px; }
  .topbar .tb-new { height: 32px; padding: 0 12px; font-size: 13.5px; }
}
/* Form 3CD working */
.f3-wrap { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; }
.f3-nav { position: sticky; top: 12px; display: flex; flex-wrap: wrap; gap: 4px; max-height: calc(100vh - 40px); overflow: auto; padding: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--sheet); }
.f3-nav a { font-size: 12.5px; padding: 3px 7px; border-radius: 6px; text-decoration: none; color: var(--ink-2); border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.f3-nav a:hover, .f3-nav a:focus-visible { border-color: var(--bahi); color: var(--bahi); }
.f3-nav a.f3-open { color: var(--ink); background: color-mix(in srgb, var(--bahi) 10%, transparent); }
.f3-part { margin: 22px 0 4px; font-size: 18px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.f3-c { padding: 14px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.f3-c h3 { font-size: 14.5px; font-weight: 600; margin: 0 0 8px; line-height: 1.45; max-width: 88ch; }
.f3-c h3 span { color: var(--bahi); margin-right: 4px; font-variant-numeric: tabular-nums; }
.f3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; }
.f3-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.f3-t { width: 100%; margin-top: 6px; font: inherit; font-size: 14px; }
.f3-in { width: 100%; min-width: 90px; font: inherit; font-size: 13.5px; }
.f3-in.money { text-align: right; }
.f3-yn { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.f3-yn label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
@media (max-width: 860px) { .f3-wrap { grid-template-columns: 1fr; } .f3-nav { position: static; max-height: none; } }
.f3-ph { margin: 10px 0 4px; font-size: 13.5px; color: var(--ink); max-width: 92ch; }
.f3-amt { display: inline-flex; align-items: center; gap: 6px; } .f3-amt input { width: 160px; }
.f3-rows td { padding: 3px 4px; } .f3-rows input { min-width: 110px; }
/* install the app (PWA) */
.pwa-b { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.pwa-b img { border-radius: 9px; flex: 0 0 auto; }
.pwa-b div { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); } .pwa-b div b:first-child { color: var(--ink); font-size: 14px; }
.field .chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; font-size: 14px; color: var(--ink); margin: 0; }
/* counter billing (POS) */
.pos-open { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pos-open .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pos-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.pos-wrap .sheet { margin: 0; }
.pos-right { position: sticky; top: 12px; }
#poss { font-size: 18px; padding: 12px; }
.pos-res { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 10px; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; max-height: 62vh; overflow: auto; }
.pos-grid button { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 72px; text-align: left; padding: 10px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sheet); color: var(--ink); cursor: pointer; font: inherit; }
.pos-grid button:hover { border-color: var(--ink-3); background: var(--hover); }
.pos-grid button b { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; } .pos-grid button span { font-size: 13px; color: var(--ink-2); }
.pos-lines { max-height: 46vh; overflow: auto; border-top: 1px solid var(--rule); }
.pos-ln { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.pos-nm { min-width: 0; overflow-wrap: anywhere; } .pos-q { display: flex; gap: 4px; align-items: center; } .pos-q input { width: 54px; text-align: center; padding: 5px; }
.pos-a { font-weight: 600; }
.pos-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; } .pos-tot strong { font-size: 30px; font-weight: 800; }
.pos-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .pos-act .btn-primary { min-width: 120px; font-size: 16px; }
.pos-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pos-mode { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 8px 12px; cursor: pointer; font-weight: 600; margin: 0; }
.pos-mode:has(input:checked) { border-color: var(--ink); background: var(--hover); }
.pos-change { font-size: 22px; font-weight: 800; padding-top: 6px; }
@media (max-width: 860px) { .pos-wrap { grid-template-columns: 1fr; } .pos-right { position: static; } .pos-grid { max-height: 40vh; } }
/* quick answers in the search box and the assistant */
.qa-ans { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--rule); border-left: 4px solid var(--ok); border-radius: var(--r-sm); padding: 12px 14px; margin: 8px 0 10px; background: var(--sheet); }
.qa-h { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.qa-s { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.qa-act { display: flex; gap: 6px; } .qa-act .btn-sm, .qa-say { display: inline-flex; gap: 5px; align-items: center; }
.pvl { width: auto; padding: 1px 4px; font-size: 12px; display: inline-block; }
.newver{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:9999;background:var(--ink,#1c2333);color:#fff;padding:10px 14px;border-radius:10px;display:flex;gap:10px;align-items:center;box-shadow:0 6px 24px rgba(0,0,0,.25);font-size:14px}
.linkish { background: none; border: 0; padding: 2px 0; color: var(--bahi); cursor: pointer; text-decoration: underline; font: inherit; }
tr.cr-sub td { background: var(--tint); } tr.cr-sub select { max-width: 260px; }
.rp-box textarea { width: 100%; min-height: 110px; }
/* Your CA: requests and messages */
.ca-rq { border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 10px; background: var(--paper, #fff); }
.ca-rq > summary { cursor: pointer; list-style: revert; }
.ca-items { list-style: none; padding: 0; margin: 8px 0; font-size: 14px; }
.ca-items li.done { color: var(--ok); }
.ca-thread { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.ca-msg { max-width: 78%; padding: 8px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; background: var(--rule); align-self: flex-start; }
.ca-msg.company { align-self: flex-end; background: var(--ok-lt); }
.ca-reply textarea { width: 100%; }
.ca-reply-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.ca-reply-bar select { max-width: 280px; }
/* drawing power statement */
.ledger tr.sub td { font-weight: 600; }
.ledger tr.total td { font-weight: 700; border-top: 1px solid var(--rule-2); }
.ledger tr.ok td { color: var(--ok); }
.ledger tr.err td { color: var(--err); }

/* "type to find" box above long pick-lists */
.selfind { width: 100%; margin: 0 0 6px; padding: 6px 10px; font-size: 13px; border: 1px dashed var(--line, #d0d5dd); border-radius: 8px; background: transparent; }
.selfind:focus { border-style: solid; outline: none; }
/* invoice / bill list: status filter chips */
.toggles .seg { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-right: 8px; }
.toggles .seg .btn-sm.on { background: var(--ink, #1d2939); color: #fff; border-color: var(--ink, #1d2939); }
/* invoice editor: customer's order no. / ship-to (folded) */
details.gmore{margin:6px 0 10px;border:1px dashed var(--line,#DCE2EE);border-radius:6px;padding:6px 10px}
details.gmore summary{cursor:pointer;font-size:13px;color:var(--muted,#4A5373)}
details.gmore[open] summary{margin-bottom:6px}

/* landing: customers (logos in ledger columns) */
.lp-cust { max-width: 1120px; margin: 0 auto; padding: 36px clamp(20px, 5vw, 64px) 0; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.lp-cust h2 { font-size: 15px; font-weight: 600; color: var(--ink-3); margin: 0; line-height: 1.35; max-width: 16ch; }
.lp-cust-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-cust-l li { padding: 14px 22px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; min-height: 84px; justify-content: center; }
.lp-cust-l a { display: inline-flex; align-items: center; height: 38px; color: var(--ink); text-decoration: none; }
.lp-cust-l img { height: 34px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .78; transition: filter .2s, opacity .2s; }
.lp-cust-l a:hover img, .lp-cust-l a:focus-visible img { filter: none; opacity: 1; }
.lp-cust-l b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lp-cust-l span { font-size: 13px; color: var(--ink-3); }
[data-theme="dark"] .lp-cust-l img { filter: grayscale(1) invert(1) brightness(1.6); }

/* landing: compliance jobs, what is done for you */
.lp-comp { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px) 0; max-width: 1120px; margin: 0 auto; scroll-margin-top: 70px; }
.lp-comp h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 10px; }
.lp-comp-s { color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 64ch; margin: 0 0 22px; }
.lp-comp-t { border-top: 2px solid var(--ink); }
.lp-comp-h, .lp-comp-r { display: grid; grid-template-columns: 1.05fr 2fr 1.25fr 0.9fr; gap: 0 26px; }
.lp-comp-h { padding: 10px 0; border-bottom: 1px solid var(--rule-2); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.lp-comp-r { padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.lp-comp-r > span:first-child b { display: block; font-size: 17px; color: var(--ink); }
.lp-comp-r small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.lp-comp-r ul { margin: 0; padding: 0; list-style: none; }
.lp-comp-r li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin-bottom: 4px; }
.lp-comp-r li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
.lp-comp-r ul.you li::before { content: "→"; color: var(--bahi); }
.lp-comp-p b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--bahi); line-height: 1; }
.lp-comp-p i { display: block; height: 6px; margin: 8px 0 6px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.lp-comp-p i::after { content: ""; display: block; height: 100%; width: var(--p); background: var(--bahi); }
.lp-comp-n { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; max-width: 80ch; }
@media (max-width: 860px) {
  .lp-cust { grid-template-columns: 1fr; gap: 6px; }
  .lp-cust h2 { max-width: none; }
  .lp-cust-l { grid-template-columns: 1fr; }
  .lp-cust-l li { border-left: 0; border-top: 1px solid var(--rule); padding: 12px 0; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .lp-comp-h { display: none; }
  .lp-comp-r { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .lp-comp-r > span:nth-child(2), .lp-comp-r > span:nth-child(3) { grid-column: 1 / -1; }
  .lp-comp-r > span:nth-child(4) { grid-row: 1; grid-column: 2; text-align: right; min-width: 92px; }
}

/* ================= Landing v2 (Nov 2026) =================
   Display: Archivo, wide and heavy, for headlines and numbers. Body stays IBM Plex Sans.
   Colour: bahi maroon for action, ink navy for structure, one haldi (turmeric) accent on dark bands only. */
.lp { --disp: "Archivo", var(--font); --haldi: #F2B23E; --bahi-deep: #4A0E19; --ink-deep: #0F1630; background: #FFFFFF; overflow-x: clip; }
html.lp-lock:has(#lp) { overflow: hidden; }
.lp h2 { font-family: var(--disp); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; }

/* header: a floating white bar */
.lp .lp-top { position: sticky; top: 10px; margin: 10px clamp(10px, 2vw, 24px) 0; padding: 10px 12px 10px 18px; background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px; backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 6px 24px rgba(24,33,61,.06); }
.lp .lp-brand small { color: var(--ink-3); }
.lp .lp-nav a, .lp .lp-pm summary { color: var(--ink); }
.lp .lp-nav a:hover, .lp .lp-nav a:focus-visible { color: var(--bahi); }
.lp .lp-top .lp-ref { color: var(--ink); border-color: var(--rule-2); background: #fff; }
.lp .lp-top .lp-book { color: var(--ink); }
.lp .lp-top .lp-signin { color: var(--ink); border-color: var(--rule-2); }
.lp .lp-top .lp-start { background: var(--bahi); color: #fff; border-color: var(--bahi); border-radius: 10px; }
.lp .lp-top .lp-start:hover { background: var(--bahi-dk); }

/* buttons */
.lp-btn { font: 600 16px/1 var(--font); padding: 16px 24px; border-radius: 12px; border: 1.5px solid var(--bahi); background: var(--bahi); color: #fff; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.lp-btn:hover { background: var(--bahi-dk); border-color: var(--bahi-dk); }
.lp-btn small { font-weight: 500; opacity: .7; font-size: 13px; }
.lp-btn-o { background: #fff; color: var(--ink); border-color: var(--rule-2); }
.lp-btn-o:hover { background: var(--paper); border-color: var(--ink-3); }
.lp-btn-w { background: #fff; color: var(--bahi); border-color: #fff; }
.lp-btn-w:hover { background: var(--bahi-lt); border-color: var(--bahi-lt); }
.lp-btn-ow { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.lp-btn-ow:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lp-btn:focus-visible { outline: 3px solid var(--haldi); outline-offset: 3px; }

/* hero */
.lp-hero2 { text-align: center; padding: clamp(48px, 8vw, 96px) 20px clamp(36px, 5vw, 56px); max-width: 1240px; margin: 0 auto; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 6px 14px 6px 6px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: #fff; }
.lp-pill span { font: 700 11px/1 var(--font); color: #fff; background: var(--bahi); border-radius: 999px; padding: 5px 7px; letter-spacing: .04em; }
.lp-hero2 h1 { margin: 0; font-family: var(--disp); color: var(--ink); line-height: .92; }
.lp-h-s { display: block; font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; font-stretch: 100%; letter-spacing: -0.01em; margin-bottom: 10px; }
.lp-h-xl { display: block; font-size: clamp(54px, 10.2vw, 148px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; text-transform: uppercase; }
.lp-h-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 36ch; margin: 26px auto 30px; }
.lp-h-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }
.lp-h-fine { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.lp-h-fine a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* product window on a woven maroon band */
.lp-shot { position: relative; padding: clamp(28px, 4vw, 56px) clamp(12px, 3vw, 40px) 0; margin: 0 clamp(10px, 2vw, 24px); border-radius: 24px 24px 0 0; overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(25deg, rgba(0,0,0,.10) 0 1px, transparent 1px 9px),
    radial-gradient(120% 90% at 20% 0%, #A3263B 0%, var(--bahi) 38%, var(--bahi-deep) 100%); }
.lp-win { max-width: 1160px; margin: 0 auto; background: #fff; border-radius: 16px 16px 0 0; padding: 18px clamp(14px, 2.4vw, 28px) 24px; box-shadow: 0 30px 80px rgba(20,4,8,.45); font-size: 14px; color: var(--ink); text-align: left; }
.lp-win-bar { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.lp-win-v, .lp-int-v, .lp-f-mark span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bahi); color: #fff; font: 800 18px/1 var(--disp); font-stretch: 110%; flex: none; }
.lp-win-co { font-weight: 600; line-height: 1.2; } .lp-win-co small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.lp-win-ask { margin-left: auto; flex: 0 1 380px; border: 1px solid var(--rule-2); border-radius: 999px; padding: 9px 16px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.lp-win-ask i { font-style: normal; color: var(--bahi); }
.lp-win-sug { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 12px 0 16px; }
.lp-win-sug span { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 11px; background: var(--paper); }
.lp-snap { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; grid-template-rows: auto auto; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.lp-tile { padding: 14px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; min-height: 104px; }
.lp-tile small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.lp-tile > b { display: block; font: 800 clamp(22px, 2.4vw, 32px)/1.1 var(--disp); font-stretch: 108%; letter-spacing: -0.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.lp-tile em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.lp-t-sales, .lp-t-bank { grid-row: span 2; }
.lp-t-sales em { color: var(--ok); }
.lp-bars { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 46%; display: flex; gap: 5px; align-items: flex-end; }
.lp-bars i { flex: 1; background: #E6CBD0; border-radius: 3px 3px 0 0; } .lp-bars i.now { background: var(--bahi); }
.lp-ring { position: absolute; right: 18px; bottom: 18px; width: 116px; height: 116px; border-radius: 50%; background: conic-gradient(var(--ok) 0 var(--p), var(--haldi) var(--p) 100%); display: grid; place-content: center; text-align: center; }
.lp-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.lp-ring b, .lp-ring small { position: relative; } .lp-ring b { font: 800 26px/1 var(--disp); }
.lp-t-gst { grid-column: span 2; }
.lp-t-gst ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-t-gst li { font-weight: 600; font-size: 13.5px; padding-top: 8px; border-top: 3px solid var(--ok); } .lp-t-gst li.due { border-color: var(--haldi); }
.lp-t-gst li span { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.lp-split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; margin: 4px 0 8px; }
.lp-split i:nth-child(1) { background: var(--ink); } .lp-split i:nth-child(2) { background: var(--ink-3); } .lp-split i:nth-child(3) { background: var(--bahi); }
.lp-low { display: grid; grid-template-columns: 1.25fr 1fr 0.8fr; gap: 16px; margin-top: 16px; }
.lp-low > div { border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; }
.lp-shot .lp-demo { position: static; margin: 0; max-width: none; box-shadow: none; width: auto; }
.lp-demo-h { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.lp-chk ul, .lp-rep ul { list-style: none; margin: 0; padding: 0; }
.lp-chk li, .lp-rep li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 13px; }
.lp-chk li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--rule-2); border-radius: 50%; flex: none; margin-top: 1px; }
.lp-chk li.ok::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.lp-chk li em { margin-left: auto; font-style: normal; font-size: 11.5px; background: var(--warn-lt); color: var(--warn); border-radius: 6px; padding: 1px 7px; }
.lp-chk li { justify-content: flex-start; }
.lp-rep li::after { content: "↗"; color: var(--ink-3); }
.lp-prog { display: block; height: 6px; border-radius: 3px; background: var(--rule); margin: 0 0 10px; overflow: hidden; }
.lp-prog::after { content: ""; display: block; height: 100%; width: var(--p); background: var(--ok); }

/* customer logos */
.lp-logos { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); max-width: 1240px; margin: 0 auto; padding: 34px clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.lp-logos h2 { font: 500 16px/1.3 var(--font); letter-spacing: 0; color: var(--ink); margin: 0; flex: none; max-width: 15ch; }
.lp-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-around; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-logos a { display: inline-flex; align-items: center; height: 48px; color: var(--ink-2); text-decoration: none; }
.lp-logos img { height: 40px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .72; transition: opacity .2s, filter .2s; }
.lp-logos a:hover img { filter: none; opacity: 1; }
.lp-wm { font: 800 24px/1 var(--disp); font-stretch: 118%; letter-spacing: -0.01em; color: #6B7186; }

/* features: cards with a working picture of the product */
.lp-feat { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) clamp(16px, 3vw, 40px) 0; }
.lp-feat > h2, .lp-int h2, .lp-comp h2, .lp-mods h2, .lp-ledger h2, .lp-ind h2, .lp-steps h2, .lp-price h2, .lp-faq h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; margin: 0 0 14px; color: var(--ink); }
.lp-feat > h2 { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.lp-feat-g { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-feat article { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: #fff; min-height: 300px; }
.lp-feat article > div { padding: 26px 24px; }
.lp-feat h3 { font: 700 23px/1.2 var(--disp); font-stretch: 104%; margin: 0 0 12px; color: var(--ink); letter-spacing: -0.01em; }
.lp-feat article p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.lp-v { margin: 0; background: #F1EEEA; padding: 22px 0 0 18px; font-size: 12.5px; color: var(--ink); position: relative; overflow: hidden; }
.lp-v > * { background: #fff; border-radius: 10px 0 0 0; box-shadow: 0 2px 10px rgba(24,33,61,.07); }
.lp-v-h { display: flex; justify-content: space-between; padding: 12px 14px 4px; margin: 0; border-radius: 10px 0 0 0 !important; box-shadow: none !important; }
.lp-v-h span { color: var(--ok); font-weight: 600; }
.lp-v-bills .lp-prog { margin: 0 14px 0; border-radius: 3px; box-shadow: none; }
.lp-v ul { list-style: none; margin: 0; padding: 4px 14px 14px; }
.lp-v-bills { display: flex; flex-direction: column; }
.lp-v-bills > * { border-radius: 0; box-shadow: none; } .lp-v-bills { padding: 22px 0 0 18px; }
.lp-v-bills > p, .lp-v-bills > i, .lp-v-bills > ul { background: #fff; }
.lp-v-bills > p { border-radius: 10px 0 0 0; } .lp-v-bills > i { margin: 0 !important; padding: 0 14px; height: 6px; background-clip: content-box; }
.lp-v li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.lp-v em { font-style: normal; font-weight: 600; font-size: 11.5px; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.lp-v em.ok { background: var(--ok-lt); color: var(--ok); } .lp-v em.warn { background: var(--warn-lt); color: var(--warn); }
.lp-v-bank li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.lp-v-bank li span { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--ink-2); }
.lp-v-bank li b { font-variant-numeric: tabular-nums; }
.lp-v-bank li em { grid-column: 1 / -1; justify-self: start; background: var(--bahi-lt); color: var(--bahi); }
.lp-v-bank li em::before { content: "→ "; }
.lp-v-gst table { width: 100%; border-collapse: collapse; } .lp-v-gst { padding-bottom: 18px; }
.lp-v-gst th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 11.5px; padding: 12px 10px 6px; }
.lp-v-gst td { padding: 9px 10px; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-v-gst td.ok { color: var(--ok); font-weight: 600; } .lp-v-gst td.warn { color: var(--warn); font-weight: 600; }
.lp-v-chat { padding: 22px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.lp-v-chat .lp-q { align-self: flex-end; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; margin: 0; max-width: 90%; font-size: 13px; box-shadow: none; }
.lp-inv { border-radius: 10px 10px 0 0 !important; }
.lp-inv > p { display: flex; justify-content: space-between; margin: 0; padding: 12px 14px 6px; } .lp-inv > p span { color: var(--ink-3); }
.lp-inv li b { font-variant-numeric: tabular-nums; } .lp-inv li.t { font-weight: 700; border-top: 1.5px solid var(--ink); }
.lp-inv-b { gap: 8px; justify-content: flex-start !important; padding: 0 14px 14px !important; }
.lp-inv-b span { background: var(--bahi); color: #fff !important; padding: 6px 14px; border-radius: 8px; font-weight: 600; }
.lp-inv-b span + span { background: #fff; color: var(--ink) !important; border: 1px solid var(--rule-2); }

/* the numbers band */
.lp-band { margin: clamp(72px, 9vw, 120px) 0 0; background: var(--ink-deep); color: #fff; padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 56px); }
.lp-band > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: clamp(10px, 1.6vw, 18px) 0; border-bottom: 1px solid rgba(255,255,255,.14); max-width: 1240px; margin: 0 auto; }
.lp-band > div:last-child { border-bottom: 0; }
.lp-band b { font: 900 clamp(56px, 10vw, 150px)/0.95 var(--disp); font-stretch: 122%; letter-spacing: -0.04em; color: var(--haldi); font-variant-numeric: tabular-nums; }
.lp-band span { font: 600 clamp(17px, 2vw, 26px)/1.25 var(--disp); text-align: right; max-width: 18ch; color: #fff; }

/* sections that follow keep the old content, new type */
.lp .lp-comp { padding-top: clamp(72px, 9vw, 120px); max-width: 1240px; }
.lp .lp-comp-p b { font-family: var(--disp); font-stretch: 115%; font-weight: 900; }
.lp .lp-mods, .lp .lp-ledger, .lp .lp-ind, .lp .lp-steps, .lp .lp-price, .lp .lp-faq { max-width: 1240px; margin-left: auto; margin-right: auto; }
.lp .lp-mods { padding-top: clamp(72px, 9vw, 120px); }
.lp .lp-mods h3, .lp .lp-ind h3 { font-family: var(--disp); font-stretch: 105%; }

/* integrations: a row of tiles around the V */
.lp-int { text-align: center; padding: clamp(72px, 9vw, 120px) 0 0; }
.lp-int .lp-sub2 { margin: 0 auto 36px; max-width: 60ch; padding: 0 20px; }
.lp-int-r { list-style: none; margin: 0; padding: 18px 0; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-int-r li { flex: none; width: 92px; height: 92px; border-radius: 22px; border: 1px solid var(--rule); background: #fff; display: grid; place-items: center; text-align: center; font: 700 12.5px/1.2 var(--font); color: var(--ink-2); padding: 8px; box-shadow: 0 2px 8px rgba(24,33,61,.05); }
.lp-int-r li.lp-int-v { width: 150px; height: 150px; border-radius: 36px; font-size: 76px; color: #fff; border: 0; background: linear-gradient(160deg, #A3263B, var(--bahi) 55%, var(--bahi-deep)); box-shadow: 0 18px 40px rgba(140,28,46,.35); }

/* founder + trust */
.lp-who { max-width: 1240px; margin: clamp(72px, 9vw, 120px) auto 0; padding: 0 clamp(16px, 3vw, 40px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.lp-who-q { background: #F1EEEA; border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.lp-who-q h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; margin: 0 0 16px; }
.lp-who-q > p { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 46ch; }
.lp-who-by { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; margin: 0; }
.lp-who-by span { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 18px/1 var(--disp); }
.lp-who-by small { color: var(--ink-3); }
.lp-who-by img { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line, #e3e6ee); }
.lp-who-t { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--rule); border-radius: 20px; }
.lp-who-t li { padding: 22px 26px; border-bottom: 1px solid var(--rule); } .lp-who-t li:last-child { border-bottom: 0; }
.lp-who-t b { display: block; font: 700 19px/1.25 var(--disp); margin-bottom: 6px; } .lp-who-t span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* closing call: huge type on maroon */
.lp-end2 { margin: clamp(72px, 9vw, 120px) clamp(10px, 2vw, 24px) 0; border-radius: 24px; overflow: hidden; color: #fff; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px), radial-gradient(120% 120% at 80% 100%, #A3263B 0%, var(--bahi) 40%, var(--bahi-deep) 100%); }
.lp-end2-w { margin: 0 0 clamp(24px, 3vw, 40px); font: 900 clamp(48px, 9.4vw, 140px)/0.9 var(--disp); font-stretch: 125%; letter-spacing: -0.04em; text-transform: uppercase; color: var(--haldi); }
.lp-end2-c { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end; border-top: 1px solid rgba(255,255,255,.25); padding-top: 26px; }
.lp-end2-c h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0; color: #fff; line-height: 1.1; }
.lp-end2-c p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 17px; }
.lp-end2-c > span { display: flex; gap: 10px; flex-wrap: wrap; grid-row: span 2; }

/* footer */
.lp-foot2 { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 48px) 110px; color: var(--ink); }
.lp-f-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.lp-f-co p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 32ch; }
.lp-f-mark { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink) !important; }
.lp-f-ct a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; margin-bottom: 4px; } .lp-f-ct a:hover { color: var(--bahi); }
.lp-f-so { display: flex; gap: 8px; }
.lp-f-so a { width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 10px; display: grid; place-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px; }
.lp-f-so a:hover { border-color: var(--ink); }
.lp-foot2 nav h3 { font: 700 14px/1.2 var(--font); margin: 0 0 14px; color: var(--ink); }
.lp-foot2 nav a { display: block; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 5px 0; }
.lp-foot2 nav a:hover { color: var(--bahi); }
.lp-f-big { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.lp-f-word { margin: 0; font: 900 clamp(64px, 12.5vw, 190px)/0.8 var(--disp); font-stretch: 118%; letter-spacing: -0.05em; color: var(--ink); }
.lp-f-badges { list-style: none; margin: 0 0 10px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.lp-f-badges li { border: 1px solid var(--rule-2); border-radius: 12px; padding: 9px 12px; font-size: 12px; line-height: 1.3; min-width: 104px; }
.lp-f-badges b { display: block; font-size: 13px; color: var(--ink); } .lp-f-badges span { color: var(--ink-3); }
.lp-f-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.lp-f-legal p { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; max-width: 110ch; }

/* sign-in / sign-up over the page */
.lp-auth { position: fixed; inset: 0; z-index: 60; background: rgba(15,22,48,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.lp-auth[hidden] { display: none; }
.lp-auth-c { position: relative; background: #fff; border-radius: 18px; width: min(460px, 100%); padding: 8px 4px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.lp-auth-c .lp-panel { background: none; min-height: 0; padding: 18px 22px; display: block; }
.lp-auth-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: var(--paper); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); z-index: 1; }

@media (max-width: 1020px) {
  .lp-snap { grid-template-columns: 1fr 1fr; } .lp-t-sales, .lp-t-bank { grid-row: auto; min-height: 170px; } .lp-t-gst { grid-column: 1 / -1; }
  .lp-low { grid-template-columns: 1fr 1fr; } .lp-rep { display: none; }
  .lp-feat-g { grid-template-columns: 1fr; }
  .lp-f-cols { grid-template-columns: 1fr 1fr 1fr; } .lp-f-co { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .lp .lp-top { top: 6px; margin: 6px 8px 0; }
  .lp-win-sug, .lp-win-ask { display: none; }
  .lp-snap { grid-template-columns: 1fr; } .lp-t-ar, .lp-t-ap { display: none; }
  .lp-low { grid-template-columns: 1fr; } .lp-chk { display: none; }
  .lp-logos { flex-direction: column; align-items: flex-start; gap: 14px; } .lp-logos ul { justify-content: space-between; width: 100%; gap: 18px; }
  .lp-logos img { height: 30px; } .lp-wm { font-size: 18px; }
  .lp-feat article { grid-template-columns: 1fr; min-height: 0; }
  .lp-band > div { flex-direction: column; align-items: flex-start; gap: 4px; } .lp-band span { text-align: left; }
  .lp-int-r li { width: 70px; height: 70px; border-radius: 18px; font-size: 11px; } .lp-int-r li.lp-int-v { width: 104px; height: 104px; font-size: 52px; border-radius: 26px; }
  .lp-who { grid-template-columns: 1fr; }
  .lp-end2-c { grid-template-columns: 1fr; } .lp-end2-c > span { grid-row: auto; }
  .lp-f-cols { grid-template-columns: 1fr 1fr; }
  .lp-f-badges li { min-width: 0; flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) { .lp-logos img { transition: none; } }
/* landing v2 fixes */
.lp-end2-c > h2, .lp-end2-c > p { grid-column: 1; }
.lp-end2-c > span { grid-column: 2; grid-row: 1 / span 2; }
.lp-f-mark { gap: 0; } .lp-f-mark span { margin-right: 10px; } .lp-f-mark b { margin-left: .3em; }
.lp-int-r { padding: 30px 0 56px; }
.lp-shot { padding-bottom: clamp(28px, 4vw, 56px); border-radius: 24px; }
.lp-win { border-radius: 16px; }
.lp-v-gst { padding-right: 18px; } .lp-v-gst table { border-radius: 10px 10px 0 0; } .lp-v-gst > table { background: #fff; box-shadow: 0 2px 10px rgba(24,33,61,.07); }
.lp-v-gst th, .lp-v-gst td { padding-left: 8px; padding-right: 8px; }
@media (max-width: 700px) { .lp-end2-c > span { grid-column: 1; grid-row: auto; } }
@media (max-width: 700px) {
  .lp .lp-top { padding: 8px 8px 8px 12px; }
  .lp .lp-top .lp-ref { display: none; }
  .lp .lp-top-r { gap: 6px; } .lp .lp-top-r a, .lp .lp-top-r button { white-space: nowrap; }
  .lp .lp-brand { font-size: 14px; } .lp .lp-brand small { display: none; }
}

/* landing v2.1: icon-first, lighter type */
.lp .lp-ic { width: 24px; height: 24px; flex: none; }
.lp-h-xl { text-transform: none; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; font-size: clamp(52px, 9vw, 132px); line-height: .98; }
.lp-h-s { font-weight: 500; color: var(--ink-2); }
.lp h2 { font-weight: 750; font-stretch: 106%; }
.lp-end2-w { text-transform: none; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; line-height: .98; color: #FFE3A6; }
.lp-band b { font-weight: 800; font-stretch: 112%; color: #FFD27A; }
/* icon chip used on cards */
.lp-feat article > div > .lp-ic, .lp-cc-t .lp-ic, .lp-tiles .lp-ic, .lp-st .lp-ic, .lp-who-t .lp-ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bahi-lt); color: var(--bahi); box-sizing: border-box; margin-bottom: 16px; display: block; }
.lp-feat article p { font-size: 16px; }
/* compliance cards */
.lp-comp > .lp-sub2 { margin: 0 0 32px; }
.lp-cc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-cc article { border: 1px solid var(--rule); border-radius: 18px; padding: 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lp-cc article:hover { border-color: #E3C3C9; box-shadow: 0 10px 30px rgba(140,28,46,.08); }
.lp-cc-t { display: flex; justify-content: space-between; align-items: flex-start; }
.lp-cc-r { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--bahi) 0 var(--p), #F1E4E6 var(--p) 100%); display: grid; place-items: center; position: relative; }
.lp-cc-r::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.lp-cc-r b { position: relative; font: 800 17px/1 var(--disp); color: var(--bahi); }
.lp-cc h3 { font: 700 21px/1.2 var(--disp); margin: 0 0 4px; color: var(--ink); }
.lp-cc p { margin: 0 0 12px; color: var(--ink-3); font-size: 14.5px; }
.lp-cc small { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.lp-cc details { margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 10px; }
.lp-cc summary { cursor: pointer; font-size: 13.5px; color: var(--bahi); font-weight: 600; list-style: none; }
.lp-cc summary::-webkit-details-marker { display: none; } .lp-cc summary::after { content: " +"; } .lp-cc details[open] summary::after { content: " −"; }
.lp-cc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.lp-cc li { font-size: 13.5px; color: var(--ink-2); padding: 3px 0 3px 20px; position: relative; line-height: 1.4; }
.lp-cc li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.lp-cc li.you::before { content: "→"; color: var(--bahi); }
/* icon tiles: modules and industries */
.lp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.lp-tiles > div { border: 1px solid var(--rule); border-radius: 18px; padding: 22px 20px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-tiles > div:hover { transform: translateY(-2px); border-color: #E3C3C9; box-shadow: 0 10px 30px rgba(140,28,46,.08); }
.lp-tiles h3 { font: 700 18px/1.25 var(--disp); margin: 0 0 4px; color: var(--ink); }
.lp-tiles p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.45; }
.lp-tiles-i .lp-ic { background: #EEF0F6 !important; color: var(--ink) !important; }
/* steps */
.lp-st { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.lp-st li { position: relative; border: 1px solid var(--rule); border-radius: 18px; padding: 22px; counter-increment: st; }
.lp-st li::after { content: counter(st); position: absolute; top: 18px; right: 22px; font: 800 44px/1 var(--disp); color: #EFE7E8; }
.lp-st b { display: block; font: 700 19px/1.25 var(--disp); color: var(--ink); margin-bottom: 4px; } .lp-st span { color: var(--ink-3); font-size: 15px; }
.lp .lp-steps ol.lp-st li::before { content: none; display: none; }
/* trust list with icons */
.lp-who-t li { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: start; }
.lp-who-t .lp-ic { grid-row: span 2; margin: 0 !important; }
@media (prefers-reduced-motion: reduce) { .lp-tiles > div, .lp-cc article { transition: none; } .lp-tiles > div:hover { transform: none; } }
@media (max-width: 1020px) { .lp-cc { grid-template-columns: 1fr 1fr; } .lp-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .lp-cc, .lp-st { grid-template-columns: 1fr; } .lp-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .lp-tiles > div { padding: 16px 14px; } .lp-tiles p { font-size: 13px; } .lp-tiles h3 { font-size: 16px; } }
.lp .lp-steps ol.lp-st { border-top: 0; gap: 16px; padding: 0; }
.lp .lp-steps ol.lp-st li { border: 1px solid var(--rule); border-radius: 18px; padding: 22px; margin: 0; background: #fff; }
/* landing v2.2: tighter hero top, compact numbers, brand-colour social icons */
.lp-hero2 { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(28px, 4vw, 44px); }
.lp-pill { margin-bottom: 18px; }
.lp-h-sub { margin: 20px auto 24px; }
.lp-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.lp-band > div { display: block; border: 0; border-left: 1px solid rgba(255,255,255,.14); padding: 4px clamp(14px, 2vw, 28px); max-width: none; margin: 0; }
.lp-band > div:first-child { border-left: 0; padding-left: 0; }
.lp-band b { display: block; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.lp-band span { display: block; text-align: left; font-size: clamp(14px, 1.2vw, 17px); font-weight: 500; color: rgba(255,255,255,.8); margin-top: 10px; max-width: 22ch; font-family: var(--font); }
@media (max-width: 860px) { .lp-band { grid-template-columns: 1fr 1fr; row-gap: 24px; } .lp-band > div:nth-child(3) { border-left: 0; padding-left: 0; } .lp-band > div { flex-direction: initial; } }
.lp-f-so { gap: 10px; }
.lp-f-so a { width: 42px; height: 42px; border: 0; border-radius: 12px; transition: transform .15s; }
.lp-f-so a svg { width: 20px; height: 20px; }
.lp-f-so a:hover { transform: translateY(-2px); }
.so-ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.so-li { background: #0A66C2; } .so-yt { background: #FF0000; } .so-fb { background: #1877F2; } .so-wa { background: #25D366; }
@media (prefers-reduced-motion: reduce) { .lp-f-so a { transition: none; } .lp-f-so a:hover { transform: none; } }
/* landing v2.3: first-visitor polish */
.lp-shot .lp-demo { background: #fff; background-image: none; padding: 0; border: 1px solid var(--rule); }
.lp-shot .lp-demo .lp-demo-h { margin: 0; padding: 12px 14px; }
.lp-shot .lp-demo li { border-bottom: 1px solid var(--rule); padding: 0 14px; }
.lp-shot .lp-demo .lp-a { border-left: 0; padding-left: 0; min-width: 90px; }
.lp-shot .lp-demo .lp-go { margin: 12px 14px 14px; width: calc(100% - 28px); }
.lp-v-gst { padding: 22px 16px 18px; }
.lp-v-gst table { font-size: 11.5px; table-layout: auto; }
.lp-v-gst th, .lp-v-gst td { padding: 8px 6px; }
.lp-v-gst th:first-child, .lp-v-gst td:first-child { padding-left: 12px; }
.lp-v-gst td:last-child { padding-right: 12px; }
.lp h2 { font-weight: 700; }
.lp-feat > h2, .lp-int h2, .lp-comp h2, .lp-mods h2, .lp-ind h2, .lp-steps h2, .lp-price h2, .lp-faq h2 { font-size: clamp(30px, 3.8vw, 50px); }
.lp-f-big { align-items: center; }
.lp-f-word { font-size: clamp(56px, 9vw, 130px); color: #E8EAF0; font-weight: 800; }
.lp-int-r li .lp-ic { width: 22px; height: 22px; display: block; margin: 0 auto 6px; color: var(--bahi); }
.lp-int-r li { align-content: center; }
@media (min-width: 1021px) { .lp-f-big { flex-wrap: nowrap; } .lp-f-badges { justify-content: flex-end; max-width: 460px; } }
/* pricing perks under the plans */
.lp-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-perks li { border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); line-height: 1.45; background: #fff; }
.lp-perks b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.lp-perks li:first-child { border-color: #E3C3C9; background: var(--bahi-lt); }
@media (max-width: 860px) { .lp-perks { grid-template-columns: 1fr; } }

/* phone app (Capacitor): sign-in screen and native extras */
.lp-nat { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px), radial-gradient(120% 90% at 20% 0%, #A3263B 0%, var(--bahi) 40%, #4A0E19 100%); }
.nat-auth { width: min(440px, 100%); }
.nat-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 22px; margin: 0 0 4px; }
.nat-v { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--bahi); font: 800 22px/1 "Archivo", var(--font); }
.nat-tag { text-align: center; color: #FFE3A6; margin: 0 0 18px; font-size: 15px; }
.lp-nat .lp-panel { background: #fff; border-radius: 18px; padding: 20px 20px 8px; min-height: 0; display: block; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.nat-fine { color: rgba(255,255,255,.8); font-size: 12.5px; text-align: center; margin: 14px 0 0; }
.nat-fine a { color: #fff; }
html.vs-native body { overscroll-behavior: none; }
html.vs-native .topbar, html.vs-native header.app-top { padding-top: env(safe-area-inset-top); }
.nat-fab { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; border: 0; border-radius: 999px; background: var(--bahi); color: #fff;
  font: 600 15px/1 var(--font); padding: 14px 18px; box-shadow: 0 10px 28px rgba(140,28,46,.4); display: flex; gap: 8px; align-items: center; }
.nat-fab svg { width: 20px; height: 20px; }
.nat-cover { position: fixed; inset: 0; z-index: 90; background: #fff; display: flex; flex-direction: column; }
.nat-cover-bar { display: flex; gap: 8px; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom: 1px solid var(--rule); background: #fff; }
.nat-cover-bar b { flex: 1; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nat-cover iframe { flex: 1; border: 0; width: 100%; background: #fff; }
.nat-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center; padding: 30px; background: var(--bahi); color: #fff; }
.nat-screen h2 { margin: 14px 0 6px; font-size: 22px; } .nat-screen p { margin: 0 0 18px; color: rgba(255,255,255,.85); }
.nat-screen button { background: #fff; color: var(--bahi); border: 0; border-radius: 12px; padding: 13px 22px; font: 600 15px var(--font); }
.nat-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
/* hero trust row */
.lp-trust { list-style: none; margin: 26px auto 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 980px; border-top: 1px solid var(--rule); }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.lp-trust .lp-ic { width: 18px; height: 18px; color: var(--bahi); }
@media (max-width: 700px) { .lp-trust { justify-content: flex-start; gap: 8px 16px; } .lp-trust li { font-size: 13px; } }
.lp-trust { max-width: 1120px; gap: 10px 22px; } .lp-trust li { font-size: 13.5px; }
.lp-h-xl { font-size: clamp(44px, 7.4vw, 108px); line-height: 1; }

/* party open items drill (v269) */
.po-y{border:1px solid var(--line,#E3E6EE);border-radius:10px;margin:10px 0;background:#fff}
.po-y>summary{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;cursor:pointer;list-style:none}
.po-y>summary::-webkit-details-marker{display:none}
.po-y>summary::before{content:"▸";margin-right:8px;color:var(--muted,#5B6278);transition:transform .15s}
.po-y[open]>summary::before{transform:rotate(90deg)}
.po-y>summary b{flex:1}
.po-y>summary span{color:var(--muted,#5B6278);font-size:.9rem}
.po-m{padding:0 14px 10px}
.po-mh{display:flex;justify-content:space-between;font-weight:600;font-size:.88rem;padding:8px 2px 4px;border-top:1px dashed var(--line,#E3E6EE)}
.po-mh span:last-child{color:var(--muted,#5B6278);font-weight:500}
.po-tot{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;justify-content:flex-end;margin:12px 2px 0}
.po-tot span{color:var(--muted,#5B6278)}

/* statutory dues strip (v269) */
.dues{margin:0 0 14px}
.dues-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 8px}
.dues-h h2{margin:0;font-size:1.05rem}
.dues-od{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#FDE8EA;color:#A3172B;font-size:.8rem;font-weight:600;vertical-align:2px}
.dues-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.due{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--line,#E3E6EE);border-left:4px solid #C9CEDA;border-radius:10px;background:#fff;color:inherit;text-decoration:none}
.due:hover{border-color:#B9BFCE;box-shadow:0 1px 0 rgba(20,24,40,.04)}
.due:focus-visible{outline:2px solid var(--bahi,#8C1C2E);outline-offset:2px}
.due.overdue{border-left-color:#C8283E;background:#FFF8F8}
.due.due_soon{border-left-color:#E0A11B}
.due.check{border-left-color:#7A8399}
.due-ic{font-size:1.15rem;line-height:1.3}
.due-b{flex:1;display:flex;flex-direction:column;min-width:0}
.due-b b{font-size:.92rem}
.due-a{font-weight:700;font-size:1.02rem;margin-top:2px}
.due-w{font-size:.8rem;color:var(--muted,#5B6278);margin-top:2px}
.due.overdue .due-w{color:#A3172B;font-weight:600}
.due-go{align-self:center;font-size:.8rem;font-weight:600;color:var(--bahi,#8C1C2E);white-space:nowrap}

/* financial ratios card (v269) */
.rt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin-top:6px}
.rt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--line,#E3E6EE);border-top:3px solid #D5DAE5;border-radius:10px;background:#fff;text-align:left;cursor:pointer;font:inherit;color:inherit}
.rt:hover{border-color:#B9BFCE}
.rt:focus-visible{outline:2px solid var(--bahi,#8C1C2E);outline-offset:2px}
.rt.good{border-top-color:#1F8A5B}
.rt.watch{border-top-color:#E0A11B}
.rt.bad{border-top-color:#C8283E}
.rt-l{font-size:.8rem;color:var(--muted,#5B6278)}
.rt strong{font-size:1.2rem;font-variant-numeric:tabular-nums}
.rt-d{font-size:.74rem;color:var(--muted,#5B6278)}
.rt-d.up{color:#1F8A5B}.rt-d.down{color:#C8283E}

/* account panel (v269), like an account menu: who, IDs, plan, account, help, assistance, sign out */
.hd-pop.tb-acct{width:320px;max-width:calc(100vw - 24px);padding:0;overflow:hidden}
.tb-acct .ac-top{display:flex;align-items:center;gap:12px;padding:16px 16px 12px;background:var(--bahi-lt,#F7EDEF)}
.tb-acct .ac-av{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--solid,#8C1C2E);color:#fff;font-weight:700;font-size:18px}
.tb-acct .ac-who{min-width:0;display:flex;flex-direction:column}
.tb-acct .ac-who b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-acct .ac-who span{font-size:12.5px;color:var(--ink-3,#5B6278);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-acct .ac-ids{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 16px 4px}
.hd-pop.tb-acct .ac-ids button{display:flex;flex-direction:column;gap:1px;border:1px solid var(--rule,#E3E6EE);border-radius:8px;padding:6px 10px;width:auto}
.tb-acct .ac-ids span{font-size:11px;color:var(--ink-3,#5B6278)}
.tb-acct .ac-ids b{font-size:13px;font-variant-numeric:tabular-nums}
.tb-acct .ac-plan{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px 2px}
.hd-pop.tb-acct .ac-plan a{display:inline;padding:0;font-size:13px;color:var(--bahi,#8C1C2E);font-weight:600}
.hd-pop.tb-acct .ac-plan a:hover{background:none;text-decoration:underline}
.tb-acct .ac-pill{font-size:12px;padding:2px 9px;border-radius:999px;background:#EEF1F6}
.tb-acct .ac-pill.active{background:#E5F4EC;color:#17603F}
.tb-acct .ac-pill.trial{background:#FFF4DC;color:#7A5300}
.tb-acct .ac-pill.expired{background:#FDE8EA;color:#A3172B}
.tb-acct .ac-sec{padding:8px 8px 4px;border-top:1px solid var(--rule,#E3E6EE);margin-top:8px}
.tb-acct .ac-plan+.ac-sec,.tb-acct .ac-ids+.ac-plan{margin-top:0}
.tb-acct .ac-h{display:block;padding:2px 8px 4px;font-size:11.5px;font-weight:600;color:var(--ink-3,#5B6278)}
.tb-acct .ac-talk{display:flex;gap:8px;padding:2px 8px 6px}
.hd-pop.tb-acct .ac-talk a{flex:1;text-align:center;border:1px solid var(--rule,#E3E6EE);border-radius:8px;padding:7px 4px;font-size:13px;font-weight:600}
.hd-pop.tb-acct .ac-talk a:first-child{border-color:#25D366;color:#128C4A}
.tb-acct .ac-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px 12px;border-top:1px solid var(--rule,#E3E6EE);margin-top:6px}
.tb-acct .ac-legal{font-size:12px;color:var(--ink-3,#5B6278)}
.hd-pop.tb-acct .ac-legal a{display:inline;padding:0;font-size:12px;color:var(--ink-3,#5B6278)}
.hd-pop.tb-acct .ac-legal a:hover{background:none;text-decoration:underline}
.hd-pop.tb-acct button.ac-out{width:auto;border:1px solid var(--rule-2,#D5DAE5);padding:6px 14px;font-weight:600;color:#A3172B;text-align:center}

/* GSTIN fetch on company create (v269) */
.gfetch{display:flex;gap:8px;align-items:stretch}
.gfetch input{flex:1;min-width:0}
.gfetch .btn-sm{white-space:nowrap}
.gcard{display:flex;flex-direction:column;gap:3px;margin-top:8px;padding:10px 12px;border:1px solid #CFE6DA;background:#F3FAF6;border-radius:8px;font-size:.86rem}
.gcard.bad{border-color:#F1C6CC;background:#FFF6F7}
.gcard b{font-size:.92rem}

/* sales tag on invoices (v270) */
.gspnew{display:flex;gap:6px;margin-top:6px}
.gspnew input{flex:1;min-width:0}

/* kits (v270) */
.kit-tag{display:inline-block;padding:0 7px;border-radius:999px;background:#EEF1FB;color:#33418A;font-size:.74rem;font-weight:600;vertical-align:1px}
.kit-row{display:flex;gap:8px;margin:0 0 8px;align-items:center}
.kit-row select{flex:2 1 220px;min-width:0}
.kit-row input{flex:0 1 140px;min-width:0}

/* TDS working (v272) */
.tag.warn,.tag.ok{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.74rem;font-weight:600;margin:1px 2px 1px 0;white-space:nowrap}
.tag.warn{background:#FFF1D6;color:#7A4B00}
.tag.ok{background:#E5F4EC;color:#17603F}
.tw-t td{vertical-align:top}

/* instant page: last view or a loading card over the page while it loads */
.page-cover { position: fixed; bottom: 0; z-index: 30; overflow: auto; background: var(--paper); }
.page-cover .page-snap { pointer-events: none; user-select: none; }
.page-upd { position: fixed; top: 76px; right: 24px; z-index: 31; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 999px; padding: 6px 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.page-load { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink-2); font-size: 15px; }
.spin { width: 14px; height: 14px; border: 2px solid var(--rule-2); border-top-color: var(--bahi); border-radius: 50%; display: inline-block; animation: pgspin .7s linear infinite; }
.spin.big { width: 34px; height: 34px; border-width: 3px; }
@keyframes pgspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2s; } }
/* Management P&L: unit, net-profit line, cost insight; downloads show full tables */
.mpl-chip small { display: block; font-size: 11.5px; color: var(--muted, #5b6278); margin-top: 1px; font-variant-numeric: tabular-nums; }
.mpl-tbl th:first-child { text-align: left; }
.mpl-unit { font-weight: 400; color: var(--muted, #5b6278); font-size: 11.5px; }
.mpl-tbl td.money { font-variant-numeric: tabular-nums; }
.mpl-tbl tr.mpl-np td { border-top: 2px solid #8c1c2e; border-bottom: 3px double #8c1c2e; background: rgba(140, 28, 46, .07); }
.mpl-ins { margin: 10px 0 0; font-size: 13px; padding: 8px 12px; border-left: 3px solid #8c1c2e; background: rgba(140, 28, 46, .04); border-radius: 0 6px 6px 0; }
.snapping .tbl-wrap { overflow: visible !important; }
.snapping table { width: 100% !important; }
.snapping .mpl-tbl { font-size: 12.5px; }
/* Management P&L v2: compact statement, soft colours */
.mpl-v2 { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mpl-v2 th { font-size: 11.5px; font-weight: 600; color: var(--muted, #5b6278); text-align: right; padding: 8px 10px; border-bottom: 1.5px solid #c9cfdb; white-space: nowrap; background: #f6f7fa; }
.mpl-v2 th:first-child { text-align: left; width: 100%; }
.mpl-v2 td { padding: 7px 10px; border-bottom: 1px solid #eceef3; white-space: nowrap; }
.mpl-v2 td:first-child { white-space: normal; }
.mpl-v2 td.money { text-align: right; font-variant-numeric: tabular-nums; }
.mpl-v2 .mpl-r { color: #7a8194; font-size: 12px; width: 1%; padding-left: 4px; }
.mpl-v2 .mpl-cg { border-left: 1px solid #e3e6ee; color: #3d4457; }
.mpl-v2 .mpl-ch { font-size: 12px; width: 1%; color: #7a8194; }
.mpl-v2 .mpl-ch.up { color: #1d7a52; } .mpl-v2 .mpl-ch.dn { color: #c2410c; }
.mpl-v2 tr.mpl-sub td { font-weight: 650; background: #f4f7fb; border-top: 1px solid #d5dbe7; }
.mpl-v2 tr.mpl-sub td.mpl-m { color: #2563a8; font-weight: 650; font-size: 12.5px; }
.mpl-v2 tr.mpl-sub td.mpl-m.neg { color: #c2410c; }
.mpl-v2 tr.mpl-top td { font-weight: 650; }
.mpl-v2 tr.mpl-line td:first-child, .mpl-v2 tr.mpl-opt td:first-child { padding-left: 24px; color: #4b5266; }
.mpl-v2 tr.mpl-np td { background: #eaf1fa; border-top: 1.5px solid #2563a8; border-bottom: 3px double #2563a8; font-weight: 700; }
.mpl-v2 tr.mpl-np td.mpl-m { color: #1e4f8a; }
.mpl-v2 tr[data-mplb]:hover td { background: #f8f9fc; }
.mpl-v2 td.neg { color: #c2410c; }
.mpl-chip strong.neg { color: #c2410c; }
.mpl-chip small em { display: inline; font-style: normal; margin-left: 4px; }
.mpl-chip small em.up { color: #1d7a52; } .mpl-chip small em.down { color: #c2410c; }
.mpl-ins { border-left-color: #2563a8; background: #f4f7fb; }
@media (max-width: 720px) { .mpl-v2 { font-size: 12.5px; } .mpl-v2 td, .mpl-v2 th { padding: 6px 6px; } }
.mpl-more { margin-top: 4px; }
.mpl-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #2563a8; padding: 6px 0; }
.mpl-more > summary::-webkit-details-marker { display: none; }
.mpl-more > summary::before { content: "▸"; transition: transform .15s; }
.mpl-more[open] > summary::before { transform: rotate(90deg); }
.hd-kpi.hd-warnk { border-color: #f1c4b0; background: #fff8f4; }
.hd-kpi.hd-warnk .hd-cmp { color: #c2410c; }
/* phones: the top numbers swipe sideways instead of stacking */
@media (max-width: 700px) {
  .hd-kpis[data-sec="kpi"] { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .hd-kpis[data-sec="kpi"] > .hd-kpi { flex: 0 0 62%; scroll-snap-align: start; }
}
.snapping .hd-kpis[data-sec="kpi"] { display: grid !important; overflow: visible; }
/* Reports › Monthly dashboard */
.md { --md-line: #e3e7ef; --md-ink: #1f2a3d; --md-mute: #6b7285; }
.md-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 6px; }
.md-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.md-chips button, .md-seg button { padding: 4px 11px; font-size: 12px; border: 1px solid #d5dbe7; border-radius: 999px; background: #fff; color: #4b5266; cursor: pointer; font-weight: 500; }
.md-chips button:hover, .md-seg button:hover { border-color: #1e4f8a; color: #1e4f8a; }
.md-chips button.on { background: #1e4f8a; border-color: #1e4f8a; color: #fff; }
.md-seg { display: inline-flex; gap: 2px; background: #eef1f6; border-radius: 8px; padding: 3px; }
.md-seg button { border: 0; border-radius: 6px; background: transparent; padding: 4px 12px; }
.md-seg button.on { background: #fff; color: var(--md-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.md-sub { font-size: 12px; color: var(--md-mute); margin: 4px 0 12px; }
.md-kg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.md-k { border: 1px solid var(--md-line); border-radius: 10px; padding: 11px 13px; background: #fff; min-width: 0; }
.md-k > span { display: block; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--md-mute); font-weight: 600; }
.md-k > strong { display: block; font-size: 20px; line-height: 1.2; margin: 4px 0 2px; color: var(--md-ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-k > em { display: block; font-style: normal; font-size: 11.5px; color: var(--md-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-d { font-size: 11.5px; font-weight: 600; } .md-d.up { color: #1d7a52; } .md-d.dn { color: #c2410c; }
.md-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--md-ink); margin: 20px 0 10px; padding: 7px 12px; background: #f3f5f9; border-left: 3px solid #1e4f8a; border-radius: 0 6px 6px 0; }
.md-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.md-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.md-c { border: 1px solid var(--md-line); border-radius: 10px; background: #fff; padding: 12px 14px; min-width: 0; }
.md-c h4 { margin: 0 0 8px; font-size: 12.5px; font-weight: 650; color: var(--md-ink); }
.md-c h4 small { font-weight: 400; color: var(--md-mute); margin-left: 4px; }
.md-cv { position: relative; height: 230px; }
.md-bs { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.md-bs th { font-size: 11px; color: var(--md-mute); font-weight: 600; text-align: right; padding: 6px 8px; border-bottom: 1.5px solid #d5dbe7; }
.md-bs th:first-child, .md-bs td:first-child { text-align: left; white-space: normal; }
.md-bs td { padding: 6px 8px; text-align: right; border-bottom: 1px solid #eef0f4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.md-more { margin: 8px 0 0; text-align: right; font-size: 12.5px; }
@container (max-width: 960px) { .md-g2 { grid-template-columns: 1fr; } }
.md-bs tr.tot td { font-weight: 650; background: #f4f7fb; border-top: 1px solid #d5dbe7; }
.md-bs td.neg, .md-mt td.neg { color: #c2410c; }
.md-tw { overflow-x: auto; padding: 0; }
.md-mt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.md-mt th { position: sticky; top: 0; background: #f6f7fa; font-size: 11px; color: var(--md-mute); font-weight: 600; text-align: right; padding: 8px 10px; border-bottom: 1.5px solid #d5dbe7; white-space: nowrap; }
.md-mt td { padding: 6px 10px; text-align: right; border-bottom: 1px solid #eef0f4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.md-mt th:first-child, .md-mt td:first-child { position: sticky; left: 0; background: #fff; text-align: left; z-index: 1; min-width: 170px; box-shadow: 1px 0 0 #eef0f4; }
.md-mt th:first-child { background: #f6f7fa; }
.md-mt tr.grp td { background: #f3f5f9 !important; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: #4b5266; position: static; }
.md-mt td.on, .md-mt th.on { background: #eef4fb; }
.md-mt td.pos { color: #1d7a52; }
.md-mt tbody tr:hover td { background: #f9fafc; }
.md { container-type: inline-size; }
@container (max-width: 960px) { .md-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md-g3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@container (max-width: 640px) { .md-kg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md-g3, .md-g2 { grid-template-columns: 1fr; } .md-g3 > :last-child:nth-child(odd) { grid-column: auto; } }

/* ================= Landing v3 (Nov 2026): header menus, landing pages, slide between pages ================= */
.lp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* header menus: open on hover, focus or first tap; the heading itself opens its page */
.lp .lp-nav { align-items: center; gap: 4px 6px; }
.lp-mm { position: static; }
.lp-mm:has(.lp-mm-sm), .lp-mm:has(.lp-mm-price) { position: relative; }
.lp .lp-nav .lp-mm-t { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-weight: 500; font-size: 15px; text-decoration: none; }
.lp .lp-nav .lp-mm-t::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .16s; opacity: .6; }
.lp-mm.open > .lp-mm-t::after { transform: translateY(1px) rotate(-135deg); }
.lp .lp-nav .lp-mm-t:hover, .lp .lp-nav .lp-mm.open > .lp-mm-t { background: #F6E8EA; color: var(--bahi); text-decoration: none; }
.lp .lp-nav .lp-mm-t.on { color: var(--bahi); box-shadow: inset 0 -2px 0 var(--bahi); border-radius: 10px 10px 4px 4px; }
.lp-mm-p { position: absolute; z-index: 40; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 12px;
  box-shadow: 0 28px 70px rgba(24,33,61,.18), 0 2px 6px rgba(24,33,61,.06); opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .18s ease, visibility 0s linear .18s; text-align: left; }
.lp-mm-p::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.lp-mm.open > .lp-mm-p { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s ease, transform .18s ease, visibility 0s; }
.lp .lp-nav .lp-mm-p a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.lp .lp-nav .lp-mm-p a:hover, .lp .lp-nav .lp-mm-p a:focus-visible { background: #F6E8EA; color: var(--ink); text-decoration: none; }
.lp .lp-nav .lp-mm-p a:focus-visible { outline: 2px solid var(--bahi); outline-offset: -2px; }
.lp-mm-p b { display: block; font-weight: 600; font-size: 15px; }
.lp-mm-p span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.lp-mm-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.lp .lp-nav .lp-mm-g a { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.lp-mm-g a .lp-ic { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--bahi-lt); color: var(--bahi); box-sizing: border-box; }
.lp-mm-ind .lp-mm-g a .lp-ic { background: #EEF0F6; color: var(--ink); }
.lp-mm-prod { width: min(900px, calc(100vw - 32px)); display: grid; grid-template-columns: 1fr 250px; gap: 12px; }
.lp-mm-side { border-left: 1px solid var(--rule); padding-left: 12px; }
.lp-mm-h { margin: 6px 12px 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.lp-mm-ind { width: min(780px, calc(100vw - 32px)); }
.lp-mm-foot { display: flex; gap: 6px 16px; align-items: center; flex-wrap: wrap; margin: 8px 0 0; padding: 12px 12px 4px; border-top: 1px solid var(--rule); }
.lp .lp-nav .lp-mm-foot a { padding: 0; font-weight: 600; color: var(--bahi); }
.lp .lp-nav .lp-mm-foot a:hover { background: none; text-decoration: underline; color: var(--bahi); }
.lp-mm-foot span { margin: 0; font-size: 13px; color: var(--ink-3); }
.lp-mm-price { width: min(560px, calc(100vw - 32px)); left: 0; transform: translate(-30%, 8px); padding: 16px; }
.lp-mm.open > .lp-mm-price { transform: translate(-30%, 0); }
.lp-mm-lead { margin: 0 4px 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.lp-mm-lead b { display: inline; color: var(--ink); }
.lp-mm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp .lp-nav .lp-mm-plans a { border: 1px solid var(--rule); padding: 14px; border-radius: 14px; }
.lp .lp-nav .lp-mm-plans a.hi { border-color: var(--bahi); box-shadow: inset 0 0 0 1px var(--bahi); }
.lp-mm-plans small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lp-mm-plans b { font: 800 24px/1.1 var(--disp); font-stretch: 108%; margin-top: 6px; letter-spacing: -0.01em; }
.lp-mm-plans span { font-size: 12.5px; color: var(--ink-3); }
.lp-mm-sm { width: 290px; left: 0; transform: translate(-20%, 8px); }
.lp-mm.open > .lp-mm-sm { transform: translate(-20%, 0); }
.lp-mob-b { display: none; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; padding: 8px; }
.lp-mob-b svg { width: 100%; height: 100%; display: block; }
.lp-mob { position: fixed; z-index: 30; top: 76px; left: 12px; right: 12px; display: grid; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px rgba(24,33,61,.2); }
.lp-mob[hidden] { display: none; }
.lp-mob a { padding: 13px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.lp-mob a:hover, .lp-mob a:focus-visible { background: #F6E8EA; }
@media (max-width: 960px) { .lp-mob-b { display: inline-block; } }
@media (max-width: 1180px) and (min-width: 961px) { .lp .lp-nav .lp-mm-t { padding: 8px 6px; font-size: 14.5px; } .lp .lp-top .lp-ref span { display: none; } }

/* the bill's path, above the product picture: lights up once, step by step */
.lp-flow { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; margin: 0 auto 26px; padding: 0 12px; max-width: 1000px; }
.lp-flow li { position: relative; padding: 9px 16px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 34px; }
.lp-flow li:first-child { margin-left: 0; }
.lp-flow li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 34px; height: 2px; background: var(--rule); }
.lp-flow.run li { animation: lp-flow-on .35s ease calc(var(--i) * .32s + .15s) both; }
.lp-flow.run li + li::before { animation: lp-flow-line .32s ease calc(var(--i) * .32s) both; }
.lp-flow.run li:last-child { animation-name: lp-flow-end; }
.lp-flow li:last-child::after { content: " ✓"; }
@keyframes lp-flow-on { to { color: var(--ink); border-color: var(--ink-3); } }
@keyframes lp-flow-line { to { background: var(--ink-3); } }
@keyframes lp-flow-end { to { color: #fff; background: var(--bahi); border-color: var(--bahi); box-shadow: 0 8px 20px rgba(140,28,46,.25); } }
@media (prefers-reduced-motion: reduce) { .lp-flow.run li, .lp-flow.run li + li::before { animation: none; color: var(--ink); } .lp-flow.run li:last-child { color: #fff; background: var(--bahi); border-color: var(--bahi); } }
@media (max-width: 700px) { .lp-flow { gap: 8px; } .lp-flow li { margin-left: 0; font-size: 13px; padding: 7px 12px; } .lp-flow li + li::before { display: none; } }

/* entry vs approval */
.lp-vs { max-width: 1040px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px) 0; scroll-margin-top: 80px; }
.lp-vs h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; margin: 0 0 10px; }
.lp-vs-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; margin-top: 10px; }
.lp-vs-t th, .lp-vs-t td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.45; }
.lp-vs-t thead th { font-size: 14px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.lp-vs-t thead th:last-child { color: var(--bahi); }
.lp-vs-t tbody th { font-weight: 700; color: var(--ink); width: 16%; }
.lp-vs-t td:nth-child(2) { color: var(--ink-3); }
.lp-vs-t td:last-child, .lp-vs-t thead th:last-child { background: #FBF2F3; color: var(--ink); font-weight: 600; }
.lp-vs-t thead th:last-child { color: var(--bahi); border-radius: 14px 14px 0 0; }
.lp-vs-t tbody tr:last-child td:last-child { border-radius: 0 0 14px 14px; }
@media (max-width: 640px) { .lp-vs-t { font-size: 14px; } .lp-vs-t th, .lp-vs-t td { padding: 12px 10px; } .lp-vs-t tbody th { width: auto; } }

/* GST path and the CA path */
.lp-gflow, .lp-ca-f { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; align-items: center; }
.lp-gflow li { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--ink); }
.lp-gflow li:not(:last-child)::after, .lp-ca-f li:not(:last-child)::after { content: "→"; margin: 0 4px 0 12px; color: var(--ink-3); font-weight: 400; }
.lp-gflow li:last-child { color: #fff; background: var(--bahi); padding: 7px 14px; border-radius: 999px; }
.lp-ca-f { margin: 16px 0 6px; }
.lp-ca-f li { font-size: 14.5px; font-weight: 600; color: #fff; }
.lp-ca-f li:not(:last-child)::after { color: rgba(255,255,255,.5); }
.lp-int-go { text-align: center; margin: 8px 0 0; }
.lp-int-go a, .lp-fine a, .lp-vb-n a { color: var(--bahi); font-weight: 600; text-underline-offset: 3px; }

/* tiles that open a page */
.lp-tiles > a.lp-tl { display: block; border: 1px solid var(--rule); border-radius: 18px; padding: 22px 20px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-tiles > a.lp-tl:hover { transform: translateY(-2px); border-color: #E3C3C9; box-shadow: 0 10px 30px rgba(140,28,46,.08); }
.lp-tiles > a.lp-tl:focus-visible, .lp-indc:focus-visible, .lp-pg:focus-visible { outline: 3px solid var(--bahi); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lp-tiles > a.lp-tl { transition: none; } .lp-tiles > a.lp-tl:hover { transform: none; } }
@media (max-width: 700px) { .lp-tiles > a.lp-tl { padding: 16px 14px; } }

/* landing pages */
.lp-main { display: block; }
.lp-vh { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px) 8px; }
.lp-crumb { font-size: 14px; color: var(--ink-3); margin: 0 0 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.lp-crumb a { color: var(--ink-2); text-decoration: none; } .lp-crumb a:hover { color: var(--bahi); text-decoration: underline; }
.lp-vh h1 { font-family: var(--disp); font-stretch: 112%; font-weight: 800; letter-spacing: -0.025em; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; margin: 0 0 16px; color: var(--ink); max-width: 18ch; outline: none; }
.lp-vh-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.5; margin: 0 0 22px; max-width: 60ch; }
.lp-vh-k { font-size: 14px; font-weight: 600; color: var(--bahi); margin: 0 0 14px; }
.lp-vh-row { display: flex; gap: 22px; align-items: flex-start; }
.lp-vh-row > .lp-ic { flex: none; width: 72px; height: 72px; padding: 16px; border-radius: 20px; background: var(--bahi); color: #fff; box-sizing: border-box; margin-top: 4px; }
.lp-vh-row h1 { margin-bottom: 10px; }
.lp-vb { max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 64px) 0; }
.lp-vb-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lp-pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-vb-2 .lp-pts { grid-template-columns: 1fr; }
.lp-pts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-pts li { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--rule); border-radius: 16px; padding: 20px; background: #fff; font-size: 17px; line-height: 1.45; color: var(--ink); }
.lp-pts .lp-ic { flex: none; width: 26px; height: 26px; color: var(--bahi); }
.lp-vb .lp-v { margin: 0; }
.lp-vb-n { margin: 22px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--paper); color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.lp-vb-n b { color: var(--ink); }
.lp-pager { max-width: 1240px; margin: 40px auto 0; padding: 0 clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-pg { display: block; min-width: 0; max-width: 40%; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .16s, background .16s; }
.lp-pg:hover { border-color: var(--bahi); background: #FBF2F3; }
.lp-pg small { display: block; font-size: 13px; color: var(--ink-3); }
.lp-pg b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.lp-pg-n { text-align: right; }
.lp-dots { display: flex; gap: 6px; align-items: center; }
.lp-dots a { width: 8px; height: 8px; border-radius: 999px; background: var(--rule-2); transition: width .2s, background .2s; }
.lp-dots a[aria-current] { width: 24px; background: var(--bahi); }
.lp-dots a:hover { background: var(--ink-3); }
.lp-vmore { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 64px) 0; }
.lp-vmore h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.lp-vmore .lp-tiles { margin-top: 20px; }
.lp-vcta { max-width: 1240px; box-sizing: border-box; margin: clamp(56px, 7vw, 96px) auto 0; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-radius: 24px; background: linear-gradient(160deg, #A3263B, var(--bahi) 50%, var(--bahi-deep)); color: #fff; display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lp-vcta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 6px; }
.lp-vcta p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; }
.lp-vcta > span { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1290px) { .lp-vcta { margin-left: clamp(16px, 3vw, 24px); margin-right: clamp(16px, 3vw, 24px); } }
.lp-indg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lp-indc { display: block; padding: 26px; border: 1px solid var(--rule); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.lp-indc:hover { border-color: #E3C3C9; box-shadow: 0 14px 36px rgba(140,28,46,.09); }
.lp-indc .lp-ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #EEF0F6; color: var(--ink); box-sizing: border-box; display: block; margin-bottom: 14px; }
.lp-indc h2 { font: 800 24px/1.15 var(--disp); font-stretch: 108%; margin: 0 0 6px; }
.lp-indc p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.lp-indc ul { margin: 0 0 14px; padding-left: 18px; color: var(--ink); font-size: 15px; line-height: 1.6; }
.lp-indc-go { font-weight: 600; color: var(--bahi); font-size: 15px; }
.lp-indc:hover .lp-indc-go { text-decoration: underline; text-underline-offset: 3px; }
.lp-swg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lp-swg article { border: 1px solid var(--rule); border-radius: 20px; padding: 26px; background: #fff; }
.lp-swg .lp-ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bahi-lt); color: var(--bahi); box-sizing: border-box; display: block; margin-bottom: 14px; }
.lp-swg h2 { font: 800 22px/1.2 var(--disp); font-stretch: 108%; margin: 0 0 6px; }
.lp-swg p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.lp-swg .lp-sw-live { background: var(--ink-deep, #0F1630); border-color: transparent; }
.lp-swg .lp-sw-live h2 { color: #fff; } .lp-swg .lp-sw-live p { color: rgba(255,255,255,.82); }
.lp-swg .lp-sw-live .lp-ic { background: rgba(242,178,62,.16); color: var(--haldi); }
.lp-sw-st { margin-top: 32px; }
.lp-cc-l { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); }
.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.lp-chips li { border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.lp-chips a { color: inherit; text-decoration: none; } .lp-chips li:has(a):hover { border-color: var(--bahi); color: var(--bahi); }
.lp .lp-vfaq { max-width: 900px; }
.lp-vfaq h2 { font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 860px) { .lp-vb-2, .lp-indg, .lp-swg, .lp-pts, .lp-pts-3 { grid-template-columns: 1fr; } .lp-pg { max-width: 44%; } .lp-dots { display: none; } .lp-vh-row { flex-direction: column; gap: 14px; } .lp-vh-row > .lp-ic { width: 56px; height: 56px; padding: 12px; } }

/* moving between landing pages: a full "push", like the next slide of a deck */
html.lp-pushing { overflow-x: clip; }
html.lp-pushing body { overflow-x: clip; }
.lp-old { position: fixed; z-index: 2; margin: 0; pointer-events: none; background: #fff; box-shadow: 24px 0 60px rgba(24,33,61,.12); will-change: transform; }
html.lp-pushing #lpmain { will-change: transform; }
/* the bill's path sits on the maroon product band */
.lp-shot .lp-flow li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.72); }
.lp-shot .lp-flow li + li::before { background: rgba(255,255,255,.28); }
.lp-shot .lp-flow.run li { animation-name: lp-flow-on-d; }
.lp-shot .lp-flow.run li + li::before { animation-name: lp-flow-line-d; }
.lp-shot .lp-flow.run li:last-child { animation-name: lp-flow-end-d; }
@keyframes lp-flow-on-d { to { color: var(--ink); background: #fff; border-color: #fff; } }
@keyframes lp-flow-line-d { to { background: rgba(255,255,255,.85); } }
@keyframes lp-flow-end-d { to { color: var(--ink-deep, #0F1630); background: var(--haldi); border-color: var(--haldi); box-shadow: 0 8px 24px rgba(0,0,0,.25); } }
@media (prefers-reduced-motion: reduce) { .lp-shot .lp-flow.run li { color: var(--ink); background: #fff; } .lp-shot .lp-flow.run li:last-child { color: var(--ink-deep, #0F1630); background: var(--haldi); border-color: var(--haldi); } }
.lp .lp-vh + .lp-price { padding-top: 16px; }
/* pricing: the cards stay clean; how usage, users and extra companies are charged sits in one panel below */
.lp-pdet { margin: 18px 0 0; border: 1px solid var(--rule); border-radius: 16px; background: #fff; }
.lp-pdet > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-pdet > summary::-webkit-details-marker { display: none; }
.lp-pdet > summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--bahi); font-weight: 400; }
.lp-pdet[open] > summary::after { content: "−"; }
.lp-pdet > summary:hover { color: var(--bahi); }
.lp-pdet > summary:focus-visible { outline: 3px solid var(--bahi); outline-offset: 2px; border-radius: 16px; }
.lp-pdet-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; padding: 4px 20px 18px; border-top: 1px solid var(--rule); }
.lp-pdet-g section { padding: 14px 0 0; }
.lp-pdet-g h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); font-family: inherit; }
.lp-pdet-g p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
/* "Do it" on a CFO advice detail: the one-click action above the table */
.hd-doit { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #E3C3C9; border-radius: 12px; background: #FBF2F3; }
.hd-doit p { flex-basis: 100%; margin: 0; }
.hd-doit p:empty { display: none; }
/* first sign-in: business or firm */
.kind-pick { display: block; width: 100%; text-align: left; margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--rule, #E1E4EC); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.kind-pick:hover, .kind-pick:focus-visible { border-color: var(--bahi, #8C1C2E); box-shadow: 0 8px 22px rgba(140,28,46,.1); outline: none; }
.kind-pick b { display: block; font-size: 17px; margin-bottom: 4px; }
.kind-pick span { display: block; font-size: 14px; color: var(--ink-2, #4A5370); line-height: 1.45; }
/* Firm Home in the side menu */
.side .firm-home { display: flex; align-items: center; gap: 10px; margin: 6px 10px 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); color: inherit; text-decoration: none; font-weight: 600; }
.side .firm-home small { margin-left: auto; font-weight: 400; opacity: .7; font-size: 12px; }
.side .firm-home.on, .side .firm-home:hover { background: rgba(255,255,255,.16); }
.shell.mini .side .firm-home span, .shell.mini .side .firm-home small { display: none; }
.kind-seg { display: flex; gap: 6px; margin: 4px 0 14px; padding: 4px; border-radius: 12px; background: #F1F2F6; }
.kind-seg button { flex: 1; border: 0; border-radius: 9px; padding: 9px 8px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: #4A5370; cursor: pointer; }
.kind-seg button[aria-checked="true"] { background: #fff; color: #8C1C2E; box-shadow: 0 1px 3px rgba(24,33,61,.12); }
/* home: a short pricing line; the pricing page has the plans */
.lp-ptease { max-width: 1040px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 64px) 0; text-align: center; scroll-margin-top: 80px; }
.lp-ptease h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 0 0 10px; }
.lp-ptease p { font-size: 18px; color: var(--ink-2); margin: 0 auto 18px; max-width: 62ch; line-height: 1.5; }
.lp-ptease > span { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lp-ptabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #F1F2F6; margin-top: 4px; }
.lp-ptabs a { padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.lp-ptabs a[aria-selected="true"] { background: #fff; color: var(--bahi); box-shadow: 0 1px 3px rgba(24,33,61,.12); }
.lp-fplans { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 820px; margin-left: auto; margin-right: auto; }
.lp-fplans ul { margin: 10px 0 12px; padding-left: 18px; line-height: 1.7; font-size: 15px; }
.lp-v5 { margin: 0 0 12px; font-weight: 600; color: var(--bahi); font-size: 14.5px; }
@media (max-width: 700px) { .lp-fplans { grid-template-columns: 1fr !important; } }
.lp-mm-firm { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--rule); }
.lp .lp-nav .lp-mm-firm a { background: #FBF2F3; }

/* CA firm plan: what the firm plan does not cover in a client company */
.firm-lock { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FFF6E5; border: 1px solid #F0D49A; color: #5B4210; font-size: 14px; line-height: 1.5; }
.firm-lock a { color: inherit; font-weight: 700; }
/* header: Refer & earn and Book a demo a size smaller, with room after Resources */
@media (min-width: 961px) {
  .lp .lp-top-r { margin-left: 28px; gap: 8px; }
  .lp .lp-top .lp-ref { font-size: 13px; padding: 5px 11px; gap: 5px; }
  .lp .lp-top .lp-ref .ico { width: 14px; height: 14px; }
  .lp .lp-top .lp-book { font-size: 13.5px; padding: 6px 4px; color: var(--ink-2); }
}
/* counter billing: a bill said or typed in one line */
.pos-voice { display: flex; gap: 8px; align-items: center; margin: -2px 0 6px; }
.pos-voice input { flex: 1; min-width: 0; }
.pos-voice .btn.on { background: var(--warn); color: #fff; border-color: var(--warn); }
.pos-voice svg { vertical-align: -3px; }
#posvn { margin: 0 0 10px; }
/* plan of the free months: chooser (company setup and the first screen of a company that has not chosen) */
.plan-pick { display: grid; gap: 8px; margin: 6px 0 8px; }
.plan-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "r n p" "r f p"; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 10px; cursor: pointer; background: var(--paper); }
.plan-opt:hover { border-color: var(--ink-2); }
.plan-opt.on { border-color: var(--bahi); box-shadow: 0 0 0 1px var(--bahi) inset; }
.plan-opt input { grid-area: r; margin: 0; accent-color: var(--bahi); }
.plan-opt-n { grid-area: n; } .plan-opt-n small { display: block; color: var(--ink-2); font-size: 12.5px; }
.plan-opt-f { grid-area: f; font-size: 12.5px; color: var(--ink-2); }
.plan-opt-p { grid-area: p; text-align: right; font-weight: 600; white-space: nowrap; } .plan-opt-p small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-2); }
.plan-gate { max-width: 760px; }
@media (max-width: 600px) { .plan-opt { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "r n" "r f" "r p"; } .plan-opt-p { text-align: left; } }
.field .plan-opt, .plan-opt { font-weight: 400; color: var(--ink); font-size: 14px; }
.auth-box .plan-opt { grid-template-areas: "r n p" "r f f"; padding: 8px 10px; } .auth-box .plan-opt-n small, .auth-box .plan-opt-p small { display: none; }
.auth-box .plan-opt-p::after { content: " a year"; font-weight: 400; font-size: 12px; color: var(--ink-2); }
/* phones: a calmer top bar (theme and Refer & earn move into the account menu), floating buttons clear of the bottom menu */
.ac-mob { display: none; }
@media (max-width: 600px) {
  .topbar .tb-ref, .topbar .hd-menu:has(> .tb-theme), .topbar .tb-help { display: none; }
  .topbar .crumb { min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tb-acct .ac-mob { display: flex; }
  .tb-acct .ac-theme { gap: 6px; padding: 6px 12px; }
  .tb-acct .ac-theme button { flex: 1; padding: 6px 4px; border: 1px solid var(--rule); border-radius: 8px; background: none; font-size: 13px; }
  .tb-acct .ac-theme button.th-on { border-color: var(--bahi); color: var(--bahi); font-weight: 700; }
}
@media (max-width: 900px) {
  #rpfab { bottom: calc(72px + env(safe-area-inset-bottom)); right: 12px; }
  .nat-fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .vs-native #rpfab { display: none; }
}
/* "Take a photo of a bill": phones and tablets only (the phone app has its own Scan bill button) */
.ai-cam, .nm-cam { display: none !important; }
@media (pointer: coarse) { .ai-cam { display: inline-flex !important; } .nm-cam { display: block !important; } .ai-drop #aiup { background: var(--sheet); color: var(--ink); border: 1px solid var(--rule); } }
.vs-native .ai-cam { display: none !important; }
.ai-cam.pulse { animation: aicampulse 1s ease 2; } @keyframes aicampulse { 50% { box-shadow: 0 0 0 6px rgba(140,28,46,.25); } }
