/* Glipp stylesheet, built from the Glipp website UI design (GLIPP WEBSITE UI/).
   One file for the public website, the guest booking pages, sign-in, and the workspace.

   The accent color and the event colors come from /assets/brand.css, which is
   generated from settings. The values below are the design's own.

   Three things differ from the design on purpose, to meet accessibility minimums:
     --field-border   outlines of fields and time choices. The design's #D8D1DC is
                      1.5 to 1 on white; an outline that marks a control needs 3 to 1.
     --focus-on-dark  the focus outline inside dark panels. The design's #7357BC is
                      2.9 to 1 on aubergine.
     No inline styles anywhere: the content security policy forbids them, so event
     colors, swatches, and bar heights are classes.
   test/crypto-validate.test.js checks every color pair below. */

:root {
  --ink: #291B35;
  --coral: #FF5B35;
  --coral-soft: #FFF0E9;
  --paper: #FFF7F1;
  --canvas: #F8F7FA;
  --muted: #756B7C;
  --border: #E9E4EC;
  --focus: #7357BC;
  --radius: 14px;
  --success: #2F6846;
  --danger: #A4263B;

  --surface: #FFFFFF;
  --guest: #FCFAF9;
  --host-panel: #FCF8F5;
  --field-border: #8F8495;
  --focus-on-dark: #FFFFFF;
  --on-coral: #291B35;
  --coral-text: #A33318;
  --coral-note: #A4523A;
  --coral-muted: #785C54;
  --coral-strong: #E84B29;
  --coral-mid: #FFDDCC;
  --coral-line: #F6DACD;
  --coral-on-dark: #FFAC92;
  --success-soft: #E7F2E9;
  --danger-soft: #FFF0F2;
  --notice: #F6F3F8;
  --notice-text: #67586F;
  --pill: #F1EDF5;
  --pill-text: #685176;
  --warn: #7A4B00;
  --warn-soft: #FFF3D6;
  --on-dark: #D7CCD9;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

/* ---- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .42; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.04em; }
h1 { font-size: 38px; font-weight: 650; }
h2 { font-size: 24px; font-weight: 650; }
h3 { font-size: 18px; font-weight: 650; }
h4 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
ul, ol { margin: 0; padding-left: 1.25em; }
dl { margin: 0; }

svg.icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.flip { transform: rotate(180deg); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.day-card :focus-visible, .auth-story :focus-visible, .marketing-control :focus-visible,
.skip-link:focus-visible, pre.code:focus-visible { outline-color: var(--focus-on-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.hidden { display: none !important; }
/* A region that scrolls keeps the hidden helper texts inside itself, so they cannot widen the page. */
.tabs, .week-board, .table-wrap, pre.code, .quick-results, .time-slots { position: relative; }
[data-scroller]:focus-visible { outline-offset: -3px; }

.skip-link {
  position: fixed; left: 20px; top: -60px; z-index: 200;
  background: var(--ink); color: white; padding: 12px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.logo { width: 112px; height: auto; }

/* ---- Small pieces -------------------------------------------------------- */

.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; }
.caption { font-size: 13px; color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.flex { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 18px; align-content: start; }
.stack-large { display: grid; gap: 25px; align-content: start; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.full-width { width: 100%; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.label { font-size: 14px; font-weight: 600; }

/* Running text: paragraphs, lists, and headings with room between them. */
.flow > * + * { margin-top: 14px; }
.flow > * + h2, .flow > * + h3 { margin-top: 26px; }
.flow > h2 { font-size: 19px; }
.flow > h3 { font-size: 16px; letter-spacing: -.01em; }
.flow > ul, .flow > ol { display: grid; gap: 6px; }
.flow { font-size: 14px; line-height: 1.65; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 18px;
  border: 1px solid var(--border); border-radius: 10px;
  background: white; color: var(--ink);
  font-weight: 600; font-size: 14px; line-height: 1.3; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: #F4F1F5; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: white; }
.btn.primary:hover { background: #46334F; }
.btn.coral { background: var(--coral); border-color: var(--coral); color: var(--on-coral); }
.btn.coral:hover { filter: brightness(1.07); }
.btn.soft { background: var(--coral-soft); border-color: transparent; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: #F4F1F5; }
.btn.danger { color: var(--danger); }
.btn.small { min-height: 40px; padding: 9px 13px; }
.btn.wrap-text { white-space: normal; text-align: center; }
.btn[aria-disabled="true"] { background: #E7E2E9; border-color: #E7E2E9; color: #685E6F; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 8px;
  border: 0; background: transparent; border-radius: 10px; color: inherit;
}
.icon-btn:hover { background: #F0EDF2; }

.text-link {
  color: var(--ink); font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
  display: inline-flex; align-items: center; min-height: 32px;
}
/* Links inside running text are underlined, so they do not depend on color. */
.flow a:not(.btn), .hint a, .field small a, .notice a, .flash a, .caption a, .lead a,
td a:not(.btn), dd a:not(.btn), .inline-link {
  text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.plain-button { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.inline-form { display: inline; margin: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; line-height: 1.5;
  background: var(--pill); color: var(--pill-text); white-space: nowrap;
}
.pill.green { background: var(--success-soft); color: var(--success); }
.pill.coral { background: var(--coral-soft); color: var(--coral-text); }
.pill.red { background: var(--danger-soft); color: var(--danger); }
.pill.amber { background: var(--warn-soft); color: var(--warn); }

.avatar {
  height: 40px; width: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #E8DFEF; color: #594167;
  font-size: 13px; font-weight: 650; flex: none; object-fit: cover;
}
.avatar.peach { background: #FFE0CE; color: #883C27; }
.avatar.green { background: #DEECE4; color: #35634B; }
.avatar.blue { background: #E2EAF8; color: #3D5F8B; }
.avatar.large { height: 60px; width: 60px; font-size: 19px; }

.panel {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.panel.open { overflow: visible; }
.panel-head {
  padding: 23px 25px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.panel-head h2, .panel-head h3 { font-size: 19px; letter-spacing: -.04em; }
.panel-head .caption { margin-top: 6px; }
.panel-body { padding: 0 25px 25px; }
.panel-body.top { padding-top: 25px; }
.panel-body > h3, .settings-body > h3 { font-size: 16px; letter-spacing: -.01em; margin: 0 0 14px; }
.panel-body > * + h3, .settings-body > * + h3 { margin-top: 24px; }
.panel-foot {
  border-top: 1px solid var(--border); padding: 18px 25px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}

.page-intro {
  display: flex; align-items: end; justify-content: space-between; gap: 22px;
  margin: 4px 0 30px;
}
.page-intro p { color: var(--muted); margin-top: 9px; max-width: 70ch; }
.page-kicker { font-size: 13px; color: var(--muted); margin: 0 0 8px; letter-spacing: .01em; text-transform: uppercase; }
.page-intro p.page-kicker { margin: 0 0 8px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; min-height: 44px; margin: -8px 0 6px;
}
.back-link .icon { width: 16px; height: 16px; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 17px; gap: 14px; }
.section-head h2 { font-size: 21px; }
.section-head:first-child { margin-top: 0; }

.tabs {
  display: flex; gap: 24px;
  border-bottom: 1px solid var(--border);
  margin: 0 0 24px; padding: 0; list-style: none; overflow-x: auto;
}
.tab {
  display: inline-flex; align-items: center;
  border-bottom: 2px solid transparent;
  padding: 16px 1px; min-height: 48px; min-width: 32px; justify-content: center;
  font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap;
}
.tab:focus-visible { outline-offset: -3px; }
.tab[aria-current] { color: var(--ink); border-color: var(--coral); font-weight: 650; }
.tab-count { margin-left: 6px; padding: 2px 6px; border-radius: 5px; background: #EDE7F0; color: var(--ink); font-size: 11px; }

.status-line { margin: 0 0 23px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 23px; }
.filter-form { display: flex; gap: 10px; align-items: center; flex: 1; flex-wrap: wrap; margin: 0; }
.filter-input { position: relative; max-width: 350px; width: 100%; }
.filter-input input { padding-left: 40px; background: #fff; }
.filter-input > .icon { position: absolute; left: 13px; top: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.filter-form select { width: auto; max-width: 240px; }

.segmented {
  display: inline-flex; border: 1px solid var(--border); padding: 4px;
  border-radius: 9px; background: white; flex: none; list-style: none; margin: 0;
}
.segmented a {
  display: inline-flex; align-items: center;
  min-height: 35px; border-radius: 6px; padding: 7px 13px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.segmented a[aria-current] { background: var(--ink); color: white; }
.segmented.tiny { padding: 2px; }
.segmented.tiny a { font-size: 11px; padding: 6px; min-height: 28px; }

.empty { padding: 70px 24px; text-align: center; color: var(--muted); }
.empty > .icon { height: 40px; width: 40px; margin-bottom: 15px; color: var(--ink); }
.empty h2, .empty h3 { color: var(--ink); font-size: 22px; letter-spacing: -.04em; margin-bottom: 10px; }
.empty p { max-width: 340px; margin: 0 auto 22px; }
.empty.compact { padding: 38px 24px; }

.notice {
  display: flex; align-items: start; gap: 10px;
  padding: 14px; background: var(--notice); border-radius: 10px;
  font-size: 13px; line-height: 1.5; color: var(--notice-text);
}
.notice > .icon { width: 17px; height: 17px; margin-top: 2px; }
.notice > div > * + * { margin-top: 6px; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.ok { background: var(--success-soft); color: var(--success); }
.notice.coral { background: var(--coral-soft); color: var(--coral-text); }
.notice h2, .notice h3 { font-size: 14px; letter-spacing: 0; line-height: 1.4; }
.notice ul { padding-left: 1.1em; }

/* A one-time message after an action. It looks like the design's toast, but it
   stays on the page and comes first in the reading order, so nobody misses it. */
.flash {
  display: flex; align-items: start; gap: 10px;
  background: var(--ink); color: #fff;
  padding: 13px 21px; border-radius: 12px; font-size: 14px;
  box-shadow: 0 12px 40px #291B3533;
  margin: 0 0 24px;
}
.flash .icon { width: 18px; height: 18px; margin-top: 2px; }
.flash.error { background: var(--danger-soft); color: var(--danger); box-shadow: none; font-weight: 600; }
.flash.warn { background: var(--warn-soft); color: var(--warn); box-shadow: none; }
.flash a:focus-visible { outline-color: var(--focus-on-dark); }
.flash.error a:focus-visible, .flash.warn a:focus-visible { outline-color: var(--focus); }

/* ---- Forms --------------------------------------------------------------- */

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .field > .label, legend { font-size: 14px; font-weight: 600; }
.field small, .hint { font-size: 12px; color: var(--muted); line-height: 1.5; display: block; }
.required-mark { color: var(--danger); font-weight: 700; }
.field-error { display: block; font-size: 13px; color: var(--danger); font-weight: 600; }

input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"],
input[type="number"], input[type="date"], input[type="time"], input[type="search"], select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 9px;
  padding: 12px 13px;
  min-height: 46px;
  color: var(--ink);
  font-size: 14px;
}
textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[readonly], textarea[readonly] { background: #FCFAFC; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
input.short, select.short { max-width: 240px; }
input.tiny, select.tiny { max-width: 130px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }

fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 8px; }
fieldset > .hint { margin-bottom: 8px; }
fieldset.boxed { border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px 0; }
fieldset.boxed > legend { padding: 0 6px; margin: 0 0 0 -6px; }

.check-row { display: flex; gap: 12px; align-items: center; min-height: 48px; margin: 6px 0; font-size: 14px; cursor: pointer; }
.check-row input { width: 19px; min-height: 19px; height: 19px; accent-color: var(--ink); flex: none; margin: 0; }
.check-row b { font-weight: 600; display: block; }
.check-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.check input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0; flex: none; accent-color: var(--ink); }
.check label { font-weight: 500; display: inline-block; min-height: 24px; padding: 2px 0; }
.check .hint { margin-top: 3px; }

.color-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.color-option { display: grid; place-items: center; width: 46px; height: 46px; position: relative; cursor: pointer; }
.color-option input { position: absolute; width: 40px; height: 40px; min-height: 0; opacity: 0; margin: 0; }
.color-option span { height: 28px; width: 28px; background: var(--swatch); border-radius: 50%; border: 4px solid white; outline: 2px solid transparent; }
.color-option input:checked + span { outline-color: var(--swatch); }
.color-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 4px; }
.color-option.custom span { background: conic-gradient(#FF5B35, #FFD84D, #7B9D87, #729ACB, #8E72AD, #FF5B35); }
.sw-ff5b35 { --swatch: #FF5B35; } .sw-8e72ad { --swatch: #8E72AD; } .sw-7b9d87 { --swatch: #7B9D87; } .sw-729acb { --swatch: #729ACB; }
.sw-291b35 { --swatch: #291B35; } .sw-0b6b57 { --swatch: #0B6B57; } .sw-1456b8 { --swatch: #1456B8; } .sw-4338ca { --swatch: #4338CA; }
.sw-7c3aed { --swatch: #7C3AED; } .sw-4b123e { --swatch: #4B123E; } .sw-b5179e { --swatch: #B5179E; } .sw-b3261e { --swatch: #B3261E; }
.sw-b45309 { --swatch: #B45309; } .sw-5b6b12 { --swatch: #5B6B12; } .sw-0e7490 { --swatch: #0E7490; } .sw-475569 { --swatch: #475569; }
.sw-1f2937 { --swatch: #1F2937; }

.input-prefix { display: flex; align-items: center; border: 1px solid var(--field-border); border-radius: 9px; overflow: hidden; background: #fff; }
.input-prefix span { padding: 0 0 0 13px; color: var(--muted); white-space: nowrap; font-size: 14px; }
.input-prefix input { border: 0; border-radius: 0; padding-left: 4px; }
.input-prefix:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.input-prefix input:focus-visible { outline: none; }

.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-field button {
  position: absolute; right: 8px; top: 3px; min-height: 40px;
  border: 0; background: transparent; font-size: 12px; font-weight: 600; padding: 8px; color: var(--muted);
}

.form-error, .error-summary {
  font-size: 13px; color: var(--danger); background: var(--danger-soft);
  border-radius: 9px; padding: 11px 14px; margin-bottom: 16px;
}
.error-summary { font-size: 14px; padding: 14px 16px; margin-bottom: 20px; }
.error-summary h2, .error-summary h3 { font-size: 15px; letter-spacing: 0; line-height: 1.4; margin-bottom: 6px; color: var(--danger); }
.error-summary a { color: var(--danger); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.error-summary ul { padding-left: 1.1em; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { flex: 1 1 200px; min-width: 0; font-family: var(--mono); font-size: 13px; }

/* ---- Workspace shell ----------------------------------------------------- */

.app-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: fixed; top: 0; bottom: 0; width: 238px;
  border-right: 1px solid var(--border); background: #fff;
  display: flex; flex-direction: column;
  padding: 25px 16px; z-index: 40; overflow-y: auto;
}
.side-brand { padding: 1px 15px 24px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-close { display: none; }
.workspace-switch {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 12px; border: 1px solid var(--border); border-radius: 11px;
  margin: 2px 0 26px;
}
.workspace-switch .avatar { width: 33px; height: 33px; font-size: 11px; border-radius: 9px; background: var(--ink); color: #fff; }
.workspace-switch > span { min-width: 0; }
.workspace-switch b { font-size: 13px; display: block; font-weight: 650; }
.workspace-switch small { font-size: 12px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.side-nav a, .side-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 14px; min-height: 48px; border: 0; background: none; text-align: left;
  font-size: 14px; font-weight: 500; border-radius: 10px;
}
.side-nav a:focus-visible, .side-nav button:focus-visible { outline-offset: -3px; }
.side-nav a[aria-current] { background: var(--coral-soft); color: var(--coral-text); font-weight: 650; }
.side-nav a:hover:not([aria-current]), .side-nav button:hover { background: #F6F4F7; }
.side-nav a .count { margin-left: auto; background: white; border-radius: 5px; font-size: 11px; padding: 1px 6px; color: var(--ink); }
.side-nav form { margin: 0; }
.side-label { font-size: 11px; letter-spacing: .12em; color: var(--muted); margin: 26px 15px 10px; font-weight: 600; text-transform: uppercase; }
.sidebar-bottom { margin-top: auto; padding-top: 28px; }
.sidebar-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #FCFAFC; margin: 0 0 22px; }
.sidebar-card p { font-size: 13px; margin: 7px 0 12px; color: var(--muted); line-height: 1.5; }
.sidebar-card .btn { width: 100%; font-size: 12px; min-height: 38px; }
.user-menu > summary { list-style: none; cursor: pointer; border-radius: 10px; min-height: 48px; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:focus-visible { outline-offset: -3px; }
.user-menu > summary > .icon { margin-left: auto; width: 18px; height: 18px; transition: transform .15s; }
.user-menu[open] > summary > .icon { transform: rotate(180deg); }
.user-menu .side-nav { margin-top: 8px; }
.sidebar-user { display: flex; align-items: center; gap: 11px; padding: 4px 11px; font-size: 13px; }
.sidebar-user > span { min-width: 0; }
.sidebar-user b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { display: block; color: var(--muted); font-size: 12px; }

.workspace { grid-column: 2; min-width: 0; }
.topbar {
  height: 82px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 42px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .9);
}
.topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumb { display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.crumb li { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.crumb .icon { width: 16px; height: 16px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 32px; }
.crumb [aria-current] { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.search-trigger {
  display: flex; align-items: center; gap: 12px;
  border: 0; background: none; color: var(--muted);
  font-size: 13px; padding: 10px; min-height: 44px; border-radius: 10px;
}
.search-trigger:hover { background: #F0EDF2; }
.search-trigger kbd { border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font: 11px var(--font); }
.topbar-actions .avatar { width: 34px; height: 34px; }
.topbar-actions > a:has(.avatar) { display: inline-flex; border-radius: 50%; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.mobile-menu, .mobile-logo, .mobile-backdrop { display: none; }
.content { max-width: 1500px; margin: auto; padding: 34px 42px 50px; }
.content.narrow { max-width: 1080px; }
.preview-foot { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; margin-top: 35px; }
.preview-foot a { text-decoration: underline; text-underline-offset: 3px; }
.preview-foot p { margin: 0; }

/* ---- Overview ------------------------------------------------------------ */

.overview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 24px; }
.day-card {
  padding: 26px 28px; background: var(--ink); color: #fff;
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-bottom: 26px;
}
.day-card .eyebrow { color: #D7BEDD; letter-spacing: .09em; font-size: 11px; }
.day-card h2 { font-size: 27px; margin: 9px 0 12px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.day-card p { color: var(--on-dark); font-size: 14px; }
.day-card .btn { margin-top: 22px; border: 0; min-height: 40px; }
.day-count { min-width: 106px; align-self: center; border-left: 1px solid #614F68; padding-left: 28px; }
.day-count b { display: block; font-size: 48px; letter-spacing: -.06em; line-height: 1.2; font-weight: 500; color: var(--coral-on-dark); }
.day-count span { font-size: 12px; color: var(--on-dark); }

.schedule-list { padding: 0 24px; list-style: none; margin: 0; }
.meeting-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 19px;
  padding: 21px 0; border-top: 1px solid var(--border); align-items: center; position: relative;
}
.meeting-row:first-child { border-top: 0; }
.meeting-time strong { font-size: 14px; font-weight: 600; display: block; }
.meeting-time span { font-size: 12px; color: var(--muted); }
.meeting-info { border-left: 3px solid var(--event-color, var(--coral)); padding-left: 15px; min-width: 0; }
.meeting-info h3 { font-size: 15px; letter-spacing: -.01em; margin-bottom: 5px; font-weight: 600; line-height: 1.3; }
.meeting-info h3 a::after { content: ""; position: absolute; inset: 0; }
.meeting-info h3 a:focus-visible { outline: none; }
.meeting-row:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 8px; }
.meeting-info p { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.meeting-person { display: flex; align-items: center; gap: 8px; }
.meeting-person .avatar { height: 30px; width: 30px; font-size: 10px; }
.meeting-person > .icon { width: 20px; height: 20px; margin: 0 8px; }
.meeting-person .pill { position: relative; }

.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.event-card {
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  position: relative; display: flex; flex-direction: column; height: 100%;
}
.event-card::before { content: ""; height: 4px; background: var(--event-color, var(--coral)); flex: none; border-radius: 11px 11px 0 0; }
.event-card-body { padding: 19px 20px; flex: 1; }
.event-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.event-card-top .cluster { margin-left: auto; }
.event-type-icon { height: 34px; width: 34px; border: 1px solid var(--border); border-radius: 9px; display: grid; place-items: center; flex: none; }
.event-type-icon .icon { width: 17px; height: 17px; }
.event-card h2, .event-card h3 { font-size: 17px; margin-bottom: 9px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.event-card h2 a:hover, .event-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.event-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.event-meta .icon { width: 14px; height: 14px; }
.event-description { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 15px; }
.event-footer { border-top: 1px solid var(--border); padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; }
.event-footer .btn { font-size: 12px; padding: 8px; min-height: 38px; }
.event-footer .icon { width: 15px; height: 15px; }

/* The three-dot menu on a card. A native disclosure, so it works without scripts. */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 18px 50px #291B3526; padding: 6px; list-style: none; margin: 0;
}
.menu-list a, .menu-list button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 42px; padding: 9px 12px; border: 0; border-radius: 8px; background: none;
  font-size: 14px; font-weight: 500; text-align: left; color: var(--ink); white-space: nowrap;
}
.menu-list a:focus-visible, .menu-list button:focus-visible { outline-offset: -3px; }
.menu-list a:hover, .menu-list button:hover { background: #F6F4F7; }
.menu-list .danger { color: var(--danger); }
.menu-list .icon { width: 16px; height: 16px; color: var(--muted); }
.menu-list .danger .icon { color: var(--danger); }
.menu-list form { margin: 0; }

.rail { display: grid; gap: 20px; align-content: start; }
.mini-calendar { padding: 22px 20px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-heading h2, .calendar-heading h3 { font-size: 15px; letter-spacing: 0; }
.calendar-heading .flex { gap: 1px; }
.calendar-heading .icon-btn { min-width: 28px; min-height: 32px; }
.calendar-heading .icon-btn.off { opacity: .3; }
.calendar-heading .icon { width: 16px; height: 16px; }

/* Calendars are real tables, so screen readers announce the weekday of each date. */
table.calendar-grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
table.calendar-grid th { text-align: center; font-size: 11px; font-weight: 500; color: var(--muted); padding: 0 0 8px; }
table.calendar-grid td { padding: 0; text-align: center; }
.calendar-grid .date {
  aspect-ratio: 1; display: grid; place-items: center;
  font-size: 12px; border-radius: 50%; position: relative; width: 100%;
}
.calendar-grid a.date:focus-visible { outline-offset: 1px; }
.calendar-grid .date.today { background: var(--coral); color: var(--on-coral); font-weight: 700; }
.calendar-grid a.date:hover { box-shadow: inset 0 0 0 2px var(--coral); }
.calendar-grid .date.has-event:not(.today)::after {
  content: ""; position: absolute; bottom: 3px; width: 3px; height: 3px; border-radius: 50%; background: var(--coral);
}
.calendar-grid .date.past { color: #B8B1BC; }
.calendar-bottom {
  border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px;
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted);
}
.calendar-bottom .icon { width: 16px; height: 16px; }

.week-summary { padding: 23px; }
.week-summary h2, .week-summary h3 { font-size: 15px; letter-spacing: -.01em; }
.summary-values { display: flex; gap: 38px; margin: 20px 0 23px; }
.summary-values strong { display: block; font-size: 26px; line-height: 1.2; letter-spacing: -.04em; font-weight: 600; }
.summary-values p { margin: 0; }
.summary-values p > span { font-size: 12px; color: var(--muted); }
.week-bars { min-height: 72px; display: flex; gap: 9px; align-items: end; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.bar-col i { display: block; width: 100%; max-width: 29px; height: 12px; background: #EADFEB; border-radius: 4px 4px 2px 2px; }
.bar-col.today i { background: var(--coral); }
.bar-col span { font-size: 10px; color: var(--muted); }
.bar-col .n1 { height: 25px; } .bar-col .n2 { height: 38px; } .bar-col .n3 { height: 51px; } .bar-col .n4 { height: 64px; }

.booking-link-card { background: var(--coral-soft); padding: 23px; border: 1px solid var(--coral-line); border-radius: var(--radius); }
.booking-link-card h2, .booking-link-card h3 { font-size: 17px; margin: 14px 0 8px; letter-spacing: -.02em; }
.booking-link-card p { font-size: 13px; color: var(--coral-muted); line-height: 1.6; }
.booking-link-card .btn { margin-top: 16px; width: 100%; background: white; border-color: var(--coral-line); }
.booking-link-card .copy-row { margin-top: 14px; }
.link-card-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--coral-mid); border-radius: 9px; color: var(--coral-text); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; }
.checklist .pill { flex: none; min-width: 66px; justify-content: center; }
.attention-list { display: grid; gap: 12px; margin-bottom: 26px; }

/* ---- Event types --------------------------------------------------------- */

.full-events .event-card-body { min-height: 230px; }
.full-events .event-card-top { margin-bottom: 20px; }
.full-events .event-card h2, .full-events .event-card h3 { font-size: 21px; line-height: 1.25; min-height: 50px; }
.full-events .event-description { font-size: 14px; max-width: 280px; }
.full-events .event-meta { font-size: 13px; }
.full-events .event-footer { padding: 10px 13px; }
.event-grid > .wide { grid-column: 1 / -1; }
.share-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 25px 28px; border: 1px solid var(--border); border-radius: 12px; margin-top: 32px; background: white;
}
.share-strip h2, .share-strip h3 { font-size: 16px; letter-spacing: -.01em; }
.share-strip p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.share-strip > .flex > .icon { background: var(--coral-soft); box-sizing: content-box; padding: 12px; border-radius: 10px; color: var(--coral-text); }
.share-strip .copy-row { flex: 0 1 430px; }

.editor-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 25px; align-items: start; }
details.panel > summary {
  list-style: none; cursor: pointer; padding: 23px 25px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
details.panel > summary h2, details.panel > summary h3 { font-size: 19px; letter-spacing: -.04em; }
details.panel > summary > span:first-child { min-width: 0; }
details.panel > summary .caption { display: block; margin-top: 6px; font-weight: 400; }
details.panel > summary > .icon { transition: transform .15s; color: var(--muted); }
details.panel[open] > summary > .icon { transform: rotate(180deg); }

/* ---- Meetings ------------------------------------------------------------ */

.group-date { display: flex; align-items: center; gap: 11px; padding: 17px 25px; border-bottom: 1px solid var(--border); background: #FDFBFD; }
.group-date h2, .group-date strong { font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.group-date .caption { margin-left: auto; }
.meeting-group { margin-bottom: 22px; }
.meeting-group .meeting-row { padding: 25px 0; grid-template-columns: 95px 1fr auto; }
.meeting-group .meeting-info h3 { font-size: 17px; }
.meeting-group .meeting-info p { font-size: 13px; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.week-nav h2 { font-size: 17px; letter-spacing: -.01em; }
.week-board {
  display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr));
  border: 1px solid var(--border); border-radius: 13px; background: white;
  overflow-x: auto; min-height: 530px;
}
.week-board.days-6 { grid-template-columns: repeat(6, minmax(150px, 1fr)); }
.week-board.days-7 { grid-template-columns: repeat(7, minmax(150px, 1fr)); }
.week-day { border-right: 1px solid var(--border); min-width: 150px; }
.week-day:last-child { border: 0; }
.week-day h3 {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--border); padding: 17px;
  font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.5;
}
.week-day h3 span { font-size: 13px; color: var(--muted); }
.week-day h3 b { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; font-size: 22px; font-weight: 500; }
.week-day h3 b.current { background: var(--coral); color: var(--on-coral); }
.week-day > div { padding: 12px; }
.week-day .caption { font-size: 12px; padding: 12px 2px; }
.week-meeting {
  display: block; text-align: left; width: 100%;
  background: #FCF8F7; border: 1px solid var(--border); border-left: 3px solid var(--event-color, var(--coral));
  border-radius: 8px; padding: 13px 10px; margin-bottom: 14px;
}
.week-meeting:hover { background: #F9F2F0; }
.week-meeting:focus-visible { outline-offset: 1px; }
.week-meeting span { font-size: 12px; display: block; }
.week-meeting strong { font-size: 13px; display: block; line-height: 1.4; margin: 8px 0; }
.week-meeting small { font-size: 11px; color: var(--muted); display: block; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 25px; align-items: start; }
.detail-person { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.detail-person > div { min-width: 0; }
.detail-person h2, .detail-person h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 5px; overflow-wrap: anywhere; }
.detail-person .pill { margin-left: auto; }
.detail-lines { display: grid; gap: 18px; margin: 24px 0 28px; list-style: none; padding: 0; }
.detail-lines li { display: flex; align-items: start; gap: 13px; font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.detail-lines li > span { min-width: 0; }
.detail-lines .icon { color: var(--muted); width: 18px; height: 18px; margin-top: 2px; }
.note-block { background: var(--paper); border-radius: 11px; padding: 18px; margin-bottom: 22px; }
.note-block .eyebrow { font-size: 11px; color: var(--coral-note); }
.note-block dl { margin: 8px 0 0; display: grid; gap: 10px; }
.note-block dt { font-size: 12px; color: var(--notice-text); font-weight: 600; }
.note-block dd { font-size: 14px; margin: 2px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.note-block p { font-size: 14px; margin-top: 8px; white-space: pre-line; }

dl.details { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 12px 22px; margin: 0; font-size: 14px; }
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }

/* ---- Availability -------------------------------------------------------- */

.availability-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); gap: 25px; align-items: start; }
.availability-layout > .hours-form { grid-column: 1; grid-row: 1; margin: 0; }
.availability-layout > aside { grid-column: 2; grid-row: 1 / span 3; align-content: start; }
.availability-layout > .save-row { grid-column: 1; grid-row: 2; margin: 0; }
.availability-layout > .dates-panel { grid-column: 1; grid-row: 3; }
.schedule-form { padding: 0 25px 24px; }
.hours-row {
  display: flex; align-items: center; gap: 18px; min-height: 78px;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; padding: 8px 0;
}
.hours-toggle { display: flex; align-items: center; gap: 11px; min-width: 138px; font-size: 14px; font-weight: 500; min-height: 44px; cursor: pointer; }
.hours-toggle input { width: 18px; height: 18px; min-height: 18px; accent-color: var(--ink); margin: 0; }
.hours-inputs { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); }
.hours-inputs input { padding: 8px 10px; width: 120px; font-size: 13px; min-height: 42px; }
.hours-inputs.off { display: none; }
.hours-more { flex: 1 0 100%; padding: 0 0 10px 156px; }
.hours-more > summary {
  cursor: pointer; font-size: 12px; color: var(--muted); font-weight: 600; min-height: 32px;
  display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px;
}
.hours-more .hours-inputs { margin-top: 8px; }
.hours-more.off { display: none; }
.hours-row > .field-error { flex: 1 0 100%; padding-bottom: 8px; }
.unavailable { font-size: 13px; color: var(--muted); }
.hours-row > .icon-btn { margin-left: auto; color: var(--muted); }
.zone-field { display: flex; gap: 9px; align-items: center; margin-top: 23px; }
.zone-field > label { font-size: 13px; white-space: nowrap; font-weight: 400; }
.zone-field > .icon { width: 16px; color: var(--muted); }
.zone-field > select { margin-left: auto; max-width: 280px; font-size: 13px; }
.zone-field + .field-error, .zone-field + .hint { margin-top: 8px; }
.rules-body { padding: 0 24px 24px; }
.rules-body .field { margin-bottom: 23px; }
.rules-body .field label { font-size: 13px; }
.aside-quote { padding: 8px 20px; }
.aside-quote .eyebrow { font-size: 11px; color: var(--coral-note); }
.aside-quote .quote { font-size: 27px; font-weight: 650; line-height: 1.15; letter-spacing: -.04em; margin: 13px 0; color: #654A62; }
.aside-quote p:not(.quote):not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 250px; }
.exceptions-list { padding: 0 25px 8px; list-style: none; margin: 0; }
.exception-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 13px; flex-wrap: wrap; }
.exception-row .pill { margin-left: auto; white-space: normal; }
.exception-row .icon-btn { color: var(--muted); }
.schedule-tabs { margin-bottom: 20px; }
.dates-panel > .caption { padding: 0 25px 20px; }
.dates-panel > details { border-top: 1px solid var(--border); }
.dates-panel > details > summary { list-style: none; cursor: pointer; padding: 18px 25px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.dates-panel > details > summary::-webkit-details-marker { display: none; }
.dates-panel > details > summary:focus-visible { outline-offset: -3px; }
.dates-panel > details > summary .icon { width: 17px; height: 17px; }
.dates-panel > details > .panel-body { padding-top: 4px; }

/* ---- Connections and settings -------------------------------------------- */

.connection-notice { margin-bottom: 25px; }
.connection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1020px; list-style: none; margin: 0; padding: 0; }
.connection-card { padding: 28px; height: 100%; display: flex; flex-direction: column; }
.integration-badge {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 22px; font-weight: 650; margin-bottom: 27px; color: var(--ink);
}
.integration-badge.google { color: #2B6CD4; }
.integration-badge.outlook { color: #0670C9; }
.integration-badge.meet { color: #198756; }
.integration-badge.zoom { background: #2D6EF3; color: white; border-color: #2D6EF3; }
.integration-badge.concurrent { background: #2447F0; color: white; border-color: #2447F0; }
.integration-badge.teams { color: #4B53BC; }
.integration-badge.stripe { color: #5B4BD6; }
.integration-badge .icon { width: 22px; height: 22px; }
.connection-card h2 { font-size: 22px; margin-bottom: 10px; }
.connection-card > p { font-size: 14px; color: var(--muted); }
.connection-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: auto; padding-top: 20px;
}
.connection-card > p:last-of-type { margin-bottom: 26px; }

.settings-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 25px; align-items: start; }
.settings-layout > aside { align-content: start; }
.settings-body { padding: 25px; }
.settings-body > h2 { font-size: 20px; letter-spacing: -.04em; }
.settings-body > .lead { font-size: 14px; color: var(--muted); margin: 10px 0 22px; }
.settings-body > .caption { margin-top: 10px; }
.settings-body > form > .btn, .settings-body > .btn { margin-top: 8px; }
.profile-summary { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.profile-summary h3 { font-size: 20px; margin-bottom: 5px; }
.profile-summary .lead { margin: 0; }
.panel > form { margin: 0; }

/* A quieter box tucked inside a panel, such as the "prefer a link" option. */
.panel-inset { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 18px; }
.panel-inset > summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; }
.panel-inset > summary::-webkit-details-marker { display: none; }
.panel-inset > summary:focus-visible { outline-offset: 3px; border-radius: 6px; }
.panel-inset[open] > summary { margin-bottom: 16px; }

/* ---- Tables, numbers, code ----------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.panel .table-wrap { border: 0; border-radius: 0; border-top: 1px solid var(--border); }
.panel-body .table-wrap { border: 1px solid var(--border); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data caption { text-align: left; font-weight: 650; font-size: 16px; letter-spacing: -.01em; padding: 20px 25px 12px; }
table.data th, table.data td { text-align: left; padding: 14px 25px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data thead th { font-size: 12px; font-weight: 600; color: var(--muted); background: #FDFBFD; white-space: nowrap; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody th { font-weight: 600; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--event-color, var(--coral)); }

.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0 0 26px; padding: 0; list-style: none; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 23px; }
.stat .stat-value { display: block; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .stat-label { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

.meter { display: block; height: 8px; border-radius: 999px; background: #EADFEB; overflow: hidden; min-width: 90px; }
.meter > span { display: block; height: 100%; background: var(--coral); }
.meter > .w-0 { width: 0; } .meter > .w-5 { width: 5%; } .meter > .w-10 { width: 10%; } .meter > .w-15 { width: 15%; }
.meter > .w-20 { width: 20%; } .meter > .w-25 { width: 25%; } .meter > .w-30 { width: 30%; } .meter > .w-35 { width: 35%; }
.meter > .w-40 { width: 40%; } .meter > .w-45 { width: 45%; } .meter > .w-50 { width: 50%; } .meter > .w-55 { width: 55%; }
.meter > .w-60 { width: 60%; } .meter > .w-65 { width: 65%; } .meter > .w-70 { width: 70%; } .meter > .w-75 { width: 75%; }
.meter > .w-80 { width: 80%; } .meter > .w-85 { width: 85%; } .meter > .w-90 { width: 90%; } .meter > .w-95 { width: 95%; }
.meter > .w-100 { width: 100%; }

pre.code {
  background: var(--ink); color: var(--paper); border-radius: 10px; padding: 14px 16px;
  overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0;
}
.pagination { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 13px; }

.row-list { list-style: none; margin: 0; padding: 0; }
.row-item {
  display: flex; gap: 14px 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 22px 25px; border-top: 1px solid var(--border);
}
.row-item:first-child { border-top: 0; }
.row-item h2, .row-item h3 { font-size: 16px; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 6px; overflow-wrap: anywhere; }
.row-item .row-main { flex: 1 1 320px; min-width: 0; }
.row-item .row-main > * + * { margin-top: 8px; }
.row-item .row-main > h2 + .cluster, .row-item .row-main > h3 + .cluster { margin-top: 0; }
.row-item .row-main.flex { align-items: start; }
.row-item .row-main.flex > div > * + * { margin-top: 4px; }
.row-item .row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-item .field { margin-bottom: 0; }

/* ---- Dialogs ------------------------------------------------------------- */

dialog {
  border: 1px solid var(--border); border-radius: 20px; padding: 0;
  width: min(640px, calc(100% - 32px)); max-height: 90dvh;
  box-shadow: 0 28px 100px #291B3540; color: var(--ink); background: #fff;
}
dialog::backdrop { background: #231B3066; backdrop-filter: blur(4px); }
dialog.compact { width: min(500px, calc(100% - 32px)); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 25px 28px; border-bottom: 1px solid var(--border); gap: 12px; }
.modal-head h2 { font-size: 23px; }
.modal-head form { margin: 0; }
.modal-body { padding: 26px 28px; }
.modal-body > p { font-size: 15px; }
.modal-actions { border-top: 1px solid var(--border); padding: 20px 28px; display: flex; gap: 12px; justify-content: end; }
.quick-results { display: grid; gap: 5px; margin: 16px 0 0; list-style: none; padding: 0; max-height: 46dvh; overflow-y: auto; }
.quick-results a { display: flex; align-items: center; gap: 12px; padding: 13px 8px; border-radius: 8px; font-size: 14px; }
.quick-results a:focus-visible { outline-offset: -3px; }
.quick-results a:hover, .quick-results a:focus-visible { background: var(--coral-soft); }
.quick-results a .icon:last-child { margin-left: auto; width: 16px; }
.quick-results a small { color: var(--muted); font-size: 12px; }
#quick-find .caption { padding: 14px 8px 0; }
.find-results h2 { font-size: 19px; }

/* ---- Guest pages --------------------------------------------------------- */

.guest-page { background: var(--guest); min-height: 100vh; display: flex; flex-direction: column; }
.guest-header {
  height: 106px; max-width: 1320px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; padding: 0 36px; flex: none;
}
.guest-header .logo { width: 116px; }
.guest-workspace-link { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); min-height: 44px; }
.guest-workspace-link .icon { width: 15px; height: 15px; }
.guest-footer {
  margin: auto auto 0; max-width: 1320px; width: 100%; padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 12px; color: var(--muted);
}
.guest-footer p { margin: 0; }
.guest-footer a { font-weight: 600; color: var(--ink); }
.guest-footer .links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.guest-page > main > .flash, .guest-page > main > .error-summary { max-width: 1160px; }
.guest-narrow { width: calc(100% - 72px); max-width: 640px; margin: 15px auto 35px; }
.guest-card { background: white; border: 1px solid var(--border); border-radius: 21px; padding: 35px; box-shadow: 0 20px 70px #291B3507; }
.guest-card h1 { font-size: 29px; }
.guest-card > .host-name { margin: 0 0 8px; }
.guest-card > h1 + .lead { color: var(--muted); margin-top: 10px; font-size: 15px; }
.guest-card > h1 + * { margin-top: 14px; }
.guest-card > * + form, .guest-card > * + .form-actions, .guest-card > * + .notice, .guest-card > * + .detail-lines { margin-top: 22px; }
.guest-card > .flow + *, .guest-card > * + .flow { margin-top: 18px; }
.guest-card h2 { font-size: 20px; }
.guest-card .detail-lines { margin: 22px 0; }

.booking-main { width: calc(100% - 72px); max-width: 1160px; margin: 22px auto 35px; }
.booking-breadcrumb { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 13px; margin: 0 0 23px; list-style: none; padding: 0; }
.booking-breadcrumb li { display: flex; align-items: center; gap: 13px; }
.booking-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 32px; }
.booking-card {
  display: grid; grid-template-columns: 31% 41% 28%;
  background: white; border: 1px solid #E4DDE7; border-radius: 21px;
  min-height: 590px; box-shadow: 0 20px 70px #291B3507; overflow: hidden;
}
.booking-card.no-times { grid-template-columns: 31% 69%; }
.booking-host { padding: 38px 32px; background: var(--host-panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.host-name { font-size: 14px; color: var(--muted); font-weight: 500; margin: 23px 0 11px; }
.booking-host h1 { font-size: 31px; line-height: 1.15; letter-spacing: -.045em; max-width: 270px; overflow-wrap: anywhere; }
.booking-details { display: grid; gap: 14px; margin: 26px 0; list-style: none; padding: 0; }
.booking-details li { font-size: 13px; display: flex; align-items: start; gap: 10px; color: #625568; }
.booking-details .icon { width: 17px; height: 17px; margin-top: 1px; }
.booking-description { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 260px; overflow-wrap: anywhere; }
.booking-description p + p { margin-top: 10px; }
.booking-description h2 { font-size: 13px; letter-spacing: 0; color: var(--ink); margin: 18px 0 6px; line-height: 1.4; }
.booking-host .notice { margin-top: 18px; }
.host-bottom { margin-top: auto; padding-top: 35px; }
.host-bottom .logo { width: 73px; }
.host-bottom p { font-size: 11px; color: var(--muted); margin-top: 6px; }

.date-picker { padding: 34px 30px; min-width: 0; }
.booking-step { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; margin: 0 0 30px; letter-spacing: 0; line-height: 1.5; }
.booking-step > span:first-child { display: grid; place-items: center; width: 27px; height: 27px; background: var(--coral-soft); color: var(--coral-text); border-radius: 6px; font-size: 11px; flex: none; }
.date-picker .calendar-heading { margin: 0 0 21px; }
.date-picker .calendar-heading h3 { font-size: 18px; letter-spacing: -.02em; }
.date-picker .calendar-heading .icon-btn { min-width: 38px; min-height: 40px; }
table.booking-calendar { border-spacing: 6px; margin: 0 -6px; width: calc(100% + 12px); }
table.booking-calendar th { font-size: 9px; letter-spacing: .02em; font-weight: 500; padding-bottom: 11px; text-transform: uppercase; }
.booking-calendar .date { font-size: 14px; border-radius: 10px; min-height: 42px; color: #BBB5BE; }
.booking-calendar a.date { background: var(--coral-soft); color: var(--coral-text); font-weight: 650; }
.booking-calendar a.date[aria-current] { background: var(--ink); color: white; }
.booking-calendar .date.today { background: none; color: #BBB5BE; font-weight: 400; }
.booking-calendar a.date.today { background: var(--coral-soft); color: var(--coral-text); font-weight: 650; }
.booking-calendar a.date.today[aria-current] { background: var(--ink); color: white; }
.booking-calendar .date.today::after {
  content: ""; width: 4px; height: 4px; position: absolute; bottom: 5px; background: currentColor; border-radius: 50%;
}
.duration-choice { margin-bottom: 24px; }
.duration-choice h3 { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 9px; line-height: 1.5; }
.booking-timezone { margin: 29px 0 0; }
.booking-timezone .field { margin-bottom: 10px; gap: 9px; }
.booking-timezone label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 400; }
.booking-timezone .icon { width: 15px; height: 15px; }
.booking-timezone select { font-size: 13px; }
.booking-timezone .btn { min-height: 38px; font-size: 12px; padding: 8px 12px; }
.calendar-key { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 17px; }
.calendar-key span { width: 10px; height: 10px; border-radius: 3px; background: var(--coral-mid); }
.month-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }

.time-picker { padding: 91px 24px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.time-picker form { display: flex; flex-direction: column; min-height: 0; margin: 0; }
.time-picker fieldset { margin: 0; }
.time-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 10px; }
.time-picker-head h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.time-picker .zone-caption { font-size: 11px; margin-bottom: 20px; color: var(--muted); }
.time-picker .notice { margin-bottom: 16px; }
.time-slots {
  display: grid; gap: 10px; max-height: 308px; overflow-y: auto;
  padding: 4px 6px 4px 4px; scrollbar-width: thin; align-content: start;
}
.time-slot { position: relative; display: block; cursor: pointer; }
.time-slot input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; margin: 0; cursor: pointer; }
.slot-face {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 4px 8px; background: white; color: var(--ink);
  border: 1px solid var(--field-border); border-radius: 8px;
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.slot-face small { font-size: 11px; color: var(--muted); font-weight: 500; }
.slot-face .icon { width: 16px; height: 16px; display: none; }
.time-slot:hover .slot-face { border-color: var(--ink); background: #FBF7FC; }
.time-slot input:checked + .slot-face { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #F1EAF5; font-weight: 650; }
.time-slot input:checked + .slot-face .icon { display: block; }
.time-slot input:focus-visible + .slot-face { outline: 3px solid var(--focus); outline-offset: 1px; }
.continue-booking { margin-top: 16px; width: 100%; min-height: 44px; }
.booking-assurance { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px auto 0; font-size: 12px; color: var(--muted); }
.booking-assurance .icon { width: 13px; height: 13px; }
.no-times { font-size: 13px; color: var(--muted); line-height: 1.6; }
.no-times a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--ink); }
.reschedule-notice { margin-bottom: 20px; }

.booking-directory { max-width: 1000px; width: calc(100% - 72px); margin: 27px auto 60px; }
.host-profile { display: flex; align-items: center; gap: 22px; padding: 10px 0 35px; border-bottom: 1px solid var(--border); }
.host-profile .avatar { width: 76px; height: 76px; font-size: 23px; }
.host-profile .eyebrow { font-size: 10px; color: var(--coral-note); }
.host-profile h1 { font-size: 32px; margin: 8px 0; }
.host-profile p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.directory-intro { margin: 35px 0 26px; }
.directory-intro h2 { font-size: 24px; margin-bottom: 10px; }
.directory-intro p { font-size: 14px; color: var(--muted); max-width: 70ch; }
.directory-intro p + p { margin-top: 8px; }
.directory-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.directory-event {
  display: flex; align-items: center; gap: 15px; height: 100%; position: relative;
  border: 1px solid var(--border); border-top: 4px solid var(--event-color, var(--coral));
  background: white; border-radius: 12px; padding: 24px 20px; transition: box-shadow .2s;
}
.directory-event > div { flex: 1; min-width: 0; }
.directory-event:hover { box-shadow: 0 10px 25px #291B3510; }
.directory-event:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.directory-event h3 { font-size: 23px; margin: 20px 0 14px; overflow-wrap: anywhere; }
.directory-event h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.directory-event h3 a:focus-visible { outline: none; }
.directory-event p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.directory-event .pill { font-size: 11px; background: var(--notice); color: var(--muted); }
.directory-event .event-meta { font-size: 12px; }
.directory-arrow { color: var(--muted); }
.directory-arrow .icon { width: 16px; height: 16px; }

.guest-details-page { max-width: 920px; width: calc(100% - 72px); margin: 0 auto 50px; }
.guest-details-card {
  display: grid; grid-template-columns: 42% 58%;
  border: 1px solid var(--border); border-radius: 21px; background: white;
  overflow: hidden; box-shadow: 0 20px 70px #291B3507;
}
.details-summary { padding: 39px 32px; background: var(--host-panel); border-right: 1px solid var(--border); min-width: 0; }
.details-summary h1 { font-size: 29px; overflow-wrap: anywhere; }
.details-summary .detail-lines { margin: 30px 0; }
.guest-form { padding: 35px; min-width: 0; }
.guest-form h2 { font-size: 26px; }
.guest-form .booking-step { margin-bottom: 20px; }
.guest-form .lead { margin: 10px 0 26px; font-size: 14px; color: var(--muted); }
.guest-form .field { margin-bottom: 19px; }
.guest-form .notice { margin-bottom: 20px; font-size: 12px; }
.guest-form .caption { margin-top: 14px; font-size: 12px; }

.confirmation-page { width: calc(100% - 36px); max-width: 560px; margin: 15px auto 35px; text-align: center; }
.confirmation-icon { display: grid; place-items: center; width: 68px; height: 68px; background: #E2EEE5; color: #326246; border-radius: 50%; margin: 0 auto 21px; }
.confirmation-icon .icon { width: 29px; height: 29px; stroke-width: 2; }
.confirmation-icon.neutral { background: #EFEAF2; color: var(--ink); }
.confirmation-page > .eyebrow { font-size: 10px; color: #58745E; letter-spacing: .12em; }
.confirmation-page > .eyebrow.neutral { color: var(--muted); }
.confirmation-page > h1 { font-size: 35px; margin: 13px 0 12px; }
.confirmation-page > p { color: var(--muted); font-size: 14px; }
.confirmation-page > .notice { text-align: left; max-width: 440px; margin: 18px auto 0; }
.confirmation-card {
  text-align: left; background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 30px; margin: 27px auto 18px; max-width: 440px;
}
.confirmation-card .detail-lines { margin: 22px 0 26px; }
.confirmation-card h2 { font-size: 19px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.confirmation-card .notice { margin-bottom: 20px; }
.confirmation-card .flex > div { min-width: 0; }
.confirmation-links { display: flex; justify-content: center; gap: 10px; margin-top: 13px; flex-wrap: wrap; }
.confirmation-links .btn { font-size: 12px; min-height: 40px; padding: 8px 12px; }
.calendar-options { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); text-align: center; }
.calendar-options h3 { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); line-height: 1.5; }
.calendar-options ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; gap: 2px 16px; justify-content: center; flex-wrap: wrap; }
.calendar-options a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }
.confirmation-page .confirmation-note { font-size: 12px; margin-bottom: 20px; }
.policy-note { text-align: left; max-width: 440px; margin: 0 auto 18px; font-size: 13px; color: var(--muted); }
.policy-note h2 { font-size: 13px; letter-spacing: 0; color: var(--ink); margin-bottom: 4px; line-height: 1.5; }

/* Inside another site's frame: no header or footer, no page background. */
body.embedded, body.embedded .guest-page { background: transparent; }
body.embedded .guest-header, body.embedded .guest-footer { display: none; }
body.embedded .guest-page { min-height: 0; }
body.embedded .booking-main, body.embedded .booking-directory, body.embedded .guest-details-page,
body.embedded .confirmation-page, body.embedded .guest-narrow { margin-top: 12px; }

/* ---- Public website ------------------------------------------------------ */

.marketing { background: #fff; color: var(--ink); }
.marketing-nav { max-width: 1280px; margin: auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.marketing-nav .logo { width: 122px; }
.marketing-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.marketing-nav ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; }
.marketing-nav .login-link { font-size: 13px; font-weight: 600; margin-right: 13px; display: inline-flex; align-items: center; min-height: 44px; }
.marketing-hero { max-width: 1280px; margin: 0 auto; padding: 84px 40px 90px; display: grid; grid-template-columns: 1fr 1.03fr; gap: 50px; align-items: center; }
.hero-copy > .eyebrow { font-size: 10px; color: var(--coral-note); letter-spacing: .14em; }
.hero-copy h1 { font-size: 74px; font-weight: 620; letter-spacing: -.065em; line-height: 1.04; margin: 24px 0 26px; }
.hero-copy > p:not(.eyebrow):not(.hero-note) { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero-actions .btn { font-size: 13px; }
.hero-note { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-top: 29px; }
.hero-note .icon { width: 15px; height: 15px; }
.hero-scheduling { position: relative; background: var(--coral-soft); border-radius: 25px; padding: 32px 26px 69px; margin-top: 5px; }
.hero-preview-top { margin: 2px 0 22px; }
.hero-preview-top .pill { font-size: 9px; letter-spacing: .05em; background: var(--coral-mid); color: var(--coral-text); text-transform: uppercase; }
.hero-booking-card { display: grid; grid-template-columns: 42% 58%; background: white; border: 1px solid #EDDDD6; border-radius: 13px; box-shadow: 0 22px 36px #79372D0D; overflow: hidden; }
.hero-book-host { padding: 26px 20px; background: #FFFCFA; border-right: 1px solid var(--border); min-width: 0; }
.hero-book-host > p { font-size: 11px; color: var(--muted); margin-top: 13px; }
.hero-book-host .hero-title { font-size: 23px; font-weight: 650; line-height: 1.15; letter-spacing: -.04em; margin: 10px 0 24px; overflow-wrap: anywhere; color: var(--ink); }
.hero-book-host .event-meta { font-size: 11px; margin-top: 10px; }
.hero-book-host .event-meta .icon { width: 13px; height: 13px; }
.hero-small-wordmark { margin-top: 38px; }
.hero-small-wordmark .logo { width: 57px; }
.hero-cal { padding: 26px 18px; min-width: 0; }
.hero-cal .hero-month { font-size: 14px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 20px; }
.hero-cal .calendar-grid .date { font-size: 11px; border-radius: 7px; min-height: 25px; color: #B8B1BC; aspect-ratio: auto; }
.hero-cal .calendar-grid .date.open { background: var(--coral-soft); color: var(--coral-text); font-weight: 650; }
.hero-cal .calendar-grid th { font-size: 9px; }
.hero-cal .fake-button { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; min-height: 38px; margin-top: 19px; border-radius: 10px; background: var(--ink); color: #fff; }
.hero-confirm {
  position: absolute; display: flex; align-items: center; gap: 12px; bottom: 20px; right: -9px;
  border: 1px solid var(--border); border-radius: 12px; padding: 17px 18px; background: white; box-shadow: 0 9px 30px #291B350C;
}
.hero-confirm .small-check { width: 33px; height: 33px; margin: 0; }
.hero-confirm .small-check .icon { width: 17px; height: 17px; }
.hero-confirm b { font-size: 13px; display: block; }
.hero-confirm span { font-size: 11px; color: var(--muted); }
.mini-attendees { display: flex; margin-left: 15px; }
.mini-attendees .avatar { width: 28px; height: 28px; border: 2px solid white; font-size: 8px; }
.mini-attendees .avatar + .avatar { margin-left: -8px; }
.marketing-subline {
  max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 27px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.marketing-subline > .eyebrow { font-size: 9px; letter-spacing: .1em; color: var(--muted); font-weight: 400; }
.marketing-subline ul { display: contents; list-style: none; }
.marketing-subline li { font-size: 18px; font-weight: 500; letter-spacing: -.035em; color: #67546F; }
.marketing-section { max-width: 1280px; margin: auto; padding: 95px 40px; }
.marketing-heading > .eyebrow { font-size: 10px; color: var(--coral-note); }
.marketing-heading h2 { font-size: 46px; margin-top: 20px; font-weight: 600; letter-spacing: -.055em; line-height: 1.15; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin: 55px 0 0; list-style: none; padding: 0; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--coral-soft); color: var(--coral-text); font-size: 12px; font-weight: 600; }
.steps-grid h3 { font-size: 21px; margin: 22px 0 14px; }
.steps-grid p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 23px; max-width: 310px; }
.steps-grid .text-link { font-size: 13px; display: inline-flex; min-height: 32px; align-items: center; }
.marketing-control {
  max-width: 1200px; margin: auto; background: var(--ink); border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 65px; color: white; align-items: center;
}
.marketing-control .eyebrow { font-size: 10px; color: #D6BBCF; }
.marketing-control h2 { font-size: 48px; margin: 22px 0 23px; font-weight: 550; letter-spacing: -.045em; line-height: 1.1; }
.marketing-control > div:not(.control-preview) > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: #D7CBDC; max-width: 360px; }
.marketing-control .btn { margin-top: 28px; font-size: 13px; }
.control-preview { background: var(--paper); border-radius: 16px; color: var(--ink); padding: 30px; }
.control-preview h3 { font-size: 19px; }
.control-preview > .flex > .icon { color: #A85F35; width: 25px; height: 25px; }
.control-row { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 24px 0; border-bottom: 1px solid #E9DCD3; font-size: 13px; }
.control-row dt { font-weight: 400; }
.control-row dd { margin: 0; font-size: 12px; background: #EEE3E6; padding: 7px 9px; border-radius: 6px; font-weight: 500; }
.control-bottom { display: flex; gap: 9px; align-items: center; font-size: 11px; color: #77616B; margin-top: 23px; }
.control-bottom .icon { width: 16px; height: 16px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.faq-section .marketing-heading h2 { font-size: 40px; }
.faq-list details { padding: 23px 0; border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; min-height: 32px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: inherit; letter-spacing: 0; font-weight: inherit; line-height: inherit; }
.faq-list summary .icon { width: 18px; height: 18px; transition: transform .15s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 18px; max-width: 470px; }
.marketing-final { text-align: center; padding: 74px 30px 80px; background: var(--coral-soft); margin-top: 0; }
.marketing-final > .eyebrow { font-size: 10px; color: var(--coral-note); }
.marketing-final h2 { font-size: 56px; line-height: 1.1; font-weight: 600; letter-spacing: -.055em; margin: 22px 0 28px; }
.marketing-footer { max-width: 1280px; margin: auto; padding: 35px 40px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.marketing-footer .logo { width: 100px; }
.marketing-footer p, .marketing-footer ul { font-size: 12px; color: var(--muted); margin: 0; }
.marketing-footer ul { list-style: none; padding: 0; display: flex; gap: 18px; }
.marketing-footer ul a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }

/* ---- Sign-in ------------------------------------------------------------- */

/* The form comes first in the page so it is read first; the grid shows it on the right. */
.auth-page { display: grid; grid-template-columns: 46% 54%; min-height: 100vh; background: white; }
.auth-main { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; padding: 70px 50px; position: relative; }
.auth-story { grid-column: 1; grid-row: 1; padding: 43px 60px; background: var(--ink); color: white; display: flex; flex-direction: column; justify-content: space-between; gap: 35px; }
.auth-story > a { align-self: start; }
.auth-story > a .logo { width: 123px; }
.auth-story > div { max-width: 420px; margin: 20px auto 30px; }
.auth-story .eyebrow { color: #CCB1C9; font-size: 10px; }
.auth-story .story-title { font-size: 69px; letter-spacing: -.055em; line-height: 1.02; font-weight: 550; margin: 23px 0 27px; color: #fff; }
.auth-story .story-title span { color: var(--coral-on-dark); }
.auth-story > div > p:not(.eyebrow):not(.story-title) { font-size: 16px; color: #D9CCDE; line-height: 1.7; }
.auth-story > .caption { color: #B39FBC; font-size: 11px; }
.auth-meeting { background: #3E2C49; border: 1px solid #614B6C; border-radius: 13px; padding: 21px; margin-top: 38px; max-width: 365px; box-shadow: 0 25px 35px #190C231C; }
.auth-meeting b { font-size: 14px; font-weight: 500; }
.auth-meeting p { font-size: 12px; color: #C2B0CB; margin-top: 4px; }
.auth-meeting > .flex > .icon { margin-left: auto; color: #FDBDA6; width: 22px; height: 22px; }
.auth-meeting-footer { display: flex; justify-content: space-between; font-size: 10px; color: #BCABC5; margin-top: 20px; padding-top: 14px; border-top: 1px solid #574060; }
.auth-home { position: absolute; right: 35px; top: 25px; font-size: 12px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.auth-form { width: 100%; max-width: 390px; }
.auth-form > .eyebrow { font-size: 10px; color: var(--coral-note); }
.auth-form h1 { font-size: 34px; font-weight: 620; line-height: 1.15; margin: 17px 0 12px; }
.auth-form > .lead { font-size: 14px; color: var(--muted); margin-bottom: 27px; }
.auth-form .flash { margin-bottom: 20px; }
.forgot-link { font-size: 12px; display: block; width: fit-content; margin: -6px 0 20px auto; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.auth-form .auth-switch { text-align: center; font-size: 13px; margin: 24px 0 0; color: var(--muted); }
.auth-form details.panel { margin-top: 24px; }
.auth-switch a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Wider and narrower screens ------------------------------------------ */

@media (max-height: 920px) and (min-width: 761px) {
  .sidebar-card { display: none; }
  .workspace-switch { margin-bottom: 18px; }
  .side-label { margin-top: 18px; }
  .side-nav { gap: 2px; }
}

@media (min-width: 1550px) {
  .content { padding: 44px 50px; }
  .day-card { padding: 30px; }
  .day-card h2 { font-size: 32px; }
  .meeting-row { padding: 24px 0; }
  .overview-layout { grid-template-columns: minmax(0, 1fr) 335px; }
}

@media (max-width: 1350px) and (min-width: 1001px) {
  .full-events.event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .availability-layout { grid-template-columns: minmax(0, 1.6fr) minmax(255px, 1fr); gap: 20px; }
  .hours-toggle { min-width: 102px; gap: 8px; }
  .hours-row { gap: 12px; }
  .hours-inputs { gap: 6px; }
  .hours-inputs input { width: 97px; padding: 8px 5px; }
  .hours-more { padding-left: 114px; }
  .hours-row > .icon-btn { min-width: 30px; padding: 4px; }
  .schedule-form { padding-left: 18px; padding-right: 18px; }
  .booking-main { max-width: 1100px; }
  .marketing-hero { gap: 28px; }
  .hero-copy h1 { font-size: 68px; }
  .marketing-subline { margin: 0 40px; }
}

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar { width: 210px; }
  .topbar { padding: 0 26px; }
  .content { padding: 30px 26px; }
  .overview-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
  .event-grid { grid-template-columns: 1fr; }
  .overview-events.event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .overview-events .event-card-body { padding: 16px 12px; }
  .overview-events .event-card h3 { font-size: 15px; }
  .overview-events .event-meta { font-size: 11px; }
  .overview-events .event-footer .btn { font-size: 11px; padding: 8px 6px; }
  .overview-events .event-footer .btn .icon { display: none; }
  .day-card { padding: 24px; grid-template-columns: 1fr; }
  .meeting-person .avatar { display: none; }
  .page-intro h1 { font-size: 33px; }
  .day-count { display: none; }
  .sidebar-card { padding: 13px; }
  .full-events.event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .booking-card { grid-template-columns: 28% 44% 28%; }
  .booking-card.no-times { grid-template-columns: 28% 72%; }
  .booking-host { padding: 30px 24px; }
  .booking-host h1 { font-size: 28px; }
  .date-picker { padding: 30px 22px; }
  .booking-step { font-size: 12px; gap: 8px; }
  .time-picker { padding: 90px 16px 22px; }
  .time-picker-head { flex-direction: column; align-items: start; gap: 9px; }
  .time-slots { max-height: 270px; }
  table.booking-calendar { border-spacing: 3px; margin: 0 -3px; width: calc(100% + 6px); }
  .booking-calendar .date { min-height: 38px; }
  .marketing-hero { gap: 30px; padding-top: 55px; padding-bottom: 65px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-copy > p:not(.eyebrow):not(.hero-note) { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: start; gap: 6px; }
  .hero-actions .btn.ghost { padding-left: 0; }
  .hero-scheduling { padding: 24px 16px 65px; }
  .hero-book-host { padding: 23px 15px; }
  .hero-book-host .hero-title { font-size: 21px; }
  .hero-cal { padding: 24px 13px; }
  .hero-confirm { right: -10px; padding: 14px; }
  .marketing-nav ul { gap: 18px; }
  .marketing-subline { margin: 0 40px; }
  .marketing-control { margin: 0 30px; padding: 45px; gap: 40px; }
  .marketing-control h2 { font-size: 43px; }
  .control-preview { padding: 24px; }
  .auth-story { padding: 40px; }
  .auth-story .story-title { font-size: 61px; }
  .directory-event { padding: 22px 18px; }
  .directory-event h3 { font-size: 20px; }
}

@media (max-width: 1000px) {
  .rail { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .mini-calendar { display: none; }
  .booking-link-card { grid-column: 2; grid-row: 1; }
  .rail > .checklist-panel { grid-column: 1 / -1; }
  .overview-layout { display: block; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .search-trigger span, .search-trigger kbd { display: none; }
  .day-card h2 { font-size: 27px; }
  .content { padding: 25px; }
  .page-intro { align-items: start; }
  .sidebar-card { display: none; }
  .topbar-actions { gap: 5px; }
  .availability-layout, .settings-layout, .editor-layout, .detail-layout { grid-template-columns: 1fr; }
  .availability-layout > .hours-form, .availability-layout > aside, .availability-layout > .save-row,
  .availability-layout > .dates-panel { grid-column: 1; grid-row: auto; }
  .availability-layout > aside, .settings-layout > aside { grid-template-columns: 1fr 1fr; }
  .aside-quote { padding: 30px 15px; }
  .hours-inputs input { width: 130px; }
  .full-events .event-card h2, .full-events .event-card h3 { font-size: 19px; }
  .share-strip { align-items: start; flex-direction: column; }
  .share-strip > .btn, .share-strip > .copy-row { margin-left: 56px; }
  .share-strip .copy-row { flex: none; width: calc(100% - 56px); }
  .connection-grid { gap: 18px; }
  .connection-card { padding: 23px; }
  .connection-status { align-items: start; flex-direction: column; }
  .marketing-heading h2 { font-size: 39px; }
  .marketing-subline li { font-size: 15px; }
  .marketing-section { padding-top: 70px; padding-bottom: 70px; }
  .steps-grid { gap: 30px; }
  .steps-grid h3 { font-size: 19px; }
  .steps-grid p { font-size: 14px; }
  .marketing-control { gap: 30px; padding: 38px; }
  .marketing-control h2 { font-size: 38px; }
  .marketing-control > div:not(.control-preview) > p:not(.eyebrow) { font-size: 14px; }
  .control-row { flex-direction: column; align-items: start; gap: 10px; padding: 17px 0; }
  .faq-section { gap: 35px; }
  .faq-section .marketing-heading h2 { font-size: 35px; }
  .auth-story { padding: 35px; }
  .auth-story .story-title { font-size: 53px; }
  .auth-main { padding: 70px 35px; }
  .auth-form h1 { font-size: 30px; }
  .directory-events { grid-template-columns: 1fr; }
  .directory-event { padding: 25px; gap: 25px; }
  .directory-event h3 { margin: 13px 0; }
  .directory-event p { margin-bottom: 15px; max-width: 600px; }
  .directory-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #FAF5FA; }
  .booking-directory { max-width: 800px; }
}

@media (max-width: 760px) {
  h1 { font-size: 31px; }
  .app-shell { display: block; }
  .sidebar {
    transform: translateX(-100%); visibility: hidden;
    /* Closing: the menu slides away first and is hidden after that. */
    transition: transform .2s, visibility 0s .2s;
    width: 260px; box-shadow: 5px 0 40px #291B351C;
  }
  /* The menu opens by link target, so it works with scripts turned off.
     Opening: it is there at once, so keyboard focus can move into it. */
  .sidebar:target, .sidebar.open { transform: translateX(0); visibility: visible; transition: transform .2s, visibility 0s; }
  .sidebar:target + .mobile-backdrop, .sidebar.open + .mobile-backdrop {
    display: block; position: fixed; inset: 0; background: #291B3555; z-index: 35;
  }
  .sidebar-close { display: inline-flex; margin: -10px -12px -10px 0; }
  .sidebar-card { display: block; }
  .workspace { width: 100%; }
  .mobile-menu { display: inline-flex; }
  .topbar { height: 68px; padding: 0 17px; }
  .topbar nav[aria-label="Breadcrumb"] { display: none; }
  .topbar .mobile-logo { display: block; }
  .topbar .mobile-logo .logo { width: 81px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .content { padding: 26px 18px 35px; }
  .page-intro { display: block; margin-bottom: 25px; }
  .page-intro h1 { font-size: 32px; }
  .page-intro .page-actions { margin-top: 20px; }
  .page-intro p { font-size: 14px; }
  .page-actions .btn { flex: 1; }
  .day-card { padding: 25px 22px; margin-bottom: 21px; }
  .day-card h2 { font-size: 26px; }
  .panel-head { padding: 21px 19px; }
  .panel-head h2, .panel-head h3 { font-size: 18px; }
  .panel-body { padding: 0 19px 21px; }
  .panel-body.top { padding-top: 21px; }
  details.panel > summary { padding: 21px 19px; }
  .schedule-list { padding: 0 18px; }
  .meeting-row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .meeting-info { padding-left: 12px; }
  .meeting-info h3 { font-size: 14px; }
  .meeting-info p { font-size: 11px; }
  .meeting-time strong { font-size: 12px; }
  .meeting-time span { font-size: 11px; }
  .meeting-person { gap: 0; }
  .meeting-person > .icon { margin: 0 2px; }
  .event-grid, .overview-events.event-grid, .full-events.event-grid { grid-template-columns: 1fr; }
  .overview-events .event-card-body { padding: 20px; }
  .overview-events .event-card h3 { font-size: 19px; }
  .overview-events .event-meta { font-size: 13px; }
  .overview-events .event-footer .btn { font-size: 13px; padding: 10px 13px; }
  .overview-events .event-footer .btn .icon { display: block; }
  .rail { display: block; }
  .rail > * + * { margin-top: 18px; }
  .booking-link-card .btn { max-width: 240px; }
  .section-head h2 { font-size: 22px; }
  .preview-foot { flex-wrap: wrap; font-size: 11px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filter-input { max-width: none; }
  .filter-form select { max-width: none; width: 100%; }
  .field-grid, .field-grid-3 { grid-template-columns: 1fr; }
  .modal-head, .modal-body { padding: 21px; }
  .modal-actions { padding: 17px 21px; flex-wrap: wrap; }
  .modal-actions .btn { flex: 1; }
  .logo { width: 108px; }
  .full-events .event-card h2, .full-events .event-card h3 { min-height: 0; font-size: 22px; }
  .full-events .event-card-body { min-height: 0; }
  .full-events .event-description { max-width: none; }
  .share-strip { padding: 23px; gap: 19px; }
  .share-strip > .btn, .share-strip > .copy-row { margin-left: 0; width: 100%; }
  .share-strip p { font-size: 12px; }
  .group-date { padding: 17px; gap: 8px; flex-wrap: wrap; }
  .group-date h2, .group-date strong { font-size: 13px; }
  .group-date .caption { display: none; }
  .meeting-group .meeting-row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 9px; padding: 23px 0; }
  .meeting-group .meeting-info h3 { font-size: 15px; }
  .meeting-group .meeting-info p { font-size: 12px; }
  .detail-person { flex-wrap: wrap; gap: 12px; }
  .detail-person .pill { margin-left: 0; }
  .availability-layout > aside, .settings-layout > aside { grid-template-columns: 1fr; }
  .hours-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; padding: 15px 0; min-height: 85px; }
  .hours-toggle { grid-column: 1; min-height: 38px; font-size: 14px; }
  .hours-row > .icon-btn { grid-column: 2; grid-row: 1; min-height: 44px; min-width: 44px; margin: 0; }
  .hours-inputs { grid-column: 1 / -1; gap: 12px; }
  .hours-inputs input { width: calc((100% - 36px) / 2); max-width: none; min-height: 46px; font-size: 14px; padding: 10px; flex: 1; min-width: 0; }
  .hours-more { grid-column: 1 / -1; padding-left: 0; }
  .hours-row > .field-error { grid-column: 1 / -1; }
  .hours-row > .unavailable { grid-column: 2; grid-row: 1; justify-self: end; font-size: 12px; white-space: nowrap; }
  .schedule-form { padding: 0 22px 24px; }
  .zone-field { flex-wrap: wrap; }
  .zone-field > select { max-width: none; margin: 5px 0 0; }
  .aside-quote { padding: 12px 8px; }
  .aside-quote p:not(.quote):not(.eyebrow) { max-width: 100%; }
  .exceptions-list { padding: 0 19px 8px; }
  .dates-panel > .caption { padding: 0 19px 18px; }
  .dates-panel > details > summary { padding: 16px 19px; }
  .settings-body { padding: 22px; }
  .connection-grid { grid-template-columns: 1fr; }
  .connection-status { flex-direction: row; align-items: center; }
  .connection-card h2 { font-size: 23px; }
  table.data th, table.data td { padding: 12px 17px; }
  table.data caption { padding: 18px 17px 10px; }
  .row-item { padding: 18px 19px; }
  dl.details { grid-template-columns: 1fr; gap: 2px; }
  dl.details dd { margin-bottom: 12px; }
  .week-board { min-height: 0; }

  .guest-header { height: 84px; padding: 0 23px; }
  .guest-header .logo { width: 102px; }
  .guest-workspace-link { font-size: 11px; gap: 5px; }
  .guest-workspace-link .icon { display: none; }
  .guest-footer { padding: 25px 23px; flex-direction: column; gap: 9px; font-size: 11px; }
  .guest-narrow { width: calc(100% - 32px); }
  .guest-card { padding: 25px; border-radius: 16px; }
  .booking-main { width: calc(100% - 32px); margin: 10px auto 24px; }
  .booking-breadcrumb { font-size: 11px; gap: 10px; margin-bottom: 18px; }
  .booking-card, .booking-card.no-times { grid-template-columns: 1fr; border-radius: 17px; min-height: auto; }
  .booking-host { padding: 25px; border-right: 0; border-bottom: 1px solid var(--border); display: block; }
  .booking-host > .avatar { width: 44px; height: 44px; font-size: 14px; }
  .booking-host .host-name { margin: 14px 0 7px; font-size: 12px; }
  .booking-host h1 { font-size: 27px; max-width: none; }
  .booking-details { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 19px 0 16px; }
  .booking-details li { font-size: 12px; gap: 6px; }
  .booking-details .icon { width: 15px; height: 15px; }
  .booking-description { font-size: 13px; max-width: none; }
  .host-bottom { display: none; }
  .date-picker { padding: 25px; }
  .booking-step { font-size: 14px; margin-bottom: 22px; }
  .date-picker .calendar-heading h3 { font-size: 19px; }
  table.booking-calendar { border-spacing: 5px; margin: 0 -5px; width: calc(100% + 10px); }
  .booking-calendar .date { min-height: 39px; max-height: 45px; font-size: 14px; border-radius: 9px; }
  .booking-timezone { margin-top: 24px; }
  .time-picker { border-left: 0; border-top: 1px solid var(--border); padding: 25px; }
  .time-picker-head { flex-direction: row; align-items: center; }
  .time-picker-head h3 { font-size: 16px; }
  .time-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 280px; }
  .slot-face { min-height: 46px; }
  .time-picker .zone-caption { font-size: 12px; }
  .continue-booking { min-height: 49px; }
  .booking-assurance { font-size: 10px; gap: 5px; }
  .booking-directory { width: calc(100% - 40px); margin: 12px auto 35px; }
  .host-profile { gap: 16px; padding: 10px 0 27px; align-items: start; }
  .host-profile .avatar { width: 53px; height: 53px; font-size: 18px; }
  .host-profile h1 { font-size: 26px; }
  .host-profile p:not(.eyebrow) { font-size: 13px; }
  .host-profile .eyebrow { font-size: 9px; }
  .directory-intro h2 { font-size: 25px; }
  .directory-intro p { font-size: 13px; }
  .directory-event { padding: 22px 20px; gap: 12px; }
  .directory-event h3 { font-size: 23px; }
  .directory-event p { font-size: 13px; }
  .directory-arrow { width: 31px; height: 31px; flex: none; }
  .guest-details-page { width: calc(100% - 32px); margin: 0 auto 25px; }
  .guest-details-card { grid-template-columns: 1fr; border-radius: 16px; }
  .details-summary { padding: 25px; border-right: 0; border-bottom: 1px solid var(--border); }
  .details-summary > .avatar { width: 43px; height: 43px; font-size: 14px; }
  .details-summary .host-name { margin-top: 13px; }
  .details-summary h1 { font-size: 28px; }
  .details-summary .detail-lines { gap: 13px; margin: 21px 0; }
  .details-summary .detail-lines li { font-size: 13px; }
  .guest-form { padding: 25px; }
  .confirmation-page { margin-top: 12px; }
  .confirmation-page > h1 { font-size: 29px; }
  .confirmation-card { padding: 24px; margin-top: 26px; }
  .confirmation-page .confirmation-note { font-size: 11px; padding: 0 15px; }

  .marketing-nav { padding: 17px 22px; gap: 12px; }
  .marketing-nav .logo { width: 100px; }
  .marketing-nav ul { display: none; }
  .marketing-nav .login-link { display: none; }
  .marketing-nav > .flex > .btn { font-size: 12px; min-height: 40px; padding: 10px 14px; }
  .marketing-hero { grid-template-columns: 1fr; padding: 48px 23px 45px; gap: 35px; }
  .hero-copy h1 { font-size: 58px; margin: 23px 0; letter-spacing: -.07em; }
  .hero-copy > .eyebrow { font-size: 9px; }
  .hero-copy > p:not(.eyebrow):not(.hero-note) { font-size: 16px; line-height: 1.7; max-width: 450px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
  .hero-actions .btn { font-size: 12px; padding: 12px 14px; }
  .hero-note { font-size: 11px; margin-top: 22px; }
  .hero-scheduling { margin-top: 6px; padding: 24px 15px 70px; border-radius: 18px; }
  .hero-book-host { padding: 20px 13px; }
  .hero-book-host .hero-title { font-size: 21px; margin-bottom: 23px; }
  .hero-book-host .event-meta { font-size: 10px; gap: 5px; }
  .hero-cal { padding: 23px 12px; }
  .hero-cal .hero-month { font-size: 12px; }
  .hero-cal table.calendar-grid { border-spacing: 1px; }
  .hero-cal .calendar-grid .date { min-height: 23px; font-size: 9px; }
  .hero-cal .calendar-grid th { font-size: 8px; }
  .hero-cal .fake-button { font-size: 10px; margin-top: 20px; }
  .hero-confirm { right: 8px; bottom: 19px; padding: 14px; gap: 9px; }
  .hero-confirm b { font-size: 12px; }
  .hero-confirm span { font-size: 10px; }
  .mini-attendees { margin-left: 0; }
  .hero-preview-top .pill { font-size: 8px; }
  .marketing-subline { padding: 24px 0; margin: 0 23px; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .marketing-subline li { font-size: 20px; }
  .marketing-section { padding: 60px 23px; }
  .marketing-heading h2 { font-size: 35px; letter-spacing: -.05em; }
  .marketing-heading > .eyebrow { font-size: 9px; }
  .steps-grid { grid-template-columns: 1fr; gap: 37px; margin-top: 34px; }
  .steps-grid h3 { font-size: 23px; margin: 19px 0 12px; }
  .steps-grid p { font-size: 15px; max-width: none; margin-bottom: 17px; }
  .marketing-control { margin: 0 16px; grid-template-columns: 1fr; padding: 32px 26px; gap: 32px; border-radius: 18px; }
  .marketing-control h2 { font-size: 40px; }
  .marketing-control > div:not(.control-preview) > p:not(.eyebrow) { font-size: 15px; }
  .control-preview { padding: 23px; }
  .control-row { flex-direction: row; align-items: center; padding: 22px 0; font-size: 12px; }
  .control-row dd { font-size: 10px; }
  .control-preview h3 { font-size: 17px; }
  .control-bottom { font-size: 10px; }
  .faq-section { grid-template-columns: 1fr; gap: 20px; }
  .faq-list summary { font-size: 14px; line-height: 1.5; gap: 14px; }
  .marketing-final { padding: 55px 23px; }
  .marketing-final h2 { font-size: 43px; }
  .marketing-footer { padding: 27px 23px; gap: 19px; flex-wrap: wrap; }
  .marketing-footer .logo { width: 85px; }
  .marketing-footer p { margin-left: auto; font-size: 10px; }
  .marketing-footer ul { width: 100%; font-size: 11px; }
  .auth-page { display: block; }
  .auth-story { display: none; }
  .auth-main { min-height: 100vh; padding: 80px 27px 40px; }
  .auth-home { right: 27px; }
  .auth-form { max-width: 410px; }
  .auth-form h1 { font-size: 34px; }
}

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

@media (forced-colors: active) {
  .btn, .slot-face, .calendar-grid a.date, .segmented a, .side-nav a { border: 1px solid ButtonText; }
  .calendar-grid a.date[aria-current], .segmented a[aria-current], .side-nav a[aria-current],
  .tab[aria-current], .time-slot input:checked + .slot-face { outline: 3px solid Highlight; outline-offset: -3px; }
  .dot, .event-card::before, .color-option span { forced-color-adjust: none; }
}

@media print {
  .sidebar, .topbar, .guest-header, .guest-footer, .page-actions, .form-actions, .preview-foot, .marketing-nav, dialog { display: none !important; }
  .app-shell { display: block; }
  body, .guest-page { background: #fff; }
}
