:root{--bg:#0d1211;--panel:#151c1a;--panel2:#1a2320;--line:#29332e;--text:#f3f5ee;--muted:#94a399;--accent:#d8fa72;--accent-dark:#1b2811;--red:#ff9b94;--radius:20px;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button, a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,textarea,select{border:1px solid var(--line);background:#101613;color:var(--text);border-radius:10px;padding:12px;min-width:0}input::placeholder,textarea::placeholder{color:#657268}input:focus,textarea:focus,select:focus{border-color:#8baa52}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}textarea{resize:vertical}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:36px;font-weight:650;letter-spacing:-1.4px;line-height:1.15}h2{font-size:21px;letter-spacing:-.5px;font-weight:600}h3{font-size:16px;font-weight:600;line-height:1.35}p{line-height:1.6}button{color:inherit;border:0;background:none}svg{display:block;flex-shrink:0}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.tiny{font-size:12px}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.7px;text-transform:uppercase;color:var(--muted)}.accent{color:var(--accent)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:20px}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.divider{height:1px;background:var(--line);margin:20px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border-radius:11px;min-height:46px;font-weight:600;font-size:13px;border:1px solid var(--line);transition:background .15s,transform .15s}.btn:hover{background:#263126}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--accent);color:#18200d;border-color:var(--accent)}.btn-primary:hover{background:#e3ff94}.btn-secondary{background:#253029;border-color:#354233}.btn-danger{color:var(--red);border-color:#64423b}.btn-sm{padding:9px 13px;min-height:38px;font-size:12px;border-radius:9px}.btn-full{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}.icon-btn:hover{background:#273129}.icon-btn .icon{width:19px;height:19px}.text-btn{padding:8px 0;color:var(--accent);font-size:13px;font-weight:600;display:flex;gap:6px;align-items:center}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:650;letter-spacing:.4px;background:#263128;color:#c9d1c5;white-space:nowrap}.badge.lime{background:#344126;color:var(--accent)}.chip{border:1px solid var(--line);border-radius:99px;padding:6px 10px;color:var(--muted);font-size:11px;white-space:nowrap}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:24px}.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.brand-mark{display:flex;align-items:baseline;font-size:49px;font-style:italic;font-weight:800;letter-spacing:-5px;line-height:1;color:var(--accent)}.brand-mark span{letter-spacing:-5px}.brand-mark i{display:block;width:8px;height:8px;background:var(--accent);border-radius:50%;margin-left:8px}.sidebar{position:fixed;width:222px;inset:0 auto 0 0;background:#111815;border-right:1px solid var(--line);padding:33px 22px 22px;display:flex;flex-direction:column;z-index:20}.brand{padding:0 17px 39px}.brand small{display:block;margin-top:10px;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600}.nav{display:flex;flex-direction:column;gap:8px}.nav button{display:flex;align-items:center;gap:13px;min-height:50px;padding:12px 16px;border-radius:10px;color:var(--muted);font-size:13px;text-align:left;font-weight:550}.nav button.active{background:#293222;color:var(--accent)}.nav button:hover{background:#222b23}.nav button .icon{width:21px;height:21px}.sidebar-bottom{margin-top:auto;padding:20px 8px 0}.private-label{font-size:11px;color:#7b8a80;display:flex;align-items:center;gap:7px;line-height:1.4}.profile{display:flex;align-items:center;gap:10px;padding-top:22px;margin-top:20px;border-top:1px solid var(--line)}.avatar{background:#2c3826;color:var(--accent);border:1px solid #445139;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:600;flex-shrink:0}.profile-name{font-size:12px;font-weight:600;white-space:nowrap;max-width:116px;overflow:hidden;text-overflow:ellipsis}.profile-sub{font-size:10px;color:var(--muted);margin-top:3px}.main{margin-left:222px;max-width:1640px;padding:35px 44px 65px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:37px}.topbar-date{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.topbar-name{font-size:12px;letter-spacing:.1px;color:#cbd4c9}.topbar .icon{width:16px;height:16px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}.page-heading p{margin-top:10px;font-size:13px;color:var(--muted)}.page-heading .eyebrow{margin-bottom:12px}.week-pill{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);border:1px solid var(--line);padding:9px 13px;border-radius:99px;white-space:nowrap}.week-pill i{width:6px;height:6px;background:var(--accent);border-radius:50%}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:24px}.home-main{min-width:0}.hero{background:linear-gradient(110deg,#c9ee6f,#dcf69a);border-radius:var(--radius);padding:29px 30px;color:#202d16;position:relative;overflow:hidden;min-height:210px;display:flex;align-items:center;margin-bottom:32px}.hero-copy{max-width:345px;position:relative;z-index:2}.hero .eyebrow{color:#5c713c;font-size:10px;margin-bottom:12px;letter-spacing:1.5px}.hero h2{font-size:29px;letter-spacing:-1.1px;line-height:1.15;max-width:300px}.hero p{font-size:12px;color:#52653a;margin:11px 0 17px;max-width:270px;line-height:1.5}.hero .btn{background:#1d2b16;color:#e9ffd0;border-color:#1d2b16;min-height:41px;padding:10px 15px;font-size:12px}.hero-art{position:absolute;right:-15px;top:17px;width:230px;height:205px;opacity:.8;transform:rotate(-28deg);pointer-events:none}.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid #92b34c;border-radius:50%;width:210px;height:210px;left:0;top:0}.hero-art:after{width:160px;height:160px;left:24px;top:24px}.hero-art svg{position:absolute;width:120px;height:120px;top:43px;left:47px;stroke:#53762a;stroke-width:1;fill:#b5d75e;filter:drop-shadow(7px 10px 0 #94b448)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.section-head h2{font-size:18px}.section-head p{font-size:12px;color:var(--muted);margin-top:5px}.routines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.routine-card{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:20px;display:flex;flex-direction:column;min-height:232px;transition:border-color .2s}.routine-card:hover{border-color:#4c5c3e}.routine-icon{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;color:var(--accent);background:#263122;margin-bottom:16px}.routine-icon .icon{width:22px;height:22px}.routine-card h3{font-size:17px;letter-spacing:-.3px}.routine-card .routine-meta{font-size:11px;color:var(--muted);margin-top:6px}.exercise-preview{font-size:11px;line-height:1.65;color:#829085;margin:12px 0 17px;flex:1}.routine-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.routine-footer .btn{background:#263125;color:var(--accent);border:1px solid #3d4b32;min-height:36px;font-size:11px;padding:8px 12px}.routine-footer .btn:hover{background:#33422b}.routine-more{align-self:flex-start;margin-top:-8px;margin-right:-8px;color:#849181}.aside{display:flex;flex-direction:column;gap:20px}.aside .panel{padding:22px}.aside-title{font-size:14px;font-weight:600}.week-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:22px}.week-day{display:flex;flex-direction:column;align-items:center;gap:11px;font-size:10px;color:#839286}.week-day b{height:27px;width:27px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:500}.week-day.today b{border:1px solid #596947;color:var(--accent)}.week-day.done b{background:var(--accent);color:#1c2913}.week-total{padding-top:22px;margin-top:20px;border-top:1px solid var(--line);display:flex;gap:28px}.week-total strong{font-size:23px;letter-spacing:-.8px;font-weight:600}.week-total span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.insight-icon{width:33px;height:33px;background:#2c3522;color:var(--accent);display:grid;place-items:center;border-radius:50%;margin-bottom:16px}.insight h3{font-size:15px}.insight p{font-size:12px;color:var(--muted);margin-top:8px}.aside-note{padding:6px 10px;color:#708075;font-size:11px;line-height:1.65;display:flex;gap:9px}.library{margin-top:30px}.library-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:15px;overflow:hidden}.library-item{display:flex;align-items:center;gap:14px;padding:15px 18px;background:var(--panel)}.library-item+.library-item{border-top:1px solid var(--line)}.exercise-thumb{width:41px;height:41px;border-radius:10px;background:#263025;color:#a5bd83;display:grid;place-items:center;flex-shrink:0}.exercise-thumb .icon{width:24px;height:24px}.library-item h3{font-size:12px}.library-item p{font-size:10px;color:var(--muted);margin-top:5px}.library-item .chip{margin-left:auto;font-size:10px}.start-banner{border:1px solid #52613a;background:linear-gradient(110deg,#26351e,#1b251b);border-radius:16px;padding:19px 22px;margin-bottom:24px;display:flex;align-items:center;gap:14px}.start-banner h3{font-size:15px}.start-banner p{font-size:12px;color:var(--muted);margin-top:5px}.active-dot{height:9px;width:9px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 6px #d8fa7210}.empty{padding:55px 24px;text-align:center;border:1px dashed #38443a;border-radius:20px;background:linear-gradient(140deg,#172019,#111813)}.empty-icon{width:62px;height:62px;border:1px solid #3b4c31;color:var(--accent);background:#26311e;border-radius:19px;display:grid;place-items:center;margin:0 auto 20px}.empty-icon .icon{width:28px;height:28px}.empty h2{font-size:23px;margin-bottom:10px}.empty p{color:var(--muted);font-size:13px;max-width:340px;margin:0 auto 24px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.metric-card{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:15px}.metric-card .eyebrow{font-size:10px;letter-spacing:1px}.metric-card strong{display:block;font-size:29px;font-weight:600;letter-spacing:-.8px;margin-top:14px}.metric-card .small{color:var(--muted);font-size:11px;margin-top:8px}.history-list{display:flex;flex-direction:column;gap:15px}.history-card{display:flex;align-items:center;gap:20px;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:16px;cursor:pointer}.history-card:hover{border-color:#52613d}.history-date{width:48px;flex-shrink:0;text-align:center;border-right:1px solid var(--line);padding-right:17px}.history-date small{display:block;font-size:10px;color:var(--muted);text-transform:uppercase}.history-date strong{display:block;font-size:25px;margin-top:5px}.history-card p{color:var(--muted);font-size:12px;margin-top:6px}.history-stats{display:flex;gap:25px;color:var(--muted);font-size:11px}.history-stats strong{display:block;color:#dbe3d6;font-size:14px;margin-bottom:5px;font-weight:550}.editor{max-width:960px}.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px}.workout-title{font-size:29px;letter-spacing:-.9px;font-weight:600;background:none;border:0;padding:0;width:100%;border-radius:0;min-width:0}.workout-title:focus{outline-offset:7px}.editor-top-meta{display:flex;gap:15px;align-items:center;margin-top:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}.save-status{display:flex;gap:5px;align-items:center;font-size:11px;color:var(--muted)}.save-status.saved{color:#adbf91}.save-status.error{color:var(--red)}.save-status .icon{width:13px;height:13px}.editor-summary{display:flex;gap:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:22px 0}.editor-summary div{font-size:11px;color:var(--muted)}.editor-summary strong{display:block;color:var(--text);font-size:20px;font-weight:550;letter-spacing:-.5px;margin-top:7px}.exercise-card{border:1px solid var(--line);background:var(--panel);border-radius:17px;padding:20px;margin-bottom:18px;overflow:hidden}.exercise-card-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.exercise-card-head h3{font-size:15px}.exercise-card-head p{font-size:10px;color:var(--muted);margin-top:4px}.exercise-tools{display:flex;gap:1px}.exercise-tools .icon-btn{width:28px;height:36px}.exercise-tools .icon{width:16px;height:16px}.exercise-note{width:100%;font-size:12px;margin-bottom:13px;padding:10px 12px;min-height:40px;resize:vertical}.set-grid{display:grid;grid-template-columns:33px minmax(50px,1.2fr) minmax(50px,1fr) minmax(43px,.85fr) 38px 25px;gap:9px;align-items:center}.set-labels{font-size:9px;letter-spacing:1px;font-weight:600;color:#899789;text-align:center;padding:6px 0 11px}.set-labels>span:nth-child(2){text-align:left}.set-row{padding:5px 0;border-radius:8px;transition:background .2s}.set-row.done{background:#2d39232e}.set-row input{width:100%;padding:10px 4px;text-align:center;font-size:14px;height:39px;border-radius:8px;background:#101713;border-color:#364131}.set-row.done input{border-color:#4d6033;color:var(--accent);background:#27321e}.set-badge{color:#d7e0cf;font-size:12px;font-weight:600;display:grid;place-items:center;height:35px;min-width:30px;border-radius:7px}.set-badge:hover{background:#34412b}.set-badge.warmup{color:#e1b87d}.previous{font-size:11px;color:#84917f;white-space:nowrap}.set-check{background:#2b352d;width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:#8e9b8a}.set-check .icon{width:18px;height:18px}.set-check.completed{background:var(--accent);color:#233015}.set-delete{color:#7b897d;width:25px;height:35px;display:grid;place-items:center;font-size:17px}.add-set{font-size:12px;color:var(--accent);background:#263122;border:1px solid #3b4a2e;border-radius:9px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:15px;min-height:38px}.suggestion{background:#1e281a;border:1px solid #3d4d2f;border-radius:11px;padding:12px;margin-top:16px}.suggestion-head{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;color:#c8df9a}.suggestion-head .icon{width:14px;height:14px}.suggestion p{font-size:11px;color:#9dad91;line-height:1.5;margin-top:6px}.suggestion small{display:block;font-size:10px;line-height:1.5;color:#829276;margin-top:6px}.suggestion .text-btn{font-size:11px;padding:9px 0 0}.editor-bottom{display:flex;justify-content:space-between;gap:12px;margin:24px 0}.workout-note{width:100%;min-height:82px;font-size:13px}.workout-note-label{display:block;color:var(--muted);font-size:12px;margin-bottom:10px}.unit-info{font-size:11px;color:var(--muted);padding:13px 0 4px;line-height:1.55}.editor-empty{padding:35px 15px}.progress-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;flex-wrap:wrap}.exercise-select{min-width:270px;max-width:100%;font-size:13px;flex:1}.segment{display:flex;border:1px solid var(--line);background:#111813;border-radius:9px;padding:4px;gap:3px}.segment button{font-size:11px;padding:8px 12px;border-radius:6px;color:var(--muted)}.segment button.active{background:#344027;color:var(--accent)}.chart-panel{padding:25px;margin-bottom:24px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.chart-heading h3{font-size:16px}.chart-heading p{font-size:11px;color:var(--muted);margin-top:5px}.chart-value{font-size:25px;color:var(--accent);letter-spacing:-.8px}.chart-value small{font-size:12px;color:var(--muted);letter-spacing:0;margin-left:4px}.chart{width:100%;height:auto;overflow:visible}.chart-wrap{padding:10px 5px 0}.chart-empty{height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:12px;text-align:center;gap:12px}.chart-empty .icon{width:35px;height:35px;color:#6d8150}.chart-empty strong{font-size:15px;color:#c2ceba}.progress-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.record{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.record .icon{width:18px;height:18px;color:#a5bd7d;margin-bottom:15px}.record span{font-size:11px;color:var(--muted)}.record strong{display:block;font-size:22px;letter-spacing:-.6px;font-weight:550;margin:10px 0 7px}.record small{font-size:10px;color:#7e8e7d}.progress-table{width:100%;border-collapse:collapse;margin-top:15px;font-size:12px}.progress-table th{text-align:left;color:var(--muted);font-size:10px;font-weight:500;padding:11px 7px;border-bottom:1px solid var(--line)}.progress-table td{padding:15px 7px;border-bottom:1px solid #273128}.progress-table th:not(:first-child),.progress-table td:not(:first-child){text-align:right}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;min-width:0}.form-group label{font-size:12px;font-weight:500;color:#c1cbb9}.form-group small{font-size:11px;color:var(--muted);line-height:1.5}.form-group input,.form-group select{width:100%}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid h2{font-size:17px;margin-bottom:22px}.settings-grid p{color:var(--muted);font-size:12px;margin-bottom:18px}.form-message{font-size:12px;line-height:1.5;color:var(--accent);margin:14px 0 0}.auth-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100dvh}.auth-art{background:#171f17;padding:45px 60px;display:flex;flex-direction:column;position:relative;overflow:hidden;border-right:1px solid var(--line)}.auth-art:after{content:"";height:500px;width:500px;border:1px solid #4f6330;border-radius:50%;position:absolute;bottom:-210px;right:-150px;box-shadow:0 0 0 70px #28351b40,0 0 0 140px #26321b30}.auth-art .brand-mark{font-size:60px}.auth-tagline{margin:auto 0;position:relative;z-index:1;padding:70px 0}.auth-tagline h1{font-size:clamp(35px,5vw,64px);letter-spacing:-2.7px;max-width:440px;line-height:1.03}.auth-tagline h1 span{color:var(--accent)}.auth-tagline p{margin-top:25px;color:#93a48b;font-size:14px;max-width:310px}.auth-footer{font-size:11px;color:#75876f;position:relative;z-index:1}.auth-main{display:flex;align-items:center;justify-content:center;padding:60px 35px}.auth-form{width:100%;max-width:340px}.auth-form .eyebrow{color:var(--accent);margin-bottom:18px}.auth-form h2{font-size:29px;letter-spacing:-.9px}.auth-form>p{font-size:13px;color:var(--muted);margin:12px 0 30px}.auth-form .btn{margin-top:5px}.auth-form .private-label{justify-content:center;margin-top:22px;font-size:10px}.auth-error{background:#39231d;color:#ffb3a4;border:1px solid #684139;border-radius:9px;padding:12px;font-size:12px;margin-bottom:18px}.auth-form .brand-mark{display:none}.modal-shell{padding:26px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.modal-header h2{font-size:22px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-description{font-size:13px;color:var(--muted);line-height:1.65}.modal-shell .form-group:last-of-type{margin-bottom:0}dialog{width:calc(100% - 32px);max-width:560px;padding:0;border:1px solid #3d4939;background:#151d17;color:var(--text);border-radius:22px;max-height:calc(100dvh - 55px);overflow-y:auto;box-shadow:0 25px 150px #0009}dialog::backdrop{background:#050a08bd;backdrop-filter:blur(5px)}.chooser-search{width:100%;margin-bottom:14px}.chooser-item{width:100%;display:flex;align-items:center;gap:11px;padding:13px 7px;text-align:left;border-bottom:1px solid var(--line)}.chooser-item:hover{background:#222f20}.chooser-item h3{font-size:13px}.chooser-item p{color:var(--muted);font-size:10px;margin-top:5px}.chooser-item.selected{color:var(--accent)}.chooser-item .exercise-thumb{height:36px;width:36px}.chooser-item .selected-check{margin-left:auto;color:var(--accent)}.routine-editor-item{padding:13px 0;border-top:1px solid var(--line)}.routine-editor-item h3{font-size:12px}.routine-editor-item .row{gap:8px}.routine-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding-top:13px}.routine-fields label{font-size:10px;color:var(--muted);display:block;margin-bottom:6px}.routine-fields input{width:100%;padding:9px;font-size:12px}.workout-detail-ex{padding:18px 0;border-top:1px solid var(--line)}.workout-detail-ex h3{font-size:14px;margin-bottom:10px}.detail-set{display:flex;justify-content:space-between;padding:6px 0;font-size:12px;color:var(--muted)}.detail-set strong{color:#dce5d6;font-weight:500}.summary-celebrate{width:64px;height:64px;border-radius:50%;color:var(--accent);background:#303e22;display:grid;place-items:center;margin:0 auto 22px}.summary-celebrate .icon{width:30px;height:30px}.summary-title{text-align:center}.summary-title h2{font-size:30px;letter-spacing:-1px}.summary-title p{font-size:13px;color:var(--muted);margin-top:10px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0}.summary-stats>div{text-align:center;background:#202b1e;border-radius:10px;padding:17px 6px}.summary-stats strong{font-size:23px;display:block;font-weight:550;letter-spacing:-.7px}.summary-stats span{font-size:10px;color:var(--muted);display:block;margin-top:7px}#toast{position:fixed;bottom:28px;left:calc(50% + 111px);transform:translate(-50%,16px);background:#35452a;border:1px solid #617b45;color:#eefbdf;padding:13px 20px;border-radius:11px;z-index:100;box-shadow:0 15px 60px #0007;font-size:12px;max-width:calc(100% - 32px);opacity:0;transition:.2s;pointer-events:none;line-height:1.5}#toast.show{transform:translate(-50%,0);opacity:1}#toast.error{background:#41271e;border-color:#8a4e3b;color:#ffc1ae}.rest-bar{position:fixed;bottom:20px;left:calc(50% + 111px);transform:translateX(-50%);width:450px;max-width:calc(100% - 40px);background:#25321f;border:1px solid #617642;border-radius:15px;padding:12px 16px;z-index:29;box-shadow:0 10px 50px #0008;display:flex;align-items:center;gap:10px}.rest-progress{position:absolute;height:3px;background:var(--accent);bottom:0;left:10px;max-width:calc(100% - 20px);border-radius:2px}.rest-bar .eyebrow{font-size:9px;letter-spacing:1px;color:#b8c5a5}.rest-time{font-variant-numeric:tabular-nums;font-size:24px;letter-spacing:-1px}.rest-adjust{font-size:11px;border:1px solid #4d603a;padding:8px 9px;border-radius:7px}.rest-bar .text-btn{margin-left:auto;font-size:11px;white-space:nowrap}.bottom-nav{display:none}.offline-banner{padding:10px 15px;background:#3c2d18;border:1px solid #71562e;color:#edce90;font-size:12px;border-radius:9px;margin-bottom:22px}.version{font-size:10px;color:#62725e;margin-top:22px;text-align:center}.settings-install{border:1px solid #3e4d31;background:#212b1c;border-radius:12px;padding:16px;font-size:12px;color:#acba9c;line-height:1.7}.settings-install strong{display:block;color:#dbe7ce;font-size:12px;margin-bottom:5px}.inline-error{color:var(--red);font-size:12px;margin-top:12px;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.notice{font-size:11px;line-height:1.6;color:#a7b997;background:#212c1c;border:1px solid #3b4d2e;border-radius:10px;padding:13px;margin:15px 0}.mb20{margin-bottom:20px}.mt20{margin-top:20px}
@media(min-width:1500px){.main{padding-left:62px;padding-right:62px}.home-grid{grid-template-columns:minmax(0,1fr) 330px}.hero{min-height:240px}.hero h2{font-size:34px}.hero-art{right:10px;top:33px}.routines{gap:20px}.routine-card{padding:24px;min-height:250px}}
@media(max-width:1160px){.sidebar{width:190px;padding:30px 15px}.main{margin-left:190px;padding:30px 28px 60px}.home-grid{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.aside .panel{padding:18px}.hero{padding:25px;min-height:215px}.hero-copy{max-width:250px}.hero-art{right:-80px;opacity:.45}.routine-card{padding:17px}.routine-card h3{font-size:15px}#toast,.rest-bar{left:calc(50% + 95px)}.settings-grid{gap:18px}}
@media(max-width:960px){.home-grid{grid-template-columns:minmax(0,1fr)}.aside{display:grid;grid-template-columns:1fr 1fr}.aside-note{display:none}.hero-art{right:5px;opacity:.85}.hero-copy{max-width:330px}.settings-grid{grid-template-columns:1fr}.history-stats{gap:15px}.auth-art{padding:40px}.topbar{margin-bottom:30px}.page-heading h1{font-size:32px}}
@media(max-width:700px){:root{font-size:14px}.sidebar{display:none}.main{margin-left:0;padding:23px 20px calc(108px + env(safe-area-inset-bottom));width:100%;max-width:100%;overflow-x:clip}.topbar{margin-bottom:28px}.topbar-name{font-size:11px}.topbar-date{font-size:11px}.topbar-date .icon{width:14px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:10px}.page-heading h1{font-size:31px;letter-spacing:-1.1px}.page-heading p{font-size:12px;margin-top:9px}.page-heading .eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:1.4px}.week-pill{font-size:0;padding:8px;width:23px;height:23px;justify-content:center;gap:0;margin-top:6px}.week-pill i{width:6px;height:6px}.hero{padding:25px 23px;min-height:210px;margin-bottom:28px;border-radius:18px}.hero h2{font-size:28px;max-width:245px}.hero p{max-width:215px;font-size:11px;margin:11px 0 16px}.hero-art{width:180px;right:-83px;opacity:.6;top:35px}.hero-art svg{width:100px;top:50px;left:26px}.hero-art:before{width:185px;height:185px}.hero-art:after{width:135px;height:135px}.hero .eyebrow{font-size:9px}.hero .btn{font-size:11px}.routines{gap:12px}.routine-card{padding:16px 14px;min-height:231px;border-radius:14px}.routine-card h3{font-size:14px;letter-spacing:-.3px}.routine-icon{width:34px;height:34px;border-radius:10px;margin-bottom:14px}.routine-icon .icon{width:20px;height:20px}.routine-more{margin-right:-9px;margin-top:-11px;width:28px}.routine-meta{font-size:10px!important}.exercise-preview{font-size:10px;margin:12px 0 15px}.routine-footer .badge{font-size:8px;padding:4px 5px;letter-spacing:0}.routine-footer .btn{font-size:10px;padding:8px;gap:3px;min-height:34px}.routine-footer .btn .icon{width:12px;height:12px}.section-head h2{font-size:17px}.section-head .text-btn{font-size:11px}.section-head .text-btn .icon{width:14px;height:14px}.home-grid{gap:25px}.aside{grid-template-columns:1fr;gap:16px}.aside .panel{padding:21px}.aside .insight{display:none}.week-calendar{margin-top:20px;gap:8px}.week-day{font-size:10px}.week-day b{height:30px;width:30px}.week-total{gap:50px;padding-top:18px;margin-top:18px}.week-total strong{font-size:22px}.library{margin-top:25px}.library-item{padding:14px 12px;gap:10px}.exercise-thumb{width:36px;height:36px}.library-item h3{font-size:11px}.library-item p{font-size:9px}.library-item .chip{font-size:8px;padding:5px 7px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#111815f5;backdrop-filter:blur(15px);border-top:1px solid #303b2e;z-index:30;padding:8px 10px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;gap:4px}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#859580;font-size:9px;min-height:48px;flex:1;border-radius:9px;letter-spacing:.2px}.bottom-nav button .icon{height:20px;width:20px}.bottom-nav button.active{color:var(--accent);background:#2935224d}.bottom-nav button.active .icon{stroke-width:2}.metric-grid{gap:9px;margin-bottom:20px}.metric-card{padding:17px 12px;border-radius:12px}.metric-card .eyebrow{font-size:8px;letter-spacing:.6px}.metric-card strong{font-size:23px;margin-top:12px}.metric-card .small{font-size:9px;margin-top:6px}.history-card{padding:16px 14px;gap:13px}.history-card h3{font-size:13px}.history-card p{font-size:10px}.history-date{padding-right:12px;width:41px}.history-date strong{font-size:22px}.history-stats{display:none}.history-card>.icon{width:15px}.start-banner{padding:17px;flex-wrap:wrap;gap:12px}.start-banner h3{font-size:13px}.start-banner p{font-size:11px}.start-banner>.btn{margin-left:22px}.editor-heading{gap:10px}.workout-title{font-size:23px;letter-spacing:-.8px}.editor-heading .btn{padding:11px 14px;min-height:41px;font-size:12px}.editor-top-meta{font-size:11px;gap:9px;margin-top:10px}.save-status{font-size:10px}.editor-summary{gap:23px;padding:15px 0;margin:20px 0}.editor-summary div{font-size:10px}.editor-summary strong{font-size:18px}.exercise-card{padding:17px 13px;border-radius:14px;margin-bottom:15px}.exercise-card-head{gap:9px;margin-bottom:14px}.exercise-card-head h3{font-size:12px}.exercise-card-head .exercise-thumb{width:31px;height:33px}.exercise-card-head .exercise-thumb .icon{height:20px;width:20px}.exercise-card-head p{font-size:9px}.exercise-tools .icon-btn{width:24px;height:33px}.exercise-tools .icon{width:14px;height:14px}.set-grid{grid-template-columns:27px minmax(49px,1.15fr) minmax(46px,1fr) minmax(40px,.8fr) 33px 18px;gap:6px}.set-labels{font-size:8px;letter-spacing:.7px}.set-row input{font-size:13px;height:37px;padding:8px 3px}.set-check{width:32px;height:34px;border-radius:7px}.set-check .icon{width:16px;height:16px}.previous{font-size:10px}.set-delete{width:18px;font-size:15px}.set-badge{font-size:11px;min-width:24px}.suggestion{padding:10px}.suggestion p{font-size:10px}.suggestion-head{font-size:10px}.suggestion small{font-size:9px}.editor-bottom{gap:9px;flex-wrap:wrap}.editor-bottom .btn{padding:12px;font-size:12px}.unit-info{font-size:10px}.panel{padding:20px;border-radius:16px}.progress-controls{gap:15px;margin-bottom:20px}.exercise-select{width:100%;flex:auto;min-width:0;padding:12px 10px;font-size:12px}.segment{width:100%}.segment button{flex:1;padding:8px 10px;font-size:11px}.chart-panel{padding:19px 14px}.chart-heading h3{font-size:14px}.chart-heading p{font-size:10px}.chart-value{font-size:21px}.chart-value small{font-size:10px}.progress-records{gap:8px}.record{padding:16px 10px;border-radius:12px}.record span{font-size:9px}.record strong{font-size:18px;letter-spacing:-.6px}.record small{font-size:9px}.record .icon{height:16px;width:16px;margin-bottom:12px}.progress-table{font-size:11px}.progress-table th{font-size:9px}.progress-table td{padding:13px 4px}.settings-grid{gap:18px}.settings-grid .panel{padding:21px}.settings-grid h2{font-size:17px}.form-row{gap:12px}.form-group{margin-bottom:19px}.form-group input,.form-group select{font-size:13px}.settings-install{font-size:11px}.auth-page{display:block;min-height:100dvh}.auth-art{display:none}.auth-main{padding:70px 28px 50px;min-height:100dvh;align-items:center;background:radial-gradient(ellipse at top right,#29371d70,transparent 60%)}.auth-form .brand-mark{display:flex;margin-bottom:55px;font-size:61px}.auth-form{max-width:350px}.auth-form h2{font-size:30px}.auth-form .eyebrow{font-size:10px}.modal-shell{padding:23px 20px}.modal-header{margin-bottom:20px}.modal-header h2{font-size:21px}dialog{max-height:calc(100dvh - 35px);width:calc(100% - 24px);border-radius:19px}.modal-footer{flex-wrap:wrap}.modal-footer .btn{font-size:12px}.modal-description{font-size:12px}.modal-shell .metric-grid{gap:8px}.chooser-item{padding:13px 2px}.chooser-item h3{font-size:12px}.summary-stats{gap:8px}.summary-stats strong{font-size:21px}.summary-stats span{font-size:9px}.summary-title h2{font-size:27px}.summary-title p{font-size:12px}#toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom));padding:12px 16px;font-size:12px;width:max-content;max-width:calc(100% - 30px)}.rest-bar{left:50%;bottom:calc(81px + env(safe-area-inset-bottom));padding:11px 13px;gap:8px;max-width:calc(100% - 24px)}.rest-time{font-size:22px}.rest-adjust{padding:8px;font-size:10px}.rest-bar .text-btn{font-size:10px}.empty{padding:43px 20px}.empty h2{font-size:22px}.empty p{font-size:12px}.offline-banner{font-size:11px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.draft-notes{margin:12px 0;color:var(--muted);font-size:11px;line-height:1.6}.draft-notes strong{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#b8c8ac;font-weight:550}.draft-notes p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}
