/* One stylesheet: foundations, shared controls, page components, local tools,
   then final responsive overrides. Keep component variants beside their base rules;
   preserve selector specificity and source order when consolidating styles. */

/* Self-hosted variable fonts; provenance in docs/ASSETS.md. */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500 600; font-display: swap; src: url('/assets/immutable/6b102ab35aa1f2b31578/lora.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/immutable/8330490a01c60c196eae/figtree.woff2') format('woff2'); }
/* Palette and typography. */
:root {
  color-scheme: light;
  /* Palette: the logo keeps its own saturated blue and green; the interface
     uses deeper, calmer relatives of them so long text and controls stay legible. */
  --navy: #12294a;
  --blue: #0f5a8e;
  --green: #1f6b2a;
  --leaf: #2aa81f;
  --ink: #22364a;
  --muted-ink: #5b6b78;
  --paper: #f7f6f2;
  --mist: #e9eff6;
  --sage: #e7eee6;
  --line: #d9e0e5;
  --muted: var(--mist);
  --radius: .75rem;
  --section-icon: 3.75rem;
  --offer-gap: 2rem;
  --form-field-gap: 1rem;
  --shadow: 0 1px 2px rgb(18 41 74 / 6%), 0 14px 34px -14px rgb(18 41 74 / 22%);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  font-optical-sizing: auto;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
/* Base elements and layout. */
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
/* Underline the entire back link, including its decorative SVG. */
.back-link { display: inline-block; border-bottom: 1px solid currentColor; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { box-shadow: 0 1px currentColor; }
:focus-visible { outline: 3px solid #dd9500; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; text-wrap: balance; color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; }
.public-page h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.25rem; }
strong { font-weight: 600; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Editorial prose only: keep form controls, navigation and directory tools compact. */
.public-page :is(.about-page, .editorial-page, .patients) :is(p:not(.eyebrow), li) { font-size: 1.125rem; line-height: 1.65; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
/* Shared buttons. */
.button { display: inline-block; padding: .75rem 1.3rem; border: 1px solid var(--navy); border-radius: .6rem; background: var(--navy); color: #fff; font: inherit; font-size: .95rem; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.4; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.button:not(:disabled):not([aria-disabled="true"]):hover { background: var(--blue); border-color: var(--blue); }
/* Disabled primaries used to be navy at 65% opacity and still looked clickable.
   A gray chip vs the solid navy ready state is the actual on/off signal.
   Pending actions retain this disabled appearance with their overlaid spinner. */
.button:disabled, .button[aria-disabled="true"] {
  background: #e4e9ed; border-color: #cdd5dc; color: #5c6b76; opacity: 1; cursor: not-allowed;
}
.button.outline { color: var(--navy); background: transparent; }
.button.outline:not(:disabled):not([aria-disabled="true"]):hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.button.outline:disabled, .button.outline[aria-disabled="true"] {
  background: transparent; border-color: #c5ced6; color: #8a96a0; opacity: 1;
}
.button.light { background: #fff; color: var(--navy); border-color: #fff; }
.button.light:not(:disabled):not([aria-disabled="true"]):hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.button.light:disabled, .button.light[aria-disabled="true"] {
  background: rgb(255 255 255 / 45%); border-color: transparent; color: rgb(18 41 74 / 50%); opacity: 1;
}
/* Shared forms and controls. */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: .85rem; margin-bottom: .6rem; }
.signup-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; }
input, select { width: 100%; min-width: 0; border: 1px solid #b4c1cc; background-color: #fff; border-radius: .5rem; padding: .75rem .85rem; font: inherit; font-weight: 400; color: var(--ink); }
input:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(15 90 142 / 18%); }
input:not([type="checkbox"]):not([type="radio"]):disabled, .subscriber-edit input[aria-disabled="true"] { background: #e9edf0; color: #64727b; border-color: #cbd4da; cursor: not-allowed; opacity: 1; }
input::placeholder, textarea::placeholder { color: #abb3b9; opacity: 1; font-weight: 400; }
.required-mark, .field-error { color: #a52b36; }
.validated-field { position: relative; }
.validated-field .field-error { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.field-error { position: absolute; top: calc(100% + .25rem); left: 0; z-index: 5; width: max-content; max-width: 100%; padding: .3rem .6rem; border: 1px solid #e8bfc4; border-radius: .3rem; background: rgb(255 242 243 / 62%); box-shadow: 0 .2rem .6rem #51212a18; font-size: .85rem; line-height: 1.4; pointer-events: none; }
input[aria-invalid="true"] { border-color: #b3323e; background: #fff2f3; outline-color: #b3323e; }
button:disabled { opacity: .65; cursor: not-allowed; }
/* 1rem keeps iOS from zooming the page when a field is focused. Labels stay smaller. */
input, textarea, select { font-size: 1rem; }
form label.signup-announcements { display: flex; align-items: center; gap: .55rem; }
form label.signup-announcements input { width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.signup-note { color: #606975; font-size: .9rem; font-weight: normal; }
.signup-password-field { display: grid; gap: .25rem; }
/* Space field groups apart; the smaller gap inside each label belongs to its control. */
.form-stack, .account form, .sign-in-dialog form { display: grid; gap: var(--form-field-gap); }
.form-stack > button, .account form button, .sign-in-dialog form button { justify-self: start; cursor: pointer; }
.form-stack > .form-hint { margin: 0; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
/* Shared control geometry: labels/table cells must not change control typography. */
.form-control, .role-filter input, .role-filter select, .role-menu-button { box-sizing: border-box; height: 3rem; padding: .7rem .65rem; border: 1px solid #aabcc6; border-radius: .35rem; color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; }
/* All ordinary dropdowns share the same chevron; no opt-in class is needed.
   Use background-color in component rules so the image remains intact. */
.role-menu-button, select:not([multiple]):not([size]) { padding-right: 1.85rem; background-color: white; background-image: url('/assets/immutable/a34164a7490296942236/chevron-down.svg'); background-repeat: no-repeat; background-position: right .65rem center; background-size: .625rem .375rem; cursor: pointer; white-space: nowrap; }
select:not([multiple]):not([size]) { appearance: none; }
.account .role-checkbox { display: flex; align-items: center; gap: .55rem; margin: 0; white-space: nowrap; font-weight: 400; }
.account .role-checkbox input { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin: 0; accent-color: var(--blue); }
.form-help { font-size: .9rem; margin: 0; }
.text-button { padding: 0; border: 0; font: inherit; color: var(--blue); background: transparent; text-decoration: underline; }


/* Editorial pages and membership introduction. */
.editorial-page { padding-block: clamp(2rem, 5vw, 4rem); }
.about-section { padding-block: clamp(2rem, 4vw, 3rem); }
.about-section > :last-child, .about-mission > :last-child { margin-bottom: 0; }
.about-page .about-section.wrap > p, .about-page .about-section.wrap > ul, .about-page .about-section.wrap > h2 { max-width: 52rem; }
.about-page .about-section p { text-wrap: pretty; }
.about-beyond { background: #edf0f8; color: var(--ink); }
.about-beyond h2 { color: var(--blue); }
.about-mission-band { background: var(--paper); }
.about-mission { position: relative; z-index: 1; width: min(40rem, calc(100% - 3rem)); margin: -4.5rem auto 0; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); background: var(--navy); color: #fff; text-align: center; box-shadow: var(--shadow); }
.about-mission h2 { color: #fff; }
.about-mission p { text-wrap: balance; }
.about-mission p + p { margin-top: 1rem; }
@media (min-width: 540px) {
  .about-mission .mission-break { display: block; }
}
.editorial-heading { max-width: 60rem; margin-bottom: 2rem; }
.editorial-page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.editorial-heading h2, .public-page .board-heading h2, .public-page .board-members h2 { color: var(--muted-ink); font-family: var(--sans); font-size: 1.3rem; font-weight: 400; line-height: 1.5; }
.editorial-page > section { margin-top: 2.5rem; }
.editorial-page > section:not(.editorial-intro) { max-width: 54rem; }
.editorial-intro { display: grid; grid-template-columns: 3fr 2fr; align-items: start; gap: 2.5rem; }
.editorial-photo { width: 100%; height: auto; border-radius: var(--radius); }
.event-schedule li { margin-bottom: .75rem; }
.event-details { padding-top: 2rem; border-top: 1px solid var(--line); }
/* Match the space below the divider with space above it between event overviews. */
.event-listing + .event-listing { margin-top: 2rem; }
.event-details .editorial-photo { box-shadow: var(--shadow); }
.past-events { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.past-events summary { cursor: pointer; font-weight: 700; }
.past-events li { margin-block: .75rem; }
.event-schedule-heading { font-size: 1.2rem; margin-bottom: .75rem; }
/* Join: the guide takes one third of the row, with fluid plan cards beside it. */
.editorial-page.membership-page > section { max-width: none; }
.membership-page > section > p, .membership-page .editorial-heading { max-width: 52rem; }
.membership-page .benefits-grid { margin-top: 1.5rem; }
.membership-page .membership-plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-block: 1.5rem 1.75rem; }
.membership-page .membership-plan { padding: clamp(1rem, 2vw, 1.5rem); }
.membership-enrollment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(1.5rem, 2.5vw, 2rem); margin-top: 2.5rem; }
.membership-join { padding: 1.5rem; border: 1px solid #cbdccc; border-radius: var(--radius); background: #f1f6f0; }
.membership-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.membership-steps > li { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .85rem; padding-bottom: 1.75rem; }
.membership-steps > li:last-child { padding-bottom: 0; }
.membership-steps > li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.25rem; bottom: 0; border-left: 2px solid #bdcfbf; }
.membership-step-number { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--green); color: #fff; font-size: 1rem; font-weight: 600; }
.membership-steps h3 { margin: .25rem 0 .5rem; font-family: var(--sans); font-size: 1.1rem; font-weight: 600; }
.public-page .membership-join p { font-size: 1rem; line-height: 1.55; }
.public-page .membership-join p.membership-guide-intro { font-size: .9rem; color: var(--muted-ink); }
.membership-steps p { margin-bottom: .85rem; }
.membership-steps li:last-child p { margin-bottom: 0; }
.public-page .membership-join .membership-sign-in { margin: .75rem 0 0; font-size: .9rem; }
.membership-sign-in a { white-space: nowrap; }
.membership-page .announcement-invitation { padding: 1.25rem 1.5rem; border: 1px solid #d3dbe8; border-radius: var(--radius); background: #edf0f8; }
@media (max-width: 900px) {
  .membership-enrollment { grid-template-columns: 1fr; }
  .membership-join { max-width: 36rem; }
}
@media (max-width: 700px) {
  .editorial-intro { grid-template-columns: 1fr; gap: 1rem; }
}
/* Utility and verification pages. */
.utility-page { padding-block: clamp(2rem, 7vw, 5rem); }
.utility-card { max-width: 48rem; margin-inline: auto; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.utility-card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.utility-card p { line-height: 1.65; overflow-wrap: anywhere; }
.utility-card form + p { margin-top: 1.25rem; }
.verification-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.verification-form > button { justify-self: start; }
.verification-code-entry {
  display: block; text-align: center; container-type: inline-size;
}
.verification-form input[name="code"] {
  display: inline-block; width: calc(13ch + 2rem + 2px); max-width: 100%; box-sizing: border-box;
  font: 600 min(4rem, calc((100cqw - 2rem - 2px) / 8))/1.5 ui-monospace, monospace;
  text-align: center; letter-spacing: 1ch; text-indent: 1ch; padding: .5rem 1rem;
  border: 1px solid #91a9bc; border-radius: .4rem; color: var(--blue);
  background: #fff;
}
/* The indent balances digit spacing, but an empty caret needs no compensation. */
.verification-form input[name="code"]:placeholder-shown { text-indent: 0; }
.verification-form input[name="code"]:valid { caret-color: transparent; }
.utility-return a { display: inline-flex; align-items: center; gap: .35rem; }
.utility-address { font-weight: 600; color: var(--blue); }
.not-found-code { color: var(--green); font-size: .9rem; font-weight: 700; letter-spacing: .04em; }
.utility-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: .6rem 1rem; background: #fff; z-index: 2; }
/* Member resources. */
.resources-page { max-width: 64rem; }
.resources-page > section { margin-block: 2.5rem; }
.resources-page li { margin-bottom: .6rem; }
.resources-contacts h3 { font-size: 1.15rem; color: var(--muted-ink); font-weight: 600; }
.resources-callout { padding: 1.5rem 2rem; background: var(--sage); border-left: 4px solid var(--green); border-radius: .5rem; }
.resources-callout p:last-child { margin-bottom: 0; }
.resources-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.resources-courses > section { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
@media (max-width: 700px) { .resources-courses { grid-template-columns: 1fr; } }
.skip-link:focus { top: .5rem; }
/* Header: one row with the brand, primary navigation and account controls. */
.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.site-header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; color: var(--navy); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.2; letter-spacing: .005em; }
.brand img { width: 3.75rem; height: auto; }
.brand strong { color: var(--green); font-weight: 600; }
/* Wide screens: the menu wrapper has no box of its own, so nav and identity sit
   in the header row. Narrow screens (below) turn it into a popover sheet. */
.site-menu, .site-menu-sheet { display: contents; }
.site-menu-bar, .menu-toggle { display: none; }
.main-nav { display: flex; gap: .15rem; margin-inline: auto; }
.main-nav a { position: relative; padding: .55rem .65rem; border-radius: .5rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { color: var(--navy); background: var(--mist); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: .65rem; right: .65rem; bottom: .15rem; height: 2px; border-radius: 1px; background: var(--leaf); }
.identity { display: flex; align-items: center; min-width: 0; gap: .5rem; color: var(--navy); }
.visitor-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; }
.identity > form { align-self: stretch; display: flex; margin: 0; }
/* The name occupies the same outlined-button slot as Sign in, so people see
   where their account lives. A long name is ellipsized instead of wrapping. */
.identity-text { position: relative; display: grid; min-width: 0; max-width: 16rem; padding: .75rem 1.3rem; border: 1px solid var(--navy); border-radius: .6rem; background: transparent; color: var(--navy); text-align: center; text-decoration: none; font-size: .95rem; font-weight: 600; line-height: 1.4; transition: background-color .15s, border-color .15s, color .15s; }
.identity-text[aria-current="page"]::after { content: ''; position: absolute; left: 1.3rem; right: 1.3rem; bottom: .35rem; height: 2px; border-radius: 1px; background: var(--leaf); }
.identity-text strong, .identity-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.identity-text strong { font-size: inherit; font-weight: inherit; line-height: inherit; }
.identity-text small { display: none; }
.identity-text:hover, .identity-text:focus-visible { background: var(--mist); }
.sign-out-button { display: grid; place-items: center; width: 44px; min-height: 44px; height: auto; align-self: stretch; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.sign-out-button:not(:disabled):not([aria-disabled="true"]):hover { background: #e5edf0; }
.sign-out-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.account-tabs { background: var(--paper); border-bottom: 1px solid var(--line); }
.account-tabs .wrap { display: flex; flex-wrap: wrap; gap: .25rem; }
.account-tabs a { display: block; padding: .9rem 1rem; margin-bottom: -1px; color: var(--muted-ink); border-bottom: 2px solid transparent; text-decoration: none; font-weight: 500; }
.account-tabs a:hover { color: var(--navy); }
.account-tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--leaf); font-weight: 600; }
.account-admin-tabs { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (max-width: 850px) {
  .account-admin-tabs { flex-basis: 100%; flex-wrap: wrap; margin-left: 0; margin-top: .4rem; }
}

/* A pressed state acknowledges page navigation before the delayed spinner. */
a.is-navigation-pending { opacity: .65; }
/* Pending button links keep their usual cursor instead of the disabled cursor. */
a.button.is-navigation-pending { cursor: pointer; }
.main-nav a.is-navigation-pending, .account-tabs a.is-navigation-pending { background: var(--mist); }
a.is-navigation-pending.is-submitting > * { opacity: 0; }
/* Keep destinations recognizable while the spinner stays sharp above them. */
.navigation-label { display: inline-block; }
.site-header a.is-navigation-pending.is-submitting { color: var(--navy) !important; }
.site-header a.is-navigation-pending.is-submitting > * { opacity: .75; filter: blur(.5px); }
.site-header a.is-navigation-pending.is-submitting::before { z-index: 1; }
a.is-navigation-pending.is-submitting::before { will-change: transform; }
/* Hero: an illustrated Idaho skyline in layered SVGs. The layers drift at
   different rates with scroll (CSS scroll-driven animation, no script) and
   stay still for reduced-motion users or browsers without support. */
.welcome, .member-hero { --scene-height: clamp(18rem, 32vw, 26rem); position: relative; isolation: isolate; overflow: hidden; color: var(--navy); background: linear-gradient(180deg, #f4f7fb 0%, #dfe9f4 45%, #bfd0e6 100%); }
.hero-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Layers are sized by height so the skyline and the rings stop growing at the
   same viewport width; the artwork is wide enough for 2560px at full height and
   its edges match so it repeats seamlessly beyond that. */
.hero-layer { position: absolute; inset: auto 0 0; height: var(--scene-height); background: repeat-x center top / auto 100%; }
.hero-clouds { inset: 0 auto 0 0; width: 200%; height: auto; background: url('/assets/immutable/05de2917bf77e2b2923a/hero-clouds.svg') repeat-x left top / 50% 100%; }
.hero-ridge-far { background-image: url('/assets/immutable/0e5f0db292de8f14afe2/hero-ridge-far.svg'); }
.hero-ridge-mid { background-image: url('/assets/immutable/41345d0947c47a9391e8/hero-ridge-mid.svg'); }
.hero-ridge-near { background-image: url('/assets/immutable/b0ed9afaf619aa9aa8f0/hero-ridge-near.svg'); }
.hero-pines { background-image: url('/assets/immutable/38540ba05e297b54e551/hero-pines.svg'); }
.hero-mark { position: absolute; right: clamp(3rem, 10vw, 11rem); bottom: 34%; width: clamp(11rem, 23.75vw, 19rem); height: auto; filter: drop-shadow(0 1.4rem 2rem rgb(18 41 74 / 30%)); }
.welcome-copy { position: relative; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(11rem, 26vw, 18rem); }
.welcome-copy > * { max-width: 36rem; }
.welcome .eyebrow { color: var(--green); }
.welcome h1 { max-width: none; font-size: clamp(2.5rem, 4.7vw, 4.1rem); line-height: 1.05; margin-bottom: 1.25rem; text-wrap: pretty; }
.welcome p:not(.eyebrow) { font-size: 1.15rem; line-height: 1.6; color: #2a4266; margin-bottom: 1.75rem; }
.welcome p.hero-lead { max-width: 44rem; font-family: var(--serif); font-weight: 560; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.25; letter-spacing: -.015em; color: var(--navy); margin-bottom: 1rem; }
.welcome p.hero-lead span { white-space: nowrap; }
@media (min-width: 980px) {
  .welcome p.hero-lead { max-width: none; white-space: nowrap; }
}
.welcome .actions { gap: .85rem; }
/* About: the same landscape at first light. Recolor the existing ridge
   artwork only, preserving its facets and the logo's original colors. */
.about-hero {
  background: radial-gradient(ellipse at 77% 52%, #ffe3b9 0%, rgb(255 234 204 / 65%) 18%, transparent 49%),
    linear-gradient(180deg, #e5efec 0%, #f7f4e9 49%, #e9d9b8 100%);
}
.about-hero .welcome-copy { padding-block: clamp(2.75rem, 5vw, 4.25rem) clamp(11rem, 26vw, 18rem); }
.about-hero h1 { max-width: 38rem; margin-bottom: 0; color: #25473f; font-size: clamp(2.8rem, 4.8vw, 3.8rem); line-height: 1.08; }
.about-hero .welcome-copy p { margin-top: 1.5rem; color: #3e5a52; }
.about-hero-subtitle { display: block; max-width: 19em; margin-top: .65rem; font-size: .62em; line-height: 1.3; letter-spacing: -.01em; text-wrap: wrap; }
.about-hero-since { display: block; margin-top: 1.8rem; color: #49665d; font-family: var(--sans); font-size: .8rem; font-weight: 600; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; }
.about-hero .hero-clouds { opacity: .4; }
.about-hero .hero-ridge-far { filter: hue-rotate(-48deg) saturate(.35) brightness(1.16); }
.about-hero .hero-ridge-mid { filter: hue-rotate(-62deg) saturate(.46) brightness(1.22); }
.about-hero .hero-ridge-near { filter: hue-rotate(-65deg) saturate(.52) brightness(1.24); }
.about-hero .hero-pines { filter: hue-rotate(-65deg) saturate(.55) brightness(1.35); }
.about-hero .hero-mark { right: clamp(3rem, 12vw, 13rem); bottom: 27%; width: clamp(12rem, 22vw, 17.5rem); filter: drop-shadow(0 0 2rem rgb(255 246 211 / 70%)); }
/* Low morning mist keeps the treetops defined and dissolves into the prose. */
.about-hero .hero-scene::after { content: ''; position: absolute; inset: auto 0 0; height: 5rem; background: linear-gradient(transparent, #f7f6f2); }
.about-page { background: var(--paper); }
@keyframes hero-drift { to { transform: translateY(var(--drift, 0)) rotate(var(--turn, 0deg)); } }
@keyframes hero-clouds { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-clouds { animation: hero-clouds 70s linear infinite; }
  @supports (animation-timeline: scroll()) {
    .hero-ridge-far, .hero-ridge-mid, .hero-ridge-near, .hero-mark { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-mark { --drift: 110%; --turn: 24deg; }
    .hero-ridge-far { --drift: 34%; }
    .hero-ridge-mid { --drift: 20%; }
    .hero-ridge-near { --drift: 9%; }
    .about-hero .hero-mark { --drift: -12%; --turn: 0deg; }
    .about-hero .hero-ridge-far { --drift: 22%; }
    .about-hero .hero-ridge-mid { --drift: 16%; }
    .about-hero .hero-ridge-near { --drift: 7%; }
    /* Profiles rarely scroll far, so the ring's descent spans the whole scroll range. */
    .member-hero .member-portrait::after { animation: ring-descend linear both; animation-timeline: scroll(root); }
  }
}
@keyframes ring-descend { to { translate: var(--ring-x) 6%; } }
/* Home is the patient page: principles over the skyline, then how to find a doctor, then a
   card for practitioners with the next event and membership. */
.section-icon { width: var(--section-icon); height: var(--section-icon); padding: .8rem; border-radius: 50%; background: var(--navy); object-fit: contain; }
.section-icon.green { background: var(--green); }
/* The principles rise over the treeline on a centered card, inset from the page margins
   like About's mission so it frames the hero rather than competing with it. */
.principles { background: var(--paper); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
/* Inset by the patient section's icon column so the card's edges line up with the
   "Need a Naturopathic Doctor?" text below. */
.principles-card { position: relative; z-index: 1; margin: -4.5rem calc(var(--section-icon) + var(--offer-gap)) 0; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.principles h2 { margin-bottom: .35rem; }
.principles-source { margin: 0; color: var(--muted-ink); font-size: 1.125rem; }
/* Each principle sits under its Latin maxim, set in capitals like an inscription. */
.editorial-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.editorial-principles li { color: var(--muted-ink); font-size: .96875rem; line-height: 1.55; text-wrap: balance; }
.editorial-principles [lang="la"] { display: block; margin-bottom: .4rem; color: var(--green); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.editorial-principles strong { display: block; margin-bottom: .25rem; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.patients { background: var(--mist); padding-block: clamp(3rem, 6vw, 4.5rem); }
/* Question and answer, the kinds of care, then the search. Wide screens set the care beside the answer. */
.patient-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon intro" "icon care" "icon action"; gap: 1.5rem var(--offer-gap); align-items: start; }
.patient-offer > .section-icon { grid-area: icon; }
.patient-intro { grid-area: intro; max-width: 64ch; }
.patient-intro p { margin: 0; }
/* Navy, so it reads as a different kind of card from the white principles above. */
.patient-care { grid-area: care; max-width: 40rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--radius); background: var(--navy); color: #e3eaf3; box-shadow: var(--shadow); }
.patient-care p { margin-bottom: .75rem; }
.patient-care ul { margin: 0; padding-left: 1.15rem; }
.patient-care li + li { margin-top: .35rem; }
.patient-care li::marker { color: var(--leaf); }
.patient-offer > .button { grid-area: action; justify-self: start; }
@media (min-width: 980px) {
  :root { --offer-gap: 3rem; }
  .patient-offer { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "icon intro care" "icon action care"; }
}
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.benefit img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.benefit h3 { font-size: 1.5rem; }
.benefit p { margin: 0; }
/* Home and About share the same event cards. One fills the row; multiple cards
   fill two columns on wide screens, including a half-width final odd card. */
.event-promotions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.home-event-promotions { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* On compact cards, keep the actions below and aligned with the text.
   The flexible first row aligns buttons across cards with different copy lengths. */
.event-promotion { display: grid; grid-template-columns: 3rem minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: start; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.event-promotion .section-icon { width: 3rem; height: 3rem; padding: .65rem; }
.event-promotion .actions { grid-column: 2; }
.event-promotion .eyebrow { margin-bottom: .35rem; }
.event-promotion h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.event-promotion p:not(.eyebrow) { margin: 0; color: var(--muted-ink); }
.event-promotion p:not(.eyebrow) + p { margin-top: .6rem; }
@media (min-width: 980px) {
  .event-promotions:has(> .event-promotion + .event-promotion) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* A single full-width card has room for its actions on the right. */
  .event-promotions > .event-promotion:only-child { grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
  .event-promotions > .event-promotion:only-child .actions { grid-column: 3; justify-content: flex-end; }
}
/* About closes on upcoming events, white cards continuing the membership band,
   then offers announcements to visitors who aren't ready to join. */
.about-closing { background: #edf0f8; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.about-closing:not(:has(.event-promotions, .announcement-invitation)) { display: none; }
/* Shared announcement invitation on About and Join. */
.announcement-invitation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); text-align: center; }
.announcement-invitation p { margin: 0; }
.announcement-invitation strong { color: var(--navy); font-family: var(--serif); font-weight: 500; }
.eyebrow { color: var(--green); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.page-share { display: inline-flex; }
.page-share[hidden], .share-button span[hidden] { display: none; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.share-icon { flex-shrink: 0; }
.page-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.page-tools .button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .85rem; border-color: transparent; border-radius: 999px; background: rgb(255 255 255 / 62%); font-size: .9rem; }
.page-tools .button:not(:disabled):not([aria-disabled="true"]):hover { border-color: transparent; background: #fff; color: var(--navy); text-decoration: underline; }
.page-tools .back-link:hover, .page-tools .back-link:focus-visible { box-shadow: none; }
.editorial-heading .page-tools { margin-bottom: 1.5rem; }
.event-details .actions { margin-top: 1.5rem; }
/* Footer. */
.footer-brand { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.35; color: #fff; }

.site-footer { background: var(--navy); color: #c9d6e6; padding-block: clamp(1.1rem, 2.2vw, 1.5rem); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer p { margin: 0; }
.site-footer a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: .5rem; }
.footer-links a:hover { background: #ffffff20; }
.footer-links svg { width: 28px; height: 28px; }
.footer-subscribe { color: inherit; background: transparent; border: 0; padding: .5rem .75rem; min-height: 44px; border-radius: .5rem; font: inherit; font-weight: 500; cursor: pointer; }
.footer-subscribe:hover, .footer-subscribe:focus-visible { color: #fff; background: #ffffff20; text-decoration: underline; }
/* Profile editor and photo controls. */
.profile-fields, .specialty-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .5rem 1.5rem; }
.profile-fields { container: profile-fields / inline-size; }
.credential-choice { display: grid; gap: .35rem; align-content: start; }
.credential-choice legend { margin: 0; font-size: .9rem; font-weight: 500; }
.credential-options { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; min-height: 2.75rem; }
.credential-title { display: grid; gap: .35rem; align-content: start; font-size: .9rem; font-weight: 500; }
.credential-title .role-checkbox { min-height: 2.75rem; }
/* Dr. belongs beside the name, with Title above it. Once that row stacks, both sit on the left. */
@container profile-fields (min-width: calc(520px + 1.5rem)) {
  .credential-title { justify-items: end; }
}
.profile-inputs label:not(.role-checkbox) { gap: .1rem; }
.account .profile-inputs > .role-checkbox { font-weight: 600; font-size: 1.125rem; white-space: normal; }
.account .profile-inputs > .role-checkbox input { width: 1.375rem; height: 1.375rem; }
.profile-fields + .profile-fields { margin-top: .75rem; }
/* Card header: title on the left, a read-only view-count strip on the right. */
.profile-staff-back { margin: 0 0 .75rem; }
main:has(.staff-profile-page) { background: var(--blue); }
.profile-staff-banner { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.5rem; margin: 0 0 1.25rem; padding: .35rem 0 1rem; background: var(--blue); color: #fff; }
.profile-staff-banner p { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.profile-staff-banner strong { font-weight: 700; }
.profile-staff-banner span { margin-left: .75rem; color: #d7e6f2; font-size: 1rem; font-weight: 500; }
.profile-staff-banner a { color: #fff; font-weight: 600; white-space: nowrap; }
.profile-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.25rem 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.profile-heading h2 { margin-bottom: 0; }
.profile-views { margin: 0; }
.profile-views-heading { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
#directory-profile .profile-views h3 { margin: 0; padding: 0; border: 0; color: var(--muted-ink); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.profile-views dl { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 0; }
.profile-views dl > div { display: flex; flex-direction: column-reverse; min-width: 4.25rem; }
.profile-views dt { color: var(--muted-ink); font-size: .75rem; line-height: 1.3; }
.profile-views dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.1; color: var(--ink); white-space: nowrap; }
/* Tooltips: a .tip container holds a small .tip-button immediately followed by its .tip-bubble.
   The bubble opens on hover or focus, aligns to the container's left edge and never exceeds its width. */
.tip { position: relative; }
.tip-button { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--muted-ink); font: 600 .8rem/1 var(--serif); cursor: help; }
.tip-button:hover, .tip-button:focus { color: var(--blue); }
.tip-bubble { position: absolute; z-index: 3; top: calc(100% + .45rem); left: 0; width: max-content; max-width: min(22rem, 100%); margin: 0; padding: .6rem .8rem; border-radius: .5rem; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; text-wrap: pretty; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .12s ease-out, visibility .12s; }
.tip-button:hover + .tip-bubble, .tip-button:focus + .tip-bubble { opacity: 1; visibility: visible; }
.profile-inputs > .form-actions { margin-top: 1rem; }
#directory-profile h3, #directory-profile .profile-specialties legend { padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--navy); margin-bottom: 1rem; }
#directory-profile h3 { margin-top: 1.5rem; }
#directory-profile textarea { display: block; width: 100%; max-width: 34rem; font: inherit; padding: .7rem; border: 1px solid #b8c9d2; border-radius: 4px; margin-bottom: 1rem; }
.profile-photo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block: 1rem; }
.profile-photo-controls [hidden] { display: none; }
.profile-photo-preview { position: relative; display: inline-block; flex: 0 0 112px; width: 112px; height: 112px; margin: .4rem; border-radius: 50%; background: #e4e9ec; }
.profile-photo-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; fill: #b4bfc6; border-radius: inherit; }
.profile-photo-preview .profile-headshot:not([hidden]) { position: relative; display: block; }
.profile-photo-controls [data-photo-open] { min-width: 9rem; }
.photo-remove { position: absolute; right: -.2rem; top: -.2rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: .35rem; border: 1px solid #cad5db; border-radius: 50%; color: var(--ink); background: white; box-shadow: 0 2px 5px #233b4b26; cursor: pointer; }
.photo-remove:not(:disabled):not([aria-disabled="true"]):hover { color: #9b3030; background: #fff1ef; border-color: #b96b62; }
.photo-remove svg { width: 100%; height: 100%; }
.profile-headshot { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; }
.photo-dialog .dialog-panel { max-width: 440px; }
/* The saved photo stays square; the circle previews how every page shows it, and
   lives on an overlay so it never becomes part of the canvas export. */
.photo-crop-frame { position: relative; width: min(100%, 320px); margin: 1rem auto; }
.photo-crop-frame::after { content: ''; position: absolute; inset: 0; border-radius: .5rem; pointer-events: none;
  background: radial-gradient(circle closest-side, transparent calc(100% - 2px), #036098 calc(100% - 2px), #036098 100%, rgb(255 255 255 / 68%) 100%); }
.photo-crop { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid #cad5db; border-radius: .5rem; background: #edf2f4; touch-action: none; cursor: grab; }
.photo-crop:active { cursor: grabbing; }
.photo-crop:focus-visible { outline: 3px solid #428c74; outline-offset: 3px; }
.photo-crop.is-drop-target { outline: 3px solid #428c74; outline-offset: 3px; background: #e0eee7; }
.photo-dialog input[type="range"] { accent-color: #428c74; padding: 0; }

/* Directory controls and listings. */
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; overflow-anchor: none; }
.directory-grid[hidden], .directory-view-switch[hidden] { display: none; }
.directory-toolbar { display: block; }
.directory-toolbar .directory-filters { position: relative; min-width: 0; }
.directory-view-switch { margin-inline-start: auto; display: flex; gap: .5rem; }
.directory-filter-bar .button { min-height: 40px; padding: .4rem 1.1rem; border-radius: .5rem; }
.directory-view-switch [aria-pressed="true"], .directory-view-switch .button.outline[aria-pressed="true"]:hover { background: var(--navy); border-color: var(--navy); color: white; }
.directory-map-mode { overflow: hidden; overflow-anchor: none; }
.directory-page { padding-block: clamp(2rem, 5vw, 4rem); min-height: 65vh; }
.directory-page:has(.directory-map-mode:not([hidden])) { padding-bottom: 1.5rem; }
.directory-page .directory-map-mode { margin-bottom: 0; position: relative; }
.directory-map-mode .map-feedback { position: absolute; bottom: 0; margin: 0; background: #f3f7f4; }
.directory-heading { margin-bottom: 2rem; }
.directory-filters { display: block; margin: 0 0 1.5rem; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.directory-filters label { flex: 1 1 16rem; max-width: 26rem; margin: 0; }
.directory-filters select { display: block; width: 100%; margin-top: .35rem; }
.directory-filters > a { margin: 0; padding-block: .7rem; }
.directory-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .5rem .75rem; }
.directory-filter-toggle { display: inline-flex; align-items: center; gap: .55rem; }
.directory-filter-toggle::after { content: ''; width: .55rem; height: .55rem; flex-shrink: 0; box-sizing: border-box; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); translate: 0 -.05rem; transition: transform .15s ease-out, translate .15s ease-out; }
.directory-filter-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.directory-filter-toggle[aria-expanded="true"]:not(:disabled):not([aria-disabled="true"]):hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.directory-filter-toggle[aria-expanded="true"]::after { transform: rotate(45deg); translate: 0 -.15rem; }
.directory-result-count { margin: 0; color: var(--muted-ink); font: inherit; font-size: .95rem; font-weight: 400; line-height: 1.4; }
.directory-filters[hidden], .directory-listing[hidden] { display: none; }
.directory-map-panel[data-animate-reveal] > summary { display: flex; align-items: center; gap: .35rem; min-height: 56px; padding: 0 1.25rem; color: var(--blue); font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.directory-map-panel[data-animate-reveal] > summary::-webkit-details-marker { display: none; }
.directory-map-panel[data-animate-reveal] > summary::before { content: '▸'; flex-shrink: 0; }
.directory-map-panel[data-animate-reveal][open] > summary::before { transform: rotate(90deg); }
.directory-clear-inline { position: relative; isolation: isolate; flex-shrink: 0; padding: 0 .65rem; height: 44px; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: .85rem; cursor: pointer; }
.directory-clear-inline::before { content: ''; position: absolute; z-index: -1; inset: 6px 0; border: 1px solid #a4b6c1; border-radius: .3rem; background: #f8fafb; }
.directory-clear-inline:hover, .directory-clear-inline:focus-visible { background: transparent; }
.directory-clear-inline:hover::before, .directory-clear-inline:focus-visible::before { background: #e2ebe6; }
.directory-clear-inline[hidden] { display: none; }
.directory-filter-controls { padding: 0 .75rem .75rem; }
.directory-search-row > label { width: 100%; }
.directory-filter-controls[hidden] { display: none; }
@media (min-width: 850px) {
  .directory-filter-controls:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: start; gap: 1.25rem; }
  .directory-filter-controls .directory-specialty-filters { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-filter-toggle::after { transition: none; }
}
.directory-search-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.directory-filter-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.directory-specialty-filters { border: 0; padding: 0; margin: 1.25rem 0 .5rem; min-width: 0; }
.directory-specialty-filters legend { font-size: .9rem; font-weight: 400; color: inherit; margin-bottom: .35rem; padding: 0; }
.directory-filter-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 0; }
.directory-filter-chips .specialty-filter-chip { min-height: 2rem; padding: .3rem .65rem; border: 1px solid #b6c9be; border-radius: 2rem; color: #345c3d; background: white; font: inherit; font-size: .8125rem; line-height: 1.4; cursor: pointer; }
.directory-filter-chips .specialty-filter-chip[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.directory-filter-chips .specialty-filter-chip:hover { text-decoration: none; box-shadow: inset 0 0 0 1px currentColor; }
.directory-heading h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .7rem; }
.directory-heading > p:last-child { color: var(--muted-ink); font-size: 1.1rem; }
/* Cards are for scanning, so everything shares one left edge: the portrait beside the
   name, then practice, place and specialties, over a faint ridge at the
   foot as on the Board. Only the name is required, so every block stands on its own. */
.directory-listing { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 1.6rem 1.6rem 2.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.directory-listing:hover { transform: translateY(-3px); border-color: #c3d3e3; box-shadow: 0 1px 2px rgb(18 41 74 / 6%), 0 22px 44px -18px rgb(18 41 74 / 32%); }
@media (prefers-reduced-motion: reduce) { .directory-listing, .directory-listing:hover { transition: none; transform: none; } }
.directory-listing::before { content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: 2rem; background: url('/assets/immutable/0e5f0db292de8f14afe2/hero-ridge-far.svg') repeat-x var(--ridge-x, 50%) 100% / auto 100%; opacity: .18; mask-image: linear-gradient(#000 35%, transparent 95%); }
.directory-listing:nth-child(3n+2) { --ridge-x: 18%; }
.directory-listing:nth-child(3n) { --ridge-x: 82%; }
.directory-person { display: flex; align-items: center; gap: 1.6rem; margin-bottom: .85rem; }
.directory-person:has(.member-portrait) { margin-bottom: 1.35rem; }
.directory-person > div:last-child { min-width: 0; }
/* A thin blue edge and an offset green ring overlap like the logo's circles without
   repeating the mark. It descends from upper to lower right on card hover, as it does
   when a profile scrolls. */
.member-portrait { --ring-x: 6%; --ring-y: -6%; position: relative; isolation: isolate; flex: none; width: 6rem; height: 6rem; pointer-events: none; }
.member-portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #e3eae8; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #036098, 0 10px 22px -12px rgb(18 41 74 / 45%); }
.member-portrait::after { content: ''; position: absolute; inset: -4px; z-index: -1; border: 1.5px solid #2aa81f; border-radius: 50%; translate: var(--ring-x) var(--ring-y); pointer-events: none; transition: translate .6s ease; }
.directory-listing:hover .member-portrait, .board-person:has(h3 a):hover .member-portrait { --ring-y: 6%; }
@media (prefers-reduced-motion: reduce) { .member-portrait::after { transition: none; } }
.directory-listing h2 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 .3rem; }
.directory-listing h2 a { color: var(--navy); text-decoration: none; }
.directory-listing h2 a::after { content: ''; position: absolute; inset: 0; }
.directory-listing:hover h2 a, .directory-listing h2 a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }
.directory-listing h3 { margin: 0 0 .3rem; font-size: 1.15rem; line-height: 1.3; }
.directory-listing, .member-page { overflow-wrap: anywhere; }
.directory-city { display: flex; align-items: center; gap: .3rem; margin: 0; color: var(--muted-ink); font-size: .95rem; }
.directory-listing .directory-city { margin-bottom: 1rem; }
.place-icon { flex: none; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.specialty-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.specialty-tags li { padding: .3rem .75rem; border-radius: 999px; background: #edf4ee; color: #2f5d38; font-size: .875rem; font-weight: 500; line-height: 1.35; }
.directory-listing .specialty-tags { margin-bottom: 1.4rem; }
.directory-listing .specialty-tags li { padding: .25rem .65rem; font-size: .8125rem; }
.directory-profile-link { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.directory-profile-link .link-arrow { transition: transform .2s; }
.directory-listing:hover .directory-profile-link .link-arrow { transform: translateX(3px); }
.directory-listing:hover .directory-profile-link, .directory-profile-link:hover, .directory-profile-link:focus-visible { text-decoration: underline; }
.link-arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
/* Public member profiles. */
/* Profiles open on a softened version of Home's sky: only the distant ridges, lightened
   and dissolving into the page, so the practitioner rather than the scene leads. The
   logo stays in the site header; the portrait's rings only allude to it. */
.member-page, main:has(> .member-page) { background: var(--paper); }
.member-hero { --scene-height: clamp(9rem, 17vw, 14rem); background: linear-gradient(180deg, #f7f9fc 0%, #e9f0f7 60%, var(--paper) 100%); }
.member-hero .hero-mark, .member-hero .hero-ridge-near, .member-hero .hero-pines { display: none; }
.member-hero .hero-clouds { opacity: .45; }
.member-hero .hero-ridge-far { opacity: .45; }
.member-hero .hero-ridge-mid { opacity: .5; filter: saturate(.85) brightness(1.25); }
.member-hero .hero-scene::after { content: ''; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, var(--paper)); }
.member-hero-copy { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "actions actions" "identity portrait"; align-items: center; column-gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(1.25rem, 3vw, 2rem) clamp(5.5rem, 12vw, 8.5rem); }
.member-page-actions { grid-area: actions; justify-self: stretch; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.member-identity { grid-area: identity; min-width: 0; }
.member-hero .member-portrait { grid-area: portrait; justify-self: center; --size: clamp(9rem, 17vw, 13rem); width: var(--size); height: var(--size); }
.member-hero .member-portrait img { box-shadow: 0 0 0 4px #fff, 0 0 0 6px #036098, 0 18px 36px -18px rgb(18 41 74 / 45%); }
.member-hero .member-portrait::after { inset: -7px; border-width: 2px; }
.member-title { margin: 0 0 .85rem; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.member-hero h1 { margin-bottom: .5rem; font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.06; }
.member-practice { margin: 1.1rem 0 .2rem; color: var(--navy); font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.25; }
.member-hero .directory-city { color: #2a4266; font-size: 1.05rem; }
.member-contact { margin-top: 1.75rem; }
.member-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.member-actions .button { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; }
.member-actions .button.outline { background: rgb(255 255 255 / 72%); }
.member-actions .contact-icon { flex-basis: 1.15rem; width: 1.15rem; height: 1.15rem; stroke: currentColor; }
.member-phone { display: inline-flex; align-items: center; gap: .55rem; padding-block: .75rem; font-weight: 600; }
.contact-icon { flex: 0 0 1.4rem; width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Specialties and the practice rise over the treeline, as Home's principles do. */
.member-body { position: relative; z-index: 1; display: grid; gap: 1.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.member-body > :first-child { margin-top: -3rem; }
.member-body:not(:has(> *)) { display: none; }
.member-card { padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.member-card h2 { font-size: 1.45rem; }
.member-specialties .specialty-tags li { padding: .45rem .95rem; font-size: .95rem; }
/* Every profile closes on the profession's six principles, linking to Home. */
.member-principles { border-top: 1px solid var(--line); }
.member-principles a { display: grid; justify-items: center; gap: .45rem; padding-block: clamp(1.75rem, 4vw, 2.5rem); text-align: center; text-decoration: none; }
.member-principles-title { color: var(--navy); font-family: var(--serif); font-size: 1.1rem; }
.member-principles a:hover .member-principles-title { text-decoration: underline; }
.member-principles-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.75rem; margin: 0; padding: 0; list-style: none; color: var(--green); font-size: .75rem; font-weight: 600; line-height: 2; letter-spacing: .16em; text-transform: uppercase; }
.member-principles-list li { white-space: nowrap; }
.profile-specialties { min-width: 0; border: 0; padding: 0; margin: 1.5rem 0; }
.profile-specialties legend { width: 100%; padding-inline: 0; }
.specialty-options { row-gap: 0; margin-bottom: .5rem; }
.specialty-custom { display: grid; gap: .5rem; }
.specialty-custom p { margin: 0; font-size: .9rem; font-weight: 500; }
.profile-inputs .specialty-options .specialty-option { display: flex; align-items: center; gap: .6rem; margin: 0; min-height: 2rem; }
@media (any-pointer: coarse) {
  .profile-inputs .specialty-options .specialty-option { min-height: 2.75rem; }
}
.specialty-option input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin: 0; }
/* Member and directory maps. */
.map-member-link { display: flex; align-items: center; gap: .8rem; max-width: 16rem; padding-right: .65rem; margin-right: -.65rem; font-size: 1rem; font-weight: 600; }
.map-member-link > span { min-width: 0; overflow-wrap: anywhere; }
.map-member-link img { width: 56px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 50%; }
.map-member-link, .map-member-link:hover, .map-member-link:focus { text-decoration: none; color: var(--blue); }
.map-member-link:hover { background: #edf1f3; border-radius: .6rem; }
.map-member-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.map-member-practice { display: block; margin-top: .25rem; color: #59656b; font-size: .85rem; font-weight: 400; }
.member-location address { font-style: normal; margin-bottom: 1rem; }
/* Wide screens set the map beside the address instead of under it. */
@media (min-width: 900px) {
  .member-location:has(.practice-map-reveal) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); grid-template-rows: auto auto 1fr; column-gap: 2.5rem; }
  .member-location .practice-map-reveal { grid-column: 2; grid-row: 1 / -1; margin: 0; }
}
.directory-map-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 1.5rem; }
.directory-map-panel summary { padding: 1rem 1.25rem; cursor: pointer; color: var(--blue); font-weight: 600; }
.directory-map-panel summary:hover { background: #eaf2ed; }
.directory-map-canvas { height: 26rem; background: #e7eeea; }
.member-location .directory-map-canvas { height: 23rem; }
.practice-map-reveal { position: relative; overflow: hidden; margin-top: 1rem; }
.practice-map-reveal summary { position: relative; display: flex; align-items: center; justify-content: center; min-height: 23rem; isolation: isolate; list-style: none; }
.practice-map-reveal summary::-webkit-details-marker { display: none; }
.practice-map-reveal:not([open]) summary::before { content: ''; position: absolute; inset: -1rem; z-index: -1; filter: blur(7px); background: linear-gradient(115deg, transparent 42%, #b7d4df 43% 49%, transparent 50%), repeating-linear-gradient(30deg, transparent 0 55px, #fff 56px 64px, transparent 65px 120px), repeating-linear-gradient(120deg, #dce8da 0 65px, #f7f8ef 66px 76px, #e6ebdf 77px 135px); }
.map-show-label { padding: .7rem 1.3rem; color: white; background: var(--blue); border-radius: .4rem; box-shadow: 0 3px 14px #23455630; }
.practice-map-reveal summary:hover .map-show-label { background: #244e76; }
.practice-map-reveal summary:focus-visible { outline: 3px solid #be902b; outline-offset: -4px; }
.map-hide-label, .practice-map-reveal[open] .map-show-label { display: none; }
.practice-map-reveal[open] .map-hide-label { display: inline; }
.practice-map-reveal[open] summary { position: absolute; inset: 0 0 auto; z-index: 1; min-height: 0; height: 3rem; padding: .6rem 1rem; justify-content: flex-end; font-size: .85rem; background: #f3f7f4; }
/* Keep the map's rendering surface stable before, during, and after loading. */
.member-location .practice-map-reveal .directory-map-canvas { height: 23rem; }
.practice-map-reveal[data-map-ready="true"] summary { display: none; }
.practice-map-reveal .map-feedback { position: absolute; inset: auto 0 0; margin: 0; background: #f3f7f4; }
.directory-map-panel .map-feedback { padding: 0 1rem; font-size: .9rem; }
.map-feedback:empty { display: none; }
.map-directions { font-size: .95rem; }
/* Own the inset only for our member bubbles, so the close target meets the shell. */
.directory-map-canvas .gm-style-iw-c:has(.map-member-popup) { padding: 0 !important; border-radius: 8px; }
.directory-map-canvas .gm-style-iw-d:has(.map-member-popup) { overflow: auto !important; }
.map-member-popup { position: relative; min-height: 44px; padding: 12px 44px 12px 12px; }
.map-member-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0 8px 0 8px; background: transparent; color: #59656b; font-family: Arial, sans-serif; font-size: 1.25rem; font-weight: 400; line-height: 1; cursor: pointer; }
.map-member-close:hover, .map-member-close:focus-visible { background: #edf1f3; color: #243c49; text-decoration: none; }
@media (max-width: 680px) {
  .member-hero-copy { grid-template-columns: minmax(0, 1fr); grid-template-areas: "actions" "portrait" "identity"; justify-items: center; text-align: center; padding-bottom: clamp(5rem, 22vw, 7rem); }
  .member-hero .member-portrait { --size: 9rem; margin: .5rem 0 2rem; }
  .member-hero .directory-city, .member-actions { justify-content: center; }
  .member-actions li { flex: 1 1 auto; }
  .member-actions .button { justify-content: center; width: 100%; }
  .directory-person { gap: 1.35rem; }
  .directory-person .member-portrait { width: 5rem; height: 5rem; }
  .directory-map-canvas { height: 22rem; }
}
/* Profile map editor. */
.map-dialog .dialog-panel { width: min(52rem, calc(100% - 2rem)); }
.map-view-controls { display: flex; margin: 10px; background: white; border-radius: 3px; box-shadow: 0 1px 4px #0004; }
.map-view-controls .button { padding: 0 16px; height: 40px; border: 0; border-radius: 0; background: white; color: #565656; font: 18px Arial, sans-serif; }
.map-view-controls .button:not(:disabled):not([aria-disabled="true"]):hover { background: #f4f4f4; color: #333; text-decoration: none; }
.map-view-controls .button[aria-pressed="true"] { background: white; color: #222; font-weight: 600; }
.map-view-controls .button + .button { position: relative; }
.map-view-controls .button + .button::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: #e6e6e6; }
.profile-map-canvas { height: min(52vh, 28rem); min-height: 16rem; border: 1px solid var(--line, #cbd5db); border-radius: .5rem; background: #edf2f0; }
.map-pin-control { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .25rem; }
.map-pin-control small { color: #526876; }

/* Board page. */
.board-page { max-width: 1020px; padding-block: clamp(2.5rem, 6vw, 5rem); min-height: 65vh; }
.board-heading { margin-bottom: 2.5rem; }
.board-heading h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); margin-bottom: .75rem; }
.board-members { margin-top: 3.25rem; padding-top: 2.75rem; border-top: 1px solid var(--line); }
.board-members h2 { margin-bottom: 1.5rem; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 1.5rem; }
/* Officer cards borrow About's dawn: warm light behind the portrait and a faint
   sage ridge along the foot of the card. */
/* Name at the top, email pinned to the foot so it lines up across a row, and the
   portrait centered on the right across both. */
.board-person { --glow: calc(100% - 6.2rem) 50%; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; column-gap: 1.2rem; padding: 1.8rem 2rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  background: radial-gradient(circle at var(--glow), rgb(255 227 185 / 75%), rgb(255 234 204 / 0) 10rem), linear-gradient(180deg, #f6f4ea, #fff 70%); }
.board-person:not(:has(.member-portrait)) { --glow: calc(100% - 3rem) 0; }
.board-person::before { content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: 2.375rem; background: url('/assets/immutable/0e5f0db292de8f14afe2/hero-ridge-far.svg') repeat-x var(--ridge-x, 50%) 100% / auto 100%; filter: hue-rotate(-48deg) saturate(.35) brightness(1.16); opacity: .45; mask-image: linear-gradient(#000 35%, transparent 95%); }
.board-person:nth-child(3n+2) { --ridge-x: 18%; }
.board-person:nth-child(3n) { --ridge-x: 82%; }
.board-position { color: var(--green); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem; }
.board-person-heading { min-width: 0; margin-bottom: 1.4rem; }
.board-person:has(h3 a) { cursor: pointer; }
.board-person .member-portrait { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 7rem; height: 7rem; margin-right: .7rem; }
.board-person h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin: 0; overflow-wrap: anywhere; }
.board-person h3 a { color: var(--navy); text-decoration: none; text-decoration-thickness: 1px; }
.board-person h3 a::after { content: ''; position: absolute; inset: 0; }
.board-person:has(h3 a):hover h3 a, .board-person h3 a:hover, .board-person h3 a:focus-visible { text-decoration: underline; }
@media (max-width: 420px) { .board-person { column-gap: 1rem; padding: 1.4rem 1.4rem 1.1rem; } .board-person .member-portrait { width: 5.5rem; height: 5.5rem; } }
.board-email { position: relative; z-index: 1; grid-column: 1; align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: .65rem; max-width: 100%; overflow-wrap: anywhere; text-decoration: none; cursor: pointer; border-radius: 4px; padding: .3rem .5rem; margin-inline: -.5rem; }
.board-email svg { flex-shrink: 0; }
.board-email:hover, .board-email:focus-visible { color: var(--green); background: #eaf2e8; text-decoration: underline; }

/* Account layout, payment history and membership. */
.account { padding-block: 3rem; min-height: 60vh; }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc((100% - 1.5rem) / 2))), 1fr)); gap: 1.5rem; }
.account-grid > .account-card, .account-grid > #account-preferences > .account-card { height: 100%; }
#account-preferences { min-width: 0; }
#account-preferences:empty { display: none; }
.membership-section { margin-top: 0; }
.payments-heading, .membership-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.payments-heading h2, .membership-heading h2 { margin-bottom: .35rem; }
.payments-heading p, .membership-heading p { margin: 0; color: #596a75; font-size: .95rem; }
.payments-heading .button, .membership-heading .button { font-size: .85rem; }
.membership-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.payment-history { overflow-x: auto; border: 1px solid var(--line); border-radius: .4rem; background: white; }
.payment-history table { width: 100%; border-collapse: collapse; }
.payment-history th { padding: .8rem 1.1rem; background: #edf2f4; color: #52616b; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.payment-history td { padding: 1.15rem 1.1rem; border-top: 1px solid #e2e9ed; font-variant-numeric: tabular-nums; }
.payment-history th:nth-child(3), .payment-history .payment-amount { text-align: right; }
.payment-amount { color: var(--blue); font-size: 1.1rem; font-weight: 600; white-space: nowrap; }
.payment-history th:last-child, .payment-history td:last-child { text-align: right; }
.payment-invoice { display: inline-block; padding: .45rem .65rem; border-radius: .3rem; background: #edf4f8; color: var(--blue); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.payment-invoice:hover { background: #dcebf4; text-decoration: underline; }
.payment-unavailable { color: #657580; font-size: .85rem; }
@media (max-width: 540px) {
  .payment-history th, .payment-history td { padding: .8rem .55rem; }
  .payment-history th { font-size: .65rem; }
  .payment-invoice { padding: .5rem .3rem; }
}
.membership-current { margin: 1rem 0; padding: 1.25rem 1.4rem; background: white; border: 1px solid #cfdee7; border-left: 4px solid var(--blue); border-radius: .4rem; }
.membership-current-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: .75rem; color: var(--blue); font-size: 1.1rem; }
.membership-billing-status { padding: .2rem .6rem; background: #edf2f4; color: #52616b; border-radius: 1rem; font-size: .75rem; text-transform: capitalize; }
.membership-current .billing-renewal p { margin-bottom: .65rem; }
.billing-scheduled-change { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.membership-current .button { font-size: .85rem; padding: .5rem .75rem; }
.membership-plan-intro { margin-top: 2rem; }
.membership-plan-intro h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.membership-status { border-left: 4px solid var(--green); padding: .75rem 1rem; background: #eef5eb; font-size: 1.1rem; font-weight: 600; }
.membership-status-inactive { border-left-color: var(--blue); background: #e5eef5; color: var(--blue); }
.membership-status-honorary { border-left-color: #d4a017; background: #fff3c4; color: #806000; }
.membership-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 1.5rem; margin-block: 1.5rem; }
.membership-plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: white; box-shadow: var(--shadow); }
.membership-plan h3 { margin: 0 0 1rem; font-size: 1.3rem; }
.membership-plan-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .75rem; margin-bottom: .3rem; }
.membership-plan-heading h3 { margin: 0; }
.membership-renewal-badge { display: inline-block; margin: 0; padding: .3rem .65rem; border-radius: 1rem; background: #edf2f4; color: #52616b; font-size: .8rem; line-height: 1.35; }
.membership-price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; }
.membership-price-row > button { margin-left: auto; }
.membership-price-row + .membership-price-row { border-top: 1px solid #e4e8ec; }
.membership-price-row strong { font-size: 1.6rem; color: var(--blue); }
.membership-price-row small { display: block; margin-top: .35rem; color: #496b43; }
.account-card { padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
/* A full-width account card uses the standard h2 size. Settings is the
   exception: its cards share a two-column grid, and those headings stay smaller
   so the longer labels fit a half-width card. Dialog headings set their own size. */
.account-grid .account-card h2 { font-size: 1.5rem; }
.account-narrow { max-width: 32rem; }
/* Mailing preferences and subscriber controls. */
.site-roles { margin-top: 0; }
/* The association snapshot uses its own columns, independent of the user table. */
.users-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; margin-bottom: 1.75rem; }
.users-controls .role-filter { margin-bottom: 0; }
.membership-snapshot { position: relative; padding-left: 1.5rem; }
.membership-snapshot::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.3rem; border-left: 1px solid var(--line); }
.account .membership-snapshot h3 { margin: 0 0 .85rem; padding: 0; border: 0; color: var(--muted-ink); font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.membership-snapshot dl { margin: 0; }
.membership-snapshot dt { color: var(--muted-ink); font-size: .75rem; line-height: 1.4; }
.membership-snapshot dd { margin: 0; font-family: var(--serif); line-height: 1.1; }
.membership-snapshot .snapshot-headline, .membership-snapshot .snapshot-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.snapshot-headline > div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .15rem; }
.snapshot-headline dd { color: var(--blue); font-size: 1.85rem; font-weight: 600; }
.membership-snapshot .snapshot-plan-grid { margin-top: 1rem; row-gap: .75rem; }
.snapshot-plan-grid > div { display: flex; align-items: baseline; gap: .55rem; }
.snapshot-plan-grid dd { order: -1; flex-shrink: 0; min-width: 1.5rem; font-size: 1.25rem; }
.account .snapshot-rate-status { color: var(--muted-ink); font-size: .75rem; margin: .5rem 0 0; }
@media (min-width: 801px) {
  .users-controls .role-filter:has(input[type="search"]) { max-width: min(32rem, calc(100% - 1.5rem)); }
}
@media (max-width: 800px) {
  .users-overview { grid-template-columns: 1fr; gap: 1.5rem; }
  .membership-snapshot { padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
  .membership-snapshot::before { display: none; }
}
@media (max-width: 420px) {
  .membership-snapshot .snapshot-headline, .membership-snapshot .snapshot-plan-grid { column-gap: 1rem; }
  .snapshot-headline dd { font-size: 1.4rem; }
}
#subscription-tools .account-card, #account-preferences .account-card { margin-top: 0; }
.mailing-guide { margin: .75rem 0 1.15rem; }
.mailing-guide > summary { font-weight: 600; }
.mailing-reference, .roster-comp-card { margin: .65rem 0 0; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: .5rem; background: #f5f8fa; }
.mailing-reference-lists { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; margin: 0; }
.mailing-reference-lists > div:only-child { grid-column: 1 / -1; }
.mailing-reference-lists > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.mailing-reference dt { margin: 0; font-size: .95rem; }
.mailing-reference-and { display: inline-block; max-width: 100%; }
.mailing-reference a[href^="mailto:"] { color: var(--navy); font-weight: 600; }
.mailing-reference dd { margin: .15rem 0 0; }
.mailing-reference a { overflow-wrap: anywhere; text-underline-offset: .15em; }
.mailing-reference-senders, .mailing-reference-audience { font-size: .85rem; color: var(--muted-ink); }
.mailing-reference dd.mailing-reference-derived { margin-top: .65rem; font-size: .95rem; }
.mailing-reference-from { font-size: .85rem; color: var(--muted-ink); overflow-wrap: anywhere; }
.mailing-reference dd.mailing-reference-from { margin-top: .35rem; }
.mailing-reference-from > span { color: var(--ink); font-weight: 600; margin-right: .25em; }
.mailing-reference p { margin: 0 0 .65rem; color: var(--ink); font-size: .85rem; max-width: none; }
@media (max-width: 760px) {
  .mailing-reference-lists { grid-template-columns: 1fr; gap: .65rem; }
  .mailing-reference-lists > div + div { padding: .65rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
.subscription-options { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.25rem; margin-block: .8rem; }
.subscription-option { flex: 0 0 auto; }
/* Settings stacks the lists one per line; the Manage Recipients table keeps them in a row. */
#account-preferences h2 { margin-bottom: 1.4rem; }
#account-preferences .subscription-options { flex-direction: column; align-items: flex-start; gap: .9rem; }
#account-preferences .subscription-option { width: 100%; }
.account .subscription-description { margin: .25rem 0 0 1.65rem; color: var(--muted-ink); font-size: .85rem; line-height: 1.45; }
.subscription-unavailable label, .subscription-unavailable input { cursor: not-allowed; }
/* Disabled options share one muted treatment, whether unavailable or always on,
   with a short parenthetical .option-note saying why. */
.account .role-checkbox:has(input:disabled) { color: #6b747a; }
.account .role-checkbox input:disabled { opacity: .55; }
.option-note { color: var(--muted-ink); font-weight: 400; }
.account .role-checkbox:has(.option-note) { white-space: normal; }
.subscriber-table .option-note { display: none; } /* administrators know the constraints */
.subscriber-table td { min-width: 23rem; }
.subscriber-table .subscriber-edit-cell { min-width: 0; width: 1%; white-space: nowrap; }
.subscriber-edit-toggle { display: inline-flex; align-items: center; gap: .4rem; border: 0; padding: .35rem; background: transparent; color: var(--blue); font: inherit; cursor: pointer; border-radius: .3rem; }
.subscriber-edit-toggle::before { content: ''; width: .625rem; height: .375rem; background: url('/assets/immutable/a34164a7490296942236/chevron-down.svg') center / contain no-repeat; transform: rotate(-90deg); }
.subscriber-edit-toggle[aria-expanded="true"]::before { transform: rotate(0); }
.subscriber-edit-toggle:not(:disabled):not([aria-disabled="true"]):hover { background: #e5edf3; }
.subscriber-edit { font-weight: 400; overflow: hidden; contain: inline-size; }
.pending-confirmation { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; margin-top: .25rem; font-size: .85rem; font-weight: 400; color: #52616b; }
.account .pending-confirmation form button { justify-self: end; }
.subscription-confirmation { justify-content: flex-start; }
.subscriber-edit form { text-align: left; max-width: 26rem; padding: 1rem .5rem; }
.subscriber-filters { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: end; margin: 1rem 0; }
.subscriber-filters .role-filter { margin: 0; }
.subscriber-filters .role-filter:first-child { flex: 0 1 32rem; }
.subscriber-filters .role-filter:last-child { flex: 0 1 14rem; }
/* Administration tables and role popovers. */
.role-filter { margin: 1rem 0; }
.role-filter:has(input[type="search"]) { width: 100%; max-width: 32rem; }
.role-table-scroll { overflow-x: auto; }
.role-table { width: auto; margin-inline: auto; border-collapse: collapse; }
.role-table th, .role-table td { padding: .85rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.role-table th:first-child { text-align: right; padding-right: 1.2rem; }
.role-table th:nth-child(2), .role-table td:nth-child(2) { padding-left: 1.2rem; }
/* Reserve label space in the columns, not their naturally sized buttons. */
.role-table .site-role-column { min-width: 12rem; white-space: nowrap; padding-inline: 1.2rem; }
.role-table .site-role-column + :is(th, td) { padding-left: 1.2rem; }
.role-table .organization-role-column { min-width: 20rem; }
.last-active { font-size: .75rem; font-weight: 400; color: #637383; }
.activity-badge { display: inline-block; padding: .2rem .55rem; border-radius: 999px; background: #dce5eb; color: #526777; line-height: 1.4; }
.role-table .last-active-column { min-width: 8rem; white-space: nowrap; padding-inline: 1.2rem; }
.last-active time { cursor: help; }
.last-active time:hover { text-decoration: underline dotted; }

.mail-log-table td { overflow-wrap: anywhere; }
.mail-log-table #mail-log-more a { color: var(--blue); }
.role-table th span { font-weight: 400; overflow-wrap: anywhere; }
.role-table .account-profile-link { display: block; margin-top: .35rem; font-size: .875rem; font-weight: 600; }
form[data-inline-pending] :is(.role-checkbox, button) { position: relative; padding-right: 1.5rem; }
.role-table form[data-inline-pending][inert], .role-panel form[data-inline-pending][inert] { opacity: 1; }
.role-table [inert], .role-panel [inert] { opacity: .55; }
.organization-role-button { max-width: 18rem; text-align: left; }
.role-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-summary span + span::before { content: ", "; }
.organization-role-children { margin-left: 1rem; padding-left: .65rem; border-left: 1px solid var(--line); }
.role-panel { position: fixed; inset: auto; margin: 0; width: 17rem; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; padding: 1rem; border: 1px solid #aabcc6; border-radius: .35rem; background: white; color: var(--ink); box-shadow: 0 .5rem 1.5rem #102b4025; opacity: 0; transform: translateY(-4px); transition: opacity .15s ease-out, transform .15s ease-out, display .15s allow-discrete, overlay .15s allow-discrete; }
.role-panel:popover-open { opacity: 1; transform: translateY(0); }
@starting-style {
  .role-panel:popover-open { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .role-panel { transition: none; transform: none; }
}
.role-panel h3, .role-panel p { margin: 0 0 .7rem; }
.role-panel .organization-role-name { margin-bottom: .2rem; }
.role-panel .membership-badge { display: block; width: fit-content; padding: .15rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.membership-badge-paying { color: #174d71; background: #e5f1f8; }
.membership-badge-honorary { color: #35603a; background: #e8f2e3; }
.membership-badge-none { color: #52616b; background: #edf0f2; }
.admin-membership { min-width: 19rem; }
.admin-membership .billing-renewal { contain: inline-size; font-weight: 400; font-size: .875rem; }
.admin-membership .billing-renewal > p { margin-bottom: .25rem; }
.billing-renewal-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-membership .billing-renewal-actions { gap: .3rem; flex-wrap: nowrap; justify-content: flex-end; }
.admin-membership .billing-renewal-actions .button { padding: .3rem .45rem; font-size: .8rem; min-height: 2rem; }
.role-panel .honorary-renewal-note { display: flex; gap: .45rem; padding: .55rem .65rem; border-radius: .4rem; color: #775014; background: #fff4d8; line-height: 1.3; }
.honorary-renewal-note svg { flex: 0 0 1rem; width: 1rem; height: 1rem; margin-top: .15rem; }
.role-panel form { margin: .65rem 0; }
.role-panel p:last-child { margin: .85rem 0 0; }
.site-role-options { display: grid; gap: .65rem; border: 0; margin: 0; padding: 0; }
.site-role-options + .role-checkbox { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid #d5e0e6; }
.button.delete-account { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-color: #a52b36; background: #a52b36; color: #fff; }
.button.delete-account svg { width: 1.05rem; height: 1.05rem; flex: none; }
.button.delete-account:not(:disabled):not([aria-disabled="true"]):hover { background: #8c2430; border-color: #8c2430; }
.role-panel .delete-account { width: auto; margin-top: .85rem; padding: .4rem .75rem; font-size: .85rem; background: transparent; color: #a52b36; }
.role-panel .delete-account svg { width: .95rem; height: .95rem; }
.role-panel .delete-account:not(:disabled):not([aria-disabled="true"]):hover { background: #a52b36; border-color: #a52b36; color: #fff; }
.site-role-options legend { margin-bottom: .65rem; font-size: .9rem; color: #52616b; }
/* Account notices and toasts. */
.account-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 2rem; }
.account-notices p { padding: 1rem; background: var(--muted); border-left: 4px solid var(--blue); }
.confirmation-toast { position: fixed; left: 50%; bottom: 2rem; z-index: 100; width: max-content; max-width: min(34rem, calc(100vw - 2rem)); display: flex; align-items: center; gap: .8rem; padding: 1rem 1.5rem; border: 1px solid #70a773; border-radius: .8rem; background: rgb(255 255 255 / .9); backdrop-filter: blur(6px); color: var(--ink); box-shadow: 0 .3rem 1rem #102b4020; font-weight: 600; overflow: hidden; pointer-events: none; animation: confirmation-toast var(--toast-duration, 4.6s) both; }
.confirmation-check { display: block; flex-shrink: 0; width: 2rem; height: 2rem; }
.confirmation-toast.is-error { border-color: #b45345; }
.confirmation-toast:has(.confirmation-dismiss) { pointer-events: auto; padding-right: 3.5rem; }
.confirmation-toast:has(.confirmation-dismiss)::after { pointer-events: none; }
.confirmation-dismiss { position: absolute; top: 0; right: 0; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-top-right-radius: .8rem; color: inherit; font-size: 1.4rem; width: 44px; height: 44px; cursor: pointer; }
.confirmation-copy { display: grid; gap: .2rem; }
.confirmation-subtitle { font-size: .85rem; font-weight: 400; line-height: 1.4; color: #52616b; }
.confirmation-toast[popover] { inset: auto; margin: 0; background: rgb(255 255 255 / .62); backdrop-filter: blur(2px); }
.confirmation-toast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / .55) 50%, transparent 75%); animation: confirmation-sheen 1.1s ease-in-out both; }
.confirmation-toast.is-long-lived::after { animation: confirmation-sheen-repeat 5s ease-in-out infinite; animation-play-state: inherit; }
@keyframes confirmation-toast { 0% { opacity: 0; transform: translate(-50%, -20px); } 8%, 92% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 20px); } }
@keyframes confirmation-sheen { from { transform: translateX(-140%); } to { transform: translateX(140%); } }
@keyframes confirmation-sheen-repeat { 0% { transform: translateX(-140%); } 22%, 100% { transform: translateX(140%); } }
@media (prefers-reduced-motion: reduce) {
  .confirmation-toast { animation: none; transform: translateX(-50%); }
  .confirmation-toast::after, .confirmation-toast.is-long-lived::after { animation: none; background: none; }
}
.account-alternative { margin-top: 1.5rem; }
.account-alternative strong { font-weight: 600; }
.account details { font-size: .9rem; }
.account summary { cursor: pointer; color: var(--blue); }
/* Dialogs and billing presentation. */
.sign-in-dialog { display: flex; align-items: center; justify-content: center; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--ink); }
.sign-in-dialog:not([open]) { display: none; pointer-events: none; }
.sign-in-dialog[open] { touch-action: manipulation; }
.dialog-panel { position: relative; width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 2.25rem; border-radius: 1.1rem; background: #fff; box-shadow: 0 2rem 5rem rgb(18 41 74 / 35%); }
#billing-plan-dialog .dialog-panel, #billing-renewal-dialog .dialog-panel { width: min(38rem, calc(100% - 2rem)); }
#billing-plan-dialog .form-actions, #billing-renewal-dialog .form-actions { gap: .65rem; }
.billing-dialog .dialog-panel { width: min(32rem, calc(100% - 2rem)); padding: clamp(1.25rem, 4vw, 2rem); border-radius: 1rem; }
.billing-eyebrow { margin: 0 0 .35rem; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.billing-dialog h2 { margin: 0 0 1.2rem; font-size: 1.55rem; }
.billing-order { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: .6rem; background: #eef5f8; color: var(--blue); }
.billing-order strong { font-size: 1.5rem; white-space: nowrap; }
.billing-renewal-note, .billing-security { font-size: .8rem; line-height: 1.45; color: #536775; }
.billing-renewal-note { margin: 1rem 0; }
.billing-pay { width: 100%; min-height: 46px; }
.billing-security { text-align: center; margin: .65rem 0 0; }
.billing-dialog [hidden] { display: none; }
.billing-dialog [data-billing-checkout] { margin-top: 1rem; }
.billing-busy-overlay:not([hidden]) { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgb(255 255 255 / .55); backdrop-filter: blur(2px); border-radius: inherit; color: var(--blue); }
.billing-busy-overlay.is-received:not([hidden]) { background: rgb(255 255 255 / .94); }
.billing-busy-message { display: grid; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center; }
.billing-busy-message [data-billing-busy-label]:not(.visually-hidden) { max-width: 16rem; font-weight: 600; line-height: 1.4; }
.sign-in-dialog h2 { padding-right: 1.5rem; font-size: 1.7rem; }
.sign-in-dialog details { font-size: .9rem; }
.sign-in-dialog summary { cursor: pointer; }
.sign-in-dialog::backdrop { background: rgb(15 35 50 / .55); backdrop-filter: blur(2px); }
.dialog-close { position: absolute; right: .5rem; top: .4rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.dialog-close svg { width: 1.5rem; height: 1.5rem; display: block; margin: auto; }

/* Shared pending indicators: overlay, inline control and button variants. */
.billing-loading { display: flex; align-items: center; gap: .65rem; }
.billing-loading::before { content: ''; width: 1rem; height: 1rem; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: progress-spin .8s linear infinite; }
.billing-busy-overlay .billing-loading::before { width: 2.5rem; height: 2.5rem; border-width: 3px; }
.is-inline-pending::after { content: ''; position: absolute; right: .15rem; top: 50%; translate: 0 -50%; width: .85em; height: .85em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: progress-spin .7s linear infinite; }
.is-submitting { position: relative; pointer-events: none; color: transparent !important; }
.is-submitting > svg, .is-submitting > input[type="checkbox"] { visibility: hidden; }
.is-submitting::before { content: ""; position: absolute; width: .95em; height: .95em; left: calc(50% - .475em); top: calc(50% - .475em); box-sizing: border-box; color: var(--navy); border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: progress-spin .7s linear infinite; }
@keyframes progress-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .billing-loading::before, .is-submitting::before, .is-inline-pending::after { animation: none; }
}
/* Local developer and email preview tools. */
.dev-tools-toggle { position: fixed; z-index: 10; display: inline-flex; align-items: center; padding: .5rem .55rem; border: 1px dashed #f4bb44; border-radius: .4rem; background: #26232b; color: #ffe3a0; font: 600 .85rem ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; box-shadow: 0 .25rem 1rem #0004; right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom)); cursor: pointer; }
.dev-tools-toggle:hover, .dev-tools-toggle:focus-visible { background: #39303b; color: #fff1cf; }
#dev-tools-menu { position: fixed; inset: auto max(.5rem, env(safe-area-inset-right)) max(3.5rem, calc(env(safe-area-inset-bottom) + 3rem)) auto; margin: 0; padding: .4rem; min-width: 11rem; border: 1px solid #88758b; border-radius: .5rem; background: #26232b; box-shadow: 0 .25rem 1rem #0004; }
#dev-tools-menu > * { display: block; width: 100%; padding: .5rem .7rem; border: 0; border-radius: .25rem; text-align: left; text-decoration: none; font: 600 .9rem var(--sans); color: #ffe3a0; background: transparent; cursor: pointer; }
#dev-tools-menu > :hover, #dev-tools-menu > :focus-visible { background: #44394b; color: #fff1cf; }
.dev-badge { padding: .15rem .3rem; border-radius: .2rem; background: #f4bb44; color: #26232b; font-size: .7rem; letter-spacing: .08em; }
.email-preview-page { background: var(--paper); }
.email-preview { display: flex; flex-direction: column; min-height: 100svh; max-width: 72rem; margin-inline: auto; padding: 2rem clamp(1rem, 3vw, 2rem); }
.email-preview-heading h1 { display: flex; align-items: center; gap: .75rem; margin-block: .75rem .4rem; }
.email-preview-heading p { margin-block: 0 1.25rem; }
.email-preview-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.email-preview-controls > label { display: grid; gap: .35rem; min-width: 0; }
.email-preview-controls select { width: 100%; min-width: 0; }
.email-preview section h2 { font: 600 1.1rem var(--sans); margin-block: 1.5rem .75rem; overflow-wrap: anywhere; }
.email-preview-frame { display: block; width: 100%; height: 0; margin-inline: auto; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.email-preview-narrow .email-preview-frame { width: min(100%, 390px); }
.email-preview-text { padding: .75rem 1rem; background: white; border: 1px solid var(--line); border-radius: .5rem; }
.email-preview-text pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; }
.email-preview > .form-hint { margin-block: auto 0; padding-top: 1.5rem; font-size: .8rem; line-height: 1.5; color: #6b7074; }
@media (max-width: 42rem) {
  .email-preview { padding: 1rem .75rem; }
  .email-preview-controls { grid-template-columns: minmax(0, 1fr); }
}
@media print { .dev-tools-toggle, #dev-tools-menu { display: none !important; } }
#test-emails-dialog .dialog-close { color: #ffe3a0; }
#test-emails-dialog #local-email-messages > p { padding: .8rem; border: 1px solid #554857; border-radius: .4rem; background: #302a34; }

#test-emails-dialog .dialog-panel { width: min(56rem, calc(100% - 2rem)); overflow-wrap: anywhere; background: #26232b; color: #e8e1ed; border: 1px dashed #f4bb44; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
#test-emails-dialog h2 { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-right: 2rem; color: #ffe3a0; }
#test-emails-dialog h2 .dev-badge { flex: none; font-size: .7rem; }
#test-emails-dialog a { white-space: nowrap; color: #ffe3a0; cursor: pointer; }
#test-emails-dialog a:hover { color: #fff1cf; }
#test-emails-dialog .test-mail-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
#test-emails-dialog .test-mail-header > span { flex: 1 1 18rem; min-width: 0; }
#test-emails-dialog .test-mail-header > small { margin-left: auto; color: #b5a8bb; font-size: .75rem; white-space: nowrap; }
#test-emails-dialog .test-mail-recipient { display: inline-flex; max-width: 100%; gap: .5rem; vertical-align: top; }
#test-emails-dialog .test-mail-recipient > span:last-child { min-width: 0; }
#test-emails-dialog .test-mail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin-top: .6rem; }
#test-emails-dialog .test-mail-actions > span { white-space: nowrap; }
@media (max-width: 42rem) {
  #test-emails-dialog .test-mail-header > small { order: -1; flex-basis: 100%; text-align: right; }
}
#test-emails-dialog .test-mail-code { font: 400 1em ui-monospace, monospace; color: #ffe3a0; background: #44394b; border: 1px solid #88758b; border-radius: .3rem; padding: .25rem .45rem; cursor: pointer; }
#test-emails-dialog .test-mail-code:hover { background: #554857; }
#test-emails-dialog .test-mail-code:focus-visible { outline: 2px solid #f4bb44; outline-offset: 2px; }
#test-emails-dialog [data-mail-time] { cursor: help; border-radius: .2rem; padding: .1rem .2rem; transition: background-color .15s, color .15s; }
#test-emails-dialog [data-mail-time]:hover { color: #fff1cf; background: #554857; }
/* Event registration. */
.event-registration { padding-block: 2rem 4rem; }
.event-registration .editorial-heading { margin-bottom: 2rem; }
.registration-card { max-width: 48rem; margin-inline: auto; }
.registration-card-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: .75rem; }
.registration-card-heading h2 { margin: 0; }
.registration-card-heading > a { flex-shrink: 0; font-size: .9rem; }
@media (max-width: 600px) {
  .registration-card-heading { flex-direction: column; align-items: flex-start; }
}
.registration-recovery-form { margin-block: 1.25rem; }
.registration-canceled td { color: #808080; }
.registration-attendee-form { margin-bottom: 1.5rem; }
.registration-attendee-form > .form-hint { margin-top: 1.5rem; margin-bottom: 0; }
.registration-attendee-form > .registration-summary { margin-top: 1rem; }
.registration-details-fields { margin-block: var(--form-field-gap) 1.5rem; }
.registration-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--form-field-gap); }
.registration-guest { min-width: 0; margin: .5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.form-stack > .registration-guest { margin-block: 0; }
.registration-guest > summary { cursor: pointer; }
.registration-guest[open] > summary { margin-bottom: .5rem; }
/* Native disclosure, enhanced only where auto-height transitions are supported. */
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    details.registration-guest { interpolate-size: allow-keywords; }
    details.registration-guest > summary { transition: margin-bottom .3s ease; }
    details.registration-guest::details-content {
      height: 0; overflow: clip; overflow-clip-margin: .25rem;
      transition: height .3s ease, content-visibility .3s allow-discrete;
    }
    details.registration-guest[open]::details-content { height: auto; }
  }
}
.registration-guest legend { padding-inline: .35rem; font-weight: 600; }
.registration-guest-fields { margin: 0; padding: 0; border: 0; }
.registration-guest-list { display: grid; gap: var(--form-field-gap); }
.registration-guest-field { display: grid; grid-template-rows: 1fr; }
.guest-field-entering, .guest-field-leaving { transition: grid-template-rows .5s ease, opacity .5s ease, margin-top .5s ease; }
.guest-field-entering > label, .guest-field-leaving > label { min-height: 0; overflow: hidden; }
/* Offset the shared row gap while a guest field enters or leaves. */
.guest-field-collapsed { grid-template-rows: 0fr; opacity: 0; margin-top: calc(-1 * var(--form-field-gap)); }
@media (prefers-reduced-motion: reduce) {
  .guest-field-entering, .guest-field-leaving { transition: none; }
  .guest-field-entering > label { overflow: visible; }
}
.registration-form .registration-saved-method { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.registration-form .field-error { display: none; position: static; width: auto; justify-self: start; margin-top: .25rem; }
.registration-form input:user-invalid + .field-error { display: block; }
.registration-saved-method input { width: auto; flex: 0 0 auto; margin-top: .3rem; }
.registration-secondary-actions { margin-top: 1rem; }
.registration-verification-actions { justify-content: center; margin-top: 1.5rem; }
@media (max-width: 700px) {
  #registration-verification input[name="code"] { width: 100%; }
  .registration-verification-actions { flex-direction: column; }
  .registration-verification-actions > button,
  .registration-verification-actions > form { width: 100%; }
  .registration-verification-actions > form > button { width: 100%; }
}
.registration-rate-actions { display: grid; gap: 1rem; margin-top: 2rem; }
.registration-contact-summary { margin-block: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--blue); border-radius: 0 .4rem .4rem 0; background: #f4f7fa; }
.registration-contact-summary > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: baseline; gap: .25rem .75rem; }
.registration-contact-summary > div + div { margin-top: .6rem; }
.registration-contact-summary dt { font-weight: 600; color: var(--muted-ink); }
.registration-contact-summary dd { margin: 0; min-width: 0; font-size: 1.1rem; font-weight: 500; color: var(--navy); overflow-wrap: anywhere; }
.registration-contact-separator { display: inline-block; padding-inline: .6rem; font-weight: 700; }
.payment-item { display: block; margin-top: .3rem; }
.registration-summary { width: 100%; border-collapse: collapse; margin-block: 1.5rem; }
.registration-summary th, .registration-summary td { text-align: left; padding: .7rem .35rem; border-bottom: 1px solid var(--line); }
/* Match the name input's horizontal padding and border in editable tables. */
.registration-attendee-form .registration-canceled td:first-child { text-indent: calc(.85rem + 1px); }
.registration-summary thead th:nth-child(2), .registration-summary tbody td:nth-child(2) { padding-left: clamp(1rem, 3vw, 2.5rem); }
.registration-summary th:last-child, .registration-summary td:last-child { text-align: right; white-space: nowrap; }
.registration-summary th:last-child { width: 1%; }
.registration-summary tfoot { font-weight: 700; }
.registration-summary tfoot th { text-align: right; padding-right: 1rem; }
/* Event roster and printing. */
.roster-page-header h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.roster-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.event-roster .roster-event-selector { flex: 1 1 26rem; min-width: 0; margin: 0; }
.roster-tools > .button { height: 3rem; font-size: .85rem; white-space: nowrap; }
.roster-event-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.roster-event-heading > div { flex: 1 1 24rem; min-width: 0; }
.roster-event-heading > .button { font-size: .85rem; }
.roster-event-heading h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: .5rem; }
.roster-event-heading p { margin: 0; color: var(--muted-ink); font-size: .95rem; }
.roster-email-guide .mailing-reference, .roster-comp-card { max-width: 45rem; }
.roster-email-instructions { margin: .35rem 0 0; padding-inline-start: 1.1em; list-style-position: outside; }
.roster-email-instructions > li + li { margin-top: .35rem; }
.roster-search { max-width: 30rem; }
.test-mail-content { margin-bottom: 1rem; }
.test-mail-content pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .85rem; }
.roster-search { display: block; margin: 1.25rem 0; }
.roster-search[hidden] { display: none; }
.roster-event-selector label { min-width: 0; }
.roster-event-control { display: block; }
.roster-event-selector select { width: 100%; min-width: 0; max-width: 100%; }
.roster-event-control.is-submitting select { color: transparent; }
.roster-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.roster-group-heading > .roster-contact-details { min-width: 0; }
.roster-note-button { flex-shrink: 0; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: .35rem; background: transparent; color: var(--muted-ink); font: inherit; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.roster-note-button.has-note { font-weight: 700; }
.roster-note-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.roster-print-note { display: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.roster-refund-warning, .registration-refund-warning { color: #774b08; background: #fff5dc; border-left: 3px solid #b77c1c; padding: .5rem .75rem; white-space: normal; }
.roster-refund-warning { margin: .5rem 0; font-size: .85rem; }
.roster-note-dialog .dialog-panel { width: min(32rem, calc(100% - 2rem)); white-space: normal; }
.roster-note-dialog textarea { width: 100%; resize: vertical; padding: .65rem; border: 1px solid var(--line); border-radius: .35rem; font: inherit; }
.roster-search input { display: block; width: 100%; margin-top: .4rem; padding: .65rem; border: 1px solid var(--line); border-radius: .4rem; font: inherit; }
.event-roster-table {
  --roster-group-line: 1px solid var(--line);
  --roster-group-radius: .5rem;
  --roster-group-gap: 1rem;
  --roster-attendee-edge-gap: .85rem;
  width: 100%; min-width: 36rem; border-collapse: separate; border-spacing: 0;
}
.event-roster-table th:first-child, .event-roster-table td:first-child { width: 1.25rem; padding-inline: .4rem; }
.event-roster-table th.roster-check-in-heading { white-space: nowrap; text-align: center; }
.event-roster-table small { display: block; margin-top: .3rem; }
.event-roster-table tbody td { padding-block: .3rem; border-bottom: 0; }
.event-roster-table .roster-group-contact + tr td { padding-top: var(--roster-attendee-edge-gap); }
.event-roster-table tbody tr:last-child td { padding-bottom: var(--roster-attendee-edge-gap); }
.event-roster-table .roster-refunded-guest td { color: #808080; }
.event-roster-table .roster-refunded-guest .roster-attendee-name strong { font-weight: 400; }
.event-roster-table .roster-group-contact td { background: #edf2f5; padding-block: .65rem; border: 0; }
/* Cell-edge borders keep every registration in the same semantic table. */
.event-roster-table thead th { border-bottom: 0; }
.event-roster-table tbody + tbody::before { content: ""; display: table-row; height: var(--roster-group-gap); }
.event-roster-table tbody > tr > td:first-child { border-left: var(--roster-group-line); }
.event-roster-table tbody > tr > td:last-child { border-right: var(--roster-group-line); }
.event-roster-table .roster-group-contact td { border-top: var(--roster-group-line); }
.event-roster-table .roster-group-contact td:first-child { border-top-left-radius: var(--roster-group-radius); }
.event-roster-table .roster-group-contact td:last-child { border-top-right-radius: var(--roster-group-radius); }
.event-roster-table tbody > tr:last-child > td { border-bottom: var(--roster-group-line); }
.event-roster-table tbody > tr:last-child > td:first-child { border-bottom-left-radius: var(--roster-group-radius); }
.event-roster-table tbody > tr:last-child > td:last-child { border-bottom-right-radius: var(--roster-group-radius); }
@media screen {
  .event-roster-table tr[data-roster-row]:hover > td,
  .event-roster-table tr[data-roster-row]:has(.roster-check-in:focus-visible) > td { background: #f5f8fa; }
}
.roster-contact-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 0; color: var(--muted-ink); font-size: .85rem; }
.roster-contact-details > span { display: inline-flex; align-items: baseline; }
.roster-contact-details > * + span::before { content: "•"; margin-inline: .7rem; color: var(--muted-ink); }
.roster-contact-details a { color: inherit; text-underline-offset: .15em; }
.roster-group-payment { display: flex; justify-content: center; align-items: baseline; }
.roster-payment-menu { anchor-scope: --registration-payments; }
.roster-payment-trigger { anchor-name: --registration-payments; cursor: pointer; font: inherit; padding: .15rem .55rem; border: 1px solid transparent; border-radius: .35rem; color: var(--blue); background: transparent; }
.roster-payment-trigger:hover, .roster-payment-trigger:focus-visible,
.roster-payment-menu:has(> .roster-payment-links:popover-open) > .roster-payment-trigger { color: var(--navy); background: #dce7ee; }
.roster-payment-trigger:focus-visible, .roster-edit-names:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.roster-payment-links { position: fixed; position-anchor: --registration-payments; inset: auto; top: anchor(bottom); left: anchor(left); margin: .35rem 0 0; max-width: calc(100vw - 16px); overflow: auto; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: white; box-shadow: var(--shadow); }
.roster-payment-links:popover-open { display: grid; gap: .6rem; }
.roster-payment-links a { white-space: nowrap; }
.roster-contact-details strong { color: var(--navy); font-size: 1.1rem; font-weight: 700; }

.roster-guest .roster-attendee-name strong { font-weight: 500; }
.event-roster-table td:first-child { text-align: center; }
.roster-check-in { justify-self: center; width: 1.25rem; height: 1.25rem; accent-color: var(--navy); cursor: pointer; }
.roster-check-in:disabled { cursor: wait; }
.roster-print-date, .roster-paper-check { display: none; }
.roster-edit-names { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 2rem; margin-left: .65rem; padding: 0 .25rem; border: 0; font: inherit; border-radius: .3rem; background: transparent; color: var(--muted-ink); vertical-align: middle; cursor: pointer; }
.roster-edit-names:hover, .roster-edit-names:focus-visible { color: var(--navy); background: #edf2f5; }
.roster-payment-links > a, .roster-payment-links > button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin: 0; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .35rem; background: white; color: var(--blue); font: inherit; text-decoration: none; text-align: left; cursor: pointer; }
.roster-payment-links > a:hover, .roster-payment-links > button:hover { background: #edf2f5; color: var(--navy); }
.roster-payment-links > form { margin: 0; }
.roster-payment-links > form > button { width: 100%; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .35rem; background: white; color: var(--blue); font: inherit; text-align: left; cursor: pointer; }
.roster-payment-links > form > button:hover { background: #edf2f5; color: var(--navy); }
.roster-payment-links svg { flex-shrink: 0; }
.roster-name-dialog .dialog-panel { width: min(32rem, calc(100% - 2rem)); white-space: normal; }
.roster-name-dialog h2 { margin-bottom: 0; }
.roster-name-dialog label { margin: 0; }
.roster-name-dialog input:not([type="hidden"]) { padding: .5rem; }
.roster-name-actions { display: flex; gap: .75rem; margin-top: .25rem; }
.roster-comp-dialog .dialog-panel { width: min(32rem, calc(100% - 2rem)); white-space: normal; }
.roster-comp-dialog h2 { margin-bottom: 0; }
.roster-comp-dialog form > p { margin: 0; }
.roster-comp-dialog form > p.form-hint { color: var(--muted-ink); font-size: .85rem; }
.roster-comp-invitations { margin-top: 1.5rem; }
.roster-comp-invitations > summary { color: var(--blue); font-weight: 600; cursor: pointer; }
.roster-comp-invitations .role-table-scroll { margin-top: .75rem; }
.roster-comp-invitations .role-table { margin-inline: 0; }
.roster-comp-invitations th:first-child { text-align: left; }
.roster-comp-invitations td:first-child { overflow-wrap: anywhere; }
.roster-comp-invitations td:last-child { text-align: right; }
@media (max-width: 600px) {
  .registration-contact-fields { grid-template-columns: 1fr; }
  .registration-contact-summary > div { grid-template-columns: 1fr; }
  .registration-summary { font-size: .9rem; }
}
@media print {
  body:has(.event-roster) { display: block; min-height: 0; background: white; color: black; font-size: 10pt; }
  body:has(.event-roster) > :not(main), body:has(.event-roster) .account > :not(.event-roster) { display: none !important; }
  body:has(.event-roster) main, body:has(.event-roster) .account, .event-roster, .event-roster .account-card { width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background: white; }
  .roster-page-header, .roster-email-guide, .roster-comp-invitations, .roster-comp-dialog { display: none !important; }
  .roster-payment-menu, .roster-payment-links { display: none !important; }
  .event-roster button, .event-roster form, .roster-search, .roster-name-dialog { display: none !important; }
  .event-roster h2 { font-size: 18pt; }
  /* Keep the outer stroke inside the printable area despite fractional table widths. */
  .event-roster .role-table-scroll { overflow: visible; padding: 1pt; }
  .event-roster-table { --roster-group-line: .5pt solid #999; --roster-group-radius: 4pt; --roster-group-gap: 10pt; --roster-attendee-edge-gap: 6pt; width: 100%; min-width: 0; table-layout: fixed; font-size: 9pt; line-height: 1.3; }
  .event-roster-table thead { display: table-header-group; }
  .event-roster-table tbody { break-inside: avoid; }
  .event-roster-table tr { break-inside: avoid; }
  .event-roster-table .roster-primary { break-after: avoid; }
  .event-roster-table th, .event-roster-table td { padding: 4pt; vertical-align: top; color: black; white-space: normal; overflow-wrap: anywhere; }
  .event-roster-table tbody td { padding-block: 3pt; border-bottom: 0; }
  .event-roster-table th:first-child { width: 14%; }
  .event-roster-table th:nth-child(2) { width: 41%; }
  .event-roster-table th:nth-child(3) { width: 20%; }
  .event-roster-table th:nth-child(4) { width: 25%; }
  .roster-contact-details { font-size: 8pt; gap: 2pt 0; color: black; }
  .roster-contact-details strong { font-size: 10pt; color: black; }
  .event-roster-table .roster-group-contact td { padding-block: 5pt; background: #edf2f5; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .roster-group-contact { break-after: avoid; }
  .event-roster-table .roster-refunded-guest td { color: #707070; }
  .event-roster-table small { margin-top: 2pt; color: black; font-size: 8pt; }
  .roster-print-date, .roster-paper-check { display: block; }
  .roster-print-note { display: block; margin: 4pt 0 0; font-size: 8pt; }
  .roster-note-dialog { display: none !important; }
  .roster-paper-check { font-size: 14pt; line-height: 12pt; }
  .event-roster-table tbody[hidden] { display: table-row-group; }
}
/* Responsive header. */
@media (max-width: 1300px) { /* tighten the header so a signed-in row still fits a 980px window */
  .site-header-row { gap: 1rem; }
  .brand { font-size: .95rem; }
}
@media (max-width: 980px) { /* below this the signed-in header (six links plus name) no longer fits */
  .site-header-row { flex-wrap: wrap; gap: 0 1rem; min-height: 0; padding-top: .75rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 3.25rem; }
  .identity, .visitor-actions { margin-left: auto; }
  /* Fallback without popover support: the links scroll sideways in their own row. */
  .main-nav { order: 3; flex-basis: 100%; margin: .35rem -1rem 0; padding: 0 1rem .35rem; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: .55rem .7rem; }
  @supports selector(:popover-open) {
    .site-header-row { flex-wrap: nowrap; column-gap: .5rem; min-height: 4.25rem; padding-block: .5rem; }
    .brand { flex-shrink: 1; min-width: 0; gap: .5rem; }
    .brand img { flex-shrink: 0; }
    .brand span { min-width: 0; }
    .menu-toggle { display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0; margin-left: auto; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
    .menu-toggle:hover { background: var(--mist); }
    .site-menu { display: none; }
    .site-menu:popover-open { display: block; position: fixed; inset: 0; width: auto; height: auto; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
    .site-menu:popover-open .site-menu-sheet { display: block; max-height: 100dvh; padding: 0 1rem 1rem; border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: #fff; overflow: auto; box-shadow: 0 24px 48px -24px rgb(18 41 74 / 45%); }
    .site-menu::backdrop { background: rgb(18 41 74 / 35%); }
    .site-menu-bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; border-bottom: 1px solid var(--line); }
    .site-menu-bar p { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
    .menu-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -.6rem; border: 0; border-radius: .5rem; background: transparent; color: var(--navy); cursor: pointer; }
    .menu-close:hover { background: var(--mist); }
    .main-nav { display: block; order: 0; flex-basis: auto; margin: 0; padding: .5rem 0; overflow: visible; mask-image: none; }
    .main-nav a { display: block; padding: .85rem .5rem; border-radius: .5rem; font-size: 1.1rem; }
    .main-nav a[aria-current="page"] { background: var(--paper); }
    .main-nav a[aria-current="page"]::after { left: auto; right: .75rem; top: 50%; bottom: auto; width: .5rem; height: .5rem; margin-top: -.25rem; border-radius: 50%; }
    .identity, .visitor-actions { justify-content: space-between; margin: 0; padding: .75rem .5rem .25rem; border-top: 1px solid var(--line); }
    .visitor-actions .button { flex: 1; justify-content: center; }
    .identity-text { flex: 1; max-width: none; text-align: left; padding: .7rem 1.1rem; }
    .identity-text small { display: block; font-size: .75rem; font-weight: 500; color: #687780; }
  }
}
/* Responsive public pages and account navigation. */
@media (max-width: 900px) {
  .principles-card, .about-mission { margin-top: -3rem; }
  .editorial-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: .25rem 1.5rem; align-items: start; }
  .benefit img { grid-row: 1 / 3; margin: 0; }
  .signup-fields { grid-template-columns: 1fr 1fr; }
  .hero-mark { right: 6%; bottom: 33%; width: clamp(8rem, 24vw, 12rem); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .about-hero .welcome-copy > :not(h1) { max-width: calc(100% - 15rem); }
  .about-hero .hero-mark { right: 6%; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .welcome-copy { padding-bottom: clamp(10.5rem, 42vw, 13rem); }
  #welcome-title { max-width: 6.6em; } /* one word per line rather than a break inside "whole-person" */
  .welcome p.hero-lead { text-wrap: balance; }
  .about-hero .welcome-copy { padding-block: 2.25rem clamp(10.5rem, 42vw, 13.5rem); }
  .about-hero h1 { font-size: clamp(2.25rem, 8.5vw, 3rem); }
  .about-hero-subtitle { max-width: 18em; font-size: .64em; }
  .about-hero-since { margin-top: 1.25rem; }
  .about-hero .welcome-copy > :not(h1) { max-width: 58%; }
  .about-hero .hero-mark { display: block; right: 2%; bottom: 24%; width: 6.5rem; }
  .welcome .button { flex: 1 1 auto; }
  .hero-mark { display: none; }
  .account-tabs .wrap { width: auto; flex-wrap: nowrap; padding-inline: 1rem; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
  .account-tabs .wrap::-webkit-scrollbar { display: none; }
  .account-tabs a { white-space: nowrap; padding-inline: .75rem; }
  .account-admin-tabs { flex-basis: auto; flex-wrap: nowrap; margin: 0 0 0 .5rem; padding-left: .5rem; border-left: 1px solid var(--line); }
  .signup-fields, .benefit, .patient-offer, .editorial-principles { grid-template-columns: 1fr; }
  .patient-offer { grid-template-areas: "icon" "intro" "care" "action"; }
  .principles-card { margin-inline: 0; }
  .benefit img { grid-row: auto; margin-bottom: 1rem; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
