/* OfficialAstrology — brand palette (brand/BRAND.md) */
@font-face { font-family: "Laila"; src: url("../fonts/Laila-SemiBold.7dec519f482c.ttf") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  --indigo: #1F2A5A; --saffron: #E39B2C; --kumkum: #8C2F39; --cream: #FFFAF0; --sand: #E6DCCB;
  --zebra: #F6EEDF; --ink: #1C1C1C; --stone: #6B6B6B; --ok: #2E7D32; --warn: #A15C00; --err: #B0361E;
  --radius: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink);
       font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif; }
a { color: var(--indigo); }
h1, h2, h3 { font-family: "Laila", Georgia, serif; font-weight: 600; color: var(--indigo); line-height: 1.25; }
h1 { font-size: 1.9rem; margin: .4em 0 .3em; }
h2 { font-size: 1.35rem; margin: 0 0 .4em; }
h2.big { font-size: 1.7rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--sand); }
.site-header .logo img { display: block; height: 56px; width: auto; max-width: 60vw; }
.site-header nav { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.page { max-width: 880px; margin: 0 auto; padding: 16px; }
.site-footer { margin-top: 48px; padding: 18px 16px 26px; background: var(--indigo); color: var(--cream);
  font-size: .85rem; text-align: center; border-top: 3px solid var(--saffron); }
.site-footer a { color: var(--cream); }
.site-footer .contact { font-weight: 600; margin-bottom: 6px; }
.site-footer .credits { opacity: .8; margin-top: 4px; }

.hero { text-align: center; padding: 48px 8px; }
.hero p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 24px; }

.btn { display: inline-block; padding: 10px 18px; border-radius: var(--radius); border: 1.5px solid var(--indigo);
  background: #fff; color: var(--indigo); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--indigo); color: #fff; }
.btn.big { font-size: 1.1rem; padding: 14px 28px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--indigo); font: inherit; font-weight: 500; cursor: pointer; padding: 0; }
form.inline { display: inline; }

.card { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 18px; }
.card.narrow { max-width: 420px; margin: 24px auto; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 16px 0 24px; }
.card.profile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.card.profile strong { font-size: 1.1rem; color: var(--indigo); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--kumkum); background: var(--zebra); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.muted { color: var(--stone); }
.lead { font-size: 1.05rem; margin-top: 0; }

/* form */
.step { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
/* One step at a time: later steps stay hidden until the one before is complete. */
.step.locked { display: none; }
.step.reveal { animation: stepIn .5s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .step.reveal { animation: none; } }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 120px; }
.field.grow { flex: 1 1 220px; }
.field.end { justify-content: flex-end; }
label, .label { font-weight: 600; font-size: .92rem; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], select {
  font: inherit; padding: 9px 11px; border: 1.5px solid #cdbfa8; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
  min-height: 46px; }
input:focus, select:focus { outline: 2px solid var(--saffron); outline-offset: 1px; }
.search { position: relative; }
.results { list-style: none; margin: 4px 0 0; padding: 0; border-radius: 8px; max-height: 320px; overflow: auto; }
.results:not(:empty) { border: 1px solid var(--sand); }
.results li { padding: 9px 12px; min-height: 44px; cursor: pointer; border-bottom: 1px solid var(--zebra); }
.results li:hover, .results li:focus { background: var(--zebra); outline: none; }
.results li span { color: var(--stone); }
/* the city picker's towns are buttons (site.js): the whole row is the target */
.results li.pick { padding: 0; min-height: 0; }
.results .city-pick { display: block; width: 100%; min-height: 44px; padding: 9px 12px; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer; }
.results .city-pick:hover, .results .city-pick:focus-visible { background: var(--zebra); outline: 2px solid var(--kumkum); outline-offset: -2px; }
.results .city-pick:disabled { cursor: progress; opacity: .6; }
.city-status:empty { display: none; }
.results li.none { cursor: default; color: var(--stone); }
.results .same { color: var(--kumkum); font-style: normal; font-size: .8rem; font-weight: 600; }
details { margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--indigo); }
#birth-form summary { padding: 10px 0; } /* 44px tap target, keeps the disclosure arrow */
.options li { margin: 10px 0; }
.map { height: 300px; border-radius: 8px; border: 1px solid var(--sand); margin: 8px 0; background: var(--zebra); }
.place-text { font-weight: 600; font-size: 1.05rem; }
/* block, not flex: label text with links must wrap as one sentence; the box hangs in the left gutter */
.tick { display: block; position: relative; padding-left: 28px; font-weight: 600; margin: 8px 0; }
.tick input { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ok { color: var(--ok); font-weight: 600; }
.warning { color: var(--warn); font-weight: 600; }
.warning.error, .errorlist { color: var(--err); }
.errorlist { list-style: none; padding: 0; margin: 4px 0; font-weight: 600; font-size: .9rem; }
.errors-box { border: 1.5px solid var(--err); border-radius: var(--radius); padding: 8px 14px; background: #fff5f3; }
.notice { background: var(--zebra); border-left: 4px solid var(--saffron); padding: 10px 14px; border-radius: 6px; }

/* toggles (AM/PM, accuracy, midnight/noon) */
.toggle > div { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 44px; border: 1.5px solid #cdbfa8;
  border-radius: 8px; cursor: pointer; font-weight: 600; background: #fff; }
.toggle label:has(input:checked) { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.toggle input { accent-color: var(--saffron); }
.time-row .colon { font-size: 1.6rem; font-weight: 700; padding-bottom: 18px; }
.time-row .field { min-width: 90px; }
.clock { font-weight: 600; color: var(--indigo); }

/* calendar */
.calendar { max-width: 340px; }
.cal-head { display: flex; gap: 8px; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--stone); }
.cal-grid button { font: inherit; padding: 8px 0; min-height: 44px; border: 1px solid var(--sand); border-radius: 6px; background: #fff; cursor: pointer; }
.cal-grid button:hover { border-color: var(--saffron); }
.cal-grid button.sel { background: var(--kumkum); color: #fff; border-color: var(--kumkum); }
.cal-grid button:disabled { opacity: .35; cursor: not-allowed; }
.chosen { font-weight: 700; color: var(--kumkum); font-size: 1.1rem; }
.submit-row { text-align: center; margin: 24px 0; }

/* pop-ups */
dialog.popup { border: 0; border-radius: 14px; padding: 24px; max-width: 440px; width: calc(100% - 32px);
  border-top: 5px solid var(--saffron); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
dialog.popup::backdrop { background: rgba(31, 42, 90, .45); }
dialog.popup p { font-size: 1.05rem; }
.info { border: 0; background: none; color: var(--saffron); font-size: 1.1rem; cursor: pointer; vertical-align: middle;
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; margin: -10px -8px; padding: 0; }

/* detail */
.detail-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
table.kv { width: 100%; border-collapse: collapse; }
table.kv th { text-align: left; width: 40%; padding: 8px 8px 8px 0; vertical-align: top; color: var(--stone); font-weight: 600; }
table.kv td { padding: 8px 0; }
table.kv tr + tr { border-top: 1px solid var(--zebra); }
.chart svg { width: 100%; height: auto; max-width: 360px; display: block; margin: 12px auto 0; }

@media (max-width: 560px) {
  h1 { font-size: 1.5rem; } h2.big { font-size: 1.35rem; }
  .site-header .logo img { height: 44px; }
  .step { padding: 14px; }
}

/* visitor bar */
.visitor-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end;
  padding: 6px 16px; font-size: .85rem; background: var(--zebra); border-bottom: 1px solid var(--sand); }
.visitor-bar .lang-switch { margin-left: 12px; }
.visitor-bar .lang-switch .link { font-weight: 700; }
.visitor-bar .link { min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; }
.visitor-bar { padding-top: 0; padding-bottom: 0; }
#city-dialog .results { margin: 10px 0; }

/* legal pages */
.legal { line-height: 1.65; }
.legal h1 { margin-top: 0; }
.legal h2 { margin-top: 1.4em; font-size: 1.2rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--sand); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--zebra); color: var(--indigo); }
.legal mark.todo { background: #fff0c2; color: var(--warn); padding: 0 3px; border-radius: 3px; }
.site-footer .legal-links { margin: 6px 0; }
.site-footer .legal-links a { margin: 0 6px; font-weight: 600; }
.btn.danger { border-color: var(--err); color: var(--err); }
.card.narrow .btn.danger { background: var(--err); color: #fff; }

/* dashboard */
.dash-hero { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center;
  background: linear-gradient(135deg, #fff 0%, #FFF4E0 100%); border: 1px solid var(--sand);
  border-radius: 16px; padding: 22px; margin-top: 8px; }
@media (min-width: 760px) { .dash-hero { grid-template-columns: 1.6fr 1fr; } }
.dash-hero h1 { margin: 0 0 6px; }
.hello { margin: 0; color: var(--kumkum); font-weight: 700; letter-spacing: .02em; }
.progress-box { background: #fff; border: 1px solid var(--sand); border-radius: 12px; padding: 16px; text-align: center; }
.progress-num { font-family: "Laila", Georgia, serif; font-size: 2rem; color: var(--indigo); line-height: 1; }
.progress-label { color: var(--stone); margin: 4px 0 10px; }
.bar { height: 10px; background: var(--zebra); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--kumkum)); }
.people { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; }
.person { flex: 0 0 auto; display: flex; flex-direction: column; padding: 8px 14px; border: 1.5px solid var(--sand);
  border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); }
.person small { color: var(--stone); }
.person.active { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.person.active small { color: var(--sand); }
.person.add { justify-content: center; color: var(--indigo); font-weight: 700; border-style: dashed; }
h2#insights, h2#today, h2#services, h2#details { margin-top: 28px; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile { position: relative; background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; }
.tile h3 { margin: 0; font-size: 1.1rem; }
.tile p { margin: 0; }
.tile form, .tile > .btn { margin-top: auto; padding-top: 10px; }
.tile .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--zebra); color: var(--kumkum); }
.tile.ready { border-color: #cfe3cf; background: linear-gradient(180deg, #fff, #f8fdf6); }
.tile.ready .ico { background: #e7f4e5; color: var(--ok); }
.tile .headline { font-weight: 700; color: var(--indigo); }
.tile .note { font-size: .88rem; color: var(--stone); border-left: 3px solid var(--saffron); padding-left: 8px; }
.tile .chart svg { max-width: 260px; }
.locked-tile { background: repeating-linear-gradient(135deg, #fff, #fff 12px, #fbf7ef 12px, #fbf7ef 24px); }
table.kv.small th, table.kv.small td { padding: 5px 0; font-size: .92rem; }
.svc.rec { border: 2px solid var(--saffron); }
.badge { position: absolute; top: -10px; right: 14px; background: var(--saffron); color: #fff; font-size: .72rem;
  font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.today-head { margin-bottom: 10px; color: var(--indigo); }
.today-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .today-grid { grid-template-columns: 1fr 1fr; } }
.today h3 { margin: 0 0 8px; font-size: 1rem; }
.fest { list-style: none; padding: 0; margin: 0; }
.fest li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--zebra); }
.fest li span { color: var(--stone); font-size: .9rem; text-align: right; }
.free-banner { background: #e9f6e7; border: 1px solid #cfe3cf; color: #1d5e20; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.badge.free { background: var(--ok); }
.tile small { display: block; margin-top: 6px; }

/* profile menu */
.site-header nav { position: relative; }
.nav-main { margin-right: 6px; }
details.menu { position: relative; }
details.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; min-width: 46px; min-height: 46px; }
details.menu summary::-webkit-details-marker { display: none; }
.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--indigo); color: #fff; font-weight: 700; border: 2px solid var(--saffron); }
.menu-panel { position: absolute; right: 0; top: 46px; z-index: 50; width: 250px; background: #fff;
  border: 1px solid var(--sand); border-radius: 12px; box-shadow: 0 12px 30px rgba(31, 42, 90, .18); padding: 8px; }
.menu-panel a, .menu-btn { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font: inherit; background: none; border: 0; cursor: pointer; }
.menu-panel a:hover, .menu-btn:hover { background: var(--zebra); }
.menu-panel hr { border: 0; border-top: 1px solid var(--sand); margin: 6px 0; }
.menu-who { padding: 6px 10px 8px; color: var(--stone); font-size: .85rem; overflow-wrap: anywhere; }
.steps { list-style: none; display: flex; gap: 4px; padding: 0; margin: 8px 0 4px; font-size: .75rem; }
.steps li { flex: 1; text-align: center; padding: 5px 2px; border-radius: 6px; background: var(--zebra); color: var(--stone); }
.steps li.done { background: #e7f4e5; color: var(--ok); font-weight: 700; }
.steps li.now { background: var(--saffron); color: #fff; font-weight: 700; }
.tile a.btn + a.btn { margin-top: 8px; }
.request-card { max-width: 640px; margin: 8px auto; }
.request-card textarea { font: inherit; width: 100%; padding: 9px 11px; border: 1.5px solid #cdbfa8; border-radius: 8px; }
.ico.big { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--zebra); color: var(--kumkum); }

/* astrologer desk */
.desk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 14px; }
.desk-tabs a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--sand); background: #fff; text-decoration: none; font-weight: 600; }
.desk-tabs a.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.desk-tabs .count { background: var(--saffron); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .8rem; }
.desk-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.desk-table th, .desk-table td { border-bottom: 1px solid var(--zebra); padding: 8px; text-align: left; }
.desk-table tr[data-href] { cursor: pointer; }
.desk-table tr[data-href]:hover { background: var(--zebra); }
.st { font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--zebra); vertical-align: middle; }
.st-waiting { background: #fff0c2; color: var(--warn); } .st-in_progress { background: #e3e8fb; color: var(--indigo); }
.st-checking { background: #fde3d0; color: var(--kumkum); } .st-delivered { background: #e7f4e5; color: var(--ok); }
.desk-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .desk-grid { grid-template-columns: 1fr 1.4fr; } }
#work textarea, #work input[name=title] { width: 100%; font: inherit; padding: 8px 10px; border: 1.5px solid #cdbfa8; border-radius: 8px; }
#work input[name=title] { font-weight: 700; margin-bottom: 4px; }

/* ruling-planet icons (templates/planets/*.svg): each one keeps moving */
.planet { display: block; width: 100%; height: 100%; overflow: visible; }
.planet .p-rays, .planet .p-glow, .planet .p-tilt, .planet .p-tail { transform-box: fill-box; transform-origin: center; }
.p-sun .p-rays { animation: pl-spin 16s linear infinite; }
.planet .p-glow { animation: pl-pulse 3.2s ease-in-out infinite; }
.p-moon .p-shadow { animation: pl-phase 9s ease-in-out infinite alternate; }
.p-mercury .p-surface { animation: pl-roll50 10s linear infinite; }
.p-mars .p-surface { animation: pl-roll50 12s linear infinite; }
.p-venus .p-surface { animation: pl-roll32 7s linear infinite; }
.p-jupiter .p-surface { animation: pl-roll64 14s linear infinite; }
.p-saturn .p-tilt { animation: pl-rock 5s ease-in-out infinite alternate; }
.p-rahu .p-shadow { animation: pl-eclipse 6s ease-in-out infinite alternate; }
.p-ketu .p-tail { animation: pl-flicker 2.4s ease-in-out infinite; }
.p-ketu { animation: pl-float 4s ease-in-out infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-pulse { 50% { transform: scale(1.12); opacity: .2; } }
@keyframes pl-phase { from { transform: translateX(6px); } to { transform: translateX(46px); } }
@keyframes pl-roll50 { to { transform: translateX(-50px); } }
@keyframes pl-roll32 { to { transform: translateX(-32px); } }
@keyframes pl-roll64 { to { transform: translateX(-64px); } }
@keyframes pl-rock { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes pl-eclipse { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes pl-flicker { 50% { opacity: .55; transform: scale(.94); } }
@keyframes pl-float { 50% { transform: translate(-2px, 2px); } }
.planet-name { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron); }
.tile .ico:has(.planet), .ico.big:has(.planet) { background: #0e1433; padding: 6px; }
@media (prefers-reduced-motion: reduce) { .planet, .planet * { animation: none !important; } }

/* mobile verification */
.vf h1 { font-size: 1.45rem; margin: 6px 0 4px; }
.vf-tease { background: var(--zebra); border-left: 4px solid var(--saffron); padding: 10px 12px; border-radius: 6px; margin: 0 0 10px; }
.vf-step { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.vf-step[hidden] { display: none !important; }
.vf-code { font: 700 1.9rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-align: center;
           color: var(--indigo); background: #fffaf0; border: 1.5px dashed var(--saffron); border-radius: var(--radius); padding: 10px; margin: 0; }
.btn.vf-wa { background: #1f9d55; border-color: #1f9d55; color: #fff; text-align: center; }
.btn.vf-sms { text-align: center; }
.vf-qr { display: none; width: 168px; margin: 4px auto 0; }
.vf-qr svg { width: 100%; height: auto; }
.vf-qr-note { display: none; text-align: center; font-size: .85rem; margin: 0; }
@media (hover: hover) and (pointer: fine) { .vf-qr, .vf-qr-note { display: block; } }
.vf-wait { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--indigo); }
.vf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); animation: vfPulse 1.2s ease-in-out infinite; }
@keyframes vfPulse { 50% { transform: scale(1.6); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .vf-dot { animation: none; } }
.vf-ok { font-size: 3rem; color: #1f9d55; margin: 0; text-align: center; }
.vf-dev { border: 1px dashed #c00; padding: 8px; border-radius: 6px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.vf .small { font-size: .85rem; }
.vf hr { border: 0; border-top: 1px solid var(--sand); margin: 8px 0; }
.vf .error { color: var(--err); margin: 0; }

/* report verify page */
.vr { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.vr-head { display: flex; gap: 16px; align-items: center; }
.vr-head h1 { margin: 0 0 4px; }
.vr-head p { margin: 0; }
.vr-result { border-radius: var(--radius); padding: 16px 18px; border: 1.5px solid; }
.vr-result.ok { background: #effaf3; border-color: #1f9d55; }
.vr-result.no { background: #fff4f2; border-color: var(--err); }
.vr-badge { font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; }
.vr-result.ok .vr-badge { color: #1f7a45; }
.vr-result.no .vr-badge { color: var(--err); }
.vr-result ul { margin: 8px 0; padding-left: 20px; }
.vr-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vr-forms form { display: flex; flex-direction: column; gap: 8px; }
.vr-forms h2 { font-size: 1.05rem; margin: 0 0 4px; }
.vr-forms input[name=id] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.vr-how ul { padding-left: 20px; }
.vr .small { font-size: .85rem; }
@media (max-width: 680px) { .vr-forms { grid-template-columns: 1fr; } .vr-head img { width: 64px; height: 64px; } }

/* birth form: "all is well" lines and the nine grahas filling up */
.gl-planets { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin: 4px -16px 14px; padding: 8px 16px; background: rgba(255, 250, 240, .94); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
/* full-bleed inside the page card: pull out exactly its padding (page.css .ed-card) */
.ed-card .gl-planets { margin: 4px calc(-1 * clamp(14px, 3vw, 28px)) 14px; padding: 8px clamp(14px, 3vw, 28px); }
.gl-planets i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1rem; color: var(--stone); background: #fff; border: 1px solid var(--sand); transition: all .5s cubic-bezier(.2, .9, .3, 1.5); }
.gl-planets i.on { color: #fff; background: radial-gradient(circle at 35% 30%, #f6c66b, var(--saffron) 60%, #b86f12);
  border-color: transparent; box-shadow: 0 0 0 4px rgba(227, 155, 44, .2), 0 0 14px rgba(246, 198, 107, .7); transform: scale(1.08); }
.gl-planets span { margin-left: 6px; color: var(--indigo); font-weight: 800; font-size: .95rem; }
.glimpse { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.glimpse p { margin: 0; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #1f2a5a, #3a2f7a 60%, #6b3f86); color: #fff; font-weight: 600; line-height: 1.45;
  box-shadow: 0 12px 26px rgba(31, 42, 90, .25); position: relative; overflow: hidden; }
.glimpse p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-100%); }
/* the lines themselves never fade or slide in (text never moves); only the light passes over them */
.glimpse.in p::after { animation: glShine 1.4s ease .3s; }
@keyframes glShine { to { transform: translateX(100%); } }
.gl-ico { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem;
  background: rgba(255, 255, 255, .14); }
.gl-tease { display: flex; gap: 16px; align-items: center; margin: 18px 0 8px; padding: 14px; border-radius: var(--radius);
  background: var(--indigo); color: #fff; }
.gl-chart { flex: 0 0 120px; width: 120px; border-radius: 8px; overflow: hidden; background: #fff; }
.gl-chart svg { width: 100%; height: auto; display: block; filter: blur(2px); }
.gl-tease-text { margin: 0; font-weight: 600; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .glimpse.in p::after { animation: none; } .gl-planets i { transition: none; } }
@media (max-width: 520px) { .gl-tease { flex-direction: column; text-align: center; } .gl-planets i { width: 27px; height: 27px; font-size: .9rem; } }
@media (max-width: 380px) { .gl-planets { gap: 3px; } .gl-planets i { width: 25px; height: 25px; font-size: .82rem; } }

/* quick-start menu for visitors; a bottom sheet on phones */
.menu-panel a[hidden] { display: none; }
.menu-label { padding: 6px 10px 2px; color: var(--stone); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.menu-panel .mi { display: inline-block; width: 24px; color: var(--saffron); text-align: center; margin-right: 6px; }
.menu-continue { background: #fff3dc; color: var(--indigo) !important; font-weight: 700; margin-bottom: 4px; }
.menu-legal { display: flex; flex-wrap: wrap; gap: 0 4px; }
.menu-legal a { width: auto; padding: 6px 8px; font-size: .82rem; color: var(--stone); }
@media (max-width: 640px) {
  details.menu[open] summary::before { content: ""; position: fixed; inset: 0; background: rgba(20, 24, 50, .35); z-index: 49; }
  .menu-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 18px 18px 0 0;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); max-height: 80vh; overflow-y: auto;
    animation: sheetUp .28s ease both; }
  .menu-panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--sand); margin: 0 auto 8px; }
  .menu-panel a, .menu-btn { padding: 13px 12px; font-size: 1.05rem; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .menu-panel { animation: none; } }

/* error pages */
.err { text-align: center; padding: 40px 16px 60px; max-width: 560px; margin: 0 auto; }
.err-orbit { width: 150px; height: 150px; margin: 0 auto; border: 1.5px dashed var(--sand); border-radius: 50%; position: relative;
  animation: errSpin 14s linear infinite; }
.err-planet { position: absolute; top: -22px; left: calc(50% - 22px); width: 44px; height: 44px; }
.err-planet svg { width: 100%; height: 100%; }
@keyframes errSpin { to { transform: rotate(360deg); } }
.err-code { font: 800 3.4rem/1 ui-rounded, system-ui, sans-serif; color: var(--saffron); margin: 18px 0 4px; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .err-orbit { animation: none; } }
.vf-alt { margin: 0; font-size: .92rem; }

/* verify page: the mobile number is the one thing to fill, so it is big and obvious */
.vf-field label { font-size: 1.05rem; font-weight: 700; color: var(--indigo); }
.vf-tel { display: flex; align-items: stretch; border: 2.5px solid var(--saffron); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 5px rgba(227, 155, 44, .15); transition: box-shadow .2s ease; }
.vf-tel:focus-within { box-shadow: 0 0 0 6px rgba(227, 155, 44, .3); }
.vf-cc { display: flex; align-items: center; padding: 0 12px; font-weight: 800; font-size: 1.15rem; color: var(--indigo);
  background: #fff6e4; border-right: 1.5px solid var(--sand); white-space: nowrap; }
.vf-tel input { flex: 1; min-width: 0; border: 0 !important; outline: none; box-shadow: none !important; background: transparent;
  font: 700 1.6rem/1.2 ui-rounded, system-ui, sans-serif; letter-spacing: .06em; padding: 14px 12px; color: var(--ink); }
.vf-tel input::placeholder { color: #c9c2b5; font-weight: 600; }
#vf-number .btn.big { width: 100%; font-size: 1.15rem; padding: 15px; }
.vf-code-box input { letter-spacing: .5em; text-align: center; }
#vf-email .btn.big { width: 100%; font-size: 1.15rem; padding: 15px; }

/* dashboard: the kundli comes first */
.kh { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; margin: 4px 0 22px; padding: 24px;
  border-radius: 22px; color: var(--cream); background: radial-gradient(ellipse at 80% 20%, #2f3a7a, #151b48 60%, #0d1233);
  box-shadow: 0 24px 50px rgba(14, 18, 44, .25); }
.kh-hello { margin: 0; color: #f6c66b; font-weight: 700; }
.kh h1 { color: #fff; margin: 4px 0 14px; font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
.kh-signs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kh-signs li { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.kh-signs small { display: block; opacity: .7; font-size: .78rem; }
.kh-signs strong { font-size: 1.05rem; color: #fff; }
.kh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.kh-actions form { margin: 0; }
.btn.kh-gold { background: linear-gradient(135deg, #f6c66b, var(--saffron)); color: var(--indigo); border: 0; font-weight: 800;
  box-shadow: 0 12px 26px rgba(227, 155, 44, .35); }
.kh-more { color: #f6c66b; font-weight: 600; }
.kh-note { margin: 12px 0 0; opacity: .7; font-size: .85rem; }
.kh-chart { background: #fffaf0; border-radius: 16px; padding: 8px; }
.kh-chart svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .kh { grid-template-columns: 1fr; padding: 18px; } .kh-chart { order: -1; max-width: 320px; margin: 0 auto; }
  .btn.kh-gold { width: 100%; text-align: center; } }

/* "Your kundli is being made" screen (js/busy.js) */
#oa-busy[hidden] { display: none; }
#oa-busy { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(28, 30, 60, .72); padding: 16px; }
#oa-busy .busy-card { background: #FFFBF2; border-radius: 16px; max-width: 380px; width: 100%; padding: 28px 22px;
  text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
#oa-busy .busy-wheel { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  border: 5px solid #F3E2BD; border-top-color: #E39B2C; animation: oa-spin 1s linear infinite; }
#oa-busy .busy-title { font-size: 1.2rem; font-weight: 700; color: #2B2F6B; margin: 0 0 6px; }
#oa-busy .busy-step { min-height: 1.5em; color: #8C2F39; margin: 0 0 10px; }
#oa-busy .busy-note { font-size: .85rem; color: #6b6b6b; margin: 0; }
#oa-busy.done .busy-wheel { animation: none; border-color: #2E8B57; }
#oa-busy.done .busy-wheel::after { content: "✓"; display: block; font-size: 34px; line-height: 54px; color: #2E8B57; }
@keyframes oa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #oa-busy .busy-wheel { animation-duration: 3s; } }
#oa-busy.done .busy-note { display: none; }
.forgot { margin-left: 12px; font-size: .92rem; }
.popup .use-loc { width: 100%; margin: 6px 0; }
.small { font-size: .85rem; }
/* Question chips on the dashboard */
.q-pick { border: 0; padding: 0; margin: 4px 0 12px; }
.q-pick legend { font-size: .95rem; margin-bottom: 8px; color: inherit; opacity: .92; }
.q-chip { display: inline-block; margin: 0 6px 8px 0; cursor: pointer; }
.q-chip input { position: absolute; opacity: 0; pointer-events: none; }
.q-chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55);
  font-size: .9rem; background: rgba(255,255,255,.08); }
.q-chip input:checked + span { background: #E39B2C; border-color: #E39B2C; color: #1C1C1C; font-weight: 600; }
.q-chip input:checked + span::before { content: "✓ "; }
.q-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.q-chip.off span { opacity: .45; cursor: not-allowed; }

/* Dashboard cards: a living planet in each card, moving icons, hearts on the milan card, a quiet consultation line */
.tile { overflow: hidden; }
.tile > *:not(.tile-planet):not(.hearts) { position: relative; z-index: 1; }
.tile-planet { position: absolute; top: -12px; right: -12px; width: 96px; height: 96px; opacity: .92; z-index: 0;
  pointer-events: none; filter: drop-shadow(0 4px 8px rgba(43, 47, 107, .18)); animation: oa-float 7s ease-in-out infinite; }
.tile h3, .tile .headline { padding-right: 64px; }
.tile-planet .rays { transform-origin: 60px 60px; animation: oa-spin 24s linear infinite; }
.tile .ico { position: relative; z-index: 1; }
.tile-kundli .ico { animation: oa-spin 18s linear infinite; }
.tile-dasha .ico { animation: oa-glow 3.2s ease-in-out infinite; }
.tile-manglik .ico { animation: oa-pulse 2.4s ease-in-out infinite; }
.tile-sade_sati .ico { animation: oa-sway 4s ease-in-out infinite; }
.tile-guna .ico { animation: oa-beat 1.4s ease-in-out infinite; color: #C2185B; }
.hearts { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hearts i { position: absolute; bottom: -24px; font-style: normal; color: #E2557F; opacity: 0;
  animation: oa-rise 7s ease-in infinite; }
.hearts i:nth-child(1) { left: 12%; font-size: 14px; animation-delay: 0s; }
.hearts i:nth-child(2) { left: 30%; font-size: 20px; animation-delay: 1.2s; }
.hearts i:nth-child(3) { left: 52%; font-size: 12px; animation-delay: 2.6s; }
.hearts i:nth-child(4) { left: 68%; font-size: 22px; animation-delay: .7s; }
.hearts i:nth-child(5) { left: 84%; font-size: 15px; animation-delay: 3.6s; }
.hearts i:nth-child(6) { left: 42%; font-size: 17px; animation-delay: 4.8s; }
.tile-cta { margin-top: auto; padding-top: 12px; border-top: 1px dashed #e6d9c2; }
.tile-cta p { font-size: .9rem; color: var(--ink, #1c1c1c); margin: 0 0 6px; }
.tile-cta-link { font-weight: 700; color: var(--kumkum); text-decoration: none; }
.tile-cta-link:hover { text-decoration: underline; }
@keyframes oa-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(6deg); } }
@keyframes oa-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 155, 44, 0); } 50% { box-shadow: 0 0 16px 4px rgba(227, 155, 44, .45); } }
@keyframes oa-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes oa-sway { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes oa-beat { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } 30% { transform: scale(.95); } }
@keyframes oa-rise { 0% { transform: translateY(0) scale(.8); opacity: 0; } 15% { opacity: .7; }
  100% { transform: translateY(-260px) scale(1.15); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tile-planet, .tile-planet .rays, .tile .ico, .hearts i { animation: none !important; }
  .hearts i { opacity: .25; bottom: 20%; }
}

/* Dashboard: the customer's path (kundli → questions → review → talk) */
.journey { margin: 22px 0 8px; }
.journey h2 { margin: 0 0 12px; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .journey ol { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .journey ol { grid-template-columns: 1fr; } }
.journey .step { position: relative; display: flex; gap: 10px; background: #fff; border: 1px solid var(--sand);
  border-radius: 12px; padding: 14px; }
.journey .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; background: #F3E2BD; color: #8C2F39; }
.journey .step.done { border-color: #cfe3cf; background: linear-gradient(180deg, #fff, #f6fbf4); }
.journey .step.done .dot { background: #2E7D4F; color: #fff; }
.journey .step.current { border-color: #E39B2C; box-shadow: 0 0 0 3px rgba(227, 155, 44, .18); }
.journey .step.current .dot { background: #E39B2C; color: #1C1C1C; animation: oa-pulse 2.4s ease-in-out infinite; }
.journey .body strong { display: block; color: var(--indigo); }
.journey .body p { margin: 4px 0 8px; font-size: .9rem; color: var(--stone); }
.journey .small-btn { padding: 6px 12px; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .journey .step.current .dot { animation: none; } }
.desk-table tr.late td { background: #fde8e4; }
/* Dashboard card: a short "did you know" line instead of a link */
.tile-know { margin-top: auto; padding-top: 12px; border-top: 1px dashed #e6d9c2; }
.tile-know small { display: block; font-weight: 700; color: #B08A3E; letter-spacing: .02em; margin-bottom: 2px; }
.tile-know p { font-size: .9rem; color: var(--stone); margin: 0; }
.journey .quiet-link { font-size: .9rem; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* Sideways rows: soft edges and a swipe hint (js/site.js) */
.slide-wrap { position: relative; }
.slide-wrap::before, .slide-wrap::after { content: ""; position: absolute; top: 0; bottom: 6px; width: 34px; pointer-events: none;
  opacity: 0; transition: opacity .3s; z-index: 2; }
.slide-wrap::before { left: 0; background: linear-gradient(90deg, var(--fade, #FFF8EA), transparent); }
.slide-wrap::after { right: 0; background: linear-gradient(270deg, var(--fade, #FFF8EA), transparent); }
.slide-wrap.has-less::before, .slide-wrap.has-more::after { opacity: 1; }
.slide-hint { position: absolute; right: 6px; top: -22px; font-size: .78rem; font-weight: 600; color: #8C2F39;
  background: #FCEFD6; border-radius: 999px; padding: 2px 9px; opacity: 0; transition: opacity .4s; pointer-events: none;
  }
.slide-wrap.has-more .slide-hint { opacity: 1; }
.slide-hint.gone { opacity: 0 !important; }
@keyframes oa-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .slide-hint { animation: none; } }

/* Dashboard: review status, family, "what would you like to understand", requests, all services */
.kh-review { margin: 8px 0 0; font-size: .9rem; color: #F7D9A0; }
.fam { display: grid; gap: 12px; margin: 22px 0 6px; }
.fam-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #FFF6E4, #FDE9EF);
  border: 1px solid rgba(176, 138, 62, .3); }
.fam-card.pair { background: linear-gradient(135deg, #FDE9EF, #EDE8FF); }
.fam-card strong { display: block; color: var(--indigo); font-size: 1.05rem; }
.fam-card p { margin: 4px 0; color: var(--stone); }
.fam-card small { color: var(--stone); font-size: .82rem; }
.guide { margin: 26px 0 10px; }
.guide-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.g-chip { border: 1.5px solid rgba(43, 47, 107, .3); background: #fff; color: var(--indigo); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.g-chip[aria-selected="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.guide-card { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--sand);
  box-shadow: 0 8px 24px rgba(43, 47, 107, .08); animation: oa-open .35s ease; }
.guide-card h3 { margin: 0 0 6px; color: var(--indigo); }
.guide-card p { color: var(--stone); }
.guide-card .btn { margin-top: 4px; }
.guide-who { display: block; margin-top: 10px; color: var(--stone); font-size: .85rem; }
.guide-status { color: #2E7D4F; }
.my-req { margin: 18px 0; }
.req-row strong { color: var(--indigo); }
.all-svc { margin: 22px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.all-svc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 2px;
  font-size: 1.12rem; font-weight: 600; color: var(--indigo); }
.all-svc summary::-webkit-details-marker { display: none; }
.all-svc .plus { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--zebra); }
.all-svc .plus::before, .all-svc .plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px;
  background: var(--indigo); border-radius: 2px; transition: transform .3s ease; }
.all-svc .plus::after { transform: rotate(90deg); }
.all-svc[open] .plus::after { transform: rotate(0deg); }
.all-svc ul { list-style: none; margin: 0 0 14px; padding: 0; }
.all-svc li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--sand); }
.all-svc li > div { flex: 1; }
.all-svc li strong { display: block; color: var(--indigo); }
.all-svc li small { color: var(--stone); }
.all-svc .svc-ico svg { width: 34px; height: 34px; }
@keyframes oa-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

textarea { font: inherit; }

/* Astrologer agreement */
.agreement { max-width: 820px; margin: 24px auto; padding: 24px; }
.agreement-text { max-height: 60vh; overflow-y: auto; padding-right: 8px; border-bottom: 1px solid var(--sand); margin-bottom: 16px; }
.agreement-text table { border-collapse: collapse; width: 100%; font-size: .92em; }
.agreement-text th, .agreement-text td { border: 1px solid var(--sand); padding: 6px 8px; text-align: left; }
.agree-box { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin: 8px 0 12px; }
.agree-box input { margin-top: 4px; width: 18px; height: 18px; }
.agreement-form .field input { width: 100%; max-width: 420px; }
.agreement-done { font-weight: 600; color: #2e7d32; }

/* Astrologer joining and the owner's team panel */
.join { max-width: 860px; margin: 24px auto; padding: 24px; }
.join h2 { margin-top: 22px; font-size: 1.15rem; }
.join-status { padding: 10px 14px; border-radius: 10px; background: #eaf6ec; font-weight: 600; }
.join-status.warn { background: #fdf0e6; }
.join-docs { padding-left: 18px; }
.join .checks ul, .join .checks div { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 4px 0; }
.join .label { font-weight: 600; display: block; }
.join .ok { color: #2e7d32; font-size: .85em; }
.city-list { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--sand); border-radius: 8px; background: #fff; max-height: 220px; overflow-y: auto; }
.city-list li { padding: 8px 10px; cursor: pointer; }
.city-list li:hover, .city-list li:focus { background: #f6efe2; outline: none; }
.join .agreement-text { max-height: 40vh; }
.avail-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 12px; background: #f3f0ea; margin: 8px 0 14px; }
.avail-bar.on { background: #e6f4e8; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.team-grid form { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.team-grid input[name=reason] { flex: 1 1 200px; padding: 8px; }
.btn.danger { border-color: #b3261e; color: #b3261e; }
.desk-table.perms select { padding: 4px; }
.perf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 10px 0; }
.perf-grid div { background: #f7f3ec; border-radius: 10px; padding: 10px; text-align: center; }
.perf-grid b { display: block; font-size: 1.4rem; }
.perf-grid span { font-size: .85rem; color: #6b5d4a; }
.perf-checks { list-style: none; padding: 0; }
.perf-checks li { padding: 3px 0; }
.complaint-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.complaint-form input[name=note] { flex: 1 1 260px; padding: 8px; }
.my-perf { padding: 10px 16px; margin: 0 0 14px; }
.my-perf summary { cursor: pointer; }
.st-late { background: #fdecea; color: #b3261e; }
.complaint-form select, .complaint-form input[name=request] { width: auto; flex: 0 0 auto; }
.call-box { border: 1.5px solid var(--sand); border-radius: 10px; padding: 10px 14px; margin: 10px 0; background: #fffaf2; }
.call-box form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.call-box input { flex: 1 1 240px; padding: 8px; }
.narrow-card { max-width: 640px; margin: 24px auto; padding: 24px; }
.narrow-card textarea { width: 100%; }
.section-title { font-weight: 700; display: block; margin-bottom: 4px; }

/* "Use my location" for a place (birth form, muhurat event place, astrologer joining) */
.here-box { margin: 4px 0 6px; }
.here-btn { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 13px 16px;
  border-radius: 12px; border: 1.5px solid var(--indigo); background: #fff; color: var(--indigo); font-weight: 600; font-size: 1rem; }
.here-btn:hover { background: var(--indigo); color: #fff; }
.here-btn[disabled] { opacity: .6; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--stone); font-size: .88rem; margin: 12px 0 6px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--sand); }

/* "country > state > ..." with drawn chevrons, so no font can turn the arrows into boxes */
.steps-path i { display: inline-block; width: .42em; height: .42em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin: 0 .2em .1em .3em; opacity: .7; }
.slide-hint::after { content: ""; display: inline-block; width: .38em; height: .38em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: .35em; vertical-align: .08em; }
