@import "./foundation/shell.css";
/* CRM presentation adapter for the existing authenticated shell and its overlays.
   The portable palette lives in foundation/tokens.css; login has no data-ui-theme. */
#app[data-ui-theme] {
  --v12-bg: var(--ui-canvas); --v12-rail: var(--ui-shell); --v12-s1: var(--ui-surface);
  --v12-s2: var(--ui-surface-raised); --v12-s3: var(--ui-surface-inset);
  --v12-line: var(--ui-border); --v12-line-strong: var(--ui-border-strong);
  --v12-text: var(--ui-text-primary); --v12-text-2: var(--ui-text-secondary); --v12-text-3: var(--ui-text-muted);
  --v12-red: var(--ui-accent); --v12-red-text: var(--ui-danger);
  --v12-positive: var(--ui-success); --v12-positive-tint: var(--ui-success-surface);
  --v12-amber: var(--ui-warning); --v12-amber-tint: var(--ui-warning-surface);
  --v12-red-tint: var(--ui-danger-surface); --v12-slate-tint: var(--ui-surface-inset);
  --v111-bg: var(--ui-canvas); --v111-panel: var(--ui-surface); --v111-panel-soft: var(--ui-surface-raised);
  --v111-float: var(--ui-surface-raised);
  --v111-hairline: var(--ui-border); --v111-zinc-100: var(--ui-text-primary); --v111-zinc-200: var(--ui-text-primary);
  --v111-zinc-300: var(--ui-text-secondary); --v111-zinc-400: var(--ui-text-secondary); --v111-zinc-500: var(--ui-text-muted);
  --v111-red: var(--ui-accent); --v111-red-bright: var(--ui-danger);
  --v111-divider: var(--ui-border); --v111-body: var(--v12-ui); --v111-display: var(--v12-ui);
  --k3-bg: var(--ui-canvas); --k3-rail: var(--ui-shell); --k3-header: var(--ui-surface);
  --k3-dock: var(--ui-surface); --k3-input: var(--ui-surface-inset); --k3-tab: var(--ui-surface-raised);
  --k3-tab-active: var(--ui-surface); --k3-skeleton: var(--ui-surface-raised); --k3-text: var(--ui-text-primary);
  --k3-zinc-200: var(--ui-text-primary); --k3-zinc-300: var(--ui-text-secondary); --k3-zinc-400: var(--ui-text-secondary);
  --k3-zinc-500: var(--ui-text-muted); --k3-zinc-600: var(--ui-text-muted);
  --k3-hairline: var(--ui-border); --k3-divider: var(--ui-border);
  --k3-red: var(--ui-accent); --k3-red-bright: var(--ui-danger); --k3-red-hover: var(--ui-accent-hover);
  --k3-font-display: var(--v12-ui); --k3-font-body: var(--v12-ui); --k3-font-mono: var(--v12-ui);
  --lotus-bg: var(--ui-canvas); --lotus-surface: var(--ui-surface); --lotus-line: var(--ui-border);
  --lotus-muted: var(--ui-text-secondary); --lotus-text: var(--ui-text-primary);
  --bg: var(--ui-canvas); --surface: var(--ui-surface); --surface-2: var(--ui-surface-raised); --surface-3: var(--ui-surface-inset);
  --text: var(--ui-text-primary); --muted: var(--ui-text-secondary); --dim: var(--ui-text-muted);
  --line: var(--ui-border); --line-strong: var(--ui-border-strong);
  --signal-red: var(--ui-accent); --action-primary: var(--ui-accent); --action-primary-hover: var(--ui-accent-hover);
  --signal-red-on-dark: var(--ui-danger); --signal-red-hover: var(--ui-accent-hover); --signal-red-pressed: var(--ui-accent-hover);
  --signal-red-tint: var(--ui-danger-surface); --signal-red-border: var(--ui-danger);
  --v12-r-card: 8px; --v12-r-ctl: 8px; --v12-r-chip: 5px;
  --green: var(--ui-success); --amber: var(--ui-warning); --shadow: none; --shadow-soft: none;
  background: var(--ui-canvas); color: var(--ui-text-primary);
  display: flow-root; /* Keep child margins inside the authenticated canvas. */
}
#app[data-ui-theme] :is(.main,.v111-workspace,.members-high-density) { background: var(--ui-canvas); }
#app[data-ui-theme] :is(.v111-members-directory,.v111-member-context,.rc2-directory-ledger,.hd-member-entry,.hd-directory-columns,.rc2-empty-contract) { background: var(--ui-surface); color: var(--ui-text-primary); border-color: var(--ui-border); box-shadow: none; }
#app[data-ui-theme] :is(.hd-member-entry:hover,.hd-member-entry.selected) { background: var(--ui-surface-raised); }
#app[data-ui-theme] :is(input,select,textarea) { background: var(--ui-surface); color: var(--ui-text-primary); border-color: var(--ui-border-strong);  }
#app[data-ui-theme] :is(button:disabled,select:disabled) { opacity: 1; color: var(--ui-text-muted); background: var(--ui-surface-inset); border-color: var(--ui-border); }
#app[data-ui-theme] .rc2-members-directory-meta .ui-theme-control { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; }
#app[data-ui-theme] :is(button,a,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; box-shadow: none; }
@font-face { font-family: "Workspace Inter"; src: url("./inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
#app[data-ui-theme] { --v12-ui: "Workspace Inter", Inter, Arial, sans-serif; --v12-display: var(--v12-ui); }
/* Workspace hierarchy: new operational tools use the same scale as the accepted Dashboard. */
#app[data-ui-theme] {
  --workspace-title-size: 26px; --workspace-section-size: 15px; --workspace-body-size: 13px;
  --workspace-caption-size: 12px; --workspace-line-height: 1.5;
  --workspace-gap: 16px; --workspace-panel-padding: 20px;
  --workspace-control-size: 40px; --workspace-radius: 8px;
}
@media (max-width: 760px) {
  #app[data-ui-theme] { --workspace-title-size: 24px; --workspace-panel-padding: 16px; --workspace-control-size: 44px; }
}
#app[data-ui-theme], #app[data-ui-theme] :where(button,input,select,textarea) { font-family: var(--v12-ui); }
#app[data-ui-theme] :is(.rc2-contextual-exports,.rc2-contextual-exports summary) { background: var(--ui-surface); color: var(--ui-text-primary); border-color: var(--ui-border); box-shadow: none; }
#app[data-ui-theme] :is(.rc2-pagination,.rc2-pagination span,.rc2-contextual-exports summary span) { color: var(--ui-text-secondary); }
#app[data-ui-theme] .v111-nav-item.active svg { color: var(--ui-text-primary); }
#app[data-ui-theme] .btf-brand-logo { background: transparent; border-radius: 0; }
#app[data-ui-theme] #member-directory-controls button:not(:disabled) { color: var(--ui-text-primary); background: var(--ui-surface-raised); border-color: var(--ui-border-strong); }
#app[data-ui-theme] #member-directory-controls button:not(:disabled):hover { background: var(--ui-surface-inset); }
#app[data-ui-theme] .ui-theme-control { font-family: var(--v12-ui); }
#app[data-ui-theme] .hd-member-entry[data-selected="true"] { background: var(--ui-surface-raised); box-shadow: inset 3px 0 var(--ui-accent); }
@media (max-width: 760px) {
  #app[data-ui-theme] .rc2-members-directory-header { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #app[data-ui-theme] .rc2-members-directory-meta { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  #app[data-ui-theme] .rc2-add-member-trigger { width: auto; flex: 1 1 140px; }
}
#app[data-ui-theme] .ui-theme-control select:hover { background: var(--ui-surface-raised); }

/* Shared workspace chrome. Existing collapse, mobile navigation and focus owners stay intact. */
#app[data-ui-theme] .sidebar { background: var(--ui-shell); border-color: var(--ui-border); }
#app[data-ui-theme] :is(.v111-nav-item,.crm-all-products) { min-height: 40px; border-radius: 8px; }
#app[data-ui-theme] .v111-nav-item.active { background: var(--ui-surface-raised); color: var(--ui-text-primary); }
#app[data-ui-theme] .main { min-width: 0; }
#app[data-ui-theme] :is(.app-header,.rc2-members-directory-header) {
  background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px;
  min-height: 100px; padding: 16px 20px; margin: 0; gap: 20px; align-items: center;
}
#app[data-ui-theme] .main > .app-header { margin: 24px 24px 0; width: auto; }
#app[data-ui-theme] :is(.app-header h1,.rc2-members-directory-header h1,.v111-page-title h1) {
  margin: 0 0 4px; font-size: var(--workspace-title-size,26px); font-weight: 700; line-height: 1.2; color: var(--ui-text-primary);
}
#app[data-ui-theme] :is(.app-header p,.rc2-members-directory-header p,.v111-page-strap) {
  margin: 0; color: var(--ui-text-secondary); font-size: 13px; line-height: 1.5;
}
#app[data-ui-theme] :is(.header-controls,.rc2-members-directory-meta) { align-items: center; gap: 12px; flex-wrap: wrap; }
#app[data-ui-theme] .rc2-workspace-navigation {
  display: block; height: auto; min-height: 0; max-height: none; padding: 6px;
  background: var(--ui-surface); background-image: none; border: 1px solid var(--ui-border); border-radius: 8px; box-shadow: none;
}
#app[data-ui-theme] .rc2-workspace-navigation > div {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; width: 100%; min-width: 0; margin: 0; padding: 0; overflow: visible;
  -webkit-mask-image: none; mask-image: none;
}
#app[data-ui-theme] .members-high-density > .rc2-workspace-navigation { margin: 0; }
#app[data-ui-theme] .main > .rc2-workspace-navigation { margin: 16px 24px 0; }
#app[data-ui-theme] .main:has(> .rc2-workspace-navigation) > .screen { margin: 0; width: auto; min-width: 0; max-width: none; padding: 16px 24px 40px; gap: 16px; }
#app[data-ui-theme] .main > .members-high-density { padding: 24px 24px 40px; gap: 16px; }
#app[data-ui-theme] .rc2-membership-plan-admin { gap: 16px; }
#app[data-ui-theme] .rc2-plan-admin-header { align-items: center; margin: 0; padding: 0; border: 0; }
#app[data-ui-theme] .rc2-workspace-navigation button {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  box-sizing: border-box; min-width: 0; max-width: 100%; min-height: 44px; height: auto; margin: 0; padding: 10px 14px;
  background: transparent; background-image: none; border: 1px solid transparent; border-radius: 6px; box-shadow: none;
  color: var(--ui-text-secondary); font-size: 13px; font-weight: 600; line-height: 20px;
  letter-spacing: normal; text-transform: none; white-space: normal; overflow-wrap: anywhere;
}
#app[data-ui-theme] .rc2-workspace-navigation button:hover { background: var(--ui-surface-raised); color: var(--ui-text-primary); }
#app[data-ui-theme] .rc2-workspace-navigation button:is([aria-current="page"], [aria-current="true"]) {
  background: var(--ui-surface-raised); border-color: var(--ui-border-strong); color: var(--ui-text-primary); font-weight: 600;
}
@media (max-width: 760px) {
  #app[data-ui-theme] .main > .app-header { margin: 16px 16px 0; }
  #app[data-ui-theme] .main > .rc2-workspace-navigation { margin: 16px 16px 0; }
  #app[data-ui-theme] .main:has(> .rc2-workspace-navigation) > .screen { padding: 16px 16px 32px; }
  #app[data-ui-theme] .main > .members-high-density { padding: 16px 16px 32px; }
  #app[data-ui-theme] .rc2-workspace-navigation button { flex: 1 0 auto; }
}
#app[data-ui-theme] :is(.hd-member-segments button,.rc2-plan-status-tabs button) {
  border-color: var(--ui-border); color: var(--ui-text-secondary); border-radius: 6px; min-height: 38px;
}
#app[data-ui-theme] :is(.hd-member-segments button[aria-pressed="true"],.rc2-plan-status-tabs button.active) {
  background: var(--ui-surface-raised); border-color: var(--ui-border-strong); color: var(--ui-text-primary);
}

/* Dashboard header remains the same title, scope/period controls and staff account. */
#app[data-ui-theme] .v111-page-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0; }
#app[data-ui-theme] .v111-page-head > .btv2-owner-operations-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  grid-column: 1; grid-row: 1; min-height: 100px; margin: 0; padding: 16px 20px;
  background: var(--ui-surface); border: 1px solid var(--ui-border); border-right: 0; border-radius: 8px 0 0 8px;
}
#app[data-ui-theme] .v111-page-head .v111-page-title { min-width: 0; padding: 0; }
#app[data-ui-theme] .v111-page-head .btv2-owner-operations-head > .v111-head-account { margin: 0; align-self: center; }
#app[data-ui-theme] .v111-page-head > .v111-head-controls {
  display: flex; flex-direction: row; grid-column: 2; grid-row: 1; align-self: stretch; align-items: center; justify-content: flex-end;
  gap: 12px; margin: 0; padding: 16px 20px 16px 0; width: auto; height: auto; flex-wrap: nowrap;
  background: var(--ui-surface); border: 1px solid var(--ui-border); border-left: 0; border-radius: 0 8px 8px 0;
}
#app[data-ui-theme] .v111-head-controls .v111-head-scope { flex: 0 1 190px; min-width: 150px; }
#app[data-ui-theme] .v111-head-controls .v111-head-period { min-width: 145px; flex: 0 1 170px; }
#app[data-ui-theme] .v111-head-controls :is(select,input) { max-width: 100%; min-width: 0; }

#app[data-ui-theme] .v111-page-head > .v111-operational {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr);
  align-items: center; gap: 16px; padding: 16px 0 0; margin: 0; border: 0;
}
#app[data-ui-theme] .v111-operational-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin: 0; }
#app[data-ui-theme] .v111-operational-head .v111-operational-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#app[data-ui-theme] .v111-page-head > .v111-operational > .v111-operational-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; overflow: hidden;
  background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px;
}
#app[data-ui-theme] .v111-operational-grid > .v111-op-tile {
  display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto;
  align-content: center; gap: 2px 12px; min-height: 0; height: auto; margin: 0; padding: 12px 16px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left;
}
#app[data-ui-theme] .v111-operational-grid > .v111-op-tile + .v111-op-tile { border-left: 1px solid var(--ui-border); }
#app[data-ui-theme] .v111-page-head > .v111-operational > .v111-operational-grid > .v111-op-tile { grid-column: auto; }
#app[data-ui-theme] .v111-op-tile > i { display: none; }
#app[data-ui-theme] .v111-op-tile > strong { grid-column: 1; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 24px; line-height: 1.2; }
#app[data-ui-theme] .v111-op-tile > span { grid-column: 2; grid-row: 1; font-size: 13px; line-height: 18px; }
#app[data-ui-theme] .v111-op-tile > small { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 17px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .v111-op-tile :is(span,small) { white-space: normal; overflow: visible; text-overflow: clip; }
#app[data-ui-theme] .v111-op-tile--urgent > strong { color: var(--ui-danger); }
#app[data-ui-theme] .v111-op-tile:hover { background: var(--ui-surface-raised); }

/* Shared inputs, tables, Classes builder and overlay surfaces. No data-series selectors. */
#app[data-ui-theme] :is(input,select,textarea) { background: var(--ui-surface-inset); border-radius: 8px; min-height: 40px; font-size: 13px; }
#app[data-ui-theme] input[type="checkbox"], #app[data-ui-theme] input[type="radio"] { min-height: 0; accent-color: var(--ui-accent); }
#app[data-ui-theme] :is(.v111-action,.v111-control,.rc2-add-member-trigger,.rc2-workflow-form button,.class-builder button) { border-radius: 8px; font-size: 13px; }
#app[data-ui-theme] :is(.v111-action--primary,.v111-primary-action,.rc2-add-member-trigger,.rc2-add-member-actions button[type="submit"]) {
  background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); box-shadow: none;
}
#app[data-ui-theme] :is(.hd-directory-columns,thead) { color: var(--ui-text-secondary); background: var(--ui-surface-inset); }
#app[data-ui-theme] :is(th,td,.hd-member-entry,.hd-ledger-head) { border-color: var(--ui-border); }
#app[data-ui-theme] :is(.rc2-member-status-badge,.rc2-status-badge) { background: var(--ui-neutral-surface); color: var(--ui-text-secondary); border-color: var(--ui-border); }
#app[data-ui-theme] .integration-status[data-integration-status="neutral"] { background: var(--ui-neutral-surface); color: var(--ui-neutral); }
#app[data-ui-theme] .rc2-member-status-badge:is([data-status="active-member"],[data-status="paid"],[data-status="completed"]) { background: var(--ui-success-surface); color: var(--ui-success); border-color: var(--ui-success-surface); }
#app[data-ui-theme] .rc2-member-status-badge:is([data-status="pending"],[data-status="prospect"],[data-status="frozen"]) { background: var(--ui-warning-surface); color: var(--ui-warning); border-color: var(--ui-warning-surface); }
#app[data-ui-theme] .rc2-member-status-badge:is([data-status="cancelled"],[data-status="expired"],[data-status="suspended"]) { background: var(--ui-danger-surface); color: var(--ui-danger); border-color: var(--ui-danger-surface); }
#app[data-ui-theme] :is(.class-builder,.rc2-workflow-panel,.rc2-workflow-form,.rc2-member-operational-summary article) { background: var(--ui-surface); border-color: var(--ui-border); border-radius: 8px; }
#app[data-ui-theme] :is(.drawer,.rc2-drawer,.rc2-add-member-dialog,.rc2-membership-plan-builder,dialog,[role="dialog"]:not(.rc2-membership-journey-layer)) {
  color: var(--ui-text-primary); background: var(--ui-surface); border-color: var(--ui-border); border-radius: 12px;
}
#app[data-ui-theme] :is(.drawer,.rc2-drawer,.rc2-add-member-dialog,dialog[open]) { max-height: calc(100dvh - 32px); overflow-y: auto; }
#app[data-ui-theme] #rc2-account-menu-panel { max-width: min(360px,calc(100vw - 32px)); }
#app[data-ui-theme] #rc2-account-menu-panel .ui-theme-preference { border-top: 1px solid var(--ui-border); padding-top: 12px; margin-top: 4px; }
#app[data-ui-theme] #rc2-account-menu-panel .ui-theme-control { display: flex; align-items: center; justify-content: space-between; width: 100%; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) {
  border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text-primary);
}
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) > header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid var(--ui-border);
}
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) > header h2 { margin: 0; font-size: 20px; line-height: 1.3; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) > header :is(span, p) { margin: 4px 0; font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) > header button {
  min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); color: var(--ui-text-primary); font-size: 13px;
}
#app[data-ui-theme] :is(.rc2-add-member-body, .rc2-plan-builder-scroll, .rc2-membership-journey-body) { padding: 20px; }
#app[data-ui-theme] :is(.rc2-add-member-grid, .rc2-plan-builder-fields) { gap: 16px; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) label { font-size: 13px; line-height: 1.5; color: var(--ui-text-secondary); }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, button:not(.rc2-membership-journey-backdrop)) { min-height: 44px; height: auto; font-size: 13px; border-radius: 8px; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) :is(input, select, textarea) { max-width: 100%; min-width: 0; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) textarea { padding: 12px; font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] :is(.rc2-add-member-actions, .rc2-membership-journey .rc2-form-actions) { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] :is(.rc2-add-member-actions, .rc2-membership-journey .rc2-form-actions) > button:first-child:not(:only-child) { margin-right: auto; }
#app[data-ui-theme] :is(.rc2-add-member-actions, .rc2-membership-journey .rc2-form-actions, .rc2-plan-builder-form > footer) button { width: auto; padding: 10px 14px; flex: none; }
#app[data-ui-theme] .rc2-plan-builder-form > footer { padding: 16px 20px; gap: 8px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .rc2-membership-journey > footer { padding: 12px 20px; gap: 8px 16px; flex-wrap: wrap; border-top: 1px solid var(--ui-border); font-size: 12px; }
#app[data-ui-theme] :is(.rc2-plan-builder-progress, .rc2-membership-progress) { display: flex; overflow-x: auto; margin: 0; padding: 0; gap: 0; border-bottom: 1px solid var(--ui-border); }
#app[data-ui-theme] :is(.rc2-plan-builder-progress, .rc2-membership-progress) li { flex: 1 0 max-content; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; color: var(--ui-text-muted); font-size: 12px; font-weight: 500; background: transparent; }
#app[data-ui-theme] :is(.rc2-plan-builder-progress, .rc2-membership-progress) li[data-state="current"] { background: var(--ui-surface-raised); color: var(--ui-text-primary); border-bottom-color: var(--ui-accent); }
#app[data-ui-theme] :is(.rc2-plan-builder-progress, .rc2-membership-progress) li[data-state="complete"] { color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-membership-plan-list label { padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; gap: 8px 12px; background: var(--ui-surface-raised); }
#app[data-ui-theme] .rc2-membership-plan-list label[data-selected="true"] { border-color: var(--ui-accent); }
#app[data-ui-theme] .rc2-add-member-grid label > small:empty { display: none; }
#app[data-ui-theme] .rc2-add-member-actions { margin-top: 0; }
#app[data-ui-theme] .rc2-add-member-success { gap: 20px; }
#app[data-ui-theme] .rc2-add-member-success > p[role="status"] { font-size: 16px; line-height: 1.5; }
#app[data-ui-theme] .rc2-add-member-success dl { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 8px 16px; margin: 0; padding: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface-raised); font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] .rc2-add-member-success dt { color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-add-member-success dd { color: var(--ui-text-primary); font-weight: 600; }
#app[data-ui-theme] .rc2-add-member-success [data-add-member-profile] { background: var(--ui-accent); border-color: var(--ui-accent); color: #fff; }
#app[data-ui-theme] .rc2-member-toolbar .btv2-member-search-control { position: relative; }
#app[data-ui-theme] .member-search-suggestions { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin-top: 6px; padding: 8px; border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); box-shadow: 0 12px 28px rgb(0 0 0 / 0.3); }
#app[data-ui-theme] .member-search-suggestions[hidden] { display: none; }
#app[data-ui-theme] .member-search-suggestions p { margin: 4px 8px 8px; color: var(--ui-text-secondary); font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] .member-search-suggestions [role="listbox"] { display: grid; max-height: 320px; overflow-y: auto; }
#app[data-ui-theme] .member-search-suggestions [role="option"] { display: grid; gap: 4px; width: 100%; min-height: 56px; padding: 10px 12px; border: 0; border-radius: 4px; text-align: left; background: transparent; color: var(--ui-text-primary); }
#app[data-ui-theme] .member-search-suggestions [role="option"] span { color: var(--ui-text-secondary); font-size: 12px; }
#app[data-ui-theme] .member-search-suggestions [role="option"]:is(:hover, [aria-selected="true"]) { background: var(--ui-surface); outline: 1px solid var(--ui-border-strong); outline-offset: -1px; }
#app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) [aria-invalid="true"] { border-color: var(--ui-danger); }
@media (max-width: 760px) {
  #app[data-ui-theme] :is(.rc2-add-member-dialog, .rc2-plan-builder-sheet, .rc2-membership-journey) > header,
  #app[data-ui-theme] :is(.rc2-add-member-body, .rc2-plan-builder-scroll, .rc2-membership-journey-body) { padding: 16px; }
}

@media (max-width: 1199px) {
  #app[data-ui-theme] .v111-page-head { grid-template-columns: minmax(0,1fr); }
  #app[data-ui-theme] .v111-page-head > .btv2-owner-operations-head { border: 1px solid var(--ui-border); border-bottom: 0; border-radius: 8px 8px 0 0; }
  #app[data-ui-theme] .v111-page-head > .v111-head-controls { grid-column: 1; grid-row: 2; flex-wrap: wrap; justify-content: flex-start; padding: 0 20px 16px; border: 1px solid var(--ui-border); border-top: 0; border-radius: 0 0 8px 8px; }
  #app[data-ui-theme] .v111-page-head > .v111-operational { grid-template-columns: minmax(0,1fr); }
  #app[data-ui-theme] .v111-operational-head { display: flex; flex-wrap: wrap; justify-content: space-between; }
}
@media (max-width: 1023px) {
  #app[data-ui-theme] :is(.v111-nav-item,.crm-all-products) { min-height: 44px; }
}
@media (max-width: 760px) {
  #app[data-ui-theme] :is(.app-header,.rc2-members-directory-header) { min-height: 0; padding: 16px; gap: 12px; }
  #app[data-ui-theme] .main > .app-header { margin: 16px 16px 0; }
  #app[data-ui-theme] .v111-page-head > .btv2-owner-operations-head { padding: 16px; min-height: 0; }
  #app[data-ui-theme] .v111-page-head > .v111-head-controls { padding: 0 16px 16px; }
  #app[data-ui-theme] :is(.app-header h1,.rc2-members-directory-header h1,.v111-page-title h1) { font-size: var(--workspace-title-size,24px); }
  #app[data-ui-theme] .header-controls { width: 100%; }
  #app[data-ui-theme] .app-header .header-controls > label { grid-column: 1 / -1; flex: 1 1 100%; width: 100%; min-width: 0; max-width: none; }
  #app[data-ui-theme] .app-header .header-controls > label > select { width: 100%; }
  #app[data-ui-theme] .v111-head-controls .v111-head-scope { flex: 1 1 150px; }
  #app[data-ui-theme] .v111-head-controls .v111-head-period { flex: 1 1 145px; }
  #app[data-ui-theme] .v111-page-head > .v111-operational > .v111-operational-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app[data-ui-theme] .v111-operational-grid > .v111-op-tile { padding: 12px 10px; column-gap: 8px; }
  #app[data-ui-theme] .v111-operational-grid > .v111-op-tile:nth-child(3) { border-left: 0; }
  #app[data-ui-theme] .v111-operational-grid > .v111-op-tile:nth-child(n+3) { border-top: 1px solid var(--ui-border); }
  #app[data-ui-theme] .v111-op-tile > span { font-size: 12px; }
  #app[data-ui-theme] :is(.header-controls,.v111-head-controls,.rc2-members-directory-meta) :is(button,input,select) { min-height: 44px; }
  #app[data-ui-theme] .rc2-system-readiness-grid { grid-template-columns: minmax(0,1fr); }
  #app[data-ui-theme] .rc2-add-member-dialog { max-width: 100%; }
}

[data-ui-theme] .ui-theme-preference { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
[data-ui-theme] .ui-theme-preference .ui-theme-feedback:empty { display: none; }
[data-ui-theme] .ui-theme-preference .ui-theme-feedback { font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--ui-text-secondary); }
[data-ui-theme] .ui-theme-preference .ui-theme-feedback button { font: inherit; color: inherit; background: transparent; border: 0; padding: 8px; text-decoration: underline; cursor: pointer; }
[data-ui-theme] .ui-theme-preference .ui-theme-feedback button:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 2px; }

/* The native CRM renderer owns its routes/account events; this is shell placement. */
#app[data-ui-theme] > .workspace-sidebar { position: fixed; inset: 0 auto 0 0; margin: 0; width: 240px; padding: 20px 14px; z-index: 60; }
#app[data-ui-theme] > .main { margin-left: 240px; min-width: 0; width: auto; }
/* Customer workspaces reserve a fixed mark and one line for their gym name. */
#app[data-ui-theme] .customer-brand { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding-right: 18px; min-height: 44px; }
#app[data-ui-theme] .customer-brand-mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; overflow: hidden; border-radius: 8px; background: var(--ui-surface); color: var(--ui-text-primary); font-weight: 700; }
#app[data-ui-theme] .customer-brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ui-surface); }
#app[data-ui-theme] .client-brand-wordmark { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-size: 1rem; font-weight: 650; }
@media (min-width: 1024px) {
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .customer-brand { padding-right: 0; justify-content: center; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .customer-brand strong { display: none; }
}

#app[data-ui-theme] :is(.customer-setup,.customer-stripe-import) { margin: 4px 0 20px; padding: clamp(14px,2vw,22px); background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 10px; color: var(--ui-text-primary); }
#app[data-ui-theme] :is(.customer-setup-heading,.setup-compact,.customer-stripe-import > div,.customer-stripe-import li) { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#app[data-ui-theme] .customer-setup h2 { margin: 0; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
#app[data-ui-theme] :is(.customer-setup h3,.customer-stripe-import h3) { font-size: 16px; margin: 12px 0 4px; }
#app[data-ui-theme] :is(.customer-setup p,.customer-setup-heading span,.customer-stripe-import p) { margin: 4px 0; color: var(--ui-text-secondary); }
#app[data-ui-theme] .customer-setup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#app[data-ui-theme] :is(.customer-setup,.customer-stripe-import) button, #app[data-ui-theme] [data-stripe-load] { padding: 9px 14px; min-height: 42px; color: var(--ui-text-primary); background: var(--ui-surface-raised); border: 1px solid var(--ui-border); border-radius: 6px; font: inherit; cursor: pointer; }
#app[data-ui-theme] .customer-setup .setup-text-action { border-color: transparent; background: transparent; }
#app[data-ui-theme] .customer-stripe-import ul { padding: 0; list-style: none; }
#app[data-ui-theme] .customer-stripe-import li { padding: 10px 0; border-bottom: 1px solid var(--ui-border); }
#app[data-ui-theme] :is(.customer-setup,.customer-stripe-import) button:focus-visible { outline: 2px solid var(--ui-text-primary); outline-offset: 2px; }

#app[data-ui-theme] .customer-setup-nav { margin-top: 5px; padding-top: 6px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .workspace-nav .customer-setup-nav > button { grid-template-columns: 18px minmax(0,1fr) 12px; width: 100%; }
#app[data-ui-theme] .customer-setup-nav > button:focus-visible { outline-offset: -3px; }
#app[data-ui-theme] .customer-setup-nav .setup-chevron { width: 7px; height: 7px; margin-left: auto; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
#app[data-ui-theme] .customer-setup-nav [aria-expanded="true"] .setup-chevron { transform: rotate(225deg); }
#app[data-ui-theme] .customer-setup-nav .customer-setup { margin: 4px 0; padding: 12px; }
#app[data-ui-theme] .customer-setup-nav .customer-setup-heading { display: grid; gap: 3px; }
#app[data-ui-theme] .customer-setup-nav h2 { font-size: 16px; }
#app[data-ui-theme] .customer-setup-nav .customer-setup-actions { display: grid; gap: 6px; margin-top: 10px; }
#app[data-ui-theme] .customer-setup-nav .customer-setup button { width: 100%; min-height: 44px; padding: 7px 8px; white-space: normal; line-height: 1.3; }
#app[data-ui-theme] .setup-step-picker {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  font-size: .8125rem;
  color: var(--ui-text-secondary);
}
#app[data-ui-theme] .setup-step-picker select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  color: var(--ui-text-primary);
  background: var(--ui-surface-raised);
  border: 1px solid var(--ui-border);
  border-radius: 6px;
}
@media (min-width: 1024px) {
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .setup-chevron { display: none; }
}
#app[data-ui-theme] .customer-dashboard-site { display: grid; gap: 4px; color: var(--ui-text-secondary); font-size: 12px; }
#app[data-ui-theme] .customer-dashboard-site strong { color: var(--ui-text-primary); font-size: 15px; overflow-wrap: anywhere; }
#app[data-ui-theme] .v111-commercial-section:has(> .customer-performance) { container-type: inline-size; }
#app[data-ui-theme] .v111-section-head:has(+ .customer-performance) {
  justify-content: flex-start;
  gap: 12px;
}
/* Shared customer workspace. Gym business data and permissions remain server scoped. */
#app[data-ui-theme][data-customer-workspace] .v111-page-head>.btv2-owner-operations-head{grid-column:1/-1;min-height:0;gap:.8rem;padding:.4rem 0 .65rem;flex-wrap:wrap;justify-content:space-between}
#app[data-customer-workspace][data-ui-theme].btv2-v111-owner .btv2-owner-operations-head>.v111-head-controls.v111-head-controls--scope-period{display:flex;position:static;flex:0 1 auto;flex-wrap:nowrap;max-width:100%;width:auto;background:transparent;border:0;border-radius:0;padding:0;min-height:0;margin:0}
#app[data-customer-workspace][data-ui-theme].btv2-v111-owner .v111-head-controls .v111-head-scope,#app[data-customer-workspace][data-ui-theme].btv2-v111-owner .v111-head-controls .v111-head-period{flex:0 1 auto;min-width:0;width:auto}
#app[data-customer-workspace][data-ui-theme] .v111-head-controls .v111-operational-actions{flex:0 0 auto;align-items:center;white-space:nowrap}
#app[data-customer-workspace][data-ui-theme] .btv2-owner-operations-head:has(>.v111-head-controls)>.v111-head-account:empty{display:none}
@media(max-width:900px){#app[data-customer-workspace][data-ui-theme].btv2-v111-owner .btv2-owner-operations-head>.v111-head-controls.v111-head-controls--scope-period{flex-wrap:wrap;justify-content:flex-start}}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace .rc2-operator-setting-list {
  width: 100%;
  max-width: 52rem;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .35rem .85rem;
  padding: .85rem 1rem;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form]:not([data-setting-type="image"]) > div {
  display: contents;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] label:has(> input[name="value"]) {
  grid-area: 1 / 1;
  min-width: 0;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] input[name="value"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] > button {
  grid-area: 1 / 2;
  align-self: end;
  justify-self: end;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] > div > span {
  grid-area: 2 / 1 / auto / -1;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-setting-type="image"] {
  align-items: center;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-setting-type="image"] > button {
  align-self: center;
}
#app[data-customer-workspace][data-ui-theme] .v111-settings-workspace .branding-scope-control {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  #app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-operator-setting-form] {
    padding: .75rem;
    column-gap: .5rem;
  }
  #app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-setting-type="image"] {
    grid-template-columns: minmax(0, 1fr);
  }
  #app[data-customer-workspace][data-ui-theme] .v111-settings-workspace [data-setting-type="image"] > button {
    grid-area: auto;
    justify-self: start;
  }
}
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid>[data-customer-chart="plan-mix"],#app[data-customer-workspace][data-ui-theme] .customer-composition-grid>[data-customer-chart="coverage"]{grid-column:span 3}
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid>[data-customer-chart="visits"]{grid-column:1/-1}
@media(max-width:900px){#app[data-customer-workspace][data-ui-theme] .customer-composition-grid>[data-customer-chart]{grid-column:1/-1;grid-row:auto}}
#app[data-ui-theme][data-customer-workspace] .v111-page-head>.v111-operational>.gym-today{grid-template-columns:repeat(5,minmax(0,1fr))}
#app[data-ui-theme][data-customer-workspace] .customer-metrics-grid.gym-performance:not([hidden]){width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){#app[data-ui-theme][data-customer-workspace] .customer-metrics-grid.gym-performance:not([hidden]){grid-template-columns:1fr}}
@media(max-width:720px){#app[data-ui-theme][data-customer-workspace] .v111-page-head>.v111-operational>.gym-today{grid-template-columns:repeat(2,minmax(0,1fr))}#app[data-ui-theme][data-customer-workspace] .gym-front-door{grid-column:1/-1}}

#app[data-customer-workspace] .gym-mark {display:inline-grid;place-items:center;flex:0 0 auto;vertical-align:middle;width:1.65rem;height:1.65rem;border-radius:6px;color:var(--ink);background:color-mix(in srgb,var(--ink) 13%,transparent)}
#app[data-customer-workspace] .gym-mark svg,.gym-bell svg {display:block;width:1.05rem;height:1.05rem}
#app[data-customer-workspace] h1>.gym-mark {margin-inline-end:.55rem;vertical-align:.04em;width:1.15em;height:1.15em}
#app[data-customer-workspace] .sidebar .gym-mark {background:transparent;width:1.2rem}
#app[data-customer-workspace] button[data-navigation-section]>.gym-mark {margin-right:.38rem}
#app[data-customer-workspace] .v111-head-controls {align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.7rem}
#app[data-customer-workspace] .v111-page-head .btv2-owner-operations-head {background:transparent;border:0;box-shadow:none}
#app[data-customer-workspace] .v111-head-controls .v111-operational-actions {display:flex;gap:.45rem}
#app[data-customer-workspace] .v111-operational-actions--mobile {display:none}
#app[data-customer-workspace] .gym-today {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.75rem),1fr));align-items:stretch}
#app[data-customer-workspace] .gym-front-door {display:flex;flex-direction:column;justify-content:center;gap:.2rem;background:#101822;padding:.65rem 1rem;border-inline-start:1px solid #293849;min-width:0}
.gym-front-door span,.gym-front-door small,.gym-chart header small {font-size:.76rem;color:#b5c1cf}
.gym-front-door strong {font-size:.84rem}.gym-front-door strong:before {content:"";display:inline-block;width:.5rem;height:.5rem;background:#768494;border-radius:50%;margin-right:.4rem}.gym-front-door strong[data-online=true]:before{background:#32d6ad}
#app[data-customer-workspace] .gym-performance:not([hidden]) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
#app[data-customer-workspace] .gym-performance>section {min-width:0}
#app[data-customer-workspace] .gym-performance h2 {font-size:.96rem;font-weight:700;margin:.15rem 0 .55rem}
#app[data-customer-workspace] .gym-performance>section>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));border:1px solid #2a3849;border-radius:8px;overflow:hidden;background:#101822}
#app[data-customer-workspace] .gym-performance article {border:0;border-radius:0;box-shadow:none;border-right:1px solid #293647;background:transparent;min-height:0;padding:.9rem;min-width:0}
#app[data-customer-workspace] .gym-performance article:last-child{border:0}
#app[data-customer-workspace] .gym-performance article header {border:0}
#app[data-customer-workspace] .gym-performance article h3,#app[data-customer-workspace] .gym-performance article>span {font-size:.82rem;line-height:1.35}
#app[data-customer-workspace] [data-customer-chart="plan-mix"],#app[data-customer-workspace] [data-customer-chart="coverage"]{grid-column:span 3;grid-row:2}
#app[data-customer-workspace] [data-customer-chart="visits"],#app[data-customer-workspace] [data-customer-chart="day-passes"]{grid-column:1/-1}
#app[data-customer-workspace] [data-customer-chart="day-passes"] article{height:auto;min-height:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem 1.2rem;padding:.75rem 1rem}
#app[data-customer-workspace] [data-customer-chart="day-passes"] :is(h3,p){margin:0}
#app[data-customer-workspace] .gym-chart header{display:flex;justify-content:space-between;gap:6px;align-items:baseline;margin-bottom:.7rem}
.gym-chart ul {list-style:none;padding:0;margin:0;display:grid;gap:.36rem;flex:1;min-width:0}
.gym-chart li {display:grid;grid-template-columns:minmax(5.3rem,auto) minmax(1rem,1fr) 2rem 3.3rem;gap:.6rem;align-items:center;font-size:.8rem}
.gym-chart li>i {height:6px;border-radius:2px;background:#24303c;overflow:hidden}
.gym-chart li>i>b {display:block;height:100%}.gym-chart li :is(strong,small){text-align:right;font-variant-numeric:tabular-nums}
.gym-donut-layout {display:flex;align-items:center;gap:clamp(1rem,2vw,2rem);flex-wrap:wrap}
.gym-donut {width:clamp(5rem,9vw,8rem);aspect-ratio:1;display:grid;place-items:center;border-radius:50%}
.gym-donut strong {width:72%;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:#101720;font-size:1.55rem}
#app[data-customer-workspace] .gym-week {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.75rem}
#app[data-customer-workspace] .gym-week>section {min-width:0;border:1px solid #2a3849;border-radius:7px;padding:.7rem;background:#101720}
#app[data-customer-workspace] .gym-week h3 {font-size:.88rem;margin:0 0 .6rem;color:#a8c8ff}
#app[data-customer-workspace] .gym-week section>small{color:#a7b6c7}
#app[data-customer-workspace] .gym-report-index {overflow:auto;border:1px solid #283747;border-radius:8px}
#app[data-customer-workspace] .gym-lead-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px 18px; padding: 12px; margin: 0; border-block: 1px solid var(--ui-border);
}
#app[data-customer-workspace] .gym-lead-facts dt { color: var(--ui-text-muted); font-size: 12px; }
#app[data-customer-workspace] .gym-lead-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.gym-report-index table{width:100%;border-collapse:collapse;text-align:left;font-size:.86rem;background:#101720}
.gym-report-index :is(th,td){padding:.55rem .9rem;border-bottom:1px solid #273341;text-align:left}
.gym-report-index thead{background:#192330}.gym-report-index td:last-child {color:#bac6d3}
#app .gym-report-index button{border:0;background:transparent;display:inline-flex;gap:.65rem;align-items:center;color:inherit;text-align:left}
#app .gym-report-index tr:has([aria-pressed=true]){background:#17283a}
#app[data-customer-workspace] :is(form[data-class-builder],form[data-rc2-session-create],.rc2-workflow-form, .rc2-settings-screen form:not([class*="filter"]),.rc2-staff-screen form:not([class*="filter"])) {box-sizing:border-box;max-width:54rem;width:100%;padding:clamp(.85rem,1.4vw,1.4rem);border:1px solid #2d3c4d;border-radius:8px;background:#101923;color:#eaf0f7}
#app[data-customer-workspace] :is(form[data-class-builder],form[data-rc2-session-create],.rc2-workflow-form,.rc2-settings-screen form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {max-width:100%;min-width:0;border-color:#42556b;border-radius:5px;background:#0d141c;color:#eaf0f7}
#app[data-customer-workspace] :is(form,button,a,summary) :focus-visible,#app[data-customer-workspace] :is(button,a,summary):focus-visible{outline:2px solid #75afff;outline-offset:2px}
#app[data-customer-workspace] .gym-notifications{position:relative;display:inline-flex;flex:none;z-index:12}
#app[data-customer-workspace] .gym-bell{display:grid;place-items:center;width:2.5rem;height:2.5rem;border:1px solid #394757;border-radius:6px;background:#141e2b;color:#cedced}
#app[data-customer-workspace] #gym-notices{position:absolute;z-index:30;right:0;top:calc(100% + 6px);width:min(24rem,calc(100vw - 2rem));max-height:65vh;overflow:auto;border:1px solid #36485d;background:#101822;border-radius:8px;padding:.8rem;box-shadow:0 10px 36px #0009}
#app[data-customer-workspace] #gym-notices[hidden],#app[data-customer-workspace] .v111-section-head[hidden]{display:none}
#gym-notices header,.gym-notice-filters {display:flex;align-items:center;justify-content:space-between;gap:.6rem}
#gym-notices h2{margin:0;font-size:1rem}.gym-notice-filters {margin:.65rem 0}
.gym-notice-filters label{display:grid;gap:.2rem;flex:1;min-width:0;font-size:.75rem;color:#b5c5d5}
#app .gym-notice-item{display:flex;width:100%;gap:.6rem;padding:.65rem .35rem;background:transparent;color:inherit;text-align:left;border:0;border-top:1px solid #283547}
.gym-notice-item strong,.gym-notice-item small{display:block}.gym-notice-item small{color:#aec0d4}
@media(max-width:900px){#app[data-customer-workspace] .gym-performance:not([hidden]){grid-template-columns:1fr}#app[data-customer-workspace] .customer-composition-grid>[data-customer-chart]{grid-column:1/-1;grid-row:auto}}
@media(max-width:650px){#app[data-customer-workspace] .v111-head-controls{justify-content:flex-start}#app[data-customer-workspace] .gym-front-door{grid-column:1/-1}.gym-chart li{gap:.35rem}}

#app[data-ui-theme] .customer-metrics-grid:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 12px;
}
/* External gym staff shell */
#app[data-customer-workspace] main.main { container: gym-main / inline-size; --gym-gutter:clamp(1rem,2vw,2rem); }
#app[data-customer-workspace][data-ui-theme].btv2-shell-active.btv2-v111-owner .screen.v111-owner-dashboard { padding-inline:var(--gym-gutter); }
#app[data-customer-workspace] .gym-workspace-bar {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; grid-column:1/-1;
  border-bottom:1px solid var(--ui-border); padding:.3rem var(--gym-gutter); color:var(--ui-text-secondary); font-size:.83rem;
}
#app[data-customer-workspace] .gym-workspace-bar .gym-bell {
  display:inline-flex; align-items:center; gap:.5rem; width:auto; height:44px; padding-inline:.8rem;
  color:var(--ui-text-primary); background:var(--ui-surface-raised); font-weight:600;
}
#app[data-customer-workspace] .gym-bell[aria-expanded=true] { border-color:var(--ui-text-secondary); }
#app[data-customer-workspace] .v111-head-scope:has(.customer-dashboard-site) { display:none; }
#app[data-customer-workspace][data-ui-theme] .v111-head-controls:has(.v111-site-select) { align-items:flex-end; }
#app[data-customer-workspace][data-ui-theme] .v111-head-scope select.v111-site-select { height:44px; min-height:44px; }
#app[data-customer-workspace] :is(.gym-period-label,.gym-sr) {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
#app[data-customer-workspace][data-ui-theme] .v111-head-controls .btv2-owner-period-control > label { display:flex; margin:0; gap:0; }
#app[data-customer-workspace][data-ui-theme] .v111-head-controls #date-range { height:44px; min-height:44px; }
.gym-date-dialog { box-sizing:border-box; width:min(26rem, calc(100vw - 2rem)); margin:auto; padding:1.25rem; color:#f2f6fb; background:#101923; border:1px solid #405168; border-radius:10px; color-scheme:dark; }
.gym-date-dialog::backdrop { background:rgb(4 8 13 / 65%); }
.gym-date-dialog h2 { margin:0 0 1rem; font-size:1.2rem; }
.gym-date-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr)); gap:.75rem; }
.gym-date-fields label { display:grid; gap:.35rem; font-size:.875rem; }
.gym-date-dialog :is(input,button) { box-sizing:border-box; min-width:0; min-height:44px; padding:.5rem .65rem; border:1px solid #536478; border-radius:6px; background:#0d141e; color:inherit; font:inherit; }
.gym-date-dialog :focus-visible { outline:2px solid #8ebaff; outline-offset:2px; }
.gym-date-actions { display:flex; justify-content:flex-end; gap:.5rem; margin-top:1rem; }
.gym-date-actions button { cursor:pointer; }
.gym-date-actions button[type=submit] { background:#243548; font-weight:600; }
#app[data-customer-workspace][data-ui-theme] .v111-head-controls .v111-operational-actions .v111-action--primary { background:#bd1830; color:white; border-color:#bd1830; }
#app[data-customer-workspace][data-ui-theme] .v111-head-controls .v111-operational-actions button span { color:inherit; font-weight:600; }
#app[data-customer-workspace][data-ui-theme] .v111-head-controls .v111-operational-actions .v111-action--primary:hover { background:#a31529; }

/* These groups respond to space remaining after navigation. */
#app[data-customer-workspace][data-ui-theme] .customer-metrics-grid.gym-performance:not([hidden]) { grid-template-columns:minmax(0,3fr) minmax(0,4fr); }
#app[data-customer-workspace] .gym-performance > section > div { grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; grid-template-columns:none; }
#app[data-customer-workspace][data-ui-theme] .gym-performance article > strong { font-size:clamp(1.35rem,1.65vw,2rem); white-space:normal; overflow-wrap:anywhere; }
#app[data-customer-workspace][data-ui-theme] .gym-performance article { padding:.75rem .85rem; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:"sex ages" "coverage plans" "visits visits" "passes passes";
}
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=gender] { grid-area:sex; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=age] { grid-area:ages; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=plan-mix] { grid-area:plans; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=coverage] { grid-area:coverage; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=visits] { grid-area:visits; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid > [data-customer-chart=day-passes] { grid-area:passes; }
#app[data-customer-workspace][data-ui-theme] .customer-composition-grid article:only-child { height:100%; min-height:0; }
#app[data-customer-workspace] .gym-chart-gender { display:flex; flex-direction:column; }
#app[data-customer-workspace] .gym-donut-layout { flex:1; display:grid; grid-template-columns:auto minmax(0,1fr); gap:1rem; }
#app[data-customer-workspace] .gym-donut { width:clamp(6rem,8vw,8.25rem); }
#app[data-customer-workspace] .gym-donut strong { align-content:center; }
#app[data-customer-workspace] .gym-donut strong small { font-size:.7rem; font-weight:500; color:var(--ui-text-secondary); }
#app[data-customer-workspace] .gym-sex-legend li { grid-template-columns:minmax(0,1fr) auto 3rem; gap:.45rem; padding-block:.25rem; }
#app[data-customer-workspace] .gym-sex-legend li + li { border-top:1px solid var(--ui-border); }
#app[data-customer-workspace] .gym-sex-legend li span { display:inline-flex; align-items:center; gap:.5rem; }
#app[data-customer-workspace] .gym-sex-legend li i { width:.55rem; height:.55rem; border-radius:50%; flex:none; }
#app[data-customer-workspace] .gym-chart-coverage ul { gap:1rem; }
#app[data-customer-workspace] .gym-chart-coverage li { grid-template-columns:minmax(0,1fr) auto auto; gap:.4rem .8rem; }
#app[data-customer-workspace] .gym-chart-coverage li > i { grid-column:1/-1; grid-row:2; }
#app[data-customer-workspace] .gym-chart-coverage li > span { grid-area:1/1; }
#app[data-customer-workspace] .gym-chart-coverage li > strong { grid-area:1/2; }
#app[data-customer-workspace] .gym-chart-coverage li > small { grid-area:1/3; }
#app[data-customer-workspace] .v111-plan-mix[aria-label="Paid signups by membership plan"] > div { display:grid; grid-template-columns:minmax(8rem,1.25fr) minmax(2rem,1fr) 2rem 3rem; align-items:center; gap:.5rem; }
#app[data-customer-workspace] .v111-plan-mix[aria-label="Paid signups by membership plan"] > div > span:first-child { width:auto; max-width:none; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }

#app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-row { grid-template-columns:minmax(10rem,1.45fr) minmax(9rem,1fr) minmax(5rem,.75fr) minmax(5rem,.65fr) minmax(5rem,.55fr) 15rem; gap:.6rem; align-items:center; }
#app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-row > [role=cell] { min-width:0; align-self:center; padding:0; overflow-wrap:anywhere; }
#app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-row-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; }
#app[data-customer-workspace][data-ui-theme] .rc2-membership-plan-admin:has(> button[data-stripe-load]) {
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
}
#app[data-customer-workspace] .rc2-membership-plan-admin:has(> button[data-stripe-load]) > * { grid-column:1/-1; }
#app[data-customer-workspace] .rc2-membership-plan-admin:has(> button[data-stripe-load]) > .rc2-plan-admin-header { grid-area:1/1; }
#app[data-customer-workspace] .rc2-membership-plan-admin > button[data-stripe-load] { grid-area:1/2; justify-self:start; }
@container gym-main (max-width:41rem) {
  #app[data-customer-workspace][data-ui-theme] .rc2-membership-plan-admin:has(> button[data-stripe-load]) { grid-template-columns:minmax(0,1fr); }
  #app[data-customer-workspace] .rc2-membership-plan-admin > button[data-stripe-load] { grid-area:auto/1; }
}

#app[data-customer-workspace] .gym-plan-detail-row[hidden] { display: none; }
#app[data-customer-workspace] .gym-plan-detail-row > [role="cell"] {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .65rem 1.25rem; padding: .75rem 1rem;
  background: var(--ui-surface); border-top: 1px solid var(--ui-border);
}
#app[data-customer-workspace] .gym-plan-reference {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .65rem; min-width: 0;
}
#app[data-customer-workspace] .gym-plan-reference code { font-size: .78rem; overflow-wrap: anywhere; }
#app[data-customer-workspace] .gym-plan-extra-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
#app[data-customer-workspace][data-ui-theme] .gym-plan-extra-actions button {
  min-height: 2.25rem; padding: .35rem .8rem; border: 1px solid var(--ui-border);
  border-radius: .375rem; background: var(--ui-surface); color: var(--ui-text-primary); font: inherit;
}
#app[data-customer-workspace][data-ui-theme] .gym-plan-extra-actions button:disabled { opacity: .55; }
@media (pointer: coarse) {
  #app[data-customer-workspace][data-ui-theme] .gym-plan-extra-actions button { min-height: 44px; }
}
#app[data-customer-workspace][data-ui-theme] .rc2-plan-row-actions .gym-plan-toggle {
  padding-inline: .35rem; color: var(--ui-text-secondary); background: transparent; border-color: transparent;
}
#app[data-customer-workspace][data-ui-theme] .rc2-plan-row-actions .gym-plan-toggle:hover { color: var(--ui-text-primary); text-decoration: underline; }

@container gym-main (max-width:76rem) {
  #app[data-customer-workspace][data-ui-theme] .customer-metrics-grid.gym-performance:not([hidden]) { grid-template-columns:1fr; }
}
@container gym-main (max-width:59rem) {
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-row:not(.rc2-plan-admin-columns) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem 1rem; padding:1rem; }
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-row > [role=cell] { display:grid; }
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-columns { display:none; }
  #app[data-customer-workspace] .rc2-plan-admin-list [role=cell][data-gym-column]::before { content:attr(data-gym-column); color:var(--ui-text-secondary); font-size:.74rem; }
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-row-actions[role=cell] { display:flex; }
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-cell-label { display:none; }
}
@container gym-main (max-width:41rem) {
  #app[data-customer-workspace][data-ui-theme] .customer-composition-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"sex" "ages" "coverage" "plans" "visits" "passes"; }
  #app[data-customer-workspace] .gym-performance > section > div { grid-template-columns:1fr; grid-auto-flow:row; }
  #app[data-customer-workspace][data-ui-theme] .gym-performance article { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.15rem .75rem; border-right:0; border-bottom:1px solid var(--ui-border); padding:.6rem .8rem; }
  #app[data-customer-workspace][data-ui-theme] .gym-performance article > strong { grid-column:2; grid-row:1; font-size:1.25rem; }
  #app[data-customer-workspace] .gym-performance article > small { grid-column:1/-1; }
  #app[data-customer-workspace] .gym-performance .v111-kpi-tags:empty { display:none; }
  #app[data-customer-workspace] .gym-performance .customer-empty-panel p { grid-column:1/-1; }
  #app[data-customer-workspace][data-ui-theme] .rc2-plan-admin-list .rc2-plan-admin-row:not(.rc2-plan-admin-columns) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #app[data-customer-workspace] .rc2-plan-admin-list .rc2-plan-row-actions { grid-column:1/-1; }
  #app[data-customer-workspace] .v111-plan-mix[aria-label="Paid signups by membership plan"] > div { grid-template-columns:minmax(0,1.35fr) minmax(1rem,.75fr) 1.6rem 2.8rem; }
}

#app[data-ui-theme] .customer-dashboard-panels {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
}
#app[data-ui-theme] .customer-composition-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
#app[data-ui-theme] :where(.customer-composition-grid) > div { grid-column: span 6; min-width: 0; }
#app[data-ui-theme] [data-customer-chart="gender"],
#app[data-ui-theme] [data-customer-chart="age"] { grid-column: span 3; }
#app[data-ui-theme] [data-customer-chart="visits"] { grid-column: span 4; }
#app[data-ui-theme] [data-customer-chart="coverage"] { grid-column: span 2; }
#app[data-ui-theme] .customer-composition-grid article { box-sizing: border-box; height: 100%; }
#app[data-ui-theme] .customer-empty-panel header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
#app[data-ui-theme] .customer-empty-panel header small,
#app[data-ui-theme] .customer-breakdown small { color: var(--text-muted, #a5b1bf); }
#app[data-ui-theme] .customer-breakdown {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); margin-top: 16px;
}
#app[data-ui-theme] .customer-empty-ring {
  display: grid; place-items: center; flex: 0 0 auto; width: clamp(66px, 8vw, 125px);
  aspect-ratio: 1; border: clamp(6px, .75vw, 12px) solid #354151; border-radius: 50%;
  font-size: 1.25rem; color: #a5b1bf;
}
#app[data-ui-theme] .customer-breakdown ul { list-style: none; flex: 1; min-width: 0; margin: 0; padding: 0; }
#app[data-ui-theme] .customer-breakdown li { display: flex; align-items: center; gap: 10px; font-size: .8125rem; }
#app[data-ui-theme] .customer-breakdown small { margin-left: auto; }
#app[data-ui-theme] .customer-breakdown.gender li { padding: 6px 0; border-bottom: 1px solid #27313e; }
#app[data-ui-theme] .customer-breakdown.age span { width: 4rem; }
#app[data-ui-theme] .customer-breakdown.age i { height: 6px; flex: 1; background: #27313e; border-radius: 2px; }
#app[data-ui-theme] .customer-empty-panel p strong { display: block; margin: 5px 0; font-size: 1.55rem; }
@media (max-width: 900px) {
  #app[data-ui-theme] .customer-composition-grid > div { grid-column: 1 / -1; }
  #app[data-ui-theme] .customer-dashboard-panels { grid-template-columns: minmax(0, 1fr); }
}
#app[data-ui-theme] .customer-empty-panel {
  min-width: 0;
  min-height: 0;
  padding: 16px 20px;
}
#app[data-ui-theme] .customer-empty-panel h3 {
  margin: 0;
  font-size: 1rem;
}
#app[data-ui-theme] .customer-empty-panel p {
  margin: 6px 0 0;
  color: var(--text-muted, #a5b1bf);
}
#app[data-ui-theme] .customer-performance[data-single-metric="true"] .customer-metrics-grid {
  max-width: 22rem;
}
#app[data-ui-theme] .customer-metrics-grid .v111-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  min-width: 0;
  min-height: 0;
  padding: 16px 20px;
}
#app[data-ui-theme] .customer-metrics-grid .v111-kpi > span {
  align-self: flex-start;
  justify-content: flex-start;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}
#app[data-ui-theme] .customer-metrics-grid .v111-kpi > strong {
  margin: 2px 0;
  font-size: 30px;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}
#app[data-ui-theme] .customer-metrics-grid .v111-kpi > small {
  margin: 0;
  text-align: left;
}
#app[data-ui-theme] .customer-metrics-grid .v111-kpi-tags:empty {
  display: none;
}
@container (min-width: 42rem) {
  #app[data-ui-theme] .customer-performance[data-single-metric="true"] {
    display: grid;
    grid-template-columns: 19rem minmax(0, 61ch);
    align-items: start;
    gap: 24px;
  }
  #app[data-ui-theme] .customer-performance[data-single-metric="true"] > .customer-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

#app[data-ui-theme] .workspace-brand-row { position: relative; display: block; min-height: 70px; flex: 0 0 auto; }
#app[data-ui-theme] .workspace-logo[data-custom-brand="true"] { aspect-ratio: 1500 / 350; object-fit: contain; }
#app[data-ui-theme] .workspace-brand :is(strong,.workspace-product-name) { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app[data-ui-theme] .branding-scope-control { max-width: 280px; margin-bottom: 16px; }
#app[data-ui-theme] .workspace-brand-row .btv2-desktop-nav-toggle { position: absolute; right: -8px; top: -12px; width: 28px; height: 28px; min-height: 28px; padding: 0; background: transparent; border: 0; border-radius: 6px; color: var(--ui-text-muted); font-size: 20px; }
#app[data-ui-theme] .workspace-nav .rc2-nav-group { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; border: 0; }
#app[data-ui-theme] .workspace-sidebar .workspace-nav { position: static; inset: auto; max-height: none; background: transparent; z-index: auto; }
#app[data-ui-theme] .workspace-nav .v111-nav-icon { display: flex; align-items: center; width: 18px; height: 20px; margin: 0; }
#app[data-ui-theme] .workspace-account { overflow: visible; }
#app[data-ui-theme] .workspace-account .rc2-account-menu { width: 100%; min-width: 0; }
#app[data-ui-theme] .workspace-account .rc2-account-menu > button { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; width: 100%; padding: 8px 10px; margin: 0; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); color: var(--ui-text-primary); text-align: left; }
#app[data-ui-theme] .workspace-account .rc2-account-menu > button strong { color: var(--ui-text-muted); font-size: 11px; font-weight: 500; }
#app[data-ui-theme] .workspace-account #rc2-account-menu-panel { position: absolute; top: auto; bottom: calc(100% + 8px); left: 0; right: auto; width: 212px; min-width: 0; max-height: 60dvh; overflow: auto; }
@media (min-width: 1024px) {
  #app[data-ui-theme][data-btv2-sidebar-collapsed="true"] > .main { margin-left: 76px; }
  #app[data-ui-theme][data-btv2-sidebar-collapsed="true"] > .workspace-sidebar { width: 76px; padding: 20px 10px; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .workspace-logo { width: 54px; height: auto; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .workspace-brand-row { min-height: 54px; padding-top: 18px; }
  #app[data-ui-theme][data-btv2-sidebar-collapsed="true"] .workspace-sidebar[data-sidebar-collapsed="true"] .workspace-nav { display: flex; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .workspace-nav .v111-nav-item { display: flex; align-items: center; justify-content: center; padding: 10px; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] :is(.workspace-product-name,.v111-nav-label,.workspace-product-switcher > span) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .workspace-product-switcher { display: flex; justify-content: center; padding: 10px; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] .rc2-account-menu > button { padding: 8px 4px; overflow: hidden; font-size: 10px; }
  #app[data-ui-theme] .workspace-sidebar[data-sidebar-collapsed="true"] #rc2-account-menu-panel { position: fixed; left: 82px; bottom: 16px; }
}
@media (max-width: 1023px) {
  #app[data-ui-theme] > .workspace-sidebar { width: min(280px,calc(100vw - 44px)); z-index: 80; transform: translateX(-105%); visibility: hidden; max-height: none; }
  #app[data-ui-theme] > .workspace-sidebar.mobile-open { transform: translateX(0); visibility: visible; }
  #app[data-ui-theme] > .main { margin-left: 0; width: 100%; }
  #app[data-ui-theme] .workspace-brand-row .btv2-desktop-nav-toggle { display: none; }
  #app[data-ui-theme] .workspace-nav { display: flex; }
}

#app[data-ui-theme] .rc2-staff-admin-layout { align-items: start; }
#app[data-ui-theme] .rc2-workspace-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; }
#app[data-ui-theme] .rc2-workspace-summary > p { margin: 0; color: var(--ui-text-secondary); font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] .rc2-workspace-summary > div { display: flex; flex-wrap: wrap; gap: 20px; }
#app[data-ui-theme] .rc2-workspace-summary .mini-stat { display: flex; align-items: baseline; gap: 8px; padding: 0; min-height: 0; border: 0; background: transparent; }
#app[data-ui-theme] .rc2-workspace-summary .mini-stat span { font-size: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-workspace-summary .mini-stat strong { font-size: 18px; color: var(--ui-text-primary); }
#app[data-ui-theme] .rc2-workspace-disclosure { min-width: 0; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); padding: 0; }
#app[data-ui-theme] .rc2-workspace-disclosure > summary { cursor: pointer; min-height: 44px; padding: 12px 16px; color: var(--ui-text-primary); font-size: 13px; font-weight: 600; }
#app[data-ui-theme] .rc2-workspace-disclosure[open] > summary { border-bottom: 1px solid var(--ui-border); margin-bottom: 16px; }
#app[data-ui-theme] .rc2-workspace-disclosure > :not(summary) { margin: 16px; }
#app[data-ui-theme] .rc2-workspace-disclosure > summary:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
#app[data-ui-theme] .rc2-staff-workspace { display: grid; align-content: start; gap: 16px; }
#app[data-ui-theme] .rc2-staff-admin :is(.rc2-staff-selected,.rc2-staff-directory,.rc2-staff-audit) { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px; padding: 16px 20px; }
#app[data-ui-theme] .rc2-staff-admin :is(form,fieldset) { min-width: 0; }
#app[data-ui-theme] .rc2-staff-admin form { gap: 16px; }
#app[data-ui-theme] .rc2-staff-directory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#app[data-ui-theme] .rc2-staff-directory-filters > label:first-child { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-staff-admin form > label { font-size: 13px; font-weight: 500; }
#app[data-ui-theme] .rc2-staff-admin form > small { font-size: 12px; line-height: 1.5; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-staff-admin .rc2-form-actions { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 0; border-top: 1px solid var(--ui-border); background: transparent; }
#app[data-ui-theme] .rc2-staff-admin button { min-height: 44px; }
#app[data-ui-theme] .rc2-staff-admin .rc2-staff-location-picker { gap: 8px; border: 0; background: transparent; }
#app[data-ui-theme] .rc2-staff-admin :is(.rc2-staff-location-picker,.rc2-staff-capability-picker) legend { font-size: 13px; font-weight: 500; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-staff-admin :is(.rc2-staff-location-picker,.rc2-staff-capability-picker) label { display: flex; align-items: center; min-height: 40px; font-size: 13px; }
#app[data-ui-theme] .rc2-staff-admin .rc2-staff-capability-picker .rc2-capability-search { display: grid; }
#app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups :is(label,details)[hidden] { display: none; }
@media (min-width: 1100px) {
  #app[data-ui-theme] .rc2-staff-admin-layout { grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 16px; }
}
#app[data-ui-theme] .rc2-staff-capability-picker { grid-template-columns: minmax(0, 1fr); }
#app[data-ui-theme] .rc2-staff-admin :is(input:not([type="checkbox"]),select) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-staff-admin :is(.rc2-staff-location-picker,.rc2-staff-capability-picker) label { min-height: 44px; }
#app[data-ui-theme] .rc2-staff-admin .rc2-staff-capability-picker { padding: 0; border: 0; background: transparent; gap: 16px; }
#app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups { gap: 8px; align-items: start; }
#app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups summary { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
#app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups summary span { flex: 1; }
#app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups details > div { grid-template-columns: minmax(0, 1fr); }
#app[data-ui-theme] .rc2-staff-admin .rc2-staff-create form > button { width: auto; justify-self: start; padding-inline: 20px; }
@media (max-width: 600px) {
  #app[data-ui-theme] .rc2-staff-admin .rc2-capability-groups { grid-template-columns: minmax(0, 1fr); }
}
#app[data-ui-theme] .rc2-workflow-feedback:empty { display: none; }
#app[data-ui-theme] .rc2-operator-settings .rc2-operator-setting-list { border: 1px solid var(--ui-border); border-radius: 8px; overflow: hidden; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-operator-setting-list form { padding: 16px 20px; gap: 16px; align-items: center; background: transparent; }
#app[data-ui-theme] .rc2-operator-setting-list form label { font-size: 13px; font-weight: 500; }
#app[data-ui-theme] .rc2-operator-setting-list form :is(input,select) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-operator-setting-list form button { min-height: 44px; min-width: 88px; font-size: 13px; }
#app[data-ui-theme] .rc2-operator-scope-note { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; font-size: 13px; }
#app[data-ui-theme] .rc2-operator-settings .rc2-plan-admin-boundary { padding: 0; border: 0; background: transparent; font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] :is(.rc2-system-readiness,.rc2-account-subscription) .rc2-system-readiness-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; border: 0; background: transparent; overflow: visible; }
#app[data-ui-theme] :is(.rc2-system-readiness,.rc2-account-subscription) .rc2-system-readiness-grid > article { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 16px 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] :is(.rc2-system-readiness,.rc2-account-subscription) .rc2-system-readiness-grid > article > strong { grid-area: auto; font-size: 18px; text-align: left; overflow-wrap: anywhere; }
#app[data-ui-theme] :is(.rc2-system-readiness,.rc2-account-subscription) .rc2-system-readiness-grid > article > small { color: var(--ui-text-secondary); font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] .rc2-system-readiness-links { display: flex; flex-wrap: wrap; gap: 8px; }
#app[data-ui-theme] .rc2-system-readiness-links button { min-height: 44px; }
#app[data-ui-theme] :is(.rc2-system-readiness-links button,.integrations-intro .integration-text-button) { min-height: 44px; padding: 10px 14px; border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); color: var(--ui-text-primary); font-size: 13px; }
#app[data-ui-theme] .rc2-staff-capability-picker .rc2-capability-search {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  background: transparent; border: 0; padding: 0; gap: 6px;
}
#app[data-ui-theme] .rc2-capability-search input { width: 100%; height: 40px; }
#app[data-ui-theme] .rc2-capability-groups {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); align-items: start;
}
#app[data-ui-theme] .rc2-staff-capability-picker > small { background: transparent; color: var(--ui-text-muted); }

#app[data-ui-theme] .rc2-report-table-row {
  grid-template-columns: repeat(var(--rc2-report-columns), minmax(150px, 1fr));
  min-width: calc(var(--rc2-report-columns) * 150px);
}
#app[data-ui-theme] .rc2-report-table-head > span { font-size: 12px; font-weight: 500; }
#app[data-ui-theme] .rc2-reports-screen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
#app[data-ui-theme] .rc2-reports-screen > * { min-width: 0; grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-filter-summary { padding: 12px 16px; gap: 12px 24px; }
#app[data-ui-theme] .rc2-report-filter-summary .rc2-location-control { display: flex; align-items: center; gap: 10px; color: var(--ui-text-muted); font-size: 12px; }
#app[data-ui-theme] .rc2-report-filter-summary .rc2-location-control select { min-height: 44px; max-width: 100%; width: 220px; font-size: 13px; }
#app[data-ui-theme] .rc2-report-picker { display: grid; gap: 8px; font-size: 13px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-report-picker select { min-height: 44px; width: 100%; font-size: 14px; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index { display: none; padding: 8px; margin: 0; gap: 2px; }
#app[data-ui-theme] .rc2-report-index-title { margin: 0; padding: 8px 10px 14px; font-size: 15px; font-weight: 600; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index-group { padding: 14px 10px 6px; background: transparent; font-size: 11px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index > button { min-height: 44px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 6px; box-shadow: none; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index > button > strong { font-size: 13px; font-weight: 500; line-height: 1.5; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index > button[aria-pressed="true"] { background: var(--ui-surface-raised); border-color: var(--ui-border); box-shadow: inset 3px 0 var(--ui-accent); }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-index .rc2-report-arrow { display: block; grid-column: 2; grid-row: 1; font-size: 18px; line-height: 1; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-report-detail { display: block; padding: 24px; margin: 0; }
#app[data-ui-theme] .rc2-report-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
#app[data-ui-theme] .rc2-report-heading > div:first-child { min-width: 0; }
#app[data-ui-theme] .rc2-report-heading h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 650; }
#app[data-ui-theme] .rc2-report-heading p { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--ui-text-secondary); max-width: 70ch; }
#app[data-ui-theme] .rc2-report-heading .rc2-row-actions { flex-shrink: 0; }
#app[data-ui-theme] .rc2-report-data-status { display: inline-block; justify-self: start; color: var(--ui-text-secondary); background: var(--ui-surface-inset); border: 1px solid var(--ui-border); border-radius: 5px; padding: 5px 8px; font-size: 11px; line-height: 1.4; margin: 14px 0 0; }
#app[data-ui-theme] .rc2-report-detail .rc2-workspace-disclosure { margin: 24px 0 0; }
#app[data-ui-theme] .rc2-report-provenance { border: 0; background: transparent; }
#app[data-ui-theme] .rc2-report-provenance > div { border: 0; }
#app[data-ui-theme] .rc2-report-provenance strong { font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-coverage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 0; margin: 20px 0; border: 0; border-block: 1px solid var(--ui-border); border-radius: 0; gap: 16px; background: transparent; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-coverage > div { display: grid; gap: 8px; align-content: start; padding: 0; border: 0; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-coverage span { font-size: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-coverage strong { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-visual-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-empty { padding: 24px; border: 1px dashed var(--ui-border-strong); border-radius: 8px; background: transparent; text-align: center; }
#app[data-ui-theme] .rc2-report-empty strong { font-size: 14px; font-weight: 600; }
#app[data-ui-theme] .rc2-report-empty p { max-width: 56ch; margin: 8px auto 0; font-size: 13px; line-height: 1.6; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-reports-screen .rc2-report-chart { border: 0; padding: 0; background: transparent; }
#app[data-ui-theme] .rc2-report-chart > div:last-child { gap: 14px; padding-block: 8px; }
#app[data-ui-theme] .rc2-report-chart article { grid-template-columns: minmax(100px, 1fr) minmax(60px, 2fr) minmax(70px, 1fr); gap: 16px; font-size: 13px; }
#app[data-ui-theme] .rc2-report-breakdown { margin-top: 24px; min-width: 0; }
#app[data-ui-theme] .rc2-report-breakdown > .rc2-section-heading { margin: 0; padding: 0; border: 0; }
#app[data-ui-theme] .rc2-report-breakdown h2 { font-size: 15px; font-weight: 600; }
#app[data-ui-theme] .rc2-report-breakdown > .rc2-section-heading > span { font-size: 11px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-report-table-row > span:first-child { position: sticky; left: 0; z-index: 1; background: var(--ui-surface); border-right: 1px solid var(--ui-border); font-weight: 600; }
#app[data-ui-theme] .rc2-report-table-head > span:first-child { background: var(--ui-surface-raised); }
#app[data-ui-theme] .rc2-report-summary-group { padding-block: 8px; }
#app[data-ui-theme] .rc2-report-summary-group summary { font-size: 12px; cursor: pointer; }
#app[data-ui-theme] .rc2-report-summary-group > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px; }
@media (min-width: 1100px) {
  #app[data-ui-theme] .rc2-reports-screen { grid-template-columns: 248px minmax(0, 1fr); gap: 16px 24px; }
  #app[data-ui-theme] .rc2-reports-screen > .rc2-report-index { display: grid; grid-column: 1; max-height: none; position: static; }
  #app[data-ui-theme] .rc2-report-picker { display: none; }
  #app[data-ui-theme] .rc2-reports-screen > .rc2-report-detail { grid-column: 2; }
  #app[data-customer-workspace] .rc2-reports-screen { grid-template-columns: minmax(0, 1fr); }
  #app[data-customer-workspace] .rc2-reports-screen > .rc2-report-detail { grid-column: 1 / -1; min-width: 0; }
}
@media (max-width: 600px) {
  #app[data-ui-theme] .rc2-report-filter-summary > div[data-control="site"] { width: 100%; }
  #app[data-ui-theme] .rc2-report-filter-summary .rc2-location-control { flex: 1; }
  #app[data-ui-theme] .rc2-report-filter-summary .rc2-location-control select { width: auto; flex: 1; min-width: 0; }
  #app[data-ui-theme] .rc2-report-detail { padding: 16px; }
  #app[data-ui-theme] .rc2-report-heading { flex-direction: column; }
  #app[data-ui-theme] .rc2-reports-screen .rc2-report-empty { padding: 20px 12px; }
  #app[data-ui-theme] .rc2-report-breakdown > .rc2-section-heading { align-items: start; flex-direction: column; gap: 6px; }
  #app[data-ui-theme] .rc2-report-chart article { grid-template-columns: minmax(0, 1fr) minmax(60px, 1fr) minmax(60px, 1fr); gap: 8px; font-size: 12px; }
}
#app[data-ui-theme] .rc2-export-builder { gap: 16px; padding: 16px 20px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px; }
#app[data-ui-theme] .rc2-export-builder > label { min-width: 0; font-size: 13px; font-weight: 500; }
#app[data-ui-theme] .rc2-export-record-selection { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-export-record-selection label { display: grid; gap: 8px; }
#app[data-ui-theme] .rc2-export-record-selection textarea { width: 100%; }
#app[data-ui-theme] .rc2-export-field-picker { border: 0; background: transparent; gap: 8px; }
#app[data-ui-theme] .rc2-export-field-picker label { min-height: 40px; padding: 8px 12px; font-size: 13px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface-raised); }
#app[data-ui-theme] .rc2-export-actions button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-export-builder :is(input:not([type="checkbox"]),select) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-export-field-picker label { min-height: 44px; }
#app[data-ui-theme] .rc2-export-actions { padding-top: 16px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .rc2-export-actions button[type="submit"]:not(:disabled) { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }
#app[data-ui-theme] .rc2-export-history > .rc2-section-heading { padding: 16px 20px; }
#app[data-ui-theme] .rc2-export-history button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-report-detail .rc2-row-actions button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-report-table-row > span { padding: 12px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
#app[data-ui-theme] .rc2-report-summary { padding: 16px; }
#app[data-ui-theme] .rc2-plan-admin-row :is([role="cell"], [role="columnheader"]) { padding-inline: 0; }
#app[data-ui-theme] :is(.rc2-plan-status-tabs,.rc2-session-view-switch) { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; background: transparent; }
#app[data-ui-theme] :is(.rc2-plan-status-tabs,.hd-member-segments,.rc2-session-view-switch) button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--workspace-control-height, 40px); height: auto; margin: 0; padding: 8px 12px; border: 1px solid var(--ui-border); border-radius: 6px; background: transparent; box-shadow: none; color: var(--ui-text-secondary); font-size: 13px; font-weight: 600; line-height: 20px; }
#app[data-ui-theme] :is(.rc2-plan-status-tabs,.hd-member-segments,.rc2-session-view-switch) button > :is(span,strong) { margin: 0; font: inherit; color: inherit; }
#app[data-ui-theme] .rc2-plan-status-tabs button[aria-current="page"] { background: var(--ui-surface-raised); border-color: var(--ui-border-strong); color: var(--ui-text-primary); }
#app[data-ui-theme] .rc2-plan-row-actions { gap: 8px; }
#app[data-ui-theme] .rc2-plan-row-actions button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-plan-admin-list { overflow-x: auto; }
#app[data-ui-theme] .v111-operations-overview > .operations-workbench { margin: 0; padding: 0; }
#app[data-ui-theme] .operations-workbench-boundary { padding: 0; border: 0; background: transparent; }
#app[data-ui-theme] .operations-workbench-boundary p { margin: 0; color: var(--ui-text-secondary); font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] .operations-workbench-filters :is(label,select) { font-size: 13px; }
#app[data-ui-theme] .operations-workbench-detail { padding: 20px; gap: 16px; }
#app[data-ui-theme] .operations-workbench-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 16px; }
#app[data-ui-theme] .operations-workbench-facts > div { gap: 6px; }
#app[data-ui-theme] .operations-workbench-action-panel { padding: 16px; gap: 12px; }
#app[data-ui-theme] .operations-workbench :is(button,select) { min-height: 44px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) .rc2-workflow-panel { padding: 20px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) .rc2-workflow-grid { gap: 16px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) .rc2-workflow-form { gap: 16px; padding: 16px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) :is(label,input:not([type="hidden"]),select,textarea,button) { font-size: 13px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) :is(input:not([type="hidden"],[type="checkbox"],[type="radio"]),select,button) { min-height: 44px; }
#app[data-ui-theme] .rc2-operator-leads .rc2-lead-create form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
#app[data-ui-theme] .rc2-operator-leads .rc2-lead-create button { width: auto; padding-inline: 20px; }
#app[data-ui-theme] .rc2-operator-leads .rc2-lead-create button:not(:disabled) { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) .rc2-workflow-timeline article { padding: 16px 0; gap: 8px; }
#app[data-ui-theme] :is(.rc2-operator-leads,[data-rc2-screen="tasks"]) .rc2-workflow-timeline :is(span,em) { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#app[data-ui-theme] [data-rc2-task-workflow] dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#app[data-ui-theme] [data-rc2-task-workflow] :is(dt,dd) { margin: 0; font-size: 13px; }
#app[data-ui-theme] [data-rc2-task-workflow] dt { margin-bottom: 6px; color: var(--ui-text-secondary); font-size: 12px; }
@media (max-width: 700px) {
  #app[data-ui-theme] :is(.operations-workbench-facts,[data-rc2-task-workflow] dl) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app[data-ui-theme] .rc2-operator-leads .rc2-lead-create form { grid-template-columns: minmax(0, 1fr); }
  #app[data-ui-theme] .rc2-operator-leads .rc2-lead-create button { justify-self: start; }
}
#app[data-ui-theme] .rc2-policy-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; }
#app[data-ui-theme] .rc2-policy-list > article { min-width: 0; padding: 16px 20px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px; }
#app[data-ui-theme] .rc2-policy-list > article header strong { font-size: 15px; }
#app[data-ui-theme] .rc2-policy-list > article :is(p,small,header span) { font-size: 12px; line-height: 1.5; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-policy-list button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-policy-editor { padding: 20px; display: grid; gap: 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-policy-editor > .rc2-section-heading { margin: 0; padding: 0 0 16px; }
#app[data-ui-theme] .rc2-policy-editor label { display: grid; gap: 8px; font-size: 13px; }
#app[data-ui-theme] .rc2-policy-editor :is(input:not([type="hidden"]),button) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-policy-editor textarea { padding: 12px; font-size: 13px; line-height: 1.6; }
#app[data-ui-theme] .rc2-policy-editor p { margin: 0; font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-policy-editor > div:last-child { padding-top: 16px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .rc2-policy-editor > div:last-child button:first-child { margin-right: auto; }
#app[data-ui-theme] .rc2-policy-editor button[type="submit"]:not(:disabled) { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }
#app[data-ui-theme] .rc2-provider-editor { padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-provider-editor form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#app[data-ui-theme] .rc2-provider-editor form > :is(fieldset,p,div) { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-provider-editor label { min-width: 0; font-size: 13px; }
#app[data-ui-theme] .rc2-provider-editor :is(input:not([type="checkbox"]):not([type="hidden"]),select,button) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .rc2-provider-editor fieldset { padding: 0; border: 0; background: transparent; gap: 8px; }
#app[data-ui-theme] .rc2-provider-editor fieldset label { min-height: 44px; }
#app[data-ui-theme] .rc2-provider-editor-gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 16px 0; }
#app[data-ui-theme] .rc2-provider-editor-gates dt { color: var(--ui-text-secondary); font-size: 12px; margin-bottom: 8px; }
#app[data-ui-theme] .rc2-provider-editor-gates dd { margin: 0; font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] .rc2-provider-editor form > div:last-child { padding-top: 16px; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .rc2-provider-editor form > div:last-child button:first-child { margin-right: auto; }
#app[data-ui-theme] .rc2-provider-editor button[type="submit"]:not(:disabled) { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }
#app[data-ui-theme] .rc2-provider-editor :is(p,.rc2-provider-validations span) { font-size: 12px; line-height: 1.5; color: var(--ui-text-secondary); }
@media (max-width: 700px) {
  #app[data-ui-theme] .rc2-provider-editor :is(form,.rc2-provider-editor-gates) { grid-template-columns: minmax(0, 1fr); }
}
#app[data-ui-theme] .rc2-session-view-switch button[aria-pressed="true"] { border-color: var(--ui-border-strong); background: var(--ui-surface-raised); }
#app[data-ui-theme] .rc2-session-filters { gap: 16px; padding: 16px 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-session-filters > label { min-width: 0; font-size: 13px; font-weight: 500; }
#app[data-ui-theme] .rc2-session-filters button { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .v111-sessions-workspace { grid-template-columns: minmax(0, 1fr); }
#app[data-ui-theme] .v111-sessions-workspace > * { min-width: 0; }
#app[data-ui-theme] .rc2-timetable-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-timetable-controls > .rc2-section-heading { margin: 0; padding: 0; border: 0; }
#app[data-ui-theme] .rc2-timetable-controls .rc2-session-filters { padding: 0; border: 0; margin: 0; background: transparent; }
#app[data-ui-theme] .rc2-timetable-controls :is(input,select,button):not([data-rc2-session-view]) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .class-create-entry { padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .class-create-entry form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
#app[data-ui-theme] .class-create-entry label { flex: 1; max-width: 420px; min-width: min(100%, 240px); font-size: 13px; }
#app[data-ui-theme] .class-create-entry :is(select,button) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .class-create-entry p { margin: 12px 0 0; font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .class-builder form { padding: 0 20px 20px; }
#app[data-ui-theme] .class-builder fieldset:not([hidden]) { display: grid; gap: 16px; padding: 16px 0 20px; margin: 0; }
#app[data-ui-theme] .class-builder legend { padding: 12px 0; font-size: 16px; }
#app[data-ui-theme] .class-builder label { margin: 0; padding: 0; background: transparent; font-size: 13px; }
#app[data-ui-theme] .class-builder .class-grid { gap: 16px; }
#app[data-ui-theme] .class-builder :is(input:not([type="checkbox"]):not([type="radio"]),select,button) { min-height: 44px; font-size: 13px; }
#app[data-ui-theme] .class-builder textarea { font-size: 13px; padding: 12px; }
#app[data-ui-theme] .class-builder .class-steps { flex-wrap: nowrap; overflow-x: auto; gap: 0; padding: 0; border-bottom: 1px solid var(--ui-border); }
#app[data-ui-theme] .class-builder .class-steps button { flex: 1 0 auto; min-height: 44px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--ui-text-secondary); box-shadow: none; font-size: 12px; }
#app[data-ui-theme] .class-builder .class-steps button[aria-current="step"] { border-bottom-color: var(--ui-accent); background: var(--ui-surface-raised); color: var(--ui-text-primary); }
#app[data-ui-theme] .class-builder .class-feedback:empty { display: none; }
#app[data-ui-theme] .class-builder-actions { gap: 8px; }
#app[data-ui-theme] .rc2-session-create form { gap: 16px; padding: 20px; }
#app[data-ui-theme] .rc2-session-create :is(input,button) { min-height: 44px; font-size: 13px; }
@media (max-width: 600px) {
  #app[data-ui-theme] :is(.class-create-entry,.rc2-timetable-controls) { padding: 16px; }
  #app[data-ui-theme] .class-create-entry form > * { width: 100%; max-width: none; }
  #app[data-ui-theme] .class-builder form { padding: 0 16px 16px; }
}
#app[data-ui-theme] .rc2-operator-leads .rc2-lead-create .rc2-workflow-form { background: transparent; border: 0; padding: 0; }
#app[data-customer-workspace] [data-rc2-lead-workflow] { min-width: 0; container-type: inline-size; }
#app[data-customer-workspace][data-ui-theme] [data-rc2-lead-workflow] .rc2-workflow-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
#app[data-customer-workspace] [data-rc2-lead-workflow] .rc2-workflow-grid > div {
  display: grid;
  min-width: 0;
  gap: 12px;
}
#app[data-customer-workspace] [data-rc2-lead-workflow] .rc2-lead-secondary-action { margin: 0; }
#app[data-customer-workspace][data-ui-theme] [data-rc2-lead-workflow] .rc2-workflow-grid .rc2-workflow-form {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  min-width: 0;
  align-items: end;
}
#app[data-customer-workspace] [data-rc2-lead-workflow] .rc2-workflow-form :is(select, textarea, input) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
#app[data-customer-workspace] [data-rc2-lead-workflow] [data-lead-note-field]:not([hidden]) { grid-column: 1 / -1; }
@container (min-width: 46rem) {
  #app[data-customer-workspace][data-ui-theme] [data-rc2-lead-workflow] .rc2-workflow-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}
@container (max-width: 34rem) {
  #app[data-customer-workspace] [data-rc2-lead-workflow] .gym-lead-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app[data-customer-workspace][data-ui-theme] [data-rc2-lead-workflow] .rc2-lead-create .rc2-workflow-form {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  }
}
#app[data-ui-theme] .plan-class-dialog {
  width: min(100% - 24px, 50rem);
  color-scheme: inherit;
  background: var(--ui-surface);
  color: var(--ui-text-primary);
  border-color: var(--ui-border);
}
.plan-class-dialog h2 { margin: 0; font-size: 1.25rem; }
.plan-class-dialog p { font-size: .875rem; }
.plan-class-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 12px; align-items: start; }
.plan-class-days fieldset { min-width: 0; margin: 0; padding: 4px 10px 8px; border: 1px solid var(--ui-border); border-radius: 6px; }
.plan-class-days legend { padding-inline: 4px; font-weight: 700; }
.plan-class-days label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 1px solid var(--ui-border);
  font-size: .8125rem;
  cursor: pointer;
}
.plan-class-days label:last-child { border: 0; }
.plan-class-days input { width: 16px; height: 16px; accent-color: var(--ui-accent); }
.plan-class-days small { display: block; color: var(--ui-text-secondary); }
.plan-class-dialog footer {
  position: sticky;
  bottom: -20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-border);
}
.plan-class-dialog footer p { margin: 0; }

#app[data-ui-theme] .rc2-plan-builder-progress li {
  font-size: 12px; font-weight: 500; color: var(--ui-text-muted); background: transparent;
}
#app[data-ui-theme] .rc2-plan-builder-progress li[data-state="current"] {
  color: var(--ui-text-primary); background: var(--ui-surface-raised);
}
#app[data-ui-theme] :is(.rc2-plan-template-grid, .rc2-plan-site-picker, .rc2-plan-payment-methods) legend {
  background: transparent; color: var(--ui-text-secondary); font-size: 13px; font-weight: 500;
}
#app[data-ui-theme] .rc2-plan-template-grid label small { font-size: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-plan-builder-form > footer {
  display: flex; flex-wrap: wrap; gap: 8px; background: var(--ui-surface); border-color: var(--ui-border);
}
#app[data-ui-theme] .rc2-plan-builder-form > footer > span { margin-right: auto; }
#app[data-ui-theme] .rc2-plan-builder-form > footer button { width: auto; flex: none; min-height: 44px; font-size: 13px; }

#app[data-ui-theme] .rc2-member-note-create,
#app[data-ui-theme] .rc2-membership-setup { grid-template-columns: minmax(0, 1fr); align-items: start; }
#app[data-ui-theme] :is(.rc2-member-note-create, .rc2-membership-setup) > button { justify-self: start; width: auto; }
#app[data-ui-theme] .rc2-member-note-create textarea { width: 100%; }
#app[data-ui-theme] .members-high-density[data-profile-active="true"] .v111-member-context {
  container: member-profile / inline-size; position: static; padding: 0; border: 0; background: transparent; gap: 16px;
}
#app[data-ui-theme] .members-selected-identity {
  display: grid; gap: 16px; padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface);
}
#app[data-ui-theme] .members-selected-identity .hd-context-heading { padding: 0; border: 0; margin: 0; }
#app[data-ui-theme] .members-selected-identity .hd-context-heading h2 { font-size: 22px; line-height: 1.25; }
#app[data-ui-theme] .members-selected-identity .v111-member-context-summary { margin: 0; gap: 8px 20px; }
#app[data-ui-theme] .members-selected-identity .v111-member-context-summary :is(dt, dd) { font-size: 12px; }
#app[data-ui-theme] .v111-member-context [data-canonical-member-profile] { padding: 0; border: 0; background: transparent; }
#app[data-ui-theme] [data-canonical-member-profile] > .rc2-section-heading { border: 0; padding: 0; margin-bottom: 12px; }
#app[data-ui-theme] [data-canonical-member-profile] > .rc2-section-heading em { font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] [data-canonical-member-profile] > .rc2-workflow-feedback { margin: 0 0 16px; font-size: 12px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-workflow-grid { gap: 16px; align-items: start; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-workflow-grid > section {
  min-width: 0; padding: 16px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px;
}
#app[data-ui-theme] .rc2-member-record-title { margin: 12px 0 0; font-size: 15px; line-height: 1.4; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-profile-summary { margin: 12px 0 20px; gap: 12px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-profile-summary > div { display: block; padding: 0; border: 0; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-profile-summary dt { font-size: 12px; margin-bottom: 4px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-profile-summary dd { font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-operational-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 20px; gap: 8px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-operational-summary article { padding: 12px; background: var(--ui-surface-raised); border: 0; border-radius: 6px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-operational-summary span { font-size: 12px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-member-operational-summary strong { font-size: 20px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-history { padding: 16px 0; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-history .rc2-section-heading { padding: 0; border: 0; margin-bottom: 8px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-history :is(p, small) { font-size: 12px; margin: 0; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-setup { padding: 16px; margin: 0; gap: 12px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-setup > strong { font-size: 15px; }
#app[data-ui-theme] [data-canonical-member-profile] .rc2-membership-setup :is(p, small) { margin: 0; font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] [data-canonical-member-profile] :is([data-member-profile-back], .rc2-membership-setup button) { min-height: 44px; padding: 10px 14px; font-size: 13px; }
#app[data-ui-theme] .v111-members-directory { container: member-directory / inline-size; }
#app[data-ui-theme] .v111-members-directory .hd-directory-title { margin:0 0 12px;font-size:var(--workspace-section-size,15px);font-weight:600;line-height:1.4;color:var(--ui-text-primary); }
@container member-directory (max-width: 450px) {
  #app[data-ui-theme] .hd-directory-columns { display: none; }
  #app[data-ui-theme] .hd-member-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; gap: 12px; }
  #app[data-ui-theme] .hd-member-identity { grid-column: 1 / -1; }
  #app[data-ui-theme] .hd-member-identity strong { font-size: 13px; }
  #app[data-ui-theme] .hd-member-row .hd-member-plan > small { display: block; margin-bottom: 4px; }
  #app[data-ui-theme] .rc2-member-toolbar-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  #app[data-ui-theme] .rc2-member-toolbar-actions button { min-height: 44px; width: 100%; }
}
@media (min-width: 1101px) {
  #app[data-ui-theme] .members-high-density[data-profile-active="true"] .v111-members-layout { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.75fr); align-items: start; }
}
@container member-profile (min-width: 700px) {
  #app[data-ui-theme] [data-canonical-member-profile] .rc2-workflow-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@container member-profile (max-width: 390px) {
  #app[data-ui-theme] [data-canonical-member-profile] .rc2-member-profile-summary { grid-template-columns: minmax(0, 1fr); }
}
#app[data-ui-theme] .rc2-member-staff-context { display: grid; gap: 16px; padding: 0; border: 0; }
#app[data-ui-theme] .v111-member-context .rc2-workflow-stack { gap: 16px; }
#app[data-ui-theme] .rc2-member-action-card {
  display: grid; gap: 12px; min-width: 0; margin: 0; padding: 16px;
  container: member-action / inline-size;
  background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 8px;
}
#app[data-ui-theme] .rc2-member-action-card .rc2-section-heading {
  margin: 0; padding: 0; border: 0; align-items: center;
}
#app[data-ui-theme] .rc2-member-action-card .rc2-section-heading h3 { margin: 0; font-size: 15px; line-height: 1.4; }
#app[data-ui-theme] .rc2-member-action-card .rc2-section-heading b {
  padding: 2px 7px; border-radius: 5px; background: var(--ui-surface-raised); color: var(--ui-text-secondary); font-size: 12px;
}
#app[data-ui-theme] .rc2-member-action-card :is(p, small) { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-member-action-card .rc2-workflow-feedback:empty { display: none; }
#app[data-ui-theme] .rc2-member-action-card .rc2-workflow-form { padding: 0; margin: 0; border: 0; background: transparent; gap: 12px; }
#app[data-ui-theme] .rc2-member-follow-up-create { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
#app[data-ui-theme] .rc2-member-follow-up-create > button { grid-column: 1 / -1; justify-self: start; }
#app[data-ui-theme] .rc2-member-action-card label { display: grid; gap: 6px; min-width: 0; font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .rc2-member-action-card :is(input:not([type="hidden"]), select, button) { min-height: 44px; height: auto; font-size: 13px; }
#app[data-ui-theme] .rc2-member-action-card :is(input:not([type="hidden"]), select, textarea) { width: 100%; min-width: 0; box-sizing: border-box; }
#app[data-ui-theme] .rc2-member-action-card button { width: auto; padding: 10px 14px; }
#app[data-ui-theme] .rc2-member-action-card textarea { min-height: 112px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] .rc2-member-action-card .rc2-member-note-form-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#app[data-ui-theme] .rc2-member-action-card .rc2-member-note-warning { padding: 0; border: 0; }
#app[data-ui-theme] .rc2-member-note-guidance summary { cursor: pointer; width: fit-content; min-height: 40px; padding-block: 10px; box-sizing: border-box; color: var(--ui-text-secondary); font-size: 12px; }
#app[data-ui-theme] .rc2-member-note-guidance summary:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; border-radius: 4px; }
#app[data-ui-theme] .rc2-member-note-guidance[open] { display: grid; gap: 8px; }
#app[data-ui-theme] .rc2-member-name-form { grid-template-columns: minmax(0, 1fr); }
#app[data-ui-theme] .rc2-member-name-form h3 { margin: 0; font-size: 15px; }
#app[data-ui-theme] .rc2-member-name-form button { justify-self: start; }
@container member-action (max-width: 390px) {
  #app[data-ui-theme] .rc2-member-follow-up-create { grid-template-columns: minmax(0, 1fr); }
}
#app[data-ui-theme] .rc2-membership-journey-layer { background: transparent; border: 0; border-radius: 0; }
#app[data-ui-theme] .rc2-membership-journey-backdrop {
  background: rgb(0 0 0 / .78); border: 0; border-radius: 0; box-shadow: none;
}
#app[data-ui-theme] .rc2-attendance-chart article > i::after { background: var(--v12-data-blue); }
#app[data-ui-theme] .rc2-attendance-sessions { background: var(--ui-surface); border-color: var(--ui-border); border-radius: 8px; }

@media (min-width: 1100px) {
  #app[data-ui-theme] .operations-workbench-groups:not([data-operations-queue-count="1"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #app[data-ui-theme] .operations-workbench-group[data-operations-queue] { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  #app[data-ui-theme] .rc2-plan-builder-progress { grid-template-columns: repeat(7, max-content); overflow-x: auto; }
}

#app[data-ui-theme] .rc2-attendance-screen[data-rc2-screen="visits"] { display: flex; flex-direction: column; gap: 16px; }
#app[data-ui-theme] .rc2-attendance-screen[data-rc2-screen="visits"] > * { margin-block: 0; min-width: 0; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-workflow-feedback:empty { display: none; }
#app[data-ui-theme] .rc2-visits-context { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
#app[data-ui-theme] .rc2-visits-context > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
#app[data-ui-theme] .rc2-visits-context strong { font-size: 13px; font-weight: 600; }
#app[data-ui-theme] .rc2-visits-context span { color: var(--ui-text-secondary); font-size: 12px; }
#app[data-ui-theme] .rc2-attendance-screen summary { cursor: pointer; color: var(--ui-text-secondary); font-size: 12px; line-height: 20px; }
#app[data-ui-theme] .rc2-attendance-screen summary:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; border-radius: 6px; }
#app[data-ui-theme] .rc2-visits-provenance[open] { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-visits-provenance .rc2-attendance-scope { margin: 12px 0 0; padding: 0; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-live-gap { padding: 12px 16px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-live-gap p { margin: 4px 0 0; font-size: 12px; color: var(--ui-text-secondary); }
#app[data-ui-theme] :is(.rc2-visits-current, .rc2-visits-diagnostics) { padding: 0; border: 0; background: transparent; }
#app[data-ui-theme] :is(.rc2-visits-current, .rc2-visits-diagnostics) > summary { padding: 8px 0; }
#app[data-ui-theme] :is(.rc2-visits-current, .rc2-visits-diagnostics) > summary span { margin-left: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-visits-current .v111-attendance-current { margin: 8px 0 0; }
#app[data-ui-theme] .rc2-visits-diagnostics .rc2-attendance-diagnostics { display: block; margin: 12px 0 0; }
#app[data-ui-theme] .rc2-attendance-screen :is(.rc2-attendance-history, .rc2-visits-records, .rc2-attendance-sessions, .rc2-attendance-corrections) { padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .rc2-attendance-screen .rc2-section-heading { display: flex; flex-direction: row; justify-content: space-between; margin: 0 0 16px; padding: 0 0 12px; gap: 12px; align-items: center; text-align: left; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-section-heading > div { text-align: left; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-section-heading h2 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 600; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; text-align: right; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-total strong { font-size: 15px; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-total small { font-size: 12px; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 20px; border: 0; border-bottom: 1px solid var(--ui-border); border-radius: 0; padding: 0 0 20px; background: transparent; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article { padding: 0 20px; border: 0; border-right: 1px solid var(--ui-border); border-radius: 0; background: transparent; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article:first-child { padding-left: 0; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article:last-child { border-right: 0; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article > strong { font-size: 24px; line-height: 1.3; font-weight: 600; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article > span { font-size: 12px; font-weight: 500; }
#app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article > small { font-size: 11px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-analysis { margin: 0; gap: 24px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart { padding: 0; border: 0; border-radius: 0; background: transparent; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart .rc2-section-heading { margin-bottom: 12px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart .rc2-section-heading span { font-size: 11px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart .rc2-section-heading h2 { font-size: 13px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart article { min-height: 22px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart > div:last-child { gap: 6px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-chart article > span { font-size: 12px; }
#app[data-ui-theme] .rc2-visits-records .rc2-section-heading h2 span { margin-left: 8px; color: var(--ui-text-muted); font-size: 13px; }
#app[data-ui-theme] .rc2-visits-records > .rc2-section-heading { margin-bottom: 0; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter { display: flex; flex: 0 0 auto; width: max-content; max-width: 100%; flex-wrap: nowrap; align-items: end; gap: 8px; margin: 0; padding: 0; border: 0; background: transparent; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter button { flex: none; white-space: nowrap; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter select { width: 150px; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter label { display: flex; min-width: 0; align-items: center; gap: 8px; font-size: 12px; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter :is(select, button) { min-height: 40px; font-size: 12px; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger { border: 0; border-radius: 0; background: transparent; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger > article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--ui-border); background: transparent; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger .rc2-visit-record-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
#app[data-ui-theme] .rc2-visit-record-main > div { display: grid; gap: 5px; min-width: 0; }
#app[data-ui-theme] .rc2-visit-record-main :is(span, strong) { color: var(--ui-text-secondary); font-size: 12px; overflow-wrap: anywhere; }
#app[data-ui-theme] .rc2-visit-record-main strong { font-weight: 500; }
#app[data-ui-theme] .rc2-visit-record-main small { color: var(--ui-text-muted); font-size: 11px; line-height: 1.5; }
#app[data-ui-theme] .rc2-visit-record-main .rc2-visit-member > span { font-size: 11px; color: var(--ui-text-muted); }
#app[data-ui-theme] .rc2-visit-record-main .rc2-visit-member button { padding: 0; min-height: 0; height: auto; border: 0; background: transparent; text-align: left; }
#app[data-ui-theme] .rc2-visit-record-main .rc2-visit-member button strong { color: var(--ui-text-primary); font-size: 12px; }
#app[data-ui-theme] .rc2-visit-record-main .rc2-visit-member button:hover { text-decoration: underline; }
#app[data-ui-theme] .rc2-visit-record-main em { font-style: normal; font-size: 11px; padding: 4px 6px; border-radius: 5px; color: var(--ui-text-secondary); background: var(--ui-surface-raised); }
#app[data-ui-theme] .rc2-visit-correction-note { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-visit-correction { border: 0; padding: 0; background: transparent; }
#app[data-ui-theme] .rc2-visit-correction summary { padding: 8px 0; white-space: nowrap; }
#app[data-ui-theme] .rc2-visit-correction[open], #app[data-ui-theme] .rc2-visits-records article:has(.rc2-visit-correction[open]) .rc2-visit-record-main { grid-column: 1 / -1; }
#app[data-ui-theme] .rc2-visits-records .rc2-visit-correction form { grid-template-columns: 160px minmax(0, 1fr) auto; align-items: end; margin: 8px 0 0; gap: 12px; padding: 12px; border: 0; border-radius: 8px; background: var(--ui-surface-inset); }
#app[data-ui-theme] .rc2-visits-records .rc2-visit-correction form label { font-size: 12px; gap: 6px; }
#app[data-ui-theme] .rc2-visits-records .rc2-visit-correction form :is(select, input, button) { width: 100%; min-width: 0; min-height: 40px; font-size: 13px; }
#app[data-ui-theme] .rc2-visits-records .rc2-attendance-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-sessions .rc2-ledger { border: 0; background: transparent; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-sessions .rc2-empty-contract { padding: 0; border: 0; background: transparent; }
@media (max-width: 1100px) {
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger .rc2-visit-record-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  #app[data-ui-theme] .rc2-visit-record-main em { justify-self: start; }
}
@media (max-width: 760px) {
  #app[data-ui-theme] .rc2-visits-context { grid-template-columns: minmax(0, 1fr); }
  #app[data-ui-theme] :is(.rc2-visits-current, .rc2-visits-diagnostics) > summary span { display: block; margin: 4px 0 0 16px; }
  #app[data-ui-theme] .rc2-attendance-screen :is(.rc2-attendance-history, .rc2-visits-records, .rc2-attendance-sessions, .rc2-attendance-corrections) { padding: 16px; }
  #app[data-ui-theme] .rc2-attendance-screen .rc2-section-heading { flex-wrap: wrap; }
  #app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-total { text-align: left; }
  #app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #app[data-ui-theme] .rc2-attendance-screen .v111-attendance-history-metrics > article { padding: 0; border: 0; }
  #app[data-ui-theme] .rc2-attendance-screen .rc2-attendance-analysis { grid-template-columns: minmax(0, 1fr); }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter { width: 100%; }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter label { display: grid; flex: 1; }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-filter select { width: 100%; }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger > article { grid-template-columns: minmax(0, 1fr); }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-ledger .rc2-visit-record-main { gap: 12px 16px; }
  #app[data-ui-theme] .rc2-visits-records .rc2-visit-correction form { grid-template-columns: minmax(0, 1fr); }
  #app[data-ui-theme] .rc2-attendance-screen :is(button, select, input, summary) { min-height: 44px; }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-pagination { justify-content: space-between; gap: 8px; }
  #app[data-ui-theme] .rc2-visits-records .rc2-attendance-pagination span { font-size: 11px; }
}

#app[data-ui-theme] :is(.members-high-density, .rc2-context-search, .rc2-attendance-screen, .rc2-imported-plan-mapping, .rc2-plan-status-tabs, .rc2-session-view-switch) { --workspace-control-height: 40px; }
#app[data-ui-theme] .members-high-density :is(.rc2-member-toolbar, .rc2-pagination, .rc2-contextual-exports, .hd-member-segments) :is(button, select, input:not([type="checkbox"]):not([type="hidden"])) {
  min-height: var(--workspace-control-height); height: auto;
}
#app[data-ui-theme] .members-high-density .rc2-contextual-exports > summary,
#app[data-ui-theme] .rc2-imported-plan-mapping > summary { min-height: var(--workspace-control-height); box-sizing: border-box; }
#app[data-ui-theme] .members-high-density .rc2-contextual-exports:not([open]) { display: block; padding: 0; }
#app[data-ui-theme] .members-high-density .rc2-contextual-exports > summary span { margin-left: 8px; }
#app[data-ui-theme] .rc2-context-search button,
#app[data-ui-theme] .rc2-imported-plan-mapping :is(button, select, input:not([type="hidden"])) { min-height: var(--workspace-control-height); height: auto; }
#app[data-ui-theme] .rc2-context-search button { background: var(--ui-surface-raised); color: var(--ui-text-primary); border: 1px solid var(--ui-border-strong); border-radius: 8px; }
#app[data-ui-theme] .rc2-context-search button:hover { background: var(--ui-surface-inset); }
#app[data-ui-theme] .rc2-attendance-screen :is(.rc2-attendance-filter, .rc2-visit-correction form, .rc2-attendance-pagination, .rc2-attendance-sessions) :is(button, select, input) {
  min-height: var(--workspace-control-height); height: auto;
}
#app[data-ui-theme] .rc2-attendance-screen summary { min-height: var(--workspace-control-height); box-sizing: border-box; padding-block: 10px; }
#app[data-ui-theme] .rc2-attendance-screen .rc2-visit-member :is(a, button) {
  display: inline-flex; align-items: center; min-height: var(--workspace-control-height); width: fit-content; border-radius: 6px;
}
#app[data-ui-theme] .rc2-attendance-screen .rc2-visit-member :is(a, button):hover { text-decoration: underline; }
#app[data-ui-theme] .rc2-plan-cell-label { display: none; }
@container member-directory (max-width: 450px) {
  #app[data-ui-theme] .members-high-density .rc2-member-toolbar :is(button, select, input) { min-height: 44px; }
}
@media (max-width: 1100px) {
  #app[data-ui-theme] .rc2-plan-admin-row .rc2-plan-cell-label { display: block; margin-bottom: 4px; color: var(--ui-text-muted); font-size: 12px; font-weight: 400; }
}
@media (max-width: 760px) {
  #app[data-ui-theme] :is(.members-high-density, .rc2-context-search, .rc2-attendance-screen, .rc2-imported-plan-mapping, .rc2-plan-status-tabs, .rc2-session-view-switch) { --workspace-control-height: 44px; }
  #app[data-ui-theme] .rc2-member-note-guidance summary { min-height: 44px; }
}

#app[data-ui-theme] .members-profile-header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
#app[data-ui-theme] .members-profile-person { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px 16px; min-width: 0; flex: 1 1 320px; }
#app[data-ui-theme] .members-profile-photo { display: contents; }
#app[data-ui-theme] .members-profile-portrait { grid-column: 1; grid-row: 1; }
#app[data-ui-theme] .members-profile-person .members-profile-heading { grid-column: 2; grid-row: 1; }
#app[data-ui-theme] .members-profile-photo-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#app[data-ui-theme] .members-profile-photo small { font-size: 11px; line-height: 1.5; color: var(--ui-text-muted); }
#app[data-ui-theme] .members-profile-photo-feedback { grid-column: 2; margin: 0; font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] .members-profile-photo-control { position: relative; display: grid; place-items: center; min-height: 36px; padding: 8px 12px; border: 1px solid var(--ui-border); border-radius: 6px; background: var(--ui-surface-raised); color: var(--ui-text-primary); font-size: 12px; font-weight: 600; cursor: pointer; }
#app[data-ui-theme] .members-profile-photo-control:hover { border-color: var(--ui-text-muted); }
#app[data-ui-theme] .members-profile-photo-control:focus-within { outline: 2px solid var(--ui-text-secondary); outline-offset: 3px; }
#app[data-ui-theme] .members-profile-photo-control:has(input:disabled) { opacity: .6; cursor: wait; }
#app[data-ui-theme] .members-profile-photo-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
#app[data-ui-theme] .members-profile-photo-control > span { color: var(--ui-text-primary); font-size: 12px; font-weight: 600; }
#app[data-ui-theme] .branding-logo-controls .members-profile-photo-control { min-height: 44px; }
#app[data-ui-theme] .branding-logo-label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
#app[data-ui-theme] .branding-logo-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 12px; }
#app[data-ui-theme] .branding-logo-preview { display: grid; place-items: center; width: 180px; height: 104px; padding: 12px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface-raised); text-align: center; }
#app[data-ui-theme] .branding-logo-preview img { display: block; max-width: 100%; max-height: 78px; object-fit: contain; }
#app[data-ui-theme] .branding-logo-preview span { font-size: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .branding-logo-controls { display: grid; justify-items: start; gap: 10px; flex: 1 1 200px; }
#app[data-ui-theme] .branding-logo-controls small { color: var(--ui-text-muted); font-size: 12px; line-height: 1.5; }
#app[data-ui-theme] .branding-logo-controls p { margin: 0; font-size: 12px; line-height: 1.5; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .members-profile-portrait .rc2-member-photo-thumbnail { width: 64px; height: 64px; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .members-profile-portrait .rc2-member-photo-thumbnail > span { font-size: 22px; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .hd-member-identity { grid-template-columns: 24px 32px minmax(0, 1fr); gap: 12px; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .hd-member-identity > label { display: grid; place-items: center; width: 24px; min-height: 32px; cursor: pointer; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .hd-member-identity input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; margin: 0; }
#app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .hd-member-identity .rc2-member-photo-thumbnail { width: 32px; height: 32px; }
@media (max-width: 760px) {
  #app[data-ui-theme] .members-profile-person { gap: 12px; }
  #app[data-ui-theme] .members-profile-photo-actions { grid-column: 1 / -1; }
  #app[data-ui-theme] .members-profile-photo-feedback { grid-column: 1 / -1; }
  #app[data-ui-theme] .members-profile-photo-control { min-height: 44px; }
  #app.btv2-shell-active.btv2-v111-shell.btv2-v111-workspace[data-btv2-mode] .members-high-density .hd-member-identity > label { min-height: 44px; }
}
#app[data-ui-theme] .members-profile-heading { display: grid; min-width: 0; gap: 8px; }
#app[data-ui-theme] .members-profile-eyebrow { font-size: 12px; color: var(--ui-text-muted); }
#app[data-ui-theme] .members-profile-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#app[data-ui-theme] .members-profile-title h2 { margin: 0; font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
#app[data-ui-theme] .members-profile-title .rc2-member-status-badge { flex: none; }
#app[data-ui-theme] .members-profile-heading p { margin: 0; font-size: 13px; color: var(--ui-text-secondary); }
#app[data-ui-theme] .members-profile-header [data-member-profile-back] { flex: none; min-height: 44px; padding: 10px 14px; font-size: 13px; }
#app[data-ui-theme] .members-selected-identity .v111-member-context-summary { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 16px 0 0; border-top: 1px solid var(--ui-border); }
#app[data-ui-theme] .members-selected-identity .v111-member-context-summary > div { min-width: 110px; }
#app[data-ui-theme] .members-selected-identity .v111-member-context-summary dt { margin-bottom: 6px; color: var(--ui-text-muted); }
#app[data-ui-theme] .presale-setup { display: grid; gap: 20px; margin-top: 20px; padding: 20px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface); }
#app[data-ui-theme] .presale-setup header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#app[data-ui-theme] .presale-setup h2 { margin: 0 0 6px; font-size: 18px; }
#app[data-ui-theme] .presale-setup :is(p,small,dt) { margin: 0; color: var(--ui-text-secondary); font-size: 13px; line-height: 1.5; }
#app[data-ui-theme] .presale-setup-status { padding: 6px 10px; border: 1px solid var(--ui-border); border-radius: 6px; color: var(--ui-text-secondary); font-size: 12px; }
#app[data-ui-theme] .presale-setup-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 18px 0; border-block: 1px solid var(--ui-border); }
#app[data-ui-theme] .presale-setup-summary dd { margin: 4px 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
#app[data-ui-theme] .presale-setup-summary > div:last-child dd { font-size: 15px; }
#app[data-ui-theme] .presale-setup form { display: grid; gap: 12px; }
#app[data-ui-theme] .presale-opening-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 24px; }
#app[data-ui-theme] .presale-opening-fields label { display: grid; gap: 8px; font-size: 13px; }
#app[data-ui-theme] .presale-opening-fields input[type="date"] { min-height: 44px; width: 230px; max-width: 100%; padding: 10px 12px; border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); color: var(--ui-text-primary); font: inherit; }
#app[data-ui-theme] .presale-opening-fields .presale-opening-confirm { display: flex; align-items: center; min-height: 44px; gap: 10px; }
#app[data-ui-theme] .presale-opening-confirm input { width: 18px; height: 18px; flex: none; }
#app[data-ui-theme] .presale-setup button { justify-self: start; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); color: var(--ui-text-primary); font-size: 13px; font-weight: 600; }
#app[data-ui-theme] .presale-collection-preview { display: grid; gap: 6px; border-top: 1px solid var(--ui-border); padding-top: 16px; }
#app[data-ui-theme] .presale-collection-preview > span { color: var(--ui-text-muted); font-size: 12px; }
@media (max-width: 700px) {
  #app[data-ui-theme] .presale-setup { padding: 16px; }
  #app[data-ui-theme] .presale-setup-summary { grid-template-columns: 1fr; gap: 16px; }
  #app[data-ui-theme] .presale-opening-fields { align-items: stretch; flex-direction: column; gap: 8px; }
  #app[data-ui-theme] .presale-opening-fields input[type="date"] { width: 100%; }
  #app[data-ui-theme] .presale-setup button { width: 100%; }
}

.gym-member-billing { min-width: 0; }
.btv2-v111-shell .gym-member-billing > * { grid-column: 1 / -1; min-width: 0; }
.gym-member-billing > h3 { margin: 0; }
.gym-member-billing > p { margin-block: .15rem; }
.gym-member-billing .gym-bill-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem,100%),1fr)); margin: 0; gap: .75rem; }
.gym-member-billing .gym-bill-facts div { display: grid; gap: .2rem; }
.gym-member-billing .gym-bill-facts dd { margin: 0; font-weight: 650; }
.gym-member-billing .gym-bill-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.gym-member-billing .gym-bill-review { display: grid; gap: .65rem; border-inline-start: 2px solid var(--v12-line,#354458); padding-inline-start: .8rem; }
.gym-member-billing .gym-bill-review h4, .gym-member-billing .gym-bill-review p { margin: 0; }
.gym-member-billing .gym-bill-more ul { display: grid; gap: .6rem; padding-inline-start: 1.1rem; }
.gym-member-billing summary { cursor: pointer; }
.gym-member-billing select { width: 100%; min-width: 0; }
