/* Pulse — a concept by webtheory.co. Soft neutrals, clear type, plenty of space. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { /* latin-ext: carries the rupee sign */
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --bg: #f3f0ea;
  --paper: #ffffff;
  --sand: #ebe5da;
  --ink: #1f2233;
  --muted: #555869;
  --faint: #8d8f9b;
  --line: rgba(31, 34, 51, 0.12);
  --line-strong: rgba(31, 34, 51, 0.24);
  --accent: #4b53a8;
  --accent-deep: #3b4290;
  --accent-soft: #e8e9f6;
  --sage: #7f9479;
  --sage-ink: #566b51; /* sage dark enough for text (5.4:1 on white) */
  --error: #a3281c;
  --radius: 16px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }
.muted { color: var(--muted); }

/* ── concept bar, header, footer ──────────────────────────────────────── */

.conceptbar {
  background: var(--ink); color: #e9e6f2;
  font-size: 0.8125rem; line-height: 1.4; text-align: center;
  padding: 8px var(--gutter);
}
.conceptbar a { color: #fff; text-underline-offset: 3px; }
.conceptbar a:focus-visible { outline-color: #fff; }

.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 1.5rem; font-weight: 500; letter-spacing: -0.045em; line-height: 1; text-decoration: none;
}
.logo-ring { width: 20px; height: 20px; border: 4px solid var(--accent); border-radius: 50%; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); text-decoration: none; font-size: 0.9688rem; border-radius: 999px;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.site-header .btn { margin-left: 8px; }
@media (max-width: 759px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

.site-footer { margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: grid; gap: 28px 48px; grid-template-columns: 1fr;
  padding-block: 40px 48px; font-size: 0.9375rem; color: var(--muted);
}
.site-footer .logo { color: var(--ink); font-size: 1.25rem; }
.site-footer .logo-ring { width: 16px; height: 16px; border-width: 3.5px; }
.footer-about p { margin-top: 10px; max-width: 34ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover, .credit a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.credit a { color: var(--ink); text-underline-offset: 3px; }
.credit { align-self: end; }
@media (min-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1.2fr 1fr auto; align-items: start; }
  .footer-links { flex-direction: column; }
  .footer-links a { min-height: 36px; }
}

/* ── buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #33374d; }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--accent);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.18s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { transform: translateX(2px); }
.linkbtn {
  background: none; border: 0; padding: 0 2px; min-height: 44px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.linkbtn:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── home ─────────────────────────────────────────────────────────────── */

.eyebrow { font-size: 0.9375rem; color: var(--muted); }
.hero .wrap {
  display: grid; gap: 40px; align-items: center;
  padding-block: clamp(24px, 5vw, 64px) 0;
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.75rem, 7.4vw, 5.1rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em;
}
.hero h1 em { letter-spacing: -0.015em; }
.lead { margin-top: 22px; max-width: 34rem; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: 0.9375rem; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .icon { width: 20px; height: 20px; color: var(--sage); }
.hero-art { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(31, 34, 51, 0.45); }
.hero-art svg { width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

.section { padding-top: clamp(80px, 11vw, 136px); }
.section-head { display: grid; gap: 14px; max-width: 40rem; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.045em;
}
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.treatment-grid { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .treatment-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .treatment-grid { grid-template-columns: repeat(3, 1fr); } }
.tcard {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border-radius: var(--radius); padding: 24px 24px 12px;
  border: 1px solid var(--line);
}
.tcard h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 8px; }
.tcard p { color: var(--muted); font-size: 0.9688rem; }
.tcard .meta { color: var(--ink); font-size: 0.9375rem; font-weight: 500; margin-top: auto; padding-top: 8px; }
.icon-chip {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); color: var(--accent);
}
.tcard-note { background: transparent; border-style: dashed; border-color: var(--line-strong); justify-content: center; }
.tcard-note h3 { margin-top: 0; }

.steps { display: grid; gap: 14px; margin-top: 40px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px;
}
.steps li::before {
  content: counter(step); position: absolute; right: 22px; top: 20px;
  font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--faint);
}
.steps h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.9688rem; }
.then {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 14px; padding: 22px 24px; border-radius: var(--radius); background: var(--sand);
}
.then p { max-width: 44rem; color: var(--ink); }
.then strong { font-weight: 600; }

.band-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.clinic-band .section-head { margin-bottom: 8px; }
.band-art { border-radius: 22px; overflow: hidden; }
.band-art svg { width: 100%; height: auto; }
.visit {
  display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .visit { grid-template-columns: repeat(3, 1fr); } }
.visit li { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.visit h3 { font-size: 1rem; font-weight: 600; }
.visit p { margin-top: 4px; color: var(--muted); font-size: 0.9688rem; }

/* ── booking ──────────────────────────────────────────────────────────── */

.book { max-width: 1080px; margin-inline: auto; padding: 8px var(--gutter) 0; }
.book-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; margin-left: -8px;
  background: none; border: 0; border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none;
}
.back:hover { background: rgba(31, 34, 51, 0.06); }
.back .icon { width: 20px; height: 20px; }
.book-title { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.progress li { font-size: 0.8125rem; color: var(--muted); }
.progress li::before {
  content: ""; display: block; height: 4px; border-radius: 4px; margin-bottom: 8px;
  background: var(--line); transition: background-color 0.3s var(--ease);
}
.progress li.is-done::before { background: var(--ink); }
.progress li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.progress li[aria-current="step"]::before { background: var(--accent); }

.book-grid { display: grid; gap: 40px; margin-top: 32px; align-items: start; }
@media (min-width: 960px) {
  .book-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
}
.step { min-width: 0; max-width: 640px; }
.step.enter { animation: enter 0.32s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.step-head h2 {
  font-size: clamp(1.9rem, 5.2vw, 2.6rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.045em;
}
.step-head h2:focus { outline: none; }
.step-head p { margin-top: 10px; color: var(--muted); }

.options { display: grid; gap: 10px; margin-top: 28px; }
.option {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 80px; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-align: left;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.option:hover { border-color: var(--line-strong); box-shadow: 0 10px 24px -18px rgba(31, 34, 51, 0.5); }
.option[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.option .icon-chip { width: 44px; height: 44px; }
.option-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.option-name { font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }
.option-desc { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.option-meta { text-align: right; font-size: 0.9375rem; line-height: 1.4; white-space: nowrap; }
.option-meta span { display: block; color: var(--muted); }
.option-next { color: var(--sage-ink); font-size: 0.875rem; font-weight: 500; }
.option-next.is-none { color: var(--muted); font-weight: 400; }
.option .chev { width: 20px; height: 20px; color: var(--faint); }
.option[aria-pressed="true"] .chev { color: var(--accent); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 38% 32%, var(--a), var(--b));
}
.avatar-any { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.not-offered { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 479px) {
  .option { gap: 12px; padding: 14px 12px 14px 14px; }
  .option-meta { font-size: 0.9375rem; }
  .option .chev { display: none; }
}

/* days + times */
.month { margin-top: 28px; font-size: 0.9375rem; font-weight: 500; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(3px, 1vw, 8px); margin-top: 10px; }
.day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 68px; padding: 6px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.day:hover { border-color: var(--line-strong); }
.day-name { font-size: 0.75rem; color: var(--muted); }
.day-num { font-size: 1.1875rem; font-weight: 500; line-height: 1.2; }
.day-mark { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); margin-top: 3px; }
.day.is-empty { background: transparent; }
.day.is-empty .day-num { color: var(--muted); font-weight: 400; }
.day.is-empty .day-mark { background: transparent; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day[aria-pressed="true"] .day-name, .day[aria-pressed="true"] .day-num { color: var(--bg); }
.day[aria-pressed="true"] .day-mark { background: #c7d2c1; }
.day[aria-pressed="true"].is-empty .day-mark { background: transparent; }

.dayhead { margin-top: 28px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }
.dayhead span { color: var(--muted); font-weight: 400; }
.hint { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.slot-group { margin-top: 20px; }
.slot-group h4 { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.slot {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 6px; border-radius: 999px; font-size: 0.9688rem; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-strong); background: var(--paper);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
button.slot:hover { border-color: var(--ink); }
.slot.is-taken { border-color: transparent; background: transparent; color: var(--faint); text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.slot .icon { width: 16px; height: 16px; }

.empty {
  margin-top: 24px; padding: 28px 24px; border-radius: var(--radius);
  background: var(--sand); text-align: center;
}
.empty-chip { margin: 0 auto 14px; background: var(--paper); }
.empty-title { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }
.empty p { margin-top: 6px; color: var(--muted); font-size: 0.9688rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.empty .btn-ghost { background: var(--paper); }

.hold {
  position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  margin-top: 28px; padding: 16px 16px 16px 20px;
  background: var(--paper); border-radius: 20px; border: 1.5px solid var(--accent);
  box-shadow: 0 18px 40px -24px rgba(31, 34, 51, 0.55);
}
.hold-label { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--accent); font-weight: 600; }
.hold-label .icon { width: 16px; height: 16px; }
.hold-when { font-weight: 500; line-height: 1.35; }
.hold-when span { display: block; color: var(--muted); font-weight: 400; font-size: 0.9375rem; }
.hold .btn, .hold .change { grid-row: 1 / span 2; grid-column: 2; }
.hold .btn { padding: 0 22px; }
.hold .change {
  min-height: 44px; padding: 0 4px; background: none; border: 0;
  color: var(--accent); font-size: 0.9375rem; font-weight: 500;
}
.hold .change:hover { text-decoration: underline; text-underline-offset: 3px; }
.hold.is-static { position: static; box-shadow: none; }

/* summary card */
.summary {
  background: var(--paper); border-radius: 20px; padding: 24px; border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(31, 34, 51, 0.5);
}
.summary h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.summary dl { margin-top: 12px; }
.summary dl > div {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.summary dt { grid-column: 1; font-size: 0.8125rem; color: var(--muted); }
.summary dd { grid-column: 1; font-weight: 500; line-height: 1.4; }
.summary dd small { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--muted); }
.summary .pending { color: var(--muted); font-weight: 400; }
.summary .change {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--accent); font-size: 0.9375rem; font-weight: 500;
}
.summary .change:hover { text-decoration: underline; text-underline-offset: 3px; }
.summary-held {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 0.9375rem; font-weight: 500;
}
.summary-held .icon { width: 16px; height: 16px; }
.summary-note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.book-aside { position: sticky; top: 24px; }
.inline-summary { margin-top: 24px; }
@media (max-width: 959px) { .book-aside { display: none; } }
@media (min-width: 960px) { .inline-summary { display: none; } }
.book[data-step="done"] .book-aside { display: none; }
.book[data-step="done"] .book-grid { grid-template-columns: minmax(0, 1fr); }
.book[data-step="done"] .step { max-width: 720px; margin-inline: auto; }

/* form */
.form { display: grid; gap: 22px; margin-top: 28px; }
.field label { display: block; font-weight: 500; }
.field .optional { font-weight: 400; color: var(--muted); }
.field .hint { margin-top: 2px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 16px; min-height: 52px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px;
  font-size: 1.0625rem; line-height: 1.4;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: rgba(31, 34, 51, 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75, 83, 168, 0.22); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 40, 28, 0.18); }
.error { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; color: var(--error); font-size: 0.9375rem; font-weight: 500; }
.error:empty { display: none; }
.error .icon { width: 18px; height: 18px; margin-top: 2px; }
.fineprint { font-size: 0.875rem; color: var(--muted); text-align: center; }
.form .btn { margin-top: 6px; }

/* confirmation */
.done-mark { width: 64px; height: 64px; }
.book[data-step="done"] .step-head { margin-top: 20px; }
.concept-note {
  margin-top: 20px; padding: 16px 18px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 0.9688rem;
}
.concept-note strong { display: block; font-weight: 600; }
.receipt { margin-top: 28px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); padding: 8px 24px; }
.receipt > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.receipt > div:first-child { border-top: 0; }
.receipt dt { font-size: 0.8125rem; color: var(--muted); }
.receipt dd { font-weight: 500; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.receipt .note { white-space: pre-line; font-weight: 400; }
.receipt dd small { display: block; font-weight: 400; color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 560px) {
  .receipt > div { grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions .btn { flex: 1 1 220px; }
.took { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; }
.took strong { color: var(--ink); font-weight: 600; }
.after { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; }

/* ── clinic view ──────────────────────────────────────────────────────── */

.clinic-head { display: grid; gap: 14px; padding-top: clamp(16px, 4vw, 48px); max-width: 46rem; }
.clinic-head h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.05em; }
.clinic-head p { color: var(--muted); font-size: 1.0625rem; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 0.8125rem; font-weight: 500; color: var(--muted);
}
.didnt { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 760px) { .didnt { grid-template-columns: repeat(3, 1fr); } }
.didnt li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9688rem; color: var(--muted); }
.didnt li .icon { width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }
.didnt strong { color: var(--ink); font-weight: 500; display: block; }

.newbook {
  margin-top: 36px; padding: 20px 22px; border-radius: 20px; background: var(--paper);
  border: 1.5px solid var(--accent); display: grid; gap: 6px;
}
.newbook-label { display: flex; gap: 8px; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.newbook-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.newbook h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.newbook p { color: var(--muted); font-size: 0.9688rem; }
.newbook.is-none { border-style: dashed; border-color: var(--line-strong); background: transparent; }

.desk { margin-top: 40px; }
.desk-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.desk-bar h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.desk .days { margin-top: 16px; max-width: 560px; }
.board { display: grid; gap: 14px; margin-top: 24px; }
.col { background: var(--paper); border-radius: 20px; border: 1px solid var(--line); padding: 18px; min-width: 0; }
.col-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.col-head .avatar { width: 36px; height: 36px; }
.col-head h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.2; }
.col-head h3 span { display: block; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.off { padding: 28px 0 10px; color: var(--muted); font-size: 0.9375rem; }
.appts { display: grid; gap: 8px; margin-top: 14px; }
.appt {
  display: grid; grid-template-columns: 76px 1fr; gap: 0 12px; padding: 10px 12px;
  border-radius: 12px; background: var(--bg); font-size: 0.9375rem; line-height: 1.35;
}
.appt time { font-variant-numeric: tabular-nums; font-weight: 500; }
.appt-what { display: block; font-weight: 500; }
.appt-who { display: block; color: var(--muted); }
.appt-body { min-width: 0; }
.appt.is-new { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.appt.is-new .appt-tag { display: inline-block; margin-left: 6px; font-size: 0.75rem; font-weight: 600; color: var(--accent-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.appt-note { color: var(--accent-deep); font-size: 0.875rem; margin-top: 2px; }
.lunch { padding: 6px 12px; font-size: 0.8125rem; color: var(--muted); text-align: center; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }

@media (min-width: 900px) {
  /* a true day timeline: 1.8px per minute from 9 am */
  .board { grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hours { display: block !important; position: relative; margin-top: 66px; height: calc(540 * 1.8px); font-size: 0.8125rem; color: var(--muted); }
  .hours span { position: absolute; right: 4px; top: calc(var(--m) * 1.8px - 0.6em); }
  .col { padding: 14px 10px 10px; }
  .col-head { padding: 0 4px 12px; min-height: 52px; }
  .appts { position: relative; height: calc(540 * 1.8px); margin-top: 0; display: block;
    background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 108px); }
  .appt, .lunch { position: absolute; left: 0; right: 0; top: calc(var(--s) * 1.8px + 1px); height: calc(var(--d) * 1.8px - 3px); overflow: hidden; }
  .appt { display: block; padding: 6px 10px; font-size: 0.8125rem; line-height: 1.3; }
  .appt time { display: block; color: var(--muted); font-weight: 400; }
  .appt.is-new time { color: var(--accent-deep); }
  .appt-who { display: inline; }
  .appt-what::after { content: " · "; color: var(--muted); font-weight: 400; }
  .appt-what { display: inline; }
  .appt-note { display: none; }
  .lunch { display: grid; place-items: center; border: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(31, 34, 51, 0.05) 6px 12px); border-radius: 10px; }
  .off { padding-top: 40px; text-align: center; }
}
.hours { display: none; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.lost { display: grid; justify-items: start; gap: 18px; padding-block: clamp(48px, 10vw, 120px) 0; max-width: 36rem; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.05em; }
.lost p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
