:root{color-scheme:dark;font:16px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f1716;color:#e9f2ec;--line:#3c4c45;--muted:#acc0b4;--accent:#c7f383}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:clamp(16px,4vw,32px);padding-bottom:80px}h1,h2,h3,p{margin:0 0 .72rem}h1,h2{letter-spacing:-.045em;line-height:1.08}h1{font-size:clamp(2.16rem,5.6vw,3.84rem)}h2{font-size:1.55rem}small,legend{color:var(--accent);font-size:.73rem;letter-spacing:.1em;font-weight:750}header,.bar,.actions,.row,.metrics,nav{display:flex;gap:12px;align-items:center}header,.bar,.row{justify-content:space-between}header{padding:16px 0}nav{border-bottom:1px solid var(--line);margin:12px 0}nav button{border:0;border-radius:0;background:none}nav [aria-current]{border-bottom:3px solid var(--accent);color:var(--accent)}.bar,.hint,.previous,.lead p{color:var(--muted)}.bar{font-size:.83rem;flex-wrap:wrap}.bar span{color:var(--accent)}.panel,.lead{background:#1b2722;border:1px solid var(--line);border-radius:16px;padding:clamp(15px,4vw,26px);margin:16px 0}.lead{background:linear-gradient(115deg,#24382b,#1a2722);border-left:4px solid var(--accent)}.lead h2{font-size:2.3rem;margin:.4rem 0}.row{padding:14px 0;border-bottom:1px solid var(--line)}.row span{white-space:nowrap}.actions{justify-content:space-between;margin-top:20px;flex-wrap:wrap}.metrics{gap:0;margin:18px 0}.metrics span{display:grid;font-size:.76rem;color:var(--muted);padding:0 14px;border-left:1px solid var(--line)}.metrics span:first-child{padding-left:0;border:0}.metrics b{font-size:1.4rem;color:#fff}.welcome{margin:16px 0}.welcome form{max-width:480px;margin-inline:auto}.welcome h1{margin:8px 0}.welcome>p{color:var(--muted)}.motif{height:52px;display:flex;align-items:end;gap:4px;margin-bottom:22px}.motif i{width:9px;height:35%;background:var(--accent);transform:skew(-12deg)}.motif i:nth-child(2){height:60%}.motif i:nth-child(3){height:90%}.motif i:nth-child(4){height:65%}.motif i:last-child{height:40%}label{display:grid;gap:5px;margin:10px 0;font-size:.88rem;font-weight:600}input,select,textarea,button{font:inherit;color:inherit;min-height:46px;border-radius:8px;border:1px solid #586b60;background:#121c17;padding:9px 12px;max-width:100%}input,select,textarea{width:100%;min-width:0;font-size:16px}button,summary{cursor:pointer}button{background:#25362c;font-weight:650}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--accent)}button:disabled{opacity:.55}.primary{background:var(--accent);color:#162013;border-color:var(--accent)}form .primary{width:100%;margin-top:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.hint,.previous{font-size:.88rem}.previous{border-top:1px solid var(--line);padding:12px 0 0}.exercise h2{margin-top:.4rem}fieldset{min-width:0;border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:12px}legend{padding:0 6px}summary{padding:9px 0;min-height:44px}li{margin-bottom:6px}[role=alert]{color:#ffd0a6;font-weight:600}textarea{resize:vertical}.brand{display:block;width:100%;height:auto;border-radius:5px;margin:0 0 .65rem}header{display:block}.journal-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.journal-title h1{margin:0}.journal-title button{min-height:28px;padding:3px 10px;white-space:nowrap;border-radius:999px;font-size:.78rem}.row span{white-space:normal;text-align:right}.workout-notes{margin:1rem 0}.workout-notes p{white-space:pre-wrap;overflow-wrap:anywhere}.set-target{display:grid;grid-template-columns:4rem 1fr 1fr;gap:.65rem;align-items:center}.progression{border-left:3px solid var(--accent);padding:12px;margin:12px 0;background:#111c16}nav{flex-wrap:wrap;gap:3px}nav button{padding:8px 10px}.check{display:flex;gap:.65rem;align-items:center}.check input{width:20px;min-height:20px}.record{padding:12px 0;border-bottom:1px solid var(--line)}.record p{margin:3px 0}.joe-answer{white-space:pre-line;margin-top:1rem}.readiness-card{margin:1.1rem 0 0;border:1px solid #587339;border-radius:18px;background:#18251e;overflow:hidden}.readiness-heading{display:flex;justify-content:space-between;align-items:center;gap:.7rem;padding:clamp(16px,4vw,26px);background:linear-gradient(108deg,#263e29,#14251c);border-bottom:1px solid #3e573d}.readiness-heading small{color:#c7f383;letter-spacing:.16em}.readiness-heading h2{margin:.3rem 0 0;font-size:clamp(1.7rem,5.5vw,2.6rem);line-height:1.06}.pulse-line{color:var(--accent);width:clamp(46px,14vw,100px);flex:none}.readiness-content{padding:clamp(14px,3vw,24px)}.readiness-status{display:inline-block;color:#d6eca9;font-size:.82rem;font-weight:700;margin-bottom:.45rem}.joe-intro{color:#d8e6db;max-width:52ch}.joe-intro strong{color:var(--accent)}.readiness-group,.rating{padding:1rem 0;border:0;border-bottom:1px solid var(--line);margin:0}.readiness-group h3,.joe-readiness{display:flex;align-items:center;gap:.55rem}.readiness-group svg,.joe-readiness svg{color:var(--accent);flex:none}.rating legend{padding:.75rem 0 0;font-size:1rem;color:inherit;letter-spacing:0}.rating-scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.rating-scale button{min-width:0;min-height:44px;padding:4px 0;font-variant-numeric:tabular-nums}.readiness-card button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#142715}.scale-ends,.readiness-choices{display:flex;justify-content:space-between;gap:.5rem}.scale-ends{font-size:.78rem;color:var(--muted);margin-top:.35rem}.readiness-choices{flex-wrap:wrap;justify-content:flex-start;margin-top:.7rem}.sensor{border-top:1px solid var(--line)}.sensor .check{min-height:44px;margin:0}.joe-readiness{margin:.75rem 0 1rem;align-items:flex-start;background:#1b2c21;border-left:3px solid var(--accent);padding:14px 16px;border-radius:0 10px 10px 0}.joe-readiness h3,.joe-readiness p{margin:0}.joe-readiness p{margin-top:.2rem;color:#cfddd3}@media(max-width:640px){.rating-scale{grid-template-columns:repeat(5,minmax(0,1fr))}}
