:root{color-scheme:light;--bg: #f6f4fa;--border: rgb(48 37 67 / .13);--border-strong: rgb(124 58 237 / .34);--button: #7c3aed;--button-border: #7c3aed;--button-text: #ffffff;--accent-soft: #f0e9ff;--accent-surface: #f7f3ff;--accent-border: rgb(124 58 237 / .24);--accent-muted: #7654a8;--completed-soft: #eef8ff;--completed-border: #bedff2;--completed-text: #25627e;--warning-soft: #fff7e8;--warning-border: #edcf99;--warning-text: #8a590d;--danger-soft: #fff0f2;--danger-border: #e7b5bb;--danger-text: #a83e49;--input: #ffffff;--muted: #716b7b;--subtle: #f0edf4;--surface: #ffffff;--text: #211b2a;--radius-control: 10px;--radius-card: 18px;--shadow-raised: 0 20px 50px rgb(47 35 65 / .1);color:var(--text);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.45;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%}:root[data-theme=dark]{color-scheme:dark;--bg: #08090b;--border: rgb(255 255 255 / .1);--border-strong: rgb(189 124 255 / .34);--button: #8647ff;--button-border: #9a5bff;--button-text: #ffffff;--accent-soft: rgb(138 72 255 / .12);--accent-surface: #14121c;--accent-border: rgb(138 72 255 / .28);--accent-muted: #b9a4e8;--completed-soft: rgb(69 198 255 / .09);--completed-border: rgb(69 198 255 / .26);--completed-text: #a9e7ff;--warning-soft: rgb(255 181 71 / .1);--warning-border: rgb(255 181 71 / .3);--warning-text: #ffd28b;--danger-soft: rgb(255 105 117 / .1);--danger-border: rgb(255 105 117 / .3);--danger-text: #ffabb2;--input: #111218;--muted: #9b99a5;--subtle: #17181e;--surface: #101115;--text: #f5f3f8;--shadow-raised: 0 22px 60px rgb(0 0 0 / .34)}*{box-sizing:border-box}body{margin:0;background:var(--bg);overflow-x:hidden}#root{max-width:100%;overflow-x:hidden}h1{font-size:34px;letter-spacing:-.045em;line-height:1.1;margin:0}.app-shell{margin:0 auto;max-width:1240px;min-height:100vh;padding:24px}.auth-shell{align-items:center;background:radial-gradient(circle at 15% 10%,rgb(89 163 142 / .12),transparent 30%),radial-gradient(circle at 90% 85%,rgb(47 125 107 / .08),transparent 28%);display:flex;justify-content:center;min-height:100dvh;padding:24px}.auth-shell>p{color:var(--muted);margin:12px}.auth-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:0 18px 60px #17211d1f;display:grid;gap:18px;max-width:520px;overflow:hidden;padding:24px;position:relative;width:100%}.auth-panel:before{background:var(--button);content:"";height:4px;left:0;position:absolute;right:0;top:0}.login-panel{max-width:420px}.auth-brand{display:flex;justify-content:center}.auth-brand img{display:block;height:64px;width:64px}.auth-heading{display:grid;gap:6px;text-align:center}.auth-eyebrow{color:var(--button);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.auth-heading h1{font-size:24px}.auth-heading p{color:var(--muted);margin:0;overflow-wrap:anywhere}.auth-legal-copy{color:var(--muted);font-size:12px;line-height:1.55;margin:2px 0 0;text-align:center}.auth-legal-copy a,.legal-acceptance-links a{color:var(--button);font-weight:700}.legal-acceptance-panel{max-width:520px}.legal-acceptance-links{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center}.legal-acceptance-check{align-items:flex-start;background:var(--subtle);border:1px solid var(--border);border-radius:var(--radius-control);cursor:pointer;display:flex;font-weight:700;gap:10px;line-height:1.45;padding:14px}.legal-acceptance-check input{flex:0 0 auto;margin-top:3px}.google-login-button{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:6px;color:var(--text);display:flex;font-size:14px;font-weight:700;gap:10px;justify-content:center;min-height:44px;padding:9px 12px;text-decoration:none}.google-login-button:hover{background:var(--subtle);border-color:#c9d4cf}.google-login-button>span{align-items:center;border:1px solid var(--border);border-radius:50%;display:inline-flex;font-weight:800;height:24px;justify-content:center;width:24px}.auth-notice,.auth-error{border-radius:6px;font-size:13px;padding:10px 12px}.auth-notice{background:#fff4e5;border:1px solid #ffd08a;color:#4f2d00;text-align:center}.auth-error{align-items:flex-start;background:#fff0f0;border:1px solid #e8b8b8;color:#8b2f2f;display:flex;gap:8px}.auth-error svg{flex:0 0 auto}.onboarding-form{display:grid;gap:14px}.unit-system-control{border:0;display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0}.unit-system-control legend{color:var(--muted);font-size:13px;margin-bottom:6px}.unit-system-control label{align-items:center;border:1px solid var(--border);border-radius:6px;color:var(--text);cursor:pointer;display:flex;font-weight:700;gap:8px;min-height:42px;padding:8px 10px}.unit-system-control label.selected{background:#eef8f4;border-color:var(--button-border)}.unit-system-control input{min-height:0}.onboarding-measurements{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.localized-date-picker{display:flex;position:relative}.localized-date-picker input{cursor:pointer;min-width:0;padding-right:44px}.localized-date-picker-toggle{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0;flex:0 0 42px;margin-left:-42px;min-height:42px;padding:0;position:relative;z-index:1}.localized-date-picker-popover{background:var(--surface);border:1px solid var(--border);border-radius:6px;box-shadow:0 12px 28px #17211d2e;display:grid;gap:8px;padding:10px;position:absolute;right:0;top:calc(100% + 6px);width:min(280px,calc(100vw - 48px));z-index:30}.localized-date-picker-heading{align-items:center;display:flex;gap:8px;justify-content:space-between}.localized-date-picker-heading strong{font-size:13px;text-align:center;text-transform:capitalize}.localized-date-picker-month-year{align-items:center;display:flex;gap:6px;justify-content:center;min-width:0}.localized-date-picker-month-year select{font-size:12px;min-height:30px;padding:4px 22px 4px 7px;width:auto}.localized-date-picker-weekdays,.localized-date-picker-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.localized-date-picker-weekdays{color:var(--muted);font-size:11px;font-weight:800;text-align:center}.localized-date-picker-days{gap:2px}.localized-date-picker-days>button{background:transparent;border-color:transparent;border-radius:4px;color:var(--text);font-size:12px;justify-content:center;min-height:30px;padding:3px}.localized-date-picker-days>button:hover:not(:disabled){background:#edf6f2;border-color:transparent;color:var(--button)}.localized-date-picker-days>button.active,.localized-date-picker-days>button.active:hover:not(:disabled){background:var(--button);border-color:var(--button);color:#fff}.imperial-measurements{grid-template-columns:repeat(3,minmax(0,1fr))}.icon-button,button{align-items:center;background:var(--button);border:1px solid var(--button-border);border-radius:var(--radius-control);color:var(--button-text);cursor:pointer;display:inline-flex;font:inherit;font-size:14px;font-weight:700;justify-content:center;line-height:1;min-height:38px;padding:8px 12px}.button-icon-label{align-items:center;color:inherit;display:inline-flex;gap:7px;justify-content:center;line-height:1;white-space:nowrap}.button-icon-label>span{color:inherit}.button-icon-label svg{display:block;flex:0 0 auto;stroke-width:2.2}.button-icon-only{align-items:center;display:inline-flex;justify-content:center;line-height:1}.button-icon-only svg{flex:0 0 auto;stroke-width:2.25}button:hover:not(:disabled){background:#3d8d79;border-color:#2f7564}button:focus-visible{outline:3px solid #9acbbb;outline-offset:2px}.icon-only-button{aspect-ratio:1;min-height:38px;min-width:38px;padding:8px}.secondary-button{background:var(--surface);border-color:var(--border);color:var(--text)}.secondary-button:hover:not(:disabled){background:var(--subtle);border-color:#c9d4cf}button:disabled{background:#eef2ef;border-color:#cfd8d3;color:#66736d;cursor:not-allowed;opacity:1}.secondary-button:disabled{background:#f4f6f5;border-color:#d8dfdb;color:#77817c}.notice{align-items:center;background:#fff4e5;border:1px solid #ffd08a;border-radius:6px;color:#4f2d00;display:flex;gap:12px;margin-top:18px;padding:12px 14px}.tab-nav{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f7f8f6eb;border-bottom:1px solid var(--border);display:flex;gap:6px;min-height:52px;position:sticky;top:0;z-index:14}.brand-mark{align-items:center;display:inline-flex;margin-right:14px;min-height:48px;padding-right:18px;position:relative}.brand-mark:after{background:var(--border);content:"";height:22px;position:absolute;right:0;width:1px}.brand-logo{display:block;height:40px;width:40px}.tab-button{background:transparent;border:0;border-radius:0;color:var(--muted);min-height:44px;padding:10px 14px;position:relative;transition:color .15s ease}.tab-button:after{background:var(--button);bottom:4px;content:"";height:2px;left:14px;position:absolute;right:14px;transform:scaleX(0);transition:transform .15s ease}.tab-nav .tab-button:hover:not(:disabled),.tab-nav .tab-button.active:not(:disabled){background:transparent!important;color:var(--button)}.tab-nav .tab-button:active:not(:disabled){background:transparent!important;color:var(--button)}.tab-nav .tab-button:hover:not(:disabled):after,.tab-nav .tab-button.active:not(:disabled):after{transform:scaleX(1)}.settings-menu{margin-left:auto;position:relative}.settings-button{min-width:92px}.settings-popover{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 14px 40px #17211d24;display:none;min-width:220px;padding:8px;position:absolute;right:0;top:100%;z-index:15}.settings-menu:hover .settings-popover,.settings-menu.open .settings-popover{display:grid;gap:4px}.settings-checkbox{align-items:center;color:var(--text);display:flex;font-size:14px;font-weight:700;gap:8px;padding:8px}.settings-checkbox input{min-height:0;padding:0}.settings-link{background:transparent;border-color:transparent;border-radius:5px;color:var(--text);justify-content:flex-start;text-align:left;transition:background-color .15s ease,color .15s ease;width:100%}.settings-popover .settings-link:hover:not(:disabled){background:var(--subtle)!important;border-color:transparent;color:var(--button)}.settings-popover .settings-link.active:not(:disabled){background:#eef7f3!important;box-shadow:inset 3px 0 0 var(--button);color:var(--button)}.main-layout{margin-top:24px}.content-grid{display:grid;gap:16px;margin:0 auto;max-width:960px;min-width:0;width:100%}.home-grid{display:grid;gap:16px;grid-template-columns:1fr}.home-overview{align-items:center;display:flex;gap:16px;justify-content:space-between;padding:18px 16px}.home-overview.has-active-program{background:radial-gradient(circle at 90% 12%,rgb(89 163 142 / .2),transparent 31%),linear-gradient(135deg,#f8fbf9,#f1f7f4);border-color:#c9ddd4;min-height:126px;padding:22px;position:relative}.home-overview-copy{display:grid;gap:5px}.home-overview-copy>span,.home-overview-copy strong{color:var(--muted);font-size:12px;text-transform:uppercase}.home-overview-copy h2{font-size:20px;margin:0}.home-overview-copy div{display:grid;gap:2px;margin-top:6px}.home-overview-copy p{font-size:14px;margin:0}.home-start-button{align-self:center;flex:0 0 auto;min-height:46px;padding:10px 14px}.home-workout-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.home-overview .home-workout-actions{justify-content:flex-end}.home-empty-workout-button{min-height:46px;padding:10px 14px}.home-first-run-section{align-items:center;background:radial-gradient(circle at 92% 8%,rgb(89 163 142 / .18),transparent 31%),linear-gradient(135deg,#f8fbf9,#f1f7f4);border-color:#c9ddd4;display:grid;justify-items:center;margin:32px auto 0;max-width:720px;overflow:hidden;padding:42px 28px;position:relative;text-align:center}.home-first-run-section:before{background:#2e7d70;content:"";height:4px;left:0;position:absolute;right:0;top:0}.home-first-run-icon{align-items:center;background:#dceee7;border:1px solid #b8d8cc;border-radius:50%;color:#246657;display:flex;height:58px;justify-content:center;width:58px}.home-first-run-icon img,.program-first-run-icon img{display:block;height:36px;width:36px}.home-first-run-copy{display:grid;gap:8px;margin:18px 0 24px;max-width:540px}.home-first-run-copy>span{color:#2e7d70;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.home-first-run-copy h2{font-size:clamp(24px,4vw,30px);letter-spacing:-.03em;margin:0}.home-first-run-copy p{color:var(--muted);line-height:1.55;margin:0}.home-facts,.metrics{padding:16px}.home-panel .section-heading p{color:var(--muted);font-size:14px;margin:4px 0 0}.panel-section,.data-section{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-width:0}.panel-section{padding:16px}.panel-section h2,.data-section h2{font-size:16px;margin:0}.user-facts{display:grid;gap:12px;margin:16px 0 0}.user-facts div{display:grid;gap:4px}.user-facts dt,.section-heading>span{color:var(--muted);font-size:13px}.user-facts dd{margin:0;overflow-wrap:anywhere}.metrics{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}.metrics>div{background:linear-gradient(145deg,#f7faf8,var(--accent-surface));border:1px solid var(--accent-border);border-radius:8px;padding:12px}.metrics span{color:var(--text);display:block;font-size:22px;font-weight:800}.metrics p{color:var(--muted);font-size:12px;margin:2px 0 0}.home-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.home-metrics>div,.home-metrics>button{display:flex;flex-direction:column;justify-content:center;min-height:92px}.favorite-stat-metric small{color:var(--muted);display:block;font-size:11px;margin-top:4px}.favorite-stat-metric .metric-context{color:#49625a;font-size:12px;font-weight:700;line-height:1.35}.favorite-stat-metric-button{appearance:none;background:linear-gradient(145deg,#f7faf8,var(--accent-surface));border:1px solid var(--accent-border);border-radius:8px;color:inherit;cursor:pointer;font:inherit;padding:12px;text-align:left;transition:background-color .14s ease,border-color .14s ease,transform .14s ease}.favorite-stat-metric-button:hover{background:#f1faf4;border-color:var(--button-border);transform:translateY(-1px)}.favorite-stat-metric-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.favorite-stat-metric-button:active{transform:translateY(0)}.home-progress-section{display:grid;gap:16px;padding:20px}.home-progress-heading{display:grid;gap:3px}.home-progress-heading>span{color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.home-progress-heading h2{font-size:18px}.home-progress-grid{display:grid;gap:12px;grid-template-columns:repeat(12,minmax(0,1fr))}.home-progress-counts{display:grid;gap:10px;grid-column:span 4;grid-template-columns:repeat(2,minmax(0,1fr))}.home-count-metric,.home-highlight-card{background:linear-gradient(145deg,#f7faf8,var(--accent-surface));border:1px solid var(--accent-border);border-radius:10px;box-sizing:border-box;min-width:0}.home-count-metric{display:flex;flex-direction:column;justify-content:center;min-height:132px;padding:16px}.home-count-metric span,.home-highlight-card>span{color:var(--text);display:block;font-size:clamp(20px,2.2vw,28px);font-weight:800;line-height:1.15;overflow-wrap:anywhere}.home-count-metric p,.home-highlight-card>p{color:var(--muted);font-size:12px;font-weight:700;margin:6px 0 0}.home-progress-grid>.home-highlight-card{display:flex;flex-direction:column;grid-column:span 4;justify-content:center;min-height:112px;padding:16px}.home-progress-grid>button.home-highlight-card{width:100%}.home-progress-grid>.home-highlight-card .metric-context{color:#49625a;font-size:12px;font-weight:600;line-height:1.35;margin-top:7px;overflow-wrap:anywhere}.home-streak-card{justify-content:center}.form-stack{display:grid;gap:12px}label{color:var(--muted);display:grid;font-size:13px;gap:6px}input,select,textarea{background:var(--input);border:1px solid var(--border);border-radius:var(--radius-control);color:var(--text);font:inherit;font-size:14px;min-height:38px;padding:8px 10px}textarea{min-height:74px;resize:vertical}.section-heading{align-items:center;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:12px;padding:18px 20px}.section-heading-copy{display:grid;gap:3px;min-width:0}.section-heading-copy>span,.history-workout-title>span{color:var(--button);font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.section-heading-copy h2{font-size:20px;letter-spacing:-.02em}.section-heading-copy p{margin-top:2px;max-width:580px}.section-count-pill{align-items:center;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;color:#245446;display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:800;justify-content:center;min-height:38px;padding:6px 10px}.section-heading p{color:var(--muted);font-size:14px;margin:4px 0 0}.section-actions{align-items:center;display:flex;gap:10px}.empty-state{align-items:center;background:linear-gradient(135deg,var(--accent-surface),#f8faf9);border:1px dashed var(--accent-border);border-radius:var(--radius-card);display:grid;gap:12px;justify-items:center;margin:16px;padding:30px 20px;text-align:center}.empty-state.compact{grid-template-columns:auto minmax(0,1fr);justify-items:start;padding:18px;text-align:left}.empty-state-icon{align-items:center;background:#dceee7;border:1px solid #b8d8cc;border-radius:50%;color:#246657;display:flex;height:48px;justify-content:center;width:48px}.empty-state-icon img{display:block;height:30px;width:30px}.empty-state.compact .empty-state-icon{height:42px;width:42px}.empty-state.compact .empty-state-icon img{height:26px;width:26px}.empty-state-copy{display:grid;gap:4px;max-width:520px}.empty-state-copy h3{font-size:16px;margin:0}.empty-state-copy p{color:var(--muted);font-size:14px;line-height:1.5;margin:0}.empty-state-action{margin-top:4px}.empty-state.compact .empty-state-action{grid-column:2}.table-empty-cell{padding:0;white-space:normal}.table-empty-cell .empty-state{border:0;margin:0}.content-loading-state{color:var(--muted);font-size:14px;padding:30px 20px;text-align:center}.table-wrap{max-width:100%;min-width:0;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);font-size:14px;padding:11px 16px;text-align:left;white-space:nowrap}th{color:var(--muted);font-size:12px;text-transform:uppercase}tr:last-child td{border-bottom:0}.exercise-catalog-section,.exercise-history-section{margin:0 auto;max-width:960px;width:100%}.exercise-history-link,.back-link{align-items:center;background:transparent;border:0;border-radius:0;color:var(--text);display:inline-flex;font:inherit;gap:4px;min-height:0;padding:0;text-align:left;transition:border-color .15s ease,color .15s ease}.exercise-history-link{font-weight:700;padding-bottom:3px;position:relative}.exercise-history-link:after,.back-link:after{background:var(--button);bottom:0;content:"";height:2px;left:0;position:absolute;right:0;clip-path:inset(0 100% 0 0);transition:clip-path .15s ease}.exercise-catalog-section .exercise-history-link:hover:not(:disabled),.exercise-history-section .exercise-history-link:hover:not(:disabled),.back-link:hover:not(:disabled){background:transparent!important;color:var(--button);text-decoration:none}.exercise-catalog-section .exercise-history-link:hover:not(:disabled):after,.exercise-history-section .exercise-history-link:hover:not(:disabled):after,.back-link:hover:not(:disabled):after{clip-path:inset(0)}.exercise-catalog-section .exercise-history-link:active:not(:disabled),.exercise-history-section .exercise-history-link:active:not(:disabled),.back-link:active:not(:disabled){background:transparent!important;color:var(--button)}.back-link{align-self:start;color:var(--muted);font-size:13px;font-weight:700;justify-self:start;margin-bottom:6px;padding:0 0 3px;position:relative;width:max-content}.exercise-history-list{display:grid;gap:12px}.exercise-history-stats{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.exercise-history-stats>div{background:#f4f8f6;border:1px solid #d4e2dc;border-radius:6px;display:grid;gap:4px;min-width:0;padding:10px 11px}.exercise-history-stats span{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.exercise-history-stats strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exercise-history-stats time{color:var(--muted);font-size:11px;white-space:nowrap}.exercise-progress-chart-section{background:radial-gradient(circle at 100% 0,rgba(46,125,112,.1),transparent 34%),linear-gradient(145deg,#fff,#f5f9f7);border:1px solid #d4e2dc;border-radius:10px;margin-bottom:16px;overflow:hidden}.exercise-progress-chart-loading{align-items:center;background:#f5f9f7;border:1px solid #d4e2dc;border-radius:10px;color:var(--muted);display:flex;font-size:12px;font-weight:700;height:390px;justify-content:center;margin-bottom:16px}.exercise-progress-chart-heading{align-items:end;display:flex;gap:16px;justify-content:space-between;padding:16px 18px 4px}.exercise-progress-chart-heading span{color:var(--button);display:block;font-size:10px;font-weight:900;letter-spacing:.08em;margin-bottom:3px;text-transform:uppercase}.exercise-progress-chart-heading h3{font-size:18px;margin:0}.exercise-progress-chart-heading p{color:var(--muted);font-size:12px;font-weight:700;margin:4px 0 0;white-space:nowrap}.exercise-progress-chart-tabs{background:#e8f0ec;border:1px solid #d4e2dc;border-radius:8px;display:grid;flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px}.exercise-progress-chart-tabs button{background:transparent;border:0;border-radius:6px;color:var(--muted);font-size:12px;font-weight:800;min-height:32px;padding:6px 14px}.exercise-progress-chart-tabs button:hover:not(.active){background:#ffffff80;color:var(--text)}.exercise-progress-chart-tabs button.active{background:#fff;box-shadow:0 1px 4px #1a372d1f;color:var(--button)}.exercise-progress-chart-tabs button:focus-visible{outline:2px solid var(--button);outline-offset:1px}.exercise-progress-chart{height:390px;min-width:0;width:100%}.exercise-progress-chart-hint{border-top:1px solid rgba(212,226,220,.7);color:var(--muted);font-size:11px;margin:0;padding:9px 18px 10px;text-align:center}.exercise-history-workout{border:1px solid var(--border);border-radius:8px;display:grid;gap:12px;padding:14px}.exercise-history-workout-heading{align-items:center;display:flex;gap:12px;justify-content:space-between}.exercise-history-workout-heading h3{font-size:15px;margin:0}.exercise-history-workout-heading time{color:var(--muted);display:block;font-size:13px;margin-top:3px}.exercise-history-set-grid{display:grid;gap:0}.exercise-history-set-header,.exercise-history-set-row{align-items:center;display:grid;gap:12px;grid-template-columns:1.1fr 1fr 1fr .7fr}.exercise-history-set-grid.no-rpe .exercise-history-set-header,.exercise-history-set-grid.no-rpe .exercise-history-set-row{grid-template-columns:1.1fr 1fr 1fr}.exercise-history-set-header{color:var(--muted);font-size:11px;font-weight:800;padding:0 8px 7px;text-transform:uppercase}.exercise-history-set-row{border-top:1px solid var(--border);font-size:14px;padding:9px 8px}.exercise-history-set-row span:first-child{align-items:baseline;display:flex;gap:6px}.exercise-history-set-row small{color:var(--muted);font-size:11px}.history-pagination{align-items:center;display:flex;font-size:13px;font-weight:700;gap:12px;justify-content:center;margin-top:18px}.exercise-list{display:none}.exercise-filters{background:#fbfcfb;border-bottom:1px solid var(--border);display:grid;gap:10px;grid-template-columns:minmax(0,1fr) minmax(180px,240px);padding:12px 16px}.exercise-catalog-section tbody tr{transition:background-color .15s ease}.exercise-catalog-section tbody tr:hover{background:#f8faf9}.exercise-type-filters{align-items:center;display:flex;flex-wrap:wrap;gap:8px;grid-column:1 / -1}.filter-chip-group{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.filter-chip{align-items:center;background:var(--surface);border:1px solid #cfd9d4;border-radius:999px;color:#52625b;display:inline-flex;font-size:13px;gap:6px;min-height:34px;padding:5px 8px;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.filter-chip:hover:not(:disabled){background:#f3f7f5;border-color:#9db9ae;color:#294c40}.filter-chip.active,.filter-chip.active:hover:not(:disabled){background:#eaf4f0;border-color:#83b4a4;color:#245446}.filter-chip-check{flex:0 0 14px;opacity:0;transition:opacity .15s ease}.filter-chip.active .filter-chip-check{opacity:1}.filter-chip-count{align-items:center;background:#eef2f4;border-radius:999px;color:#53636a;display:inline-flex;font-size:11px;justify-content:center;line-height:1;min-width:21px;padding:3px 6px}.filter-chip.active .filter-chip-count{background:#d5e9e1;color:#245446}.exercise-actions-cell{width:76px}.exercise-actions-cell .row-actions,.exercise-card-meta .row-actions{grid-template-columns:repeat(2,32px)}.exercise-card-meta{align-items:center;display:flex;flex:0 0 auto;gap:8px}.template-list{display:grid}.template-row{align-items:center;background:transparent;border-left:0;border-right:0;border-top:0;border-bottom:1px solid var(--border);border-radius:0;color:var(--text);display:flex;gap:16px;justify-content:space-between;min-height:0;padding:14px 16px;text-align:left;width:100%}.template-row:last-child{border-bottom:0}.template-row:hover{background:var(--subtle)}.template-row.selected{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--button)}.template-row h3{font-size:15px;margin:0 0 4px}.template-row p,.empty-row{color:var(--muted);font-size:14px;margin:0}.template-row time{color:var(--muted);font-size:13px;white-space:nowrap}.program-picker-header{display:grid;padding:14px 16px 0}.program-picker-section{margin:0 auto;max-width:960px;width:100%}.program-first-run-section{align-items:center;background:radial-gradient(circle at 92% 8%,rgb(89 163 142 / .18),transparent 31%),linear-gradient(135deg,#f8fbf9,#f1f7f4);border-color:#c9ddd4;display:grid;justify-items:center;margin:32px auto 0;max-width:720px;overflow:hidden;padding:42px 28px 28px;position:relative;text-align:center;width:100%}.program-first-run-section:before{background:#2e7d70;content:"";height:4px;left:0;position:absolute;right:0;top:0}.program-first-run-icon{align-items:center;background:#dceee7;border:1px solid #b8d8cc;border-radius:50%;color:#246657;display:flex;height:58px;justify-content:center;width:58px}.program-first-run-copy{display:grid;gap:8px;margin-top:18px;max-width:540px}.program-first-run-eyebrow{color:#2e7d70;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.program-first-run-copy h2{font-size:clamp(24px,4vw,30px);letter-spacing:-.03em;margin:0}.program-first-run-copy p{color:var(--muted);line-height:1.55;margin:0}.program-first-run-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:24px}.program-first-run-actions button{min-height:42px}.program-first-run-steps{border-top:1px solid #cfe0d9;display:flex;gap:18px;justify-content:center;list-style:none;margin:30px 0 0;padding:18px 0 0;width:min(100%,540px)}.program-first-run-steps li{align-items:center;color:#49625a;display:flex;font-size:13px;font-weight:700;gap:7px;white-space:nowrap}.program-first-run-steps span{align-items:center;background:#fff;border:1px solid #b8d8cc;border-radius:50%;color:#2e7d70;display:inline-flex;font-size:11px;height:22px;justify-content:center;width:22px}.program-picker-copy{min-width:0}.program-picker-title-row{align-items:center;display:flex;gap:12px;justify-content:space-between}.program-count-pill{background:#eef2f4;border:1px solid #d7e0e3;border-radius:999px;color:#2d4248;font-size:12px;font-weight:800;padding:5px 9px;white-space:nowrap}.program-picker-copy p{color:var(--muted);font-size:14px;margin:4px 0 0}.program-select-content{display:grid;gap:12px;padding:10px 16px 0}.selected-program-summary{align-items:center;background:#f4f8f6;border-color:#cbded7;color:var(--text);display:flex;justify-content:space-between;min-height:58px;padding:10px 12px;text-align:left;width:100%}.selected-program-summary:hover:not(:disabled){background:#edf6f2;border-color:#94bcae;color:var(--text)}.selected-program-summary>span:first-child{display:grid;gap:3px;min-width:0}.selected-program-summary strong,.selected-program-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-program-summary small{color:var(--muted);font-size:12px;font-weight:500}.change-program-label{color:var(--button);flex:0 0 auto;font-size:13px;font-weight:800;margin-left:12px}.legacy-program-select{display:none}.program-picker-list{border:1px solid var(--border);border-radius:6px;display:grid;max-height:280px;overflow-y:auto}.program-picker-row{background:var(--surface);border:0;border-bottom:1px solid var(--border);border-radius:0;color:var(--text);justify-content:space-between;min-height:52px;padding:9px 12px;text-align:left;transition:background-color .15s ease,color .15s ease;width:100%}.program-picker-row:last-child{border-bottom:0}.program-picker-row.selected{background:#eef8f4;box-shadow:inset 3px 0 #2e7d70}.program-picker-row:hover:not(:disabled){background:var(--subtle);border-color:transparent;color:var(--button)}.program-picker-row.selected:hover:not(:disabled){background:#eef8f4}.program-picker-row>span:first-child{display:grid;gap:4px}.program-picker-row strong{max-width:100%;padding-bottom:3px;position:relative;width:fit-content}.program-picker-row strong:after{background:var(--button);bottom:0;clip-path:inset(0 100% 0 0);content:"";height:2px;left:0;position:absolute;right:0;transition:clip-path .15s ease}.program-picker-row:hover:not(:disabled) strong:after,.program-picker-row:focus-visible strong:after{clip-path:inset(0)}.program-picker-row small{color:var(--muted);font-size:12px;font-weight:500}.program-picker-footer{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:12px 16px 16px}.program-picker-footer-left,.program-picker-footer-right{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.program-picker-footer-right{justify-content:flex-end}.program-text-modal{max-width:760px}.program-text-editor{box-sizing:border-box;font-family:Consolas,Courier New,monospace;font-size:13px;line-height:1.45;min-height:320px;resize:vertical;white-space:pre;width:100%}.program-import-file{color:var(--muted);display:grid;font-size:13px;gap:6px}.program-import-file small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visually-hidden{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0);clip-path:inset(50%)}.modal-error-message{color:var(--text);line-height:1.5;margin:0;overflow-wrap:anywhere}.modal-error-content{align-items:flex-start;display:flex;gap:12px}.modal-error-content svg{color:#b83f3f;flex:0 0 auto;margin-top:1px}.modal-panel.error-modal .modal-heading h2{color:#9f3131}.modal-panel.nested-modal{max-width:400px;width:min(100%,400px)}.missing-exercise-list{background:var(--subtle);border:1px solid var(--border);border-radius:6px;display:grid;gap:6px;margin:0;max-height:220px;overflow-y:auto;padding:10px 10px 10px 30px}.program-detail-section,.template-editor{margin:0 auto;max-width:960px;width:100%}.program-context-bar{align-items:center;background:#f8faf9;border-bottom:1px solid var(--border);display:flex;gap:12px;justify-content:space-between;min-height:40px;padding:7px 16px;position:sticky;top:0;z-index:8}.program-context-path{align-items:center;color:var(--muted);display:flex;font-size:12px;gap:5px;min-width:0;overflow:hidden}.program-context-path strong,.program-context-path span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-context-path strong{color:var(--text)}.program-context-path svg{flex:0 0 auto}.program-summary{border-bottom:1px solid var(--border);display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 16px}.program-week-toolbar{align-items:center;border-bottom:1px solid var(--border);display:flex;gap:8px;padding:10px 16px}.program-week-tabs{align-items:center;display:flex;gap:6px;min-width:0;overflow-x:auto;padding:2px;scrollbar-width:thin}.program-week-tabs>button{background:var(--surface);border-color:var(--border);color:var(--muted);flex:0 0 auto;min-height:36px;min-width:42px;padding:7px 10px}.program-week-tabs>button:hover:not(:disabled){background:#edf6f2;border-color:#94bcae;color:var(--button)}.program-week-tabs>button.selected{background:var(--button);border-color:var(--button);color:#fff}.program-week-tabs>button.selected:hover:not(:disabled){background:#3d8d79;border-color:#2f7564;color:#fff}.add-week-button{color:var(--button);white-space:nowrap}.program-week-actions{align-items:center;display:flex;gap:8px;justify-self:end;margin-left:auto}.delete-week-button{color:#963f3f;white-space:nowrap}.delete-week-button:hover:not(:disabled){background:#fff2f2;border-color:#d9a3a3;color:#7e2f2f}.program-summary div{background:linear-gradient(145deg,#f8faf9,var(--accent-surface));border:1px solid var(--accent-border);border-radius:8px;display:grid;gap:4px;padding:10px}.program-summary span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase}.program-summary strong{color:var(--text);font-size:15px;overflow-wrap:anywhere}.program-days{padding:16px}.program-day-list{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.program-day-card{align-items:center;border:1px solid var(--border);border-radius:8px;display:flex;flex:0 0 min(100%,300px);gap:12px;min-width:0;position:relative}.program-day-card.selected{background:#f0faf7;border-color:#76b7ac;box-shadow:inset 4px 0 #2e7d70}.program-day-main{align-items:center;background:transparent;border:0;border-radius:0;color:var(--text);display:flex;flex:1;gap:12px;justify-content:flex-start;min-width:0;padding:12px;text-align:left}.program-day-main:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--button)}.program-day-card.selected .program-day-main:hover:not(:disabled){background:transparent}.day-order{align-items:center;background:#eef2f4;border:1px solid #d7e0e3;border-radius:999px;color:#2d4248;display:inline-flex;flex:0 0 auto;font-size:12px;height:28px;justify-content:center;width:28px}.program-day-card.selected .day-order{background:#dceee7;border-color:#9fcabb;color:#245f51;font-weight:800}.program-day-copy{display:grid;gap:3px;min-width:0}.program-day-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-day-copy small{color:var(--muted);font-size:12px}.selected-day-toolbar{align-items:center;border-top:1px solid var(--border);display:flex;gap:12px;justify-content:space-between;margin-top:6px;padding-top:12px}.selected-day-toolbar>span{color:var(--muted);font-size:12px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-day-toolbar-actions{align-items:center;display:flex;flex:0 0 auto;gap:8px}.selected-day-toolbar-actions>button{min-height:36px;padding:7px 10px}.program-empty-state{align-items:center;background:#f8faf9;border:1px dashed #c8d5cf;border-radius:8px;display:flex;gap:16px;justify-content:space-between;padding:16px}.program-empty-state p{color:var(--muted);margin:0}.context-menu{flex:0 0 auto;position:relative}.context-menu>summary{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:6px;color:var(--text);cursor:pointer;display:inline-flex;height:36px;justify-content:center;list-style:none;width:36px}.context-menu>summary::-webkit-details-marker{display:none}.context-menu>summary:hover,.context-menu[open]>summary{background:var(--subtle);border-color:#c9d4cf;color:var(--button)}.context-menu>summary:focus-visible{outline:3px solid #9acbbb;outline-offset:2px}.context-menu-popover{background:var(--surface);border:1px solid var(--border);border-radius:7px;box-shadow:0 12px 30px #17211d2e;display:grid;min-width:190px;padding:5px;position:absolute;right:0;top:calc(100% + 5px);z-index:12}.context-menu-item{background:transparent;border:0;color:var(--text);display:flex;gap:9px;justify-content:flex-start;min-height:40px;padding:8px 10px;text-align:left;width:100%}.context-menu-item:hover:not(:disabled){background:var(--subtle);border-color:transparent;color:var(--button)}.context-menu-item.danger-item{color:#963f3f}.context-menu-item.danger-item:hover:not(:disabled){background:#fff2f2;color:#7e2f2f}.program-detail-section .section-actions .context-menu-item{width:100%}.program-detail-section .section-heading{align-items:flex-start;background:linear-gradient(135deg,#ffffff,var(--accent-surface))}.program-heading-edit{background:transparent;border:0;color:var(--text);display:grid;gap:4px;min-height:0;padding:0;text-align:left}.program-heading-edit:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--button)}.program-heading-edit:focus-visible{outline-offset:4px}.program-heading-edit p{color:var(--muted);font-size:14px;font-weight:400;margin:0}.program-detail-section .section-actions{flex-wrap:wrap;justify-content:flex-end;max-width:600px}.session-row{align-items:flex-start}.session-meta{align-items:flex-end;display:grid;gap:8px;justify-items:end}.empty-row{padding:16px}.template-editor{overflow:hidden}.template-editor .section-heading{align-items:stretch;background:linear-gradient(135deg,#fbfcfb,var(--accent-surface));display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}.template-editor .section-heading p{color:var(--muted);font-size:14px;margin:4px 0 0}.training-day-heading{align-items:center;display:grid;flex:1;gap:12px;grid-template-columns:minmax(0,1fr) auto;min-width:0;text-align:left}.training-day-actions{display:grid;grid-template-columns:auto auto;justify-content:space-between;width:100%}.training-day-actions button:last-child{justify-self:end}.training-day-heading-edit{background:transparent;border:0;color:var(--text);display:grid;gap:4px;justify-content:flex-start;min-height:0;min-width:0;padding:0;text-align:left;width:100%}.training-day-heading-edit:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--button)}.training-day-heading-edit:focus-visible{outline-offset:4px}.training-day-heading-edit h2{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.training-day-heading-edit p{color:var(--muted);font-size:14px;font-weight:400;margin:0;overflow-wrap:anywhere}.empty-editor{padding:16px}.empty-editor p{color:var(--muted);margin:10px 0 0}.duplicate-template-bar{align-items:end;border-bottom:1px solid var(--border);display:grid;gap:10px;grid-template-columns:minmax(180px,1fr) auto;padding:12px 16px}.editor-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(280px,320px);padding:16px}.editor-grid-single{grid-template-columns:1fr}.template-plan{display:grid;gap:0}.template-exercise-block{display:grid}.template-exercise-block.in-superset .plan-exercise{border-left:4px solid #527890}.template-exercise-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.superset-pill{background:#e5eef3;border:1px solid #bfd0da;border-radius:999px;color:#355b70;font-size:10px;font-weight:800;padding:3px 7px;text-transform:uppercase;white-space:nowrap}.superset-connector{align-items:center;display:flex;height:28px;justify-content:center;position:relative}.superset-connector:before{background:var(--border);content:"";height:1px;left:12px;position:absolute;right:12px}.superset-connector.linked:after{background:#527890;bottom:0;content:"";left:0;position:absolute;top:0;width:4px}.superset-connector button{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:999px;color:var(--muted);display:inline-flex;font-size:11px;gap:5px;min-height:24px;padding:3px 9px;position:relative;z-index:1}.superset-connector button:hover:not(:disabled){background:#eef4f7;border-color:#9db6c4;color:#355b70}.superset-connector.linked button:disabled{background:#e5eef3;border-color:#bfd0da;color:#355b70;opacity:1}.plan-exercise{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden}.plan-exercise-heading{align-items:flex-start;background:var(--subtle);display:flex;gap:12px;justify-content:space-between;padding:12px}.plan-actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.move-actions{display:flex;gap:4px}.plan-actions>span{margin-right:4px;white-space:nowrap}.set-count-pill{background:#f7faf8;border:1px solid #d8e2dd;border-radius:999px;color:#476158;display:inline-flex;font-size:12px;font-weight:800;padding:5px 9px}.plan-actions>button:not(.icon-only-button){min-height:34px;padding:6px 10px}.plan-exercise-heading h3{font-size:15px;margin:0 0 4px}.plan-exercise-heading p,.plan-exercise-heading>span,.empty-set{color:var(--muted);font-size:13px;margin:0}.plan-exercise-heading .set-count-pill{color:#476158;font-size:12px}.template-editor .template-exercise-heading{align-items:center;display:grid;grid-template-areas:"title count" "actions actions";grid-template-columns:minmax(0,1fr) auto}.template-exercise-title{grid-area:title;min-width:0}.template-exercise-history-link{background:transparent;border:0;border-radius:0;color:var(--text);font:inherit;min-height:0;padding:0 0 3px;position:relative;text-align:left}.exercise-navigation-link{background:transparent;border:0;border-radius:0;color:inherit;font:inherit;min-height:0;padding:0 0 3px;position:relative;text-align:left}.exercise-navigation-link:after{background:var(--button);bottom:0;clip-path:inset(0 100% 0 0);content:"";height:2px;left:0;position:absolute;right:0;transition:clip-path .15s ease}.exercise-navigation-link:hover:not(:disabled),.exercise-navigation-link:focus-visible{background:transparent!important;color:var(--button)}.exercise-navigation-link:hover:not(:disabled):after,.exercise-navigation-link:focus-visible:after{clip-path:inset(0)}.program-heading-edit h2,.training-day-heading-edit h2,.program-day-copy strong{max-width:100%;padding-bottom:3px;position:relative;width:fit-content}.program-heading-edit h2,.training-day-heading-edit h2{font-size:20px;letter-spacing:-.02em}.program-days>.empty-state,.template-plan>.empty-state,.active-workout-body>.empty-state,.empty-editor>.empty-state{margin:0}.program-heading-edit h2:after,.training-day-heading-edit h2:after,.program-day-copy strong:after,.template-exercise-history-link:after{background:var(--button);bottom:0;clip-path:inset(0 100% 0 0);content:"";height:2px;left:0;position:absolute;right:0;transition:clip-path .15s ease}.program-heading-edit:hover:not(:disabled) h2:after,.program-heading-edit:focus-visible h2:after,.training-day-heading-edit:hover:not(:disabled) h2:after,.training-day-heading-edit:focus-visible h2:after,.program-day-main:hover:not(:disabled) .program-day-copy strong:after,.program-day-main:focus-visible .program-day-copy strong:after,.template-exercise-history-link:hover:not(:disabled):after,.template-exercise-history-link:focus-visible:after{clip-path:inset(0)}.template-exercise-heading .template-exercise-history-link:hover:not(:disabled){background:transparent!important;border-color:transparent;color:var(--button)}.template-exercise-heading>.set-count-pill{align-self:center;grid-area:count}.template-editor .template-exercise-actions{display:flex;grid-area:actions;justify-content:space-between;width:100%}.template-exercise-secondary-actions{align-items:center;display:flex;gap:6px}.set-grid{display:grid}.set-row{display:grid;gap:8px;grid-template-columns:70px repeat(4,minmax(60px,1fr));padding:10px 12px;border-top:1px solid var(--border);font-size:13px}.set-row span:first-child{font-weight:700}.template-set-editor{align-items:center;border-top:1px solid var(--border);display:grid;gap:8px;grid-template-areas:"identity reps weight rpe rest actions";grid-template-columns:76px repeat(4,minmax(74px,1fr)) 112px;padding:10px 12px}.template-set-editor.no-rpe{grid-template-areas:"identity reps weight rest actions";grid-template-columns:76px repeat(3,minmax(74px,1fr)) 112px}.template-set-header,.workout-set-header,.history-set-header{align-items:center;background:#f7faf8;border-top:1px solid var(--border);color:var(--muted);display:grid;font-size:11px;font-weight:800;gap:8px;letter-spacing:0;padding:8px 12px;text-transform:uppercase}.template-set-header{grid-template-columns:76px repeat(4,minmax(74px,1fr)) 112px}.template-set-header.no-rpe{grid-template-columns:76px repeat(3,minmax(74px,1fr)) 112px}.template-set-values{display:contents}.template-set-identity{display:grid;gap:3px;grid-area:identity}.template-set-identity strong{font-size:14px}.template-set-identity span{font-size:11px}.template-set-rest{grid-area:rest}.template-set-value.reps{grid-area:reps}.template-set-value.weight{grid-area:weight}.template-set-value.rpe{grid-area:rpe}.template-set-actions{grid-area:actions}.template-set-identity span,.template-set-rest,.template-set-value,.workout-set-row>span{color:var(--muted);font-size:13px}.row-actions{display:grid;gap:6px;grid-template-columns:repeat(3,32px);justify-content:end}.row-actions .icon-only-button,.workout-set-row .icon-only-button,.plan-actions .icon-only-button{min-height:32px;min-width:32px;padding:6px}.clickable-row{cursor:pointer}.clickable-row:hover{background:var(--subtle)}.clickable-row.selected{background:var(--accent-soft);box-shadow:inset 4px 0 0 var(--button)}.clickable-row.selected td:first-child{font-weight:800}.workout-history-list{overflow:hidden}.workout-history-list>.section-heading,.exercise-catalog-section>.section-heading,.exercise-history-section>.section-heading{background:linear-gradient(135deg,#fff,#f7faf8)}.history-table-wrap{overflow-x:visible}.history-table th,.history-table td{padding-bottom:13px;padding-top:13px;vertical-align:middle}.history-table tbody tr{transition:background-color .16s ease}.history-workout-cell{min-width:180px}.history-workout-name{align-items:center;display:flex;gap:8px}.history-workout-name strong{font-size:14px}.history-workout-name .status-pill{font-size:10px;padding:3px 7px}.history-workout-cell>span{color:var(--muted);display:block;font-size:11px;margin-top:4px}.history-date-cell{white-space:normal}.history-metric-cell strong{font-size:13px;font-variant-numeric:tabular-nums}.history-date-time{display:grid;gap:4px}.history-date-time strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.history-date-time span{color:var(--muted);font-size:11px;white-space:nowrap}.history-metric-cell>span{display:none}.history-actions-cell{text-align:right;width:1%}.history-actions-cell .icon-only-button{min-height:32px;min-width:32px;padding:6px}.history-pagination{align-items:center;border-top:1px solid var(--border);display:grid;gap:12px;grid-template-columns:auto minmax(90px,1fr) auto;padding:14px 16px}.history-pagination>span{color:var(--muted);font-size:12px;font-weight:800;text-align:center}.history-pagination button{min-height:38px;padding:7px 12px}.empty-set{border-top:1px solid var(--border);padding:12px}.editor-forms{display:grid;gap:12px;align-content:start}.editor-form{border:1px solid var(--border);border-radius:8px;padding:14px}.active-workout,.history-workout{overflow:hidden}.history-workout .active-workout-body{min-width:0}.active-workout .section-heading{align-items:flex-start;background:radial-gradient(circle at 92% 10%,rgb(89 163 142 / .17),transparent 28%),linear-gradient(135deg,#f8fbf9,#f1f7f4);border-top:4px solid var(--button)}.history-workout .section-heading{background:linear-gradient(135deg,#f9fbfc,var(--completed-soft));border-left:0;border-top:4px solid #6f879c}.active-workout .section-heading p,.history-workout .section-heading p{color:var(--muted);font-size:14px;margin:4px 0 0}.workout-title-row{align-items:center;display:flex;gap:8px}.workout-title-row h2{margin:0}.program-context-pill{background:#eef2f6;border:1px solid #c8d3df;border-radius:999px;color:#42576a;font-size:11px;font-weight:800;padding:4px 8px;white-space:nowrap}.history-workout-heading,.active-workout-heading{display:grid;gap:14px;min-width:0;width:100%}.history-workout-context{align-items:center;display:flex;gap:7px;justify-content:flex-end}.history-workout-title{display:grid;gap:3px;min-width:0}.history-workout-title h2{font-size:20px;letter-spacing:-.02em}.history-workout-title time{color:var(--muted);font-size:12px;font-weight:700}.workout-summary-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.workout-summary-title-row>.status-pill{margin-left:auto}.workout-summary-grid{border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}.active-workout-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.workout-summary-item{align-items:center;border-left:1px solid var(--border);display:grid;gap:9px;grid-template-columns:18px minmax(0,1fr);min-width:0;padding:0 14px}.workout-summary-button{background:transparent;border-bottom:0;border-radius:0;border-right:0;border-top:0;cursor:pointer;font:inherit;text-align:left;width:100%}.workout-summary-button:hover:not(:disabled){background:#f3f8f5;color:inherit}.workout-summary-button:focus-visible{outline:2px solid var(--button);outline-offset:3px}.workout-summary-button:disabled{cursor:default;opacity:1}#active-workout-summary,.active-workout-body .workout-exercise{scroll-margin-top:16px}.workout-summary-item:first-child{border-left:0;padding-left:0}.workout-summary-item:last-child{padding-right:0}.workout-summary-item>svg{color:#53766b}.workout-summary-item>div{display:grid;gap:2px;min-width:0}.workout-summary-item span{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.workout-summary-item strong{color:var(--text);font-size:14px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rest-summary.rest-countdown>svg,.rest-summary.rest-countdown strong{color:#8a6200}.rest-summary.rest-over>svg,.rest-summary.rest-over span,.rest-summary.rest-over strong{color:#a43a3a}.active-workout-header-actions{border-top:1px solid var(--border);display:grid;gap:8px;grid-template-areas:"add . cancel finish";grid-template-columns:auto 1fr auto auto;padding-top:12px;width:100%}.workout-add-action{grid-area:add}.workout-delete-action{background:var(--surface);border-color:#dfb3b3;color:#963f3f;grid-area:cancel}.workout-delete-action:hover:not(:disabled){background:#fff2f2;border-color:#cc8989;color:#7e2f2f}.workout-finish-action{grid-area:finish;min-height:42px}.status-pill{background:var(--warning-soft);border:1px solid var(--warning-border);border-radius:999px;color:var(--warning-text);display:inline-flex;font-size:12px;font-weight:800;padding:4px 9px;white-space:nowrap}.status-pill.completed{background:var(--accent-soft);border-color:var(--accent-border);color:#245446}.status-pill.cancelled{background:var(--danger-soft);border-color:var(--danger-border);color:var(--danger-text)}.active-workout-body{display:grid;gap:12px;padding:16px}.workout-exercise{background:#fff;border:1px solid #d7dfe5;border-radius:var(--radius-card);overflow:hidden}.workout-exercise.current-exercise{border-color:#8ab9a8;box-shadow:0 8px 24px #2f7d6b1f}.workout-exercise.completed-exercise{border-color:var(--completed-border)}.workout-exercise.in-superset{border-color:#bfd0da}.workout-exercise-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.workout-exercise-title-row h3{margin:0}.workout-exercise .plan-exercise-heading{background:#f7f9fa}.workout-exercise.current-exercise .plan-exercise-heading{background:var(--accent-surface)}.previous-performance{background:#f7faf8;border-top:1px solid var(--border);display:grid;gap:8px;padding:10px 12px}.previous-performance-heading{align-items:center;display:flex;gap:10px;justify-content:space-between}.previous-performance-heading strong{color:#476158;font-size:12px;text-transform:uppercase}.previous-performance-heading time{color:var(--muted);font-size:12px;font-weight:700}.previous-performance-sets{display:flex;flex-wrap:wrap;gap:6px}.previous-performance-set{align-items:center;display:inline-flex;flex-wrap:nowrap;gap:5px}.previous-performance-set>strong{color:var(--muted);font-size:11px}.previous-performance-values{align-items:center;background:#eef2f4;border:1px solid #d7e0e3;border-radius:999px;display:inline-flex;overflow:hidden}.previous-performance-values>span{color:#2d4248;font-size:11px;font-weight:700;padding:4px 7px;white-space:nowrap}.previous-performance-values>span+span{border-left:1px solid #d7e0e3}.mobile-previous-set{display:none}.workout-set-list{display:grid}.add-workout-set-row{align-items:center;background:#f5faf7;border:0;border-top:1px dashed #b8d1c4;color:#276149;cursor:pointer;display:flex;font:inherit;font-size:13px;font-weight:700;gap:6px;justify-content:center;min-height:42px;padding:8px 12px}.add-workout-set-row:hover:not(:disabled){background:#e8f4ec}.add-workout-set-row:disabled{color:#819189;cursor:not-allowed}.workout-set-row{align-items:center;border-top:1px solid var(--border);display:grid;gap:8px;grid-template-areas:"identity reps weight rpe status action";grid-template-columns:74px repeat(4,minmax(72px,1fr)) 42px;padding:6px 12px}.workout-set-row.no-rpe{grid-template-areas:"identity reps weight status action";grid-template-columns:74px repeat(3,minmax(72px,1fr)) 42px}.workout-set-header{grid-template-columns:74px repeat(4,minmax(72px,1fr)) 42px}.workout-set-header.no-rpe{grid-template-columns:74px repeat(3,minmax(72px,1fr)) 42px}.workout-set-row>div:first-child{grid-area:identity}.workout-set-values{display:contents}.workout-set-value.reps{grid-area:reps}.workout-set-value.weight{grid-area:weight}.workout-set-value.rpe{grid-area:rpe}.workout-set-status{grid-area:status}.workout-set-row button,.workout-set-row .empty-action{grid-area:action}.active-workout .plan-actions>button:not(.icon-only-button){min-height:30px;padding:5px 9px}.active-workout .plan-actions{align-items:flex-end;flex-direction:column}.active-workout .workout-set-row .icon-only-button{min-height:28px;min-width:28px;padding:5px}.active-workout .workout-set-row .button-icon-only svg{height:14px;width:14px}.workout-set-row:not(.completed-set){background:#f0f9f3}.workout-set-row.completed-set{background:#eef2f6;color:#536271}.workout-set-row.current-set{background:#e2f4e9;box-shadow:inset 0 0 0 2px #6b9f7e;position:relative;z-index:1}.workout-set-row.current-set.resting-set{box-shadow:inset 0 0 0 2px #c79320}.workout-set-row.current-set.rest-over{background:#f8e5e5;box-shadow:inset 0 0 0 2px #b84242}.workout-set-row .edit-set-button{background:#eef2f6;border-color:#c8d3df;color:#42576a}.workout-set-row .edit-set-button:hover:not(:disabled){background:#dfe7ef;border-color:#b4c3d1}.history-set-row{align-items:center;border-top:1px solid var(--border);display:grid;gap:10px;grid-template-areas:"identity reps weight rpe";grid-template-columns:74px repeat(3,minmax(72px,1fr));padding:10px 12px}.history-set-row.completed-set{background:#edf7f1;border-color:#b8d1c4}.history-set-row.incomplete-set{background:#fff5f5;border-color:#e1bcbc}.history-set-row.incomplete-set strong,.history-set-row.incomplete-set .history-set-values>span{color:#a53c3c}.history-set-row.no-rpe{grid-template-areas:"identity reps weight";grid-template-columns:74px repeat(2,minmax(72px,1fr))}.history-set-header{grid-template-columns:74px repeat(3,minmax(72px,1fr))}.history-set-header.no-rpe{grid-template-columns:74px repeat(2,minmax(72px,1fr))}.workout-set-row>div:first-child,.history-set-row>div:first-child{display:grid;gap:2px}.history-set-row>div:first-child{grid-area:identity}.history-set-values{display:contents}.history-set-values>span:nth-child(1){grid-area:reps}.history-set-values>span:nth-child(2){grid-area:weight}.history-set-values>span:nth-child(3){grid-area:rpe}.workout-set-row strong,.history-set-row strong{font-size:14px}.workout-set-row>div:first-child span,.history-set-row>div:first-child span{color:var(--muted);font-size:12px;text-transform:capitalize}.active-workout-forms{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(260px,1fr))}.template-editor .editor-forms,.active-workout .active-workout-forms{display:none}.field-pair{display:grid;gap:10px;grid-template-columns:1fr 1fr}.exercise-picker{display:grid;gap:10px}.exercise-picker-results{border:1px solid var(--border);border-radius:8px;display:grid;max-height:280px;overflow-y:auto}.exercise-picker-option{align-items:center;background:var(--surface);border:0;border-bottom:1px solid var(--border);border-radius:0;color:var(--text);display:flex;justify-content:space-between;min-height:44px;text-align:left}.exercise-picker-option:last-child{border-bottom:0}.exercise-picker-option:hover{background:var(--subtle)}.exercise-picker-option.selected{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--button)}.exercise-picker-option small{color:var(--muted);font-size:12px;font-weight:700}.new-exercise-fields{background:var(--subtle);border:1px solid var(--border);border-radius:8px;display:grid;gap:10px;padding:12px}.new-exercise-fields p{color:var(--muted);font-size:13px;margin:0}.muscle-checkboxes{border:1px solid var(--border);border-radius:8px;display:grid;gap:6px;margin:0;max-height:220px;overflow-y:auto;padding:10px}.muscle-checkboxes legend{color:var(--muted);font-size:13px;font-weight:700;padding:0 4px}.muscle-checkboxes label{align-items:center;color:var(--text);display:flex;font-size:14px;gap:8px}.muscle-checkboxes input{min-height:0;padding:0}.modal-backdrop{align-items:center;background:#17211d6b;display:flex;inset:0;justify-content:center;padding:18px;position:fixed;z-index:20}.modal-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:0 18px 60px #17211d38;display:grid;gap:16px;max-width:520px;padding:16px;width:min(100%,520px)}.modal-heading{align-items:center;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:12px;padding-bottom:12px}.modal-heading h2{font-size:16px;margin:0}.modal-title{align-items:center;display:flex;gap:9px;min-width:0}.modal-tone-icon{align-items:center;background:#fff0f0;border:1px solid #edcaca;border-radius:50%;color:#a53c3c;display:inline-flex;flex:0 0 auto;height:30px;justify-content:center;width:30px}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.number-stepper{display:grid;gap:6px}.number-stepper>span:first-child{color:var(--muted);font-size:13px;font-weight:700}.number-stepper-control{align-items:stretch;border:1px solid var(--border);border-radius:6px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;overflow:hidden}.number-stepper-control input{border:0;border-left:1px solid var(--border);border-radius:0;border-right:1px solid var(--border);font-size:16px;font-weight:800;min-width:0;padding:8px 4px;text-align:center}.number-stepper-control input:focus{outline:2px solid #4f8a67;outline-offset:-2px}.number-stepper-button{align-items:center;background:#f4f8f6;border:0;border-radius:0;color:#285b4c;display:inline-flex;justify-content:center;min-height:42px;min-width:42px;padding:0}.number-stepper-button:hover:not(:disabled){background:#dcece6;color:#173d32}.number-stepper-button:disabled{background:#f7f8f7;color:#a9b2ad}.rep-range-stepper{background:#f8faf9;border:1px solid var(--border);border-radius:6px;display:grid;gap:8px;padding:10px}.rep-range-heading,.set-type-selector,.set-type-selector>div{align-items:center;display:flex}.rep-range-heading,.set-type-selector{justify-content:space-between}.rep-range-heading>span,.set-type-selector>span{color:var(--muted);font-size:13px;font-weight:700}.rep-link-button{align-items:center;background:transparent;border:1px solid var(--border);border-radius:999px;color:var(--muted);display:inline-flex;font-size:11px;gap:4px;min-height:28px;padding:4px 8px}.rep-link-button.active{background:#dcece6;border-color:#b9d5cb;color:#295e50}.set-type-selector{background:#f8faf9;border:1px solid var(--border);border-radius:6px;gap:10px;padding:8px 10px}.set-type-selector>div{border:1px solid #cad8d2;border-radius:999px;flex:0 1 auto;overflow:hidden}.set-type-selector button{background:#f4f7f6;border:0;border-left:1px solid #cad8d2;border-radius:0;color:#53645d;font-size:12px;font-weight:700;min-height:30px;padding:5px 8px;white-space:nowrap}.set-type-selector button:first-child{border-left:0}.set-type-selector button.active{background:#dcece6;color:#295e50}.set-type-selector button:disabled{color:#a9b2ad}.rpe-slider-field{background:#f4f8f6;border:1px solid var(--border);border-radius:6px;display:grid;gap:4px;padding:10px 12px 8px}.rpe-slider-heading,.rpe-slider-selection{align-items:center;display:flex}.rpe-slider-heading{color:var(--muted);font-size:13px;justify-content:space-between}.rpe-slider-selection{gap:8px}.rpe-slider-selection output{background:#dcece6;border:1px solid #b9d5cb;border-radius:999px;color:#295e50;font-size:13px;font-weight:800;min-width:50px;padding:4px 9px;text-align:center}.rpe-clear-button{background:transparent;border:0;color:var(--muted);font-size:12px;min-height:30px;padding:4px}.rpe-clear-button:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--text);text-decoration:underline;text-underline-offset:3px}.rpe-range{appearance:none;background:transparent;border:0;cursor:pointer;min-height:40px;padding:0;width:100%}.rpe-range::-webkit-slider-runnable-track{background:#c7dbd3;border-radius:999px;height:6px}.rpe-range::-webkit-slider-thumb{appearance:none;background:var(--button);border:3px solid #fff;border-radius:50%;box-shadow:0 1px 4px #17211d4d;height:28px;margin-top:-11px;width:28px}.rpe-range::-moz-range-track{background:#c7dbd3;border-radius:999px;height:6px}.rpe-range::-moz-range-thumb{background:var(--button);border:3px solid #fff;border-radius:50%;box-shadow:0 1px 4px #17211d4d;height:22px;width:22px}.rpe-range:focus-visible{outline:3px solid #9acbbb;outline-offset:1px}.rpe-range-scale{color:var(--muted);display:flex;font-size:11px;font-weight:700;justify-content:space-between;padding:0 2px}.form-hint{color:var(--muted);font-size:13px;line-height:1.4;margin:-4px 0 0}.modal-panel.user-settings-modal{max-height:calc(100dvh - 36px);max-width:520px;overflow-y:auto}.user-settings-form{gap:18px}.user-settings-form input[type=radio],.user-settings-form input[type=checkbox]{accent-color:var(--button);flex:0 0 16px;height:16px;width:16px}.user-settings-section{background:#fbfcfb;border:1px solid var(--border);border-radius:var(--radius-card);display:grid;gap:14px;padding:16px}.user-settings-section:last-of-type{border-bottom:1px solid var(--border);padding-bottom:16px}.user-settings-section-heading{align-items:baseline;display:flex;gap:10px;justify-content:space-between}.user-settings-section-heading h3{font-size:15px;margin:0}.user-settings-section-heading p{color:var(--muted);font-size:13px;margin:4px 0 0}.user-settings-section-heading span{color:var(--muted);font-size:13px;overflow-wrap:anywhere;text-align:right}.profile-settings-form{gap:0}.profile-settings-form .user-settings-section{background:transparent;border:0;border-radius:0;gap:18px;padding:0}.profile-settings-form .user-settings-section+.user-settings-section{border-top:1px solid var(--border);margin-top:22px;padding-top:22px}.profile-settings-form .user-settings-section:last-of-type{border-bottom:0;padding-bottom:0}.user-settings-profile{display:block;min-width:0}.user-settings-identity{display:grid;gap:4px;min-width:0}.user-settings-identity>span{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-settings-identity strong{font-size:15px;overflow-wrap:anywhere}.user-settings-row{align-items:center;border-top:1px solid var(--border);display:flex;gap:20px;justify-content:space-between;padding-top:18px}.user-settings-row-copy{display:grid;gap:3px}.user-settings-row-copy>strong{font-size:14px}.user-settings-row-copy>span{color:var(--muted);font-size:12px}.user-settings-unit-control{background:var(--subtle);border-radius:10px;flex:0 0 190px;gap:3px;padding:4px}.user-settings-unit-control label{border:0;border-radius:7px;gap:5px;justify-content:center;min-height:38px;padding:6px 9px}.user-settings-unit-control input{position:absolute;opacity:0;pointer-events:none}.user-settings-unit-control small{color:var(--muted);font-size:11px;font-weight:600}.user-settings-unit-control label.selected small{color:inherit;opacity:.72}.user-settings-theme-control label svg{flex:0 0 auto}.user-settings-actions{border-top:1px solid var(--border);margin-top:22px;padding-top:18px}.legal-settings-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.legal-settings-links a{align-items:center;border-bottom:0;color:var(--text);display:flex;font-family:inherit;font-size:13px;font-weight:750;gap:10px;justify-content:space-between;min-height:50px;text-decoration:none}.legal-settings-links a:hover{color:var(--button)}.legal-settings-links a svg{color:var(--muted);flex:0 0 auto;transition:color .16s ease,transform .16s ease}.legal-settings-links a:hover svg{color:var(--button);transform:translate(2px)}.legal-settings-links a:nth-child(odd){margin-right:18px}.legal-privacy-settings .user-settings-section{gap:0}.legal-privacy-settings .account-data-actions{background:var(--pf-surface-muted);border:0;border-radius:var(--radius-control);margin-top:22px;padding:16px}.legal-privacy-settings .account-delete-area{background:var(--danger-soft);border:1px solid var(--danger-border);border-radius:var(--radius-control);display:grid;gap:14px;margin-top:22px;padding:16px}.legal-privacy-settings .account-delete-trigger{align-self:start;margin:0}.account-data-actions{align-items:center;display:flex;gap:18px;justify-content:space-between;margin-top:14px}.account-data-actions>div,.account-delete-intro,.account-delete-confirmation>div:first-child{display:grid;gap:3px}.account-data-actions span,.account-delete-intro span,.account-delete-confirmation span{color:var(--muted);font-size:12px;line-height:1.45}.account-delete-trigger{appearance:none;background:transparent;border:1px solid var(--danger-border);border-radius:var(--radius-control);color:var(--danger-text);font-size:13px;font-weight:750;min-height:40px;padding:8px 14px;text-align:left}.account-delete-trigger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger-text);color:var(--danger-text);transform:none}.account-delete-confirmation{background:transparent;border:0;border-radius:0;display:grid;gap:14px;margin:0;padding:0}.account-delete-confirmation label{display:grid;font-size:12px;gap:7px}.account-delete-actions{display:flex;gap:10px;justify-content:flex-end}.account-delete-actions .danger,.account-delete-actions .danger:hover:not(:disabled){background:var(--danger-text);border-color:var(--danger-text);color:#fff}.user-settings-checkbox{background:var(--accent-surface);border:1px solid var(--accent-border);border-radius:var(--radius-control);min-height:42px}.user-settings-checkbox>span{display:grid;gap:2px}.user-settings-checkbox small{color:var(--muted);font-size:12px;font-weight:400}.workout-settings-modal .user-settings-section{background:transparent;border:0;border-radius:0;padding:0}.workout-settings-modal .user-settings-section:last-of-type{border-bottom:0;padding-bottom:0}.workout-settings-modal .user-settings-checkbox{border:0;padding:10px 12px}.workout-settings-form{gap:0}.workout-settings-list{display:grid}.user-settings-preference-row{align-items:center;border-top:1px solid var(--border);cursor:pointer;display:flex;gap:20px;justify-content:space-between;padding:16px 0}.user-settings-preference-row:first-child{border-top:0;padding-top:0}.user-settings-preference-row:last-child{padding-bottom:0}.user-settings-preference-copy{display:grid;gap:4px;min-width:0}.user-settings-preference-copy>strong{font-size:14px}.user-settings-preference-copy>small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.4}.settings-switch{display:inline-flex;flex:0 0 auto;position:relative}.settings-switch>input{height:1px!important;opacity:0;position:absolute;width:1px!important}.settings-switch>span{background:var(--subtle);border-radius:999px;display:block;height:26px;position:relative;transition:background-color .15s ease;width:46px}.settings-switch>span:after{background:#fff;border-radius:50%;box-shadow:0 2px 6px #0003;content:"";height:20px;left:3px;position:absolute;top:3px;transition:transform .15s ease;width:20px}.settings-switch>input:checked+span{background:var(--button)}.settings-switch>input:checked+span:after{transform:translate(20px)}.settings-switch>input:focus-visible+span{outline:3px solid var(--accent-border);outline-offset:2px}.previous-performance-setting select{flex:0 0 176px;min-height:40px;width:176px}.planned-integrations{display:grid;gap:8px}.planned-integration{align-items:center;background:var(--accent-surface);border:1px solid var(--accent-border);border-radius:var(--radius-control);display:flex;justify-content:space-between;min-height:44px;padding:10px 12px}.planned-integration span{color:var(--muted);font-size:12px}.strava-connection-card{align-items:center;background:transparent;border:0;border-radius:0;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) auto;padding:0}.strava-connection-copy{display:grid;gap:5px;min-width:0}.strava-connection-heading{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.strava-connection-heading>strong{color:#fc5200;font-size:15px}.integration-status{align-items:center;background:var(--subtle);border-radius:999px;display:inline-flex;font-size:10px!important;font-weight:700;gap:5px;padding:3px 7px;text-transform:uppercase}.integration-status:before{background:currentColor;border-radius:50%;content:"";height:5px;opacity:.55;width:5px}.integration-status.connected{background:var(--accent-surface);color:var(--button)}.strava-connection-card span,.strava-connection-card small{color:var(--muted);font-size:12px}.strava-connection-card>button:not(.secondary-button):not(.strava-connect-button){background:#fc5200;border-color:#fc5200}.strava-connect-button{align-items:center;background:transparent!important;border:0!important;box-shadow:none!important;display:inline-flex;justify-self:end;line-height:0;min-height:0!important;padding:0!important;width:auto!important}.strava-connect-button:hover:not(:disabled){background:transparent!important;border:0!important;opacity:.88;transform:none}.strava-connect-button img{display:block;height:40px;width:auto}.strava-connection-card .strava-error{color:#a53c3c;grid-column:1 / -1}.strava-sync-status.failed{color:#a53c3c}.strava-connection-card .strava-retry{align-self:start;background:transparent;border:0;color:#c54300;font-size:12px;font-weight:700;min-height:0;padding:2px 0;position:relative;width:fit-content}.strava-connection-card .strava-retry:after{background:currentColor;bottom:0;content:"";height:1px;left:0;position:absolute;transform:scaleX(1);transform-origin:left;transition:transform .16s ease;width:100%}.strava-connection-card .strava-retry:hover:after{transform:scaleX(.35)}.strava-type-combobox{display:block;min-width:0;position:relative}.strava-type-combobox>input{background:#fff;border:1px solid var(--border);border-radius:var(--radius-control);color:var(--ink);font:inherit;min-height:42px;padding:9px 12px;width:100%}.strava-type-combobox>input:focus{border-color:#e7642b;box-shadow:0 0 0 3px #e7642b24;outline:none}.strava-type-options{background:#fff;border:1px solid var(--border);border-radius:var(--radius-control);box-shadow:0 16px 36px #1f161229;display:grid;left:0;max-height:300px;overflow-y:auto;padding:6px;position:absolute;right:0;top:calc(100% + 6px);z-index:20}.strava-type-options>button{align-items:flex-start;background:transparent;border:0;border-radius:8px;color:var(--ink);display:grid;gap:2px;justify-content:stretch;min-height:0;padding:9px 10px;text-align:left;width:100%}.strava-type-options>button:hover,.strava-type-options>button.selected{background:#fff1e9;color:#b43a00}.strava-type-options>button>span{color:inherit;font-size:13px;font-weight:700}.strava-type-options>button small{grid-column:auto}.strava-type-options>p{color:var(--muted);font-size:12px;margin:0;padding:10px}@media(max-width:600px){.user-settings-row{align-items:stretch;flex-direction:column;gap:12px}.user-settings-unit-control{box-sizing:border-box;flex-basis:auto;width:100%}.user-settings-preference-row{align-items:stretch}.previous-performance-setting{flex-direction:column;gap:12px}.previous-performance-setting select{box-sizing:border-box;flex-basis:auto;width:100%}.strava-connection-card{grid-template-columns:1fr}.strava-connection-card button{width:100%}.strava-connection-card .strava-connect-button{justify-self:start;width:auto}}.confirm-stack{display:grid;gap:16px}.confirm-stack p{color:var(--muted);margin:0}.modal-panel.confirm-modal{border-color:#e6c9c9;max-width:400px;width:min(100%,400px)}.confirm-modal .modal-heading{border-bottom-color:#efdada}.confirm-modal .confirm-stack{gap:18px}.confirm-modal .confirm-stack p{background:#fff7f7;border-left:3px solid #c85a5a;border-radius:4px;color:#624545;line-height:1.45;padding:11px 12px}.confirm-modal .modal-actions{border-top:1px solid #f1e1e1;padding-top:14px}.confirm-modal .modal-actions .danger{background:#b94b4b;border-color:#b94b4b;color:#fff}.confirm-modal .modal-actions .danger:hover:not(:disabled){background:#a83d3d;border-color:#a83d3d}@media(max-width:860px){.auth-shell{align-items:flex-start;padding:12px}.auth-panel{box-shadow:none;padding:18px 16px}.auth-brand img{height:54px;width:54px}.auth-heading h1{font-size:21px}.app-shell{padding:16px}.section-heading{padding:15px 14px}.section-heading-copy h2{font-size:18px}.empty-state{margin:12px;padding:24px 16px}.empty-state.compact{margin:0;padding:16px}.tab-nav{flex-wrap:nowrap;overflow:visible}.brand-mark{flex-basis:auto;justify-content:flex-start;margin-right:4px;min-height:40px;padding:0}.brand-mark:after{background:var(--border);display:block;height:22px;margin-left:2px;position:static}.brand-logo{height:40px;width:40px}.tab-button{font-size:13px;min-height:40px;padding:8px}.settings-menu{margin-left:auto}.settings-button{min-height:44px;min-width:44px}.settings-button .button-icon-label>span{display:none}@media(max-width:350px){.brand-logo{height:34px;width:34px}.settings-button{min-height:40px;min-width:40px}}.settings-popover{min-width:220px;right:0}@media(max-width:600px){.tab-nav{gap:0}.brand-mark{display:none}.tab-nav>.tab-button{flex:1 1 0;font-size:11px;min-width:0;padding-left:4px;padding-right:4px}.settings-menu{flex:0 0 42px;margin-left:0}}.home-grid{grid-template-columns:1fr}.imperial-measurements{grid-template-columns:repeat(2,minmax(0,1fr))}.imperial-measurements label:last-child{grid-column:1 / -1}.home-overview{align-items:flex-start}.home-overview.has-active-program{padding:18px}.home-first-run-section{margin-top:20px;padding:34px 18px}.home-overview-copy h2{font-size:18px}.home-start-button{min-height:44px;padding:9px 12px}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-metrics .favorite-exercise-metric{grid-column:1 / -1}.program-first-run-section{margin-top:20px;padding:34px 18px 22px}.program-first-run-steps{align-items:flex-start;flex-direction:column;gap:10px;width:100%}.program-summary,.editor-grid{grid-template-columns:1fr}.program-detail-section .section-actions{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;justify-content:space-between;width:100%}.program-detail-section .section-actions button{font-size:12px;min-height:38px;padding:7px 6px;width:auto}.program-detail-section .program-actions-menu{flex:0 0 36px}.program-detail-section .program-actions-menu>summary{height:36px;min-height:36px;width:36px}.program-detail-section .program-summary{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 12px}.program-detail-section .program-summary div{padding:8px}.program-detail-section .program-summary span{font-size:10px}.program-detail-section .program-summary strong{font-size:13px}.program-week-toolbar{align-items:stretch;flex-direction:column;padding:10px 12px}.program-week-tabs{margin:0 -2px;width:calc(100% + 4px)}.program-week-actions{justify-content:space-between;margin-left:0;width:100%}.program-week-actions button{font-size:12px;min-height:36px;padding:7px 9px}.program-context-bar{padding:7px 12px}.program-context-path span:last-child{max-width:42vw}.program-picker-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.program-picker-footer-left,.program-picker-footer-right{width:auto}.program-picker-footer-left{justify-content:flex-start}.program-picker-footer-right{justify-content:flex-end}.template-editor .section-heading{align-items:start;display:grid;grid-template-columns:minmax(0,1fr) auto}.template-editor .training-day-heading{grid-column:1 / -1}.template-editor .section-actions{align-items:center;flex-direction:row;grid-column:1 / -1;justify-self:start;width:auto}.template-editor .section-actions button{width:auto}.template-editor .section-actions.training-day-actions{display:grid;grid-template-columns:auto auto;justify-content:space-between;justify-self:stretch;width:100%}.program-picker-section,.program-detail-section,.template-editor,.exercise-catalog-section,.exercise-history-section{max-width:none}.exercise-catalog-section .section-heading{align-items:flex-start;flex-direction:column}.exercise-catalog-section .section-actions{align-items:center;flex-direction:row;justify-content:flex-end;width:100%}.exercise-catalog-section .section-actions button{width:auto}.exercise-table{display:none}.exercise-filters{grid-template-columns:1fr;padding:12px}.exercise-type-filters{gap:8px}.exercise-list{display:grid;gap:10px;padding:12px}.workout-history-list .section-heading{align-items:center;flex-direction:row}.workout-history-list .section-heading>span{white-space:nowrap}.history-table-wrap{overflow:visible}.history-table,.history-table tbody{display:block;width:100%}.history-table thead{display:none}.history-table tbody{display:grid;gap:10px;padding:12px}.history-table tbody tr{border:1px solid var(--border);border-radius:8px;display:grid;gap:10px 0;grid-template-areas:"workout workout actions" "date date date" "duration completed volume";grid-template-columns:repeat(3,minmax(0,1fr));padding:12px}.history-table tbody tr.selected{background:var(--accent-soft);border-color:var(--button-border)}.history-table td{border:0;min-width:0;padding:0;white-space:normal}.history-workout-cell{grid-area:workout}.history-date-cell{border-top:1px solid var(--border)!important;grid-area:date;padding-top:10px!important}.history-duration-cell{grid-area:duration}.history-completed-cell{border-left:1px solid var(--border)!important;grid-area:completed}.history-volume-cell{border-left:1px solid var(--border)!important;grid-area:volume}.history-metric-cell{display:grid;gap:4px;padding:0 8px!important}.history-duration-cell{padding-left:0!important}.history-metric-cell>span{color:var(--muted);display:block;font-size:9px;font-weight:800;text-transform:uppercase}.history-metric-cell strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-actions-cell{align-self:start;grid-area:actions;justify-self:end;width:auto}.exercise-card{background:linear-gradient(145deg,#fff,#f9fbfa);border:1px solid var(--border);border-radius:var(--radius-card);display:grid;gap:10px;padding:12px}.exercise-card-heading{align-items:center;display:flex;gap:10px;justify-content:space-between}.exercise-card-heading h3{font-size:14px;margin:0}.exercise-card dl{display:grid;gap:8px;margin:0}.exercise-card dl div{display:grid;gap:2px}.exercise-card dt{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.exercise-card dd{font-size:13px;margin:0}.exercise-history-workout{padding:12px}.exercise-history-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.exercise-history-stats>div{padding:9px 10px}.exercise-progress-chart-section{margin-bottom:12px}.exercise-progress-chart-heading{align-items:start;flex-direction:column;gap:12px;padding:14px 14px 2px}.exercise-progress-chart-heading h3{font-size:16px}.exercise-progress-chart-heading p{font-size:11px}.exercise-progress-chart-tabs{width:100%}.exercise-progress-chart{height:350px}.exercise-progress-chart-loading{height:350px;margin-bottom:12px}.exercise-progress-chart-hint{line-height:1.4;padding:9px 14px 10px}.exercise-history-set-header{display:none}.exercise-history-set-row,.exercise-history-set-grid.no-rpe .exercise-history-set-row{align-items:start;gap:5px 10px;grid-template-columns:1fr 1fr;padding:10px 4px}.exercise-history-set-row span:first-child{grid-column:1 / -1}.exercise-history-set-row span:not(:first-child):before{color:var(--muted);content:attr(data-label);display:block;font-size:10px;font-weight:800;text-transform:uppercase}.program-day-card{flex-basis:min(68vw,230px);gap:8px}.program-day-main{gap:8px;padding:10px}.selected-day-toolbar{gap:8px}.selected-day-toolbar>span{max-width:42%}.context-menu-popover{max-width:calc(100vw - 40px)}.duplicate-template-bar,.active-workout-forms{grid-template-columns:1fr}.set-row{grid-template-columns:1fr 1fr}.template-set-header,.workout-set-header,.history-set-header{display:none}.section-heading,.section-actions,.workout-set-row{align-items:stretch;flex-direction:column}.section-heading{flex-direction:column}.plan-exercise-heading{align-items:stretch;display:grid}.plan-actions{justify-content:flex-start}.history-workout .plan-exercise-heading{align-items:start;grid-template-columns:minmax(0,1fr) auto}.history-workout .plan-actions{justify-content:flex-end;margin-left:auto}.workout-summary-title-row{align-items:flex-start}.history-workout .workout-summary-title-row{align-items:center}.workout-summary-grid{padding-top:10px}.workout-summary-item{gap:6px;grid-template-columns:17px minmax(0,1fr);padding:0 8px}.workout-summary-item strong{font-size:13px}.active-workout-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.active-workout-summary .workout-summary-item:nth-child(3),.active-workout-summary .workout-summary-item:nth-child(4){border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.active-workout-summary .workout-summary-item:nth-child(3){border-left:0;padding-left:0}.section-actions,.section-actions button{width:100%}.active-workout .active-workout-header-actions{display:grid;gap:8px;grid-template-areas:"add cancel" "finish finish";grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}.active-workout .active-workout-header-actions .workout-add-action{justify-self:start;width:auto}.active-workout .active-workout-header-actions .workout-delete-action{justify-self:end;width:auto}.active-workout .active-workout-header-actions .workout-finish-action{min-height:48px;width:100%}.active-workout .section-actions button{min-height:36px;padding:6px 4px}.modal-actions{display:grid;grid-template-columns:1fr}.modal-panel.user-settings-modal{box-sizing:border-box;max-height:calc(100dvh - 20px);width:calc(100% - 24px)}.user-settings-section-heading{align-items:flex-start;flex-direction:column;gap:3px}.user-settings-section-heading span{text-align:left}.modal-panel.program-text-modal{box-sizing:border-box;max-height:calc(100dvh - 20px);min-width:0;overflow-x:hidden;overflow-y:auto;padding:14px;width:calc(100% - 24px)}.program-import-form,.program-import-form>label,.program-import-form .program-text-editor{min-width:0;max-width:100%}.program-import-form input[type=file]{box-sizing:border-box;max-width:100%}.program-import-form .program-text-editor{height:min(34dvh,260px);min-height:180px;overflow-wrap:anywhere;white-space:pre-wrap}.modal-panel.workout-set-modal{box-sizing:border-box;max-height:calc(100dvh - 20px);max-width:380px;overflow-y:auto;padding:14px;width:calc(100% - 24px)}.modal-close-button{min-height:36px;min-width:36px;padding:7px}.modal-close-button .button-icon-label>span{display:none}.workout-set-form{gap:10px}.workout-set-fields{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.workout-set-form label{font-size:12px;min-width:0}.workout-set-form input,.workout-set-form select{box-sizing:border-box;min-height:42px;min-width:0;width:100%}.modal-actions.workout-set-modal-actions{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.workout-set-modal-actions>:only-child{grid-column:2}.workout-set-modal-actions button{min-height:42px;padding:8px 6px}.workout-set-row{align-items:start;gap:8px 10px;grid-template-areas:"identity status" "values action";grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}.workout-set-row.no-rpe{grid-template-areas:"identity status" "values action"}.history-set-row,.history-set-row.no-rpe{align-items:center;gap:8px 10px;grid-template-areas:"identity values";grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}.history-set-values{align-items:center;border:1px solid #c8d3df;border-radius:999px;display:inline-flex;flex-wrap:nowrap;gap:0;grid-area:values;justify-content:flex-end;overflow:hidden}.history-set-values>span{background:#dfe7ef;border:0;border-left:1px solid #c8d3df;border-radius:0;color:#42576a;font-size:11px;font-weight:700;padding:5px 6px;white-space:nowrap}.history-set-values>span:first-child{border-left:0}.history-set-row.completed-set .history-set-values{border-color:#b8d1c4}.history-set-row.completed-set .history-set-values>span{background:#dceee7;border-left-color:#b8d1c4;color:#285b4c}.history-set-row.incomplete-set .history-set-values{border-color:#e1bcbc}.history-set-row.incomplete-set .history-set-values>span{background:#f8dddd;border-left-color:#e1bcbc;color:#a53c3c}.template-set-editor{align-items:start;gap:8px 10px;grid-template-areas:"identity rest" "values actions";grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}.template-set-editor.no-rpe{grid-template-areas:"identity rest" "values actions"}.template-set-editor .template-set-identity{align-items:start;display:grid;gap:3px;grid-area:identity}.template-set-editor .template-set-identity strong{font-size:13px}.template-set-editor .template-set-identity span{color:var(--muted);font-size:11px}.template-set-editor .template-set-rest{grid-area:rest;justify-self:end;text-align:right}.template-set-editor .template-set-values{align-items:center;border:1px solid #d8e2dd;border-radius:999px;display:inline-flex;flex-wrap:nowrap;gap:0;grid-area:values;justify-self:start;overflow:hidden}.template-set-editor .template-set-value{background:#f4f7f6;border:0;border-left:1px solid #d8e2dd;border-radius:0;color:var(--text);font-size:11px;font-weight:700;padding:5px 6px;white-space:nowrap}.template-set-editor .template-set-value:first-child{border-left:0}.template-set-editor .template-set-actions{align-self:center;grid-area:actions;grid-template-columns:repeat(3,32px);justify-self:end}.row-actions{display:grid;grid-template-columns:repeat(3,32px);justify-content:start}.workout-set-row>div:first-child{grid-area:identity;grid-column:auto}.workout-set-row .workout-set-values{align-items:center;border:1px solid #d8e2dd;border-radius:999px;display:inline-flex;flex-wrap:nowrap;gap:0;grid-area:values;grid-column:auto;justify-self:start;overflow:hidden}.workout-set-row .workout-set-value{background:#f4f7f6;border:0;border-left:1px solid #d8e2dd;border-radius:0;color:var(--text);font-size:11px;font-weight:700;padding:5px 6px;white-space:nowrap}.workout-set-row .workout-set-value:first-child{border-left:0}.workout-set-row.completed-set .workout-set-value{background:#dfe7ef;border-color:#c8d3df;color:#42576a}.workout-set-row.completed-set .workout-set-values{border-color:#c8d3df}.workout-set-row .workout-set-status{grid-area:status;grid-column:auto;justify-self:end;text-align:right}.workout-set-row button,.workout-set-row .empty-action{align-self:center;grid-area:action;grid-column:auto;justify-self:end}.active-workout .workout-set-row .icon-only-button{min-height:36px;min-width:36px;padding:8px}.active-workout .workout-set-row .button-icon-only svg{height:16px;width:16px}.previous-performance{display:none}.mobile-previous-set{align-items:center;background:#eef2f6;border-bottom:1px solid #d7dfe8;color:#5b6878;display:flex;gap:8px;min-height:38px;padding:7px 10px}.mobile-previous-set time{font-size:11px;font-weight:700;margin-right:auto}.mobile-previous-set-values{align-items:center;border:1px solid #c8d3df;border-radius:999px;display:inline-flex;flex:0 0 auto;overflow:hidden}.mobile-previous-set-values span{background:#dfe7ef;border-left:1px solid #c8d3df;color:#35485c;font-size:11px;font-weight:700;padding:3px 6px;white-space:nowrap}.mobile-previous-set-values span:first-child{border-left:0}.workout-set-group.has-previous-performance{border:1px solid #c8d3df;border-radius:6px;margin:6px 8px;overflow:hidden}.workout-set-group.has-previous-performance .mobile-previous-set{border:0;border-bottom:1px solid #d7dfe8}.workout-set-group.has-previous-performance .workout-set-row{border-top:0}.workout-set-group.current-set-group{border:2px solid #6b9f7e;border-radius:6px;margin:6px 8px;overflow:hidden}.workout-set-group.current-set-group.resting-set{border-color:#c79320}.workout-set-group.current-set-group.rest-over{border-color:#b84242}.workout-set-group.current-set-group .workout-set-row{border-left:0;border-top:0;box-shadow:none}.active-workout .plan-exercise-heading{align-items:flex-start;display:flex}.active-workout .plan-actions{justify-content:flex-end;margin-left:auto}.workout-set-row>div:first-child{align-items:center;display:flex;gap:6px}.workout-set-row strong{font-size:13px}.workout-set-row>div:first-child span{font-size:11px}.workout-set-row .workout-set-value,.workout-set-row .workout-set-status{font-size:12px}}@media(max-width:560px){.legal-settings-links{grid-template-columns:1fr}.legal-settings-links a:nth-child(odd){margin-right:0}.account-data-actions{align-items:stretch;flex-direction:column}.account-delete-actions{display:grid;grid-template-columns:1fr}.home-progress-section{gap:14px;padding:14px}.home-progress-grid>.home-highlight-card{grid-column:1 / -1;min-height:104px}.home-progress-counts{grid-column:1 / -1}.home-count-metric{min-height:82px}.home-overview.has-active-program{align-items:stretch;flex-direction:column}.home-start-button{width:100%}.home-overview .home-workout-actions{align-items:stretch;flex-direction:column-reverse;width:100%}.home-empty-workout-button{width:100%}.section-heading-copy p{font-size:13px}.section-count-pill{align-self:flex-start}.empty-state.compact{grid-template-columns:1fr;justify-items:center;text-align:center}.empty-state.compact .empty-state-action{grid-column:1}.history-workout-context{justify-content:flex-start}}@media(min-width:561px)and (max-width:860px){.home-progress-counts{grid-column:1 / -1}.home-count-metric{min-height:88px}.home-progress-grid>.home-highlight-card{grid-column:span 6}}:root{--pf-accent: #7c3aed;--pf-accent-hover: #6d28d9;--pf-accent-text: #6d28d9;--pf-accent-soft: #f0e9ff;--pf-bg: #f6f4fa;--pf-surface: #ffffff;--pf-surface-raised: #faf8fd;--pf-surface-muted: #f2eff7;--pf-surface-hover: #ece7f4;--pf-border: rgb(48 37 67 / .13);--pf-border-strong: rgb(124 58 237 / .34);--pf-danger: #c2414e;--pf-danger-soft: #fff0f2;--pf-warning: #98620d;--pf-warning-soft: #fff7e8;--pf-nav-bg: rgb(255 255 255 / .92);--pf-shadow-nav: 0 16px 42px rgb(47 35 65 / .1);--pf-shadow-surface: 0 20px 48px rgb(47 35 65 / .09);--pf-shadow-card: 0 10px 26px rgb(47 35 65 / .09);--pf-logo-glow: rgb(124 58 237 / .14);--pf-focus-ring: rgb(124 58 237 / .26);--pf-disabled-text: #aaa2b0;--pf-input-bg: #ffffff;--pf-placeholder: #9891a1;--pf-hover-border: rgb(48 37 67 / .24);--pf-focus-shadow: rgb(124 58 237 / .11);--pf-muted-strong: #5f5868;--pf-surface-deep: #ebe7f0;--pf-completed-surface: #f3eff9;--pf-completed-text: #62596d;--pf-danger-border-soft: rgb(194 65 78 / .28);--pf-danger-border-strong: rgb(194 65 78 / .62);--pf-danger-copy: #9f3742;--pf-backdrop: rgb(26 20 35 / .54);--pf-table-heading: #6f6878;--pf-strava-surface: #fff7f2;--pf-strava-border: #efc4ad;--pf-strava-hover: #ffede3;--pf-strava-text: #c54300;--pf-switch-track: #d9d3e2;--pf-switch-thumb: #ffffff;--pf-select-bg: #f4f1f7;--pf-select-hover: #ece7f4;--pf-confirm-button: #b94b4b;--pf-confirm-border: #c85a5a;--pf-confirm-copy: #8f3d46;--pf-warning-border: rgb(152 98 13 / .28);--pf-danger-shadow: rgb(194 65 78 / .08);--pf-completed-header: #f7f3fb;--pf-open-set: #fbfafc;--pf-slider-track: #d8d2df;--pf-disconnect-copy: #8f3d46}:root[data-theme=dark]{--pf-accent: #8a48ff;--pf-accent-hover: #9a5bff;--pf-accent-text: #bd9aff;--pf-accent-soft: #211832;--pf-bg: #08090b;--pf-surface: #101115;--pf-surface-raised: #15161b;--pf-surface-muted: #191a20;--pf-surface-hover: #1d1e24;--pf-border: rgb(255 255 255 / .1);--pf-border-strong: rgb(138 72 255 / .36);--pf-danger: #ff7d88;--pf-danger-soft: #29161a;--pf-warning: #ffd28b;--pf-warning-soft: #281f12;--pf-nav-bg: rgb(8 9 11 / .9);--pf-shadow-nav: 0 16px 48px rgb(0 0 0 / .24);--pf-shadow-surface: 0 22px 60px rgb(0 0 0 / .28);--pf-shadow-card: 0 10px 28px rgb(0 0 0 / .22);--pf-logo-glow: rgb(138 72 255 / .18);--pf-focus-ring: rgb(138 72 255 / .32);--pf-disabled-text: #73717b;--pf-input-bg: #111218;--pf-placeholder: #716f79;--pf-hover-border: rgb(255 255 255 / .18);--pf-focus-shadow: rgb(138 72 255 / .1);--pf-muted-strong: #c6c3cd;--pf-surface-deep: #26242d;--pf-completed-surface: #1a1624;--pf-completed-text: #b5b1bd;--pf-danger-border-soft: rgb(255 125 136 / .3);--pf-danger-border-strong: rgb(255 125 136 / .72);--pf-danger-copy: #ffabb2;--pf-backdrop: rgb(3 4 6 / .78);--pf-table-heading: #aaa7b1;--pf-strava-surface: #21120c;--pf-strava-border: #6e3218;--pf-strava-hover: #2b170e;--pf-strava-text: #ff8a45;--pf-switch-track: #34343d;--pf-switch-thumb: #f5f3f8;--pf-select-bg: #17141f;--pf-select-hover: #1d1927;--pf-confirm-button: #b94b4b;--pf-confirm-border: #c85a5a;--pf-confirm-copy: #d8aeb2;--pf-warning-border: rgb(255 210 139 / .28);--pf-danger-shadow: rgb(255 125 136 / .08);--pf-completed-header: #17131f;--pf-open-set: #131419;--pf-slider-track: #34313c;--pf-disconnect-copy: #e4bec2}body{background:var(--pf-bg)}body,.tab-nav,.panel-section,.data-section,.modal-panel,.workout-exercise{transition:background-color .18s ease,border-color .18s ease,color .18s ease}.app-shell{max-width:1320px;padding:20px 28px 48px}.tab-nav{background:var(--pf-nav-bg);border:1px solid var(--pf-border);border-radius:18px;box-shadow:var(--pf-shadow-nav);gap:4px;min-height:64px;padding:7px 9px;top:12px}.brand-mark{gap:10px;margin-right:10px;min-height:48px;padding:0 18px 0 4px}.brand-mark:after{background:var(--pf-border);height:28px}.brand-logo{filter:drop-shadow(0 0 12px var(--pf-logo-glow));height:42px;width:42px}.brand-name{color:var(--text);font-size:13px;font-weight:850;letter-spacing:-.02em;text-transform:uppercase}.tab-button{border-radius:11px;min-height:44px;padding:10px 15px}.tab-button:after{background:var(--pf-accent);border-radius:999px}.tab-nav .tab-button:hover:not(:disabled),.tab-nav .tab-button.active:not(:disabled){background:var(--pf-surface-muted)!important;color:var(--text);transform:none}.tab-nav .tab-button{transition:background-color .15s ease,color .15s ease}.main-layout{margin-top:38px}.content-grid{gap:20px;max-width:1040px}.panel-section,.data-section,.auth-panel,.modal-panel,.settings-popover,.context-menu-popover,.localized-date-picker-popover,.strava-type-options,.exercise-card,.workout-exercise,.program-day-card,.template-exercise-block,.history-workout,.exercise-history-workout,.active-workout{background:var(--pf-surface);border-color:var(--pf-border);box-shadow:var(--pf-shadow-surface)}.panel-section,.data-section{overflow:hidden}.section-heading h2,.data-section h2,.panel-section h2,.auth-heading h1{letter-spacing:-.035em}.section-heading>span,.auth-eyebrow,.program-first-run-eyebrow,.home-first-run-copy>span,.home-progress-heading>span,.home-overview-copy>span,.home-overview-copy strong{color:var(--pf-accent-text);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.icon-button,button{background:var(--pf-accent);border-color:var(--pf-accent);border-radius:var(--radius-control);box-shadow:none;min-height:40px;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}button:hover:not(:disabled){background:var(--pf-accent-hover);border-color:var(--pf-accent-hover);box-shadow:none;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--pf-focus-ring);outline-offset:2px}.secondary-button,.settings-link,.context-menu-item,.back-link,.rpe-clear-button,.number-stepper-button{background:var(--pf-surface-muted);border-color:var(--pf-border);box-shadow:none;color:var(--text)}.secondary-button:hover:not(:disabled),.settings-popover .settings-link:hover:not(:disabled),.context-menu-item:hover:not(:disabled),.back-link:hover:not(:disabled),.number-stepper-button:hover:not(:disabled){background:var(--pf-surface-hover)!important;border-color:var(--pf-border-strong);color:var(--pf-accent-text)}button:disabled,.secondary-button:disabled,.number-stepper-button:disabled{background:var(--pf-surface-muted);border-color:var(--pf-border);color:var(--pf-disabled-text);box-shadow:none}input,select,textarea,.strava-type-combobox>input{background:var(--pf-input-bg);border-color:var(--pf-border);border-radius:var(--radius-control);color:var(--text)}input::placeholder,textarea::placeholder{color:var(--pf-placeholder)}input:hover,select:hover,textarea:hover{border-color:var(--pf-hover-border)}input:focus,select:focus,textarea:focus,.strava-type-combobox>input:focus{border-color:var(--pf-accent);box-shadow:0 0 0 3px var(--pf-focus-shadow)}.auth-shell{background:var(--pf-bg)}.auth-panel{border-radius:24px;padding:30px}.auth-panel:before,.home-first-run-section:before,.program-first-run-section:before{background:var(--pf-accent)}.login-panel{max-width:440px}.auth-brand img{filter:none;height:64px;width:64px}.google-login-button{background:transparent;border:0;border-radius:20px;display:inline-flex;justify-self:center;min-height:40px;padding:0}.google-login-button:hover{background:transparent;border:0;opacity:.9}.google-login-button>img{display:block;height:44px;width:198px}.auth-notice,.notice{background:var(--pf-warning-soft);border-color:var(--pf-warning-border);color:var(--pf-warning)}.auth-error,.modal-error-content{background:var(--pf-danger-soft);border-color:var(--pf-danger-border-soft);color:var(--pf-danger)}.unit-system-control label.selected,.settings-popover .settings-link.active:not(:disabled){background:var(--pf-accent-soft)!important;border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.home-overview.has-active-program,.home-first-run-section,.program-first-run-section{background:var(--pf-surface-raised);border-color:var(--pf-border-strong)}.home-first-run-icon,.program-first-run-icon,.empty-state-icon{background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.metrics>div,.favorite-stat-metric-button,.home-count-metric,.home-highlight-card,.workout-summary-item,.home-streak-card{background:var(--pf-surface-muted);border-color:var(--pf-border)}.favorite-stat-metric-button:hover:not(:disabled){background:var(--pf-surface-raised);border-color:var(--pf-hover-border);box-shadow:none}.favorite-stat-metric .metric-context,.home-progress-grid>.home-highlight-card .metric-context,.exercise-card-meta,.form-hint{color:var(--muted)}.empty-state,.empty-editor,.empty-set,.empty-row,.content-loading-state,.planned-integration,.program-empty-state{background:var(--pf-surface-raised);border-color:var(--pf-border);color:var(--muted)}.exercise-history-stats>div,.exercise-progress-chart-section,.exercise-progress-chart-loading,.exercise-filters{background:var(--pf-surface-raised);border-color:var(--pf-border)}.exercise-progress-chart-tabs{background:var(--pf-surface-muted);border-color:var(--pf-border)}.exercise-progress-chart-tabs button{background:transparent;border-color:transparent;color:var(--muted)}.exercise-progress-chart-tabs button.active{background:var(--pf-accent-soft);color:var(--pf-accent-text)}.exercise-catalog-section tbody tr:hover,.clickable-row:hover,.exercise-picker-option:hover,.program-picker-row:hover,.localized-date-picker-days>button:hover:not(:disabled){background:var(--pf-surface-hover)}.filter-chip{background:var(--pf-surface-muted);border-color:var(--pf-border);color:var(--pf-muted-strong)}.filter-chip:hover:not(:disabled){background:var(--pf-surface-hover);color:var(--text)}.filter-chip.active,.filter-chip.active:hover:not(:disabled){background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.filter-chip-count,.filter-chip.active .filter-chip-count{background:var(--pf-surface-deep);color:var(--pf-muted-strong)}.exercise-card{background:var(--pf-surface)}.program-first-run-steps{border-color:var(--pf-border)}.program-first-run-steps li{color:var(--muted)}.program-first-run-steps span,.day-order,.program-count-pill,.set-count-pill,.plan-exercise-heading .set-count-pill,.section-count-pill{background:var(--pf-surface-muted);border-color:var(--pf-border);color:var(--pf-muted-strong)}.selected-program-summary,.program-context-bar,.program-summary div,.program-detail-section .section-heading,.template-editor .section-heading{background:var(--pf-surface-raised);border-color:var(--pf-border)}.selected-program-summary:hover:not(:disabled),.program-week-tabs>button:hover:not(:disabled){background:var(--pf-surface-hover)}.program-picker-row.selected,.program-picker-row.selected:hover:not(:disabled),.program-day-card.selected,.program-day-card.selected .day-order,.program-week-tabs>button.selected,.program-week-tabs>button.selected:hover:not(:disabled){background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.selected-program-summary:hover:not(:disabled),.program-week-tabs>button:hover:not(:disabled),.program-day-card.selected,.program-picker-row.selected{box-shadow:inset 3px 0 0 var(--pf-accent)}.program-day-card.selected{box-shadow:inset 4px 0 0 var(--pf-accent)}.program-first-run-steps span,.program-day-card.selected .day-order,.program-week-tabs>button.selected,.program-picker-row.selected,.program-picker-row.selected:hover:not(:disabled){border-color:var(--pf-border-strong)}.context-menu>summary:hover,.context-menu[open]>summary{border-color:var(--pf-border-strong)}.superset-pill,.program-context-pill{background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.superset-connector button:hover:not(:disabled),.superset-connector.linked button:disabled{background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.delete-week-button,.context-menu-item.danger-item,.workout-delete-action{color:var(--pf-danger)}.delete-week-button:hover:not(:disabled),.context-menu-item.danger-item:hover:not(:disabled),.workout-delete-action:hover:not(:disabled){background:var(--pf-danger-soft);border-color:var(--pf-danger-border-soft);color:var(--pf-danger-copy)}.template-set-header,.workout-set-header,.history-set-header,.workout-history-list>.section-heading,.exercise-catalog-section>.section-heading,.exercise-history-section>.section-heading,.active-workout .section-heading,.history-workout .section-heading,.workout-exercise .plan-exercise-heading,.previous-performance,.rep-range-stepper,.set-type-selector,.rpe-slider-field,.user-settings-section{background:var(--pf-surface-raised);border-color:var(--pf-border)}.workout-summary-button:hover:not(:disabled),.add-workout-set-row:hover:not(:disabled){background:var(--pf-surface-hover)}.history-workout .workout-summary-grid{border-top:0;gap:8px;padding-top:16px}.history-workout .workout-summary-item{background:var(--pf-surface-muted);border:1px solid var(--pf-border);border-radius:12px;min-height:64px;padding:12px}.history-workout .workout-summary-item:first-child,.history-workout .workout-summary-item:last-child{padding-left:12px;padding-right:12px}.history-workout .workout-summary-item>svg{color:var(--pf-accent-text)}.workout-exercise,.workout-exercise.in-superset{background:var(--pf-surface);border-color:var(--pf-border)}.active-workout .workout-exercise.current-exercise{border-color:var(--pf-border);border-top:1px solid var(--pf-border);box-shadow:var(--pf-shadow-card)}.active-workout .workout-exercise.current-exercise .plan-exercise-heading{background:var(--pf-surface-raised);border-color:var(--pf-border)}.active-workout .section-heading{border-top:1px solid var(--pf-border)}.active-workout .workout-exercise.completed-exercise{border-color:var(--pf-border);box-shadow:none}.active-workout .workout-exercise.completed-exercise .plan-exercise-heading{background:var(--pf-completed-header);border-color:var(--pf-border)}.active-workout .workout-exercise.rest-over-exercise{border-color:var(--pf-danger-border-strong);border-top:1px solid var(--pf-danger-border-strong);box-shadow:0 10px 28px var(--pf-danger-shadow)}.previous-performance-values,.history-set-values,.template-set-editor .template-set-values,.workout-set-row .workout-set-values,.mobile-previous-set-values{background:var(--pf-surface-muted);border-color:var(--pf-border)}.previous-performance-values>span,.history-set-values>span,.template-set-editor .template-set-value,.workout-set-row .workout-set-value,.mobile-previous-set-values span{background:transparent;border-color:var(--pf-border);color:var(--pf-muted-strong)}.previous-performance-values>span+span{border-color:var(--pf-border)}.add-workout-set-row{background:var(--pf-surface-raised);border-color:var(--pf-border);color:var(--pf-accent-text)}.add-workout-set-row:disabled,.set-type-selector button:disabled{color:var(--pf-disabled-text)}.workout-set-row:not(.completed-set){background:var(--pf-open-set)}.workout-set-row.completed-set,.history-set-row.completed-set{background:var(--pf-completed-surface);border-color:var(--pf-border);color:var(--pf-completed-text)}.workout-set-row.current-set{background:var(--pf-accent-soft);border-color:var(--pf-accent);border-top-color:var(--pf-border);box-shadow:inset 3px 0 0 var(--pf-accent)}.workout-set-row.current-set.resting-set,.workout-set-row.current-set.rest-over,.history-set-row.incomplete-set{box-shadow:inset 3px 0 0 var(--pf-accent)}.workout-set-row.current-set.rest-over,.history-set-row.incomplete-set{background:var(--pf-danger-soft);border-color:var(--pf-danger-border-soft);box-shadow:inset 3px 0 0 var(--pf-danger)}.active-workout .workout-exercise.rest-over-exercise .workout-set-row.current-set.rest-over{border-color:var(--pf-border);border-top-color:var(--pf-border);box-shadow:none}.workout-set-row .edit-set-button{background:var(--pf-surface-muted);border-color:var(--pf-border);color:var(--pf-muted-strong)}.workout-set-row .edit-set-button:hover:not(:disabled){background:var(--pf-surface-hover);border-color:var(--pf-border-strong)}.history-set-row.completed-set .history-set-values,.history-set-row.completed-set .history-set-values>span,.workout-set-row.completed-set .workout-set-values,.workout-set-row.completed-set .workout-set-value{background:transparent;border-color:var(--pf-border-strong);color:var(--pf-completed-text)}.history-set-row.incomplete-set .history-set-values,.history-set-row.incomplete-set .history-set-values>span,.history-set-row.incomplete-set strong{background:transparent;border-color:var(--pf-danger-border-soft);color:var(--pf-danger)}.status-pill.completed{background:var(--pf-accent-soft);color:var(--pf-accent-text)}.previous-performance-heading strong,.workout-summary-item>svg{color:var(--pf-accent-text)}.rest-summary.rest-countdown>svg,.rest-summary.rest-countdown strong{color:var(--pf-warning)}.rest-summary.rest-over>svg,.rest-summary.rest-over span,.rest-summary.rest-over strong{color:var(--pf-danger)}.mobile-previous-set{background:var(--pf-surface-raised);border-color:var(--pf-border);color:var(--muted)}.workout-set-group.has-previous-performance,.workout-set-group.has-previous-performance .mobile-previous-set{border-color:var(--pf-border)}.number-stepper-button,.rep-link-button.active,.set-type-selector button,.rpe-slider-selection output{background:var(--pf-surface-muted);border-color:var(--pf-border);color:var(--pf-muted-strong)}.rep-link-button.active,.set-type-selector button.active,.rpe-slider-selection output{background:var(--pf-accent-soft);border-color:var(--pf-border-strong);color:var(--pf-accent-text)}.set-type-selector>div,.set-type-selector button{border-color:var(--pf-border)}.rpe-range,input[type=range]{accent-color:var(--pf-accent)}.rpe-range::-webkit-slider-runnable-track,.rpe-range::-moz-range-track{background:var(--pf-slider-track)}.rpe-range::-webkit-slider-thumb,.rpe-range::-moz-range-thumb{border-color:var(--pf-surface)}.settings-popover,.context-menu-popover,.localized-date-picker-popover,.strava-type-options{border-radius:14px;padding:9px}.modal-backdrop{background:var(--pf-backdrop);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal-panel{border-radius:22px}.modal-tone-icon{background:var(--pf-danger-soft);border-color:var(--pf-danger-border-soft);color:var(--pf-danger)}.modal-error-content svg,.modal-panel.error-modal .modal-heading h2{color:var(--pf-danger)}.table-wrap,.history-table-wrap{border-color:var(--pf-border);border-radius:14px}table,.history-table{background:transparent;color:var(--text)}th{background:var(--pf-surface-raised);color:var(--pf-table-heading)}td,th,.history-set-row,.exercise-history-set-row,.set-row,.template-set-editor,.workout-set-row{border-color:var(--pf-border)}.strava-connection-card{background:var(--pf-strava-surface);border-color:var(--pf-strava-border)}.profile-settings-form .strava-connection-card{background:transparent;border:0}.profile-settings-form .integration-status.connected{background:var(--pf-accent-soft);color:var(--pf-accent-text)}.profile-settings-form .user-settings-unit-control{background:var(--pf-surface-muted)}.workout-settings-modal .user-settings-section{background:transparent;border:0}.workout-settings-modal .user-settings-checkbox{background:var(--pf-surface-muted)}.workout-settings-form .settings-switch>span{background:var(--pf-switch-track)}.workout-settings-form .settings-switch>input:checked+span{background:var(--pf-accent)}.workout-settings-form .settings-switch>span:after{background:var(--pf-switch-thumb)}.workout-settings-form .previous-performance-setting select{appearance:none;background:var(--pf-select-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;background-size:16px;border-color:var(--pf-border);color:var(--text);color-scheme:dark;font-size:12px;font-weight:700;padding-right:38px}.workout-settings-form .previous-performance-setting select:hover{background-color:var(--pf-select-hover);border-color:var(--pf-border-strong)}.workout-settings-form .previous-performance-setting select:focus{background-color:var(--pf-select-hover);border-color:var(--pf-accent);box-shadow:0 0 0 3px var(--pf-focus-shadow)}.workout-settings-form .previous-performance-setting select option{background:var(--pf-select-bg);color:var(--text)}:root[data-theme=dark] .workout-settings-form .previous-performance-setting select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b585ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.strava-connection-card .strava-error,.strava-sync-status.failed{color:var(--pf-danger)}.strava-connection-card .strava-retry,.strava-type-options>button:hover,.strava-type-options>button.selected{background:var(--pf-strava-hover);color:var(--pf-strava-text)}.strava-disconnect-confirmation{align-items:center;background:var(--pf-danger-soft);border:0;border-radius:12px;color:var(--pf-disconnect-copy);display:grid;gap:10px;grid-column:1 / -1;padding:12px}.strava-disconnect-confirmation>span{color:inherit;font-size:13px}.strava-disconnect-confirmation>div{display:flex;flex-wrap:wrap;gap:8px}.strava-disconnect-confirmation button{min-height:38px}.strava-disconnect-confirmation button.danger,.strava-disconnect-confirmation button.danger:hover:not(:disabled){background:var(--pf-confirm-button);border-color:var(--pf-confirm-border)}.profile-settings-form .strava-connection-card .strava-retry{background:transparent}.strava-connection-card button.strava-connect-button,.strava-connection-card button.strava-connect-button:hover:not(:disabled){background:transparent;border:0;box-shadow:none;min-height:48px;padding:0;transform:none;width:auto}.strava-connect-button>img{display:block;height:48px;max-width:100%;width:237px}.confirm-modal .confirm-stack p{background:var(--pf-danger-soft);border-color:var(--pf-danger);color:var(--pf-confirm-copy)}.modal-panel.confirm-modal,.confirm-modal .modal-heading,.confirm-modal .modal-actions{border-color:var(--pf-danger-border-soft)}.confirm-modal .modal-actions .danger{background:var(--pf-confirm-button);border-color:var(--pf-confirm-border)}@media(max-width:760px){.app-shell{padding:12px 12px 32px}.tab-nav{border-radius:16px;gap:1px;overflow:visible;padding:6px;top:6px}.brand-mark{margin-right:2px;padding-right:10px}.brand-name{display:none}.brand-logo{height:36px;width:36px}.tab-button{font-size:12px;padding-inline:11px}.main-layout{margin-top:26px}.auth-panel{border-radius:20px;padding:24px 20px}.auth-brand img{height:54px;width:54px}.google-login-button{margin-inline:auto;max-width:100%}.google-login-button>img{height:auto;max-width:100%;width:198px}.workout-set-group.has-previous-performance,.workout-set-group.current-set-group{background:var(--pf-surface-raised);border:1px solid var(--pf-border);border-radius:10px;margin:4px 0;overflow:hidden}.workout-set-group.has-previous-performance .mobile-previous-set{background:var(--pf-surface-muted);border:0;border-bottom:0;border-radius:0;color:var(--muted)}.mobile-previous-set-values,.mobile-previous-set-values span{background:var(--pf-surface-raised);border-color:var(--pf-border);color:var(--pf-muted-strong)}.workout-set-group.has-previous-performance .workout-set-row{border-top:1px solid var(--pf-border);border-radius:0}.workout-set-group.has-previous-performance .workout-set-row:not(.current-set){border-radius:0}.workout-set-group.current-set-group .workout-set-row.current-set{background:transparent;border:0;border-radius:0;box-shadow:none}.workout-set-group.current-set-group.has-previous-performance .workout-set-row.current-set{border-top:1px solid var(--pf-border)}.workout-set-group.current-set-group{background:var(--pf-accent-soft);border-color:var(--pf-accent)}.workout-set-group.current-set-group.resting-set{border-color:var(--pf-warning)}.workout-set-group.current-set-group.rest-over{background:var(--pf-danger-soft);border-color:var(--pf-danger)}.active-workout .workout-exercise.rest-over-exercise{border-color:var(--pf-border);border-top-color:var(--pf-border);box-shadow:var(--pf-shadow-card)}}@media(min-width:361px)and (max-width:600px){.profile-settings-form .user-settings-section{gap:14px}.profile-settings-form .user-settings-section+.user-settings-section{margin-top:18px;padding-top:18px}.profile-settings-form .user-settings-row{align-items:center;flex-direction:row;gap:12px;padding-top:14px}.profile-settings-form .user-settings-unit-control{flex:0 0 164px;width:auto}.profile-settings-form .user-settings-actions{margin-top:18px;padding-top:14px}}@media(prefers-reduced-motion:reduce){button{transition:none}}.legal-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-height:100vh}.legal-shell h1,.legal-shell h2,.legal-shell h3,.legal-shell p,.legal-shell a,.legal-shell li,.legal-shell dt,.legal-shell dd,.legal-shell span,.legal-shell small{font-family:inherit}.legal-header,.legal-footer{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 auto;max-width:1120px;padding:20px 0}.legal-header{border-bottom:1px solid var(--border)}.legal-brand{align-items:center;color:var(--text);display:inline-flex;font-size:13px;font-weight:850;gap:10px;letter-spacing:-.02em;text-decoration:none;text-transform:uppercase}.legal-brand img{filter:drop-shadow(0 0 12px var(--pf-logo-glow));height:42px;width:42px}.legal-header nav,.legal-footer div{align-items:center;display:flex;flex-wrap:wrap;gap:18px}.legal-header nav a,.legal-footer a{color:var(--muted);font-size:13px;font-weight:700;text-decoration:none}.legal-header nav a{border-bottom:1px solid transparent;padding-bottom:4px}.legal-header nav a.is-current{border-color:var(--button);color:var(--text)}.legal-header nav a:hover,.legal-footer a:hover,.legal-content a:hover{color:var(--button)}.legal-main{margin:0 auto;max-width:1120px;padding:68px 0 80px}.legal-intro{border-bottom:1px solid var(--border);display:grid;gap:16px;max-width:900px;padding-bottom:40px}.legal-intro>span{color:var(--button);font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.legal-intro h1{font-size:clamp(38px,7vw,64px);max-width:760px}.legal-intro p{color:var(--muted);font-size:18px;margin:0;max-width:720px}.legal-intro small{color:var(--muted)}.legal-content{display:grid;gap:0;max-width:900px;width:100%}.legal-content section{border-bottom:1px solid var(--border);padding:32px 0}.legal-content h2{font-size:20px;margin:0 0 14px}.legal-content p,.legal-content li,.legal-content dd{color:var(--muted);line-height:1.72;overflow-wrap:anywhere}.legal-content p:last-child{margin-bottom:0}.legal-content a{color:var(--button);font-weight:700}.legal-content ul{display:grid;gap:10px;margin:0;padding-left:22px}.legal-processing-list{border-top:1px solid var(--border);display:grid}.legal-processing-item{border-bottom:1px solid var(--border);padding:22px 0}.legal-processing-item h3{font-size:16px;line-height:1.45;margin:0 0 16px}.legal-processing-item dl{display:grid;gap:10px;margin:0}.legal-processing-item dl>div{display:grid;gap:18px;grid-template-columns:112px minmax(0,1fr)}.legal-processing-item dt{color:var(--text);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.legal-processing-item dd{margin:0}.legal-callout{background:var(--accent-surface);border:1px solid var(--accent-border)!important;border-radius:var(--radius-card);margin:28px 0 0;padding:28px!important}.legal-details{display:grid;gap:0;margin:0}.legal-details>div{border-bottom:1px solid var(--border);display:grid;gap:16px;grid-template-columns:180px 1fr;padding:14px 0}.legal-details dt{font-weight:800}.legal-details dd{margin:0}.legal-footer{border-top:1px solid var(--border);color:var(--muted);font-size:13px}@media(max-width:700px){.legal-header,.legal-footer{align-items:flex-start;flex-direction:column;gap:14px;padding:18px 20px}.legal-header nav{gap:12px 16px}.legal-main{padding:48px 20px 64px}.legal-intro{gap:14px;padding-bottom:32px}.legal-intro p{font-size:16px}.legal-content section{padding:26px 0}.legal-details>div{gap:4px;grid-template-columns:1fr}.legal-processing-item{padding:20px 0}.legal-processing-item dl>div{gap:4px;grid-template-columns:1fr}}
