.form-ai-orb{position:relative;z-index:5;display:grid;flex:0 0 auto;place-items:center;isolation:isolate;pointer-events:none}.form-ai-orb__core-wrap{position:absolute;left:50%;top:50%;width:var(--form-ai-orb-size);height:var(--form-ai-orb-size);margin:calc(var(--form-ai-orb-size) / -2) 0 0 calc(var(--form-ai-orb-size) / -2);border-radius:50%;will-change:transform,opacity}.form-ai-orb__spectrum-glow,.form-ai-orb__rim,.form-ai-orb__interior{position:absolute;border-radius:50%}.form-ai-orb__spectrum-glow{inset:calc(var(--form-ai-orb-glow-radius) * var(--form-ai-orb-glow-inset-ratio) * -1);z-index:-1;background:var( --form-ai-orb-spectrum, var(--form-ai-orb-default-spectrum) );filter:blur(var(--form-ai-orb-glow-radius));opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-glow-base-opacity));transform:translateZ(0)}.form-ai-orb__rim{inset:0;background:var( --form-ai-orb-spectrum, var(--form-ai-orb-default-spectrum) );box-shadow:0 0 calc(var(--form-ai-orb-glow-radius) * .7) rgba(146,127,219,calc(var(--form-ai-orb-glow-strength) * .16))}.form-ai-orb__interior{inset:var(--form-ai-orb-rim-width);background:radial-gradient(circle at 35% 28%,var(--form-ai-orb-core-highlight, rgba(255, 255, 255, .055)),transparent 31%),radial-gradient(circle at 63% 76%,var(--form-ai-orb-core-lowlight, rgba(91, 111, 154, .08)),transparent 42%),var(--form-ai-orb-core, #07090d);box-shadow:inset 0 0 calc(var(--form-ai-orb-size) * .22) #000000c2}.form-ai-orb--state-idle .form-ai-orb__rim,.form-ai-orb--state-no_useful_result .form-ai-orb__rim{animation:form-ai-orb-breathe var(--form-ai-orb-idle-duration) var(--form-ai-orb-breathing-ease) infinite}.form-ai-orb--state-idle .form-ai-orb__spectrum-glow{animation:form-ai-orb-glow-breathe var(--form-ai-orb-idle-duration) var(--form-ai-orb-breathing-ease) infinite}@keyframes form-ai-orb-breathe{0%,to{transform:scale(1);filter:brightness(var(--form-ai-orb-idle-brightness-min))}50%{transform:scale(calc(1 + var(--form-ai-orb-idle-pulse)));filter:brightness(var(--form-ai-orb-idle-brightness-max))}}@keyframes form-ai-orb-glow-breathe{0%,to{opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-glow-idle-min))}50%{opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-glow-idle-max))}}.form-ai-orb__guide,.form-ai-orb__escalation-halo{position:absolute;left:50%;top:50%;border:1px solid var(--form-ai-orb-guide, rgba(137, 145, 180, .13));border-radius:50%;opacity:0;transform:translate(-50%,-50%) rotate(-9deg);transition:opacity var(--form-ai-orb-guide-opacity-duration) ease,width var(--form-ai-orb-guide-duration) var(--form-ai-orb-standard-ease),height var(--form-ai-orb-guide-duration) var(--form-ai-orb-standard-ease)}.form-ai-orb__guide--primary{width:calc(var(--form-ai-orb-checking-radius) * var(--form-ai-orb-guide-primary-width));height:calc(var(--form-ai-orb-checking-radius) * var(--form-ai-orb-guide-primary-height))}.form-ai-orb__guide--secondary{width:calc(var(--form-ai-orb-checking-radius) * var(--form-ai-orb-guide-secondary-width));height:calc(var(--form-ai-orb-checking-radius) * var(--form-ai-orb-guide-secondary-height));transform:translate(-50%,-50%) rotate(53deg);border-color:var( --form-ai-orb-guide-accent, rgba(203, 122, 173, .09) )}.form-ai-orb[data-orbiting=true] .form-ai-orb__guide{opacity:var(--form-ai-orb-guide-opacity)}.form-ai-orb__escalation-halo{width:calc(var(--form-ai-orb-escalation-radius) * var(--form-ai-orb-halo-size));height:calc(var(--form-ai-orb-escalation-radius) * var(--form-ai-orb-halo-size));border-color:var( --form-ai-orb-escalation-halo, rgba(130, 140, 205, .17) );box-shadow:0 0 calc(var(--form-ai-orb-glow-radius) * .8) #817acc0f}.form-ai-orb--state-escalating_live .form-ai-orb__escalation-halo{opacity:1;animation:form-ai-orb-deep-halo var(--form-ai-orb-halo-duration) var(--form-ai-orb-breathing-ease) infinite}@keyframes form-ai-orb-deep-halo{0%,to{transform:translate(-50%,-50%) scale(var(--form-ai-orb-halo-min-scale));opacity:var(--form-ai-orb-halo-min-opacity)}50%{transform:translate(-50%,-50%) scale(var(--form-ai-orb-halo-max-scale));opacity:var(--form-ai-orb-halo-max-opacity)}}.form-ai-orb__particle-ring,.form-ai-orb__particle-slot{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:0 0}.form-ai-orb__particle-ring{transform:rotate(0);will-change:transform}.form-ai-orb__particle-slot{transform:rotate(var(--form-ai-orb-particle-angle))}.form-ai-orb[data-paused=true] .form-ai-orb__rim,.form-ai-orb[data-paused=true] .form-ai-orb__spectrum-glow,.form-ai-orb[data-paused=true] .form-ai-orb__escalation-halo{animation-play-state:paused!important}.form-ai-orb__particle-carrier{position:absolute;left:0;top:0;display:block;width:var(--form-ai-orb-particle-size);height:var(--form-ai-orb-particle-size);margin:calc(var(--form-ai-orb-particle-size) / -2) 0 0 calc(var(--form-ai-orb-particle-size) / -2);will-change:transform,opacity}.form-ai-orb__particle{display:block;width:100%;height:100%;border:1px solid color-mix(in srgb,var(--form-ai-orb-particle-colour) 72%,white);border-radius:50%;background:radial-gradient(circle at 36% 28%,white 0%,var(--form-ai-orb-particle-colour) 29%,color-mix(in srgb,var(--form-ai-orb-particle-colour) 70%,#26324a) 72%);box-shadow:0 0 calc(var(--form-ai-orb-particle-size) * 1.8) color-mix(in srgb,var(--form-ai-orb-particle-colour) 62%,transparent)}.form-ai-orb--state-unavailable .form-ai-orb__rim{background:conic-gradient(from var(--form-ai-orb-unavailable-rim-start),var(--form-ai-orb-unavailable-rim) 0deg var(--form-ai-orb-unavailable-gap-start),transparent var(--form-ai-orb-unavailable-gap-start) var(--form-ai-orb-unavailable-gap-end),var(--form-ai-orb-unavailable-rim) var(--form-ai-orb-unavailable-gap-end) 360deg);filter:saturate(var(--form-ai-orb-unavailable-saturation));animation:none;opacity:var(--form-ai-orb-unavailable-rim-opacity)}.form-ai-orb--state-unavailable .form-ai-orb__spectrum-glow{background:var(--form-ai-orb-unavailable-glow);filter:blur(var(--form-ai-orb-glow-radius));opacity:var(--form-ai-orb-unavailable-glow-opacity);animation:none}.form-ai-orb--state-unavailable .form-ai-orb__interior{background:radial-gradient(circle at 36% 28%,rgba(255,255,255,.045),transparent 30%),var(--form-ai-orb-unavailable-core, #101217)}.form-ai-orb[data-reduced=true].form-ai-orb--state-checking .form-ai-orb__spectrum-glow{animation:form-ai-orb-reduced-check var(--form-ai-orb-reduced-check-duration) ease-in-out infinite}.form-ai-orb[data-reduced=true].form-ai-orb--state-escalating_live .form-ai-orb__spectrum-glow{opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-reduced-escalation-glow))}.form-ai-orb[data-reduced=true] .form-ai-orb__guide,.form-ai-orb[data-reduced=true] .form-ai-orb__particle-ring{display:none}@keyframes form-ai-orb-reduced-check{0%,to{opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-reduced-check-min))}50%{opacity:calc(var(--form-ai-orb-glow-strength) * var(--form-ai-orb-reduced-check-max))}}.form-ai-orb-flight{position:fixed;z-index:var(--form-ai-orb-layer-z-index, 100);left:0;top:0;pointer-events:none;will-change:transform,opacity}.form-ai-orb-flight__dot{position:absolute;inset:0;z-index:2;border:1px solid color-mix(in srgb,var(--form-ai-orb-flight-colour) 72%,white);border-radius:50%;background:radial-gradient(circle at 35% 28%,white,var(--form-ai-orb-flight-colour) 35%,color-mix(in srgb,var(--form-ai-orb-flight-colour) 68%,#34405a));box-shadow:0 0 11px color-mix(in srgb,var(--form-ai-orb-flight-colour) 76%,transparent),0 0 24px color-mix(in srgb,var(--form-ai-orb-flight-colour) 30%,transparent)}.form-ai-orb-flight__trail{position:absolute;z-index:1;right:50%;top:50%;width:var(--form-ai-orb-trail-length);height:7px;border-radius:999px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--form-ai-orb-flight-colour) 78%,transparent));filter:blur(3px);opacity:var(--form-ai-orb-trail-opacity);transform-origin:right center}@media(prefers-reduced-motion:reduce){.form-ai-orb__particle-ring,.form-ai-orb__rim,.form-ai-orb__escalation-halo{animation:none!important}.form-ai-orb--state-checking .form-ai-orb__spectrum-glow{animation:form-ai-orb-reduced-check var(--form-ai-orb-reduced-check-duration) ease-in-out infinite}}:root{color-scheme:dark;--background-primary:#141618;--background-grouped:#1d2023;--background-elevated:#292d31;--background-secondary:#181b1e;--label-primary:rgba(255,255,255,.96);--label-secondary:rgba(235,235,245,.64);--label-tertiary:rgba(235,235,245,.36);--separator:rgba(128,136,143,.42);--separator-soft:rgba(128,136,143,.22);--accent:#7d9fba;--accent-dark:#527895;--accent-soft:color-mix(in srgb,var(--accent) 16%,transparent);--semantic-success:#78a98a;--semantic-warning:#c39a63;--semantic-danger:#cf6f69;--semantic-info:#829dad;--habit-alcohol:var(--accent-foreground);--habit-snacks:var(--accent-complement);--habit-data-1:var(--habit-alcohol);--habit-data-2:var(--habit-snacks);--habit-data-3:color-mix(in srgb,var(--habit-alcohol) 56%,var(--semantic-info));--habit-data-4:color-mix(in srgb,var(--habit-snacks) 62%,var(--semantic-success));--chart-secondary:#8d99a3;--chart-tertiary:#737d85;--accent-foreground:var(--accent);--accent-complement:color-mix(in srgb,var(--accent) 56%,#a28ab5);--selection-surface:color-mix(in srgb,var(--accent) 11%,var(--background-elevated));--surface-outline:rgba(198,211,221,.13);--surface-outline-strong:rgba(198,211,221,.2);--surface-shadow:0 1px 2px rgba(0,0,0,.16);--control-track:#39393d;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--radius-small:10px;--radius-medium:14px;--radius-large:20px;--motion-fast:.16s;--motion-standard:.22s;--motion-spring:cubic-bezier(.2,.8,.2,1);--mobile-nav-height:64px;--active-workout-overlay-height:0px;--active-workout-overlay-gap:12px;--bg:var(--background-primary);--surface:var(--background-grouped);--surface-2:var(--background-elevated);--surface-soft:var(--background-secondary);--ink:var(--label-primary);--muted:var(--label-secondary);--line:var(--separator);--line-soft:var(--separator-soft);--success:var(--semantic-success);--success-soft:color-mix(in srgb,var(--semantic-success) 15%,transparent);--nav:#17191c;--shadow:0 18px 48px rgba(0,0,0,.34);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-synthesis:none}:root[data-accent=indigo]{--accent:#898dac;--accent-dark:#626781}:root[data-accent=purple]{--accent:#9d859f;--accent-dark:#735f75}:root[data-accent=pink]{--accent:#ad828b;--accent-dark:#825f67}:root[data-accent=mint]{--accent:#7fa395;--accent-dark:#5d7d72}:root[data-accent=orange]{--accent:#ad9274;--accent-dark:#806b54}:root[data-theme=light]{color-scheme:light;--background-primary:#f7f9fb;--background-grouped:#ffffff;--background-elevated:#e9eef3;--background-secondary:#f0f4f7;--label-primary:rgba(18,25,31,.94);--label-secondary:rgba(48,59,68,.7);--label-tertiary:rgba(48,59,68,.43);--separator:rgba(52,69,82,.28);--separator-soft:rgba(52,69,82,.15);--accent-foreground:var(--accent-dark);--surface-outline:rgba(48,69,83,.16);--surface-outline-strong:rgba(48,69,83,.24);--surface-shadow:0 1px 2px rgba(34,50,62,.07),0 8px 24px rgba(34,50,62,.045);--control-track:#c8d0d7;--nav:#edf2f6;--shadow:0 18px 42px rgba(34,50,62,.13)}@media(prefers-color-scheme:light){:root[data-theme=system]{color-scheme:light;--background-primary:#f7f9fb;--background-grouped:#ffffff;--background-elevated:#e9eef3;--background-secondary:#f0f4f7;--label-primary:rgba(18,25,31,.94);--label-secondary:rgba(48,59,68,.7);--label-tertiary:rgba(48,59,68,.43);--separator:rgba(52,69,82,.28);--separator-soft:rgba(52,69,82,.15);--accent-foreground:var(--accent-dark);--surface-outline:rgba(48,69,83,.16);--surface-outline-strong:rgba(48,69,83,.24);--surface-shadow:0 1px 2px rgba(34,50,62,.07),0 8px 24px rgba(34,50,62,.045);--control-track:#c8d0d7;--nav:#edf2f6;--shadow:0 18px 42px rgba(34,50,62,.13)}}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}html{overflow-x:hidden}body{min-width:320px;background:var(--bg);color:var(--ink);overflow-x:hidden;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}html:has(.sheet-backdrop),body:has(.sheet-backdrop){overflow:hidden;overscroll-behavior:none}button,input,textarea,select{font:inherit}button{background:transparent;color:inherit;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--accent),transparent 45%);outline-offset:2px}button:active{transform:none;opacity:.88}.app-shell{min-height:100dvh;background:radial-gradient(circle at 18% -8%,color-mix(in srgb,var(--accent) 7%,transparent),transparent min(42rem,62vw)),var(--bg)}.app-content{max-width:760px;margin:0 auto;padding-bottom:98px}.page{padding:calc(env(safe-area-inset-top) + 22px) 20px 34px}.eyebrow{display:block;color:var(--muted);font-family:inherit;font-size:10px;font-weight:500;letter-spacing:.1em;line-height:1.3}.wordmark{letter-spacing:-.09em;font-size:24px;font-weight:800;line-height:1}.wordmark span{color:var(--accent)}.app-header,.workout-topbar,.detail-header{align-items:center;display:flex;justify-content:space-between}.app-header{margin-bottom:30px}.header-date{align-items:center;color:var(--muted);display:flex;font-size:12px;gap:7px}.header-date svg{color:var(--accent)}.page-title{margin-bottom:25px}.page-title h1{font-size:28px;letter-spacing:-.06em;line-height:1.1;margin:6px 0 8px}.page-title p{color:var(--muted);font-size:13px;margin:0}.bottom-nav{align-items:center;background:color-mix(in srgb,var(--nav),transparent 2%);border-top:1px solid var(--line-soft);bottom:0;display:flex;height:80px;justify-content:space-around;left:0;padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));position:fixed;right:0;z-index:30}.bottom-nav button{align-items:center;background:transparent;color:var(--muted);display:flex;flex:1;flex-direction:column;font-size:10px;font-weight:600;gap:4px;height:55px;justify-content:center}.bottom-nav button.active{color:var(--accent)}.bottom-nav button.active svg{filter:drop-shadow(0 3px 5px color-mix(in srgb,var(--accent),transparent 70%))}.desktop-nav{display:none}.search-field{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;display:flex;height:46px;padding:0 12px}.search-field svg{color:var(--muted);flex-shrink:0}.search-field input{background:transparent;border:0;color:var(--ink);font-size:12px;margin-left:9px;outline:0;width:100%}.search-field input::placeholder{color:var(--muted)}.search-field button{background:transparent;display:flex;padding:3px}.exercise-library{display:grid;gap:7px;margin-top:17px}.exercise-library>button{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;display:flex;gap:11px;min-height:67px;padding:8px 10px;text-align:left}.exercise-library .muscle-figure{background:var(--surface-2);border-radius:10px;height:48px;width:43px}.exercise-library span{display:grid;gap:4px}.exercise-library strong{font-size:13px}.exercise-library small{color:var(--muted);font-size:10px}.exercise-library>button>svg{color:var(--muted);margin-left:auto}.detail-header{margin-bottom:22px}.detail-header .eyebrow{flex:1;margin-left:12px}.exercise-detail-hero{align-items:center;display:flex;justify-content:space-between;margin-bottom:13px}.exercise-detail-hero h1,.history-hero h1{font-size:26px;letter-spacing:-.065em;line-height:1.05;margin:5px 0}.exercise-detail-hero p{color:var(--muted);font-size:11px;margin:0 0 7px}.exercise-detail-hero>div>span{color:var(--accent);font-size:11px;font-weight:700}.exercise-detail-hero>.muscle-figure{height:135px;width:115px}.exercise-detail>.exercise-diagram{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;height:142px;margin-bottom:14px}.detail-section{border-top:1px solid var(--line-soft);padding:16px 1px}.targets-section{align-items:center;display:flex;gap:10px}.targets-section>.muscle-figure{background:var(--surface-2);border-radius:10px;height:55px;width:48px}.targets-section strong,.detail-section>strong{display:block;font-size:13px;margin-top:5px}.targets-section p{color:var(--muted);font-size:10px;margin:4px 0 0}.cue-list{display:grid;gap:8px;list-style:none;margin:12px 0 0;padding:0}.cue-list li{color:var(--muted);font-size:12px;padding-left:16px;position:relative}.cue-list li:before{background:var(--accent);border-radius:50%;content:"";height:5px;left:0;position:absolute;top:6px;width:5px}.note-field.compact{margin-top:10px}.note-save{align-items:center;color:var(--muted);display:flex;font-size:10px;gap:4px;margin-top:7px}.recent-sets{display:grid;gap:7px;margin-top:11px}.recent-sets>div{align-items:center;background:var(--surface-soft);border-radius:10px;display:grid;font-size:11px;grid-template-columns:67px 1fr auto;padding:9px 10px}.recent-sets span,.recent-sets p{color:var(--muted);font-size:10px;margin:0}.recent-sets strong{font-family:inherit;font-size:11px}.subdued{color:var(--muted);font-size:12px;margin:10px 0 0}.history-list{display:grid}.history-list>button{padding:14px 2px}.history-list>button:first-child{border-top:1px solid var(--line-soft)}.history-hero{align-items:flex-start;display:flex;gap:12px;margin-bottom:17px}.completion-mark{align-items:center;background:var(--success-soft);border-radius:12px;color:var(--success);display:flex;flex-shrink:0;height:49px;justify-content:center;width:49px}.completion-mark.partial{background:var(--accent-soft);color:var(--accent)}.history-hero p{color:var(--muted);font-size:11px;margin:7px 0 0}.session-note{background:var(--surface-soft);border-left:2px solid var(--accent);color:var(--muted);font-size:12px;font-style:italic;line-height:1.5;margin:0 0 16px;padding:10px 12px}.history-exercises{display:grid;gap:16px}.history-exercises article{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;padding:14px}.history-exercise-heading{margin-bottom:7px}.history-exercise-heading h2{font-size:14px;letter-spacing:-.03em;margin:0}.history-exercise-heading p{color:var(--muted);font-size:10px;margin:3px 0 0}.history-exercise-heading>span{background:var(--surface-2);border-radius:7px;color:var(--muted);font-family:inherit;font-size:10px;padding:5px 6px}.historical-set{align-items:center;background:transparent;border-top:1px solid var(--line-soft);display:flex;font-size:11px;min-height:38px;padding:0;text-align:left;width:100%}.historical-set strong{font-family:inherit;font-size:11px;margin-left:auto}.historical-set svg{color:var(--muted);margin-left:10px}.historical-set.editing{gap:6px}.historical-set.editing input{background:var(--surface-2);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:4px;width:52px}.historical-set.editing button{background:var(--accent-soft);border-radius:6px;color:var(--accent);font-size:10px;font-weight:700;margin-left:auto;padding:6px}.settings-group{margin-top:24px}.settings-list{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;margin-top:9px;overflow:hidden}.setting-row{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;justify-content:space-between;min-height:52px;padding:0 13px}.setting-row:last-child{border-bottom:0}.setting-row>span{font-size:12px}.appearance-options>div{background:var(--surface-2);border-radius:9px;display:flex;gap:1px;padding:2px}.appearance-options button{align-items:center;background:transparent;border-radius:7px;color:var(--muted);display:flex;font-size:9px;gap:3px;padding:6px 7px;text-transform:capitalize}.appearance-options button.active{background:var(--surface);box-shadow:0 1px 2px #00000029;color:var(--ink)}.toggle-row{cursor:pointer;position:relative}.toggle-row input{opacity:0;position:absolute}.toggle-row i{background:var(--line);border-radius:20px;height:26px;position:relative;transition:.2s;width:45px}.toggle-row i:after{background:var(--ink);border-radius:50%;content:"";height:20px;left:3px;position:absolute;top:3px;transition:.2s;width:20px}.toggle-row input:checked+i{background:var(--accent)}.toggle-row input:checked+i:after{transform:translate(19px)}.select-setting>span{align-items:center;display:flex;gap:8px}.select-setting select{appearance:none;background:transparent;border:0;color:var(--muted);font-size:11px;outline:0;padding-right:18px}.select-setting>svg{color:var(--muted);margin-left:-14px;pointer-events:none}.sync-row{align-items:flex-start;display:flex;gap:10px;padding:13px}.sync-row>svg{color:var(--accent);flex-shrink:0}.sync-row>div:first-of-type{flex:1;min-width:0}.sync-row strong{display:block;font-size:12px}.sync-row p{color:var(--muted);font-size:10px;line-height:1.45;margin:3px 0 0;overflow-wrap:anywhere}.button-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.button-row .editor-primary,.button-row .editor-secondary,.button-row .editor-danger-link{margin:0;width:auto}.sync-login{border-top:1px solid var(--line-soft);display:grid;gap:8px;padding:11px}.sync-login input{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:12px;padding:9px}.sync-login button{background:var(--accent);border-radius:8px;color:#fff;font-size:11px;font-weight:700;padding:9px}.sync-login small{color:var(--muted);font-size:10px}.settings-action{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:flex;gap:10px;min-height:60px;padding:10px 13px;text-align:left;width:100%}.settings-action:last-child{border-bottom:0}.settings-action>svg:first-child{color:var(--accent)}.settings-action span{display:grid;gap:3px}.settings-action strong{font-size:12px}.settings-action small{color:var(--muted);font-size:10px}.settings-action>svg:last-child{color:var(--muted);margin-left:auto}.settings-action.danger>svg:first-child,.settings-action.danger strong{color:var(--accent)}.programme-backdrop{align-items:stretch;padding:0}.programme-sheet{background:var(--bg);display:flex;flex-direction:column;min-height:100dvh;overflow:hidden;padding:calc(env(safe-area-inset-top) + 15px) 16px 0;width:100%}.programme-header{align-items:flex-start;display:flex;justify-content:space-between}.template-tabs{display:flex;gap:5px;margin:19px -16px 14px;overflow:auto;padding:0 16px 4px}.template-tabs button{background:var(--surface);border:1px solid var(--line-soft);border-radius:9px;color:var(--muted);flex:0 0 auto;font-family:inherit;font-size:11px;padding:8px 10px}.template-tabs button.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 40%);color:var(--accent)}.template-fields{display:grid;gap:8px;grid-template-columns:1fr 1fr}.template-fields label,.editor-grid label,.editor-note{color:var(--muted);display:grid;font-size:9px;gap:4px}.template-fields input,.template-fields select,.editor-grid input,.editor-exercise-title select,.editor-note input{background:var(--surface);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:11px;min-height:34px;outline:0;padding:7px;width:100%}.editor-exercises{display:grid;gap:9px;margin:16px 0;overflow:auto;padding-bottom:6px}.editor-exercises article{background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;padding:11px}.editor-exercise-title{align-items:center;display:grid;gap:7px;grid-template-columns:20px 1fr auto}.editor-exercise-title>span{align-items:center;background:var(--surface-2);border-radius:6px;color:var(--muted);display:flex;font-family:inherit;font-size:9px;height:23px;justify-content:center}.editor-exercise-title>div{display:flex;gap:3px}.editor-exercise-title button{background:var(--surface-2);border-radius:5px;color:var(--muted);font-size:13px;height:26px;width:25px}.editor-grid{display:grid;gap:6px;grid-template-columns:repeat(4,1fr);margin-top:9px}.editor-grid input{min-width:0}.editor-note{margin-top:9px}.editor-add,.editor-duplicate{background:var(--surface);border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:11px;font-weight:700;min-height:38px;width:100%}.editor-duplicate{margin-top:7px}.programme-footer{background:var(--bg);border-top:1px solid var(--line-soft);display:grid;gap:7px;grid-template-columns:1fr 1.5fr;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.programme-footer>button{background:var(--surface-2);border-radius:10px;font-size:11px;font-weight:700;min-height:42px}.programme-footer .save-programme{align-items:center;background:var(--accent);color:#fff;display:flex;gap:6px;justify-content:center}@media(min-width:820px){.desktop-nav{border-right:1px solid var(--line-soft);display:flex;flex-direction:column;min-height:100dvh;padding:30px 18px;position:fixed;width:215px}.desktop-nav .bottom-nav{background:transparent;border:0;display:grid;gap:4px;height:auto;left:auto;margin-top:41px;padding:0;position:static;width:100%}.desktop-nav .bottom-nav button{align-items:center;border-radius:11px;flex-direction:row;font-size:12px;gap:10px;height:43px;justify-content:flex-start;padding:0 11px}.desktop-nav .bottom-nav button.active{background:var(--accent-soft)}.desktop-nav>p{color:var(--muted);font-size:10px;margin-top:auto}.app-shell>.bottom-nav{display:none}.app-content{margin-left:215px;max-width:none;padding:0 44px;width:calc(100% - 215px)}.page{min-height:100dvh;padding:48px 0 55px}.page-title h1{font-size:36px}.home-page{max-width:670px}.app-header{display:none}.next-workout-card{padding:25px}.next-main{margin:29px 0}.home-section{margin-top:40px}.workout-mode{padding-top:20px}.exercise-focus{max-width:720px}.exercise-visual-row{min-height:154px}.chart-wrap{height:280px}.progress-page{max-width:800px}.exercise-library{grid-template-columns:1fr 1fr}.exercise-detail,.history-detail{max-width:720px}.settings-page{max-width:680px}.programme-sheet{margin-left:215px;padding-left:28px;padding-right:28px;width:calc(100% - 215px)}.programme-footer{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}.template-fields{grid-template-columns:1fr 1fr 120px 140px}}@media(max-width:370px){.page{padding-left:16px;padding-right:16px}.target-copy{width:52%}.target-copy .muscle-figure{display:none}.steppers{gap:7px}.stepper-control>button{width:33px}.stepper-control input{width:45px}.appearance-options button{padding:6px 5px}.appearance-options button svg{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.habits-page{max-width:920px}.habits-header{align-items:center;display:flex;gap:11px;margin-bottom:20px}.habits-header h1{font-size:30px;letter-spacing:-.065em;margin:2px 0 0}.habits-settings-link{color:var(--accent);font-size:11px;font-weight:800;margin-left:auto;padding:9px 2px}.habit-tabs{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:11px;display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:18px;padding:3px}.habit-tabs button{border-radius:8px;color:var(--muted);font-size:11px;font-weight:800;min-height:34px}.habit-tabs button.active{background:var(--surface);box-shadow:0 1px 4px #0001;color:var(--ink)}.habits-off-state{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;display:grid;justify-items:center;margin:42px auto;max-width:400px;padding:32px 24px;text-align:center}.habits-off-state>svg{color:var(--accent)}.habits-off-state h2{font-size:23px;letter-spacing:-.05em;margin:6px 0 0}.habits-off-state p{color:var(--muted);font-size:11px;line-height:1.55;margin:8px 0 19px;max-width:280px}.habits-date-heading{align-items:end;display:flex;gap:10px;margin:0 2px 14px}.habits-date-heading h2{font-size:20px;letter-spacing:-.045em;margin:3px 0 0}.habits-date-heading>button{color:var(--accent);font-size:10px;font-weight:800;margin-left:auto;padding:6px 0}.habit-streak-strip{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.habit-streak-stat{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;display:flex;gap:9px;min-height:72px;padding:10px}.habit-streak-stat>svg{flex:0 0 auto}.habit-streak-stat.alcohol>svg{color:var(--habit-alcohol)}.habit-streak-stat.snack>svg{color:var(--habit-snacks)}.habit-streak-stat span{display:grid;gap:2px;min-width:0}.habit-streak-stat small,.habit-streak-stat em{color:var(--muted);font-size:8px;font-style:normal}.habit-streak-stat strong{font-family:inherit;font-size:12px;letter-spacing:-.04em;white-space:nowrap}.habit-day-editor{display:grid;gap:10px}.habit-group{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;overflow:hidden}.habit-group>header{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;justify-content:space-between;padding:12px 13px}.habit-group h2{font-size:14px;letter-spacing:-.03em;margin:0}.habit-group p{color:var(--muted);font-size:9px;margin:3px 0 0}.habit-group>header svg{color:var(--muted)}.habit-group.alcohol>header svg{color:var(--habit-alcohol)}.habit-group.snack>header svg{color:var(--habit-snacks)}.habit-counter{align-items:center;border-bottom:1px solid var(--line-soft);display:grid;gap:9px;grid-template-columns:31px minmax(0,1fr) auto;min-height:58px;padding:8px 11px}.habit-counter:last-child{border-bottom:0}.habit-counter-icon{align-items:center;background:var(--surface-soft);border-radius:9px;color:var(--muted);display:flex;height:31px;justify-content:center;width:31px}.habit-group.alcohol .habit-counter-icon{color:var(--habit-alcohol)}.habit-group.snack .habit-counter-icon{color:var(--habit-snacks)}.habit-counter strong{font-size:11px}.habit-stepper{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;display:flex;height:35px;overflow:hidden}.habit-stepper button{color:var(--ink);font-size:18px;height:100%;line-height:1;width:34px}.habit-stepper button:disabled{color:var(--line)}.habit-stepper b{border-left:1px solid var(--line-soft);border-right:1px solid var(--line-soft);display:grid;font-family:inherit;font-size:12px;height:100%;min-width:26px;place-items:center}.habit-stepper b{animation:habit-counter-pop .16s ease-out}.habit-empty-group{padding:13px}.habit-clear-day{color:var(--muted);font-size:10px;font-weight:700;justify-self:start;margin:0 2px;padding:5px 3px}.habit-save-state{align-items:center;color:var(--muted);display:flex;font-size:9px;gap:6px;margin:9px 3px}.habit-save-state i{background:var(--semantic-success);border-radius:50%;display:block;height:6px;width:6px}.habit-home-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;margin-top:13px;overflow:hidden}.habit-home-summary{align-items:center;color:var(--ink);display:grid;gap:10px;grid-template-columns:31px minmax(0,1fr) 18px;padding:11px 12px;text-align:left;width:100%}.habit-home-summary>span:nth-child(2){display:grid;gap:2px}.habit-home-summary small{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.06em}.habit-home-summary strong{font-size:12px}.habit-home-summary p{color:var(--muted);font-size:9px;margin:0}.habit-home-summary>svg{color:var(--muted)}.habit-home-icon{align-items:center;background:var(--accent-soft);border-radius:9px;color:var(--accent);display:flex;height:31px;justify-content:center;width:31px}.habits-calendar-layout{display:grid;gap:12px}.habits-calendar,.habit-calendar-detail,.habit-trend,.habit-breakdown{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;padding:12px}.habits-calendar>header{align-items:center;display:flex;justify-content:space-between;margin-bottom:13px}.habits-calendar>header strong{font-size:13px}.habits-weekdays,.habits-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.habits-weekdays span{color:var(--muted);font-family:inherit;font-size:8px;padding:0 0 7px;text-align:center}.habits-calendar-grid{gap:3px}.habits-calendar-grid button{background:transparent;border:1px solid transparent;border-radius:9px;color:var(--muted);font-family:inherit;font-size:10px;min-height:39px;position:relative}.habits-calendar-grid button.outside{opacity:.32}.habits-calendar-grid button.selected{background:var(--accent-soft);color:var(--ink)}.habits-calendar-grid button:disabled{opacity:.25}.habits-calendar-grid button i{border-radius:50%;bottom:5px;height:4px;left:50%;position:absolute;transform:translate(-50%);width:4px}.habits-calendar-grid button.clear i,.habit-calendar-legend .clear{background:var(--semantic-success)}.habits-calendar-grid button.alcohol i,.habit-calendar-legend .alcohol{background:var(--habit-alcohol)}.habit-calendar-legend{color:var(--muted);display:flex;flex-wrap:wrap;font-size:8px;gap:10px;margin:11px 2px 0}.habit-calendar-legend span{align-items:center;display:flex;gap:4px}.habit-calendar-legend i{border-radius:50%;display:block;height:6px;width:6px}.habit-calendar-detail h2{font-size:17px;letter-spacing:-.04em;margin:3px 0 12px}.habit-calendar-detail .habit-group{border-radius:12px}.habit-calendar-detail .habit-clear-day{display:none}.habit-range-select{display:flex;gap:6px;margin:0 -2px 7px;overflow:auto;padding:2px}.habit-range-select button{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:99px;color:var(--muted);flex:0 0 auto;font-size:9px;font-weight:800;min-height:29px;padding:0 10px}.habit-range-select button.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 60%);color:var(--accent)}.habit-range-caption{color:var(--muted);font-size:9px;margin:0 2px 12px}.habit-stat-cards{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.habit-stat-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;display:grid;gap:4px;min-height:84px;padding:11px}.habit-stat-card small,.habit-stat-card span{color:var(--muted);font-size:8px}.habit-stat-card strong{font-family:inherit;font-size:20px;letter-spacing:-.07em}.habit-stat-card.alcohol strong{color:var(--habit-alcohol)}.habit-stat-card.snack strong{color:var(--habit-snacks)}.habit-trend header{align-items:flex-end;display:flex;justify-content:space-between}.habit-trend h2,.habit-breakdown h2{font-size:14px;letter-spacing:-.035em;margin:3px 0 0}.habit-trend header>small{color:var(--muted);font-size:8px;text-align:right}.habit-bars{align-items:end;display:grid;gap:5px;grid-template-columns:repeat(7,1fr);height:112px;margin-top:13px}.habit-bars>span{align-items:center;display:grid;gap:5px;grid-template-rows:1fr auto;height:100%;justify-items:center}.habit-bars i{align-self:end;background:var(--line-soft);border-radius:5px 5px 2px 2px;min-height:4px;transition:height .2s ease;width:100%}.habit-bars small{color:var(--muted);font-family:inherit;font-size:8px}.habit-breakdown{display:grid;gap:8px;margin-top:10px}.habit-breakdown>div{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(100px,1fr) minmax(50px,2fr) 18px}.habit-breakdown span{align-items:center;display:flex;gap:6px;min-width:0}.habit-breakdown span svg{color:var(--muted);height:22px;width:22px}.habit-breakdown span strong{font-size:10px}.habit-breakdown>div>i{background:var(--surface-soft);border-radius:99px;display:block;height:6px;overflow:hidden}.habit-breakdown>div>i>b{background:var(--accent);border-radius:inherit;display:block;height:100%}.habit-breakdown em{color:var(--muted);font-family:inherit;font-size:10px;font-style:normal;text-align:right}.habit-legacy-note{color:var(--muted);font-size:9px;line-height:1.45;margin:12px 3px}.habit-category-settings{border-top:1px solid var(--line-soft)}.habit-category-settings .toggle-row{padding-left:13px}.habit-category-settings .toggle-row span{color:var(--muted);font-size:10px}@keyframes habit-counter-pop{0%{transform:scale(.82);opacity:.55}to{transform:scale(1);opacity:1}}@media(min-width:700px){.habits-page{padding-bottom:70px}.habits-calendar-layout{grid-template-columns:minmax(390px,1.25fr) minmax(300px,.9fr)}.habit-calendar-detail{align-self:start;position:sticky;top:24px}.habit-stat-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.habit-day-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.habit-day-editor .habit-clear-day{grid-column:1/-1}.habits-page .habit-day-editor{max-width:760px}}@media(max-width:390px){.habit-streak-strip{grid-template-columns:1fr}.habit-streak-stat{min-height:60px}.habits-calendar-grid button{min-height:34px}.habit-breakdown>div{grid-template-columns:minmax(88px,1fr) minmax(40px,1fr) 16px}}.exercise-demo{align-items:center;color:var(--ink);display:flex;flex:1;height:128px;justify-content:center;margin:0;min-width:0;overflow:hidden;position:relative}.exercise-demo.expanded{background:var(--surface);border:1px solid var(--line-soft);border-radius:17px;height:190px;margin:0 0 15px}.exercise-demo svg{height:100%;max-width:235px;overflow:visible;width:100%}.exercise-demo figcaption{align-items:center;bottom:9px;color:var(--muted);display:flex;font-family:inherit;font-size:9px;gap:5px;left:11px;letter-spacing:.06em;position:absolute;text-transform:uppercase}.demo-floor{fill:none;stroke:var(--line);stroke-width:1.5}.demo-skin{fill:color-mix(in srgb,var(--label-secondary),var(--background-grouped) 44%)}.demo-body{fill:#727982;stroke:#aeb5bb;stroke-linejoin:round;stroke-width:1.2}.demo-limb{fill:none;stroke:#aeb5bb;stroke-linecap:round;stroke-width:10}.demo-machine{fill:none;stroke:#818b95;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.demo-cable{fill:none;stroke:var(--accent);stroke-dasharray:4 3;stroke-width:2.2}.demo-bench{fill:var(--surface-2);stroke:#818b95;stroke-linejoin:round;stroke-width:2}.demo-weight{fill:var(--accent)}.demo-motion-path{fill:none;marker-end:url(#arrow);stroke:var(--accent);stroke-dasharray:4 4;stroke-linecap:round;stroke-width:2.3;animation:motion-flow 2.4s linear infinite}.demo-pulse{background:var(--accent);border-radius:50%;height:5px;width:5px}.anatomical .anatomy-base{fill:#596068;stroke:#707882;stroke-linecap:round;stroke-linejoin:round;stroke-width:10}.anatomical .anatomy-base circle{stroke-width:1}.anatomy-muscle{fill:#7f878e;stroke:#4e565f;stroke-width:.65}.anatomy-muscle.primary{fill:var(--accent);stroke:color-mix(in srgb,var(--accent),#fff 15%)}.anatomy-muscle.secondary{fill:var(--accent-complement);stroke:color-mix(in srgb,var(--accent-complement),var(--label-primary) 18%)}.anatomy-muscle.neutral{fill:#747c84}.muscle-figure.anatomical{filter:drop-shadow(0 7px 12px rgba(0,0,0,.12))}.exercise-visual-row{min-height:146px}.exercise-visual-row>.exercise-demo{height:126px}.exercise-detail>.exercise-demo{height:185px}.target-copy{background:linear-gradient(90deg,transparent,var(--surface-soft));min-height:111px;padding:8px 0 8px 9px}.target-copy .anatomical{flex-shrink:0}@keyframes motion-flow{to{stroke-dashoffset:-28}}.machine-summary{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:13px;display:flex;gap:10px;margin:14px 0;padding:10px;text-align:left;width:100%}.machine-summary-icon{align-items:center;background:var(--accent-soft);border-radius:9px;color:var(--accent);display:flex;height:32px;justify-content:center;width:32px}.machine-summary>span:nth-child(2){display:grid;gap:2px;min-width:0}.machine-summary strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.machine-summary small{color:var(--muted);font-size:9px}.machine-summary-action{color:var(--accent);font-size:10px;font-weight:800;margin-left:auto}.machine-sheet,.exercise-info-sheet,.completion-sheet{animation:sheet-in .28s cubic-bezier(.2,.85,.35,1) both;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);max-height:90dvh;max-width:620px;overflow:auto;padding:21px;width:100%}.hg80-diagram{background:#14171b;border:1px solid var(--line-soft);border-radius:16px;display:block;height:auto;margin:16px 0 14px;width:100%}.hg-frame{fill:none;stroke:#8d989f;stroke-linecap:round;stroke-linejoin:round;stroke-width:5}.hg-frame-detail{fill:none;stroke:#59626a;stroke-linecap:round;stroke-width:2.5}.hg-stack{fill:#3f474e;stroke:#9ca7ad;stroke-width:1.5}.hg-seat{fill:color-mix(in srgb,var(--accent-complement),#3f474e 48%);stroke:color-mix(in srgb,var(--accent-complement),#fff 25%);stroke-width:1.2}.hg-seat-back,.hg-seat-post{fill:none;stroke:color-mix(in srgb,var(--accent-complement),#3f474e 48%);stroke-linecap:round;stroke-width:5}.hg-pulley{fill:#606d75;stroke:#a7b0b5;stroke-width:2}.hg-pulley.active{fill:var(--accent);stroke:color-mix(in srgb,var(--accent),#fff 35%)}.hg-cable{fill:none;stroke:var(--accent);stroke-dasharray:5 3;stroke-linecap:round;stroke-width:3}.hg-cable.left{opacity:.55}.hg-callout rect{fill:var(--accent-soft);stroke:var(--accent);stroke-width:.7}.hg-callout text{fill:var(--ink);font-family:inherit;font-size:7px;text-anchor:middle}.machine-controls{display:grid;gap:10px;grid-template-columns:1fr 1fr}.machine-controls label,.mapping-form label{color:var(--muted);display:grid;font-size:9px;gap:5px;position:relative}.machine-controls select,.machine-controls input,.mapping-form select,.mapping-form input{appearance:none;background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:11px;min-height:38px;outline:0;padding:8px;width:100%}.machine-controls label>svg{bottom:10px;color:var(--muted);pointer-events:none;position:absolute;right:8px}.machine-segment{grid-column:1/-1}.machine-segment>span{color:var(--muted);display:block;font-size:9px;margin-bottom:5px}.machine-segment>div{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;display:grid;grid-template-columns:repeat(3,1fr);padding:3px}.machine-segment button{background:transparent;border-radius:7px;color:var(--muted);font-size:10px;min-height:31px}.machine-segment button.active{background:var(--surface-2);color:var(--ink)}.applied-load{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:12px;color:var(--muted);display:flex;gap:9px;margin-top:14px;padding:10px}.applied-load>svg{color:var(--muted)}.applied-load.calibrated{background:var(--success-soft);border-color:color-mix(in srgb,var(--success),transparent 55%)}.applied-load.calibrated>svg{color:var(--success)}.applied-load span{display:grid;gap:2px}.applied-load small,.applied-load em{font-size:9px;font-style:normal}.applied-load strong{color:var(--ink);font-size:12px}.machine-lock,.machine-validation{background:var(--accent-soft);border-left:2px solid var(--accent);color:var(--muted);font-size:11px;line-height:1.45;margin:12px 0;padding:9px 10px}.machine-sheet .finish-workout{margin-top:14px}.machine-sheet .finish-workout:disabled{cursor:not-allowed;opacity:.5}.calibration-sheet>p{color:var(--muted);font-size:12px;line-height:1.5}.calibration-values{color:var(--muted);display:grid;font-size:10px;gap:6px;margin-top:15px}.calibration-values textarea{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:9px;resize:vertical}.calibration-sheet .outline-action{margin-top:8px}.mapping-form{border-top:1px solid var(--line-soft);display:grid;gap:10px;margin-top:16px;padding-top:16px}.mapping-form>div{display:grid;gap:8px;grid-template-columns:1fr 1fr}.mapping-form .machine-segment{grid-column:auto}.mapping-form .finish-workout{grid-column:1/-1;margin-top:0}.applied-inline{background:var(--surface-soft);border-radius:9px;color:var(--muted);font-family:inherit;font-size:10px;margin:10px 0 0;padding:8px 9px}.applied-inline.available{color:var(--success)}.stack-notice{color:var(--muted);font-size:10px;line-height:1.45;margin:8px 0 0}.stepper-valid-values{color:var(--muted);display:block;font-size:9px;margin-top:5px}.stepper-control button:disabled{cursor:not-allowed;opacity:.45}.rest-timer{background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 48%);border-radius:18px;margin-top:16px;padding:18px 13px 13px}.rest-heading{color:var(--accent)}.rest-timer strong{font-size:38px;margin:7px 0 13px}.timer-actions button{min-height:36px}.timer-actions .skip-button{background:var(--ink);color:var(--bg);padding-left:13px;padding-right:13px}.log-set-panel{margin-top:16px}.last-time{border-left-color:var(--accent)}.last-time>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.last-time strong{background:var(--surface-2);border-radius:6px;font-family:inherit;font-size:10px;margin:0;padding:4px 5px}.logged-set.rich{gap:9px;min-height:53px}.set-log-copy{display:grid;gap:3px;min-width:0}.set-log-copy strong{font-family:inherit;font-size:11px;margin:0}.set-log-copy small{color:var(--muted);font-family:inherit;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rep-status{border-radius:6px;font-size:9px;font-style:normal;font-weight:700;margin-left:auto;padding:4px 5px;text-align:right;white-space:nowrap}.rep-status.below{background:color-mix(in srgb,var(--semantic-warning) 14%,var(--background-grouped));color:var(--semantic-warning)}.rep-status.met{background:var(--success-soft);color:var(--success)}.rep-status.top{background:var(--accent-soft);color:var(--accent)}.rep-status.above{background:color-mix(in srgb,var(--semantic-info) 14%,var(--background-grouped));color:var(--semantic-info)}.progression-note{background:var(--success-soft);border-left:2px solid var(--success);color:var(--muted);font-size:10px;line-height:1.4;margin:11px 0 0;padding:8px 10px}.exercise-info-sheet .exercise-demo{height:190px}.info-anatomy{align-items:center;background:var(--surface-soft);border-radius:14px;display:flex;gap:12px;margin:0 0 15px;padding:11px}.info-anatomy .muscle-figure{height:130px;width:93px}.info-anatomy strong{display:block;font-size:13px;margin-top:5px}.info-anatomy p,.exercise-info-sheet section>p{color:var(--muted);font-size:11px;line-height:1.5;margin:4px 0 0}.exercise-info-sheet section{border-top:1px solid var(--line-soft);padding:14px 0}.exercise-info-sheet textarea{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;color:var(--ink);display:block;margin-top:8px;padding:9px;resize:vertical;width:100%}.info-programme{display:grid;gap:9px;grid-template-columns:1fr 1fr}.info-programme span{background:var(--surface-soft);border-radius:9px;display:grid;gap:3px;padding:9px}.info-programme small{color:var(--muted);font-family:inherit;font-size:8px}.info-programme strong{font-size:11px}.exercise-info-sheet .outline-action{margin-top:0}.completion-sheet{max-width:440px;position:relative;text-align:center}.completion-icon{align-items:center;background:var(--success-soft);border-radius:14px;color:var(--success);display:flex;height:52px;justify-content:center;margin:0 auto 13px;width:52px}.completion-sheet h2{font-size:22px;letter-spacing:-.05em;margin:5px 0}.completion-sheet>p{color:var(--muted);font-size:12px;margin:0}.completion-grid{display:grid;gap:7px;grid-template-columns:1fr 1fr;margin:20px 0 0}.completion-grid span{background:var(--surface-soft);border-radius:10px;display:grid;gap:4px;padding:10px;text-align:left}.completion-grid small{color:var(--muted);font-family:inherit;font-size:8px}.completion-grid strong{font-family:inherit;font-size:16px}.completion-quiet{font-size:11px!important;margin-top:12px!important}.completion-progress{align-items:flex-start;background:var(--accent-soft);border-radius:11px;color:var(--accent);display:flex;gap:8px;margin-top:13px;padding:10px;text-align:left}.completion-progress p{color:var(--muted);font-size:10px;margin:0}.completion-progress strong{color:var(--ink);display:block;font-size:11px;margin-bottom:2px}.completion-actions{display:grid;gap:7px;grid-template-columns:1fr 1.35fr;margin-top:17px}.completion-actions button{align-items:center;background:var(--surface-2);border-radius:11px;display:flex;font-size:11px;font-weight:800;gap:5px;justify-content:center;min-height:44px}.completion-actions button:last-child{background:var(--accent);color:#fff}.historical-set.rich{gap:8px;min-height:52px}.historical-set.rich>div{display:grid;gap:2px;margin-left:auto;text-align:right}.historical-set.rich>div strong{margin:0}.historical-set.rich small{color:var(--muted);font-size:9px}.historical-set.rich .rep-status{margin-left:5px}.history-machine-snapshot{background:var(--surface-soft);border-radius:8px;color:var(--muted);font-family:inherit;font-size:9px;line-height:1.35;margin:8px 0 3px;padding:7px}.sync-error{background:var(--accent-soft);border-top:1px solid color-mix(in srgb,var(--accent),transparent 55%);color:var(--muted);font-size:10px;line-height:1.45;margin:0;padding:10px 13px}.hg-cable.is-active{stroke:var(--accent);stroke-dasharray:5 3}.hg-cable.is-muted{stroke:#4a545c;opacity:.6}.resume-banner{align-items:center;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 60%);border-radius:15px;display:flex;gap:12px;justify-content:space-between;margin:-12px 0 18px;padding:12px 13px}.resume-banner strong{display:block;font-size:12px;margin-top:4px}.resume-banner button{align-items:center;background:var(--accent);border-radius:10px;display:flex;flex-shrink:0;font-size:12px;font-weight:700;gap:5px;padding:9px 11px}.next-workout-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;padding:19px;position:relative}.next-workout-card:after{background:var(--accent);border-radius:50%;content:"";height:160px;opacity:.09;position:absolute;right:-65px;top:-76px;width:160px}.next-top,.section-heading,.completed-title,.chart-heading,.history-exercise-heading{align-items:center;display:flex;justify-content:space-between}.next-top{position:relative;z-index:1}.next-top button,.section-heading button{align-items:center;background:transparent;color:var(--muted);display:flex;font-size:11px;font-weight:700;gap:4px}.next-main{align-items:center;display:flex;gap:14px;margin:22px 0}.workout-code{align-items:center;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 70%);border-radius:15px;color:var(--accent);display:inline-flex;font-family:inherit;font-size:18px;font-weight:500;height:54px;justify-content:center;width:54px}.next-main h1{font-size:23px;letter-spacing:-.05em;margin:0 0 4px}.next-main p{color:var(--muted);font-size:12px;margin:0}.start-button,.complete-set,.finish-workout{align-items:center;background:var(--accent);border-radius:13px;color:#fffaf7;display:flex;font-size:14px;font-weight:800;gap:9px;justify-content:center;min-height:52px;width:100%}.start-button:hover,.complete-set:hover,.finish-workout:hover{background:var(--accent-dark)}.home-section{margin-top:32px}.section-heading{margin-bottom:12px}.recent-workout,.history-list>button{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:flex;gap:12px;padding:12px 2px;text-align:left;width:100%}.recent-workout>svg,.history-list>button>svg{color:var(--muted);margin-left:auto}.date-chip{align-items:center;background:var(--surface-2);border-radius:12px;display:flex;flex-direction:column;height:43px;justify-content:center;line-height:1;width:43px}.date-chip span{font-size:16px;font-weight:800;letter-spacing:-.05em}.date-chip small{color:var(--muted);font-family:inherit;font-size:9px;margin-top:3px;text-transform:uppercase}.recent-workout strong,.history-list strong{font-size:13px}.recent-workout p,.history-list p{color:var(--muted);font-size:11px;margin:3px 0 0}.progress-insight{align-items:flex-start;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:16px;display:flex;gap:12px;margin-top:24px;padding:15px}.insight-icon,.pr-icon{align-items:center;background:var(--accent-soft);border-radius:10px;color:var(--accent);display:flex;flex-shrink:0;height:37px;justify-content:center;width:37px}.progress-insight strong{display:block;font-size:13px;margin-top:4px}.progress-insight p{color:var(--muted);font-size:11px;line-height:1.45;margin:4px 0 0}.empty-card{align-items:center;border:1px dashed var(--line);border-radius:16px;color:var(--muted);display:flex;flex-direction:column;font-size:13px;gap:7px;justify-content:center;min-height:115px;text-align:center}.sheet-backdrop{align-items:flex-end;background:#07080a8c;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:100}.picker-sheet,.finish-sheet{animation:sheet-in .28s cubic-bezier(.2,.85,.35,1) both;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);max-width:620px;padding:22px;width:100%}.picker-sheet{max-height:88dvh;overflow:auto}.sheet-heading{align-items:flex-start;display:flex;justify-content:space-between}.sheet-heading h2,.finish-sheet h2,.programme-header h2{font-size:22px;letter-spacing:-.05em;margin:5px 0 0}.sheet-close{align-items:center;background:var(--surface-2);border-radius:50%;display:flex;font-size:24px;height:35px;justify-content:center;line-height:1;width:35px}.picker-list{display:grid;gap:6px;margin-top:20px}.picker-list>button{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:14px;display:flex;gap:12px;padding:12px;text-align:left}.picker-list>button>svg{color:var(--muted);margin-left:auto}.picker-list strong{display:block;font-size:13px}.picker-list small{color:var(--muted);display:block;font-size:11px;margin-top:3px}.block-badge{align-items:center;background:var(--accent-soft);border-radius:10px;color:var(--accent);display:flex;font-family:inherit;font-size:11px;height:36px;justify-content:center;width:36px}.block-badge.b{background:#25323d;color:#8fc2ec}@keyframes sheet-in{0%{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}.finish-sheet{padding:26px 21px 20px;position:relative}.finish-sheet>p{color:var(--muted);font-size:13px;margin:7px 0 20px}.finish-sheet .sheet-close{position:absolute;right:18px;top:17px}.note-field{color:var(--muted);display:grid;font-size:11px;font-weight:700;gap:7px}.note-field textarea{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:11px;resize:vertical;width:100%}.finish-workout{margin-top:17px}.workout-mode{background:var(--bg);min-height:100dvh;padding:calc(env(safe-area-inset-top) + 12px) 0 calc(env(safe-area-inset-bottom) + 16px)}.workout-topbar{min-height:48px;padding:0 16px}.workout-topbar strong{display:block;font-size:13px;letter-spacing:-.02em;margin-top:2px}.icon-button,.info-button{align-items:center;background:var(--surface-2);border:1px solid var(--line-soft);border-radius:50%;display:flex;height:37px;justify-content:center;width:37px}.text-action{background:transparent;color:var(--accent);font-size:12px;font-weight:800;padding:9px 3px}.workout-title-button{background:transparent;flex:1;margin-left:11px;text-align:left}.exercise-strip{display:flex;gap:8px;margin:16px 0 9px;overflow-x:auto;padding:0 16px 8px;scrollbar-width:none}.exercise-strip::-webkit-scrollbar{display:none}.exercise-strip button{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:20px;color:var(--muted);display:flex;flex:0 0 auto;font-size:11px;font-weight:700;gap:6px;padding:9px 11px}.exercise-strip button.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 45%);color:var(--ink)}.strip-state,.status-dot{align-items:center;background:var(--line);border-radius:50%;display:inline-flex;height:8px;justify-content:center;width:8px}.strip-state.started,.status-dot.started{background:var(--semantic-warning)}.strip-state.done,.status-dot.done{background:var(--success)}.strip-state svg{height:8px;width:8px}.exercise-focus{margin:0 auto;max-width:660px;padding:8px 16px 24px}.focus-heading{align-items:flex-start;display:flex;justify-content:space-between;margin:16px 0}.focus-heading h1{font-size:27px;letter-spacing:-.065em;line-height:1.02;margin:6px 0 0}.alias{color:var(--muted);font-size:11px;margin:5px 0 0}.info-button{color:var(--muted)}.exercise-visual-row{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;display:flex;gap:8px;justify-content:space-between;min-height:128px;overflow:hidden;padding:9px 14px}.exercise-diagram{align-items:center;display:flex;flex:1;height:110px;justify-content:center;min-width:0;position:relative}.diagram-person{height:91px;position:relative;width:72px}.diagram-person span{background:#c0c1c0;display:block;position:absolute}.diagram-head{border-radius:50%;height:13px;left:30px;top:3px;width:13px}.diagram-torso{border-radius:15px 15px 8px 8px;height:42px;left:23px;top:18px;width:28px}.diagram-arm{border-radius:7px;height:35px;top:23px;transform-origin:top;width:10px}.arm-one{left:18px;transform:rotate(34deg)}.arm-two{right:18px;transform:rotate(-34deg)}.diagram-leg{border-radius:7px;height:39px;top:54px;width:11px}.leg-one{left:24px;transform:rotate(7deg)}.leg-two{right:24px;transform:rotate(-7deg)}.diagram-motion{align-items:center;color:var(--accent);display:flex;gap:3px;position:absolute;right:7px;top:37px}.diagram-motion .reverse{transform:rotate(180deg)}.diagram-caption{bottom:0;color:var(--muted);font-family:inherit;font-size:9px;left:0;position:absolute;text-transform:uppercase}.target-copy{align-items:center;border-left:1px solid var(--line-soft);display:flex;gap:8px;padding-left:8px;width:48%}.target-copy>div:last-child{min-width:0}.target-copy span{color:var(--muted);display:block;font-family:inherit;font-size:8px}.target-copy strong{display:block;font-size:12px;line-height:1.3;margin:4px 0}.target-copy small{color:var(--muted);display:block;font-size:9px;line-height:1.35}.muscle-figure{height:145px;overflow:visible;width:125px}.muscle-figure.compact{height:66px;width:54px}.body-base{fill:#6f747a;stroke:#6f747a}.muscle{fill:#a0a4a9}.muscle.primary{fill:var(--accent)}.muscle.secondary{fill:var(--accent-complement)}.prescription-row{align-items:center;color:var(--muted);display:flex;font-size:11px;gap:8px;margin:16px 1px 0}.prescription-row i{background:var(--line);border-radius:50%;height:3px;width:3px}.training-note{color:var(--ink);font-size:12px;font-weight:700;margin:7px 1px 16px}.last-time{background:var(--surface-soft);border-left:2px solid var(--line);padding:10px 12px}.last-time span{color:var(--muted);display:block;font-family:inherit;font-size:9px}.last-time strong{display:inline-block;font-size:13px;margin-top:3px}.last-time p{color:var(--muted);display:inline-block;font-size:12px;margin:0 0 0 12px}.rest-timer{background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 60%);border-radius:17px;margin-top:16px;overflow:hidden;padding:14px 13px 12px;text-align:center}.rest-timer.ready{background:var(--success-soft);border-color:color-mix(in srgb,var(--success),transparent 50%)}.rest-heading{align-items:center;color:var(--accent);display:flex;font-family:inherit;font-size:10px;gap:5px;justify-content:center;letter-spacing:.1em}.rest-timer.ready .rest-heading{color:var(--success)}.rest-timer strong{display:block;font-family:inherit;font-size:30px;letter-spacing:-.08em;margin:5px 0 10px}.timer-actions{display:flex;gap:6px;justify-content:center}.timer-actions button{align-items:center;background:transparent;border-radius:8px;color:var(--muted);display:flex;font-size:10px;font-weight:700;gap:3px;padding:7px}.timer-actions .skip-button{background:var(--surface);color:var(--ink);padding:7px 11px}.log-set-panel{background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;box-shadow:0 10px 20px #00000012;margin-top:16px;padding:15px}.set-title{align-items:center;color:var(--success);display:flex;justify-content:space-between}.steppers{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:11px}.steppers:has(.metric-stepper:only-child){grid-template-columns:1fr}.metric-stepper{min-width:0}.metric-label{color:var(--muted);display:block;font-family:inherit;font-size:9px;margin-bottom:7px;text-transform:uppercase}.stepper-control{align-items:center;background:var(--surface-2);border:1px solid var(--line-soft);border-radius:12px;display:flex;height:51px;justify-content:space-between}.stepper-control>button{align-items:center;background:transparent;color:var(--muted);display:flex;height:100%;justify-content:center;width:40px}.stepper-control label{align-items:baseline;display:flex;min-width:0}.stepper-control input{appearance:textfield;background:transparent;border:0;color:var(--ink);font-family:inherit;font-size:19px;font-weight:500;min-width:0;padding:0;text-align:center;width:50px}.stepper-control input::-webkit-inner-spin-button{appearance:none}.stepper-control label span{color:var(--muted);font-size:11px;margin-left:2px}.load-hint{color:var(--muted);display:block;font-size:10px;margin-top:8px;text-align:center}.complete-set{margin-top:13px}.completed-sets{margin-top:23px}.completed-title h2{font-size:14px;letter-spacing:-.03em;margin:0}.completed-title span{color:var(--muted);font-size:10px}.empty-sets{color:var(--muted);font-size:12px;margin:11px 0}.logged-set{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:flex;font-size:11px;gap:8px;min-height:44px;text-align:left;width:100%}.logged-set strong{font-family:inherit;font-size:12px;margin-left:auto}.logged-set>svg{color:var(--muted)}.set-check{align-items:center;background:var(--success-soft);border-radius:50%;color:var(--success);display:flex;height:20px;justify-content:center;width:20px}.logged-set.edit{gap:6px}.logged-set.edit input{background:var(--surface-2);border:1px solid var(--line);border-radius:7px;color:var(--ink);padding:4px;width:52px}.logged-set.edit button{align-items:center;background:var(--success-soft);border-radius:7px;color:var(--success);display:flex;justify-content:center;height:27px;width:29px}.logged-set.edit .remove-set{background:var(--accent-soft);color:var(--accent);font-size:18px}.add-set,.outline-action{align-items:center;background:transparent;border:1px dashed var(--line);border-radius:11px;color:var(--muted);display:flex;font-size:11px;font-weight:700;gap:6px;justify-content:center;margin-top:12px;min-height:38px;width:100%}.workout-overview{margin:26px auto;max-width:660px;padding:0 16px}.overview-title{align-items:flex-start;display:flex;justify-content:space-between}.overview-title svg{color:var(--accent)}.overview-title h1{font-size:29px;letter-spacing:-.06em;margin:5px 0}.overview-title p{color:var(--muted);font-size:12px;margin:0}.overview-list{display:grid;gap:7px;margin-top:24px}.overview-exercise{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;display:flex;gap:10px;min-height:63px;padding:10px;text-align:left}.overview-exercise.current{border-color:color-mix(in srgb,var(--accent),transparent 40%)}.status-dot{height:22px;width:22px}.overview-exercise-copy{display:grid;gap:3px}.overview-exercise strong{font-size:13px}.overview-exercise small{color:var(--muted);font-size:10px}.focus-label{color:var(--accent);font-size:10px;font-weight:800;margin-left:auto}.workout-overview .outline-action{margin-top:22px}.exercise-select{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;display:flex;justify-content:space-between;margin-bottom:15px;padding:11px 13px}.exercise-select label{display:flex;flex:1;flex-direction:column;position:relative}.exercise-select label>select{appearance:none;background:transparent;border:0;color:var(--ink);font-size:13px;font-weight:700;margin-top:3px;outline:0;padding:0}.exercise-select label>svg{color:var(--muted);position:absolute;right:2px;top:11px}.exercise-select>span{color:var(--muted);font-size:10px;max-width:120px;text-align:right}.chart-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;padding:16px 14px 9px}.chart-heading strong{display:block;font-family:inherit;font-size:22px;letter-spacing:-.07em;margin-top:6px}.chart-heading>svg{color:var(--accent)}.metric-tabs{display:flex;gap:3px;margin:17px 0 0;overflow-x:auto}.metric-tabs button{background:transparent;border-radius:8px;color:var(--muted);flex:0 0 auto;font-size:10px;font-weight:700;padding:7px 9px}.metric-tabs button.active{background:var(--surface-2);color:var(--ink)}.chart-wrap{height:220px;margin-top:4px}.chart-empty{align-items:center;color:var(--muted);display:flex;font-size:12px;height:100%;justify-content:center;text-align:center}.pr-card{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:16px;display:flex;gap:12px;margin-top:16px;padding:14px}.pr-card strong{display:block;font-size:15px;margin-top:3px}.pr-card p{color:var(--muted);font-size:10px;margin:3px 0 0}.progress-tip{align-items:flex-start;border-top:1px solid var(--line-soft);color:var(--muted);display:flex;font-size:11px;gap:9px;line-height:1.5;margin-top:22px;padding:15px 2px}.progress-tip svg{color:var(--accent);flex-shrink:0}.progress-tip p{margin:0}.progress-tip strong{color:var(--ink)}.workout-elapsed{color:var(--muted);font-family:inherit;font-size:12px;font-weight:800;margin-left:auto;white-space:nowrap}.focus-topbar .workout-elapsed{margin-left:0}.row-chevron{color:var(--muted);margin-left:auto;transform:rotate(180deg)}.focus-heading-actions{display:flex;gap:7px;position:relative}.exercise-action-menu{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #0002;display:grid;min-width:172px;padding:5px;position:absolute;right:0;top:43px;z-index:4}.exercise-action-menu button{border-radius:8px;color:var(--ink);font-size:11px;font-weight:750;padding:10px;text-align:left}.exercise-action-menu button:hover{background:var(--surface-2)}.set-actions{display:grid;gap:8px}.skip-set{color:var(--muted);font-size:11px;font-weight:750;min-height:32px;text-decoration:underline;text-underline-offset:3px}.logged-set.skipped,.historical-set.skipped{align-items:center;background:var(--surface-soft);border:1px dashed var(--line);border-radius:11px;color:var(--muted);display:flex;font-size:11px;gap:9px;min-height:46px;padding:9px 11px}.logged-set.skipped .set-check{align-items:center;background:var(--surface-soft);border-radius:50%;display:flex;height:20px;justify-content:center;width:20px}.active-session-bar{align-items:center;background:var(--ink);bottom:calc(env(safe-area-inset-bottom) + 69px);box-shadow:0 10px 28px #0004;color:var(--bg);display:flex;gap:9px;left:12px;max-width:calc(100% - 24px);padding:10px 12px;position:fixed;right:12px;text-align:left;z-index:20}.active-session-bar>span:nth-child(2){display:grid;gap:2px;min-width:0}.active-session-bar strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-session-bar small{color:color-mix(in srgb,var(--bg),transparent 30%);font-family:inherit;font-size:10px}.active-resume{align-items:center;display:flex;font-size:10px;font-weight:800;gap:3px;margin-left:auto;white-space:nowrap}.active-home-card time{color:var(--accent);font-family:inherit;font-size:14px;font-weight:800}.next-after-active,.preferred-date{color:var(--muted);font-size:11px;margin:12px 0 0}.preferred-date{color:var(--accent);font-weight:750}.finish-sheet .finish-workout{display:grid;gap:3px;margin-top:12px;text-align:left}.finish-sheet .finish-workout small,.finish-sheet .outline-action small{color:color-mix(in srgb,currentColor,transparent 34%);font-size:10px;font-weight:500}.finish-sheet .outline-action{display:grid;margin-top:8px;text-align:left;width:100%}.discard-action{background:var(--semantic-danger)!important;color:#fff!important}.end-cancel{display:block;margin:8px auto 0}.recovery-state{display:grid;gap:10px;max-width:500px;padding-top:16vh}.recovery-state h1{font-size:30px;margin:0}.recovery-state p{color:var(--muted);font-size:13px;margin:0}.app-lock-screen{align-items:center;background:radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--accent),transparent 90%),transparent 37rem),var(--bg);display:grid;justify-items:center;min-height:100dvh;overflow:hidden;padding:24px;position:relative}.app-lock-screen:before{background:linear-gradient(90deg,color-mix(in srgb,var(--line-soft),transparent 30%) 1px,transparent 1px),linear-gradient(color-mix(in srgb,var(--line-soft),transparent 38%) 1px,transparent 1px);background-size:44px 44px;content:"";inset:0;-webkit-mask-image:linear-gradient(to bottom,black,transparent 62%);mask-image:linear-gradient(to bottom,black,transparent 62%);opacity:.42;pointer-events:none;position:absolute}.app-lock-panel{background:color-mix(in srgb,var(--surface),transparent 3%);border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px #0003,0 1px color-mix(in srgb,#fff,transparent 90%) inset;display:grid;gap:20px;max-width:456px;padding:24px;position:relative;width:min(100%,456px);z-index:1}.app-lock-brand{align-items:center;display:flex;justify-content:space-between}.app-lock-brand .wordmark{font-size:22px}.app-lock-brand>span,.app-lock-footer strong,.app-lock-recovery strong{color:var(--muted);font-family:inherit;font-size:8px;font-weight:800;letter-spacing:.1em}.app-lock-mark{align-items:center;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 72%);border-radius:15px;color:var(--accent);display:flex;height:52px;justify-content:center;width:52px}.app-lock-copy{display:grid;gap:7px}.app-lock-copy h1{font-size:31px;letter-spacing:-.06em;line-height:1;margin:0}.app-lock-copy p{color:var(--muted);font-size:12px;line-height:1.55;margin:0;max-width:35ch}.app-lock-unlock{align-items:center;background:var(--accent);border-radius:13px;color:#fffaf7;display:flex;font-size:14px;font-weight:800;gap:9px;justify-content:center;margin-top:2px;min-height:52px;transition:background .16s ease,transform .16s ease;width:100%}.app-lock-unlock:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.app-lock-unlock:disabled{cursor:wait;opacity:.72}.app-lock-recovery{border:1px solid var(--line-soft);border-radius:13px;display:grid;gap:8px;margin-top:-7px;padding:13px}.app-lock-recovery p{color:var(--muted);font-size:10px;line-height:1.5;margin:0}.app-lock-recovery button{background:transparent;color:var(--accent);font-size:10px;font-weight:800;justify-self:start;padding:3px 0;text-decoration:underline;text-underline-offset:3px}.app-lock-recovery button:disabled{color:var(--muted);cursor:wait;text-decoration:none}.app-lock-message{background:color-mix(in srgb,var(--accent),transparent 91%);border-radius:10px;color:var(--accent);font-size:11px;line-height:1.45;margin:-6px 0 0;padding:10px}.app-lock-footer{border-top:1px solid var(--line-soft);display:grid;gap:5px;padding-top:16px}.app-lock-footer>span{color:var(--muted);font-size:10px;line-height:1.5}.access-disabled-screen{align-items:center;background:radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--semantic-warning),transparent 91%),transparent 35rem),var(--bg);display:grid;justify-items:center;min-height:100dvh;padding:24px}.access-disabled-panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);display:grid;gap:18px;max-width:470px;padding:24px;width:100%}.access-disabled-panel .wordmark{font-size:22px}.access-disabled-mark{align-items:center;background:color-mix(in srgb,var(--semantic-warning),transparent 84%);border-radius:15px;color:var(--semantic-warning);display:flex;height:52px;justify-content:center;width:52px}.access-disabled-panel header{display:grid;gap:7px}.access-disabled-panel h1{font-size:30px;letter-spacing:-.055em;line-height:1.05;margin:0}.access-disabled-panel header p{color:var(--muted);font-size:12px;line-height:1.55;margin:0;max-width:39ch}.access-disabled-panel header p:last-child{color:var(--ink);font-weight:650}.access-disabled-actions{display:grid;gap:9px}.access-disabled-actions button,.access-disabled-panel .setting-inline-message{margin:0}.logged-set.skipped .set-check{background:var(--line-soft)}@media(min-width:840px){.active-session-bar{bottom:24px;left:calc(50% + 115px);max-width:460px;right:auto;width:420px}}@media(max-width:600px){.log-set-panel{padding-bottom:calc(env(safe-area-inset-bottom) + 7px)}.set-actions{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 4px);z-index:3}.set-actions .complete-set{box-shadow:0 8px 20px color-mix(in srgb,var(--bg),transparent 15%)}.workout-mode .complete-set{min-height:49px}.workout-mode:has(.log-set-panel){padding-bottom:calc(env(safe-area-inset-bottom) + 22px)}}.editor-page{max-width:780px}.editor-page .detail-header{justify-content:flex-start}.editor-page .detail-header h1{font-size:26px;letter-spacing:-.055em;margin:4px 0 0}.editor-intro{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 17px}.editor-notice,.editor-warning{background:var(--accent-soft);border-left:2px solid var(--accent);color:var(--muted);font-size:11px;line-height:1.45;margin:17px 0 0;padding:10px 12px}.editor-warning{color:var(--accent)}.template-list,.prescription-list{display:grid;gap:8px}.template-row,.prescription-row{align-items:stretch;background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;display:flex;gap:0;margin:0;min-height:64px;overflow:hidden}.template-row>button,.prescription-row>button{align-items:center;background:transparent;display:flex;flex:1;gap:10px;min-width:0;padding:10px 11px;text-align:left}.template-row>button>span:not(.block-badge),.prescription-row>button>span{display:grid;gap:3px;min-width:0}.template-row strong,.prescription-row strong{font-size:12px}.template-row small,.prescription-row small{color:var(--muted);font-size:10px;line-height:1.35}.template-row>button>svg:last-child,.prescription-row>button>svg:last-child{color:var(--muted);flex:0 0 auto;margin-left:auto}.prescription-row>button>svg:first-child{color:var(--muted);flex:0 0 auto}.reorder-pair{border-left:1px solid var(--line-soft);display:grid;grid-template-columns:1fr;width:42px}.reorder-pair button{background:transparent;color:var(--muted);display:grid;place-items:center}.reorder-pair button+button{border-top:1px solid var(--line-soft)}.editor-primary,.editor-secondary{align-items:center;background:var(--accent);border-radius:12px;color:#fff;display:flex;font-size:12px;font-weight:800;gap:7px;justify-content:center;margin-top:13px;min-height:45px;padding:0 14px;width:100%}.editor-secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink)}.editor-secondary.compact{font-size:10px;justify-content:flex-start;margin-top:7px;min-height:35px;width:auto}.editor-danger-link{background:transparent;color:var(--accent);display:block;font-size:11px;font-weight:750;margin:13px auto 0;text-decoration:underline;text-underline-offset:3px}.editor-meta{color:var(--muted);display:flex;font-family:inherit;font-size:10px;justify-content:space-between;margin:16px 1px 9px}.workout-fields{display:grid;gap:9px;grid-template-columns:1fr 2fr;margin:15px 0}.workout-fields label{color:var(--muted);display:grid;font-size:10px;gap:5px}.workout-fields .wide{grid-column:1/-1}.workout-fields input,.workout-fields textarea,.editor-input input,.editor-input select,.editor-input textarea{background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:13px;outline:0;padding:10px;resize:vertical;width:100%}.editor-sheet{animation:sheet-in .24s cubic-bezier(.2,.85,.35,1) both;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);max-height:90dvh;max-width:590px;overflow:auto;padding:20px;width:100%}.editor-sheet .sheet-heading{margin-bottom:15px}.editor-sheet .sheet-heading p{color:var(--muted);font-size:10px;margin:4px 0 0}.editor-input{color:var(--muted);display:grid;font-size:10px;gap:5px;margin-top:11px}.editor-input select{appearance:auto}.stepper-grid{display:grid;gap:9px;grid-template-columns:repeat(3,1fr)}.number-field>span{align-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;display:flex;height:42px;overflow:hidden}.number-field button{background:transparent;color:var(--muted);font-size:18px;height:100%;width:32px}.number-field input{appearance:textfield;background:transparent;border:0;border-radius:0;font-family:inherit;min-width:0;padding:4px;text-align:center}.number-field input::-webkit-inner-spin-button{appearance:none}.editor-toggle{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:11px;display:flex;margin-top:12px;min-height:48px;padding:0 11px}.picker-editor .picker-list{margin:0 0 13px}.archived-list{border-top:1px solid var(--line-soft);display:grid;gap:7px;margin-top:22px;padding-top:16px}.archived-list>button{align-items:center;background:var(--surface-soft);border-radius:10px;color:var(--muted);display:flex;font-size:11px;gap:7px;padding:10px;text-align:left}.archived-list small{color:var(--accent);font-weight:800;margin-left:auto}.weekday-picker{display:grid;gap:6px;grid-template-columns:repeat(4,1fr);margin-top:12px}.weekday-picker button,.launch-choice button{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;color:var(--muted);font-size:10px;font-weight:750;min-height:39px}.weekday-picker button.active,.launch-choice button.selected{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 40%);color:var(--ink)}.schedule-sequence{background:var(--surface-soft);border-left:2px solid var(--accent);margin-top:16px;padding:11px}.schedule-sequence p{color:var(--ink);font-family:inherit;font-size:10px;line-height:1.6;margin:5px 0 0}.launch-choice{display:grid;gap:7px;grid-template-columns:1fr 1fr;margin:15px 0}.launch-choice button{display:grid;gap:3px;padding:10px;text-align:left}.launch-choice strong{font-size:10px}.launch-choice small{color:var(--muted);font-size:9px;font-weight:500;line-height:1.35}@media(min-width:820px){.editor-page{max-width:920px}.editor-page .template-list,.editor-page .prescription-list,.editor-page .programme-create-button{max-width:680px}.editor-sheet{max-width:660px}.workout-fields{grid-template-columns:160px minmax(260px,1fr);max-width:680px}}@media(max-width:420px){.stepper-grid,.launch-choice{grid-template-columns:1fr}}.analytics-page{max-width:920px}.analytics-nav{display:flex;gap:4px;margin:2px -20px 14px;overflow-x:auto;padding:0 20px 4px;scrollbar-width:none}.analytics-nav button,.period-selector button{background:transparent;border-radius:9px;color:var(--muted);flex:0 0 auto;font-size:10px;font-weight:800;min-height:34px;padding:0 10px}.analytics-nav button.active{background:var(--accent-soft);color:var(--ink)}.analytics-nav button:last-child{align-items:center;display:flex;padding:0 9px}.period-selector{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:12px;display:flex;gap:2px;margin-bottom:17px;overflow:auto;padding:3px;scrollbar-width:none}.period-selector button{min-width:43px}.period-selector button.active{background:var(--surface-2);box-shadow:0 1px 2px #0002;color:var(--ink)}.analytics-hero{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:20px;display:grid;justify-items:center;min-height:280px;overflow:hidden;padding:14px;position:relative}.progress-rings{align-items:center;display:grid;gap:5px;grid-template-columns:218px minmax(0,1fr);width:100%}.progress-rings.compact{display:block;width:132px}.progress-rings svg{display:block;max-width:100%;overflow:visible}.ring-track{fill:none;stroke:var(--surface-2)}.ring-value{fill:none;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .72s cubic-bezier(.25,.9,.3,1)}.ring-layer[role=button]{cursor:pointer}.ring-centre-value{fill:var(--ink);font-family:inherit;font-size:17px;font-weight:800;letter-spacing:-.06em}.ring-centre-label{fill:var(--muted);font-family:inherit;font-size:8px;letter-spacing:.09em}.ring-legend{display:grid;gap:7px}.ring-legend button{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:grid;font-size:11px;gap:8px;grid-template-columns:8px 1fr auto;min-height:34px;padding:0;text-align:left}.ring-legend i{border-radius:50%;height:7px;width:7px}.ring-legend strong{font-family:inherit;font-size:11px}.ring-explanation{background:var(--ink);border-radius:12px;bottom:13px;color:var(--bg);display:grid;gap:3px;left:13px;padding:10px;position:absolute;text-align:left}.ring-explanation strong{font-size:11px}.ring-explanation span,.ring-explanation small{color:color-mix(in srgb,var(--bg),transparent 25%);font-size:9px}.analytics-metrics{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:13px}.analytics-metrics>div{background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;display:grid;gap:4px;min-height:88px;padding:12px}.analytics-metrics span,.analytics-metrics small{color:var(--muted);font-size:9px}.analytics-metrics strong{font-size:20px;letter-spacing:-.06em;line-height:1.05}.analytics-section{border-top:1px solid var(--line-soft);margin-top:22px;padding-top:18px}.analytics-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:11px}.analytics-heading h2{font-size:16px;letter-spacing:-.04em;margin:4px 0 0}.analytics-heading>button{align-items:center;background:transparent;color:var(--accent);display:flex;font-size:10px;font-weight:800;gap:1px}.work-breakdown{display:grid;gap:7px;grid-template-columns:repeat(4,1fr)}.work-breakdown span{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:11px;color:var(--muted);display:grid;font-size:8px;gap:3px;min-height:58px;padding:8px;text-transform:uppercase}.work-breakdown strong{color:var(--ink);font-family:inherit;font-size:16px;letter-spacing:-.06em}.analytics-note{color:var(--muted);font-size:10px;line-height:1.5;margin:10px 0 0}.split-analytics{display:grid;gap:15px}.compact-stat-list{display:grid;gap:0}.stat-row{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;font-size:11px;justify-content:space-between;min-height:37px}.stat-row span{color:var(--muted)}.stat-row strong{font-family:inherit;font-size:11px}.analytics-link-card{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:13px;display:flex;gap:10px;min-height:58px;padding:10px;text-align:left;width:100%}.analytics-link-card>svg:first-child{color:var(--accent)}.analytics-link-card span{display:grid;gap:3px;min-width:0}.analytics-link-card strong{font-size:11px}.analytics-link-card small{color:var(--muted);font-size:9px}.analytics-link-card>svg:last-child{color:var(--muted);margin-left:auto}.muscle-bars{display:grid;gap:10px}.muscle-bars>div{align-items:center;display:grid;gap:9px;grid-template-columns:92px 1fr 25px}.muscle-bars span{font-size:10px}.muscle-bars i,.muscle-analytics-list i{background:var(--surface-2);border-radius:5px;display:block;height:7px;overflow:hidden}.muscle-bars em,.muscle-analytics-list em{background:var(--accent);border-radius:inherit;display:block;height:100%}.muscle-bars strong{font-family:inherit;font-size:10px;text-align:right}.analytics-empty{align-items:center;background:var(--surface-soft);border:1px dashed var(--line);border-radius:13px;color:var(--muted);display:flex;flex-direction:column;font-size:11px;gap:7px;justify-content:center;min-height:105px;padding:15px;text-align:center}.analytics-empty svg{color:var(--accent)}.analytics-empty p{margin:0}.analytics-list{display:grid;gap:7px}.analytics-list>button{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:14px;display:flex;gap:9px;min-height:64px;padding:9px;text-align:left}.analytics-list-icon{align-items:center;background:var(--accent-soft);border-radius:10px;color:var(--accent);display:flex;height:36px;justify-content:center;width:36px}.analytics-list-icon.code{font-family:inherit;font-size:10px;font-weight:800}.analytics-list>button>span{display:grid;gap:3px;min-width:0}.analytics-list strong{font-size:12px}.analytics-list small{color:var(--muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-list b{color:var(--muted);font-family:inherit;font-size:9px;margin-left:auto;text-align:right}.analytics-list>button>svg{color:var(--muted)}.exercise-latest{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;display:grid;gap:4px;padding:14px}.exercise-latest strong{font-family:inherit;font-size:25px;letter-spacing:-.07em}.exercise-latest p{color:var(--accent);font-family:inherit;font-size:13px;margin:0}.exercise-latest small{color:var(--muted);font-size:9px}.analytics-chart{margin-top:14px}.rep-heatmap{display:grid;gap:6px}.rep-heatmap button{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:grid;gap:8px;grid-template-columns:47px 1fr 16px;min-height:35px;padding:0;text-align:left}.rep-heatmap button>span{color:var(--muted);font-family:inherit;font-size:9px}.rep-heatmap button>div{display:flex;gap:4px}.rep-heatmap i{align-items:center;background:var(--surface-2);border-radius:5px;color:var(--muted);display:flex;font-family:inherit;font-size:9px;height:23px;justify-content:center;min-width:23px;font-style:normal}.rep-heatmap i.target{background:var(--success-soft);color:var(--success)}.rep-heatmap i.top{background:var(--accent-soft);color:var(--accent)}.rep-heatmap i.below{background:color-mix(in srgb,var(--semantic-danger) 13%,var(--background-grouped));color:#e09a77}.rep-heatmap i.skipped{background:transparent;border:1px dashed var(--line)}.rep-heatmap svg{color:var(--muted)}.big-inline{display:block;font-family:inherit;font-size:28px;letter-spacing:-.08em;margin-top:6px}.records-list{display:grid;gap:6px}.records-list button{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;display:grid;font-size:10px;gap:8px;grid-template-columns:18px 1fr auto 15px;min-height:42px;padding:8px;text-align:left;width:100%}.records-list svg{color:var(--accent)}.records-list strong{font-family:inherit}.workout-analytics-hero{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;display:flex;gap:12px;padding:13px}.workout-analytics-hero h2,.muscle-detail-hero h2{font-size:20px;letter-spacing:-.05em;margin:3px 0}.workout-analytics-hero p,.muscle-detail-hero p{color:var(--muted);font-size:10px;margin:0}.rest-composition{align-items:center;display:flex;gap:14px}.session-list{display:grid;gap:6px}.session-list button{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;display:grid;gap:8px;grid-template-columns:1fr auto auto 15px;min-height:42px;padding:8px;text-align:left}.session-list span,.session-list small{color:var(--muted);font-size:9px}.session-list strong{font-family:inherit;font-size:10px}.session-list svg{color:var(--muted)}.muscle-analytics-list{display:grid;gap:7px}.muscle-analytics-list button{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;display:grid;gap:9px;grid-template-columns:minmax(100px,1fr) minmax(60px,1fr) 24px 16px;min-height:58px;padding:10px;text-align:left}.muscle-analytics-list span{display:grid;gap:3px}.muscle-analytics-list strong{font-size:11px}.muscle-analytics-list small{color:var(--muted);font-size:8px}.muscle-analytics-list b{font-family:inherit;font-size:11px;text-align:right}.muscle-analytics-list svg{color:var(--muted)}.muscle-detail-hero{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;display:flex;gap:12px;padding:15px}.muscle-detail-hero>svg{color:var(--accent)}.muscle-detail-hero strong{display:block;font-family:inherit;font-size:30px;letter-spacing:-.08em}.all-statistics{border-top:1px solid var(--line-soft)}.all-statistics .stat-row{min-height:43px}.active-session-bar{align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:15px;bottom:calc(env(safe-area-inset-bottom) + 72px);box-shadow:0 12px 30px #0005;color:var(--ink);display:grid;gap:9px;grid-template-columns:32px minmax(0,1fr) auto;left:11px;max-width:calc(100% - 22px);padding:9px 11px;position:fixed;right:11px;text-align:left;transition:background .25s,border-color .25s,transform .25s;z-index:20}.active-session-bar.resting{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 40%)}.live-session-icon{align-items:center;background:var(--surface-2);border-radius:10px;color:var(--accent);display:flex;height:32px;justify-content:center;width:32px}.active-session-bar.resting .live-session-icon{background:var(--accent);color:#fff}.live-session-copy{display:grid;gap:2px;min-width:0}.live-session-copy strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-session-copy small{color:var(--muted);font-family:inherit;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-session-bar time{color:var(--accent);font-family:inherit;font-size:14px;font-weight:800}.active-session-bar.resting time{color:var(--ink)}.active-resume{align-items:center;color:var(--accent);display:flex;font-size:9px;font-weight:800;gap:2px;grid-column:2/4;justify-content:flex-end;margin-top:-2px}.active-session-bar.resting .active-resume{color:var(--ink)}.setting-inline-message{color:var(--muted);font-size:10px;line-height:1.4;margin:0;padding:0 13px 11px}@media(min-width:640px){.analytics-hero{min-height:245px}.analytics-metrics{grid-template-columns:repeat(4,1fr)}.split-analytics{grid-template-columns:1fr 1fr}.rest-composition{justify-content:flex-start}.analytics-page{max-width:900px}.analytics-nav{margin-left:0;margin-right:0;padding-left:0}.active-session-bar{bottom:24px;left:calc(50% + 115px);max-width:500px;right:auto;width:470px}.active-resume{grid-column:auto;margin:0}.active-session-bar{grid-template-columns:32px minmax(0,1fr) auto auto}}@media(prefers-reduced-motion:reduce){.ring-value{transition:none}}.records-list span{display:grid;gap:2px}.records-list span b{font-size:10px}.records-list span small{color:var(--muted);font-family:inherit;font-size:8px}.analytics-metrics .analytics-metric{appearance:none;background:var(--surface);border:1px solid var(--line);border-radius:14px;color:var(--ink);display:grid;gap:5px;min-height:112px;padding:14px;text-align:left;width:100%}.analytics-metrics .analytics-metric:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.analytics-metric>span{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.analytics-metric>strong{font-size:20px;letter-spacing:-.04em}.analytics-metric>small{color:var(--muted);font-family:inherit;font-size:9px}.analytics-metric.up>small,.analytics-metric.new>small{color:var(--semantic-success)}.analytics-metric.down>small{color:var(--semantic-danger)}.analytics-hero-caption{color:var(--muted);font-family:inherit;font-size:10px;margin:7px 0 0;text-align:center}.ring-legend button{grid-template-columns:9px minmax(0,1fr) auto auto}.ring-legend button small{color:var(--muted);font-family:inherit;font-size:9px}.rep-distribution{display:grid;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.rep-distribution span{background:var(--surface-2);border-radius:10px;color:var(--muted);display:grid;font-size:10px;gap:2px;padding:9px}.rep-distribution b{color:var(--ink);font-family:inherit;font-size:15px}.rep-distribution .below b{color:var(--semantic-danger)}.rep-distribution .top b{color:var(--accent-complement)}.duration-summary{margin-top:14px}.metric-detail{max-width:420px;position:relative}.metric-detail .sheet-close{position:absolute;right:12px;top:12px}.metric-detail h2{margin:7px 32px 8px 0}.metric-detail>p:not(.analytics-note){color:var(--ink);font-size:13px;line-height:1.5}.metric-detail .editor-primary{margin-top:18px}.pwa-update-toast{align-items:center;background:var(--ink);border:1px solid color-mix(in srgb,var(--accent),transparent 48%);border-radius:14px;bottom:calc(env(safe-area-inset-bottom) + 78px);box-shadow:0 14px 34px #0005;color:var(--surface);display:flex;gap:11px;left:12px;max-width:calc(100% - 24px);padding:10px 12px;position:fixed;right:12px;z-index:60}.pwa-update-toast span{display:grid;gap:2px;margin-right:auto}.pwa-update-toast strong{font-size:11px}.pwa-update-toast small{color:#fffa;font-size:9px}.pwa-update-toast button:not(.icon-button){background:var(--accent);border:0;border-radius:8px;color:#fff;font-size:10px;font-weight:800;padding:8px 10px}.pwa-update-toast .icon-button{color:#fff;font-size:20px;height:28px;width:28px}@media(min-width:980px){.pwa-update-toast{bottom:24px;left:calc(50% + 115px);max-width:470px;right:24px;width:auto}}.historical-page{max-width:760px}.historical-page .detail-header>div{flex:1;margin-left:11px}.historical-page .detail-header h1{font-size:25px;letter-spacing:-.06em;margin:4px 0 0}.history-add-button{align-items:center;background:var(--accent-soft);border-radius:9px;color:var(--accent);display:flex;font-size:11px;font-weight:800;gap:5px;margin-top:14px;padding:9px 11px}.history-import-intro,.history-import-state,.history-import-complete{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:17px;display:flex;flex-direction:column;margin-top:5px;padding:25px 18px;text-align:center}.history-import-intro>svg,.history-import-state>svg,.history-import-complete>svg{color:var(--accent)}.history-import-intro h2,.history-import-state h2,.history-import-complete h2{font-size:18px;letter-spacing:-.05em;margin:11px 0 6px}.history-import-intro p,.history-import-state p,.history-import-complete p{color:var(--muted);font-size:11px;line-height:1.55;margin:0 0 18px;max-width:390px}.history-import-complete strong{font-size:20px;letter-spacing:-.05em;margin-top:10px}.history-import-complete .editor-primary,.history-import-complete .editor-secondary{margin-top:7px;width:100%}.history-import-errors{align-items:flex-start;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 50%);border-radius:13px;color:var(--ink);display:flex;gap:9px;margin:14px 0;padding:11px}.history-import-errors>svg{color:var(--accent);flex-shrink:0}.history-import-errors strong{display:block;font-size:11px}.history-import-errors p{color:var(--muted);font-size:10px;line-height:1.45;margin:4px 0 0}.history-import-summary{background:var(--surface);border:1px solid var(--line-soft);border-radius:17px;margin-top:5px;padding:15px}.history-import-summary h2{font-size:20px;letter-spacing:-.05em;margin:6px 0 15px}.history-import-summary>div{display:grid;gap:3px 10px;grid-template-columns:auto 1fr auto 1fr}.history-import-summary strong{color:var(--accent);font-family:inherit;font-size:17px;text-align:right}.history-import-summary small{color:var(--muted);font-size:9px;align-self:center}.history-coverage{display:grid;gap:0;margin:19px 0}.history-coverage>.eyebrow{margin-bottom:7px}.history-coverage>div{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;justify-content:space-between;min-height:36px}.history-coverage span{font-size:11px}.history-coverage strong{color:var(--muted);font-family:inherit;font-size:9px;text-align:right}.history-mapping{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;margin:12px 0;padding:14px}.history-mapping h2{font-size:16px;letter-spacing:-.04em;margin:5px 0 3px}.history-mapping p{color:var(--muted);font-size:10px;margin:0 0 11px}.history-mapping select,.past-workout-basics input,.past-workout-basics select,.past-workout-basics textarea,.past-add-exercise input,.past-add-exercise select{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:12px;min-height:40px;outline:0;padding:9px;width:100%}.history-mapping>div{align-items:center;display:flex;gap:9px;margin-top:10px}.history-remember{align-items:center;color:var(--muted);display:flex;font-size:10px;gap:6px;margin-top:9px}.history-remember input{accent-color:var(--accent)}.history-duplicates{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:14px;display:grid;gap:8px;margin:14px 0;padding:12px}.history-duplicates label{align-items:flex-start;border-top:1px solid var(--line-soft);display:flex;gap:8px;padding-top:9px}.history-duplicates label:first-of-type{border-top:0;padding-top:0}.history-duplicates input{accent-color:var(--accent);margin-top:2px}.history-duplicates span{display:grid;gap:3px}.history-duplicates strong{font-size:11px}.history-duplicates small{color:var(--muted);font-size:9px;line-height:1.35}.history-import-sessions{display:grid;gap:0;margin:20px 0}.history-import-sessions>.eyebrow{margin-bottom:7px}.history-import-sessions>button,.previous-imports>button{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:flex;min-height:54px;padding:8px 2px;text-align:left;width:100%}.history-import-sessions>button.selected{color:var(--accent)}.history-import-sessions button span,.previous-imports button span{display:grid;gap:3px}.history-import-sessions strong,.previous-imports strong{font-size:11px}.history-import-sessions small,.previous-imports small{color:var(--muted);font-size:9px}.history-import-sessions svg,.previous-imports svg{color:var(--muted);margin-left:auto}.history-import-session-detail{background:var(--surface-soft);border-radius:12px;display:grid;gap:9px;margin:8px 0;padding:11px}.history-import-session-detail>div{display:grid;gap:3px}.history-import-session-detail strong{font-size:11px}.history-import-session-detail small,.history-import-session-detail p{color:var(--muted);font-family:inherit;font-size:9px;line-height:1.5;margin:0}.history-import-actions{border-top:1px solid var(--line-soft);display:grid;gap:8px;padding-top:16px}.history-import-actions .editor-primary,.history-import-actions .editor-secondary{margin:0;width:100%}.history-import-actions .editor-primary:disabled{cursor:not-allowed;opacity:.45}.history-import-actions p{color:var(--muted);font-size:10px;line-height:1.4;margin:0;text-align:center}.previous-imports{display:grid;margin-top:4px}.history-import-detail{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;margin-top:18px;padding:14px}.history-import-detail h2{font-size:17px;letter-spacing:-.04em;margin:5px 0}.history-import-detail>p{color:var(--muted);font-size:10px;margin:0}.history-import-detail .editor-danger-link{align-items:center;display:flex;gap:5px;margin-left:0}.history-import-detail .history-import-errors{display:block}.history-import-detail .history-import-errors button{background:var(--surface);border-radius:7px;font-size:10px;margin:9px 6px 0 0;padding:7px}.history-import-detail .discard-action{background:var(--accent)!important;color:#fff}.past-workout-basics{display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-top:4px}.past-workout-basics label{color:var(--muted);display:grid;font-size:10px;gap:5px}.past-workout-basics label small{color:var(--muted);font-size:9px}.past-workout-basics .wide{grid-column:1/-1}.past-workout-entries{display:grid;gap:12px;margin:22px 0}.past-exercise-entry{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;padding:13px}.past-exercise-entry header{align-items:flex-start;display:flex;justify-content:space-between}.past-exercise-entry h2{font-size:15px;letter-spacing:-.04em;margin:4px 0}.past-exercise-entry p{color:var(--muted);font-size:9px;margin:0}.past-sets{display:grid;margin:12px 0 8px}.past-set{align-items:center;border-top:1px solid var(--line-soft);display:grid;gap:6px;grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) auto;min-height:43px}.past-set span{color:var(--muted);font-family:inherit;font-size:9px}.past-set input{background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;color:var(--ink);font-family:inherit;font-size:10px;min-width:0;padding:6px;width:100%}.past-set button{background:transparent;color:var(--accent);font-size:9px;font-weight:800;padding:4px 0}.past-add-exercise{background:var(--surface-soft);border:1px dashed var(--line);border-radius:13px;display:grid;gap:8px;margin:12px 0 16px;padding:12px}.past-add-exercise>div{display:grid;gap:7px;grid-template-columns:1fr auto}.past-add-exercise .editor-secondary{margin:0;white-space:nowrap}.historical-provenance{background:var(--surface-soft);border-left:2px solid var(--accent);margin:0 0 15px;padding:10px 11px}.historical-provenance p{color:var(--muted);font-size:10px;line-height:1.45;margin:4px 0}.historical-provenance .editor-secondary{margin-top:7px}@media(min-width:640px){.historical-page{max-width:900px}.history-import-preview{display:grid;column-gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.history-import-summary,.history-coverage,.history-import-sessions{grid-column:1/-1}.history-import-actions{grid-column:1/-1;grid-template-columns:1fr 1.5fr}.history-import-actions p{grid-column:1/-1}.past-workout-basics{grid-template-columns:repeat(3,1fr)}.past-workout-basics .wide{grid-column:1/-1}.past-workout-entries{max-width:680px}}:root{--layer-banner:26;--layer-navigation:30;--layer-update:60;--layer-sheet:100}#form-boot{align-items:center;background:var(--bg);display:grid;gap:12px;inset:0;justify-content:center;place-content:center;position:fixed;z-index:200}#form-boot>div{color:var(--ink);font-size:23px;font-weight:800;letter-spacing:-.09em;line-height:1}#form-boot span{color:var(--accent)}#form-boot i{background:var(--line);border-radius:99px;display:block;height:2px;overflow:hidden;position:relative;width:72px}#form-boot i:after{animation:boot-progress .55s ease-out both;background:var(--accent);border-radius:inherit;content:"";inset:0 auto 0 0;position:absolute;width:72%}@keyframes boot-progress{0%{transform:translate(-72px)}to{transform:translate(0)}}.form-startup{align-content:center;background:var(--bg);display:grid;gap:10px;inset:0;justify-items:center;min-height:100dvh;padding:28px;position:fixed;text-align:center;width:100%;z-index:190}.form-startup .wordmark{color:var(--ink);font-size:25px;font-weight:800;letter-spacing:-.09em;line-height:1}.form-startup .wordmark span{color:var(--accent)}.form-startup>p{color:var(--muted);font-size:11px;font-weight:700;margin:2px 0 1px}.form-startup>i{background:var(--line);border-radius:99px;display:block;height:2px;overflow:hidden;width:94px}.form-startup>i b{background:var(--accent);display:block;height:100%;transform-origin:left center;transition:transform .16s ease;width:100%}.security-migration-gate{align-items:center;background:var(--bg);display:grid;inset:0;justify-items:center;min-height:100dvh;padding:24px;position:fixed;z-index:190}.security-migration-gate>section{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);display:grid;gap:14px;max-width:460px;padding:24px;width:100%}.security-migration-gate .wordmark{font-size:22px;font-weight:800;letter-spacing:-.09em}.security-migration-gate .wordmark span{color:var(--accent)}.security-migration-gate h1{font-size:29px;letter-spacing:-.055em;line-height:1.05;margin:0}.security-migration-gate p{color:var(--muted);font-size:11px;line-height:1.55;margin:0}.security-migration-progress{counter-reset:step;display:grid;gap:8px;list-style:none;margin:2px 0;padding:0}.security-migration-progress li{align-items:center;color:var(--muted);display:flex;font-size:10px;font-weight:800;gap:9px}.security-migration-progress li:before{align-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:50%;content:"";display:flex;height:17px;justify-content:center;width:17px}.security-migration-progress li.active{color:var(--accent)}.security-migration-progress li.active:before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.security-migration-progress li.complete{color:var(--ink)}.security-migration-progress li.complete:before{background:var(--semantic-success);border-color:var(--semantic-success)}.startup-details-toggle{color:var(--muted);font-size:10px;font-weight:800;margin-top:4px;padding:7px 10px}.startup-details{background:var(--surface);border:1px solid var(--line-soft);border-radius:12px;display:grid;gap:0;margin-top:1px;max-width:280px;overflow:hidden;text-align:left;width:100%}.startup-details div{align-items:center;border-top:1px solid var(--line-soft);display:flex;justify-content:space-between;padding:9px 11px}.startup-details div:first-child{border-top:0}.startup-details span{color:var(--muted);font-size:9px}.startup-details strong{color:var(--ink);font-family:inherit;font-size:9px;font-weight:700}.bottom-nav{z-index:var(--layer-navigation)}.sync-health-banner{z-index:var(--layer-banner)}.pwa-update-toast{z-index:var(--layer-update)}.sheet-backdrop{align-items:center;min-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));z-index:var(--layer-sheet)}.sheet-backdrop.programme-backdrop{align-items:stretch;padding:0}.sheet-backdrop>.picker-sheet,.sheet-backdrop>.finish-sheet,.sheet-backdrop>.editor-sheet,.sheet-backdrop>.machine-sheet,.sheet-backdrop>.exercise-info-sheet,.sheet-backdrop>.completion-sheet{max-height:calc(100dvh - max(28px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overscroll-behavior:contain}.exercise-library>button{min-width:0;padding:11px 13px}.exercise-detail-hero{display:block;margin-bottom:18px}.exercise-detail-hero>div>span{display:block;margin-top:8px}.targets-section{display:block}.exercise-target-summary{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:14px;display:grid;gap:4px;margin:15px 0;padding:12px}.exercise-target-summary strong,.info-targets strong{font-size:13px}.exercise-target-summary small,.info-targets p{color:var(--muted);font-size:10px;line-height:1.45;margin:0}.exercise-focus>.prescription-row{align-items:center;background:transparent;border:0;border-radius:0;color:var(--muted);display:flex;font-size:11px;gap:8px;margin:16px 1px 0;min-height:0;overflow:visible}.exercise-focus>.prescription-row i{background:var(--line);border-radius:50%;height:3px;width:3px}.info-targets{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:14px;display:grid;gap:5px;margin:0 0 15px;padding:12px}@media(max-width:639px){.sheet-backdrop{align-items:flex-end;padding:max(10px,env(safe-area-inset-top)) 0 0}.sheet-backdrop>.picker-sheet,.sheet-backdrop>.finish-sheet,.sheet-backdrop>.editor-sheet,.sheet-backdrop>.machine-sheet,.sheet-backdrop>.exercise-info-sheet,.sheet-backdrop>.completion-sheet{border-bottom-left-radius:0;border-bottom-right-radius:0;max-height:calc(100dvh - max(10px,env(safe-area-inset-top)));padding-bottom:calc(20px + env(safe-area-inset-bottom));width:100%}.exercise-library{gap:8px}.exercise-library>button{min-height:62px}}@media(min-width:820px){.home-page{max-width:840px}.settings-page{max-width:760px}.exercise-detail,.history-detail{max-width:780px}}.history-page-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.history-page-actions>.editor-secondary.compact,.history-page-actions>.history-add-button{align-items:center;height:44px;margin:0;min-height:44px;padding:0 12px}.training-calendar-page{max-width:820px}.training-calendar-page .detail-header,.alcohol-free-page .detail-header{justify-content:flex-start}.training-calendar-page .detail-header>div{margin-left:10px}.training-calendar-page .detail-header h1,.alcohol-free-page .detail-header h1{font-size:25px;letter-spacing:-.06em;margin:3px 0 0}.calendar-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:15px 0 13px}.calendar-view-toggle{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;display:flex;padding:3px}.calendar-view-toggle button{border-radius:7px;color:var(--muted);font-size:10px;font-weight:800;min-height:29px;padding:0 10px}.calendar-view-toggle button.active{background:var(--surface);box-shadow:0 1px 3px #0001;color:var(--ink)}.calendar-nav{align-items:center;display:flex;gap:8px;justify-content:space-between}.calendar-nav strong{font-size:12px;min-width:142px;text-align:center}.calendar-nav .icon-button{height:31px;width:31px}.training-month-grid,.alcohol-calendar{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;padding:11px}.calendar-weekdays,.calendar-cells,.alcohol-weekdays,.alcohol-calendar-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span,.alcohol-weekdays span{color:var(--muted);font-family:inherit;font-size:8px;padding:0 0 7px;text-align:center}.calendar-cells{gap:3px}.calendar-day{align-items:flex-start;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--muted);display:flex;font-family:inherit;font-size:10px;justify-content:center;min-height:43px;padding:6px 4px;position:relative}.calendar-day.outside{opacity:.3}.calendar-day:disabled{cursor:default}.calendar-day.has-training{background:var(--accent-soft);color:var(--ink);cursor:pointer}.calendar-day.has-training:hover{border-color:color-mix(in srgb,var(--accent),transparent 55%)}.calendar-day.today{border-color:var(--accent)}.calendar-day small{align-items:center;background:var(--accent);border-radius:99px;color:#fff;display:flex;font-family:inherit;font-size:7px;height:14px;justify-content:center;position:absolute;right:4px;top:4px;min-width:14px}.calendar-day svg{bottom:4px;color:var(--accent);position:absolute;right:4px}.calendar-preferred-dot{background:#8399a7;border-radius:50%;bottom:5px;display:block;height:4px;left:50%;position:absolute;transform:translate(-50%);width:4px}.calendar-legend{align-items:center;color:var(--muted);display:flex;flex-wrap:wrap;font-size:9px;gap:12px;margin:10px 3px}.calendar-legend span{align-items:center;display:flex;gap:5px}.calendar-activity-dot,.calendar-pr-dot{border-radius:50%;display:block;height:7px;width:7px}.calendar-activity-dot{background:var(--accent)}.calendar-pr-dot{background:var(--accent-complement)}.calendar-legend .calendar-preferred-dot{position:static;transform:none}.training-year-grid{display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.training-year-grid>button{background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;color:var(--ink);display:grid;gap:7px;padding:10px;text-align:left}.training-year-grid strong{font-size:11px}.training-year-grid small{color:var(--muted);font-family:inherit;font-size:8px}.year-month-cells{display:grid;gap:2px;grid-template-columns:repeat(7,1fr)}.year-month-cells i{background:var(--surface-2);border-radius:2px;height:5px}.year-month-cells i.active{background:var(--accent)}.calendar-day-sheet{max-width:450px}.calendar-day-summary{align-items:center;background:var(--surface-soft);border-radius:10px;display:flex;flex-wrap:wrap;font-family:inherit;font-size:9px;gap:9px;margin:11px 0;padding:9px}.calendar-day-summary span{align-items:center;display:flex;gap:4px}.calendar-day-summary svg{color:var(--accent)}.calendar-day-workouts{display:grid}.calendar-day-workouts button{align-items:center;border-top:1px solid var(--line-soft);display:grid;gap:9px;grid-template-columns:33px minmax(0,1fr) 18px;min-height:61px;text-align:left}.calendar-day-workouts button:first-child{border-top:0}.calendar-day-workouts .workout-code{align-items:center;background:var(--accent-soft);border-radius:8px;color:var(--accent);display:flex;font-family:inherit;font-size:10px;font-weight:800;height:31px;justify-content:center}.calendar-day-workouts strong{display:block;font-size:11px}.calendar-day-workouts small{color:var(--muted);font-size:9px}.calendar-day-workouts svg{color:var(--muted)}.alcohol-home-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;margin-top:13px;overflow:hidden}.alcohol-home-summary{align-items:center;color:var(--ink);display:grid;gap:10px;grid-template-columns:31px minmax(0,1fr) 18px;padding:11px 12px;text-align:left;width:100%}.alcohol-home-summary>span:nth-child(2){display:grid;gap:2px}.alcohol-home-summary small{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.06em}.alcohol-home-summary strong{font-size:12px}.alcohol-home-summary p{color:var(--muted);font-size:9px;margin:0}.alcohol-home-summary>svg{color:var(--muted)}.alcohol-icon{align-items:center;background:color-mix(in srgb,var(--semantic-success) 11%,transparent);border-radius:9px;color:var(--semantic-success);display:flex;height:31px;justify-content:center;width:31px}.alcohol-home-actions{border-top:1px solid var(--line-soft);display:grid;grid-template-columns:1fr 1fr}.alcohol-home-actions button{color:var(--ink);font-size:10px;font-weight:800;min-height:39px}.alcohol-home-actions button+button{border-left:1px solid var(--line-soft);color:var(--muted)}.alcohol-free-page{max-width:620px}.alcohol-free-page .detail-header>div{margin-left:10px}.alcohol-detail-hero{align-items:center;background:color-mix(in srgb,var(--semantic-success) 9%,transparent);border:1px solid color-mix(in srgb,var(--semantic-success) 21%,transparent);border-radius:16px;color:var(--semantic-success);display:flex;gap:12px;margin:15px 0 10px;padding:14px}.alcohol-detail-hero>span{display:grid;gap:1px}.alcohol-detail-hero strong{color:var(--ink);font-family:inherit;font-size:30px;letter-spacing:-.08em;line-height:1}.alcohol-detail-hero small{color:var(--muted);font-size:9px}.alcohol-detail-hero em{background:color-mix(in srgb,var(--semantic-success) 13%,transparent);border-radius:99px;font-size:8px;font-style:normal;font-weight:800;margin-left:auto;padding:5px 7px}.alcohol-stats{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 13px}.alcohol-stats span{background:var(--surface);border:1px solid var(--line-soft);border-radius:11px;display:grid;gap:3px;min-height:64px;padding:9px}.alcohol-stats small{color:var(--muted);font-size:8px}.alcohol-stats strong{font-family:inherit;font-size:11px;letter-spacing:-.04em}.alcohol-calendar .calendar-nav{margin-bottom:11px}.alcohol-weekdays span{padding-bottom:5px}.alcohol-calendar-cells{gap:3px}.alcohol-calendar-cells button{background:transparent;border:1px solid transparent;border-radius:8px;color:var(--muted);font-family:inherit;font-size:10px;min-height:35px;position:relative}.alcohol-calendar-cells button:disabled{cursor:default;opacity:.38}.alcohol-calendar-cells button.today{border-color:var(--semantic-success)}.alcohol-calendar-cells button.free{background:color-mix(in srgb,var(--semantic-success) 13%,transparent);color:var(--ink)}.alcohol-calendar-cells button.alcohol{background:var(--surface-2);color:var(--ink)}.alcohol-calendar-cells button i{background:var(--semantic-success);border-radius:50%;bottom:5px;height:3px;left:50%;position:absolute;transform:translate(-50%);width:3px}.alcohol-calendar-cells button.alcohol i{background:#89929a}.alcohol-calendar>p{color:var(--muted);font-size:9px;line-height:1.4;margin:10px 1px 0}.alcohol-detail-copy{border-top:1px solid var(--line-soft);margin-top:16px;padding:13px 2px}.alcohol-detail-copy p{color:var(--muted);font-size:10px;line-height:1.5;margin:5px 0}.alcohol-log-actions{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin-top:13px}.alcohol-log-actions button{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:11px;font-weight:800;min-height:45px}.alcohol-log-actions button.active{background:color-mix(in srgb,var(--semantic-success) 13%,transparent);border-color:color-mix(in srgb,var(--semantic-success) 33%,transparent)}.just-for-fun-row{align-items:flex-start;display:flex;gap:10px;padding:12px 13px 3px}.just-for-fun-row>svg{color:var(--semantic-success)}.just-for-fun-row span{display:grid;gap:3px}.just-for-fun-row strong{font-size:11px}.just-for-fun-row small{color:var(--muted);font-size:9px;line-height:1.4}.just-for-fun-settings .editor-secondary{margin:8px 13px 13px}@media(min-width:640px){.training-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.training-calendar-page{max-width:780px}.calendar-day{min-height:64px;font-size:11px}.calendar-day small{right:7px;top:7px}.calendar-day svg{bottom:7px;right:7px}.calendar-preferred-dot{bottom:8px}.calendar-day-sheet{max-width:500px}.alcohol-free-page{max-width:560px}}.training-help-page{max-width:700px}.training-help-banner{background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent),transparent 70%);border-radius:14px;display:grid;gap:5px;margin:4px 0 15px;padding:13px}.training-help-banner strong{font-size:15px}.training-help-banner p{color:var(--muted);font-size:10px;line-height:1.45;margin:0}.training-help-banner .editor-secondary{justify-self:start;margin-top:3px}.training-help-grant{border-top:1px solid var(--line-soft);display:grid;gap:7px;padding:12px 1px}.training-help-grant:first-child{border-top:0}.training-help-grant>strong{font-size:12px}.training-help-grant label{align-items:flex-start;display:flex;gap:9px;padding:3px 0}.training-help-grant input{accent-color:var(--accent);margin-top:2px}.training-help-grant label span{display:grid;font-size:10px;font-weight:800;gap:2px}.training-help-grant small{color:var(--muted);font-size:9px;font-weight:500;line-height:1.35}.training-help-embedded{display:grid;gap:4px}.training-help-embedded>.training-help-banner{border-radius:0;margin:0}.training-help-embedded .progress-page{margin-top:0}.form-skeleton{background:color-mix(in srgb,var(--surface-2),transparent 16%);display:block;overflow:hidden;position:relative}.form-skeleton:after{animation:form-skeleton-shimmer 1.45s ease-in-out infinite;background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--ink),transparent 91%) 48%,transparent 75%);content:"";inset:0;position:absolute;transform:translate(-100%)}.skeleton-block{border-radius:8px;min-height:10px}.skeleton-line{border-radius:5px;height:10px;max-width:100%}.skeleton-circle{border-radius:50%;height:32px;min-width:32px;width:32px}.skeleton-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;display:grid;gap:9px;min-height:74px;padding:13px}.skeleton-list-row{align-items:center;display:flex;gap:10px;min-height:60px;padding:13px}.skeleton-list-copy{display:grid;flex:1;gap:8px;min-width:0}.skeleton-list-trailing{border-radius:50%;height:18px;width:18px}.family-skeleton-notice{grid-template-columns:32px 1fr}.family-skeleton-notice>span{display:grid;gap:7px}.skeleton-notification-list{margin:8px -13px -13px}.skeleton-button{border-radius:10px;height:42px;width:100%}@keyframes form-skeleton-shimmer{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.form-skeleton:after{animation:none;opacity:.22;transform:none}}html:has(.sheet-backdrop),body:has(.sheet-backdrop),body.form-scroll-locked{overflow:hidden;overscroll-behavior:none}.form-viewport[aria-hidden=true]{pointer-events:none;-webkit-user-select:none;user-select:none;visibility:hidden}.landscape-guard{align-content:center;background:var(--bg);display:grid;inset:0;justify-items:center;padding:24px;position:fixed;text-align:center;z-index:1000}.landscape-guard-mark{font-size:28px;font-weight:800;letter-spacing:-.09em;line-height:1;margin-bottom:16px}.landscape-guard-mark span{color:var(--accent)}.landscape-guard strong{font-size:16px;letter-spacing:-.035em}.landscape-guard p{color:var(--muted);font-size:12px;margin:7px 0 0}#root,.form-viewport,.app-shell{min-height:100dvh;min-width:0}.app-content,.page{min-width:0}.app-content{overflow-x:clip}.page{overflow-wrap:anywhere}@media(max-width:639px){.analytics-hero{min-height:0}.progress-rings:not(.compact){gap:12px;grid-template-columns:minmax(0,1fr);justify-items:center}.progress-rings:not(.compact)>svg{width:min(218px,100%)}.progress-rings:not(.compact) .ring-legend{justify-self:stretch;width:100%}.progress-rings:not(.compact) .ring-legend button{grid-template-columns:9px minmax(0,1fr) auto auto;min-height:38px}}html,body,#root{min-height:100vh;min-height:100svh;min-height:100dvh}#form-boot,.form-welcome{align-items:center;background:var(--bg);display:grid;gap:12px;inset:0;justify-items:center;min-height:100svh;min-height:100dvh;place-content:center}#form-boot{position:fixed;transition:opacity .14s ease-out;z-index:200}#form-boot.form-boot-leaving{opacity:0;pointer-events:none}.form-welcome{position:fixed;z-index:199}#form-boot>div,.form-welcome .wordmark{color:var(--ink);font-size:23px;font-weight:800;letter-spacing:-.09em;line-height:1}#form-boot i,.form-welcome i{background:var(--line);border-radius:99px;display:block;height:2px;overflow:hidden;position:relative;width:72px}#form-boot i:after,.form-welcome i:after{animation:boot-progress .55s ease-out both;background:var(--accent);border-radius:inherit;content:"";inset:0 auto 0 0;position:absolute;width:72%}.form-app-ready{animation:form-app-resolve .14s ease-out both}.bottom-nav{box-sizing:content-box;height:64px;min-height:64px;padding-bottom:calc(8px + env(safe-area-inset-bottom));padding-top:8px}.bottom-nav button{height:56px;min-height:48px}@media(max-width:819px){.app-content{padding-bottom:calc(80px + max(14px,env(safe-area-inset-bottom)))}}@keyframes form-app-resolve{0%{opacity:.96}to{opacity:1}}.settings-search{margin:0 0 20px;max-width:560px;position:relative;z-index:4}.settings-search-input{width:100%}.settings-search-input input{min-width:0}.settings-search-results{background:var(--surface);border:1px solid var(--line-soft);border-radius:13px;box-shadow:var(--shadow);display:grid;margin-top:7px;max-height:min(430px,50dvh);overflow:auto}.settings-search-results>button{align-items:center;background:transparent;border-bottom:1px solid var(--line-soft);display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;min-height:64px;padding:10px 12px;text-align:left}.settings-search-results>button:last-child{border-bottom:0}.settings-search-results>button.active,.settings-search-results>button:hover{background:var(--surface-soft)}.settings-search-results span{display:grid;gap:2px;min-width:0}.settings-search-results strong{font-size:11px}.settings-search-results small{color:var(--accent);font-family:inherit;font-size:8px}.settings-search-results p{color:var(--muted);font-size:9px;line-height:1.35;margin:1px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-search-results em{color:var(--muted);font-size:9px;font-style:normal;font-weight:800;text-align:right}.settings-search-empty{color:var(--muted);font-size:10px;line-height:1.4;margin:0;padding:13px}@media(prefers-reduced-motion:reduce){#form-boot{transition:none}.form-app-ready{animation:none}.form-welcome i:after,#form-boot i:after{animation:none;transform:none}}.habits-page{max-width:1000px}.habits-header{margin-bottom:18px}.habits-header h1{font-size:clamp(28px,4vw,36px)}.habits-settings-link{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:9px;color:var(--ink);display:flex;font-size:10px;font-weight:800;gap:5px;min-height:36px;padding:0 10px;transition:background .16s ease,border-color .16s ease,transform .16s ease}.habits-settings-link:hover{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 58%);color:var(--accent)}.habits-settings-link:active{transform:scale(.97)}.habit-tabs{background:transparent;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;display:flex;gap:18px;margin:0 0 22px;padding:0}.habit-tabs button{background:transparent;border-radius:0;min-height:39px;padding:0 1px;position:relative}.habit-tabs button.active{background:transparent;box-shadow:none;color:var(--ink)}.habit-tabs button.active:after{background:var(--accent);border-radius:99px;bottom:-1px;content:"";height:2px;left:0;position:absolute;right:0}.habits-date-heading{align-items:flex-start;display:grid;gap:2px;margin:0 2px 16px}.habits-date-heading h2{font-size:clamp(21px,3vw,27px)}.habits-date-heading p{color:var(--muted);font-size:10px;margin:0}.alcohol-streak-hero{align-items:center;background:linear-gradient(112deg,color-mix(in srgb,var(--habit-alcohol) 15%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,var(--habit-alcohol) 28%,var(--line-soft));border-radius:18px;display:flex;gap:14px;margin:0 0 13px;min-height:94px;max-width:760px;padding:13px 15px}.alcohol-streak-mark{align-items:center;background:color-mix(in srgb,var(--habit-alcohol) 10%,transparent);border-radius:14px;color:var(--habit-alcohol);display:flex;height:58px;justify-content:center;width:58px}.alcohol-streak-hero>div:last-child{display:grid;gap:1px}.alcohol-streak-hero strong{font-family:inherit;font-size:34px;letter-spacing:-.09em;line-height:1}.alcohol-streak-hero strong small{color:var(--muted);font-family:inherit;font-size:11px;letter-spacing:0}.alcohol-streak-hero p{color:var(--muted);font-size:10px;line-height:1.4;margin:3px 0 0}.habit-day-editor{gap:12px}.habit-group{border-color:var(--line-soft);border-radius:17px;box-shadow:0 1px color-mix(in srgb,var(--ink),transparent 96%)}.habit-group>header{min-height:66px;padding:12px 15px}.habit-group h2{font-size:15px}.habit-group p{font-size:10px}.habit-group>header>.habit-illustration{height:38px;width:38px}.habit-counter{gap:11px;grid-template-columns:46px minmax(0,1fr) 132px;min-height:70px;padding:9px 14px}.habit-counter-icon{background:color-mix(in srgb,var(--surface-soft),transparent 12%);border-radius:12px;height:45px;width:45px}.habit-counter-icon .habit-illustration{height:39px;width:39px}.habit-counter strong{font-size:12px}.habit-stepper{background:var(--surface-soft);border:0;border-radius:11px;box-shadow:inset 0 0 0 1px var(--line-soft);height:40px;justify-content:space-between}.habit-stepper button{border-radius:9px;font-size:22px;transition:background .16s ease,transform .16s ease;width:39px}.habit-stepper button:not(:disabled):active{background:var(--accent-soft);transform:scale(.9)}.habit-stepper b{border-color:var(--line-soft);font-size:13px;min-width:38px}.habit-reset-area{margin:0 3px}.habit-clear-day{min-height:34px}.habit-reset-confirm{align-items:center;background:var(--surface-soft);border-radius:10px;display:flex;flex-wrap:wrap;gap:7px;padding:8px 10px}.habit-reset-confirm small{color:var(--muted);flex:1 0 100%;font-size:10px}.habit-reset-confirm button{border-radius:8px;color:var(--ink);font-size:10px;font-weight:800;min-height:30px;padding:0 9px}.habit-reset-confirm .danger{background:color-mix(in srgb,var(--semantic-danger) 10%,transparent);color:var(--semantic-danger)}.habit-alcohol-status{align-items:center;border-top:1px solid var(--line-soft);display:flex;gap:9px;min-height:62px;padding:10px 14px}.habit-alcohol-status>span{align-items:center;background:var(--surface-soft);border-radius:50%;color:var(--muted);display:flex;flex:0 0 auto;font-size:13px;height:24px;justify-content:center;width:24px}.habit-alcohol-status>div{display:grid;gap:2px;min-width:0}.habit-alcohol-status strong{font-size:11px}.habit-alcohol-status small{color:var(--muted);font-size:9px;line-height:1.35}.habit-alcohol-status.confirmed>span{background:color-mix(in srgb,var(--semantic-success) 11%,transparent);color:var(--semantic-success)}.habit-alcohol-status.logged>span{background:color-mix(in srgb,var(--habit-alcohol) 11%,transparent);color:var(--habit-alcohol)}.habit-alcohol-status.actionable{background:color-mix(in srgb,var(--accent-soft),transparent 45%);justify-content:space-between}.habit-alcohol-status.actionable button{background:var(--accent);border-radius:9px;color:#fff;flex:0 0 auto;font-size:10px;font-weight:800;min-height:35px;padding:0 10px}.habit-yesterday-actions{background:linear-gradient(135deg,color-mix(in srgb,var(--accent-soft),transparent 20%),var(--surface));border:1px solid var(--line-soft);border-radius:15px;margin:0 0 10px;overflow:hidden}.habit-yesterday-actions>header{align-items:baseline;display:flex;gap:8px;justify-content:space-between;padding:10px 13px 8px}.habit-yesterday-actions>header p{color:var(--muted);font-size:9px;margin:0;text-align:right}.habit-yesterday-actions>div{border-top:1px solid var(--line-soft);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.habit-yesterday-action{align-items:center;background:transparent;color:var(--ink);display:grid;gap:8px;grid-template-columns:29px minmax(0,1fr) auto;min-height:57px;padding:9px 11px;text-align:left;width:100%}.habit-yesterday-action+.habit-yesterday-action{border-left:1px solid var(--line-soft)}.habit-yesterday-action>span{align-items:center;background:var(--surface-soft);border-radius:9px;color:var(--accent);display:flex;height:29px;justify-content:center;width:29px}.habit-yesterday-action strong{font-size:10px;line-height:1.25}.habit-yesterday-action small{color:var(--muted);display:block;font-size:8px;line-height:1.3;margin-top:2px}.habit-yesterday-action b{color:var(--muted);font-size:14px}.habit-yesterday-action.actionable{cursor:pointer}.habit-yesterday-action.actionable b{color:var(--accent)}.habit-yesterday-action.complete b{color:var(--semantic-success)}.habit-yesterday-action.blocked{opacity:.68}.habit-save-state{margin:10px 3px 0}.habit-illustration{display:block;overflow:visible}.habit-glass-outline{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.habit-liquid-motion{transform-box:view-box;transform-origin:center top;transition:opacity .16s ease,transform .42s cubic-bezier(.18,.85,.25,1)}.habit-liquid-fill{fill:currentColor;opacity:.68}.habit-liquid-foam{fill:#f6ecd9;opacity:.88}.habit-glass-shine{fill:none;opacity:.42;stroke:#fff;stroke-linecap:round;stroke-width:1.25}.habit-streak-icon{display:block;overflow:visible}.habit-streak-face{fill:currentColor;opacity:.14}.habit-streak-outline{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.85}.habit-mark{display:block;overflow:visible}.habit-mark-face{fill:currentColor;opacity:.14}.habit-mark-outline{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}.habit-group.alcohol .habit-illustration,.habit-counter-icon .habit-illustration{color:var(--habit-alcohol)}.habit-candy-twist,.habit-candy-stripe{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}.habit-candy-body{fill:currentColor;opacity:.62;stroke:currentColor;stroke-width:1.55}.habit-candy-stripe{opacity:.7;stroke:#fff;stroke-width:1.2}.habit-crisp{fill:currentColor;opacity:.5;stroke:currentColor;stroke-linejoin:round;stroke-width:1.5}.habit-crisp-ridge{fill:none;opacity:.82;stroke:#fff;stroke-linecap:round;stroke-width:1.15}.habit-cone{fill:color-mix(in srgb,var(--habit-snacks),var(--background-grouped) 48%);stroke:var(--habit-snacks);stroke-linejoin:round;stroke-width:1.2}.habit-cone-detail{fill:none;opacity:.72;stroke:color-mix(in srgb,var(--habit-snacks),var(--label-primary) 28%);stroke-width:1}.habit-cake-slice{fill:color-mix(in srgb,#c98a45 28%,var(--background-grouped));stroke:#b17434;stroke-linejoin:round;stroke-width:1.25}.habit-cake-layer,.habit-cake-icing,.habit-cake-plate{fill:none;stroke:#a6652f;stroke-linecap:round;stroke-width:1.25}.habit-cake-icing{stroke:#bf7185;stroke-width:2}.habit-scoop{fill:currentColor;opacity:.64}.habit-scoop.secondary{opacity:.38}.habit-scoop-highlight{fill:none;opacity:.72;stroke:#fff;stroke-linecap:round;stroke-width:1.35}.habit-illustration-pop{animation:habit-illustration-pop .18s ease-out both;transform-origin:center}.candy-pop{animation-name:habit-candy-pop}.crisp-pop{animation-name:habit-crisp-pop}.ice-cream-pop,.cake-pop{animation-name:habit-ice-cream-pop}@keyframes habit-illustration-pop{0%{opacity:.7;transform:translateY(1px) scale(.92)}70%{transform:translateY(-1px) scale(1.04)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes habit-candy-pop{0%{transform:scale(.85) rotate(-4deg)}72%{transform:scale(1.06) rotate(2deg)}to{transform:scale(1) rotate(0)}}@keyframes habit-crisp-pop{0%{transform:translateY(2px) rotate(-4deg)}70%{transform:translateY(-1px) rotate(2deg)}to{transform:translateY(0) rotate(0)}}@keyframes habit-ice-cream-pop{0%{transform:translateY(2px) scale(.9)}65%{transform:translateY(-1px) scale(1.04)}to{transform:translateY(0) scale(1)}}.habits-calendar-layout{align-items:start;gap:16px}.habits-calendar,.habit-calendar-detail,.habit-trend,.habit-donut-section{border-color:var(--line-soft);border-radius:17px}.habits-calendar{padding:15px}.habits-calendar-grid{gap:4px}.habits-calendar-grid button{border-radius:10px;min-height:47px;transition:background .16s ease,border-color .16s ease}.habits-calendar-grid button.selected{background:var(--accent-soft)}.habits-calendar-grid button.today{border-color:var(--accent)}.habits-calendar-grid button i{bottom:6px;height:5px;width:5px}.habits-calendar-grid button.confirmed i,.habit-calendar-legend .confirmed,.marker.confirmed_no_alcohol{background:var(--semantic-success)}.habits-calendar-grid button.snacks i,.habit-calendar-legend .snacks{background:var(--habit-snacks)}.habits-calendar-grid button.unconfirmed i,.habit-calendar-legend .unconfirmed,.marker.unconfirmed{background:#a8a2aa}.habit-calendar-detail{min-width:0;padding:15px}.habit-calendar-detail h2{font-size:20px;margin:4px 0 14px}.habit-calendar-detail .habit-day-editor{grid-template-columns:1fr;max-width:none}.habit-calendar-detail .habit-counter{grid-template-columns:43px minmax(0,1fr) 130px}.habit-calendar-detail .habit-clear-day{display:block}.habit-readonly{display:grid;gap:13px}.habit-readonly-status{align-items:center;background:var(--surface-soft);border-radius:12px;display:flex;gap:9px;min-height:55px;padding:9px 10px}.habit-readonly-status .marker{border-radius:50%;display:block;height:9px;width:9px}.habit-readonly-status span:nth-child(2){display:grid;gap:2px}.habit-readonly-status small{color:var(--muted);font-size:8px}.habit-readonly-status strong{font-size:11px}.habit-readonly-status em{color:var(--muted);font-size:9px;font-style:normal;margin-left:auto}.habit-readonly>section{border-top:1px solid var(--line-soft);padding-top:12px}.habit-readonly h3{font-size:12px;margin:0 0 7px}.habit-readonly>section>p{color:var(--muted);font-size:10px;line-height:1.45;margin:0}.habit-readonly-row{align-items:center;display:flex;justify-content:space-between;min-height:42px}.habit-readonly-row>span{align-items:center;display:flex;gap:8px}.habit-readonly-row svg{height:29px;width:29px;color:var(--habit-alcohol)}.habit-readonly-row strong{font-size:10px}.habit-readonly-row b{font-family:inherit;font-size:12px}.habit-stats-view{display:grid;gap:12px}.habit-range-select{margin-bottom:0}.habit-range-select button{background:transparent;border-color:transparent;padding:0 9px}.habit-range-select button.active{background:var(--accent-soft);border-color:transparent}.habit-range-caption{margin:0 2px}.habit-stats-hero-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.stats-streak-card,.alcohol-free-ring-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:17px;min-height:116px;padding:13px}.stats-streak-card{align-items:center;display:flex;gap:10px}.stats-streak-card>svg{color:var(--habit-alcohol);flex:0 0 auto}.stats-streak-card span{display:grid;gap:3px}.stats-streak-card small{color:var(--muted);font-size:8px}.stats-streak-card strong{font-family:inherit;font-size:29px;letter-spacing:-.09em}.stats-streak-card em{color:var(--muted);font-family:inherit;font-size:11px;font-style:normal;letter-spacing:0}.stats-streak-card p{color:var(--muted);font-size:9px;line-height:1.4;margin:0}.alcohol-free-ring-card{align-items:center;display:flex;gap:12px}.alcohol-free-ring{align-items:center;border-radius:50%;display:grid;flex:0 0 auto;height:82px;place-items:center;position:relative;width:82px}.alcohol-free-ring:before{background:var(--surface);border-radius:inherit;content:"";inset:10px;position:absolute}.alcohol-free-ring span{display:grid;gap:1px;position:relative;text-align:center}.alcohol-free-ring strong{font-family:inherit;font-size:17px;letter-spacing:-.06em}.alcohol-free-ring small{color:var(--muted);font-size:7px}.alcohol-free-ring-card>div:last-child{display:grid;gap:4px;min-width:0}.alcohol-free-ring-card h2{font-size:14px;letter-spacing:-.035em;margin:0}.alcohol-free-ring-card p{color:var(--muted);font-size:8px;line-height:1.7;margin:0}.alcohol-free-ring-card p i{border-radius:50%;display:inline-block;height:5px;margin:0 3px 0 5px;vertical-align:middle;width:5px}.habit-stat-cards{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.habit-stat-card{border-radius:14px;min-height:92px;padding:13px}.habit-stat-card strong{font-size:23px}.habit-trend{margin:0;padding:13px 15px}.habit-trend h2,.habit-donut-section h2{font-size:15px}.habit-bars{height:112px}.habit-zero-trend{align-items:center;color:var(--muted);display:flex;gap:8px;justify-content:center;min-height:72px;text-align:center}.habit-zero-trend svg{color:var(--accent)}.habit-zero-trend p{font-size:10px;margin:0;max-width:200px}.habit-composition-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.habit-donut-section{background:var(--surface);border:1px solid var(--line-soft);padding:13px 15px}.habit-donut-section.empty{min-height:128px}.habit-donut-layout{align-items:center;display:grid;gap:14px;grid-template-columns:112px minmax(0,1fr);margin-top:12px}.habit-donut{align-items:center;border-radius:50%;display:grid;height:112px;place-items:center;position:relative;width:112px}.habit-donut:before{background:var(--surface);border-radius:inherit;content:"";inset:14px;position:absolute}.habit-donut span{display:grid;gap:1px;position:relative;text-align:center}.habit-donut strong{font-family:inherit;font-size:20px;letter-spacing:-.07em}.habit-donut small{color:var(--muted);font-size:8px}.habit-donut-cards{display:grid;gap:8px}.habit-donut-cards>div{align-items:center;display:flex;gap:7px}.habit-donut-cards>div>span{align-items:center;background:var(--surface-soft);border-radius:9px;display:flex;height:32px;justify-content:center;width:32px}.habit-donut-cards svg{height:27px;width:27px}.habit-donut-cards p{display:grid;gap:1px;margin:0}.habit-donut-cards strong{font-size:10px}.habit-donut-cards small{color:var(--muted);font-family:inherit;font-size:8px}.habit-donut-zero{align-items:center;color:var(--muted);display:flex;gap:9px;justify-content:center;min-height:68px;text-align:center}.habit-donut-zero svg{color:var(--accent)}.habit-donut-zero p{font-size:10px;margin:0}.habit-legacy-note{margin:0 3px}@media(min-width:700px){.habits-calendar-layout{grid-template-columns:minmax(470px,1.17fr) minmax(360px,.83fr)}.habit-calendar-detail{position:sticky;top:22px}.habits-page>.habit-day-editor{max-width:880px}.habits-page>.habits-date-heading{max-width:760px}}@media(max-width:699px){.habit-tabs{gap:15px}.alcohol-streak-hero{min-height:96px}.habit-stats-hero-grid,.habit-composition-grid{grid-template-columns:1fr}.habit-stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.habit-stat-card{min-height:78px;padding:10px}.habit-stat-card strong{font-size:18px}.habit-stat-card span{line-height:1.3}.habit-donut-layout{grid-template-columns:96px minmax(0,1fr)}.habit-donut{height:96px;width:96px}.habits-calendar-grid button{min-height:43px}}@media(max-width:420px){.habits-header{gap:8px}.habits-settings-link{font-size:10px}.habit-counter,.habit-calendar-detail .habit-counter{gap:8px;grid-template-columns:43px minmax(0,1fr) 122px;padding:8px 10px}.habit-counter-icon{height:41px;width:41px}.habit-stepper{height:38px}.habit-stepper button{width:36px}.habit-alcohol-status.actionable{align-items:flex-start;display:grid}.habit-alcohol-status.actionable button{justify-self:start}.habit-yesterday-actions>div{grid-template-columns:1fr}.habit-yesterday-action+.habit-yesterday-action{border-left:0;border-top:1px solid var(--line-soft)}.habit-stat-cards{gap:6px}.habit-stat-card{padding:9px 8px}.habit-stat-card small,.habit-stat-card span{font-size:7px}}.smart-schedule-editor{display:grid;gap:18px;grid-template-columns:minmax(0,1fr);min-width:0;width:100%}.smart-schedule-editor>*{max-width:100%;min-width:0}.smart-schedule-basics,.smart-current-position,.smart-simple-sequence,.smart-vacation-settings,.smart-schedule-block,.smart-preview,.smart-save{background:var(--background-grouped);border:1px solid var(--separator-soft);border-radius:var(--radius-large);box-shadow:var(--surface-shadow);min-width:0;padding:16px}.smart-schedule-basics{display:grid;gap:4px;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr)}.smart-schedule-basics .editor-toggle{grid-column:1/-1}.smart-guide-button{margin-left:auto;white-space:nowrap}.smart-current-position{display:grid;gap:7px}.smart-current-position.warning{border-color:color-mix(in srgb,var(--system-orange) 35%,var(--separator-soft))}.smart-current-position>strong{font-size:16px}.smart-current-position>p{color:var(--label-secondary);font-size:10px;line-height:1.45;margin:0}.smart-position-next{background:var(--background-elevated);border-radius:12px;display:grid;gap:3px;margin-top:3px;padding:11px 12px}.smart-position-next small{color:var(--label-secondary);font-size:8px;text-transform:uppercase}.smart-position-next strong{font-size:12px}.smart-simple-sequence{display:grid;gap:12px}.smart-simple-sequence>header{align-items:end;display:flex;gap:16px;justify-content:space-between}.smart-simple-sequence h2{font-size:18px;letter-spacing:-.035em;margin:4px 0 0}.smart-simple-sequence>header small{color:var(--label-secondary);font-size:10px;max-width:310px;text-align:right}.smart-simple-rows{display:grid;gap:6px}.smart-simple-row{align-items:center;background:var(--background-elevated);border-radius:12px;display:grid;gap:9px;grid-template-columns:34px minmax(0,1fr) auto 36px;min-width:0;padding:9px}.smart-simple-row.recovery{background:color-mix(in srgb,var(--selection-surface) 42%,var(--background-elevated))}.smart-simple-row-icon{align-items:center;background:var(--selection-surface);border-radius:9px;color:var(--accent-foreground);display:flex;height:34px;justify-content:center;width:34px}.smart-simple-row.cardio .smart-simple-row-icon{color:var(--accent-complement)}.smart-simple-row-content{align-items:end;display:grid;gap:8px;grid-template-columns:minmax(140px,1fr) minmax(90px,.35fr);min-width:0}.smart-simple-row-content label{color:var(--label-secondary);display:grid;font-size:9px;gap:4px;min-width:0}.smart-simple-row-content select,.smart-simple-row-content input{appearance:auto;background:var(--background-grouped);border:1px solid var(--separator-soft);border-radius:9px;color:var(--label-primary);font:inherit;min-height:40px;min-width:0;padding:7px 8px;width:100%}.smart-simple-row-content>strong{font-size:12px}.smart-repeat-row{align-items:center;color:var(--label-secondary);display:flex;gap:8px;justify-content:center;min-height:40px}.smart-repeat-row strong{font-size:11px}.smart-simple-add{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.smart-simple-add button{align-items:center;background:var(--selection-surface);border-radius:10px;color:var(--accent-foreground);display:flex;font-size:10px;gap:6px;justify-content:center;min-height:44px;padding:8px}.smart-simple-add button:disabled{opacity:.35}.smart-advanced-scheduling{border:1px solid var(--separator-soft);border-radius:var(--radius-large);padding:0 14px 14px}.smart-advanced-scheduling>summary{color:var(--accent-foreground);cursor:pointer;font-size:12px;font-weight:700;padding:15px 2px}.smart-advanced-scheduling>.editor-input{margin-bottom:12px}.smart-guide-content,.smart-alignment-candidates,.smart-manual-position{display:grid;gap:10px}.smart-guide-content section,.smart-alignment-candidates section{background:var(--background-elevated);border-radius:12px;display:grid;gap:5px;padding:12px}.smart-guide-content h3,.smart-guide-content p,.smart-alignment-candidates p{margin:0}.smart-guide-content h3{font-size:12px}.smart-guide-content p,.smart-alignment-candidates p{color:var(--label-secondary);font-size:10px;line-height:1.5}.smart-guide-content code,.smart-guide-content pre{background:var(--background-grouped);border-radius:9px;font:600 10px/1.5 var(--font-mono,monospace);margin:2px 0 0;overflow:auto;padding:9px;white-space:pre-wrap}.smart-vacation-settings{display:grid;gap:11px}.smart-vacation-settings>header{align-items:start;display:grid;gap:10px;grid-template-columns:40px minmax(0,1fr)}.smart-vacation-settings>header>div{display:grid;gap:3px}.smart-vacation-settings h2{font-size:18px;letter-spacing:-.035em;margin:0}.smart-vacation-settings>header p,.smart-vacation-help{color:var(--label-secondary);font-size:10px;line-height:1.45;margin:0;max-width:680px}.smart-vacation-icon{align-items:center;background:color-mix(in srgb,var(--accent-complement) 15%,var(--background-elevated));border-radius:12px;color:var(--accent-complement);display:flex;height:40px;justify-content:center;width:40px}.smart-vacation-unavailable,.smart-vacation-error{align-items:flex-start;background:var(--background-elevated);border-radius:10px;color:var(--label-secondary);display:flex;font-size:10px;gap:7px;line-height:1.4;margin:0;padding:10px}.smart-vacation-error{color:var(--system-orange)}.smart-vacation-status{background:var(--background-elevated);border-radius:12px;margin:0;overflow:hidden;padding:0 12px}.smart-vacation-status>div{align-items:center;border-top:1px solid var(--separator-soft);display:grid;gap:14px;grid-template-columns:minmax(130px,.8fr) minmax(0,1fr);min-height:42px}.smart-vacation-status>div:first-child{border-top:0}.smart-vacation-status dt,.smart-vacation-status dd{font-size:10px;margin:0}.smart-vacation-status dt{color:var(--label-secondary)}.smart-vacation-status dd{font-weight:650;text-align:right}.smart-vacation-actions{display:flex;flex-wrap:wrap;gap:8px}.smart-vacation-actions button{align-items:center;display:flex;gap:6px;margin:0}.smart-vacation-permission{align-items:center;display:grid;gap:12px;justify-items:center;text-align:center}.smart-vacation-permission>svg{color:var(--accent-foreground)}.smart-vacation-permission p{color:var(--label-secondary);font-size:11px;line-height:1.5;margin:0}.smart-schedule-blocks{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);min-width:0}.smart-schedule-blocks>header,.smart-preview>header{align-items:end;display:flex;gap:16px;justify-content:space-between}.smart-schedule-blocks h2,.smart-preview h2{font-size:18px;letter-spacing:-.035em;margin:4px 0 0}.smart-schedule-blocks>header>small{color:var(--label-secondary);font-size:10px;line-height:1.4;max-width:310px;text-align:right}.smart-schedule-block{display:grid;gap:12px;min-width:0}.smart-schedule-block>header{align-items:center;display:grid;gap:9px;grid-template-columns:34px minmax(0,1fr) auto auto}.smart-block-number,.smart-activity-icon{align-items:center;background:var(--selection-surface);border-radius:10px;color:var(--accent-foreground);display:flex;height:34px;justify-content:center;width:34px}.smart-schedule-block>header>div{display:grid;gap:2px;min-width:0}.smart-schedule-block>header strong{font-size:13px}.smart-schedule-block>header small{color:var(--label-secondary);font-size:9px}.smart-reorder{background:var(--background-elevated);border-radius:9px;display:flex;overflow:hidden}.smart-reorder button,.smart-remove{align-items:center;color:var(--label-secondary);display:flex;height:36px;justify-content:center;width:36px}.smart-reorder button+button{border-left:1px solid var(--separator-soft)}.smart-reorder button:disabled{opacity:.25}.smart-remove{color:var(--label-tertiary)}.smart-activity-list{display:grid;gap:8px}.smart-activity{align-items:start;background:var(--background-elevated);border-radius:12px;display:grid;gap:10px;grid-template-columns:34px minmax(0,1fr) auto 36px;min-width:0;padding:10px}.smart-activity-icon.cardio{background:color-mix(in srgb,var(--accent-complement) 16%,var(--background-elevated));color:var(--accent-complement)}.smart-activity-fields{display:grid;gap:8px;grid-template-columns:minmax(140px,1.5fr) minmax(100px,.7fr) minmax(120px,.8fr);min-width:0}.smart-activity-fields label,.smart-activity-details label,.smart-number-grid label,.smart-gap-control{color:var(--label-secondary);display:grid;font-size:9px;gap:4px;min-width:0}.smart-activity-fields select,.smart-activity-details select,.smart-activity-details input,.smart-number-grid input,.smart-gap-control select,.smart-move-form input{appearance:auto;background:var(--background-grouped);border:1px solid var(--separator-soft);border-radius:9px;color:var(--label-primary);font:inherit;min-height:40px;min-width:0;padding:7px 8px;width:100%}.smart-activity-details{grid-column:2/-1}.smart-activity-details summary,.smart-block-details summary{color:var(--accent-foreground);cursor:pointer;font-size:10px;font-weight:650;min-height:36px;padding:10px 0 4px}.smart-activity-details>div{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.smart-activity-details .smart-check{align-items:center;display:flex;grid-column:1/-1;min-height:36px}.smart-activity-details .smart-check input{min-height:0;width:auto}.smart-inline-add,.smart-add-block{display:flex;flex-wrap:wrap;gap:7px}.smart-inline-add button,.smart-add-block button,.smart-preview-actions button{align-items:center;background:var(--background-elevated);border-radius:9px;color:var(--accent-foreground);display:flex;font-size:10px;gap:5px;min-height:38px;padding:7px 10px}.smart-inline-add button:disabled,.smart-add-block button:disabled{opacity:.35}.smart-gap-control{border-top:1px solid var(--separator-soft);padding-top:12px}.smart-block-details{border-top:1px solid var(--separator-soft)}.smart-number-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.smart-add-block{justify-content:center;padding:4px 0 0}.smart-add-block button{background:var(--selection-surface);min-height:44px}.smart-validation{background:color-mix(in srgb,var(--system-red) 9%,var(--background-grouped));border:1px solid color-mix(in srgb,var(--system-red) 20%,transparent);border-radius:var(--radius-medium);padding:13px 15px}.smart-validation strong{font-size:12px}.smart-validation ul{color:var(--label-secondary);font-size:10px;line-height:1.5;margin:7px 0 0;padding-left:18px}.smart-adjusted{align-items:center;background:var(--selection-surface);border-radius:999px;color:var(--accent-foreground);display:flex;font-size:9px;gap:5px;padding:7px 9px}.smart-preview-days{display:grid;margin-top:12px}.smart-preview-day{border-top:1px solid var(--separator-soft);display:grid;gap:12px;grid-template-columns:116px minmax(0,1fr);min-height:58px;padding:8px 0}.smart-preview-day.today{background:linear-gradient(90deg,var(--selection-surface),transparent);margin-inline:-8px;padding-inline:8px}.smart-preview-day>time{display:grid;align-content:center;gap:2px}.smart-preview-day>time strong{font-size:10px}.smart-preview-day>time small{color:var(--accent-foreground);font-size:8px}.smart-preview-day>div{display:grid;gap:6px}.smart-preview-activity{align-items:center;display:grid;gap:8px;grid-template-columns:30px minmax(0,1fr) auto;min-width:0}.smart-preview-activity>span:first-child{align-items:center;background:var(--selection-surface);border-radius:8px;color:var(--accent-foreground);display:flex;height:30px;justify-content:center;width:30px}.smart-preview-activity>span:first-child.cardio{color:var(--accent-complement)}.smart-preview-activity>span:nth-child(2){display:grid;gap:2px;min-width:0}.smart-preview-activity strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-preview-activity small,.smart-recovery-day{color:var(--label-secondary);font-size:8px}.smart-preview-actions{display:flex;gap:3px}.smart-preview-actions button{color:var(--label-secondary);min-height:34px;padding:5px 7px}.smart-recovery-day{align-self:center}.smart-save{display:grid;gap:4px;grid-template-columns:minmax(0,1fr) minmax(210px,.45fr)}.smart-save .editor-primary{align-self:end}.smart-why-list{display:grid;gap:7px}.smart-why-list p{align-items:flex-start;background:var(--background-elevated);border-radius:10px;display:flex;font-size:10px;gap:7px;line-height:1.45;margin:0;padding:10px}.smart-why-list p.warning{color:var(--system-orange)}.smart-move-form,.schedule-reconciliation-actions{display:grid;gap:9px;grid-template-columns:1fr 1fr}.smart-move-form input{grid-column:1/-1}.schedule-reconciliation-actions .editor-primary,.schedule-reconciliation-actions .editor-secondary{margin-top:0}.smart-home-schedule{display:grid;padding:12px}.smart-home-schedule>header{display:grid;gap:2px;margin-bottom:5px}.smart-home-schedule>header strong{font-size:12px}.smart-home-schedule>header small,.smart-home-next{color:var(--label-secondary);font-size:9px}.smart-home-position{background:var(--selection-surface);border-radius:9px;color:var(--accent-foreground);font-size:9px;line-height:1.4;margin:0 0 7px;padding:8px 9px;text-align:left;width:100%}.smart-home-position.warning{color:var(--system-orange)}.smart-home-row{align-items:center;border-top:1px solid var(--separator-soft);display:grid;gap:9px;grid-template-columns:32px minmax(0,1fr) auto;min-height:58px}.smart-home-row>span:first-child,.smart-home-recovery>span{align-items:center;background:var(--selection-surface);border-radius:9px;color:var(--accent-foreground);display:flex;height:32px;justify-content:center;width:32px}.smart-home-row>span.cardio{color:var(--accent-complement)}.smart-home-row>div,.smart-home-recovery>div{display:grid;gap:2px;min-width:0}.smart-home-row strong,.smart-home-recovery strong{font-size:11px}.smart-home-row small,.smart-home-recovery small{color:var(--label-secondary);font-size:9px;line-height:1.35}.smart-home-row .form-button{font-size:10px;min-height:38px;padding:7px 10px}.smart-home-recovery{align-items:center;display:grid;gap:10px;grid-template-columns:36px minmax(0,1fr);min-height:62px}.smart-home-next{border-top:1px solid var(--separator-soft);margin:5px 0 0;padding-top:9px}.smart-home-adjusted{align-items:center;color:var(--label-secondary);display:flex;font-size:9px;gap:5px;justify-self:start;min-height:40px;padding:6px 0}.home-vacation-banner,.home-vacation-return{align-items:start;background:linear-gradient(145deg,color-mix(in srgb,var(--accent-complement) 15%,var(--background-grouped)),var(--background-grouped));border:1px solid color-mix(in srgb,var(--accent-complement) 25%,var(--separator-soft));border-radius:var(--radius-large);box-shadow:var(--surface-shadow);display:grid;gap:12px;grid-template-columns:44px minmax(0,1fr);margin-bottom:14px;padding:15px}.home-vacation-banner>span,.home-vacation-return>span{align-items:center;background:color-mix(in srgb,var(--accent-complement) 18%,var(--background-elevated));border-radius:12px;color:var(--accent-complement);display:flex;height:44px;justify-content:center;width:44px}.home-vacation-banner>div,.home-vacation-return>div{display:grid;gap:5px;min-width:0}.home-vacation-banner strong,.home-vacation-return strong{font-size:14px}.home-vacation-banner p,.home-vacation-return p{color:var(--label-secondary);font-size:10px;line-height:1.45;margin:0}.home-vacation-banner>div>div,.home-vacation-return>div>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}.home-vacation-banner button,.home-vacation-return button{background:var(--background-elevated);border-radius:9px;color:var(--accent-foreground);font-size:10px;font-weight:650;min-height:38px;padding:7px 10px}.home-vacation-return{background:var(--background-grouped);border-color:var(--separator-soft)}.home-vacation-return>span{background:color-mix(in srgb,var(--system-green) 14%,var(--background-elevated));color:var(--system-green)}@media(max-width:699px){.smart-schedule-basics,.smart-save,.smart-activity-fields{grid-template-columns:1fr}.smart-activity-details{grid-column:1/-1}.smart-activity-details>div,.smart-number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-schedule-blocks>header{align-items:start;display:grid}.smart-schedule-blocks>header>small{text-align:left}.smart-preview-day{grid-template-columns:82px minmax(0,1fr)}.smart-preview-activity{align-items:start;grid-template-columns:30px minmax(0,1fr)}.smart-preview-actions{flex-wrap:wrap;grid-column:2}.smart-simple-sequence>header{align-items:start;display:grid}.smart-simple-sequence>header small{text-align:left}.smart-simple-row-content{grid-template-columns:1fr}}@media(max-width:420px){.smart-schedule-basics,.smart-current-position,.smart-simple-sequence,.smart-vacation-settings,.smart-schedule-block,.smart-preview,.smart-save{padding:13px}.smart-vacation-status>div{align-items:start;gap:3px;grid-template-columns:1fr;padding:9px 0}.smart-vacation-status dd{text-align:left}.smart-schedule-block>header{grid-template-columns:32px minmax(0,1fr) auto}.smart-schedule-block>header>.smart-remove{grid-column:3;grid-row:2}.smart-reorder{grid-column:3}.smart-activity{grid-template-columns:32px minmax(0,1fr) auto 32px;padding:8px}.smart-preview>header{align-items:start;display:grid}.smart-preview-day{grid-template-columns:1fr}.smart-preview-activity,.smart-preview-actions{grid-column:auto}.smart-move-form,.schedule-reconciliation-actions{grid-template-columns:1fr}.smart-simple-row{align-items:start;grid-template-columns:32px minmax(0,1fr) auto}.smart-simple-row>.smart-remove{grid-column:3;grid-row:2}.smart-simple-row>.smart-reorder{grid-column:3}.smart-simple-add{grid-template-columns:1fr}.smart-guide-button{font-size:0;padding:0;width:40px}.home-vacation-banner,.home-vacation-return{grid-template-columns:38px minmax(0,1fr);padding:12px}.home-vacation-banner>span,.home-vacation-return>span{border-radius:10px;height:38px;width:38px}}@media(max-width:639px){.habits-header{align-items:flex-start}.habits-header>div{flex:1;min-width:0}.habits-settings-link{font-size:9px;margin-top:1px;padding:0 8px}.habits-settings-link svg{height:13px;width:13px}}@media(prefers-reduced-motion:reduce){.habit-liquid-motion,.habit-stepper button{transition:none}.habit-illustration-pop,.candy-pop,.crisp-pop,.ice-cream-pop{animation:none}}.setting-inline-message.app-lock-message-warning,.setting-inline-message.app-lock-message-error{border-left:2px solid;margin:0 13px 11px;padding:8px 10px}.setting-inline-message.app-lock-message-warning{background:var(--accent-soft);border-color:var(--accent);color:var(--ink)}.settings-domain-page{max-width:680px}.settings-status-notice{background:var(--surface-soft);border-left:2px solid var(--line);color:var(--muted);font-size:10px;line-height:1.45;margin:0;padding:10px 13px}.settings-status-notice strong{color:var(--ink)}.family-page .editor-notice{background:var(--surface-soft);border-color:var(--line)}.family-platform-notice,.owner-role-confirmation{align-items:flex-start;display:flex;gap:10px}.family-platform-notice>svg,.owner-role-confirmation>svg{flex:0 0 auto;margin-top:1px}.family-platform-notice>div,.owner-role-confirmation>div{display:grid;gap:3px;min-width:0}.family-platform-notice p,.owner-role-confirmation p{margin:0}.household-name-editor{display:grid;gap:10px;margin-bottom:4px}.household-name-editor .button-row{justify-content:flex-end}.household-name-editor .button-row button{margin-top:0;width:auto}.owner-household-setup-fields{padding:12px}.owner-household-setup-fields .editor-input{margin:0;padding:6px 2px}.owner-role-check{border:1px solid var(--separator-soft);border-radius:12px;margin-top:14px;padding:12px}.e2ee-recovery-page,.e2ee-settings-page{display:grid;gap:16px;margin:0 auto;max-width:720px;padding-bottom:40px;width:100%}.e2ee-gate-heading{align-items:center;display:flex;flex-direction:column;padding:30px 18px 8px;text-align:center}.e2ee-gate-heading h1{margin:7px 0}.e2ee-gate-heading p{color:var(--muted);max-width:560px}.e2ee-warning-card,.e2ee-status-card{background:color-mix(in srgb,var(--surface) 92%,var(--semantic-warning));border:1px solid color-mix(in srgb,var(--line) 70%,var(--semantic-warning));border-radius:18px;padding:18px}.e2ee-warning-card h2{margin:8px 0}.e2ee-warning-card p,.e2ee-warning-card li{color:var(--muted);font-size:12px;line-height:1.55}.e2ee-warning-card ul{padding-left:20px}.e2ee-status-card{align-items:center;background:color-mix(in srgb,var(--surface) 94%,var(--semantic-success));display:flex;gap:13px}.e2ee-status-card span{display:grid;gap:3px}.e2ee-status-card small{color:var(--muted)}.e2ee-check{align-items:flex-start;display:flex;font-size:12px;font-weight:700;gap:9px;margin:14px 0}.e2ee-check input{margin-top:2px}.e2ee-activation-step{align-self:start}.e2ee-acknowledgements{display:grid;margin-top:10px}.e2ee-acknowledgements .e2ee-check{margin:6px 0}.e2ee-activation-secondary-actions{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.e2ee-activation-secondary-actions .editor-secondary{margin-top:0}.e2ee-key-step textarea[readonly]{background:var(--bg);border:1px solid var(--line);border-radius:12px;color:var(--ink);font-family:inherit;font-size:12px;line-height:1.6;padding:12px;resize:none;width:100%}.e2ee-pairing-qr{align-self:center;background:#fff;border-radius:14px;display:block;margin:12px auto;max-width:320px;padding:8px;width:100%}.e2ee-technical{display:grid;margin:0}.e2ee-technical div{align-items:start;border-top:1px solid var(--line-soft);display:grid;gap:10px;grid-template-columns:minmax(110px,1fr) minmax(150px,1.4fr);padding:11px 0}.e2ee-technical div:first-child{border-top:0}.e2ee-technical dt{color:var(--muted);font-size:11px}.e2ee-technical dd{font-family:inherit;font-size:10px;margin:0;text-align:right}.e2ee-scanner{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;display:grid;gap:12px;overflow:hidden;padding:12px}.e2ee-scanner-heading{align-items:center;display:flex;justify-content:space-between}.e2ee-scanner-heading span{display:grid;gap:2px}.e2ee-scanner-heading small{color:var(--muted);font-size:10px}.e2ee-scanner-heading .icon-button{flex:0 0 auto}.e2ee-scanner-view{aspect-ratio:4/3;background:#050505;border-radius:11px;overflow:hidden;position:relative}.e2ee-scanner video{display:block;height:100%;object-fit:cover;rotate:0deg!important;transform:none!important;width:100%}.e2ee-scanner canvas{display:none}.e2ee-scanner video.is-waiting{opacity:.18}.e2ee-scanner-guide{border:2px solid rgba(255,255,255,.88);border-radius:16px;height:min(62vw,230px);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:min(62vw,230px)}.e2ee-scanner p{color:var(--muted);font-size:11px;line-height:1.5;margin:0}.e2ee-scanner-requesting .e2ee-scanner-guide{animation:e2ee-scanner-pulse 1.4s ease-in-out infinite}.e2ee-scanner-unavailable,.e2ee-scanner-denied,.e2ee-scanner-error{border-color:color-mix(in srgb,var(--line) 65%,var(--semantic-warning))}@keyframes e2ee-scanner-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.e2ee-scanner-requesting .e2ee-scanner-guide{animation:none}}.e2ee-recovery-page>.editor-danger-link{align-items:center;display:flex;gap:6px}.e2ee-strategy-selector{border:0;display:grid;gap:11px;margin:18px 0 8px;padding:0}.e2ee-strategy-selector legend{font-size:13px;font-weight:800;margin-bottom:10px}.e2ee-strategy-card{align-items:flex-start;background:var(--surface-soft);border:1px solid var(--line);border-radius:17px;cursor:pointer;display:grid;gap:12px;grid-template-columns:24px minmax(0,1fr);padding:16px;position:relative;transition:border-color .16s ease,background .16s ease,transform .16s ease}.e2ee-strategy-card:hover{border-color:color-mix(in srgb,var(--accent) 52%,var(--line));transform:translateY(-1px)}.e2ee-strategy-card.is-selected{background:color-mix(in srgb,var(--surface) 88%,var(--accent));border-color:var(--accent)}.e2ee-strategy-card:focus-within{outline:3px solid color-mix(in srgb,var(--accent) 35%,transparent);outline-offset:2px}.e2ee-strategy-card>input{height:1px;opacity:0;position:absolute;width:1px}.e2ee-strategy-radio{align-items:center;border:2px solid var(--muted);border-radius:50%;display:flex;height:22px;justify-content:center;margin-top:1px;width:22px}.is-selected>.e2ee-strategy-radio{background:var(--accent);border-color:var(--accent);color:#fff}.e2ee-strategy-copy{display:grid;gap:7px;min-width:0}.e2ee-strategy-copy>b{font-size:12px}.e2ee-strategy-copy>span:last-child{color:var(--muted);font-size:11px;line-height:1.5}.e2ee-strategy-title{align-items:center;display:flex;gap:10px;justify-content:space-between}.e2ee-strategy-title strong{text-transform:uppercase}.e2ee-strategy-title small{background:var(--accent);border-radius:999px;color:#fff;font-size:8px;font-weight:900;letter-spacing:.06em;padding:4px 7px;white-space:nowrap}.e2ee-replacement-selector{border-top:1px solid var(--line-soft);display:grid;gap:10px;margin-top:14px;padding-top:12px}.e2ee-recovery-summary{display:grid;gap:8px;margin:6px 0}.e2ee-recovery-summary div{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;justify-content:space-between;padding:8px 0}.e2ee-recovery-summary dt{color:var(--muted);font-size:11px}.e2ee-recovery-summary dd{font-family:inherit;font-size:11px;font-weight:800;margin:0;text-align:right}.e2ee-share-list{display:grid;gap:7px}.e2ee-share-list>div{align-items:center;background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:11px;display:flex;justify-content:space-between;min-height:42px;padding:9px 11px}.e2ee-share-list>div span{align-items:center;display:flex;font-size:11px;font-weight:800;gap:7px}.e2ee-share-list>div small{color:var(--muted);font-size:9px}.e2ee-share-list>div.is-accepted{border-color:color-mix(in srgb,var(--semantic-success) 50%,var(--line))}.e2ee-share-list>div.is-accepted span svg{color:var(--semantic-success)}.e2ee-complete-pdf-warning{background:color-mix(in srgb,var(--surface) 85%,var(--semantic-warning));border:1px solid color-mix(in srgb,var(--line) 55%,var(--semantic-warning));border-radius:14px;display:grid;gap:7px;padding:13px}.e2ee-complete-pdf-warning strong{color:color-mix(in srgb,var(--ink) 78%,var(--semantic-warning));font-size:12px}.e2ee-complete-pdf-warning span{color:var(--muted);font-size:10px;line-height:1.55}.e2ee-share-collector{display:grid;gap:12px}.e2ee-share-progress{align-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;padding:12px}.e2ee-share-progress>span{display:grid;gap:3px}.e2ee-share-progress small{color:var(--muted);font-size:9px}.e2ee-share-progress>b{color:var(--accent);font-family:inherit;font-size:18px}@media(max-width:540px){.e2ee-strategy-card{padding:14px 12px}.e2ee-strategy-title{align-items:flex-start;flex-direction:column;gap:6px}.e2ee-recovery-summary div{align-items:flex-start;gap:10px}.e2ee-share-list>div{gap:8px}.e2ee-key-step .sync-actions{align-items:stretch;display:grid;grid-template-columns:1fr}.e2ee-key-step .sync-actions>*{justify-content:center;width:100%}}.e2ee-action-button{min-inline-size:12.5rem}.e2ee-action-button.is-busy{cursor:progress}.e2ee-action-button:disabled:not(.is-busy){cursor:not-allowed;filter:saturate(.72);opacity:.52}.e2ee-action-button.editor-text-button,.e2ee-action-button.editor-danger-link{align-items:center;display:flex;gap:6px;min-inline-size:0}.e2ee-action-spinner{animation:e2ee-action-spin .82s linear infinite;flex:0 0 auto}.e2ee-artifact-building{align-items:center;display:flex;gap:7px}.e2ee-pairing-material{align-items:center;background:var(--surface-soft);border:1px solid color-mix(in srgb,var(--semantic-success) 42%,var(--line));border-radius:13px;display:flex;gap:12px;margin-top:12px;padding:11px}.e2ee-pairing-material>span{display:grid;gap:3px;min-width:0}.e2ee-pairing-material strong{font-size:11px}.e2ee-pairing-material small{color:var(--muted);font-size:9px;line-height:1.45}.e2ee-pairing-material .editor-text-button{margin-left:auto}.e2ee-pairing-material .editor-text-button:disabled{cursor:not-allowed;opacity:.5}@keyframes e2ee-action-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.e2ee-action-spinner{animation:none}}.integrity-page{display:grid;gap:16px;margin:0 auto;max-width:720px;padding-bottom:48px;width:100%}.integrity-hero{align-items:center;background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;display:flex;gap:13px;padding:16px}.integrity-hero>div:last-child{display:grid;gap:3px;min-width:0}.integrity-hero span,.integrity-fingerprint>span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.integrity-hero strong{font-size:14px}.integrity-hero small{color:var(--muted);font-size:10px;line-height:1.45}.integrity-status-mark{align-items:center;background:color-mix(in srgb,var(--semantic-success) 14%,var(--surface-soft));border-radius:14px;color:var(--semantic-success);display:flex;flex:0 0 auto;height:48px;justify-content:center;width:48px}.integrity-status-mark.warning{background:color-mix(in srgb,var(--semantic-danger) 13%,var(--surface-soft));color:var(--semantic-danger)}.integrity-incident{align-items:flex-start;background:color-mix(in srgb,var(--surface) 88%,var(--semantic-danger));border:1px solid color-mix(in srgb,var(--line) 48%,var(--semantic-danger));border-radius:17px;display:flex;gap:12px;padding:15px}.integrity-incident>svg{color:var(--semantic-danger);flex:0 0 auto}.integrity-incident div{display:grid;gap:5px}.integrity-incident strong{color:color-mix(in srgb,var(--ink) 80%,var(--semantic-danger));font-size:13px}.integrity-incident p,.integrity-warning-copy{color:var(--muted);font-size:10px;line-height:1.55;margin:0}.integrity-fact{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;gap:16px;justify-content:space-between;min-height:48px;padding:10px 13px}.integrity-fact span{color:var(--muted);font-size:10px}.integrity-fact strong{font-size:10px;max-width:62%;overflow-wrap:anywhere;text-align:right}.integrity-fingerprint{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:12px;display:grid;gap:7px;margin:11px 13px;padding:11px}.integrity-fingerprint code{color:var(--ink);font-family:inherit;font-size:9px;line-height:1.65;overflow-wrap:anywhere}.integrity-check{align-items:center;display:flex;gap:7px;justify-content:center;margin:12px 13px;width:calc(100% - 26px)}.integrity-update-card{align-items:center;background:color-mix(in srgb,var(--surface) 93%,var(--semantic-success));border-top:1px solid var(--line-soft);display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;padding:13px}.integrity-update-card>svg{color:var(--semantic-success)}.integrity-update-card>div{display:grid;gap:3px;min-width:0}.integrity-update-card small{color:var(--muted);font-size:9px}.integrity-update-card code{font-family:inherit;font-size:8px;overflow-wrap:anywhere}.integrity-update-card button{background:var(--accent);border-radius:9px;color:#fff;font-size:9px;font-weight:800;padding:8px 10px}.integrity-page details{border-bottom:1px solid var(--line-soft);padding:11px 13px}.integrity-page details summary{cursor:pointer;font-size:10px;font-weight:800}.integrity-page details ul{color:var(--muted);font-size:9px;line-height:1.55;overflow-wrap:anywhere;padding-left:18px}.integrity-page>.settings-group>.editor-secondary{margin:11px 13px;width:calc(100% - 26px)}.integrity-danger-button{align-items:center;background:color-mix(in srgb,var(--surface) 90%,var(--semantic-danger));border:1px solid color-mix(in srgb,var(--line) 50%,var(--semantic-danger));border-radius:10px;color:color-mix(in srgb,var(--ink) 74%,var(--semantic-danger));display:flex;font-size:10px;font-weight:800;gap:7px;justify-content:center;margin:11px 13px;min-height:40px;padding:9px 12px;width:calc(100% - 26px)}.integrity-danger-button:disabled{cursor:not-allowed;opacity:.5}.integrity-warning-copy{background:var(--surface-soft);margin:0;padding:11px 13px}.integrity-history-toggle{align-items:center;background:transparent;display:flex;justify-content:space-between;min-height:56px;padding:10px 13px;text-align:left;width:100%}.integrity-history-toggle span{display:grid;gap:3px}.integrity-history-toggle strong{font-size:12px}.integrity-history-toggle small{color:var(--muted);font-size:9px}.integrity-history-toggle svg{color:var(--muted);transition:transform .16s ease}.integrity-history-toggle svg.open{transform:rotate(180deg)}.integrity-history{border-top:1px solid var(--line-soft);display:grid;padding:7px 13px 13px}.integrity-history article{display:grid;gap:9px;grid-template-columns:8px minmax(0,1fr);padding:8px 0}.integrity-history article>i{background:var(--line);border-radius:50%;height:7px;margin-top:4px;width:7px}.integrity-history article>div{display:grid;gap:2px}.integrity-history strong{font-size:9px;text-transform:capitalize}.integrity-history small,.integrity-history p{color:var(--muted);font-size:8px;line-height:1.45;margin:0}.integrity-confirmation{max-width:520px}.integrity-confirmation>header{align-items:flex-start;display:flex;gap:11px}.integrity-confirmation>header>svg{color:var(--semantic-danger);flex:0 0 auto}.integrity-confirmation>header h2{margin:3px 0 0}.integrity-confirmation>p{color:var(--muted);font-size:11px;line-height:1.55}.integrity-confirmation .integrity-fingerprint,.integrity-confirmation .integrity-danger-button{margin-left:0;margin-right:0;width:100%}.signed-update-toast{border-color:color-mix(in srgb,var(--semantic-success) 55%,transparent)}.integrity-warning-toast{border-color:color-mix(in srgb,var(--semantic-danger) 65%,transparent)}@media(max-width:540px){.integrity-update-card{align-items:start;grid-template-columns:auto minmax(0,1fr)}.integrity-update-card button{grid-column:1 / -1;width:100%}.integrity-fact{align-items:flex-start}.integrity-fact strong{max-width:58%}}@media(prefers-reduced-motion:reduce){.integrity-history-toggle svg{transition:none}}html:has(.form-dialog-backdrop),body:has(.form-dialog-backdrop){overflow:hidden;overscroll-behavior:none}body{font-size:15px;line-height:1.4}.page{width:100%}.eyebrow,.form-section-label{color:var(--label-secondary);font-family:inherit;font-size:12px;font-weight:600;letter-spacing:.01em;text-transform:none}.page-title h1,.form-page-header h1{font-size:34px;font-weight:700;letter-spacing:-.035em;line-height:1.08}.page-title p,.form-page-header p,.editor-intro{color:var(--label-secondary);font-size:14px;line-height:1.48}.bottom-nav{background:var(--nav);height:calc(64px + env(safe-area-inset-bottom));justify-content:stretch;padding:4px max(8px,env(safe-area-inset-left)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-right))}.bottom-nav button{border-radius:10px;font-size:10px;font-weight:500;gap:2px;height:60px;min-width:44px;padding:4px 2px;transition:color var(--motion-fast) ease,background var(--motion-fast) ease,transform var(--motion-fast) ease}.bottom-nav button:active{opacity:1;transform:scale(.96)}.bottom-nav button.active svg{filter:none}.bottom-nav button[aria-current=page]{color:var(--accent)}.app-content{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.form-page-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;margin-bottom:30px}.form-page-header>div{min-width:0}.form-page-header h1{margin:0 0 7px}.form-page-header p{margin:0;max-width:600px}.form-page-header>.form-icon-button{order:-1}.form-section{margin-top:27px}.form-section>h2{color:var(--label-secondary);font-size:13px;font-weight:500;margin:0 16px 8px}.form-inset-group{background:var(--background-grouped);border-radius:var(--radius-medium);overflow:hidden}.form-section-footer{color:var(--label-secondary);font-size:12px;line-height:1.45;margin:8px 16px 0}.form-navigation-row{align-items:center;background:transparent;border-bottom:1px solid var(--separator-soft);display:flex;gap:12px;min-height:58px;padding:9px 14px;text-align:left;width:100%}.form-navigation-row:last-child{border-bottom:0}.form-navigation-row>svg{color:var(--label-tertiary);flex:0 0 auto}.form-row-icon{align-items:center;background:var(--accent);border-radius:7px;color:#fff;display:flex;height:29px;justify-content:center;width:29px}.form-row-copy{display:grid;flex:1;gap:2px;min-width:0}.form-row-copy strong{font-size:15px;font-weight:500}.form-row-copy small{color:var(--label-secondary);font-size:12px;line-height:1.35}.form-row-value{color:var(--label-secondary);font-size:14px}.form-switch-row{align-items:center;border-bottom:1px solid var(--separator-soft);cursor:pointer;display:flex;gap:14px;justify-content:space-between;min-height:58px;padding:7px 14px}.form-switch-row:last-child{border-bottom:0}.form-switch-row.is-disabled{cursor:not-allowed;opacity:.45}.form-switch-control{align-items:center;display:flex;flex:0 0 51px;height:44px;position:relative;width:51px}.form-switch-control input{height:44px;inset:0;margin:0;opacity:0;position:absolute;width:51px;z-index:2}.form-switch-control i{background:var(--control-track);border-radius:999px;box-shadow:inset 0 0 0 1px var(--surface-outline);height:31px;position:relative;transition:background var(--motion-fast) ease;width:51px}.form-switch-control i:after{background:#fff;border-radius:50%;box-shadow:0 2px 5px #0000005c;content:"";height:27px;left:2px;position:absolute;top:2px;transform:translate(0);transition:transform var(--motion-standard) var(--motion-spring);width:27px}.form-switch-control input:checked+i{background:var(--accent)}.form-switch-control input:checked+i:after{transform:translate(20px)}.form-switch-control input:focus-visible+i{outline:3px solid color-mix(in srgb,var(--accent),transparent 45%);outline-offset:3px}.toggle-row{min-height:58px}.toggle-row i{background:var(--control-track);border-radius:999px;height:31px;width:51px}.toggle-row i:after{background:#fff;box-shadow:0 2px 5px #00000047;height:27px;left:2px;top:2px;width:27px}.toggle-row input:checked+i:after{transform:translate(20px)}.toggle-row input:focus-visible+i{outline:3px solid color-mix(in srgb,var(--accent),transparent 45%);outline-offset:3px}.form-slider-row{border-bottom:1px solid var(--separator-soft);display:grid;gap:9px;padding:12px 14px 15px}.form-slider-row:last-child{border-bottom:0}.form-slider-row>label{align-items:baseline;display:flex;justify-content:space-between}.form-slider-row>label strong{font-size:15px;font-weight:500}.form-slider-row output{color:var(--accent);font-variant-numeric:tabular-nums;font-weight:600}.form-slider-control{align-items:center;display:flex;gap:12px;min-height:44px}.form-slider-control input[type=range]{appearance:none;background:transparent;height:44px;margin:0;width:100%}.form-slider-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--accent) 0 var(--slider-progress),var(--control-track) var(--slider-progress) 100%);border-radius:99px;height:4px}.form-slider-control input[type=range]::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;box-shadow:0 2px 7px #0006;height:28px;margin-top:-12px;width:28px}.form-slider-control input[type=range]::-moz-range-track{background:var(--control-track);border-radius:99px;height:4px}.form-slider-control input[type=range]::-moz-range-progress{background:var(--accent);border-radius:99px;height:4px}.form-slider-control input[type=range]::-moz-range-thumb{background:#fff;border:0;border-radius:50%;box-shadow:0 2px 7px #0006;height:28px;width:28px}.form-slider-exact{background:var(--background-elevated);border:1px solid var(--separator);border-radius:9px;color:var(--label-primary);min-height:40px;text-align:center;width:70px}.form-segmented-control,.habit-tabs,.habit-range-select{background:var(--background-elevated);border:0;border-radius:9px;display:flex;gap:2px;padding:2px}.form-segmented-control button,.habit-tabs button,.habit-range-select button{background:transparent;border-radius:7px;color:var(--label-secondary);flex:1;min-height:36px;transition:background var(--motion-fast),color var(--motion-fast)}.form-segmented-control button.is-selected,.habit-tabs button.active,.habit-range-select button.active{background:var(--background-grouped);box-shadow:0 1px 3px #0000003d;color:var(--label-primary)}.form-button,.start-button,.editor-primary,.editor-secondary,.editor-danger-link,.editor-warning-link,.editor-warning-button{align-items:center;border-radius:11px;display:inline-flex;font-size:14px;font-weight:600;gap:7px;justify-content:center;min-height:44px;padding:10px 16px;transition:filter var(--motion-fast),opacity var(--motion-fast),transform var(--motion-fast)}.form-button.primary,.start-button,.editor-primary{background:var(--accent);color:#fff}.form-button.secondary,.editor-secondary{background:var(--background-elevated);color:var(--label-primary)}.form-button.destructive,.editor-danger-link{background:var(--semantic-danger);color:#fff}.editor-warning-link,.editor-warning-button{background:color-mix(in srgb,var(--semantic-warning) 88%,#342a1d);color:#fff}.form-button.plain{background:transparent;color:var(--accent);padding-left:6px;padding-right:6px}.form-button:active,.start-button:active,.editor-primary:active,.editor-secondary:active{opacity:1;transform:scale(.98)}.form-button:disabled,.start-button:disabled,.editor-primary:disabled,.editor-secondary:disabled,.editor-warning-link:disabled,.editor-warning-button:disabled{cursor:not-allowed;opacity:.42}.form-spinner{animation:form-spin .8s linear infinite}@keyframes form-spin{to{transform:rotate(360deg)}}.form-icon-button{align-items:center;background:var(--background-elevated);border-radius:50%;color:var(--label-secondary);display:inline-flex;flex:0 0 44px;height:44px;justify-content:center;width:44px}.form-icon-button:disabled{opacity:.28}.private-access-page{max-width:560px}.private-access-page .page-title{margin-bottom:30px}.private-access-page .private-access-form{gap:14px;max-width:480px;padding:0}.private-access-page .private-access-form input{background:var(--background-grouped);border-color:var(--separator);border-radius:12px;min-height:48px;padding:0 13px}.private-access-page .private-access-form .editor-primary{margin-top:2px}.private-access-page .private-access-form .editor-primary:disabled{background:var(--background-elevated);color:var(--label-tertiary);opacity:1}.private-access-page .private-access-form .editor-notice{margin-top:14px}.form-status-badge{align-items:center;background:var(--background-elevated);border-radius:999px;color:var(--label-secondary);display:inline-flex;font-size:11px;font-weight:600;gap:4px;min-height:26px;padding:4px 8px}.form-status-badge.success{background:color-mix(in srgb,var(--semantic-success) 15%,transparent);color:var(--semantic-success)}.form-status-badge.warning{background:color-mix(in srgb,var(--semantic-warning) 15%,transparent);color:var(--semantic-warning)}.form-status-badge.danger{background:color-mix(in srgb,var(--semantic-danger) 15%,transparent);color:var(--semantic-danger)}.form-status-badge.accent{background:var(--accent-soft);color:var(--accent)}.form-metric{display:grid;gap:3px}.form-metric>span,.form-metric small{color:var(--label-secondary);font-size:12px}.form-metric>strong{font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.form-metric.positive small{color:var(--semantic-success)}.form-metric.negative small{color:var(--semantic-danger)}.form-empty-state{align-items:center;color:var(--label-secondary);display:grid;gap:7px;justify-items:center;padding:36px 20px;text-align:center}.form-empty-state strong{color:var(--label-primary)}.form-empty-state p{margin:0;max-width:340px}.form-inline-error{background:color-mix(in srgb,var(--semantic-danger) 12%,transparent);border-radius:10px;color:var(--semantic-danger);padding:10px 12px}.form-toast{background:var(--background-elevated);border:1px solid var(--separator);border-radius:13px;bottom:calc(80px + env(safe-area-inset-bottom));box-shadow:var(--shadow);left:16px;padding:12px 14px;position:fixed;right:16px;z-index:60}.form-dialog-backdrop{align-items:flex-end;background:#00000075;display:flex;inset:0;justify-content:center;padding:0;position:fixed;z-index:80}.form-adaptive-dialog{background:var(--background-elevated);border-radius:20px 20px 0 0;box-shadow:0 -10px 38px #00000042;max-height:min(88dvh,780px);outline:0;overflow:hidden;padding:8px 0 calc(12px + env(safe-area-inset-bottom));width:100%}.form-sheet-handle{background:var(--label-tertiary);border-radius:99px;height:5px;margin:0 auto 8px;width:36px}.form-adaptive-dialog>header{align-items:flex-start;display:flex;gap:14px;justify-content:space-between;padding:5px 16px 12px 20px}.form-adaptive-dialog>header>div{min-width:0}.form-adaptive-dialog h2{font-size:20px;letter-spacing:-.025em;margin:5px 0 2px}.form-adaptive-dialog header p{color:var(--label-secondary);font-size:13px;line-height:1.4;margin:0}.form-dialog-content{max-height:calc(88dvh - 105px - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:0 16px}.form-confirmation-actions{display:grid;gap:9px;grid-template-columns:1fr 1fr;padding-top:10px}.home-page{max-width:760px}.personal-home-header{align-items:center;display:flex;justify-content:space-between;margin:2px 0 28px}.personal-home-header span{color:var(--label-secondary);font-size:15px;text-transform:capitalize}.personal-home-header h1{font-size:34px;letter-spacing:-.04em;line-height:1.05;margin:2px 0 0;text-transform:capitalize}.home-system-notices{display:grid;gap:8px;margin-bottom:18px}.home-household-ready{align-items:flex-start;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 24%,var(--separator-soft));border-radius:var(--radius-large);display:grid;gap:12px;grid-template-columns:24px minmax(0,1fr);margin-bottom:18px;padding:15px}.home-household-ready>svg{color:var(--accent);margin-top:1px}.home-household-ready>div{display:grid;gap:4px;min-width:0}.home-household-ready strong{font-size:15px}.home-household-ready p,.home-household-ready small{color:var(--label-secondary);font-size:11px;line-height:1.45;margin:0}.home-household-ready .button-row{margin-top:6px}.home-household-ready .button-row button{margin-top:0;width:auto}.home-system-notices>button{align-items:center;background:var(--background-grouped);border-left:3px solid var(--semantic-warning);border-radius:12px;display:grid;gap:10px;grid-template-columns:22px minmax(0,1fr) auto;min-height:68px;padding:10px 12px;text-align:left;width:100%}.home-system-notices>button.danger{border-left-color:var(--semantic-danger)}.home-system-notices>button.warning>svg{color:var(--semantic-warning)}.home-system-notices>button.danger>svg{color:var(--semantic-danger)}.home-system-notices span{display:grid;gap:2px}.home-system-notices strong{font-size:14px}.home-system-notices small{color:var(--label-secondary);font-size:11px;line-height:1.35}.home-system-notices b{color:var(--accent);font-size:12px}.home-active-workout{align-items:center;background:var(--accent-soft);border-radius:var(--radius-large);display:grid;gap:13px;grid-template-columns:28px minmax(0,1fr) auto;margin-bottom:18px;padding:14px}.home-active-workout>svg{color:var(--accent)}.home-active-workout>div{display:grid;gap:2px}.home-active-workout span,.home-active-workout small{color:var(--label-secondary);font-size:11px}.home-active-workout strong{font-size:16px}.home-modules{display:grid;gap:22px}.home-module-column{display:contents}.home-module-slot{min-width:0}.home-empty-configuration{align-items:center;border-top:1px solid var(--separator-soft);color:var(--label-secondary);display:grid;gap:11px;grid-template-columns:32px minmax(0,1fr) auto;margin-top:18px;padding:18px 2px 0}.home-empty-configuration>svg{color:var(--accent-foreground)}.home-empty-configuration>span{display:grid;gap:3px}.home-empty-configuration strong{color:var(--label-primary);font-size:15px;font-weight:600}.home-empty-configuration small{font-size:12px;line-height:1.4}.home-empty-configuration button{color:var(--accent-foreground);font-size:13px;font-weight:600;min-height:44px;padding:6px 0 6px 12px}.form-home-module{min-width:0}.form-home-module>header{align-items:center;display:flex;justify-content:space-between;margin:0 2px 8px}.form-home-module>header>span{align-items:center;display:flex;gap:7px;min-width:max-content}.form-home-module>header svg{color:var(--accent)}.form-home-module h2{font-size:17px;letter-spacing:-.02em;margin:0;white-space:nowrap}.form-home-module>header>button{align-items:center;color:var(--accent);display:flex;flex:0 0 auto;font-size:13px;margin-left:auto;min-height:44px;padding:4px 0 4px 12px}.form-home-module>header+*{background:var(--background-grouped);border-radius:var(--radius-medium)}.compact-next-workout{align-items:center;display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;padding:12px}.compact-next-workout .workout-code{align-items:center;background:var(--accent-soft);border:0;border-radius:999px;color:var(--accent);display:inline-flex;font-size:10px;font-weight:750;height:auto;justify-content:center;line-height:1;padding:5px 7px;width:auto}.compact-next-workout>div{display:grid;gap:4px;min-width:0}.compact-next-workout-title{align-items:center;display:flex;gap:8px;min-width:0}.compact-next-workout-title>strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-next-workout>div>small{color:var(--label-secondary);font-size:11px;line-height:1.35}.home-habit-rows,.home-history-list{overflow:hidden}.home-habit-row{align-items:center;border-bottom:1px solid var(--separator-soft);display:flex;gap:11px;min-height:62px;padding:9px 12px}.home-habit-row:last-child{border-bottom:0}.home-habit-row>span:first-child{color:var(--accent);display:flex;width:28px}.home-habit-row>div{display:grid;flex:1;gap:2px}.home-habit-row small{color:var(--label-secondary);font-size:11px}.home-metrics{display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.home-metrics>span{display:grid;gap:1px;padding:14px}.home-metrics>span+span{border-left:1px solid var(--separator-soft)}.home-metrics strong{font-size:27px;letter-spacing:-.04em}.home-metrics small{color:var(--label-secondary);font-size:11px}.home-progress-copy,.home-module-description{display:grid;gap:3px;margin:0;padding:14px}.home-progress-copy span,.home-module-description{color:var(--label-secondary);font-size:12px}.home-recent-row{align-items:center;background:transparent;display:grid;gap:10px;grid-template-columns:42px minmax(0,1fr) 18px;min-height:67px;padding:9px 11px;text-align:left;width:100%}.home-recent-row+.home-recent-row{border-top:1px solid var(--separator-soft)}.home-recent-row time{align-items:center;background:var(--background-elevated);border-radius:9px;display:grid;height:44px;justify-items:center;padding:4px}.home-recent-row time strong{line-height:1}.home-recent-row time small{color:var(--label-secondary);font-size:9px;text-transform:capitalize}.home-recent-row>span{display:grid;gap:3px;min-width:0}.home-recent-row>span>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-recent-row>span>small{color:var(--label-secondary);font-size:10px}.home-recent-row>svg{color:var(--label-tertiary)}.all-sections-list{background:var(--background-grouped);border-radius:14px;overflow:hidden}.all-sections-list>button{align-items:center;background:transparent;border-bottom:1px solid var(--separator-soft);display:flex;gap:12px;min-height:60px;padding:8px 12px;text-align:left;width:100%}.all-sections-list>button:last-child{border-bottom:0}.all-sections-list>button>svg:first-child{color:var(--accent)}.all-sections-list>button>span{display:grid;flex:1;gap:2px}.all-sections-list small{color:var(--label-secondary)}.all-sections-list>button>svg:last-child{color:var(--label-tertiary)}.workout-picker-dialog .launch-choice{margin-bottom:12px}.workout-picker-dialog .picker-list{max-height:52dvh;overflow:auto}.form-settings-page{max-width:720px}.form-reset-row{align-items:center;background:transparent;color:var(--semantic-danger);display:flex;gap:10px;min-height:54px;padding:8px 14px;width:100%}.preference-order-list{list-style:none;margin:0;padding:0}.preference-order-list>li{align-items:center;border-bottom:1px solid var(--separator-soft);display:grid;gap:9px;grid-template-columns:24px minmax(0,1fr) auto;min-height:64px;padding:6px 8px 6px 12px;transition:opacity var(--motion-fast),transform var(--motion-fast)}.preference-order-list>li:last-child{border-bottom:0}.preference-order-list>li.is-dragging{opacity:.48;transform:scale(.99)}.preference-drag-handle{color:var(--label-tertiary);cursor:grab}.preference-order-list>li>span{font-size:15px;font-weight:500}.preference-order-list>li>div{display:flex}.preference-order-list .form-icon-button{background:transparent;flex-basis:44px}.preference-order-list .form-icon-button:last-child{color:var(--semantic-danger)}.preference-empty-copy{color:var(--label-secondary);font-size:13px;margin:0;padding:18px 14px}.preference-available-list{display:grid}.preference-available-list>button{align-items:center;background:transparent;border-bottom:1px solid var(--separator-soft);color:var(--accent);display:flex;gap:11px;min-height:54px;padding:8px 14px;text-align:left}.preference-available-list>button:last-child{border-bottom:0}.preference-available-list>button:disabled{color:var(--label-tertiary);cursor:not-allowed}.preference-available-list span{color:var(--label-primary)}.tab-structure-preview{align-items:center;background:var(--background-grouped);border-radius:14px;display:flex;gap:6px;margin-bottom:8px;overflow:auto;padding:9px}.tab-structure-preview>span{align-items:center;color:var(--label-secondary);display:flex;flex:1 0 auto;flex-direction:column;font-size:10px;gap:2px;min-height:52px;justify-content:center;min-width:64px}.tab-structure-preview>span:first-child,.tab-structure-preview>span:last-child{color:var(--accent)}.tab-structure-preview small{color:var(--label-tertiary);font-size:8px}.tab-structure-preview>i{background:var(--separator);height:26px;width:1px}.preference-recommended-reset{margin:14px 6px}.accent-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}.accent-palette>button{align-items:center;background:transparent;border-radius:10px;display:flex;gap:9px;min-height:48px;padding:7px 9px;text-align:left}.accent-palette>button.is-selected{background:var(--background-elevated)}.accent-palette>button>span{flex:1}.accent-palette>button>svg{color:var(--accent)}.accent-swatch{background:#7d9fba;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff2e;height:24px;width:24px}.accent-swatch.indigo{background:#898dac}.accent-swatch.purple{background:#9d859f}.accent-swatch.pink{background:#ad828b}.accent-swatch.mint{background:#7fa395}.accent-swatch.orange{background:#ad9274}.habit-streak-grid,.home-streaks{display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.home-streaks{background:transparent!important;margin:0}.habit-streak-card{align-items:center;background:var(--background-grouped);border-radius:var(--radius-medium);display:flex;gap:12px;min-height:96px;padding:13px}.habit-streak-icon{align-items:center;background:color-mix(in srgb,var(--habit-alcohol) 14%,transparent);border-radius:13px;color:var(--habit-alcohol);display:flex;flex:0 0 54px;height:54px;justify-content:center}.habit-streak-card.snacks .habit-streak-icon{background:color-mix(in srgb,var(--habit-snacks) 14%,transparent);color:var(--habit-snacks)}.habit-streak-card>div{display:grid;gap:1px;min-width:0}.habit-streak-card>div>span{color:var(--label-secondary);font-size:11px}.habit-streak-card strong{font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:-.05em;line-height:1.08}.habit-streak-card strong small{color:var(--label-secondary);font-size:12px;font-weight:500;letter-spacing:0}.habit-streak-card p{color:var(--label-secondary);font-size:10px;margin:1px 0 0}.habit-streak-card.compact{min-height:82px}.habit-streak-card.compact .habit-streak-icon{flex-basis:44px;height:44px}.habit-streak-card.compact strong{font-size:24px}.habit-stats-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.habit-group.alcohol .habit-illustration,.habit-counter-icon .habit-illustration,.habit-readonly-row svg{color:var(--habit-alcohol)}.habit-group.snack .habit-illustration{color:var(--habit-snacks)}.habits-calendar-grid button.alcohol i,.habit-calendar-legend .alcohol,.marker.alcohol_logged{background:var(--habit-alcohol)}.habits-calendar-grid button.snacks i,.habit-calendar-legend .snacks,.marker.snacks_logged{background:var(--habit-snacks)}.habit-bars i.has-value{background:linear-gradient(180deg,var(--habit-alcohol),var(--habit-snacks))}.settings-list{background:var(--background-grouped);border:0;border-radius:var(--radius-medium);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);margin-top:8px}.settings-group>.eyebrow{margin-left:15px}.settings-action{min-height:62px;padding:9px 14px}.settings-action strong{font-size:15px;font-weight:500}.settings-action small{font-size:12px}.setting-row{min-height:58px;padding:0 14px}.setting-row>span{font-size:15px}.sync-row>input[type=checkbox]{appearance:none;background:var(--control-track) radial-gradient(circle,#fff 0 12px,transparent 13px) no-repeat 2px 2px/27px 27px;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px var(--surface-outline);flex:0 0 51px;height:31px;margin:0;min-width:51px;transition:background-color var(--motion-fast),background-position var(--motion-standard) var(--motion-spring)}.sync-row>input[type=checkbox]:checked{background-color:var(--accent);background-position:22px 2px}.sync-row>input[type=checkbox]:focus-visible{outline:3px solid color-mix(in srgb,var(--accent),transparent 45%);outline-offset:3px}.history-exercises article,.exercise-library>button,.progress-ring-card,.habit-group,.habits-calendar,.habit-calendar-detail,.backup-current-data,.backup-summary,.backup-list,.offline-access-card,.security-card{border-color:transparent;box-shadow:none}.sheet-backdrop{background:#00000075}.picker-sheet,.completion-sheet,.settings-sheet{background:var(--background-elevated);border-radius:20px 20px 0 0;max-height:88dvh;overflow:auto;padding-bottom:calc(16px + env(safe-area-inset-bottom))}@media(max-width:560px){.page{padding-left:16px;padding-right:16px}.compact-next-workout{align-items:start;grid-template-columns:1fr}.compact-next-workout .form-button{width:100%}.home-active-workout{grid-template-columns:24px minmax(0,1fr)}.home-active-workout .form-button{grid-column:1/-1;width:100%}.habit-streak-grid,.home-streaks,.habit-stats-hero-grid,.form-confirmation-actions{grid-template-columns:1fr}}@media(min-width:700px){.form-dialog-backdrop{align-items:center;padding:24px}.form-adaptive-dialog{border-radius:20px;max-height:min(82dvh,720px);max-width:520px;padding-bottom:12px}.form-sheet-handle{display:none}.form-dialog-content{max-height:calc(82dvh - 100px)}.form-toast{bottom:24px;left:50%;max-width:480px;right:auto;transform:translate(-50%);width:calc(100% - 48px)}}@media(min-width:820px){.desktop-nav{background:var(--nav);width:236px}.desktop-nav .bottom-nav{margin-top:34px}.desktop-nav .bottom-nav button{font-size:14px;font-weight:500;height:48px}.desktop-nav .bottom-nav button.active{background:var(--accent-soft)}.app-content{margin-left:236px;padding:0 48px;width:calc(100% - 236px)}.page{max-width:980px;padding-top:54px}.home-page,.settings-page,.form-settings-page{max-width:760px}.personal-home-header{margin-top:0}}@media(prefers-reduced-motion:reduce){.form-spinner{animation:none}.form-switch-control i,.form-switch-control i:after,.preference-order-list>li,.bottom-nav button{transition:none}}.page{margin-inline:auto}.form-button.primary,.start-button,.complete-set,.finish-workout,.editor-primary,.sync-login button,.programme-footer .save-programme,.completion-actions button:last-child,.habit-alcohol-status.actionable button{background:linear-gradient(135deg,var(--accent-dark),color-mix(in srgb,var(--accent-dark) 72%,var(--accent)))}.form-button.primary:hover,.start-button:hover,.complete-set:hover,.finish-workout:hover,.editor-primary:hover{filter:brightness(1.08)}.form-button.secondary,.editor-secondary{border:0}.form-button.plain,.text-action,.habits-settings-link,.analytics-heading>button{color:var(--accent)}.form-row-icon{background:var(--background-elevated);color:var(--label-secondary)}.settings-action>svg:first-child,.sync-row>svg,.all-sections-list>button>svg:first-child,.form-home-module>header svg,.home-habit-row>span:first-child,.analytics-link-card>svg:first-child,.records-list svg,.chart-heading>svg,.progress-tip svg{color:var(--label-secondary)}.settings-action.danger>svg:first-child,.settings-action.danger strong{color:var(--semantic-danger)}.form-home-module>header>button{background:var(--background-elevated);border-radius:999px;color:var(--label-secondary);font-size:12px;min-height:44px;padding:5px 10px}.home-active-workout{background:var(--background-grouped);border-radius:var(--radius-medium);box-shadow:inset 3px 0 0 var(--accent)}.compact-next-workout .workout-code{background:var(--selection-surface)}.habit-tabs,.form-segmented-control,.habit-range-select,.period-selector{background:var(--background-elevated);border:0;border-radius:10px;gap:2px;padding:3px}.habit-tabs{display:flex;margin:0 0 22px}.habit-tabs button{border-radius:8px;min-height:36px;padding:0 10px}.habit-tabs button.active:after{content:none}.habit-tabs button.active,.form-segmented-control button.is-selected,.habit-range-select button.active,.period-selector button.active,.analytics-nav button.active,.metric-tabs button.active,.exercise-strip button.active,.weekday-picker button.active,.launch-choice button.selected,.template-tabs button.active,.habits-calendar-grid button.selected,.accent-palette>button.is-selected{background:linear-gradient(135deg,var(--selection-surface),color-mix(in srgb,var(--selection-surface) 82%,var(--background-grouped)));border-color:transparent;box-shadow:none;color:var(--accent-foreground)}.bottom-nav button[aria-current=page],.desktop-nav .bottom-nav button.active{color:var(--accent-foreground)}.desktop-nav .bottom-nav button.active{background:linear-gradient(100deg,var(--selection-surface),color-mix(in srgb,var(--selection-surface) 70%,var(--nav)));box-shadow:none}.exercise-strip button,.weekday-picker button,.launch-choice button,.template-tabs button{border-color:transparent}.form-reset-row,.preference-order-list .preference-remove,.preference-order-list .form-icon-button:last-child{color:var(--label-secondary)}.discard-action,.history-import-detail .discard-action,.finish-sheet .discard-action,.completion-actions .discard-action{background:var(--semantic-danger)!important;color:#fff}.completion-actions button.editor-warning-button{background:color-mix(in srgb,var(--semantic-warning) 88%,#342a1d);color:#fff}.finish-sheet>.outline-action{background:color-mix(in srgb,var(--semantic-danger) 10%,transparent);border:0;color:var(--semantic-danger)}.editor-danger-link{color:#fff}.editor-danger-link:disabled{color:#fff;cursor:not-allowed;opacity:.52}.habit-group,.habits-calendar,.habit-calendar-detail,.habit-trend,.habit-donut-section,.stats-streak-card,.alcohol-free-ring-card,.habit-stat-card{border:0;box-shadow:none}.habit-calendar-detail .habit-group{background:transparent;border-radius:0}.habit-streak-icon,.habit-donut-cards>div>span,.habit-counter-icon{background:var(--background-elevated);color:var(--label-secondary)}.habit-streak-card.snacks .habit-streak-icon,.habit-group.alcohol .habit-illustration,.habit-counter-icon .habit-illustration,.habit-readonly-row svg,.habit-group.snack .habit-illustration{color:var(--label-secondary)}.habit-stat-card.alcohol strong,.habit-stat-card.snack strong{color:var(--label-primary)}.habit-bars i.has-value{background:var(--chart-secondary)}.habit-yesterday-actions{background:var(--background-grouped);border:0}.habit-yesterday-action>span,.habit-alcohol-status.actionable{background:var(--background-elevated)}.habit-yesterday-action>span,.habit-yesterday-action.actionable b{color:var(--label-secondary)}.habit-stepper button:disabled{background:var(--background-elevated);color:var(--label-secondary);opacity:.55}.habit-zero-trend svg,.habit-donut-zero svg{color:var(--label-secondary)}.habit-stats-view,.habit-stats-hero-grid{gap:16px}.analytics-content{display:grid;gap:18px}.analytics-hero,.analytics-metrics>div,.analytics-metrics .analytics-metric,.analytics-link-card,.analytics-list>button,.exercise-latest,.workout-analytics-hero,.muscle-analytics-list button,.muscle-detail-hero,.chart-card,.records-list button,.session-list button{border:0;box-shadow:none}.analytics-section{background:var(--background-grouped);border:0;border-radius:var(--radius-medium);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);margin-top:0;padding:16px}.analytics-metrics{gap:12px;margin-top:0}.analytics-metric.up>small,.analytics-metric.new>small,.analytics-metric.down>small{color:var(--label-secondary)}.rep-distribution .below b{color:var(--semantic-warning)}.rep-distribution span:not(.below):not(.top):not(.above) b{color:var(--semantic-success)}.rep-distribution .top b{color:var(--accent-foreground)}.rep-distribution .above b{color:var(--semantic-info)}.rep-heatmap i.target{background:color-mix(in srgb,var(--semantic-success) 17%,var(--background-elevated));color:var(--semantic-success)}.rep-heatmap i.top{background:var(--selection-surface);color:var(--accent-foreground)}.rep-heatmap i.below{background:color-mix(in srgb,var(--semantic-warning) 17%,var(--background-elevated));color:var(--semantic-warning)}.muscle-bars em,.muscle-analytics-list em{background:linear-gradient(90deg,var(--accent),var(--accent-complement))}.family-activity-list{display:grid}.family-activity-row{display:grid;gap:5px;min-width:0;padding:14px}.family-activity-row+.family-activity-row{border-top:1px solid var(--separator-soft)}.family-activity-row strong{font-size:13px;font-weight:500;line-height:1.42;overflow-wrap:anywhere}.family-activity-row time{color:var(--label-secondary);font-size:11px;font-variant-numeric:tabular-nums}.family-activity-page .editor-notice{background:transparent;border:0;padding:18px 14px}.icon-button,.info-button{border:0}.exercise-visual-row,.log-set-panel,.overview-exercise{border:0;box-shadow:none}.overview-exercise.current{background:var(--selection-surface);box-shadow:inset 3px 0 0 var(--accent)}.rest-timer{border:0}.sheet-backdrop,.form-dialog-backdrop{background:#050708bd;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.picker-sheet,.finish-sheet,.editor-sheet,.machine-sheet,.exercise-info-sheet,.completion-sheet,.settings-sheet,.form-adaptive-dialog{background:var(--background-elevated);border:0;box-shadow:0 24px 70px #00000080}.settings-overview-grid{display:grid;gap:24px}.settings-overview-column{display:contents}.settings-overview-slot{min-width:0}.settings-overview-slot>.settings-group{margin-top:0;min-width:0}@media(min-width:700px){.habits-calendar-layout{grid-template-columns:minmax(0,1fr)}.habit-calendar-detail{max-height:none;overflow:visible;position:static}.habit-calendar-detail .habit-group>header{min-height:54px;padding:9px 12px}.habit-calendar-detail .habit-counter{grid-template-columns:36px minmax(0,1fr) 112px;min-height:56px;padding:6px 10px}.habit-calendar-detail .habit-counter-icon{height:35px;width:35px}.habit-calendar-detail .habit-counter-icon .habit-illustration{height:31px;width:31px}.habit-calendar-detail .habit-stepper{height:34px}.habit-calendar-detail .habit-stepper button{width:34px}.habit-calendar-detail .habit-alcohol-status{min-height:52px;padding:8px 10px}}@media(min-width:820px){.app-content{padding-inline:clamp(32px,5vw,72px)}.page,.home-page,.habits-page,.analytics-page{max-width:1120px}.settings-page{max-width:1040px}.form-settings-page,.editor-page{max-width:960px}.exercise-focus{max-width:920px}.workout-overview{max-width:860px}}@media(min-width:1080px){.home-modules{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.home-module-column{align-content:start;display:grid;gap:24px;min-width:0}.settings-overview-grid{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-overview-column{align-content:start;display:grid;gap:24px;min-width:0}}@media(min-width:1180px){.habits-calendar-layout{grid-template-columns:minmax(460px,1.15fr) minmax(330px,.85fr)}.habit-calendar-detail{position:static}.habit-stats-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-content-overview{align-items:start;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}.analytics-content-overview>.analytics-hero{grid-column:1}.analytics-content-overview>.analytics-metrics{align-self:stretch;grid-column:2;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.analytics-content-overview>.analytics-metrics .analytics-metric{align-content:center;height:100%}.analytics-content-overview>.analytics-section{grid-column:1/-1}}@media(max-width:420px){.home-habit-row{display:grid;gap:5px 11px;grid-template-columns:28px minmax(0,1fr)}.home-habit-row>span:first-child{grid-row:1 / span 2}.home-habit-row>.form-status-badge{grid-column:2;justify-self:start;max-width:100%}.habit-counter,.habit-calendar-detail .habit-counter{grid-template-columns:40px minmax(0,1fr) 116px}.analytics-section{padding:14px}}.form-inset-group,.form-home-module>header+*,.all-sections-list,.tab-structure-preview,.habit-streak-card,.analytics-hero,.analytics-metrics>div,.analytics-metrics .analytics-metric,.analytics-list>button,.exercise-latest,.workout-analytics-hero,.muscle-analytics-list button,.muscle-detail-hero,.records-list button,.session-list button,.backup-current-data,.backup-summary,.backup-list,.offline-access-card,.security-card,.exercise-visual-row,.log-set-panel,.overview-exercise{box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow)}.home-active-workout{box-shadow:inset 3px 0 0 var(--accent),inset 0 0 0 1px var(--surface-outline),var(--surface-shadow)}.integrity-page>.settings-group{background:var(--background-grouped);border-radius:var(--radius-medium);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);margin-top:0;overflow:hidden}.integrity-page>.settings-group>h2{font-size:13px;margin:0;padding:13px 13px 4px}.settings-list>.settings-action:has(+.pwa-icon-note){border-bottom:0}.pwa-icon-note{border-top:1px solid var(--separator-soft)}#form-boot{background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 17rem),var(--bg)}#form-boot span,.wordmark span{color:var(--accent-foreground)}#form-boot i:after,.form-welcome i:after{background:linear-gradient(90deg,var(--accent-dark),var(--accent))}.settings-page .settings-action>svg:first-child,.form-home-module>header svg,.analytics-link-card>svg:first-child,.records-list svg,.chart-heading>svg,.progress-tip svg,.muscle-detail-hero>svg{color:var(--accent-foreground)}.analytics-heading>button,.form-button.plain,.text-action,.habits-settings-link{color:var(--accent-foreground)}.habits-settings-link,.habit-tabs button,.habit-range-select button,.habits-calendar-grid button,.habit-clear-day,.habits-date-heading>button{min-height:44px}.habit-stepper{height:44px}.habit-stepper button{min-width:44px;width:44px}.analytics-nav button,.period-selector button,.ring-legend button,.analytics-heading>button,.rep-heatmap button,.records-list button,.session-list button{min-height:44px}.period-selector button,.analytics-nav button:last-child{min-width:44px}.progress-rings:not(.compact) .ring-legend button{min-height:44px}.editor-secondary.compact,.history-add-button,.weekday-picker button,.launch-choice button,.appearance-options button,.workout-title-button,.workout-topbar .text-action,.skip-set,.add-set,.outline-action,.exercise-action-menu button,.active-resume{min-height:44px}.stepper-control>button{min-width:44px;width:44px}.stepper-control input{min-height:44px}.logged-set.edit button{height:44px;width:44px}.logged-set.edit input{min-height:44px}.compact-next-workout .workout-code,.analytics-list-icon{color:var(--accent-foreground)}.analytics-hero{background:radial-gradient(circle at 38% 34%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 19rem),var(--background-grouped)}.chart-card{background:linear-gradient(155deg,color-mix(in srgb,var(--accent) 5%,var(--background-grouped)),var(--background-grouped) 46%);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow)}.work-breakdown span:first-child strong{color:var(--accent-foreground)}.work-breakdown span:nth-child(2) strong{color:var(--semantic-success)}.work-breakdown span:nth-child(3) strong{color:var(--semantic-warning)}.ring-track{stroke:color-mix(in srgb,var(--background-elevated) 88%,var(--separator))}.protection-overview{display:grid}.protection-row{align-items:center;border-bottom:1px solid var(--separator-soft);display:grid;gap:11px;grid-template-columns:34px minmax(0,1fr) auto;min-height:67px;padding:9px 13px}.protection-row:last-child{border-bottom:0}.protection-icon{align-items:center;background:var(--background-elevated);border-radius:9px;color:var(--label-secondary);display:flex;height:34px;justify-content:center;width:34px}.protection-icon.accent{background:var(--accent-soft);color:var(--accent-foreground)}.protection-icon.success{background:color-mix(in srgb,var(--semantic-success) 15%,var(--background-elevated));color:var(--semantic-success)}.protection-icon.warning{background:color-mix(in srgb,var(--semantic-warning) 16%,var(--background-elevated));color:var(--semantic-warning)}.protection-icon.danger{background:color-mix(in srgb,var(--semantic-danger) 15%,var(--background-elevated));color:var(--semantic-danger)}.protection-copy{display:grid;gap:3px;min-width:0}.protection-copy strong{font-size:14px;font-weight:550}.protection-copy small{color:var(--label-secondary);font-size:11px;line-height:1.4}.protection-state{background:var(--background-elevated);border-radius:999px;color:var(--label-secondary);font-size:10px;font-weight:650;padding:4px 7px}.protection-state.accent{background:var(--accent-soft);color:var(--accent-foreground)}.protection-state.success{background:color-mix(in srgb,var(--semantic-success) 14%,transparent);color:var(--semantic-success)}.protection-state.warning{background:color-mix(in srgb,var(--semantic-warning) 14%,transparent);color:var(--semantic-warning)}.protection-state.danger{background:color-mix(in srgb,var(--semantic-danger) 14%,transparent);color:var(--semantic-danger)}.setting-inline-message.app-lock-message-error{background:color-mix(in srgb,var(--semantic-danger) 13%,var(--background-grouped));border-color:var(--semantic-danger);color:var(--semantic-danger)}@media(max-width:420px){.protection-row{grid-template-columns:32px minmax(0,1fr)}.protection-state{grid-column:2;justify-self:start}}.habit-streak-icon,.habit-donut-cards>div>span,.habit-counter-icon{background:color-mix(in srgb,currentColor 11%,var(--background-elevated))}.habit-streak-card.alcohol .habit-streak-icon,.habit-group.alcohol .habit-illustration,.habit-group.alcohol .habit-counter-icon .habit-illustration,.habit-readonly>section.alcohol .habit-readonly-row svg{color:var(--habit-alcohol)}.habit-streak-card.snacks .habit-streak-icon,.habit-group.snack .habit-illustration,.habit-group.snack .habit-counter-icon .habit-illustration,.habit-readonly>section.snacks .habit-readonly-row svg{color:var(--habit-snacks)}.habit-readonly-statuses{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.habit-readonly-status{background:var(--background-elevated);min-width:0}.habit-readonly-status .marker.confirmed_no_snacks{background:var(--semantic-success)}.habit-readonly-status .marker.snacks_logged{background:var(--habit-snacks);border-radius:2px;transform:rotate(45deg)}.habits-calendar-grid button .habit-calendar-markers{align-items:center;bottom:5px;display:flex;gap:4px;justify-content:center;left:50%;position:absolute;transform:translate(-50%)}.habits-calendar-grid button .habit-calendar-markers i{border-radius:50%;display:block;height:5px;position:static;transform:none;width:5px}.habits-calendar-grid button .habit-calendar-markers i.snacks{border-radius:1px;transform:rotate(45deg)}.habits-calendar-grid button .habit-calendar-markers i.confirmed{background:var(--semantic-success)}.habits-calendar-grid button .habit-calendar-markers i.alcohol.logged,.habit-calendar-legend i.alcohol.logged{background:var(--habit-alcohol)}.habits-calendar-grid button .habit-calendar-markers i.snacks.logged,.habit-calendar-legend i.snacks.logged{background:var(--habit-snacks)}.habits-calendar-grid button .habit-calendar-markers i.unconfirmed{background:var(--label-tertiary)}.habit-calendar-legend i.snacks.logged{border-radius:1px;transform:rotate(45deg)}.habit-stats-view{gap:16px}.habit-completion-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.habit-completion-card{--habit-tone:var(--habit-alcohol);background:linear-gradient(145deg,color-mix(in srgb,var(--habit-tone) 7%,var(--background-grouped)),var(--background-grouped) 52%);border-radius:var(--radius-large);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);display:grid;gap:14px;min-width:0;padding:16px}.habit-completion-card.snacks{--habit-tone:var(--habit-snacks)}.habit-completion-card>header{align-items:center;display:flex;gap:10px}.habit-completion-card>header>span:last-child{display:grid;gap:2px}.habit-completion-card h2{font-size:17px;letter-spacing:-.03em;margin:0}.habit-completion-icon{align-items:center;background:color-mix(in srgb,var(--habit-tone) 14%,var(--background-elevated));border-radius:12px;color:var(--habit-tone);display:flex;flex:0 0 44px;height:44px;justify-content:center}.habit-completion-icon svg{height:34px;width:34px}.habit-completion-summary{align-items:end;display:flex;gap:10px;justify-content:space-between}.habit-completion-summary strong{color:var(--habit-tone);font-size:36px;font-variant-numeric:tabular-nums;letter-spacing:-.06em;line-height:1}.habit-completion-summary>span{color:var(--label-secondary);font-size:11px;line-height:1.35;max-width:145px;text-align:right}.habit-completion-bar{background:var(--background-elevated);border-radius:999px;display:flex;height:9px;overflow:hidden}.habit-completion-bar>i{flex-basis:0;min-width:0}.habit-completion-bar>.confirmed{background:var(--semantic-success)}.habit-completion-bar>.logged{background:var(--habit-tone)}.habit-completion-bar>.unconfirmed{background:var(--label-tertiary)}.habit-completion-legend{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.habit-completion-legend>span{align-items:center;color:var(--label-secondary);display:flex;font-size:9px;gap:5px;min-width:0}.habit-completion-legend i,.habit-trend-legend i{background:var(--label-tertiary);border-radius:50%;display:block;flex:0 0 6px;height:6px;width:6px}.habit-completion-legend i.confirmed{background:var(--semantic-success)}.habit-completion-legend i.logged{background:var(--habit-tone)}.habit-completion-legend b{color:var(--label-primary);font-variant-numeric:tabular-nums;margin-left:auto}.habit-completion-card>footer{border-top:1px solid var(--separator-soft);display:grid;gap:12px;grid-template-columns:1fr 1fr;padding-top:12px}.habit-completion-card>footer>span{display:grid;gap:3px}.habit-completion-card>footer small{color:var(--label-secondary);font-size:9px}.habit-completion-card>footer strong{font-size:12px;font-variant-numeric:tabular-nums;font-weight:600}.habit-volume-summary{background:var(--background-grouped);border-radius:var(--radius-medium);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.habit-volume-summary .habit-stat-card{background:transparent;border-radius:0;min-height:86px;padding:14px 16px}.habit-volume-summary .habit-stat-card+.habit-stat-card{border-left:1px solid var(--separator-soft)}.habit-volume-summary .habit-stat-card strong{color:var(--label-primary);font-size:26px}.habit-trend,.habit-donut-section{background:var(--background-grouped);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow)}.habit-trend{padding:16px}.habit-trend-legend{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.habit-trend-legend small{align-items:center;color:var(--label-secondary);display:flex;font-size:9px;gap:5px}.habit-trend-legend i.alcohol{background:var(--habit-alcohol)}.habit-trend-legend i.snacks{background:var(--habit-snacks);border-radius:1px;transform:rotate(45deg)}.habit-bars .habit-bar-stack{align-self:end;background:var(--background-elevated);border-radius:6px 6px 2px 2px;display:flex;flex-direction:column-reverse;min-height:4px;overflow:hidden;transition:height var(--motion-standard) var(--motion-spring);width:min(100%,34px)}.habit-bars .habit-bar-stack.has-value{background:var(--background-elevated)}.habit-bars .habit-bar-stack>b{flex-basis:0;min-height:2px;width:100%}.habit-bars .habit-bar-stack>b.alcohol{background:var(--habit-alcohol)}.habit-bars .habit-bar-stack>b.snacks{background:var(--habit-snacks)}.habit-donut-cards>div>span{background:color-mix(in srgb,currentColor 10%,var(--background-elevated))}@media(max-width:699px){.habit-completion-grid,.habit-composition-grid{grid-template-columns:1fr}}@media(max-width:420px){.habit-completion-card{padding:14px}.habit-completion-summary strong{font-size:32px}.habit-completion-legend{gap:5px}.habit-completion-legend>span{display:grid;grid-template-columns:6px minmax(0,1fr)}.habit-completion-legend b{grid-column:2;margin-left:0}.habit-readonly-statuses{grid-template-columns:1fr}}.icon-button,.info-button,.sheet-close,.calendar-nav .icon-button,.pwa-update-toast .icon-button{height:44px;width:44px}.machine-segment button,.calendar-view-toggle button,.timer-actions button,.exercise-strip button{min-height:44px}@media(max-width:420px){.home-empty-configuration{align-items:start;grid-template-columns:28px minmax(0,1fr)}.home-empty-configuration button{grid-column:2;justify-self:start;padding-left:0}}:root{--habit-grid:rgba(154,163,170,.18);--habit-cake:#c69a5f;--habit-ice-cream:#9b8eb8;--habit-crisps:#b78c4b;--habit-candy:#b9798b;--habit-beer:#73a5a0;--habit-strong-beer:#568e91;--habit-wine:#9d6d82;--habit-spirits:#7194b4}:root[data-theme=light]{--habit-grid:rgba(55,69,80,.14);--habit-cake:#9f6d2f;--habit-ice-cream:#74679a;--habit-crisps:#946a27;--habit-candy:#975466;--habit-beer:#397b76;--habit-strong-beer:#286b70;--habit-wine:#7f465d;--habit-spirits:#456f96}@media(prefers-color-scheme:light){:root[data-theme=system]{--habit-grid:rgba(55,69,80,.14);--habit-cake:#9f6d2f;--habit-ice-cream:#74679a;--habit-crisps:#946a27;--habit-candy:#975466;--habit-beer:#397b76;--habit-strong-beer:#286b70;--habit-wine:#7f465d;--habit-spirits:#456f96}}.cardio-activity-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}.cardio-activity-grid button{align-items:center;background:var(--background-grouped);border-radius:12px;box-shadow:inset 0 0 0 1px var(--surface-outline);display:grid;gap:7px;justify-items:center;min-height:86px;min-width:0;padding:10px 6px;text-align:center}.cardio-activity-grid button>span,.cardio-activity-icon,.cardio-prescription-icon,.cardio-breakdown-icon{align-items:center;background:var(--selection-surface);border-radius:10px;color:var(--accent-foreground);display:flex;flex:0 0 auto;height:36px;justify-content:center;width:36px}.cardio-activity-grid strong{font-size:11px;font-weight:600;line-height:1.25}.cardio-activity-grid.compact button{min-height:74px}.cardio-workout-mode{min-height:100dvh}.cardio-workout-body{margin:0 auto;max-width:680px;padding:22px 20px calc(40px + env(safe-area-inset-bottom))}.cardio-active-card{background:var(--background-grouped);border-radius:var(--radius-large);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);display:grid;gap:17px;min-width:0;padding:18px}.cardio-active-card>header{align-items:center;display:flex;gap:11px;min-width:0}.cardio-active-card>header>div{display:grid;gap:2px;min-width:0}.cardio-active-card h1{font-size:23px;letter-spacing:-.045em;line-height:1.1;margin:0}.cardio-active-card>header small{color:var(--label-secondary);font-size:10px}.cardio-complete-mark{color:var(--semantic-success);margin-left:auto}.cardio-timer{align-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 8%,var(--background-elevated)),var(--background-elevated));border-radius:16px;display:grid;justify-items:center;min-height:120px;padding:15px}.cardio-timer strong{font-size:46px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.055em;line-height:1}.cardio-timer span{color:var(--label-secondary);font-size:10px;margin-top:7px}.cardio-timer-actions{display:grid;gap:8px;grid-template-columns:1.3fr 1fr 1.15fr}.cardio-timer-actions button,.cardio-continue{align-items:center;border-radius:12px;display:flex;font-size:12px;font-weight:700;gap:6px;justify-content:center;min-height:46px;padding:8px}.cardio-start,.cardio-pause,.cardio-continue{background:var(--accent);color:#fff}.cardio-reset{background:var(--background-elevated);color:var(--label-secondary)}.cardio-finish{background:color-mix(in srgb,var(--semantic-success) 18%,var(--background-elevated));color:var(--semantic-success)}.cardio-timer-actions button:disabled{cursor:not-allowed;opacity:.4}.cardio-duration-toggle,.side-expander{color:var(--accent-foreground);font-size:11px;font-weight:650;justify-self:start;min-height:44px;padding:4px 0}.cardio-duration-editor{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.cardio-duration-editor label,.cardio-metrics>label,.cardio-notes{color:var(--label-secondary);display:grid;font-size:10px;gap:6px;min-width:0}.cardio-duration-editor input,.cardio-metric-input,.cardio-notes textarea,.cardio-activity-select{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:10px;color:var(--label-primary);min-height:44px;min-width:0;outline:0;padding:9px;width:100%}.cardio-metrics{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.cardio-metric-input{align-items:center;display:flex;padding:0 10px}.cardio-metric-input input{appearance:textfield;background:transparent;border:0;color:var(--label-primary);min-width:0;outline:0;padding:10px 2px;width:100%}.cardio-metric-input small{color:var(--label-secondary);flex:0 0 auto}.cardio-derived{background:var(--background-elevated);border-radius:12px;display:grid;gap:3px;grid-template-columns:1fr 1fr;padding:3px}.cardio-derived button{border-radius:9px;display:grid;gap:3px;justify-items:start;min-height:55px;padding:8px 10px;text-align:left}.cardio-derived button.active{background:var(--selection-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent)}.cardio-derived small{color:var(--label-secondary);font-size:9px}.cardio-derived strong{font-size:13px;font-variant-numeric:tabular-nums}.cardio-notes textarea{resize:vertical}.cardio-active-card.compact{gap:13px;padding:15px}.cardio-active-card.compact .cardio-timer{min-height:94px}.cardio-active-card.compact .cardio-timer strong{font-size:38px}.past-cardio-entries{display:grid;gap:12px;margin:20px 0}.past-cardio-entry{background:var(--background-secondary);border-radius:var(--radius-large);padding:10px}.past-cardio-entry .cardio-active-card{box-shadow:none}.past-workout-type,.mixed-block-actions{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 15px}.past-workout-type button{background:var(--background-grouped);border-radius:10px;color:var(--label-secondary);min-height:44px}.past-workout-type button.active{background:var(--selection-surface);color:var(--accent-foreground)}.mixed-block-actions{grid-template-columns:1fr 1fr}.mixed-block-actions .editor-primary,.mixed-block-actions .editor-secondary{margin-top:0}.cardio-prescription-icon{height:34px;width:34px}.execution-mode-label{background:var(--background-elevated);border-radius:999px;color:var(--label-secondary);font-size:9px;font-weight:650;padding:5px 8px}.side-entry-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.side-entry-grid>section{background:var(--background-secondary);border-radius:13px;display:grid;gap:9px;min-width:0;padding:11px}.side-entry-grid>section>header{align-items:center;display:flex;justify-content:space-between;min-height:30px}.side-entry-grid>section>header strong{font-size:12px}.side-entry-grid>section>header button{color:var(--accent-foreground);font-size:9px;line-height:1.25;min-height:36px;padding-left:8px;text-align:right}.side-entry-grid .metric-label{margin-bottom:5px}.side-entry-grid .stepper-control{height:46px}.inline-check{align-items:center;color:var(--label-secondary);display:flex;font-size:11px;gap:8px;min-height:44px}.inline-check input{accent-color:var(--accent);height:17px;width:17px}.set-stopwatch{align-items:center;background:var(--background-secondary);border-radius:12px;display:flex;gap:10px;justify-content:space-between;margin-top:10px;min-height:58px;padding:8px 10px}.set-stopwatch>span{align-items:center;display:flex;gap:8px;min-width:0}.set-stopwatch>span>svg{color:var(--label-secondary)}.set-stopwatch.running>span>svg{color:var(--accent-foreground)}.set-stopwatch>span>span{display:grid;gap:2px}.set-stopwatch small{color:var(--label-secondary);font-size:9px}.set-stopwatch strong{font-size:15px;font-variant-numeric:tabular-nums}.set-stopwatch>div{display:flex;gap:5px}.set-stopwatch button{align-items:center;background:var(--background-elevated);border-radius:9px;color:var(--label-secondary);display:flex;font-size:10px;gap:4px;justify-content:center;min-height:40px;padding:7px 9px}.set-stopwatch button:first-child{color:var(--accent-foreground)}.set-stopwatch button:disabled{opacity:.38}.set-log-copy{display:grid;flex:1;gap:2px;min-width:0}.set-log-copy strong{margin-left:0}.set-log-copy small,.set-duration{color:var(--label-secondary);font-size:9px}.side-set-edit{display:grid;gap:7px;grid-template-columns:1fr auto auto;padding:8px 0}.side-set-edit>strong{grid-column:1/-1;margin:0}.side-set-edit>div{align-items:center;display:grid;gap:5px;grid-column:1/-1;grid-template-columns:22px repeat(3,minmax(0,1fr))}.side-set-edit>button:not(.remove-set){grid-column:2;width:auto}.side-history-edit{display:grid;gap:7px;grid-template-columns:1fr auto;padding:9px 0}.side-history-edit>label{align-items:center;display:grid;gap:5px;grid-column:1/-1;grid-template-columns:22px repeat(3,minmax(0,1fr))}.past-set.with-sides{grid-template-columns:44px minmax(0,1fr) minmax(68px,.35fr) auto;padding:8px 0}.past-side-values{display:grid;gap:6px}.past-side-values label{align-items:center;display:grid;gap:5px;grid-template-columns:18px repeat(3,minmax(0,1fr))}.history-cardio{display:grid;gap:9px;margin-top:20px}.history-cardio>article{background:var(--background-grouped);border-radius:var(--radius-medium);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);display:grid;gap:11px;padding:14px}.history-cardio article>header{align-items:center;display:flex;gap:10px}.history-cardio article>header>span{align-items:center;background:var(--selection-surface);border-radius:10px;color:var(--accent-foreground);display:flex;height:38px;justify-content:center;width:38px}.history-cardio h2{font-size:14px;margin:0}.history-cardio p{color:var(--label-secondary);font-size:10px;line-height:1.45;margin:3px 0 0}.history-cardio-metrics{display:grid;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.history-cardio-metrics>span{background:var(--background-elevated);border-radius:9px;display:grid;gap:3px;padding:9px}.history-cardio-metrics small{color:var(--label-secondary);font-size:8px}.history-cardio-metrics strong{font-size:11px}.cardio-trend-card{padding:16px}.cardio-trend-card .metric-tabs{margin:12px 0 10px}.cardio-activity-select{appearance:auto;margin:0 0 6px}.cardio-breakdown-list{display:grid}.cardio-breakdown-list>button{align-items:center;border-bottom:1px solid var(--separator-soft);display:grid;gap:10px;grid-template-columns:36px minmax(0,1fr) auto;min-height:66px;padding:8px 0;text-align:left}.cardio-breakdown-list>button:last-child{border-bottom:0}.cardio-breakdown-list>button>span:nth-child(2){display:grid;gap:3px;min-width:0}.cardio-breakdown-list strong{font-size:12px}.cardio-breakdown-list small{color:var(--label-secondary);font-size:9px}.cardio-breakdown-list i{background:var(--background-elevated);border-radius:999px;display:block;height:5px;overflow:hidden}.cardio-breakdown-list em{background:linear-gradient(90deg,var(--accent),var(--accent-complement));border-radius:inherit;display:block;height:100%}.cardio-breakdown-list b{font-size:10px;font-variant-numeric:tabular-nums}.cardio-stats-empty{align-items:center;display:grid;justify-items:center;text-align:center}.cardio-stats-empty>svg{color:var(--accent-foreground)}.cardio-stats-empty p{color:var(--label-secondary);font-size:11px;margin:0}.compact-next-workout-title{align-items:flex-start}.compact-next-workout-title>strong{line-height:1.25;overflow:visible;text-overflow:clip;white-space:normal}.compact-next-workout .workout-code{border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);flex:0 0 auto;min-height:28px;padding:6px 8px}.home-progress-copy{gap:5px}.home-seven-day-bars{align-items:end;display:grid;gap:5px;grid-template-columns:repeat(7,minmax(0,1fr));height:60px;margin-top:9px;min-width:0}.home-seven-day-bars>span{align-items:stretch;display:grid;gap:3px;grid-template-rows:minmax(0,1fr) auto;height:100%;min-width:0}.home-seven-day-bars i{align-items:end;background:var(--background-elevated);border-radius:4px;display:flex;min-height:38px;overflow:hidden}.home-seven-day-bars em{background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 45%,var(--accent-complement)));border-radius:4px;display:block;min-height:2px;width:100%}.home-seven-day-bars small{color:var(--label-tertiary);font-size:8px;text-align:center}.home-cardio-week{display:grid;gap:9px;padding:13px 14px}.home-cardio-week>div:first-child{display:flex;gap:20px}.home-cardio-week>div:first-child>span{display:grid;gap:2px}.home-cardio-week strong{font-size:21px;font-variant-numeric:tabular-nums}.home-cardio-week small{color:var(--label-secondary);font-size:9px}.home-quiet-action{color:var(--accent-foreground);font-size:11px;font-weight:650;justify-self:start;min-height:44px;padding:4px 0}.home-habit-row>span:first-child{align-items:center;flex:0 0 30px;justify-content:center;width:30px}.home-habit-row>div{min-width:0}.home-habit-row>.form-status-badge{flex:0 0 auto}.habit-line-section,.habit-compact-summaries>article,.habit-ranked-grid>section,.habit-pattern-comparison{background:var(--background-grouped);border-radius:var(--radius-large);box-shadow:inset 0 0 0 1px var(--surface-outline),var(--surface-shadow);min-width:0;padding:16px}.habit-line-section>header{align-items:flex-start;display:flex;gap:14px;justify-content:space-between}.habit-line-section h2,.habit-compact-summaries h2,.habit-ranked-grid h2,.habit-pattern-comparison h2{font-size:16px;letter-spacing:-.03em;margin:3px 0}.habit-line-section header p{color:var(--label-secondary);font-size:10px;line-height:1.4;margin:0}.habit-filter-tabs{background:var(--background-elevated);border-radius:10px;display:flex;flex:0 0 auto;gap:2px;padding:3px}.habit-filter-tabs button{border-radius:8px;color:var(--label-secondary);font-size:10px;min-height:38px;padding:5px 9px}.habit-filter-tabs button.active{background:var(--selection-surface);color:var(--accent-foreground)}.habit-series-selector{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px}.habit-series-selector>div{align-items:center;background:var(--background-elevated);border-radius:999px;display:flex;max-width:100%;min-height:36px;overflow:hidden}.habit-series-selector>div.disabled{opacity:.32}.habit-series-selector>div.primary{box-shadow:inset 0 0 0 1px var(--surface-outline-strong)}.habit-series-selector button{align-items:center;display:flex;font-size:9px;gap:6px;min-height:36px;min-width:0;padding:6px 8px}.habit-series-selector button>i,.habit-chart-tooltip span>i{border-radius:50%;display:block;flex:0 0 7px;height:7px;width:7px}.habit-series-selector .series-primary{color:var(--label-tertiary);padding-left:1px;width:30px}.habit-series-selector>div.primary .series-primary{color:var(--label-primary)}.habit-line-chart{height:310px;margin:9px -4px 0;min-width:0;overflow:hidden;width:calc(100% + 8px)}.habit-chart-empty{align-items:center;color:var(--label-secondary);display:grid;gap:7px;justify-items:center;min-height:210px;text-align:center}.habit-chart-empty svg{color:var(--accent-foreground)}.habit-chart-empty p{font-size:11px;margin:0}.habit-chart-tooltip{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:12px;box-shadow:var(--shadow);display:grid;gap:6px;max-width:230px;padding:10px}.habit-chart-tooltip>strong{font-size:11px;margin-bottom:2px}.habit-chart-tooltip>span{align-items:center;display:grid;font-size:9px;gap:6px;grid-template-columns:7px minmax(0,1fr) auto}.habit-chart-tooltip b{font-variant-numeric:tabular-nums}.habit-chart-tooltip small{color:var(--label-secondary);font-size:8px}.habit-compact-summaries,.habit-ranked-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.habit-compact-summaries article>header{align-items:center;display:flex;gap:9px;margin-bottom:10px}.habit-compact-summaries article>header>span{align-items:center;background:var(--background-elevated);border-radius:9px;color:var(--label-secondary);display:flex;height:34px;justify-content:center;width:34px}.habit-compact-summaries article>header svg{height:27px;width:27px}.habit-compact-summaries article>div{display:grid}.habit-compact-summaries article>div>span{align-items:center;border-top:1px solid var(--separator-soft);display:flex;gap:12px;justify-content:space-between;min-height:36px}.habit-compact-summaries small{color:var(--label-secondary);font-size:9px}.habit-compact-summaries strong{font-size:10px;text-align:right}.habit-ranked-grid>section>div{display:grid}.habit-ranked-row{align-items:center;border-top:1px solid var(--separator-soft);display:grid;gap:9px;grid-template-columns:34px minmax(0,1fr);min-height:54px}.habit-ranked-icon{align-items:center;background:var(--background-elevated);border-radius:8px;display:flex;height:31px;justify-content:center;width:31px}.habit-ranked-icon svg{height:25px;width:25px}.habit-ranked-row>span:last-child{display:grid;gap:3px;min-width:0}.habit-ranked-row strong{font-size:10px}.habit-ranked-row small{color:var(--label-secondary);font-size:8px}.habit-ranked-row i{background:var(--background-elevated);border-radius:999px;display:block;height:4px;overflow:hidden}.habit-ranked-row em{border-radius:inherit;display:block;height:100%}.habit-ranked-empty,.habit-comparison-empty{color:var(--label-secondary);font-size:10px;line-height:1.45}.habit-pattern-comparison>header{margin-bottom:11px}.habit-pattern-comparison>div{display:grid;gap:9px;grid-template-columns:1fr 1fr}.habit-pattern-comparison label{color:var(--label-secondary);display:grid;font-size:9px;gap:5px}.habit-pattern-comparison select{appearance:auto;background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:10px;color:var(--label-primary);min-height:44px;min-width:0;padding:8px;width:100%}.habit-pattern-comparison>p{font-size:11px;line-height:1.55;margin:13px 0 6px}.habit-pattern-comparison>small{color:var(--label-secondary);font-size:9px}.form-ai-orb-slot{align-items:center;display:flex;flex:0 0 76px;height:76px;justify-content:center;overflow:visible;width:76px}.form-ai-orb-slot.is-compact{flex-basis:66px;height:66px;width:66px}.form-ai-settings-page,.form-ai-stats-panel{max-width:1040px}.form-ai-availability-card{align-items:center;background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:16px;display:grid;gap:5px;grid-template-columns:minmax(0,1fr) auto;margin:0 0 18px;padding:15px 17px}.form-ai-availability-card>span{align-items:center;display:flex;gap:8px}.form-ai-availability-card>b{color:var(--label-secondary);font-size:12px}.form-ai-availability-card>small{color:var(--semantic-danger);grid-column:1/-1}.form-ai-availability-card[data-availability=ready]{border-color:color-mix(in srgb,var(--semantic-success) 35%,var(--separator-soft))}.form-ai-language-row{align-items:center;display:flex;gap:16px;justify-content:space-between;min-height:58px;padding:10px 14px}.form-ai-language-row>span{display:grid;gap:3px}.form-ai-language-row small{color:var(--label-secondary)}.form-ai-language-row select{appearance:auto;background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:10px;color:var(--label-primary);min-height:38px;padding:7px 9px}.form-ai-settings-grid{display:grid;gap:16px;grid-template-columns:1fr 1fr}.form-ai-balance{display:grid;margin:0}.form-ai-balance>div{align-items:center;border-top:1px solid var(--separator-soft);display:flex;gap:12px;justify-content:space-between;min-height:44px;padding:7px 13px}.form-ai-balance>div:first-child{border-top:0}.form-ai-balance dt{color:var(--label-secondary);font-size:12px}.form-ai-balance dd{font-size:12px;font-weight:700;margin:0}.form-ai-operation-list{display:grid;list-style:none;margin:0;padding:7px 13px}.form-ai-operation-list li{align-items:center;border-top:1px solid var(--separator-soft);display:flex;font-size:12px;gap:9px;min-height:36px}.form-ai-operation-list li:first-child{border-top:0}.form-ai-operation-list svg{color:var(--semantic-success)}.form-ai-privacy{align-items:flex-start;display:flex;gap:12px;padding:15px}.form-ai-privacy svg{color:var(--semantic-success);flex:none}.form-ai-privacy p{color:var(--label-secondary);font-size:12px;line-height:1.55;margin:0}.form-ai-live-card{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 11%,var(--background-elevated)),var(--background-elevated));border:1px solid color-mix(in srgb,var(--accent) 30%,var(--separator-soft));border-radius:18px;margin:12px 0;padding:16px}.form-ai-live-card>header,.form-ai-live-card>header>span{align-items:center;display:flex;justify-content:space-between}.form-ai-live-card>header>span{color:var(--accent-foreground);gap:7px}.form-ai-live-card>header small,.form-ai-panel-heading small{font-size:9px;font-weight:800;letter-spacing:.12em}.form-ai-live-card>header button{background:none;border:0;color:var(--label-secondary);padding:5px}.form-ai-live-card h3{font-size:15px;margin:12px 0 6px}.form-ai-live-card p{color:var(--label-secondary);font-size:12px;line-height:1.5;margin:0}.form-ai-live-card[data-origin=deterministic]{background:var(--background-elevated);border-color:var(--separator-soft)}.form-ai-queued-copy{color:var(--label-secondary);display:block;margin-top:10px}.form-ai-workout-queue{align-items:center;background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:14px;display:flex;gap:10px;margin:10px 0;padding:11px 13px}.form-ai-workout-queue>span{display:grid;gap:2px}.form-ai-workout-queue strong{font-size:11px}.form-ai-workout-queue small{color:var(--label-secondary);font-size:10px}.form-ai-actions,.form-ai-run-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.form-ai-actions button,.form-ai-run-actions button{min-height:38px}.form-ai-error{color:var(--semantic-danger);display:block;font-size:11px;line-height:1.45;margin:8px 0}.form-ai-completion-items{display:grid;gap:7px;margin:14px 0;width:100%}.form-ai-completion-items article{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:12px;padding:10px 12px}.form-ai-completion-items article small{color:var(--accent-foreground);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.form-ai-completion-items article p{font-size:11px;line-height:1.45;margin:4px 0 0}.form-ai-stats-panel{background:var(--surface);border:1px solid var(--separator-soft);border-radius:22px;margin:24px 0 0;padding:20px}.form-ai-panel-heading{align-items:center;display:flex;gap:16px;justify-content:space-between}.form-ai-panel-heading>span{min-width:0}.form-ai-panel-heading small{color:var(--accent-foreground)}.form-ai-panel-heading h2{font-size:20px;margin:5px 0}.form-ai-panel-heading p{color:var(--label-secondary);font-size:12px;line-height:1.5;margin:0}.form-ai-findings{display:grid;gap:10px;margin-top:18px}.form-ai-finding-card,.form-ai-proposal-card,.form-ai-stat-fix,.form-ai-trial-card{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:15px;padding:14px}.form-ai-finding-card>header{align-items:center;color:var(--label-secondary);display:flex;font-size:10px;gap:8px;justify-content:space-between}.form-ai-status-pill{background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:999px;color:var(--accent-foreground);font-weight:750;padding:4px 8px;text-transform:capitalize}.form-ai-finding-card>header>span:first-child{align-items:center;display:flex;flex-wrap:wrap;gap:5px}.form-ai-type-badge{border:1px solid color-mix(in srgb,var(--accent) 28%,var(--separator-soft));border-radius:999px;color:var(--accent-foreground);font-size:8px;font-weight:750;padding:3px 6px;text-transform:uppercase}.form-ai-evidence-links{display:flex;flex-wrap:wrap;gap:8px}.form-ai-evidence-links a,.form-ai-report-technical a{color:var(--accent-foreground);font-size:10px;font-weight:700}.form-ai-freshness{background:color-mix(in srgb,var(--semantic-warning) 10%,transparent);border-radius:9px;color:var(--label-secondary);font-size:10px!important;padding:8px 9px}.form-ai-finding-card>p,.form-ai-proposal-card>p,.form-ai-stat-fix>p{font-size:12px;line-height:1.55;margin:11px 0}.form-ai-finding-card details{border-top:1px solid var(--separator-soft);color:var(--label-secondary);font-size:10px;padding:8px 0 0}.form-ai-finding-card summary{cursor:pointer;font-weight:650}.form-ai-finding-card ul{overflow-wrap:anywhere;padding-left:18px}.form-ai-text-button{background:none;border:0;color:var(--accent-foreground);font-size:11px;font-weight:700;padding:9px 0 0}.form-ai-subsection{border-top:1px solid var(--separator-soft);margin-top:20px;padding-top:18px}.form-ai-subsection>h3{font-size:14px;margin:0 0 10px}.form-ai-subsection>.form-ai-proposal-card,.form-ai-subsection>.form-ai-stat-fix{margin-top:9px}.form-ai-proposal-card>header{align-items:center;display:flex;gap:8px;text-transform:capitalize}.form-ai-proposal-preview{display:grid;gap:8px;grid-template-columns:1fr 1fr}.form-ai-proposal-preview>span{background:var(--surface);border-radius:10px;display:grid;gap:5px;min-width:0;padding:9px}.form-ai-proposal-preview small{color:var(--label-secondary);font-size:9px;font-weight:700;text-transform:uppercase}.form-ai-proposal-preview code{font-family:inherit;font-size:9px;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.form-ai-report-columns{display:grid;gap:14px;grid-template-columns:1fr 1fr}.form-ai-report-archive-links{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin:0 0 14px}.form-ai-report-archive-links .editor-secondary{align-items:center;display:flex;justify-content:center;margin:0;min-height:42px;text-decoration:none}.form-ai-report-columns h4{color:var(--label-secondary);font-size:11px;margin:0 0 8px}.form-ai-report-card{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:13px;margin:8px 0;padding:11px}.form-ai-report-card>summary,.form-ai-report-card>summary>span{align-items:center;display:flex;gap:7px;justify-content:space-between}.form-ai-report-card>summary{cursor:pointer;font-size:11px}.form-ai-report-card>summary small{color:var(--label-secondary)}.form-ai-report-copy{color:var(--label-secondary);font-size:11px;line-height:1.55;padding-top:7px}.form-ai-report-card[data-source-changed=true]{border-color:color-mix(in srgb,var(--semantic-warning) 45%,var(--separator-soft))}.form-ai-report-page{max-width:920px}.form-ai-report-page .form-ai-panel-heading h1{font-size:clamp(24px,4vw,34px);margin:5px 0}.form-ai-report-tabs{display:flex;gap:8px;margin:20px 0 14px}.form-ai-report-tabs button{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:999px;color:var(--label-secondary);min-height:44px;padding:8px 16px}.form-ai-report-tabs button.active{background:color-mix(in srgb,var(--accent) 13%,var(--background-elevated));border-color:color-mix(in srgb,var(--accent) 32%,var(--separator-soft));color:var(--accent-foreground)}.form-ai-available-periods{background:var(--surface);border:1px solid var(--separator-soft);border-radius:16px;margin-bottom:14px;padding:14px}.form-ai-available-periods>summary{cursor:pointer;font-size:12px;font-weight:750}.form-ai-available-periods>p{color:var(--label-secondary);font-size:10px;line-height:1.5}.form-ai-available-periods>div{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.form-ai-available-periods button{align-items:flex-start;display:grid;gap:3px;justify-items:start;margin:0;text-align:left}.form-ai-available-periods button span{color:var(--label-secondary);font-size:10px}.form-ai-available-periods button strong{font-size:11px}.form-ai-report-page-list{display:grid;gap:14px}.form-ai-report-page-entry{background:var(--surface);border:1px solid var(--separator-soft);border-radius:18px;padding:18px}.form-ai-report-page-entry[data-source-changed=true]{border-color:color-mix(in srgb,var(--semantic-warning) 45%,var(--separator-soft))}.form-ai-report-page-entry>header,.form-ai-report-page-entry>header>span{align-items:center;display:flex;gap:8px;justify-content:space-between}.form-ai-report-page-entry>header>span:first-child{justify-content:flex-start}.form-ai-report-evidence,.form-ai-report-related{border-top:1px solid var(--separator-soft);margin-top:13px;padding-top:12px}.form-ai-report-evidence h3,.form-ai-report-related h3{font-size:12px;margin:0 0 8px}.form-ai-report-related>article{background:var(--background-elevated);border-radius:11px;margin-top:8px;padding:10px}.form-ai-report-related>article p{font-size:11px;line-height:1.5;margin:7px 0 0}.form-ai-report-related details{color:var(--label-secondary);font-size:10px}.form-ai-report-page-entry>.form-ai-text-button{align-items:center;display:flex;gap:5px}.form-ai-report-meta,.form-ai-report-technical dl,.form-ai-manual-meta{display:grid;gap:5px;margin:10px 0}.form-ai-report-meta>div,.form-ai-report-technical dl>div,.form-ai-manual-meta>div{align-items:start;display:grid;gap:8px;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr)}.form-ai-report-meta dt,.form-ai-report-technical dt,.form-ai-manual-meta dt{color:var(--label-secondary);font-size:9px}.form-ai-report-meta dd,.form-ai-report-technical dd,.form-ai-manual-meta dd{font-size:9px;margin:0;overflow-wrap:anywhere}.form-ai-report-technical{border-top:1px solid var(--separator-soft);color:var(--label-secondary);font-size:10px;margin-top:10px;padding-top:8px}.form-ai-report-technical ul{overflow-wrap:anywhere;padding-left:18px}.form-ai-stat-fix>header{align-items:center;display:flex;gap:8px;justify-content:space-between}.form-ai-inline-stat-adjustment{background:color-mix(in srgb,var(--accent) 5%,var(--background-elevated));border:1px solid color-mix(in srgb,var(--accent) 22%,var(--separator-soft));border-radius:13px;margin-top:12px;padding:12px}.form-ai-inline-stat-adjustment>header{align-items:center;display:flex;gap:8px;justify-content:space-between}.form-ai-inline-stat-adjustment>p,.form-ai-inline-stat-adjustment details{color:var(--label-secondary);font-size:10px;line-height:1.5}.form-ai-inline-stat-adjustment details{border-top:1px solid var(--separator-soft);margin-top:9px;padding-top:8px}.form-ai-inline-stat-adjustment summary{cursor:pointer;font-weight:700}.form-ai-stat-view-meta{display:flex;flex-wrap:wrap;gap:7px 14px;margin:9px 0}.form-ai-stat-view-meta>div{display:grid;gap:2px}.form-ai-stat-view-meta dt{color:var(--label-secondary);font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.form-ai-stat-view-meta dd{font-size:11px;font-weight:700;margin:0}.form-ai-stat-segments{color:var(--label-secondary);display:grid;font-size:10px;gap:3px;margin:7px 0;padding-left:16px}.form-ai-adjusted-row{border-inline-start:2px solid color-mix(in srgb,var(--accent) 55%,transparent);padding-inline-start:9px}.form-ai-stat-direction-neutral strong,.form-ai-stat-direction-none strong{color:var(--label-primary)}.form-ai-adjusted-badge{background:color-mix(in srgb,var(--accent) 14%,transparent);border-radius:999px;color:var(--accent-foreground);font-size:8px;font-weight:800;padding:4px 7px;text-transform:uppercase}.form-ai-stat-comparison{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin-top:10px}.form-ai-stat-comparison>span{background:var(--surface);border-radius:10px;display:grid;gap:4px;padding:9px}.form-ai-stat-comparison small{color:var(--label-secondary);font-size:9px}.form-ai-stat-comparison b{font-size:12px}.form-ai-stat-fix details{border-top:1px solid var(--separator-soft);color:var(--label-secondary);font-size:10px;padding-top:8px}.form-ai-manual-deep{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:15px;display:grid;gap:10px;margin-top:12px;padding:14px}.form-ai-manual-deep h3,.form-ai-manual-deep p{margin:0}.form-ai-manual-deep>p{color:var(--label-secondary);font-size:11px;line-height:1.5}.form-ai-manual-deep>label:not(.form-ai-check-row){display:grid;font-size:10px;font-weight:700;gap:5px}.form-ai-manual-deep select{appearance:auto;background:var(--surface);border:1px solid var(--separator-soft);border-radius:9px;color:var(--label-primary);min-height:38px;padding:7px 9px}.form-ai-check-row{align-items:flex-start;display:flex;font-size:11px;gap:8px;line-height:1.4}.form-ai-exercise-panel h2,.form-ai-schedule-proposals h2{font-size:16px;margin:5px 0 10px}.form-ai-exercise-panel>.form-ai-finding-card,.form-ai-exercise-panel>.form-ai-trial-card{margin-top:10px}.form-ai-home-summary{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 12%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,var(--accent) 28%,var(--separator-soft));border-radius:18px;margin:14px 0;padding:15px}.form-ai-home-summary>span{align-items:center;color:var(--accent-foreground);display:flex;gap:7px}.form-ai-home-summary small{font-size:9px;font-weight:800;letter-spacing:.12em}.form-ai-home-summary p{font-size:12px;line-height:1.5;margin:10px 0}.form-ai-home-summary button{background:none;border:0;color:var(--accent-foreground);font-size:11px;font-weight:750;padding:0}.form-ai-schedule-proposals{background:var(--surface);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--separator-soft));border-radius:18px;margin:16px 0;padding:16px}.form-ai-schedule-proposals>p{color:var(--label-secondary);font-size:12px;line-height:1.5}@media(min-width:900px){.cardio-active-card:not(.compact){padding:22px}.cardio-active-card:not(.compact) .cardio-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:699px){.form-ai-settings-grid,.form-ai-report-columns,.form-ai-report-archive-links,.form-ai-proposal-preview,.form-ai-stat-comparison{grid-template-columns:1fr}.form-ai-stats-panel{border-radius:16px;padding:15px}.habit-line-section>header{display:grid}.habit-filter-tabs{justify-self:stretch}.habit-filter-tabs button{flex:1}.habit-line-chart{height:270px}.habit-compact-summaries,.habit-ranked-grid{grid-template-columns:1fr}}@media(max-width:420px){.cardio-workout-body{padding:15px 14px calc(32px + env(safe-area-inset-bottom))}.cardio-active-card{padding:14px}.cardio-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cardio-timer strong{font-size:40px}.cardio-timer-actions{grid-template-columns:1fr 1fr}.cardio-timer-actions .cardio-start,.cardio-timer-actions .cardio-pause{grid-column:1/-1}.cardio-metrics,.cardio-derived,.side-entry-grid{grid-template-columns:1fr}.set-stopwatch{align-items:flex-start;display:grid}.set-stopwatch>div{justify-self:stretch}.set-stopwatch button{flex:1}.past-set.with-sides{grid-template-columns:42px minmax(0,1fr)}.past-set.with-sides>input,.past-set.with-sides>button{grid-column:2}.past-side-values label{grid-template-columns:18px repeat(3,minmax(48px,1fr));overflow:auto}.habit-line-section,.habit-compact-summaries>article,.habit-ranked-grid>section,.habit-pattern-comparison{padding:14px}.habit-line-chart{height:250px;margin-left:-10px;width:calc(100% + 14px)}.habit-series-selector{flex-wrap:nowrap;margin-inline:-14px;overflow-x:auto;padding:0 14px 4px;scrollbar-width:none}.habit-series-selector>div{flex:0 0 auto}.habit-pattern-comparison>div{grid-template-columns:1fr}.home-habit-row{align-items:start}.home-cardio-week>div:first-child{gap:14px}}.update-page{display:grid;gap:16px;margin-inline:auto;max-width:720px;width:100%}.verified-update-heading{align-items:center;background:color-mix(in srgb,var(--success) 11%,var(--background-elevated));border:1px solid color-mix(in srgb,var(--success) 30%,var(--separator-soft));border-radius:18px;display:flex;gap:12px;padding:16px}.verified-update-heading>svg{color:var(--success);flex:0 0 auto}.verified-update-heading>div{display:grid;gap:3px}.verified-update-heading small{color:var(--label-secondary)}.release-notes-body{background:var(--background-elevated);border:1px solid var(--separator-soft);border-radius:20px;box-shadow:var(--shadow-card);padding:20px}.release-notes-title{color:var(--label-secondary);font-size:15px;line-height:1.5;margin:0 0 20px}.release-notes-body section+section{border-top:1px solid var(--separator-soft);margin-top:20px;padding-top:18px}.release-notes-body h2{font-size:17px;margin:0 0 10px}.release-notes-body ul{display:grid;gap:10px;margin:0;padding-left:20px}.release-notes-body li{line-height:1.45;padding-left:3px}.update-technical-details{border:1px solid var(--separator-soft);border-radius:14px;padding:13px 15px}.update-technical-details summary{cursor:pointer;font-weight:700}.update-technical-details dl{display:grid;gap:8px;margin:14px 0 0}.update-technical-details dl>div{align-items:start;display:flex;gap:16px;justify-content:space-between}.update-technical-details dt{color:var(--label-secondary)}.update-technical-details dd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin:0;overflow-wrap:anywhere;text-align:right}.update-install-button{justify-content:center;width:100%}.update-failure p{margin-bottom:0}.set-stopwatch{align-items:stretch;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto;padding:12px 13px}.set-stopwatch-heading{align-items:center;color:var(--label-secondary);display:flex;gap:7px}.set-stopwatch-heading small{font-size:11px}.set-stopwatch>strong{font-size:clamp(44px,13vw,56px);font-variant-numeric:tabular-nums;font-weight:700;grid-column:1/-1;letter-spacing:-.055em;line-height:1}.set-stopwatch>div{align-items:center;display:flex;gap:7px;grid-column:1/-1}.set-stopwatch button{flex:0 1 auto;min-height:42px;padding:8px 12px}.side-progress-copy{color:var(--label-secondary);font-size:11px;margin:7px 0 2px}.current-load-history{background:var(--background-secondary);border-radius:12px;display:grid;gap:6px;margin-top:9px;padding:10px 12px}.current-load-history>span:first-child{color:var(--label-secondary);font-size:9px;font-weight:700}.current-load-history small{color:var(--label-secondary);font-size:10px;line-height:1.4}.current-load-history>div{display:grid;gap:7px}.current-load-history>div>span{display:grid;gap:2px}.current-load-history b{font-size:10px}.logged-side{display:grid;gap:1px;margin-top:2px}.logged-set.partially-skipped{border-style:dashed}.rest-completion-toast{background:var(--background-elevated);border:1px solid var(--separator);border-radius:14px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--active-workout-overlay-height) + 20px);box-shadow:var(--shadow);display:grid;gap:3px;left:12px;padding:12px 42px 12px 13px;position:fixed;right:12px;z-index:calc(var(--layer-navigation) + 2)}.rest-completion-toast strong{font-size:12px}.rest-completion-toast span{color:var(--label-secondary);font-size:11px;line-height:1.45}.rest-completion-toast button{font-size:20px;height:36px;position:absolute;right:5px;top:5px;width:36px}@media(max-width:819px){.app-content{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px)}html[data-active-workout-overlay=true] .app-content{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--active-workout-overlay-height) + var(--active-workout-overlay-gap) + 18px)}.active-session-bar{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--active-workout-overlay-gap))}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select,[contenteditable=true]{font-size:16px!important}html[data-enlarge-fields=true] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):focus,html[data-enlarge-fields=true] textarea:focus,html[data-enlarge-fields=true] select:focus,html[data-enlarge-fields=true] [contenteditable=true]:focus{font-size:19px!important;min-height:48px;padding-block:11px}}@media(min-width:820px){.rest-completion-toast{bottom:24px;left:auto;max-width:440px;right:24px}}.sync-login{display:none}.sync-otp{display:grid;gap:12px;padding:13px}.sync-otp label{color:var(--muted);display:grid;font-size:11px;gap:6px}.sync-otp input{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:16px;min-height:44px;padding:0 12px}.sync-actions,.history-detail-actions,.history-confirm-actions{align-items:center;display:flex;flex-wrap:wrap;gap:9px;padding:12px 13px}.sync-actions .editor-primary,.sync-actions .editor-secondary,.history-confirm-actions .editor-primary,.history-confirm-actions .editor-secondary{flex:1 1 140px}.history-detail-actions{border-bottom:1px solid var(--line-soft);padding:0 0 16px}.history-confirm-actions{padding:12px 0 0}@media(min-width:760px){.sync-otp{max-width:480px}}.sync-health-card{align-items:flex-start;border-bottom:1px solid var(--line-soft);display:flex;gap:11px;padding:14px 13px}.sync-health-card.good{background:color-mix(in srgb,var(--semantic-success),transparent 88%)}.sync-health-card>svg{color:var(--semantic-success);flex:0 0 auto;margin-top:3px}.sync-health-card div{display:grid;gap:3px}.sync-health-card span{color:var(--muted);font-family:inherit;font-size:9px;font-weight:800;letter-spacing:.08em}.sync-health-card strong{font-size:12px}.sync-health-card p{color:var(--muted);font-size:10px;line-height:1.45;margin:0}.sync-flow{display:grid;gap:11px;padding:14px 13px}.sync-flow>p{color:var(--muted);font-size:11px;line-height:1.5;margin:0}.sync-flow .editor-primary,.sync-flow .editor-secondary{margin:0}.editor-text-button{background:transparent;color:var(--muted);font-size:11px;font-weight:750;min-height:44px;padding:7px 0;text-align:left;text-decoration:underline;text-underline-offset:3px}.sync-code-pad{display:grid;gap:10px}.sync-code-dots{align-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;display:flex;gap:13px;justify-content:center;min-height:54px;padding:0 15px;width:100%}.sync-code-dots i{background:var(--line);border-radius:50%;display:block;height:10px;transition:background .16s,transform .16s;width:10px}.sync-code-dots i.filled{background:var(--accent);transform:scale(1.12)}.sync-code-dots:disabled{opacity:.6}.sync-code-capture{height:1px;left:-9999px;opacity:0;position:fixed;width:1px}.sync-keypad{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.sync-keypad button{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:10px;font-family:inherit;font-size:14px;font-weight:700;min-height:44px}.sync-keypad button:hover{background:var(--surface-2)}.sync-keypad button:disabled{color:var(--muted);cursor:default;opacity:.55}.sync-keypad .keypad-clear{color:var(--muted);font-family:inherit;font-size:10px}.sync-keypad .keypad-backspace{align-items:center;display:flex;justify-content:center}.connection-reconcile{background:var(--surface);border:1px solid color-mix(in srgb,var(--accent),transparent 48%);border-radius:15px;display:grid;gap:8px;margin-top:22px;padding:14px}.connection-reconcile h2{font-size:17px;letter-spacing:-.045em;margin:0}.connection-reconcile p{color:var(--muted);font-size:11px;line-height:1.5;margin:0}.connection-reconcile>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:3px}.connection-reconcile .editor-primary,.connection-reconcile .editor-secondary{flex:1 1 150px;margin:0}.sync-health-banner{align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;bottom:calc(env(safe-area-inset-bottom) + 88px);box-shadow:0 13px 32px #0005;display:grid;gap:9px;grid-template-columns:20px minmax(0,1fr) auto;left:11px;max-width:calc(100% - 22px);padding:10px 11px;position:fixed;right:11px;text-align:left;z-index:26}.sync-health-banner.above-live{bottom:calc(env(safe-area-inset-bottom) + 151px)}.sync-health-banner.error{border-color:color-mix(in srgb,var(--semantic-danger),transparent 35%)}.sync-health-banner.warning{border-color:color-mix(in srgb,var(--semantic-warning),transparent 42%)}.sync-health-banner.error>svg,.sync-health-banner.error strong{color:var(--semantic-danger)}.sync-health-banner.warning>svg,.sync-health-banner.warning strong{color:var(--semantic-warning)}.sync-health-banner>span{display:grid;gap:2px;min-width:0}.sync-health-banner strong{font-family:inherit;font-size:9px;letter-spacing:.06em}.sync-health-banner small{color:var(--muted);font-size:9px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-health-banner b{color:var(--ink);font-size:9px;white-space:nowrap}.backup-health-banner{align-items:center;background:var(--surface);border:1px solid color-mix(in srgb,var(--semantic-danger),transparent 35%);border-radius:14px;bottom:calc(env(safe-area-inset-bottom) + 88px);box-shadow:0 13px 32px #0005;display:grid;gap:9px;grid-template-columns:20px minmax(0,1fr) auto;left:11px;max-width:calc(100% - 22px);padding:10px 11px;position:fixed;right:11px;text-align:left;z-index:27}.backup-health-banner.above-live{bottom:calc(env(safe-area-inset-bottom) + 151px)}.backup-health-banner.warning,.backup-health-banner.paused{border-color:color-mix(in srgb,var(--semantic-warning),transparent 32%)}.backup-health-banner>svg,.backup-health-banner strong{color:var(--semantic-danger)}.backup-health-banner.paused>svg,.backup-health-banner.paused strong,.backup-health-banner.warning>svg,.backup-health-banner.warning strong{color:var(--semantic-warning)}.backup-health-banner>span{display:grid;gap:2px;min-width:0}.backup-health-banner strong{font-family:inherit;font-size:9px;letter-spacing:.06em}.backup-health-banner small{color:var(--muted);font-size:9px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backup-health-banner b{color:var(--ink);font-size:9px;white-space:nowrap}.backups-page{max-width:760px}.backup-current-data,.backup-summary{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;display:grid;gap:6px;margin:0 0 13px;padding:15px}.backup-current-data>strong,.backup-summary>strong{font-size:16px;letter-spacing:-.035em}.backup-current-data>p,.backup-summary>p{color:var(--muted);font-size:11px;line-height:1.45;margin:0}.backup-current-data dl,.backup-summary dl{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:6px 0 0}.backup-current-data dl>div,.backup-summary dl>div{background:var(--surface-soft);border-radius:9px;min-width:0;padding:9px}.backup-current-data dt,.backup-summary dt{color:var(--muted);font-family:inherit;font-size:8px;text-transform:uppercase}.backup-current-data dd,.backup-summary dd{font-size:10px;line-height:1.35;margin:4px 0 0}.backup-restore-source{align-items:center;border-top:1px solid var(--line-soft);display:flex;flex-wrap:wrap;font-size:10px;gap:7px;justify-content:space-between;margin-top:4px;padding-top:10px}.backup-restore-source span{color:var(--muted)}.backup-restore-source b{color:var(--ink);display:block;font-family:inherit;font-size:8px;letter-spacing:.07em;margin-bottom:2px;text-transform:uppercase}.backup-restore-source .editor-text-button{margin:0}.backup-summary.healthy{border-left:3px solid var(--success)}.backup-summary.warning,.backup-summary.paused{border-left:3px solid var(--semantic-warning)}.backup-summary.critical{border-left:3px solid var(--semantic-danger)}.backup-now{margin-top:0}.backup-pause{color:var(--muted);display:block;margin:5px auto 0;text-align:center}.backup-list{background:var(--surface);border:1px solid var(--line-soft);border-radius:15px;overflow:hidden}.backup-row{align-items:center;border-bottom:1px solid var(--line-soft);display:flex;gap:10px;min-height:68px;padding:10px 12px}.backup-row.restore-source{background:var(--surface-soft);box-shadow:inset 2px 0 color-mix(in srgb,var(--ink),transparent 82%)}.backup-row:last-child{border-bottom:0}.backup-row>div{display:grid;gap:3px;min-width:0}.backup-row strong{font-size:11px}.backup-row small{color:var(--muted);font-size:9px;line-height:1.35}.backup-row em{color:var(--success);font-family:inherit;font-size:8px;font-style:normal;text-transform:none}.backup-row.restore-source em{color:var(--muted)}.backup-row.failed em{color:var(--semantic-danger)}.backup-row .icon-button{color:var(--muted);flex:0 0 auto;height:32px;margin-left:auto;width:32px}.backup-empty{background:var(--surface-soft);border-radius:12px;display:grid;gap:7px;padding:14px}.backup-empty strong{font-size:12px}.backup-empty p{color:var(--muted);font-size:10px;line-height:1.45;margin:0}.backup-empty .editor-secondary{margin:4px 0 0}.backup-page-skeleton{display:grid;gap:13px}.backup-current-skeleton>div{display:grid;gap:8px;grid-template-columns:1fr 1fr}.backup-current-skeleton>div>*{height:42px}.backup-date-section+.backup-date-section{border-top:1px solid var(--line-soft)}.backup-date-section h3{color:var(--muted);font-family:inherit;font-size:8px;letter-spacing:.08em;margin:0;padding:12px 12px 7px;text-transform:uppercase}.backup-date-section .backup-row:last-child{border-bottom:0}.backup-row>time{color:var(--muted);flex:0 0 42px;font-family:inherit;font-size:9px}.backup-load-more{border-radius:0;border-width:1px 0 0;margin:0;width:100%}.security-page{max-width:640px}.security-row,.security-credential{align-items:flex-start;display:flex;gap:10px;padding:13px}.security-row>svg{color:var(--accent);flex:0 0 auto}.security-row span,.security-credential span{display:grid;gap:3px}.security-row strong,.security-credential strong{font-size:12px}.security-row small,.security-credential small{color:var(--muted);font-size:10px;line-height:1.4}.security-credential{border-top:1px solid var(--line-soft);padding-left:13px}.security-credential .editor-text-button{margin-left:auto}.offline-access-skeleton{display:grid;gap:0}.offline-access-skeleton .skeleton-button{margin:11px 13px 13px;width:calc(100% - 26px)}.offline-access-card{display:grid;gap:13px;padding:13px}.offline-access-card.ready{box-shadow:inset 3px 0 0 var(--success)}.offline-access-card.warning{box-shadow:inset 3px 0 0 var(--semantic-warning)}.offline-access-card header{align-items:flex-start;display:flex;gap:10px;min-height:42px}.offline-access-icon{align-items:center;background:var(--surface-soft);border-radius:9px;color:var(--accent);display:flex;flex:0 0 auto;height:32px;justify-content:center;width:32px}.offline-access-card.ready .offline-access-icon{background:var(--success-soft);color:var(--success)}.offline-access-card.warning .offline-access-icon{background:color-mix(in srgb,var(--semantic-warning) 16%,transparent);color:var(--semantic-warning)}.offline-access-card header>span:last-child{display:grid;gap:3px;min-width:0}.offline-access-card strong{font-size:13px}.offline-access-card header small{color:var(--muted);font-size:10px;line-height:1.45}.offline-access-card header em{color:var(--muted);font-family:inherit;font-size:8px;font-style:normal;letter-spacing:.03em}.offline-access-summary{display:grid;gap:1px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;overflow:hidden;border:1px solid var(--line-soft);border-radius:11px}.offline-access-summary>div{background:var(--surface-soft);min-height:57px;min-width:0;padding:9px}.offline-access-card dt{color:var(--muted);font-family:inherit;font-size:8px;letter-spacing:.035em;text-transform:uppercase}.offline-access-card dd{font-size:10px;line-height:1.35;margin:4px 0 0;overflow-wrap:anywhere}.offline-countdown{color:var(--ink);display:inline-block;font-family:inherit;font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.025em;min-width:7.3ch;white-space:nowrap}.offline-countdown.waiting,.offline-countdown.unavailable{color:var(--muted);font-family:inherit;font-size:10px;letter-spacing:0;min-width:0}.offline-countdown.due{color:var(--semantic-warning);font-family:inherit;font-size:10px;letter-spacing:0;min-width:0}.offline-access-problem{background:color-mix(in srgb,var(--semantic-danger),transparent 92%);border-radius:9px;display:grid;gap:2px;margin:0;padding:9px}.offline-access-problem strong{color:var(--semantic-danger);font-family:inherit;font-size:8px;letter-spacing:.04em;text-transform:uppercase}.offline-access-problem span{color:var(--muted);font-size:10px;line-height:1.4}.offline-access-technical{border-top:1px solid var(--line-soft);display:grid;gap:8px;padding-top:11px}.offline-access-technical>span{color:var(--muted)}.offline-access-technical dl{display:grid;gap:0;margin:0}.offline-access-technical dl>div{align-items:baseline;border-bottom:1px solid var(--line-soft);display:grid;gap:10px;grid-template-columns:minmax(0,1fr) minmax(90px,auto);min-height:29px;padding:6px 0}.offline-access-technical dl>div:last-child{border-bottom:0}.offline-access-technical dd{font-family:inherit;font-size:9px;margin:0;text-align:right}.offline-access-refresh{margin:0}.offline-access-card .setting-inline-message{padding:0}@media(max-width:420px){.offline-access-summary{grid-template-columns:1fr}.offline-access-technical dl>div{grid-template-columns:minmax(0,1fr) minmax(80px,auto)}}.offline-policy-editor,.offline-policy-installations{border-top:1px solid var(--line-soft);display:grid;gap:10px;margin-top:11px;padding-top:11px}.offline-policy-editor .editor-input{flex:1;min-width:0}.offline-policy-editor .editor-input input,.offline-policy-editor .editor-input select{width:100%}.offline-policy-installations .sync-row{padding:8px 0}.offline-policy-installations .sync-row p{color:var(--muted);font-size:10px;margin:3px 0 0}.offline-policy-installations>p{color:var(--muted);font-size:11px;margin:0}.offline-duration-builder{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:7px}.offline-duration-summary{color:var(--muted);font-size:10px;margin:8px 0 0}.device-status{border-radius:999px;display:inline-block;font-family:inherit;font-size:8px;letter-spacing:.02em;padding:2px 5px;text-transform:uppercase}.device-status-current{background:var(--success-soft);color:var(--success)}.device-status-policy_pending{background:color-mix(in srgb,var(--semantic-warning) 16%,transparent);color:var(--semantic-warning)}.device-status-policy_revoked,.device-status-installation_revoked{background:color-mix(in srgb,var(--semantic-danger) 15%,transparent);color:var(--semantic-danger)}.sync-row details{color:var(--muted);font-size:10px;margin-top:8px}.sync-row summary{cursor:pointer;width:max-content}.device-details{border-top:1px solid var(--line-soft);display:grid;gap:0;margin:7px 0 0}.device-details>div{align-items:baseline;border-bottom:1px solid var(--line-soft);display:grid;gap:10px;grid-template-columns:minmax(0,1fr) minmax(90px,auto);padding:6px 0}.device-details>div:last-child{border-bottom:0}.device-details dt{color:var(--muted);font-family:inherit;font-size:8px;text-transform:uppercase}.device-details dd{color:var(--ink);font-family:inherit;font-size:9px;margin:0;overflow-wrap:anywhere;text-align:right}@media(min-width:640px){.sync-health-banner{bottom:24px;left:calc(50% + 115px);max-width:470px;right:auto;width:470px}.sync-health-banner.above-live{bottom:88px}.backup-health-banner{bottom:24px;left:calc(50% + 115px);max-width:470px;right:auto;width:470px}.backup-health-banner.above-live{bottom:88px}.sync-flow{max-width:520px}}.sync-health-card.warning{background:color-mix(in srgb,var(--semantic-warning),transparent 88%)}.sync-health-card.error{background:color-mix(in srgb,var(--semantic-danger),transparent 88%)}.sync-health-card.warning>svg{color:var(--semantic-warning)}.sync-health-card.error>svg{color:var(--semantic-danger)}.backup-summary.critical{border-left-color:var(--semantic-danger)}.offline-access-card.not-ready{box-shadow:inset 3px 0 0 var(--semantic-danger)}.offline-access-card.not-ready .offline-access-icon{background:color-mix(in srgb,var(--semantic-danger),transparent 86%);color:var(--semantic-danger)}.offline-access-problem{background:color-mix(in srgb,var(--semantic-danger),transparent 91%)}.offline-access-problem strong{color:var(--semantic-danger)}.offline-access-technical{display:block;padding-top:0}.offline-access-technical>summary{color:var(--muted);cursor:pointer;font-family:inherit;font-size:9px;font-weight:800;letter-spacing:.05em;list-style-position:inside;padding-top:11px}.offline-access-technical[open]>summary{color:var(--ink);margin-bottom:8px}.offline-access-technical .editor-notice{margin:11px 0 0}.backup-row .icon-button{height:44px;width:44px}
