:root{--bg:#0f1115;--surface:#181b22;--surface-2:#222631;--surface-3:#2c3140;--border:#ffffff12;--text:#f2f4f8;--muted:#8f97ab;--accent-soft:#ff6a3d29;--fig:#e9ecf3;--fig-back:#5d6478;--equip:#4a5163;--body-map:#343a49;--muscle:#4a5163;--shadow:0 10px 30px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--accent:#ff6a3d;--accent-2:#ffb547;--ok:#34d399;--ok-soft:#34d39926;--danger:#ff5d6c;--info:#60a5fa;--purple:#a78bfa;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--nav-w:0px}@media (min-width:1024px){:root{--nav-w:248px}}:root:has(#tabbar[hidden]){--nav-w:0px}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--bg:#f3f4f7;--surface:#fff;--surface-2:#eef0f4;--surface-3:#e2e5ec;--border:#0f142314;--text:#12151c;--muted:#6b7286;--accent-soft:#ff6a3d1f;--fig:#1e2230;--fig-back:#a4abbd;--equip:#c3c8d4;--body-map:#d5d9e2;--muscle:#bfc5d2;--shadow:0 10px 30px #1419281f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}:root[data-theme=light]{--bg:#f3f4f7;--surface:#fff;--surface-2:#eef0f4;--surface-3:#e2e5ec;--border:#0f142314;--text:#12151c;--muted:#6b7286;--accent-soft:#ff6a3d1f;--fig:#1e2230;--fig-back:#a4abbd;--equip:#c3c8d4;--body-map:#d5d9e2;--muscle:#bfc5d2;--shadow:0 10px 30px #1419281f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0f1115;--surface:#181b22;--surface-2:#222631;--surface-3:#2c3140;--border:#ffffff12;--text:#f2f4f8;--muted:#8f97ab;--accent-soft:#ff6a3d29;--fig:#e9ecf3;--fig-back:#5d6478;--equip:#4a5163;--body-map:#343a49;--muscle:#4a5163;--shadow:0 10px 30px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--text);margin:0}body{-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Inter,Segoe UI,Roboto,system-ui,sans-serif;font-size:16px;line-height:1.4}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}[hidden]{display:none!important}.center{text-align:center}.muted{color:var(--muted)}.mt{margin-top:14px}.mb{margin-bottom:14px}.prose{color:var(--muted);margin:0}.spinner{border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;margin:60px auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0}}@keyframes fadeOut{to{opacity:0}}@keyframes pop{50%{transform:scale(1.15)}}#app{min-height:100dvh;position:relative}@media (min-width:1024px){#app{padding-left:var(--nav-w)}}.content{padding:4px 16px calc(64px + var(--safe-b) + 28px)}.content.no-tabs{padding-bottom:calc(var(--safe-b) + 120px)}@media (min-width:700px){.content{padding-left:24px;padding-right:24px}}@media (min-width:1024px){.content{padding:8px 40px 48px}.content.no-tabs{padding-bottom:120px}}.large-title{letter-spacing:-.02em;margin:6px 0 2px;font-size:32px;font-weight:800}@media (min-width:1024px){.large-title{margin-top:12px;font-size:38px}}.subtitle{color:var(--muted);margin:0 0 18px}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);justify-content:space-between;align-items:center;margin:26px 4px 10px;font-size:13px;font-weight:650;display:flex}.section-title a,.section-title button{color:var(--accent);text-transform:none;letter-spacing:0;background:0 0;border:0;padding:0;font-size:14px;font-weight:650}@media (min-width:700px){.content .list:not(.single){grid-template-columns:repeat(auto-fill,minmax(320px,1fr));align-items:start;display:grid}.content .list:not(.single)>.add-row,.content .list:not(.single)>.superset,.content .list:not(.single)>.empty,.content .list:not(.single)>.section-title{grid-column:1/-1}}.split{flex-direction:column;display:flex}.split>.split-aside,.split>.split-main{min-width:0}@media (min-width:1024px){.split{grid-template-columns:minmax(320px,400px) 1fr;align-items:start;gap:32px;display:grid}.split>.split-main>.section-title:first-child{margin-top:6px}}@media (min-width:1440px){.split{grid-template-columns:440px 1fr}}.dash{grid-template-columns:1fr;gap:0 20px;display:grid}@media (min-width:1024px){.dash{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}}.view-enter{animation:.28s cubic-bezier(.2,.9,.25,1) viewIn}.view-back{animation:.28s cubic-bezier(.2,.9,.25,1) viewBack}@keyframes viewIn{0%{opacity:0;transform:translate(24px)}}@keyframes viewBack{0%{opacity:0;transform:translate(-24px)}}@media (prefers-reduced-motion:reduce){.view-enter,.view-back{animation:none}}.sticky-cta{left:calc(var(--nav-w) + (100vw - var(--nav-w)) / 2);width:min(560px, 100vw - var(--nav-w));z-index:25;bottom:calc(64px + var(--safe-b));background:linear-gradient(to top, var(--bg) 60%, transparent);padding:12px 16px;position:fixed;transform:translate(-50%)}.sticky-cta.no-tabs{padding-bottom:calc(12px + var(--safe-b));bottom:0}@media (min-width:1024px){.sticky-cta{padding-bottom:20px;bottom:0}.split-aside .sticky-cta{background:0 0;width:auto;margin-top:14px;padding:0;position:static;transform:none}}.cta-spacer{height:80px}@media (min-width:1024px){.cta-spacer{display:none}}.topbar{background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:saturate(180%)blur(18px);z-index:20;height:calc(52px + var(--safe-t));padding-top:var(--safe-t);border-bottom:1px solid #0000;grid-template-columns:56px 1fr 56px;align-items:center;transition:border-color .2s;display:grid;position:sticky;top:0}.topbar.scrolled{border-bottom-color:var(--border)}.topbar .title{white-space:nowrap;text-overflow:ellipsis;text-align:center;opacity:0;font-size:17px;font-weight:650;transition:opacity .2s,transform .2s;overflow:hidden;transform:translateY(4px)}.topbar.scrolled .title,.topbar.always .title{opacity:1;transform:none}.topbar .right{justify-self:end;display:flex}.icon-btn{width:44px;height:44px;color:var(--accent);background:0 0;border:0;border-radius:50%;place-items:center;margin:0 6px;display:grid}.icon-btn:active{background:var(--surface-2)}.icon-btn svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px}.tabbar{background:color-mix(in srgb, var(--surface) 86%, transparent);-webkit-backdrop-filter:saturate(180%)blur(20px);z-index:30;height:calc(64px + var(--safe-b));padding-bottom:var(--safe-b);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;display:flex}.tabbar a.active{color:var(--accent)}.tabbar a:active svg{transform:scale(.9)}.tabbar svg{fill:currentColor;width:25px;height:25px}.tabbar svg [stroke-width]{stroke:currentColor;fill:none}.tabbar svg.ic{fill:none;stroke:currentColor}.tabbar .brand,.tabbar .nav-extra,.tabbar .nav-sep{display:none}@media (min-width:1024px){.tabbar{width:var(--nav-w);border-top:0;border-right:1px solid var(--border);flex-direction:column;gap:4px;height:auto;padding:24px 14px;display:flex;top:0;right:auto}.tabbar .brand{letter-spacing:-.03em;padding:0 12px 20px;font-size:28px;font-weight:900;display:block}.tabbar .brand span{color:var(--accent)}.tabbar .nav-extra{display:flex}.tabbar .nav-sep{background:var(--border);height:1px;margin:10px 12px;display:block}.tabbar a{height:46px;color:var(--text);border-radius:12px;flex-direction:row;justify-content:flex-start;gap:14px;padding:0 12px;font-size:15px;font-weight:650}.tabbar a:hover{background:var(--surface-2)}.tabbar a.active{background:var(--accent-soft);color:var(--accent)}.tabbar svg{width:22px;height:22px;color:var(--muted)}.tabbar a.active svg{color:var(--accent)}}.fab{color:#fff;z-index:26;right:16px;bottom:calc(64px + var(--safe-b) + 16px);background:linear-gradient(135deg,#ff6a3d,#ff8a4c);border:0;border-radius:50%;place-items:center;width:58px;height:58px;display:grid;position:fixed;box-shadow:0 10px 26px #ff6a3d73}.fab svg{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:26px;height:26px}.fab:active{transform:scale(.94)}@media (min-width:700px){.fab{right:24px}}@media (min-width:1024px){.fab{bottom:32px;right:40px}}.btn{transition:transform .12s,background .12s,filter .15s}.btn:active{transform:scale(.98)}.btn{background:var(--surface-2);width:100%;height:52px;color:var(--text);border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-size:17px;font-weight:700;display:inline-flex}.btn:active{filter:brightness(.95)}.btn.primary{color:#fff;background:linear-gradient(135deg,#ff6a3d,#ff8a4c);box-shadow:0 8px 24px #ff6a3d59}.btn.ok{background:var(--ok);color:#062418}.btn.danger{color:var(--danger);background:0 0}.btn.ghost{color:var(--accent);background:0 0}.btn.small{border-radius:12px;width:auto;height:40px;padding:0 14px;font-size:15px}.btn[disabled]{opacity:.5;pointer-events:none}.btn svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.btn-row{gap:10px;display:flex}.btn-row>*{flex:1}.add-row{border:2px dashed var(--surface-3);color:var(--accent);background:0 0;border-radius:18px;justify-content:center;align-items:center;gap:8px;width:100%;height:60px;font-weight:700;display:flex}.add-row svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.action-list{flex-direction:column;gap:8px;display:flex}.action-list button,.action-list a{background:var(--surface-2);text-align:left;border:0;border-radius:14px;align-items:center;gap:12px;height:54px;padding:0 18px;font-size:17px;font-weight:650;display:flex}.action-list button.danger,.action-list a.danger{color:var(--danger)}.action-list button.centered,.action-list a.centered{justify-content:center}.action-list svg,.ic{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.thumb>.ic{width:26px;height:26px;color:var(--accent)}.banner>.ic{width:26px;height:26px}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:16px}.list{flex-direction:column;gap:10px;display:flex}.row{background:var(--surface);border:1px solid var(--border);border-radius:18px;transition:transform .12s,background .12s,filter .15s}.row:active{transform:scale(.985)}.row{text-align:left;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 14px;display:flex}.row:active{background:var(--surface-2)}.row .grow{flex:1;min-width:0}.row .name{white-space:nowrap;text-overflow:ellipsis;font-weight:650;overflow:hidden}.row .meta{color:var(--muted);margin-top:2px;font-size:14px}.chev{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;color:var(--muted);flex:none}.thumb{background:var(--surface-2);border-radius:14px;flex:none;place-items:center;width:56px;height:56px;display:grid;position:relative;overflow:hidden}.thumb svg{width:100%;height:100%}.thumb .bodymap{width:70%;height:90%}.chip{background:var(--surface-2);color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.chip.accent{background:var(--accent-soft);color:var(--accent)}.chip.ok{background:var(--ok-soft);color:var(--ok)}.chip.info{color:var(--info);background:#60a5fa26}.chip svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.chips{flex-wrap:wrap;gap:6px;display:flex}.stats{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:12px}.stat .v{letter-spacing:-.02em;font-size:22px;font-weight:800}.stat .l{color:var(--muted);font-size:12px;font-weight:600}.stat.inset{background:var(--surface-2);border:0}.banner{color:#fff;background:linear-gradient(135deg,#ff6a3d,#ff8a4c);border-radius:18px;align-items:center;gap:12px;margin-bottom:14px;padding:14px 16px;display:flex;box-shadow:0 8px 24px #ff6a3d4d}.banner .grow{flex:1}.banner b{display:block}.banner span{opacity:.9;font-size:14px}.banner .chev{color:#fff}.banner.neutral{background:var(--surface-2);color:var(--text);box-shadow:none}.banner.neutral .chev{color:var(--muted)}.pulse{background:#fff;border-radius:50%;flex:none;width:10px;height:10px;animation:1.4s infinite pulse}@keyframes pulse{0%{box-shadow:0 0 #ffffffb3}70%{box-shadow:0 0 0 10px #fff0}to{box-shadow:0 0 #fff0}}.hint{background:var(--surface);border:1px solid var(--border);border-color:color-mix(in srgb, var(--accent-2) 40%, transparent);border-radius:18px;align-items:center;gap:12px;padding:12px 14px;display:flex}.hint .bodymap{flex:none;width:34px;height:56px}.hint b{display:block}.hint span{color:var(--muted);font-size:14px}.empty{text-align:center;color:var(--muted);padding:30px 16px}.empty .fig,.empty .bodymap{width:150px;height:150px;margin:0 auto 8px}.empty h3{color:var(--text);margin:0 0 6px}.target{background:var(--surface-2);border-radius:8px;padding:3px 8px;font-size:13px;font-weight:700}.target b{color:var(--accent)}.field{margin-bottom:14px;display:block}.field>span{color:var(--muted);margin:0 4px 6px;font-size:13px;font-weight:650;display:block}.input{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;outline:none;width:100%;height:52px;padding:0 16px;font-size:17px;transition:border-color .15s,box-shadow .15s}.input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}textarea.input{resize:vertical;height:auto;min-height:90px;padding:14px 16px}.fields-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.error-msg{color:var(--danger);min-height:20px;margin:4px 4px 10px;font-size:14px}.search{background:var(--surface-2);border-radius:14px;align-items:center;gap:8px;height:46px;margin-bottom:14px;padding:0 14px;display:flex}.search svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;color:var(--muted);flex:none}.search input{background:0 0;border:0;outline:none;flex:1;min-width:0;font-size:17px}.segmented{background:var(--surface-2);border-radius:12px;gap:2px;padding:3px;display:flex}.segmented button{height:36px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1;font-size:14px;font-weight:650}.segmented button.on{background:var(--surface);color:var(--text);box-shadow:0 2px 8px #00000026}.day-picker{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.day-picker button{border:1px solid var(--border);background:var(--surface-2);height:42px;color:var(--muted);border-radius:12px;font-size:14px;font-weight:700}.day-picker button.on{background:var(--accent);border-color:var(--accent);color:#fff}.switch-row{justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;font-weight:650;display:flex}.switch-row small{color:var(--muted);font-size:13px;font-weight:500;display:block}.switch{appearance:none;background:var(--surface-3);cursor:pointer;border-radius:16px;flex:none;width:51px;height:31px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .2s cubic-bezier(.2,.9,.25,1);position:absolute;top:2px;left:2px;box-shadow:0 2px 6px #00000040}.switch:checked{background:var(--ok)}.switch:checked:after{transform:translate(20px)}.steppers{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stepper{background:var(--surface-2);text-align:center;border-radius:16px;padding:10px 8px 8px}.stepper .lbl{color:var(--muted);font-size:12px;font-weight:650}.stepper .ctl{justify-content:space-between;align-items:center;gap:4px;margin-top:4px;display:flex}.stepper button{background:var(--surface-3);border:0;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:22px;font-weight:600;display:grid}.stepper button:active{background:var(--accent);color:#fff}.stepper input{text-align:center;letter-spacing:-.02em;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:24px;font-weight:800}.stepper .unit{color:var(--muted);font-size:12px}@media (min-width:700px){.content .steppers{grid-template-columns:repeat(4,1fr)}}@media (min-width:1024px){.content form,.content .form-narrow{max-width:980px}}.backdrop{z-index:50;background:#00000073;animation:.2s fadeIn;position:fixed;inset:0}.backdrop.closing{animation:.2s forwards fadeOut}.sheet{left:calc(var(--nav-w) + (100vw - var(--nav-w)) / 2);width:min(560px, 100vw - var(--nav-w));z-index:51;background:var(--surface);max-height:92dvh;padding:8px 18px calc(18px + var(--safe-b));box-shadow:var(--shadow);border-radius:26px 26px 0 0;animation:.32s cubic-bezier(.2,.9,.25,1) sheetUp;position:fixed;bottom:0;overflow-y:auto;transform:translate(-50%)}.sheet.closing{animation:.22s forwards sheetDown}.sheet .grabber{background:var(--surface-3);border-radius:3px;width:40px;height:5px;margin:4px auto 12px}.sheet h2{margin:0 0 16px;font-size:21px;font-weight:800}.sheet .sheet-head{align-items:center;gap:14px;margin-bottom:16px;display:flex}.sheet .sheet-head h2{margin:0}@media (min-width:700px){.sheet{border-radius:24px;width:min(520px,100vw - 48px);max-height:86dvh;padding:22px 24px 24px;animation:.22s cubic-bezier(.2,.9,.25,1) dialogIn;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}.sheet.closing{animation:.16s forwards dialogOut}.sheet .grabber{display:none}}@keyframes sheetUp{0%{transform:translate(-50%,100%)}}@keyframes sheetDown{to{transform:translate(-50%,100%)}}@keyframes dialogIn{0%{opacity:0;transform:translate(-50%,-46%)scale(.97)}}@keyframes dialogOut{to{opacity:0;transform:translate(-50%,-48%)scale(.98)}}body.offline:before{content:"Offline – gespeicherte Daten";top:calc(var(--safe-t) + 6px);left:calc(var(--nav-w) + (100vw - var(--nav-w)) / 2);z-index:70;background:var(--surface-3);color:var(--muted);pointer-events:none;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;position:fixed;transform:translate(-50%)}#toast{left:calc(var(--nav-w) + (100vw - var(--nav-w)) / 2);top:calc(var(--safe-t) + 12px);z-index:80;background:var(--text);color:var(--bg);box-shadow:var(--shadow);border-radius:14px;max-width:90vw;padding:12px 18px;font-size:15px;font-weight:650;transition:transform .3s cubic-bezier(.2,.9,.25,1);position:fixed;transform:translate(-50%,-140%)}#toast.show{transform:translate(-50%)}#toast.error{background:var(--danger);color:#fff}#toast.success{background:var(--ok);color:#062418}.fig{display:block}.fig line{stroke-linecap:round}.fig-body line{stroke:var(--fig)}.fig-head{fill:var(--fig)}.fig-back line{stroke:var(--fig-back)}.fig-equip rect,.fig-equip circle{fill:var(--equip)}.fig-equip line{stroke:var(--equip)}.fig-floor{stroke:var(--surface-3);stroke-width:3px}.fig .plate{fill:var(--accent)}.fig .hub{fill:var(--surface)}.fig .pad{fill:var(--accent-2)}.fig-cable{stroke:var(--muted);stroke-width:1.5px}.fig-handle{stroke:var(--fig-back);stroke-width:5px;stroke-linecap:round}.fig.paused{opacity:.75}.figure-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;margin-bottom:14px;padding:8px;position:relative;overflow:hidden}.figure-card .fig{aspect-ratio:1;cursor:pointer;width:100%;max-height:300px}@media (min-width:1024px){.figure-card .fig{max-height:380px}}.figure-card .hint-text{color:var(--muted);font-size:12px;font-weight:600;position:absolute;bottom:12px;left:14px}.figure-card .badge{position:absolute;top:12px;right:14px}.bodymap{display:block}.bodymap .bm-body *,.bodymap .bm-limbs polyline{fill:var(--body-map);stroke:var(--body-map);stroke-linejoin:round;stroke-linecap:round}.bodymap .bm-limbs polyline{fill:none}.bodymap .m{fill:var(--muscle);transition:fill .3s}.bodymap .m-primary{fill:var(--accent)}.bodymap .m-secondary{fill:var(--accent-2);opacity:.75}.bodymap .bm-lines line{stroke:var(--body-map);stroke-width:1.2px}.bodymap .bm-label{fill:var(--muted);text-anchor:middle;font-size:8px;font-weight:600}.map-card{grid-template-columns:1fr auto;align-items:center;gap:12px;display:grid}.map-card .bodymap{width:100%;max-height:220px}.legend{color:var(--muted);flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.legend i{vertical-align:-1px;border-radius:4px;width:12px;height:12px;margin-right:6px;display:inline-block}.legend .big{color:var(--text);font-size:22px;font-weight:800;display:block}.chart svg{width:100%;height:160px;display:block}@media (min-width:1024px){.chart svg{height:240px}}.chart .area{fill:var(--accent-soft)}.chart .line{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.chart .pt{fill:var(--accent)}.chart .grid{stroke:var(--border)}.chart text{fill:var(--muted);font-size:10px}.chart-empty{color:var(--muted);text-align:center;padding:20px 0;font-size:14px}.heatmap{grid-template-rows:repeat(7,1fr);grid-auto-flow:column;gap:4px;display:grid}@media (min-width:1024px){.heatmap{max-width:640px}}.heatmap i{aspect-ratio:1;background:var(--surface-2);border-radius:4px}.heatmap i.l1{background:color-mix(in srgb, var(--accent) 45%, var(--surface-2))}.heatmap i.l2{background:var(--accent)}.heatmap i.today{outline:2px solid var(--text);outline-offset:-2px}.heatmap i.future{opacity:.25}.bars{flex-direction:column;gap:8px;display:flex}.bar{grid-template-columns:96px 1fr 34px;align-items:center;gap:10px;font-size:14px;font-weight:600;display:grid}.bar .track{background:var(--surface-2);border-radius:5px;height:10px;overflow:hidden}.bar .track div{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:5px;height:100%}.bar .n{text-align:right;color:var(--muted)}.auth{min-height:100dvh;padding:calc(var(--safe-t) + 24px) 24px calc(var(--safe-b) + 24px);flex-direction:column;justify-content:center;display:flex}.auth .hero{width:170px;height:170px;margin:0 auto 4px}.auth .hero svg{width:100%;height:100%}.auth h1{text-align:center;letter-spacing:-.03em;margin:0;font-size:38px;font-weight:900}.auth h1 span{color:var(--accent)}.auth .lead{text-align:center;color:var(--muted);margin:6px 0 28px}.auth .switch-link{text-align:center;color:var(--muted);margin-top:18px}.auth .switch-link a{color:var(--accent);font-weight:650}@media (min-width:700px){.auth{max-width:440px;margin:0 auto}}.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;transition:transform .12s,background .12s,filter .15s}.plan-card:active{transform:scale(.985)}.plan-card{padding:18px;display:block;position:relative;overflow:hidden}.plan-card h3{margin:0 0 4px;font-size:19px;font-weight:750}.plan-card .meta{color:var(--muted);font-size:14px}.plan-card .chips{margin-top:12px}.plan-card .bg-map{pointer-events:none;width:96px;position:absolute;top:8px;bottom:8px;right:-6px}.plan-card .bg-map svg{width:100%;height:100%}.plan-card .content-wrap{padding-right:88px}.plan-card.today{border-color:color-mix(in srgb, var(--accent) 55%, transparent)}.plan-card.today:before{content:"";pointer-events:none;background:radial-gradient(120% 90% at 0% 0%, var(--accent-soft), transparent 60%);position:absolute;inset:0}.program-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;transition:transform .12s,background .12s,filter .15s}.program-card:active{transform:scale(.985)}.program-card{padding:16px 18px;display:block}.program-card .top{justify-content:space-between;align-items:center;gap:10px;display:flex}.program-card h3{margin:0;font-size:17px}.program-card .meta{color:var(--muted);margin-top:2px;font-size:14px}.week-strip{gap:4px;margin-top:12px;display:flex}.week-strip i{background:var(--surface-3);border-radius:4px;flex:1;height:8px}.week-strip i.done{background:var(--accent)}.week-strip i.deload{background:#60a5fa73}.week-strip i.done.deload{background:var(--info)}.week-strip i.current{outline:2px solid var(--text);outline-offset:1px}.week-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px;display:grid}.week-grid div{background:var(--surface-2);text-align:center;color:var(--muted);border-radius:12px;padding:8px 4px;font-size:12px;font-weight:650}.week-grid div b{color:var(--text);font-size:16px;display:block}.week-grid div.deload{color:var(--info);background:#60a5fa2e}.week-grid div.current{outline:2px solid var(--accent)}.week-grid div.past{opacity:.55}.item-row .idx{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;font-weight:800;display:grid;position:absolute;top:6px;left:6px}.item-row .targets{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.superset{flex-direction:column;gap:6px;padding-left:14px;display:flex;position:relative}.superset:before{content:"";background:linear-gradient(var(--purple), var(--accent));border-radius:2px;width:4px;position:absolute;top:16px;bottom:16px;left:2px}.superset .ss-label{letter-spacing:.06em;color:var(--purple);text-transform:uppercase;margin:2px 0 0 4px;font-size:11px;font-weight:800}.share-box{background:var(--surface-2);border-radius:14px;align-items:center;gap:8px;padding:6px 6px 6px 14px;display:flex}.share-box input{min-width:0;color:var(--muted);background:0 0;border:0;outline:none;flex:1;font-size:14px}.group-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (min-width:700px){.group-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}}.group-tile{background:var(--surface);border:1px solid var(--border);border-radius:20px;transition:transform .12s,background .12s,filter .15s}.group-tile:active{transform:scale(.97)}.group-tile{flex-direction:column;align-items:center;gap:4px;padding:12px;display:flex}.group-tile .bodymap{width:auto;height:120px}.group-tile .name{font-weight:750}.group-tile .meta{color:var(--muted);font-size:13px}.steps{counter-reset:s;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.steps li{counter-increment:s;align-items:flex-start;gap:12px;display:flex}.steps li:before{content:counter(s);background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:800;display:grid}.tips{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.tips li{gap:10px;display:flex}.tips li:before{content:"💡"}.workout-head{background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(180%)blur(18px);z-index:20;padding:calc(var(--safe-t) + 8px) 16px 10px;border-bottom:1px solid var(--border);position:sticky;top:0}.workout-head .top{justify-content:space-between;align-items:center;gap:10px;display:flex}.workout-head .timer{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:28px;font-weight:800}.workout-head .plan{color:var(--muted);text-align:center;font-size:14px;font-weight:600}.progress{background:var(--surface-2);border-radius:3px;height:6px;margin-top:10px;overflow:hidden}.progress>div{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:3px;height:100%;transition:width .35s}.wx{background:var(--surface);border:1px solid var(--border);border-radius:22px;margin-bottom:12px;overflow:hidden}.wx.done{border-color:color-mix(in srgb, var(--ok) 40%, transparent)}.wx.ss{border-left:4px solid var(--purple)}.wx-head{text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.wx-head .grow{flex:1;min-width:0}.wx-head .name{font-size:17px;font-weight:750}.wx-head .meta{color:var(--muted);font-size:13px}.wx-head .chev{transition:transform .2s}.wx-head .chev.open{transform:rotate(90deg)}.ss-tag{color:var(--purple);margin-right:4px;font-size:11px;font-weight:800}.wx-body{padding:0 14px 14px}.wx-fig{grid-template-columns:120px 1fr;align-items:center;gap:12px;margin-bottom:8px;display:grid}.wx-fig .fig,.wx-fig .thumb{background:var(--surface-2);border-radius:16px;width:120px;height:120px}.wx-fig .last{color:var(--muted);font-size:13px}.wx-fig .last b{color:var(--text)}.wx-fig .last a{color:var(--accent);font-weight:650}.set-table{border-collapse:separate;border-spacing:0 6px;width:100%}.set-table th{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:center;padding:0 4px;font-size:11px;font-weight:700}.set-table td{text-align:center;padding:0 3px}.set-table input{background:var(--surface-2);text-align:center;border:1px solid #0000;border-radius:12px;outline:none;width:100%;height:44px;font-size:18px;font-weight:750}.set-table input:focus{border-color:var(--accent)}.set-table tr.done input{background:var(--ok-soft);color:var(--ok)}.set-table tr.pr td.no .set-type{box-shadow:0 0 0 2px var(--accent-2)}.set-type{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:10px;font-size:15px;font-weight:800}.set-type.warmup{color:var(--info);background:#60a5fa29}.set-type.drop{color:var(--purple);background:#a78bfa2e}.set-type.failure{color:var(--danger);background:#ff5d6c29}.type-legend{color:var(--muted);flex-wrap:wrap;gap:12px;margin:4px 0 8px;font-size:12px;display:flex}.type-legend .set-type{border-radius:6px;width:22px;height:22px;margin-right:4px;font-size:11px}.check{background:var(--surface-2);width:44px;height:44px;color:var(--muted);border:0;border-radius:12px;place-items:center;display:grid}.check svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px}tr.done .check{background:var(--ok);color:#062418;animation:.25s pop}.wx-actions{gap:8px;margin-top:6px;display:flex}.wx-actions>*{flex:1}.rest{left:calc(var(--nav-w) + (100vw - var(--nav-w)) / 2);width:min(560px, 100vw - var(--nav-w));z-index:40;bottom:calc(var(--safe-b) + 16px);width:min(528px, 100vw - var(--nav-w) - 32px);background:var(--surface-3);box-shadow:var(--shadow);border-radius:22px;align-items:center;gap:14px;padding:12px 14px;animation:.3s cubic-bezier(.2,.9,.25,1) restIn;display:flex;position:fixed;transform:translate(-50%)}.rest .ring{flex:none;width:54px;height:54px}.rest .ring circle{fill:none;stroke-width:6px}.rest .ring .bg{stroke:var(--surface-2)}.rest .ring .fg{stroke:var(--accent);stroke-linecap:round;transform-origin:50%;transition:stroke-dashoffset .25s linear;transform:rotate(-90deg)}.rest .t{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800}.rest .l{color:var(--muted);font-size:12px;font-weight:650}.rest .grow{flex:1}.rest .btn{background:var(--surface-2);border-radius:12px;width:auto;height:40px;padding:0 12px;font-size:14px}.rest .btn svg{width:18px;height:18px}@keyframes restIn{0%{opacity:0;transform:translate(-50%,30px)}}.summary-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px;display:grid}.summary-grid .stat{text-align:center}.pr-list{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}@media (min-width:1024px){.wx-list{grid-template-columns:repeat(auto-fill,minmax(440px,1fr));align-items:start;gap:0 20px;display:grid}.wx-list>.banner{grid-column:1/-1}.workout-head{padding-left:40px;padding-right:40px}}.log-ex{margin-bottom:10px;display:block}.log-ex .head{justify-content:space-between;align-items:baseline;gap:8px;font-weight:750;display:flex}.log-ex .head small{color:var(--muted);font-weight:600}.log-ex .sets{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.log-ex .target.warmup{opacity:.6}.date-thumb{flex-direction:column;gap:0;line-height:1.1}.date-thumb b{font-size:20px}.date-thumb span{color:var(--muted);font-size:11px;font-weight:700}.avatar{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff;border-radius:50%;place-items:center;width:84px;height:84px;margin:10px auto;font-size:36px;font-weight:900;display:grid}.settings-card{padding:4px 14px}.settings-card .switch-row+.switch-row,.settings-card .switch-row+.field{border-top:1px solid var(--border)}.body-latest{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;display:grid}.body-latest .delta{font-size:12px;font-weight:700}.body-latest .delta.down{color:var(--ok)}.body-latest .delta.up{color:var(--accent)}.profile-grid{grid-template-columns:1fr;gap:0 24px;display:grid}@media (min-width:1024px){.profile-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));align-items:start}}
