/* Apphaven brand tokens (Brand Theme v0.4). Paper first: ink does the work, gold marks the
   one thing on a page that has been earned. Dark mode is the studio at night: paper becomes
   ink, cards become black soft, the mark's structure turns paper and its insert stays gold.
   Follow the system, or force with <html data-theme="dark|light">. */

:root {
  color-scheme: light dark;

  /* Palette (fixed) */
  --ah-paper: #f8f7f5;
  --ah-white: #ffffff;
  --ah-panel: #f0ede6;
  --ah-grey-light: #dfdeda;
  --ah-grey-mid: #a8a8a3;
  --ah-grey-warm: #6b6b65;
  --ah-granite: #555555;
  --ah-ink: #1e1e1e;
  --ah-black-soft: #2a2a2a;
  --ah-gold: #cfb055;
  --ah-gold-bright: #f5db7b;
  --ah-gold-deep: #9a7d2e;
  --ah-running: #7ab892;
  --ah-needs-you: #c9793a;
  --ah-broke: #c75d5d;
  --ah-note: #7a9eb8;

  /* Roles (switch with the theme) */
  --bg: var(--ah-paper);
  --surface: var(--ah-white);
  --surface-2: var(--ah-panel);
  --ink: var(--ah-ink);
  --ink-2: var(--ah-granite);
  --muted: var(--ah-grey-warm);
  --placeholder: var(--ah-grey-mid);
  --line: var(--ah-grey-light);
  --line-strong: #c9c8c3;
  --action: var(--ah-ink);
  --action-hover: var(--ah-black-soft);
  --action-ink: var(--ah-paper);
  --earned: var(--ah-gold);
  --earned-ink: var(--ah-ink);
  --link-hover: var(--ah-gold-deep);
  --ok: var(--ah-running);
  --warn: var(--ah-needs-you);
  --danger: var(--ah-broke);
  --info: var(--ah-note);
  --ok-soft: #e3f0e8;
  --warn-soft: #f6e6da;
  --danger-soft: #f5e0e0;
  --info-soft: #e3ecf3;
  /* State words on their soft tint: the dark of each state's colour. */
  --ok-text: #2f6b4a;
  --warn-text: #8a4e1f;
  --danger-text: #8f3a3a;
  --info-text: #345a74;
  /* The console's sidebar and phone band: ink in both themes, a shade deeper at night. */
  --band: var(--ah-ink);
  --band-raised: var(--ah-black-soft);
  --band-line: #3a3a37;
  --band-ink: var(--ah-paper);
  --band-ink-2: #d6d4ce;
  --band-muted: var(--ah-grey-mid);
  --band-mark: #2e2e2b;
  /* Focus is gold: the one place gold isn't earned. */
  --focus: var(--ah-gold);
  --backdrop: rgb(30 30 30 / 0.45);
  --pinstripe: repeating-linear-gradient(90deg, transparent, transparent 1px, rgb(30 30 30 / 0.03) 1px, rgb(30 30 30 / 0.03) 2px);
  --mark-structure: var(--ah-ink);
  --mark-insert: var(--ah-gold);

  /* Type */
  --font-display: "Rajdhani", "Outfit Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Outfit Variable", "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-h1: 4rem;
  --text-h2: 2.5rem;
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;
  --track-display: 0.3px;

  /* Shape */
  --r-sm: 4px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-tile: 22%;
  --gutter: 16px;
  --content: 1100px;
  --measure: 640px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ah-ink);
    --surface: var(--ah-black-soft);
    --surface-2: #262623;
    --ink: var(--ah-paper);
    --ink-2: #d6d4ce;
    --muted: var(--ah-grey-mid);
    --placeholder: #7d7d78;
    --line: #3a3a37;
    --line-strong: #4b4b47;
    --action: var(--ah-paper);
    --action-hover: var(--ah-white);
    --action-ink: var(--ah-ink);
    --link-hover: var(--ah-gold);
    --ok-soft: #26362d;
    --warn-soft: #3b2a1c;
    --danger-soft: #3b2323;
    --info-soft: #243039;
    --ok-text: #a3d4b6;
    --warn-text: #ebb68c;
    --danger-text: #eda7a7;
    --info-text: #abc6da;
    --band: #141413;
    --band-raised: #262623;
    --band-line: #33332f;
    --band-mark: #22221f;
    --backdrop: rgb(0 0 0 / 0.6);
    --pinstripe: repeating-linear-gradient(90deg, transparent, transparent 1px, rgb(255 255 255 / 0.02) 1px, rgb(255 255 255 / 0.02) 2px);
    --mark-structure: var(--ah-paper);
    --mark-insert: var(--ah-gold);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--ah-ink);
  --surface: var(--ah-black-soft);
  --surface-2: #262623;
  --ink: var(--ah-paper);
  --ink-2: #d6d4ce;
  --muted: var(--ah-grey-mid);
  --placeholder: #7d7d78;
  --line: #3a3a37;
  --line-strong: #4b4b47;
  --action: var(--ah-paper);
  --action-hover: var(--ah-white);
  --action-ink: var(--ah-ink);
  --link-hover: var(--ah-gold);
  --ok-soft: #26362d;
  --warn-soft: #3b2a1c;
  --danger-soft: #3b2323;
  --info-soft: #243039;
  --ok-text: #a3d4b6;
  --warn-text: #ebb68c;
  --danger-text: #eda7a7;
  --info-text: #abc6da;
  --band: #141413;
  --band-raised: #262623;
  --band-line: #33332f;
  --band-mark: #22221f;
  --backdrop: rgb(0 0 0 / 0.6);
  --pinstripe: repeating-linear-gradient(90deg, transparent, transparent 1px, rgb(255 255 255 / 0.02) 1px, rgb(255 255 255 / 0.02) 2px);
  --mark-structure: var(--ah-paper);
  --mark-insert: var(--ah-gold);
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* Sunday Studio is an illustrative customer's app with its own editorial type.
   Apphaven's paper/ink tokens keep the surrounding material palette consistent. */
:root { --studio-display: "DM Serif Display", Georgia, serif; --studio-green: color-mix(in srgb, var(--ok) 34%, var(--ink)); --studio-sage: color-mix(in srgb, var(--ok) 13%, var(--bg)); }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--studio-green); outline-offset: 4px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--studio-display); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(40px, 4.5vw, 60px); }
h1 em { color: var(--studio-green); font-weight: 400; }
h2 { font-size: 29px; }
h3 { font-size: 26px; }
[hidden] { display: none !important; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow svg { width: 18px; height: 18px; }
.studio-header { max-width: 1440px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 84px; padding: 16px 4%; border-bottom: 1px solid var(--line); }
.studio-logo { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; flex: none; }
.studio-logo > svg { width: 36px; height: 36px; color: var(--studio-green); stroke-width: 1.3; }
.studio-logo > span { font-family: var(--studio-display); font-size: 28px; letter-spacing: -.05em; }
.logo-period { color: var(--studio-green); }
.studio-header nav { display: flex; align-items: center; gap: 26px; }
.nav-link { border: 0; background: none; color: var(--muted); padding: 12px 0; min-height: 44px; font-size: 13px; font-weight: 450; text-decoration: none; white-space: nowrap; }
.nav-link.active { color: var(--ink); }
.nav-link:hover { color: var(--studio-green); }
.nav-count { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 9px; margin-left: 5px; }
.profile { display: flex; align-items: center; gap: 10px; font-size: 12px; flex: none; }
.avatar, .guest-initial { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--studio-sage); color: var(--studio-green); border: 1px solid var(--line); }
.studio-main { max-width: 1360px; padding: 34px 4% 0; margin: auto; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.welcome-copy > .eyebrow { margin-bottom: 12px; }
.welcome-lead { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 43ch; }
.next-visit { display: flex; align-items: stretch; gap: 18px; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); width: 295px; flex: none; }
.next-visit:hover { border-color: var(--studio-green); }
.next-visit-photo { width: 75px; flex: none; overflow: hidden; border-radius: 2px; }
.next-visit-photo img { width: 100%; height: 100%; }
.next-visit-copy { display: flex; flex-direction: column; align-items: flex-start; }
.next-visit-copy > .eyebrow { font-size: 8px; letter-spacing: .08em; margin-bottom: 7px; }
.next-visit-copy strong { font-size: 15px; font-weight: 500; }
.next-visit-copy > span:not(.eyebrow):not(.text-link) { font-size: 11px; color: var(--muted); margin-top: 3px; }
.text-link { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--studio-green); margin-top: 13px; }
.text-link svg { width: 14px; height: 14px; }
.workshop-section-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.workshop-section-title .eyebrow { margin-bottom: 5px; }
.season-label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); padding-bottom: 3px; }
.season-label svg { width: 17px; height: 17px; color: var(--studio-green); }
.workshop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-chip { border: 1px solid var(--line); background: transparent; border-radius: var(--r-sm); font-size: 12px; min-height: 44px; padding: 7px 12px; color: var(--muted); }
.filter-chip.selected { color: var(--action-ink); background: var(--action); border-color: var(--action); }
.filter-chip > span { margin-left: 8px; opacity: .65; font-size: 9px; }
.toolbar-note { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.toolbar-note svg { width: 14px; height: 14px; }
.workshop-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 22px; }
.workshop-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.workshop-photo { position: relative; height: clamp(200px, 22vw, 300px); overflow: hidden; }
.workshop-photo > img { height: 100%; object-position: 50% 63%; }
.photo-tag { position: absolute; top: 15px; left: 15px; border-radius: 2px; padding: 5px 9px; background: var(--bg); color: var(--ink-2); font-size: 10px; }
.date-tile { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: center; padding: 8px 12px; min-width: 58px; background: var(--bg); border-radius: var(--r-sm); }
.date-tile > span { font-size: 8px; letter-spacing: .13em; color: var(--muted); line-height: 1.35; }
.date-tile > strong { font-family: var(--studio-display); font-size: 27px; line-height: 1.2; font-weight: 400; }
.workshop-details { padding: 19px 20px 16px; }
.workshop-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.workshop-title-row h3 { font-size: clamp(23px, 2.5vw, 30px); }
.price { white-space: nowrap; font-weight: 500; font-size: 15px; }
.price > span { font-size: 9px; color: var(--muted); font-weight: 400; }
.workshop-details > p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 8px; }
.workshop-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 15px; color: var(--ink-2); font-size: 12px; }
.workshop-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.workshop-meta svg { width: 14px; height: 14px; }
.workshop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 15px; }
.availability { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--studio-green); }
.availability i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.availability svg { width: 14px; height: 14px; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 44px; padding: 11px 16px; border: 1px solid var(--action); border-radius: var(--r-sm); background: var(--action); color: var(--action-ink); font-size: 12px; font-weight: 450; text-decoration: none; line-height: 1.4; }
.primary-button:hover { background: var(--action-hover); }
.primary-button svg, .secondary-button svg { width: 16px; height: 16px; }
.secondary-button { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.secondary-button:hover { background: var(--surface-2); }
.studio-promise { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; padding: 20px; color: var(--muted); font-size: 11px; }
.studio-promise > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--studio-green); font-weight: 500; }
.studio-promise svg { width: 16px; height: 16px; }
.studio-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; max-width: 1260px; margin: 24px auto 0; padding: 23px 4%; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }
.studio-footer > span { font-family: var(--studio-display); font-size: 16px; color: var(--studio-green); }
.studio-footer > div { display: flex; align-items: center; gap: 20px; }
.studio-footer a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 36px; }
.studio-footer svg { width: 13px; height: 13px; }
.studio-footer > p { width: 100%; font-size: 9px; }
.page-intro { margin: 10px 0 35px; }
.page-intro h1 { margin: 12px 0; }
.page-intro > p:last-child { color: var(--muted); }
.booking-list { display: grid; gap: 20px; }
.booking-item { display: grid; grid-template-columns: 210px 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; padding: 18px; }
.booking-item > img { height: 180px; border-radius: 2px; }
.booking-item h2 { margin: 8px 0; }
.booking-item p { color: var(--muted); font-size: 13px; margin: 4px 0; }
.booking-item .status { display: inline-flex; margin-top: 8px; }
.booking-item > div:last-child { text-align: right; }
.booking-item .booking-ref { font: 10px var(--font-mono); }
.text-button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--studio-green); padding: 16px 0; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.notes-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.notes-layout > img { height: 100%; max-height: 600px; border-radius: var(--r-sm); }
.notes-list article { display: flex; align-items: baseline; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.notes-list article > span { font-size: 10px; color: var(--muted); }
.notes-list h2 { font-size: 26px; margin-bottom: 12px; }
.notes-list p { color: var(--muted); font-size: 14px; }
.owner-intro { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin: 5px 0 24px; }
.owner-intro .eyebrow { margin-bottom: 10px; }
.owner-intro p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 14px; }
.owner-date { display: flex; flex-direction: column; padding-left: 24px; border-left: 1px solid var(--line); gap: 6px; }
.owner-date .eyebrow { margin-bottom: 0; }
.owner-date strong { font-weight: 450; font-size: 16px; }
.owner-date > span:last-child { font-size: 12px; color: var(--muted); }
.owner-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); margin-bottom: 20px; }
.owner-stats > div { padding: 18px 24px; }
.owner-stats > div + div { border-left: 1px solid var(--line); }
.owner-stats strong { display: flex; align-items: baseline; gap: 8px; font-family: var(--studio-display); font-size: 40px; font-weight: 400; margin: 4px 0; line-height: 1.3; }
.owner-stats strong > span:last-child:not(:first-child) { font: 13px var(--font-body); color: var(--muted); }
.owner-stats strong > svg { width: 25px; height: 25px; color: var(--studio-green); }
.owner-stats p { color: var(--muted); font-size: 11px; }
.owner-workshop { display: flex; gap: 24px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.owner-workshop > img { width: 150px; height: 90px; border-radius: 2px; }
.owner-workshop h2 { margin: 6px 0 10px; font-size: 28px; }
.owner-workshop p:last-child { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.owner-workshop p > svg { width: 16px; height: 16px; }
.owner-workshop > a { margin-left: auto; flex: none; }
.table-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 16px; }
.table-heading > span { font-size: 11px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { font-size: 10px; font-weight: 450; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 9px 18px; background: var(--surface-2); }
td { border-bottom: 1px solid var(--line); padding: 13px 18px; }
td:first-child { display: flex; gap: 12px; align-items: center; }
td strong, .waiting-guests strong { font-weight: 500; }
td small, .waiting-guests small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
td:nth-child(2) { font: 10px var(--font-mono); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 4px; color: var(--studio-green); background: var(--studio-sage); border-radius: 3px; padding: 4px 7px; font-size: 10px; white-space: nowrap; }
.status svg { width: 12px; height: 12px; }
.owner-footnote { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin: 18px 0 34px; }
.owner-footnote svg { width: 14px; height: 14px; }
.private-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4%; background: var(--studio-sage); color: var(--studio-green); border-bottom: 1px solid var(--line); font-size: 11px; }
.private-banner > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.private-banner svg { width: 14px; height: 14px; }
.feature-label { display: inline-flex; gap: 8px; align-items: center; background: var(--studio-sage); color: var(--studio-green); border-radius: var(--r-sm); padding: 8px 12px; font-size: 11px; white-space: nowrap; }
.feature-label svg { width: 16px; height: 16px; }
.waiting-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 28px; margin-bottom: 32px; }
.waiting-workshop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.waiting-workshop > img { height: 260px; }
.waiting-workshop > div { padding: 24px; }
.waiting-workshop h2 { margin: 9px 0; }
.waiting-workshop p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.waiting-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.full-tag { font-size: 10px; color: var(--muted); }
.waiting-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.waiting-panel .table-heading { margin: 0 0 12px; }
.waiting-panel h2 { font-size: 28px; }
.waiting-panel > p { font-size: 12px; color: var(--muted); }
.waiting-guests { margin-top: 18px; }
.waiting-guests > div { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 13px; }
.waiting-guests > div > span:last-child { margin-left: auto; font: 10px var(--font-mono); color: var(--muted); }
.preview-note { display: flex; align-items: center; gap: 12px; padding: 18px 0 0; margin-top: 10px; border-top: 1px solid var(--line); color: var(--studio-green); font-size: 12px; }
.preview-note strong { font-weight: 500; }
.reservation-dialog { border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); max-width: 500px; width: calc(100% - 32px); padding: 0; max-height: calc(100dvh - 40px); }
.reservation-dialog::backdrop { background: var(--backdrop); }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 50%; }
.dialog-photo { height: 165px; object-position: center 65%; }
.dialog-content { padding: 26px; }
.dialog-content h2 { margin: 10px 0 22px; font-size: 32px; }
.dialog-content h3 { font: 500 16px var(--font-body); }
.reservation-date { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin: 9px 0 20px; }
.reservation-date svg { width: 16px; height: 16px; }
.reservation-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.reservation-line strong { font-weight: 500; }
.quantity-picker { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.quantity-picker button { width: 40px; height: 40px; background: none; border: 0; font-size: 18px; }
.quantity-picker output { display: grid; place-items: center; min-width: 26px; }
.reservation-included { display: flex; align-items: center; gap: 6px; color: var(--studio-green); font-size: 11px; margin: 8px 0 22px; }
.reservation-included svg { width: 16px; height: 16px; }
.reservation-submit { width: 100%; min-height: 48px; font-size: 14px; }
.demo-note { color: var(--muted); font-size: 10px; text-align: center; margin-top: 13px; }
.reservation-success { padding: 45px 30px 30px; text-align: center; }
.success-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--studio-green); background: var(--studio-sage); margin-bottom: 25px; }
.success-mark svg { width: 30px; height: 30px; }
.reservation-success .eyebrow { justify-content: center; }
.reservation-success h2 { font-size: 36px; margin: 12px 0; }
.reservation-success > p:not(.eyebrow):not(.demo-note) { font-size: 14px; color: var(--muted); }
.confirmation-details { display: grid; gap: 5px; margin: 25px 0; padding: 22px; background: var(--surface-2); border-radius: var(--r-sm); font-size: 12px; }
.confirmation-details strong { font-weight: 500; font-size: 15px; }
.confirmation-details > span:last-child { color: var(--muted); font-size: 10px; margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.noscript-note { text-align: center; padding: 18px; }
@media (min-width: 1250px) { .studio-main { padding-top: 42px; } .welcome-row { margin-bottom: 40px; } }
@media (max-width: 900px) {
  .studio-header { gap: 14px; } .studio-header nav { gap: 18px; } .profile-name { display: none; }
  .studio-logo > span { font-size: 25px; } .studio-logo > svg { width: 30px; height: 30px; }
  .next-visit { width: 265px; gap: 12px; padding: 12px; } .next-visit-photo { width: 60px; }
  .workshop-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .workshop-title-row { display: block; } .price { display: block; margin-top: 6px; }
  .workshop-details { padding: 16px; } .workshop-meta { gap: 8px; }
  .booking-item { grid-template-columns: 150px 1fr; gap: 20px; } .booking-item > div:last-child { grid-column: 2; text-align: left; }
  .waiting-layout { gap: 18px; grid-template-columns: 1.15fr 1fr; } .waiting-card-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  body { font-size: 14px; } h1 { font-size: 43px; } h2 { font-size: 28px; }
  .studio-header { display: grid; grid-template-columns: 1fr auto; padding: 18px 22px 0; gap: 10px; }
  .studio-logo > span { font-size: 26px; } .studio-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 15px; }
  .profile { grid-row: 1; grid-column: 2; } .avatar { width: 30px; height: 30px; font-size: 12px; }
  .nav-link { font-size: 12px; padding: 13px 0; border-bottom: 2px solid transparent; }
  .nav-link.active { border-bottom-color: var(--studio-green); }
  .studio-main { padding: 25px 22px 0; }
  .welcome-row { display: block; margin-bottom: 27px; }
  .welcome-copy .eyebrow { font-size: 9px; margin-bottom: 10px; }
  .welcome-lead { font-size: 13px; line-height: 1.5; margin-top: 13px; max-width: 34ch; }
  .next-visit { width: 100%; margin-top: 24px; padding: 12px; align-items: center; }
  .next-visit-photo { width: 46px; height: 52px; }
  .next-visit-copy { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; width: 100%; }
  .next-visit-copy .eyebrow { grid-column: 1 / -1; margin-bottom: 3px; font-size: 8px; }
  .next-visit-copy strong { font-size: 13px; }
  .next-visit-copy > span:not(.eyebrow):not(.text-link) { grid-row: 3; margin-top: 0; font-size: 10px; }
  .next-visit-copy .text-link { font-size: 0; grid-row: 2 / 4; grid-column: 2; margin-top: 0; align-self: center; }
  .next-visit-copy .text-link svg { width: 18px; height: 18px; }
  .workshop-section-title { margin-bottom: 14px; } .workshop-section-title h2 { font-size: 26px; }
  .workshop-section-title .eyebrow, .season-label, .toolbar-note { display: none; }
  .workshop-toolbar { margin-bottom: 15px; } .filter-chip { min-height: 44px; font-size: 10px; padding: 8px 10px; }
  .filter-chips { gap: 6px; } .filter-chip > span { margin-left: 5px; }
  .workshop-grid { grid-template-columns: 1fr; gap: 24px; }
  .workshop-photo { height: 215px; } .photo-tag { font-size: 9px; top: 12px; left: 12px; }
  .workshop-title-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .workshop-title-row h3 { font-size: 25px; } .price { margin: 0; font-size: 14px; }
  .workshop-details { padding: 18px; } .workshop-details > p { font-size: 12px; }
  .workshop-meta { font-size: 11px; gap: 10px; margin-top: 14px; }
  .primary-button, .secondary-button { min-height: 44px; font-size: 12px; padding: 11px 14px; }
  .availability { font-size: 11px; } .studio-promise { padding: 8px 0; font-size: 11px; justify-content: flex-start; gap: 7px; }
  .studio-footer { padding: 24px 22px; gap: 10px; } .studio-footer > div { gap: 16px; flex-wrap: wrap; } .studio-footer > p { font-size: 9px; }
  .page-intro h1 { font-size: 40px; } .page-intro > p:last-child { font-size: 13px; }
  .booking-item { display: block; padding: 16px; } .booking-item > img { width: 100%; height: 190px; margin-bottom: 18px; }
  .booking-item > div:last-child { text-align: left; margin-top: 16px; }
  .booking-item h2 { font-size: 28px; } .booking-item p { font-size: 12px; }
  .notes-layout { grid-template-columns: 1fr; gap: 24px; } .notes-layout > img { height: 220px; }
  .notes-list h2 { font-size: 25px; } .notes-list p { font-size: 13px; }
  .owner-intro { display: block; margin: 0 0 24px; } .owner-intro h1 { font-size: 42px; } .owner-intro p:not(.eyebrow) { font-size: 13px; }
  .owner-date { border: 0; padding: 18px 0 0; gap: 2px; } .owner-date > span:last-child, .owner-date .eyebrow { display: none; } .owner-date strong { font-size: 12px; color: var(--muted); }
  .owner-stats { grid-template-columns: 1fr 1fr; margin-bottom: 20px; } .owner-stats > div { padding: 17px 15px; } .owner-stats > div:last-child { display: none; }
  .owner-stats .eyebrow { font-size: 8px; } .owner-stats strong { font-size: 36px; } .owner-stats p { font-size: 10px; }
  .owner-workshop { flex-wrap: wrap; gap: 13px; padding: 13px; } .owner-workshop > img { width: 76px; height: 80px; }
  .owner-workshop > div { flex: 1; } .owner-workshop h2 { font-size: 22px; margin: 4px 0 8px; }
  .owner-workshop .eyebrow { font-size: 8px; } .owner-workshop p:last-child { font-size: 10px; flex-wrap: wrap; gap: 4px; }
  .owner-workshop > a { width: 100%; } .table-heading h2 { font-size: 25px; } .table-heading > span { font-size: 10px; }
  th { padding: 9px 5px; font-size: 8px; } td { padding: 14px 5px; font-size: 11px; }
  th:nth-child(2), td:nth-child(2) { display: none; } td:first-child { gap: 8px; } td small { font-size: 8px; } .guest-initial { width: 28px; height: 28px; font-size: 11px; }
  .status { font-size: 9px; padding: 3px 5px; } .owner-footnote { align-items: flex-start; font-size: 10px; }
  .private-banner { padding: 10px 22px; font-size: 10px; } .private-banner > span:nth-child(2) { display: none; }
  .feature-label { margin-top: 18px; font-size: 10px; } .waiting-layout { grid-template-columns: 1fr; }
  .waiting-workshop > img { height: 200px; } .waiting-workshop > div { padding: 20px; }
  .waiting-card-footer { align-items: stretch; } .waiting-panel { padding: 20px; }
  .dialog-content { padding: 22px; } .dialog-photo { height: 140px; } .dialog-content h2 { font-size: 29px; } .reservation-date { font-size: 11px; align-items: flex-start; }
  .reservation-success { padding: 40px 24px 24px; } .reservation-success h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: no-preference) { .primary-button, .secondary-button, .filter-chip { transition: background-color .15s ease, border-color .15s ease; } }

/* Keep the artwork edge clean on small screens; native scrolling and keyboard scrolling remain available. */
html { scrollbar-width: none; }
