@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{--ink:#1d201c;--ink-soft:#1d201c;--muted:#7d8279;--surface:#f2f2ed;--white:#fff;--line:#e6e7e0;--accent-text:#587b0d;--accent-text-soft:#648515;--lime:#c2f25b;--lime-hover:#d2ff72;--lime-soft:#edfad4;--lime-soft-ink:#56633d;--bg:#f8f8f4;--bg-translucent:#f8f8f4e6;--hero-bg:#1d201c;--hero-ink:#fff;--hero-muted:#b8bdb5;--inverse-bg:#1d201c;--inverse-ink:#fff;--inverse-accent:#c2f25b;--inverse-muted:#adb1aa;--notice-bg:#fff3d8;--notice-line:#f1d79e;--notice-ink:#795918;--focus:#a0d23773;--search-focus:#b5d873;--search-glow:#a0d23726;--shadow-nav:#1f231c24;--shadow-card:#1c1f1b2e;--danger:#a94332;--danger-soft:#e7c6be;--danger-bg:#fff0ec;--tag-ink:#5a5f57;--nav-idle:#9a9e97;--switch-off:#d9dbd5;--dialog-ink:#5d625a;--outside-day:#c4c7c0;--border-accent:#789c2b;--accent-heading:#6d8d29;--idle-icon:#a6aaa3;--avatar-bg:#e9e2d7;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,sans-serif}[data-theme=dark]{--ink:#f0f3ec;--ink-soft:#22261f;--muted:#8b9084;--surface:#262b23;--white:#1b1f17;--line:#333830;--accent-text:#c2f25b;--accent-text-soft:#b8e354;--lime-soft:#c2f25b24;--lime-soft-ink:#c2f25b;--bg:#141710;--bg-translucent:#141710e0;--hero-bg:#232721;--hero-ink:#f0f3ec;--hero-muted:#a8ada4;--inverse-bg:#f0f3ec;--inverse-ink:#141710;--inverse-accent:#587b0d;--inverse-muted:#5a5f57;--notice-bg:#ffd6661f;--notice-line:#ffd6664d;--notice-ink:#ffd666;--focus:#c2f25b66;--search-focus:#c2f25b99;--search-glow:#c2f25b1f;--shadow-nav:#00000080;--shadow-card:#00000073;--danger:#ff8d7a;--danger-soft:#ff8d7a59;--danger-bg:#ff8d7a1f;--tag-ink:#a9ada4;--nav-idle:#777c72;--switch-off:#3a4036;--dialog-ink:#b4b9ae;--outside-day:#4a4f45;--accent-heading:#b8e354;--idle-icon:#777c72;--avatar-bg:#2c3126}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font-family:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}::selection{background:var(--lime);color:var(--ink-soft)}.app-shell{min-height:100svh;padding-bottom:104px}.topbar{justify-content:space-between;align-items:center;max-width:1120px;height:72px;margin:0 auto;padding:0 24px;display:flex}.brand{color:var(--ink);align-items:center;gap:10px;font-size:18px;font-weight:800;text-decoration:none;display:inline-flex}.brand-mark{background:var(--lime);border-radius:11px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;transform:rotate(-5deg)}.brand-mark svg{stroke-width:2.5px;width:19px;height:19px}.avatar-button{background:var(--avatar-bg);border:3px solid var(--white);box-shadow:0 1px 0 var(--shadow-nav);color:var(--ink);cursor:pointer;border-radius:50%;width:38px;height:38px;font-size:11px;font-weight:800}.avatar-button.is-active{box-shadow:0 0 0 3px var(--lime)}.page-content{max-width:1120px;margin:0 auto;padding:18px 24px 40px}.dashboard{grid-template-columns:minmax(0,1fr);gap:26px;display:grid}.welcome{max-width:650px}.eyebrow{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:800}h1,h2,h3,p{margin-top:0}.welcome h1,.page-title h1{letter-spacing:-.05em;margin-bottom:14px;font-size:clamp(34px,6vw,60px);line-height:.98}.welcome>p:last-child,.page-title>p:last-child{color:var(--muted);font-size:16px;line-height:1.55}.start-card{background:var(--hero-bg);box-shadow:0 22px 55px var(--shadow-card);color:var(--hero-ink);border-radius:28px;min-height:278px;padding:30px;position:relative;overflow:hidden}.start-card-glow{background:var(--lime);filter:blur(95px);opacity:.35;border-radius:50%;width:160px;height:160px;position:absolute;top:-40px;right:-20px}.start-card-copy{z-index:2;max-width:550px;position:relative}.card-kicker{color:var(--lime);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:7px;font-size:12px;font-weight:800;display:flex}.card-kicker svg{width:16px;height:16px}.start-card h2{letter-spacing:-.04em;margin:42px 0 10px;font-size:clamp(30px,5vw,48px);line-height:1}.start-card p{color:var(--hero-muted);max-width:430px;line-height:1.45}.primary-button{background:var(--lime);color:var(--ink);cursor:pointer;font:inherit;border:0;border-radius:14px;align-items:center;gap:12px;margin-top:24px;padding:14px 18px;font-size:14px;font-weight:800;transition:transform .2s,background .2s;display:inline-flex}.primary-button:hover{background:var(--lime-hover);transform:translateY(-2px)}.primary-button svg{width:18px;height:18px}.plate{border:14px solid #ffffff0f;border-radius:50%;width:155px;height:155px;position:absolute;right:-30px}.plate:before{content:"";border:10px solid #c8ff5c1f;border-radius:50%;position:absolute;inset:21px}.plate-one{bottom:-50px;transform:rotate(12deg)}.plate-two{opacity:.55;top:-100px;right:70px;transform:scale(.8)}.week-card,.recent-section,.content-section{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:24px}.section-heading{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.section-heading h2{letter-spacing:-.03em;margin:0;font-size:22px}.section-heading strong{background:var(--lime-soft);border-radius:30px;padding:8px 12px;font-size:13px}.week-row{grid-template-columns:repeat(7,1fr);gap:7px;display:grid}.day{flex-direction:column;align-items:center;gap:9px;display:flex}.day>span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:700}.day-dot{border:1px solid var(--line);color:var(--muted);border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:flex}.day-dot.is-complete{background:var(--inverse-bg);border-color:var(--inverse-bg);color:var(--inverse-accent)}.day-dot svg{width:15px;height:15px}.day.is-today .day-dot{box-shadow:0 0 0 3px var(--lime);color:var(--ink)}.text-button{color:var(--accent-text);cursor:pointer;font:inherit;background:0 0;border:0;font-size:13px;font-weight:750}.workout-card{border-top:1px solid var(--line);align-items:flex-start;gap:14px;padding-top:20px;display:flex}.workout-card-button{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border-bottom:0;border-left:0;border-right:0;width:100%;padding-left:0;padding-right:0}.workout-card-button:hover h3{color:var(--accent-text)}.workout-icon{background:var(--lime-soft);border-radius:14px;flex:0 0 44px;justify-content:center;align-items:center;height:44px;display:flex}.workout-icon svg{width:21px;height:21px}.workout-main{width:100%;min-width:0}.workout-card-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.workout-card-title h3{letter-spacing:-.02em;margin-bottom:4px;font-size:16px}.workout-card-title p{color:var(--muted);font-size:12px}.workout-card-title>svg{color:var(--muted);flex:0 0 18px;width:18px;height:18px;margin-top:4px}.workout-meta{color:var(--muted);gap:14px;margin-top:14px;font-size:12px;display:flex}.workout-meta span{align-items:center;gap:5px;display:inline-flex}.workout-meta svg{width:14px;height:14px}.exercise-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.exercise-tags span{border:1px solid var(--line);color:var(--tag-ink);border-radius:7px;padding:5px 7px;font-size:11px}.content-section{min-height:560px}.page-title{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:24px}.page-title h1{font-size:clamp(34px,5vw,54px)}.history-list{gap:24px;display:grid}.history-list .workout-card:first-child{border-top:0;padding-top:0}.stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.stat-card{background:var(--surface);border-radius:18px;padding:20px}.stat-icon{background:var(--white);border-radius:11px;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:30px;display:flex}.stat-icon svg{width:18px;height:18px}.stat-card strong{letter-spacing:-.04em;font-size:clamp(24px,4vw,38px);display:block}.stats-grid .stat-card:last-child strong{font-size:clamp(19px,3vw,30px)}.stat-card p{color:var(--muted);margin:5px 0 0;font-size:12px}.stats-average{color:var(--muted);margin:14px 0 0;font-size:13px}.stats-card{background:var(--white);border:1px solid var(--line);border-radius:24px;margin-top:16px;padding:24px}.stats-card .section-heading{margin-bottom:18px}.barchart{width:100%;height:130px;display:block}.barchart-wrap{margin-top:4px}.bar-fill{fill:var(--lime)}.bar-zero{fill:var(--line)}.barchart-labels{color:var(--muted);gap:2.5px;margin-top:6px;font-size:9.5px;display:flex}.barchart-labels span{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.barchart-labels span.is-empty{opacity:.55}.barchart-max{color:var(--muted);margin:8px 0 0;font-size:12px}.records-list{margin:0;padding:0;list-style:none;display:grid}.records-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:13px 2px;display:flex}.records-list li:first-child{border-top:0}.record-name{font-size:15px;font-weight:700}.record-value{color:var(--muted);white-space:nowrap;font-size:13px}.record-value strong{color:var(--ink)}.record-value em{opacity:.7;font-style:normal}.records-toggle{margin-top:12px}.insight-card{background:var(--inverse-bg);color:var(--inverse-ink);border-radius:20px;align-items:center;gap:16px;margin-top:16px;padding:22px;display:flex}.insight-icon{background:var(--lime);color:var(--ink-soft);border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;height:44px;display:flex}.insight-icon svg{width:20px;height:20px}.insight-card h2{margin:0 0 4px;font-size:17px}.insight-card p{color:var(--inverse-muted);margin:0;font-size:13px}.empty-state{text-align:center;flex-direction:column;align-items:center;padding:48px 16px;display:flex}.empty-icon{background:var(--surface);color:var(--muted);border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:14px;display:flex}.empty-icon svg{width:23px;height:23px}.empty-state h3{margin-bottom:6px;font-size:16px}.empty-state p{color:var(--muted);max-width:360px;font-size:13px;line-height:1.5}.notice{background:var(--notice-bg);border:1px solid var(--notice-line);color:var(--notice-ink);border-radius:12px;margin-bottom:16px;padding:12px 14px;font-size:13px}.profile-card{align-items:center;gap:16px;padding:12px 0 26px;display:flex}.profile-avatar{background:var(--lime);border-radius:50%;flex:0 0 68px;justify-content:center;align-items:center;width:68px;height:68px;font-size:18px;font-weight:800;display:flex}.profile-card h2{margin:0 0 3px;font-size:24px}.profile-card p{color:var(--muted);margin:0;font-size:13px}.profile-facts{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.profile-facts>div{background:var(--surface);border-radius:18px;flex-direction:column;padding:20px;display:flex}.profile-facts strong{letter-spacing:-.04em;font-size:30px}.profile-facts span{color:var(--muted);margin-top:4px;font-size:12px}.profile-notice{background:var(--lime-soft);border-radius:16px;align-items:flex-start;gap:12px;margin-top:16px;padding:18px;display:flex}.profile-notice svg{flex:0 0 20px;width:20px;height:20px}.profile-notice p{color:var(--lime-soft-ink);margin:0;font-size:13px;line-height:1.55}.profile-block{background:var(--white);border:1px solid var(--line);border-radius:24px;margin-top:16px;padding:24px}.profile-block h2{letter-spacing:-.03em;margin:0 0 4px;font-size:19px}.profile-hint{color:var(--muted);margin:0 0 16px;font-size:13px;line-height:1.55}.profile-actions{gap:10px;display:grid}.account-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.account-heading .profile-hint{margin-bottom:16px}.sync-dot{background:var(--nav-idle);border-radius:50%;flex:0 0 10px;width:10px;height:10px;margin-top:7px}.sync-dot.is-synced{background:var(--accent-text)}.sync-dot.is-syncing{background:var(--lime);animation:1s infinite alternate pulse}.sync-dot.is-error{background:var(--danger)}.sync-dot.is-offline{background:var(--notice-ink)}.account-form{gap:13px;display:grid}.account-form label{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.account-form input{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:12px;width:100%;padding:12px 14px;font-size:14px}.account-form .primary-button{justify-content:center;margin-top:2px}.account-form button:disabled,.profile-actions button:disabled{cursor:wait;opacity:.65}.account-message{margin-bottom:0}.account-signout{justify-self:center;padding:8px}.sync-pending{color:var(--muted);text-align:center;margin:0;font-size:12px}.segmented{background:var(--surface);border-radius:14px;margin-top:14px;padding:4px;display:flex}.segmented button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:10px;flex:1;padding:11px;font-size:13px;font-weight:800;transition:all .15s}.segmented button.is-active{background:var(--white);box-shadow:0 1px 4px var(--shadow-nav);color:var(--ink)}.import-error{color:var(--danger);margin:12px 0 0;font-size:13px}.bottom-nav{background:var(--bg-translucent);border:1px solid var(--line);box-shadow:0 14px 50px var(--shadow-nav);z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:22px;grid-template-columns:1fr 1fr 58px 1fr 1fr;align-items:center;width:calc(100% - 28px);max-width:540px;padding:8px 10px;display:grid;position:fixed;bottom:14px;left:50%;transform:translate(-50%)}.nav-button{color:var(--nav-idle);cursor:pointer;font:inherit;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:5px 2px;font-size:9px;font-weight:700;display:flex}.nav-button svg{width:20px;height:20px}.nav-button.is-active{color:var(--ink)}.nav-button.is-active svg{stroke-width:2.5px}.quick-start{background:var(--lime);border:5px solid var(--white);color:var(--ink);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;margin-top:-29px;display:flex;box-shadow:0 6px 18px #77973247}.quick-start svg{width:24px;height:24px}.loading-screen{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100svh;display:flex}.loading-mark{background:var(--lime);border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;animation:1.2s infinite alternate pulse;display:flex}.loading-screen p{color:var(--muted);font-size:13px}.auth-screen{justify-content:center;align-items:center;min-height:100svh;padding:24px;display:flex}.auth-card{background:var(--white);border:1px solid var(--line);box-shadow:0 22px 55px var(--shadow-card);border-radius:28px;width:100%;max-width:440px;padding:36px}.auth-mark{background:var(--lime);border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:28px;display:flex;transform:rotate(-4deg)}.auth-mark svg{stroke-width:2.5px;width:27px;height:27px}.auth-card h1{letter-spacing:-.05em;margin-bottom:14px;font-size:clamp(32px,8vw,46px);line-height:1}.auth-description{color:var(--muted);margin-bottom:24px;font-size:14px;line-height:1.55}.auth-form .primary-button{width:100%}.auth-error{text-align:center}.auth-local-button{margin:18px auto 0;display:block}@keyframes pulse{to{transform:scale(1.08)rotate(-4deg)}}@media (width>=800px){.page-content{padding-top:36px}.dashboard{grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr)}.welcome{grid-column:1/-1}.start-card{grid-row:2/span 2;min-height:470px;padding:44px}.start-card h2{margin-top:150px}.plate{width:235px;height:235px}.week-card,.recent-section{padding:26px}.content-section{padding:38px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stats-card{padding:32px}}@media (width<=560px){.topbar{height:64px;padding:0 18px}.page-content{padding:15px 16px 30px}.start-card{padding:24px}.start-card h2{margin-top:38px}.week-card,.recent-section,.content-section{border-radius:20px;padding:20px}.stats-grid{grid-template-columns:1fr}.stat-card{grid-template-columns:40px 1fr;align-items:center;gap:12px;display:grid}.stat-icon{margin:0}.stat-card p{grid-column:2;margin-top:-12px}.stats-card{border-radius:20px;padding:18px}.records-list li{flex-direction:column;align-items:flex-start;gap:4px}}.exercise-library{background:var(--white);border:1px solid var(--line);border-radius:24px;min-height:620px;padding:30px}.library-topbar{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.library-topbar>div{align-items:center;gap:12px;min-width:0;display:flex}.library-topbar h1{letter-spacing:-.05em;margin:0;font-size:clamp(32px,5vw,54px)}.library-topbar .eyebrow{margin-bottom:5px}.library-back{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:12px;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.library-back svg{width:18px;height:18px;transform:rotate(180deg)}.exercise-search{background:var(--surface);border:1px solid #0000;border-radius:16px;align-items:center;gap:11px;padding:0 16px;display:flex}.exercise-search:focus-within{border-color:var(--search-focus);box-shadow:0 0 0 3px var(--search-glow)}.exercise-search svg{color:var(--muted);flex:0 0 21px;width:21px;height:21px}.exercise-search input{color:var(--ink);font:inherit;background:0 0;border:0;outline:0;width:100%;padding:15px 0;font-size:16px}.create-exercise-button{background:var(--surface);color:var(--ink);cursor:pointer;font:inherit;border:0;border-radius:18px;justify-content:center;align-items:center;gap:14px;width:100%;margin:18px 0 20px;padding:18px;font-size:16px;font-weight:800;display:flex}.create-exercise-button span{background:var(--lime);border-radius:50%;justify-content:center;align-items:center;width:31px;height:31px;display:flex}.create-exercise-button svg{width:18px;height:18px}.muscle-group-list,.catalog-exercise-list{display:grid}.muscle-group-row,.catalog-exercise-row{border:0;border-top:1px solid var(--line);color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;align-items:center;width:100%;display:grid}.muscle-group-row{grid-template-columns:54px 1fr auto 20px;gap:14px;min-height:82px;padding:12px 8px}.muscle-group-row:first-child,.catalog-exercise-row:first-child{border-top:0}.muscle-group-row strong{font-size:18px}.group-icon{justify-content:center;align-items:center;width:50px;height:50px;display:flex}.muscle-group-icon{width:48px;height:48px;overflow:visible}.muscle-group-icon>circle,.muscle-group-icon>path:not(.muscle-fill){fill:none;stroke:currentColor;stroke-width:2px}.muscle-group-icon .muscle-fill{fill:var(--lime);stroke:var(--ink);stroke-width:1.3px}.group-count{color:var(--muted);font-size:15px;font-weight:700}.muscle-group-row>svg,.catalog-exercise-row>svg{color:var(--idle-icon);width:18px;height:18px}.catalog-exercise-row{grid-template-columns:1fr auto;gap:12px;min-height:72px;padding:13px 8px}.catalog-exercise-row strong{font-size:16px;display:block}.catalog-exercise-row small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.catalog-exercise-row em{background:var(--lime-soft);color:var(--accent-text);border-radius:20px;padding:7px 9px;font-size:10px;font-style:normal;font-weight:800}.catalog-exercise-row:disabled{cursor:default;opacity:.55}.catalog-empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;padding:55px 16px;display:flex}.catalog-empty>svg{width:30px;height:30px;margin-bottom:12px}.catalog-empty h2{color:var(--ink);margin-bottom:6px;font-size:18px}.catalog-empty p{font-size:13px}.exercise-detail-card{text-align:center;max-width:620px;margin:60px auto 0}.group-icon-large{background:var(--lime-soft);border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;margin:0 auto 24px;display:flex}.group-icon-large .muscle-group-icon{width:62px;height:62px}.exercise-detail-card h1{letter-spacing:-.05em;font-size:clamp(32px,6vw,52px)}.exercise-properties{border-bottom:1px solid var(--line);border-top:1px solid var(--line);margin-top:35px}.property-row{justify-content:space-between;align-items:center;padding:16px 2px;font-size:14px;display:flex}.property-row+.property-row{border-top:1px solid var(--line)}.property-row strong{background:var(--surface);color:var(--muted);border-radius:18px;padding:7px 10px;font-size:11px}.property-row strong.is-enabled{background:var(--lime-soft);color:var(--accent-text)}.exercise-detail-actions{justify-content:center;align-items:center;gap:10px;display:flex}.exercise-detail-actions .primary-button{margin-top:24px}.exercise-editor-form{gap:0;max-width:700px;margin:35px auto 0;display:grid}.exercise-editor-form>label{border-top:1px solid var(--line);gap:10px;padding:18px 0;display:grid}.exercise-editor-form>label>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.exercise-editor-form input[type=text],.exercise-editor-form input:not([type]),.exercise-editor-form select{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:13px;width:100%;padding:13px 14px;font-size:16px}.field-error{color:var(--danger);margin:-8px 0 12px;font-size:12px}.exercise-toggle-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;min-height:76px;display:flex}.exercise-toggle-row>span{align-items:center;gap:8px;font-size:16px;font-weight:800;display:flex}.exercise-toggle-row>span button{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;padding:2px;display:flex}.exercise-toggle-row>span svg{width:20px;height:20px}.switch{display:inline-flex;position:relative}.switch input{opacity:0;width:1px;height:1px;position:absolute}.switch span{background:var(--switch-off);cursor:pointer;border-radius:30px;width:54px;height:32px;transition:all .2s;position:relative}.switch span:after{background:var(--white);content:"";border-radius:50%;width:26px;height:26px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0003}.switch input:checked+span{background:var(--inverse-bg)}.switch input:checked+span:after{background:var(--lime);transform:translate(22px)}.switch input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}.save-exercise-button{background:var(--inverse-bg);color:var(--inverse-accent);cursor:pointer;font:inherit;border:0;border-radius:18px;margin-top:28px;padding:18px;font-size:15px;font-weight:800}.save-exercise-button:disabled{cursor:not-allowed;opacity:.35}.info-dialog-backdrop{z-index:100;background:#1416138c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.info-dialog{background:var(--white);border-radius:25px;width:100%;max-width:460px;padding:28px;box-shadow:0 24px 80px #00000040}.info-dialog h2{margin-bottom:12px;font-size:24px}.info-dialog p{color:var(--dialog-ink);font-size:15px;line-height:1.65}.info-dialog button{background:var(--surface);color:var(--ink);cursor:pointer;font:inherit;border:0;border-radius:14px;width:100%;margin-top:12px;padding:14px;font-weight:800}.exercise-picker-overlay{background:var(--bg);z-index:70;padding:20px max(16px,50% - 480px);position:fixed;inset:0;overflow:auto}@media (width<=560px){.exercise-library{border:0;border-radius:0;min-height:100svh;padding:20px 16px}.exercise-picker-overlay{padding:0}.library-topbar h1{font-size:31px}.muscle-group-row{grid-template-columns:48px 1fr auto 18px;min-height:74px}.group-icon{width:44px;height:44px}.muscle-group-icon{width:43px;height:43px}.exercise-detail-card{margin-top:35px}.exercise-detail-actions{flex-direction:column;align-items:stretch}.exercise-detail-actions .primary-button,.exercise-detail-actions .danger-button{justify-content:center;width:100%;margin-top:12px}}.active-shell{min-height:100svh;padding-bottom:50px}.active-header{background:var(--bg-translucent);border-bottom:1px solid var(--line);z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);grid-template-columns:1fr auto 1fr;align-items:center;padding:12px max(16px,50% - 480px);display:grid;position:sticky;top:0}.active-header>div{flex-direction:column;align-items:center;display:flex}.active-header span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.active-header strong{margin-top:2px;font-size:13px}.icon-button{background:var(--white);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.icon-button svg{width:18px;height:18px}.finish-button{background:var(--inverse-bg);color:var(--inverse-accent);cursor:pointer;font:inherit;border:0;border-radius:11px;justify-self:end;padding:11px 13px;font-size:12px;font-weight:800}.finish-button:disabled{cursor:not-allowed;opacity:.35}.active-content{max-width:960px;margin:0 auto;padding:36px 20px}.active-title{margin-bottom:30px}.active-title h1{color:var(--ink);letter-spacing:-.05em;margin:0 0 10px;font-size:clamp(31px,6vw,52px);font-weight:800;line-height:1}.active-title>p:last-child{color:var(--muted);font-size:13px}.exercise-list{gap:16px;display:grid}.workout-exercises-empty{background:var(--white);border:1px dashed var(--line);text-align:center;border-radius:22px;flex-direction:column;align-items:center;margin-bottom:16px;padding:42px 20px;display:flex}.workout-exercises-empty>span{background:var(--lime-soft);border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:14px;display:flex}.workout-exercises-empty svg{width:24px;height:24px}.workout-exercises-empty h2{margin-bottom:6px;font-size:18px}.workout-exercises-empty p{color:var(--muted);margin:0;font-size:13px}.exercise-card,.add-exercise-panel{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:24px}.exercise-heading{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.exercise-heading span{color:var(--accent-heading);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.exercise-heading h2{letter-spacing:-.03em;margin:5px 0 0;font-size:21px}.icon-button.subtle{color:var(--idle-icon);border:0}.set-grid{grid-template-columns:60px 1fr 1fr 60px;align-items:center;gap:10px;display:grid}.set-labels{color:var(--muted);letter-spacing:.04em;text-align:center;text-transform:uppercase;padding:0 2px 8px;font-size:9px;font-weight:800}.set-labels span:first-child{text-align:left}.set-row{border-top:1px solid var(--line);padding:11px 0}.set-number{background:var(--surface);border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:800;display:flex}.set-row input{background:var(--surface);color:var(--ink);font:inherit;text-align:center;border:1px solid #0000;border-radius:10px;width:100%;min-width:0;padding:10px 8px;font-size:14px;font-weight:700}.complete-set{background:var(--surface);border:1px solid var(--line);color:#0000;cursor:pointer;border-radius:50%;justify-content:center;justify-self:center;align-items:center;width:34px;height:34px;display:flex}.complete-set svg{width:17px;height:17px}.remove-set{color:var(--idle-icon);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;justify-self:center;align-items:center;width:34px;height:34px;display:flex}.remove-set:hover{background:var(--danger-bg);color:var(--danger)}.remove-set svg{width:17px;height:17px}.set-row.is-complete{opacity:.72}.set-row.is-complete .set-number,.set-row.is-complete .complete-set{background:var(--lime);color:var(--ink)}.add-set{color:var(--accent-text-soft);cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:7px;margin-top:8px;padding:8px 0;font-size:12px;font-weight:800;display:inline-flex}.add-set svg{width:16px;height:16px}.add-exercise-panel{margin-top:16px}.add-exercise-panel h2{margin:0;font-size:20px}.choose-exercise-button{margin-top:18px}.add-exercise-controls{gap:10px;margin-top:18px;display:flex}.add-exercise-controls select{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:12px;flex:1;min-width:0;padding:12px}.add-exercise-controls .primary-button{margin:0}.danger-button{border:1px solid var(--danger-soft);color:var(--danger);cursor:pointer;font:inherit;background:0 0;border-radius:13px;align-items:center;gap:8px;margin-top:24px;padding:12px 14px;font-size:13px;font-weight:800;display:flex}.danger-button svg{width:17px;height:17px}@media (width<=540px){.active-header{padding:10px 14px}.active-content{padding:28px 14px}.exercise-card,.add-exercise-panel{border-radius:18px;padding:18px 14px}.set-grid{grid-template-columns:45px 1fr 1fr 46px;gap:7px}.add-exercise-controls{flex-direction:column;align-items:stretch}.add-exercise-controls .primary-button{justify-content:center}}.calendar-page{gap:20px;display:grid}.calendar-page-title{background:var(--white);border:1px solid var(--line);border-radius:24px;justify-content:space-between;align-items:flex-end;margin:0;padding:30px;display:flex}.calendar-page-title h1{margin-bottom:14px}.calendar-page-title p:last-child{margin-bottom:0}.secondary-button{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;font:inherit;border-radius:12px;padding:11px 14px;font-size:12px;font-weight:800}.calendar-card,.selected-day{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:24px}.calendar-toolbar{grid-template-columns:42px 1fr 42px;align-items:center;margin-bottom:22px;display:grid}.calendar-toolbar h2{letter-spacing:-.03em;text-align:center;text-transform:capitalize;margin:0;font-size:23px}.calendar-arrow{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.calendar-arrow:disabled{cursor:not-allowed;opacity:.3}.calendar-arrow svg{width:18px;height:18px}.calendar-arrow.is-previous svg{transform:rotate(180deg)}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-weekdays{color:var(--muted);letter-spacing:.06em;text-align:center;text-transform:uppercase;margin-bottom:8px;font-size:10px;font-weight:800}.calendar-grid{gap:7px}.calendar-day{aspect-ratio:1;color:var(--ink);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:50%;justify-content:center;justify-self:center;align-items:center;width:100%;max-width:54px;max-height:54px;padding:5px;font-size:13px;font-weight:700;display:flex;position:relative}.calendar-day:hover:not(:disabled){background:var(--surface)}.calendar-day.is-outside{color:var(--outside-day)}.calendar-day:disabled{cursor:default;opacity:.38}.calendar-day.has-workout:after{border:2px solid var(--border-accent);content:"";border-radius:50%;position:absolute;inset:3px}.calendar-day.is-selected{background:var(--inverse-bg);color:var(--inverse-ink)}.calendar-day.is-selected:after{border-color:var(--lime)}.calendar-day.is-today:not(.is-selected){background:var(--lime-soft)}.selected-day{min-height:280px}.selected-day-heading{align-items:center}.selected-day-heading h2{text-transform:capitalize}.compact-button{white-space:nowrap;margin:0}.day-workouts{gap:18px;display:grid}.day-workouts .workout-card:first-child{border-top:0;padding-top:0}.editor-overlay{background:var(--bg);z-index:50;position:fixed;inset:0;overflow:auto}@media (width>=800px){.calendar-card,.selected-day{padding:32px}.calendar-grid{gap:10px}.calendar-day{font-size:14px}}@media (width<=560px){.calendar-page-title{border-radius:20px;flex-direction:column;align-items:flex-start;gap:18px;padding:20px}.calendar-card,.selected-day{border-radius:20px;padding:18px}.calendar-toolbar{margin-bottom:18px}.calendar-toolbar h2{font-size:19px}.calendar-grid{gap:3px}.calendar-day{font-size:12px}.calendar-day.has-workout:after{inset:1px}.selected-day-heading{align-items:flex-start;gap:12px}.compact-button{padding:11px 13px}.compact-button svg{display:none}}
