@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/newsreader-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/newsreader-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root { --paper: #f5f2eb; --surface: #fffefa; --ink: #203033; --muted: #6b716d; --line: #deddd3; --gold: #aa8d5b; --body-font: 'Manrope', Arial, sans-serif; --display-font: 'Newsreader', Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 var(--body-font); font-weight: 450; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; }
button:disabled { opacity: .45; cursor: wait; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
:is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font: 450 46px/1.1 var(--display-font); letter-spacing: -.025em; }
h2 { font: 450 30px/1.2 var(--display-font); letter-spacing: -.015em; }
h3 { font-size: 17px; font-weight: 650; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.direction { font: 400 20px/1 Arial, sans-serif; }
.app-header { height: 94px; padding: 0 max(32px, calc((100vw - 1240px) / 2)); background: var(--ink); color: #fffefa; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 3px solid var(--gold); }
.wordmark { font-size: 18px; line-height: 1.2; font-weight: 650; letter-spacing: .035em; }
.wordmark span { font-size: 10px; font-weight: 450; color: #c6ccc5; letter-spacing: .12em; display: block; margin-top: 7px; }
.primary-nav { display: flex; align-self: stretch; gap: 36px; }
.primary-nav a { display: flex; align-items: center; position: relative; font-size: 13px; color: #bdc5bf; }
.primary-nav a[aria-current] { color: #fff; }
.primary-nav a[aria-current]:after { content: ''; position: absolute; height: 2px; bottom: 20px; left: 0; right: 0; background: #c2a575; }
.utility-button { background: transparent; color: #e5e7df; font-size: 12px; border: 1px solid #63716e; padding: 9px 21px; min-height: 40px; border-radius: 3px; }
.utility-button:hover { background: #ffffff0a; border-color: #b6bdb6; }
main { width: min(100%, 1304px); margin: 0 auto; padding: 48px 32px 72px; min-height: calc(100vh - 94px); }
main:focus { outline: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.resume-link { display: grid; grid-template-columns: 1fr 26px; font-size: 12px; line-height: 1.6; max-width: 340px; text-align: right; }
.resume-link > span:first-child { grid-column: 1; color: var(--muted); font-size: 10px; }
.resume-link strong { grid-column: 1; font-size: 12px; font-weight: 600; }
.resume-link .direction { grid-column: 2; grid-row: 2; align-self: center; color: var(--gold); }
.course-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.course-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.course-cover { position: relative; display: block; height: 268px; background: var(--ink); overflow: hidden; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .5s ease; }
.course-cover:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #142021f2 0%, #14202190 43%, #14202116 100%); }
.course-cover:hover img { transform: scale(1.025); }
.course-cover-copy { position: absolute; bottom: 25px; left: 28px; right: 28px; z-index: 1; color: #fffefa; }
.course-cover-copy > span:first-child { font-size: 10px; font-weight: 550; letter-spacing: .09em; color: #e7e4d6; }
.course-cover-copy h2 { font-size: 39px; margin-top: 9px; }
.course-cover-action { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 14px; border-top: 1px solid #ffffff3a; font-size: 11px; }
.course-cover-action .direction { color: #dac49d; }
.instruction-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; font-size: 12px; border-bottom: 1px solid var(--line); background: #eeeade; }
.instruction-link > span { color: #706953; font-size: 10px; }
.instruction-link:hover { background: #e9e4d6; }
.workout-folder + .workout-folder { border-top: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.workout-folder summary { display: flex; align-items: center; gap: 21px; padding: 23px 28px; cursor: pointer; min-height: 109px; }
.workout-folder summary:hover { background: #f6f4ee; }
.workout-number { font: 400 26px/1 var(--display-font); color: #9a835c; width: 29px; flex-shrink: 0; }
.folder-copy { display: flex; flex-direction: column; min-width: 0; }
.folder-copy strong { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.45; }
.folder-count { font-size: 10px; margin-top: 6px; color: var(--muted); }
.disclosure-mark { width: 14px; height: 14px; margin-left: auto; flex-shrink: 0; position: relative; color: #827961; }
.disclosure-mark:before, .disclosure-mark:after { content: ''; position: absolute; background: currentColor; }
.disclosure-mark:before { height: 1px; width: 11px; top: 6px; left: 1px; }
.disclosure-mark:after { width: 1px; height: 11px; left: 6px; top: 1px; }
details[open] > summary .disclosure-mark:after { display: none; }
.folder-body { padding: 0 28px 22px 78px; border-top: 1px solid var(--line); }
.plan-link { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.compact-exercise { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eae7de; font-size: 12px; line-height: 1.5; }
.compact-exercise:hover { text-decoration: underline; text-underline-offset: 4px; }
.compact-duration { font-size: 10px; color: var(--muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.all-exercises-link { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; font-size: 11px; }
.course-completion { border-top: 1px solid var(--line); padding: 14px 28px; font-size: 11px; color: var(--muted); }
.back-link { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 24px; min-height: 30px; }
.back-link .direction { font-size: 18px; }
.program-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.program-heading .instruction-link { border: none; padding: 10px 0; background: transparent; font-size: 12px; }
.program-heading .direction { color: var(--gold); }
.workout-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 37px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; overflow: hidden; }
.workout-tabs a { padding: 19px 24px; min-width: 0; position: relative; color: var(--muted); border-right: 1px solid var(--line); }
.workout-tabs a:last-child { border: none; }
.workout-tabs a:hover { background: #edeade; }
.workout-tabs a > span { display: block; font-size: 13px; font-weight: 650; white-space: nowrap; }
.workout-tabs strong { display: block; font-size: 11px; line-height: 1.5; font-weight: 450; margin-top: 4px; }
.workout-tabs a[aria-current] { background: var(--ink); color: #fffefa; }
.workout-tabs a[aria-current]:after { content: ''; position: absolute; height: 3px; bottom: 0; left: 24px; right: 24px; background: var(--gold); }
.workout-section-heading { margin-bottom: 25px; }
.workout-section-heading h2 { font-size: 31px; }
.workout-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.workout-meta p { font-size: 11px; }
.workout-meta .text-link { font-size: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; border-radius: 3px; font-size: 12px; font-weight: 600; padding: 11px 20px; border: 1px solid transparent; }
.button.primary { background: var(--ink); color: #fffefa; }
.button.primary:hover { background: #35474a; }
.button.secondary { background: var(--surface); border-color: #cacabe; }
.button.secondary:hover { background: #edeade; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; background: transparent; cursor: pointer; padding: 5px 0; min-height: 36px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link .direction { color: var(--gold); }
.exercise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 25px; }
.exercise-card { display: block; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.exercise-image { aspect-ratio: 16/9; background: #ddd; position: relative; overflow: hidden; }
.exercise-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.exercise-card:hover .exercise-image img { transform: scale(1.025); }
.duration-tag { position: absolute; right: 10px; bottom: 10px; background: #142021df; color: #fffefa; padding: 2px 7px; font-size: 10px; font-variant-numeric: tabular-nums; border-radius: 2px; }
.exercise-card-copy { padding: 18px 18px 20px; }
.exercise-card-copy h2 { font: 600 15px/1.5 var(--body-font); letter-spacing: -.018em; }
.exercise-card-copy p { font-size: 12px; margin-top: 6px; }
.exercise-context { display: block; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.completion-label { display: block; font-size: 10px; color: #526246; margin-top: 7px; }
.library-controls { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 0 0 25px; }
.search-field { border: 1px solid #cacabe; border-radius: 3px; background: var(--surface); padding: 12px 16px; width: 400px; max-width: 100%; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 14px; outline: none; }
.search-field:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.search-field input::placeholder { color: #80867c; }
.filter-tabs { display: flex; align-items: center; gap: 24px; }
.filter-tabs button { font-size: 12px; padding: 12px 0; background: transparent; color: var(--muted); border-bottom: 1px solid transparent; white-space: nowrap; }
.filter-tabs button.active { border-color: var(--gold); color: var(--ink); }
.results-count { font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.empty-state { padding: 50px 0; text-align: center; }
.empty-state h2 { margin-bottom: 20px; }
.lesson-breadcrumb { display: flex; align-items: center; gap: 13px; font-size: 11px; margin-bottom: 30px; color: var(--muted); }
.lesson-breadcrumb a { display: flex; align-items: center; gap: 10px; }
.lesson-breadcrumb .direction { font-size: 18px; }
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.lesson-main { min-width: 0; }
.lesson-title-block h1 { font-size: 40px; margin: 9px 0 25px; line-height: 1.15; }
.eyebrow { font-size: 10px; font-weight: 550; color: var(--muted); letter-spacing: .06em; }
.video-stage { background: #172225; border-radius: 4px; overflow: hidden; }
.video-stage video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.video-error { background: #e9e5da; padding: 45px 25px; min-height: 220px; text-align: center; }
.video-error p { margin: 14px 0 20px; }
.exercise-description { background: var(--surface); padding: 28px 30px; border: 1px solid var(--line); margin-top: 22px; border-radius: 4px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: 27px; }
.prose { font-size: 14px; line-height: 1.9; color: #505c57; overflow-wrap: anywhere; }
.prose p { color: inherit; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose p.gap { height: 14px; margin: 0; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose :is(h2,h3) { margin: 26px 0 16px; }
.prose :is(ul,ol) { padding-left: 22px; }
.prose li { margin: 9px 0; }
.video-note > p:first-child { font-size: 15px; color: var(--ink); margin-bottom: 18px; font-weight: 600; }
.rest-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 23px; border: 1px solid var(--line); margin-top: 16px; padding: 23px 30px; border-radius: 4px; background: #ede9de; }
.rest-panel h3 { font-size: 13px; }
.rest-panel p { font-size: 11px; margin-top: 6px; max-width: 230px; }
.rest-controls { display: flex; align-items: center; gap: 15px; }
.rest-controls select { border: 1px solid #c5c5b7; background: var(--surface); padding: 10px 8px; border-radius: 3px; font-size: 11px; min-height: 44px; }
.rest-clock { font-size: 29px; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 66px; text-align: center; letter-spacing: -.05em; }
.rest-toggle { min-width: 90px; padding: 10px 13px; font-size: 11px; }
.rest-reset { color: #62675e; font-size: 11px; }
.completion-panel { padding: 24px 0; margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.completion-panel p { font-size: 11px; max-width: 275px; }
.completion-panel .button { font-size: 11px; }
.lesson-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 27px; }
.lesson-pagination a { display: flex; flex-direction: column; }
.lesson-pagination a:nth-child(2) { text-align: right; align-items: flex-end; }
.lesson-pagination a > span { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .02em; color: var(--muted); }
.lesson-pagination .direction { font-size: 17px; color: var(--gold); }
.lesson-pagination strong { font-size: 12px; font-weight: 550; line-height: 1.5; margin-top: 7px; }
.source-link { display: inline-flex; gap: 8px; align-items: center; font-size: 10px; color: var(--muted); margin-top: 26px; min-height: 32px; }
.source-link .direction { font-size: 15px; }
.reading-label { font-size: 11px; color: var(--muted); margin: 0 0 18px; }
.reading-content { background: var(--surface); padding: 30px; border: 1px solid var(--line); border-radius: 4px; }
.lesson-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.lesson-sidebar-header { padding: 25px 23px 21px; border-bottom: 1px solid var(--line); }
.lesson-sidebar-header h2 { font-size: 25px; margin: 9px 0 20px; }
.lesson-sidebar-header small { font-size: 10px; color: var(--muted); display: block; margin-top: 9px; }
.progress-track { height: 3px; background: #e1dfd4; overflow: hidden; }
.progress-track span { display: block; height: 100%; background: var(--gold); }
.lesson-sidebar-list { padding: 9px; }
.lesson-sidebar-list > .lesson-row { border-bottom: 1px solid var(--line); }
.lesson-sidebar-list summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 18px 12px; font-size: 12px; font-weight: 650; line-height: 1.6; }
.lesson-sidebar-list summary > span:first-child { font: 400 18px var(--display-font); color: #9a835c; }
.lesson-sidebar-list details + details { border-top: 1px solid var(--line); }
.lesson-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 12px; border-radius: 3px; }
.lesson-row:hover { background: #f1eee5; }
.lesson-row.selected { background: #eae5d7; box-shadow: inset 2px 0 var(--gold); }
.lesson-row-number { color: #777668; font-size: 10px; width: 25px; padding-top: 3px; flex-shrink: 0; }
.lesson-row strong { display: block; font-size: 11px; font-weight: 500; line-height: 1.65; }
.lesson-row.selected strong { font-weight: 650; }
.lesson-row small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.progress-programs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.progress-program { display: block; background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: 4px; }
.progress-program > span { display: block; color: var(--muted); font-size: 12px; margin: 12px 0 24px; }
.recent-section { margin-top: 35px; }
.recent-section > h2 { margin-bottom: 20px; }
.recent-list a { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 17px 0; gap: 20px; }
.recent-list strong { font-size: 13px; font-weight: 550; }
.recent-list small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.recent-list time { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.empty-note { font-size: 13px; padding: 25px 0; }
.backup-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); margin-top: 35px; padding: 20px 0; }
.backup-note p { font-size: 12px; }
.offline-description { max-width: 650px; margin-bottom: 30px; }
.offline-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px; display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 27px; margin-bottom: 20px; }
.offline-card-image { height: 100px; overflow: hidden; border-radius: 3px; }
.offline-card-image img { width: 100%; height: 100%; object-fit: cover; }
.offline-card-copy h2 { margin: 6px 0 8px; }
.offline-card-copy p { font-size: 11px; margin-bottom: 14px; }
.offline-card-copy small { display: block; font-size: 10px; margin-top: 8px; color: var(--muted); }
.offline-card-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.offline-ready { font-size: 11px; }
.offline-footnote { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; }
.error-note { font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 21px; border-radius: 4px; max-width: min(600px, calc(100vw - 32px)); font-size: 12px; z-index: 100; width: max-content; }
dialog { background: var(--surface); color: var(--ink); padding: 30px; border: 1px solid var(--line); border-radius: 5px; width: calc(100% - 32px); max-width: 480px; box-shadow: 0 24px 90px #10202033; }
dialog::backdrop { background: #14202188; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
dialog h2 { font-size: 33px; margin-bottom: 22px; }
dialog p { font-size: 13px; margin-bottom: 17px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.settings-links { display: flex; flex-direction: column; }
.settings-links :is(a,button) { background: transparent; text-align: left; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 13px; }
.settings-links .direction { color: var(--gold); }
.guide-list { padding-left: 20px; font-size: 13px; }
.guide-list li { padding-left: 8px; margin-bottom: 15px; }
.guide-list strong { font-weight: 650; }
.guide-list p { margin: 6px 0 0; }
.loading-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 30px; text-align: center; }
.mobile-nav { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 10px 18px; background: var(--surface); z-index: 200; }
.skip-link:focus { top: 12px; }
@media (max-width: 1050px) {
  .lesson-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 25px; }
  .rest-panel { padding: 23px; }
  .course-cover { height: 245px; }
  .exercise-card-copy { padding: 15px; }
  .offline-card { grid-template-columns: 110px 1fr; }
  .offline-card-actions { grid-column: 2; align-items: flex-start; }
}
@media (max-width: 800px) {
  .course-columns { gap: 20px; }
  .course-cover-copy { left: 22px; right: 22px; }
  .course-cover-copy h2 { font-size: 34px; }
  .workout-folder summary { padding: 21px; gap: 15px; }
  .folder-copy strong { font-size: 14px; }
  .instruction-link { padding-left: 21px; padding-right: 21px; }
  .folder-body { padding-left: 21px; padding-right: 21px; }
  .lesson-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .lesson-sidebar { max-width: none; }
  .exercise-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .library-controls { flex-direction: column; align-items: flex-start; }
  .search-field { width: 100%; }
  .workout-tabs a { padding: 17px; }
  .rest-panel { flex-wrap: nowrap; }
}
@media (max-width: 600px) {
  .app-header { height: 79px; padding: 0 22px; gap: 15px; border-bottom-width: 2px; }
  .wordmark { font-size: 15px; letter-spacing: .025em; }
  .wordmark span { font-size: 9px; margin-top: 6px; }
  .primary-nav { display: none; }
  .utility-button { font-size: 11px; min-height: 37px; padding: 7px 14px; }
  main { padding: 30px 22px calc(94px + env(safe-area-inset-bottom)); min-height: calc(100vh - 79px); }
  h1 { font-size: 36px; }
  .page-heading { display: block; margin-bottom: 24px; }
  .resume-link { text-align: left; margin-top: 17px; width: fit-content; max-width: 100%; }
  .resume-link > span:first-child { font-size: 9px; }
  .resume-link strong { font-size: 11px; }
  .course-columns { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .course-cover { height: 232px; }
  .course-cover-copy { bottom: 21px; left: 22px; right: 22px; }
  .course-cover-copy h2 { font-size: 35px; }
  .course-cover-copy > span:first-child { font-size: 9px; }
  .course-cover-action { padding-top: 13px; margin-top: 11px; font-size: 10px; }
  .instruction-link { font-size: 11px; padding: 16px 21px; }
  .instruction-link > span { font-size: 9px; }
  .workout-folder summary { padding: 21px; min-height: 94px; gap: 15px; }
  .workout-number { font-size: 24px; width: 25px; }
  .folder-copy strong { font-size: 14px; line-height: 1.45; }
  .folder-count { font-size: 9px; margin-top: 5px; }
  .folder-body { padding: 0 21px 20px; }
  .compact-exercise { font-size: 11px; }
  .back-link { font-size: 10px; margin-bottom: 16px; }
  .program-heading { display: block; margin-bottom: 22px; }
  .program-heading .instruction-link { justify-content: flex-start; padding: 10px 0 0; font-size: 11px; }
  .workout-tabs { margin-bottom: 29px; }
  .workout-tabs a { display: flex; align-items: center; justify-content: center; min-height: 53px; padding: 11px 4px; }
  .workout-tabs a > span { font-size: 12px; }
  .workout-tabs strong { display: none; }
  .workout-tabs a[aria-current]:after { left: 15px; right: 15px; height: 2px; }
  .workout-section-heading { margin-bottom: 13px; }
  .workout-section-heading h2 { font-size: 29px; line-height: 1.15; }
  .workout-meta { margin-top: 8px; }
  .workout-meta p, .workout-meta .text-link { font-size: 10px; }
  .exercise-grid { grid-template-columns: minmax(0,1fr); gap: 0; border-top: 1px solid var(--line); }
  .exercise-card { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 16px; align-items: center; padding: 19px 0; background: transparent; border: none; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; }
  .exercise-image { aspect-ratio: 4/3; border-radius: 3px; }
  .exercise-card-copy { padding: 0; }
  .exercise-card-copy h2 { font-size: 14px; line-height: 1.5; }
  .exercise-card-copy p { font-size: 12px; line-height: 1.65; margin-top: 7px; }
  .exercise-context { font-size: 9px; margin-bottom: 5px; }
  .duration-tag { font-size: 9px; right: 6px; bottom: 6px; padding: 1px 5px; }
  .library-controls { gap: 15px; margin-bottom: 17px; }
  .filter-tabs { gap: 21px; }
  .filter-tabs button { font-size: 10px; }
  .search-field { padding: 11px 13px; }
  .search-field input { font-size: 16px; }
  .results-count { font-size: 10px; margin-bottom: 18px; }
  .lesson-breadcrumb { font-size: 10px; gap: 10px; margin-bottom: 25px; }
  .lesson-title-block h1 { font-size: 33px; margin-top: 10px; margin-bottom: 22px; }
  .eyebrow { font-size: 9px; }
  .exercise-description { padding: 23px 21px; margin-top: 18px; }
  .section-heading h2 { font-size: 25px; }
  .prose { font-size: 13px; line-height: 1.85; }
  .video-note > p:first-child { font-size: 13px; }
  .rest-panel { flex-direction: column; align-items: stretch; padding: 21px; gap: 18px; }
  .rest-panel h3 { font-size: 12px; }
  .rest-panel p { max-width: none; font-size: 10px; }
  .rest-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .rest-controls select { font-size: 12px; }
  .rest-clock { text-align: right; font-size: 32px; }
  .rest-reset { justify-content: flex-end; font-size: 11px; }
  .rest-toggle { font-size: 12px; }
  .completion-panel { flex-direction: column; align-items: stretch; gap: 15px; }
  .completion-panel p { max-width: none; font-size: 10px; }
  .completion-panel .button { font-size: 12px; }
  .lesson-pagination { gap: 20px; }
  .lesson-pagination a > span { font-size: 8px; gap: 5px; }
  .lesson-pagination strong { font-size: 11px; }
  .reading-content { padding: 23px 21px; }
  .lesson-sidebar-header h2 { font-size: 26px; }
  .lesson-row { padding-top: 15px; padding-bottom: 15px; }
  .lesson-row strong { font-size: 12px; }
  .lesson-row small { font-size: 10px; }
  .progress-programs { grid-template-columns: 1fr; gap: 18px; }
  .progress-program { padding: 24px; }
  .page-progress .page-heading .button { margin-top: 20px; }
  .recent-list strong { font-size: 12px; }
  .recent-list time { font-size: 10px; }
  .backup-note { flex-wrap: wrap; }
  .offline-card { grid-template-columns: 72px minmax(0,1fr); padding: 20px; gap: 16px; }
  .offline-card-image { height: 95px; }
  .offline-card-copy h2 { font-size: 25px; }
  .offline-card-copy p { font-size: 10px; }
  .offline-card-copy small { font-size: 9px; }
  .offline-card-actions { grid-column: 1/-1; align-items: stretch; }
  .offline-card-actions .text-link { justify-content: center; }
  .offline-description { font-size: 12px; }
  .offline-footnote { font-size: 11px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(3,1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; border-top: 1px solid var(--line); background: #fffefa; padding: 0 16px env(safe-area-inset-bottom); box-shadow: 0 -5px 20px #20303304; }
  .mobile-nav :is(a,button) { display: flex; justify-content: center; align-items: center; min-height: 61px; color: var(--muted); background: transparent; font-size: 11px; position: relative; }
  .mobile-nav a[aria-current] { color: var(--ink); font-weight: 650; }
  .mobile-nav a[aria-current]:before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; background: var(--gold); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); font-size: 11px; }
  dialog { padding: 25px; }
  dialog h2 { font-size: 30px; }
  .dialog-actions { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  main { padding-left: 17px; padding-right: 17px; }
  .app-header { padding-left: 17px; padding-right: 17px; }
  h1 { font-size: 32px; }
  .course-cover { height: 214px; }
  .course-cover-copy { left: 19px; right: 19px; }
  .course-cover-copy h2 { font-size: 32px; }
  .instruction-link { padding-left: 19px; padding-right: 19px; }
  .workout-folder summary { padding: 19px; gap: 13px; }
  .folder-copy strong { font-size: 13px; }
  .exercise-card { grid-template-columns: 99px minmax(0,1fr); gap: 13px; }
  .exercise-card-copy h2 { font-size: 13px; }
  .exercise-card-copy p { font-size: 11px; }
  .exercise-description, .rest-panel, .reading-content { padding-left: 18px; padding-right: 18px; }
}
@media (pointer: coarse) { .text-link, .source-link, .filter-tabs button { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { animation: none !important; transition: none !important; } .exercise-card:hover .exercise-image img, .course-cover:hover img { transform: none; } }
