/* Shared visual system. Keep product state, data and feature controls in their existing modules. */
:root {
  --ink:#173b32;
  --muted:#536b62;
  --page:#f5f8f4;
  --line:#d8e3dc;
  --green:#286c5e;
  --green-deep:#1d5145;
  --ui-ease:cubic-bezier(.22,1,.36,1);
  --session-dock-height:100px;
}
body { background:#f5f8f4; -webkit-font-smoothing:antialiased; }
::selection { color:#123b31; background:#cce8d7; }
button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button,a,input,select,textarea,summary { touch-action:manipulation; }
button:disabled { cursor:not-allowed; }
h1,h2,h3 { text-wrap:balance; }
p { text-wrap:pretty; }
ol > li::marker { content:counter(list-item) " "; }
.home-header,main,footer { width:min(1280px,calc(100% - clamp(40px,7vw,112px))); }
.home-header { position:relative; z-index:50; min-height:88px; gap:24px; }
.home-brand { flex-shrink:0; gap:12px; }
.home-brand > span { width:40px; height:40px; border-radius:12px 20px 12px 20px; box-shadow:none; }
.home-brand strong { font-size:1.08rem; letter-spacing:-.04em; }
.home-header nav { gap:clamp(16px,2vw,30px); }
.home-header nav > a { display:flex; align-items:center; min-height:44px; font-size:.875rem; font-weight:650; }
.home-header nav > a::after { bottom:2px; }
.site-menu-toggle { display:none; }
.home-eyebrow { font-size:.75rem; letter-spacing:.12em; line-height:1.5; }
.primary-cta,.secondary-cta,.coach-button { min-height:48px; border-radius:12px; font-size:.875rem; font-weight:700; }
.primary-cta,.coach-button-primary { box-shadow:0 4px 12px #173b3210; }
.text-button { min-height:40px; font-size:.875rem; text-underline-offset:4px; }
:is(.primary-cta,.secondary-cta,.coach-button,.text-button,.site-menu-toggle,summary):focus-visible {
  outline:3px solid #3c8c76; outline-offset:4px;
}
input:not([type="checkbox"]),select,textarea { transition:border-color 180ms,box-shadow 180ms,background 180ms; }
input:not([type="checkbox"]):focus,select:focus,textarea:focus { border-color:#347a64; box-shadow:0 0 0 4px #347a6417; }
:is(.primary-cta,.secondary-cta,.coach-button,.text-button) > [aria-hidden="true"] { transition:transform 200ms var(--ui-ease); }
:is(.primary-cta,.secondary-cta,.coach-button,.text-button):hover > [aria-hidden="true"] { transform:translateX(3px); }
footer { gap:32px; margin-top:24px; padding:32px 0; }
footer p { max-width:70ch; font-size:.8125rem; line-height:1.65; }

/* The brand uses a forest-green field, mint highlights and warm paper surfaces. */
.home-page .home-hero,.guide-page .guide-hero,.coach-page .coach-intro,.outdoor-page .outdoor-hero {
  border-radius:28px; box-shadow:0 14px 38px #163f3010;
}
.home-page .home-hero { grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr); min-height:530px; gap:56px; margin-top:24px; padding:52px; }
.home-page .home-hero h1 { font-size:clamp(3rem,4.5vw,4.45rem); line-height:1.05; letter-spacing:-.052em; margin-bottom:24px; }
.home-page .home-hero h1 span { letter-spacing:-.055em; }
.home-page .home-hero .home-eyebrow { margin-bottom:24px; font-size:.75rem; }
.home-page .home-hero .hero-lead { max-width:49ch; font-size:1rem; line-height:1.65; margin-bottom:27px; }
.home-page .hero-actions { gap:12px; }
.home-page .evidence-summary { position:relative; align-self:center; padding:28px; border-radius:20px; box-shadow:none; }
.home-page .evidence-summary > .home-eyebrow { margin-bottom:22px; }
.home-page .summary-stat-primary { display:grid; grid-template-columns:94px 1fr; align-items:center; gap:18px; padding:0 0 23px; }
.home-page .summary-stat-primary strong { font-size:7rem; margin:0; line-height:.85; }
.home-page .summary-stat-primary span { font-size:.9375rem; font-weight:600; line-height:1.45; }
.home-page .summary-stat-row { grid-template-columns:1fr 1fr; gap:24px; }
.home-page .summary-stat-row .summary-stat { padding-top:22px; }
.home-page .summary-stat-row span { font-size:.8125rem; line-height:1.55; }
.home-page .summary-note { margin-top:22px; font-size:.75rem; line-height:1.6; }
.home-page .evidence-intro { grid-template-columns:.55fr 1.45fr; gap:40px; padding:68px 0 28px; }
.home-page .evidence-intro h2 { max-width:22ch; font-size:clamp(2.15rem,3.3vw,3.15rem); letter-spacing:-.045em; line-height:1.1; }
.home-page .evidence-intro div > p { margin-bottom:0; font-size:.9375rem; }
.home-page .topics-controls { padding:0 0 17px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.topic-filter { min-height:44px; font-size:.8125rem; }
.home-page .topics-grid { gap:16px; }
.home-page .topic-card,.home-page .topic-card-button { min-height:240px; }
.home-page .topic-card { border-radius:18px; box-shadow:none; }
.home-page .topic-card-button { padding:25px; }
.home-page .topic-card-title { margin-top:25px; font-size:1.65rem; letter-spacing:-.04em; }
.home-page .topic-short { font-size:.875rem; line-height:1.6; }
.home-page .topic-card-action { font-size:.8125rem; padding-top:18px; }
.home-page .topic-card::after { font-size:6.5rem; right:20px; bottom:-14px; }
.home-page .topic-card:last-child:nth-child(7) { grid-column:span 3; min-height:190px; }
.home-page .topic-card:last-child:nth-child(7) .topic-card-button { min-height:190px; }
.home-page .topics-section { padding-bottom:64px; }
.home-page .research-section { padding:36px 40px; gap:45px; margin-bottom:20px; border-radius:22px; }
.home-page .research-section h2 { font-size:2.15rem; letter-spacing:-.04em; }
.home-page .research-copy { font-size:.9375rem; }
.home-page .final-cta { min-height:0; padding:30px 40px; border-radius:22px; box-shadow:none; }
.home-page .final-cta h2 { font-size:1.8rem; }

/* Guide: the time chooser and its results share one clear reading path. */
.guide-page .guide-hero { gap:40px; margin-top:24px; padding:36px 40px; grid-template-columns:1.3fr 1fr; }
.guide-page .guide-hero h1 { max-width:16ch; font-size:clamp(2.65rem,4.3vw,4.2rem); line-height:1.04; letter-spacing:-.05em; }
.guide-quick-start { padding:25px; border-radius:18px; }
.guide-quick-start h2 { max-width:none; font-size:1.75rem; line-height:1.15; letter-spacing:-.04em; }
.guide-quick-start .duration-filter { min-height:48px; font-size:.875rem; }
.guide-quick-start .home-eyebrow,.guide-quick-start .topics-count { font-size:.75rem; }
.guide-page .guide-browser { padding:36px 0 44px; }
.guide-page .guide-section-heading h2 { font-size:clamp(1.9rem,3vw,2.75rem); letter-spacing:-.045em; }
.guide-page .guide-section-heading .home-eyebrow { font-size:.75rem; }
.guide-page .activity-grid { gap:16px; }
.guide-page .activity-card { border-radius:18px; border-color:#dbe5dc; }
.guide-page .activity-card,.guide-page .activity-card-button { min-height:236px; }
.guide-page .activity-card-button { padding:24px; }
.guide-page .activity-card-title { max-width:18ch; font-size:1.6rem; letter-spacing:-.035em; }
.guide-page .activity-card-copy { font-size:.875rem; line-height:1.55; }
.guide-page .activity-card-footer { font-size:.8125rem; padding-top:20px; }
.guide-page .activity-card::after { top:auto; bottom:18px; font-size:6rem; }
.guide-page .activity-duration { font-size:.75rem; }
.guide-page .guide-evidence-note { margin-bottom:28px; background:#edf2e9; border-radius:18px; }
.guide-page .guide-evidence-note h2 { font-size:1.65rem; }
.guide-page .guide-evidence-note > p { font-size:.875rem; }
.topic-dialog { border-radius:24px 0 0 24px; }
.topic-dialog-header { padding:32px 76px 26px 32px; }
.topic-dialog-header h3 { font-size:clamp(2rem,3.5vw,2.8rem); line-height:1.1; letter-spacing:-.04em; }
.topic-dialog-body { padding:28px 32px 36px; }
.topic-dialog-close { width:44px; height:44px; top:22px; right:20px; }
.topic-dialog-body h4,.activity-source-disclosure > summary { font-size:.9375rem; }
.topic-dialog-summary,.topic-dialog-body section > p { font-size:.9375rem; }
.topic-source-list li,.topic-dialog-disclaimer { font-size:.8125rem; }

/* Working pages: a compact title, a stable task rail and a generous working area. */
.outdoor-page .outdoor-hero,.coach-page .coach-intro { margin:24px 0; padding:28px 36px; }
.outdoor-page .outdoor-hero h1,.coach-page .coach-intro h1 { margin:0 0 10px; font-size:clamp(2.2rem,3.6vw,3.5rem); line-height:1.08; letter-spacing:-.045em; }
.outdoor-page .outdoor-hero .home-eyebrow,.coach-page .coach-intro .home-eyebrow { margin-bottom:12px; font-size:.75rem; }
.outdoor-page .outdoor-hero .hero-lead,.coach-page .coach-intro .hero-lead { max-width:65ch; font-size:.9375rem; line-height:1.6; }
.outdoor-page .outdoor-quick-links { display:none; } /* The persistent task rail exposes both destinations. */
.outdoor-page .outdoor-task-shell,.coach-task-shell { grid-template-columns:152px minmax(0,1fr); gap:28px; }
.outdoor-page .outdoor-task-main { padding:0; min-height:540px; border:0; border-radius:0; background:none; }
.outdoor-page .outdoor-view-picker,.coach-task-nav { padding:8px; border:1px solid var(--line); border-radius:16px; box-shadow:none; background:#edf3ed; gap:6px; }
.outdoor-page .outdoor-view-picker > span { font-size:.7rem; margin:8px 0 12px; }
.outdoor-page .outdoor-view-picker button,.coach-task-nav button { min-height:54px; padding:0 12px; gap:10px; font-size:.875rem; border-radius:10px; transition:color 160ms,background 160ms; }
.outdoor-page .outdoor-view-picker button[aria-pressed="true"],.coach-task-nav button[aria-selected="true"] { color:#fff; background:#245c4c; box-shadow:0 3px 10px #173b3210; }
.outdoor-page .outdoor-view-picker button > span { border:0; flex-basis:18px; width:auto; height:auto; font-size:.6875rem; }
.coach-task-nav button:hover { transform:none; }
.outdoor-page .recommendation-context-summary { gap:0; margin:0 0 24px; padding:12px 0; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; }
.outdoor-page .recommendation-context-summary span { padding:3px 14px; border:0; border-radius:0; font-size:.8125rem; font-weight:600; background:none; }
.outdoor-page .recommendation-context-summary span:first-child { padding-left:0; color:#245c4c; }
.outdoor-page .recommendation-context-summary span + span { border-left:1px solid #cbd9ce; }
.outdoor-page #places-workspace:not([hidden]) { grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); gap:18px; }
.outdoor-page .outdoor-controls h2,.outdoor-page .activity-recommendation-heading h2,.outdoor-page .finish-heading h2,.coach-panel-heading h2 { font-size:clamp(1.9rem,2.65vw,2.6rem); line-height:1.1; letter-spacing:-.045em; }
.outdoor-page .outdoor-controls > header .home-eyebrow,.outdoor-page .activity-recommendation-heading .home-eyebrow { margin-bottom:8px; }
.outdoor-page .location-panel,.outdoor-page .break-time-panel { padding:22px; border-radius:18px; }
.outdoor-page .location-panel h3,.outdoor-page .break-time-panel > label { font-size:.9375rem; }
.outdoor-page .location-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.outdoor-page .location-panel > * { grid-column:1/-1; }
.outdoor-page .location-panel > h3 { grid-column:1; grid-row:1; margin:0; }
.outdoor-page .location-panel > #use-current-location { grid-column:2; grid-row:1; padding-inline:12px; font-size:.8125rem; }
.outdoor-page .location-panel > .control-or { display:none; }
.outdoor-page .manual-location-form label { font-size:.8125rem; line-height:1.5; }
.outdoor-page .manual-location-form input,.outdoor-page .break-time-panel select { font-size:1rem; min-height:48px; }
.outdoor-page .manual-location-form > div { gap:8px; }
.outdoor-page .manual-location-form .coach-button { padding-inline:16px; }
.outdoor-page .outdoor-status-card { padding:13px 0 13px 13px; border:0; border-radius:0; background:none; }
.outdoor-page .outdoor-status-card strong { font-size:.875rem; font-weight:650; line-height:1.5; }
.outdoor-page .outdoor-status-card small { font-size:.75rem; }
.outdoor-page .outdoor-status-card .status-label { font-size:.6875rem; }
.outdoor-page .confirmed-location { padding:15px; border-radius:12px; }
.outdoor-page .confirmed-location strong { font-size:.875rem; }
.outdoor-page .confirmed-location small,.outdoor-page .location-panel .control-message,.outdoor-page .location-privacy-note { font-size:.8125rem; line-height:1.55; }
.outdoor-page .location-privacy-note { margin-top:8px; }
.outdoor-page .break-time-panel { background:#f5f0e5; }
.outdoor-page .break-time-panel { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:8px 16px; }
.outdoor-page .break-time-panel > label { grid-column:1; grid-row:1; margin:0; }
.outdoor-page .break-time-panel > select { grid-column:2; grid-row:1; margin:0; }
.outdoor-page .break-time-explanation { grid-column:1; grid-row:2; margin:0; }
.outdoor-page #refresh-outdoor-data { grid-column:2; grid-row:2; font-size:.8125rem; }
.outdoor-page .break-time-explanation summary { min-height:28px; font-size:.8125rem; }
.outdoor-page .break-time-explanation p { font-size:.8125rem; line-height:1.55; }
.outdoor-page .destination-browser { padding:24px; border-radius:20px; }
.outdoor-page .destination-heading { align-items:start; }
.outdoor-page .destination-heading h2 { font-size:1.65rem; line-height:1.18; letter-spacing:-.04em; }
.outdoor-page .destination-heading p:last-child { font-size:.875rem; line-height:1.6; }
.outdoor-page .destination-heading > .text-button { font-size:.8125rem; }
.outdoor-page .destination-filters { gap:6px; margin-bottom:18px; }
.outdoor-page .destination-filters button { min-height:42px; font-size:.75rem; padding:0 12px; }
.outdoor-page .destination-filters button:hover:not([aria-pressed="true"]) { color:#1d5145; background:#e4eee5; border-color:#a8c3b4; }
.outdoor-page .destination-grid { gap:12px; }
.outdoor-page .destination-card { padding:18px; grid-template-columns:minmax(0,1fr); gap:7px; background:#f8faf6; border-radius:14px; }
.outdoor-page .destination-card h3 { font-size:1.3rem; letter-spacing:-.03em; }
.outdoor-page .destination-card .destination-meta,.outdoor-page .destination-card .destination-route-note { font-size:.8125rem; line-height:1.55; }
.outdoor-page .destination-card .coach-button { grid-column:1; grid-row:auto; justify-self:start; min-height:42px; margin-top:3px; }
.outdoor-page .destination-details summary { min-height:32px; font-size:.8125rem; }
.outdoor-page .destination-details .destination-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.outdoor-page .outdoor-empty { padding:26px 22px; font-size:.9375rem; line-height:1.65; border-style:dashed; }
.outdoor-page .weather-disclosure { margin-top:0; border-radius:18px; }
.outdoor-page .weather-disclosure summary { flex-wrap:wrap; gap:16px; padding:20px; }
.outdoor-page .weather-copy { min-width:0; }
.outdoor-page .weather-copy p { font-size:.8125rem; }
.outdoor-page .weather-glance { width:100%; justify-content:space-between; }
.outdoor-page .weather-glance strong,.outdoor-page .weather-open-cue { font-size:.8125rem; }
.outdoor-page .weather-readings dt,.outdoor-page .weather-panel small { font-size:.75rem; }
.outdoor-page .weather-readings dd { font-size:.9375rem; }
.outdoor-page .outdoor-alternative { background:#f5f0e5; border-radius:18px; }
.outdoor-page .outdoor-alternative h2 { font-size:1.4rem; }
.outdoor-page .route-details h2 { letter-spacing:-.035em; }
.outdoor-page .route-facts dd { font-size:1.15rem; font-variant-numeric:tabular-nums; }
.outdoor-page .route-map,.outdoor-page .route-map-panel { min-height:340px; }
.outdoor-page .recommendation-workspace { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:20px; }
.outdoor-page .activity-need-form,.outdoor-page .recommendation-output { padding:26px; border-radius:18px; }
.outdoor-page .activity-need-form legend,.outdoor-page .activity-need-form > label { font-size:.875rem; }
.outdoor-page .activity-need-options { gap:10px; }
.outdoor-page .activity-need-options button { min-height:58px; font-size:.9375rem; border-radius:12px; }
.outdoor-page .activity-need-form textarea { min-height:92px; font-size:1rem; line-height:1.5; }
.outdoor-page .activity-need-footer { flex-wrap:wrap; gap:12px; }
.outdoor-page .activity-need-footer .coach-button { flex:1; }
.outdoor-page .control-message { font-size:.8125rem; line-height:1.55; }
.outdoor-page .recommendation-result h3,.outdoor-page .recommendation-empty h3 { max-width:20ch; font-size:clamp(1.6rem,2.2vw,2.2rem); line-height:1.15; letter-spacing:-.04em; }
.outdoor-page .recommendation-fit p,.outdoor-page .recommendation-weather-note,.outdoor-page .recommendation-safety { font-size:.875rem; line-height:1.55; }
.outdoor-page .recommendation-steps summary,.outdoor-page .recommendation-explanation summary { min-height:48px; font-size:.875rem; }
.outdoor-page .recommendation-steps li,.outdoor-page .recommendation-explanation p { font-size:.875rem; line-height:1.6; }
.outdoor-page .activity-outcome-actions { flex-wrap:wrap; gap:12px; }
.outdoor-page .outdoor-activity-library { margin-top:20px; }
.outdoor-page .outdoor-data-note { max-width:none; margin:24px 0 0 180px; }
.outdoor-page .outdoor-data-note summary strong { font-size:.9375rem; }
.outdoor-page .activity-feedback-center { padding:28px; border-radius:18px; }

/* Session metrics retain their hierarchy when readings change. */
.coach-session-dock { margin-bottom:24px; border-radius:16px; padding:16px 20px; box-shadow:0 8px 24px #173b320a; }
.coach-page .coach-session-dock .coach-clock output { font-variant-numeric:tabular-nums; letter-spacing:-.03em; font-size:2rem; }
.coach-page .coach-session-dock .coach-clock p { font-size:.8125rem; }
.coach-page .coach-session-dock .coach-button { min-height:46px; font-size:.875rem; }
.coach-floating-action p { font-size:.75rem; max-width:27ch; line-height:1.4; }
.coach-task-nav { top:calc(var(--session-dock-height) + 26px); }
.coach-page .posture-alert { top:calc(var(--session-dock-height) + 20px); }
.coach-task-shell { scroll-margin-top:calc(var(--session-dock-height) + 24px); }
.coach-panel-heading { display:block; margin:0 0 22px; }
.coach-panel-heading .home-eyebrow { margin-bottom:8px; font-size:.75rem; }
.coach-page .coach-workspace { gap:20px; }
.coach-page .coach-camera-card { padding:22px; border-radius:20px; box-shadow:none; }
.coach-page .coach-camera-shell { min-height:280px; border-radius:14px; }
.coach-page .coach-signals { gap:12px; }
.coach-page .coach-metric-card { padding:20px; border-radius:16px; box-shadow:none; }
.coach-page .coach-metric-topline h3 { font-size:1rem; line-height:1.35; }
.coach-page .coach-metric-topline p { font-size:.6875rem; letter-spacing:.06em; }
.coach-page .coach-score strong { font-size:2.2rem; font-variant-numeric:tabular-nums; letter-spacing:-.045em; }
.coach-page .coach-metric-label,.coach-page .coach-metric-detail,.coach-disclosure > summary,.coach-metric-disclosure > summary { font-size:.8125rem; line-height:1.55; }
.coach-metric-disclosure > summary { min-height:30px; }
.coach-disclosure > summary { min-height:30px; }
.coach-schedule-disclosure > summary,.coach-privacy-disclosure > summary { min-height:58px; font-size:.9375rem; }
.coach-next-actions button { min-height:72px; border-radius:14px; font-size:.9375rem; }
.coach-task-panel .recovery-control-card { max-width:none; min-height:360px; padding:32px; border-radius:20px; }
.coach-task-panel .recovery-control-card h2 { font-size:2rem; letter-spacing:-.04em; }
.coach-task-panel .coach-recovery-hint { font-size:.875rem; }
.coach-task-panel .indoor-activities { padding:24px; border-radius:20px; }
.coach-task-panel .indoor-activity-workspace { grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr); gap:20px; }
.coach-task-panel .indoor-activity-option { padding:20px; }
.coach-task-panel .indoor-activity-detail { padding:26px; border-radius:18px; }
.coach-task-panel .indoor-activity-detail h3 { font-size:clamp(1.6rem,2.2vw,2.3rem); letter-spacing:-.04em; }
.coach-task-panel .guided-movement-instructions { padding:22px; }
.coach-task-panel .guided-movement-instructions li { line-height:1.65; }

/* Short, purposeful feedback. Nothing is hidden waiting for an animation. */
@keyframes surface-arrive { from { opacity:.65; transform:translateY(6px); } to { opacity:1; transform:none; } }
.outdoor-view-panel:not([hidden]),.coach-task-panel:not([hidden]),.topic-dialog[open] { animation:surface-arrive 240ms var(--ui-ease); }
.outdoor-status-card[data-busy="true"] .status-symbol { position:relative; color:transparent; }
.outdoor-status-card[data-busy="true"] .status-symbol::after { content:""; position:absolute; inset:4px; border:2px solid #adcabd; border-top-color:#245c4c; border-radius:50%; animation:status-spin 850ms linear infinite; }
@keyframes status-spin { to { transform:rotate(360deg); } }
.access-gate-card { border-radius:22px; box-shadow:0 24px 70px #173b321a; }
.access-gate-copy h1 { letter-spacing:-.045em; line-height:1.05; }
.access-gate-form label,.access-gate-submit { font-size:.9375rem; }
.access-password-field input { font-size:1rem; }
.access-password-toggle { font-size:.8125rem; }
.access-gate-message { font-size:.8125rem; }

@media (hover:hover) {
  .home-page .topic-card:hover,.guide-page .activity-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px #173b3210; }
  .outdoor-page .destination-card:hover { border-color:#a8c4b5; }
}
@media (max-width:1150px) {
  .home-header nav { gap:16px; }
  .home-header nav > a { font-size:.8125rem; }
  .home-page .home-hero { gap:32px; padding:36px; }
  .home-page .home-hero h1 { font-size:3.35rem; }
  .home-page .summary-stat-primary { grid-template-columns:76px 1fr; gap:12px; }
  .home-page .summary-stat-primary strong { font-size:6rem; }
  .outdoor-page .outdoor-task-shell,.coach-task-shell { grid-template-columns:132px minmax(0,1fr); gap:20px; }
  .outdoor-page #places-workspace:not([hidden]) { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
  .outdoor-page .location-panel,.outdoor-page .destination-browser { padding:18px; }
  .outdoor-page .manual-location-form > div { flex-wrap:wrap; }
  .outdoor-page .manual-location-form .coach-button { width:100%; }
  .outdoor-page .break-time-panel { display:block; }
  .outdoor-page .break-time-explanation { margin:10px 0; }
  .outdoor-page .recommendation-workspace { grid-template-columns:1fr; }
  .outdoor-page .outdoor-data-note { margin-left:152px; }
  .coach-task-panel .indoor-activity-workspace { grid-template-columns:1fr; }
  .coach-task-panel .indoor-activity-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
}
@media (min-width:961px) and (max-width:1000px) {
  .home-page .topic-card:last-child:nth-child(7) { grid-column:span 2; }
}
@media (max-width:960px) {
  .home-page .home-hero { grid-template-columns:1fr; gap:28px; padding:36px; }
  .home-page .home-hero h1 { max-width:18ch; font-size:clamp(2.9rem,6vw,4rem); }
  .home-page .home-hero-break { display:none; }
  .home-page .evidence-summary { max-width:none; display:grid; grid-template-columns:1fr 1.2fr; gap:18px 28px; padding:24px; }
  .home-page .evidence-summary > .home-eyebrow { grid-column:1/-1; margin:0; }
  .home-page .summary-stat-primary { padding:0; }
  .home-page .summary-stat-row { border:0; }
  .home-page .summary-stat-row .summary-stat { padding:0; }
  .home-page .summary-note { grid-column:1/-1; margin:0; padding-top:14px; }
  .home-page .evidence-intro { grid-template-columns:1fr; gap:12px; padding-top:44px; }
  .home-page .evidence-intro > .home-eyebrow { margin:0; padding:0; }
  .home-page .topic-card:last-child:nth-child(7) { grid-column:span 2; }
  .home-page .research-section { grid-template-columns:1fr; gap:18px; }
  .guide-page .guide-hero { grid-template-columns:1fr; gap:26px; padding:30px; }
  .guide-page .guide-hero h1 { max-width:20ch; }
  .guide-quick-start .duration-filter-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .outdoor-page .outdoor-task-shell,.coach-task-shell { display:block; }
  .outdoor-page .outdoor-view-picker,.coach-task-nav { flex-direction:row; display:flex; margin-bottom:20px; top:10px; z-index:35; }
  .outdoor-page .outdoor-view-picker > span { display:none; }
  .outdoor-page .outdoor-view-picker button,.coach-task-nav button { flex:1; width:auto; justify-content:center; }
  .coach-task-nav { top:calc(var(--session-dock-height) + 18px); }
  .outdoor-page .outdoor-data-note { margin-left:0; }
  .coach-page .coach-workspace { grid-template-columns:1fr; }
  .coach-page .coach-camera-shell { aspect-ratio:16/9; max-height:380px; }
}
@media (max-width:820px) {
  .home-header { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; min-height:76px; padding:16px 0; }
  .home-header[data-menu-ready] .site-menu-toggle { display:flex; align-items:center; gap:12px; min-height:44px; padding:0 15px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:10px; font:650 .875rem/1 system-ui,sans-serif; cursor:pointer; }
  .site-menu-toggle span { font-size:1.25rem; font-weight:400; transition:transform 180ms; }
  .site-menu-toggle[aria-expanded="true"] span { transform:rotate(45deg); }
  .home-header nav { flex-basis:100%; }
  .home-header[data-menu-ready] nav { display:none; }
  .home-header[data-menu-open="true"] nav { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:8px; background:#fff; border:1px solid var(--line); border-radius:14px; animation:surface-arrive 180ms var(--ui-ease); }
  .home-header nav > a { min-height:46px; padding:0 13px; font-size:.9375rem; }
  .home-header nav > a[aria-current="page"] { background:#e8f2e9; border-radius:8px; }
  .home-header nav > a::after { display:none; }
}
@media (max-width:760px) {
  .home-header,main,footer { width:calc(100% - 32px); }
  .home-page .home-hero,.guide-page .guide-hero,.coach-page .coach-intro,.outdoor-page .outdoor-hero { margin-top:12px; padding:28px; border-radius:22px; }
  .home-page .home-hero h1 { font-size:clamp(2.6rem,7vw,3.6rem); }
  .home-page .evidence-intro h2 { font-size:2.4rem; }
  .outdoor-page .outdoor-hero .hero-lead { display:block; margin:0; }
  .outdoor-page .outdoor-hero h1,.coach-page .coach-intro h1 { font-size:clamp(2rem,5.6vw,2.8rem); }
  .outdoor-page .outdoor-task-shell { display:flex; flex-direction:column; gap:0; }
  .outdoor-page .outdoor-task-main { padding:0; border:0; }
  .outdoor-page .outdoor-view-picker { order:2; top:auto; bottom:0; margin:20px 0 0; border-radius:14px 14px 0 0; padding:6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow:0 -5px 20px #173b3210; }
  .outdoor-page .outdoor-view-picker button { min-height:48px; font-size:.8125rem; gap:6px; padding:0 8px; }
  .outdoor-page #places-workspace:not([hidden]) { display:block; }
  .outdoor-page .location-panel,.outdoor-page .break-time-panel,.outdoor-page .destination-browser { padding:22px; }
  .outdoor-page .manual-location-form > div { flex-wrap:nowrap; }
  .outdoor-page .manual-location-form .coach-button { width:auto; }
  .outdoor-page .recommendation-context-summary { margin-bottom:20px; }
  .outdoor-page .recommendation-context-summary span { font-size:.75rem; padding-inline:10px; }
  .outdoor-page .weather-disclosure summary { display:flex; }
  .outdoor-page .weather-readings dd { font-size:.875rem; }
  .outdoor-page .activity-recommendation-heading { align-items:flex-start; gap:15px; }
  .outdoor-page .outdoor-data-note { margin-top:20px; }
  .outdoor-page .recommendation-workspace { grid-template-columns:1fr; }
  .coach-session-dock { top:0; padding:12px; gap:10px; }
  .coach-page .coach-session-dock .coach-clock p { display:none; }
  .coach-page .coach-session-dock .coach-button { min-height:44px; font-size:.8125rem; padding-inline:10px; }
  .coach-floating-action .floating-monitor-button { min-height:40px; font-size:.75rem; }
  .coach-task-nav { top:calc(var(--session-dock-height) + 8px); margin-bottom:20px; padding:5px; }
  .coach-task-nav button { min-height:44px; font-size:.8125rem; }
  .coach-page .coach-signals { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .coach-page .coach-camera-shell { min-height:240px; }
  .coach-task-panel .indoor-activity-list { grid-template-columns:1fr; }
  .coach-task-panel .indoor-activities,.coach-task-panel .indoor-activity-detail { padding:20px; }
  .coach-task-panel .recovery-control-card { padding:24px; }
  .coach-task-panel .recovery-control-card h2 { font-size:1.8rem; }
}
@media (max-width:560px) {
  .home-page .home-hero,.guide-page .guide-hero,.coach-page .coach-intro,.outdoor-page .outdoor-hero { padding:24px; }
  .home-page .home-hero h1 { font-size:2.65rem; line-height:1.06; }
  .home-page .home-hero .hero-lead { font-size:.9375rem; }
  .home-page .hero-actions { flex-direction:column; }
  .home-page .hero-actions > a { width:100%; }
  .home-page .evidence-summary { grid-template-columns:1fr; gap:20px; padding:23px; }
  .home-page .summary-stat-primary { grid-template-columns:70px 1fr; }
  .home-page .summary-stat-primary strong { font-size:5.4rem; }
  .home-page .summary-stat-row { gap:24px; }
  .home-page .summary-note { font-size:.75rem; }
  .home-page .topics-controls { align-items:flex-start; }
  .home-page .topic-card:last-child:nth-child(7) { grid-column:auto; }
  .home-page .topic-card,.home-page .topic-card-button { min-height:220px; }
  .home-page .evidence-intro h2 { font-size:2.1rem; }
  .home-page .research-section,.home-page .final-cta { padding:26px; }
  .home-page .research-section h2 { font-size:1.9rem; }
  .guide-page .guide-hero h1 { font-size:2.6rem; }
  .guide-quick-start { padding:20px; }
  .guide-quick-start .duration-filter-list { grid-template-columns:1fr 1fr; }
  .guide-page .activity-card,.guide-page .activity-card-button { min-height:215px; }
  .guide-page .activity-card-footer { flex-direction:row; flex-wrap:wrap; gap:12px; }
  .guide-page .guide-section-heading h2 { font-size:2rem; }
  .topic-dialog { border-radius:0; }
  .topic-dialog-header { padding:26px 72px 22px 24px; }
  .topic-dialog-body { padding:24px; }
  .outdoor-page .outdoor-controls h2,.outdoor-page .activity-recommendation-heading h2,.outdoor-page .finish-heading h2 { font-size:2rem; }
  .outdoor-page .location-panel,.outdoor-page .break-time-panel,.outdoor-page .destination-browser { padding:20px; }
  .outdoor-page .activity-need-form,.outdoor-page .recommendation-output,.outdoor-page .activity-feedback-center { padding:20px; }
  .outdoor-page .destination-card .coach-button { width:100%; }
  .outdoor-page .recommendation-context-summary { gap:5px 0; }
  .outdoor-page .recommendation-context-summary span { max-width:100%; overflow-wrap:anywhere; }
  .outdoor-page .confirmed-location { flex-direction:column; }
  .coach-page .coach-signals { grid-template-columns:1fr; }
  .coach-page .coach-camera-card { padding:18px; }
  .coach-page .coach-camera-shell { aspect-ratio:1.3; min-height:200px; }
  .coach-next-actions { grid-template-columns:1fr; }
  .coach-panel-heading h2 { font-size:2rem; }
  .coach-page .coach-session-dock .coach-clock output { font-size:1.55rem; }
  .coach-session-dock { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
  .coach-floating-action { min-width:0; }
  .coach-floating-action .floating-monitor-button { width:100%; white-space:normal; line-height:1.3; padding:8px; }
  .coach-page .coach-session-dock .coach-session-actions { min-width:0; }
  .outdoor-page .outdoor-data-note summary { gap:9px; }
  footer { gap:22px; margin-top:12px; }
}
@media (max-width:380px) {
  .home-header,main,footer { width:calc(100% - 24px); }
  .home-page .home-hero,.guide-page .guide-hero,.coach-page .coach-intro,.outdoor-page .outdoor-hero { padding:20px; }
  .home-page .home-hero h1,.guide-page .guide-hero h1 { font-size:2.3rem; }
  .outdoor-page .manual-location-form > div { flex-wrap:wrap; }
  .outdoor-page .manual-location-form .coach-button { width:100%; }
  .outdoor-page .location-panel > h3 { grid-column:1/-1; }
  .outdoor-page .location-panel > #use-current-location { grid-column:1/-1; grid-row:2; justify-self:start; }
  .outdoor-page .outdoor-view-picker button { padding:0 5px; }
  .outdoor-page .outdoor-view-picker button > span { display:none; }
  .coach-page .coach-session-dock .coach-button { padding-inline:6px; font-size:.75rem; }
  .coach-page .coach-session-dock .coach-session-actions .coach-button-primary { flex:1.3; }
}

/* Outdoor task polish: keep the route decision close to its inputs. */
.outdoor-page .outdoor-task-main { min-height:0; }
.outdoor-page #places-workspace:not([hidden]) { column-gap:24px; row-gap:16px; }
.outdoor-page .destination-browser { border-top:3px solid #8bbca5; }
.outdoor-page .destination-heading { margin-bottom:16px; }
.outdoor-page .destination-heading h2 { font-size:clamp(1.65rem,2.2vw,2rem); }
.outdoor-page .destination-filters button { min-height:42px; font-size:.8125rem; }
.outdoor-page .destination-card .destination-meta,
.outdoor-page .destination-card .destination-route-note { font-size:.8125rem; }
.outdoor-page .destination-details summary { min-height:40px; font-size:.8125rem; }
.outdoor-page .outdoor-status-card .status-label { font-size:.75rem; }
.outdoor-page .outdoor-status-card small,
.outdoor-page .weather-readings dt { font-size:.8125rem; }

@media (max-width:760px) {
  .outdoor-page .outdoor-hero { padding:18px 20px; }
  .outdoor-page .outdoor-task-shell { display:flex; flex-direction:column; min-height:0; }
  .outdoor-page .outdoor-view-picker {
    order:0; position:sticky; top:0; bottom:auto; z-index:35;
    margin:12px 0 14px; padding:6px; border-radius:14px;
    box-shadow:0 8px 22px #173b3212;
  }
  .outdoor-page .outdoor-task-main { order:1; min-height:0; padding:0; }
  .outdoor-page #outdoor-controls-title,
  .outdoor-page #destination-title,
  .outdoor-page #route-title,
  .outdoor-page #activity-recommendation-title,
  .outdoor-page #finish-title { scroll-margin-top:86px; }
  .outdoor-page .outdoor-controls > header { margin-bottom:12px; }
  .outdoor-page .outdoor-controls-grid { gap:8px; }
  .outdoor-page .location-panel,
  .outdoor-page .break-time-panel,
  .outdoor-page .destination-browser { padding:16px; }
  .outdoor-page .location-panel { row-gap:6px; }
  .outdoor-page .manual-location-form { margin-top:4px; }
  .outdoor-page .manual-location-form > div { flex-direction:row; align-items:stretch; gap:8px; }
  .outdoor-page .manual-location-form input { min-width:0; flex:1; }
  .outdoor-page .manual-location-form .coach-button { flex:0 0 auto; width:auto; min-width:86px; }
  .outdoor-page .outdoor-status-card { margin-top:6px; padding:8px 0 8px 12px; }
  .outdoor-page .location-privacy-note { margin-top:2px; padding-top:6px; }
  .outdoor-page .break-time-panel {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center; gap:6px 12px;
  }
  .outdoor-page .break-time-panel > label { grid-column:1; grid-row:1; margin:0; }
  .outdoor-page .break-time-panel > select { grid-column:2; grid-row:1; min-width:0; margin:0; }
  .outdoor-page .break-time-explanation { grid-column:1; grid-row:2; margin:0; }
  .outdoor-page #refresh-outdoor-data { grid-column:2; grid-row:2; justify-self:start; }
  .outdoor-page #places-workspace > .weather-disclosure,
  .outdoor-page #places-workspace > .destination-browser { margin-top:8px; }
}

@media (max-width:380px) {
  .outdoor-page .location-panel { row-gap:10px; }
  .outdoor-page .manual-location-form .coach-button { min-width:76px; padding-inline:9px; }
  .outdoor-page .outdoor-view-picker button { font-size:.8125rem; }
}

@media (max-width:340px) {
  .outdoor-page .manual-location-form > div { flex-direction:column; }
  .outdoor-page .manual-location-form .coach-button { width:100%; }
  .outdoor-page .break-time-panel { grid-template-columns:1fr; }
  .outdoor-page .break-time-panel > label,
  .outdoor-page .break-time-panel > select,
  .outdoor-page .break-time-explanation,
  .outdoor-page #refresh-outdoor-data { grid-column:1; grid-row:auto; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
