:root{color-scheme:light;color:#10201A;background:#f5f4f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}body{background:#f5f4f0;color:#10201A}header{position:relative;padding:19px max(24px,calc((100vw - 1120px)/2));background:#F8F7F2;border-color:#D5D3C9;gap:14px}.brand{color:#0E4A36;font-size:28px;gap:10px}.brand span{color:#0E4A36;font-size:11px;letter-spacing:1.6px}header #logout{margin:0 0 0 auto;font-size:12px;padding:9px 13px;min-height:42px}main{max-width:1168px;padding:24px 24px 50px}.intro{margin:16px 0 25px}.intro h1{font-size:clamp(29px,4vw,42px);letter-spacing:-1.3px;margin:8px 0 10px}.intro p{max-width:620px;margin:4px 0;color:#55635C}.eyebrow{color:#55635C;font-size:10px}.card{background:#fff;border:1px solid #D5D3C9;box-shadow:0 4px 20px #10201A05;border-radius:20px;padding:26px;margin:0 0 22px;min-width:0}h2{font-size:23px;line-height:1.25;color:#0E4A36}h3{color:#0E4A36}p{color:#0E4A36}.muted{color:#55635C;font-size:13px}.badge{display:inline-block;color:#0E4A36;background:#E4EDE6;border:1px solid #D5D3C9;font-size:11px;border-radius:8px;padding:5px 9px;max-width:100%;overflow-wrap:anywhere}.warning{background:#fff6df;color:#785e25;border-color:#eee0b7}.card>.badge{margin-bottom:12px}label{color:#0E4A36;font-size:13px}input,textarea,select{background:#F1F4EF;color:#10201A;border-color:#D5D3C9;border-radius:11px;padding:12px;min-height:46px;max-width:100%}input:focus,textarea:focus,select:focus{outline-color:#55635C}input[type=checkbox]{min-height:18px;width:18px;accent-color:#0E4A36}textarea{min-height:88px}button{color:#fff;background:#0E4A36;border-radius:11px;padding:12px 17px;min-height:46px;font-weight:650;margin-top:14px}button:hover{background:#0E4A36}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #55635C;outline-offset:3px}.quiet{background:#E4EDE6;color:#0E4A36}.quiet:hover{background:#D5D3C9}.danger{color:#8b383c;background:#faeeee}.divider,details{border-color:#D5D3C9}details{padding-top:13px;margin-top:18px}summary{color:#0E4A36;min-height:36px;font-size:13px}.exercise,.entry,.proposal-card{background:#F1F4EF;border-color:#D5D3C9;border-radius:14px;padding:17px}.comparison{border-left-color:#55635C;background:#E4EDE6;border-radius:8px}a{color:#0E4A36}.notice{background:#E4EDE6;color:#0E4A36;border-color:#B9B6AA;font-size:13px}.notice.error{background:#fff1ec;color:#903b2c;border-color:#edcebd}#notice:empty{display:none}.narrow{margin:7vh auto;max-width:470px;padding:32px}.narrow h1{font-size:35px}.view-content[data-active-view=today]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}#mainNav{display:flex;gap:7px;padding:5px;background:#D5D3C9;border-radius:14px;margin-bottom:26px;width:fit-content}#mainNav a{border:0;background:none;color:#55635C;padding:10px 24px;border-radius:10px;font-size:13px;min-height:44px;display:flex;align-items:center;justify-content:center}#mainNav a[aria-current=page]{background:white;box-shadow:0 2px 6px #10201A0b;color:#0E4A36;font-weight:750}.health-summary{padding:14px 16px;background:#E4EDE6;border:1px solid #D5D3C9;border-radius:14px;margin:12px 0}.health-summary p{margin:4px 0}.health-actions{display:flex;flex-wrap:wrap;gap:6px}.health-actions button{font-size:12px;margin:5px 0 0;padding:10px 11px}.program-overview{padding:18px;background:#E4EDE6;border-radius:14px;margin:18px 0}.block-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0}.program-block{border:1px solid #D5D3C9;border-radius:14px;padding:18px;background:#F1F4EF}.program-block h3{font-size:16px;margin:6px 0}.program-block p{font-size:13px;margin:8px 0}.week-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.week-day{border:1px solid #D5D3C9;border-radius:14px;padding:18px;min-width:0}.week-day h3{font-size:17px;margin:6px 0}.week-day p{font-size:13px}.session-slot{border-top:1px solid #D5D3C9;padding-top:10px;margin-top:12px}.session-slot h4{margin:5px 0}.program-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.program-form{max-width:720px}.program-editor{padding:12px;border-radius:12px;background:#F1F4EF}.program-editor input,.program-editor textarea{background:white}.section-label{margin-top:4px}.actions{align-items:center}.row>div{min-width:0}.actual-grid{grid-template-columns:repeat(4,minmax(0,1fr))}footer{color:#55635C;font-size:11px;padding:18px 6px}#healthDiagnostics>div{overflow-wrap:anywhere}#diagnostics p{overflow-wrap:anywhere}.plan-callout{padding:14px 16px;border-radius:12px;background:#E4EDE6;margin:12px 0}.plan-callout a{display:inline-block;margin-top:5px}.proposal-evidence{margin-top:12px}#programmingContent:empty:before{content:"Your program will appear here after you sign in.";color:#55635C}@media(max-width:760px){header{padding:15px 18px;gap:10px}.brand span{font-size:10px;letter-spacing:1px}main{padding:12px 15px calc(98px + env(safe-area-inset-bottom))}.intro{margin:16px 3px 22px}.intro h1{font-size:31px}.intro p{font-size:14px}.card{padding:20px;border-radius:17px;margin-bottom:16px}.view-content[data-active-view=today]{display:block}.row{gap:10px}.row>div{min-width:100px}#mainNav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;margin:0;padding:9px 9px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #D5D3C9;border-radius:0;background:#F1F4EFf5;backdrop-filter:blur(16px);gap:4px}#mainNav a{padding:10px 3px;font-size:12px;border-radius:10px;min-height:44px}#mainNav a[aria-current=page]{background:#D5D3C9;box-shadow:none}.actual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}input,select,textarea{font-size:16px}.narrow{margin-top:35px;padding:25px}.block-grid,.week-grid{grid-template-columns:1fr}.health-actions{display:grid;grid-template-columns:1fr 1fr}.health-actions button:last-child{grid-column:1/-1}.program-form .row{display:block}.actions button{flex:1;min-width:120px}h2{font-size:22px}#diagnostics .badge{border-radius:8px}button{max-width:100%;overflow-wrap:anywhere}.entry,.exercise{padding:14px}#providerDisclosure{font-size:12px}.program-editor .row>div{min-width:100px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
.week-day>summary{display:flex;flex-direction:column;gap:4px;min-height:52px}.week-day>summary strong{font-size:16px;color:#0E4A36}.week-day{margin:0}.health-summary{font-size:13px}.plan-callout p{margin:7px 0;font-size:13px}#checkinForm>section{margin:20px 0 0}#healthDiagnostics>h3{margin-top:20px}
.movement-video{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #B9B6AA;border-radius:10px;background:#E4EDE6;text-decoration:none;font-size:13px;font-weight:650;overflow-wrap:anywhere}.movement-setup{font-size:13px;color:#0E4A36}.session-prescription{margin:16px 0;padding:12px 14px;border:1px solid #D5D3C9;border-radius:12px}.session-prescription>summary{font-weight:650;min-height:40px}.session-prescription h4{margin:0 0 8px}
.weekly-movement{margin:14px 0;padding:12px;border-left:3px solid #B9B6AA;background:#E4EDE6;border-radius:6px}.weekly-movement p{margin:7px 0}
.daily-chat { border-top:1px solid var(--line,#D5D3C9); margin-top:1.5rem; padding-top:1rem; }
.chat-messages { max-height:28rem; overflow-y:auto; overflow-wrap:anywhere; padding:.25rem; }
.chat-bubble { background:#EFEDE6; border-radius:14px; margin:.65rem 0; padding:.85rem; }
.chat-bubble.athlete { background:#e8eef3; margin-left:1rem; }
.chat-bubble p { white-space:pre-wrap; margin:.35rem 0 0; }

/* Phone space belongs to the task, rather than repeated branding and slogans. */
@media (max-width:760px), (max-width:960px) and (max-height:500px) {
  header { min-height:56px; padding:6px 16px; flex-wrap:nowrap; }
  header .brand { font-size:24px; gap:8px; min-width:0; }
  header .brand span { font-size:10px; letter-spacing:.9px; }
  header #logout { min-height:44px; padding:8px 10px; font-size:12px; flex-shrink:0; }
  main { padding:8px 12px calc(80px + env(safe-area-inset-bottom)); }
  /* The selected tab and section heading already orient sighted users.
     Keep the page-level heading available to assistive technology. */
  .intro { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
  .intro .eyebrow, #viewSubtitle { display:none; }
  .intro h1 { font-size:24px; line-height:1.2; letter-spacing:-.6px; margin:0; }
  .card { padding:16px; border-radius:16px; margin-bottom:12px; scroll-margin-top:12px; }
  #checkin > .eyebrow { display:none; }
  #checkin > h2 { font-size:20px; margin:0 0 12px; }
  label { margin:12px 0 6px; }
  input, select, textarea { min-width:0; font-size:16px; scroll-margin-block:16px 100px; }
  #checkinForm > .row { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:12px; }
  #checkinForm > .row > div { min-width:0; }
  #checkinForm > .row label { margin-top:0; }
  #checkinDate { min-width:0; width:100%; padding-inline:8px; }
  #checkinDate::-webkit-date-and-time-value { text-align:left; }
  #checkinNotes { min-height:76px; }
  .view-content[data-active-view=today] { display:block; }
  #mainNav { position:fixed; bottom:0; left:0; right:0; z-index:20; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); width:100%; margin:0; padding:4px 8px calc(4px + env(safe-area-inset-bottom)); gap:3px; border-top:1px solid #D5D3C9; border-radius:0; background:#F1F4EFf5; backdrop-filter:blur(16px); }
  #mainNav a { min-height:44px; padding:8px 3px; }
  #mainNav a[aria-current=page] { background:#D5D3C9; box-shadow:none; font-weight:750; }
  .daily-chat { margin-top:18px; padding-top:16px; }
  .daily-chat h3 { margin:0 0 8px; }
  .chat-messages { max-height:min(28rem,55dvh); overscroll-behavior-y:contain; }
  .narrow h1 { font-size:30px; }
}
@media (max-width:359px) {
  header { padding-inline:12px; }
  header .brand span { font-size:9px; letter-spacing:.4px; }
  .card { padding:14px; }
  #checkinForm > .row { gap:8px; }
}
