/* One workspace: primary destinations below on phones and above on larger screens. */
html[data-theme] #app .dc-app.dc-no-sidebar {--desktop-nav-width:0px;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important}
html[data-theme] #app .dc-no-sidebar>.dc-workspace {grid-column:1!important;grid-row:1!important;margin:0!important;width:100%;min-width:0}
html[data-theme] #app .dc-no-sidebar .dc-topbar {border:0!important;gap:12px}
html[data-theme] #app .dc-no-sidebar .dc-topbar-left {flex:1;min-width:0}
html[data-theme] #app .dc-no-sidebar .dc-wordmark {display:inline!important;font-size:23px!important;line-height:30px}
html[data-theme] #app .dc-no-sidebar .dc-topbar-actions {gap:2px;flex:none}
html[data-theme] #app .dc-no-sidebar .dc-header-home {padding:0;min-width:0}
html[data-theme] #app .dc-no-sidebar .dc-desktop-primary {display:none;margin:0}
html[data-theme] #app .dc-no-sidebar .dc-icon-button {position:relative}
html[data-theme] #app .dc-no-sidebar .dc-section-tabs {display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 20px;overflow-x:auto;scrollbar-width:none}
html[data-theme] #app .dc-no-sidebar .dc-section-tabs button {flex:1;padding:13px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:15px;font-weight:500;white-space:nowrap}
html[data-theme] #app .dc-no-sidebar .dc-section-tabs button[aria-current=page] {border-color:var(--ink);color:var(--ink)}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-copy small {display:none}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-symbol {display:grid;place-items:center;width:22px;height:22px}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-symbol svg {width:22px;height:22px}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-item[data-value=record] .dc-nav-symbol {border:1.5px solid currentColor;border-radius:50%;width:25px;height:25px}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-item[data-value=record] .dc-nav-symbol svg {width:17px;height:17px}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-item[data-value=record] {background:transparent;color:var(--muted)}
html[data-theme] #app .dc-no-sidebar .dc-mobile-dock .dc-nav-item.is-active {color:var(--ink)}
html[data-theme] #app .today-date-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
html[data-theme] #app .today-calendar-button {display:grid;place-items:center;width:40px;height:40px;flex:none;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--muted)}
html[data-theme] #app .today-calendar-button svg {width:20px;height:20px}
html[data-theme] #app .today-calendar-button:hover {color:var(--ink);background:var(--prologue-raised)}
html[data-theme] #app .dc-app .today-workspace .today-activity-card {border:1px solid var(--line)!important;border-left:1px solid var(--line)!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:10px;padding:12px!important;border-radius:16px!important}
html[data-theme] #app .today-activity-card .today-activity-icon {width:36px;height:36px;min-width:36px;grid-row:1;grid-column:1}
html[data-theme] #app .today-activity-card .today-activity-copy {grid-column:2;grid-row:1;gap:2px;align-self:center}
html[data-theme] #app .today-activity-card .today-activity-title {font-size:14px;line-height:20px}
html[data-theme] #app .today-activity-card .today-activity-result strong {font-size:22px;line-height:26px}
html[data-theme] #app .today-activity-card .today-activity-meta {font-size:11px;line-height:17px}
html[data-theme] #app .today-activity-card .today-activity-route-slot {display:grid;place-items:center;grid-column:3;grid-row:1;width:88px;max-width:22vw;align-self:center;color:var(--muted);overflow:hidden}
html[data-theme] #app .today-activity-card .today-activity-route {display:block;width:88px;max-width:100%;height:60px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
html[data-theme] #app .today-activity-card .today-activity-arrow {grid-column:3;grid-row:1;align-self:center}
html[data-theme] #app .you-tools {display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}
html[data-theme] #app .you-tool-group {flex:1;min-width:140px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
html[data-theme] #app .you-tool-group>summary {padding:12px 14px;list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--ink)}
html[data-theme] #app .you-tool-group>summary::-webkit-details-marker {display:none}
html[data-theme] #app .you-tool-group nav {display:grid;padding:0 8px 8px}
html[data-theme] #app .you-tool-link {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left;font-size:14px}
html[data-theme] #app .you-tool-link:hover {background:var(--prologue-raised)}
html[data-theme] #app .feed-community-entry {display:flex;justify-content:flex-end;padding:0 18px 8px}
html[data-theme] #app .feed-community-entry .btn {font-size:13px;min-height:36px}
html[data-theme] #app .calendar-back {margin:0 0 12px;padding-left:0}
@media(min-width:1024px){
 html[data-theme] #app .dc-no-sidebar .dc-desktop-primary {display:flex;align-items:center;gap:4px;flex:0 1 auto}
 html[data-theme] #app .dc-no-sidebar .dc-desktop-primary .dc-nav-item {display:flex;align-items:center;gap:7px;min-height:40px;padding:9px 13px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:14px}
 html[data-theme] #app .dc-no-sidebar .dc-desktop-primary .dc-nav-item.is-active {background:var(--prologue-raised);color:var(--ink)}
 html[data-theme] #app .dc-no-sidebar .dc-desktop-primary .dc-nav-symbol svg {width:19px;height:19px}
 html[data-theme] #app .dc-no-sidebar .dc-topbar {padding-left:32px!important;padding-right:32px!important}
 html[data-theme] #app .dc-no-sidebar .dc-topbar-left {flex:1}
 html[data-theme] #app .dc-no-sidebar .dc-topbar-actions {flex:1;justify-content:flex-end}
 html[data-theme] #app .dc-no-sidebar .dc-content {max-width:1160px!important;width:100%}
 html[data-theme] #app .dc-no-sidebar .dc-content:has(>.today-workspace),html[data-theme] #app .dc-no-sidebar .dc-content:has(>.activity-feed) {max-width:800px!important}
 html[data-theme] #app .dc-no-sidebar .dc-section-tabs {gap:30px}
 html[data-theme] #app .dc-no-sidebar .dc-section-tabs button {flex:none;min-width:100px}
 html[data-theme] #app .dc-no-sidebar .dc-mobile-dock {display:none!important}
}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .dc-no-sidebar :is(.dc-nav-item,.today-activity-card,.dc-section-tabs button){transition:none!important;animation:none!important;transform:none!important}}
/* Remove inherited three-row card scaffolding; each activity is a single compact row. */
html[data-theme] #app .dc-app .today-workspace .today-activity-card {grid-template-rows:auto!important;row-gap:0!important;align-items:center}
html[data-theme] #app .dc-app .today-workspace .today-activity-card .today-activity-summary {display:grid!important;gap:2px!important;align-items:start}
html[data-theme] #app .dc-app .today-workspace .today-activity-card .today-activity-result {line-height:26px!important}
html[data-theme] #app .dc-app .today-workspace .today-activity-card .today-activity-result strong {font-size:22px!important;line-height:26px!important}
html[data-theme] #app .dc-app .today-workspace .today-activity-route-slot {color:var(--activity-colour,var(--muted));opacity:.8}
html[data-theme] #app .you-coaching-entry {width:100%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;min-height:52px;font-weight:500}
html[data-theme] #app .coaching-workspace-links {display:grid;max-width:720px}
html[data-theme] #app .coaching-workspace-links .you-tool-link {padding:18px 0;border-bottom:1px solid var(--line);border-radius:0;min-height:72px}
html[data-theme] #app .coaching-workspace-links .you-tool-link>span:first-child {display:grid;gap:5px}
html[data-theme] #app .coaching-workspace-links .you-tool-link small {font-size:12px;color:var(--muted);font-weight:400}

html[data-theme] #app .feed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;min-height:44px}
html[data-theme] #app .feed-toolbar .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html[data-theme] #app .feed-toolbar .btn.icon{display:grid;place-items:center;min-width:44px;min-height:44px;padding:10px;color:var(--muted)}
/* Balanced brand header and quiet, compact social surfaces. */
html[data-theme] #app .dc-no-sidebar .dc-topbar {display:grid;grid-template-columns:minmax(80px,1fr) auto minmax(80px,1fr);column-gap:6px;row-gap:0}
html[data-theme] #app .dc-no-sidebar .dc-topbar-left {grid-column:1;grid-row:1;display:flex;justify-content:flex-start;min-width:80px}
html[data-theme] #app .dc-no-sidebar .dc-header-home {grid-column:2;grid-row:1;justify-self:center}
html[data-theme] #app .dc-no-sidebar .dc-wordmark {font-size:28px!important;line-height:34px;letter-spacing:-.7px}
html[data-theme] #app .dc-no-sidebar .dc-topbar-actions {grid-column:3;grid-row:1;justify-content:flex-end;min-width:80px;gap:0}
html[data-theme] #app .dc-no-sidebar .dc-icon-button {width:40px;height:44px;min-width:40px;min-height:44px;padding:10px;border-radius:12px}
html[data-theme] #app .dc-no-sidebar .dc-icon-button svg {width:20px;height:20px}
html[data-theme] #app .dc-you-navigation {display:flex;align-items:center;gap:12px;margin-bottom:20px;border-bottom:1px solid var(--line)}
html[data-theme] #app .dc-no-sidebar .dc-you-navigation .dc-section-tabs {flex:1;min-width:0;border:0;margin:0}
html[data-theme] #app .dc-no-sidebar .dc-you-navigation>.dc-account-settings {flex:none;color:var(--muted)}
html[data-theme] #app .feed-outing .outing-social-bar {display:flex;align-items:center;gap:20px;padding:8px 20px;min-height:56px;color:var(--muted)}
html[data-theme] #app .feed-outing .outing-social-bar button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:transparent;font-size:12px;font-weight:500;color:inherit;border-radius:10px}
html[data-theme] #app .feed-outing .outing-social-bar svg {width:19px;height:19px}
html[data-theme] #app .feed-outing .activity-like-group {gap:0}
html[data-theme] #app .feed-outing .activity-heart {padding:6px 4px 6px 0}
html[data-theme] #app .feed-outing .activity-heart[aria-pressed=true] {color:#e8bf72}
html[data-theme] #app .feed-outing .activity-heart[aria-pressed=true] svg {fill:currentColor;stroke:currentColor}
html[data-theme] #app .feed-outing .activity-like-count {min-width:28px;padding:6px 4px;font-variant-numeric:tabular-nums}
html[data-theme] #app .feed-outing .activity-comment-button {padding:6px 4px}
html[data-theme] #app .feed-outing .hill-map-open {overflow:hidden;background:var(--surface);isolation:isolate}
html[data-theme] #app .feed-outing .hill-route-explore {border:0;outline-offset:-4px}
html[data-theme] #app .feed-outing .hill-route-explore:focus-visible {outline:2px solid var(--ink)}
html[data-theme] #app .modal.activity-social-modal {background:var(--surface)!important;border-radius:22px!important}
html[data-theme] #app .modal.activity-social-modal .social-activity-title {font-size:12px;padding:12px 20px;line-height:1.5}
html[data-theme] #app .modal.activity-social-modal .outing-comment-list {padding:4px 20px 12px}
html[data-theme] #app .modal.activity-social-modal .social-comment {gap:10px;padding:14px 0}
html[data-theme] #app .modal.activity-social-modal .social-avatar {background:var(--prologue-raised);color:var(--ink);width:34px;height:34px;flex-basis:34px}
html[data-theme] #app .modal.activity-social-modal .social-comment-content>p {font-size:14px;line-height:1.55;margin-top:4px;color:var(--ink)}
html[data-theme] #app .modal.activity-social-modal .social-comment .profile-name-link {font-size:13px}
html[data-theme] #app .modal.activity-social-modal .social-comment time {font-size:11px}
html[data-theme] #app .modal.activity-social-modal .comment-options>summary {min-width:36px;min-height:40px}
html[data-theme] #app .modal.activity-social-modal .comment-compose {gap:8px;padding:12px 16px;background:var(--surface)}
html[data-theme] #app .modal.activity-social-modal .comment-compose textarea {height:44px;min-height:44px;max-height:120px;padding:11px 12px!important;background:var(--prologue-raised)!important;border-radius:16px!important;font-size:14px!important;color:var(--ink)}
html[data-theme] #app .modal.activity-social-modal .comment-compose>button {height:44px;width:44px;flex-basis:44px;background:var(--ink);color:var(--surface)}
html[data-theme] #app .conversation-screen {max-width:760px;margin:0 auto;border:0;border-radius:0;background:transparent;overflow:hidden}
html[data-theme] #app .conversation-header {gap:10px;padding:8px 0 16px;border-bottom:1px solid var(--line);min-height:60px}
html[data-theme] #app .conversation-header h1 {font-size:20px!important;line-height:26px!important;letter-spacing:-.4px;margin:0}
html[data-theme] #app .conversation-header .profile-name-link {display:block;width:100%;min-height:44px;font-size:16px!important;line-height:22px!important;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] #app .conversation-header>.btn.text {flex:none;min-height:44px;padding:6px 8px!important;font-size:12px!important}
html[data-theme] #app .conversation-header .conversation-back {height:44px;min-height:44px;width:36px;min-width:36px;padding:6px;border:0;background:transparent;font-size:24px}
html[data-theme] #app .conversation-header .contact-avatar {width:36px;height:36px;flex-basis:36px}
html[data-theme] #app .conversation-status {font-size:11px;color:var(--muted)}
html[data-theme] #app .conversation-row {padding:16px 0;gap:12px;min-height:80px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
html[data-theme] #app .conversation-row .contact-avatar {width:42px;height:42px;flex-basis:42px;background:var(--prologue-raised);color:var(--ink)}
html[data-theme] #app .conversation-row-copy strong {font-size:14px;line-height:20px}
html[data-theme] #app .conversation-row-copy small {font-size:13px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
html[data-theme] #app .conversation-count {min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;background:var(--ink);color:var(--surface);border-radius:20px;font-size:11px}
html[data-theme] #app .conversation-screen .chat-history {min-height:220px;max-height:60dvh;padding:18px 0;gap:12px;background:transparent}
html[data-theme] #app .conversation-screen .chat-message {max-width:85%;padding:12px 14px;border:0;border-radius:16px 16px 16px 4px;background:var(--surface)}
html[data-theme] #app .conversation-screen .chat-message.mine {background:var(--prologue-raised);border-radius:16px 16px 4px 16px;color:var(--ink)}
html[data-theme] #app .conversation-screen .chat-message p {font-size:14px;line-height:1.55}
html[data-theme] #app .conversation-screen .message-sender {font-size:11px;gap:6px;margin-bottom:6px;color:var(--muted)}
html[data-theme] #app .conversation-screen .message-sender .contact-avatar {width:18px;height:18px;flex-basis:18px;font-size:9px}
html[data-theme] #app .conversation-screen .chat-message.mine .message-sender {display:none}
html[data-theme] #app .conversation-screen .chat-message time {font-size:10px;color:var(--muted)}
html[data-theme] #app .conversation-composer {padding:12px 0;gap:8px;border-top:1px solid var(--line);background:var(--surface-2)}
html[data-theme] #app .conversation-composer textarea {min-height:46px;max-height:130px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--prologue-raised);font-size:14px;line-height:20px;color:var(--ink)}
html[data-theme] #app .conversation-composer .chat-send {width:44px;height:44px;min-width:44px;min-height:44px;padding:12px;background:var(--ink);color:var(--surface);border:0;border-radius:50%}
html[data-theme] #app .conversation-empty {padding:36px 16px}
html[data-theme] #app .conversation-empty h2 {font-size:18px;letter-spacing:-.3px}
html[data-theme] #app .conversation-empty p {font-size:13px;line-height:1.6;color:var(--muted)}
html[data-theme] #app .notifications-page {max-width:760px;margin:0 auto}
html[data-theme] #app .notification-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
html[data-theme] #app .notification-heading h1 {font-size:21px!important;line-height:28px!important;letter-spacing:-.5px;margin:0;white-space:nowrap}
html[data-theme] #app .notification-heading-actions {display:flex;align-items:center;gap:4px}
html[data-theme] #app .notification-heading-actions .btn {min-height:44px;padding:6px!important;font-size:11px!important;background:transparent;border:0;color:var(--muted);white-space:nowrap}
html[data-theme] #app .notification-heading-actions .btn.icon {width:40px;display:grid;place-items:center}
html[data-theme] #app .notification-row {background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0}
html[data-theme] #app .notification-person {display:flex;width:100%;align-items:center;gap:12px;min-height:88px;padding:14px 0;text-align:left;border:0;background:transparent;color:var(--ink)}
html[data-theme] #app .notification-symbol {display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:13px;background:var(--prologue-raised);color:var(--muted)}
html[data-theme] #app .notification-symbol svg {width:19px;height:19px}
html[data-theme] #app .notification-copy {display:grid;min-width:0;flex:1;gap:3px;font-size:13px;line-height:18px}
html[data-theme] #app .notification-copy strong {font-weight:550;font-size:14px;overflow-wrap:anywhere}
html[data-theme] #app .notification-copy>span {color:var(--muted);overflow-wrap:anywhere}
html[data-theme] #app .notification-copy time {font-size:11px;color:var(--muted);margin-top:2px}
html[data-theme] #app .notification-person>i {width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--ink)}
html[data-theme] #app .notification-empty {padding:40px 12px;text-align:center}
html[data-theme] #app .notification-empty h2 {font-size:18px}
html[data-theme] #app .notification-empty p {font-size:13px;line-height:1.6;color:var(--muted)}
html[data-theme] #app .activity-achievements {padding:12px 20px 8px;border-bottom:1px solid var(--line)}
html[data-theme] #app .activity-achievement-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:11px;color:var(--muted)}
html[data-theme] #app .activity-achievement-heading button {min-height:32px;border:0;background:transparent;color:var(--muted);font-size:11px;padding:0}
html[data-theme] #app .activity-achievement-list {display:flex;flex-wrap:wrap;gap:10px 20px}
html[data-theme] #app .activity-achievement {display:flex;gap:8px;align-items:center;max-width:100%;min-width:0}
html[data-theme] #app .activity-achievement>span {display:grid;gap:3px;min-width:0}
html[data-theme] #app .activity-achievement strong {font-size:12px;font-weight:500;overflow-wrap:anywhere}
html[data-theme] #app .activity-achievement small {font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
html[data-theme] #app .achievement-medal {--medal:#d8b36b;width:28px;height:32px;flex:0 0 28px;overflow:visible}
html[data-theme] #app .achievement-medal.is-silver {--medal:#b9c6d1}
html[data-theme] #app .achievement-medal.is-bronze {--medal:#c3916b}
html[data-theme] #app .achievement-medal.is-milestone {--medal:#94b9b3}
html[data-theme] #app .achievement-medal .medal-ribbon {fill:var(--medal);opacity:.5}
html[data-theme] #app .achievement-medal .medal-disc {fill:var(--medal);fill-opacity:.14;stroke:var(--medal);stroke-width:1.3}
html[data-theme] #app .achievement-medal .medal-star {fill:var(--medal);stroke:none}
html[data-theme] #app .activity-achievement-more>summary {cursor:pointer;font-size:11px;color:var(--muted);padding:12px 0 4px;min-height:32px}
html[data-theme] #app .activity-achievement-more[open] .activity-achievement-list {padding-top:10px}
html[data-theme] #app .personal-bests-page {max-width:800px;margin:0 auto}
html[data-theme] #app .personal-bests-heading>button {padding-left:0;margin-bottom:8px}
html[data-theme] #app .personal-bests-heading h1 {font-size:26px;letter-spacing:-.7px;margin:0 0 6px}
html[data-theme] #app .personal-bests-heading p {font-size:13px;color:var(--muted);margin:0 0 18px}
html[data-theme] #app .personal-bests-sports {display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding-bottom:12px}
html[data-theme] #app .personal-bests-sports button {min-height:40px;padding:9px 14px;white-space:nowrap;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--muted);font-size:12px}
html[data-theme] #app .personal-bests-sports button[aria-pressed=true] {background:var(--ink);color:var(--surface);border-color:transparent}
html[data-theme] #app .personal-record-group {margin-top:20px}
html[data-theme] #app .personal-record-group h2 {font-size:15px;margin:0 0 6px;font-weight:550}
html[data-theme] #app .personal-record-group ol {list-style:none;margin:0;padding:0}
html[data-theme] #app .personal-record-row {display:flex;align-items:center;gap:12px;width:100%;min-height:82px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}
html[data-theme] #app .personal-record-copy {display:grid;gap:5px;flex:1;min-width:0}
html[data-theme] #app .personal-record-copy strong {font-size:14px;font-weight:500;overflow-wrap:anywhere}
html[data-theme] #app .personal-record-copy small {font-size:11px;color:var(--muted)}
html[data-theme] #app .personal-record-value {display:grid;gap:3px;text-align:right;font-variant-numeric:tabular-nums}
html[data-theme] #app .personal-record-value strong {font-size:18px;letter-spacing:-.4px}
html[data-theme] #app .personal-record-value small {font-size:11px;color:var(--muted)}
html[data-theme] #app .personal-bests-status,html[data-theme] #app .personal-bests-empty p {font-size:13px;line-height:1.6;color:var(--muted)}
html[data-theme] #app .personal-bests-empty {padding:35px 0}
html[data-theme] #app .personal-bests-empty h2 {font-size:18px;margin-bottom:8px}
html[data-theme] #app .member-personal-bests {display:flex;justify-content:space-between;align-items:center;min-height:48px;width:100%;margin-top:12px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font-size:14px;text-align:left}
@media(min-width:1024px){
 html[data-theme] #app .dc-no-sidebar .dc-topbar {height:116px;min-height:116px;grid-template-rows:64px 52px;padding-top:0!important}
 html[data-theme] #app .dc-no-sidebar .dc-desktop-primary {grid-column:1/-1;grid-row:2;justify-content:center;align-self:start}
 html[data-theme] #app .dc-no-sidebar .dc-topbar-left {justify-content:flex-start}
 html[data-theme] #app .dc-no-sidebar .dc-topbar-actions {justify-content:flex-end}
}
@media(max-width:600px){
 html[data-theme] #app .dc-no-sidebar .dc-wordmark {font-size:27px!important}
 html[data-theme] #app .modal.activity-social-modal {border-radius:22px 22px 0 0!important}
 html[data-theme] #app .modal.activity-social-modal .comment-compose {padding-bottom:calc(12px + env(safe-area-inset-bottom))}
 html[data-theme] #app .notification-heading {gap:4px}
 html[data-theme] #app .notification-heading h1 {font-size:22px}
 html[data-theme] #app .feed-outing .activity-comment-label {font-size:11px}
}
@media(prefers-reduced-motion:reduce){html[data-theme] #app :is(.activity-heart,.activity-heart svg,.achievement-medal,.notification-row,.conversation-row){animation:none!important;transition:none!important;transform:none!important}}
html[data-theme] #app button.activity-achievement {border:0;background:transparent;color:var(--ink);padding:2px 0;min-height:44px;text-align:left;border-radius:8px}
html[data-theme] #app button.activity-achievement:hover {opacity:.85}
html[data-theme] #app button.activity-achievement:focus-visible {outline:2px solid var(--ink);outline-offset:4px}

/* Recorded routes retain their geometry and use clear, restrained endpoint markers. */
html[data-theme] #app .activity-feed .route-finish {fill:#ff793d;stroke:var(--bg);stroke-width:2}
html[data-theme] #app .activity-feed .route-lines polyline {paint-order:stroke;filter:drop-shadow(0 0 1px #151515)}
/* Two concise record summaries; overflow is opened deliberately. */
html[data-theme] #app .feed-outing .activity-achievements {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;padding:8px 20px 6px}
html[data-theme] #app .feed-outing .activity-achievement-heading {grid-column:1/-1;margin:0;min-height:24px}
html[data-theme] #app .feed-outing .activity-achievement-heading button {min-height:32px}
html[data-theme] #app .feed-outing .activity-achievements>.activity-achievement-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:center}
html[data-theme] #app .feed-outing .activity-achievement {gap:6px;min-width:0;padding:0;min-height:44px}
html[data-theme] #app .feed-outing .activity-achievement .achievement-medal {width:23px;height:27px;flex-basis:23px}
html[data-theme] #app .feed-outing .activity-achievement strong {font-size:13px;line-height:17px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #app .feed-outing .activity-achievement small {font-size:11px;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #app .feed-outing .activity-achievement-more {align-self:center}
html[data-theme] #app .feed-outing .activity-achievement-more>summary {display:grid;place-items:center;min-width:32px;min-height:44px;padding:0;list-style:none;font-size:11px;color:var(--muted);cursor:pointer}
html[data-theme] #app .feed-outing .activity-achievement-more>summary::-webkit-details-marker {display:none}
html[data-theme] #app .feed-outing .activity-achievement-more[open] {grid-column:1/-1}
html[data-theme] #app .feed-outing .activity-achievement-more[open]>summary {justify-content:flex-start}
html[data-theme] #app .feed-outing .activity-achievement-more[open] .activity-achievement-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:0}
html[data-theme] #app .feed-outing>.feed-metrics {row-gap:10px;margin-bottom:16px}
html[data-theme] #app .feed-outing .feed-metrics dd {font-size:22px;line-height:26px;margin-top:4px}
html[data-theme] #app .feed-outing .feed-metrics dt {line-height:13px}
/* Let the comment list consume the modal's remaining height so its composer stays anchored. */
html[data-theme] #app .modal.activity-social-modal .outing-comment-list {max-height:none!important}
html[data-theme] #app .modal.activity-social-modal>.panel-head {min-height:64px;max-height:64px;box-sizing:border-box;padding:10px 20px!important}
html[data-theme] #app .modal.activity-social-modal>.panel-head>.btn {width:44px;min-width:44px;height:44px;min-height:44px;padding:10px!important}
html[data-theme] #app .personal-bests-rules {margin:2px 0 12px;color:var(--muted)}
html[data-theme] #app .personal-bests-rules>summary {font-size:12px;line-height:20px;min-height:36px;padding:8px 0;cursor:pointer}
html[data-theme] #app .personal-bests-rules>p {font-size:12px;line-height:1.6;margin:4px 0 12px;max-width:650px}
/* Personal records: two sports, two categories, measured results in compact tables. */
html[data-theme] #app .personal-bests-page .personal-bests-heading>button {min-height:40px;margin-bottom:2px;font-size:12px}
html[data-theme] #app .personal-bests-page .personal-bests-heading h1 {font-size:24px;line-height:30px;margin-bottom:4px}
html[data-theme] #app .personal-bests-page .personal-bests-heading p {font-size:11px;line-height:16px;margin-bottom:12px}
html[data-theme] #app .personal-bests-page .personal-bests-sports {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;background:var(--prologue-raised);border-radius:12px;margin-bottom:6px}
html[data-theme] #app .personal-bests-page .personal-bests-sports button {min-height:40px;padding:9px 12px;border:0;border-radius:9px;font-size:13px;font-weight:500}
html[data-theme] #app .personal-bests-page .personal-bests-sports button[aria-pressed=true] {background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0002}
html[data-theme] #app .personal-bests-categories {display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:8px}
html[data-theme] #app .personal-bests-categories button {min-height:42px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;background:transparent;color:var(--muted);font-size:12px;font-weight:500}
html[data-theme] #app .personal-bests-categories button[aria-pressed=true] {border-bottom-color:var(--ink);color:var(--ink)}
html[data-theme] #app .personal-bests-page .personal-record-group {margin-top:12px}
html[data-theme] #app .personal-record-table {width:100%;border-collapse:collapse;table-layout:fixed}
html[data-theme] #app .personal-record-table caption {text-align:left;font-size:14px;font-weight:550;color:var(--ink);padding:4px 0 10px}
html[data-theme] #app .personal-record-table th {text-align:left;font-size:10px;font-weight:500;letter-spacing:.15px;color:var(--muted);padding:0 0 6px;border-bottom:1px solid var(--line);text-transform:none}
html[data-theme] #app .personal-record-table th:nth-child(1) {width:50px}
html[data-theme] #app .personal-record-table th:nth-child(2) {width:88px}
html[data-theme] #app .personal-record-table td {height:52px;padding:2px 0;border-bottom:1px solid var(--line);vertical-align:middle;min-width:0;color:var(--ink)}
html[data-theme] #app .personal-record-table tbody tr {cursor:pointer}
html[data-theme] #app .personal-record-table tbody tr:hover {background:var(--prologue-raised)}
html[data-theme] #app .personal-record-rank {display:flex;align-items:center;gap:5px;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}
html[data-theme] #app .personal-record-table .achievement-medal {width:18px;height:22px;flex-basis:18px}
html[data-theme] #app .personal-record-table .personal-record-measure {font-size:15px;font-weight:550;letter-spacing:-.2px;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] #app .personal-record-measure small {font-size:10px;font-weight:400;color:var(--muted)}
html[data-theme] #app .personal-record-activity {display:flex;flex-direction:column;justify-content:center;gap:3px;width:100%;height:48px;min-height:44px;padding:3px 0;border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left;overflow:hidden}
html[data-theme] #app .personal-record-activity strong {display:block;max-width:100%;font-size:12px;line-height:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] #app .personal-record-activity time {font-size:10px;line-height:14px;color:var(--muted)}
html[data-theme] #app .personal-record-activity:focus-visible {outline:2px solid var(--ink);outline-offset:-2px;border-radius:6px}
html[data-theme] #app .personal-bests-page .personal-bests-status {font-size:12px;margin:8px 0}
html[data-theme] #app .personal-bests-page .personal-bests-rules {margin:0 0 8px}
/* Profile pins and milestone cabinet share a restrained display scale. */
html[data-theme] #app .profile-milestones {padding:18px 0}
html[data-theme] #app .profile-milestones .member-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
html[data-theme] #app .profile-milestones .member-section-heading h2 {font-size:15px;font-weight:550;line-height:21px;margin:0}
html[data-theme] #app .profile-milestones .member-section-heading .btn {min-height:40px;padding:8px 0;font-size:12px;background:transparent;border:0;color:var(--muted)}
html[data-theme] #app .profile-pinned-milestones {gap:12px;margin-top:10px}
html[data-theme] #app .profile-pinned-milestone {gap:6px;min-height:88px;border-radius:12px;padding:4px 2px}
html[data-theme] #app .profile-pinned-milestone>svg,html[data-theme] #app .profile-pinned-milestone>span>svg {width:80px;max-width:100%;height:auto}
html[data-theme] #app .profile-pinned-milestone strong {font-size:11px;line-height:16px}
html[data-theme] #app .milestone-cabinet {gap:12px;max-width:960px;margin-inline:auto}
html[data-theme] #app .milestone-cabinet>.btn {justify-self:start;padding-left:0;min-height:40px;font-size:12px}
html[data-theme] #app .milestone-cabinet .community-heading {margin:0}
html[data-theme] #app .milestone-cabinet .community-heading h1 {font-size:24px;line-height:30px;margin:0}
html[data-theme] #app .milestone-cabinet .community-heading p {font-size:12px;line-height:18px;margin:4px 0 0}
html[data-theme] #app .milestone-cabinet .milestone-collections {gap:6px;padding:2px 0 4px;margin:0}
html[data-theme] #app .milestone-cabinet .milestone-collections .btn {min-height:40px;border-radius:24px;padding:8px 13px;font-size:12px;border:1px solid var(--line);background:transparent}
html[data-theme] #app .milestone-summary {display:flex;gap:18px;align-items:center;font-size:12px;color:var(--muted)}
html[data-theme] #app .milestone-summary strong {font-size:16px;font-weight:550;letter-spacing:-.3px;font-variant-numeric:tabular-nums;color:var(--ink);margin-right:4px}
html[data-theme] #app .milestone-cabinet .milestone-privacy-note {font-size:11px;line-height:17px;color:var(--muted);margin:0}
html[data-theme] #app .milestone-cabinet .milestone-grid {grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}
html[data-theme] #app .milestone-cabinet .milestone-tile {padding:12px 8px;gap:5px;border-radius:14px;background:transparent;min-width:0}
html[data-theme] #app .milestone-cabinet .milestone-tile.is-earned {background:var(--surface)}
html[data-theme] #app .milestone-cabinet .milestone-tile-art>svg {width:112px;max-width:100%;height:auto}
html[data-theme] #app .milestone-cabinet .milestone-tile strong {font-size:13px;line-height:18px}
html[data-theme] #app .milestone-cabinet .milestone-tile small,html[data-theme] #app .milestone-cabinet .milestone-tile>span:last-child {font-size:11px;line-height:16px}
html[data-theme] #app .milestone-detail {gap:14px}
html[data-theme] #app .milestone-detail .milestone-hero>svg {max-width:240px;height:auto}
html[data-theme] #app .milestone-detail h1 {font-size:24px;margin:4px 0 8px}
html[data-theme] #app .milestone-detail h2 {font-size:15px;margin-bottom:8px}
html[data-theme] #app .milestone-detail p {font-size:13px;line-height:1.6}
html[data-theme] #app .milestone-detail>section {padding-top:14px}
html[data-theme] #app .milestone-detail .community-form-actions {gap:8px}
html[data-theme] #app .milestone-detail .community-form-actions .btn {min-height:44px;padding:10px 14px;font-size:12px;border-radius:12px}
html[data-theme] #app .milestone-detail .milestone-evidence-row {min-height:60px;padding:10px 0}
html[data-theme] #app .milestone-detail .milestone-evidence-row strong {font-size:13px}
html[data-theme] #app .milestone-detail .milestone-evidence-row small {font-size:11px;margin-top:3px}
@media(max-width:360px){html[data-theme] #app .milestone-cabinet .milestone-grid {grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] #app .personal-record-table th:nth-child(2) {width:76px}}

/* A single medal above the map; results are disclosed only on request. */
html[data-theme] #app .feed-medal {position:relative;margin:0 18px 3px;border:0;background:transparent}
html[data-theme] #app .feed-medal>summary {display:flex;align-items:center;gap:5px;min-height:44px;width:max-content;min-width:44px;list-style:none;cursor:pointer;font-size:12px;color:var(--muted)}
html[data-theme] #app .feed-medal>summary::-webkit-details-marker {display:none}
html[data-theme] #app .feed-medal>summary .achievement-medal {width:19px;height:19px}
html[data-theme] #app .achievement-medal {fill:none;stroke:currentColor;color:#b8bdc8;flex:none}
html[data-theme] #app .achievement-medal.is-gold {color:#d6b969}
html[data-theme] #app .achievement-medal.is-silver {color:#bec7d1}
html[data-theme] #app .achievement-medal.is-bronze {color:#bf916c}
html[data-theme] #app .feed-medal-results {border-top:1px solid var(--line);padding-bottom:5px}
html[data-theme] #app .feed-medal-result {display:flex;align-items:center;gap:8px;min-height:46px;border-bottom:1px solid var(--line);font-size:12px;padding:7px 0}
html[data-theme] #app .feed-medal-result .achievement-medal {width:17px;height:17px}
html[data-theme] #app .feed-medal-result>span {flex:1;min-width:0}
html[data-theme] #app .feed-medal-result small {display:block;font-size:10px;color:var(--muted);margin-top:2px}
html[data-theme] #app .feed-medal-result strong {font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
html[data-theme] #app .feed-medal-link {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:12px;padding:0}
/* Climbing record type is a single compact selector, not another tab bar. */
html[data-theme] #app .personal-bests-climb-filter {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:6px 0 4px}
html[data-theme] #app .personal-bests-climb-filter>span {font-size:12px;color:var(--muted);line-height:18px}
html[data-theme] #app .personal-bests-climb-filter select {width:auto;max-width:65%;min-width:148px;min-height:44px;margin:0;padding:10px 28px 10px 12px;border:1px solid var(--line);border-radius:10px;background-color:var(--surface);color:var(--ink);font-size:12px}
html[data-theme] #app .personal-bests-elevation-note {font-size:11px;line-height:17px;color:var(--muted);margin:0 0 8px;max-width:620px}
/* Benchmark-first records: the winning effort is visible; history opens on demand. */
html[data-theme] #app .personal-bests-page .personal-record-card {margin:10px 0;border:1px solid var(--line);border-radius:17px;background:var(--surface);overflow:hidden}
html[data-theme] #app .personal-record-card>summary {display:flex;align-items:center;gap:13px;min-height:96px;padding:14px 15px;list-style:none;cursor:pointer;color:var(--ink)}
html[data-theme] #app .personal-record-card>summary::-webkit-details-marker {display:none}
html[data-theme] #app .personal-record-card>summary:focus-visible {outline:2px solid var(--ink);outline-offset:-3px;border-radius:16px}
html[data-theme] #app .personal-record-winner-medal {display:grid;place-items:center;flex:0 0 42px}
html[data-theme] #app .personal-record-winner-medal .achievement-medal {width:38px;height:44px;flex-basis:38px}
html[data-theme] #app .personal-record-winner-copy {display:grid;gap:3px;flex:1;min-width:0}
html[data-theme] #app .personal-record-benchmark {font-size:12px;line-height:17px;font-weight:500;color:var(--muted)}
html[data-theme] #app .personal-record-winner-value {font-size:29px;line-height:33px;font-weight:650;letter-spacing:-.9px;font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-theme] #app .personal-record-winner-value small {font-size:13px;line-height:20px;font-weight:400;letter-spacing:0;color:var(--muted)}
html[data-theme] #app .personal-record-winner-source {font-size:10px;line-height:15px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
html[data-theme] #app .personal-record-chevron {width:18px;height:18px;flex:0 0 18px;color:var(--muted);transition:transform .15s ease}
html[data-theme] #app .personal-record-card[open] .personal-record-chevron {transform:rotate(180deg)}
html[data-theme] #app .personal-record-expanded {padding:0 14px 8px}
html[data-theme] #app .personal-record-card .personal-record-table caption {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0}
html[data-theme] #app .personal-record-card .personal-record-table thead th {padding-top:8px}
html[data-theme] #app .personal-record-card .personal-record-table .achievement-medal {width:24px;height:28px;flex-basis:24px}
html[data-theme] #app .personal-record-card .personal-record-table th:first-child {width:54px}
html[data-theme] #app .personal-record-card .personal-record-table th:nth-child(2) {width:84px}
html[data-theme] #app .personal-record-card .personal-record-table tbody tr:last-child td {border-bottom:0}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .personal-record-chevron {transition:none}}

/* Individual ranking medallions sit above the route, without a results panel. */
html[data-theme] #app .feed-medal-rail {display:flex;align-items:flex-start;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 18px;margin:0;}
html[data-theme] #app .feed-medal-rail::-webkit-scrollbar {display:none}
html[data-theme] #app .feed-award {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:0 0 62px;width:62px;min-height:68px;padding:3px 0;background:transparent;border:0;border-radius:9px;color:var(--muted);cursor:pointer}
html[data-theme] #app .feed-award:hover {background:var(--prologue-raised)}
html[data-theme] #app .feed-award .achievement-medal {width:32px;height:32px}
html[data-theme] #app .feed-award>span {font-size:10px;font-weight:600;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-theme] #app .achievement-detail-modal {width:min(420px,calc(100vw - 24px))!important;max-height:80dvh;}
html[data-theme] #app .achievement-detail-modal .panel-head {padding:12px 16px!important}
html[data-theme] #app .achievement-detail-modal .panel-head h2 {font-size:17px!important}
html[data-theme] #app .achievement-detail-modal .panel-head>button {min-width:44px;min-height:44px}
html[data-theme] #app .achievement-detail {display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0}
html[data-theme] #app .achievement-detail .achievement-medal {width:64px;height:64px}
html[data-theme] #app .achievement-detail>p {font-size:14px;margin:0}
html[data-theme] #app .achievement-detail>strong {font-size:30px;font-weight:650;line-height:36px;font-variant-numeric:tabular-nums}
html[data-theme] #app .achievement-detail>span {font-size:12px;color:var(--muted)}
html[data-theme] #app .achievement-detail>small {font-size:11px;color:var(--muted);max-width:100%;overflow-wrap:anywhere}
html[data-theme] #app .achievement-detail>.you-tool-link {width:100%;min-height:48px;font-size:13px;margin-top:8px}
@media(max-width:600px){html[data-theme] #app .modal-shade:has(.achievement-detail-modal){align-items:flex-end;padding:0}html[data-theme] #app .achievement-detail-modal{width:100%!important;border-radius:22px 22px 0 0!important;margin:0;padding-bottom:env(safe-area-inset-bottom,0px)}}
html[data-theme] #app .modal.achievement-detail-modal {height:auto!important;min-height:0!important;flex:none!important}
/* One selected benchmark, with measured history and a separate rankings view. */
html[data-theme] #app .personal-bests-dashboard {max-width:760px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-heading {margin-bottom:12px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-heading h1 {font-size:25px;font-weight:600;letter-spacing:-.6px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-categories {margin-bottom:8px}
html[data-theme] #app .personal-metric-chips {display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;padding:4px 0 12px;overscroll-behavior-x:contain}
html[data-theme] #app .personal-metric-chips::-webkit-scrollbar {display:none}
html[data-theme] #app .personal-metric-chips button {white-space:nowrap;flex:none;min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:24px;background:transparent;color:var(--muted);font-size:12px;line-height:18px}
html[data-theme] #app .personal-metric-chips button[aria-pressed=true] {background:var(--ink);border-color:var(--ink);color:var(--surface);font-weight:550}
html[data-theme] #app .personal-record-tabs {display:flex;gap:28px;border-bottom:1px solid var(--line);margin:0 0 14px}
html[data-theme] #app .personal-record-tabs button {min-height:42px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;color:var(--muted);font-size:13px;font-weight:500}
html[data-theme] #app .personal-record-tabs button[aria-pressed=true] {color:var(--ink);border-bottom-color:var(--ink)}
html[data-theme] #app .personal-record-hero {display:flex;align-items:center;gap:14px;padding:8px 0 14px}
html[data-theme] #app .personal-record-hero-medal {flex:0 0 42px;display:grid;place-items:center}
html[data-theme] #app .personal-record-hero-medal .achievement-medal {width:40px;height:44px;flex-basis:40px}
html[data-theme] #app .personal-record-hero>div {display:grid;gap:3px;min-width:0;flex:1}
html[data-theme] #app .personal-record-hero h2 {font-size:12px;line-height:18px;font-weight:500;color:var(--muted);margin:0}
html[data-theme] #app .personal-record-hero strong {font-size:38px;line-height:43px;letter-spacing:-1.1px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}
html[data-theme] #app .personal-record-hero strong small {font-size:15px;font-weight:400;letter-spacing:0;color:var(--muted)}
html[data-theme] #app .personal-record-hero button {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:32px;padding:0;border:0;background:transparent;text-align:left;font-size:11px;color:var(--muted)}
html[data-theme] #app .personal-record-runners {display:flex;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0}
html[data-theme] #app .personal-record-runners button {display:flex;align-items:center;gap:9px;min-width:0;flex:1;min-height:46px;background:transparent;border:0;text-align:left;padding:0;color:var(--ink)}
html[data-theme] #app .personal-record-runners .achievement-medal {width:24px;height:28px;flex-basis:24px}
html[data-theme] #app .personal-record-runners button>span {display:grid;gap:4px;min-width:0}
html[data-theme] #app .personal-record-runners strong {font-size:16px;line-height:20px;font-weight:550;font-variant-numeric:tabular-nums}
html[data-theme] #app .personal-record-runners small {font-size:10px;line-height:15px;color:var(--muted);font-weight:400}
html[data-theme] #app .personal-best-chart {margin:16px 0 12px}
html[data-theme] #app .personal-best-chart figcaption {font-size:11px;color:var(--muted);line-height:18px;margin-bottom:5px}
html[data-theme] #app .personal-best-chart svg {display:block;width:100%;height:auto;overflow:visible}
html[data-theme] #app .personal-chart-grid {stroke:var(--line);stroke-width:1;fill:none}
html[data-theme] #app .personal-chart-label {font-size:11px;fill:var(--muted);font-family:inherit;font-variant-numeric:tabular-nums}
html[data-theme] #app .personal-chart-line {fill:none;stroke:var(--ink);stroke-opacity:.4;stroke-width:1.5;stroke-linejoin:round}
html[data-theme] #app .personal-chart-point {fill:var(--ink);stroke:var(--surface-2);stroke-width:1.5}
html[data-theme] #app .personal-chart-hit {fill:transparent;stroke:none}
html[data-theme] #app .personal-best-chart a:hover .personal-chart-point,html[data-theme] #app .personal-best-chart a:focus .personal-chart-point {fill:#e4c574;stroke:var(--ink);stroke-width:2}
html[data-theme] #app .personal-chart-empty,html[data-theme] #app .personal-history-limit {font-size:11px;line-height:17px;color:var(--muted);margin:16px 0}
html[data-theme] #app .personal-bests-dashboard .personal-record-table {margin:6px 0 16px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table caption {font-size:12px;font-weight:500;padding:6px 0 10px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table .achievement-medal {width:22px;height:25px;flex-basis:22px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table.is-history th:first-child {width:88px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table.is-history th:nth-child(2) {width:auto}
html[data-theme] #app .personal-bests-dashboard .personal-record-table th:first-child {width:52px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table th:nth-child(2) {width:88px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-rules {margin-top:10px;border-top:1px solid var(--line)}
@media(max-width:360px){html[data-theme] #app .personal-record-hero strong {font-size:34px;line-height:40px}html[data-theme] #app .personal-record-hero {gap:10px}html[data-theme] #app .personal-metric-chips button {padding-inline:12px}}
html[data-theme] #app .personal-best-chart svg {max-height:250px}
html[data-theme] #app .personal-best-chart .personal-chart-label {font-size:10px}
/* Compact dashboard controls leave the winning effort and history visible sooner. */
html[data-theme] #app .personal-bests-dashboard .personal-bests-compact-heading {display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;min-height:44px;margin:0 0 8px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-compact-heading>button {display:grid;place-items:center;width:40px;height:44px;min-height:44px;padding:0;margin:0;border:0;background:transparent;font-size:28px;line-height:32px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-compact-heading h1 {font-size:18px;line-height:24px;letter-spacing:-.3px;font-weight:550;text-align:center;margin:0}
html[data-theme] #app .personal-bests-filter-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;margin-bottom:5px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-filter-row .personal-bests-sports {margin:0;padding:2px;gap:2px;border-radius:11px}
html[data-theme] #app .personal-bests-dashboard .personal-bests-filter-row .personal-bests-sports button {padding:8px 4px;min-height:40px;font-size:12px;line-height:18px}
html[data-theme] #app .personal-bests-kind {margin:0;min-width:0}
html[data-theme] #app .personal-bests-kind select {width:100%;min-width:0;min-height:44px;padding:10px 24px 10px 10px;margin:0;border:1px solid var(--line);border-radius:11px;background-color:var(--surface);color:var(--ink);font-size:12px;line-height:18px}
html[data-theme] #app .personal-bests-dashboard .personal-metric-chips {padding-bottom:6px;gap:6px}
html[data-theme] #app .personal-bests-dashboard .personal-record-tabs {margin-bottom:8px}
html[data-theme] #app .personal-bests-dashboard .personal-record-hero {padding-top:4px;padding-bottom:8px}
html[data-theme] #app .personal-bests-page .personal-bests-heading h1{font-size:18px!important;line-height:24px!important;letter-spacing:-.25px!important}
/* Floating, balanced primary headers. Only the controls gain a glass surface on scroll. */
html[data-theme] #app .dc-no-sidebar .dc-topbar.dc-glass-header {background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none}
html[data-theme] #app .dc-glass-header :is(button,.dc-desktop-primary) {pointer-events:auto}
html[data-theme] #app .dc-glass-header .dc-icon-button {background:transparent;border:1px solid transparent;box-shadow:none;transition:background-color .18s ease,box-shadow .18s ease,border-color .18s ease}
html[data-theme] #app .dc-no-sidebar .dc-glass-header .dc-header-home {padding:4px 7px;border-radius:22px}
html[data-theme] #app .dc-glass-header.is-scrolled .dc-icon-button {background:var(--surface);border-color:var(--line);box-shadow:0 2px 12px #00000012}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
 html[data-theme] #app .dc-glass-header.is-scrolled .dc-icon-button {background:color-mix(in srgb,var(--surface) 68%,transparent);backdrop-filter:blur(16px) saturate(1.08);-webkit-backdrop-filter:blur(16px) saturate(1.08)}
}
html[data-theme] #app .dc-no-sidebar .dc-topbar-left {gap:0}
html[data-theme] #app .dc-no-sidebar .dc-nav-avatar {display:grid;place-items:center;overflow:hidden;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:var(--prologue-raised);border:1px solid var(--line);font-size:9px;line-height:1;color:var(--muted)}
html[data-theme] #app .dc-nav-avatar img {display:block;width:100%;height:100%;object-fit:cover}
html[data-theme] #app .dc-nav-item.is-active .dc-nav-avatar {border-color:var(--ink);color:var(--ink)}
html[data-theme] #app .dc-hills-desktop-nav {display:none}
html[data-theme] #app .dc-map-only .dc-content {padding:0!important;max-width:none!important}
html[data-theme] #app .dc-map-only .hills-workspace {top:0!important;left:0!important;right:0!important;padding:0!important}
html[data-theme] #app .dc-map-only .hills-workspace .hills-heading {top:calc(12px + env(safe-area-inset-top,0px))}
html[data-theme] #app .manual-activity-page {max-width:640px;margin:0 auto}
html[data-theme] #app .manual-activity-page>header {display:flex;align-items:center;gap:10px;margin-bottom:20px}
html[data-theme] #app .manual-activity-page>header h1 {font-size:23px;line-height:30px;letter-spacing:-.4px;margin:0}
html[data-theme] #app .manual-activity-page>header button {width:36px;height:44px;padding:0;font-size:28px;border:0;background:transparent}
html[data-theme] #app #manual-activity-form {display:grid;gap:18px}
html[data-theme] #app #manual-activity-form>label {display:grid;gap:8px;font-size:13px;font-weight:500;color:var(--ink)}
html[data-theme] #app #manual-activity-form :is(input,textarea,select) {width:100%;max-width:100%;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:13px 14px;color:var(--ink);font-size:16px;line-height:24px;box-shadow:none}
html[data-theme] #app #manual-activity-form textarea {min-height:220px;resize:vertical}
html[data-theme] #app #manual-activity-form>.note {font-size:12px;margin:0;color:var(--muted)}
html[data-theme] #app #manual-activity-form>button {min-height:46px;border-radius:13px;font-size:14px}
html[data-theme] #app #manual-activity-error {font-size:12px;line-height:18px;color:var(--danger,#ee8585);margin:0}
html[data-theme] #app #manual-activity-error:empty {display:none}
html[data-theme] #app .manual-activity-saved {padding:24px 0}
html[data-theme] #app .manual-activity-saved h2 {font-size:21px}
html[data-theme] #app .manual-activity-saved p {font-size:13px;line-height:1.6;color:var(--muted)}
html[data-theme] #app .activity-workout-details {padding:20px 0;border-top:1px solid var(--line)}
html[data-theme] #app .activity-workout-details>header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
html[data-theme] #app .activity-workout-details h2 {font-size:16px;line-height:22px;font-weight:550;margin:0}
html[data-theme] #app .activity-workout-details>header button {min-height:44px;padding:8px 0;font-size:12px;border:0;background:transparent}
html[data-theme] #app .activity-workout-description {white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:var(--ink);margin:0}
html[data-theme] #app #activity-session-details-form {display:grid;gap:12px;margin-top:12px}
html[data-theme] #app #activity-session-details-form textarea {width:100%;min-height:180px;max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);font-size:16px;line-height:24px;resize:vertical}
html[data-theme] #app #activity-session-details-form p {font-size:11px;line-height:17px;margin:0;color:var(--muted)}
html[data-theme] #app #activity-session-details-form>div {display:flex;gap:10px}
html[data-theme] #app #activity-session-details-form button {min-height:44px;padding:10px 16px;border-radius:12px;font-size:13px}
@media(min-width:1024px){
 html[data-theme] #app .dc-glass-header .dc-desktop-primary {border-radius:16px;padding:4px 8px;background:var(--surface);justify-self:center}
 html[data-theme] #app .dc-hills-desktop-nav {display:flex;align-items:center;gap:8px;position:fixed;z-index:40;bottom:18px;left:50%;transform:translateX(-50%);padding:6px 10px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 4px 20px #0002}
 html[data-theme] #app .dc-hills-desktop-nav .dc-nav-item {display:flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--muted);min-height:44px;padding:8px 14px;border-radius:12px;font-size:13px}
 html[data-theme] #app .dc-hills-desktop-nav .dc-nav-item.is-active {background:var(--prologue-raised);color:var(--ink)}
 html[data-theme] #app .dc-hills-desktop-nav .dc-nav-symbol svg {width:20px;height:20px}
}
@media(max-width:380px){html[data-theme] #app .dc-no-sidebar .dc-glass-header .dc-wordmark {font-size:24px!important}html[data-theme] #app .dc-no-sidebar .dc-glass-header .dc-header-home {padding-inline:4px}html[data-theme] #app .dc-no-sidebar .dc-glass-header {column-gap:2px}}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .dc-glass-header .dc-icon-button {transition:none}}
@media(prefers-reduced-transparency:reduce){html[data-theme] #app .dc-glass-header.is-scrolled .dc-icon-button {background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* The wordmark is plain text at the top; only action icons retain glass. */
html[data-theme] #app .dc-no-sidebar .dc-header-home {background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme] #app .dc-glass-header .dc-header-home {opacity:1;transition:opacity .12s ease;pointer-events:auto}
html[data-theme] #app .dc-glass-header.is-away-from-top .dc-header-home {opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .dc-glass-header .dc-header-home {transition:none}}

/* Account creation leads to a quiet, standalone membership comparison. */
.plan-onboarding{height:100%;overflow-y:auto;background:var(--bg);color:var(--ink);padding-bottom:env(safe-area-inset-bottom,0px);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.plan-onboarding-content{max-width:680px;margin:auto;padding:40px 24px}.plan-welcome{max-width:620px;margin-bottom:32px}.plan-welcome-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:32px}.plan-welcome-top>span{font-size:10px;letter-spacing:3px;color:var(--muted)}.plan-welcome-top>small{font-size:11px;white-space:nowrap;background:var(--surface);border:1px solid var(--line);padding:7px 11px;border-radius:20px}.plan-welcome h1{font-size:clamp(34px,5vw,48px)!important;line-height:1.1;letter-spacing:-1.5px;margin:0 0 16px!important}.plan-welcome>p{font-size:15px;line-height:1.65;color:var(--muted)}.plan-comparison{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}.plan-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden}.plan-card.is-premium{border-color:var(--amber,#d3bda2)}.plan-highlight{padding:9px 20px;background:var(--amber,#d3bda2);color:var(--bg);font-size:10px;letter-spacing:1.7px;font-weight:700}.plan-card-content{padding:22px;display:flex;flex-direction:column;gap:22px}.plan-name{display:flex;justify-content:space-between;align-items:center;gap:10px}.plan-name h2{font-size:24px!important;margin:0!important}.plan-name small{font-size:9px;letter-spacing:.5px;color:var(--muted)}.plan-card header p{font-size:13px;line-height:1.6;color:var(--muted);min-height:42px;margin:10px 0}.plan-amount{font-size:36px;letter-spacing:-1px;font-weight:650;white-space:nowrap}.plan-amount span{font-size:12px;letter-spacing:0;font-weight:400;color:var(--muted)}.plan-benefits{border-top:1px solid var(--line);padding-top:20px}.plan-benefits h3{font-size:11px!important;letter-spacing:.3px;color:var(--muted);margin:0 0 16px!important}.plan-benefits ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}.plan-benefits li{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.plan-benefits li span{flex:none}.is-premium .plan-benefits li span{color:var(--amber,#d3bda2)}.plan-card-note{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.plan-upgrade{display:grid;gap:10px}.plan-upgrade .btn{width:100%;min-height:48px}.plan-upgrade small{font-size:10px;color:var(--muted);text-align:center}.plan-coach-note{max-width:650px;padding:28px 2px 0}.plan-coach-note h2{font-size:15px!important;margin:0 0 10px!important}.plan-coach-note p{font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:760px){.plan-onboarding-content{max-width:520px;padding:24px 22px}.plan-comparison{grid-template-columns:1fr;gap:18px}.plan-welcome-top{margin-bottom:30px}.plan-welcome-top>span{font-size:9px;letter-spacing:1.8px}.plan-card header p{min-height:0}.plan-card-content{padding:20px}.plan-benefits li{font-size:14px}.plan-welcome{margin-bottom:26px}}
/* Strength summaries: text first, restrained measured stats and progressive set detail. */
html[data-theme] #app .activity-detail-strength .activity-detail-content {padding-top:18px}
html[data-theme] #app .activity-detail-strength .activity-detail-author {display:flex;align-items:center;gap:9px;margin:0 0 14px;font-size:13px;color:var(--muted)}
html[data-theme] #app .activity-author-avatar {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;overflow:hidden;background:var(--surface-2);flex:none;font-size:12px}
html[data-theme] #app .activity-author-avatar img {width:100%;height:100%;object-fit:cover}
html[data-theme] #app .activity-detail-author {display:flex;align-items:center;gap:9px;font-size:13px}
html[data-theme] #app .activity-detail-strength .activity-detail-title {font-size:25px!important;line-height:32px!important;margin:12px 0}
html[data-theme] #app .activity-detail-strength .activity-title-button {font-size:inherit!important;line-height:inherit!important;letter-spacing:-.5px}
html[data-theme] #app .activity-detail-strength .activity-workout-details {padding:0 0 18px;border-top:0}
html[data-theme] #app .activity-detail-strength .activity-workout-details>header {margin-bottom:3px;min-height:32px}
html[data-theme] #app .activity-detail-strength .activity-workout-details h2 {font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:500}
html[data-theme] #app .activity-detail-strength .activity-workout-description {font-size:14px;line-height:23px}
html[data-theme] #app .activity-detail-strength .activity-detail-stats {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 20px!important;margin:0 0 20px!important}
html[data-theme] #app .activity-detail-strength .activity-detail-stats>div {grid-column:auto!important;min-height:76px;padding:14px 0!important;border-top:1px solid var(--line)}
html[data-theme] #app .activity-detail-strength .activity-detail-stats dd {font-size:24px!important;line-height:30px!important;letter-spacing:-.4px;font-variant-numeric:tabular-nums;margin:0}
html[data-theme] #app .activity-detail-strength .activity-detail-stats dt {font-size:11px!important;line-height:18px!important;color:var(--muted);margin-top:3px;text-transform:none;letter-spacing:0}
html[data-theme] #app .activity-detail-results>h2 {font-size:15px!important;margin:0 0 8px}
html[data-theme] #app details.activity-exercise {margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:0}
html[data-theme] #app .activity-exercise>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:14px 0;min-height:64px}
html[data-theme] #app .activity-exercise>summary::-webkit-details-marker {display:none}
html[data-theme] #app .activity-exercise>summary>span:first-child {display:grid;gap:3px;min-width:0}
html[data-theme] #app .activity-exercise>summary strong {font-size:14px;font-weight:550;overflow-wrap:anywhere}
html[data-theme] #app .activity-exercise>summary small {font-size:11px;color:var(--muted)}
html[data-theme] #app .activity-exercise-chevron {font-size:19px;color:var(--muted);transition:transform .15s ease}
html[data-theme] #app .activity-exercise[open] .activity-exercise-chevron {transform:rotate(180deg)}
html[data-theme] #app .activity-exercise-sets {padding-bottom:12px}
html[data-theme] #app .activity-exercise-sets :is(.activity-set-head,.activity-set-row) {display:grid;grid-template-columns:40px 1fr 1fr;align-items:center;gap:8px;padding:9px 0;font-size:13px;font-variant-numeric:tabular-nums}
html[data-theme] #app .activity-exercise-sets .activity-set-head {font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
/* Authenticated activity media keeps its natural shape; galleries never require cropping. */
html[data-theme] #app .activity-photo-gallery {display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;margin:16px 0;padding-bottom:4px;max-width:100%;min-width:0}
html[data-theme] #app .activity-photo-gallery>button {display:block;flex:0 0 auto;max-width:88%;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--surface-2);scroll-snap-align:start;line-height:0;min-height:44px}
html[data-theme] #app .activity-photo-gallery img {display:block;width:auto;height:220px;max-width:100%;object-fit:contain;background:var(--surface-2)}
html[data-theme] #app .feed-outing>.activity-photo-gallery {margin:12px 18px 4px}
html[data-theme] #app .activity-photos-manage {min-height:44px;padding:10px 0;font-size:13px;border:0;background:transparent;color:var(--muted)}
html[data-theme] #app .activity-photo-editor {border-top:1px solid var(--line);padding:16px 0;margin:12px 0;min-width:0}
html[data-theme] #app .activity-photo-editor>header {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
html[data-theme] #app .activity-photo-editor h2 {font-size:14px;font-weight:550;line-height:20px;margin:0}
html[data-theme] #app .activity-photo-editor h2 small {font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}
html[data-theme] #app .activity-photo-editor>header button {min-height:44px;font-size:12px;padding:8px 0;border:0;background:transparent}
html[data-theme] #app .activity-photo-drafts {display:flex;gap:8px;overflow-x:auto;max-width:100%;min-width:0}
html[data-theme] #app .activity-photo-drafts figure {position:relative;margin:0;flex:0 0 auto;max-width:80%;overflow:hidden;border-radius:10px;background:var(--surface-2)}
html[data-theme] #app .activity-photo-drafts img {display:block;width:auto;max-width:100%;height:130px;object-fit:contain}
html[data-theme] #app .activity-photo-drafts button {position:absolute;right:2px;top:2px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;color:white;background:#0009;font-size:24px;line-height:1}
html[data-theme] #app .activity-photo-help {font-size:11px;line-height:17px;color:var(--muted);margin:10px 0}
html[data-theme] #app .activity-photo-error {font-size:12px;line-height:18px;color:var(--danger,#ee8585);margin:10px 0}
html[data-theme] #app .activity-photo-actions {display:flex;gap:10px;margin-top:12px}
html[data-theme] #app .activity-photo-actions button {min-height:44px;padding:10px 16px;font-size:13px;border-radius:12px}
html[data-theme] #app .modal.activity-photo-modal {position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#111!important;display:flex;flex-direction:column;overflow:hidden}
html[data-theme] #app .activity-photo-modal .panel-head {flex:none;min-height:64px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px!important;background:#111;color:#f5f5f5;border:0}
html[data-theme] #app .activity-photo-modal .panel-head h2 {font-size:15px;color:#f5f5f5}
html[data-theme] #app .activity-photo-modal .panel-head button {min-width:44px;min-height:44px;color:#f5f5f5;padding:10px}
html[data-theme] #app .activity-photo-modal .panel-body {min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding:0 0 env(safe-area-inset-bottom,0px)!important;overflow:hidden}
html[data-theme] #app .activity-photo-full {display:block;width:100%;height:100%;object-fit:contain}
@media(min-width:768px){html[data-theme] #app .activity-photo-gallery img {height:270px}}
@media(prefers-reduced-motion:reduce){html[data-theme] #app .activity-exercise-chevron {transition:none}}

/* Account sections scroll with the page; only the Valkyr shortcut header stays fixed. */
html[data-theme] #app .dc-you-workspace .dc-header-home {opacity:1;pointer-events:auto}
html[data-theme] #app .set-confirmation-hint {font-size:11px!important;line-height:1.5;color:var(--muted);margin-top:5px;max-width:54ch}

/* Keep Boost portraits together with the controls, clear of activity media. */
html[data-theme] #app .feed-outing .activity-boost-people {display:flex;align-items:center;min-height:28px;margin:14px 20px 0;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer}
html[data-theme] #app .activity-boost-avatars {display:flex;align-items:center}
html[data-theme] #app .activity-boost-avatars .social-avatar {display:grid;place-items:center;width:28px;height:28px;min-width:28px;border:2px solid var(--surface-2);border-radius:50%;background:var(--surface);font-size:12px;overflow:hidden}
html[data-theme] #app .activity-boost-avatars .social-avatar + .social-avatar {margin-left:-7px}
html[data-theme] #app .activity-boost-avatars .social-avatar img {width:100%;height:100%;border-radius:50%;object-fit:cover}
html[data-theme] #app .activity-boost-more {margin-left:7px;font-size:11px;color:var(--muted)}
html[data-theme] #app .feed-outing .activity-boost-people + .outing-social-bar {padding-top:0;padding-bottom:3px;min-height:47px}

html[data-theme] #app .manual-activity-choice {display:grid;gap:8px;font-size:13px;font-weight:500}
html[data-theme] #app .manual-activity-choice details {position:relative}
html[data-theme] #app .manual-activity-choice summary {display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);font-size:16px;cursor:pointer;list-style:none}
html[data-theme] #app .manual-activity-choice summary::-webkit-details-marker {display:none}
html[data-theme] #app .manual-activity-choice summary>span:nth-last-child(2),html[data-theme] #app .manual-activity-options button>span:nth-child(2) {flex:1}
html[data-theme] #app .manual-activity-choice .prologue-activity-badge {width:28px;height:28px;min-width:28px;flex:none}
html[data-theme] #app .manual-activity-options {position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;max-height:320px;overflow-y:auto;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 28px #0004}
html[data-theme] #app .manual-activity-options button {display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px;border:0;border-radius:9px;background:transparent;color:var(--ink);text-align:left;font:inherit;font-size:14px;cursor:pointer}
html[data-theme] #app .manual-activity-options button:is(:hover,:focus-visible),html[data-theme] #app .manual-activity-options button[aria-pressed=true] {background:var(--raised,var(--bg))}

/* Activity identity and management share one quiet header. */
html[data-theme] #app .activity-detail-identity {display:flex;align-items:center;gap:11px;min-width:0}
html[data-theme] #app .activity-detail-identity>div {display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
html[data-theme] #app .activity-detail-identity strong {font-size:15px;font-weight:600}
html[data-theme] #app .activity-detail-identity>div>span {font-size:11px;color:var(--muted);line-height:17px}
html[data-theme] #app .activity-detail-identity .activity-author-avatar {display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--raised);font-size:14px}
html[data-theme] #app .activity-detail-identity .activity-author-avatar img {width:100%;height:100%;object-fit:cover}
html[data-theme] #app .activity-detail-identity .activity-detail-menu {margin-left:auto;position:relative;flex:none}
html[data-theme] #app .activity-detail-identity .activity-detail-menu>summary {min-width:44px;min-height:44px;display:grid;place-items:center}
html[data-theme] #app .activity-detail-title-row {display:flex;align-items:flex-start;gap:11px}
html[data-theme] #app .activity-detail-title-row .prologue-activity-badge {width:36px;height:36px;min-width:36px;flex:none}
html[data-theme] #app .activity-detail-title-row .activity-detail-title {flex:1;margin:0;font-size:23px;line-height:29px;letter-spacing:-.5px}
html[data-theme] #app .today-activity-meta {overflow-wrap:anywhere}
html[data-theme] #app .activity-detail-identity .compact-menu-items {min-width:210px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);box-shadow:0 10px 30px #0004;z-index:20}
html[data-theme] #app .activity-detail-identity .compact-menu-items button {width:100%;min-height:44px;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left;font:inherit;font-size:13px}
html[data-theme] #app .activity-detail-identity .compact-menu-items button:is(:hover,:focus-visible) {background:var(--surface)}
html[data-theme] #app .activity-detail-identity .compact-menu-items .danger {color:var(--danger,#ff5d69);border-top:1px solid var(--line);border-radius:0}
html[data-theme] #app .activity-detail-identity .compact-menu-items small {display:block;padding:8px 12px;font-size:11px;line-height:16px;color:var(--muted)}

html[data-theme] #app .activity-detail-title .activity-title-edit {display:block;width:100%;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
html[data-theme] #app .activity-detail-title .activity-title-edit:focus-visible {outline:2px solid currentColor;outline-offset:4px;border-radius:4px}

/* Valkyr: a quiet wordmark and consistent, compact charcoal surfaces. */
html[data-theme=dark] {--surface-2:#151515;--surface:#1d1d1d;--prologue-raised:#292929;--line:#303030;--muted:#ababab;--ink:#f5f5f5;--text:#f5f5f5;--accent:#ececec;--green:#ececec}
html[data-theme=light] {--surface-2:#f7f7f7;--surface:#fff;--prologue-raised:#ededed;--line:#dedede;--muted:#636363;--ink:#202020;--text:#202020;--accent:#262626;--green:#262626}
html[data-theme] #app :is(.dc-wordmark,.entry-brand-name,.boot-wordmark) {font-family:var(--font-ui)!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:3px!important}
html[data-theme] #app .dc-no-sidebar .dc-wordmark {font-size:23px!important;line-height:30px}
html[data-theme] #app>.boot {background:var(--surface-2);color:var(--muted);gap:20px}
html[data-theme] #app>.boot .boot-wordmark {font-size:30px;line-height:40px;color:var(--ink);padding-left:.18em}
html[data-theme] #app .entry-page.entry-page {background:var(--surface-2)!important;padding:clamp(28px,6vh,64px) 24px}
html[data-theme] #app .entry-content {max-width:408px}
html[data-theme] #app .entry-brand {margin-bottom:30px;text-align:center}
html[data-theme] #app .entry-brand-name {font-size:48px!important;line-height:62px;letter-spacing:6px!important;padding-left:6px}
html[data-theme] #app .entry-brand>p {font-size:13px;line-height:20px;font-weight:400;letter-spacing:.02em;color:var(--muted);margin:12px 0 0}
html[data-theme] #app .entry-form {padding:26px!important;border-radius:18px!important;background:var(--surface)!important}
html[data-theme] #app .entry-heading {margin:0 0 24px}
html[data-theme] #app .entry-heading h1 {font-size:22px!important;line-height:30px!important;letter-spacing:-.5px!important}
html[data-theme] #app .entry-heading p {font-size:13px;line-height:20px;margin:8px 0 0;color:var(--muted)}
html[data-theme] #app .entry-fields {display:grid;gap:18px}
html[data-theme] #app .entry-form :is(input,select) {min-height:48px;border-radius:10px!important}
html[data-theme] #app .entry-submit {min-height:46px;border-radius:10px!important}
html[data-theme] #app .entry-footer {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 16px;margin-top:20px;font-size:11px}
html[data-theme] #app .entry-footer .btn {font-size:12px!important;padding:8px 0;min-height:44px}
html[data-theme] #app .entry-auth-action {min-height:46px;margin-top:14px;background:transparent!important;border-color:var(--line)!important;font-size:13px!important}
html[data-theme] #app :is(.today-activity-card,.store-product-card,.you-tool-link,.dc-nav-item) {transition:background-color 160ms ease,border-color 160ms ease,transform 160ms ease}
html[data-theme] #app .today-activity-card:hover {border-color:color-mix(in srgb,var(--ink) 26%,var(--line))!important}
html[data-theme] #app :is(.today-activity-card,.you-tool-link):active {transform:scale(.993)}
html[data-theme] #app .public-store-brand {font-size:20px;line-height:30px}
@media(max-width:360px){
 html[data-theme] #app .dc-no-sidebar .dc-wordmark {font-size:18px!important;letter-spacing:.14em!important}
 html[data-theme] #app .entry-page.entry-page {padding-inline:16px}
 html[data-theme] #app .entry-form {padding:20px!important}
}
@media(prefers-reduced-motion:reduce){html[data-theme] #app :is(.today-activity-card,.store-product-card,.you-tool-link,.dc-nav-item){transition:none;transform:none}}

html[data-theme] #app .entry-page.entry-page {grid-template-columns:minmax(0,1fr)}
html[data-theme] #app .entry-content {width:100%;min-width:0}
html[data-theme] #app .entry-page .entry-form .btn.primary {background:var(--accent)!important;color:var(--primary-text)!important;border-color:var(--accent)!important;min-height:48px}
html[data-theme] #app .entry-page .entry-form .field>input {background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--line)!important}

/* Progress and personal bests */
html[data-theme] #app {
 --progress-bg:#0a0908;--progress-card:#171310;--progress-raised:#211b16;
 --progress-line:#3b3129;--progress-text:#f7efe6;--progress-muted:#bfb0a3;
 --progress-warm:#ffc182;--progress-mint:#8fe5c0;--progress-gold:#f3cf73;
}
html[data-theme=light] #app {
 --progress-bg:#faf7f2;--progress-card:#fffdf9;--progress-raised:#f3ebe2;
 --progress-line:#e4d7c9;--progress-text:#261c16;--progress-muted:#6b5c50;
 --progress-warm:#944e21;--progress-mint:#226951;--progress-gold:#81610e;
}
html[data-theme] #app :is(.progress-dashboard,.personal-bests-dashboard,.movement-history,.progress-profile) {
 --progress-accent:var(--progress-warm);
 color:var(--progress-text);
}
html[data-theme] #app .personal-bests-dashboard[data-sport=hike] {--progress-accent:var(--progress-mint)}
html[data-theme] #app .dc-app:has(.progress-dashboard,.personal-bests-dashboard,.movement-history),
html[data-theme] #app .dc-app:has(.progress-dashboard,.personal-bests-dashboard,.movement-history) :is(.dc-workspace,.dc-content) {
 background:var(--progress-bg)!important;
}
html[data-theme] #app .progress-dashboard {display:grid;gap:12px}
html[data-theme] #app .progress-dashboard .screen-heading {margin:0}
html[data-theme] #app .progress-dashboard .progress-bests-link {
 min-height:44px;border:1px solid var(--progress-line);border-radius:12px;background:var(--progress-card);
 color:var(--progress-text);font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;
}
html[data-theme] #app .progress-bests-link>span {display:flex;align-items:center;gap:8px}
html[data-theme] #app .progress-bests-link svg {width:16px;height:16px;color:var(--progress-gold);flex:none}
html[data-theme] #app .progress-bests-link>svg:last-child {color:var(--progress-muted)}
html[data-theme] #app .progress-bests-link:hover {background:var(--progress-raised)}
html[data-theme] #app .progress-dashboard .radar-empty {background:var(--progress-card)!important;border-color:var(--progress-line)!important;border-radius:16px}
html[data-theme] #app .progress-profile {
 --profile-accent:var(--progress-warm)!important;--profile-ink:var(--progress-text)!important;
 --profile-muted:var(--progress-muted)!important;--profile-edge:var(--progress-line)!important;
 --profile-grid:var(--progress-line)!important;--profile-previous:var(--progress-muted)!important;
}
html[data-theme] #app :is(.progress-dashboard,.dc-app) .panel.progress-profile {
 background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;
}
html[data-theme] #app .progress-profile .radar-layout {gap:12px}
html[data-theme] #app .progress-profile .radar-layout .radar-plot {
 padding:12px!important;border:1px solid var(--progress-line)!important;border-radius:16px;
 background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--progress-warm) 8%,var(--progress-card)),var(--progress-card) 70%)!important;
}
html[data-theme] #app .progress-chart-heading h2 {margin:0;font-size:19px;line-height:24px;color:var(--progress-text)}
html[data-theme] #app .progress-chart-heading p {margin:3px 0 0;color:var(--progress-muted);font-size:12px}
html[data-theme] #app .progress-profile .radar {max-height:265px;margin:0 auto}
html[data-theme] #app .progress-profile .radar-label {font-size:14px!important}
html[data-theme] #app .progress-profile .radar-legend {margin:2px 0 4px;gap:5px 12px;font-size:11px}
html[data-theme] #app .progress-profile .radar-legend>span {white-space:nowrap}
html[data-theme] #app .progress-profile .radar-plot>.note {margin:4px 0 0;padding:0;max-width:none;color:var(--progress-muted);font-size:11px}
html[data-theme] #app .progress-profile .radar-detail {padding:0!important;border:0}
html[data-theme] #app .progress-profile .radar-results {display:grid;gap:6px;margin:0}
html[data-theme] #app .progress-profile .profile-results-head {padding:0;min-height:28px;color:var(--progress-muted)}
html[data-theme] #app .progress-profile .profile-results-head h3 {font-size:18px;color:var(--progress-text);padding:0}
html[data-theme] #app .progress-profile button.radar-test {
 display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:start;gap:4px 8px;
 min-height:58px;padding:9px 12px!important;border:1px solid var(--progress-line)!important;border-radius:12px;
 background:var(--progress-card)!important;color:var(--progress-text);
}
html[data-theme] #app .progress-profile button.radar-test:is(:hover,:focus-visible) {background:var(--progress-raised)!important}
html[data-theme] #app .progress-profile .radar-test::after {grid-column:3;grid-row:1;line-height:20px;font-size:16px;color:var(--progress-muted)}
html[data-theme] #app .progress-profile .profile-result-label {grid-column:1;grid-row:1;display:grid;gap:3px;min-width:0}
html[data-theme] #app .progress-profile .profile-result-label b {font-size:14px;line-height:18px}
html[data-theme] #app .progress-profile .profile-result-label small {font-size:11px;color:var(--progress-muted)}
html[data-theme] #app .progress-profile .profile-result-value {grid-column:2;grid-row:1;display:grid;gap:3px;text-align:right;margin:0;line-height:1.25}
html[data-theme] #app .progress-profile .profile-result-measure {font-size:17px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] #app .progress-profile .profile-target {font-size:11px;font-weight:400;color:var(--progress-muted)}
html[data-theme] #app .progress-profile .profile-target::before {content:none}
html[data-theme] #app .progress-profile .profile-score,
html[data-theme] #app .progress-profile .profile-result-foot {font-size:11px;line-height:16px;color:var(--progress-muted);margin:0}
html[data-theme] #app .progress-profile .profile-result-foot {grid-column:1/3;display:flex;flex-wrap:wrap;gap:3px 8px}
html[data-theme] #app .progress-profile :is(.profile-score.is-met,.profile-result-trend.is-improved),
html[data-theme] #app .progress-profile .radar-test.is-improved .profile-result-measure {color:var(--improved)}
html[data-theme] #app .progress-profile .profile-result-trend.is-declined,
html[data-theme] #app .progress-profile .radar-test.is-declined .profile-result-measure {color:var(--declined)}
@media(max-width:800px) {
 html[data-theme] #app .dc-app .progress-profile .radar-layout {grid-template-columns:minmax(0,1fr)!important}
 html[data-theme] #app .dc-app .progress-profile .radar-detail {grid-column:1;grid-row:auto}
}
@media(max-width:360px) {
 html[data-theme] #app .progress-profile .profile-result-measure {white-space:normal}
}
html[data-theme] #app .movement-history {--plot:var(--progress-warm);--line:var(--progress-line);--muted:var(--progress-muted);max-width:720px}
html[data-theme] #app .movement-history header h1 {margin:4px 0}
html[data-theme] #app .movement-history .history-metrics {display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
html[data-theme] #app .movement-history :is(.history-metrics>div:not(.history-change),.history-plot,.history-selected,.history-results>button) {
 border:1px solid var(--progress-line);border-radius:12px;background-color:var(--progress-card);
}
html[data-theme] #app .movement-history .history-metrics>div:not(.history-change) {flex:1 1 100px;padding:10px}
html[data-theme] #app .movement-history .history-metrics strong {font-size:19px;line-height:25px;margin:2px 0}
html[data-theme] #app .movement-history .history-latest {--latest-tone:var(--progress-warm)}
html[data-theme] #app .movement-history .history-latest.is-improved {--latest-tone:var(--improved)}
html[data-theme] #app .movement-history .history-latest.is-declined {--latest-tone:var(--declined)}
html[data-theme] #app .movement-history .history-latest strong {color:var(--latest-tone)}
html[data-theme] #app .movement-history .history-latest .history-point-marker {background:var(--latest-tone)}
html[data-theme] #app .movement-history .history-metrics .history-change {flex-basis:100%;margin:0}
html[data-theme] #app .movement-history .history-selected {padding:10px;margin:8px 0;background-color:var(--progress-raised)}
html[data-theme] #app .movement-history .history-plot {margin:8px auto 0;max-width:520px}
html[data-theme] #app .movement-history .history-results {margin-top:10px}
html[data-theme] #app .movement-history .history-results>button {padding:8px 10px;margin-bottom:6px;min-height:48px}
html[data-theme] #app .movement-history .history-results>button[aria-pressed=true] {border-color:var(--progress-warm);background:var(--progress-raised)}
html[data-theme] #app .personal-bests-dashboard :is(.personal-bests-sports,.personal-bests-kind select) {border-color:var(--progress-line);background:var(--progress-raised);color:var(--progress-text)}
html[data-theme] #app .personal-bests-dashboard .personal-bests-sports button[aria-pressed=true] {background:var(--progress-card);color:var(--progress-accent)}
html[data-theme] #app .personal-bests-dashboard .personal-metric-chips button {border-radius:11px;border-color:var(--progress-line);background:var(--progress-card);color:var(--progress-muted);min-height:44px}
html[data-theme] #app .personal-bests-dashboard .personal-metric-chips button[aria-pressed=true] {background:var(--progress-accent);border-color:var(--progress-accent);color:var(--progress-bg)}
html[data-theme] #app .personal-bests-dashboard .personal-record-tabs button[aria-pressed=true] {color:var(--progress-accent);border-color:var(--progress-accent)}
html[data-theme] #app .personal-bests-dashboard .personal-record-analysis {display:grid;gap:8px}
html[data-theme] #app .personal-bests-dashboard .personal-record-hero {padding:12px;min-height:92px;border:1px solid var(--progress-line);border-radius:16px;background:var(--progress-card)}
html[data-theme] #app .personal-bests-dashboard .personal-record-hero :is(h2,strong) {color:var(--progress-gold)}
html[data-theme] #app .personal-bests-dashboard .personal-record-hero strong {font-size:34px;line-height:39px}
html[data-theme] #app .personal-bests-dashboard .personal-record-hero button {min-height:34px;color:var(--progress-muted)}
html[data-theme] #app .personal-bests-dashboard .personal-record-runners {gap:6px;border:0;padding:0}
html[data-theme] #app .personal-bests-dashboard .personal-record-runners button {padding:7px 8px;min-height:52px;border:1px solid var(--progress-line);border-radius:12px;background:var(--progress-card)}
html[data-theme] #app .personal-bests-dashboard .personal-best-chart {margin:0;padding:10px;border:1px solid var(--progress-line);border-radius:16px;background:var(--progress-card)}
html[data-theme] #app .personal-bests-dashboard .personal-best-chart figcaption {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;color:var(--progress-muted);margin:0}
html[data-theme] #app .personal-bests-dashboard .personal-best-chart figcaption strong {font-size:14px;color:var(--progress-text)}
html[data-theme] #app .personal-bests-dashboard .personal-best-chart svg {max-height:215px}
html[data-theme] #app .personal-bests-dashboard .personal-chart-grid {stroke:var(--progress-line)}
html[data-theme] #app .personal-bests-dashboard .personal-chart-label {fill:var(--progress-muted)}
html[data-theme] #app .personal-bests-dashboard .personal-chart-line {stroke:var(--progress-accent);stroke-opacity:1;stroke-width:2.2}
html[data-theme] #app .personal-bests-dashboard .personal-chart-point {fill:var(--progress-accent);stroke:var(--progress-card)}
html[data-theme] #app .personal-bests-dashboard .is-record .personal-chart-point {fill:var(--progress-gold)}
html[data-theme] #app .personal-bests-dashboard .is-latest .personal-chart-point {stroke:var(--progress-text)}
html[data-theme] #app .personal-bests-dashboard .personal-record-table {width:100%;margin:0 0 8px;background:var(--progress-card);border:1px solid var(--progress-line);border-radius:12px}
html[data-theme] #app .personal-bests-dashboard .personal-record-table td {border-color:var(--progress-line)}
