/* Kadam. Visual language follows Aonami's Mizan: Poppins, light headings, navy actions, soft cards. */
:root {
  --paper:#F7F8FC; --surface:#FFFFFF; --surface-2:#EFF1F8; --ink:16,16,58;
  --t1:rgba(var(--ink),1); --t85:rgba(var(--ink),.85); --t75:rgba(var(--ink),.75); --t55:rgba(var(--ink),.62); --t40:rgba(var(--ink),.5);
  --line:rgba(var(--ink),.09); --line-2:rgba(var(--ink),.15); --fill:rgba(var(--ink),.04);
  --accent:#0033FF; --accent-ink:#0029CC; --accent-5:rgba(0,51,255,.06); --accent-12:rgba(0,51,255,.12);
  --navy:#0A0050; --leaf:#03CC54; --leaf-ink:#038A3A; --leaf-5:rgba(3,204,84,.09);
  --neg:#B42318; --neg-5:rgba(180,35,24,.06); --warn:#B45309; --warn-5:rgba(180,83,9,.08);
  --shadow:0 1px 3px rgba(0,0,0,.06), 0 1px 2px -1px rgba(0,0,0,.06); --shadow-float:0 18px 40px -18px rgba(0,0,0,.28);
  --r:12px; --r-lg:18px; --font:"Poppins","Noto Sans Devanagari",ui-sans-serif,system-ui,sans-serif;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--t1); font:400 14px/1.55 var(--font); -webkit-font-smoothing:antialiased; }
button, input, select, textarea { font:inherit; color:inherit; }
svg { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.app { display:grid; grid-template-columns:248px minmax(0,1fr); min-height:100vh; }
.side { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; gap:18px; padding:22px 16px; background:var(--surface); border-inline-end:1px solid var(--line); }
.brand { display:flex; gap:11px; align-items:center; padding:0 6px; } .brand b { display:block; font-weight:500; font-size:17px; letter-spacing:-.2px; } .brand span { font-size:11.5px; color:var(--t55); }
.tabs { display:flex; flex-direction:column; gap:2px; }
.tabs button { display:flex; align-items:center; gap:11px; border:0; background:none; padding:10px 12px; border-radius:var(--r); cursor:pointer; color:var(--t75); text-align:start; font-size:13.5px; }
.tabs button svg { width:18px; height:18px; }
.tabs button:hover { background:var(--fill); }
.tabs button[aria-selected="true"] { background:var(--accent-5); color:var(--accent-ink); font-weight:500; }
.side-foot { margin-top:auto; display:flex; flex-direction:column; gap:8px; padding:14px; border-radius:var(--r-lg); background:var(--surface-2); }
.eyebrow { font-size:10.5px; letter-spacing:1.6px; text-transform:uppercase; color:var(--t55); font-weight:500; }
select, input, textarea { background:var(--surface); border:1px solid var(--line-2); border-radius:10px; padding:9px 11px; outline:0; }
select:focus, input:focus, textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-12); }
.seg { display:flex; gap:4px; padding:3px; background:var(--surface); border-radius:999px; border:1px solid var(--line); } .seg button { flex:1; border:0; background:none; padding:6px 10px; border-radius:999px; cursor:pointer; font-size:12.5px; color:var(--t75); } .seg button[aria-pressed="true"] { background:var(--navy); color:#fff; }
.mainwrap { min-width:0; }
main { max-width:1180px; margin:0 auto; padding:30px 34px 10px; }
.head { display:flex; align-items:flex-end; gap:12px; margin:30px 0 14px; } .head:first-child { margin-top:0; }
h1 { font-weight:300; font-size:30px; letter-spacing:-.8px; line-height:1.15; margin:4px 0 0; } h2 { font-weight:400; font-size:22px; letter-spacing:-.4px; margin:4px 0; }
.pill { background:var(--accent-5); color:var(--accent-ink); border-radius:999px; padding:3px 11px; font-size:12px; font-weight:500; margin-bottom:6px; }
.muted { color:var(--t55); } .small { font-size:12.5px; } .grow { flex:1; } .row { display:flex; gap:10px; align-items:center; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:18px; margin-bottom:12px; box-shadow:var(--shadow); }
.funnel { display:grid; grid-template-columns:repeat(6, 1fr) 1px repeat(2, 1fr); gap:10px; align-items:stretch; }
.funnel .sep { background:var(--line); }
.f { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:14px 14px 16px; position:relative; overflow:hidden; box-shadow:var(--shadow); }
.f b { display:block; font-size:28px; font-weight:300; letter-spacing:-.8px; } .f span { font-size:11.5px; color:var(--t55); }
.f i { position:absolute; left:0; bottom:0; height:3px; background:var(--accent); border-radius:0 3px 0 0; }
.f.alert { background:var(--neg-5); border-color:transparent; box-shadow:none; } .f.alert b { color:var(--neg); }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:14px; } .grid3 { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.task { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:16px; display:flex; flex-direction:column; gap:9px; box-shadow:var(--shadow); position:relative; transition:box-shadow .15s, transform .15s; }
.task:hover { box-shadow:var(--shadow-float); }
.task.u::before { content:""; position:absolute; left:16px; right:16px; top:0; height:3px; border-radius:0 0 3px 3px; background:var(--neg); }
.task .tt { font-weight:500; font-size:15px; letter-spacing:-.2px; }
.av { width:38px; height:38px; border-radius:50%; background:var(--accent-5); color:var(--accent-ink); display:grid; place-items:center; font-weight:500; font-size:13px; flex:none; }
.task b { display:block; font-weight:500; }
.cond { display:inline-block; font-size:11px; font-weight:500; padding:3px 9px; border-radius:999px; color:var(--c); background:color-mix(in srgb, var(--c) 10%, transparent); }
.urg { font-size:10.5px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; padding:3px 9px; border-radius:999px; background:var(--neg-5); color:var(--neg); }
.late { color:var(--neg); font-weight:500; }
.bar { display:flex; gap:3px; } .bar i { flex:1; height:4px; border-radius:3px; background:var(--line-2); } .bar i.on { background:var(--accent); } .bar i.late { background:var(--neg); }
.btn { background:var(--navy); color:#fff; border:0; border-radius:999px; padding:9px 16px; cursor:pointer; font-weight:500; font-size:13px; white-space:nowrap; }
.btn:hover { background:#1a1470; }
.btn.ghostbtn { background:var(--surface); color:var(--navy); border:1px solid var(--line-2); }
.ghost { background:var(--surface); border:1px solid var(--line-2); border-radius:999px; padding:8px 13px; cursor:pointer; font-size:12.5px; color:var(--t85); }
.waiting { font-size:12px; color:var(--t55); }
.link { background:none; border:0; text-decoration:underline; cursor:pointer; color:var(--t55); font-size:inherit; padding:0; }
.empty { padding:44px; text-align:center; color:var(--t55); background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--r-lg); }
.others { margin-top:26px; } .others summary { cursor:pointer; color:var(--t55); margin-bottom:14px; font-size:13px; }
.tablewrap { overflow-x:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow); }
table { width:100%; border-collapse:collapse; } th { text-align:start; font-size:10.5px; letter-spacing:1.4px; text-transform:uppercase; color:var(--t55); font-weight:500; padding:12px 14px; border-bottom:1px solid var(--line); } td { padding:13px 14px; border-bottom:1px solid var(--line); vertical-align:top; } tbody tr:last-child td { border-bottom:0; }
td b { font-weight:500; }
tbody tr[data-open] { cursor:pointer; } tbody tr[data-open]:hover { background:var(--accent-5); }
.form label { display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--t55); margin-bottom:12px; } .g2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.yn { border:1px solid var(--line-2); border-radius:12px; margin:0 0 12px; padding:10px 14px; } .yn legend { font-size:12px; color:var(--t55); padding:0 4px; } .yn label { flex-direction:row; display:inline-flex; gap:6px; margin:0 18px 0 0; color:var(--t1); font-size:14px; }
.verdict { border-radius:14px; padding:14px 16px; margin:6px 0 16px; background:var(--leaf-5); color:var(--leaf-ink); } .verdict.urgent { background:var(--neg-5); color:var(--neg); } .verdict.routine { background:var(--warn-5); color:var(--warn); } .verdict.invalid { background:var(--fill); color:var(--t75); } .verdict b { font-weight:600; }
.scrim { position:fixed; inset:0; background:rgba(10,0,80,.18); z-index:9; }
.drawer { position:fixed; top:0; right:0; bottom:0; width:min(500px, 100%); background:var(--paper); z-index:10; overflow-y:auto; box-shadow:var(--shadow-float); }
.dh { display:flex; justify-content:space-between; align-items:flex-start; padding:22px 24px; background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:1; } .db { padding:18px 24px; }
.acts { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; } textarea { width:100%; margin-top:12px; resize:vertical; }
.ev { list-style:none; padding:0; margin:10px 0 0; } .ev li { padding:7px 0; color:var(--t55); display:flex; gap:10px; align-items:center; } .ev li::before { content:""; width:9px; height:9px; border-radius:50%; border:1.5px solid var(--line-2); } .ev li.ok { color:var(--t1); } .ev li.ok::before { background:var(--leaf); border-color:var(--leaf); }
.tl { list-style:none; padding:0; margin:10px 0 0; position:relative; } .tl li { padding:0 0 14px 22px; display:flex; flex-direction:column; position:relative; } .tl li::before { content:""; position:absolute; left:3px; top:7px; width:8px; height:8px; border-radius:50%; background:var(--accent); } .tl li::after { content:""; position:absolute; left:6.5px; top:17px; bottom:-2px; width:1px; background:var(--line-2); } .tl li:last-child::after { display:none; } .tl b { font-weight:500; }
.phonewrap { display:grid; grid-template-columns:1fr 380px; gap:30px; align-items:start; } .pick label { display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--t55); }
.phone { border:9px solid #10103a; border-radius:38px; background:#EFEAE2; color:#10103a; overflow:hidden; display:flex; flex-direction:column; height:640px; box-shadow:var(--shadow-float); }
.ph-top { background:var(--navy); color:#fff; padding:14px 16px; font-weight:500; display:flex; align-items:center; gap:10px; } .ph-top::before { content:"K"; width:28px; height:28px; border-radius:50%; background:var(--leaf); color:var(--navy); display:grid; place-items:center; font-weight:600; font-size:13px; }
.ph-body { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:8px; }
.bub { background:#fff; border-radius:14px 14px 14px 4px; padding:10px 12px; max-width:88%; font-size:14px; display:flex; flex-direction:column; gap:4px; box-shadow:0 1px 1px rgba(0,0,0,.06); } .bub small { color:#6b7280; font-size:10.5px; }
.bub.me { align-self:flex-end; background:#D9FDD3; border-radius:14px 14px 4px 14px; }
.ph-in { display:flex; gap:6px; padding:10px; background:#fff; } .ph-in input { flex:1; min-width:0; background:#fff; color:#10103a; border-radius:999px; } .ph-q { display:flex; gap:6px; padding:0 10px 12px; background:#fff; } .ph-q button { border:1px solid #d1d5db; background:#fff; color:#10103a; border-radius:999px; padding:5px 15px; cursor:pointer; }
code { background:var(--accent-5); color:var(--accent-ink); padding:1px 7px; border-radius:6px; font-size:12.5px; }
.toast { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--navy); color:#fff; padding:11px 18px; border-radius:14px; z-index:20; font-size:13.5px; box-shadow:var(--shadow-float); }
.foot { max-width:1180px; margin:26px auto 40px; padding:0 34px; font-size:11.5px; color:var(--t40); }
.hero { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; flex-wrap:wrap; }
@media (max-width: 960px) {
  .app { grid-template-columns:1fr; } .side { position:static; height:auto; flex-direction:row; flex-wrap:wrap; align-items:center; padding:12px 16px; gap:12px; }
  .tabs { flex-direction:row; overflow-x:auto; order:3; width:100%; } .tabs button { white-space:nowrap; } .side-foot { margin:0 0 0 auto; flex-direction:row; align-items:center; padding:8px; } .side-foot .eyebrow { display:none; }
  main { padding:20px 16px; } .funnel { grid-template-columns:repeat(4, 1fr); } .funnel .sep { display:none; } .grid3, .phonewrap, .g2 { grid-template-columns:1fr; } .phone { height:560px; } .foot { padding:0 16px; }
}

/* guided demo */
.demo { width:100%; justify-content:center; }
.tour-hl { position:fixed; z-index:90; border-radius:14px; box-shadow:0 0 0 9999px rgba(10,0,80,.42); pointer-events:none; transition:all .25s ease-out; outline:2px solid var(--accent); display:none; }
.tour-card { position:fixed; z-index:91; width:360px; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:16px 18px; box-shadow:var(--shadow-float); }
.tour-card .tt2 { font-weight:500; font-size:17px; letter-spacing:-.2px; margin-top:6px; }
.tour-card p { margin:6px 0 0; color:var(--t75); }
.tour-card .ctr { display:flex; gap:8px; margin-top:14px; align-items:center; flex-wrap:wrap; }
.tour-card .dots { font-size:11px; color:var(--t55); margin-inline-end:auto; }
