@charset "UTF-8";
@font-face{font-family:InterVariable;src:url('/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root {
  color-scheme:light; --paper:#f6f7f8; --surface:#fff; --soft:#f1f4ee;
  --ink:#20261f; --muted:#71796b; --line:#e4e8df; --accent:#d1f36a;
  --accent-ink:#273713; --accent-soft:#f0f7df; --danger:#ad514a; --radius:18px;
  font-family:InterVariable,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-optical-sizing:auto;font-feature-settings:'calt' 1;
  font-synthesis:none; text-rendering:optimizeLegibility; -webkit-font-smoothing:antialiased;
}
:root[data-theme="dark"] {
  color-scheme:dark; --paper:#141815; --surface:#1c221d; --soft:#262d26;
  --ink:#eef2e8; --muted:#a8b0a1; --line:#343d33; --accent:#c8ef69;
  --accent-ink:#24320f; --accent-soft:#2c3920; --danger:#f1a19a;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.55}
body:has(.modal[open]){overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.4}
a{color:inherit;text-decoration:none}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
svg{vertical-align:middle;flex-shrink:0}
.icon .muscle{fill:currentColor;stroke:none}
h1,h2,h3,p{margin:0}
h1{font-size:30px;line-height:1.25;letter-spacing:-.8px}
h2{font-size:16px;line-height:1.4;font-weight:650}
h3{font-size:15px}
:focus-visible{outline:3px solid #91b849;outline-offset:3px}
::selection{background:var(--accent);color:var(--accent-ink)}
.muted{color:var(--muted)}
.app-shell{min-height:100dvh}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:218px;background:var(--surface);border-right:1px solid var(--line);padding:34px 20px 24px;display:flex;flex-direction:column}
.brand{font-size:40px;line-height:1;font-weight:900;letter-spacing:-2px;margin-left:14px}
.brand-dot,.mobile-brand>span{color:#9fca42}
.brand-tag{color:var(--muted);font-size:10px;letter-spacing:1.5px;margin:14px 0 50px 15px}
.sidebar nav{display:grid;gap:7px}
.nav-item{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:11px;min-height:48px;text-align:left;color:var(--muted);font-size:13px}
.nav-item:hover{background:var(--soft);color:var(--ink)}
.nav-item.active{background:var(--accent);color:var(--accent-ink);font-weight:650}
.sidebar-bottom{margin-top:auto}
.profile{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:15px 5px 0}
.profile strong{display:block;font-size:12px;font-weight:600}
.profile small{color:var(--muted);font-size:10px}
.profile>svg{margin-left:auto;width:16px}
.avatar{display:grid;place-items:center;background:var(--soft);width:34px;height:34px;border-radius:50%;font-size:12px;font-weight:650;flex-shrink:0}
.workspace{margin-left:218px}
.topbar{height:78px;padding:0 34px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}
.breadcrumb{display:flex;gap:13px;font-size:12px;color:var(--muted)}
.breadcrumb strong{font-weight:500;color:var(--ink)}
.topbar-right{display:flex;align-items:center;gap:22px}
.date-label{font-size:12px;color:var(--muted)}
.date-label svg{width:17px;margin-right:5px}
.mobile-brand{display:none}
.icon-button{display:inline-grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.icon-button:hover{background:var(--soft)}
.icon-button svg{width:18px;height:18px}
.page-content{max-width:1330px;margin:auto;padding:32px 34px 50px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.page-heading p{margin-top:7px;font-size:13px;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;min-height:44px;border-radius:10px;font-size:13px;font-weight:600;line-height:1.35;transition:background .15s,border-color .15s}
.button.primary{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent)}
.button.primary:hover{background:#bfe654;border-color:#bfe654}
.button.secondary{border:1px solid var(--line);background:var(--surface)}
.button.secondary:hover{background:var(--soft)}
.button.small{min-height:38px;padding:8px 12px;font-size:12px}
.button.small svg{width:16px;height:16px}
.text-button{padding:8px 4px;color:var(--muted);font-size:12px}
.text-button:hover{color:var(--ink)}
.danger-text{color:var(--danger)!important}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 24px 0}
.panel-head p{font-size:12px;margin-top:5px}
.panel-head>svg{color:var(--muted);width:18px}
.section-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.section-link:hover{color:var(--ink)}
.section-link svg{width:16px}
.notice{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:13px 16px;margin-bottom:20px;background:var(--accent-soft);border:1px solid var(--line);border-radius:10px;font-size:12px;color:var(--muted)}
.notice.error{color:var(--danger)}
.mini-tag{font-size:11px;color:var(--muted);border-radius:6px;padding:4px 7px;background:var(--soft)}
.home-top{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;margin-bottom:22px}
.home-add{position:relative;min-height:222px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px;background:var(--accent-soft)}
.home-add h1{font-size:30px;font-weight:650;line-height:1.25;letter-spacing:-.7px}
.large-plus{width:108px;height:108px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);border-radius:24px;flex-shrink:0;transition:transform .2s}
.large-plus:hover{transform:scale(1.035)}
.large-plus svg{width:55px;height:55px;stroke-width:1.4}
.home-add:has(.resume-button){padding-bottom:76px}
.resume-button{position:absolute;bottom:20px;left:32px;max-width:calc(100% - 64px);font-size:12px}
.week-card{padding:0 0 23px;display:flex;flex-direction:column}
.week-days{display:flex;justify-content:space-between;gap:7px;padding:25px 23px 23px}
.day-item{text-align:center;font-size:11px;color:var(--muted)}
.day-item>span{display:block;margin-bottom:10px}
.day-circle{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:var(--soft);font-size:12px}
.day-circle.complete{background:var(--accent);color:var(--accent-ink)}
.day-circle.today{outline:1px solid var(--muted);outline-offset:2px}
.day-circle svg{width:15px;height:15px}
.week-foot{padding:0 24px;margin-top:auto;font-size:12px;color:var(--muted)}
.week-foot strong{font-size:18px;color:var(--ink);margin-right:5px}
.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.stat-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:20px 23px}
.stat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}
.stat-label svg{width:17px;height:17px}
.stat-value{display:flex;align-items:baseline;gap:7px;margin-top:10px;font-size:29px;font-weight:700;letter-spacing:-.7px}
.stat-value span{font-size:13px;font-weight:500;color:var(--muted)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;margin-bottom:24px}
.segmented{display:flex;padding:3px;gap:2px;background:var(--soft);border-radius:8px}
.segmented button{padding:6px 9px;font-size:11px;border-radius:5px;color:var(--muted);white-space:nowrap}
.segmented button.selected{background:var(--surface);color:var(--ink)}
.chart-toolbar{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:20px 24px 0}
.chart-toolbar select{width:min(280px,85%);min-height:40px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:8px 10px;font-size:12px}
.chart-legend{font-size:11px;color:var(--muted)}
.chart-container{padding:20px 22px 0}
.chart-container svg{display:block;width:100%;min-height:180px;max-height:340px}
.chart-grid{stroke:var(--line);stroke-dasharray:4 5}
.chart-label{fill:var(--muted);font-size:12px}
.chart-area{fill:#bce467;opacity:.11}
.chart-line{stroke:#92b842;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.chart-point{fill:var(--surface);stroke:#92b842;stroke-width:2.5}
.chart-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;border-top:1px solid var(--line);margin-top:14px;font-size:11px;color:var(--muted)}
.chart-footer strong{font-weight:600;color:var(--ink)}
.template-list{padding:12px 16px}
.template-row{display:flex;align-items:center;gap:13px;padding:14px 8px;width:100%;text-align:left;border-radius:9px}
.template-row:hover{background:var(--soft)}
.template-row+.template-row{border-top:1px solid var(--line)}
.template-row>svg{margin-left:auto;width:16px;color:var(--muted)}
.template-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;flex-shrink:0;background:var(--accent-soft);color:var(--muted)}
.template-info strong{display:block;font-size:13px;font-weight:600}
.template-info small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.template-all{margin:0 24px 22px}
.history-list{padding:6px 24px 10px}
.history-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px 0}
.history-row+.history-row{border-top:1px solid var(--line)}
.workout-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--soft);color:var(--muted)}
.workout-info>button{display:block;text-align:left;padding:0;font-size:13px;font-weight:600}
.workout-info>span,.workout-info>small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.templates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.template-card{display:flex;flex-direction:column;padding:24px}
.template-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.template-card h2{font-size:19px}
.template-card>p{font-size:12px;margin-top:6px}
.template-exercises{display:grid;gap:13px;margin:24px 0;font-size:12px}
.template-exercises>div{display:flex;justify-content:space-between;gap:12px}
.template-exercises small{flex-shrink:0;color:var(--muted)}
.template-card>.button{width:100%;margin-top:auto}
.category-library{max-width:760px;padding:18px 20px 12px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.category-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px 10px;color:var(--muted);font-size:12px}
.category-list-heading>span:first-child{font-size:10px;font-weight:650;letter-spacing:1.5px;text-transform:uppercase}
.category-list{display:grid;gap:2px}
.category-row{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:8px 12px;border-radius:12px;text-align:left;transition:background .15s}
.category-row:hover{background:var(--soft)}
.category-row.selected{background:var(--accent-soft)}
.category-symbol{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;color:var(--ink)}
.category-symbol svg{width:34px;height:34px;stroke-width:1.3}
.category-symbol .muscle,.category-symbol .muscle-line{color:#779b37}
:root[data-theme="dark"] .category-symbol .muscle,:root[data-theme="dark"] .category-symbol .muscle-line{color:var(--accent)}
.category-row strong{min-width:0;flex:1;font-size:16px;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}
.category-row small{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.category-chevron{width:16px;height:16px;color:var(--muted);margin-left:3px}
.category-picked{display:flex;align-items:center;gap:3px;font-size:12px;color:#63852e;background:var(--accent-soft);border-radius:7px;padding:3px 6px}
.category-picked svg{width:12px;height:12px}
:root[data-theme="dark"] .category-picked{color:var(--accent)}
.back-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);padding:0;margin:0 0 18px}
.back-link:hover{color:var(--ink)}
.back-link svg{width:16px}
.search-wrap{position:relative;display:block;margin-bottom:20px}
.search-wrap>svg{position:absolute;left:14px;top:14px;width:17px;color:var(--muted)}
.search-input{width:100%;min-height:45px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:11px 14px 11px 42px;font-size:14px}
.search-input::placeholder{color:var(--muted)}
.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.exercise-library-card{display:flex;align-items:center;text-align:left;gap:14px;padding:22px}
.exercise-library-card:hover{border-color:#a5c66c}
.exercise-library-card h3{font-size:14px}
.exercise-library-card .muted{font-size:11px}
.exercise-library-card p{font-size:11px;color:var(--muted);margin-top:9px}
.exercise-library-card>svg{margin-left:auto;width:16px;color:var(--muted)}
.empty-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center;gap:12px}
.empty-state>svg{width:32px;height:32px;color:var(--muted)}
.empty-state h3{font-size:17px;font-weight:600}
.empty-state p{color:var(--muted);font-size:13px}
.workout-status{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:10px}
.live-dot{display:inline-block;width:6px;height:6px;background:#9fc657;border-radius:50%}
.title-edit{padding:0;display:inline;text-align:left;font:inherit;line-height:inherit}
.title-edit svg{width:20px;height:20px;margin:0 0 4px 8px;color:var(--muted)}
.title-edit:hover{color:#87a944}
.program-origin{display:block;margin-top:10px;color:var(--muted);font-size:12px}
.workout-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}
.add-exercise-button{width:100%;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:22px;border-radius:13px;background:var(--accent);color:var(--accent-ink);font-size:15px;font-weight:650}
.add-exercise-button:hover{background:#bfe654}
.add-exercise-button svg{width:25px;height:25px}
.workout-empty{min-height:250px;padding:38px 22px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}
.workout-empty p{font-size:13px;color:var(--muted)}
.workout-empty>.template-icon{width:50px;height:50px}
.exercise-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:24px;margin-bottom:20px}
.exercise-heading{display:flex;align-items:center;gap:12px}
.exercise-heading>div{min-width:0}
.exercise-heading h2{font-size:15px;overflow-wrap:anywhere}
.exercise-heading .muted{font-size:11px}
.exercise-heading>.icon-button{margin-left:auto}
.exercise-number{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;background:var(--soft);border-radius:10px;font-size:12px;font-weight:600;color:var(--muted)}
.exercise-hint{font-size:11px;color:var(--muted);margin:12px 0 18px}
.previous-session{display:grid;gap:5px;margin-bottom:18px;padding:10px 12px;border-radius:8px;background:var(--soft);font-size:11px;color:var(--muted)}
.previous-session strong{font-weight:500;line-height:1.6}
.set-table{display:grid;gap:9px}
.set-row{display:grid;grid-template-columns:26px minmax(70px,1fr) 82px 82px 42px 24px;gap:9px;align-items:center;min-height:44px}
.set-head{font-size:11px;color:var(--muted);min-height:25px;text-align:center;line-height:1.3}
.set-head>:nth-child(2){text-align:left}
.set-number{text-align:center;font-size:12px;color:var(--muted)}
.previous{padding:0;text-align:left;font-size:11px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
button.previous{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
button.previous:hover{color:var(--ink)}
.set-input{min-width:0;width:100%;height:44px;border:1px solid var(--line);border-radius:8px;background:var(--soft);text-align:center;font-size:16px;font-weight:600;padding:6px 3px}
.set-input::placeholder{color:var(--muted);font-weight:400}
.set-input:focus{border-color:#97b957;background:var(--surface)}
.done-button{width:42px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--muted)}
.done-button:hover{border-color:#97b957}
.is-done .done-button{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.is-done .set-input{border-color:var(--line);background:var(--accent-soft);color:var(--muted)}
.remove-set{width:24px;min-height:44px;padding:0;color:var(--muted)}
.remove-set svg{width:14px}
.remove-set:hover{color:var(--danger)}
.add-set{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;margin-top:16px;border-radius:8px;background:var(--soft);border:1px solid var(--line);color:var(--muted);font-size:12px}
.add-set:hover{color:var(--ink)}
.add-set svg{width:16px}
.workout-aside{position:sticky;top:20px;display:grid;gap:18px}
.session-clock{padding-bottom:22px;text-align:center}
.session-clock .panel-head{text-align:left}
.workout-time{font-size:31px;line-height:1.2;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin:16px 0 10px}
.session-clock>.muted{font-size:11px;line-height:1.7;padding:0 14px}
.session-clock>.button{margin-top:13px;min-height:38px}
.session-summary{padding:23px}
.session-summary h2{margin-bottom:10px}
.summary-line{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:10px 0}
.summary-line+.summary-line{border-top:1px solid var(--line)}
.summary-line strong{font-weight:600;color:var(--ink)}
.week-progress{height:4px;margin-top:10px;background:var(--soft);border-radius:4px;overflow:hidden}
.week-progress>span{display:block;height:100%;background:#a6cd57;border-radius:4px}
.finish-button{width:100%;margin-top:18px;font-size:12px}
.timer-card{padding:23px}
.timer-card .panel-head{padding:0}
.timer-display{text-align:center;font-size:44px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin:21px 0;font-variant-numeric:tabular-nums}
.timer-options{display:flex;justify-content:center;gap:7px}
.timer-options>button{padding:7px 12px;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--muted)}
.timer-options>button.selected{background:var(--accent-soft);color:var(--ink);border-color:#91ad59}
.timer-custom{display:flex;align-items:center;gap:7px;margin:15px 0;font-size:10px;color:var(--muted)}
.timer-custom input{width:60px;border:1px solid var(--line);background:var(--soft);border-radius:6px;min-height:30px;padding:4px;text-align:center;color:var(--ink)}
.timer-custom button{margin-left:auto;padding:4px;color:var(--muted)}
.timer-custom svg{width:16px}
.timer-buttons{display:flex;align-items:center;gap:9px}
.timer-buttons>.button{flex:1}
.workout-menu-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.autosave-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}
.autosave-note svg{width:14px}
.comment-preview{display:flex;gap:10px;align-items:flex-start;padding:16px;text-align:left;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-preview svg{width:17px;color:var(--muted)}
.modal{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 90px #0003;overflow:hidden}
.modal[open]{display:flex;flex-direction:column}
.modal::backdrop{background:#10170e77;backdrop-filter:blur(3px)}
.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;border-bottom:1px solid var(--line);flex-shrink:0}
.modal-header h2{font-size:20px;letter-spacing:-.4px;overflow-wrap:anywhere}
.modal-close{width:32px;height:32px}
.modal-body{padding:24px 25px;overflow:auto}
.modal-footer{padding:17px 25px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;flex-shrink:0}
.modal-footer[hidden],.selection-tray[hidden]{display:none}
.confirm-message{font-size:14px;line-height:1.8;color:var(--muted)}
.choice-list{display:grid;gap:8px}
.choice-button{width:100%;justify-content:flex-start;min-height:65px;text-align:left;background:var(--soft);padding:17px;font-size:14px}
.choice-button:hover{background:var(--accent-soft)}
.choice-button>svg:last-child:not(:first-child){margin-left:auto}
.choice-button small{display:block;font-size:11px;margin-top:3px;color:var(--muted)}
.choice-list:has(.choice-button) + p{margin-top:12px}
.picker-modal{width:min(540px,calc(100vw - 32px))}
.exercise-picker-modal .modal-header{padding-bottom:10px;border-bottom:0}
.exercise-picker-modal .modal-close{width:40px;height:40px;border:0;border-radius:50%;background:var(--soft);color:var(--muted)}
.exercise-picker-modal .modal-body{padding-top:0}
.picker-intro{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.6}
.exercise-picker-modal .search-wrap{margin-bottom:18px}
.exercise-picker-modal .search-input{height:48px;font-size:16px;border-radius:13px;background:var(--soft);border-color:transparent}
.exercise-picker-modal .search-input:focus{outline:2px solid #91ad5b;outline-offset:1px}
.exercise-picker-modal .category-list-heading{padding-inline:6px}
.exercise-picker-modal .category-row{min-height:60px;padding:7px 6px}
.picker-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px;font-size:14px}
.picker-navigation .back-link{margin-bottom:0}
.picker-current-category{display:flex;align-items:center;gap:7px}
.picker-current-category svg{width:25px;height:25px}
.exercise-picker{display:grid;gap:6px}
.picker-row{width:100%;min-height:68px;display:flex;align-items:center;gap:12px;padding:12px 10px;border:1px solid transparent;border-radius:11px;text-align:left}
.picker-row:hover{background:var(--soft)}
.picker-row.selected{border-color:#9fbe6e;background:var(--accent-soft)}
.picker-row-info{min-width:0;flex:1}
.picker-row strong{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.picker-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.picker-check{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:7px;border:1px solid var(--line);color:var(--muted);margin-left:auto}
.picker-check svg{width:15px;height:15px}
.picker-row.selected .picker-check{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.create-in-picker{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;border-top:1px solid var(--line);color:var(--muted);margin-top:16px;padding:14px 6px 4px;font-size:13px;text-align:left}
.create-in-picker:hover{color:var(--ink)}
.create-in-picker svg{width:18px;height:18px}
.picker-empty{display:flex;align-items:center;flex-direction:column;gap:12px;padding:36px 16px;text-align:center}
.picker-empty strong{font-size:15px;font-weight:600}
.picker-empty p{max-width:290px;font-size:13px;color:var(--muted);line-height:1.7}
.selection-tray{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.selection-tray>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.selection-chip{display:flex;align-items:center;gap:6px;max-width:100%;padding:6px 9px;background:var(--soft);border-radius:7px;color:var(--ink);font-size:11px}
.selection-chip svg{width:13px;height:13px}
.picker-modal .modal-footer>.button{width:100%}
.exercise-picker-modal .modal-footer>.button{min-height:50px;font-size:15px;border-radius:13px}
.exercise-picker-modal .modal-footer>.button svg{margin-left:auto}
.exercise-picker-modal .modal-footer>.button{justify-content:space-between}
.step-label{font-size:12px;color:var(--muted);margin-bottom:19px}
.chosen-category{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:22px;font-size:13px}
.chosen-category svg{width:18px;margin-right:5px}
.chosen-category>button{color:var(--muted);font-size:12px;text-decoration:underline}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;font-size:12px;color:var(--muted)}
.field input,.field select,.note-area{width:100%;min-height:44px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--ink);font-size:16px}
.field input::placeholder,.note-area::placeholder{color:var(--muted)}
.note-area{min-height:150px;resize:vertical}
.weight-modes{border:0;padding:0;margin:0 0 23px;display:grid;gap:9px;min-width:0}
.weight-modes legend{font-size:12px;color:var(--muted);margin-bottom:12px}
.mode-option{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.mode-option:has(input:checked){background:var(--accent-soft);border-color:#97b85d}
.mode-option input{margin-top:4px;accent-color:#83a342}
.mode-option strong{display:block;font-size:13px;font-weight:600}
.mode-option small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}
.modal-body form>.button{width:100%;margin-top:15px}
.modal-body form.timer-custom>.button{width:auto}
.settings-section+.settings-section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}
.settings-section h3{font-size:14px;margin-bottom:13px}
.settings-section p{font-size:12px;margin-bottom:16px;line-height:1.7}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.theme-options>button{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 8px;border:1px solid var(--line);border-radius:9px;font-size:12px}
.theme-options>button.selected{background:var(--accent-soft);border-color:#97b85d}
.theme-options svg{width:17px;height:17px}
.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}
.setting-toggle small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.setting-toggle input{width:21px;height:21px;accent-color:#91b24e}
.settings-section>.text-button{margin-top:8px;display:block}
.details-totals{margin-top:10px;font-size:13px}
.details-list{display:grid;gap:16px;margin-top:22px}
.detail-exercise{border:1px solid var(--line);border-radius:12px;padding:16px}
.detail-exercise h3{font-size:14px}
.detail-exercise p{font-size:11px;margin:6px 0 13px}
.detail-exercise>div{display:flex;align-items:center;gap:12px;padding:6px 0;font-size:13px}
.detail-exercise>div>span{color:var(--muted)}
.detail-exercise strong{margin-left:auto;font-weight:500}
.detail-exercise svg{width:16px;color:#94b457}
.detail-comment{margin-top:22px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}
.share-modal{width:min(540px,calc(100vw - 32px))}
.share-preview{display:block;width:100%;max-height:480px;object-fit:contain;background:#f5f7f1;margin:17px 0;border-radius:9px}
.share-privacy{font-size:11px;color:var(--muted)}
.toast{position:fixed;right:24px;bottom:24px;max-width:min(440px,calc(100vw - 32px));z-index:100;background:#283522;color:#f5f8ed;padding:14px 19px;box-shadow:0 6px 24px #0002;border:1px solid #516644;border-radius:12px;font-size:13px;line-height:1.6;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .15s,transform .15s}
.toast.visible{opacity:1;transform:translateY(0)}
@media(max-width:1180px){
  .sidebar{width:190px;padding-inline:15px}.workspace{margin-left:190px}
  .topbar{padding-inline:24px}.page-content{padding:27px 24px 45px}
  .home-top,.dashboard-grid{grid-template-columns:minmax(0,1fr) 290px;gap:18px}
  .home-add{padding:25px}.home-add h1{font-size:26px}.large-plus{width:85px;height:85px;border-radius:20px}
  .resume-button{left:25px;font-size:11px}.workout-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}
  .exercise-card{padding:18px}.set-row{grid-template-columns:22px minmax(50px,1fr) 62px 62px 38px 20px;gap:6px}
  .done-button{width:38px}.remove-set{width:20px}.chart-panel .panel-head{flex-wrap:wrap}
  .templates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:950px) and (min-width:761px){
  .home-top,.dashboard-grid{grid-template-columns:1fr}.week-card{min-height:190px}.week-days{justify-content:center;gap:20px}
  .workout-layout{grid-template-columns:1fr}.workout-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .library-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .sidebar{inset:auto 0 0;width:100%;height:calc(73px + env(safe-area-inset-bottom));padding:5px 5px calc(5px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:var(--surface)}
  .sidebar .brand,.brand-tag,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
  .nav-item{min-height:60px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 2px;font-size:10px;border-radius:9px}.nav-item svg{width:20px;height:20px}
  .workspace{margin-left:0;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .topbar{height:63px;padding:0 18px}.breadcrumb,.date-label{display:none}.mobile-brand{display:block;font-size:29px;line-height:1;font-weight:900;letter-spacing:-1px}
  .topbar .icon-button{width:36px;height:36px}.page-content{padding:24px 18px 36px}
  h1{font-size:27px}.page-heading{margin-bottom:22px;gap:15px}.page-heading p{font-size:12px}
  .home-top,.dashboard-grid{grid-template-columns:1fr;gap:18px}.home-add{min-height:193px;padding:26px}.home-add h1{font-size:26px}.large-plus{width:86px;height:86px}.large-plus svg{width:44px;height:44px}
  .week-card{min-height:170px}.week-days{padding-top:19px;padding-bottom:16px}.week-foot{font-size:11px}.day-circle{width:35px;height:35px}.week-card .panel-head{padding-top:19px}
  .stats-row{gap:10px}.stat-card{padding:16px 12px}.stat-label{font-size:11px;min-height:32px;align-items:flex-start}.stat-label svg{display:none}.stat-value{font-size:24px;gap:4px}.stat-value span{font-size:11px}
  .panel-head{padding:20px 20px 0}.panel-head h2{font-size:15px}.section-link{font-size:11px}.segmented button{font-size:11px}
  .chart-toolbar{margin:18px 20px 0}.chart-container{padding:18px 12px 0}.chart-footer{padding-inline:20px;flex-wrap:wrap;font-size:11px}
  .history-list{padding-inline:20px}.history-row{gap:12px;grid-template-columns:36px minmax(0,1fr) auto}.workout-icon{width:35px;height:35px}.history-row>.button{font-size:11px;padding:8px}.history-row>.button svg{width:14px}
  .templates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-card{padding:21px}.template-card>.button{font-size:12px}
  .category-library{padding:12px 8px}.category-row{gap:12px}
  .library-grid{grid-template-columns:1fr}.exercise-library-card{padding:20px}.exercise-library-card .muted{font-size:11px}
  .workout-layout{grid-template-columns:1fr;gap:20px}.workout-aside{position:static;gap:16px}.workout-header{margin-bottom:23px}.workout-header h1{font-size:24px;line-height:1.35}.title-edit svg{width:18px;height:18px;margin-left:5px}
  .add-exercise-button{min-height:56px;margin-bottom:18px;font-size:15px}.exercise-card{padding:18px 14px;margin-bottom:16px}.exercise-heading h2{font-size:14px}.exercise-heading .icon-button{width:34px;height:34px}.exercise-heading{gap:10px}
  .exercise-number{width:31px;height:31px;font-size:11px}.exercise-hint{font-size:11px;line-height:1.7;margin-bottom:15px}.previous-session{font-size:11px;line-height:1.6}
  .set-row{grid-template-columns:20px minmax(53px,1fr) 60px 60px 38px 20px;gap:5px}.done-button{width:38px}.remove-set{width:20px}.set-head{font-size:11px}.previous{font-size:10px;line-height:1.5}.set-input{font-size:16px}
  .session-summary,.timer-card{padding:22px}.session-clock .panel-head{padding:22px 22px 0}.session-clock>.muted{font-size:12px}.session-clock>.button{width:calc(100% - 44px);min-height:44px}
  .timer-custom{font-size:12px}.timer-custom input{min-height:36px;width:75px}.timer-options>button{min-height:40px}.timer-custom button{min-height:36px}
  .modal{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:17px}.modal-header{padding:19px 20px}.modal-header h2{font-size:19px}.modal-body{padding:20px}.modal-footer{padding:16px 20px 20px}
  .picker-modal{width:100%;max-width:none;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0}
  .picker-modal::before{content:"";position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:4px;background:var(--line);border-radius:4px}
  .picker-modal .modal-header{padding:23px 20px 12px}.picker-modal .modal-body{padding-inline:20px}.exercise-picker-modal .modal-body{padding-top:0;padding-bottom:12px}
  .picker-modal .modal-footer{padding:14px 20px max(20px,env(safe-area-inset-bottom))}.picker-row{padding:12px 7px}.picker-row .template-icon{width:38px;height:38px}
  .theme-options{gap:6px}.theme-options>button{flex-direction:column;gap:7px;font-size:12px}.share-preview{max-height:400px}
  .toast{bottom:calc(87px + env(safe-area-inset-bottom));right:16px;max-width:calc(100vw - 32px)}
}
@media(max-width:440px){
  .page-content{padding-inline:16px}.home-add{padding:22px;gap:14px}.home-add h1{font-size:23px}.large-plus{width:77px;height:77px;border-radius:20px}.large-plus svg{width:40px;height:40px}.resume-button{left:22px;max-width:calc(100% - 44px);font-size:11px}
  .page-heading:not(.workout-header){align-items:stretch;flex-direction:column}.page-heading>.button{width:100%}.home-add:has(.resume-button){padding-bottom:82px}
  .stat-card{padding:14px 10px}.stat-label{font-size:10px}.stat-value{font-size:23px}.stat-value span{font-size:10px}
  .week-days{padding-inline:20px}.day-circle{width:31px;height:31px}.chart-panel .panel-head{flex-wrap:wrap}.templates-grid{grid-template-columns:1fr}
  .history-row{grid-template-columns:32px minmax(0,1fr);gap:10px}.history-row>.button{grid-column:2;justify-self:start;margin-top:2px}.history-row .workout-icon{align-self:start}.workout-info>button{font-size:13px}.workout-info>span,.workout-info>small{font-size:11px}
  .exercise-card{padding-inline:12px}.set-row{grid-template-columns:18px minmax(48px,1fr) 58px 58px 36px 20px;gap:5px}.done-button{width:36px}.exercise-heading h2{font-size:13px}.set-head{font-size:10px}.workout-header h1{font-size:22px}
  .modal-footer>.button{flex:1;font-size:12px}.modal-footer>.icon-button{flex:0 0 40px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Readable exercise rows keep set entry behind an explicit, accessible disclosure. */
.exercise-card{padding:0;margin-bottom:12px;overflow:hidden}
.exercise-heading{padding:22px;gap:13px;user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
.exercise-toggle{flex:1;min-width:0;text-align:left;padding:0}
.exercise-toggle h2,.exercise-heading h2{font-size:22px;line-height:1.35;font-weight:620;letter-spacing:-.35px}
.exercise-toggle:hover h2{color:var(--ink)}
.exercise-row-meta{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:6px}
.exercise-row-meta>span{white-space:nowrap}
.exercise-grip{width:15px;height:21px;color:var(--muted);opacity:.5;cursor:grab;flex-shrink:0}
.exercise-body{padding:0 22px 22px}
.exercise-body[hidden]{display:none}
.exercise-body .exercise-hint{margin:0 0 17px;font-size:12px}
.exercise-card.expanded{border-color:#a7bf78}
.exercise-card.expanded .exercise-heading{padding-bottom:18px}
.exercise-card.expanded .exercise-row-meta{color:var(--muted)}
.reorder-hint{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 17px}
.set-input,.stat-value,.timer-display,.workout-time,.set-number{font-variant-numeric:tabular-nums}
.stretch-table .set-row{grid-template-columns:26px minmax(90px,1fr) minmax(90px,150px) 42px 24px}
.stretch-table .set-input{max-width:150px}
.stretch-table .previous{font-size:12px}
.exercise-library-card h3{font-size:17px;line-height:1.45;font-weight:600}
.exercise-library-card .muted,.exercise-library-card p{font-size:12px;line-height:1.6}
.previous-session{font-size:12px}
.exercise-info-actions{display:grid;gap:10px;margin-top:25px}
.edit-exercise-note{font-size:12px;line-height:1.75;margin-bottom:10px}
.archived-list{display:grid;gap:14px}
.archived-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.archived-list strong{display:block;font-size:14px;font-weight:600}
.archived-list small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.toast{display:flex;gap:16px;align-items:center}
.toast>button{padding:5px 0;text-decoration:underline;color:var(--accent);font-size:13px;font-weight:600;white-space:nowrap;pointer-events:auto}
.program-builder{max-width:800px;padding:28px}
.program-builder>.field{font-size:14px}
.program-builder .field input{font-size:17px}
.program-draft-row{padding:19px 0;border-top:1px solid var(--line)}
.program-draft-row .exercise-heading{padding:0;gap:12px}
.program-draft-row h2{flex:1;min-width:0;font-size:19px}
.program-row-actions{display:flex;gap:5px;flex-shrink:0}
.program-row-actions>.icon-button{width:34px;height:34px;margin-left:0}
.program-row-actions svg{width:15px;height:15px}
.program-set-count{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0 47px;font-size:12px;color:var(--muted)}
.program-set-count label{display:flex;gap:10px;align-items:center}
.program-set-count input{min-height:40px;width:65px;border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:7px;text-align:center;font-size:16px;color:var(--ink)}
.program-builder-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:15px}
.program-empty{font-size:14px;padding:20px 0}
.drag-source{opacity:.22}
.drag-ghost{position:fixed;z-index:1000;pointer-events:none!important;opacity:.95;box-shadow:0 16px 50px #0003;border:2px solid #9bbd59;max-height:180px;overflow:hidden}
.drag-ghost .exercise-body,.drag-ghost .program-set-count{display:none}
.drop-line{position:fixed;height:4px;z-index:1001;border-radius:3px;background:#8fb746;pointer-events:none}
.is-reordering,.is-reordering *{cursor:grabbing!important;user-select:none!important}
.reorder-mode [data-reorder-handle]{touch-action:none;cursor:grab}
.reorder-mode .exercise-card{border-style:dashed;border-color:#9bb776}
.reorder-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--accent-soft);border:1px solid var(--line);padding:11px 14px;margin-bottom:14px;border-radius:10px;font-size:13px;color:var(--muted)}
.reorder-mode-bar[hidden]{display:none}
.reorder-mode-bar button{font-size:13px;font-weight:650;color:var(--ink);padding:5px}
@media(max-width:760px){
  .exercise-heading{padding:20px 16px;gap:10px}.exercise-toggle h2,.exercise-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.25px}
  .exercise-body{padding:0 16px 20px}.exercise-card.expanded .exercise-heading{padding-bottom:17px}
  .exercise-heading .icon-button{width:34px;height:34px}.exercise-number{width:30px;height:32px;font-size:12px}
  .exercise-row-meta{font-size:12px;margin-top:5px}.exercise-grip{width:12px}.exercise-body .exercise-hint{font-size:12px}
  .stretch-table .set-row{grid-template-columns:22px minmax(50px,1fr) 100px 38px 20px}.stretch-table .previous{font-size:11px}
  .program-builder{padding:21px 17px}.program-draft-row .exercise-heading{display:grid;grid-template-columns:30px minmax(0,1fr)}
  .program-draft-row h2{font-size:18px}.program-row-actions{grid-column:2;justify-content:flex-end;gap:8px}
  .program-row-actions>.icon-button{width:36px;height:36px}.program-set-count{margin-left:0;margin-top:14px;font-size:12px}
  .program-builder-footer{flex-direction:column-reverse;align-items:stretch}.program-builder-footer .button{width:100%}
  .exercise-library-card h3{font-size:17px}.exercise-library-card .muted,.exercise-library-card p{font-size:12px}
}
@media(max-width:380px){.exercise-heading{padding-inline:13px;gap:8px}.exercise-body{padding-inline:13px}.exercise-grip{display:none}.exercise-toggle h2{font-size:20px}.stretch-table .set-row{grid-template-columns:19px minmax(40px,1fr) 86px 36px 20px}}
/* Calendar, favourites and local accounts */
.library-item{display:flex;align-items:center;padding-right:14px;gap:4px}
.library-item .exercise-library-card{flex:1;min-width:0;border-radius:var(--radius)}
.library-item .exercise-library-card>div{min-width:0}
.exercise-library-card h3{overflow-wrap:anywhere}
.favorite-button{flex-shrink:0;color:var(--muted);width:42px;height:42px}
.favorite-button.is-favorite{color:var(--accent-ink);background:var(--accent-soft)}
.favorite-button.is-favorite svg{fill:var(--accent);stroke:var(--accent-ink)}
.favorites-category{border-bottom:1px solid var(--line);margin-bottom:8px}
.favorites-category .category-symbol{background:var(--accent-soft)}
.picker-item{display:flex;align-items:center;gap:4px}
.picker-item .picker-row{flex:1;min-width:0}
.picker-item .favorite-button{width:40px;height:40px}
.week-card{padding-bottom:12px}
.week-card .panel-head{padding:18px 20px 0;gap:4px}
.week-card .panel-head h2{font-size:16px;text-transform:none}
.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:18px 15px 10px;touch-action:pan-y}
.day-item{padding:0;min-width:0;min-height:77px;border-radius:13px}
.day-item>span{margin-bottom:7px}
.day-item .day-circle{display:flex;margin:0 auto;font-size:14px;font-weight:600;width:36px;height:36px;border:1px solid transparent}
.day-item:hover{background:var(--soft)}
.day-item.selected .day-circle{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.day-circle.today{border-color:var(--muted);background:transparent;color:var(--ink)}
.day-circle.complete{background:var(--accent-soft);color:var(--ink)}
.day-item .day-marker{width:5px;height:5px;margin:6px auto 0;border-radius:50%;background:transparent}
.day-marker.done{background:var(--ink)}
.day-marker.planned{background:#9ab450}
.calendar-footer{display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:8px}
.calendar-footer>button{font-size:12px;font-weight:600;min-height:36px;color:var(--ink)}
.calendar-date-label{position:relative;display:flex;gap:5px;align-items:center;min-height:36px;color:var(--muted);font-size:11px}
.calendar-date-label svg{width:15px}
.calendar-date-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.calendar-date-label:focus-within{outline:2px solid var(--muted);border-radius:5px}
.selected-day-panel{margin-bottom:22px}
.selected-day-panel .panel-head h2{text-transform:none;font-size:18px}
.selected-day-panel .panel-head p{margin-top:6px;font-size:12px}
.day-empty{padding:0 25px 23px;font-size:13px}
.plan-row{display:flex;align-items:center;gap:14px;padding:15px 25px;border-top:1px solid var(--line)}
.plan-row>span:nth-child(2){flex:1;min-width:0}
.plan-row strong{display:block;font-size:15px;overflow-wrap:anywhere}
.plan-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}
.workout-date{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-top:12px;min-height:32px}
.workout-date svg{width:16px;height:16px}
.workout-date:disabled{opacity:1;cursor:default}
.auth-tabs{margin-bottom:24px;width:100%;display:flex}
.auth-tabs>.button{flex:1}
.auth-modal .field{font-size:14px}
.auth-modal form>small{display:block;margin-top:-10px;margin-bottom:20px;line-height:1.6}
.auth-modal form>.muted{font-size:13px;line-height:1.65}
.auth-local-note{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;line-height:1.6;color:var(--muted)}
.auth-error{color:var(--danger);font-size:13px;line-height:1.5;margin-top:16px}
.account-email{font-size:16px;overflow-wrap:anywhere;margin-bottom:8px}
.app-loading{display:grid;place-content:center;min-height:100dvh;font-size:54px;font-weight:750;text-align:center}
.app-loading span{color:#89a939}
.app-loading p{font-size:14px;font-weight:400;color:var(--muted);margin-top:18px}
@media(max-width:760px){
 .calendar-footer{font-size:12px}.week-days{padding-inline:18px}
 .selected-day-panel .panel-head{padding:20px;gap:10px;align-items:flex-start}
 .selected-day-panel .panel-head h2{font-size:16px;line-height:1.5}
 .plan-row{padding:15px 20px;gap:10px}.plan-row strong{font-size:14px}.day-empty{padding-inline:20px}
 .account-top-button{min-height:36px;padding-inline:12px}.account-top-button svg{width:17px}
 .library-item{padding-right:9px}.library-item .exercise-library-card{padding:18px 10px 18px 18px}
}

.week-card .panel-head h2::first-letter,.selected-day-panel .panel-head h2::first-letter{text-transform:uppercase}
.calendar-date-label input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;cursor:pointer}
/* Native date carousel */
.week-days{display:flex;justify-content:flex-start;gap:0;margin:0 15px;padding:18px 0 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;touch-action:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;cursor:grab}
.week-days::-webkit-scrollbar{display:none}
.week-days.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.week-days .day-item{flex:0 0 calc(100% / 7);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0;border:0;touch-action:auto}
.week-days .day-item .day-label{margin:0 0 7px;line-height:16px}
.week-days .day-item .day-circle{display:grid;place-items:center;justify-content:center;align-items:center;width:36px;height:36px;margin:0;padding:0;line-height:1;text-align:center;font-variant-numeric:tabular-nums;flex-shrink:0}
.week-days .day-item .day-marker{flex-shrink:0;margin:6px auto 0}
.week-card .panel-head>svg{width:18px;color:var(--muted)}
/* Next goal inside the exercise */
.next-goal{padding:15px 16px;margin:16px 0 18px;border:1px solid var(--line);border-radius:13px;background:var(--accent-soft)}
.goal-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.goal-heading h3{font-size:15px;line-height:1.4;font-weight:650}
.goal-heading .icon-button{width:32px;height:32px;color:var(--muted)}
.goal-heading svg{width:17px}
.goal-targets{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.goal-targets>span{display:flex;gap:7px;align-items:center;font-size:13px;font-weight:600;padding:7px 9px;border-radius:8px;background:var(--surface);font-variant-numeric:tabular-nums}
.goal-targets small{font-size:10px;font-weight:500;color:var(--muted)}
.next-goal>p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:12px}
.goal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}
.goal-footer>span{font-size:11px;color:var(--muted)}
.goal-footer .button{min-height:40px}
.goal-disabled{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin:12px 0}
.goal-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.goal-toggle{margin:20px 0 25px}
.goal-exercise-name{font-size:15px;line-height:1.6}
#goal-settings-form>p.muted{font-size:13px;line-height:1.7;margin-bottom:14px}
.set-add-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.set-add-actions .add-set{flex:1}
.set-kind{min-height:36px;min-width:23px;border-radius:7px;font-variant-numeric:tabular-nums}
.set-kind.warmup{font-size:11px;color:var(--muted);background:var(--soft)}
.set-kind:disabled{opacity:1}
@media(max-width:760px){.week-days{margin-inline:18px;padding-inline:0}.next-goal{padding:13px}.goal-targets>span{font-size:12px}.goal-footer{gap:9px}.goal-footer .button{width:100%}.set-add-actions .text-button{font-size:12px}.program-row-actions{gap:0}.program-row-actions .icon-button{width:30px;min-width:30px}}
.week-card{min-width:0;max-width:100%;overflow:hidden}
.week-days{min-width:0}
.timer-buttons{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;gap:10px;margin-top:16px;width:100%}
.timer-buttons>.button,.timer-buttons>.icon-button{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;margin:0;padding-block:0}
.timer-buttons>.button{min-width:0;line-height:1.2;white-space:nowrap}
.timer-buttons>.icon-button{width:44px;min-width:44px;padding:0}
.timer-buttons svg{width:18px;height:18px}
.settings-section h3+.setting-toggle{margin-top:14px}
.calendar-date-label{padding:0;border:0;background:none;cursor:pointer;min-height:44px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.month-picker-modal{width:min(430px,calc(100vw - 24px))}
.month-picker-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 90px 44px;align-items:center;gap:5px;margin-bottom:18px}
.month-picker-controls .icon-button{width:44px;height:44px;font-size:28px}
.month-picker-controls label{min-width:0}
.month-picker-controls select{font-size:16px;width:100%;min-height:44px;padding:8px 5px;border:1px solid var(--line);border-radius:10px;background:var(--surface);text-transform:capitalize}
.month-weekdays,.month-picker-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.month-weekdays{margin-bottom:6px;color:var(--muted);font-size:12px;text-align:center}
.month-day{min-height:44px;min-width:0;padding:5px 0 3px;border:1px solid transparent;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.2;font-variant-numeric:tabular-nums;font-size:15px}
.month-day:hover{background:var(--soft)}
.month-day.today{border-color:var(--muted)}
.month-day.outside-month{color:var(--muted);opacity:.6}
.month-day.selected{background:var(--ink);color:var(--surface);opacity:1}
.month-day-markers{display:flex;align-items:center;justify-content:center;gap:3px;min-height:6px}
.completed-dot,.planned-dot{display:inline-block;width:5px;height:5px;border-radius:50%;flex-shrink:0}
.completed-dot{background:var(--ink)}
.planned-dot{background:#8fa543}
.month-day.selected .completed-dot{background:var(--surface)}
.month-picker-legend{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:20px;font-size:12px;color:var(--muted)}
.month-picker-legend>span{display:flex;align-items:center;gap:7px}
@media(max-width:760px){.month-picker-modal{width:100%;max-width:none}.month-picker-modal .modal-body{padding-inline:16px}.month-picker-modal .modal-close{width:44px;height:44px}}
.exercise-reference{display:flex;justify-content:flex-end;margin-bottom:10px}
.exercise-reference:empty{display:none}
.workout-sync{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-top:10px;line-height:1.5}
.workout-sync svg{width:14px;height:14px;flex-shrink:0}
.workout-sync[data-kind="pending"]{color:var(--muted)}
.workout-sync[data-kind="error"]{color:var(--danger)}
.rest-dock{display:none}
.timer-settings-link{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;color:var(--muted);font-size:12px;margin-top:8px}
.timer-settings-link svg{width:15px;height:15px}
.auto-rest-setting{margin:24px 0;gap:18px}
.rest-settings-modal .muted{font-size:13px;line-height:1.65}
.superset-block{border:1px solid #a7bf78;border-radius:var(--radius);background:var(--surface);margin-bottom:14px;overflow:hidden;min-width:0}
.superset-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--accent-soft);user-select:none;touch-action:pan-y}
.superset-header strong{font-size:14px;font-weight:650}
.superset-header p{font-size:12px;color:var(--muted);line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.superset-header .icon-button{flex-shrink:0;width:44px;height:44px}
.superset-block>.exercise-card{border:0;border-top:1px solid var(--line);border-radius:0;margin:0}
.superset-block>.program-draft-row{padding:18px 16px}
.superset-block>.detail-exercise{padding:16px;border-top:1px solid var(--line);margin:0}
.program-draft-row>.exercise-heading{flex-wrap:wrap}
.program-draft-row>.exercise-heading h2{flex:1 1 120px}
.program-draft-row>.exercise-heading .program-row-actions{margin-left:auto}
.rest-dock-time [data-rest-time]{font-variant-numeric:tabular-nums;font-size:22px;font-weight:650;line-height:1.1}
.rest-dock-time small{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);line-height:1.2}
.rest-dock-time small svg{width:11px;height:11px;transform:rotate(-90deg)}
@media(max-width:760px){
 .page-content:has(.rest-dock){padding-bottom:132px}
 .rest-dock{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:0 10px;align-items:center;position:fixed;left:0;right:0;bottom:calc(73px + env(safe-area-inset-bottom));padding:9px 18px 7px;z-index:21;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -5px 18px #00000006}
 .rest-dock-time{display:grid;gap:3px;justify-items:start;min-height:48px;text-align:left}
 .rest-dock>.button,.rest-dock>.icon-button{min-height:44px;height:44px;margin:0;justify-content:center}
 .rest-dock>.button{min-width:100px}
 .rest-dock .workout-sync{grid-column:1/-1;font-size:10px;margin-top:2px;line-height:16px}
 .rest-dock .workout-sync svg{width:11px;height:11px}
 .workout-aside>.timer-card{display:none}
 body:has(.rest-dock)>.toast{bottom:calc(180px + env(safe-area-inset-bottom))}
 .superset-header{padding:12px 14px}
 .superset-header p{font-size:11px}
 .superset-block .exercise-heading{padding-inline:12px;gap:8px}
 .superset-block .exercise-body{padding-inline:12px}
 .superset-block .exercise-grip{display:none}
 .superset-block>.program-draft-row{padding-inline:12px}
 .program-builder .program-row-actions .icon-button{min-width:32px;width:32px;height:40px}
}
.technique-button{min-height:44px;gap:7px}
.technique-button svg{width:17px;height:17px}
.technique-modal{width:min(620px,calc(100vw - 32px))}
.technique-modal .modal-body{padding-top:18px;overscroll-behavior-y:contain}
.technique-modal .modal-footer .button{min-height:44px}
.technique-variant{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:16px;overflow-wrap:anywhere}
.technique-poses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.technique-poses.single-pose{grid-template-columns:minmax(0,280px);justify-content:center}
.technique-poses figure{min-width:0;margin:0}
.technique-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:14px;background:var(--soft)}
.technique-image-fallback{display:grid;place-items:center;aspect-ratio:1;border-radius:14px;background:var(--soft);font-size:12px;color:var(--muted);text-align:center;padding:12px}
.technique-poses figcaption{text-align:center;margin-top:8px;font-size:12px;line-height:1.5;color:var(--muted)}
.technique-caption{font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}
.technique-section{margin-top:24px}
.technique-section h3{font-size:17px;line-height:1.4;margin-bottom:14px}
.technique-section ol,.technique-section ul{padding-left:24px;list-style-position:outside}
.technique-section li{font-size:15px;line-height:1.7;margin-bottom:12px;padding-left:5px}
.technique-section li::marker{color:var(--muted);font-weight:600}
.technique-mistakes{padding-top:20px;border-top:1px solid var(--line)}
.technique-cue{background:var(--accent-soft);padding:14px 16px;border-radius:12px;margin-top:18px;font-size:13px;line-height:1.7}
.technique-credit{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;display:flex;flex-wrap:wrap;gap:10px 16px}
.technique-credit a,.technique-about a{color:var(--muted);font-size:11px;line-height:1.6;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.technique-about a{display:block;margin-top:10px}
.technique-loading{padding:30px 0;text-align:center;color:var(--muted);font-size:14px}
@media(max-width:760px){
 .technique-modal{width:100%;max-width:none;margin:auto 0 0;max-height:calc(100dvh - 12px);border-radius:24px 24px 0 0}
 .technique-modal .modal-header{padding-top:25px;padding-bottom:16px}
 .technique-modal .modal-close{width:44px;height:44px;flex-shrink:0}
 .technique-modal .modal-body{padding-bottom:20px}
 .technique-poses{gap:10px}
 .technique-section li{font-size:15px;padding-left:3px}
 .technique-modal .modal-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}
}
