:root { color-scheme: light; --paper: #f5f3ef; --ink: #302831; --muted: #625c60; --wine: #483044; --line: rgba(48,40,49,.22); --serif: "Playfair Display", Georgia, serif; --sans: "DM Sans", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.wrap { width: min(1680px, calc(100% - clamp(36px, 8vw, 160px))); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; }
.brand { font: 24px/1.2 var(--serif); text-decoration: none; letter-spacing: -.03em; }
.brand span { display: block; margin-top: 6px; font: 11px/1.5 var(--sans); letter-spacing: .02em; color: var(--muted); }
.home-link { font-size: 13px; text-decoration: none; }
.preview-banner { border-block: 1px solid var(--line); background: #ede9e3; }
.preview-controls { padding-block: 12px; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: 12px; }
.preview-controls p { max-width: 580px; margin: 0; }
.preview-controls > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.preview-controls select { max-width: 100%; font-size: 12px; padding: 7px; min-height: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); }
.preview-controls button { min-height: 36px; border: 0; background: transparent; text-decoration: underline; color: var(--wine); padding: 7px; font-size: 12px; }
.page-intro { padding: 62px 0 32px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { font: 400 clamp(40px, 5.7vw, 70px)/1.08 var(--serif); letter-spacing: -.045em; }
.page-intro > p:last-child { margin-top: 16px; color: var(--muted); font: 20px/1.5 var(--serif); }
.patient-nav { display: flex; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.patient-nav a { text-decoration: none; font-size: 13px; padding: 5px 0; }
.patient-nav a:hover { text-decoration: underline; }
.page-status { color: var(--wine); font-size: 14px; }
.page-status:not(:empty) { margin-top: 22px; padding: 14px 18px; border-left: 2px solid var(--wine); background: rgba(72,48,68,.04); }
.overview { display: grid; grid-template-columns: 1.1fr .9fr; margin-block: 40px 54px; border: 1px solid var(--line); }
.next-session, .balance { min-width: 0; padding: clamp(24px, 3.5vw, 44px); }
.next-session { background: rgba(255,255,255,.4); }
.balance { border-left: 1px solid var(--line); }
h2 { font: 400 clamp(25px, 3vw, 36px)/1.2 var(--serif); letter-spacing: -.03em; }
.next-date { font: 400 clamp(36px, 4.5vw, 54px)/1.12 var(--serif); letter-spacing: -.035em; margin-top: 30px; }
.next-time { font: 21px/1.5 var(--serif); margin: 8px 0 20px; }
.session-state { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--wine); }
.session-state::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }
.session-state.pending::before { background: transparent; border: 1px solid var(--wine); width: 7px; height: 7px; flex-basis: 7px; }
.session-note { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 390px; }
.session-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.text-button { border: 0; color: var(--wine); background: transparent; padding: 8px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.balance-count { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.balance-count strong { font: 400 76px/1 var(--serif); letter-spacing: -.055em; }
.balance-count span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.reserved-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.balance-actions { display: grid; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; min-height: 48px; border-radius: 2px; text-decoration: none; font: 14px/1.4 var(--sans); }
.primary { border: 1px solid var(--wine); background: var(--wine); color: var(--paper); }
.primary:hover:not(:disabled) { background: #392439; }
.secondary { border: 1px solid var(--wine); background: transparent; color: var(--wine); }
.secondary:hover { background: rgba(72,48,68,.06); }
.small, .legacy-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.section { padding-bottom: 48px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 30px; margin-bottom: 22px; }
.section-heading p { color: var(--muted); font-size: 13px; max-width: 360px; }
.session-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-content: space-between; border-top: 1px solid var(--line); padding: 20px 0; }
.session-row h3 { font: 20px/1.4 var(--serif); }
.session-row .session-actions { margin: 0; }
.session-row .session-state { margin-top: 5px; }
.session-row .small { margin-top: 4px; }
.empty-state { color: var(--muted); padding: 22px 0; font: 17px/1.6 var(--serif); }
.movements { margin-top: 12px; font-size: 13px; border-top: 1px solid var(--line); padding-top: 15px; }
.movements summary { cursor: pointer; padding: 10px 0; }
.movements ul { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.movements li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.help { border-top: 1px solid var(--line); padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help p:last-child { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 540px; }
.help .button { flex-shrink: 0; }
footer { display: flex; gap: 15px 26px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 23px 0 32px; color: var(--muted); font-size: 12px; }
dialog { width: min(580px, calc(100% - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: rgba(30,22,30,.48); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.dialog-heading .eyebrow { margin: 0; }
.close-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font-size: 24px; }
dialog h2 { font-size: clamp(28px, 5vw, 36px); }
.intro { margin-top: 13px; color: var(--muted); font: 17px/1.6 var(--serif); }
.price { margin-block: 24px 30px; font: 500 34px/1.2 var(--serif); letter-spacing: -.03em; }
.price span { display: block; margin-top: 8px; font: 13px/1.6 var(--sans); letter-spacing: 0; color: var(--muted); }
.field-label { display: block; font-size: 13px; margin: 20px 0 8px; }
.quantity-picker { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.quantity-picker button { width: 44px; height: 48px; background: transparent; color: var(--wine); border: 0; }
.quantity-picker input { width: 66px; height: 48px; text-align: center; background: #fffdfa; color: var(--ink); border: 0; border-inline: 1px solid var(--line); border-radius: 0; }
.purchase-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-block: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.purchase-total strong { font: 400 28px/1.3 var(--serif); }
.mp-provider { padding: 20px 0 14px; border-top: 1px solid var(--line); }
.mp-provider-logo { display: block; width: 160px; height: 40px; margin-bottom: 14px; }
.mp-provider h3 { margin: 0; font: 500 16px/1.4 var(--sans); color: var(--ink); }
.mp-provider p, .payment-note { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.demo-note { margin-top: 18px; padding: 14px; border-left: 2px solid var(--wine); background: rgba(72,48,68,.04); color: var(--muted); font-size: 12px; }
.full { width: 100%; margin-top: 22px; }
form > select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; background: #fffdfa; color: var(--ink); }
.form-error { color: #803a40; font-size: 13px; margin-top: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 90px; }
  .brand { font-size: 21px; }
  .home-link { font-size: 12px; }
  .page-intro { padding-top: 38px; }
  .page-intro > p:last-child { font-size: 18px; }
  .patient-nav { gap: 13px 22px; }
  .overview { grid-template-columns: 1fr; margin-top: 28px; }
  .balance { border-left: 0; border-top: 1px solid var(--line); }
  .next-session, .balance { padding: 26px 22px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .help { display: block; }
  .help .button { margin-top: 22px; width: 100%; }
  .session-row { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
