/* Coach-only visual system. Loaded after the shared training and legacy coach styles. */
body[data-rivl-surface="coach"] {
  --workspace-bg: #0d1213;
  --workspace-chrome: #0b1011;
  --workspace-raised: #151c1d;
  --workspace-line: #333e40;
  --workspace-muted: #abb5b7;
  --workspace-text: #f1f4f4;
  --workspace-accent: #c4ff31;
  --workspace-cyan: #83d7dc;
  background: var(--workspace-bg);
}
body[data-rivl-surface="coach"]::before,
body[data-rivl-surface="coach"] > .ambient { display: none; }
body[data-rivl-surface="coach"] #app:has(> .coach-workspace-theme) { padding: 0; width: 100%; max-width: none; height: 100dvh; margin: 0; }
.dashboard.coach-workspace-theme { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 0; height: 100%; min-height: 0; color: var(--workspace-text); background: var(--workspace-bg); font: 14px/1.5 "Space Grotesk", sans-serif; }
.coach-workspace-theme, .coach-workspace-theme * { letter-spacing: 0; }
.coach-workspace-theme :is(button, input, select, textarea) { font-family: "Space Grotesk", sans-serif; }
.coach-workspace-theme .cc-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.coach-workspace-theme :is(button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--workspace-accent); outline-offset: 3px; }
.coach-workspace-theme .trainer-sidebar { position: static; display: flex; flex-direction: column; width: 100%; min-height: 0; height: 100%; padding: 28px 20px 24px; gap: 34px; border: 0; border-right: 1px solid var(--workspace-line); border-radius: 0; background: var(--workspace-chrome); box-shadow: none; }
.coach-workspace-theme .trainer-sidebar-brand { padding: 0 10px; margin: 0; }
.coach-workspace-theme .trainer-sidebar-brand h1 { font: 700 48px/.95 "Bebas Neue", sans-serif; letter-spacing: 0; text-shadow: none; }
.coach-workspace-theme .trainer-sidebar-brand h1 span { display: block; color: var(--workspace-accent); }
.coach-workspace-theme .trainer-sidebar-brand-logo { display: none; }
.coach-workspace-theme .trainer-sidebar-nav { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
.coach-workspace-theme .trainer-sidebar-link { width: 100%; min-width: 0; min-height: 50px; height: auto; padding: 12px 16px; gap: 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #c3cccd; font-size: 14px; font-weight: 500; box-shadow: none; transform: none; }
.coach-workspace-theme .trainer-sidebar-link .trainer-nav-icon { display: flex; width: 22px; height: 22px; flex: 0 0 22px; color: inherit; opacity: 1; }
.coach-workspace-theme .trainer-sidebar-link .cc-icon { width: 22px; height: 22px; flex-basis: 22px; }
.coach-workspace-theme .trainer-sidebar-link:hover { background: #1a2223; color: var(--workspace-text); transform: none; }
.coach-workspace-theme .trainer-sidebar-link.active { background: var(--workspace-accent); color: #131c03; border-color: var(--workspace-accent); box-shadow: none; }
.coach-workspace-theme .trainer-sidebar-footer { display: flex; align-items: flex-end; margin-top: auto; padding: 0 10px; }
.coach-workspace-theme .trainer-sidebar-logo-bottom { width: 134px; max-width: 100%; height: 64px; object-fit: contain; filter: none; }
.coach-workspace-theme .trainer-workspace { grid-template-rows: auto minmax(0, 1fr); gap: 0; min-width: 0; height: 100%; background: var(--workspace-bg); }
.coach-workspace-theme .dashboard-chrome { margin: 0; padding: 0; z-index: 35; border: 0; background: var(--workspace-chrome); }
.coach-workspace-theme .trainer-topbar { display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; gap: 24px; min-height: 76px; padding: 14px 32px; border: 0; border-bottom: 1px solid var(--workspace-line); border-radius: 0; box-shadow: none; background: var(--workspace-chrome); }
.coach-workspace-theme .trainer-month-switcher { width: 282px; max-width: 100%; margin: 0; padding: 0; flex: 0 0 282px; }
.coach-workspace-theme .trainer-month-control { display: block; width: 100%; }
.coach-workspace-theme .trainer-month-menu { width: 100%; min-width: 0; }
.coach-workspace-theme .trainer-month-trigger { display: flex; justify-content: flex-start; align-items: center; gap: 14px; width: 100%; height: 46px; min-height: 46px; padding: 10px 16px; border: 1px solid #435052; border-radius: 6px; background: transparent; color: var(--workspace-text); font: 500 15px/1.4 "Space Grotesk", sans-serif; box-shadow: none; }
.coach-workspace-theme .trainer-month-trigger > span:not(.trainer-month-caret) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coach-workspace-theme .trainer-month-caret { margin-left: auto; border-color: #bac5c7; flex-shrink: 0; }
.coach-workspace-theme .trainer-month-panel { position: absolute; top: calc(100% + 8px); left: auto; right: 0; transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 100%; min-width: 282px; max-height: min(440px, calc(100dvh - 100px)); overflow: auto; padding: 8px; border: 1px solid #435052; border-radius: 6px; background: #151c1d; box-shadow: 0 16px 40px #0006; }
.coach-workspace-theme .trainer-month-panel-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--workspace-line); font-size: 12px; }
.coach-workspace-theme .trainer-month-step { display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; border: 1px solid var(--workspace-line); border-radius: 4px; padding: 7px; background: transparent; color: var(--workspace-text); box-shadow: none; }
.coach-workspace-theme .trainer-month-option { padding: 10px 12px; min-height: 42px; color: #c3cccd; border-radius: 4px; background: transparent; font-size: 14px; }
.coach-workspace-theme .trainer-month-option.active { color: var(--workspace-accent); background: #252f20; }
.coach-workspace-theme .trainer-month-option:hover { background: #263032; }
.coach-workspace-theme .trainer-account-actions { display: flex; align-items: center; gap: 20px; min-width: 0; margin: 0; }
.coach-workspace-theme .trainer-account-card { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 290px; padding: 0; border: 0; background: transparent; }
.coach-workspace-theme .trainer-avatar-button { width: 46px; height: 46px; min-width: 46px; flex: 0 0 46px; border: 1px solid #465254; border-radius: 50%; object-fit: cover; box-shadow: none; background: #161d1e; }
.coach-workspace-theme .trainer-account-card > div { min-width: 0; }
.coach-workspace-theme .trainer-account-card strong { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; line-height: 1.4; }
.coach-workspace-theme .trainer-account-card span { display: block; margin-top: 2px; font-size: 12px; color: var(--workspace-muted); font-weight: 400; }
.coach-workspace-theme .trainer-logout-button { display: grid; place-items: center; width: 46px; height: 46px; min-height: 46px; flex: 0 0 46px; padding: 12px; border: 1px solid #435052; border-radius: 6px; color: var(--workspace-text); background: transparent; box-shadow: none; }
.coach-workspace-theme :is(.trainer-logout-button, .trainer-month-trigger, .trainer-month-step):hover { background: #1a2324; border-color: #798788; transform: none; }
.coach-workspace-theme .category-stage { display: block; padding: 0; background: var(--workspace-bg); scrollbar-width: thin; scrollbar-color: #4d5a5c var(--workspace-bg); scrollbar-gutter: stable; }
.dashboard.coach-workspace-theme .category-stage > :is(.panel, .cc-view, .evaluations-panel) { min-height: 100%; padding: 28px 38px 40px; border: 0; border-radius: 0; background: var(--workspace-bg); background-image: none; box-shadow: none; animation: none; color: var(--workspace-text); }
.coach-workspace-theme :is(.cc-view, .cc-quick-backdrop, .cc-evaluation-detail-backdrop) { --cc-line: var(--workspace-line); --cc-muted: var(--workspace-muted); }
.coach-workspace-theme .panel::before, .coach-workspace-theme .panel::after { display: none; }
.coach-workspace-theme :is(.cc-page-head, .panel-heading) h2 { font: 600 27px/1.3 "Space Grotesk", sans-serif; }
.coach-workspace-theme :is(.cc-page-head, .panel-heading) h2::before { display: none; }
.coach-workspace-theme :is(.cc-page-head, .panel-heading) p { font-size: 14px; color: var(--workspace-muted); }
.coach-workspace-theme .cc-client-breadcrumb { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; color: #c1c9cb; font-size: 13px; }
.coach-workspace-theme .cc-client-breadcrumb > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.coach-workspace-theme .cc-agenda-back { margin: 0; padding: 0; min-height: 24px; color: inherit; font-size: 13px; }
.coach-workspace-theme .cc-agenda-head { margin-bottom: 20px; }
.coach-workspace-theme :is(.cc-tabs, .cc-agenda-tabs, .cc-evaluation-tabs) { gap: 28px; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--workspace-line); background: transparent; }
.coach-workspace-theme :is(.cc-tabs, .cc-agenda-tabs, .cc-evaluation-tabs) > button { min-height: 50px; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--workspace-muted); box-shadow: none; font: 500 14px/1.4 "Space Grotesk", sans-serif; }
.coach-workspace-theme :is(.cc-tabs, .cc-agenda-tabs, .cc-evaluation-tabs) > button:is(.active, [aria-current]) { color: var(--workspace-accent); border-bottom-color: var(--workspace-accent); }
.coach-workspace-theme .button { border-radius: 5px; box-shadow: none; text-shadow: none; transform: none; }
.coach-workspace-theme .button-primary { background: var(--workspace-accent); border-color: var(--workspace-accent); color: #142000; }
.coach-workspace-theme .button-secondary { background: transparent; border-color: #435052; color: var(--workspace-text); }
.coach-workspace-theme .button:hover { transform: none; box-shadow: none; }
.coach-workspace-theme .button-secondary:hover { background: #202a2b; border-color: #718183; }
.coach-workspace-theme .cc-kpis { border: 1px solid var(--workspace-line); border-radius: 6px; padding: 22px 24px; }
.coach-workspace-theme .cc-kpis strong { margin-top: 8px; font-weight: 500; }
.coach-workspace-theme .cc-teal { color: var(--workspace-cyan); }
.coach-workspace-theme :is(.cc-initials, .cc-avatar) { background: #202c2e; border-color: #455657; color: #d0e8eb; }
.coach-workspace-theme .cc-client-table tr:is(.is-selected, :hover) { background: #1c2a2b; }
.coach-workspace-theme :is(.cc-week, .cc-agenda-calendar) .is-selected { background: #22302a; }
.coach-workspace-theme :is(.cc-evaluation-day.is-selected, .cc-agenda-day.is-selected) { background: #20302b; }
.coach-workspace-theme :is(.cc-client-table, .cc-evaluation-table, .cc-reminder-table) { font-size: 13px; }
.coach-workspace-theme :is(.cc-client-table th, .cc-evaluation-table th, .cc-reminder-table th) { color: var(--workspace-muted); background: var(--workspace-bg); }
.coach-workspace-theme :is(.cc-profile-preview, .cc-catalog-plan, .cc-quick-drawer, .cc-evaluation-detail) { background: var(--workspace-raised); border-color: var(--workspace-line); }
.coach-workspace-theme :is(.cc-plan-editor, .cc-client-editor, .evaluation-scheduler, .cc-reminder-form, .cc-reminder-confirm, .cc-agenda-dialog > section) { --plan-line: #3b4749; --plan-muted: #abb5b7; --client-editor-line: #3b4749; --client-editor-muted: #abb5b7; --scheduler-line: #3b4749; background: #141b1c; background-image: none; border-color: #3b4749; border-radius: 6px; }
.coach-workspace-theme :is(.field input, .field textarea, .field select, .cc-profile-form input, .cc-access-settings input, .cc-agenda-status, #cc-reminder-filter, .cc-filters select, .cc-evaluation-period select, .custom-select-trigger) { background: #171f20; border-color: #455355; color: var(--workspace-text); box-shadow: none; border-radius: 5px; }
.coach-workspace-theme :is(.cc-profile-form, .cc-access-settings) label { font-size: 13px; color: var(--workspace-muted); }
.coach-workspace-theme :is(.cc-client-editor-footer, .cc-plan-editor-footer, .cc-quick-drawer-header, .cc-quick-drawer-footer, .cc-evaluation-detail footer, .evaluation-scheduler-footer) { background: #111819; border-color: var(--workspace-line); }

.coach-workspace-theme .cc-password-form { width: 100%; max-width: 620px; min-width: 0; }
.cc-password-fields { display: grid; gap: 20px; }
.cc-password-input { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.cc-password-input input { min-width: 0; width: 100%; }
.cc-password-input .cc-tool { width: 44px; height: 44px; }
.cc-password-feedback { color: #ffaaa5; font-size: 14px; overflow-wrap: anywhere; }
.cc-password-feedback.is-success { color: #81d5c5; }
.coach-workspace-theme .cc-password-form .cc-form-footer { justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .coach-workspace-theme .coach-workspace-tabs.cc-tabs { gap: 8px 18px; flex-wrap: wrap; }
}

/* Online client program and version history retain their existing actions and data. */
.coach-workspace-theme .tr-coach { --tr-muted: var(--workspace-muted); --tr-line: var(--workspace-line); --tr-surface: var(--workspace-raised); --tr-accent: var(--workspace-accent); --tr-text: var(--workspace-text); max-width: none; padding: 0; margin: 0; font: 14px/1.5 "Space Grotesk", sans-serif; }
.coach-workspace-theme .tr-coach h2 { font: 600 22px/1.4 "Space Grotesk", sans-serif; }
.coach-workspace-theme .tr-coach h3 { font: 600 18px/1.4 "Space Grotesk", sans-serif; }
.coach-workspace-theme .tr-coach h4 { font-family: "Space Grotesk", sans-serif; }
.coach-workspace-theme .tr-coach :is(.tr-button, .tr-tool) { font: 500 13px/1.4 "Space Grotesk", sans-serif; background: transparent; border-color: #435052; }
.coach-workspace-theme .tr-coach .tr-primary { background: var(--workspace-accent); border-color: var(--workspace-accent); color: #142000; }
.coach-workspace-theme .tr-coach :is(input:not([type=checkbox]), textarea, select) { background: #171f20; border-color: #455355; font-family: "Space Grotesk", sans-serif; }
.coach-workspace-theme .tr-coach .tr-editor-footer { background: var(--workspace-bg); }
.coach-workspace-theme .tr-workspace-heading { margin-bottom: 22px; }
.coach-workspace-theme .tr-workspace-metrics { margin: 0 0 30px; padding: 18px 0; border: 1px solid var(--workspace-line); border-radius: 6px; }
.coach-workspace-theme .tr-workspace-metrics > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 20px; padding: 0 28px; min-width: 0; }
.coach-workspace-theme .tr-workspace-metrics .tr-icon { grid-row: 1 / 3; align-self: center; width: 38px; height: 38px; color: var(--workspace-cyan); stroke-width: 1.6; }
.coach-workspace-theme .tr-workspace-metrics dt { grid-column: 2; grid-row: 2; font-size: 13px; }
.coach-workspace-theme .tr-workspace-metrics dd { grid-column: 2; grid-row: 1; font: 600 30px/1.25 "Space Grotesk", sans-serif; }
.tr-program-workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 40px; }
.tr-program-workspace > section { min-width: 0; }
.tr-current-program > h3 { margin: 8px 0 20px; }
.tr-featured-program { border: 1px solid var(--tr-line); border-left: 4px solid var(--tr-accent); border-radius: 6px; padding: 24px; background: #111819; }
.tr-featured-program:has(.is-draft) { border-left-color: #e9bd76; }
.tr-featured-identity { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 24px; min-width: 0; }
.tr-featured-identity > .tr-icon { width: 52px; height: 52px; color: #d0dcdd; stroke-width: 1.7; }
.tr-featured-identity > div { min-width: 0; }
.coach-workspace-theme .tr-featured-identity h4 { font-size: 23px; line-height: 1.3; margin: 12px 0; }
.tr-program-status { display: inline-flex; align-items: center; gap: 10px; color: var(--tr-accent); font-size: 13px; }
.tr-program-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tr-program-status.is-draft { color: #e9bd76; }
.tr-featured-meta { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; }
.tr-featured-meta > span { padding: 0 12px; border-left: 1px solid var(--tr-line); }
.tr-featured-meta > span:first-child { padding-left: 0; border: 0; }
.tr-featured-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--tr-line); }
.coach-workspace-theme .tr-featured-actions > .tr-button { border: 0; padding: 10px 4px; }
.coach-workspace-theme .tr-featured-actions > .tr-button + .tr-button { border-left: 1px solid var(--tr-line); border-radius: 0; padding-left: 22px; }
.coach-workspace-theme .tr-featured-actions .tr-program-open { color: var(--workspace-accent); }
.coach-workspace-theme .tr-featured-actions > .tr-tool { margin-left: auto; border-color: transparent; }
.tr-version-history > .tr-heading { margin-bottom: 16px; }
.tr-version-list { max-height: 360px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #4d5a5c transparent; }
.tr-version-item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; margin-left: 8px; padding: 10px 0 24px 22px; border-left: 1px solid var(--tr-line); min-width: 0; }
.tr-version-item::before { position: absolute; content: ""; width: 9px; height: 9px; left: -5px; top: 15px; border-radius: 50%; background: #7e8e91; }
.tr-version-item.is-current::before { background: var(--tr-accent); }
.tr-version-item.is-current .tr-version-number { color: var(--tr-accent); }
.tr-version-number { font-size: 13px; color: var(--tr-muted); }
.tr-version-copy { min-width: 0; }
.tr-version-copy p { font-size: 12px; }
.tr-current-label { display: inline-block; margin-top: 10px; color: var(--tr-accent); font-size: 12px; }
.tr-version-actions { display: flex; flex-wrap: wrap; gap: 5px; max-width: 132px; }
.coach-workspace-theme .tr-version-actions .tr-tool { width: 36px; height: 36px; min-height: 36px; flex-basis: 36px; padding: 8px; }
.tr-copy-source { margin-top: 10px; }
.tr-root .tr-copy-source > summary { display: flex; align-items: center; gap: 14px; list-style: none; font-size: 13px; font-weight: 400; }
.tr-copy-source > summary::-webkit-details-marker { display: none; }
.tr-copy-source > summary > .tr-icon:last-child { margin-left: auto; }
.tr-copy-source[open] > summary > .tr-icon:last-child { transform: rotate(90deg); }
.tr-copy-source .tr-field { flex: 1 1 180px; }
.coach-workspace-theme .tr-client-history { border: 0; margin-top: 30px; padding-top: 0; }
.tr-client-history > .tr-heading { padding-bottom: 18px; border-bottom: 1px solid var(--tr-line); margin-bottom: 0; }
.tr-client-history > .tr-heading > span { color: var(--tr-muted); font-size: 13px; }
.tr-workspace-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 18px; gap: 12px; color: var(--tr-muted); text-align: center; }
.tr-workspace-empty > .tr-icon { width: 38px; height: 38px; flex-basis: 38px; stroke-width: 1.4; }
body[data-rivl-surface="coach"] :is(.tr-dialog, .rx-dialog) { background: #141b1c; color: var(--workspace-text); border-color: var(--workspace-line); border-radius: 6px; font-family: "Space Grotesk", sans-serif; }
body[data-rivl-surface="coach"] .tr-dialog { --tr-surface: #151c1d; --tr-line: #333e40; --tr-muted: #abb5b7; }

@media (max-width: 1200px) {
  .dashboard.coach-workspace-theme { grid-template-columns: 210px minmax(0, 1fr); }
  .coach-workspace-theme .trainer-sidebar { padding-inline: 14px; }
  .coach-workspace-theme .trainer-sidebar-brand h1 { font-size: 42px; }
  .coach-workspace-theme .trainer-topbar { padding-inline: 24px; gap: 18px; }
  .dashboard.coach-workspace-theme .category-stage > :is(.panel, .cc-view, .evaluations-panel) { padding-inline: 26px; }
  .tr-program-workspace { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tr-version-list { max-height: 260px; }
  .coach-workspace-theme .tr-workspace-metrics > div { padding-inline: 18px; gap: 2px 12px; }
}
@media (max-width: 760px) {
  .dashboard.coach-workspace-theme { display: flex; flex-direction: column; height: 100dvh; min-height: 0; gap: 0; }
  .coach-workspace-theme .trainer-sidebar { flex: 0 0 auto; height: auto; display: block; padding: calc(14px + env(safe-area-inset-top)) 18px 12px; border: 0; border-bottom: 1px solid var(--workspace-line); overflow: visible; }
  .coach-workspace-theme .trainer-sidebar-brand { display: flex; justify-content: space-between; align-items: center; padding: 0; }
  .coach-workspace-theme .trainer-sidebar-brand h1 { font-size: 24px; line-height: 1; }
  .coach-workspace-theme .trainer-sidebar-brand h1 span { display: inline; }
  .coach-workspace-theme .trainer-sidebar-brand-logo { display: block; order: 2; width: 60px; height: 28px; object-fit: contain; }
  .coach-workspace-theme .trainer-sidebar-footer { display: none; }
  .coach-workspace-theme .trainer-sidebar-nav { position: fixed; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); bottom: 0; left: 0; right: 0; width: 100%; height: auto; min-height: 68px; margin: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 4px; border: 0; border-top: 1px solid #435052; border-radius: 0; background: #0c1213; box-shadow: none; transform: none; z-index: 70; }
  .coach-workspace-theme .trainer-sidebar-link { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 7px 3px; min-height: 52px; font-size: 10px; border-radius: 5px; }
  .coach-workspace-theme .trainer-sidebar-link > span:not(.trainer-nav-icon) { display: block; width: auto; max-width: 100%; opacity: 1; }
  .coach-workspace-theme .trainer-sidebar-link .trainer-nav-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .coach-workspace-theme .trainer-sidebar-link .cc-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .coach-workspace-theme .trainer-workspace { flex: 1 1 auto; min-height: 0; height: auto; }
  .coach-workspace-theme .trainer-topbar { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; min-height: 70px; }
  .coach-workspace-theme .trainer-month-switcher { flex: 1 1 0; width: auto; min-width: 0; }
  .coach-workspace-theme .trainer-month-trigger { padding: 10px; font-size: 12px; gap: 8px; }
  .coach-workspace-theme .trainer-month-trigger > .cc-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .coach-workspace-theme .trainer-month-panel { left: 0; right: auto; min-width: min(282px, calc(100vw - 32px)); max-height: calc(100dvh - 220px); }
  .coach-workspace-theme .trainer-account-actions { gap: 10px; flex: 0 0 auto; }
  .coach-workspace-theme .trainer-account-card { gap: 0; }
  .coach-workspace-theme .trainer-account-card > div { display: none; }
  .coach-workspace-theme .trainer-avatar-button { width: 38px; height: 38px; min-width: 38px; flex-basis: 38px; }
  .coach-workspace-theme .trainer-logout-button { width: 42px; height: 44px; min-height: 44px; flex-basis: 42px; padding: 10px; }
  .dashboard.coach-workspace-theme .category-stage > :is(.panel, .cc-view, .evaluations-panel) { padding: 24px 18px calc(98px + env(safe-area-inset-bottom)); }
  .coach-workspace-theme :is(.cc-tabs, .cc-agenda-tabs, .cc-evaluation-tabs) { gap: 22px; }
  .coach-workspace-theme :is(.cc-tabs, .cc-agenda-tabs, .cc-evaluation-tabs) > button { font-size: 12px; }
  .coach-workspace-theme .cc-kpis { padding: 20px 14px; }
  .coach-workspace-theme .cc-client-breadcrumb { font-size: 11px; gap: 8px; }
  .coach-workspace-theme .cc-agenda-back { font-size: 11px; }
  .coach-workspace-theme .tr-workspace-heading { align-items: flex-start; flex-wrap: wrap; }
  .coach-workspace-theme .tr-coach h2 { font-size: 20px; }
  .coach-workspace-theme .tr-workspace-metrics { padding-block: 16px; }
  .coach-workspace-theme .tr-workspace-metrics > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-inline: 12px; }
  .coach-workspace-theme .tr-workspace-metrics .tr-icon { grid-row: 1; width: 26px; height: 26px; }
  .coach-workspace-theme .tr-workspace-metrics dt { grid-column: 1; grid-row: 3; font-size: 10px; }
  .coach-workspace-theme .tr-workspace-metrics dd { grid-column: 1; grid-row: 2; font-size: 26px; }
  .tr-featured-program { padding: 20px 16px; }
  .tr-featured-identity { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
  .tr-featured-identity > .tr-icon { width: 32px; height: 32px; align-self: start; margin-top: 4px; }
  .coach-workspace-theme .tr-featured-identity h4 { font-size: 20px; }
  .tr-featured-meta { display: grid; gap: 6px; font-size: 12px; }
  .tr-featured-meta > span { padding: 0; border: 0; }
  .tr-featured-actions { gap: 8px 10px; }
  .coach-workspace-theme .tr-featured-actions > .tr-button + .tr-button { border-left: 0; padding-left: 4px; }
  .tr-version-item { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding-left: 16px; }
  .tr-version-actions { grid-column: 2; max-width: none; }
  .tr-client-history > .tr-heading { align-items: flex-start; }
  .coach-workspace-theme .tr-editor-footer { bottom: 0; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .coach-workspace-theme *, .coach-workspace-theme *::before, .coach-workspace-theme *::after { animation: none !important; transition: none !important; }
}
