:root {
  --ink: #162a43;
  --muted: #66788d;
  --paper: #f5f8fc;
  --surface: #ffffff;
  --line: #d9e3f0;
  --forest: #173b68;
  --forest-2: #24558f;
  --mint: #4f7ff2;
  --mint-soft: #e8efff;
  --blue-soft: #e5f2ff;
  --amber-soft: #fff3d6;
  --red-soft: #ffe8e5;
  --shadow: 0 18px 46px rgba(34, 72, 122, .11);
  --radius: 18px;
  --sidebar: 238px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -50px; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.app-shell { min-height: 100vh; }
.sidebar { width: var(--sidebar); position: fixed; inset: 0 auto 0 0; background: #fbfdff; color: var(--ink); border-right: 1px solid var(--line); padding: 28px 18px 18px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0 10px; letter-spacing: -.02em; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { color: var(--forest); font-size: 20px; }
.brand small { color: var(--mint); font-size: 10px; letter-spacing: .23em; margin-top: 4px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 3px; padding: 6px 5px; border-radius: 9px; background: var(--mint); }
.brand-mark span { display: block; border-radius: 2px 2px 0 0; background: #fff; }
.brand-mark span:nth-child(1) { height: 34%; }.brand-mark span:nth-child(2) { height: 55%; }.brand-mark span:nth-child(3) { height: 78%; }.brand-mark span:nth-child(4) { height: 100%; }
.nav-list { margin-top: 62px; display: grid; gap: 6px; }
.nav-list a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 13px; border-radius: 11px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-list a:hover { color: var(--forest); background: #f0f5fc; }
.nav-list a.active { color: #255dc6; background: var(--mint-soft); box-shadow: inset 0 0 0 1px #d5e2ff; }
.nav-icon { width: 20px; text-align: center; font-size: 19px; }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.profile-button { width: 100%; border: 0; background: transparent; color: var(--ink); display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 8px; border-radius: 10px; cursor: pointer; }
.profile-button:hover { background: var(--mint-soft); }
.profile-button strong, .profile-button small { display: block; }
.profile-button small { color: var(--muted); margin-top: 3px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-soft); color: #255dc6; font-size: 11px; font-weight: 800; }

main { min-height: 100vh; margin-left: var(--sidebar); }
.view { max-width: 1240px; margin: 0 auto; padding: 42px 48px 70px; }
.mobile-header, .bottom-nav { display: none; }
.page-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 26px; }
.page-head h1 { margin: 3px 0 8px; font: 750 clamp(30px, 4vw, 46px)/1.05 Georgia, serif; letter-spacing: -.035em; }
.page-head p { margin: 0; color: var(--muted); max-width: 670px; line-height: 1.55; }
.eyebrow { display: block; color: #3d6fcf; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.head-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.week-control { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.03); }
.week-control button { width: 36px; height: 34px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; font-size: 20px; }
.week-control button:hover { background: var(--paper); }
.week-control strong { min-width: 76px; text-align: center; font-size: 13px; }

.grid { display: grid; gap: 18px; }
.dashboard-grid { grid-template-columns: minmax(0, 1.58fr) minmax(290px, .82fr); align-items: start; }
.stack { display: grid; gap: 18px; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: 0 3px 12px rgba(26,45,38,.025); }
.card-pad { padding: 23px; }
.hero-card { position: relative; overflow: hidden; background: linear-gradient(145deg, #ffffff 0%, #edf4ff 100%); color: var(--ink); border-color: #d2e0f4; padding: 28px; min-height: 213px; display: grid; grid-template-columns: 1fr 175px; align-items: center; box-shadow: 0 14px 34px rgba(50, 91, 145, .09); }
.hero-card::after { content: ""; position: absolute; width: 250px; height: 250px; border: 60px solid rgba(79,127,242,.08); border-radius: 50%; right: -100px; top: -85px; }
.hero-card .eyebrow { color: #3f70d2; }
.hero-card h2 { margin: 8px 0 9px; font: 700 clamp(26px, 3.5vw, 38px)/1.06 Georgia, serif; letter-spacing: -.03em; }
.hero-card p { max-width: 520px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.phase-pill { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--mint-soft); color: #2e62c7; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.progress-ring { --progress: 0deg; width: 132px; height: 132px; justify-self: center; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--mint) var(--progress), #dbe5f3 0); position: relative; z-index: 1; }
.progress-ring::before { content: ""; position: absolute; inset: 11px; background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 1px #edf2f8; }
.progress-ring div { z-index: 1; text-align: center; }
.progress-ring strong { display: block; font: 700 30px/1 Georgia, serif; }
.progress-ring small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.section-head h2, .section-head h3 { margin: 0; font: 700 21px/1.2 Georgia, serif; letter-spacing: -.02em; }
.section-head a, .text-button { border: 0; background: none; color: #3569cc; font-weight: 750; font-size: 12px; text-decoration: none; cursor: pointer; padding: 5px; }
.session-list { display: grid; gap: 11px; }
.session-card { width: 100%; display: grid; grid-template-columns: 54px 1fr auto; gap: 15px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 14px; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.session-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: #bfd0e7; }
.session-card.completed { background: #f8fbff; }
.session-card.completed .session-icon { background: var(--mint-soft); }
.session-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); font-size: 20px; font-weight: 850; }
.session-icon.vo2 { background: var(--red-soft); }.session-icon.threshold { background: var(--amber-soft); }.session-icon.endurance { background: var(--blue-soft); }.session-icon.test { background: var(--mint-soft); }
.session-main strong { display: block; font-size: 14px; margin-bottom: 5px; }
.session-main span { color: var(--muted); font-size: 12px; line-height: 1.45; display: block; }
.session-meta { text-align: right; }
.session-meta strong, .session-meta small { display: block; }
.session-meta strong { font-size: 12px; }.session-meta small { color: var(--muted); margin-top: 5px; }
.status-dot { display: inline-grid !important; place-items: center; width: 24px; height: 24px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; color: transparent !important; }
.completed .status-dot { background: var(--mint); color: #fff !important; border-color: var(--mint); }

.readiness-card h3 { margin: 0 0 7px; font: 700 22px Georgia, serif; }
.readiness-card > p { margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.readiness-options { display: grid; gap: 8px; }
.readiness-option { display: grid; grid-template-columns: 12px 1fr; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: transparent; text-align: left; cursor: pointer; }
.readiness-option:hover, .readiness-option.selected { background: var(--paper); border-color: #c5d4e8; }
.readiness-option i { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; background: #59a55c; }
.readiness-option.yellow i { background: #e0ad23; }.readiness-option.red i { background: #d85b43; }
.readiness-option strong { font-size: 12px; display: block; }.readiness-option small { color: var(--muted); line-height: 1.4; display: block; margin-top: 3px; }
.readiness-advice { margin-top: 12px; padding: 12px; background: #244f88; color: #fff; border-radius: 11px; font-size: 12px; line-height: 1.45; }

.ftp-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.ftp-card h3 { margin: 0 0 7px; font: 700 20px Georgia, serif; }
.ftp-card p { color: var(--muted); margin: 0; font-size: 12px; line-height: 1.5; }
.ftp-number { font: 750 36px/1 Georgia, serif; white-space: nowrap; }.ftp-number small { font: 700 12px Inter, sans-serif; color: var(--muted); }

.plan-layout { display: grid; grid-template-columns: minmax(0,1fr) 255px; gap: 20px; align-items: start; }
.phase-group { margin-bottom: 28px; }
.phase-label { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.phase-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.week-row { padding: 17px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 15px; margin-bottom: 10px; cursor: pointer; }
.week-row:hover { border-color: #bfd0e7; }
.week-number { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); font: 700 18px Georgia, serif; }
.week-row.current { border-color: #7ea2ee; box-shadow: 0 0 0 2px rgba(79,127,242,.11); }
.week-row.current .week-number { background: var(--mint); color: #fff; }
.week-copy strong { display: block; margin-bottom: 5px; }.week-copy small { color: var(--muted); line-height: 1.4; }
.week-stats { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.mini-progress { width: 76px; height: 6px; overflow: hidden; border-radius: 99px; background: var(--line); }.mini-progress i { display: block; height: 100%; background: var(--mint); }
.sticky-card { position: sticky; top: 24px; }
.sticky-card h3 { margin: 0 0 12px; font: 700 20px Georgia, serif; }
.rule-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.rule-list li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.rule-list b { color: var(--forest); width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-soft); font-size: 10px; }

.zone-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.zone { padding: 15px; border-radius: 13px; background: var(--paper); border-left: 4px solid #b8c5bf; }
.zone:nth-child(2) { border-color: #65a2c5; }.zone:nth-child(3) { border-color: #8aa770; }.zone:nth-child(4) { border-color: #c6ad43; }.zone:nth-child(5) { border-color: #d28238; }.zone:nth-child(6) { border-color: #d6533f; }.zone:nth-child(7) { border-color: #8f4c92; }
.zone strong { display: block; font-size: 13px; }.zone b { display: block; font: 700 20px Georgia, serif; margin: 5px 0 2px; }.zone small { color: var(--muted); }
.library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.library-card { padding: 20px; }
.library-card h3 { margin: 0 0 7px; font: 700 19px Georgia, serif; }.library-card > p { color: var(--muted); font-size: 12px; margin: 0 0 16px; line-height: 1.5; }
.detail-line { padding-top: 11px; margin-top: 11px; border-top: 1px solid var(--line); }
.detail-line strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 5px; }.detail-line span { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); }

.checkpoint-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.checkpoint { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
.checkpoint label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.checkpoint .input-suffix { min-width: 0; width: 100%; }.checkpoint input { min-width: 0; width: 100%; font: 700 23px Georgia, serif; }
.checkpoint small { display: block; color: #3569cc; margin-top: 7px; min-height: 15px; font-weight: 750; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.stat { padding: 18px; }.stat small { color: var(--muted); font-size: 11px; }.stat strong { display: block; font: 700 28px Georgia, serif; margin-top: 7px; }
.log-list { display: grid; gap: 9px; }
.log-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 13px; align-items: center; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.log-row time { color: var(--muted); font-size: 11px; }.log-row strong { font-size: 13px; display: block; }.log-row small { color: var(--muted); }.log-row b { font-size: 12px; }
.empty-state { text-align: center; padding: 32px 20px; color: var(--muted); font-size: 13px; }

.guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.guide-card { padding: 22px; }.guide-card h2 { margin: 0 0 12px; font: 700 22px Georgia, serif; }.guide-card p, .guide-card li { color: var(--muted); font-size: 13px; line-height: 1.6; }.guide-card ul { padding-left: 18px; }
.schedule { display: grid; gap: 8px; }.schedule-row { display: grid; grid-template-columns: 105px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.schedule-row:last-child { border: 0; }.schedule-row strong { color: var(--muted); }
.evidence-list { display: grid; gap: 10px; }.evidence-item { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 13px; text-decoration: none; }.evidence-item:hover { background: var(--paper); }.evidence-item strong { display: block; font-size: 12px; }.evidence-item span { color: var(--muted); font-size: 11px; display: block; margin-top: 4px; line-height: 1.4; }

.button { min-height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 15px; font-weight: 750; font-size: 12px; cursor: pointer; }
.button:hover { filter: brightness(.98); }.button.primary { background: var(--mint); border-color: var(--mint); color: #fff; }.button.dark { background: var(--forest); color: #fff; border-color: var(--forest); }.button.full { width: 100%; margin-top: 9px; }
.button.danger-link { border: 0; color: #b64937; background: transparent; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 20px; }
.chip { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 10px; font-weight: 750; }
.chip.watts { background: var(--mint-soft); color: #285bbd; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }.filter-row button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 8px 12px; font-size: 11px; cursor: pointer; }.filter-row button.active { background: var(--mint); color: #fff; border-color: var(--mint); }

.sheet-dialog { width: min(680px, calc(100vw - 24px)); max-height: min(90vh, 860px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(0,0,0,.28); color: var(--ink); }
.sheet-dialog.narrow { width: min(430px, calc(100vw - 24px)); }
.sheet-dialog::backdrop { background: rgba(7,18,15,.57); backdrop-filter: blur(4px); }
.sheet-dialog form, #session-dialog-content { padding: 25px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.dialog-head h2 { margin: 4px 0 0; font: 700 29px Georgia, serif; }.dialog-head p { color: var(--muted); margin: 7px 0 0; font-size: 12px; line-height: 1.45; }
.prescription { padding: 16px; border: 1px solid #cfddf5; border-radius: 14px; background: linear-gradient(145deg, #f6f9ff, #e8f0ff); color: var(--ink); line-height: 1.55; font-size: 14px; margin-bottom: 17px; }.prescription .chips { margin-top: 12px; }.prescription .chip { background: #fff; color: #2c61c3; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.dialog-block { padding: 14px; background: var(--paper); border-radius: 12px; }.dialog-block strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }.dialog-block span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.log-form { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); }.log-form h3 { margin: 0 0 14px; font: 700 20px Georgia, serif; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.field { display: grid; gap: 6px; margin-bottom: 13px; }.field > span:first-child { font-size: 11px; font-weight: 750; }.field small { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; border: 1px solid #cbd7e6; border-radius: 9px; background: #fff; min-height: 41px; padding: 9px 11px; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(79,127,242,.20); border-color: var(--mint); }
textarea { min-height: 76px; resize: vertical; }
.input-suffix { min-width: 0; display: flex; align-items: center; border: 1px solid #cbd7e6; border-radius: 9px; background: #fff; overflow: hidden; }.input-suffix input { flex: 1 1 0; width: 0; min-width: 0; border: 0; border-radius: 0; }.input-suffix b { flex: 0 0 auto; padding: 0 11px; color: var(--muted); font-size: 12px; }
.check-field { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }.check-field input { width: 18px; min-height: 18px; accent-color: var(--mint); }
.form-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; transform: translate(-50%, 25px); background: #244f88; color: #fff; border-radius: 10px; padding: 12px 17px; font-size: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; }.toast.show { transform: translate(-50%,0); opacity: 1; }
.auth-screen { min-height: calc(100vh - 84px); display: grid; place-items: center; padding: 30px; }
.auth-card { width: min(440px, 100%); padding: 35px; text-align: center; }
.auth-card .brand-mark { margin: 0 auto 22px; width: 52px; height: 52px; padding: 10px 8px; border-radius: 14px; }
.auth-card h1 { margin: 0 0 11px; font: 750 38px/1 Georgia, serif; letter-spacing: -.035em; }
.auth-card p { color: var(--muted); line-height: 1.6; font-size: 13px; margin: 0 auto 24px; }
.google-button { width: 100%; min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; font-weight: 750; }
.google-button:hover { box-shadow: var(--shadow); }.google-button b { width: 22px; height: 22px; display: grid; place-items: center; color: #4285f4; font-size: 18px; font-family: Arial, sans-serif; }
.auth-note { display: block; margin-top: 16px; color: #84908b; font-size: 10px; line-height: 1.45; }
.sync-state { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }.sync-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #59a55c; }.sync-state.local::before { background: #e0ad23; }

@media (max-width: 980px) {
  .view { padding: 35px 28px 70px; }
  .dashboard-grid, .plan-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .plan-layout > aside { display: none; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .app-shell, main, .view, .mobile-header { width: 100%; max-width: 100vw; }
  .sidebar { display: none; }
  main { margin-left: 0 !important; width: 100vw !important; }
  .mobile-header { height: 65px; padding: 11px 17px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15; }
  .mobile-header .brand { color: var(--forest); padding: 0; }.mobile-header .brand-mark { width: 30px; height: 30px; }.mobile-header .brand strong { font-size: 17px; }.mobile-header .icon-button { color: var(--forest); background: var(--mint-soft); border-color: #d5e2ff; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; z-index: 30; inset: auto 0 0; height: calc(65px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: #7b899a; }.bottom-nav a.active { color: #2f66ce; }.bottom-nav a span { font-size: 19px; line-height: 1; }.bottom-nav a small { font-size: 9px; font-weight: 750; }
  .view { padding: 24px 16px 35px; }
  .page-head { display: block; margin-bottom: 20px; }.page-head h1 { font-size: 32px; }.page-head p { font-size: 13px; }.head-actions { margin-top: 16px; justify-content: flex-start; }
  .hero-card { grid-template-columns: 1fr 98px; min-height: 190px; padding: 21px; }.hero-card h2 { font-size: 27px; }.hero-card p { font-size: 12px; }.progress-ring { width: 91px; height: 91px; }.progress-ring::before { inset: 8px; }.progress-ring strong { font-size: 23px; }
  .card-pad { padding: 18px; }
  .session-card { grid-template-columns: 47px 1fr auto; padding: 12px; gap: 11px; }.session-icon { width: 47px; height: 47px; }.session-meta > strong, .session-meta > small { display: none; }
  .zone-grid, .library-grid, .guide-grid, .checkpoint-grid { grid-template-columns: 1fr; }
  .checkpoint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: 1fr 1fr; }.stats-grid .stat:last-child { grid-column: 1 / -1; }
  .week-row { grid-template-columns: 45px 1fr auto; padding: 13px; gap: 11px; }.week-number { width: 43px; height: 43px; }.week-stats .mini-progress { display: none; }
  .log-row { grid-template-columns: 1fr auto; }.log-row time { grid-column: 1 / -1; }
  .sheet-dialog { width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }.sheet-dialog form, #session-dialog-content { padding: 21px 17px calc(22px + env(safe-area-inset-bottom)); }.dialog-grid, .form-grid { grid-template-columns: 1fr; }
  .auth-screen { min-height: calc(100vh - 160px); padding: 10px 0; }.auth-card { padding: 27px 20px; }
}

@media (max-width: 500px) {
  .checkpoint-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
