:root{--brand:#0a78c2;--brand-dark:#085f9a;--brand-soft:#e8f3fb;--ink:#1b2430;--ink-2:#3a4757;--muted:#5d6b7a;--line:#e3e8ee;--line-2:#dde3ea;--bg:#f6f8fa;--surface:#fff;--ok:#067647;--ok-soft:#e7f6ec;--danger:#b42318;--danger-soft:#fdecea;--warn-soft:#fff6e0;--chip:#eef1f5;color:var(--ink);-webkit-text-size-adjust:100%;font-family:Inter,Segoe UI,system-ui,-apple-system,Roboto,Noto Sans Tamil,sans-serif}*{box-sizing:border-box}html,body{background:#eef1f5;margin:0}body{font-size:15px;line-height:1.45}a{color:var(--brand);text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:default}h1{letter-spacing:-.5px;margin:0;font-size:26px;line-height:32px}h2{margin:0;font-size:16px}p{margin:0}.app{background:var(--bg);flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.page{flex-direction:column;flex:1;gap:20px;padding:20px 20px 28px;display:flex}.page.tight{gap:12px;padding:12px 16px 24px}.topbar{justify-content:space-between;align-items:center;gap:8px;display:flex}.brandmark{letter-spacing:-.3px;color:var(--ink);align-items:center;gap:8px;font-size:18px;font-weight:700;display:flex}.brandmark img{width:28px;height:28px}.header{z-index:5;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:4px;min-height:60px;padding:8px 12px;display:flex;position:sticky;top:0}.header .titles{flex-direction:column;min-width:0;display:flex}.header .titles b{font-size:16px}.header .titles span{color:var(--muted);font-size:12px}.iconbtn{width:44px;height:44px;color:var(--ink);background:0 0;border:none;border-radius:22px;flex:none;justify-content:center;align-items:center;display:inline-flex}.iconbtn:hover{background:var(--chip)}.nav{background:var(--surface);border-top:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));height:72px;display:grid;position:sticky;bottom:0}.nav a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:12px;display:flex}.nav a.on{color:var(--brand);font-weight:600}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex}a.card{color:var(--ink)}a.card:hover{border-color:#c9d6e2}.row{align-items:center;gap:12px;display:flex}.between{justify-content:space-between;align-items:center;gap:12px;display:flex}.stack{flex-direction:column;gap:4px;display:flex}.grow{flex:1;min-width:0}.muted{color:var(--muted);font-size:13px}.small{font-size:12px}.label{letter-spacing:.4px;color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:600}.section-title{font-size:16px;font-weight:600}.btn{background:var(--brand);color:#fff;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;height:48px;padding:0 20px;font-size:16px;font-weight:600;display:inline-flex}.btn:hover{background:var(--brand-dark);color:#fff}.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line-2)}.btn.ghost:hover{background:var(--chip)}.btn.big{border-radius:14px;height:52px}.link{color:var(--brand);background:0 0;border:none;padding:0;font-size:14px;font-weight:600}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips.scroll{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.chip{border:1px solid var(--line-2);background:var(--surface);height:36px;color:var(--ink);border-radius:18px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:14px;font-weight:500;display:inline-flex}.chip.on{border:1.5px solid var(--brand);background:var(--brand-soft);color:var(--brand-dark);font-weight:600}.chip.dashed{color:var(--muted);border-style:dashed}.tag{background:var(--chip);border-radius:12px;align-items:center;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.field{flex-direction:column;gap:6px;display:flex}.field>span{font-size:13px;font-weight:600}input,select,textarea{border:1px solid var(--line-2);width:100%;font:inherit;color:var(--ink);background:#fbfcfd;border-radius:12px;padding:12px;font-size:16px}input:focus,select:focus,textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}textarea{resize:none}.check{align-items:flex-start;gap:10px;font-size:14px;line-height:20px;display:flex}.check input{width:20px;height:20px;accent-color:var(--brand);flex:none;margin:0}.code-input{letter-spacing:10px;text-align:center;font-variant-numeric:tabular-nums;font-size:24px}.error{background:var(--danger-soft);color:var(--danger);border-radius:12px;padding:10px 12px;font-size:14px}.notice{background:var(--brand-soft);color:#0b3f66;border-radius:12px;padding:10px 12px;font-size:14px}.devcode{background:var(--warn-soft);color:#5c3a00;border-radius:12px;padding:10px 12px;font-size:14px}.devcode b{letter-spacing:3px;font-size:18px}.emergency{background:var(--danger-soft);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.emergency span{color:#7a1a12;flex:1;font-size:13px;line-height:18px}.emergency a{background:var(--danger);color:#fff;border-radius:18px;flex:none;align-items:center;height:36px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.avatar{background:var(--chip);width:52px;height:52px;color:var(--ink-2);border-radius:26px;flex:none;justify-content:center;align-items:center;font-size:16px;font-weight:600;display:flex}.avatar.lg{border-radius:32px;width:64px;height:64px;font-size:20px}.avatar.sm{width:40px;height:40px;font-size:14px}.doctor-name{align-items:center;gap:6px;font-size:15px;font-weight:600;display:flex}.status-now{color:var(--ok);font-size:13px;font-weight:600}.status-later{color:var(--muted);font-size:13px;font-weight:600}.fee{font-size:15px;font-weight:700}.verified-band{background:var(--brand-soft);color:var(--brand-dark);border-radius:12px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;display:flex}.hours{grid-template-columns:52px 1fr;gap:6px 12px;margin:0;font-size:14px;display:grid}.hours dt{color:var(--muted)}.hours dd{margin:0}.bottom{background:var(--surface);border-top:1px solid var(--line);flex-direction:column;gap:8px;padding:12px 20px 20px;display:flex;position:sticky;bottom:0}.welcome{flex-direction:column;flex:1;justify-content:center;gap:24px;padding:32px 24px;display:flex}.welcome .logo{width:220px;max-width:70%}.skeleton{background:linear-gradient(90deg,#eef1f5,#f6f8fa,#eef1f5);border-radius:16px;height:96px}.pick{text-align:left;font:inherit;color:var(--ink);cursor:pointer;flex-direction:row;align-items:center}.pick.on{border:1.5px solid var(--brand);background:var(--brand-soft)}.pick-icon{background:var(--ok-soft);border-radius:12px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.times{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;display:grid}.times .chip{justify-content:center}.consult-meta{grid-template-columns:64px 1fr;gap:4px 10px;margin:0;font-size:14px;display:grid}.consult-meta dt{color:var(--muted)}.consult-meta dd{margin:0}.status-pill{background:var(--chip);color:var(--ink-2);border-radius:10px;padding:3px 10px;font-size:12px;font-weight:600}.status-pill.booked{background:var(--brand-soft);color:var(--brand-dark)}.status-pill.completed{background:var(--ok-soft);color:var(--ok)}.status-pill.cancelled{background:var(--danger-soft);color:var(--danger)}.tabs{background:var(--chip);border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.tabs button{height:36px;color:var(--muted);background:0 0;border:none;border-radius:9px;font-weight:600}.tabs button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #0000000f}.sheet-backdrop{z-index:20;background:#0f172073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:20px 20px 0 0;flex-direction:column;gap:12px;width:100%;max-width:480px;padding:20px 20px 28px;display:flex}.status-pill.awaiting_payment{background:var(--warn-soft);color:#8a5a00}.paid-line{color:var(--ok);align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.call{z-index:30;color:#fff;background:#0f1720;flex-direction:column;display:flex;position:fixed;inset:0}.call-remote{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.call-video{object-fit:cover;background:#0f1720;width:100%;height:100%}.call-placeholder{text-align:center;color:#c9d3dd;flex-direction:column;align-items:center;gap:14px;max-width:320px;padding:24px;display:flex}.call-placeholder .avatar{color:#fff;background:#24303c}.call-top{background:linear-gradient(#0000008c,#0000);flex-direction:column;gap:6px;padding:16px 20px 28px;display:flex;position:absolute;top:0;left:0;right:0}.call-top b{font-size:18px}.call-lock{color:#d7f5e1;align-items:center;gap:6px;font-size:13px;display:inline-flex}.call-self{color:#c9d3dd;background:#24303c;border:2px solid #ffffff40;border-radius:14px;justify-content:center;align-items:center;width:108px;height:152px;font-size:12px;display:flex;position:absolute;bottom:120px;right:16px;overflow:hidden}.call-controls{background:linear-gradient(#0000,#0009);justify-content:center;gap:18px;padding:20px 20px 32px;display:flex;position:absolute;bottom:0;left:0;right:0}.call-btn{background:#ffffff2e;border:none;border-radius:28px;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.call-btn.off{background:#fff}.call-btn.off svg{stroke:#0f1720}.call-btn.end{background:#d92d20}.call-ask{background:var(--surface);width:min(420px,100% - 32px);color:var(--ink);border-radius:20px;flex-direction:column;gap:12px;margin:auto;padding:24px 20px;display:flex}.call-ask h2{margin:0;font-size:20px}.call-ask p{color:var(--muted);margin:0 0 6px;line-height:1.5}.call-dan{background:#0f1720b8;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex;position:absolute;top:92px;left:16px;right:16px}.call-dan .dot{background:#f04438;border-radius:50%;flex:none;width:9px;height:9px;animation:1.2s infinite dan-pulse}.call-dan button{color:#fff;background:0 0;border:1px solid #fff6;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}@keyframes dan-pulse{50%{opacity:.35}}.notes-card{gap:0}.notes-head{border-bottom:1px solid var(--line-2);flex-wrap:wrap;justify-content:space-between;gap:12px;padding-bottom:12px;display:flex}.notes-head>div{flex-direction:column;gap:2px;display:flex}.notes-block{border-bottom:1px solid var(--line-2);padding:12px 0}.notes-block h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 6px;font-size:13px}.notes-text{white-space:pre-wrap;margin:0;line-height:1.5}.notes-list{margin:0;padding-left:18px}.notes-rx{flex-direction:column;gap:8px;margin:0;padding-left:20px;display:flex}.notes-full{padding:12px 0}.notes-full summary{cursor:pointer;font-weight:600}.notes-full .notes-block:last-child{border-bottom:0}@media print{.header,.bottom-nav,.no-print{display:none!important}.notes-full{display:block}.page{padding:0}}.center{text-align:center}.switch{background:var(--line-2);border:none;border-radius:15px;flex:none;width:52px;height:30px;transition:background .15s;position:relative}.switch span{background:#fff;border-radius:12px;width:24px;height:24px;transition:left .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch.on{background:var(--ok)}.switch.on span{left:25px}.dn{flex-direction:column;gap:12px;display:flex}.dn-section{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:10px;padding:14px;display:flex}.dn-section h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0;font-size:13px}.dn-section .field{margin:0}.dn-section textarea{font-size:15px;line-height:1.45}.dn-line{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:8px 0;font-size:15px;display:flex}.dn-chips{flex-wrap:wrap;gap:6px;display:flex}.dn-chips .chip,.dn-section .chip{height:32px;font-size:13px}.chip.on{background:var(--brand);border-color:var(--brand);color:#fff}.dn-pick{text-align:left;border:1px solid var(--line-2);color:var(--ink);background:#fbfcfd;border-radius:10px;padding:8px 10px;font-size:14px}.dn-form{background:var(--chip);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.dn-grid,.dn-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.dn>.dn-actions{background:linear-gradient(transparent, var(--bg,#f5f7fa) 30%);padding:10px 0 4px;position:sticky;bottom:0}.dn-text{white-space:pre-wrap;margin:0;font-size:15px;line-height:1.45}.dn-dan{border-color:var(--brand)}.dan-mark{color:#5ce1e6;background:#0f1720;border-radius:16px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-weight:800;display:flex}.dot-rec{background:#f04438;border-radius:50%;width:10px;height:10px;animation:1.2s infinite dan-pulse}.dn-draft{background:var(--brand-soft);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.dn-sugg{background:var(--surface);border-radius:10px;align-items:flex-start;gap:10px;padding:10px;display:flex}.dn-sugg .k{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11px;font-weight:700}.added{color:var(--ok);white-space:nowrap;font-size:13px;font-weight:600}.dn-sheet{z-index:40;background:var(--bg,#f5f7fa);visibility:hidden;max-width:480px;margin:0 auto;transition:transform .2s;position:fixed;inset:0;overflow-y:auto;transform:translateY(100%)}.dn-sheet.open{visibility:visible;transform:none}.dn-sheet-bar{z-index:2;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 16px;display:flex;position:sticky;top:0}.dn-peek{z-index:35;color:var(--ink);background:#ffffffeb;border:none;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600;position:fixed;bottom:116px;left:50%;transform:translate(-50%)}.notes-btn{background:#ffffff2e}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.legal{gap:24px;font-size:15px;line-height:22px}.legal-logo{width:160px}.legal ul{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.legal section.stack{gap:8px}.legal-contact{grid-template-columns:80px 1fr}.legal-links{flex-wrap:wrap;justify-content:center;gap:4px 16px;font-size:13px;display:flex}.legal-links a{color:var(--muted)}
