:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#181c22;background:#f2f3f6;font-synthesis:none;--ink:#181c22;--muted:#5d6c86;--lime:#7ba1e3;--line:#dbdfe6;--surface:#fff;--radius:20px}*{box-sizing:border-box}body{margin:0;font-size:1rem;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #25509b;outline-offset:3px}button{border:0}svg.icon{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1{font-size:2.15rem;line-height:1.15;letter-spacing:-1.2px;margin-bottom:10px}h2{font-size:1.25rem;line-height:1.3;letter-spacing:-.35px}h3{font-size:1.08rem;margin-bottom:8px}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:1.7px;text-transform:uppercase}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{background:#101216;color:#b2bac9;position:fixed;inset:0 auto 0 0;width:240px;padding:36px 22px 24px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none;margin:0 14px 44px;font-weight:750;font-size:1.8rem;letter-spacing:-1px}.brand img{width:35px;height:35px}.brand .brand-dot{color:var(--lime)}.nav-group-label{padding:0 17px;margin:22px 0 11px;font-size:.75rem;letter-spacing:1.2px;color:#667793;font-weight:600}.nav-link{display:flex;align-items:center;gap:13px;background:none;color:#9ca7bb;width:100%;text-align:left;padding:13px 16px;border-radius:10px;margin-bottom:5px;font-size:.94rem}.nav-link:hover{background:#20262f;color:#fff}.nav-link.active{background:var(--lime);color:#0f1623;font-weight:650}.nav-spacer{flex:1;min-height:30px}.sidebar-promo{background:#20252d;border:1px solid #2c3544;border-radius:14px;padding:19px;margin:14px 0 24px}.sidebar-promo strong{display:block;color:#dfe5f0;font-size:.94rem;margin:8px 0}.sidebar-promo p{font-size:.875rem;margin-bottom:13px;color:#8f9cb2}.sidebar-promo button{background:none;color:var(--lime);padding:0;font-size:.875rem;font-weight:650}.account{display:flex;align-items:center;gap:12px;background:none;color:#e0e4ea;text-align:left;width:100%;border-top:1px solid #252b36;padding:18px 9px 0}.avatar{width:40px;height:40px;display:grid;place-items:center;background:#d7dde7;border-radius:50%;color:#1c2534;font-size:.875rem;font-weight:750;flex-shrink:0}.account .muted{color:#57647c}.workspace{grid-column:2;min-width:0}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#f2f3f6;gap:15px}.breadcrumb{font-size:.875rem;color:#73829d}.breadcrumb strong{color:#2f3643;font-weight:500}.topbar .date-label{font-size:.875rem;color:#5f6e89}.mobile-brand{display:none}.main{padding:36px 42px 48px;max-width:1500px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin-bottom:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:10px;background:var(--ink);color:#fff;font-size:.9rem;font-weight:600;text-decoration:none;white-space:normal}.button:hover{filter:brightness(1.12)}.button.lime{background:var(--lime);color:#162032}.button.outline{background:transparent;border:1px solid #cad0db;color:#2d3542}.button.white{background:#fff;color:#1e2530}.button.ghost{background:transparent;color:#3c4657;padding:8px 10px}.button.danger{background:#fff0ed;color:#a52e23}.button.full{width:100%}.icon-button{display:grid;place-items:center;border:1px solid var(--line);width:42px;height:42px;border-radius:10px;background:#fff;color:#3a4454;flex-shrink:0}.icon-button:hover{background:#e7ebf3}.icon-button.danger{color:#a94232}.cards-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px 21px;position:relative;min-width:0}.stat-card .stat-label{font-size:.875rem;color:#596881}.stat-card .stat-value{font-size:1.8rem;font-weight:650;letter-spacing:-1px;margin:8px 0 3px;line-height:1.2}.stat-card .stat-value small{font-size:.94rem;letter-spacing:0;font-weight:400;color:#62718c}.stat-card>svg{position:absolute;top:20px;right:20px;color:#667793}.stat-card .stat-note{font-size:.8125rem;color:#57647c}.home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;min-width:0}.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.card-header h2{margin:0}.workout-hero{border-radius:20px;background:#181c23;color:#fff;padding:28px;position:relative;overflow:hidden}.workout-hero .eyebrow{color:#929fb4;margin-bottom:19px}.workout-hero h2{font-size:1.9rem;letter-spacing:-.8px;line-height:1.18;max-width:85%;margin:11px 0 13px}.workout-hero .pill{background:#29313e;color:#c3ccdb;border:0}.workout-hero p{color:#9ea9bc;font-size:.94rem;max-width:440px}.hero-number{position:absolute;right:25px;top:20px;font-size:4rem;line-height:1;color:#4a5973;font-weight:650;letter-spacing:-3px}.hero-metadata{display:flex;gap:23px;flex-wrap:wrap;font-size:.875rem;color:#bcc3d0;padding:4px 0 22px}.hero-metadata span{display:flex;align-items:center;gap:7px}.hero-footer{border-top:1px solid #2f3744;padding-top:21px;display:flex;gap:12px;flex-wrap:wrap}.hero-footer .button.outline{color:#d8dde6;border-color:#444f62}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:6px;background:#e6ebf3;color:#455570;font-size:.75rem;font-weight:600;white-space:nowrap}.pill.blue{background:#ecf1f8;color:#59719a}.pill.orange{background:#fcf0e2;color:#9c713c}.pill.neutral{background:#eceef2;color:#5f6e89}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:26px 0 20px}.week-day{display:grid;justify-items:center;gap:9px;font-size:.75rem;color:#62728e}.day-circle{border-radius:50%;height:36px;width:36px;display:grid;place-items:center;background:#ebeef3;font-size:.875rem;font-weight:550;border:1px solid transparent}.week-day.today .day-circle{border-color:#3a4c6b}.week-day.done .day-circle{background:var(--lime);color:#1d2a40}.day-circle svg{width:17px;height:17px}.progress-bar{height:7px;background:#e3e8f0;border-radius:12px;overflow:hidden}.progress-bar span{display:block;height:100%;background:#4c7fd8;border-radius:12px}.week-target{font-size:.875rem;color:#57647c;margin:10px 0 0}.section-title{margin-top:28px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.section-title h2{margin:0}.activity{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #e9ecf0}.activity:last-child{border:0}.activity-icon{width:43px;height:43px;background:#e6ebf3;border-radius:12px;display:grid;place-items:center;color:#506790;flex-shrink:0}.activity-copy{flex:1;min-width:0}.activity-copy strong{font-size:.94rem;font-weight:600;display:block}.activity-copy span{font-size:.8125rem;color:#57647c}.activity .value{font-size:.875rem;font-weight:650;color:#36455e}.empty{padding:26px 16px;text-align:center;color:#57647c}.empty .icon{margin:0 auto 10px;width:28px;height:28px}.empty strong{display:block;font-size:.94rem;color:#444f63;margin-bottom:6px}.empty p{font-size:.875rem;max-width:380px;margin:0 auto 16px}.empty.compact{padding:18px 10px}.principles{display:grid;gap:15px}.principle{display:flex;align-items:flex-start;gap:13px;font-size:.875rem}.principle>span{font-size:.75rem;font-weight:650;background:#ebeff5;color:#495e81;padding:5px 8px;border-radius:7px}.principle strong{display:block;color:#3b475c;margin-bottom:3px}.principle p{margin:0;font-size:.8125rem;color:#57647c}.note{background:#ebeff5;border-radius:10px;padding:14px 16px;color:#55647d;font-size:.875rem;margin-top:19px}.note.warning{background:#fff6e8;color:#956b30}.grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.workout-card{padding:23px;display:flex;flex-direction:column;min-height:275px}.workout-card .card-count{width:44px;height:44px;background:#e7ecf4;color:#445a80;border-radius:12px;display:grid;place-items:center;font-weight:700;margin-bottom:20px}.workout-card h3{font-size:1.2rem;margin:10px 0 8px}.workout-card p{font-size:.875rem;color:#57647c;flex:1}.workout-card .workout-info{border-top:1px solid #e3e8f0;padding-top:14px;margin:15px 0;display:flex;gap:15px;flex-wrap:wrap;color:#57647c;font-size:.8125rem}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.card-actions .button{flex:1}.search-box{display:flex;align-items:center;gap:10px;border:1px solid #ced4df;background:#fff;border-radius:10px;padding:0 14px;min-height:46px;flex:1;color:#7685a0;max-width:400px}.search-box input{border:0;background:none;width:100%;outline:none;padding:11px 0;color:#2c3441}.toolbar{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin-bottom:23px}.toolbar select{max-width:210px}.exercise-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.exercise-card{display:flex;align-items:center;gap:16px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;color:var(--ink)}.exercise-card:hover{border-color:#829bc5;background:#f7f9fd}.exercise-card .exercise-symbol{height:54px;width:54px;border-radius:13px;background:#e4eaf4;display:grid;place-items:center;color:#4d6999;flex-shrink:0}.exercise-card .exercise-symbol svg{width:28px;height:28px}.exercise-card .exercise-copy{flex:1;min-width:0}.exercise-card strong{display:block;font-size:.96rem;margin-bottom:4px}.exercise-card small{color:#6e7e9a;font-size:.8125rem}.exercise-card>.icon{color:#8a97ad}.chart{width:100%;height:auto;max-height:250px;display:block;overflow:visible}.chart-label{font-size:12px;fill:#72829d;font-family:inherit}.chart-area{stroke:#5785d4;fill:#dfe7f6;stroke-width:2}.chart-line{stroke:#4670b8;fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.chart-grid{stroke:#e6eaf0;stroke-width:1}.chart-dot{fill:#466daf;stroke:white;stroke-width:2}.history-table{width:100%;border-collapse:collapse;font-size:.875rem}.history-table th{font-weight:550;text-align:left;color:#57647c;padding:11px 12px;background:#eff2f8}.history-table td{padding:14px 12px;border-bottom:1px solid #e5e9f0}.history-table tr:last-child td{border:0}.table-wrap{overflow-x:auto}.plans-toggle{display:flex;border:1px solid #c7cfdd;background:#e0e6f0;padding:4px;border-radius:10px;gap:4px;flex-shrink:0}.plans-toggle button{padding:9px 17px;border-radius:7px;background:none;color:#57667f;font-size:.875rem;font-weight:600}.plans-toggle button.active{background:#fff;color:#293750;box-shadow:0 2px 4px #2c3a5312}.price{font-size:2.9rem;font-weight:650;letter-spacing:-1.5px;line-height:1.2;margin:20px 0 5px}.price small{font-size:1rem;font-weight:400;letter-spacing:0;color:#697a97}.plan-card{padding:30px;position:relative}.plan-card.featured{border:2px solid #7d9cd1}.plan-features{padding:0;list-style:none;margin:25px 0;display:grid;gap:12px;font-size:.94rem;color:#4b5971}.plan-features li{display:flex;align-items:center;gap:10px}.plan-features .icon{color:#6882af;width:18px;height:18px}.plan-caption{font-size:.875rem;color:#57647c;min-height:26px}.profile-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:7px;color:#465164;font-size:.875rem}.field.wide{grid-column:1/-1}.field label{font-weight:550}input:not([type=checkbox]),select,textarea{border:1px solid #cfd4de;background:#fff;border-radius:8px;min-height:44px;padding:10px 12px;color:#2b3546;width:100%;min-width:0}textarea{resize:vertical;min-height:90px}input[type=checkbox]{accent-color:#456aab;width:19px;height:19px;flex-shrink:0}.form-footer{display:flex;justify-content:flex-end;gap:11px;margin-top:23px}.code-box{background:#e9edf4;padding:14px 15px;border:1px dashed #97a7c3;border-radius:9px;font-size:1.04rem;letter-spacing:1.5px;font-family:ui-monospace,monospace;overflow-wrap:anywhere}.student-card{display:flex;align-items:center;gap:13px;border-bottom:1px solid #dfe4ec;padding:17px 0}.student-card:last-child{border:0}.student-card .details{flex:1;min-width:0}.student-card strong{font-weight:600}.student-card p{font-size:.875rem;color:#4b5971;margin:3px 0}.trainer-banner{background:#dae3f2;border:1px solid #bbcae3;border-radius:17px;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.trainer-banner h2{margin-bottom:6px}.trainer-banner p{color:#4b5971;font-size:.9rem;margin:0}.mini-label{font-size:.75rem;color:#57647c}.session-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.session-clock{font-size:1.8rem;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-1px}.session-progress{margin:17px 0 27px}.session-exercise{margin-bottom:18px}.session-exercise .card-header{margin-bottom:16px}.set-table{width:100%;border-collapse:collapse}.set-table th{font-size:.75rem;color:#57647c;text-align:left;font-weight:550;padding:0 8px 10px}.set-table td{padding:8px}.set-table td:first-child{width:46px;color:#57647c;font-size:.875rem}.set-table td:last-child{width:56px}.set-table input{min-height:42px;padding:8px;text-align:center;font-variant-numeric:tabular-nums}.set-table tr.done{background:#e9eef7}.set-check{display:grid;place-items:center;background:#e5eaf2;border:1px solid #c9d2e2;color:#8492aa;border-radius:8px;width:40px;height:40px}.set-check[aria-pressed=true]{background:#7ba1e3;color:#213454;border-color:#769ad8}.previous-weight{font-size:.75rem;color:#57647c}.rest-panel{position:sticky;bottom:18px;background:#19202b;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-radius:15px;margin:22px 0;box-shadow:0 8px 25px #151a2420;z-index:10}.rest-panel .rest-time{font-size:1.6rem;font-variant-numeric:tabular-nums;font-weight:600}.rest-panel .muted{color:#93a1b9}.rest-panel .button.outline{border-color:#4a5973;color:#c7d2e5;min-height:38px;padding:7px 12px}.session-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.save-state{font-size:.875rem;color:#57647c}.session-finish{min-width:190px}dialog{padding:0;border:1px solid #ced5e2;border-radius:20px;max-width:680px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:#fff;box-shadow:0 24px 70px #11162030}dialog::backdrop{background:#0b0f1580;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px 17px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid #dde3ed;position:sticky;top:0;background:white;z-index:2}.modal-head h2{margin:3px 0}.modal-body{padding:23px 26px 27px}.modal-body .button-row{margin-top:22px;display:flex;gap:10px;flex-wrap:wrap}.builder-list{display:grid;gap:12px;margin:17px 0}.builder-item{background:#f1f4f8;border:1px solid #d1d8e5;border-radius:12px;padding:14px}.builder-item-head{display:flex;align-items:center;gap:7px;justify-content:space-between;margin-bottom:10px;font-size:.9rem;font-weight:600}.builder-item-head .icon-button{width:33px;height:33px;border:0;background:none}.builder-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.builder-fields label{font-size:.75rem;color:#4b5971}.builder-fields input{margin-top:5px}.add-exercise{display:flex;gap:10px}.add-exercise select{flex:1}.video-frame{aspect-ratio:16/9;width:100%;background:#181c23;border-radius:12px;border:0}.video-unavailable{border-radius:12px;background:#e5eaf3;min-height:160px;display:grid;align-content:center;justify-items:center;text-align:center;color:#4b5971;padding:22px;gap:7px}.video-unavailable p{margin:0;font-size:.875rem;max-width:410px}.video-unavailable .icon{width:34px;height:34px;margin-bottom:8px}.tips{padding-left:24px;color:#586885;font-size:.94rem}.tips li{margin-bottom:12px;padding-left:3px}.details-section{margin-top:23px}.details-section h3{margin-bottom:13px}.exercise-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:13px 21px;border-radius:11px;background:#1b2332;color:#fff;font-size:.9rem;max-width:calc(100% - 32px);z-index:100;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;box-shadow:0 5px 30px #15192020}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#823a2e}.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:#586781}.skip-link{position:fixed;top:-100px;left:20px;z-index:200;background:#7ba1e3;padding:12px}.skip-link:focus{top:10px}.mobile-nav{display:none}.connection-error{background:#fff3e8;border:1px solid #f0d1b2;color:#90633b;padding:14px 18px;border-radius:11px;margin-bottom:24px;font-size:.875rem;display:flex;align-items:center;justify-content:space-between;gap:15px}.offline-note{color:#946c36;font-size:.875rem}.error-screen{max-width:460px;margin:auto;text-align:center;padding:24px}.error-screen h1{font-size:1.6rem}.consent{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;color:#4b5971;margin-top:16px}.filter-count{font-size:.875rem;color:#57647c;margin:0 0 13px}.detail-stat{background:#edf1f7;padding:15px;border-radius:10px}.detail-stat strong{display:block;font-size:1.5rem;color:#334769}.delete-confirm{padding:15px;background:#fff5ef;color:#91633d;border-radius:10px;font-size:.875rem}.legal-copy{font-size:.875rem;color:#4b5971;line-height:1.7}.active-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #88a5d6;background:#dfe7f6;padding:16px 20px;border-radius:13px;margin-bottom:24px}.active-banner p{margin:0;font-size:.875rem;color:#576d93}.choice-row{display:flex;gap:10px;flex-wrap:wrap}.choice-row label{border:1px solid #c9d1e0;border-radius:10px;padding:10px 16px;display:flex;align-items:center;gap:8px;font-size:.875rem}.no-margin{margin:0}.mt{margin-top:22px}.desktop-only{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.main{padding-top:44px}.home-grid{gap:28px}.workout-hero{padding:34px}.workout-hero h2{font-size:2.2rem}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.shell{grid-template-columns:205px minmax(0,1fr)}.topbar{padding:0 26px}.main{padding:28px 26px}.cards-stats{gap:12px}.stat-card{padding:17px}.stat-card>svg{display:none}.home-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr);gap:18px}.card{padding:21px}.grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.workout-hero h2{font-size:1.7rem}.hero-number{font-size:3.4rem}}
@media(max-width:850px){.sidebar{display:none}.shell{display:block}.topbar{height:72px;padding:0 22px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;font-size:1.6rem;letter-spacing:-1px;font-weight:750;gap:8px}.mobile-brand img{width:31px;height:31px}.main{padding:25px 22px 110px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:76px;display:flex;align-items:center;justify-content:space-around;background:#fff;border-top:1px solid #d3dae5;z-index:30;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:4px;background:none;color:#75849f;padding:9px 6px;min-width:52px;font-size:.75rem;min-height:54px}.mobile-nav button.active{color:#32486e;font-weight:650}.mobile-nav button.active .icon{background:#d3def0;border-radius:7px;box-sizing:content-box;padding:5px;margin:-5px 0 0}.rest-panel{bottom:87px}#toast{bottom:90px}.home-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.page-head h1{font-size:1.9rem}.profile-grid{grid-template-columns:1fr}.topbar .date-label{display:none}}
@media(max-width:650px){.main{padding:24px 17px 108px}.topbar{padding:0 17px;height:67px}.page-head{margin-bottom:23px;align-items:flex-start;gap:13px}.page-head h1{font-size:1.75rem;letter-spacing:-.7px}.page-head p{font-size:.9rem}.page-head>.button{font-size:.8125rem;padding:9px 12px;min-height:42px;flex-shrink:0}.page-head>.button .icon{width:17px}.cards-stats{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:21px}.stat-card{padding:16px;border-radius:13px}.stat-card .stat-value{font-size:1.55rem}.stat-card .stat-label{font-size:.8125rem}.stat-card .stat-note{font-size:.75rem}.home-grid,.grid-three,.grid-two,.exercise-list{grid-template-columns:1fr}.card{padding:21px;border-radius:16px}.workout-hero{padding:24px}.workout-hero h2{font-size:1.85rem;max-width:82%}.hero-number{font-size:3.5rem;right:20px;top:20px}.hero-metadata{gap:15px}.hero-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hero-footer .button{padding:11px 9px;font-size:.8125rem}.home-grid>.stack{gap:20px}.section-title{margin-top:24px}.week-days{margin:20px 0}.toolbar{gap:10px}.search-box{max-width:none;flex-basis:100%}.toolbar select{flex:1;max-width:none;font-size:.875rem}.exercise-card{padding:16px;gap:13px}.exercise-card .exercise-symbol{width:46px;height:46px}.exercise-card strong{font-size:.94rem}.exercise-card small{font-size:.8125rem}.exercise-card>.icon{width:18px}.form-grid{gap:14px}.field{font-size:.8125rem}.plan-card{padding:24px}.plans-head{display:block}.plans-head .plans-toggle{margin-top:18px;width:max-content}.price{font-size:2.6rem}.trainer-banner{padding:20px;align-items:flex-start;flex-direction:column;gap:15px}.session-clock{font-size:1.45rem}.session-head h1{font-size:1.55rem}.session-exercise{padding:17px}.session-exercise .card-header h2{font-size:1.05rem}.set-table th{font-size:.75rem;padding:0 4px 9px}.set-table td{padding:7px 4px}.set-table td:first-child{width:32px}.set-table input{padding:8px 4px}.previous-weight{font-size:.75rem}.set-check{width:36px;height:38px}.rest-panel{padding:14px 17px;gap:8px;flex-wrap:wrap}.rest-panel .rest-time{font-size:1.35rem}.rest-panel .button.outline{font-size:.8125rem;padding:7px 10px}.session-footer{align-items:stretch}.session-finish{width:100%}.modal-head{padding:20px 20px 16px}.modal-body{padding:20px}.builder-item{padding:11px}.builder-fields{gap:8px}.builder-fields input{padding:9px 6px;text-align:center}.builder-item-head{font-size:.875rem}.builder-item-head .row{gap:1px}.add-exercise{gap:7px}.add-exercise select{font-size:.875rem}.add-exercise .button{padding:10px 12px}.desktop-only{display:none}.history-table{font-size:.8125rem}.history-table th,.history-table td{padding:11px 9px}.activity-copy strong{font-size:.875rem}.connection-error{align-items:flex-start}.active-banner{padding:14px 16px}.active-banner .button{font-size:.8125rem;min-height:40px;padding:9px 12px}.consent{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.card-header{flex-wrap:wrap}.card-header label{max-width:100%}.card-header select{max-width:100%}.message-thread{max-height:340px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:4px}.message{max-width:90%;align-self:flex-start;border-radius:12px;background:#e8ecf4;padding:12px 15px;font-size:.94rem;overflow-wrap:anywhere}.message.mine{background:#ccdaf2;align-self:flex-end}.message span{display:block;white-space:pre-wrap}.message small{display:block;font-size:.75rem;color:#4b5971;margin-top:6px}

.sidebar{overflow-y:auto}.brand{margin-bottom:32px}.nav-group-label{margin-top:18px}.nav-spacer{min-height:12px}.sidebar-promo{margin-bottom:18px}
@media(max-height:920px) and (min-width:851px){.sidebar-promo{display:none}}
@media(max-width:650px){.home-grid,.grid-three,.grid-two,.exercise-list{grid-template-columns:minmax(0,1fr)}.home-grid>div{min-width:0}.field{font-size:.875rem}}
@media(max-width:360px){.week-days{gap:4px}.day-circle{height:28px;width:28px;font-size:.8125rem}.week-day{font-size:.75rem}.card{padding:18px}.hero-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.exercise-replacement{display:flex;align-items:flex-end;gap:10px;margin:14px 0}.exercise-replacement .field{flex:1;min-width:0;margin:0}.exercise-replacement select{width:100%;min-width:0}.builder-item-head{flex-wrap:wrap;gap:8px}.builder-item-head>span{overflow-wrap:anywhere}
@media(max-width:650px){.exercise-replacement{flex-direction:column;align-items:stretch}.exercise-replacement .button{align-self:flex-start}}

.session-edit-actions{margin:0 0 16px}
/* Keep the rest timer in the viewport, above the mobile navigation. */
#rest-container .rest-panel{position:fixed;right:24px;bottom:24px;width:min(480px,calc(100vw - 48px));margin:0;z-index:40;border:1px solid #4a5973;box-shadow:0 12px 40px #0b0f1555;flex-wrap:wrap;max-height:calc(100dvh - 48px);overflow:auto}
#rest-container .rest-time{font-size:2.25rem;line-height:1.2}
#rest-container .rest-panel>.row{flex-wrap:wrap}
body:has(#rest-container .rest-panel) .main{padding-bottom:240px}
@media(max-width:650px){#rest-container .rest-panel{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;padding:16px;gap:12px;max-height:calc(100dvh - 120px - env(safe-area-inset-bottom,0px))}#rest-container .rest-panel>.row{gap:8px}#rest-container .rest-panel .button{font-size:.875rem;min-height:44px;padding:8px 12px}body:has(#rest-container .rest-panel) .main{padding-bottom:300px}}

#rest-container .rest-panel{width:280px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:20px}#rest-container .rest-ring{width:156px;height:156px;flex-shrink:0;border-radius:50%;padding:9px;background:conic-gradient(var(--lime) var(--rest-progress),#3a4353 0);transform:none}#rest-container .rest-ring-center{width:100%;height:100%;border-radius:50%;background:#19202b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}#rest-container .rest-panel>.row{justify-content:center;gap:8px}#rest-container .rest-panel .button{min-height:44px;padding:8px 10px;font-size:.875rem}@media(max-width:650px){#rest-container .rest-panel{left:auto;right:12px;width:min(280px,calc(100vw - 24px));padding:16px;gap:12px}#rest-container .rest-ring{width:136px;height:136px}body:has(#rest-container .rest-panel) .main{padding-bottom:380px}}

#rest-container .rest-panel{width:236px;height:236px;border:0;border-radius:50%;padding:0;background:transparent;box-shadow:none;overflow:visible;max-height:none;gap:0}#rest-container .rest-ring{width:236px;height:236px;padding:8px;box-shadow:0 12px 32px #0b0f1555}#rest-container .rest-ring-center{gap:9px}#rest-container .rest-time{font-size:2.4rem}#rest-container .rest-adjustments{gap:10px}#rest-container .rest-panel .button{min-height:44px;padding:7px 12px}#rest-container .rest-panel .button.ghost{color:#c7d2e5;padding:4px 12px;min-height:36px}body:has(#rest-container .rest-panel) .main{padding-bottom:290px}@media(max-width:650px){#rest-container .rest-panel{width:220px;height:220px;padding:0;bottom:calc(82px + env(safe-area-inset-bottom,0px));right:12px}#rest-container .rest-ring{width:220px;height:220px}body:has(#rest-container .rest-panel) .main{padding-bottom:350px}}
/* Center the floating rest timer in the viewport at every screen width. */
#rest-container .rest-panel{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)}
/* Forma visual system: deep blue, cyan and violet. */
:root{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--ink:#172540;--muted:#5b6b85;--lime:#ffad66;--line:#dce4f0;--surface:#fff;--radius:26px;color:var(--ink);background:#eef3fb}
body{background:#eef3fb;line-height:1.6}h1,h2,h3,.brand,.mobile-brand,.stat-value,.session-clock,.rest-time,.price{font-family:"Trebuchet MS","Segoe UI",sans-serif;font-weight:800}h1{letter-spacing:-.055em;font-size:2.5rem}h2{font-size:1.3rem}strong{font-weight:750}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#ffad66}.button{font-weight:750;border-radius:16px;min-height:46px;background:#ffad66;box-shadow:0 4px 12px #ffad6614}.button.lime{background:#ffad66;color:#102c42}.button.outline{background:#fff;border-color:#cbd7e9;color:#283d62}.button.ghost{background:transparent;color:#45597b;box-shadow:none}.icon-button{border-radius:14px;color:#465e83}.icon-button:hover{background:#edf1ff}.button:hover{filter:brightness(.97)}
.shell{grid-template-columns:264px minmax(0,1fr)}.sidebar{width:264px;background:#101d35;padding:30px 20px;border-right:1px solid #263953}.brand{font-size:2rem;letter-spacing:-.06em;margin-bottom:28px}.brand .brand-dot{color:#ffad66}.nav-group-label{color:#91a5c5;font-weight:750}.nav-link{border-radius:16px;color:#b7c5db;font-weight:600;padding:14px 16px}.nav-link:hover{background:#223551}.nav-link.active{background:#ffad66;color:#102c42;font-weight:800;box-shadow:0 5px 18px #ffad661a}.sidebar-promo{background:#1d3050;border-color:#334a6b;border-radius:22px}.sidebar-promo strong{color:#fff}.sidebar-promo p{color:#b7c5db}.sidebar-promo button{color:#ffad66;font-weight:750}.account{color:#fff;border-color:#334866}.account .muted{color:#b7c5db}.avatar{background:#e0e7ff;color:#ffad66;font-weight:800}
.topbar{height:90px;background:#ffffffd9;border-color:#dce4f0;padding:0 36px}.breadcrumb,.topbar .date-label{color:#61718b}.breadcrumb strong{color:#273b60;font-weight:750}.main{padding:32px 36px 56px;max-width:1540px}.page-head{margin-bottom:30px}.page-head p{max-width:620px}.cards-stats{gap:18px}.stat-card{border-radius:24px;padding:24px;border:0;box-shadow:0 7px 24px #22385808;border-top:4px solid #ffad66}.stat-card:nth-child(2){border-top-color:#ffad66}.stat-card:nth-child(3){border-top-color:#5799ed}.stat-card:nth-child(4){border-top-color:#ffad66}.stat-card .stat-value{font-size:2.1rem;font-weight:800;color:#182b4c}.stat-card .stat-label{font-weight:700;color:#516581}.stat-card .stat-note{color:#62728a}.stat-card>svg{color:#ffad66}
.home-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:26px}.card{border-radius:26px;border-color:#e0e7f2;box-shadow:0 8px 28px #22385807;padding:26px}.workout-hero{background:linear-gradient(125deg,#172b4d,#ffad66);border-radius:30px;padding:34px;box-shadow:0 16px 36px #ffad6629}.workout-hero h2{font-size:2.35rem;font-weight:800}.workout-hero p,.workout-hero .eyebrow{color:#d2def5}.workout-hero .pill{background:#ffffff21;color:#fff;border-radius:999px}.hero-number{color:#ffad66;font-weight:800;opacity:.6}.hero-metadata{color:#e1e9fa;gap:20px}.hero-footer{border-color:#ffffff30}.hero-footer .button.outline{background:transparent;border-color:#a8b6e0;color:#fff}.section-title h2{font-weight:800}
.pill{border-radius:999px;background:#ffad66;color:#6a3e18;font-size:.8125rem;font-weight:750;padding:5px 12px}.pill.neutral{background:#eef0fc;color:#ffad66}.activity-icon,.exercise-symbol{background:#e6ecff!important;color:#ffad66!important;border-radius:16px!important}.activity{border-color:#e7edf7}.activity-copy strong{font-weight:750}.activity-copy span,.activity .value{color:#596c88}.activity .value{font-weight:800}.week-day{color:#64738a}.day-circle{background:#edf2fa;color:#465d80;font-weight:750}.week-day.done .day-circle{background:#ffad66;color:#102c42}.week-day.today .day-circle{border-color:#ffad66}.progress-bar{background:#e8edf8;height:9px}.progress-bar span{background:linear-gradient(90deg,#ffad66,#ffad66)}.week-target{color:#526580}
.workout-card{border-radius:26px;padding:24px;min-height:300px;border-top:5px solid #ffad66}.workout-card:nth-child(2n){border-top-color:#ffad66}.workout-card .card-count{border-radius:16px;background:#e9e8ff;color:#ffad66;width:48px;height:48px}.workout-card h3{font-size:1.35rem;font-weight:800}.workout-card p,.workout-info{color:#596c88!important}.card-actions{gap:10px}.exercise-card{border-radius:22px;padding:22px;box-shadow:0 5px 18px #22385805}.exercise-card:hover{background:#f6f8ff;border-color:#ffad66}.exercise-card strong{font-weight:750}.exercise-card small{color:#62728a}.exercise-card>.icon{color:#ffad66}.search-box{border-radius:16px;border-color:#cbd7e9;max-width:none}.toolbar{background:#ffffffa6;border:1px solid #dce4f0;padding:14px;border-radius:22px}
input:not([type=checkbox]),select,textarea{border-radius:14px;border-color:#cbd7e9;color:#243a5e;background:#fff;min-height:46px}input[type=checkbox]{accent-color:#ffad66}.field,.builder-fields label{color:#475d7d;font-weight:650;font-size:.875rem}.form-footer{flex-wrap:wrap}.form-grid{gap:20px}.builder-item{background:#f3f5ff;border-color:#dce0f8;border-radius:20px;padding:18px}.builder-item-head{font-weight:750}.note,.detail-stat,.principle>span{background:#edf0ff;color:#ffad66;border-radius:16px}.principle strong{color:#2f4365;font-weight:750}.principle p,.empty,.empty strong,.tips,.legal-copy,.consent{color:#526580}.code-box{background:#f0f3ff;border-color:#ffad66;color:#424b88;border-radius:16px}.trainer-banner,.active-banner{background:#ffad66;border-color:#ffad66;border-radius:24px}.trainer-banner p,.active-banner p{color:#795638}.student-card{border-color:#e0e7f2}.student-card strong{font-weight:750}.student-card p{color:#526580}
.chart-line{stroke:#ffad66}.chart-area{fill:#eeeeff;stroke:#ffad66}.chart-dot{fill:#ffad66;stroke:#fff}.chart-label{fill:#60718d}.chart-grid{stroke:#e4eaf5}.history-table th{background:#eff2fb;color:#4f6180;font-weight:750}.history-table td{border-color:#e4eaf5}.table-wrap{border-radius:16px}.plans-toggle{border-radius:16px;background:#e8edfb;border-color:#ccd6e9}.plans-toggle button{border-radius:12px;font-weight:750;color:#586c8a}.plans-toggle button.active{color:#ffad66}.plan-card.featured{border-color:#ffad66;background:#fbfaff}.plan-features,.plan-caption{color:#526580}.plan-features .icon{color:#ffad66}.price{color:#253d62;font-weight:800}
.session-head{background:#fff;border:1px solid #dce4f0;border-radius:26px;padding:24px;margin-bottom:20px}.session-clock{background:#edf0ff;color:#ffad66;padding:10px 14px;border-radius:16px;font-weight:800;font-size:1.6rem}.session-exercise{border-radius:26px;border-left:5px solid #ffad66;margin-bottom:22px}.mini-label{color:#5d6b91;font-weight:750;letter-spacing:.05em}.set-table th{color:#526580;font-weight:750;font-size:.8125rem}.set-table td:first-child{font-weight:750;color:#445b7c}.set-table tr.done{background:#e6f8fc}.set-check{background:#edf0fb;color:#6c7da0;border-radius:12px;border-color:#d1dded;width:44px;height:44px}.set-check[aria-pressed=true]{background:#ffad66;border-color:#ffad66;color:#102c42}.previous-weight,.save-state{color:#526580}.session-edit-actions{gap:10px}.session-footer{background:#fff;padding:20px;border:1px solid #dce4f0;border-radius:24px}
dialog{border-radius:28px;border-color:#d9e0f2;box-shadow:0 24px 80px #172b4d40}.modal-head{border-color:#e4eaf5;background:#fff;padding:25px 28px}.modal-head h2{font-weight:800}.modal-body{padding:25px 28px}.video-unavailable{background:#eef1fc;color:#526580;border-radius:22px}.video-frame{border-radius:20px}.message{background:#edf0fc;color:#243a5e;border-radius:18px}.message.mine{background:#ffad66}.message small{color:#526580}#toast{background:#172b4d;border-radius:18px;font-weight:650}.loading-screen{color:#526580}.skip-link{background:#ffad66;color:#102c42;border-radius:12px}
#rest-container .rest-ring{background:conic-gradient(#ffad66 var(--rest-progress),#3c4572 0);box-shadow:0 18px 50px #172b4d55}#rest-container .rest-ring-center{background:#172b4d}#rest-container .rest-time{color:#fff;font-weight:800}#rest-container .rest-panel .muted{color:#c0d3f0}#rest-container .rest-panel .button.outline{background:#ffffff10;border-color:#6e82b6;color:#fff;border-radius:14px}#rest-container .rest-panel .button.ghost{color:#dbe7fc}
@media(min-width:1100px){.home-grid>div:first-child{display:grid;grid-template-columns:1fr;align-content:start}.grid-three{gap:24px}.exercise-list{gap:18px}}
@media(max-width:1150px) and (min-width:851px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px}.main{padding:28px 24px}.topbar{padding:0 24px}.cards-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid{grid-template-columns:minmax(0,1fr)}.home-grid>.stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.main{padding:26px 22px 120px}.topbar{height:76px;padding:0 22px}.mobile-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));height:72px;background:#101d35;border:0;border-radius:24px;box-shadow:0 10px 32px #172b4d35;padding:4px}.mobile-nav button{color:#b7c5db;font-weight:650}.mobile-nav button.active{color:#ffad66;font-weight:800}.mobile-nav button.active .icon{background:#263e58;border-radius:12px}.home-grid{grid-template-columns:minmax(0,1fr)}.home-grid>.stack{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .mobile-brand{color:#172b4d}.page-head h1{font-size:2.1rem}}
@media(max-width:650px){.main{padding:24px 16px 116px}.topbar{height:72px;padding:0 18px}.page-head{flex-wrap:wrap;gap:16px}.page-head h1{font-size:2rem;line-height:1.15}.page-head>.button{min-height:44px;font-size:.875rem;padding:10px 16px}.cards-stats{gap:12px}.stat-card{padding:18px 15px;border-radius:20px}.stat-card .stat-value{font-size:1.85rem}.stat-card .stat-label{font-size:.875rem}.stat-card .stat-note{font-size:.8125rem}.card{padding:22px 18px;border-radius:24px}.workout-hero{padding:28px 22px;border-radius:28px}.workout-hero h2{font-size:2rem}.hero-footer{display:flex}.hero-footer .button{flex:1;min-height:46px;font-size:.875rem}.home-grid>.stack{grid-template-columns:minmax(0,1fr)}.grid-three,.grid-two,.exercise-list{grid-template-columns:minmax(0,1fr)}.exercise-card{padding:18px;border-radius:20px}.toolbar{padding:12px;gap:12px}.toolbar label{max-width:100%}.workout-card{min-height:280px}.session-head{padding:20px 16px;flex-wrap:wrap}.session-head h1{font-size:1.85rem}.session-clock{font-size:1.4rem}.session-exercise{padding:20px 12px}.session-exercise .card-header h2{font-size:1.25rem}.session-edit-actions .button{font-size:.875rem;padding:9px 12px}.set-table th{font-size:.75rem}.set-table input{border-radius:12px;min-height:44px}.set-check{width:40px;height:44px}.session-footer{padding:18px}.modal-head,.modal-body{padding:22px 18px}.builder-item{padding:14px;border-radius:18px}.builder-fields{gap:8px}.builder-fields label{font-size:.8125rem}.mobile-nav button{font-size:.75rem;min-width:0;flex:1}.plan-card{padding:26px 20px}.form-grid{gap:16px}.activity-copy strong{font-size:.94rem}.consent{font-size:.875rem}}
.session-load-bar{position:sticky;top:12px;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#172b4d;color:#fff;border:1px solid #3f577e;border-radius:22px;padding:16px 22px;margin-bottom:22px;box-shadow:0 8px 24px #172b4d20}.session-load-bar>span:first-child{font-weight:750}.session-load-bar strong{font-size:1.8rem;color:#ffad66}.session-load-bar .small{color:#bfd1ec}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.summary-grid .detail-stat{min-width:0}.summary-grid strong{font-size:1.55rem;overflow-wrap:anywhere}.summary-grid small{display:block;font-size:.8125rem;color:#526580;margin-top:6px}@media(max-width:650px){.session-load-bar{padding:14px 16px;top:8px}.session-load-bar .small{flex-basis:100%}.summary-grid{gap:10px}.summary-grid .detail-stat{padding:14px}.summary-grid strong{font-size:1.25rem}} 
/* Home: greeting, main task, weekly rhythm, statistics, then history. */
.home-greeting{align-items:center;margin-bottom:20px}.home-greeting h1{font-size:1.5rem;letter-spacing:-.035em;line-height:1.3;margin:0;font-weight:700}.home-primary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:stretch;margin-bottom:24px}.home-primary .workout-hero{padding:28px}.home-primary .workout-hero h2{font-size:1.8rem;max-width:100%;margin-top:12px}.home-primary .workout-hero .eyebrow{margin-bottom:10px}.home-week{display:flex;flex-direction:column;justify-content:center}.home-week .card-header{margin-bottom:8px}.home-week .week-days{margin:22px 0}.home-page .cards-stats{margin-bottom:24px}.home-page .stat-card{padding:18px 20px;border-radius:20px}.home-page .stat-value{font-size:1.65rem}.home-secondary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.home-guidance summary{font-size:1.1rem;font-weight:750;cursor:pointer;min-height:32px;color:#273b60}.home-guidance[open] summary{margin-bottom:22px}.home-page .hero-metadata{padding-bottom:16px}.home-page .hero-footer{padding-top:16px}@media(max-width:1150px){.home-primary,.home-secondary{grid-template-columns:minmax(0,1fr)}.home-page .cards-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.home-greeting{flex-wrap:nowrap;gap:12px}.home-greeting h1{font-size:1.3rem;overflow-wrap:anywhere}.home-greeting>.button{flex-shrink:0;padding:9px 12px;font-size:.875rem}.home-primary{gap:16px;margin-bottom:18px}.home-primary .workout-hero{padding:24px 20px}.home-primary .workout-hero h2{font-size:1.6rem}.home-page .hero-footer{gap:10px}.home-page .cards-stats{gap:10px;margin-bottom:20px}.home-page .stat-card{padding:16px 13px}.home-page .stat-value{font-size:1.5rem}.home-week .card-header h2{font-size:1.15rem}.home-secondary{gap:16px}.home-guidance summary{font-size:1rem}.home-page .hero-metadata{gap:13px}.home-page .stat-note{font-size:.8125rem}}
/* Compact charcoal theme, with color reserved for actions and data. */
:root{color-scheme:dark;--ink:#f0f1f3;--muted:#a9abb2;--line:#303136;--surface:#191a1e;--radius:22px;--lime:#ffad66;background:#0c0d10;color:var(--ink)}body{background:#0c0d10;color:#f0f1f3}.muted,.page-head p,.topbar .date-label,.breadcrumb{color:#a9abb2}h1,h2,h3{color:#f0f1f3}.main{padding-top:26px}.topbar{background:#101115;border-color:#292a30;height:78px}.breadcrumb strong,.topbar .mobile-brand{color:#f0f1f3}.sidebar{background:#090a0c;border-color:#28292e}.nav-group-label{color:#8e919a}.nav-link{color:#b8bac1}.nav-link:hover{background:#202127}.nav-link.active{background:#ffad66;color:#2d1a09;box-shadow:none}.account{border-color:#2b2d33}.account .muted{color:#a9abb2}.sidebar-promo{background:#191b20;border-color:#32353e}.sidebar-promo p{color:#b3b7c2}.avatar{background:#3e332a;color:#ffad66}
.card,.stat-card,.exercise-card{background:#191a1e;border:1px solid #2d2e34;box-shadow:none;border-radius:22px}.card{padding:21px}.card-header{margin-bottom:17px;gap:12px}.card-header h2{font-size:1.15rem}.cards-stats{gap:14px;margin-bottom:22px}.stat-card{padding:18px;border-top:3px solid #ffad66}.stat-card:nth-child(2){border-top-color:#ffad66}.stat-card:nth-child(3){border-top-color:#ffbb68}.stat-card:nth-child(4){border-top-color:#f19bc5}.stat-card .stat-value{color:#f4f5f7;font-size:1.8rem}.stat-card .stat-label{color:#bec0c8}.stat-card .stat-note,.stat-card .stat-value small{color:#a2a6b1}.stat-card>svg{color:#ffad66}.grid-three{gap:18px}.grid-two,.profile-grid{gap:18px}.stack{gap:16px}.page-head{margin-bottom:24px}.button{background:#ffad66;color:#251a11;box-shadow:none;border-radius:13px;font-size:.875rem}.button.lime{background:#ffad66;color:#2d1a09}.button.outline{background:transparent;color:#e3e4e8;border-color:#45464e}.button.ghost{color:#c0c3cc;background:transparent}.button.white{background:#eee;color:#111}.button.danger{background:#3b2026;color:#ffb4bd}.icon-button{background:#24252b;color:#c0c3cc;border-color:#3a3b44;border-radius:12px}.icon-button:hover{background:#30313a}.icon-button.danger{color:#ffb4bd}.button:focus-visible,.icon-button:focus-visible{outline-color:#ffad66}.pill{background:#3c2d1f;color:#ffad66}.pill.neutral{background:#3e3329;color:#ffad66}.pill.blue{background:#202d45;color:#a4c3ff}.pill.orange{background:#3a2e1e;color:#ffd399}
.workout-hero{background:linear-gradient(125deg,#17181d,#2c2621);border:1px solid #524840;border-radius:24px;padding:26px;box-shadow:none}.workout-hero h2{color:#fff;font-size:1.9rem}.workout-hero p,.workout-hero .eyebrow{color:#b6b4c3}.workout-hero .pill{color:#ffad66;background:#493a2c}.hero-number{color:#ffad66}.hero-metadata{color:#bbbcc5}.hero-footer{border-color:#3b3a45}.hero-footer .button.outline{color:#e6e4f0;border-color:#555060}.workout-card{padding:20px;min-height:250px;border-top:3px solid #ffad66}.workout-card:nth-child(2n){border-top-color:#ffad66}.workout-card h3{font-size:1.2rem}.workout-card .card-count{width:40px;height:40px;margin-bottom:14px;background:#3c3229;color:#ffad66;border-radius:13px}.workout-card p,.workout-info{color:#b2b4bd!important}.workout-card .workout-info{border-color:#34353d;gap:12px;padding-top:12px;margin:12px 0}.exercise-card{padding:18px}.exercise-card:hover{background:#22232a;border-color:#ffad66}.exercise-card .exercise-symbol{height:46px;width:46px}.activity-icon,.exercise-symbol{background:#3d3228!important;color:#ffad66!important}.exercise-card strong,.activity-copy strong{color:#eef0f4}.exercise-card small,.activity-copy span,.activity .value{color:#aeb2bc}.exercise-card>.icon{color:#ffad66}.activity{border-color:#303137;padding:12px 0}.activity .value{color:#ffad66}.search-box{background:#121317;border-color:#393b45;color:#b6bac4}.search-box input{color:#f0f1f3}.toolbar{background:#191a1e;border-color:#303137;padding:12px;border-radius:18px}.filter-count,.empty,.empty strong,.tips,.legal-copy,.consent,.principle p{color:#aeb2bd}.principle strong{color:#e5e6ed}.principle>span{background:#3d3228;color:#ffad66}.note,.detail-stat{background:#2d2722;color:#cbc6e0;border-radius:15px}.note.warning{background:#382c1c;color:#f6cc86}.detail-stat strong{color:#f0f1f3}.summary-grid small{color:#b2b5c0}.code-box{background:#2e2721;border-color:#ffad66;color:#ffad66}.choice-row label{border-color:#41434e}.trainer-banner,.active-banner{background:#2f2114;border-color:#5e432c;border-radius:20px}.trainer-banner h2,.active-banner strong{color:#ffad66}.trainer-banner p,.active-banner p{color:#ffad66}.student-card{border-color:#303137}.student-card p{color:#aeb2bd}
input:not([type=checkbox]),select,textarea{background:#101115;color:#f0f1f3;border-color:#41434d;border-radius:12px}input::placeholder,textarea::placeholder{color:#8e929e}input[readonly]{background:#22232b;color:#b9bdc8}.field,.builder-fields label{color:#c3c5cf}.builder-item{background:#15161a;border-color:#353640;padding:16px;border-radius:18px}.builder-item-head{color:#eee}.builder-item-head .icon-button{color:#b6bac4}.plans-toggle{background:#1d1e24;border-color:#3b3d46}.plans-toggle button{color:#b8bbc7}.plans-toggle button.active{background:#443930;color:#e2d8ff;box-shadow:none}.plan-card{padding:24px}.plan-card.featured{background:#28211b;border-color:#ffad66}.price{color:#f3f4f6;font-size:2.5rem}.price small,.plan-features,.plan-caption{color:#b8bdc9}.plan-features .icon{color:#ffad66}.plan-features{margin:22px 0;gap:10px}
.day-circle{background:#25262d;color:#babec8}.week-day{color:#a3a8b5}.week-day.today .day-circle{border-color:#ffad66}.week-day.done .day-circle{background:#ffad66;color:#2d1a09}.week-target{color:#b1b5c0}.progress-bar{background:#30313b}.progress-bar span{background:linear-gradient(90deg,#ffad66,#ffad66)}.chart-label{fill:#aab0bd}.chart-grid{stroke:#423b35}.chart-area{fill:#ffad6618;stroke:#ffad66}.chart-line{stroke:#ffad66}.chart-dot{fill:#ffad66;stroke:#191a1e}.history-table th{background:#22232b;color:#bcc1ce}.history-table td{border-color:#32343e;color:#e6e8ee}
.session-head{background:#191a1e;border-color:#32343c;padding:21px;border-radius:22px}.session-clock{background:#3e3329;color:#ffad66}.session-exercise{padding:21px;border-left-color:#ffad66;border-radius:22px;margin-bottom:18px}.mini-label,.set-table th,.set-table td:first-child,.previous-weight,.save-state{color:#acb2c0}.set-table tr.done{background:#392819}.set-check{background:#282a33;color:#a6adbd;border-color:#414552}.set-check[aria-pressed=true]{background:#ffad66;color:#2d1a09;border-color:#ffad66}.session-footer{background:#191a1e;border-color:#32343c;border-radius:20px;padding:18px}.session-load-bar{background:#141519;border-color:#51453b;border-radius:20px}.session-load-bar .small{color:#ffad66}.session-load-bar strong{color:#ffad66}.session-edit-actions{gap:8px}
dialog{background:#191a1e;color:#eef0f4;border-color:#484550;border-radius:24px}.modal-head{background:#191a1e;border-color:#34343d;padding:22px 24px}.modal-body{padding:22px 24px}.modal-body a{color:#ffad66}dialog::backdrop{background:#000a}.video-unavailable{background:#242530;color:#b8bdc9}.video-frame{background:#090a0c}.message{background:#272933;color:#e4e7ef}.message.mine{background:#3c2918}.message small{color:#aeb9cb}#toast{background:#2c2e38;color:#f3f4f7;border:1px solid #4b4d59}#toast.error{background:#5c2530}.loading-screen{color:#b9bdc8}.connection-error,.delete-confirm{background:#3b2b1f;color:#f3ca95;border-color:#7c5b39}.offline-note{color:#f3ca95}.summary-grid{gap:12px}.rest-panel .muted{color:#b7bdc9}
#rest-container .rest-ring{background:conic-gradient(#ffad66 var(--rest-progress),#34343e 0);box-shadow:0 18px 50px #0008}#rest-container .rest-ring-center{background:#121317}#rest-container .rest-panel .muted{color:#b9bdc7}#rest-container .rest-panel .button.outline{background:#24262e;color:#eef0f4;border-color:#4c505d}#rest-container .rest-panel .button.ghost{color:#c7cbd6}
.home-greeting{margin-bottom:18px}.home-primary{gap:18px;margin-bottom:20px}.home-primary .workout-hero{padding:24px}.home-primary .workout-hero h2{font-size:1.7rem}.home-week .card-header h2{font-size:1.15rem}.home-week .week-days{margin:18px 0}.home-page .cards-stats{gap:14px;margin-bottom:20px}.home-page .stat-card{padding:16px 18px;border-radius:18px}.home-page .stat-value{font-size:1.55rem}.home-secondary{gap:18px}.home-guidance summary{color:#e5e6ef}.home-guidance[open] summary{margin-bottom:18px}
@media(max-width:850px){.topbar{height:70px}.mobile-nav{background:#111216;border:1px solid #393b45;box-shadow:0 8px 30px #0005}.mobile-nav button{color:#aeb4c1}.mobile-nav button.active{color:#ffad66}.mobile-nav button.active .icon{background:#3f3022}.main{padding-top:22px}}
@media(max-width:650px){.main{padding:22px 16px 116px}.card{padding:18px;border-radius:20px}.cards-stats{gap:12px}.stat-card{padding:16px 14px;border-radius:18px}.home-primary .workout-hero{padding:22px 18px}.home-primary .workout-hero h2{font-size:1.55rem}.home-page .stat-card{padding:15px 13px}.home-page .cards-stats{gap:10px}.home-page .stat-value{font-size:1.45rem}.home-primary,.home-secondary{gap:16px}.workout-card{padding:19px;min-height:235px}.exercise-card{padding:16px}.plan-card{padding:22px 18px}.session-head{padding:18px 16px}.session-exercise{padding:18px 12px}.session-exercise .card-header h2{font-size:1.2rem}.session-footer{padding:16px}.builder-item{padding:14px}.modal-head,.modal-body{padding:20px 18px}.grid-three,.grid-two,.profile-grid{gap:16px}.summary-grid{gap:10px}.set-table input,.set-check{min-height:44px}.button{min-height:44px}.home-greeting h1{font-size:1.3rem}}
/* Exercise library controls: a prominent search with compact, labeled filters. */
.library-toolbar{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));align-items:end;gap:12px;padding:14px;border-radius:20px;border:1px solid #424650;background:#181a1f;margin-bottom:14px}.library-toolbar .library-search{min-width:0;width:100%;max-width:none;min-height:48px;border:1px solid #ffad66;border-radius:14px;background:#261a10;box-shadow:inset 0 0 0 1px #ffad6610;padding:0 14px;gap:10px}.library-search>.icon{color:#ffad66}.library-toolbar .library-search input{min-height:46px;background:transparent;border:0;padding:11px 0;color:#f0f5f6;font-size:1rem}.library-search input::placeholder{color:#ffad66}.library-search:focus-within{outline:2px solid #ffad66;outline-offset:2px}.library-filter{display:grid;gap:5px;min-width:0}.library-filter>span{font-size:.875rem;font-weight:650;color:#c0c5cf}.library-toolbar .library-filter select{max-width:none;width:100%;min-width:0;min-height:44px;border-radius:12px;padding:9px 10px;font-size:.875rem;background:#111216;border-color:#454852}.library-toolbar+.filter-count{font-size:.875rem;margin-bottom:16px;color:#afb7c5}@media(max-width:850px){.library-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.library-toolbar .library-search{grid-column:1/-1}.library-filter{min-width:0}}@media(max-width:650px){.library-toolbar{padding:11px;border-radius:18px;gap:9px}.library-toolbar .library-search{min-height:46px;padding:0 12px}.library-toolbar .library-search input{min-height:44px}.library-filter>span{font-size:.875rem}.library-toolbar .library-filter select{padding:9px 8px}}
.session-clocks{display:flex;gap:10px;flex-shrink:0}.session-clocks .session-clock{display:flex;flex-direction:column;gap:3px;align-items:center;min-width:112px;padding:10px 14px;background:#2f2923;border:1px solid #514840;border-radius:16px}.session-clocks .session-clock span{font-family:inherit;letter-spacing:0;font-size:.875rem;font-weight:650;color:#c0bdcf}.session-clocks .session-clock strong{font-size:1.5rem;font-variant-numeric:tabular-nums;color:#ffad66}.session-clocks .real-clock{background:#302317;border-color:#5e4835}.session-clocks .real-clock span{color:#ffad66}.session-clocks .real-clock strong{color:#ffad66}@media(max-width:850px){.session-head{flex-wrap:wrap}}@media(max-width:650px){.session-clocks{width:100%;gap:10px}.session-clocks .session-clock{flex:1;min-width:0;padding:9px 12px}.session-clocks .session-clock strong{font-size:1.4rem}}
.session-clocks .real-clock small{font-family:inherit;font-size:.8125rem;font-weight:650;letter-spacing:0;color:#ffad66}
/* Compact only the in-progress workout card on the home screen. */
.home-primary.has-active-workout{align-items:start}.home-primary .active-workout-compact{padding:20px 22px;border-color:#70543c}.home-primary .active-workout-compact .eyebrow{margin-bottom:8px;color:#ffad66;font-size:.8125rem;letter-spacing:.08em}.home-primary .active-workout-compact h2{font-size:1.5rem;line-height:1.25;margin:0 0 8px;max-width:100%;overflow-wrap:anywhere}.home-primary .active-workout-compact>p:not(.eyebrow){margin-bottom:12px;font-size:.875rem}.home-primary .active-workout-compact .hero-metadata{padding:0 0 12px;gap:14px}.home-primary .active-workout-compact .hero-footer{padding-top:12px;gap:10px}.active-workout-compact .hero-footer .button{min-height:44px}@media(max-width:650px){.home-primary .active-workout-compact{padding:18px}.home-primary .active-workout-compact h2{font-size:1.4rem}.home-primary .active-workout-compact .hero-metadata{gap:12px}.home-primary .active-workout-compact .hero-footer .button{padding:10px 12px;font-size:.875rem}}
/* Align the two compact actions in the active home card. */
.home-primary .active-workout-compact .hero-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}.home-primary .active-workout-compact .hero-footer .button{width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:.875rem;line-height:1.25;border-radius:12px;gap:6px}.home-primary .active-workout-compact .hero-footer .button .icon{width:17px;height:17px}@media(max-width:650px){.home-primary .active-workout-compact .hero-footer .button{min-height:40px;padding:8px;font-size:.875rem}}@media(max-width:360px){.home-primary .active-workout-compact .hero-footer .button{gap:4px}.home-primary .active-workout-compact .hero-footer .button .icon{width:15px;height:15px}}
/* Keep the active workout action aligned without squeezing its text. */
.active-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.active-banner>div{min-width:0}.active-banner strong{display:block;line-height:1.4}.active-banner p{overflow-wrap:anywhere;margin-top:4px}.active-banner>.button{justify-self:end;align-self:center;flex-shrink:0;white-space:nowrap;min-width:120px}
@media(max-width:650px){.active-banner{grid-template-columns:minmax(0,1fr);gap:12px}.active-banner>.button{justify-self:stretch;width:100%;min-width:0}}
/* Shared component rules after the full interface review. */
:root{--ui-bg:#0c0d10;--ui-panel:#191a1e;--ui-field:#111216;--ui-border:#3a3d46;--ui-text:#f0f1f3;--ui-secondary:#b0b5c0;--ui-accent:#ffad66;--ui-card-radius:20px;--ui-control-radius:12px;--ui-gap:16px}
.card,.stat-card,.exercise-card,.session-head,.session-footer,.trainer-banner,.active-banner,.session-load-bar{border-radius:var(--ui-card-radius)}.card{padding:20px}.grid-two,.grid-three,.profile-grid,.home-secondary,.home-primary{gap:18px}.stack{gap:var(--ui-gap)}.card h2{font-size:1.15rem;line-height:1.35}.card h3{line-height:1.35}.card-header{gap:12px;align-items:center;margin-bottom:16px}.card-header h2,.card-header h3{min-width:0;overflow-wrap:anywhere}.card p{line-height:1.6}.card .small,.field,.builder-fields label,.library-filter>span,.set-table th{font-size:.875rem}.muted,.filter-count,.legal-copy,.consent,.save-state{color:var(--ui-secondary)}
.button,.icon-button,.set-check,input:not([type=checkbox]),select,textarea,.search-box{border-radius:var(--ui-control-radius)}.button{min-height:44px;padding:10px 14px;font-size:.875rem;font-weight:700;line-height:1.35;gap:8px;overflow-wrap:anywhere}.button.ghost{padding:10px 12px}.button .icon{width:19px;height:19px}.icon-button{width:44px;height:44px}.button.outline{border-color:#484b55}.button.danger,.icon-button.danger{color:#ffb7c0}.button:disabled,.icon-button:disabled{opacity:.5;cursor:not-allowed}.button[aria-busy=true]{cursor:wait}.button:focus-visible,.icon-button:focus-visible,.set-check:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}.button:hover:enabled,.icon-button:hover:enabled{filter:brightness(1.08)}
input:not([type=checkbox]),select,textarea{font-size:1rem;line-height:1.4;min-height:44px;padding:10px 12px;background:var(--ui-field);border-color:var(--ui-border);color:var(--ui-text)}input[type=number]{font-variant-numeric:tabular-nums}.field{gap:6px;font-weight:650}.form-grid{gap:16px}.form-footer{gap:10px;flex-wrap:wrap;align-items:stretch}.builder-fields{gap:10px}.builder-item{border-radius:16px}.builder-item-head{gap:10px}.builder-item-head .icon-button{width:40px;height:40px}.add-exercise{align-items:stretch;flex-wrap:wrap}.add-exercise select{flex:1 1 200px}.exercise-replacement{gap:10px}.pill{font-size:.8125rem;font-weight:700;padding:4px 10px}.stat-label{font-weight:650}.stat-value,.detail-stat strong{font-variant-numeric:tabular-nums}.stat-card .stat-value{line-height:1.3}.stat-note,.previous-weight,.mini-label{font-size:.8125rem}.activity-copy strong,.exercise-copy strong{line-height:1.4;overflow-wrap:anywhere}.activity .value{white-space:nowrap}.activity-copy{min-width:0}.workout-card{min-height:0}.workout-card .card-actions{margin-top:auto}.card-actions{gap:8px;align-items:stretch}.card-actions .button{min-width:0}.section-title{flex-wrap:wrap}.page-head>div{min-width:0}.page-head h1,.session-head h1,.workout-hero h2{overflow-wrap:anywhere}.page-head .button{flex-shrink:0}.home-greeting{flex-wrap:wrap}.home-greeting h1{font-size:1.3rem;line-height:1.4}.home-week .card-header{margin-bottom:10px}.summary-grid .detail-stat{padding:16px}.summary-grid .detail-stat>span{font-size:.875rem;font-weight:650}.summary-grid strong{line-height:1.35}.session-clocks .session-clock{min-width:0}.session-clocks .session-clock span{font-size:.875rem}.set-table th{line-height:1.35}.set-check{width:44px;height:44px}.table-wrap{max-width:100%;border-radius:14px}.history-table th{font-weight:700}.history-table td{vertical-align:middle}.history-table .icon-button{width:40px;height:40px}dialog{width:calc(100% - 28px);max-width:680px;max-height:calc(100dvh - 28px);border-radius:24px}.modal-head{gap:14px;padding:20px 22px;align-items:center}.modal-head h2{font-size:1.2rem;line-height:1.35;overflow-wrap:anywhere;min-width:0}.modal-body{padding:20px 22px}.modal-body .button-row{gap:10px}.modal-body .field{font-size:.875rem}.modal-body a{color:#ffad66;text-underline-offset:3px}.home-primary .active-workout-compact .hero-footer .button{min-height:40px;padding:8px 10px;font-size:.875rem}.library-toolbar .library-search input{font-size:1rem}.library-toolbar .library-filter select{font-size:.875rem}.session-edit-actions{flex-wrap:wrap}.mobile-nav button{min-height:54px}.mobile-nav button.active{font-weight:750}
@media(max-width:650px){.card,.workout-card{padding:18px}.card-header{margin-bottom:14px}.grid-two,.grid-three,.profile-grid,.home-secondary,.home-primary{gap:16px}.page-head{gap:14px;flex-wrap:wrap}.page-head .button{max-width:100%}.hero-footer .button{padding:10px 12px}.builder-item{padding:14px}.builder-fields{gap:8px}.builder-fields label{font-size:.875rem}.builder-fields input{padding:9px 6px}.form-grid{gap:14px}.form-footer .button{min-width:0}.session-exercise{padding:18px 10px}.set-table td{padding:7px 3px}.set-table th{padding:0 3px 10px;font-size:.875rem}.set-table input{padding:8px 4px}.set-check{width:40px;height:44px}.session-footer{padding:16px}.session-edit-actions .button{padding:9px 12px}.session-clocks{width:100%;gap:10px}.modal-head,.modal-body{padding:18px 16px}.summary-grid .detail-stat{padding:13px}.summary-grid strong{font-size:1.2rem}.home-greeting h1{font-size:1.3rem}.library-toolbar{padding:11px}.library-toolbar .library-filter select{padding:9px 8px}}
@media(max-width:360px){.form-grid{grid-template-columns:minmax(0,1fr)}.set-table th{font-size:.8125rem}.hero-metadata{gap:10px}.home-primary .active-workout-compact .hero-footer .button{padding:8px 6px}.activity{gap:10px}.activity-icon{width:36px;height:36px}.activity .value{font-size:.8125rem}.summary-grid{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.button,.icon-button,.set-check,.nav-link.active{border:1px solid ButtonText}.progress-bar span{background:Highlight}.rest-ring{border:4px solid Highlight}}
/* Imported activity history shares the workout visual system. */
.health-metrics{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.875rem;font-variant-numeric:tabular-nums}.health-totals{padding:14px;background:var(--ui-field);border-radius:12px;margin-bottom:14px}.health-totals strong{color:var(--ui-accent)}.health-activity{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:16px;border-bottom:1px solid var(--ui-border);padding:18px 0}.health-activity strong{overflow-wrap:anywhere}.health-activity p{margin:4px 0 10px}.health-activity small{display:block;margin-top:8px}.health-help summary{cursor:pointer;font-weight:700;font-size:.875rem}.health-help p{margin-bottom:0;font-size:.875rem}.health-preview-item{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--ui-border);cursor:pointer;min-height:44px}.health-preview-item>span{min-width:0}.health-preview-item span span{display:block;overflow-wrap:anywhere}.health-preview-item input{width:20px;height:20px;flex-shrink:0;accent-color:var(--ui-accent)}.health-preview-actions{margin:14px 0}.health-preview-item strong{overflow-wrap:anywhere}input[type=file]{width:100%;min-width:0}#health-import-status{overflow-wrap:anywhere}

/* A fixed colored accent follows the rounded outline without covering controls. */

/* Match both session actions while retaining a clear destructive accent. */
.session-footer .session-discard,.session-footer .session-finish{width:100%;min-height:44px;padding:11px 18px;border-radius:var(--ui-button-radius,14px);font-size:.9rem;font-weight:700;gap:9px}
.session-footer .button.session-discard{background:#c72d3d;color:#fff;border:0}
.session-footer .button.session-discard:hover{background:#b82434;filter:none}

/* Ações em grafite, com texto claro e contraste no tema escuro. */
.button{background:#44464f;color:#f5f5f7}
.button.lime{background:#565962;color:#fff}
.button:focus-visible,.icon-button:focus-visible,.set-check:focus-visible{outline-color:#c4c6ce}
.nav-link.active{background:#383a42;color:#f5f5f7;box-shadow:none}
.mobile-nav button.active{color:#f5f5f7}
.mobile-nav button.active .icon{background:#383a42}
.plans-toggle button.active{background:#383a42;color:#f5f5f7}
.sidebar-promo button{color:#d7d8dd}
.set-check[aria-pressed=true]{background:#565962;color:#fff;border-color:#858894}

.home-primary:not(.has-active-workout){grid-template-columns:minmax(0,1fr)}
/* Compact playback panel; never overlaps the workout or rest timer. */
.spotify-panel{padding:18px 20px;margin:0 0 18px;--card-accent:#ffad66}
.spotify-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spotify-label{display:inline-flex;align-items:center;gap:8px;font-size:.9375rem;color:#ffad66}.spotify-track{display:flex;flex-direction:column;gap:4px;margin:8px 0 12px;min-width:0}.spotify-track strong{font-size:1rem;line-height:1.4;overflow-wrap:anywhere}.spotify-track span{overflow-wrap:anywhere}
.spotify-controls{display:flex;gap:8px;flex-wrap:wrap}.spotify-controls .button{flex:1 1 100px;min-height:44px;padding:9px 12px;font-size:.875rem}.spotify-message{margin:10px 0;line-height:1.5}.spotify-connect{min-height:44px}.spotify-disconnect,.spotify-open{min-height:44px;font-size:.875rem;padding:8px 10px}.spotify-open{margin-top:6px}.spotify-panel button:disabled{opacity:.45;cursor:default}
@media(max-width:650px){.spotify-panel{padding:14px 16px}.spotify-controls .button{padding:8px;flex-basis:90px}.spotify-top{flex-wrap:wrap}}
.spotify-floating.card-edge,.spotify-floating{position:fixed;left:50%;right:auto;transform:translateX(-50%);top:calc(90px + env(safe-area-inset-top,0px));bottom:auto;z-index:35;width:min(320px,calc(100vw - 28px));padding:6px 8px;margin:0;border-radius:16px;background:#16171c;box-shadow:0 6px 22px #0006;max-height:35dvh;overflow:auto}.spotify-floating[hidden]{display:none}.spotify-compact-row{display:flex;align-items:center;gap:4px;min-width:0}.spotify-floating .spotify-track{flex:1;min-width:0;margin:0;gap:1px}.spotify-floating .spotify-track strong,.spotify-floating .spotify-track span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.spotify-floating .spotify-track strong{font-size:.875rem}.spotify-artist-line{display:flex;align-items:center;gap:4px;min-width:0}.spotify-artist-line img{flex-shrink:0}.spotify-floating .spotify-artist-line span{font-size:.75rem;min-width:0}.spotify-floating .spotify-controls{display:flex;gap:0;flex-wrap:nowrap;flex-shrink:0}.spotify-floating .icon-button{width:44px;height:44px;min-width:44px;padding:0;border-radius:11px;flex-shrink:0}.spotify-floating .icon-button svg{width:18px;height:18px}.spotify-floating .spotify-controls [data-action="spotify:resume"],.spotify-floating .spotify-controls [data-action="spotify:pause"]{background:#30343b;color:#f5f5f7}.spotify-floating .spotify-message{margin:5px 2px 0;font-size:.75rem}.spotify-mini{display:flex;align-items:center;gap:2px}.spotify-mini>img{width:18px;height:18px;margin-right:2px}.spotify-floating.is-minimized{width:auto;padding:4px 6px}.has-spotify-dock .main{padding-top:calc(var(--spotify-dock-height,58px) + 36px + env(safe-area-inset-top,0px))}
@media(max-width:850px){.spotify-floating.card-edge,.spotify-floating{left:50%;right:auto;transform:translateX(-50%);top:calc(82px + env(safe-area-inset-top,0px));bottom:auto;width:min(320px,calc(100vw - 28px))}.spotify-floating.is-minimized{width:auto}.has-spotify-dock .main{padding-top:calc(var(--spotify-dock-height,58px) + 34px + env(safe-area-inset-top,0px))}}
.spotify-connect-row{display:flex;align-items:center;gap:6px}.spotify-connect-row .spotify-label{flex:1;margin:0}.spotify-floating .button{min-height:44px;padding:6px 10px;font-size:.8125rem}.spotify-floating button.spotify-track{background:none;border:0;padding:0;color:inherit;text-align:left;min-height:44px;cursor:pointer}.spotify-floating .spotify-artist-line>span:first-of-type{flex:1}.spotify-options{display:flex;justify-content:space-between;gap:4px;border-top:1px solid #ffffff18;margin-top:6px;padding-top:4px}
.library-tabs{display:flex;gap:4px;padding:5px;border:1px solid #393b43;border-radius:16px;margin:18px 0 14px;background:#17181d}.library-tabs button{flex:1;min-height:44px;border:0;border-radius:11px;background:transparent;color:#bcc0ca;font-weight:700;padding:8px}.library-tabs button.selected{background:#32363e;color:#fff}.library-tabs button span{font-size:.75rem;margin-left:3px}.library-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.library-category{display:flex;align-items:center;gap:10px;min-height:76px;padding:10px;border-radius:14px;background:#191b20;border:1px solid #353941;color:#eee;text-align:left}.library-category.selected{background:#342e28;border-color:#ffad66}.library-category>svg{width:38px;height:50px;flex-shrink:0}.library-category span{display:flex;flex-direction:column;gap:3px}.library-category small{color:#adb3be;font-size:.75rem}.exercise-library-card{display:flex;align-items:center;gap:4px;padding:8px 10px!important}.exercise-open{display:flex;align-items:center;gap:12px;min-width:0;flex:1;border:0;background:transparent;color:inherit;text-align:left;padding:4px}.exercise-open .exercise-copy{flex:1;min-width:0}.exercise-open .exercise-copy strong{overflow-wrap:anywhere}.exercise-open>.icon{width:16px;flex-shrink:0}.muscle-symbol{width:46px;height:58px;background:#252b31!important;flex-shrink:0;border-radius:12px}.muscle-symbol svg{width:40px;height:52px}.exercise-favorite{width:44px;height:44px;flex-shrink:0;border:0;border-radius:12px;background:transparent;color:#9199a7;display:grid;place-items:center}.exercise-favorite svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.exercise-favorite.selected{color:#dbc07d;background:#dbc07d12}.exercise-favorite.selected svg{fill:currentColor}.library-category:focus-visible,.exercise-open:focus-visible,.exercise-favorite:focus-visible,.library-tabs button:focus-visible{outline:2px solid #ffad66;outline-offset:2px}@media(max-width:380px){.exercise-open{gap:8px}.exercise-copy strong{font-size:.875rem}.library-tabs button{font-size:.8125rem}}
/* Surfaces separate content without decorative borders. */
.card,.stat-card,.exercise-card,.workout-hero,.active-banner,.session-head,.session-footer,.session-load-bar,.session-clock,.trainer-banner,.library-toolbar,.detail-stat,.builder-item,.sidebar-promo,.spotify-floating,.library-category,.library-tabs{border:0!important;border-left:0!important;background:#191b20;box-shadow:none}.card::before,.card-edge::before{display:none!important}.session-clock{background:#25282f!important}.session-exercise{border-left:0!important}.library-category.selected,.library-tabs button.selected{background:#30353c!important}.spotify-floating{box-shadow:0 8px 30px #0005!important}.note{border-color:#3a3d44!important;border-left-color:#3a3d44!important}.button.outline{border-color:#41454e!important}.set-table tr.done{background:#332c26}.set-check[aria-pressed=true]{background:#ffad66;color:#221c17;border-color:transparent}.chart-line{stroke:#ffad66}.chart-dot{fill:#ffad66}.chart-area{fill:#ffad6618}.session-real-clock{color:#d4ded0!important}.session-load-bar strong{color:#d4ded0!important}
.training-details{margin-top:14px;border-radius:14px;background:#22252b;padding:12px}.training-details summary{cursor:pointer;font-size:.875rem;font-weight:700;min-height:28px;display:list-item}.training-details .button{font-size:.8125rem;min-height:44px}.series-details{display:grid;gap:8px}.series-details>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.series-details strong{font-size:.8125rem;min-width:52px}.series-details label{flex:1;min-width:110px}.series-details select{width:100%;font-size:.8125rem}.muscle-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:14px}.muscle-stat{display:flex;gap:12px;align-items:center;background:#191c21;border-radius:12px;padding:10px}.muscle-stat svg{width:38px;height:52px;flex-shrink:0}.muscle-stat>div{display:flex;flex-direction:column;gap:3px}.muscle-stat span,.muscle-stat small{color:#aeb4be;font-size:.75rem}.program-calendar{display:grid;gap:10px;margin:16px 0}.program-calendar>div{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;background:#191b20;border-radius:12px;font-size:.875rem}.progress-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.progress-photos figure{margin:0;max-width:300px}.progress-photos img{width:100%;height:220px;object-fit:contain;background:#101216;border-radius:12px}.progress-photos figcaption{font-size:.75rem;padding:8px 0;color:#b6bdc8}.goal-row{display:grid;gap:6px;margin:15px 0;font-size:.875rem}.goal-row progress{width:100%;height:10px;accent-color:#ffad66}.sync-banner{margin-bottom:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.exercise-note{padding:10px;border-radius:10px;background:#34312f;font-size:.875rem}.real-clock{background:#25282f!important;color:#d4ded0!important}

.forma-intro{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;background:#0c0e10;pointer-events:none;animation:forma-reveal 1.7s ease both}
.intro-mark{display:flex;flex-direction:column;align-items:center;gap:26px;perspective:650px}
.intro-icon{position:relative;display:block;width:112px;height:112px;border-radius:29px;transform-style:preserve-3d;box-shadow:1px 1px 0 #524941,2px 2px 0 #4a4139,3px 3px 0 #443b33,4px 4px 0 #3c342d,5px 5px 0 #362f28,6px 6px 0 #302923,7px 7px 0 #29231e,8px 8px 0 #221c17,9px 9px 0 #1b1611,14px 22px 26px #000b;animation:forma-volume 1.4s cubic-bezier(.22,.75,.28,1) both}
.intro-icon img{display:block;width:100%;height:100%;border-radius:29px}
.intro-icon::after{content:"";position:absolute;inset:0;border-radius:29px;background:linear-gradient(115deg,transparent 25%,#ffad663d 43%,#fff9 48%,#ffad6626 53%,transparent 70%);background-size:250% 100%;animation:forma-shine 1.35s ease both;pointer-events:none}
.intro-mark>span:not(.intro-icon){font-size:36px;letter-spacing:-1.5px;font-weight:800;color:#f0f4f3;animation:forma-word .65s ease both}
.intro-dot{color:#ffad66}
@keyframes forma-volume{0%{opacity:0;transform:translateY(18px) rotateY(-58deg) rotateX(24deg) rotateZ(-8deg) scale(.8)}22%{opacity:1;transform:translateY(-8px) rotateY(28deg) rotateX(-12deg) rotateZ(4deg) scale(1.05)}48%{transform:translateY(-5px) rotateY(-24deg) rotateX(15deg) rotateZ(-3deg) scale(1.02)}72%{transform:translateY(-2px) rotateY(12deg) rotateX(-5deg) rotateZ(1deg) scale(1)}100%{opacity:1;transform:translateY(0) rotateY(0) rotateX(0) rotateZ(0) scale(1)}}
@keyframes forma-shine{0%,15%{opacity:0;background-position:150% 0}40%{opacity:.65}85%,100%{opacity:0;background-position:-60% 0}}
@keyframes forma-word{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes forma-reveal{0%,82%{opacity:1}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.forma-intro{display:none}.intro-icon,.intro-icon::after,.intro-mark>span{animation:none}}

/* Shared title accent for cards, including compact and floating cards. */
:root{--card-title:#ffad66}
.card :is(h1,h2,h3),.workout-hero :is(h1,h2,h3),.session-head :is(h1,h2,h3),.stat-card .stat-label,.active-banner>div>strong,.exercise-card .exercise-copy>strong,.library-category strong,.session-load-bar>span:first-child,.session-clock>span,.detail-stat>span,.training-details>summary,.card>summary,.muscle-stat strong,.goal-row>strong,.sidebar-promo>strong,.spotify-floating .spotify-label,.spotify-floating .spotify-track>strong{color:var(--card-title)}

/* Compact workout cards expand from their title. */
.grid-three:has(>.workout-fold){align-items:start}.workout-fold{display:block;min-height:0;padding:18px 20px}.workout-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:44px}.workout-fold>summary::-webkit-details-marker{display:none}.workout-fold>summary h3{margin:0;font-size:1.0625rem;line-height:1.4;color:var(--card-title)}.workout-fold>summary>.icon{width:18px;flex-shrink:0;color:var(--card-title);transition:transform .18s}.workout-fold[open]>summary>.icon{transform:rotate(90deg)}.workout-fold>summary:focus-visible{outline:2px solid var(--card-title);outline-offset:4px;border-radius:8px}.workout-fold .workout-description{display:block;margin:6px 0 0;font-size:.875rem;line-height:1.5}.workout-fold:not([open])>.workout-expanded{display:none}.workout-fold[open]>.workout-expanded{display:block;margin-top:18px}.workout-fold .card-actions{margin-top:18px}

.workout-fold>summary>div{min-width:0}.workout-fold>summary h3{overflow-wrap:anywhere}

/* Selected bottom navigation icon uses the Forma accent. */
.mobile-nav button.active .icon{color:var(--card-title);stroke:currentColor}

/* Wide, centered actions on the workouts page. */
.workouts-new-action{width:100%;margin:0 0 22px}.workouts-new-action>.button,.workouts-tools>[data-action="planner"]{display:flex;width:100%;min-height:48px;justify-content:center;align-items:center;text-align:center;box-sizing:border-box;white-space:normal;line-height:1.4}.workouts-tools{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:26px 0 22px}.workouts-tools>[data-action="nav:tools"]{align-self:center}

.model-customize-action{width:100%;margin:24px 0 18px}.model-customize-action>.button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;white-space:normal;line-height:1.4}

.library-create-action{width:100%;margin:24px 0 20px}.library-create-action>.button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;white-space:normal;line-height:1.4}

.samsung-progress{margin-bottom:22px}.samsung-progress .card-header{flex-wrap:wrap;gap:12px}.samsung-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0}.samsung-fields dt{color:var(--ui-secondary);font-size:.875rem}.samsung-fields dd{margin:3px 0 0;font-size:.875rem;overflow-wrap:anywhere}.samsung-activity-list .health-activity>div{width:100%;min-width:0}@media(max-width:420px){.samsung-fields{grid-template-columns:1fr}}

.health-sync-card{margin-top:20px}

/* More is a grouped destination, with clear rows and dedicated detail pages. */
.more-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.more-group{padding:18px 20px;margin:0}
.more-group h2{font-size:1rem;line-height:1.4;margin:0 0 8px}
.more-options{display:grid;gap:4px}
.more-option{display:flex;width:100%;align-items:center;gap:12px;padding:12px 0;min-height:68px;border:0;border-radius:12px;background:transparent;color:var(--ui-text);text-align:left;cursor:pointer}
.more-option:hover{background:#ffffff06}
.more-option:focus-visible{outline:2px solid var(--card-title);outline-offset:3px}
.more-option-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#ffad6612;color:var(--card-title)}
.more-option-icon .icon{width:21px;height:21px}
.more-option-copy{display:grid;gap:4px;min-width:0;flex:1}
.more-option-copy strong{font-size:.9375rem;line-height:1.4;font-weight:700;color:var(--ui-text)}
.more-option-copy>span{font-size:.875rem;line-height:1.5;color:var(--ui-secondary);overflow-wrap:anywhere}
.more-option>.icon{width:17px;height:17px;flex-shrink:0;color:var(--ui-secondary)}
.more-about{margin-top:18px}
.more-about>summary,.settings-stack>details>summary{font-size:1rem;font-weight:700;line-height:1.5;cursor:pointer;color:var(--card-title);min-height:36px}
.more-back{margin:0 0 16px}
.more-back>.button{padding:8px 0;min-height:44px;color:var(--ui-secondary)}
.settings-stack{display:grid;gap:20px;max-width:760px}
.settings-stack>.card{margin:0}
.settings-stack h2{font-size:1.125rem;margin-top:0}
.profile-edit-card{max-width:760px}
.data-export-options{display:grid;gap:12px;margin:18px 0}
.data-export-options>.button{white-space:normal;min-height:48px;line-height:1.4}
.health-history-actions{gap:12px;margin-bottom:20px}
.health-history-actions>.button{flex:1 1 190px;min-height:48px;white-space:normal;line-height:1.4}
.health-sync-card .form-footer>.button{white-space:normal;min-height:48px;line-height:1.4}
.health-help p{line-height:1.6}
.more-about>summary:focus-visible,.settings-stack>details>summary:focus-visible{outline:2px solid var(--card-title);outline-offset:4px;border-radius:8px}
@media(max-width:850px){.more-groups{grid-template-columns:1fr;gap:16px}.more-group{padding:16px 18px}.more-option{padding:10px 0}.more-about{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.more-option{transition:none}}

/* Reflow and accessible text enlargement. Tables scroll within their own region. */
.main,.workspace,.card,.stat-card,.session-head,.session-exercise,.page-head,.form-grid>*{min-width:0}
.card-header,.row.between,.form-footer{flex-wrap:wrap}
.card-header>*{min-width:0;max-width:100%}
.card-header h2,.modal-head h2,.button,.field,.goal-row,.session-clock{overflow-wrap:anywhere}
.modal-head h2{color:var(--card-title)}
.week-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,2.5rem),1fr));gap:8px}
.week-day{min-width:0;text-align:center}.week-day>span:first-child{overflow-wrap:anywhere;line-height:1.4}
input[aria-invalid=true]{outline:2px solid #ff7373;outline-offset:1px}
.set-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:12px}
.set-table-scroll:focus-visible{outline:2px solid var(--card-title);outline-offset:3px}
.set-table{min-width:430px}.set-table input{min-width:calc(6ch + 2.5rem);width:100%;padding-inline:8px}
@media(max-width:850px){
 .mobile-nav{height:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,2.5rem),1fr));align-items:stretch;padding:8px 4px}
 .mobile-nav button{min-width:0;width:100%;padding:4px 2px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}
 .main{padding-bottom:calc(var(--mobile-nav-height,90px) + 32px + env(safe-area-inset-bottom,0px))}
 .mobile-brand{font-size:1.2rem;min-width:0}.topbar{gap:8px}
 .activity{flex-wrap:wrap}.activity-copy{flex:1 1 120px}.activity .value{white-space:normal}
 .session-clocks{grid-template-columns:repeat(2,minmax(0,1fr))}
 .session-clock strong{font-size:1.35rem}
 .spotify-floating{max-width:calc(100vw - 32px);max-height:35dvh;overflow:auto}
}
@media(max-width:360px){.cards-stats{grid-template-columns:minmax(0,1fr)}.hero-footer,.form-footer{flex-wrap:wrap}.builder-fields{grid-template-columns:minmax(0,1fr)}.session-clocks{grid-template-columns:minmax(0,1fr)}}
.library-tabs{flex-wrap:wrap}.library-tabs button{flex:1 1 6rem;min-width:0;white-space:normal}
.library-filter,.library-filter select{min-width:0;max-width:100%}.library-filter span{overflow-wrap:anywhere}
.plan-features li{min-width:0}.price{overflow-wrap:anywhere;white-space:normal}
@media(max-width:650px){.library-toolbar .library-filter{width:100%}.price{font-size:2rem}}
/* Keep wide table content inside its scroll region, including focus auto-scroll. */
.set-table-scroll{contain:inline-size}.table-wrap{max-width:100%;contain:inline-size}

/* More: compact task groups, searchable destinations and readable settings. */
.more-hub{max-width:1000px}
.more-hub .more-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.more-hub .more-group{padding:18px}
.more-search.search-box{max-width:100%;margin-bottom:20px;background:var(--surface);border-color:var(--line);min-height:48px}
.more-search:focus-within{outline:2px solid var(--card-title);outline-offset:2px}
.more-search input{font-size:1rem;border:0;box-shadow:none;background:transparent}
.more-search input:focus-visible{outline:0}
.more-search-count{margin:0 0 12px}
.more-hub [hidden]{display:none}
.more-search-results{padding:10px 18px}
.more-hub .more-option{min-height:76px}
.more-hub .more-option-copy>span{font-size:.8125rem}
.preference-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;cursor:pointer}
.preference-toggle>span{display:grid;gap:4px;min-width:0}
.preference-toggle input{margin:0;flex:0 0 24px;width:24px;height:24px}
.settings-stack>.card>summary,.app-help summary{display:list-item;min-height:44px;padding-block:8px;cursor:pointer;line-height:1.5;overflow-wrap:anywhere}
.app-help details+details{margin-top:12px}
.settings-stack>.form-footer{margin:0}
.data-export-options .button{white-space:normal;line-height:1.4;min-height:48px}
.data-export-options p{margin:8px 0 0}
.settings-stack .more-option{min-height:72px}
.settings-stack .pill{white-space:normal;max-width:100%;overflow-wrap:anywhere}
.settings-stack .button{max-width:100%;min-width:0;white-space:normal}
.settings-stack :is(h2,h3,p,strong,summary){overflow-wrap:anywhere}
.plans-head .plans-toggle{flex-wrap:wrap;max-width:100%;min-width:0}
.plans-toggle button{min-width:0;white-space:normal}
.plan-card .pill{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.plan-card :is(h2,p,.plan-caption){overflow-wrap:anywhere}
.plan-features li{overflow-wrap:anywhere}
.more-back .button{white-space:normal;text-align:left;justify-content:flex-start;line-height:1.4}
@media(max-width:1050px){.more-hub .more-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.more-hub .more-groups{grid-template-columns:minmax(0,1fr);gap:16px}.more-hub .more-group{padding:14px 16px}.more-hub .more-option{min-height:64px}.more-search.search-box{margin-bottom:16px}}
html{overflow-x:clip}

/* Forma: historico diario independente v2 */
.health-activity:has(> .summary-grid){display:block;width:100%;min-width:0;box-sizing:border-box}.health-activity:has(> .summary-grid)>strong{display:block;margin-bottom:12px}.health-activity>.summary-grid{width:100%;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;margin:0}.health-activity>.summary-grid>.detail-stat{min-width:0;width:auto;box-sizing:border-box}.health-activity>.summary-grid strong{overflow-wrap:break-word;word-break:normal}


/* Forma: saude em linhas compactas v1 */
.health-compact-history{
    display:block;
    min-width:0;
}
.health-compact-day{
    display:block;
    margin:8px 0;
    border-radius:12px;
    background:rgba(127,127,127,.06);
}
.health-compact-day>summary{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 12px;
    padding:12px;
    cursor:pointer;
    list-style:none;
    min-width:0;
}
.health-compact-day>summary::-webkit-details-marker{display:none}
.health-compact-day>summary::before{
    content:"›";
    font-size:1.2rem;
    line-height:1;
}
.health-compact-day[open]>summary::before{transform:rotate(90deg)}
.health-compact-day>summary:focus-visible{
    outline:2px solid currentColor;
    outline-offset:2px;
}
.health-compact-date{
    flex:1 1 130px;
    font-weight:700;
}
.health-compact-brief{
    display:flex;
    flex:2 1 260px;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:4px 12px;
    font-size:.8rem;
    min-width:0;
}
.health-compact-brief>span{
    display:inline-block;
    white-space:normal;
}
.health-compact-body{padding:0 12px 12px}
.health-compact-group{display:block;margin:14px 0}
.health-compact-group>h3{
    margin:0 0 6px;
    font-size:.9rem;
}
.health-compact-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:8px 16px;
    padding:8px 0;
    border-bottom:1px solid rgba(127,127,127,.15);
}
.health-compact-row>span{
    min-width:0;
    font-size:.875rem;
    line-height:1.4;
    overflow-wrap:break-word;
}
.health-compact-row>strong{
    text-align:right;
    font-size:.875rem;
    line-height:1.4;
    white-space:nowrap;
}
.health-compact-info{margin-top:14px;font-size:.85rem}
.health-compact-info>summary{cursor:pointer;padding:8px 0}
@media(max-width:480px){
    .health-compact-brief{
        flex-basis:100%;
        justify-content:flex-start;
    }
    .health-compact-row{gap:8px}
    .health-compact-row>strong{font-size:.8125rem}
}

/* Visual refinement: focus, responsive controls and information hierarchy. */
.library-search input:focus-visible{outline:none;box-shadow:none}
.library-search:focus-within{outline:2px solid var(--ui-accent);outline-offset:3px;box-shadow:none}
.library-toolbar .library-search{border-color:var(--ui-border);background:var(--ui-field);box-shadow:none}
.library-search input::placeholder{color:var(--ui-secondary)}
@media(max-width:600px){
 .library-toolbar{grid-template-columns:minmax(0,1fr)}
 .library-toolbar .library-filter{grid-column:1/-1}
 #builder-form .add-exercise{display:flex;flex-direction:column;gap:10px}
 #builder-form .add-exercise select{flex:none;width:100%}
 #builder-form .add-exercise .button{align-self:flex-start}
}
.main:has(>#exercise-list>.empty){display:flex;flex-direction:column}
.main:has(>#exercise-list>.empty)>#library-categories{order:1;margin-top:18px}
.main:has(>#exercise-list>.empty)>#exercise-list{grid-template-columns:minmax(0,1fr)}
.main:has(>#exercise-list>.empty)>#exercise-list>.empty{background:var(--ui-panel);border-radius:var(--ui-card-radius);padding:24px 18px}
.home-secondary:has(>.home-imported-health){grid-template-columns:minmax(0,1fr)}
@media(min-width:1000px){
 .home-imported-health .health-compact-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
 .home-imported-health .health-compact-day[open]{grid-column:1/-1}
 .home-imported-health .health-compact-day[open]>.health-compact-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
 .home-imported-health .health-compact-body>p{grid-column:1/-1}
 .home-imported-health .health-compact-group{margin:4px 0 12px}
}
.button.lime,.workouts-new-action>.button,#settings-form button[type=submit]{background:var(--ui-accent);color:#241b13}
.button.lime:disabled,.workouts-new-action>.button:disabled,#settings-form button[type=submit]:disabled{background:#44464f;color:#b0b5c0;opacity:.6}
.button.lime:focus-visible,.workouts-new-action>.button:focus-visible,#settings-form button[type=submit]:focus-visible{outline-color:var(--ui-accent)}
.main:has(>#exercise-list>.empty)>.library-tabs{order:1;margin-top:18px}
.main:has(>#exercise-list>.empty)>#library-categories{order:2;margin-top:0}
.main:has(>#exercise-list>.empty)>.library-create-action{margin-top:12px}
.main:has(>#exercise-list>.empty)>.page-head{margin-bottom:12px}
