/* Website-style pages (/roadmap, manage link, join page). Stone + petrol palette approved 24 Oct
   (Project doc claude/spacetime-colour-palette.md). No light/dark switch on these pages. */
:root {
  --petrol: #163038; --stone: #DAD2C9; --behind: #ADA49B; --card: #EFEAE4; --input: #ECE7E1;
  --line: #C2B8AD; --ink: #182528; --muted: #3F4A4D; --rose: #7C4F49; --rose-light: #E0BEB2;
  --taupe: #C7C0B9; --cream: #F6F3EF; --ok: #2E6A4F; --err: #A8432A; --err-bg: #F7E3DC; --req: #B3261E;
  color-scheme: light;
}
* { box-sizing: border-box }
html, body { margin: 0 }
body.site { background: var(--behind); color: var(--ink); font: 16px/1.5 "DM Sans", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; padding: 24px max(16px, env(safe-area-inset-left)) 48px }
button { font: inherit; cursor: pointer }
a { color: inherit }
.serif { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; letter-spacing: -.01em }
.muted { color: var(--muted) }
.small { font-size: 14px }
.hint { font-size: 13px; color: var(--muted) }

.vshell { max-width: 1240px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgb(22 48 56 / .18) }
.vshell.narrow { max-width: 720px }
.vband { background: var(--petrol); color: #E6E2DC; padding: 16px 26px 0 }
.vbrand { margin: 0; padding-bottom: 16px; font-size: 17px; letter-spacing: .02em; color: var(--cream) }
.vtabs2 { display: flex; gap: 6px; overflow-x: auto }
.vtabs2 a, .vtabs2 button { display: grid; gap: 2px; text-align: left; text-decoration: none; border: 0; padding: 14px 24px 13px; border-radius: 14px 14px 0 0; background: rgb(246 243 239 / .08); color: #E6E2DC; font-size: 17px; font-weight: 600 }
.vtabs2 a:hover, .vtabs2 button:hover { background: rgb(246 243 239 / .16) }
.vtabs2 [aria-current="page"] { background: var(--stone); color: var(--ink) }
.vbody { background: var(--stone); padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start }
.vbody.single { display: block }
.vmain { min-width: 0 }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--rose) }
.vh2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin: 8px 0 8px }
.rose { color: var(--rose); font-style: italic }

.vside { background: var(--petrol); color: #F6F4EF; border-radius: 16px; padding: 24px; display: grid; gap: 12px }
.vside h3 { font-size: 24px; margin: 4px 0 0; line-height: 1.2 } .vside .rose { color: var(--rose-light) }
.vside-sub { margin: 0; color: var(--taupe); font-size: 15px }
.vface { width: 72px; height: 72px; border-radius: 50%; background: var(--taupe) center/cover no-repeat; border: 2px solid #C59F99 }
.vlist { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: #E6E2DC; font-size: 15px }
.vside-act { border-top: 1px solid rgb(246 244 239 / .15); padding-top: 14px; display: grid; gap: 8px } .vside-act p { margin: 0; color: var(--taupe); font-size: 14px }

.vbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 600; border: 1.5px solid transparent; text-decoration: none; transition: transform .15s, box-shadow .15s }
.vbtn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgb(0 0 0 / .18) }
.vbtn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none }
.vbtn.big { padding: 15px 28px; font-size: 17px }
.vbtn.dark { background: var(--petrol); color: var(--cream) } .vbtn.light { background: var(--taupe); color: #152528 }
.vbtn.outline { background: transparent; color: #F6F4EF; border-color: rgb(246 244 239 / .5) }
.vbtn.ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); padding: 9px 18px; font-size: 14px }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: inherit }
.ico { width: 20px; height: 20px; flex: none }

.slotdays { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px }
.slotday { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid #CFC6BC; border-radius: 12px; background: var(--card) }
.slotday b { font-size: 15px }
.slot2 { border: 1px solid var(--line); background: var(--stone); border-radius: 10px; padding: 12px 8px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: transform .12s }
.slot2:hover { background: var(--petrol); color: var(--cream); border-color: var(--petrol) }
.vpager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px } .vlinks { font-size: 15px; margin-left: auto }

.vpicked { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #E5DFD7; border: 1.5px solid var(--petrol); border-radius: 14px; padding: 14px 18px; font-size: 17px }
.vtick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 13px; margin-right: 10px; vertical-align: -3px }
.vsug-in { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; flex: 1 } .vsug-in > b { width: 100% } .vsug-in .f { flex: 1 1 160px }

.vwho { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start }
.vcol { display: grid; gap: 10px; align-content: start }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #E5DFD7; cursor: pointer; font-size: 16px }
.opt input { accent-color: var(--petrol); width: 18px; height: 18px; margin: 0 }
.opt:has(input:checked) { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol) }
.vchips { display: flex; flex-wrap: wrap; gap: 8px }
.vchip { border: 1.5px solid var(--line); background: var(--input); color: var(--ink); border-radius: 99px; padding: 8px 14px; font-size: 14px }
.vchip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--cream) } .vchip[aria-pressed="true"]::before { content: '✓ ' }
.vage.off { opacity: .4; pointer-events: none }

.vsec { margin: 24px 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose) }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px } .fields .wide { grid-column: 1 / -1 }
.fields3 { align-items: start; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px }
.f { display: grid; gap: 5px; font-size: 14px; color: var(--muted) }
.in { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--input); color: var(--ink); font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px }
textarea.in { min-height: 0; resize: vertical }
.in:focus, .vbtn:focus-visible, .slot2:focus-visible, .vchip:focus-visible, .linkish:focus-visible, .opt:focus-within { outline: 3px solid #C59F99; outline-offset: 2px }
.chk { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--ink) } .chk input { accent-color: var(--petrol); width: 20px; height: 20px; margin: 0 }
.opt-note { font-size: 13px; color: #4A5557; font-weight: 400 }
.rqm { color: var(--req); font-weight: 700 }
.clash { background: var(--err-bg); color: var(--err); border-radius: 10px; padding: 12px 14px; margin-top: 14px }
.ok-box { background: #E3EFE7; color: var(--ok); border-radius: 10px; padding: 12px 14px; margin-top: 14px }
ul.ticks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px } ul.ticks li { padding-left: 22px; position: relative } ul.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700 }
.steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
[hidden] { display: none !important }

@media (max-width: 1000px) { .vbody { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 760px) {
  body.site { padding: 12px 10px 32px }
  .vbody { padding: 20px 16px } .vband { padding: 14px 16px 0 }
  .vwho, .fields, .fields3 { grid-template-columns: minmax(0, 1fr) }
  .vtabs2 a, .vtabs2 button { padding: 12px 16px; font-size: 15px } .vtabs2 small { display: none }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important } }

/* utilities (inline styles are blocked by the site security policy) */
.mt0{margin-top:0} .mt8{margin:8px 0 0} .mt16{margin-top:16px} .mt18{margin-top:18px} .lead18{margin:0 0 18px} .lead16{margin:0 0 16px} .gap18{margin:18px 0 12px} .endpad{align-self:end;padding-bottom:12px} .my10{margin:10px 0}
.vface-joshi{background-image:url('/img/joshi.jpg')}

.in.bad { border-color: var(--req); box-shadow: 0 0 0 2px rgb(179 38 30 / .25) }
.tel { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px } .in.cc { padding-left: 10px; padding-right: 6px }
.bad-group .vgrid { outline: 2px solid var(--req); outline-offset: 6px; border-radius: 12px }

/* topic + "hardest" tick tiles: a neat grid, then a dashed escape row */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px }
.vtile { display: flex; align-items: center; gap: 10px; text-align: left; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--input); color: var(--ink); font-size: 14.5px; line-height: 1.3 }
.vtile::before { content: ''; flex: none; width: 18px; height: 18px; border: 1.5px solid #8E8378; border-radius: 5px; background: var(--cream) }
.vtile:hover { border-color: var(--petrol) }
.vtile[aria-pressed="true"] { border-color: var(--petrol); background: #E2E7E6; box-shadow: inset 0 0 0 1px var(--petrol) }
.vtile[aria-pressed="true"]::before { content: '✓'; display: grid; place-items: center; background: var(--petrol); border-color: var(--petrol); color: var(--cream); font-size: 12px; font-weight: 700 }
.vescrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line) }
.vesc { border: 1.5px dashed #9D9287; background: transparent; color: var(--muted); border-radius: 99px; padding: 7px 16px; font-size: 14px; font-weight: 600 }
.vesc:hover { border-color: var(--petrol); color: var(--petrol) }
.vesc[aria-pressed="true"] { border-style: solid; border-color: var(--petrol); background: var(--petrol); color: var(--cream) }
.in.slim { min-height: 40px; padding: 8px 12px; font-size: 15px; max-width: 460px; margin-top: 4px }
.vtile:focus-visible, .vesc:focus-visible { outline: 3px solid #C59F99; outline-offset: 2px }
@media (max-width: 760px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) } .vtile { font-size: 14px } }
@media (max-width: 380px) { .vgrid { grid-template-columns: minmax(0, 1fr) } }

/* questions that roll down + hold note + trust line */
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px); transition: grid-template-rows 1s ease, opacity .8s ease .15s, transform .8s ease .15s }
.reveal.open { grid-template-rows: 1fr; opacity: 1; transform: none }
.reveal-in { overflow: hidden; min-height: 0 } .reveal.done .reveal-in { overflow: visible }
.fields .reveal:not(.open) { margin-bottom: -12px }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none } }
.heldnote { display: block; margin-top: 4px; color: var(--ok); font-weight: 600 }
.vtrust { margin: 0; font-size: 13.5px; color: var(--rose-light); border-left: 2px solid #C59F99; padding-left: 10px }
.reqnote { margin: 18px 0 16px; font-size: 15.5px; color: var(--ink) }
.bad-tick { outline: 2px solid var(--req); outline-offset: 6px; border-radius: 6px }
/* drop-downs look and size the same as typing boxes in every browser (Safari draws its own otherwise) */
select.in { -webkit-appearance: none; appearance: none; height: 50px; line-height: 1.2; font-size: 16px; font-family: inherit; padding-right: 40px;
  background: var(--input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23163038' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center }
select.in.cc { padding-right: 28px; background-position: right 10px center }
.in.bad { background-color: var(--input) }
.fields3.course { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) }
@media (max-width: 760px) { .fields3.course { grid-template-columns: minmax(0, 1fr) } }
/* family's call page (/roadmap/manage) */
.titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px } .titlerow .vh2 { margin-bottom: 4px }
.badge { display: inline-block; border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 700; letter-spacing: .02em }
.badge.ok { background: #DCEBE2; color: var(--ok) } .badge.wait { background: #F1E4C9; color: #7A5A12 } .badge.off { background: var(--taupe); color: var(--muted) }
.callcard { display: flex; gap: 22px; align-items: center; background: var(--card); border: 1px solid #CFC6BC; border-radius: 16px; padding: 22px }
.datetile { flex: none; width: 104px; border-radius: 14px; overflow: hidden; text-align: center; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 6px 14px rgb(22 48 56 / .10) }
.datetile span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; padding: 6px 0 }
.datetile span:first-child { background: var(--petrol); color: var(--cream) }
.datetile b { display: block; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 44px; line-height: 1.1; font-weight: 400; color: var(--ink) }
.datetile span:last-child { color: var(--rose) }
.datetile.off { opacity: .5; filter: grayscale(1) }
.callinfo { min-width: 0 } .callwhen { margin: 0; font-size: 22px; font-weight: 700 } .callsub { margin: 4px 0 0 }
.callinfo .ticks { margin-top: 12px }
.callacts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.callacts .vbtn.ghost { padding: 12px 22px; font-size: 15px }
.vbtn.waiting { background: #4B5F64 }
.confirmbox { background: var(--err-bg); border-radius: 12px; padding: 16px 18px }
.vside-act p + p { margin-top: 4px }
@media (max-width: 560px) { .callcard { flex-direction: column; align-items: flex-start } .callacts .vbtn { width: 100% } }
.vbtn.cancel { background: transparent; color: var(--err); border-color: var(--err); padding: 12px 22px; font-size: 15px }
.vbtn.cancel:hover { background: var(--err-bg) }
.changebox { border-top: 1px solid var(--line); padding-top: 18px } .changebox .callacts { margin-top: 12px }
/* call page v2: change first, join/calendar as a quiet fallback */
.callcard { position: relative } .tilelabel { position: absolute; top: -11px; left: 22px; background: var(--petrol); color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 3px 12px }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.choice { display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid #CFC6BC; border-radius: 16px; padding: 20px 22px }
.choice p { margin: 0; font-size: 15px } .choice .vbtn { justify-self: start; margin-top: 4px }
.choice-h { margin: 0; font-size: 19px }
.stillon { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; color: var(--muted) }
.stillon-links { color: var(--ink) } .stillon .linkish { font-size: 15px }
@media (max-width: 760px) { .choices { grid-template-columns: minmax(0, 1fr) } .choice .vbtn { justify-self: stretch } }
.vbtn.danger { background: var(--err); color: #fff }
.callcard .badge { position: absolute; top: -13px; right: 22px; padding: 4px 12px; font-size: 13px; box-shadow: 0 0 0 3px var(--stone) }
.vbrand a { color: inherit; text-decoration: none } .vbrand a:hover { text-decoration: underline; text-underline-offset: 4px }
.vfoot { max-width: 1240px; margin: 18px auto 0; text-align: center; font-size: 13px; color: #3F4A4D }
.vfoot a { color: inherit; text-underline-offset: 3px } .vfoot a:hover { color: var(--petrol) }
.vfoot-co { font-size: 12px; opacity: .85 }
/* step 3: Book lessons, login, family portal */
.vbrand a, .vbrand a:hover { color: inherit }
.bandrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px } .bandlink { color: #E6E2DC; font-size: 15px }
.stack { display: grid; gap: 12px; align-content: start; max-width: 640px }
.in.code { font-size: 22px; letter-spacing: .3em; font-variant-numeric: tabular-nums; max-width: 220px }
.progress { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 6px 0 22px; font-size: 15px; color: var(--muted) }
.progress li { display: flex; align-items: center; gap: 8px } .progress span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: 13px }
.progress li.on { color: var(--ink); font-weight: 700 } .progress li.on span { background: var(--petrol); border-color: var(--petrol); color: var(--cream) }
.progress li.done span { background: var(--ok); border-color: var(--ok); color: #fff; font-size: 0 } .progress li.done span::after { content: '✓'; font-size: 13px }
.mb16 { margin-bottom: 16px }
.thread { display: grid; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px 2px }
.bubble { max-width: 85%; border-radius: 14px; padding: 10px 14px; background: var(--card); border: 1px solid #CFC6BC } .bubble p { margin: 4px 0 0; white-space: pre-wrap }
.bubble.me { justify-self: end; background: #E2E7E6; border-color: #B9C6C5 } .bubble.them { justify-self: start }
.people { display: grid; gap: 10px } .person { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid #CFC6BC; border-radius: 12px; padding: 12px 16px } .person p { margin: 2px 0 0 }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #E0BEB2; margin-left: 4px; vertical-align: 2px }
.callinfo .ticks li { white-space: pre-line }
/* 27 Oct: side-card shortcut only on phones (tabs do this on laptops); age asterisk + outline */
@media (min-width: 1001px) { .phone-only { display: none } }
.agereq { align-self: center; font-size: 18px; margin-left: 2px }
.bad-ages { outline: 2px solid var(--req); outline-offset: 6px; border-radius: 12px }
.bad-who .opt { border-color: var(--req) }
/* side card: "Hi, I'm Joshi" + how it works, scrolls inside the card if it doesn't fit */
.vsteps { margin: 0; padding: 0 6px 0 0; list-style: none; counter-reset: st; display: grid; gap: 10px; font-size: 15px; color: #E6E2DC;
  max-height: min(46vh, 420px); overflow-y: auto; scrollbar-gutter: stable }
.vsteps::-webkit-scrollbar { width: 6px; background: rgb(246 244 239 / .08); border-radius: 6px } .vsteps::-webkit-scrollbar-thumb { background: #C59F99; border-radius: 6px }
.vsteps li { counter-increment: st; position: relative; padding-left: 36px; line-height: 1.45 }
.vsteps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgb(246 244 239 / .14); color: var(--cream); font-size: 13px; font-weight: 700 }
.vsteps b { color: var(--cream); font-weight: 600 }
.vsteps:focus-visible { outline: 2px solid #C59F99; outline-offset: 4px; border-radius: 6px }
@media (max-width: 1000px) { .vsteps { max-height: none; overflow: visible } }
/* steps: rose-beige numbers + titles, softer body text, thin dividers (27 Oct) */
.vsteps { gap: 0; color: var(--taupe) }
.vsteps li { padding: 12px 0 12px 38px }
.vsteps li + li { border-top: 1px solid rgb(246 244 239 / .10) }
.vsteps li::before { top: 12px; background: var(--rose-light); color: var(--petrol) }
.vsteps b { display: block; color: var(--rose-light); font-weight: 600; margin-bottom: 2px }
/* steps panel in stone with dark text (Joshi, 27 Oct) */
.vsteps { background: var(--stone); color: var(--muted); border-radius: 12px; padding: 4px 14px 4px 16px }
.vsteps li + li { border-top: 1px solid var(--line) }
.vsteps li::before { background: var(--petrol); color: var(--cream) }
.vsteps b { color: var(--petrol); font-weight: 700 }
.vsteps::-webkit-scrollbar { background: transparent } .vsteps::-webkit-scrollbar-thumb { background: var(--rose) }
/* 27 Oct: side card grows with the page and stays in view; steps scroll only if the screen is too short */
@media (min-width: 1001px) {
  .vside { position: sticky; top: 16px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; gap: 12px }
  .vside > * { flex: none }
  .vside .vsteps { flex: 0 1 auto; min-height: 120px; max-height: none; overflow-y: auto }
}
.vsteps li.now { background: var(--cream); margin: 4px -8px; padding-left: 46px; padding-right: 8px; border-radius: 10px; border-top-color: transparent }
.vsteps li.now::before { left: 8px } .vsteps li.now + li { border-top-color: transparent }
/* code box same size as the password box; secondary actions as buttons */
.in.code { font-size: 16px; letter-spacing: .3em; max-width: none }
.vbtn.mid { padding: 11px 20px; font-size: 15px }
/* one-page registration: payment card section (27 Oct) */
.paybox { border: 1.5px solid var(--petrol); border-radius: 14px; padding: 16px 20px 20px; background: var(--card) }
.paybox .vsec { margin-top: 0 }
.cardsoon { border: 1.5px dashed #9D9287; border-radius: 10px; padding: 14px 16px; color: var(--muted); font-size: 15px; background: var(--input) }
#kidChoice { margin-bottom: 14px }
/* sticky side card needs a non-scrolling shell; boxes in a row keep their own height */
.vshell { overflow: clip }
.f { align-content: start }
#fCode .fields { align-items: start }
.lenrow { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center }
#lPickedText .heldnote { display: block }
.reqrow{padding:8px 0;border-bottom:1px solid var(--line,#e6e0d4)}
.reqrow:last-child{border-bottom:0;margin-bottom:10px}
.reqrow .linkish{margin-left:6px}
.heldnote{display:block;margin-top:4px}
.reqrow>.badge{display:inline-block;margin-bottom:4px}.reqrow>.badge+span{display:block}
.reqline{font-size:1.05rem;margin:0 0 4px;color:var(--petrol,#173039)}
.ownq{margin:0}
.owndays{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ownrow{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ownrow .f{min-width:160px;margin:0}
.picks{display:grid;gap:10px}
.pick{border:1px solid var(--line,#cfc6b8);border-radius:14px;padding:12px 14px;background:rgba(255,255,255,.35)}
.pickhead{display:flex;align-items:center;gap:6px}.pickhead b{flex:0 1 auto}
.pickx{margin-left:auto;border:0;background:none;font-size:1rem;cursor:pointer;color:inherit;padding:4px 8px;border-radius:8px}.pickx:hover{background:rgba(0,0,0,.06)}
.pickopts{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px}
.pickopts .vchip:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.bad-note{color:#9b3b3b;margin:6px 0 0}
.donepick{display:block;font-weight:600;color:var(--ink,#1d2a2f)}
/* Book lessons step 1 (27 Oct v2): compact two-week calendar, one-line picks, month calendar */
.lcal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 10px;margin-top:6px}
.lday{display:grid;gap:5px;align-content:start}
.lday b{font-size:13px;font-weight:600;color:var(--ink);padding-bottom:3px;border-bottom:1px solid var(--line)}
.ltime{border:1px solid var(--line);background:transparent;border-radius:8px;padding:5px 6px;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);cursor:pointer}
.ltime:hover{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
.lbar{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-top:14px}
.lnav{display:flex;gap:8px;flex:0 0 auto}
.vbtn.slim{padding:8px 14px;font-size:14px}
.picks{display:grid;gap:6px;flex:1 1 320px}
.plabel{font-weight:600;font-variant-numeric:tabular-nums;min-width:140px}
.plens{display:inline-flex;gap:4px}
.pchip{border:1px solid var(--line);background:transparent;border-radius:999px;padding:3px 10px;font-size:13px;color:var(--ink);cursor:pointer}
.pchip[aria-pressed=true]{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
.pchip:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.pickx{border:0;background:none;font-size:14px;cursor:pointer;color:inherit;padding:2px 6px;border-radius:6px}.pickx:hover{background:rgba(0,0,0,.07)}
.bad-note{color:#9b3b3b;font-size:13px;flex-basis:100%}
.owncal{display:flex;gap:22px;align-items:flex-end;flex-wrap:wrap;margin-top:10px}
.mcal{display:grid;grid-template-columns:repeat(7,36px);gap:4px}
.mhead{font-size:11px;text-align:center;color:var(--muted,#6b6b6b);text-transform:uppercase;letter-spacing:.05em}
.mday{position:relative;height:34px;border:1px solid var(--line);background:transparent;border-radius:8px;font-size:13px;color:var(--ink);cursor:pointer;font-variant-numeric:tabular-nums}
.mday:disabled{border-color:transparent;opacity:.35;cursor:default}
.mday[aria-pressed=true]{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
.mday[data-month]::before{content:attr(data-month);position:absolute;top:-1px;left:3px;font-size:8px;text-transform:uppercase;opacity:.7}
.ownrow{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.ownrow .f{min-width:200px;margin:0}
@media (max-width:640px){.lcal{grid-template-columns:repeat(3,minmax(0,1fr))}.lbar{flex-direction:column}}
.upto{font-style:normal;font-weight:400;font-size:.85em;color:var(--muted,#6b6b6b)}
/* Book lessons step 1 v3 (27 Oct): one month calendar + the tapped day's times; picked times as cards */
.reqcal{display:flex;gap:26px;align-items:flex-start;flex-wrap:wrap;margin-top:6px}
.calbox{flex:0 0 auto;background:var(--card);border:1px solid #CFC6BC;border-radius:14px;padding:16px}
.calhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.calhead b{font-size:16px}
.calnav{border:1px solid var(--line);background:transparent;border-radius:8px;width:34px;height:32px;font-size:18px;cursor:pointer;color:var(--ink)}
.calnav:disabled{opacity:.3;cursor:default}
.mcal.big{grid-template-columns:repeat(7,44px);gap:6px}
.mcal.big .mday{height:42px;font-size:14px;border-radius:10px;border-color:transparent;background:transparent}
.mcal.big .mday.free{background:var(--stone);border-color:var(--line);font-weight:700}
.mcal.big .mday.free::after{content:"";position:absolute;left:50%;bottom:5px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--petrol)}
.mcal.big .mday[aria-pressed=true]{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
.mcal.big .mday[aria-pressed=true]::after{background:var(--cream)}
.mcal.big .mday.picked{outline:2px solid #C59F99;outline-offset:1px}
.mcal.big .mday:disabled{opacity:.3}
.dotfree{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--petrol);margin-right:4px;vertical-align:middle}
.daypanel{flex:1 1 280px;min-width:260px}
.dayh{font-size:17px;margin:2px 0 12px}
.daytimes{display:flex;flex-wrap:wrap;gap:10px}
.daytimes .slot2{min-width:92px}
.daytimes .slot2[aria-pressed=true]{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
@media (max-width:640px){.mcal.big{grid-template-columns:repeat(7,1fr)}.calbox{flex:1 1 100%}}
/* v4 (27 Oct): two small months + one pick line; availability on the card */
.twocal{display:flex;gap:16px;flex-wrap:wrap}
.calbox.sm{padding:12px}
.mcal.sm{display:grid;grid-template-columns:repeat(7,32px);gap:3px}
.mcal.sm .mday{height:30px;font-size:13px;border-radius:8px;border-color:transparent}
.mcal.sm .mday:not(:disabled):hover{border-color:var(--line)}
.mcal.sm .mday[aria-pressed=true]{background:var(--petrol);color:var(--cream);border-color:var(--petrol)}
.mcal.sm .mday.picked{outline:2px solid #C59F99;outline-offset:1px}
.mcal.sm .mday:disabled{opacity:.28}
.pickline{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.pickline .f{margin:0;min-width:130px}
.pday{min-width:170px;padding-bottom:12px}
.vavail{margin:14px 0 6px;color:inherit;font-size:14px}
.vavail ul{list-style:none;padding:0;margin:6px 0 0;display:grid;gap:2px;font-variant-numeric:tabular-nums}
.vavail li span{display:inline-block;min-width:74px;opacity:.85}
.vavail .hint{color:inherit;opacity:.75}
@media (max-width:640px){.mcal.sm{grid-template-columns:repeat(7,1fr)}.calbox.sm{flex:1 1 100%}}
.pickhead .in{width:auto;min-width:130px;margin-left:14px;padding:6px 10px}.pickhead .pickx{margin-left:auto}
.calbox.sm .calnav{width:28px;height:26px;font-size:15px}.calbox.sm .calhead span{width:28px}
/* v5 (27 Oct): smaller calendars; compact pick panel beside them */
.twocal{gap:12px;align-items:flex-start}
.calbox.sm{padding:8px 10px;border-radius:12px}
.calbox.sm .calhead{margin-bottom:4px}.calbox.sm .calhead b{font-size:13px}
.mcal.sm{grid-template-columns:repeat(7,24px);gap:2px}
.mcal.sm .mhead{font-size:10px}
.mcal.sm .mday{height:22px;font-size:11.5px;border-radius:6px}
.calbox.sm .calnav{width:22px;height:20px;font-size:13px;line-height:1;padding:0}
.calbox.sm .calhead span{width:22px}
.pickpanel{display:grid;gap:6px;align-content:start;min-width:150px}
.pday{font-size:14px;padding:0}
.mini{font:inherit;font-size:14px;border:1px solid #CFC6BC;border-radius:8px;background:var(--card);color:var(--ink);padding:4px 8px;width:max-content;min-width:120px}
.mini.dark{background:var(--petrol);color:var(--cream);border-color:var(--petrol);cursor:pointer;min-width:0;padding:4px 16px}
.mini:disabled{opacity:.45;cursor:default}
@media (max-width:640px){.mcal.sm{grid-template-columns:repeat(7,1fr)}.mcal.sm .mday{height:30px}.pickpanel{grid-template-columns:1fr 1fr}.pday{grid-column:1/-1}}
.picks .pick{padding:6px 12px;border-radius:10px;width:max-content;min-width:320px;max-width:100%}.picks .pickhead b{font-size:14px}.picks .pickhead .mini{margin-left:12px}.picks{gap:6px}
/* v6 (27 Oct): rows beside the calendars: "18 NOV [Start time] [1 hour] ✕" */
.mfill{height:22px}
.twocal .pickpanel{min-width:300px}
.rows{display:grid;gap:6px}
.row1{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.row1 .rdate{font-size:13px;letter-spacing:.04em;min-width:52px}
.row1 .mini{min-width:0}
.row1 .pickx{padding:2px 6px}
.row1 .bad-note{margin:0 0 4px 60px;flex-basis:100%}
@media (max-width:640px){.mfill{height:30px}.twocal .pickpanel{min-width:0;flex:1 1 100%}}
/* v6.1: a clash message must never push the time rows under the calendars */
@media (min-width:641px){.twocal{flex-wrap:nowrap}.twocal .pickpanel{flex:1 1 0;min-width:300px}}
.row1 .bad-note{margin:0 0 4px 60px;flex-basis:100%;font-size:12.5px;line-height:1.35;max-width:100%}
#fChoose .vbtn{min-width:150px;padding:16px 28px;font-size:18px;justify-content:center}
/* v7 (28 Oct) */
.vfacerow{display:flex;gap:16px;align-items:center}
.vfacerow .vavail{margin:0}
.rows{min-height:calc(5 * 34px)}          /* room for 5 lines, so the Skip button never moves */
.row1{min-height:28px}
.ghostbtn{background:transparent;border-color:var(--petrol);color:var(--ink);cursor:pointer;margin-top:8px;padding:5px 12px}
.ghostbtn:hover{background:var(--petrol);color:var(--cream)}
.rows{align-content:start}
/* v8 (28 Oct): availability in a small outlined box, a little away from the photo; equal Log in / Sign up */
.vfacerow{justify-content:space-between}
.vfacerow .vavail{border:1px solid rgba(255,255,255,.35);border-radius:10px;padding:8px 12px;margin-left:12px}
#s0Go .vbtn{min-width:150px;justify-content:center}
.vfacerow .vavail{font-size:13px;padding:6px 10px;flex:0 0 auto}
.vfacerow .vavail ul{margin-top:4px}
.vfacerow .vavail li{white-space:nowrap}
.vfacerow .vavail li span{min-width:62px}
#s0Go .vbtn{min-width:150px;padding:16px 28px;font-size:18px}
/* 28 Oct: the card follows the page (it was stretched to the full column height, so it couldn't stick) */
@media (min-width:1001px){.vside{align-self:start}}
#s1,#s2{margin-top:24px}
/* 28 Oct: drop-down tick lists for topics / what's difficult (open and close in 0.5 s) */
.msel{position:relative;max-width:560px;margin-top:6px}
.msel-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;font:inherit;font-size:15px;color:var(--ink);background:var(--card);border:1px solid #CFC6BC;border-radius:10px;padding:10px 14px;cursor:pointer}
.msel-val.empty{color:var(--muted,#7a7a7a)}
.msel-caret{transition:transform .5s ease}
.msel.open .msel-caret{transform:rotate(180deg)}
.msel-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .5s ease,opacity .5s ease}
.msel.open .msel-panel{grid-template-rows:1fr;opacity:1}
.msel-in{overflow:hidden;min-height:0;display:grid;gap:2px;background:var(--card);border:1px solid #CFC6BC;border-top:0;border-radius:0 0 10px 10px;padding:0 6px}
.msel.open .msel-in{padding:6px;max-height:320px;overflow-y:auto}
.msel.open .msel-btn{border-radius:10px 10px 0 0}
.msel-opt{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:8px;cursor:pointer;font-size:15px}
.msel-opt:hover{background:var(--stone)}
.msel-opt input{width:17px;height:17px;accent-color:var(--petrol);flex:none}
.msel-opt.esc{border-top:1px dashed var(--line);border-radius:0;margin-top:2px}
.msel-opt.esc + .msel-opt.esc{border-top:0;margin-top:0}
.bad-group .msel-btn{border-color:var(--req,#b0413e)}
.msel{display:block;width:100%}
/* v9 (Joshi 28 Oct): free-call calendar on /roadmap: one line, "Suggest a time" straight under it, "When suits you" below */
.callpanel{align-content:start;align-self:start}
.rows.one{min-height:30px}
.callpanel .ghostbtn{justify-self:start;margin-top:4px}
.callpanel .whenh{margin-bottom:6px}
@media (max-width:640px){.callpanel{grid-template-columns:1fr}}
/* Joshi 28 Oct: Log in link on /roadmap and /start (top right); /login sends each person to their own area */
.vband .vbrand{display:flex;justify-content:space-between;align-items:center;gap:12px}
.vbrand a.vlogin{border:1px solid rgb(246 243 239 / .45);border-radius:999px;padding:6px 16px;font-size:15px;font-weight:600}
.vbrand a.vlogin:hover{background:rgb(246 243 239 / .14);text-decoration:none}
/* v10 (Joshi 28 Oct, mock-up B): /roadmap and /start use the portal's dark left menu; a top bar on phones */
.railshell{display:grid;grid-template-columns:250px minmax(0,1fr);max-width:1320px}
.railshell .vband{display:flex;flex-direction:column;gap:20px;padding:28px 16px 20px}
.railshell .vbrand{display:block;padding:0}
.railshell .vbrand img{display:block;width:108px;height:auto;margin:0 auto 2px}
.railshell .vbrand a:hover{text-decoration:none}
.railey{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#C7C0B9;padding-left:14px;font-weight:500}
.railshell .vtabs2{flex-direction:column;gap:4px;overflow:visible}
.railshell .vtabs2 a{display:flex;align-items:center;gap:12px;border-radius:12px;padding:11px 14px;font-size:15px;font-weight:500;background:none}
.railshell .vtabs2 a:hover{background:rgb(246 243 239 / .10)}
.railshell .vtabs2 [aria-current="page"]{background:#C7C0B9;color:#152528}
.rico{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6}
.railfoot{margin-top:auto;display:grid}
.railfoot a.vlogin{display:block;border:1px solid rgb(246 243 239 / .25);color:#E6E2DC;border-radius:10px;padding:9px 12px;font-size:14px;font-weight:500;text-decoration:none;text-align:center}
.railfoot a.vlogin:hover{background:rgb(246 243 239 / .10)}
@media (max-width:900px){
  .railshell{grid-template-columns:minmax(0,1fr)}
  .railshell .vband{flex-direction:row;flex-wrap:wrap;align-items:center;padding:12px 16px;gap:10px}
  .railshell .vbrand img{width:44px;margin:0} .railey{display:none}
  .railshell .vtabs2{flex-direction:row;order:3;width:100%;overflow-x:auto;gap:2px}
  .railshell .vtabs2 a{padding:8px 10px;white-space:nowrap;font-size:14px}
  .railfoot{margin:0 0 0 auto}
}
.msel-h{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#7C4F49;font-weight:600;padding:10px 8px 2px}
@media (max-width:480px){.railshell .rico{display:none}.railshell .vtabs2{justify-content:space-between}.railshell .vtabs2 a{padding:8px 7px;font-size:13.5px}}
@media (max-width:380px){.railshell .vtabs2 a{padding:8px 4px;font-size:12.5px}}
/* v11 (Joshi 28 Oct): fit the window like the portal: full height, the menu stays put with Log in / Your portal at the bottom,
   the footer sits under the page content, the "Hi, I'm Joshi" card fits beside it */
body.railpage { padding: 0 }
.railpage .railshell { max-width: none; min-height: 100vh; border-radius: 0; box-shadow: none; grid-template-rows: 1fr auto }
.railpage .railshell .vband { grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; box-sizing: border-box }
.railpage .vbody { padding: 28px 36px 8px; gap: 28px; grid-column: 2 }
.railpage .vside { top: 24px; max-height: calc(100vh - 48px) }
.railpage .railfootnote { grid-column: 2; margin: 0; padding: 12px 36px 22px; text-align: left; background: var(--stone) }
@media (max-width: 900px) {
  .railpage .railshell { grid-template-rows: auto 1fr auto }
  .railpage .railshell .vband { grid-row: auto; position: static; height: auto }
  .railpage .vbody, .railpage .railfootnote { grid-column: 1; padding-left: 16px; padding-right: 16px }
}
/* the company line sits at the foot of the menu on computers (so the page fits the window); under the page on phones */
.raillegal { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: #9FA8A9 } .raillegal a { color: inherit; text-underline-offset: 3px }
.railpage .railfootnote { display: none }
.railpage .railshell { grid-template-rows: 1fr }
.railpage .vbody { padding-bottom: 28px }
@media (max-width: 900px) { .raillegal { display: none } .railpage .railfootnote { display: block } .railpage .railshell { grid-template-rows: auto 1fr auto } }
.railpage .vside { top: 28px; max-height: calc(100vh - 56px) }
/* v12 (Joshi 28 Oct): a full-height strip on both sides (menu left, "Hi, I'm Joshi" right); only the middle scrolls */
@media (min-width: 1001px) {
  .railpage .vbody { padding: 0; gap: 0; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch }
  .railpage .vmain { padding: 28px 36px 40px; min-width: 0 }
  .railpage .vside { position: sticky; top: 0; align-self: start; height: 100vh; max-height: 100vh; border-radius: 0; padding: 28px 24px; box-sizing: border-box; border-left: 1px solid rgb(246 244 239 / .08) }
}
/* Log out under "Your portal" (Joshi 29 Oct) */
.railfoot { gap: 8px } .railfoot .vlogout { font: inherit; font-size: 14px; font-weight: 500; background: none; cursor: pointer; width: 100%; border: 1px solid transparent; border-radius: 10px; padding: 9px 12px; text-align: center; color: #C7C0B9 }
.railfoot .vlogout:hover { border-color: rgb(246 243 239 / .25); color: #E6E2DC }
@media (max-width: 900px) { .railfoot { display: flex; gap: 6px } .railfoot .vlogout { width: auto } }
/* Spec v1 §3 (29 Oct): a logged-in family on /start or /roadmap is inside the portal: the family menu, no "Hi, I'm Joshi" strip */
.inportal .vside { display: none }
@media (min-width: 1001px) { .inportal.railpage .vbody { grid-template-columns: minmax(0, 1fr) } .inportal .vmain { max-width: 1060px } }
.railme { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #C7C0B9; margin-bottom: 4px } .railme b { display: block; color: #F6F4EF; font-weight: 500 }
.railme .avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #D3CAC0; color: #182528; font-weight: 600; font-size: 13px; flex: none }
.vtabs2 .count { margin-left: auto; font-size: 12px; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 99px; background: #F7E3DC; color: #A8432A; font-weight: 600 }
.vtabs2 .count[hidden] { display: none }
.inportal .railfoot .vlogout { border-color: rgb(246 243 239 / .25); color: #E6E2DC; text-align: left }
/* the menu fits short windows: the links scroll, the foot (who + Log out) always stays in view */
@media (min-width: 901px) { .railshell .vtabs2 { flex: 0 1 auto; min-height: 0; overflow-y: auto } .railpage .railshell .vband { overflow: hidden } }
@media (max-width: 900px) { .railme { display: none } }
.kidpick { display: flex; gap: 8px; align-items: center; margin: -4px 0 14px } .kidpick button[aria-pressed="true"] { background: var(--petrol); color: #F6F3EF; border-color: var(--petrol) }
/* inside the portal the company line sits under the page (as on /home), so the menu keeps its room */
.inportal .raillegal { display: none }
.inportal.railpage .railfootnote { display: none !important } .ptfootline { margin-top: 40px; font-size: 12px; color: #424D50 } .ptfootline a { color: inherit }
@media (min-width: 901px) and (max-height: 820px) { .railshell .vband { gap: 12px; padding-top: 20px } .railshell .vbrand img { width: 80px } .railshell .vtabs2 { gap: 2px } .railshell .vtabs2 a { padding: 8px 14px } }
/* Free call inside the portal (Joshi 29 Oct): 1 Details · 2 Choose a time · 3 Booked */
.cstep { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 20px; padding: 0; font-size: 15px; color: var(--muted) }
.cstep li { display: flex; align-items: center; gap: 8px } .cstep span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 600 }
.cstep li.on { color: var(--ink); font-weight: 600 } .cstep li.on span { background: var(--petrol); color: #F6F3EF; border-color: var(--petrol) }
.cstep li.done span { background: var(--ok); color: #fff; border-color: var(--ok) }

/* Design v2 Bookings page (Joshi 29 Oct): two choice cards and "Your bookings" under the booking form */
.kindcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #E5DFD7 }
.kindcards[hidden] { display: none }
.kind { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #EDE8E1; color: var(--ink); text-decoration: none }
.kind b { display: block; font: 400 20px/1.2 "Iowan Old Style", Georgia, serif } .kind small { font-size: 13px; color: var(--muted) }
.kind .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8E857C; flex: none; margin-top: 3px }
.kind.on { border-color: var(--petrol); background: #F2EEE8 } .kind.on .radio { border: 6px solid var(--petrol) }
.kind.done { opacity: .6; cursor: default } a.kind:not(.done):hover { border-color: var(--petrol) }
.mybook { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #E5DFD7 }
.mybook[hidden] { display: none }
.bk-title { margin: 0 0 6px; font-size: 19px }
.bk-h { display: flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #3F4A4D; margin: 18px 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line) }
.bk-h.hot { color: #A8432A } .bk-n { background: #D3CAC0; border-radius: 99px; padding: 0 8px; font-size: 12px; letter-spacing: 0 } .bk-h.hot .bk-n { background: #C2532C; color: #fff } .bk-h.pend .bk-n { background: #ECE8F4; color: #6B5B95 }
.bk-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line) }
.bk-row:last-child { border-bottom: 0 } .bk-row.offer { background: #F7E3DC; border-radius: 10px; padding: 11px 10px; border: 0; margin: 4px 0 }
.bk-t { font-weight: 700; font-variant-numeric: tabular-nums } .bk-t span { display: block; font-weight: 400; font-size: 12.5px; color: #3F4A4D }
.bk-d p { margin: 2px 0 0; font-size: 13.5px; color: #3F4A4D }
.bk-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end }
.bk-btn { border: 1px solid var(--line); background: #F2EEE8; border-radius: 10px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; color: var(--ink) }
.bk-btn.primary { background: var(--petrol); color: #F6F3EF; border-color: var(--petrol) } .bk-btn.ghost { background: none; border-color: transparent; text-decoration: underline }
.bk-chip { font-size: 12px; font-weight: 600; border-radius: 99px; padding: 3px 10px; background: #D3CAC0; color: #3F4A4D } .bk-chip.ok { background: #E3EFE7; color: #2E6A4F } .bk-chip.alert { background: #F7E3DC; color: #A8432A }
.bk-empty { font-size: 13.5px; color: #3F4A4D; margin: 8px 0 }
@media (max-width: 700px) { .kindcards { grid-template-columns: 1fr } .bk-row { grid-template-columns: 64px minmax(0, 1fr) } .bk-row > :last-child { grid-column: 1 / -1; justify-self: start } }
/* Optional birthday (day + month) on the registration form, compact (Joshi 30 Oct) */
.bday { display: flex; gap: 10px; max-width: 380px } .bday select.in { flex: 1; min-width: 0 }
/* Joshi 31 Oct: Log in and Log out are the same small button everywhere, only as wide as the words (matches .railbtn in the portals) */
.railfoot { justify-items: start }
.railfoot a.vlogin, .railfoot .vlogout, .inportal .railfoot .vlogout { display: inline-block; width: auto; border: 1px solid rgb(246 243 239 / .25); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 400; color: #E6E2DC; text-align: left; background: none }

/* Joshi 2 Nov 16:59: our own always-visible scrollbar on the tick lists */
.msel-panel { position: relative }
.msel.open .msel-in { scrollbar-width: none } .msel-in::-webkit-scrollbar { display: none }
.msel-bar { opacity: 0; transition: opacity .2s } .msel-panel:hover .msel-bar { opacity: 1 } /* Joshi 2 Nov 17:09: only while the pointer is on the list */
.msel-bar { position: absolute; top: 6px; bottom: 6px; right: 5px; width: 6px; border-radius: 3px; background: #E3DCD3; pointer-events: none }
.msel-thumb { width: 6px; border-radius: 3px; background: #7E8A8E }
/* Joshi 3 Nov: Reschedule or cancel pop-up (home and start pages) */
.bk-chg { font-size: 13px; white-space: nowrap }
dialog.chgdlg { border: 0; border-radius: 16px; padding: 20px 22px; width: min(560px, 94vw); background: #F4F1EC; color: var(--ink, #16303A) } dialog.chgdlg::backdrop { background: rgb(20 30 32 / .5) }
dialog.chgdlg h2 { margin: 0 0 2px; font-size: 20px } .chgwhen { margin: 0 0 14px; font-weight: 600; color: #1E4A57 }
.chgtabs { display: flex; gap: 4px; border-bottom: 1px solid #CFC6BA; margin-bottom: 14px }
.chgtab { background: #E5DFD7; border: 1px solid #CFC6BA; border-bottom: 0; border-radius: 10px 10px 0 0; padding: 7px 16px; font: inherit; font-weight: 600; color: #4A5A5E; cursor: pointer; margin-bottom: -1px }
.chgtab[aria-selected="true"] { background: #fff; color: #163038; border-bottom: 1px solid #fff }
.chgbody { display: grid; gap: 12px } .chgbody label.f { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600 }
.chgscope { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px } .chgscope legend { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; padding: 0 }
.tpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px } .tpick .in { padding: 7px 9px; border: 1px solid #CFC6BA; border-radius: 8px; background: #fff; font: inherit } .tpick .in { width: auto; min-height: 0 } .tpick .tday { min-width: 160px; flex: 0 0 auto } .tpick .hm .in { width: 64px } .tpick .hm { display: inline-flex; align-items: center; gap: 4px }
.chgnote { margin: 0; background: #fff; border-left: 3px solid #E8A33D; border-radius: 6px; padding: 9px 12px; font-size: 14px }
.chgfoot { margin: 14px 0 0; font-size: 12.5px; color: #66727A }
dialog.chgdlg .steps.right { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px }
dialog.chgdlg .btn { padding: 9px 16px; border-radius: 10px; border: 1px solid #CFC6BA; background: #fff; font: inherit; font-weight: 600; cursor: pointer }
dialog.chgdlg .btn.primary { background: #163038; color: #fff; border-color: #163038 } dialog.chgdlg .btn.primary:disabled { opacity: .45; cursor: default }
dialog.chgdlg .btn.danger { background: #A23B2C; color: #fff; border-color: #A23B2C }
dialog.chgdlg .clash { color: #A23B2C; margin: 8px 0 0; font-size: 14px }
dialog.chgdlg .tpick select.in { width: auto; display: inline-block } dialog.chgdlg .tpick select.tday { min-width: 170px } dialog.chgdlg .tpick .hm select.in { width: 68px }

/* Joshi 4 Nov 12:07: open tab = same colour as the pop-up below it */
.chgtab { background: #D8CFC4; border-color: #BFB4A7 } .chgtabs { border-bottom-color: #BFB4A7 }
.chgtab[aria-selected="true"] { background: #F4F1EC; border-color: #BFB4A7; border-bottom: 1px solid #F4F1EC }
body dialog.dlg.chgdlg { background: #F4F1EC }
/* Joshi 24 Nov: Exam Lab Live / school enquiry pages */
.vband .vbrand img.hlogo { display: block; width: min(300px, 72vw); height: auto } .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.railfoot2 { color: #AFC0C3; font-size: 11px; line-height: 1.45; margin-top: 8px; padding: 0 4px; font-weight: 400; text-align: left } .railfoot2 a { color: #D9E2E4 }
/* Joshi 26 Nov 21:40: course page (sessions table + one button) and the waiting-list pop-up */
.jtable { background: #F6F3EF; border: 1px solid #CFC3B2; border-radius: 14px; overflow: hidden; margin-top: 14px }
.jrow { display: grid; grid-template-columns: 34px 1.2fr 1.6fr; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #E4DBCF; font-size: 15px } .jrow:last-child { border-bottom: 0 }
.jhead { font-size: 13px; font-weight: 600; color: #5B6668 }
.jpick { display: grid; gap: 12px; margin-top: 16px } .jcard { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #F6F3EF; border: 1px solid #CFC3B2; border-radius: 14px; padding: 14px 18px }
dialog.jdlg { border: 0; padding: 0; border-radius: 18px; width: min(760px, 94vw); max-height: 92vh; overflow: auto; background: #F6F3EF; color: var(--ink) }
dialog.jdlg::backdrop { background: rgb(22 48 56 / .55) }
.jtop { background: var(--petrol); color: #F6F3EF; padding: 16px 22px; position: relative } .jtop h2 { margin: 4px 0 0; font-size: 21px; color: #F6F3EF }
.jtag { display: inline-block; background: #ABB7A7; color: #182528; border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700 }
.jx { position: absolute; right: 16px; top: 14px; border: 0; background: none; color: #F6F3EF; font-size: 22px; cursor: pointer }
dialog.jdlg form { padding: 16px 22px 20px } .jfoot { justify-content: flex-end }
@media (max-width: 640px) { .jrow { grid-template-columns: 26px 1fr; } .jrow > :nth-child(3) { grid-column: 2 } .jcard { flex-direction: column; align-items: flex-start } }
.jback { margin-bottom: 10px !important; font-size: 15px }

/* Joshi 26 Nov 22:51 option A: terracotta border on every pop-up */
dialog.jdlg { border: 3px solid #BE7F63 !important }
/* Joshi 27 Nov 13:06: pop-up title stays still, the middle scrolls */
dialog.framed[open] { display: flex; flex-direction: column; max-height: 92vh; overflow: hidden }
dialog.framed > * { flex: 0 0 auto } dialog.framed > .dlgmid { flex: 1 1 auto; min-height: 0; overflow-y: auto }

dialog .xpill { width: auto !important; height: auto !important; padding: 7px 14px !important; border-radius: 999px !important; background: #F6F3EF !important; color: #163038 !important; border: 1px solid rgba(22, 48, 56, .25) !important; font: 700 14px/1.2 system-ui, -apple-system, sans-serif !important; white-space: nowrap; cursor: pointer }
/* Joshi 27 Nov (Stage 2): the course offer page */
.conote { background: #F4E7CF; border-radius: 10px; padding: 10px 14px; font-size: 14.5px }
.cobox { margin: 12px 0 }
.coacts { justify-content: flex-end; gap: 12px; flex-wrap: wrap }
.cofields { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px } @media (max-width: 640px) { .cofields { grid-template-columns: 1fr } }
.cohold { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 8px 0 }
/* Joshi 30 Nov 18:11: My Exam Lab Live (the member's private page) */
.mebox .mesec { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #583937; margin: 20px 0 8px }
.mebox .mel { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #E3D9CF; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px }
.mebox .meltxt { flex: 1; min-width: 0 } .mebox .meltxt b { display: block } .mebox .meltxt span { color: #4A575B; font-size: 14px } .mebox .meltxt ul { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; color: #3b4a4e }
.mebox .melact { display: flex; gap: 8px; align-items: center; flex: none } .mebox .melact .vbtn { padding: 8px 16px; font-size: 14px }
@media (max-width: 560px) { .mebox .mel { flex-direction: column; align-items: flex-start } }
