:root{--bg:#f6f1fa;--surface:#fff;--text:#262046;--text-muted:#5f5f93;--border:#d8cfea;--accent:#5d549c;--accent-text:#fff;--accent-2:#7e3a63;--danger:#b3263e;--warning:#9a6700;--sky:linear-gradient(120deg, #5d549c 0%, #a373d3 55%, #eb9998 100%);--radius:0;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font:16px/1.5 var(--sans);color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;-webkit-font-smoothing:antialiased}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#17142b;--surface:#221e3d;--text:#f5eef6;--text-muted:#b8b0d8;--border:#3f3868;--accent:#eb9998;--accent-text:#2a1424;--accent-2:#a373d3;--danger:#ff7b8a;--warning:#f2c14e}}*{box-sizing:border-box}body{background:var(--bg);margin:0}.app{max-width:560px;min-height:100svh;padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;gap:16px;margin:0 auto;display:flex}.app-header{margin:calc(-1 * (env(safe-area-inset-top) + 16px)) -16px 0;padding:calc(env(safe-area-inset-top) + 20px) 16px 20px;background:var(--sky);color:#fff;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.app-header .hint{color:#fff;opacity:.9;margin:4px 0 0}.app-header .badge{color:#5d549c;background:#fff;font-weight:600}h1{letter-spacing:.02em;text-transform:uppercase;margin:0;font-size:1.75rem;line-height:1.2}h2{margin:0 0 12px;font-size:1.25rem}p{margin:0 0 12px}.hint{color:var(--text-muted);font-size:.9rem}.badge{border-radius:var(--radius);background:var(--border);color:var(--text);flex-shrink:0;padding:4px 10px;font-size:.8rem}.prefs{flex-wrap:wrap;gap:12px;display:flex}.segmented{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:inline-flex;overflow:hidden}.segmented button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;min-height:40px;padding:8px 14px;font-size:.9rem}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--accent-text);font-weight:600}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}form{flex-direction:column;gap:10px;display:flex}label{font-size:.95rem;font-weight:600}input{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text);padding:12px;font-size:1rem}input:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary,button.secondary{font:inherit;border-radius:var(--radius);cursor:pointer;min-height:48px;font-weight:600}button.primary{background:var(--accent);color:var(--accent-text);border:0}button.secondary{border:1px solid var(--border);color:var(--text);background:0 0}button:disabled{opacity:.6;cursor:default}button.link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 0}.error{color:var(--danger);margin:12px 0 0}a{color:var(--accent)}a.button{border-radius:var(--radius);justify-content:center;align-items:center;min-height:48px;margin-bottom:10px;font-weight:600;text-decoration:none;display:flex}a.button.primary{background:var(--accent);color:var(--accent-text)}.screen-title{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px;display:flex}.screen-title h2{margin:0}h3{margin:0 0 10px;font-size:1.05rem}.filters{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.filter-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}select{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;color:var(--text);padding:10px;font-size:1rem}.filter-summary{justify-content:space-between;align-items:center;min-height:32px;display:flex}.filter-summary .hint{margin:0}.exercise-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.exercise-row{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);align-items:center;gap:12px;padding:10px;text-decoration:none;display:flex}.exercise-row img,.thumb-placeholder{border-radius:var(--radius);object-fit:cover;background:var(--bg);flex-shrink:0;width:72px;height:48px}.thumb-placeholder{color:var(--text-muted);border:1px solid var(--border);justify-content:center;align-items:center;font-size:1.25rem;font-weight:700;display:flex}.exercise-row-text{flex-direction:column;min-width:0;display:flex}.exercise-row-text .hint{margin:0}.exercise-detail{flex-direction:column;gap:12px;display:flex}.exercise-images{grid-template-columns:1fr 1fr;gap:8px;display:grid}.exercise-images img{border-radius:var(--radius);background:#fff;width:100%;height:auto}.facts{grid-template-columns:auto 1fr;gap:6px 12px;margin:0;display:grid}.facts dt{color:var(--text-muted);font-weight:600}.facts dd{margin:0}.steps,.ladder{flex-direction:column;gap:8px;margin:0;padding-left:1.4em;display:flex}.ladder li[aria-current=step]{color:var(--accent)}a.button.secondary{border:1px solid var(--border);color:var(--text)}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:8px;padding:0;font-size:.95rem;font-weight:600}.field{flex-direction:column;gap:6px;min-width:0;margin-bottom:16px;display:flex}.field .hint{margin:0}textarea,input[type=date],input[type=search],input[type=text]{width:100%}textarea{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text);resize:vertical;padding:12px;font-size:1rem}.two-cols,.three-cols{gap:0 10px;display:grid}.two-cols{grid-template-columns:1fr 1fr}.three-cols{grid-template-columns:1fr 1fr 1fr}.number-input{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);align-items:center;display:flex}.number-input input{background:0 0;border:0;flex:1;min-width:0}.number-input .suffix{color:var(--text-muted);white-space:nowrap;padding-right:12px;font-size:.9rem}.choice-cards{gap:8px;display:grid}.choice-cards.cols-2{grid-template-columns:1fr 1fr}.choice-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);cursor:pointer;align-items:center;gap:10px;min-height:48px;padding:12px;font-weight:400;display:flex}.choice-card:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.choice-card input{accent-color:var(--accent);flex-shrink:0;width:18px;height:18px}.choice-card span{flex-direction:column;display:flex}.choice-card .hint{margin:0}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);min-height:40px;color:var(--text);cursor:pointer;padding:8px 14px;font-size:.9rem}.chip[aria-pressed=true],.chip.removable{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}.check-field{cursor:pointer;align-items:flex-start;gap:10px;margin-bottom:14px;font-weight:400;display:flex}.check-field input{accent-color:var(--accent);flex-shrink:0;width:20px;height:20px;margin-top:2px}.notice{border-radius:var(--radius);border-left:4px solid var(--accent-2);background:var(--bg);padding:12px;font-size:.95rem}.notice.warning{border-left-color:var(--warning)}.notice.error{border-left-color:var(--danger);color:var(--danger)}.picker-results{border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.picker-results li+li{border-top:1px solid var(--border)}.picker-results li.hint{margin:0;padding:10px 12px}.picker-results button{text-align:left;width:100%;font:inherit;background:var(--surface);color:var(--text);cursor:pointer;border:0;padding:12px}.onboarding h2{margin-bottom:12px}.onboarding>.hint{margin:8px 0 4px}.progress{border-radius:var(--radius);background:var(--border);height:6px;overflow:hidden}.progress div{background:var(--sky);height:100%;transition:width .2s}.step-body h3{margin-top:8px}.step-nav{padding:12px 0 calc(env(safe-area-inset-bottom) + 4px);background:var(--bg);gap:10px;display:flex;position:sticky;bottom:0}.step-nav button{flex:1}.summary-section{border-bottom:1px solid var(--border);margin-bottom:12px;padding-bottom:8px}.summary-section p{margin-bottom:4px}.summary-head{justify-content:space-between;align-items:center;display:flex}.summary-head h3{margin:0}
