/* Kashi On Web — visitor UI */
:root {
  --ink: #13304F; --ink-2: #1E4470; --ink-3: #2C5A8A;
  --gold: #D98E1F; --gold-deep: #B8731A; --gold-soft: #F7EAD3;
  --sindoor: #B33A22; --ok: #2E7D4F; --ok-soft: #E3F1E8;
  --mist: #EEF2F3; --line: #D5DDE2; --line-2: #E6EBEE;
  --text: #1F2A36; --muted: #5B6B7A; --white: #fff;
  --serif: 'Tiro Devanagari Hindi', Georgia, serif;
  --sans: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 18px; --r: 12px; --r-sm: 8px;
  --bar-h: 76px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.55; color: var(--text); background: var(--mist); }
img { max-width: 100%; display: block; }
a { color: var(--ink-3); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.2; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Ghat steps motif ---------- */
.ghats { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; }
.ghats span { position: absolute; left: 0; right: 0; height: 18px; }

/* ---------- Intake layout ---------- */
.intake { display: grid; grid-template-columns: minmax(340px, 40%) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--ink); color: #E7EDF3; display: flex; flex-direction: column; overflow: hidden; }
.side-top { padding: 28px 40px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 3px; }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 20px; display: block; line-height: 1.1; }
.brand small { color: #E8C27A; font-size: 13px; }
.lang { color: #E8C27A; text-decoration: none; border: 1px solid rgba(232,194,122,.45); padding: 4px 12px; border-radius: 99px; font-size: 14px; white-space: nowrap; }
.lang:hover { background: rgba(232,194,122,.12); }
.side-hero { padding: 48px 40px 24px; position: relative; z-index: 1; }
.side-hero h1 { color: #fff; font-size: clamp(32px, 3.3vw, 46px); max-width: 15ch; }
.side-hero p { color: #C3CFDA; max-width: 42ch; margin: 16px 0 0; font-size: 17px; }
.side-hero ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 15.5px; color: #DCE4EB; }
.side-hero li { display: flex; gap: 10px; align-items: baseline; }
.side-hero li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg) translateY(-2px); flex: none; }
.side-foot { margin-top: auto; padding: 0 40px 28px; position: relative; z-index: 1; }
.side-foot a { color: #E8C27A; }

/* ---------- Receipt (live estimate) ---------- */
.receipt { background: #fff; color: var(--text); border-radius: var(--r-lg) var(--r-lg) var(--r) var(--r); position: relative; margin-bottom: 18px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.receipt::after { /* torn edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: radial-gradient(circle at 6px 0, #fff 5px, transparent 5.5px) 0 0 / 12px 8px repeat-x;
}
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px 6px; gap: 10px; }
.receipt-head span { font-size: 14px; color: var(--muted); }
.receipt-amt { font-family: var(--serif); font-size: 34px; color: var(--ink); line-height: 1.1; padding: 0 20px; font-variant-numeric: tabular-nums; }
.receipt-amt small { font-size: 16px; color: var(--muted); }
.receipt-amt.empty { font-family: var(--sans); font-size: 15.5px; color: var(--muted); padding-bottom: 6px; }
.receipt-lines { list-style: none; margin: 10px 0 0; padding: 8px 20px 4px; border-top: 1px dashed var(--line); max-height: 180px; overflow: auto; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; }
.receipt-lines li span:first-child { color: var(--muted); }
.receipt-note { font-size: 13px; color: var(--muted); padding: 6px 20px 16px; }
.receipt-flags { padding: 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.flag { font-size: 12.5px; padding: 2px 9px; border-radius: 99px; background: var(--gold-soft); color: #7A4A0C; }
.receipt-toggle { display: none; }

/* ---------- Form column ---------- */
.main { padding: 36px clamp(16px, 5vw, 72px) 120px; max-width: 860px; width: 100%; }
.stepper { display: flex; gap: 6px; margin-bottom: 26px; list-style: none; padding: 0; counter-reset: s; }
.stepper li { flex: 1; font-size: 14px; color: var(--muted); counter-increment: s; }
.stepper li::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 7px; transition: background .25s; }
.stepper li.done::before, .stepper li.on::before { background: var(--ink); }
.stepper li.on { color: var(--ink); font-weight: 600; }
.card { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 36px); border: 1px solid var(--line-2); }
.step { display: none; }
.step.on { display: block; animation: rise .32s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.on { animation: none; } * { transition: none !important; } }
.step h2 { font-size: clamp(26px, 3vw, 32px); }
.step > p.lead { margin: 6px 0 22px; color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); background: #FAFBFC; border-radius: var(--r);
  font-size: 16.5px; transition: border-color .15s, background .15s;
}
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-3); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field .err { display: none; color: var(--sindoor); font-size: 14px; margin-top: 5px; }
.field.bad .input, .field.bad select, .field.bad textarea { border-color: var(--sindoor); }
.field.bad .err { display: block; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.prefix .input { padding-left: 48px; }

.counter { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); background: #FAFBFC; }
.counter button { width: 52px; height: 50px; border: 0; background: none; font-size: 22px; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.counter button:hover { background: var(--mist); }
.counter input { flex: 1; text-align: center; border: 0; background: none; font-size: 18px; font-weight: 600; width: 40px; -moz-appearance: textfield; }
.counter input::-webkit-outer-spin-button, .counter input::-webkit-inner-spin-button { -webkit-appearance: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; background: #FAFBFC; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check:has(input:checked) { border-color: var(--ink); background: #F3F6F9; }

/* ---------- Services ---------- */
.cat { margin-top: 26px; }
.cat h3 { font-size: 21px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.cat h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.svc { border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.svc.on { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--gold); }
.svc-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.svc-head b { font-size: 17px; color: var(--ink); }
.svc-head small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.svc p { margin: 2px 0 10px; color: var(--muted); font-size: 14.5px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt span { display: block; padding: 8px 13px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14.5px; cursor: pointer; background: #FAFBFC; line-height: 1.3; }
.opt span i { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt input:checked + span i { color: #E8C27A; }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt.none span { color: var(--muted); }
.opt.none input:checked + span { background: var(--mist); color: var(--muted); border-color: var(--line); }
.days-row { display: none; align-items: center; gap: 10px; margin-top: 10px; font-size: 14.5px; }
.svc.on .days-row { display: flex; }
.days-row .counter { width: 150px; }
.days-row .counter button { height: 38px; width: 42px; font-size: 18px; }

/* ---------- Review ---------- */
.review dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 500; }
.review h3 { font-size: 19px; margin: 22px 0 8px; }
.rev-svc { list-style: none; padding: 0; margin: 0; }
.rev-svc li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }

/* ---------- Buttons ---------- */
.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--r); border: 0; cursor: pointer; font-weight: 600; font-size: 16.5px; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-gold { background: var(--gold); color: #2A1A04; }
.btn-gold:hover { background: #E59B2E; }
.btn-ghost { background: none; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* ---------- Thank you ---------- */
.thanks { text-align: left; }
.thanks .ref { font-family: var(--serif); font-size: 28px; color: var(--gold-deep); margin: 8px 0 12px; }
.linkbox { display: flex; gap: 8px; margin: 16px 0; }
.linkbox input { flex: 1; min-width: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .intake { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; }
  .side-top { padding: 18px 18px 0; }
  .side-hero { padding: 26px 18px 118px; }
  .ghats { height: 96px; }
  .side-hero ul { display: none; }
  .side-foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 0; z-index: 30; }
  .side-foot > p { display: none; }
  .receipt { margin: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px -12px rgba(19,48,79,.45); }
  .receipt::after { display: none; }
  .receipt-head { padding: 12px 104px 0 18px; }
  .receipt-head span { font-size: 12.5px; }
  .receipt-amt { font-size: 26px; padding: 0 18px 12px; }
  .receipt-amt.empty { font-size: 15px; }
  .receipt-lines, .receipt-note, .receipt-flags { display: none; }
  .receipt.open .receipt-lines, .receipt.open .receipt-note, .receipt.open .receipt-flags { display: flex; }
  .receipt.open .receipt-lines { display: block; }
  .receipt.open .receipt-flags { padding-bottom: 6px; }
  .receipt-toggle { display: block; position: absolute; right: 14px; top: 12px; background: var(--mist); border: 0; border-radius: 99px; padding: 4px 12px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
  .main { padding: 22px 14px calc(var(--bar-h) + 40px); }
  .card { border-radius: 16px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .review dl { grid-template-columns: 1fr; gap: 0; }
  .review dt { margin-top: 8px; font-size: 14px; }
  .actions .btn { flex: 1; }
}

/* ---------- Simple centered pages ---------- */
.solo { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--ink); position: relative; overflow: hidden; }
.solo .card { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.solo .brand { color: var(--ink); margin-bottom: 18px; }
.solo .brand img { background: none; padding: 0; }
.alert { padding: 11px 14px; border-radius: var(--r-sm); background: #FBE9E5; color: #8A2A18; font-size: 15px; margin: 10px 0; }
.alert.ok { background: var(--ok-soft); color: #1D5B37; }

/* =================== Visitor dashboard =================== */
body.dash { padding-bottom: 84px; }
.dhead { background: var(--ink); color: #E7EDF3; position: relative; overflow: hidden; padding-bottom: 64px; }
.dtop { display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 4vw, 40px) 0; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.dtop .brand img { width: 44px; height: 44px; }
.dtop .brand b { font-size: 18px; }
.dhero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 26px clamp(16px, 4vw, 40px) 0; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.dref { margin: 0; color: #E8C27A; font-size: 14.5px; letter-spacing: .02em; }
.dhero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 44px); }
.dmeta { margin: 6px 0 0; color: #C3CFDA; }
.dcount { text-align: right; color: #C3CFDA; font-size: 14.5px; max-width: 12ch; }
.dcount b { display: block; font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; color: #E8C27A; }
.progress { list-style: none; display: flex; margin: 22px auto 0; padding: 0 clamp(16px, 4vw, 40px); max-width: 1100px; gap: 4px; position: relative; z-index: 1; }
.progress li { flex: 1; font-size: 13px; color: #8FA3B6; }
.progress li::before { content: ''; display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.16); margin-bottom: 6px; }
.progress li.done::before { background: #E8C27A; }
.progress li.on::before { background: linear-gradient(90deg, #E8C27A 50%, rgba(255,255,255,.16) 50%); }
.progress li.on { color: #fff; font-weight: 600; }
.dhead .ghats { height: 64px; }

.dtabs { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: 2px; padding: 0 8px; overflow-x: auto; }
.dtabs a { display: flex; align-items: center; gap: 7px; padding: 14px 14px 12px; text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; position: relative; }
.dtabs a.on { color: var(--ink); border-bottom-color: var(--gold); }
.dtabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dtabs .dot { position: absolute; top: 10px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--sindoor); }
.dmain { max-width: 1100px; margin: 0 auto; padding: 22px clamp(14px, 4vw, 40px) 40px; }
.pane { display: none; }
.pane.on { display: block; }
.dcard { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.dcard h2 { font-size: 22px; margin-bottom: 8px; }
.dcard p { margin: 0 0 10px; }
.dcard.empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.dcard.next { border-left: 4px solid var(--gold); }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dgrid > .dcard { margin-bottom: 0; }
.dgrid + .dcard, .dgrid + .dgrid { margin-top: 14px; }
.dgrid { margin-bottom: 14px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.row-btns .btn { padding: 10px 16px; font-size: 15.5px; }
.person { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.person:last-child { border: 0; }
.person > div:nth-child(2) { flex: 1; min-width: 0; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; flex: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); flex: none; }
.icon-btn svg, .doc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.doc { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 500; }
.doc:last-child { border: 0; }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { padding: 6px 0 10px 18px; border-left: 2px solid var(--line); position: relative; font-size: 15.5px; }
.tl li::before { content: ''; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.tl time { display: block; font-size: 13px; color: var(--muted); }
.ddl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.ddl dt { color: var(--muted); }
.ddl dd { margin: 0; }
.copy { border: 0; background: var(--mist); border-radius: 6px; padding: 1px 8px; font: inherit; font-weight: 600; cursor: copy; color: var(--ink); }

.intro { font-size: 17px; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; align-items: start; }
.pkgc { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.pkgc.rec { border-color: var(--gold); }
.pkgc.mine { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.pkgc header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pkgc h3 { font-size: 24px; }
.badge-rec, .badge-mine { font-size: 12.5px; padding: 2px 10px; border-radius: 99px; background: var(--gold-soft); color: #7A4A0C; font-weight: 600; }
.badge-mine { background: var(--ink); color: #fff; }
.pamt { font-family: var(--serif); font-size: 34px; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pamt small { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-left: 6px; }
.padv { margin: 2px 0 12px; color: var(--muted); }
.padv b { color: var(--gold-deep); }
.plines { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px dashed var(--line); flex: 1; }
.plines li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.plines li span { color: var(--muted); }
.plines li b { font-weight: 500; text-align: right; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 4px 0 4px 24px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 10px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.terms { padding-left: 18px; margin: 0; } .terms li { margin-bottom: 5px; }

.paybox { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-left: 4px solid var(--gold); }
.upi-btn { margin-top: 8px; }
.qr { margin: 0; text-align: center; }
.qr img { width: 180px; height: 180px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; }
.qr figcaption { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.vform { display: grid; gap: 12px; }
.vform .field span { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.vmsg { margin: 0; font-size: 15px; color: var(--ok); }
.vmsg.err { color: var(--sindoor); }
.payrow { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.payrow:last-child { border: 0; }
.st { font-size: 13px; padding: 2px 10px; border-radius: 99px; font-weight: 600; }
.st-pending { background: var(--gold-soft); color: #7A4A0C; } .st-verified { background: var(--ok-soft); color: #1D5B37; } .st-rejected { background: #FBE9E5; color: #8A2A18; }

.day h2 { display: flex; gap: 12px; align-items: center; margin-bottom: 2px; }
.dnum { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--sans); font-size: 16px; font-weight: 600; flex: none; }
.day.today { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.stops { list-style: none; margin: 10px 0 0; padding: 0; }
.stops li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.stops time { color: var(--gold-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.stops p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.place { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.place img { width: 100%; height: 160px; object-fit: cover; }
.pbody { padding: 14px 16px; }
.phead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.phead h3 { font-size: 20px; }
.place p { margin: 6px 0; }
.crowd { font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.c-low { background: var(--ok-soft); color: #1D5B37; } .c-medium { background: var(--gold-soft); color: #7A4A0C; } .c-high { background: #FBE9E5; color: #8A2A18; }

.askcard { display: flex; flex-direction: column; min-height: 60vh; }
.askhead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.speaker { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.speaker input { accent-color: var(--ink); width: 17px; height: 17px; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px 0; overflow-y: auto; max-height: 52vh; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 16px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 4px; }
.msg.typing { color: var(--muted); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chipq { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 13px; font: inherit; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.chipq:hover { border-color: var(--ink); }
.askbar { display: flex; gap: 8px; align-items: center; }
.askbar .input { flex: 1; min-width: 0; }
.mic { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: #2A1A04; display: grid; place-items: center; cursor: pointer; flex: none; }
.mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic.live { background: var(--sindoor); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179,58,34,.45); } 50% { box-shadow: 0 0 0 10px rgba(179,58,34,0); } }
.disclaimer { margin: 10px 0 0 !important; }
.stars { font-size: 28px; color: var(--gold); margin: 0; }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-in input { position: absolute; opacity: 0; }
.stars-in label { font-size: 34px; color: var(--line); cursor: pointer; line-height: 1; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: var(--gold); }
.stars-in input:focus-visible + label { outline: 3px solid var(--gold); }

@media (max-width: 860px) {
  .dgrid, .pkgs { grid-template-columns: 1fr; }
  .dtabs { position: fixed; top: auto; bottom: 0; left: 0; right: 0; justify-content: space-around; border-top: 1px solid var(--line); border-bottom: 0; padding: 0 0 env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -10px rgba(19,48,79,.3); }
  .dtabs a { flex-direction: column; gap: 2px; padding: 9px 4px 8px; font-size: 11.5px; border-bottom: 0; border-top: 3px solid transparent; flex: 1; }
  .dtabs a.on { border-top-color: var(--gold); }
  .dtabs .dot { top: 6px; right: calc(50% - 16px); }
  .paybox { flex-direction: column; align-items: stretch; text-align: left; }
  .upi-btn { width: 100%; }
  .dcount b { font-size: 44px; }
  .msgs { max-height: 50vh; }
  .askhead { flex-direction: column; }
}
@media (min-width: 861px) { body.dash { padding-bottom: 0; } }
