:root{--bg:#09090b;--surface:#111114;--surface-2:#17171b;--surface-3:#1e1e23;--text:#f6f4ef;--text-muted:#9b9aa1;--brand:#ff6b1a;--brand-strong:#ff4f00;--brand-soft:#ff6b1a21;--success:#5cdb95;--success-soft:#5cdb951f;--line:#ffffff17;--shadow:0 18px 50px #00000052;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--max-content:620px;color:var(--text);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{background:radial-gradient(circle at 80% -10%,#ff6b1a1c,transparent 30%),var(--bg);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.app-header{z-index:20;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);background:#09090bde;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid;position:sticky;top:0}.brand-mark{background:var(--brand);color:#111;letter-spacing:-1px;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:950;display:grid}.brand-name{letter-spacing:.06em;font-size:15px;display:block}.brand-tagline{color:var(--text-muted);letter-spacing:.13em;margin-top:2px;font-size:9px;display:block}.avatar-button{border:1px solid var(--line);background:var(--surface-2);width:40px;height:40px;color:var(--text);border-radius:50%;font-weight:800}.page-content{width:min(100%,var(--max-content));padding:28px 18px calc(104px + env(safe-area-inset-bottom));margin:auto}.bottom-nav{z-index:30;width:min(100%,var(--max-content));padding:9px 14px calc(9px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid var(--line);background:#111114f0;grid-template-columns:1fr 1fr 1fr;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{color:var(--text-muted);flex-direction:column;align-items:center;gap:5px;padding:7px;font-size:11px;font-weight:700;text-decoration:none;display:flex;position:relative}.nav-item.is-active{color:var(--text)}.nav-item.is-active:after{content:"";background:var(--brand);border-radius:5px;width:18px;height:3px;position:absolute;bottom:-2px}.today-icon{place-items:center;display:grid}.nav-item--today .today-icon{background:var(--surface-3);border-radius:14px;width:42px;height:32px;margin-top:-5px}.nav-item--today.is-active .today-icon{background:var(--brand);color:#111}.stack-lg{flex-direction:column;gap:26px;display:flex}.hero-section h1,.page-intro h1{letter-spacing:-.045em;margin:7px 0 12px;font-size:clamp(32px,9vw,48px);line-height:.98}.hero-section h1 span{color:var(--brand)}.hero-copy,.page-intro p{color:var(--text-muted);margin:0;line-height:1.55}.eyebrow{letter-spacing:.13em;margin:0;font-weight:850;color:var(--brand)!important;font-size:11px!important}.readiness-card,.coach-banner,.insight-card,.priority-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);align-items:center;gap:14px;padding:17px;display:flex}.readiness-card{display:block}.readiness-card strong{margin-top:5px;display:block}.muted-label{color:var(--text-muted);letter-spacing:.12em;font-size:10px;font-weight:800}.week-progress{background:var(--surface-3);border-radius:5px;height:5px;margin-top:14px;overflow:hidden}.week-progress span{background:var(--brand);border-radius:5px;height:100%;display:block}.section-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px;display:flex}.section-heading h2{letter-spacing:-.02em;margin:3px 0 0;font-size:20px}.badge{background:var(--surface-3);width:max-content;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:10px;font-weight:850;display:inline-flex}.badge--brand{background:var(--brand-soft);color:#ff9c63}.badge--success{background:var(--success-soft);color:var(--success)}.featured-workout-card{border-radius:var(--radius-lg);background:linear-gradient(155deg,#ff6b1a14,transparent 38%),var(--surface);box-shadow:var(--shadow);border:1px solid #ff6b1a52;padding:20px;position:relative;overflow:hidden}.workout-accent{background:var(--brand);width:4px;position:absolute;inset:0 auto 0 0}.featured-topline{align-items:center;gap:14px;display:flex}.workout-monogram{background:var(--brand);color:#17110c;border-radius:15px;place-items:center;width:48px;height:48px;font-size:22px;font-weight:950;display:grid}.featured-title h3,.workout-card h3{letter-spacing:-.025em;margin:0;font-size:22px}.featured-title p,.workout-card p{color:var(--text-muted);margin:5px 0 0;font-size:12px}.metric-row{color:#cbcad0;flex-wrap:wrap;gap:9px 15px;margin:20px 0;font-size:12px;display:flex}.metric-row span,.workout-card-meta span{align-items:center;gap:6px;display:flex}.coach-note{background:var(--surface-2);border-radius:13px;gap:10px;margin-bottom:17px;padding:13px;display:flex}.coach-note p{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5}.coach-note strong{color:var(--text)}.coach-dot{background:var(--brand);width:8px;height:8px;box-shadow:0 0 0 5px var(--brand-soft);border-radius:50%;flex:none;margin-top:4px}.button{border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:50px;padding:0 18px;font-weight:850;display:inline-flex}.button--full{width:100%}.button--primary{background:var(--brand);color:#17110c}.button--secondary{background:var(--surface-2);border-color:var(--line);color:var(--text)}.button--ghost{color:var(--text-muted);background:0 0}.text-action{color:var(--text-muted);background:0 0;border:0;align-self:center;font-weight:750}.page-intro h1{margin-bottom:10px}.coach-banner{grid-template-columns:auto 1fr auto;display:grid}.coach-banner-icon{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:14px;place-items:center;display:grid}.coach-banner strong,.coach-banner span{display:block}.coach-banner span{color:var(--text-muted);margin-top:4px;font-size:12px}.coach-banner button{color:var(--brand);background:0 0;border:0;font-size:26px}.summary-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.summary-grid--progress{grid-template-columns:repeat(2,1fr)}.summary-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);padding:16px}.summary-card span,.summary-card small{color:var(--text-muted);letter-spacing:.07em;font-size:10px;font-weight:750;display:block}.summary-card strong{margin:7px 0 2px;font-size:28px;display:block}.workout-list{flex-direction:column;gap:10px;display:flex}.workout-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:48px 1fr;display:grid;overflow:hidden}.day-rail{background:var(--surface-2);color:var(--text-muted);writing-mode:vertical-rl;letter-spacing:.12em;place-items:center;font-size:10px;font-weight:850;display:grid;transform:rotate(180deg)}.day-rail--suggested{background:var(--brand);color:#17110c}.day-rail--completed{background:var(--success-soft);color:var(--success)}.workout-card-body{padding:15px}.workout-card-title{justify-content:space-between;gap:10px;display:flex}.workout-card-title h3{font-size:17px}.workout-card-title button{color:var(--text-muted);background:0 0;border:0}.workout-card-meta{color:var(--text-muted);gap:14px;margin:13px 0;font-size:11px;display:flex}.segment-control{background:var(--surface);border-radius:14px;grid-template-columns:repeat(3,1fr);padding:4px;display:grid}.segment-control button{min-height:40px;color:var(--text-muted);background:0 0;border:0;border-radius:11px;font-weight:750}.segment-control button.is-active{background:var(--surface-3);color:var(--text)}.insight-card{align-items:flex-start}.insight-card>svg{color:var(--brand)}.insight-card strong,.insight-card span{display:block}.insight-card span{color:var(--text-muted);margin-top:5px;font-size:12px;line-height:1.45}.priority-card{grid-template-columns:auto 1fr auto;display:grid}.priority-icon{background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:13px;place-items:center;display:grid}.priority-card strong,.priority-card span{display:block}.priority-card span{color:var(--text-muted);margin-top:4px;font-size:12px}.priority-card>svg{color:var(--text-muted)}@media (width>=700px){.app-header{padding-left:28px;padding-right:28px}.page-content{padding-left:0;padding-right:0}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:18px 18px 0 0}}@media (width<=360px){.page-content{padding-left:14px;padding-right:14px}.featured-workout-card{padding:17px}.metric-row{gap:7px 11px}.workout-card{grid-template-columns:40px 1fr}}@media (prefers-reduced-motion:no-preference){.button,.workout-card,.featured-workout-card{transition:transform .16s,border-color .16s}.button:active,.workout-card:active{transform:scale(.985)}}.splash{min-height:100vh;color:var(--brand);place-items:center;font-size:32px;font-weight:950;display:grid}.auth-page{align-content:center;gap:28px;width:min(100%,480px);min-height:100vh;margin:auto;padding:42px 18px;display:grid}.auth-brand h1{margin:8px 0;font-size:48px;line-height:.92}.auth-brand h1 span,.coach-title{color:var(--brand)}.auth-brand>p:last-child,.muted{color:var(--text-muted)}.logo-box{background:var(--brand);color:#111;border-radius:18px;place-items:center;width:56px;height:56px;margin-bottom:20px;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:20px}.tabs{background:var(--surface-2);border-radius:13px;grid-template-columns:1fr 1fr;margin-bottom:18px;padding:4px;display:grid}.tabs button{height:42px;color:var(--text-muted);background:0 0;border:0;border-radius:10px}.tabs .active{background:var(--surface-3);color:var(--text)}form{gap:15px;display:grid}label{gap:7px;font-size:12px;font-weight:800;display:grid}input,select{border:1px solid var(--line);height:50px;color:var(--text);background:#0d0d10;border-radius:13px;padding:0 13px}.pass{position:relative}.pass input{width:100%;padding-right:50px}.pass button{width:42px;height:42px;color:var(--text-muted);background:0 0;border:0;position:absolute;top:4px;right:4px}.primary,.secondary{border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:0 17px;font-weight:850;display:flex}.primary{background:var(--brand);color:#17110c;border:0}.secondary{border:1px solid var(--line);background:var(--surface-2);color:var(--text)}.message{background:var(--brand-soft);border-radius:11px;padding:11px;font-size:12px}.error{color:#ff9b9b;background:#ff46461f}.empty{text-align:center;border:1px dashed var(--line);background:var(--surface);border-radius:20px;padding:32px 20px}.empty svg{color:var(--brand)}.empty p{color:var(--text-muted)}.coach-banner{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);text-align:left;border-radius:18px;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:16px;display:grid}.coach-banner>div{color:var(--brand)}.coach-banner span strong,.coach-banner span small{display:block}.coach-banner small{color:var(--text-muted);margin-top:4px}.day-rail{writing-mode:initial!important;transform:none!important}.badge{display:inline-flex}.coach-title{margin:6px 0 14px;font-size:34px}.stepbar{background:var(--surface-3);border-radius:5px;height:5px;overflow:hidden}.stepbar span{background:var(--brand);height:100%;display:block}.option-grid{gap:10px;display:grid}.choice{border:1px solid var(--line);background:var(--surface);min-height:64px;color:var(--text);text-align:left;border-radius:16px;align-items:center;gap:10px;padding:14px;display:flex}.choice.active{border-color:var(--brand);background:var(--brand-soft)}.choice svg{color:var(--brand)}.chip-grid{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--text-muted);border-radius:999px;padding:0 13px}.chip.active{border-color:var(--brand);background:var(--brand-soft);color:var(--text)}.chip.soft.active{border-color:var(--success);background:var(--success-soft)}.section-label{color:var(--text-muted);margin:5px 0;font-size:12px;font-weight:800}.field{margin-top:12px}.review{gap:8px;display:grid}.review>div{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:14px}.review span,.review strong{display:block}.review span{color:var(--text-muted);margin-bottom:5px;font-size:11px}.wizard-actions{justify-content:flex-end;gap:10px;display:flex}.stats{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stats>div{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px}.stats span,.stats strong{display:block}.stats span{color:var(--text-muted);font-size:10px}.stats strong{margin-top:6px;font-size:26px}.profile{border:1px solid var(--line);background:var(--surface);border-radius:18px;align-items:center;gap:14px;padding:18px;display:flex}.profile svg{color:var(--brand)}.profile strong,.profile span{display:block}.profile span{color:var(--text-muted);margin-top:4px;font-size:12px}.metric-row svg,.workout-card-meta svg{width:16px;height:16px}.clickable{cursor:pointer}.back,.mini{color:var(--text-muted);background:0 0;border:0;align-items:center;gap:6px;min-height:42px;display:inline-flex}.exercise-list{gap:10px;display:grid}.exercise-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:16px;display:grid}.exercise-card h3{margin:0 0 5px}.exercise-card p,.exercise-card small{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5;display:block}.exercise-index{background:var(--brand-soft);width:32px;height:32px;color:var(--brand);border-radius:10px;place-items:center;font-weight:900;display:grid}.mini{color:var(--brand);font-weight:800}.sticky-action{width:100%;box-shadow:var(--shadow);position:sticky;bottom:95px}.session-page{gap:18px;display:grid}.session-head{justify-content:space-between;display:flex}.session-head>div{text-align:right;display:grid}.session-title h1{margin:7px 0;font-size:34px;line-height:1}.set-nav{flex-wrap:wrap;gap:8px;display:flex}.set-nav button{border:1px solid var(--line);background:var(--surface);width:46px;height:44px;color:var(--text-muted);border-radius:12px}.set-nav button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--text)}.set-nav button.done{color:var(--success)}.set-nav svg{width:17px}.current-set,.rest-box,.insight{border:1px solid var(--line);background:var(--surface);border-radius:20px;gap:14px;padding:18px;display:grid}.current-set h2,.current-set p{margin:0}.input-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.rest-box{text-align:center;border-color:#ff6b1a59}.rest-box>strong{font-size:48px}.rest-box>div{justify-content:center;gap:8px;display:flex}.rest-box button{border:1px solid var(--line);background:var(--surface-2);min-width:48px;height:44px;color:var(--text);border-radius:12px}.complete-page{text-align:center;gap:20px;display:grid}.complete-page h1{margin:0}.complete-icon{background:var(--brand);color:#111;border-radius:24px;place-items:center;width:74px;height:74px;margin:auto;display:grid}.insight{text-align:left}.insight p{color:var(--text-muted);margin:0}.session-title-row{grid-template-columns:1fr auto;align-items:start;gap:12px;display:grid}.prescription-line{color:var(--text-muted);margin:10px 0 0;font-size:13px}.replace-action{border:1px solid var(--line);border-radius:12px;padding:0 12px}.set-nav button.skipped{opacity:.48;text-decoration:line-through}.notes-field{color:var(--text-muted);gap:7px;font-size:12px;display:grid}.notes-field textarea{border:1px solid var(--line);background:var(--surface);min-height:72px;color:var(--text);resize:vertical;border-radius:14px;padding:12px}.exercise-controls{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;display:grid}.exercise-controls>span{text-align:center;color:var(--text-muted);font-size:12px}.exercise-controls button{min-width:0;padding:0 10px}.exercise-controls button:disabled{opacity:.35;cursor:not-allowed}.finish-button{margin-top:8px}.current-set .primary{width:100%}@media (width<=380px){.session-title h1{font-size:28px}.exercise-controls{grid-template-columns:1fr 42px 1fr}.exercise-controls button{font-size:11px}.input-grid{grid-template-columns:1fr 1fr}}.current-set.is-filled{border-color:#5cdb95b3;box-shadow:inset 0 0 0 1px #5cdb9529}.current-set .primary.ready{background:var(--success);color:#07120d}.set-nav button.done{border-color:var(--success)!important;background:var(--success-soft)!important;color:var(--success)!important}.rest-box--persistent{margin-top:2px;display:grid!important}.rest-box--persistent.is-idle{border-color:var(--line)}.rest-primary-controls{justify-content:center;align-items:center;gap:24px!important;display:flex!important}.rest-primary-controls .timer-round{border-radius:50%;width:58px;min-width:58px;height:58px}.rest-primary-controls .timer-reset{background:var(--surface-2);color:var(--text-muted)}.rest-primary-controls .timer-play{background:var(--success);color:#07120d;border-color:#0000;width:66px;min-width:66px;height:66px}.rest-primary-controls .timer-play svg{margin-left:2px}.rest-adjust-controls{justify-content:center;gap:8px!important;display:flex!important}.rest-adjust-controls button{padding:0 10px;min-width:68px!important}.rest-box--persistent>strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em}.splash--boot{text-align:center;align-content:center;gap:9px}.splash--boot strong{color:var(--brand);font-size:32px}.splash--boot span{color:var(--text-muted);font-size:13px}.fatal-screen{text-align:center;align-content:center;gap:14px;width:min(100%,460px);min-height:100vh;margin:auto;padding:30px 18px;display:grid}.fatal-screen .logo-box{margin:0 auto}.fatal-screen h1,.fatal-screen p{margin:0}.fatal-screen p{color:var(--text-muted);line-height:1.5}.fatal-screen .primary{margin-top:8px}.manual-meta{border:1px solid var(--line);background:var(--surface);border-radius:18px;grid-template-columns:90px 1fr;gap:10px;padding:16px;display:grid}.search-row{grid-template-columns:1fr 160px;gap:10px;display:grid}.search-box{position:relative}.search-box svg{width:18px;color:var(--text-muted);position:absolute;bottom:14px;left:13px}.search-box input{padding-left:42px}.exercise-picker{border:1px solid var(--line);border-radius:16px;max-height:360px;margin-top:10px;display:grid;overflow:auto}.exercise-picker button{border:0;border-bottom:1px solid var(--line);background:var(--surface);min-height:58px;color:var(--text);text-align:left;justify-content:space-between;align-items:center;padding:10px 13px;display:flex}.exercise-picker button:disabled{opacity:.4}.exercise-picker strong,.exercise-picker small{display:block}.exercise-picker small,.manual-card small{color:var(--text-muted);margin-top:3px}.manual-list{gap:12px;display:grid}.manual-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:15px}.manual-card-head{grid-template-columns:32px 1fr auto;align-items:center;gap:10px;display:grid}.manual-card-head>span{background:var(--brand-soft);width:30px;height:30px;color:var(--brand);border-radius:10px;place-items:center;font-weight:900;display:grid}.order-buttons{gap:4px;display:flex}.order-buttons button{border:1px solid var(--line);background:var(--surface-2);width:34px;height:34px;color:var(--text-muted);border-radius:9px}.order-buttons button:last-child{color:#ff8585}.order-buttons svg{width:16px}.manual-fields{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;display:grid}.manual-fields input,.manual-fields select{width:100%;height:42px}.manual-card textarea{border:1px solid var(--line);width:100%;min-height:62px;color:var(--text);background:#0d0d10;border-radius:12px;margin-top:10px;padding:11px}.manual-actions{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#09090be6;grid-template-columns:1fr 1fr;gap:10px;padding:8px;display:grid;position:sticky;bottom:88px}.progress-tabs{background:var(--surface);border-radius:14px;grid-template-columns:repeat(3,1fr);padding:4px;display:grid}.progress-tabs button{height:42px;color:var(--text-muted);background:0 0;border:0;border-radius:11px}.progress-tabs .active{background:var(--surface-3);color:var(--text)}.filter-panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:10px;padding:14px;display:grid}.filter-panel>label{grid-template-columns:auto 1fr;align-items:center;gap:9px;display:grid}.filter-panel svg{width:18px;color:var(--brand)}.date-range{grid-template-columns:1fr 1fr;gap:10px;display:grid}.bar-chart{border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:end;gap:8px;height:190px;padding:14px 8px 0;display:flex}.bar-chart>div{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;height:100%;display:flex}.bar-chart span{background:linear-gradient(var(--brand),var(--brand-strong));border-radius:7px 7px 2px 2px;width:70%;min-width:12px}.bar-chart small{height:25px;color:var(--text-muted);font-size:9px}.comparison-card{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.comparison-card>div{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:15px;padding:14px}.comparison-card span,.comparison-card strong,.comparison-card small{display:block}.comparison-card span,.comparison-card small{color:var(--text-muted);font-size:10px}.comparison-card strong{margin:7px 0}.positive{color:var(--success)!important}.negative{color:#ff9b9b!important}.history-list,.exercise-progress-list{gap:10px;display:grid}.history-list article{border:1px solid var(--line);background:var(--surface);border-radius:15px;justify-content:space-between;align-items:center;padding:15px;display:flex}.history-list strong,.history-list span{display:block}.history-list span{color:var(--text-muted);margin-top:4px;font-size:12px}.history-list svg{color:var(--brand)}.exercise-progress-list article{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:16px}.exercise-progress-head{justify-content:space-between;gap:12px;display:flex}.exercise-progress-head strong,.exercise-progress-head span{display:block}.exercise-progress-head span{color:var(--text-muted);margin-top:4px;font-size:12px}.exercise-progress-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;display:grid}.exercise-progress-grid small{background:var(--surface-2);color:var(--text-muted);border-radius:11px;padding:10px}.exercise-progress-grid strong{color:var(--text);margin-top:4px;display:block}@media (width<=440px){.manual-meta{grid-template-columns:80px 1fr}.search-row{grid-template-columns:1fr}.manual-fields{grid-template-columns:repeat(2,1fr)}.comparison-card,.manual-actions{grid-template-columns:1fr}.exercise-progress-grid{grid-template-columns:1fr 1fr}}.brand-logo{object-fit:cover;background:var(--brand);border-radius:13px;width:42px;height:42px}.weight-unit-field{grid-template-columns:1fr 72px;display:grid}.weight-unit-field input{border-radius:13px 0 0 13px}.weight-unit-field select{border-left:0;border-radius:0 13px 13px 0}.memo-callout{color:var(--text-muted);margin:0}.memo-callout strong{color:var(--brand)}.progression-summary{text-align:left;gap:9px;display:grid}.insight-item{border:1px solid var(--line);background:var(--surface);border-radius:15px;grid-template-columns:auto 1fr;gap:12px;padding:14px;display:grid}.insight-item svg{color:var(--success)}.insight-item strong,.insight-item p{margin:0;display:block}.insight-item p{color:var(--text-muted);margin-top:5px;font-size:12px;line-height:1.45}.insight-top{border-color:#ff6b1a59}.insight-top svg{color:var(--brand)}.workout-actions{justify-content:space-between;align-items:center;display:flex}.workout-actions button{color:var(--text-muted);background:0 0;border:0;font-size:18px}.last-performance{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:1fr repeat(3,auto);align-items:center;gap:8px;padding:12px 14px;display:grid}.last-performance span{color:var(--brand);font-size:10px;font-weight:900}.last-performance strong{color:var(--text-muted);font-size:12px}.settings-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;gap:14px;padding:17px;display:grid}.settings-card p{color:var(--text-muted);margin:0;line-height:1.55}.settings-card pre{white-space:pre-wrap;color:var(--text);font:inherit;line-height:1.55}.history-detail{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:16px}.history-detail h3{margin:0 0 12px}.history-detail>div{border-top:1px solid var(--line);color:var(--text-muted);justify-content:space-between;padding:9px 0;display:flex}.history-detail .done-row strong{color:var(--success)}.history-detail p{color:var(--text-muted)}.history-list article{cursor:pointer}.app-dialog{border:1px solid var(--line);background:var(--surface);width:min(92vw,440px);color:var(--text);border-radius:22px;padding:0;box-shadow:0 28px 80px #000}.app-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b8}.app-dialog form{padding:22px}.app-dialog h2{margin:0 0 8px}.app-dialog p{color:var(--text-muted);margin:0 0 18px;line-height:1.5}.app-dialog-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.app-dialog-list{gap:9px;margin-bottom:12px;display:grid}.app-dialog button.danger{color:#f99;background:#ff50501a;border:1px solid #ff505066;border-radius:13px;min-height:48px;font-weight:800}.app-toast{z-index:9999;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--surface-3);max-width:min(90vw,430px);color:var(--text);opacity:0;box-shadow:var(--shadow);border-radius:13px;padding:12px 16px;transition:all .2s;position:fixed;transform:translate(-50%,20px)}.app-toast.is-visible{opacity:1;transform:translate(-50%)}.app-toast--success{border-color:var(--success);color:var(--success)}.app-toast--error{color:#faa;border-color:#f77}
