/* Public booking and manage pages. Matches the main site (osteostrongmercerisland.com): dark photo background, white text,
   yellow brand (#ffd24a), teal links (#49d4c8), pill buttons, 16px cards. Always dark, like the site. */
:root { color-scheme: dark; --ink:#f6f7fb; --muted:#cfd3df; --brand:#ffd24a; --accent:#49d4c8; --radius:16px; --card:rgba(255,255,255,.07); --line:rgba(255,255,255,.16); --warn:#ff8a80; --ok:#7be0a0; --on-brand:#181818; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; min-height: 100vh;
  background: linear-gradient(rgba(15,17,23,.84), rgba(15,17,23,.93)), url("https://www.osteostrongmercerisland.com/images/session-room-dark-1200x700.jpeg") center / cover fixed no-repeat, #0f1117; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.practice { background: #b3261e; color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.35); }
header.top img { display: block; height: 30px; width: auto; max-width: 62vw; }
.texthead { font-weight: 700; font-size: 14px; white-space: nowrap; }
main { max-width: 560px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 26px; line-height: 1.2; margin: 4px 0 6px; color: var(--brand); }
h2 { font-size: 17px; margin: 24px 0 8px; }
.muted { color: var(--muted); }
.err { color: var(--warn); margin: 10px 0 0; }
.ok { color: var(--ok); }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0; font-size: 15px; }
.stack { display: grid; gap: 10px; margin: 14px 0; }
button, .btn { font: inherit; font-weight: 700; display: inline-block; text-align: center; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--brand); background: var(--brand); color: var(--on-brand); cursor: pointer; text-decoration: none; min-height: 46px; }
button:hover, .btn:hover { filter: brightness(1.06); text-decoration: none; }
button.ghost, .btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
button.warn { background: #ff6b60; border-color: #ff6b60; color: #181818; }
button:disabled { opacity: .45; cursor: not-allowed; }
.choice { text-align: left; width: 100%; border-radius: var(--radius); background: var(--card); color: var(--ink); border: 1px solid var(--line); font-weight: 600; padding: 14px 16px; }
.choice b { display: block; font-size: 18px; color: var(--ink); }
.choice span { color: var(--muted); font-size: 14px; font-weight: 400; }
.choice:hover { border-color: var(--brand); }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=tel] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.35); color: var(--ink); font: inherit; }
input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; margin: 14px 0; }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--card); margin: 12px 0; }
.summary b { display: block; font-size: 18px; color: var(--brand); }
.cal { margin: 12px 0; }
.cal .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal .head b { font-size: 17px; }
.cal .head button { padding: 6px 16px; min-height: 40px; margin: 0; }
.cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal .day { text-align: center; padding: 10px 0; border-radius: 12px; border: 1px solid transparent; color: rgba(255,255,255,.35); min-height: 44px; font: inherit; background: transparent; }
.cal button.day { color: var(--ink); border-color: var(--line); background: var(--card); margin: 0; padding: 10px 0; font-weight: 600; }
.cal button.day:hover { border-color: var(--brand); }
.cal button.day.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0; }
.times button { padding: 10px 6px; margin: 0; background: var(--card); color: var(--ink); border-color: var(--line); font-weight: 600; }
.times button:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.back { color: var(--muted); font-size: 15px; background: none; border: 0; padding: 4px 0; min-height: 0; cursor: pointer; text-decoration: underline; font-weight: 400; border-radius: 0; }
.back:hover { color: var(--ink); filter: none; }
.code { display: flex; gap: 8px; }
.code input { flex: 1; }
.code button { margin: 0; }

/* payment step */
.cardbox { min-height: 90px; margin: 6px 0 14px; }
.prices { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 10px; font-size: 16px; }
.prices span:nth-child(even), .prices b:nth-child(even) { text-align: right; }
.summary .prices b { display: inline; font-size: inherit; color: inherit; }
.prices .disc { color: #1a7f37; }

/* Terms page and the footer on every public page */
main.legal { max-width: 760px; }
main.legal h2 { font-size: 22px; color: var(--brand); margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
main.legal h3 { font-size: 17px; margin: 22px 0 6px; }
main.legal ul { padding-left: 22px; } main.legal li { margin: 4px 0; }
main.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 6px; }
main.legal section { scroll-margin-top: 12px; }
.legal-foot { max-width: 760px; margin: 0 auto; padding: 0 16px 36px; font-size: 13px; color: var(--muted); text-align: center; }
.legal-foot a { color: var(--muted); text-decoration: underline; }
@media print { header.top, .legal-foot, .toc { display: none; } body { background: #fff; color: #000; } main.legal h2, h1 { color: #000; } }
