/* Valkyr browser interface. Values and sizing follow mobile/src/components/ui.tsx. */
html[data-theme=dark] {
 color-scheme:dark;--surface-2:#151515;--surface:#1d1d1d;--prologue-raised:#292929;
 --ink:#f5f5f5;--text:#f5f5f5;--muted:#ababab;--line:#303030;--accent:#ececec;--green:#ececec;
 --primary-text:#202020;--danger:#ed8b81;--improved:#b9ef5a;--declined:#ff6976;--amber:#d3bda2;
 --pastel-mint:#ececec;--plot:#ececec;--plot-fill:#ececec12;--profile-accent:#ececec;
}
html[data-theme=light] {
 color-scheme:light;--surface-2:#f7f7f7;--surface:#fff;--prologue-raised:#ededed;
 --ink:#202020;--text:#202020;--muted:#636363;--line:#dedede;--accent:#262626;--green:#262626;
 --primary-text:#fff;--danger:#9d3e35;--improved:#4b6900;--declined:#b42037;--amber:#78522e;
 --pastel-mint:#262626;--plot:#262626;--plot-fill:#26262612;--profile-accent:#262626;
}
html[data-theme] {
 --font-ui:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif;
 --activity-run:#ff6269;--activity-strength:#e76aff;--activity-swim:#43b4ff;--activity-cycle:#ffce40;
 --activity-hike:#ff4055;--activity-walk:#56d6aa;--activity-march:#dbbe75;--activity-conditioning:#59d7e4;
 --activity-recovery:#a6de74;--activity-assessment:#f590d2;--activity-recorded:#bbc4d2;
 --app-header-height:58px;--app-dock-height:54px;--app-safe-bottom:env(safe-area-inset-bottom,0px);
 background:var(--surface-2);font-size:15px;
}
html[data-theme] body {background:var(--surface-2);color:var(--ink);margin:0}
html[data-theme] #app {color:var(--ink)}
html[data-theme] #app :is(.dc-wordmark,.entry-brand-name) {font-family:var(--font-ui)!important;font-weight:600!important;letter-spacing:3px!important;text-transform:uppercase!important}
html[data-theme] #app .dc-wordmark {font-size:22px;line-height:30px}
html[data-theme] #app :is(h1,h2,h3,p,dl) {overflow-wrap:anywhere}
html[data-theme] #app h1 {font-size:32px!important;line-height:39px!important;font-weight:600!important;letter-spacing:-1.1px!important}
html[data-theme] #app h2 {font-size:21px;font-weight:600;letter-spacing:-.5px;line-height:28px}
html[data-theme] #app h3 {font-size:17px;font-weight:600;letter-spacing:0;line-height:24px}
html[data-theme] #app p {line-height:1.6}
html[data-theme] #app :is(button,a,summary,input,select,textarea):focus-visible {outline:2px solid var(--ink);outline-offset:3px}
html[data-theme] #app .note {font-size:13px;line-height:20px;color:var(--muted)}
html[data-theme] #app [hidden] {display:none!important}
/* One viewport, one scrolling canvas. The bottom bar is the last grid row. */
html:has(#app>.dc-app),html:has(#app>.dc-app) body {height:100%;min-height:0;overflow:hidden;background:var(--surface-2)}
html[data-theme] #app .dc-app {position:fixed;inset:0;width:100%;height:100dvh;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:var(--surface-2)}
html[data-theme][data-standalone=true] #app:has(>.dc-app) {height:100%;min-height:0}
html[data-theme][data-standalone=true] #app .dc-app {position:absolute;inset:0;height:100%;min-height:0}
html[data-theme] #app .dc-workspace {margin:0!important;height:auto!important;min-height:0;min-width:0;overflow:auto;overscroll-behavior-y:contain;padding:0!important;display:flex;flex-direction:column;background:var(--surface-2)!important;scroll-padding-top:76px}
html[data-theme] #app .dc-topbar {position:sticky!important;top:0!important;inset:0 0 auto!important;height:calc(var(--app-header-height) + env(safe-area-inset-top,0px));min-height:calc(var(--app-header-height) + env(safe-area-inset-top,0px));width:100%;max-width:none;margin:0;padding:env(safe-area-inset-top,0px) max(18px,calc((100vw - 680px)/2)) 0!important;display:flex;align-items:center;gap:12px;background:var(--surface-2)!important;border:0!important;box-shadow:none!important;z-index:35}
html[data-theme] #app .dc-header-home {display:flex;align-items:center;gap:14px;min-height:44px;padding:0 6px;border:0;background:none;color:var(--ink);border-radius:10px}
html[data-theme] #app .dc-header-home>svg {width:21px;height:21px;flex:none}
html[data-theme] #app .dc-topbar-actions {display:flex;align-items:center;gap:6px}
html[data-theme] #app .dc-icon-button {display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:0;background:transparent;color:var(--ink);border-radius:12px;padding:11px}
html[data-theme] #app .dc-icon-button svg {width:22px;height:22px}
html[data-theme] #app .dc-icon-button:hover {background:var(--prologue-raised)}
html[data-theme] #app .account-avatar {width:34px;height:34px;min-width:34px;background:var(--prologue-raised)!important;border:0!important;color:var(--ink)!important;font-size:13px;border-radius:50%}
html[data-theme] #app .dc-notification-dot {top:0;right:0;width:auto;height:auto;min-width:16px;min-height:16px;padding:1px 3px;display:grid;place-items:center;border-radius:10px;background:var(--ink);color:var(--surface-2);font-size:10px;font-weight:700;border:0}
html[data-theme] #app .dc-content {width:100%;max-width:680px!important;min-width:0;margin:0 auto;padding:18px 18px 30px!important;flex:1;background:var(--surface-2)}
html[data-theme] #app .dc-content:has(:is(.workout-session,.activity-detail)) {max-width:680px!important}
html[data-theme] #app .dc-content :is(.screen-heading,.page-heading) {margin:0 0 22px!important;gap:12px;align-items:center;flex-wrap:wrap}
html[data-theme] #app .dc-content :is(.screen-heading,.page-heading) h1 {font-size:28px!important;line-height:35px!important}
html[data-theme] #app .dc-content .eyebrow {font-size:11px;line-height:18px;letter-spacing:1px;color:var(--muted);margin:0 0 6px}
html[data-theme] #app .dc-workspace-footer {display:none}
html[data-theme] #app .dc-mobile-dock {position:relative!important;inset:auto!important;transform:none!important;display:flex!important;align-self:stretch;align-items:start;justify-content:center;gap:6px;z-index:40;width:100%;height:auto!important;max-height:none;min-height:var(--app-dock-height);padding:3px max(8px,calc((100vw - 680px)/2)) var(--app-safe-bottom)!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:var(--surface-2)!important;box-shadow:none!important;box-sizing:border-box;grid-template-rows:none}
html[data-theme] #app .dc-mobile-dock .dc-nav-item {flex:1;max-width:140px;width:auto;min-width:0;min-height:50px;height:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:12px;padding:4px 2px;font-size:11px;font-weight:600;line-height:15px;background:transparent!important;color:var(--muted)}
html[data-theme] #app .dc-mobile-dock .dc-nav-item svg {width:21px;height:21px;color:inherit;opacity:1;stroke-width:1.6}
html[data-theme] #app .dc-mobile-dock .dc-nav-item.is-active {color:var(--ink);background:transparent!important}
html[data-theme] #app .dc-mobile-dock .dc-nav-item.is-active svg {color:var(--ink)}
/* The same searchable, sliding tool drawer as the iPhone app. */
html[data-theme] #app .dc-sidebar {position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,360px)!important;height:100%!important;max-height:100%;display:flex!important;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 8px) 12px calc(env(safe-area-inset-bottom,0px) + 10px)!important;transform:translateX(-102%)!important;visibility:hidden;transition:transform 220ms ease,visibility 220ms;background:var(--surface-2)!important;border:0!important;border-right:1px solid var(--line)!important;z-index:90;overflow:hidden;box-shadow:none!important}
html[data-theme] #app .is-navigation-open .dc-sidebar {transform:translateX(0)!important;visibility:visible}
html[data-theme] #app .dc-menu-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px 14px 12px}
html[data-theme] #app .dc-brand {padding:8px 0;border:0;background:none;color:var(--ink);width:auto}
html[data-theme] #app .dc-menu-search {display:flex;align-items:center;gap:12px;margin:0 4px 12px;padding:0 12px;border-radius:12px;background:var(--surface);color:var(--muted);flex:none}
html[data-theme] #app .dc-menu-search>svg {width:18px;height:18px;flex:none}
html[data-theme] #app .dc-sidebar .dc-menu-search input {min-width:0;min-height:44px;border:0!important;background:transparent!important;font-size:15px!important;padding:8px 0!important;box-shadow:none!important;color:var(--ink)!important}
html[data-theme] #app .dc-sidebar-scroll {overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;padding-bottom:20px}
html[data-theme] #app .dc-menu-group+.dc-menu-group {margin-top:18px}
html[data-theme] #app .dc-nav-label {font-size:11px;font-weight:600;letter-spacing:1px;line-height:20px;color:var(--muted);padding:10px 14px 5px;margin:0}
html[data-theme] #app .dc-nav {display:grid;gap:3px}
html[data-theme] #app .dc-sidebar .dc-nav-item {min-height:50px;gap:14px;border-radius:12px;padding:10px 14px;font-size:15px;color:var(--ink)}
html[data-theme] #app .dc-sidebar .dc-nav-item svg {width:20px;height:20px;color:var(--muted);opacity:1}
html[data-theme] #app .dc-sidebar .dc-nav-item:is(:hover,.is-active) {background:var(--prologue-raised)}
html[data-theme] #app .dc-sidebar-bottom {padding-top:12px;margin:0 2px;border-top:1px solid var(--line);flex:none}
html[data-theme] #app .dc-user {margin-top:8px;padding:12px;border:0;background:var(--surface);border-radius:14px;gap:12px}
html[data-theme] #app .dc-user strong {font-size:17px;font-weight:600}
html[data-theme] #app .dc-user small {font-size:13px;color:var(--muted);margin-top:3px}
html[data-theme] #app .dc-user .dc-user-avatar {width:36px;height:36px;min-width:36px;border-radius:50%}
html[data-theme] #app .dc-navigation-scrim {display:block;position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;background:#000a;z-index:85;visibility:hidden;opacity:0;transition:opacity 220ms,visibility 220ms}
html[data-theme] #app .is-navigation-open .dc-navigation-scrim {visibility:visible;opacity:1}
html[data-theme] #app .dc-menu-empty {padding:18px 14px;font-size:13px;color:var(--muted)}
/* Native surface and control scale, including the website-only editors. */
html[data-theme] #app :is(.panel,.card,.metric,.settings-section,.settings-detail,.settings-nav,.more-item,.feed-empty,.month-panel,.today-rest,.today-training-card,.today-activity-card,.plan-cover-card,.coach-profile-stats,.mountain-progress-card,.member-training-card) {background:var(--surface)!important;color:var(--ink);border:1px solid var(--line)!important;border-radius:20px;box-shadow:none!important}
html[data-theme] #app :is(.panel-head,.panel-body) {background:transparent!important;border-color:var(--line);padding:20px}
html[data-theme] #app :is(.btn,.modal .btn) {min-height:44px;padding:11px 16px;font-size:15px!important;line-height:22px;border-radius:12px!important;background:var(--prologue-raised)!important;border-color:var(--line)!important;color:var(--ink)!important;font-weight:600!important;box-shadow:none!important}
html[data-theme] #app .btn.primary {background:var(--accent)!important;color:var(--primary-text)!important;border-color:var(--accent)!important}
html[data-theme] #app .btn.text {background:transparent!important;border-color:transparent!important;color:var(--muted)!important}
html[data-theme] #app .btn.danger {color:var(--danger)!important}
html[data-theme] #app :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {background:var(--surface-2)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:10px!important;font-size:16px!important;line-height:24px;min-height:50px;max-width:100%;padding:12px 14px!important;box-shadow:none!important}
html[data-theme] #app :is(input,textarea)::placeholder {color:var(--muted)!important}
html[data-theme] #app .field {font-size:12px!important;color:var(--muted);margin-bottom:16px;min-width:0}
html[data-theme] #app :is(.form-grid,.builder-form-grid,.two-col) {gap:14px;min-width:0}
html[data-theme] #app :is(.form-grid,.builder-form-grid)>* {min-width:0}
html[data-theme] #app .tag {border-color:var(--line)!important;background:var(--prologue-raised)!important;color:var(--ink)!important;border-radius:8px;font-size:11px}
html[data-theme] #app :is(.compact-menu-items,.account-menu-items) {background:var(--surface)!important;border:1px solid var(--line)!important;color:var(--ink)!important;border-radius:14px!important;box-shadow:0 16px 48px #0004!important;z-index:60;max-width:min(320px,calc(100vw - 32px))}
html[data-theme] #app :is(.compact-menu-items,.account-menu-items) button {color:var(--ink)!important;min-height:44px;white-space:normal}
html[data-theme] #app .compact-menu summary {min-width:44px;min-height:44px;background:transparent;border:0;color:var(--muted)}
/* Consistent saturated activity badges. */
html[data-theme] #app .activity-type-run {--activity-colour:var(--activity-run)}
html[data-theme] #app .activity-type-strength {--activity-colour:var(--activity-strength)}
html[data-theme] #app .activity-type-swim {--activity-colour:var(--activity-swim)}
html[data-theme] #app .activity-type-cycle {--activity-colour:var(--activity-cycle)}
html[data-theme] #app .activity-type-hike {--activity-colour:var(--activity-hike)}
html[data-theme] #app .activity-type-walk {--activity-colour:var(--activity-walk)}
html[data-theme] #app .activity-type-march {--activity-colour:var(--activity-march)}
html[data-theme] #app .activity-type-conditioning {--activity-colour:var(--activity-conditioning)}
html[data-theme] #app .activity-type-recovery {--activity-colour:var(--activity-recovery)}
html[data-theme] #app .activity-type-assessment {--activity-colour:var(--activity-assessment)}
html[data-theme] #app :is(.prologue-activity-badge,.today-activity-icon) {width:36px;height:36px;min-width:36px;border-radius:50%!important;display:inline-grid;place-items:center;flex:none;background:var(--activity-colour,var(--activity-recorded))!important;color:#181818!important}
html[data-theme] #app :is(.prologue-activity-badge,.today-activity-icon) svg {width:20px;height:20px;stroke-width:1.7}
/* Today. */
html[data-theme] #app .today-workspace {max-width:none}
html[data-theme] #app .today-date-heading {margin:0 0 18px;padding:0}
html[data-theme] #app .today-date {font-size:13px;color:var(--muted);line-height:20px;margin:0}
html[data-theme] #app .dc-today-layout {display:block;max-width:none}
html[data-theme] #app .dc-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px;padding:0}
html[data-theme] #app .dc-section-heading h2 {font-size:21px;line-height:28px;margin:0}
html[data-theme] #app .dc-section-heading>span {font-size:13px;color:var(--muted)}
html[data-theme] #app .today-activities {margin:0 0 26px!important}
html[data-theme] #app .today-activities .dc-section-heading {margin:0 0 12px}
html[data-theme] #app .today-session-list {display:grid;gap:14px}
html[data-theme] #app .today-training-card {display:grid;gap:16px;padding:20px;cursor:pointer;transition:transform 160ms,background 160ms}
html[data-theme] #app .today-training-card:active {transform:scale(.985)}
html[data-theme] #app .training-card-meta {display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:13px}
html[data-theme] #app .dc-session-type {display:flex;align-items:center;gap:8px;color:var(--activity-colour,var(--muted))}
html[data-theme] #app .dc-session-type .prologue-activity-badge {width:20px;height:20px;min-width:20px;background:transparent!important;color:var(--activity-colour,var(--muted))!important}
html[data-theme] #app .dc-session-type svg {width:17px;height:17px}
html[data-theme] #app .dc-session-copy h2 {font-size:23px;line-height:29px;margin:0 0 6px}
html[data-theme] #app .dc-session-copy p {font-size:13px;line-height:20px;color:var(--muted);margin:0}
html[data-theme] #app .dc-session-footer {padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
html[data-theme] #app .dc-plan-caption {font-size:13px;line-height:20px;color:var(--muted);min-width:0;flex:1}
html[data-theme] #app .training-card-action {display:flex;align-items:center;gap:6px;flex:none;min-height:36px;padding:9px 15px;background:var(--ink)!important;color:var(--surface-2)!important;border:0;border-radius:20px;font-size:13px;font-weight:600}
html[data-theme] #app .training-card-action svg {width:14px;height:14px}
html[data-theme] #app .today-rest {padding:20px!important;min-height:0;display:block}
html[data-theme] #app .today-rest h2 {font-size:17px!important;line-height:24px;margin:0 0 8px;max-width:none}
html[data-theme] #app .today-rest p {font-size:13px;color:var(--muted);line-height:20px;max-width:none;margin:0}
html[data-theme] #app .today-activity-card {padding:16px;display:grid;grid-template-columns:42px minmax(0,1fr) 16px!important;grid-template-rows:auto auto auto;gap:4px 11px;border-radius:18px;margin:0 0 12px;width:100%;min-width:0}
html[data-theme] #app .today-activity-card::before {display:none}
html[data-theme] #app .today-activity-card .today-activity-icon {grid-column:1;grid-row:1/4;width:42px;height:42px;min-width:42px}
html[data-theme] #app .today-activity-card .today-activity-title {grid-column:2;grid-row:1;padding:0;margin:0;font-size:15px;line-height:20px;font-weight:600}
html[data-theme] #app .today-activity-card .today-activity-result {grid-column:2;grid-row:2;font-size:12px;color:var(--muted);line-height:29px}
html[data-theme] #app .today-activity-card .today-activity-result strong {font-size:24px;line-height:29px;letter-spacing:-.8px;font-weight:600;color:var(--ink)}
html[data-theme] #app .today-activity-card .today-activity-meta {grid-column:2;grid-row:3;font-size:12px;line-height:18px}
html[data-theme] #app .today-activity-card .today-activity-coverage {grid-column:2;grid-row:4;font-size:11px;color:var(--activity-colour,var(--muted));padding:0}
html[data-theme] #app .today-activity-card .today-activity-arrow {position:static;grid-column:3;grid-row:1/4;align-self:center;font-size:20px;color:var(--muted)}
html[data-theme] #app .today-activity-card .today-activity-route {display:none}
/* Calendar */
html[data-theme] #app .calendar-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
html[data-theme] #app .month-panel {padding:10px;border-radius:20px}
html[data-theme] #app .month-heading {padding:0 0 8px 8px;gap:8px;flex-wrap:wrap}
html[data-theme] #app .month-heading h2 {font-size:21px;margin:0}
html[data-theme] #app .month-heading nav {display:flex;gap:8px}
html[data-theme] #app .month-heading nav button {width:44px;height:44px;min-height:44px;border:0;background:transparent!important;color:var(--ink);border-radius:14px}
html[data-theme] #app .month-weekdays {margin:0;padding:5px 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));font-size:11px;line-height:20px;color:var(--muted)}
html[data-theme] #app .month-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
html[data-theme] #app .month-day {min-height:52px;height:auto;min-width:0;border-radius:10px;padding:7px 0;gap:5px;font-size:15px;line-height:24px;color:var(--ink);font-variant-numeric:tabular-nums}
html[data-theme] #app .month-day.has-sessions {background:var(--prologue-raised)!important}
html[data-theme] #app .month-day.is-today {border:1px solid var(--muted)!important;font-weight:700}
html[data-theme] #app .month-day.is-selected {background:var(--ink)!important;color:var(--surface-2)!important;border-color:var(--ink)!important;font-weight:700}
html[data-theme] #app .month-day.is-outside {opacity:.55}
html[data-theme] #app .month-indicators {height:4px;display:flex;align-items:center;gap:2px}
html[data-theme] #app .month-day .session-dot {height:3px;width:7px;border-radius:2px;background:var(--activity-colour,var(--muted))!important;transform:none}
html[data-theme] #app .month-day.is-selected .session-dot {background:var(--surface-2)!important}
html[data-theme] #app .calendar-focus {min-width:0;display:grid;gap:15px}
html[data-theme] #app .calendar-week-summary {display:grid;gap:13px;padding:14px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
html[data-theme] #app .calendar-week-header {display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px}
html[data-theme] #app .calendar-week-header p {margin:0 0 3px;font-size:12px;color:var(--muted)}
html[data-theme] #app .calendar-week-header h2 {margin:0;font-size:19px;line-height:1.3;font-weight:600;letter-spacing:-.4px;color:var(--ink)}
html[data-theme] #app .calendar-week-score {display:grid;gap:2px;text-align:right;margin-inline-start:auto}
html[data-theme] #app .calendar-week-score strong {font-size:29px;line-height:1;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
html[data-theme] #app .calendar-week-score small {font-size:15px;color:var(--muted)}
html[data-theme] #app .calendar-week-score span {color:var(--muted);font-size:11px}
html[data-theme] #app .calendar-week-sports {display:flex;flex-wrap:wrap;gap:8px}
html[data-theme] #app .calendar-week-sport {display:flex;flex-direction:column;align-items:center;gap:5px;flex:1 1 78px;min-width:28%;padding:7px;border-radius:12px;background:var(--surface-2);text-align:center}
html[data-theme] #app .calendar-sport-ring {width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;position:relative}
html[data-theme] #app .calendar-sport-ring>svg {position:absolute;inset:0;width:100%;height:100%;stroke:var(--activity-colour,var(--muted));stroke-width:3;stroke-linecap:round}
html[data-theme] #app .calendar-sport-ring>svg circle:not(.calendar-ring-progress) {opacity:.23}
html[data-theme] #app .calendar-sport-ring .prologue-activity-badge {width:18px;height:18px;min-width:0;background:transparent!important;color:var(--ink)!important}
html[data-theme] #app .calendar-sport-ring .prologue-activity-badge svg {width:15px;height:15px}
html[data-theme] #app .calendar-sport-copy {display:grid;gap:2px;line-height:1.3;min-width:0}
html[data-theme] #app .calendar-sport-copy strong {font-size:12px;font-weight:600}
html[data-theme] #app .calendar-sport-copy small {font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:900px) {
 html[data-theme] #app .calendar-focus {display:contents}
 html[data-theme] #app .calendar-week-summary {order:-1}
}
html[data-theme] #app .day-agenda {padding:0;display:grid;gap:10px}
html[data-theme] #app .day-agenda>header {padding:0;margin:0;border:0;display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
html[data-theme] #app .day-agenda h2 {font-size:21px;line-height:28px;margin:0}
html[data-theme] #app .day-agenda>header>span {font-size:13px;color:var(--muted)}
html[data-theme] #app .agenda-session {display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);text-align:left;width:100%}
html[data-theme] #app .agenda-copy {flex:1;min-width:0;display:grid;gap:3px}
html[data-theme] #app .agenda-copy strong {font-size:17px;line-height:24px;font-weight:600;margin:0}
html[data-theme] #app .agenda-copy small,html[data-theme] #app .agenda-state {font-size:13px;line-height:20px;color:var(--muted);margin:0}
html[data-theme] #app .agenda-state.is-complete {color:var(--improved)}
html[data-theme] #app .calendar-session {border-radius:16px;transition:background-color .16s ease,border-color .16s ease}
html[data-theme] #app .calendar-session:hover {background:var(--prologue-raised);border-color:color-mix(in srgb,var(--muted) 35%,var(--line))}
html[data-theme] #app .calendar-session .agenda-copy {gap:2px}
html[data-theme] #app .calendar-session .agenda-copy strong {font-size:16px;line-height:22px}
html[data-theme] #app .calendar-session .calendar-session-kind {font-size:11px;line-height:16px;font-weight:600;color:var(--muted)}
html[data-theme] #app .calendar-session-meta {display:flex;flex-wrap:wrap;gap:2px 10px}
html[data-theme] #app .calendar-session :is(.agenda-copy small,.agenda-state) {font-size:12px;line-height:17px}
html[data-theme] #app .calendar-session .prologue-activity-badge {width:34px;height:34px;flex:0 0 34px}
html[data-theme] #app .agenda-arrow svg {width:16px;height:16px;color:var(--muted)}
html[data-theme] #app .agenda-rest {text-align:left;padding:0;margin:0}
/* Feed: same reading width, flush map previews, metric and Boost treatment. */
html[data-theme] #app .dc-content:has(>.activity-feed) {max-width:680px!important;padding:18px 0 0!important}
html[data-theme] #app .activity-feed {width:100%;max-width:none;margin:0;background:var(--surface-2)}
html[data-theme] #app .activity-feed>.screen-heading {margin:0 18px 20px!important}
html[data-theme] #app .activity-feed .mountain-outing-list {display:block;width:100%;margin:0}
html[data-theme] #app .activity-feed .feed-outing {padding:20px 0 0;margin:0;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:var(--surface-2)!important;box-shadow:none!important;width:100%;max-width:none}
html[data-theme] #app .activity-feed :is(.outing-author,.session-result-summary) {padding-left:18px;padding-right:18px}
html[data-theme] #app .outing-author {display:flex;align-items:center;gap:10px;padding-bottom:16px;margin:0}
html[data-theme] #app .outing-author .avatar {width:36px;height:36px;min-width:36px;border-radius:50%;background:var(--prologue-raised);color:var(--ink);font-size:15px}
html[data-theme] #app .outing-author .avatar img {border-radius:50%;object-fit:cover}
html[data-theme] #app .outing-author strong {font-size:15px;font-weight:600}
html[data-theme] #app .outing-author time {font-size:12px;line-height:18px;margin-top:3px;color:var(--muted)}
html[data-theme] #app .profile-name-link {color:var(--ink)}
html[data-theme] #app .activity-feed .hill-route-title {font-size:23px!important;line-height:29px;font-weight:600;letter-spacing:-.7px;color:var(--ink)}
html[data-theme] #app .activity-feed .feed-outing>h2 {margin:0;padding:0 18px 16px}
html[data-theme] #app .activity-feed .session-result-summary h2 {padding:0;margin:0 0 12px}
html[data-theme] #app .activity-feed .feed-metrics {display:flex;flex-wrap:wrap;gap:18px 0;padding:0 18px 20px;margin:0}
html[data-theme] #app .session-result-summary .feed-metrics {padding-left:0;padding-right:0}
html[data-theme] #app .feed-metrics>div {width:33.333%;min-width:0;display:flex;flex-direction:column-reverse;gap:4px;padding-right:8px}
html[data-theme] #app .feed-metrics dd {font-size:20px;line-height:26px;letter-spacing:-.6px;font-weight:600;margin:0;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-theme] #app .feed-metrics dt {font-size:12px;line-height:18px;text-transform:none;letter-spacing:0;color:var(--muted)}
html[data-theme] #app .activity-feed :is(.hill-map-open,.route-map,.map-engine-preview) {width:100%;max-width:none;height:240px;min-height:0;border:0;border-radius:0;margin:0}
html[data-theme] #app .outing-social-bar {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:4px 8px;border:0;color:var(--muted)}
html[data-theme] #app .outing-social-bar button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px 12px;border:0;background:transparent;color:var(--ink);font-size:13px;border-radius:22px}
html[data-theme] #app .outing-social-bar svg {width:20px;height:20px;stroke-width:1.7;fill:none}
html[data-theme] #app .outing-social-bar .activity-heart {width:auto;gap:6px;color:var(--ink)}
html[data-theme] #app .activity-heart svg {color:var(--muted)}
html[data-theme] #app .activity-heart[aria-pressed=true] {color:var(--declined)}
html[data-theme] #app .activity-heart[aria-pressed=true] svg {color:var(--declined);fill:var(--declined)}
html[data-theme] #app .activity-boost-label {font-size:13px;font-weight:700}
html[data-theme] #app .outing-social-bar .activity-like-count {padding-left:4px;color:var(--muted)}
html[data-theme] #app .feed-empty {margin:0 18px;padding:20px;text-align:left}
/* Progress retains exact results and history, with native trend colours. */
html[data-theme] #app .progress-profile {--profile-accent:var(--ink);border-radius:20px;overflow:hidden}
html[data-theme] #app .radar-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:0}
html[data-theme] #app .radar-plot {padding:20px;border:0}
html[data-theme] #app .radar-detail {padding:0 20px 20px;border:0}
html[data-theme] #app .radar {width:100%;max-width:560px;display:block;margin:0 auto}
html[data-theme] #app :is(.radar-label,.radar-legend,.profile-plot-heading,.profile-results-head>span,.profile-result-index) {color:var(--muted);fill:var(--muted)}
html[data-theme] #app .radar-ring,html[data-theme] #app .radar-spoke {stroke:var(--line);fill:none}
html[data-theme] #app .profile-line {stroke:var(--ink);stroke-width:2.5;fill:none}
html[data-theme] #app .profile-previous {stroke:var(--muted);fill:none;stroke-dasharray:5 5;opacity:.65}
html[data-theme] #app .profile-area {fill:var(--plot-fill)}
html[data-theme] #app .profile-point {fill:var(--ink);stroke:var(--ink)}
html[data-theme] #app .profile-point-halo {fill:var(--surface);stroke:none}
html[data-theme] #app .profile-trend {stroke-width:2.5}
html[data-theme] #app .profile-trend.is-improved {stroke:var(--improved)}
html[data-theme] #app .profile-trend.is-declined {stroke:var(--declined)}
html[data-theme] #app .profile-point.is-improved {fill:var(--improved);stroke:var(--improved)}
html[data-theme] #app .profile-point.is-declined {fill:var(--declined);stroke:var(--declined)}
html[data-theme] #app .profile-change.is-improved {color:var(--improved)!important}
html[data-theme] #app .profile-change.is-declined {color:var(--declined)!important}
html[data-theme] #app .radar-test {padding:16px 0;border-color:var(--line);color:var(--ink);gap:12px;background:transparent}
html[data-theme] #app .radar-test b {font-size:15px;color:var(--ink)}
html[data-theme] #app .profile-result-value {font-size:20px;color:var(--ink)}
html[data-theme] #app .profile-result-label small,html[data-theme] #app .profile-score {font-size:12px;color:var(--muted)}
/* Full-screen session overview. No redundant sub-tabs. */
html[data-theme] #app .dc-activity-focus {display:block}
html[data-theme] #app .dc-activity-focus .dc-workspace {height:100%!important}
html[data-theme] #app .dc-activity-focus .dc-content {padding:0!important;max-width:680px!important;width:100%}
html[data-theme] #app .activity-detail {background:var(--surface-2)!important;border:0;max-width:none}
html[data-theme] #app .activity-detail-top {position:sticky;top:0;z-index:15;min-height:58px;padding:env(safe-area-inset-top,0px) 18px 0;background:var(--surface-2)!important;border-bottom:1px solid var(--line);font-size:17px;font-weight:600}
html[data-theme] #app .activity-detail-map .route-map {height:250px;min-height:0}
html[data-theme] #app .activity-detail-content {padding:20px 18px;background:var(--surface-2)!important}
html[data-theme] #app .activity-detail-title {font-size:28px!important;line-height:35px!important;margin:0 0 20px}
html[data-theme] #app .activity-detail-meta {font-size:12px;gap:10px;flex-wrap:wrap}
html[data-theme] #app .activity-audience-options {background:var(--surface)!important;border:1px solid var(--line);border-radius:14px}
html[data-theme] #app .activity-audience-options button {color:var(--ink);border-color:var(--line);min-height:44px}
html[data-theme] #app .activity-audience-options button.is-selected {background:var(--accent)!important;color:var(--primary-text)!important;border-color:var(--accent)!important}
html[data-theme] #app .activity-detail-stats {gap:0 20px}
html[data-theme] #app .activity-detail-stats>div {padding:16px 0;border-color:var(--line)}
html[data-theme] #app .activity-detail-stats dd {font-size:24px;line-height:30px}
html[data-theme] #app .activity-detail-stats .activity-primary-stat dd {font-size:40px;line-height:46px}
html[data-theme] #app .activity-detail-stats dt {font-size:12px;color:var(--muted)}
/* Compact workout inputs match the native session editor. */
html[data-theme] #app .workout-session {max-width:none;background:var(--surface-2)}
html[data-theme] #app .workout-session>.panel-body {padding:16px 0!important}
html[data-theme] #app .workout-session .workout-header {padding:0 0 16px}
html[data-theme] #app .workout-session .exercise-block {padding:18px 0;border-color:var(--line)}
html[data-theme] #app .workout-session .exercise-head {margin:0 0 10px;gap:10px}
html[data-theme] #app .workout-session .exercise-head h3 {font-size:17px;line-height:24px;margin:0 0 4px}
html[data-theme] #app .workout-session .exercise-head p {font-size:13px;line-height:20px}
html[data-theme] #app .workout-session .set-table {border-spacing:0 6px;table-layout:fixed}
html[data-theme] #app .workout-session .set-table td {padding:5px;background:var(--surface)}
html[data-theme] #app .workout-session .set-table th {padding:0 5px 4px;font-size:11px}
html[data-theme] #app .workout-session .set-table td:first-child {width:34px}
html[data-theme] #app .workout-session .set-table td:last-child {width:50px}
html[data-theme] #app .workout-session .set-table input {padding:8px 4px!important;min-height:44px;border-radius:8px!important}
html[data-theme] #app .workout-session .set-btn {width:38px;height:38px;min-width:38px;border-radius:10px;color:var(--ink);border-color:var(--line);font-size:18px}
html[data-theme] #app .workout-session .set-btn[aria-pressed=true] {background:var(--accent);color:var(--primary-text)!important;border-color:var(--accent)}
html[data-theme] #app .workout-save-bar {background:var(--surface-2)!important;border-color:var(--line);padding:12px 0;gap:12px}
/* Coach, store, profile and builder tools inherit the native form/card system. */
html[data-theme] #app :is(.plan-cover,.coach-workspace,.store-management,.store-payments-panel,.profile-hero,.member-profile-header,.coach-onboarding) {background:var(--surface)!important;color:var(--ink);border-color:var(--line)!important;box-shadow:none!important}
html[data-theme] #app .plan-cover {background:var(--prologue-raised)!important}
html[data-theme] #app :is(.plan-card-copy,.store-card-copy,.coach-client-card) {padding:20px;min-width:0}
html[data-theme] #app :is(.plan-tabs,.section-tabs,.profile-tabs,.coach-tabs) {display:flex;gap:8px;flex-wrap:wrap;border:0;background:transparent;margin-bottom:18px}
html[data-theme] #app :is(.plan-tabs,.section-tabs,.profile-tabs,.coach-tabs) button {border:1px solid var(--line)!important;border-radius:12px!important;background:transparent!important;color:var(--muted)!important;min-height:44px;padding:10px 14px!important;margin:0}
html[data-theme] #app :is(.plan-tabs,.section-tabs,.profile-tabs,.coach-tabs) :is(.selected,[aria-pressed=true],[aria-current=page]) {background:var(--prologue-raised)!important;color:var(--ink)!important}
html[data-theme] #app :is(.program-grid,.coach-roster-grid,.coaching-stat-grid) {gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
html[data-theme] #app .settings-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
html[data-theme] #app .settings-nav {display:flex;gap:6px;flex-wrap:wrap;padding:6px;border-radius:14px}
html[data-theme] #app .settings-nav button {flex:1;min-width:80px;min-height:44px;padding:10px 12px;color:var(--muted);background:transparent;border:0;border-radius:10px}
html[data-theme] #app .settings-nav [aria-current=page] {background:var(--prologue-raised)!important;color:var(--ink)!important}
html[data-theme] #app .settings-detail {padding:0;border:0!important;background:transparent!important}
html[data-theme] #app .settings-section {padding:20px}
html[data-theme] #app .settings-section .more-item {border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0;padding:16px 0;background:transparent!important;gap:12px}
html[data-theme] #app .more-item b {font-size:15px;color:var(--ink)}
html[data-theme] #app .more-item small {font-size:13px;color:var(--muted);line-height:20px}
/* Editors are above navigation, with scrollable bodies and reachable actions. */
html[data-theme] #app .modal-shade {position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;background:#0009;overflow:auto}
html[data-theme] #app .modal {width:min(100%,680px);max-width:680px;max-height:calc(100dvh - 48px);margin:auto;border:1px solid var(--line)!important;border-radius:24px;background:var(--surface-2)!important;color:var(--ink);box-shadow:0 20px 80px #0005;overflow:auto}
html[data-theme] #app .modal.modal-wide {width:min(100%,960px);max-width:960px}
html[data-theme] #app .modal>.panel-head {position:sticky;top:0;z-index:10;background:var(--surface-2)!important;display:flex;align-items:center;gap:12px;padding:16px 20px}
html[data-theme] #app .modal>.panel-head h2 {flex:1;min-width:0;font-size:21px}
html[data-theme] #app .modal .panel-body {padding:20px}
html[data-theme] #app .modal :is(.editor-grid,.builder-grid,.form-grid) {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px}
html[data-theme] #app :is(.builder-session,.builder-block,.test-definition,.form-question,.exercise-editor) {background:var(--surface)!important;color:var(--ink);border-color:var(--line)!important;border-radius:14px;min-width:0}
html[data-theme] #app .modal .modal-actions {display:flex;flex-wrap:wrap;gap:10px;padding-top:16px;border-color:var(--line)}
/* Hills: a quiet map with progress and collections in one scrollable sheet. */
html[data-theme] #app .hills-workspace {left:0!important;right:0!important;bottom:calc(var(--app-dock-height) + var(--app-safe-bottom))}
html[data-theme] #app .hills-sheet {background:var(--surface-2)!important;color:var(--ink);border:1px solid var(--line)!important;border-radius:24px 24px 0 0;box-shadow:none!important}
html[data-theme] #app .hills-place .region-tools {background:var(--surface-2)!important;color:var(--ink);border-color:var(--line)}
html[data-theme] #app .hills-sheet-handle {color:var(--ink);background:var(--surface-2);border-radius:24px 24px 0 0}
html[data-theme] #app .hills-sheet-handle>span {font-size:18px;font-weight:650;letter-spacing:-.4px}
html[data-theme] #app .hills-sheet-handle>small {font-size:11px;color:var(--muted)}
html[data-theme] #app .hills-sheet-handle:before {background:var(--muted);opacity:.4}
html[data-theme] #app .hills-workspace .hills-heading {background:var(--surface-2)!important;color:var(--ink);border-color:var(--line);border-radius:14px;box-shadow:none}
html[data-theme] #app .hills-activity-toggle {background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme] #app .hills-sheet.has-place .hills-logbook-content>:not(.hills-place) {display:none}
html[data-theme] #app .hills-logbook-content {padding:4px 20px 28px;overscroll-behavior:contain}
html[data-theme] #app .hills-journey-stats {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 15px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
html[data-theme] #app .hills-journey-stats>div+div {border-left:1px solid var(--line);padding-left:12px}
html[data-theme] #app .hills-journey-stats dd {font-size:24px;line-height:30px;font-weight:650;letter-spacing:-.8px;margin:0;font-variant-numeric:tabular-nums}
html[data-theme] #app .hills-journey-stats dd small {font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted)}
html[data-theme] #app .hills-journey-stats dt {font-size:11px;line-height:15px;margin-top:2px;color:var(--muted)}
html[data-theme] #app .hills-workspace [data-accent=blue] {--hill-accent:#8bd3ff}
html[data-theme] #app .hills-workspace [data-accent=mint] {--hill-accent:#91cdb6}
html[data-theme] #app .hills-workspace [data-accent=lilac] {--hill-accent:#baa6e5}
html[data-theme] #app .hills-workspace [data-accent=amber] {--hill-accent:#d3bda2}
html[data-theme] #app .hills-workspace [data-accent=coral] {--hill-accent:#e7a39c}
html[data-theme=light] #app .hills-workspace [data-accent=blue] {--hill-accent:#246c9b}
html[data-theme=light] #app .hills-workspace [data-accent=mint] {--hill-accent:#31745d}
html[data-theme=light] #app .hills-workspace [data-accent=lilac] {--hill-accent:#7454a2}
html[data-theme=light] #app .hills-workspace [data-accent=amber] {--hill-accent:#78522e}
html[data-theme=light] #app .hills-workspace [data-accent=coral] {--hill-accent:#9d514a}
html[data-theme] #app .hills-directory-heading {align-items:center;margin:0 0 12px}
html[data-theme] #app .hills-directory-heading h2 {font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.3px}
html[data-theme] #app .hills-directory-heading>span {font-size:11px;color:var(--muted)}
html[data-theme] #app .hill-region-directory {display:grid;gap:8px}
html[data-theme] #app .hill-directory-row {display:grid;grid-template-columns:36px minmax(0,1fr) 12px;gap:12px;min-height:65px;padding:10px 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}
html[data-theme] #app .hill-directory-row:hover {border-color:color-mix(in srgb,var(--hill-accent) 35%,var(--line));background:var(--surface)}
html[data-theme] #app .hills-collection-icon {display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:var(--hill-accent);background:color-mix(in srgb,var(--hill-accent) 9%,transparent)}
html[data-theme] #app .hills-collection-icon svg {width:21px;height:21px}
html[data-theme] #app .hills-collection-copy strong {display:block;font-size:14px;line-height:20px;font-weight:600}
html[data-theme] #app .hills-collection-copy small {display:block;margin-top:3px;font-size:11px;line-height:16px;color:var(--muted)}
html[data-theme] #app .hills-collection-top {display:flex;align-items:baseline;justify-content:space-between;gap:8px}
html[data-theme] #app .hills-collection-top small {margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-theme] #app .hill-directory-row progress {display:block;width:100%;height:3px;margin:7px 0 0;border:0;border-radius:4px;overflow:hidden;background:var(--line);accent-color:var(--hill-accent)}
html[data-theme] #app .hill-directory-row progress::-webkit-progress-bar {background:var(--line)}
html[data-theme] #app .hill-directory-row progress::-webkit-progress-value {background:var(--hill-accent);border-radius:4px}
html[data-theme] #app .hill-directory-row progress::-moz-progress-bar {background:var(--hill-accent);border-radius:4px}
html[data-theme] #app .hills-collection-complete {color:var(--hill-accent);font-weight:600}
html[data-theme] #app .hills-chevron {color:var(--muted);font-size:22px;line-height:24px;font-weight:400}
html[data-theme] #app .hills-place .mountain-filters {background:var(--surface);border:1px solid var(--line);border-radius:12px}
html[data-theme] #app .hills-place .mountain-filters .btn {font-size:12px;color:var(--muted);padding:8px;white-space:nowrap}
html[data-theme] #app .hills-place .mountain-filters [aria-pressed=true] {background:var(--prologue-raised);color:var(--ink)}
html[data-theme] #app .hills-place .hill-region-search {background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)}
html[data-theme] #app .hill-region-row:hover strong {color:var(--ink)}
html[data-theme] #app .hills-sheet .mountain-source {margin-top:20px;border-top:1px solid var(--line);padding-top:10px}
@media (min-width:801px) {
 html[data-theme] #app .hills-sheet {width:390px;left:20px;top:78px}
}
@media (max-width:360px) {
 html[data-theme] #app .hills-logbook-content {padding-left:16px;padding-right:16px}
 html[data-theme] #app .hills-journey-stats {gap:8px}
 html[data-theme] #app .hills-discover-links {grid-template-columns:1fr}
}
/* Sign-in is the same quiet wordmark, input and button hierarchy as the app. */
html[data-theme] #app .entry-page {min-height:100dvh;background:var(--surface-2)!important;color:var(--ink);padding:48px 24px;display:grid;place-items:center}
html[data-theme] #app .entry-content {width:100%;max-width:420px;margin:0 auto;gap:32px}
html[data-theme] #app .entry-brand-name {font-size:58px!important;line-height:68px;letter-spacing:-2.8px!important;color:var(--ink)}
html[data-theme] #app .entry-brand-tagline {font-size:15px;color:var(--muted);letter-spacing:0}
html[data-theme] #app .entry-form {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;width:100%;max-width:none}
html[data-theme] #app .entry-switch {background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:5px;gap:5px}
html[data-theme] #app .entry-switch button {font-size:14px;min-height:44px;color:var(--muted);border:0;border-radius:10px;background:transparent}
html[data-theme] #app .entry-switch .active {background:var(--prologue-raised);color:var(--ink)}
html[data-theme] #app .entry-heading {margin:28px 0 24px}
html[data-theme] #app .entry-heading h1 {font-size:28px!important;line-height:35px!important;margin:0 0 10px}
html[data-theme] #app .entry-heading p {font-size:15px;color:var(--muted);line-height:24px}
html[data-theme] #app .entry-submit {min-height:52px;border-radius:12px!important}
html[data-theme] #app .entry-footer {color:var(--muted);border-color:var(--line)}
@media(max-width:600px) {
 html[data-theme] #app .dc-search-button {display:none!important}
 html[data-theme] #app .dc-topbar {padding-left:14px!important;padding-right:18px!important}
 html[data-theme] #app .modal-shade {padding:0;align-items:stretch}
 html[data-theme] #app .modal,html[data-theme] #app .modal.modal-wide {width:100%;max-width:none;height:100dvh;max-height:none;border:0!important;border-radius:0;margin:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 html[data-theme] #app .modal .panel-body {padding:18px}
 html[data-theme] #app .workout-save-bar {position:sticky!important;inset:auto!important;bottom:0!important;grid-row:auto;padding:10px 18px!important;max-width:none;width:100%;margin:0}
 html[data-theme] #app .dc-app:has(>.workout-save-bar) {grid-template-rows:minmax(0,1fr) auto auto}
 html[data-theme] #app .dc-app>.workout-save-bar {grid-row:2}
 html[data-theme] #app .dc-app:has(>.workout-save-bar)>.dc-mobile-dock {grid-row:3}
 html[data-theme] #app .workout-save-bar>span {font-size:11px;min-width:0}
 html[data-theme] #app .workout-save-bar .btn {font-size:13px!important;padding:10px 12px;min-height:44px}
 html[data-theme] #app .form-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}
 html[data-theme] #app .activity-feed .feed-metrics dd {font-size:19px}
 html[data-theme] #app .entry-page {padding:30px 24px}
}
@media(prefers-reduced-motion:no-preference) {
 html[data-theme] #app .dc-content>section:not(.hills-workspace) {animation:prologue-page-in 180ms ease both}
 @keyframes prologue-page-in {from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce) {
 html[data-theme] #app *,html[data-theme] #app *::before,html[data-theme] #app *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
html[data-theme] #app .today-activity-card .today-activity-copy {grid-column:2;grid-row:1/4;display:grid;gap:2px;min-width:0}
html[data-theme] #app .today-activity-card .today-activity-title {display:block;grid-area:auto}
html[data-theme] #app .today-activity-summary {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:4px}
html[data-theme] #app .today-activity-card :is(.today-activity-result,.today-activity-meta,.today-activity-coverage) {grid-area:auto;display:block}
html[data-theme] #app .today-activity-card .today-activity-meta {flex-shrink:1}
html[data-theme] #app .progress-profile {background:transparent!important;border:0!important;overflow:visible}
html[data-theme] #app .progress-profile>.panel-head {padding:0;margin:0 0 18px;border:0;display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
html[data-theme] #app .progress-profile>.panel-head h2 {font-size:21px;line-height:28px}
html[data-theme] #app .profile-completion {color:var(--muted);font-size:13px}
html[data-theme] #app .radar-layout {gap:22px}
html[data-theme] #app .radar-plot {background:var(--surface);padding:16px;border-radius:22px}
html[data-theme] #app .radar-detail {padding:0}
html[data-theme] #app .radar-test {display:grid;grid-template-columns:22px minmax(0,1fr) 16px;gap:9px 10px;text-align:left}
html[data-theme] #app .profile-result-index {grid-column:1;grid-row:1;align-self:start}
html[data-theme] #app .profile-result-label {grid-column:2;grid-row:1}
html[data-theme] #app .profile-result-label b {font-size:17px;line-height:24px}
html[data-theme] #app .profile-result-value {grid-column:2/4;grid-row:2;text-align:left;font-size:21px;line-height:28px}
html[data-theme] #app .radar-test::after {content:'›';grid-column:3;grid-row:1;font-size:22px;color:var(--muted)}
html[data-theme] #app .radar-test.is-improved .profile-result-value>div {color:var(--improved)}
html[data-theme] #app .radar-test.is-declined .profile-result-value>div {color:var(--declined)}
html[data-theme] #app .profile-result-value .profile-target {color:var(--muted);font-size:13px}
html[data-theme] #app .profile-score {margin:4px 0 0;line-height:20px;background:none;border:0;padding:0}
html[data-theme] #app .profile-results-head h3 {font-size:21px}
html[data-theme] #app .prologue-coach-intro {display:grid;gap:7px;margin-bottom:22px}
html[data-theme] #app .prologue-coach-intro .tag {justify-self:start;background:transparent!important;border:0;padding:0}
html[data-theme] #app .prologue-coach-intro h2 {font-size:30px;line-height:37px;letter-spacing:-1px;margin:0}
html[data-theme] #app .prologue-coach-intro p {margin:0}
html[data-theme] #app .roster-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px}
html[data-theme] #app .client-list {display:grid;gap:10px}
html[data-theme] #app .client-list .conversation-row {padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);gap:12px;min-width:0}
html[data-theme] #app .conversation-row .avatar {width:36px;height:36px;min-width:36px;border-radius:50%;background:var(--prologue-raised);color:var(--ink)}
html[data-theme] #app .conversation-row strong {font-size:17px;color:var(--ink)}
html[data-theme] #app .conversation-row small {font-size:13px;color:var(--muted)}
html[data-theme] #app .prologue-tool-list {display:grid;gap:10px}
html[data-theme] #app .prologue-tool-list .more-item {padding:16px;border-radius:20px;gap:12px}
html[data-theme] #app .manual-builder :is(.builder-basics,.builder-session-basics,.builder-session-context,.builder-status,.builder-owner,.builder-week-heading,.builder-block-heading,.builder-secondary-actions,.testing-basics) {min-width:0;gap:12px;flex-wrap:wrap}
html[data-theme] #app .builder-basics {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px}
html[data-theme] #app .builder-day {border-color:var(--line);border-radius:14px;background:var(--surface);overflow:visible}
html[data-theme] #app :is(.builder-session-row,.builder-options,.builder-block,.builder-week-picker,.builder-day-content,.test-option,.testing-section) {background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink);min-width:0}
html[data-theme] #app .builder-open-session {color:var(--ink);min-width:0;overflow-wrap:anywhere}
html[data-theme] #app :is(.builder-session-meta,.builder-day-empty,.builder-open-session small) {color:var(--muted)}
html[data-theme] #app :is(.builder-menu>div,.builder-schedule>div) {background:var(--surface)!important;border:1px solid var(--line);border-radius:14px;z-index:30;max-width:min(320px,calc(100vw - 36px))}
html[data-theme] #app .builder-savebar {position:sticky;bottom:0;z-index:5;padding:16px 0;background:var(--surface-2);border-color:var(--line)}
html[data-theme] #app .builder-savebar>div {display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
html[data-theme] #app .dc-app .month-day:is(.is-today,.is-selected) {background:var(--prologue-raised)!important;color:var(--ink)!important;border-color:var(--muted)!important}
html[data-theme] #app .activity-feed .feed-outing>header {padding:0 18px;gap:10px;display:flex;align-items:flex-start;justify-content:space-between}
html[data-theme] #app .activity-feed .feed-outing>header .outing-author {padding-left:0;padding-right:0;flex:1;min-width:0}
html[data-theme] #app .activity-feed .outing-author .avatar {border-radius:50%!important;background:var(--prologue-raised)!important;border:0!important}
html[data-theme] #app .activity-feed .feed-outing>header .compact-menu {flex:none}
html[data-theme] #app>.boot {position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#151515;color:#ababab;font-size:14px;z-index:100}
html[data-theme] #app>.boot img {width:240px;height:80px;object-fit:contain;margin-bottom:20px}
html[data-theme] #app>.boot>span {display:block;font-size:14px;letter-spacing:0;color:#ababab}
html[data-theme] #app>.boot .boot-spinner {width:18px;height:18px;border:2px solid #303030;border-top-color:#ababab;border-radius:50%;animation:prologue-spin 800ms linear infinite}
@keyframes prologue-spin {to{transform:rotate(360deg)}}
html[data-theme] #app .dc-content .hills-heading.screen-heading h1 {font-size:19px!important;line-height:24px!important;letter-spacing:-.5px!important}
html[data-theme] #app .dc-content .hills-heading.screen-heading {min-height:44px;padding:7px 10px!important;gap:10px;border-radius:14px}
html[data-theme] #app .dc-content .page-heading>div:first-child {min-width:0;flex:1 1 240px}
html[data-theme] #app .dc-content .page-heading>.flex {flex:0 1 auto;gap:10px}
html[data-theme] #app .member-header {display:flex;align-items:center;gap:20px;margin-top:8px;padding:0 0 20px}
html[data-theme] #app :is(.member-avatar,.member-photo-button,.member-photo-button>.avatar) {width:84px;height:84px;min-width:84px;border-radius:50%;background:var(--prologue-raised);border-color:var(--line);color:var(--ink)}
html[data-theme] #app .member-photo-button img {width:84px;height:84px;object-fit:cover;border-radius:50%}
html[data-theme] #app .member-role,html[data-theme] #app .member-joined {font-size:13px;line-height:20px;color:var(--muted)}
html[data-theme] #app .member-follow-counts {display:flex;gap:26px;margin:0 0 14px}
html[data-theme] #app .member-follow-counts .btn {display:flex;align-items:baseline;gap:6px;background:transparent!important;border:0!important;padding:10px 0!important;font-size:13px!important;color:var(--muted)!important}
html[data-theme] #app .member-follow-counts strong {font-size:21px;color:var(--ink)}
html[data-theme] #app .member-profile-tabs {display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 18px;border:0}
html[data-theme] #app .member-profile-tabs button {background:transparent;border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-height:44px;color:var(--muted);font-size:13px}
html[data-theme] #app .member-profile-tabs [aria-pressed=true] {background:var(--prologue-raised);color:var(--ink);border-color:var(--line)}
html[data-theme] #app .member-tab-content {border:0;padding-top:0}
html[data-theme] #app .mountain-progress-grid {gap:12px}
html[data-theme] #app .mountain-progress-card {padding:16px;text-align:left}
html[data-theme] #app .mountain-progress-card>span {font-size:13px;color:var(--muted)}
html[data-theme] #app .mountain-progress-card strong {font-size:28px;line-height:35px;letter-spacing:-1px;color:var(--ink)}
html[data-theme] #app .mountain-progress-card small {font-size:13px;color:var(--muted)}
html[data-theme] #app .public-store-app {background:var(--surface-2);color:var(--ink);font-family:var(--font-ui)}
html[data-theme] #app .public-store-main {max-width:720px;padding:24px 20px 40px}
html[data-theme] #app .public-store-brand {font-family:Georgia,serif!important;font-size:22px;letter-spacing:-.6px;text-transform:none}
html[data-theme] #app .public-store-nav {max-width:720px;margin:auto;padding:16px 20px;border-color:var(--line);gap:10px}
html[data-theme] #app .storefront-hero {background:var(--surface)!important;min-height:220px;border:1px solid var(--line);border-radius:20px;margin:0 0 26px}
html[data-theme] #app .store-hero-content {padding:24px}
html[data-theme] #app .store-hero-content h1 {font-size:32px!important;line-height:39px!important;letter-spacing:-1.1px!important;color:var(--ink);margin:12px 0}
html[data-theme] #app .store-hero-content>p:not(.eyebrow) {font-size:15px;line-height:24px;color:var(--muted)}
html[data-theme] #app .store-hero-content .eyebrow,html[data-theme] #app .store-explore-link {color:var(--muted)}
html[data-theme] #app .storefront-hero.with-image :is(h1,p,a) {color:#f5f5f5!important}
html[data-theme] #app .storefront-hero.with-image::before {background:linear-gradient(90deg,#151515e6,#15151566)}
html[data-theme] #app .store-product-grid {grid-template-columns:minmax(0,1fr);gap:18px}
html[data-theme] #app .store-product-card {background:var(--surface);border:1px solid var(--line);border-radius:20px}
html[data-theme] #app .store-card-image {background:var(--prologue-raised);color:var(--ink);max-height:200px}
html[data-theme] #app .store-image-placeholder {background:var(--prologue-raised);padding:20px}
html[data-theme] #app .store-image-placeholder span {font-size:24px;letter-spacing:-.7px}
html[data-theme] #app .store-product-copy {padding:20px}
html[data-theme] #app .store-product-copy h2 {font-size:23px;line-height:29px}
html[data-theme] #app :is(.store-product-copy>p,.store-product-eyebrow,.store-rating.is-empty,.store-product-price>span,.storefront-footer,.store-detail-summary,.store-detail-description,.store-programme-facts p,.store-story-section p) {color:var(--muted)}
html[data-theme] #app .store-section-heading {gap:12px;margin-bottom:18px;flex-wrap:wrap}
html[data-theme] #app .store-section-heading h2 {font-size:21px;line-height:28px;margin-top:6px}
html[data-theme] #app .store-detail-layout {grid-template-columns:minmax(0,1fr);gap:22px}
html[data-theme] #app .store-purchase-panel {position:static;background:var(--surface);border-color:var(--line);padding:20px;border-radius:20px}
html[data-theme] #app .store-purchase-panel dd {color:var(--ink)}
html[data-theme] #app .store-purchase-panel dt {color:var(--muted)}
html[data-theme] #app .entry-brand {text-align:left;padding:0;margin-bottom:20px}
html[data-theme] #app .entry-brand>p {color:var(--ink);font-size:21px;font-weight:600;letter-spacing:-.5px;line-height:28px;margin-top:10px}
html[data-theme] #app .entry-form {background:var(--surface)!important;border:1px solid var(--line)!important;padding:20px;border-radius:20px!important}
html[data-theme] #app .entry-heading {margin:0 0 20px}
html[data-theme] #app .entry-heading h1 {font-size:21px!important;line-height:28px!important;letter-spacing:-.5px!important}
html[data-theme] #app .entry-heading p {font-size:13px;line-height:20px}
html[data-theme] #app .entry-auth-action {margin-top:18px;min-height:52px;width:100%}
@media(max-width:600px) {
 html[data-theme] #app .dc-content .page-heading>div:first-child {flex-basis:100%}
 html[data-theme] #app .dc-content .page-heading>.flex {width:100%;justify-content:flex-end}
 html[data-theme] #app .dc-content .page-heading h1 {white-space:normal}
}
html[data-theme] #app .entry-form .field>label,html[data-theme] #app label.field {color:var(--muted)!important;font-size:12px!important;line-height:20px}
html[data-theme] #app .entry-form .field {margin:0!important;gap:8px}
html[data-theme] #app .entry-fields {gap:16px}
html[data-theme=light] #app main.entry-page.entry-page {background:#f7f7f7!important}
html[data-theme=dark] #app main.entry-page.entry-page {background:#151515!important}
@media(max-width:600px){html[data-theme] #app main.entry-page {padding:30px 18px}}

/* Keep the compact app on phones; use the available workspace on larger screens. */
html[data-theme] #app .dc-desktop-primary {display:none}
html[data-theme] #app .dc-app .dc-sidebar .dc-menu-search input {border:0!important;background:transparent!important;padding:8px 0!important}
@media(min-width:768px) and (max-width:1023px) {
 html[data-theme] #app .dc-app .dc-content {max-width:960px!important;padding:24px 28px 40px!important}
 html[data-theme] #app .dc-app .dc-topbar {padding:env(safe-area-inset-top,0px) 28px 0!important}
 html[data-theme] #app .dc-app .dc-mobile-dock {padding:3px 28px var(--app-safe-bottom)!important}
 html[data-theme] #app .dc-app .dc-content:has(>.activity-feed) {max-width:800px!important;padding:24px 28px 0!important}
 html[data-theme] #app .dc-app .dc-content:has(.workout-session) {max-width:800px!important}
 html[data-theme] #app .dc-activity-focus .dc-content {padding:0!important;max-width:800px!important}
}
@media(min-width:1024px) {
 html[data-theme] #app .dc-app:not(.dc-activity-focus) {--desktop-nav-width:248px;grid-template-columns:var(--desktop-nav-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 html[data-theme] #app .dc-app.is-desktop-nav-collapsed {--desktop-nav-width:0px}
 html[data-theme] #app .dc-app>.dc-workspace {grid-column:2;grid-row:1}
 html[data-theme] #app .dc-app .dc-sidebar {width:248px!important;transform:translateX(0)!important;visibility:visible;background:var(--surface)!important;padding:12px 10px!important;z-index:40}
 html[data-theme] #app .dc-app.is-desktop-nav-collapsed .dc-sidebar {transform:translateX(-102%)!important;visibility:hidden}
 html[data-theme] #app .dc-app .dc-navigation-scrim,html[data-theme] #app .dc-app .dc-mobile-dock {display:none!important}
 html[data-theme] #app .dc-app .dc-desktop-primary {display:block;margin-bottom:18px}
 html[data-theme] #app .dc-app .dc-sidebar .dc-nav-item {min-height:44px;padding:9px 12px;font-size:14px;gap:12px}
 html[data-theme] #app .dc-app .dc-nav-label {padding-left:12px}
 html[data-theme] #app .dc-app .dc-menu-heading {padding:0 0 12px 12px;gap:8px}
 html[data-theme] #app .dc-app .dc-sidebar .dc-wordmark {font-size:28px}
 html[data-theme] #app .dc-app .dc-menu-search {margin:0 2px 6px;background:var(--surface-2)}
 html[data-theme] #app .dc-app .dc-sidebar-scroll {scrollbar-width:thin;scrollbar-color:var(--line) transparent}
 html[data-theme] #app .dc-app .dc-sidebar-bottom {padding-top:8px}
 html[data-theme] #app .dc-app .dc-user {padding:10px;background:var(--surface-2)}
 html[data-theme] #app .dc-app .dc-user strong {font-size:14px}
 html[data-theme] #app .dc-app .dc-user small {font-size:12px}
 html[data-theme] #app .dc-app .dc-topbar {padding:env(safe-area-inset-top,0px) 32px 0!important;border-bottom:1px solid var(--line)!important}
 html[data-theme] #app .dc-app .dc-content {max-width:1280px!important;padding:28px 32px 48px!important}
 html[data-theme] #app .dc-app .dc-content>* {min-width:0}
 html[data-theme] #app .dc-app .dc-today-main {display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
 html[data-theme] #app .dc-app .dc-today-main:has(>.today-activities) {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 html[data-theme] #app .dc-app .today-planned {min-width:0}
 html[data-theme] #app .dc-app .today-planned>.dc-section-heading {margin-top:0}
 html[data-theme] #app .dc-app .dc-today-main:not(:has(>.today-activities)) .today-session-list {grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
 html[data-theme] #app .dc-app .calendar-layout {grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:28px;align-items:start}
 html[data-theme] #app .dc-app .month-panel {padding:20px}
 html[data-theme] #app .dc-app .month-day {min-height:72px}
 html[data-theme] #app .dc-app .month-grid {gap:6px}
 html[data-theme] #app .dc-app .day-agenda {align-content:start;gap:14px}
 html[data-theme] #app .dc-app .day-agenda>header {min-height:44px;margin-bottom:6px}
 html[data-theme] #app .dc-app .dc-content:has(>.activity-feed) {max-width:920px!important;padding:28px 32px 48px!important}
 html[data-theme] #app .dc-app .activity-feed>.screen-heading {margin-left:0!important;margin-right:0!important}
 html[data-theme] #app .dc-app .activity-feed .feed-outing {border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface)!important;margin-bottom:24px;overflow:hidden}
 html[data-theme] #app .dc-app .activity-feed :is(.hill-map-open,.route-map,.map-engine-preview) {height:340px}
 html[data-theme] #app .dc-app .radar-layout {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;gap:32px;align-items:start}
 html[data-theme] #app .dc-app .radar-plot {grid-column:1;grid-row:1}
 html[data-theme] #app .dc-app .radar-detail {grid-column:2;grid-row:1}
 html[data-theme] #app .dc-app :is(.program-grid,.coach-roster-grid,.coaching-stat-grid) {grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}
 html[data-theme] #app .dc-app .settings-layout {grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}
 html[data-theme] #app .dc-app .settings-nav {position:sticky;top:80px;display:flex;flex-direction:column;padding:8px}
 html[data-theme] #app .dc-app .settings-nav button {width:100%;text-align:left;flex:none}
 html[data-theme] #app .dc-app .prologue-tool-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
 html[data-theme] #app .dc-app .dc-content:has(.workout-session) {max-width:1000px!important}
 html[data-theme] #app .dc-app .hills-workspace {left:var(--desktop-nav-width,0px)!important;bottom:0!important}
 html[data-theme] #app .dc-activity-focus .dc-content {max-width:1040px!important;padding:0!important}
 html[data-theme] #app .dc-activity-focus .activity-detail-map .route-map {height:420px}
 html[data-theme] #app .dc-activity-focus .activity-detail-content {padding:28px 32px}
 html[data-theme] #app .public-store-main {max-width:1280px;padding:36px 32px 56px}
 html[data-theme] #app .public-store-nav {max-width:1280px;padding:18px 32px}
 html[data-theme] #app .storefront-hero {min-height:320px}
 html[data-theme] #app .store-hero-content {max-width:760px;padding:40px}
 html[data-theme] #app .store-product-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px}
 html[data-theme] #app .store-detail-layout {grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
 html[data-theme] #app .store-purchase-panel {position:sticky;top:24px}
}

/* The same compact working-set rows and workout tools on phone and desktop. */
html[data-theme] #app .workout-utilities {display:grid;gap:10px;margin:0 0 18px;padding:12px 0;border-bottom:1px solid var(--line)}
html[data-theme] #app .workout-utilities>p {margin:0;color:var(--muted);font-size:12px;line-height:18px}
html[data-theme] #app .workout-rest {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html[data-theme] #app .workout-rest>span {font-size:13px;color:var(--muted)}
html[data-theme] #app .workout-rest output {display:inline-block;min-width:52px;font-size:20px;font-variant-numeric:tabular-nums;color:var(--ink);margin-left:8px}
html[data-theme] #app [data-workout-conflict]:not([hidden]) {display:grid;gap:12px;padding:14px;border:1px solid var(--line);background:var(--surface);border-radius:14px;font-size:13px}
html[data-theme] #app [data-workout-conflict] p {margin:0}
html[data-theme] #app .workout-session .set-table {display:table!important;width:100%;min-width:0;border-spacing:0 6px;table-layout:fixed}
html[data-theme] #app .workout-session .set-table thead {display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip-path:none}
html[data-theme] #app .workout-session .set-table tbody {display:table-row-group}
html[data-theme] #app .workout-session .set-table tr {display:table-row;padding:0;border:0;background:transparent}
html[data-theme] #app .workout-session .set-table td {display:table-cell;width:auto;padding:5px 4px;border:0;background:var(--surface);text-align:center}
html[data-theme] #app .workout-session .set-table td::before {display:none!important}
html[data-theme] #app .workout-session .set-table th:first-child {width:30px}
html[data-theme] #app .workout-session .set-table th:last-child {width:46px}
html[data-theme] #app .workout-session .set-table .set-btn {width:38px;height:44px;min-width:38px;margin:0;max-width:none}
html[data-theme] #app .workout-session .set-table input {width:100%;max-width:none;min-width:0;text-align:center}
html[data-theme] #app .workout-session #workout-notes {min-height:88px}
html[data-theme] #app .client-calendar-picker .conversation-row {display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%}
html[data-theme] #app .client-calendar-picker .conversation-row-copy {flex:1;min-width:0;max-width:none;display:grid;gap:5px}
html[data-theme] #app .client-calendar-picker .conversation-row-copy :is(strong,small) {white-space:normal;max-width:none;overflow:visible;text-overflow:clip}
html[data-theme] #app .public-store-nav {flex-wrap:wrap}
html[data-theme] #app .public-store-nav>div {display:flex;gap:8px;flex-wrap:wrap}
html[data-theme] #app .public-store-nav .btn {white-space:nowrap}
@media(max-width:360px) {
 html[data-theme] #app .public-store-nav {padding:14px 18px;gap:8px}
 html[data-theme] #app .public-store-brand {flex-basis:100%}
 html[data-theme] #app .public-store-nav>div {width:100%;justify-content:flex-end}
}
@media(max-width:600px) {
 html[data-theme] #app .dc-app .dc-content .page-heading {flex-wrap:wrap!important}
 html[data-theme] #app .dc-app .dc-content .page-heading>div:first-child {flex-basis:100%;width:100%}
 html[data-theme] #app .dc-app .dc-content .page-heading>.flex {flex-basis:100%;width:100%;justify-content:flex-end}
}

/* Recorded activity and preference surfaces match the native compact cards. */
html[data-theme] #app .today-activity-card {display:grid;grid-template-columns:40px minmax(0,1fr) 16px;gap:11px;padding:14px!important;border:1px solid var(--line)!important;border-left:2px solid var(--activity-colour,var(--muted))!important;border-radius:17px!important;background:var(--surface)!important;min-height:0;transition:transform 140ms ease,background 140ms ease}
html[data-theme] #app .today-activity-card:active {transform:scale(.985);background:var(--prologue-raised)!important}
html[data-theme] #app .today-activity-card .today-activity-icon {width:40px;height:40px;grid-row:1;align-self:center}
html[data-theme] #app .today-activity-card .today-activity-copy {grid-row:1;gap:2px}
html[data-theme] #app .today-activity-card .today-activity-title {font-size:15px;line-height:20px;font-weight:600}
html[data-theme] #app .today-activity-summary {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:4px}
html[data-theme] #app .today-activity-result strong {font-size:25px!important;letter-spacing:-.8px;font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] #app .today-activity-result>span {font-size:12px;color:var(--muted)}
html[data-theme] #app .today-activity-card .today-activity-meta {font-size:12px;line-height:18px;font-variant-numeric:tabular-nums}
html[data-theme] #app .today-activity-arrow {grid-column:3;grid-row:1;align-self:center;font-size:22px;color:var(--muted)}
html[data-theme] #app .notification-preference-card {background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:16px;margin:16px 0}
html[data-theme] #app .notification-preference-card h3 {margin:0 0 8px}
html[data-theme] #app .notification-preference {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid var(--line)}
html[data-theme] #app .notification-preference span {display:grid;gap:4px;min-width:0}
html[data-theme] #app .notification-preference strong {font-size:15px;font-weight:600}
html[data-theme] #app .notification-preference small {font-size:13px;color:var(--muted);line-height:20px}
html[data-theme] #app .notification-preference input {appearance:none!important;flex:none;width:44px!important;height:26px!important;min-height:26px!important;border:0!important;background:var(--prologue-raised)!important;border-radius:20px!important;position:relative;cursor:pointer;padding:0!important}
html[data-theme] #app .notification-preference input:before {content:'';display:block;width:20px;height:20px;border-radius:50%;position:absolute;left:3px;top:3px;background:var(--muted);transition:transform 180ms ease}
html[data-theme] #app .notification-preference input:checked {background:var(--ink)!important}
html[data-theme] #app .notification-preference input:checked:before {transform:translateX(18px);background:var(--surface-2)}
html[data-theme] #app .notification-hours {display:grid;grid-template-columns:1fr 1fr;gap:14px}
html[data-theme] #app .notification-hour {display:grid;gap:8px;font-size:13px;color:var(--muted)}
html[data-theme] #app .notification-hour select {width:100%;min-width:0}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .today-activity-card,html[data-theme] #app .notification-preference input:before{transition:none}}

html[data-theme] #app .today-training-card {padding:15px!important;border-radius:17px!important;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:4px 11px;position:relative}
html[data-theme] #app .today-training-card .training-card-meta {display:contents}
html[data-theme] #app .today-training-card .dc-session-type {grid-column:1;grid-row:1/3;font-size:0;align-self:start}
html[data-theme] #app .today-training-card .dc-session-type .prologue-activity-badge {width:34px;height:34px;min-width:34px;background:var(--activity-colour)!important;color:#181818!important}
html[data-theme] #app .today-training-card .training-card-meta>span:last-child {grid-column:3;grid-row:1;font-size:11px;color:var(--muted)}
html[data-theme] #app .today-training-card .dc-session-copy {grid-column:2;grid-row:1/3;margin:0!important}
html[data-theme] #app .today-training-card .dc-session-copy h2 {font-size:17px!important;line-height:23px;font-weight:600}
html[data-theme] #app .today-training-card .dc-session-copy p {font-size:12px;line-height:17px;margin-top:4px}
html[data-theme] #app .today-training-card .dc-session-footer {grid-column:1/-1;display:flex;justify-content:space-between;border:0!important;padding:8px 0 0!important;margin:0!important}
html[data-theme] #app .today-training-card .training-card-action {background:none!important;color:var(--ink)!important;min-height:28px;padding:0!important;font-size:12px}

html[data-theme] #app .settings-detail>.notification-preferences {background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-theme] #app .plans-toolbar {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}
html[data-theme] #app .plans-toolbar h2 {margin:0}
html[data-theme] #app .dc-app .today-workspace .today-activity-card {border-left-color:var(--activity-colour,var(--muted))!important}
html[data-theme] #app .dc-app .today-workspace .today-training-card .training-card-action {background:transparent!important;color:var(--ink)!important;min-width:0!important;min-height:28px!important;padding:0!important;gap:4px}
html[data-theme] #app .dc-app .training-calendar .month-day.is-selected {background:var(--ink)!important;color:var(--surface-2)!important;border-color:transparent!important}
html[data-theme] #app .dc-app .training-calendar .month-day.is-selected>span {color:var(--surface-2)!important}
html[data-theme] #app .dc-app .training-calendar .month-day:not(.is-selected)>span {color:inherit!important}
/* Coaching setup keeps decisions in compact rows and opens one review at a time. */
html[data-theme] #app :is(.personalisation-setup,.personalisation-review-form,#personalisation-assign) {display:grid;gap:14px}
html[data-theme] #app .personalisation-review-item {border:1px solid var(--line);border-radius:13px;background:var(--surface);margin:10px 0;overflow:hidden}
html[data-theme] #app .personalisation-review-item>summary {display:grid;gap:4px;padding:14px;cursor:pointer;min-height:44px;box-sizing:border-box}
html[data-theme] #app .personalisation-review-item>summary strong {font-size:15px;font-weight:600}
html[data-theme] #app .personalisation-review-item>summary small {font-size:12px;line-height:18px;color:var(--muted)}
html[data-theme] #app .personalisation-review-item .personalisation-review-form {padding:0 14px 14px;margin:0;border:0;background:none}
html[data-theme] #app :is(.personalisation-setup,.personalisation-review-form,#personalisation-assign) .btn {justify-self:start;min-height:44px;width:auto!important;font-size:14px;padding:10px 14px!important;border-radius:11px}
html[data-theme] #app .personalisation-rule>summary {padding:12px 14px;min-height:44px}
html[data-theme] #app .personalisation-setup .form-grid {gap:12px}

html[data-theme] #app .activity-type-row {--activity-colour:#65bfff}
html[data-theme] #app .activity-type-circuit {--activity-colour:#59d7e4}
html[data-theme] #app .activity-type-strength_endurance {--activity-colour:#f28be6}

html[data-theme] #app .builder-activity-heading {display:flex;align-items:center;gap:10px;margin:0 0 12px}
html[data-theme] #app .builder-activity-heading strong {font-size:15px;font-weight:600}

/* Client coaching uses the same calendar and compact session language as personal training. */
html[data-theme] #app .client-calendar-identity,
html[data-theme] #app .client-programme-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:16px 0 22px}
html[data-theme] #app .client-calendar-identity h2,
html[data-theme] #app .client-programme-heading h2 {font-size:22px;line-height:1.3;margin:5px 0 8px;overflow-wrap:anywhere}
html[data-theme] #app .client-calendar-workspace .screen-heading {margin-top:12px}
html[data-theme] #app .client-programme-detail {max-width:100%;min-width:0}
html[data-theme] #app .client-programme-weeks {display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:2px 0 14px;margin-bottom:8px}
html[data-theme] #app .client-programme-weeks .btn {flex:none;min-height:42px;border:1px solid var(--line);border-radius:12px;white-space:nowrap}
html[data-theme] #app .client-programme-weeks .selected {background:var(--ink);color:var(--surface)}
html[data-theme] #app .client-programme-session {border-bottom:1px solid var(--line)}
html[data-theme] #app .client-programme-session>.agenda-session {border:0;border-radius:0;background:transparent;padding:17px 0;gap:12px;box-shadow:none}
html[data-theme] #app .client-programme-session .agenda-copy {gap:5px}
html[data-theme] #app .client-programme-session .agenda-copy strong {margin:0;font-size:16px;line-height:1.4}
html[data-theme] #app .client-programme-session .agenda-copy small {margin:0;color:var(--muted);font-size:12px}
html[data-theme] #app .client-programme-session-body {padding:0 0 20px 54px;min-width:0}
html[data-theme] #app .client-programme-session-body .session-detail {margin:0;padding:0;max-width:none}
html[data-theme] #app .client-programme-session-body .session-prescription,
html[data-theme] #app .client-programme-session-body .movement-results {padding:12px 0}
html[data-theme] #app .client-programme-session-body :is(.session-prescription h2,.movement-results h3,.completion-notes h2) {font-size:15px;line-height:1.4}
html[data-theme] #app .client-programme-session-body .completion-notes {margin:12px 0;padding:12px 0;font-size:13px}
html[data-theme] #app .client-programme-session-body .completion-table {font-size:13px;width:100%}
@media(max-width:600px){html[data-theme] #app .client-programme-session-body {padding-left:0}html[data-theme] #app .client-programme-heading h2 {font-size:20px}html[data-theme] #app .client-calendar-workspace .calendar-layout {gap:18px}}

html[data-theme] #app .section-tabs:has(>button[data-action="client-tab"]) {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex-wrap:nowrap}
html[data-theme] #app .section-tabs>button[data-action="client-tab"] {min-width:0;width:auto;padding:10px 2px!important;font-size:13px;white-space:nowrap}
html[data-theme] #app .client-calendar-workspace .screen-heading h1 {font-size:22px;line-height:1.3}

/* Profile distance uses recorded server totals; colour follows the chosen sport. */
html[data-theme] #app .profile-distance {--distance-colour:#dedede;padding:22px 0 26px;border-bottom:1px solid var(--line);min-width:0}
html[data-theme] #app .profile-distance.activity-type-run {--distance-colour:#ff6268}
html[data-theme] #app .profile-distance.activity-type-cycle {--distance-colour:#f3cf55}
html[data-theme] #app .profile-distance.activity-type-walk {--distance-colour:#83d5b0}
html[data-theme] #app .profile-distance.activity-type-hike {--distance-colour:var(--activity-hike)}
html[data-theme] #app .profile-distance.activity-type-swim {--distance-colour:#62b9fa}
html[data-theme] #app .profile-distance.activity-type-row {--distance-colour:#9c9af7}
html[data-theme=light] #app .profile-distance.activity-type-all {--distance-colour:#373a3e}
html[data-theme] #app .profile-distance-controls {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0}
html[data-theme] #app .profile-distance-controls nav {display:flex;gap:4px;border:1px solid var(--line);border-radius:12px;padding:3px}
html[data-theme] #app .profile-distance-controls nav button {border:0;border-radius:9px;min-height:38px;padding:8px 16px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
html[data-theme] #app .profile-distance-controls button[aria-pressed=true] {background:var(--ink);color:var(--surface)}
html[data-theme] #app .profile-distance-period {display:flex;align-items:center;justify-content:space-between;gap:12px}
html[data-theme] #app .profile-distance-period h3 {font-size:14px;text-align:center;line-height:1.4;font-weight:500}
html[data-theme] #app .profile-distance-period button {min-width:44px;min-height:44px;font-size:22px}
html[data-theme] #app .profile-distance-overview {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 6px}
html[data-theme] #app .profile-distance-overview strong {font-size:38px;font-weight:550;letter-spacing:-1.3px;font-variant-numeric:tabular-nums}
html[data-theme] #app .profile-distance-overview span {font-size:16px;color:var(--muted)}
html[data-theme] #app .profile-distance :is(.profile-distance-overview select,.profile-distance-point select) {background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink);font:inherit;font-size:13px;min-height:42px;padding:8px;max-width:100%}
html[data-theme] #app .profile-distance-counts,.profile-distance-footnote {font-size:12px;color:var(--muted);line-height:1.6}
html[data-theme] #app .profile-distance-chart {display:flex;gap:3px;margin:24px 0 16px;min-width:0}
html[data-theme] #app .profile-distance-chart button {flex:1;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:none;border:0;color:var(--muted);font:inherit;padding:0;min-width:0;cursor:pointer}
html[data-theme] #app .profile-distance-chart button:focus-visible {outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
html[data-theme] #app .profile-distance-bar-track {height:150px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line)}
html[data-theme] #app .profile-distance-bar-track svg {display:block;width:100%;height:150px}
html[data-theme] #app .profile-distance-bar-track rect {fill:var(--distance-colour);opacity:.42;transition:opacity .18s}
html[data-theme] #app .profile-distance-chart button[aria-pressed=true] rect {opacity:1}
html[data-theme] #app .profile-distance-axis {font-size:10px;min-height:14px;white-space:nowrap;text-align:center}
html[data-theme] #app .profile-distance-point {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;min-height:44px}
html[data-theme] #app .profile-distance-point>span {font-size:13px;font-variant-numeric:tabular-nums}
html[data-theme] #app .profile-distance-footnote {margin:14px 0 0}
@media(max-width:600px){html[data-theme] #app .profile-distance-overview strong {font-size:32px}html[data-theme] #app .profile-distance-overview select {max-width:145px}html[data-theme] #app .profile-distance-chart {gap:2px}html[data-theme] #app .profile-distance-axis {font-size:9px}}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .profile-distance-bar-track rect {transition:none}}

/* Owner tools: directory first, one account and one management form at a time. */
html[data-theme] #app .admin-workspace {max-width:1000px;margin-inline:auto}
html[data-theme] #app .admin-directory {margin:20px 0 28px}
html[data-theme] #app .admin-directory>.field {max-width:560px}
html[data-theme] #app .admin-users {border-top:1px solid var(--line);margin-top:16px}
html[data-theme] #app .admin-account-row {display:flex;align-items:center;gap:16px;width:100%;padding:18px 0;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;font:inherit;cursor:pointer}
html[data-theme] #app .admin-account-row[hidden] {display:none}
html[data-theme] #app .admin-account-row>span:first-child {flex:1;min-width:0}
html[data-theme] #app .admin-account-row strong {display:block;font-size:15px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}
html[data-theme] #app .admin-account-row small {display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
html[data-theme] #app .admin-account-state {font-size:11px;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:20px;max-width:120px;overflow-wrap:anywhere}
html[data-theme] #app .admin-account-row:hover {background:var(--surface)}
html[data-theme] #app .admin-account-row:focus-visible {outline:2px solid var(--ink);outline-offset:3px}
html[data-theme] #app .admin-directory-note {margin-top:18px;font-size:12px;line-height:1.6}
html[data-theme] #app :is(.admin-overview,.admin-security-actions) {border-top:1px solid var(--line);margin-top:24px;padding-top:16px}
html[data-theme] #app :is(.admin-overview,.admin-security-actions)>summary {min-height:44px;font-size:14px;cursor:pointer;line-height:1.5}
html[data-theme] #app .admin-overview .coaching-stat-grid {margin:8px 0 24px}
html[data-theme] #app .admin-overview h2 {font-size:17px}
html[data-theme] #app .admin-account-detail {max-width:700px}
html[data-theme] #app .admin-account-detail>header {margin:22px 0}
html[data-theme] #app .admin-account-detail h2 {font-size:25px;line-height:1.3;margin:7px 0;overflow-wrap:anywhere}
html[data-theme] #app .admin-account-detail h3 {font-size:17px;margin:28px 0 16px}
html[data-theme] #app .admin-account-detail .note {overflow-wrap:anywhere;line-height:1.6}
html[data-theme] #app .admin-account-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 20px;padding:20px 0;border-block:1px solid var(--line)}
html[data-theme] #app .admin-account-facts dt {font-size:12px;color:var(--muted);margin-bottom:6px}
html[data-theme] #app .admin-account-facts dd {margin:0;font-size:14px;overflow-wrap:anywhere}
html[data-theme] #app .admin-save-access {display:flex;justify-content:flex-end;margin-top:14px}
html[data-theme] #app .admin-security-actions .flex {margin-top:16px;gap:10px}
@media(max-width:600px){html[data-theme] #app .admin-account-row {gap:10px}html[data-theme] #app .admin-account-state {max-width:92px;font-size:10px}html[data-theme] #app .admin-security-actions .btn {width:100%;justify-content:flex-start}html[data-theme] #app .admin-account-detail h2 {font-size:22px}}

/* Keep contextual management beside its page identity on small screens. */
html[data-theme] #app .dc-app .dc-content .admin-workspace>.page-heading {flex-wrap:nowrap!important;align-items:flex-start}
html[data-theme] #app .dc-app .dc-content .admin-workspace>.page-heading>div:first-child {flex:1 1 0%;min-width:0;width:auto}
html[data-theme] #app .admin-workspace>.page-heading>.compact-menu {flex:none;margin:0}

/* Compact achievement summary: strongest three marks, one meaningful result. */
html[data-theme] #app .feed-achievement-summary{padding:0 18px 7px;margin:0;background:transparent;border:0}
html[data-theme] #app .feed-achievement-summary>button{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;margin:0;padding:4px 0;background:transparent;border:0;border-radius:8px;text-align:left;color:var(--ink);cursor:pointer}
html[data-theme] #app .feed-achievement-summary>button:active{opacity:.65}
html[data-theme] #app .feed-award-stack{display:flex;align-items:center;flex:none;padding-left:0}
html[data-theme] #app .feed-award-stack>svg{position:relative;flex:none;width:28px;height:28px}
html[data-theme] #app .feed-award-stack>svg+svg{margin-left:-2px}
html[data-theme] #app .feed-award-stack>svg:nth-child(1){z-index:3}
html[data-theme] #app .feed-award-stack>svg:nth-child(2){z-index:2}
html[data-theme] #app .feed-award-stack b{font-size:13px;font-weight:650;margin-left:5px;font-variant-numeric:tabular-nums}
html[data-theme] #app .feed-achievement-highlight{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
html[data-theme] #app .feed-achievement-highlight strong{font-size:12px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
html[data-theme] #app .feed-achievement-highlight small{font-size:10px;line-height:14px;color:var(--muted)}
html[data-theme] #app .feed-achievement-highlight small b,html[data-theme] #app .achievement-delta{color:#b9ef5a;font-weight:600}
html[data-theme="light"] #app .feed-achievement-highlight small b,html[data-theme="light"] #app .achievement-delta{color:#4b6900}
html[data-theme] #app .achievement-chevron{font-size:17px;color:var(--muted);flex:none}
html[data-theme] #app .achievement-list{width:100%;display:block;text-align:left;padding:0 2px}
html[data-theme] #app .achievement-result-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
html[data-theme] #app .achievement-result-row>svg{width:34px;height:34px;flex:none}
html[data-theme] #app .achievement-result-row>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
html[data-theme] #app .achievement-result-row strong{font-size:13px;line-height:18px;font-weight:600}
html[data-theme] #app .achievement-result-row small{font-size:11px;line-height:15px}
html[data-theme] #app .achievement-result-row>span{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;flex:none}
html[data-theme] #app .achievement-segment-link{background:transparent;border:0;padding:5px 0;align-self:flex-start;text-decoration:underline;font-size:11px;color:var(--muted)}
html[data-theme] #app .feed-outing:has(>.feed-achievement-summary)>.feed-metrics{padding-bottom:4px!important;margin-bottom:0!important}
/* Keep long watch statistics distinct at narrow phone widths. */
html[data-theme] #app .feed-outing>.feed-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:12px!important}
html[data-theme] #app .feed-outing>.feed-metrics dd{font-size:clamp(17px,5.2vw,22px)!important;letter-spacing:-.35px!important}
html[data-theme] #app .feed-outing>.feed-metrics>div:nth-child(n+4) dd{font-size:clamp(16px,4.6vw,18px)!important;letter-spacing:-.2px!important}
html[data-theme] #app .feed-outing>.feed-metrics{display:grid!important}
html[data-theme] #app .feed-outing>.feed-metrics>div{width:auto!important;max-width:none!important;min-width:0!important}

.legal-check{align-items:flex-start;line-height:1.6;margin:16px 0}.legal-check input{flex-shrink:0;margin-top:5px}.legal-consent-form{padding:20px 0;border-bottom:1px solid var(--line)}.legal-permissions{margin-bottom:28px}.legal-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.entry-form .legal-check{font-size:12px}.checkout-page .checkline{max-width:720px}

/* Profile summaries share one quiet card system, with colour reserved for the activity. */
html[data-theme] #app .member-profile {max-width:820px}
html[data-theme] #app .member-profile .member-page-actions:empty {display:none}
html[data-theme] #app .member-profile .member-header {padding-bottom:12px}
html[data-theme] #app .member-profile .member-role {color:var(--muted)}
html[data-theme] #app .member-profile .member-actions {margin-bottom:20px}
html[data-theme] #app .member-profile .member-tab-content {display:grid;gap:16px;min-height:0}
html[data-theme] #app .member-profile .profile-card {background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;min-width:0;margin:0;color:var(--ink)}
html[data-theme] #app .member-profile .profile-card .member-section-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0}
html[data-theme] #app .member-profile .profile-card .member-section-heading h2 {display:flex;align-items:center;gap:9px;font-size:16px;line-height:22px;font-weight:600;margin:0;letter-spacing:-.2px}
html[data-theme] #app .member-profile .profile-card .member-section-heading .btn {min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--muted);font-size:12px}
html[data-theme] #app .member-profile .profile-card-icon {width:20px;height:20px;flex:none;color:var(--muted)}
html[data-theme] #app .member-profile .profile-milestone-icon {display:flex}
html[data-theme] #app .member-profile .profile-milestone-icon svg {width:20px;height:20px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-pinned-milestones {gap:16px;margin-top:14px}
html[data-theme] #app .member-profile .profile-pinned-milestone {padding:8px 4px;gap:7px;min-height:130px}
html[data-theme] #app .member-profile .profile-pinned-milestone strong {font-weight:600;font-size:12px;line-height:17px}
html[data-theme] #app .member-profile .profile-pinned-milestone small {font-size:10px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-pinned-milestone>span {min-height:80px;display:grid;place-items:center}
html[data-theme] #app .member-profile .profile-pinned-milestone svg {max-width:88px}
html[data-theme] #app .member-profile .member-profile-tabs {gap:4px;border-bottom:1px solid var(--line);margin:18px 0;padding:0}
html[data-theme] #app .member-profile .member-profile-tabs button {border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 17px;background:transparent;font-size:13px}
html[data-theme] #app .member-profile .member-profile-tabs [aria-pressed=true] {border-bottom-color:var(--ink);color:var(--ink)}
html[data-theme] #app .member-profile .profile-distance-overview {margin:22px 0 5px;gap:10px}
html[data-theme] #app .member-profile .profile-distance-overview strong {font-size:46px;line-height:1.15;font-weight:650;letter-spacing:-1.7px}
html[data-theme] #app .member-profile .profile-distance-overview select {font-size:12px;background:var(--surface);border-color:var(--line)}
html[data-theme] #app .member-profile .profile-distance-counts {margin:0;font-size:12px}
html[data-theme] #app .member-profile .profile-distance-controls {margin:20px 0 6px}
html[data-theme] #app .member-profile .profile-distance-controls nav {background:var(--prologue-raised);border:0;border-radius:11px}
html[data-theme] #app .member-profile .profile-distance-controls nav button {min-height:38px;font-size:12px;padding:8px 15px}
html[data-theme] #app .member-profile .profile-distance-controls button[aria-pressed=true] {background:var(--surface);color:var(--ink)}
html[data-theme] #app .member-profile .profile-distance-period h3 {font-size:12px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-distance-chart {margin:12px 0 15px}
html[data-theme] #app .member-profile .profile-distance-bar-track,html[data-theme] #app .member-profile .profile-distance-bar-track svg {height:120px}
html[data-theme] #app .member-profile .profile-distance-point {padding-top:6px;border-top:1px solid var(--line);gap:8px}
html[data-theme] #app .member-profile .profile-distance-point select {border:0;padding-left:0;font-size:11px}
html[data-theme] #app .member-profile .profile-distance-point>span {font-size:12px}
html[data-theme] #app .member-profile .profile-distance-footnote,html[data-theme] #app .member-profile .profile-card-footnote {margin:12px 0 0;color:var(--muted);font-size:10px;line-height:16px}
html[data-theme] #app .member-profile .profile-best-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
html[data-theme] #app .member-profile .profile-best {display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:8px;border:0;border-right:1px solid var(--line);padding:0 14px 0 0;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
html[data-theme] #app .member-profile .profile-best:last-child {border-right:0;padding-right:0}
html[data-theme] #app .member-profile .profile-best-sport {display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-best-sport .profile-card-icon {width:18px;height:18px;color:var(--activity-colour,var(--ink))}
html[data-theme] #app .member-profile .profile-best-label {font-size:12px;line-height:17px;min-height:34px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-best strong {font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-theme] #app .member-profile .profile-best strong small {font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
html[data-theme] #app .member-profile .profile-best-date {display:flex;align-items:center;justify-content:space-between;width:100%;gap:5px;font-size:10px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-best:focus-visible {outline:2px solid var(--ink);outline-offset:5px;border-radius:3px}
html[data-theme] #app .member-profile .profile-card-empty {display:flex;align-items:center;gap:14px;padding-top:20px}
html[data-theme] #app .member-profile .profile-empty-mark {display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:15px;background:var(--prologue-raised)}
html[data-theme] #app .member-profile .profile-empty-mark .profile-card-icon {width:26px;height:26px}
html[data-theme] #app .member-profile .profile-card-empty h3 {margin:0;font-size:14px;font-weight:550;line-height:20px}
html[data-theme] #app .member-profile .profile-card-empty p {margin:5px 0 0;font-size:12px;line-height:18px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-summary-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
html[data-theme] #app .member-profile .profile-summary-grid:has(>:only-child) {grid-template-columns:1fr}
html[data-theme] #app .member-profile .member-training-counts {gap:12px;margin-top:25px}
html[data-theme] #app .member-profile .member-training-counts>div+div {padding-left:12px}
html[data-theme] #app .member-profile .member-training-counts strong {font-size:34px;font-weight:600;line-height:1.2;letter-spacing:-.8px}
html[data-theme] #app .member-profile .member-training-counts span {color:var(--muted);font-size:11px}
html[data-theme] #app .member-profile .member-record-note {font-size:10px;line-height:16px;margin-top:18px}
html[data-theme] #app .member-profile .profile-segments-summary {display:flex;flex-direction:column;align-items:flex-start}
html[data-theme] #app .member-profile .profile-segments-mark {padding-top:19px}
html[data-theme] #app .member-profile .profile-segments-mark .profile-card-icon {width:48px;height:48px;color:var(--muted)}
html[data-theme] #app .member-profile .profile-segments-summary p {font-size:12px;line-height:18px;color:var(--muted);margin:12px 0 4px}
html[data-theme] #app .member-profile .profile-segments-summary>.btn {border:0;background:transparent;padding:8px 0;min-height:44px;color:var(--ink);font-size:12px;white-space:normal;text-align:left;margin-top:auto}
@media(max-width:600px){
 html[data-theme] #app .member-profile .profile-card {padding:18px;border-radius:20px}
 html[data-theme] #app .member-profile .profile-card .member-section-heading h2 {font-size:15px;gap:7px}
 html[data-theme] #app .member-profile .profile-card .member-section-heading>span {font-size:10px}
 html[data-theme] #app .member-profile .profile-pinned-milestones {gap:8px}
 html[data-theme] #app .member-profile .profile-pinned-milestone {padding:6px 0}
 html[data-theme] #app .member-profile .profile-pinned-milestone strong {font-size:11px;line-height:16px}
 html[data-theme] #app .member-profile .profile-distance-overview strong {font-size:39px}
 html[data-theme] #app .member-profile .profile-distance-overview select {max-width:128px;font-size:11px}
 html[data-theme] #app .member-profile .profile-best-grid {gap:10px;margin-top:18px}
 html[data-theme] #app .member-profile .profile-best {padding-right:9px}
 html[data-theme] #app .member-profile .profile-best strong {font-size:clamp(19px,5.5vw,25px);letter-spacing:-.7px}
 html[data-theme] #app .member-profile .profile-best-label {font-size:11px}
 html[data-theme] #app .member-profile .profile-best-sport {font-size:9px;gap:3px}
 html[data-theme] #app .member-profile .profile-summary-grid {gap:12px}
 html[data-theme] #app .member-profile .profile-summary-grid .profile-card {padding:16px}
 html[data-theme] #app .member-profile .member-training-counts {gap:9px}
 html[data-theme] #app .member-profile .member-training-counts>div+div {padding-left:9px}
 html[data-theme] #app .member-profile .member-training-counts strong {font-size:28px}
}
@media(max-width:360px){html[data-theme] #app .member-profile .profile-summary-grid {grid-template-columns:1fr}html[data-theme] #app .member-profile .profile-best-sport {font-size:0}html[data-theme] #app .member-profile .profile-best-sport .profile-card-icon {width:20px;height:20px}}

/* Hills map: national park directory. */
.hills-parks{margin:20px 0 6px;border-top:1px solid var(--border,#ffffff14);padding-top:16px}
.hills-parks>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:44px;font-weight:700;font-size:16px}
.hills-parks>summary::-webkit-details-marker{display:none}
.hills-parks>summary small{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted,#a2aaa6)}
.hills-parks[open]>summary .hills-chevron{transform:rotate(90deg)}
.hills-parks>p{font-size:12px;line-height:1.5;color:var(--muted,#a2aaa6);margin:4px 0 12px}

/* Hills map navigation and foreground location. */
.hills-workspace.has-map-selection .hills-heading{visibility:hidden}
.hill-coverage .hills-map-back{position:absolute;top:16px;left:16px;z-index:4;display:flex;align-items:center;gap:10px;max-width:calc(100% - 90px);min-height:44px;padding:9px 14px;border:1px solid #ffffff18;border-radius:10px;background:#222628f5;color:#eef2ed;font-family:inherit;font-size:14px;font-weight:600;line-height:20px;cursor:pointer;box-shadow:0 3px 12px #0002}
.hill-coverage .hills-map-back[hidden]{display:none}
.hills-map-back>span:first-child{font-size:25px;font-weight:400;line-height:22px}
.hills-map-back>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hill-coverage .mountain-map-style{z-index:20}
.hills-map-back:focus-visible{outline:2px solid #8bd3ff;outline-offset:3px}

/* Hills map controls and map layers panel. */
.hill-coverage .mapboxgl-ctrl-group:has(.mapboxgl-ctrl-geolocate){display:none}
.hills-map-toolbar{position:absolute;top:14px;right:14px;z-index:16;display:flex;flex-direction:column;align-items:center;gap:0;filter:drop-shadow(0 2px 6px #18251d20)}
.hills-map-toolbar>button{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff20;border-top:0;border-bottom:0;border-radius:0;background:#222326f2;color:#e4ede6;cursor:pointer}
.hills-map-toolbar>button:first-child{width:46px;height:46px;margin-bottom:8px;border:1px solid #ffffff20;border-radius:50%}
.hills-map-toolbar>button:nth-child(2){border-top:1px solid #ffffff20;border-radius:14px 14px 0 0}
.hills-map-toolbar>button:last-child{border-bottom:1px solid #ffffff20;border-radius:0 0 14px 14px}
.hills-map-toolbar>button:nth-child(n+3)::before{content:"";position:absolute;top:0;left:10px;right:10px;height:1px;background:#ffffff18}
.hills-map-toolbar>button:hover{background:#303135}
.hills-map-toolbar>button[aria-pressed=true],.hills-map-toolbar>button[aria-expanded=true]{color:#fff;border-color:#ffffff42;background:#3a3b3f}
.hills-map-toolbar>button:disabled{opacity:.45;cursor:default}
.hills-map-toolbar svg{width:22px;height:22px}
.hills-map-toolbar .hills-compass-needle{width:18px;height:25px;margin-top:7px}
.hills-compass-letter{position:absolute;top:2px;font-size:9px;font-weight:700;line-height:10px}
.hills-workspace.is-map-expanded{--hills-map-bottom:8px!important}
.hills-workspace.is-map-expanded .hills-sheet{visibility:hidden;pointer-events:none}
.hill-coverage .mapboxgl-ctrl-scale{color:#f0f3ed;background:#25352ac2;border-color:#e0e8df;border-top:0;font-size:10px;line-height:15px;padding:1px 5px;text-align:center}
.hills-map-panel{box-sizing:border-box;position:absolute;z-index:30;right:16px;top:68px;width:min(400px,calc(100% - 32px));max-height:calc(100% - 84px);overflow:auto;overscroll-behavior:contain;padding:18px;border:1px solid #556157;border-radius:22px;background:#1b211f;color:#f0f3ee;box-shadow:0 18px 54px #080e0bd9}
.hills-map-panel[hidden],.hills-map-panel [hidden]{display:none!important}
.hills-map-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hills-map-panel h2{margin:0;font-size:22px;font-weight:680;letter-spacing:-.035em}
.hills-map-panel h2:focus{outline:none}
.hills-map-panel-close{width:44px;height:44px;flex:none;padding:0;border:1px solid #49584e;border-radius:14px;background:#26302a;color:inherit;font-size:24px;cursor:pointer}
.hills-map-tabs{display:flex;gap:5px;margin-bottom:16px;padding:4px;border:1px solid #344038;border-radius:14px;background:#151b18}
.hills-map-tabs button{flex:1;min-height:40px;border:0;border-radius:10px;background:none;color:#b7c3b9;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.hills-map-tabs button[aria-pressed=true]{background:#b9d5b7;color:#19261e}
.hills-map-styles,.hills-map-overlays{display:grid;gap:8px}
.hills-style-choice,.hills-overlay-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:8px;border:1px solid #3f5044;border-radius:15px;background:#252f29;color:#edf2ee;font:inherit;text-align:left;cursor:pointer}
.hills-style-choice:hover,.hills-overlay-row:hover{background:#2d3a32}
.hills-style-choice[aria-pressed=true]{border-color:#a8caa7;background:#314336}
.hills-style-choice:disabled{opacity:.55;cursor:default}
.hills-style-swatch{--swatch-land:#252b2c;--swatch-wood:#365044;--swatch-line:#a38d71;--swatch-water:#47869d;display:block;width:76px;height:58px;overflow:hidden;border-radius:9px;background:var(--swatch-land)}
[data-mode=auto] .hills-style-swatch{--swatch-land:#314139;--swatch-wood:#6e8b70;--swatch-line:#d2c0a3;--swatch-water:#77abbf}
[data-mode=os] .hills-style-swatch{--swatch-land:#e9dfc4;--swatch-wood:#aec79a;--swatch-line:#885e43;--swatch-water:#70a8bf}
.hills-style-swatch svg{display:block;width:100%;height:100%}
.hills-style-swatch .swatch-forest{fill:var(--swatch-wood)}
.hills-style-swatch .swatch-water{fill:none;stroke:var(--swatch-water);stroke-width:6}
.hills-style-swatch .swatch-contours{fill:none;stroke:var(--swatch-line);stroke-width:.8}
.hills-style-swatch .swatch-trail{fill:none;stroke:#b9e5ba;stroke-width:2;stroke-dasharray:4 2}
.hills-style-swatch .swatch-grid{display:none;fill:none;stroke:#427189;stroke-width:.55}
[data-mode=os] .swatch-grid{display:block}
[data-mode=os] .swatch-trail{stroke:#2f6842}
.hills-style-copy{display:grid;gap:4px}
.hills-style-copy strong{font-size:15px;font-weight:660;line-height:1.2}
.hills-style-copy small{font-size:12px;line-height:1.4;color:#c3d0c6}
.hills-style-mark{display:grid;place-items:center;width:21px;height:21px;margin-right:4px;border:1px solid #83958a;border-radius:50%}
[aria-pressed=true] .hills-style-mark{background:#b9d5b7;border-color:#b9d5b7;color:#1f2d24}
[aria-pressed=true] .hills-style-mark::after{content:'✓';font:700 13px system-ui}
.hills-provider-status .hills-os-note,.hills-provider-status .hills-map-panel-notice{padding:9px 12px;border-left:2px solid #819c87;background:#141b17;border-radius:0 8px 8px 0;color:#c7d5ca}
.hills-overlay-row{position:relative;grid-template-columns:48px minmax(0,1fr) auto}
.hills-overlay-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#344b3b;color:#bad8b5}
[data-overlay=routes] .hills-overlay-icon{background:#453742;color:#f4afc8}
.hills-overlay-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hills-overlay-row input[type=checkbox]{position:absolute;right:0;opacity:0}
.hills-layer-switch{position:relative;width:38px;height:23px;border:1px solid #7d8b82;border-radius:20px;background:#171f1a}
.hills-layer-switch::after{content:'';position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#c2cec5;transition:transform .15s ease}
.hills-overlay-row input:checked + .hills-layer-switch{background:#b9d5b7;border-color:#b9d5b7}
.hills-overlay-row input:checked + .hills-layer-switch::after{background:#273c2e;transform:translateX(15px)}
.hills-overlay-row input:focus-visible + .hills-layer-switch{outline:2px solid #e2eae3;outline-offset:2px}
.hills-map-imagery{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;padding-top:12px;border-top:1px solid #465248}
.hills-map-imagery h3{flex:0 0 100%;margin:0 0 2px;font-size:13px;font-weight:650;color:#cad8cc}
.hills-layer-action,.hills-overlay-routes{min-height:44px;padding:8px 12px;border:1px solid #4c5e51;border-radius:10px;background:#26332a;color:inherit;font:inherit;font-size:13px;font-weight:650;text-align:left;cursor:pointer}
.hills-map-imagery .hills-layer-action{flex:1}
.hills-map-imagery .hills-layer-action[aria-pressed=true]{border-color:#a8caa7}
.hills-map-panel-notice{margin:8px 0 0;font-size:12px;line-height:1.5;color:#d9e4da}
.hills-map-toolbar button:focus-visible,.hills-map-panel :is(button,input,summary):focus-visible{outline:2px solid #e2eae3;outline-offset:2px}
@media(max-width:600px){.hills-map-panel{inset:auto 0 0;width:100%;max-height:calc(100% - 50px);border-radius:24px 24px 0 0;padding:16px 14px 18px}.hills-map-panel>header{margin-bottom:12px}}

@media(prefers-reduced-motion:reduce){.hills-layer-switch::after{transition:none}}
.hills-location-guidance{margin:14px 0 0;padding-top:12px;border-top:1px solid #ffffff12;color:#b9c8bb;font-size:12px;line-height:18px}

/* The SDK rotates this marker from device compass heading, including at rest. */
.hill-coverage .mapboxgl-user-location-show-heading{width:32px;height:32px}
.hill-coverage .mapboxgl-user-location-show-heading .mapboxgl-user-location-dot{display:none}
.hill-coverage .mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{position:absolute;inset:0;width:32px;height:32px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 3 L42 44 L24 35 L6 44 Z' fill='%2362b5f7' stroke='white' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 1px 3px #0006)}
.hill-coverage .mapboxgl-user-location-show-heading .mapboxgl-user-location-heading::before,.hill-coverage .mapboxgl-user-location-show-heading .mapboxgl-user-location-heading::after{display:none}
.hill-coverage .mapboxgl-user-location-show-heading.mapboxgl-user-location-dot-stale .mapboxgl-user-location-heading{opacity:.5}

/* Scale beneath the map search. */
.hill-coverage .mapboxgl-ctrl-top-left{top:70px;left:6px}
.hills-workspace.has-map-selection .hill-coverage .mapboxgl-ctrl-top-left{top:60px}

/* Personal heatmap: quiet controls and activity-first selection. */
#app .heatmap-intro{margin-bottom:20px}#app .heatmap-intro>strong{font-size:28px;letter-spacing:-.8px}#app .heatmap-intro p{color:var(--muted);font-size:14px;margin:6px 0 18px}
#app .heatmap-gradient{height:3px;border-radius:3px;background:linear-gradient(90deg,#fa45bc,#ff6ea6,#ff997f,#ffdf91)}#app .heatmap-legend{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:7px}
#app #heatmap-search{width:100%;min-height:46px;border-radius:12px}#app .heatmap-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}#app .heatmap-filters label{font-size:11px;color:var(--muted);display:grid;gap:5px}#app .heatmap-filters select{width:100%;min-height:44px;border-radius:12px}
#app .heatmap-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}#app .heatmap-selection-tools>label{display:flex;align-items:center;gap:6px}#app .heatmap-selection-tools input{width:16px;height:16px;accent-color:#fa45bc}#app .heatmap-selection-tools>div{display:flex;gap:8px}#app .heatmap-selection-tools .btn{font-size:12px;min-height:38px;padding:4px}
#app .heatmap-picker .activity-picker-list{margin:8px 0 16px;max-height:34dvh}#app .heatmap-picker .activity-picker-row{gap:12px;padding:15px 0}#app .heatmap-picker .activity-picker-row[hidden]{display:none}#app .heatmap-picker .activity-picker-row>span{flex:1;min-width:0}#app .heatmap-picker .activity-picker-row input{margin-left:auto;accent-color:#fa45bc}#app .heatmap-picker .activity-picker-row .prologue-activity-badge{width:32px;height:32px;flex:none}#app .heatmap-picker footer{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:14px}#app .heatmap-picker footer p{margin:0;font-size:12px}


.hills-os-options{font-size:13px;line-height:1.5}
.hills-os-options details{padding:8px 0 0}
.hills-os-options summary{cursor:pointer;font-weight:600;min-height:32px}
.hills-os-options details p{margin:8px 0;color:#c9c9cd}
.hills-os-note{margin:8px 0 0;color:#c9c9cd}
.hills-os-attribution{position:absolute;z-index:2;right:9px;bottom:calc(var(--hills-map-bottom, 8px) + 33px);max-width:calc(100% - 18px);display:flex;align-items:flex-end;justify-content:flex-end;gap:7px;pointer-events:none;transition:bottom 280ms cubic-bezier(.2,.8,.2,1)}
.hills-os-attribution[hidden]{display:none}
.hills-os-attribution img{display:block;object-fit:contain;flex:none}
.hills-os-attribution>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:1px 8px;padding:2px 5px;border-radius:3px;background:#fafaf4e8;color:#242424;font-size:10px;line-height:1.35;pointer-events:auto}
.hills-os-attribution a{color:inherit;text-decoration:underline}
.hills-workspace:has(.is-dragging) .hills-os-attribution{transition:none}
@media(prefers-reduced-motion:reduce){.hills-os-attribution{transition:none}}

.hill-coverage>.hills-location-guidance{position:absolute;z-index:18;left:12px;top:111px;max-width:calc(100% - 80px);margin:0;padding:8px 10px;border:1px solid #ffffff24;border-radius:9px;background:#222326;color:#f1f1f3;line-height:1.4}
.hill-coverage>.hills-location-guidance[hidden]{display:none}

/* Workout detail */
html[data-theme] #app :is(.workout-session,.workout-readonly,.activity-detail,.dc-app:has(.workout-session),.dc-activity-focus) {
 --workout-bg:var(--surface-2);--workout-card:var(--surface);--workout-tile:var(--prologue-raised);
}
html[data-theme=dark] #app :is(.workout-session,.workout-readonly,.activity-detail,.dc-app:has(.workout-session),.dc-activity-focus) {
 --workout-bg:#090909;--workout-card:#151515;--workout-tile:#1d1d1d;
}
html[data-theme] #app :is(.workout-overview,.activity-detail) {--workout-accent:var(--activity-colour,var(--ink))}
html[data-theme] #app :is(.workout-overview,.activity-detail).activity-type-strength {--workout-accent:#ffab66}
html[data-theme=light] #app :is(.workout-overview,.activity-detail) {--workout-accent:color-mix(in srgb,var(--activity-colour,var(--ink)) 52%,#202020)}
html[data-theme=light] #app :is(.workout-overview,.activity-detail).activity-type-strength {--workout-accent:#91450e}
html[data-theme] #app :is(.dc-app:has(.workout-session),.dc-activity-focus,.workout-session,.activity-detail) {background:var(--workout-bg)}
html[data-theme] #app :is(.dc-app:has(.workout-session),.dc-activity-focus) :is(.dc-workspace,.dc-content) {background:var(--workout-bg)!important}
html[data-theme] #app .activity-detail :is(.activity-detail-top,.activity-detail-content),
html[data-theme] #app .workout-save-bar {background:var(--workout-bg,var(--surface-2))!important}
html[data-theme] #app .activity-detail .activity-detail-content {display:grid;gap:14px;align-content:start}
html[data-theme] #app .workout-overview {
 display:grid;gap:12px;padding:12px;margin:0 0 12px;border:1px solid color-mix(in srgb,var(--workout-accent) 26%,var(--line));
 border-radius:16px;background:var(--workout-card);
}
html[data-theme] #app .workout-overview-header {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
html[data-theme] #app :is(.workout-overview-identity,.workout-progress-copy) {display:grid;gap:3px;line-height:1.35}
html[data-theme] #app .workout-overview-identity {flex:1 1 105px;min-width:0}
html[data-theme] #app .workout-overview-identity strong {font-size:12px;font-weight:700;color:var(--workout-accent)}
html[data-theme] #app .workout-overview-identity span {font-size:12px;color:var(--muted);overflow-wrap:anywhere}
html[data-theme] #app :is(.workout-overview-identity small,.workout-progress-copy>span) {font-size:11px;color:var(--muted)}
html[data-theme] #app .workout-progress {display:flex;align-items:center;gap:9px}
html[data-theme] #app .workout-progress-ring {width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;position:relative;color:var(--workout-accent)}
html[data-theme] #app .workout-progress-ring>svg:first-child {position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
html[data-theme] #app .workout-progress-ring circle:first-child {opacity:.22}
html[data-theme] #app .workout-progress-ring .prologue-glyph {width:19px;height:19px}
html[data-theme] #app .workout-progress-copy strong {font-size:17px;font-weight:650;font-variant-numeric:tabular-nums}
html[data-theme] #app .workout-progress-copy small {font-weight:400;color:var(--muted)}
html[data-theme] #app .workout-stat-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}
html[data-theme] #app .workout-stat {display:grid;gap:5px;align-content:start;min-height:68px;padding:10px;border-radius:11px;background:var(--workout-tile)}
html[data-theme] #app .workout-stat:last-child:nth-child(odd) {grid-column:1/-1}
html[data-theme] #app .workout-stat dt {display:flex;align-items:center;gap:6px;font-size:11px;line-height:15px;color:var(--muted)}
html[data-theme] #app .workout-stat dt svg {width:14px;height:14px;flex:0 0 14px;color:var(--workout-accent)}
html[data-theme] #app .workout-stat dd {margin:0;font-size:21px;line-height:26px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-theme] #app .workout-stat:first-child dd {color:var(--workout-accent)}
html[data-theme] #app .workout-session .workout-utilities {padding:8px 0;margin:0 0 12px}
html[data-theme] #app .workout-session :is(.exercise-block,.interval-checklist,.workout-instructions),
html[data-theme] #app .workout-readonly :is(.movement-results,.session-prescription,.completion-notes),
html[data-theme] #app .activity-detail :is(.activity-workout-details,.route-elevation,details.activity-exercise) {
 background:var(--workout-card);border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:0 0 10px;
}
html[data-theme] #app .workout-session .next-banner {padding:10px 12px;margin:10px 0}
html[data-theme] #app .workout-session .exercise-head {margin:0 0 6px}
html[data-theme] #app .workout-session .set-table {border-spacing:0 3px}
html[data-theme] #app .workout-session .set-table td {padding-block:3px;background:var(--workout-card)}
html[data-theme] #app .workout-session .set-table input {background:var(--workout-tile)}
html[data-theme] #app .workout-session .set-table .set-btn {border-color:var(--line);background:var(--workout-tile)}
html[data-theme] #app .workout-session .set-table .set-btn[aria-pressed=true] {background:var(--improved);border-color:var(--improved);color:var(--surface-2)!important}
html[data-theme] #app .workout-session .section-gap {margin:12px 0 6px}
html[data-theme] #app .workout-readonly .session-detail-head {padding-bottom:12px;margin-bottom:12px}
html[data-theme] #app .activity-detail .activity-detail-title-row .prologue-activity-badge {
 color:var(--workout-accent)!important;background:color-mix(in srgb,var(--workout-accent) 15%,var(--workout-card))!important;
}
html[data-theme] #app .activity-detail .route-elevation .elevation-line {stroke:var(--workout-accent);stroke-width:2}
html[data-theme] #app .activity-detail .route-elevation .elevation-fill {fill:var(--workout-accent);fill-opacity:.16}
html[data-theme] #app .activity-detail :is(.route-elevation,.activity-workout-details) {margin:0}
html[data-theme] #app .activity-detail details.activity-exercise {padding-block:0;margin-bottom:6px}
html[data-theme] #app .activity-detail .activity-exercise>summary {min-height:48px;padding-block:9px}
@media(max-width:349px) {
 html[data-theme] #app .workout-stat-grid {grid-template-columns:minmax(0,1fr)}
}
