:root{--bg:#f7f9fb;--surface:#fff;--surface-2:#eef2f6;--border:#dce3ea;--text:#0b0f14;--muted:#5b6773;--accent:#0f6e78;--accent-soft:#35d2c42e;--lav:#5c63d6;--lav-soft:#848cff29;--good:#0f6e78;--warn:#b8860b;--error:#c2185b;--shadow:0 1px 2px #0b0f140f, 0 8px 24px #0b0f140f;--aurora:linear-gradient(120deg, #35d2c4 0%, #848cff 55%, #ffd6e6 100%);--radius:20px;--inset:16px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--bg:#0b0f14;--surface:#141b24;--surface-2:#1b2430;--border:#253040;--text:#f7f9fb;--muted:#aab4c0;--accent:#35d2c4;--accent-soft:#35d2c424;--lav:#848cff;--lav-soft:#848cff2e;--good:#35d2c4;--warn:#ffd166;--error:#ff6b8a;--shadow:0 1px 2px #0006, 0 12px 32px #00000059}}:root[data-theme=dark]{--bg:#0b0f14;--surface:#141b24;--surface-2:#1b2430;--border:#253040;--text:#f7f9fb;--muted:#aab4c0;--accent:#35d2c4;--accent-soft:#35d2c424;--lav:#848cff;--lav-soft:#848cff2e;--good:#35d2c4;--warn:#ffd166;--error:#ff6b8a;--shadow:0 1px 2px #0006, 0 12px 32px #00000059}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:15px/1.5 -apple-system,SF Pro Text,system-ui,Segoe UI,Roboto,sans-serif}h1{letter-spacing:-.01em;text-wrap:balance;margin:0;font-size:24px}h2{margin:0;font-size:16px}p{margin:0 0 10px}a,.link{color:var(--accent)}button{font:inherit}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:100%;padding:9px 12px}input[type=range]{accent-color:var(--accent);padding:0}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}textarea{resize:vertical;width:100%}input:disabled{color:var(--muted)}.boot{height:100%;color:var(--muted);place-items:center;display:grid}.banner{background:var(--lav-soft);color:var(--text);padding:8px var(--inset);text-align:center;font-size:13px}.app{flex-direction:column;min-height:100%;display:flex}.layout{flex:1;grid-template-columns:220px 1fr;min-height:0;display:grid}.side{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;gap:18px;padding:18px 14px;display:flex}.brand{letter-spacing:.02em;align-items:center;gap:10px;font-weight:600;display:flex}.brand.large{margin-bottom:18px;font-size:18px}.mark{background:var(--aurora);border-radius:50%;flex:none;width:28px;height:28px;position:relative}.mark:after{content:"";background:var(--surface);border-radius:50%;position:absolute;inset:3px 3px 3px 9px}.mark:before{content:"";z-index:1;background:#f7f9fb;border-radius:50%;width:5px;height:5px;position:absolute;top:4px;right:2px;box-shadow:0 0 6px 2px #ffffff80}.side nav{flex-direction:column;gap:4px;display:flex}.side nav button{all:unset;cursor:pointer;color:var(--muted);border-radius:12px;padding:9px 12px}.side nav button.on{background:var(--accent-soft);color:var(--text);font-weight:600}.side nav button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.side-foot{color:var(--muted);flex-direction:column;gap:8px;margin-top:auto;font-size:13px;display:flex}.side-foot select{padding:6px 10px}@media (width<=860px){.layout{grid-template-columns:1fr}.side{border-right:0;border-bottom:1px solid var(--border);padding:12px var(--inset);flex-flow:wrap;align-items:center;gap:10px 14px}.side .brand{margin-right:4px}.side nav{flex-flow:wrap;gap:2px}.side nav button{padding:7px 10px}.side .side-foot{flex-direction:row;align-items:center;margin-top:0;margin-left:auto}}.link{all:unset;cursor:pointer;color:var(--accent);font-size:13px;font-weight:600}.link.danger{color:var(--error)}.link:disabled{opacity:.5;cursor:default}.screen{padding:22px var(--inset) 40px;min-width:0}.head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px;display:flex}.sub{color:var(--muted);font-size:14px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:600}.hint{color:var(--muted);font-size:13px}.lead{color:var(--muted);max-width:62ch;font-size:15px}.foot{color:var(--muted);margin-top:14px;font-size:12px}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.btn{all:unset;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:12px;padding:9px 14px;font-size:14px;font-weight:600}.btn.primary{background:var(--aurora);color:#0b0f14;border-color:#0000}.btn:disabled{opacity:.5;cursor:default}.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:16px}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.readiness{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:4px;margin-bottom:14px;padding:12px 16px;display:flex}.readiness-body{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.readiness .score{letter-spacing:-.02em;color:var(--accent);font-variant-numeric:tabular-nums;font-size:26px;font-weight:700}.readiness .tier{font-weight:600}.readiness .summary{color:var(--muted)}.week{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;display:grid}@media (width<=1100px){.week{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=640px){.week{grid-template-columns:repeat(2,minmax(0,1fr))}}.day{background:var(--surface-2);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:8px;min-width:0;min-height:140px;padding:12px;display:flex}.day.today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.day .d{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:6px;font-size:12px;display:flex}.day .d b{color:var(--text);font-weight:600}.wo{all:unset;cursor:pointer;background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:3px;min-width:0;padding:10px;display:flex}.wo strong{overflow-wrap:anywhere;font-size:14px}.wo span{color:var(--muted);font-size:12px}.wo.done{border-left:3px solid var(--good)}.wo.active{border-left:3px solid var(--warn)}.wo.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.wo:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.rest{color:var(--muted);margin-top:auto;font-size:12px;font-style:italic}.empty{color:var(--muted);text-align:center;padding:24px 0}.two{grid-template-columns:1.6fr 1fr;gap:14px;margin-top:18px;display:grid}@media (width<=900px){.two{grid-template-columns:1fr}}.stack{flex-direction:column;gap:14px;min-width:0;display:flex}.switch{cursor:pointer;align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.switch input{width:18px;height:18px;accent-color:var(--accent);margin:0}.switch+.hint{margin-top:8px;line-height:1.5}.exercise-list{flex-direction:column;display:flex}.ex{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;grid-template-columns:1fr auto auto;align-items:center;gap:8px 14px;padding:10px 0;display:grid}.ex:first-child{border-top:0}.ex .n{flex-wrap:wrap;align-items:center;gap:8px;font-weight:600;display:flex}.ex .m{color:var(--muted);font-size:13px}.ss{color:var(--lav);background:var(--lav-soft);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.edit{flex-wrap:wrap;gap:8px;display:flex}.edit label{color:var(--muted);flex-direction:column;gap:2px;font-size:11px;display:flex}.edit input{width:76px;padding:6px 8px}.row-actions{align-items:center;gap:12px;display:flex}.field-row{grid-template-columns:1fr auto;gap:12px;display:grid}@media (width<=640px){.ex,.field-row{grid-template-columns:1fr}}.swap-list{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.swap-option{all:unset;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.swap-option:hover,.swap-option:focus-visible{border-color:var(--accent)}.swap-option span{color:var(--muted);font-size:12px}.swap-option.static{cursor:default}.swap-option.static:hover{border-color:var(--border)}.ex-name{all:unset;cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:3px}.ex-name:hover,.ex-name[aria-expanded=true]{color:var(--accent);text-decoration-color:currentColor}.ex-name:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.detail{flex-direction:column;gap:16px;display:flex}.detail-hero{background:var(--bg);border-radius:16px;place-items:center;width:100%;max-height:420px;display:grid;overflow:hidden}.detail-hero video,.detail-hero img{object-fit:contain;width:100%;height:100%;display:block}.detail-hero .mark{opacity:.35;width:56px;height:56px}.detail-hero.empty{height:120px}.detail-hero .mark:after{background:var(--bg)}.detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.detail-head h2{font-size:20px}.detail-rx{color:var(--accent);font-variant-numeric:tabular-nums;margin:4px 0;font-weight:600}.detail h3{margin:0 0 8px;font-size:15px}.detail-steps{flex-direction:column;gap:8px;margin:0;padding-left:22px;font-size:14px;line-height:1.5;display:flex}.detail-steps li::marker{color:var(--accent);font-weight:700}a.btn{align-self:flex-start;text-decoration:none}a.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.notes{color:var(--muted);padding-left:0;font-size:14px;line-height:1.5}ul.notes{padding-left:18px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}@media (width<=760px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:16px;min-width:0;padding:14px 16px}.kpi .v{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:700}.kpi .v small{color:var(--muted);font-size:14px;font-weight:500}.kpi .l{color:var(--muted);font-size:12px}.kpi .tr{color:var(--good);min-height:1em;font-size:12px;font-weight:600}.charts{grid-template-columns:1.3fr 1fr;gap:14px;margin-bottom:14px;display:grid}@media (width<=900px){.charts{grid-template-columns:1fr}}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--border);stroke-width:1px}.chart .axis{fill:var(--muted);font-size:11px}.chart .value{fill:var(--text);font-size:11px;font-weight:600}.chart .bar{fill:var(--lav)}.chart .bar.last{fill:var(--accent)}.chart .line{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round}.chart .area{fill:var(--accent-soft)}.chart .dot{fill:var(--accent)}.row{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;grid-template-columns:90px 1fr auto;align-items:center;gap:12px;padding:10px 0;display:grid}.row:first-of-type{border-top:0}.row .dt,.row .st{color:var(--muted);font-size:13px}.pr{color:var(--accent);background:var(--accent-soft);border-radius:999px;margin-left:6px;padding:2px 8px;font-size:11px;font-weight:600}@media (width<=640px){.row{grid-template-columns:1fr;gap:2px}}.history-item{border-top:1px solid var(--border)}.history-item:first-of-type{border-top:0}.history-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px}.history-row:hover,.history-row[aria-expanded=true]{background:var(--surface-2)}.history-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.history-row .st{white-space:pre;align-items:center;gap:8px;display:flex}.history-row .chev{color:var(--muted);font-size:18px;line-height:1;transition:transform .2s;display:inline-block}.history-row[aria-expanded=true] .chev{transform:rotate(90deg)}.history-detail{padding:0 0 12px 102px}.history-detail .ex{grid-template-columns:1fr auto;padding:8px 0}.history-detail .ex .m{text-align:right}.history-detail .planned{color:var(--muted);border:1px solid var(--border);border-radius:999px;margin-left:6px;padding:1px 7px;font-size:11px}@media (width<=640px){.history-detail{padding-left:0}.history-detail .ex{grid-template-columns:1fr}.history-detail .ex .m{text-align:left}}@media (prefers-reduced-motion:reduce){.history-row .chev{transition:none}}.field{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.field>label{font-size:13px;font-weight:600}.grid-2{grid-template-columns:1fr 1fr;gap:14px;display:grid}@media (width<=640px){.grid-2{grid-template-columns:1fr}}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{all:unset;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);border-radius:999px;padding:6px 12px;font-size:13px}.chip.on{background:var(--accent-soft);border-color:var(--accent);font-weight:600}.chip:disabled{opacity:.4;cursor:default}.chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.trainer-form .actions,.profile-form .actions{margin-top:6px}.avatar-block{flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:18px;display:flex}.avatar{background:var(--aurora);border-radius:50%;flex:none;place-items:center;width:112px;height:112px;padding:3px;display:grid}.avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.avatar span{color:#0b0f14;letter-spacing:.02em;font-size:34px;font-weight:700}.avatar-actions{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.avatar-actions .hint{max-width:40ch;line-height:1.5}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.busy{align-items:center;gap:14px;padding:10px 0;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;flex:none;width:26px;height:26px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{border-top-color:var(--accent);animation:none}}.preview-day{border-top:1px solid var(--border);padding:10px 0}.preview-day .d{color:var(--muted);gap:8px;font-size:12px;display:flex}.preview-day .d b{color:var(--text)}.preview-session{margin-top:6px}.preview-session .m{color:var(--muted);margin-left:8px;font-size:13px}.preview-session ul{margin:4px 0 0;padding-left:18px;font-size:14px}.signin{min-height:100%;padding:24px var(--inset);place-items:center;display:grid}.signin-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:480px;box-shadow:var(--shadow);padding:28px}.signin-card h1{margin-bottom:8px}.signin-card .actions{margin:18px 0 10px}.lang-switch{color:var(--muted);align-items:center;gap:8px;margin-top:18px;font-size:13px;display:flex}.toasts{left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:10;flex-direction:column;gap:8px;max-width:min(92vw,520px);display:flex;position:fixed;transform:translate(-50%)}.toast{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;padding:10px 14px;font-size:14px}.toast.error{border-color:var(--error)}.feedback-previews{flex-direction:column;gap:8px;margin:0 0 12px;padding:0;list-style:none;display:flex}.feedback-previews li{align-items:center;gap:10px;display:flex}.feedback-previews img{object-fit:cover;border:1px solid var(--border);background:var(--card);border-radius:8px;width:56px;height:56px}.feedback-previews span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}#feedback-diagnostics-details dl{margin:8px 0 0}#feedback-diagnostics-details div{gap:8px;display:flex}#feedback-diagnostics-details dt{opacity:.75;min-width:11rem}#feedback-diagnostics-details dd{margin:0}.checkin-card{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.checkin-card h2{margin:0;font-size:16px}.checkin-card .good{color:var(--good)}.checkin-card p{margin:0}.checkin-section{border:0;flex-direction:column;gap:8px;min-width:0;margin:0 0 16px;padding:0;display:flex}.checkin-section legend{margin-bottom:6px;padding:0;font-size:13px;font-weight:600}.checkin-section .hint,.checkin-form .field .hint{margin:0;line-height:1.5}.checkin-form #checkin-weight{max-width:140px}.checkin-form .counter{text-align:right}.checkin-form .actions{margin-top:6px}.checkin-photos{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.checkin-photos li{position:relative}.checkin-photos img{aspect-ratio:3/4;object-fit:cover;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;width:100%;display:block}.checkin-photos li .link{background:var(--surface);border:1px solid var(--border);border-radius:50%;place-items:center;width:24px;height:24px;font-size:16px;display:grid;position:absolute;top:4px;right:4px}.checkin-entry{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding:12px 0;display:flex}.checkin-entry:first-of-type{border-top:0;padding-top:0}.checkin-entry-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.checkin-entry-tools{align-items:baseline;gap:12px;display:flex}.checkin-delete{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.checkin-delete .hint,.checkin-delete .actions{margin:0}.checkin-observation{color:var(--text);font-size:13px;line-height:1.5}.checkin-observation:before{content:"✦ ";color:var(--accent)}.checkin-focus{flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.checkin-feedback{color:var(--muted);overflow-wrap:anywhere;font-size:13px;font-style:italic}.swap-option:disabled{opacity:.5;cursor:default}
