:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --panel: #FFFFFF;
  --panel-2: #EEF1ED;
  --input-bg: #FFFFFF;
  --surface-hover: #F0F3EF;
  --accent: #254E46;
  --accent-rgb: 37, 78, 70;
  --brand-accent: #254E46;
  --accent-2: #254E46;
  --accent-soft: #E8EFEB;
  --primary-bg: #254E46;
  --primary-text: #FFFFFF;
  --primary-hover: #1C4039;
  --text: #1C1C1E;
  --muted: #5F6368;
  --muted-2: #5F6368;
  --border: #E1E6E2;
  --border-light: #E9ECE8;
  --control-border: #85858B;
  --focus: #254E46;
  --danger: #B42335;
  --success: #176B42;
  --warning: #855B07;
  --shadow: 0 12px 34px rgba(23, 32, 29, .06);
  --radius: 12px;
  --accent-text: #254E46;
  --display-text: #1C1C1E;
  --portal-bg: #F2F2F7;
  --portal-surface: #FFFFFF;
  --portal-text: #1C1C1E;
  --portal-muted: #5F6368;
  --portal-line: #E1E6E2;
  --portal-field: #FFFFFF;
  --portal-control-line: #85858B;
  --portal-lime: #254E46;
  --portal-danger: #B42335;
  color-scheme: light;
  min-height: 100vh;
  background: var(--portal-bg);
  color: var(--portal-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member),
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) * {
  box-sizing: border-box;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) a:link,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) a:visited {
  color: var(--portal-lime);
  text-underline-offset: 3px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) button,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) input,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) select,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) textarea {
  font: inherit;
  font-size:1rem;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) input:not([type="checkbox"]),
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) select,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) textarea {
  min-height: 44px;
  border: 1px solid var(--portal-control-line);
  border-radius: 6px;
  background: var(--portal-field);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) input[type="checkbox"] {
  accent-color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) :focus-visible {
  outline: 3px solid var(--portal-lime);
  outline-offset: 3px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) button {
  min-height: 44px;
  border: 1px solid var(--portal-lime);
  border-radius: 6px;
  background: var(--portal-lime);
  color: var(--portal-bg);
  cursor: pointer;
  font-weight: 650;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) button:disabled {
  opacity: .65;
  cursor: wait;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .danger {
  border-color: var(--portal-danger);
  background: var(--portal-danger);
  color: var(--portal-bg);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .inbox-shell nav button {
  border-color: var(--portal-control-line);
  background: var(--portal-surface);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .inbox-shell nav button[aria-pressed="true"] {
  border-color: var(--portal-lime);
  color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) [hidden] {
  display: none !important;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .inbox-shell,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) main:not(.operations) {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations header {
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--portal-line);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations h1 {
  max-width: none;
  margin: 10px 0;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.15;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations h3 {
  font-size: 1rem;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations section,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations details {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-surface);
  box-shadow: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations details > summary {
  min-height: 44px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations label {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 12px 0;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations input,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations select,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations textarea,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations button {
  max-width: 100%;
  border-radius: 6px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations input:not([type="checkbox"]),
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations select,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations textarea {
  min-height: 100px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations button.secondary,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations nav button,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-tabs [role="tab"] {
  border-color: var(--portal-control-line);
  background: var(--portal-surface);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations [aria-pressed="true"] {
  outline: 2px solid var(--portal-lime);
  outline-offset: 2px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-tabs [role="tab"][aria-selected="true"] {
  border-color: var(--portal-lime);
  background: var(--portal-lime);
  color: var(--portal-bg);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-panel,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .pool-editor,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .enrollment-card,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .template-card,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .profile-card,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-visit-card,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .question {
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-surface);
  box-shadow: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-panel > section,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #membershipSection {
  border: 0;
  background: transparent;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-identity {
  border-bottom: 1px solid var(--portal-line);
  background: var(--portal-bg);
  backdrop-filter: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-identity-label,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .muted,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .notice,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations small,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .membership-metrics dt {
  color: var(--portal-muted);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations a,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .balance,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .pool-summary strong,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .membership-success {
  color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .membership-metrics > div {
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-bg);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .record,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .pool-summary,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .staff-permission-card form,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-panel > section + section {
  border-color: var(--portal-line);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .membership-error,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .error,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #status.error,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .operations-error {
  color: var(--portal-danger);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .check-label input {
  width: 24px;
  min-width: 24px;
  min-height: 24px;
  margin-top: 2px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations dialog {
  max-width: 450px;
  width: calc(100% - 32px);
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-surface);
  color: var(--portal-text);
  box-shadow: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations dialog::backdrop {
  background: #000A;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #campaignTools {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #campaignTools > details {
  margin: 0;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner:not([hidden]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner > details {
  min-width: 0;
  margin: 0;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner > details:first-child,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner > #websiteSection {
  grid-column: 1 / -1;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations :is(form, section, details, article, input, select, textarea, p, a, button) {
  overflow-wrap: anywhere;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap {
  max-width: 560px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap * {
  box-shadow: none !important;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-header {
  border-bottom-color: var(--portal-line);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-gym-name,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-conf-detail,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-cancel-box,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .booking-public-info,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .public-membership-catalog {
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-step-title,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-conf-title,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-price,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-summary strong,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .lang-btn.active {
  color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .booking-context,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-card,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .slot-btn,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-summary,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .instructor-choice-section,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .public-membership-catalog,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .public-membership-catalog-grid > *,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .booking-public-info details {
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-surface);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .booking-context {
  backdrop-filter: none;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .booking-context strong,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-name,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .slot-time {
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-meta,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-description,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-desk-note,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .slot-cap,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .cal-dow,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-form label,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-gdpr,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-loading,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-back {
  color: var(--portal-muted);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .cal-day,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .cal-nav button,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .lang-btn {
  min-height: 44px;
  border: 1px solid var(--portal-line);
  border-radius: 6px;
  background: var(--portal-surface);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .cal-day.is-selected,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-card.is-selected,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .slot-btn.is-selected {
  border-color: var(--portal-lime);
  background: var(--portal-lime);
  color: var(--portal-bg) !important;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .service-card.is-selected :is(.service-name, .service-meta, .service-description, .service-price, .service-desk-note),
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .slot-btn.is-selected :is(.slot-time, .slot-cap) {
  color: var(--portal-bg);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-form input:not([type="checkbox"]),
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-form textarea,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .instructor-choice-section select {
  min-height: 44px;
  border-color: var(--portal-control-line);
  border-radius: 6px;
  background: var(--portal-field);
  color: var(--portal-text);
  font-size:1rem;
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-form .book-gdpr input[type="checkbox"] {
  accent-color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap a:link,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap a:visited {
  color: var(--portal-lime);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap .btn-primary,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap .btn-book,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap #cancelActions .btn-danger {
  border-color: var(--portal-lime);
  background: var(--portal-lime);
  color: var(--portal-bg);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap .btn-secondary,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap .btn-waitlist,
:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-wrap .book-back {
  border-color: var(--portal-line);
  background: var(--portal-surface);
  color: var(--portal-text);
}

:is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .book-error-msg {
  color: var(--portal-danger);
}

@media (max-width: 650px) {
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations {
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations section,
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations details {
    padding: 14px;
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .member-task-panel {
    padding: 14px;
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .membership-metrics,
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .permission-grid,
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .profile-grid,
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner > details:first-child,
  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations #owner > #websiteSection {
    grid-column: 1;
  }

  :is(body.studio-agenda-member, .fvo-product.studio-agenda-member) .operations .inline > label {
    flex-basis: 100%;
  }
}

/* The same semantic source is loaded by member routes and staff workspace hosts. */
:is(.studio-agenda-member,[data-workspace-health]) {
  --health-canvas:#F2F2F7;--health-surface:#FFFFFF;--health-text:#1C1C1E;
  --health-muted:#5F6368;--health-accent:#254E46;--health-on-accent:#FFFFFF;
  --health-soft:#E8EFEB;--health-line:#D9D9DF;--health-control:#85858B;
  --health-accent-rgb:37,78,70;--health-danger:#B42335;--health-success:#255F45;--health-warning:#805D16;
  --health-font:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
}
@media (prefers-color-scheme:dark) {
:is(.studio-agenda-member,[data-workspace-health]) {
  --health-canvas:#000000;--health-surface:#1C1C1E;--health-text:#F5F5F7;
  --health-muted:#B0B0B8;--health-accent:#9DD4BF;--health-on-accent:#10251C;
  --health-soft:#243B33;--health-line:#48484A;--health-control:#8E8E93;
  --health-accent-rgb:157,212,191;--health-danger:#FFB4BB;--health-success:#9DD4BF;--health-warning:#E6C57E;
  color-scheme:dark;
}
}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member {
  --portal-bg:var(--health-canvas)!important;--portal-surface:var(--health-surface)!important;
  --portal-text:var(--health-text)!important;--portal-muted:var(--health-muted)!important;
  --portal-line:var(--health-line)!important;--portal-field:var(--health-surface)!important;
  --portal-control-line:var(--health-control)!important;--portal-lime:var(--health-accent)!important;
  --bg:var(--health-canvas)!important;--surface:var(--health-surface)!important;--text:var(--health-text)!important;
  --panel:var(--health-surface)!important;--panel-2:var(--health-surface)!important;
  --muted:var(--health-muted)!important;--border:var(--health-line)!important;--control-border:var(--health-control)!important;
  --accent:var(--health-accent)!important;--accent-text:var(--health-accent)!important;--accent-soft:var(--health-soft)!important;
  --input-bg:var(--health-surface)!important;--primary-bg:var(--health-brand,var(--health-accent))!important;--primary-text:var(--health-on-accent)!important;
  --secondary-bg:var(--health-soft)!important;--secondary-text:var(--health-accent)!important;
  font-family:var(--health-font);background:var(--health-canvas);color:var(--health-text);color-scheme:light dark;
  caret-color:var(--health-accent);scrollbar-color:var(--health-control) var(--health-canvas);
}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member ::selection {background:var(--health-soft);color:var(--health-text);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(button,input,select,textarea) {font-size:1.0625rem;line-height:1.45;border-radius:12px;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member button {min-height:48px;color:var(--health-on-accent);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea) {min-height:48px;height:auto;font-size:1.0625rem;border-color:var(--health-control);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(input,textarea)::placeholder {color:var(--health-muted);opacity:1;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.client-state,.client-card,.client-panel,.booking-context,.service-card,.slot-btn,.book-summary,.instructor-choice-section,.operations section,.operations details,.operations .member-task-panel,dialog) {border-radius:16px;box-shadow:none;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(#clientViewTitle,.book-step-title,.book-conf-title) {font-size:2.125rem;font-weight:700;line-height:1.2;letter-spacing:-.02em;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.client-panel h2,.client-card h2,.operations h2) {font-size:1.375rem;font-weight:650;line-height:1.25;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.client-app,.book-wrap,.operations) {font-size:1.0625rem;line-height:1.45;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.muted,small,.service-meta,.service-description,.slot-cap,.client-card-meta) {font-size:.875rem;line-height:1.4;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-app:has(#nextAppointment:not([hidden])) #clientPrimaryBookingAction {background:color-mix(in srgb,var(--health-accent) 12%,var(--health-canvas));color:var(--health-accent);border-color:transparent;}
/* Legacy message affordance is intentionally 44px, including its complete icon. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #clientMessageOpen {min-height:44px;height:44px;min-width:44px;width:44px;color:var(--health-muted);border-radius:12px;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tab {color:var(--health-muted);background:transparent;border-color:transparent;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tab:hover {color:var(--health-text);background:var(--health-surface);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tab[aria-selected="true"] {color:var(--health-accent);background:color-mix(in srgb,var(--health-accent) 12%,var(--health-canvas));}
@media(max-width:40rem) {
  :is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.operations .profile-grid,.operations .permission-grid,.operations .membership-metrics,.client-summary-grid,.client-progress-grid) {grid-template-columns:minmax(0,1fr);}
}

:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-app :is(button,.btn) {min-height:48px;border-radius:12px;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-app #clientMessageOpen {min-height:44px;height:44px;}

/* Rem spacing follows real text zoom, keeping the final action above the fixed member tabs. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-wrap.client-wrap {padding-bottom:calc(9rem + env(safe-area-inset-bottom));}

:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member {--accent-rgb:var(--health-accent-rgb)!important;--danger:var(--health-danger)!important;--success:var(--health-success)!important;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-view-title {font-size:2.125rem;line-height:1.2;letter-spacing:-.02em;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :focus-visible {outline:3px solid var(--health-accent);outline-offset:3px;box-shadow:none;}

:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member {--focus:var(--health-accent)!important;--accent-2:var(--health-accent)!important;}

/* Neutral actions retain their foreground on the original neutral surfaces. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.btn-secondary,.secondary,.outline-button,.back-button,.book-back,.btn-waitlist,.service-card,.slot-btn,.cal-nav button,.cal-day,.client-week-nav,.client-week-day,.lang-btn,dialog button[type="button"]:not(.btn-primary):not(.btn-danger),.inbox-shell nav button,.operations nav button,.operations [role="tab"]) {color:var(--health-text);}
/* Supporting captions grow 13→26px; intrinsic widths wrap whole tab controls. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tabs {display:flex;flex-wrap:wrap;gap:0;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tab {flex:1 0 auto;min-width:48px;min-height:48px;font-size:.8125rem;white-space:nowrap;overflow-wrap:normal;word-break:normal;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-tab span {white-space:nowrap;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member dialog button[type="button"]:not(.btn-primary):not(.btn-danger) {min-height:48px;font-size:1.0625rem;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #clientMessageOpen svg {width:22px;height:22px;}

/* Accepted fixed narrow heading role; text zoom retains the same role/breakpoint. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-app .client-view-title {white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;min-inline-size:0;max-inline-size:100%;}
@media(max-width:430px) {
 :is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-app .client-view-title {font-size:1.5rem;line-height:1.2;}
}
/* Original next-session metadata wraps by column before a word loses its space. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-home-next #nextAppointment .client-appointment-card {display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px;min-inline-size:0;max-inline-size:100%;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-home-next #nextAppointment .client-appointment-time {flex:0 0 min-content;min-inline-size:min-content;max-inline-size:100%;padding-right:0;border-right:0;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-home-next #nextAppointment .client-appointment-info {flex:1 0 min-content;min-inline-size:min-content;max-inline-size:100%;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-home-next #nextAppointment :is(.client-appointment-clock,.client-appointment-date,.client-appointment-service) {word-break:normal;overflow-wrap:normal;hyphens:none;white-space:normal;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-home-next #nextAppointment .client-appointment-clock {white-space:nowrap;}
/* Measured PF glyphs exceed the legacy 20px box at 200%; contain the original type. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-header .client-gym-badge .client-gym-mark {flex:0 0 auto;inline-size:auto;block-size:auto;min-inline-size:max(20px,1.5em);min-block-size:max(20px,1.5em);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member dialog button[type="button"]:not(.btn-primary):not(.btn-danger) {min-width:48px;}

/* Pair the original enabled danger actions with their retained red surface. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(#clientDeleteAccount,#clientDeleteConfirmButton) {color:#FFFFFF;}
/* Original neutral actions keep their own surfaces and selected meaning. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(#clientLogout,#feedbackBack) {color:var(--health-text);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member :is(.client-workout-feedback,.client-feedback-back,.client-rating-row button) {color:var(--health-text);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-rating-row button:hover:not(.is-selected) {background:var(--health-surface);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-rating-row button.is-selected {color:var(--health-accent);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member .client-rating-row button[data-rating="pain"].is-selected {color:var(--health-danger);}

/* Accepted narrow follow-up for the original acknowledgement dialog. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #clientDeleteConfirmButton {min-height:48px;}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #clientDeleteCancel:hover:not(:disabled) {background:var(--health-surface);}

/* Retain the primary feedback action's semantic pair during hover. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackForm button[type="submit"]:hover:not(:disabled) {background:var(--health-brand,var(--health-accent));}

/* Original enabled star radios share the member health colors. */
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackStars .client-star-options input:not(:disabled)+span {color:var(--health-text);background:var(--health-surface);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackStars .client-star-options input:checked:not(:disabled)+span {color:var(--health-on-accent);background:var(--health-brand,var(--health-accent));}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackStars small {color:var(--health-muted);}
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackStars .client-star-options input:focus-visible+span {outline-color:var(--health-accent);}

@media (prefers-color-scheme:dark) {
:is(body.studio-agenda-member,.fvo-product.studio-agenda-member).studio-agenda-member #feedbackStarsClear:hover:not(:disabled) {background:var(--health-surface);}
}
