:root{--bg:#f4f6f5;--surface:#fff;--surface-2:#f8faf9;--border:#dfe5e2;--border-strong:#c8d2cd;--ink:#1d2a25;--ink-soft:#5c6b64;--ink-muted:#85938c;--brand:#2c6a5c;--brand-strong:#1f4f45;--brand-soft:#e6f1ed;--accent:#9a6438;--accent-soft:#f7eee5;--warn:#8a6417;--warn-soft:#fbf3de;--danger:#a33a34;--danger-soft:#fbeceb;--success:#2f6b46;--success-soft:#e8f4ec;--radius-sm:6px;--radius:10px;--radius-lg:14px;--shadow-sm:0 1px 2px #1428200d;--shadow:0 4px 18px #14282014;--maxw:1180px;--font:"Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}.app-shell{overflow-x:clip}img,video,canvas,svg{max-width:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.6}h1,h2,h3,h4{margin:0;font-weight:650;line-height:1.35}p{margin:0}ul,ol{margin:0;padding:0}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;display:block}button{font-family:inherit}.stack{flex-direction:column;gap:16px;display:flex}.row{flex-wrap:nowrap;align-items:center;gap:10px;display:flex}.row--wrap{flex-wrap:wrap}.row--between{justify-content:space-between}.muted{color:var(--ink-soft)}.small{font-size:13px}.link{color:var(--brand);cursor:pointer;background:0 0;border:none;padding:0;font-weight:550}.link:hover{text-decoration:underline}.sub-title{margin-top:16px;margin-bottom:8px;font-size:15px}.grid{gap:16px;display:grid}.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}.btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}.btn:hover{text-decoration:none}.btn--md{padding:9px 18px;font-size:14px}.btn--sm{padding:6px 12px;font-size:13px}.btn--primary{background:var(--brand);color:#fff}.btn--primary:hover{background:var(--brand-strong)}.btn--secondary{background:var(--surface);border-color:var(--border-strong);color:var(--ink)}.btn--secondary:hover{background:var(--surface-2);border-color:var(--brand)}.btn--ghost{color:var(--ink-soft);background:0 0}.btn--ghost:hover{background:var(--surface-2);color:var(--ink)}.btn--danger{background:var(--danger);color:#fff}.btn--danger:hover{background:#8c302b}.btn--block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}.tag{background:var(--surface-2);color:var(--ink-soft);border:1px solid var(--border);white-space:nowrap;border-radius:999px;align-items:center;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.tag--brand{background:var(--brand-soft);color:var(--brand-strong);border-color:#0000}.tag--accent{background:var(--accent-soft);color:var(--accent);border-color:#0000}.tag--warn{background:var(--warn-soft);color:var(--warn);border-color:#0000}.tag--danger{background:var(--danger-soft);color:var(--danger);border-color:#0000}.tag--success{background:var(--success-soft);color:var(--success);border-color:#0000}.confidence{border:1px solid #0000;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-flex}.confidence--high{background:var(--success-soft);color:var(--success)}.confidence--medium{background:var(--brand-soft);color:var(--brand-strong)}.confidence--low{background:var(--warn-soft);color:var(--warn)}.confidence--unavailable{background:var(--surface-2);color:var(--ink-muted);border-color:var(--border)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 20px}.card__head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.card__title{font-size:16px}.card__subtitle{color:var(--ink-muted);margin-top:3px;font-size:13px}.card__actions{flex-shrink:0}.card__body>*+*{margin-top:12px}.notice{border-radius:var(--radius);border-left:4px solid var(--border-strong);background:var(--surface-2);justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;font-size:13.5px;display:flex}.notice--info{background:var(--brand-soft);border-left-color:var(--brand)}.notice--warn{background:var(--warn-soft);border-left-color:var(--warn)}.notice--danger{background:var(--danger-soft);border-left-color:var(--danger)}.notice--sample{background:var(--accent-soft);border-left-color:var(--accent)}.notice--success{background:var(--success-soft);border-left-color:var(--success)}.notice__title{margin-bottom:2px;font-weight:650}.notice__text>p+p{margin-top:4px}.empty{text-align:center;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-2);padding:28px 16px}.empty__title{font-weight:650}.empty__desc{color:var(--ink-muted);margin-top:6px;font-size:13px}.empty__action{margin-top:14px}.modal-overlay{z-index:50;background:#14201b73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--radius-lg);width:min(520px,100%);box-shadow:var(--shadow);max-height:88vh;padding:20px;overflow-y:auto}.modal__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.modal__title{font-size:16px}.modal__foot{justify-content:flex-end;margin-top:18px;display:flex}.kv{flex-direction:column;gap:8px;display:flex}.kv__row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:8px;font-size:13.5px;display:flex}.kv__row:last-child{border-bottom:none;padding-bottom:0}.kv__row>span:first-child{color:var(--ink-muted);flex-shrink:0}.kv__row>:last-child{text-align:right;flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.list{flex-direction:column;gap:8px;font-size:13.5px;list-style:none;display:flex}.list>li{padding-left:16px;position:relative}.list>li:before{content:"·";color:var(--brand);font-weight:700;position:absolute;left:4px}.list--ordered{padding-left:20px;list-style:decimal}.list--ordered>li{padding-left:4px}.list--ordered>li:before{content:none}.list__item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;display:flex}.list__item:last-child{border-bottom:none}.field{flex-direction:column;gap:6px;display:flex}.field__label{color:var(--ink-soft);font-size:13px;font-weight:600}.field__required{color:var(--danger)}.field__hint{color:var(--ink-muted);font-size:12px}.field__error{color:var(--danger);font-size:13px}.field__success{color:var(--success);font-size:13px}.input,.select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--ink);padding:9px 11px;font-family:inherit;font-size:14px}.input:focus,.select:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}.checkbox{color:var(--ink-soft);cursor:pointer;align-items:flex-start;gap:9px;font-size:13.5px;display:flex}.checkbox input{accent-color:var(--brand);margin-top:3px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);cursor:pointer;text-align:left;flex-direction:column;align-items:flex-start;gap:2px;max-width:100%;padding:8px 12px;display:flex}.chip:hover{border-color:var(--brand)}.chip--on{background:var(--brand-soft);border-color:var(--brand)}.chip--compact{padding:6px 13px}.chip--danger.chip--on{background:var(--danger-soft);border-color:var(--danger)}.chip__label{font-size:13.5px;font-weight:600}.chip__hint{color:var(--ink-muted);font-size:11.5px}.progress{background:var(--border);border-radius:999px;height:7px;overflow:hidden}.progress__bar{background:var(--brand);border-radius:999px;height:100%;display:block}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:13px}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:8px 10px}.table th{color:var(--ink-muted);background:var(--surface-2);white-space:nowrap;font-size:12px;font-weight:600}.table tbody tr:last-child td{border-bottom:none}.mistake-list{flex-direction:column;gap:12px;list-style:none;display:flex}.mistake{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);padding:10px 12px}.mistake__wrong{color:var(--danger);font-size:13.5px}.mistake__fix{color:var(--success);margin-top:4px;font-size:13.5px}.resource-list{flex-direction:column;gap:12px;list-style:none;display:flex}.resource{border-bottom:1px solid var(--border);padding:12px 0}.resource:last-child{border-bottom:none}.resource__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}@media (pointer:coarse){.btn--md{min-height:44px}.btn--sm{min-height:40px;padding:8px 14px}.input,.select{min-height:44px;font-size:16px}.option,.chip,.shortcut,.upload-card__placeholder .btn{min-height:44px}.option{padding:11px 13px}.nav__link{align-items:center;min-height:44px;display:inline-flex}.checkbox{align-items:center;min-height:44px}.checkbox input{width:20px;height:20px;margin-top:0}}.app-shell{flex-direction:column;min-height:100vh;display:flex}.site-header{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;position:sticky;top:0}.site-header__inner{justify-content:space-between;align-items:center;gap:20px;min-height:62px;display:flex}.brand{color:var(--ink);align-items:center;gap:10px;display:flex}.brand:hover{text-decoration:none}.brand__mark{background:var(--brand);color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:17px;font-weight:700;display:flex}.brand__text{flex-direction:column;line-height:1.25;display:flex}.brand__text strong{font-size:15px}.brand__text small{color:var(--ink-muted);font-size:11.5px}.nav{scrollbar-width:none;align-items:center;gap:2px;display:flex;overflow-x:auto}.nav::-webkit-scrollbar{display:none}.nav__link{border-radius:var(--radius-sm);color:var(--ink-soft);white-space:nowrap;padding:7px 11px;font-size:13.5px}.nav__link:hover{background:var(--surface-2);color:var(--ink);text-decoration:none}.nav__link--active{background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.app-main{flex-direction:column;flex:1;gap:16px;padding-top:24px;padding-bottom:40px;display:flex}.site-footer{border-top:1px solid var(--border);background:var(--surface);color:var(--ink-muted);padding:18px 0 24px;font-size:12.5px}.site-footer p+p{margin-top:6px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-head__title{letter-spacing:.2px;font-size:24px}.page-head__desc{color:var(--ink-soft);margin-top:4px;font-size:13.5px}.page-head__actions{flex-wrap:wrap;gap:8px;display:flex}.radar svg{width:100%;height:auto;max-height:340px}.radar__ring{fill:none;stroke:var(--border);stroke-width:1px}.radar__axis{stroke:var(--border);stroke-width:1px}.radar__label{fill:var(--ink-soft);font-size:11px}.radar__value{fill:var(--ink-muted);font-size:10px}.radar__area{fill:#2c6a5c2e;stroke:var(--brand);stroke-width:2px}.radar__dot{fill:var(--brand)}.result-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:20px;display:grid}.score-list{flex-direction:column;gap:10px;display:flex}.score-row__head{justify-content:space-between;margin-bottom:4px;font-size:13px;font-weight:600;display:flex}.score-row__hint{color:var(--ink-muted);margin-top:3px;font-size:11.5px}.wizard__steps{flex-wrap:wrap;gap:6px;margin-bottom:18px;list-style:none;display:flex}.wizard__step{border:1px solid var(--border);color:var(--ink-muted);background:var(--surface-2);border-radius:999px;align-items:center;gap:7px;padding:6px 11px 6px 7px;font-size:12.5px;display:flex}.wizard__step--on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.wizard__step--done{color:var(--ink-soft);background:var(--surface)}.wizard__index{background:var(--surface);border:1px solid var(--border-strong);border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:11.5px;font-weight:700;display:flex}.wizard__step--on .wizard__index{background:var(--brand);border-color:var(--brand);color:#fff}.wizard__footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:14px;display:flex}.limitation-form{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);flex-direction:column;gap:12px;padding:14px;display:flex}.quiz__meta{flex-direction:column;gap:8px;margin-bottom:18px;display:flex}.quiz__group-title{font-size:15px;font-weight:650}.quiz-question{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);padding:14px 16px}.quiz-question__stem{margin-bottom:10px;font-size:14.5px;font-weight:600}.quiz-question__explanation{color:var(--brand-strong);background:var(--brand-soft);border-radius:var(--radius-sm);margin-top:10px;padding:8px 10px;font-size:12.5px}.options{flex-direction:column;gap:8px;display:flex}.option{text-align:left;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;align-items:flex-start;gap:10px;padding:9px 12px;font-size:13.5px;display:flex}.option:hover{border-color:var(--brand)}.option--on{border-color:var(--brand);background:var(--brand-soft)}.option__mark{border:1px solid var(--border-strong);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;margin-top:1px;font-size:11px;font-weight:700;display:flex}.option--on .option__mark{background:var(--brand);border-color:var(--brand);color:#fff}.exercise-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--ink);box-shadow:var(--shadow-sm);flex-direction:column;gap:6px;padding:16px;display:flex}.exercise-card:hover{border-color:var(--brand);text-decoration:none}.exercise-card__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.exercise-card__name{margin-top:2px;font-size:16px}.exercise-card__foot{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;margin-top:6px;padding-top:8px;display:flex}.difficulty{gap:3px;display:inline-flex}.difficulty__dot{background:var(--border-strong);border-radius:50%;width:6px;height:6px}.difficulty__dot--on{background:var(--accent)}.filters{flex-direction:column;gap:14px;display:flex}.video-block{flex-direction:column;gap:8px;display:flex}.upload-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:10px;padding:16px;display:flex}.upload-card__head{justify-content:space-between;align-items:center;display:flex}.upload-card__head h3{font-size:15px}.file-input-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.upload-card__preview img{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);object-fit:contain;width:100%;max-height:320px}.upload-card__preview{flex-direction:column;gap:8px;display:flex}.upload-card__placeholder{border:1.5px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-2);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:180px;padding:16px;display:flex}.upload-card__hint{color:var(--ink-muted);font-size:13px}.upload-card__guide{color:var(--ink-soft);border-top:1px solid var(--border);flex-direction:column;gap:4px;padding-top:8px;font-size:12.5px;list-style:none;display:flex}.upload-card__guide li{padding-left:14px;position:relative}.upload-card__guide li:before{content:"·";color:var(--brand);font-weight:700;position:absolute;left:4px}.history-list{flex-direction:column;list-style:none;display:flex}.history-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;display:flex}.history-item:last-child{border-bottom:none}.history-item__main{flex-direction:column;gap:4px;display:flex}.view-summary{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:3px;padding:12px;display:flex}.observation-list{flex-direction:column;gap:12px;list-style:none;display:flex}.observation{border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;gap:6px;padding:13px 14px;display:flex}.correction{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);flex-direction:column;gap:4px;padding:10px 12px;display:flex}.session{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:10px;padding:14px;display:flex}.plan-items{flex-direction:column;gap:8px;list-style:none;display:flex}.plan-item{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.plan-item__main{flex-direction:column;gap:4px;min-width:0;display:flex}.plan-add{border-radius:var(--radius-sm);border:1px dashed var(--border-strong,var(--border));background:var(--surface);flex-direction:column;gap:6px;padding:10px 12px;display:flex}.gap-note{border-radius:var(--radius-sm);background:var(--warn-soft,#fdf4e3);color:var(--warn-strong,#8a5a12);padding:8px 12px;font-size:13px;line-height:1.6}@media (width<=960px){.grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-item{flex-direction:column;align-items:stretch}.result-grid{grid-template-columns:1fr}}@media (width<=780px){.site-header__inner{flex-direction:column;align-items:stretch;gap:8px;padding-top:10px;padding-bottom:8px}.nav{margin:0 -4px;padding-bottom:4px}.grid--2,.grid--3{grid-template-columns:1fr}.page-head__title{font-size:21px}.card{padding:15px 16px}.history-item{flex-direction:column}.kv__row{flex-direction:column;gap:4px}.kv__row>:last-child{text-align:left;justify-content:flex-start}.wizard__footer{flex-wrap:wrap}}@media (width<=420px){.container{padding:0 14px}.brand__text small{display:none}.btn--md{padding:8px 14px}}.mobile-gym-link{display:none}.bottom-nav{z-index:30;background:var(--surface);border-top:1px solid var(--border);padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px));display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 12px #14282012}.bottom-nav__inner{max-width:var(--maxw);grid-template-columns:repeat(5,minmax(0,1fr));margin:0 auto;display:grid}.bottom-nav__link{min-height:52px;color:var(--ink-muted);-webkit-tap-highlight-color:transparent;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px 2px;font-size:11px;line-height:1.2;display:flex}.bottom-nav__link:hover{color:var(--ink);text-decoration:none}.bottom-nav__link--active{color:var(--brand-strong);background:var(--brand-soft);font-weight:650}.bottom-nav__icon{width:22px;height:22px}.bottom-nav__label{white-space:nowrap}.stat{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);flex-direction:column;gap:2px;padding:12px;display:flex}.stat__value{color:var(--brand-strong);font-size:22px;font-weight:700;line-height:1.2}.stat__label{color:var(--ink-muted);font-size:12px}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.shortcut{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);color:var(--ink);flex-direction:column;gap:3px;min-height:72px;padding:12px;display:flex}.shortcut:hover{border-color:var(--brand);text-decoration:none}.shortcut strong{font-size:14px}@media (width<=780px){.nav{display:none}.bottom-nav{display:block}.mobile-gym-link{background:var(--brand-soft);min-height:38px;color:var(--brand-strong);border-radius:999px;justify-content:center;align-items:center;padding:0 14px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.site-header__inner{flex-direction:row;align-items:center;gap:10px;padding-top:8px;padding-bottom:8px}.app-main{padding-top:16px;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));gap:14px}.site-footer{padding-bottom:24px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head__title{font-size:20px}}.zone-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.zone-nav__item{border-radius:var(--radius);border:1px solid var(--border-strong);background:var(--surface);min-height:56px;color:var(--ink);cursor:pointer;text-align:center;justify-content:center;align-items:center;padding:8px 6px;font-size:13.5px;font-weight:600;display:flex}.zone-nav__item--active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.equipment-picker{flex-direction:column;gap:10px;display:flex}.zone-exercise-list{flex-direction:column;gap:10px;list-style:none;display:flex}.zone-exercise{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.zone-exercise__main{flex-direction:column;gap:4px;min-width:0;display:flex}.qr-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);align-items:flex-start;gap:14px;margin-top:12px;padding:12px;display:flex}.qr-panel__code{flex-shrink:0}.qr-panel__image{border-radius:var(--radius-sm);border:1px solid var(--border);background:#fff;width:160px;height:160px}.qr-panel__placeholder{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);width:160px;height:160px;color:var(--ink-muted);justify-content:center;align-items:center;font-size:12px;display:flex}.qr-panel__body{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.qr-panel__link{color:var(--ink-muted);word-break:break-all;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:6px 8px;font-size:11.5px;display:block}.qr-scanner{z-index:60;background:#0b1512;flex-direction:column;display:flex;position:fixed;inset:0}.qr-scanner__video{object-fit:cover;flex:1;width:100%}.qr-scanner__frame{border:2px solid #ffffffe6;border-radius:12px;width:min(240px,60vw);height:min(240px,60vw);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #00000040}.qr-scanner__bar{padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));color:#fff;background:#00000073;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex;position:absolute;bottom:0;left:0;right:0}@media (width<=780px){.zone-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.zone-nav__item:last-child{grid-column:span 2}.zone-exercise{flex-direction:column;align-items:stretch}.qr-panel{flex-direction:column;align-items:center}.qr-panel__body{width:100%}}.camera-modal{z-index:80;color:#eef5f2;padding:env(safe-area-inset-top,0px) 0 calc(env(safe-area-inset-bottom,0px) + 4px);background:#0b1512;flex-direction:column;display:flex;position:fixed;inset:0;overflow-y:auto}.camera-modal__head{justify-content:space-between;align-items:center;padding:12px 16px;font-size:15px;display:flex}.camera-modal__head .btn--ghost{color:#cfe0d9}.camera-stage{background:#000;flex:1;min-height:260px;position:relative;overflow:hidden}.camera-stage__video{object-fit:cover;width:100%;height:100%;min-height:260px;max-height:68vh;display:block}.camera-stage__video--mirror{transform:scaleX(-1)}.camera-stage__hint{color:#fff;border-radius:var(--radius);text-align:center;background:#000000a6;max-width:80%;padding:10px 14px;font-size:13px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.camera-stage__hint--error{background:#781e1ad9}.framing-guide{pointer-events:none;--guide-color:#ffffff8c;position:absolute;inset:0}.framing-guide--ok{--guide-color:#5cd68fd9}.framing-guide--bad{--guide-color:#ff8a80e6}.framing-guide__line{border-top:1px dashed var(--guide-color);color:var(--guide-color);font-size:10px;position:absolute;left:6%;right:6%}.framing-guide__line span{background:#00000059;border-radius:3px;padding:0 3px;position:absolute;top:-13px;left:0}.framing-guide__line--head{top:9%}.framing-guide__line--shoulder{top:24%}.framing-guide__line--hip{top:50%}.framing-guide__line--ankle{top:92%}.framing-guide__center{border-left:1px dashed var(--guide-color);position:absolute;top:4%;bottom:4%;left:50%}.framing-guide__side{border-left:1px dotted #fff6;position:absolute;top:8%;bottom:8%;left:30%}.camera-modal__status{flex-direction:column;gap:4px;padding:10px 16px 0;display:flex}.camera-modal__status .muted{color:#a9bdb6}.camera-modal__status .field__error{color:#ff9d95}.camera-modal__status .field__success{color:#7ee2a8}.camera-modal__guide{color:#a9bdb6;flex-direction:column;gap:3px;padding:8px 16px 0;font-size:12px;list-style:none;display:flex}.camera-modal__guide li:before{content:"· ";color:#7ee2a8}.camera-modal__actions{gap:10px;margin-top:auto;padding:12px 16px;display:flex}.camera-modal__actions .btn{flex:1;min-height:46px}@media (width>=781px){.camera-modal{justify-content:center;align-items:center;padding:24px}.camera-modal__head,.camera-modal__status,.camera-modal__guide,.camera-modal__actions{width:min(560px,100%)}.camera-stage{border-radius:var(--radius-lg);flex:none;width:min(560px,100%);height:60vh}.camera-stage__video{height:100%;max-height:none}}.live-stage{border-radius:var(--radius);background:#0b1512;justify-content:center;align-items:center;width:100%;height:min(62vh,540px);min-height:240px;display:flex;position:relative;overflow:hidden}.live-stage__video{object-fit:contain;width:100%;height:100%;display:block}.live-stage__video--mirror{transform:scaleX(-1)}.live-stage__canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.live-stage__placeholder{text-align:center;color:#dfeee8;background:#0b15128c;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:16px;font-size:14px;display:flex;position:absolute;inset:0}.live-stage__badge{color:#eafbf1;pointer-events:none;background:#0b1512ad;border-radius:999px;padding:6px 10px;font-size:12px;line-height:1.2;position:absolute;top:10px;left:10px}.live-feedback{flex-direction:column;gap:10px;display:flex}.live-feedback__hint{color:var(--success);font-size:14px;font-weight:600}.live-feedback__hint--warn{color:var(--warn)}.live-feedback__issues{flex-direction:column;gap:8px;list-style:none;display:flex}.live-feedback__issues li{border-left:3px solid var(--warn);background:var(--warn-soft);border-radius:var(--radius-sm);flex-direction:column;gap:2px;padding:8px 10px;font-size:13.5px;display:flex}.live-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.live-metric{border-radius:var(--radius);background:var(--danger-soft);border:1px solid #0000;flex-direction:column;gap:2px;padding:10px;display:flex}.live-metric--ok{background:var(--success-soft)}.live-metric__label{color:var(--ink-muted);font-size:12px}.live-metric strong{font-size:16px}@media (width<=520px){.live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-stage{height:56vh}}.week-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.week-day{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:4px;min-height:96px;padding:8px;display:flex;position:relative}.week-day--training{border-color:var(--brand-soft)}.week-day--done{background:var(--success-soft);border-color:#2f6b464d}.week-day--today{outline:2px solid var(--brand);outline-offset:-2px}.week-day__head{justify-content:space-between;align-items:baseline;gap:4px;font-size:12px;display:flex}.week-day__title{font-size:12.5px;font-weight:600}.week-day__today{background:var(--brand);color:#fff;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:600;position:absolute;top:-8px;right:6px}@media (width<=780px){.week-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.week-day{min-height:0}}@media (width<=380px){.week-calendar{grid-template-columns:1fr}}
