/* Body Design direction: bright paper, navy type, restrained gold markers. */
:root{--paper:#fff;--surface:#fff;--ink:#0b2236;--text:#0b1220;--muted:#4c5666;--line:#dde3ea;--accent:#0b2236;--accent-soft:#f6f1e8;--green-soft:#f4f6f9;--radius:4px;--sidebar:216px;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6;color:var(--text);background:#fff}
body{background:#fff}h1{font-size:32px;letter-spacing:-.7px;font-weight:700;line-height:1.4}h2{font-size:20px;font-weight:650}h3{font-size:18px;font-weight:650}small{font-size:12px}.eyebrow{display:none}.caption{font-size:13px;color:var(--muted)}.btn{border-radius:4px;font-size:14px;min-height:44px;padding:10px 16px;transition:background .12s}.btn:hover:not(:disabled){background:var(--green-soft)}.btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}.btn.primary:hover:not(:disabled){background:#193c59}.btn.text-button{color:var(--muted);font-weight:500}.btn.text-button:hover:not(:disabled){background:var(--green-soft);color:var(--ink)}.btn.icon-button{width:44px;min-height:44px}.btn.danger{background:#993c39;border-color:#993c39}.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #526f8e;outline-offset:3px}input,select,textarea{border-radius:4px;border-color:#a9b3bf;background:#fff}input:not([type=checkbox]):not([type=file]),select{min-height:46px}input::placeholder,textarea::placeholder{color:#75808d}input[type=checkbox]{accent-color:var(--ink)}.panel{border:0;border-top:1px solid var(--line);border-radius:0;padding:26px 0;background:#fff}.notice{border:0;border-left:3px solid #c9a76a;border-radius:0;background:var(--green-soft);font-size:14px}.positive{color:#316953}

/* Application frame */
.sidebar{background:#fff;border-color:var(--line);padding:36px 24px}.brand{font-size:18px;letter-spacing:1px;gap:10px}.brand-mark{border-radius:0;background:transparent;color:var(--ink);font-size:30px;font-weight:600;width:30px;height:34px}.brand-mark:after{border-color:#c9a76a;width:8px;height:8px;top:2px;right:0}.brand small{font-size:11px;font-weight:400;letter-spacing:0;margin-top:6px}.sidebar nav{margin-top:52px;gap:4px}.nav-item{font-size:14px;min-height:50px;padding:14px 8px;border-radius:0;color:var(--muted)}.nav-item:hover{background:var(--green-soft)}.nav-item.active{background:#fff;box-shadow:none;color:var(--ink);font-weight:700}.nav-item.active:before{background:#c9a76a;border-radius:0;top:16px;bottom:16px}.nav-dot,.sidebar-note{display:none}.nav-settings{margin-top:28px}.local-state{margin-top:auto;font-size:12px;border-color:var(--line)}.local-state>i{background:var(--ink);border-radius:0}.local-state small{font-size:11px;color:var(--muted)}.topbar{height:78px}.desktop-caption{font-size:12px;letter-spacing:0}.header-right{font-size:12px;gap:16px}.save-status .icon{width:14px;height:14px}.connection{font-size:11px}.connection:before{top:7px}.settings-link{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.settings-link .icon{width:20px;height:20px}main{max-width:1210px;padding:36px 44px 64px}.page-heading{gap:24px;margin-bottom:30px}.page-heading h1{font-size:32px}.page-heading p{font-size:14px;color:var(--muted);margin-top:10px}.page-footer{font-size:11px;color:var(--muted);max-width:1210px}.page-footer>span:first-child{font-size:11px}

/* Flat recording ledger */
.date-control{border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}.date-label{font-size:14px;min-width:145px;min-height:44px}.date-control .icon-button{width:44px}.record-layout{display:block;max-width:900px}.record-aside{display:none}.journal-summary{background:#fff;color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 22px;gap:8px 22px;margin-bottom:28px;overflow:visible}.journal-summary:after{display:none}.session-status{font-size:14px;margin-top:0}.session-status i{border-radius:0;background:#c9a76a;width:5px;height:5px}.journal-summary p{font-size:13px;color:var(--muted);margin-top:4px}.journal-summary .text-button{color:var(--muted);min-height:36px;padding:4px}.journal-summary .text-button .icon{width:15px;height:15px}.hero-number{font-size:32px;padding-top:0;line-height:1.3;color:var(--ink);letter-spacing:-.8px}.hero-number>span{font-size:14px;color:var(--muted)}.hero-number>small{font-size:12px;color:var(--muted)}.summary-bottom{margin-top:0;border:0;padding:8px 0 0;gap:24px;font-size:13px;color:var(--muted);flex-wrap:wrap}.summary-bottom b{font-size:18px;color:var(--ink)}.summary-bottom .icon{width:16px;height:16px}.summary-bottom>span:last-of-type{margin-left:0}.timer-inline{margin-left:auto;background:#fff;border-color:var(--line);color:var(--ink);font-size:13px;min-height:44px;padding:8px 10px}.timer-inline:hover{background:var(--green-soft)!important}.record-main>.section-heading{margin-bottom:0;flex-wrap:wrap}.record-main>.section-heading h2{font-size:20px}.record-main>.section-heading .btn{font-size:13px;padding:10px 12px}.exercise-card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:28px 0 24px;margin:0;background:#fff}.exercise-heading{gap:16px;flex-wrap:wrap}.exercise-heading>div:nth-child(2){min-width:0;flex:1}.exercise-heading h3{font-size:20px;overflow-wrap:anywhere}.exercise-heading p{font-size:12px;color:var(--muted);margin-top:5px}.exercise-heading p span{color:var(--muted)}.exercise-icon{width:76px;height:64px;background:transparent;border:0;border-radius:0;color:var(--ink)}.exercise-art{display:block;width:100%;height:100%;overflow:visible}.entry-actions{margin-left:auto;flex-shrink:0}.entry-actions .btn{width:44px;min-height:44px;padding:8px}.entry-actions .icon{width:17px;height:17px}.previous-record{border-radius:0;background:transparent;padding:12px 0;border-bottom:1px solid var(--line);margin:20px 0 16px;gap:12px}.previous-record span{font-size:12px;color:var(--muted)}.previous-record span>small{font-size:12px;color:var(--muted);margin-left:7px}.previous-record strong{font-size:14px;font-weight:500;line-height:1.7}.previous-record .btn{font-size:12px;padding:8px;min-height:44px}.previous-note{font-size:12px;color:var(--muted)}.first-record{font-size:13px;color:var(--muted);margin:18px 0}.set-table-head,.set-row{grid-template-columns:54px 1fr 1fr 1fr 44px;gap:10px}.set-table-head{font-size:12px;color:var(--muted);padding-bottom:12px}.set-row{min-height:54px;font-size:15px;border-color:var(--line)}.set-row .set-number{font-size:12px;color:var(--muted);background:transparent}.set-row strong{font-size:21px;font-weight:600;color:var(--ink)}.set-row strong>small{font-size:12px}.set-estimate{font-size:14px;color:var(--muted);gap:6px;flex-wrap:wrap}.pr-badge{font-size:10px;color:#765925;background:transparent;border-bottom:2px solid #c9a76a;border-radius:0;padding:0 2px}.set-row .btn{min-height:44px;width:44px;padding:10px}.set-row .icon{width:16px;height:16px}.set-form{margin-top:22px;padding:16px;background:var(--green-soft)}.set-inputs{gap:14px}.set-inputs label{font-size:13px;font-weight:500}.set-inputs label small{font-size:12px}.set-inputs input{font-size:23px;min-height:54px!important;padding:10px 8px!important;background:#fff;border-color:#b1bac6;margin-top:7px}.set-inputs>.btn{min-height:54px;height:54px;font-size:14px;padding:12px 18px}.set-inputs>.btn .icon{width:16px;height:16px}.warmup-toggle{font-size:12px;min-height:44px;margin-top:6px;gap:8px}.warmup-toggle input{width:18px;height:18px}.entry-note{font-size:13px;border:0;margin-top:8px}.entry-note summary{min-height:44px;font-size:13px;gap:8px}.entry-note summary .icon{width:16px;height:16px}.entry-note textarea,.session-note textarea{font-size:16px}.entry-note>.btn{margin-top:8px}.session-note{padding-top:28px}.session-note>label{font-size:14px;margin-bottom:12px}.session-note .btn{font-size:13px}.finish-row{margin-top:24px;gap:12px}.finish-row>.text-button{font-size:12px}.session-select{font-size:13px;margin:0 0 24px}.session-select select{font-size:14px}.session-dock{position:fixed;bottom:20px;left:calc(var(--sidebar) + 44px);right:44px;max-width:900px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;z-index:35;border-radius:4px}.session-dock-summary{min-width:0}.session-dock strong{font-size:14px;font-weight:500;display:block}.session-dock small{font-size:12px;color:#dce5ed;display:block;margin-top:3px}.session-dock .btn{background:#fff;border-color:#fff;color:var(--ink);flex-shrink:0}.session-active main{padding-bottom:160px}

/* Weekly rhythm and recovery */
.home-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px}.home-main,.home-side{min-width:0}.home-today{padding:28px 0;border-top:1px solid var(--line)}.home-today h2{margin-bottom:14px}.home-today>p{font-size:14px;color:var(--muted)}.home-summary{display:flex;gap:22px;flex-wrap:wrap;padding:18px 0;font-size:13px;color:var(--muted)}.home-summary b,.home-summary strong{font-size:28px;font-weight:600;color:var(--ink)}.home-summary small{font-size:13px;margin-left:4px}.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.weekly-card{border:0;border-top:2px solid var(--ink);border-radius:0;background:#fff;padding:24px 0 28px;margin:0 0 24px}.weekly-card .section-heading{margin-bottom:14px}.weekly-card .section-heading>.icon{width:18px;height:18px;color:var(--muted)}.weekly-card h3{font-size:16px;color:var(--muted);font-weight:500}.weekly-count{float:none;width:auto;display:flex;gap:9px;align-items:baseline;margin-top:10px}.weekly-count b{font-size:54px;font-weight:600;letter-spacing:-1.5px;line-height:1.2}.weekly-count>span{font-size:15px;color:var(--muted)}.week-dots{margin-top:24px;padding:0;gap:8px}.week-dots>span{gap:9px}.week-dots small{font-size:12px;color:var(--muted)}.week-dots i{font-size:13px;width:34px;height:34px;border-radius:0;color:var(--muted)}.week-dots .today i{border:0;border-bottom:2px solid #c9a76a;color:var(--ink)}.week-dots .done i{background:var(--ink);color:#fff}.week-dots .icon{width:17px;height:17px}.weekly-card>p{font-size:12px;color:var(--muted);margin-top:20px;padding:0}.recovery-card{border:0;border-top:2px solid var(--ink);border-radius:0;padding:24px 0;background:#fff}.recovery-card h2{font-size:20px}.recovery-card>.caption{font-size:12px;color:var(--muted)}.recovery-card .section-heading{margin-bottom:5px}.recovery-card .section-heading .text-button{min-height:44px;padding:8px}.recovery-card>.text-button{font-size:13px;padding:10px 0;margin-top:12px}.body-map{max-height:350px;margin:24px 0 14px}.body-map text{font-size:11px;fill:var(--muted)}.map-legend{font-size:12px;color:var(--muted);gap:16px}.map-legend i{width:8px;height:8px;border-radius:0;background:#d4dce5}.map-legend i.ready{background:#42647e}.map-legend i.rest{background:#cfad70}.small-note{display:flex;color:var(--muted);padding:20px 0}.small-note p{font-size:12px}.home-recovery-list{margin-top:26px}.home-recovery-row{padding:15px 0;border-bottom:1px solid var(--line)}.home-recovery-row>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:14px}.home-recovery-row>div:first-child>span{font-size:12px;color:var(--muted);text-align:right}.home-recovery-row small{font-size:12px;color:var(--muted);display:block;margin-top:6px}.home-recovery-row .progress{height:5px;margin:10px 0 6px;background:#edf0f4}.home-recovery-row.ready .progress i{background:#42647e!important}.home-recovery-row.rest .progress i{background:#cfad70!important}

/* Calendar and archive */
.home-recovery-details{margin-top:26px;border-top:1px solid var(--line)}.home-recovery-details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:58px;font-size:14px;cursor:pointer;list-style:none}.home-recovery-details>summary::-webkit-details-marker{display:none}.home-recovery-details>summary>span{font-size:12px;color:var(--muted);margin-left:auto}.home-recovery-details>summary:after{content:"＋";font-size:18px;color:var(--muted)}.home-recovery-details[open]>summary:after{content:"−"}.home-recovery-details .home-recovery-list{margin-top:0}.history-card-heading>.icon{display:none}
.empty-state{background:#fff;border:0;border-top:1px solid var(--line);border-radius:0;padding:48px 20px}.empty-state h3{font-size:20px}.empty-state p{font-size:14px}.empty-state>.btn.text-button{font-size:13px}.empty-illustration{background:transparent;border:0;border-radius:0;transform:none}.empty-illustration>.icon{width:38px;height:38px;color:var(--ink);transform:none}.empty-state.compact h3{font-size:18px}.calendar-panel{border:0;border-top:2px solid var(--ink);border-radius:0;padding:16px 0 24px;max-width:900px}.calendar-title h2{font-size:26px}.calendar-grid{gap:4px 10px}.day-name{font-size:12px}.calendar-day{border-radius:0;font-size:17px;min-height:72px;gap:8px}.calendar-day:hover{background:var(--green-soft)}.calendar-day>div{flex-wrap:wrap;justify-content:center;min-height:5px;height:auto}.calendar-day.selected{background:var(--ink);color:#fff}.calendar-day.is-today>span{color:inherit;border-bottom:2px solid #c9a76a}.calendar-legend{font-size:12px;gap:12px 20px;padding-top:20px;margin-top:16px}.calendar-legend .muscle-tag{font-size:12px}.history-date-heading h2{font-size:22px}.history-list{display:flex;flex-direction:column;gap:0}.history-card{padding:24px 0;border:0;border-top:1px solid var(--line);border-radius:0;min-width:0}.history-card>summary{list-style:none;cursor:pointer;position:relative;padding-right:28px}.history-card>summary::-webkit-details-marker{display:none}.history-card>summary:after{content:"＋";position:absolute;right:0;top:8px;font-size:20px;color:var(--muted)}.history-card[open]>summary:after{content:"−"}.history-card-heading{border:0;padding:0;margin-bottom:14px;gap:16px}.history-card h3{font-size:21px}.history-card-heading p{font-size:12px;margin-top:7px}.history-total{margin-top:0}.history-total>b{font-size:27px}.history-total>span{font-size:12px}.history-exercise-names{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.history-card[open] .history-exercise-names{padding-bottom:18px}.history-exercises>div{gap:14px;padding:10px 0;margin:0}.history-exercises .exercise-icon{width:64px;height:54px;border:0;border-radius:0;background:transparent}.history-exercises strong{font-size:15px}.history-exercises small{font-size:13px;margin-top:4px}.history-note{font-size:13px;border-radius:0;background:var(--green-soft);padding:14px}.history-actions .btn{font-size:13px}.search-box{border:0;border-bottom:1px solid #9da9b7;border-radius:0;padding:0 2px;min-height:48px;background:#fff}.search-box input{font-size:16px}.search-box>.icon{color:var(--muted);width:20px;height:20px}.search-box:focus-within{outline:0;box-shadow:0 2px var(--ink)}.chips{flex-wrap:wrap;overflow:visible;gap:4px;padding-top:16px}.btn.chip{border:0;border-bottom:2px solid transparent;border-radius:0;background:#fff;min-height:44px;font-size:13px;padding:8px 12px}.btn.chip.selected{background:#fff;color:var(--ink);border-bottom-color:#c9a76a;font-weight:700}.muscle-tag{font-size:13px}.muscle-tag i{border-radius:0}

/* Statistics, without metric tiles */
.period-select{font-size:13px}.period-select select{font-size:14px}.analysis-tabs{gap:32px;margin-bottom:28px}.analysis-tabs button{font-size:15px;min-height:48px;color:var(--muted);padding:12px 4px}.analysis-tabs button.active:after{background:#c9a76a}.analysis-summary-grid{grid-template-columns:1.4fr 1fr;gap:36px;border-top:2px solid var(--ink)}.volume-panel{border:0}.analysis-big{font-size:54px;font-weight:600;margin-top:24px}.analysis-big>span{font-size:18px}.bar-track i{border-radius:0}.bar-track{border-color:var(--line)}.bar-chart small{font-size:11px}.bar-value{font-size:11px;color:var(--muted)}.volume-panel>.caption:last-child{font-size:12px}.metric-grid{gap:0;align-content:start;padding-top:12px}.metric{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:22px 0}.metric:nth-child(even){padding-left:20px}.metric>span{font-size:13px}.metric>b{font-size:34px;font-weight:600}.metric>b>small{font-size:13px}.insight-note{display:none}.stats-search{max-width:560px;margin-bottom:24px}.exercise-stats-list{gap:0}.exercise-stat{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:20px 0;gap:18px;background:#fff}.exercise-stat:hover{background:var(--green-soft)}.exercise-stat .exercise-icon{width:74px;height:62px}.exercise-stat-title strong{font-size:16px}.exercise-stat-title small{font-size:12px}.exercise-stat-value strong{font-size:25px}.exercise-stat-value strong small,.exercise-stat-value>small{font-size:12px}.exercise-stat>.icon{width:18px;height:18px}.chart-empty{font-size:14px}.muscle-bar-row{grid-template-columns:115px 1fr 110px;gap:22px;padding:16px 0}.muscle-track{border-radius:0;background:#edf0f4}.muscle-bar-row>strong{font-size:16px}.muscle-bar-row>strong small{font-size:12px;color:var(--muted)}.bar-legend{font-size:12px;flex-wrap:wrap}.bar-legend i{border-radius:0}.recovery-stats-grid{grid-template-columns:.85fr 1.15fr;gap:40px;border-top:2px solid var(--ink)}.recovery-stats-grid>.panel{border:0}.recovery-stats-grid .body-map{max-height:380px}.recovery-stats-grid .map-legend{font-size:12px}.recovery-list{gap:24px 28px}.recovery-list>div{padding-bottom:14px;border-bottom:1px solid var(--line)}.recovery-list strong{font-size:14px}.recovery-list span{font-size:12px}.recovery-list small{font-size:12px;color:var(--muted)}.progress{height:6px;background:#edf0f4;border-radius:0;margin:12px 0 8px}.progress i{border-radius:0}.timeline-row{font-size:12px;min-width:600px;margin:7px 0}.timeline-row>strong{width:104px}.timeline-row>div>span{font-size:11px;height:23px;background:#edf0f4;color:#23384b}.timeline-row .rest{background:#ead9b9}.timeline-row .ready{background:#b9cbd9}.timeline-header{min-width:600px;font-size:12px}.timeline-header>span:first-child{width:104px}

/* Settings, selection sheets, and sharing */
.settings-grid{gap:40px}.settings-grid h2{margin-bottom:18px}.settings-grid p{font-size:14px}.settings-stack{gap:28px}.setting-row{font-size:14px;padding:20px 0;border-color:var(--line)}.setting-row>span:first-child{min-width:0}.setting-row small{font-size:12px}.setting-row select{font-size:14px}.suffix-input{font-size:13px}.suffix-input input{font-size:16px}.data-actions>.btn{font-size:13px;white-space:normal}.settings-grid .caption{font-size:12px}.install-panel{background:#fff;border-color:var(--line)}dialog{background:#fff;color:var(--ink);border-radius:4px;max-width:700px;box-shadow:0 16px 64px #0b22361c}dialog::backdrop{background:#0b223655;backdrop-filter:none}.dialog-header{background:#fff;padding:22px 28px}.dialog-header h2{font-size:23px}.dialog-content{padding:24px 28px 32px}.dialog-content>p{font-size:14px}.dialog-content h3{font-size:18px}.dialog-actions>.btn{white-space:normal}.dialog-bottom{background:#fff;bottom:-32px;padding:18px 0 4px}.dialog-bottom>span{font-size:13px}.picker-create>.btn{font-size:14px;color:var(--ink)}.picker-exercise{gap:16px;min-height:88px;padding:14px 0}.picker-exercise .exercise-icon{width:82px;height:68px}.picker-exercise strong{font-size:15px}.picker-exercise small{font-size:12px}.picker-exercise.already-added{opacity:.6}.form-field{font-size:14px}.form-field input,.form-field select,.form-field textarea{font-size:16px}.muscle-checks label{font-size:13px;min-height:44px}.muscle-checks input{width:18px;height:18px}.dialog-content legend{font-size:14px}.library-row{gap:14px;padding:14px 0}.library-row strong{font-size:14px}.library-row small{font-size:12px}.library-row>.btn{font-size:12px;min-width:44px;min-height:44px;padding:8px}.library-row .exercise-icon{width:66px;height:56px}.detail-metrics>div{font-size:13px}.detail-metrics strong{font-size:30px}.detail-metrics small{font-size:13px}.detail-history>button{font-size:14px;min-height:72px}.detail-history small{font-size:12px}.restore-summary{border:0;border-left:3px solid #c9a76a;border-radius:0;background:var(--green-soft)}.snapshot-row strong{font-size:14px}.snapshot-row small{font-size:12px}.share-preview{border:0;border-top:3px solid var(--ink);border-radius:0;padding:24px 0}.share-preview>h3{font-size:24px}.share-preview>strong{font-size:44px}.share-preview>p{font-size:14px}.share-preview>div>p{font-size:14px}.share-preview>div small{font-size:12px}.share-exercise{display:flex;gap:14px;align-items:center}.share-exercise .exercise-icon{width:66px;height:56px}.share-exercise>span:last-child{flex:1;min-width:0}.help-steps{font-size:14px}.demo-banner{background:#f6f1e8;color:#765925;border-color:#e7d8bd;font-size:12px}.demo-banner .btn{font-size:12px}.routine-row strong{font-size:15px}.routine-row small{font-size:12px}.routine-row>.btn{font-size:13px}.export-image{border-radius:0}

/* Timer stays above content; session completion stays above navigation. */
.exercise-heading{position:relative;flex-wrap:nowrap;align-items:center}.exercise-heading>div:nth-child(2){flex-basis:auto}.entry-menu{position:relative;flex-shrink:0;align-self:flex-start;color:var(--muted)}.entry-menu>summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.entry-menu>summary::-webkit-details-marker{display:none}.entry-menu>summary .icon{width:22px;height:22px;stroke-width:3}.entry-menu .entry-actions{position:absolute;right:0;top:44px;z-index:10;width:max-content;display:flex;margin:0;padding:8px;background:#fff;border:1px solid var(--line);box-shadow:0 5px 20px #0b223612;border-radius:4px}.entry-menu .entry-actions .btn{color:var(--ink)}.set-form{margin-bottom:22px}.set-table{margin-top:8px}
#timer-slot{position:sticky;top:0;z-index:30}.timer-bar{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:10px 44px;border:0;border-radius:0;background:var(--ink);color:#fff;box-shadow:none}.timer-bar>div{gap:12px}.timer-bar>div>.icon{color:#e2c58f;width:20px;height:20px}.timer-bar>div>span{font-size:12px;color:#dce5ed;display:flex;align-items:center;gap:12px}.timer-bar strong{font-size:25px;color:#fff}.timer-button{min-height:44px;font-size:12px;padding:8px 12px;border-color:#ffffff50;border-radius:4px}.timer-done{background:#765925}#toast{border-radius:4px;font-size:14px;box-shadow:none;background:var(--ink)}#toast .toast-undo{font-size:13px;min-height:44px}.session-active #toast{bottom:110px}

@media(max-width:1150px){:root{--sidebar:184px}.sidebar{padding:32px 18px}.brand{font-size:16px;gap:6px}.brand small{font-size:10px}.nav-item.active:before{left:-18px}.topbar{margin:0 32px}main{padding:32px 32px 64px}.home-layout{gap:32px}.session-dock{left:calc(var(--sidebar) + 32px);right:32px}.analysis-summary-grid{grid-template-columns:1fr;gap:12px}.metric-grid{grid-template-columns:repeat(4,1fr);padding-top:0}.metric:nth-child(n){padding:20px 0}.metric>b{font-size:30px}.recovery-stats-grid{grid-template-columns:1fr;gap:8px}.recovery-list{grid-template-columns:1fr 1fr}.settings-grid{gap:28px}.timer-bar{padding:10px 32px}.panel{padding:24px 0}}
@media(max-width:920px){.home-layout{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.exercise-heading>div:nth-child(2){flex-basis:calc(100% - 100px)}.entry-actions{margin-top:0}.sparkline{display:none}}
@media(max-width:720px){
 :root{--sidebar:0px}.topbar{height:66px;margin:0 20px}.mobile-brand{font-size:16px;gap:8px}.brand-mark{width:25px;height:29px;font-size:27px}.brand-mark:after{width:7px;height:7px;top:1px;right:0}.header-right{gap:6px}.save-status{font-size:11px}.save-status>.icon{width:14px;height:14px}.connection{display:none}main{padding:26px 20px calc(112px + env(safe-area-inset-bottom))}.page-heading h1{font-size:28px}.page-heading{gap:18px;margin-bottom:26px}.page-heading p{font-size:13px}.date-label{font-size:14px}.date-control .icon-button{width:44px}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-color:var(--line);backdrop-filter:none;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}.bottom-nav>a{min-height:54px;font-size:11px;gap:5px;border-radius:0;color:var(--muted);white-space:nowrap}.bottom-nav>a.active{background:#fff;color:var(--ink)}.bottom-nav>a.active:after{background:#c9a76a;top:-7px;width:25px}.bottom-nav .icon{width:23px;height:23px}.home-layout{gap:20px}.home-summary{gap:20px}.home-summary b,.home-summary strong{font-size:26px}.home-actions .btn{flex:1}.weekly-card{padding:22px 0 26px}.weekly-card h3{font-size:16px}.weekly-count{float:none;width:auto;margin-top:10px}.weekly-count b{font-size:50px}.weekly-count>span{font-size:15px}.week-dots{padding:0;margin-top:24px;gap:4px}.week-dots i{width:34px;height:34px;font-size:13px}.week-dots small{font-size:12px}.weekly-card>p{font-size:12px;padding:0;margin-top:20px}.body-map{max-height:330px}.recovery-card{padding:24px 0}.recovery-card h2{font-size:20px}.recovery-card>.caption{font-size:12px}.map-legend{font-size:12px;gap:14px}.journal-summary,.session-active .journal-summary{padding:0 0 18px;margin-bottom:24px;gap:10px}.hero-number,.session-active .journal-summary .hero-number{font-size:29px;padding:0}.hero-number>span{font-size:13px}.hero-number>small,.session-active .journal-summary .hero-number>small{font-size:11px}.journal-summary .session-status,.session-active .journal-summary .session-status{font-size:13px}.journal-summary p{font-size:12px}.summary-bottom,.session-active .journal-summary .summary-bottom{font-size:12px;gap:16px;padding:4px 0 0;margin-top:0}.summary-bottom b{font-size:18px}.summary-bottom>span:last-of-type{margin-left:0}.timer-inline{font-size:12px;min-height:44px;padding:8px}.record-main>.section-heading{gap:14px}.record-main>.section-heading h2{font-size:20px}.record-main>.section-heading .btn{font-size:13px;padding:10px 12px}.exercise-card{padding:24px 0;border-radius:0;margin:0}.exercise-heading{gap:10px}.exercise-heading h3{font-size:19px}.exercise-heading p{font-size:12px}.exercise-heading>div:nth-child(2){flex-basis:calc(100% - 90px)}.exercise-heading p span{display:inline}.exercise-icon{width:72px;height:60px;border-radius:0}.entry-actions{width:100%;justify-content:flex-end;margin:0}.entry-actions .btn{width:44px;min-width:44px;min-height:44px}.entry-actions .icon{width:17px;height:17px}.previous-record{margin-top:10px;padding:12px 0}.previous-record strong{font-size:14px}.previous-record span,.previous-record span>small,.previous-record .btn{font-size:12px}.first-record{font-size:13px}.set-table-head,.set-row{grid-template-columns:32px 1fr .8fr 1fr 44px;gap:6px}.set-table-head{font-size:11px}.set-row{min-height:54px}.set-row strong{font-size:21px}.set-row .set-number{font-size:12px}.set-estimate{font-size:13px;gap:3px}.pr-badge{font-size:9px}.set-form{padding:14px 12px;margin-top:20px}.set-inputs{gap:8px}.set-inputs label{font-size:12px}.set-inputs label small{font-size:11px}.set-inputs input{font-size:21px;min-height:52px!important;padding:10px 5px!important}.set-inputs>.btn{height:52px;min-height:52px;padding:10px 12px;font-size:13px}.set-inputs>.btn .icon{width:15px;height:15px}.warmup-toggle{font-size:12px;margin-top:8px;min-height:44px}.warmup-toggle input{width:18px;height:18px}.entry-note summary{font-size:13px}.finish-row .btn{font-size:13px}.finish-row>.text-button{font-size:12px}.session-select select{font-size:14px}.session-dock{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));padding:12px 14px;gap:10px}.session-dock strong{font-size:13px}.session-dock small{font-size:11px}.session-dock .btn{font-size:13px;padding:10px 14px}.session-active main{padding-bottom:calc(208px + env(safe-area-inset-bottom))}.session-active .page-heading h1{font-size:28px}.calendar-panel{padding:12px 0 24px}.calendar-title h2{font-size:24px}.calendar-grid{gap:2px}.calendar-day{min-height:58px;font-size:16px;gap:7px}.day-name{font-size:12px}.calendar-legend{gap:12px 16px;padding-top:20px}.calendar-legend .muscle-tag{font-size:11px}.history-date-heading h2{font-size:20px}.history-date-heading>.btn{font-size:12px;min-height:44px}.history-card{padding:24px 0}.history-card h3{font-size:20px}.history-total>b{font-size:25px}.history-total>span{font-size:11px}.history-card-heading p{font-size:12px}.history-exercises .exercise-icon{width:62px;height:52px}.history-exercises strong{font-size:15px}.history-exercises small{font-size:12px}.history-actions .btn{font-size:12px;padding:8px 12px}.chips{gap:2px;padding-top:12px}.btn.chip{font-size:12px;padding:8px 10px;min-height:44px}.analysis-tabs button{font-size:14px;min-width:64px;min-height:48px}.analysis-summary-grid{display:flex;flex-direction:column;gap:0}.panel{padding:24px 0;border-radius:0}.panel h2{font-size:20px}.analysis-big{font-size:49px;margin-top:20px}.bar-chart{gap:8px;height:200px}.bar-track{height:150px}.bar-value,.bar-chart small{font-size:10px}.volume-panel>.caption{font-size:12px}.metric-grid{grid-template-columns:1fr 1fr;gap:0}.metric:nth-child(n){padding:20px 0}.metric:nth-child(even){padding-left:20px}.metric>b{font-size:32px}.metric>span,.metric>b>small{font-size:12px}.exercise-stat{padding:17px 0;gap:10px}.exercise-stat .exercise-icon{width:62px;height:52px}.exercise-stat-title strong{font-size:15px}.exercise-stat-title small{font-size:12px}.exercise-stat-value{min-width:80px}.exercise-stat-value strong{font-size:22px}.exercise-stat-value strong small{font-size:11px}.exercise-stat-value>small{font-size:12px}.exercise-stat>.icon{width:14px;height:14px}.muscle-bar-row{grid-template-columns:90px 1fr 75px;gap:12px;padding:15px 0}.muscle-tag{font-size:12px}.muscle-bar-row>strong{font-size:14px}.muscle-bar-row>strong small{font-size:11px}.bar-legend{font-size:12px;gap:14px}.recovery-stats-grid{gap:0}.recovery-list{grid-template-columns:1fr 1fr;gap:20px 22px}.recovery-list strong{font-size:13px}.recovery-list span{font-size:11px}.recovery-list small{font-size:12px}.settings-grid{gap:12px}.settings-stack{gap:12px}.setting-row{font-size:14px}.setting-row small{font-size:12px}.settings-grid p{font-size:14px}.data-actions .btn{font-size:13px}.demo-banner{padding:10px 20px;font-size:11px}.demo-banner .btn{font-size:11px;min-height:44px;padding:8px}dialog{border-radius:4px 4px 0 0;max-width:100%;max-height:94dvh}.dialog-header{padding:18px 20px}.dialog-header h2{font-size:23px}.dialog-content{padding:20px 20px 28px}.dialog-content>p{font-size:14px}.picker-exercise{gap:12px;min-height:86px;padding:12px 0}.picker-exercise .exercise-icon{width:76px;height:64px}.picker-exercise strong{font-size:15px}.picker-exercise small{font-size:12px}.dialog-bottom{bottom:-28px}.dialog-bottom>span{font-size:12px}.dialog-bottom>.btn{font-size:13px;padding:10px 12px}.muscle-checks{grid-template-columns:1fr 1fr}.muscle-checks label{font-size:13px}.library-row{gap:10px}.library-row .exercise-icon{width:58px;height:50px}.library-row strong{font-size:14px}.library-row small{font-size:11px}.library-row>.btn{font-size:12px;min-width:44px;min-height:44px;padding:8px}.library-row>.caption{font-size:11px}.form-field{font-size:14px}.routine-row{flex-wrap:wrap}.routine-row strong{font-size:14px}.routine-row small{font-size:12px}.routine-row>.btn{font-size:13px}.share-preview>h3{font-size:24px}.share-preview>strong{font-size:42px}.detail-history small{font-size:12px}.timer-bar{padding:9px 16px;gap:8px}.timer-bar>div{gap:6px}.timer-bar>div>span{font-size:11px;display:block}.timer-bar strong{display:block;font-size:25px;line-height:1.2}.timer-bar .timer-button{min-height:44px;padding:8px 10px;font-size:12px}.timer-bar>div>.icon{width:18px;height:18px}body:has(.timer-bar) main{padding-bottom:calc(112px + env(safe-area-inset-bottom))}body.session-active:has(.timer-bar) main{padding-bottom:calc(208px + env(safe-area-inset-bottom))}#toast{left:50%;bottom:calc(86px + env(safe-area-inset-bottom));font-size:13px}.session-active #toast,body.session-active:has(.timer-bar) #toast{bottom:calc(174px + env(safe-area-inset-bottom))}
}
@media(max-width:370px){main{padding-left:16px;padding-right:16px}.topbar{margin:0 16px}.hero-number,.session-active .journal-summary .hero-number{font-size:25px}.journal-summary{gap:6px}.summary-bottom{gap:12px}.set-form{padding:12px 8px}.set-inputs{gap:6px}.set-inputs input{font-size:19px}.set-inputs>.btn{padding:10px 8px;font-size:12px}.exercise-heading h3{font-size:18px}.muscle-bar-row{grid-template-columns:82px 1fr 70px;gap:8px}.bottom-nav>a{font-size:10px}.exercise-stat{gap:8px}.exercise-stat .exercise-icon{width:52px;height:44px}.exercise-stat-title strong{font-size:14px}.exercise-stat-value{min-width:72px}.dialog-content{padding-left:16px;padding-right:16px}.calendar-day{min-height:54px}.home-summary{gap:15px}.history-total>b{font-size:22px}.entry-actions .btn{min-width:44px}.save-status{font-size:10px}}
.exercise-heading{flex-wrap:nowrap}.exercise-heading>div:nth-child(2){flex-basis:0}.entry-menu .entry-actions{width:max-content}.home-recovery-details .home-recovery-row .progress>i{display:block;height:100%}.history-card-heading>.icon{display:none}
.weekly-card{position:relative}.weekly-card .section-heading{padding-right:86px;min-height:34px}.weekly-count{position:absolute;right:0;top:24px;margin:0;gap:6px}.weekly-count b{font-size:42px}.weekly-count>span{font-size:13px}.weekly-card>p{margin-top:6px}.week-dots{margin-top:18px}.home-today .home-summary{padding:10px 0}.home-actions{margin-top:14px}@media(max-width:720px){.weekly-card{padding:20px 0 22px}.weekly-card .section-heading{margin-bottom:8px}.weekly-card .section-heading h2{font-size:18px}.weekly-count{top:18px}.weekly-count b{font-size:40px}.weekly-card>p{font-size:12px}.week-dots{margin-top:16px}.home-today{padding:22px 0}.home-layout{gap:12px}.home-summary{gap:14px}.home-actions{margin-top:12px}}
.history-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.history-card-heading>div:first-child{min-width:0}@media(max-width:720px){.analysis-tabs{gap:0;justify-content:space-between}.analysis-tabs button{min-width:0;flex:1;padding:12px 4px}.history-card h3{font-size:18px}.history-total>b{font-size:23px}}

/* Daily recording: visible actions, quiet assistance, no extra card grid. */
.entry-jump{display:flex;align-items:center;gap:14px;margin:12px 0 0;font-size:12px;color:var(--muted)}.entry-jump select{flex:1;min-width:0;font-size:14px;border-color:var(--line)}.exercise-card{scroll-margin-top:90px}.exercise-guide>summary,.picker-guide>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;color:var(--muted);list-style:none}.exercise-guide>summary:before,.picker-guide>summary:before{content:'＋';margin-right:8px;color:var(--ink)}.exercise-guide[open]>summary:before,.picker-guide[open]>summary:before{content:'−'}.exercise-guide>summary::-webkit-details-marker,.picker-guide>summary::-webkit-details-marker{display:none}.guide-content{margin:0 0 16px;border-left:2px solid #c9a76a;padding:0 0 0 14px;font-size:13px;line-height:1.8}.guide-content>div{margin:10px 0}.guide-content dt{font-size:11px;color:var(--muted)}.guide-content dd{margin:0;color:var(--text)}
.previous-record{margin:0 0 12px;padding:0 0 10px;align-items:flex-start}.previous-record>details{min-width:0;flex:1;font-size:12px}.previous-record summary{cursor:pointer;min-height:44px;padding:10px 0;line-height:1.8}.previous-record summary strong{font-size:12px;white-space:nowrap;margin-left:5px}.previous-record>div{display:flex;align-items:flex-end;flex-direction:column;flex-shrink:0}.previous-record>div>.btn{font-size:12px;min-height:36px;padding:7px}.previous-record>div>.btn:last-child{font-size:11px}.previous-sets{padding-left:20px;line-height:1.9}.previous-note{margin:8px 0;white-space:pre-wrap}.set-form{margin:4px 0 18px;padding:16px;background:#f4f6f9}.set-form-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:12px}.set-form-title>span{font-size:11px;color:var(--muted)}.set-inputs{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:12px}.numeric-field{min-width:0}.numeric-field>label{font-size:12px}.number-control{display:flex;align-items:stretch;background:white;border:1px solid #a9b3bf;border-radius:3px;margin-top:6px;overflow:hidden}.set-inputs .number-control input{border:0;min-width:0;width:100%;margin:0;font-size:23px;padding:8px 0!important;text-align:center;appearance:textfield;-moz-appearance:textfield;min-height:50px!important}.number-control input::-webkit-inner-spin-button,.number-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.btn.step-button{padding:0;width:44px;min-width:44px;min-height:50px;border:0;background:transparent;color:var(--ink);font-size:21px;border-radius:0}.step-button:hover{background:#e9edf2!important}.set-inputs>.btn{grid-column:1/-1;width:100%;min-height:48px;height:48px;font-size:14px}.unweighted .set-inputs{grid-template-columns:1fr 1fr}.unweighted .set-inputs>.btn{grid-column:auto}.set-options{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-top:4px}.set-options .warmup-toggle{font-size:12px;min-height:44px;margin:0;white-space:nowrap}.batch-entry{font-size:12px;color:var(--muted);text-align:right}.batch-entry summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.batch-entry label{display:flex;align-items:center;gap:8px}.batch-entry input{width:64px;font-size:16px;min-height:44px!important}.input-hint{font-size:11px;line-height:1.7;color:var(--muted);margin:4px 0 0}.completion-summary{text-align:center;padding:16px 0}.completion-summary>strong{font-size:56px;line-height:1.3}.completion-summary>strong>small{display:block;font-size:13px;font-weight:400}.completion-summary>p{margin-top:14px}
.picker-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:end}.picker-toolbar .search-box{margin:0}.equipment-filter{display:flex;flex-direction:column;font-size:11px;gap:4px;color:var(--muted)}.equipment-filter select{width:100%;font-size:13px;min-height:46px}.picker-chips{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin;padding-bottom:4px;margin:8px -4px 0}.picker-chips>.btn{flex-shrink:0;white-space:nowrap}.picker-section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink);font-size:14px!important;margin:20px 0 0!important;padding-bottom:8px}.picker-section-title>span{font-size:12px;color:var(--muted);font-weight:400}.picker-row{border-bottom:1px solid var(--line)}.picker-row .picker-exercise{border:0;min-height:82px;padding:10px 8px;gap:12px;margin:0}.picker-exercise.selected{background:#f2f5f8;box-shadow:inset 3px 0 var(--ink)}.picker-exercise.already-added{opacity:1}.picker-exercise .exercise-icon{width:68px;height:57px}.picker-exercise input{width:22px;height:22px;flex-shrink:0;margin:0 4px}.picker-exercise strong{font-size:15px;line-height:1.6}.picker-exercise small{font-size:12px}.picker-exercise .added-label{font-size:11px;flex:none;color:var(--muted)}.picker-guide{padding:0 8px 0 88px}.picker-guide>summary{min-height:36px;font-size:11px;overflow-wrap:anywhere}.picker-guide .guide-content{margin-left:-74px}.picker-bottom{position:sticky;z-index:3;bottom:-32px;padding:12px 0 8px;gap:12px}.picker-bottom>span{min-width:0;font-size:12px}.picker-bottom small{display:block;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.picker-bottom>.btn{flex-shrink:0}.picker-create{padding:14px 0 0}
@media(max-width:720px){.picker-toolbar{grid-template-columns:minmax(0,1fr) 116px;gap:8px}.picker-toolbar input{font-size:14px}.picker-toolbar .search-box{padding:0 10px;gap:6px}.picker-toolbar .search-box .icon{width:18px}.equipment-filter select{font-size:12px;padding:8px 4px}.picker-bottom{bottom:-28px}.picker-bottom small{max-width:155px}.picker-bottom>.btn{font-size:12px;padding:10px}.exercise-card{padding-top:20px}.set-form{padding:12px 10px}.set-inputs{gap:10px}.set-inputs .number-control input{font-size:21px;min-height:48px!important}.btn.step-button{min-height:48px;min-width:44px;width:44px}.set-inputs>.btn{height:48px;min-height:48px}.entry-jump{font-size:11px}.entry-jump select{font-size:12px}.previous-record>div>.btn{font-size:11px}.previous-record>div>.btn:last-child{font-size:10px}.session-active .page-heading{margin-bottom:16px}.session-active .journal-summary{margin-bottom:16px}.session-active .journal-summary .hero-number{font-size:24px}.session-active .journal-summary .hero-number>small{font-size:10px}.session-active .summary-bottom{gap:12px}.picker-row .picker-exercise{gap:8px}.picker-exercise .exercise-icon{width:60px;height:50px}.picker-guide{padding-left:76px}.picker-guide .guide-content{margin-left:-62px}.guide-content{font-size:13px}}
@media(max-width:370px){.btn.step-button{min-width:44px;width:44px}.set-inputs .number-control input{font-size:19px}.unweighted .set-inputs{grid-template-columns:1fr}.unweighted .set-inputs>.btn{grid-column:1/-1}.picker-toolbar{grid-template-columns:1fr}.equipment-filter{flex-direction:row;align-items:center}.equipment-filter select{width:auto;flex:1}.picker-bottom small{max-width:110px}}
.reuse-list{padding-left:20px;font-size:14px;line-height:2}.home-main>.home-today{padding-top:0}.home-main>.weekly-card{border-top:1px solid var(--line)}
.previous-record>div>.btn:last-child{font-size:12px;min-height:44px}.previous-record>details>.btn{min-height:44px;font-size:12px}.session-select{display:flex;align-items:center;gap:12px;margin-bottom:12px}.session-select select{flex:1;min-width:0;margin:0}.session-active .journal-summary{padding-bottom:10px}.session-active .summary-bottom{padding-top:0}
.active-journal{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:20px}.active-session-line{display:flex;align-items:center;justify-content:space-between;font-size:13px}.active-session-line>span{display:flex;align-items:center;gap:8px}.active-session-line i{width:5px;height:5px;background:#c9a76a}.active-session-line .btn{width:44px;min-height:44px;padding:10px}.active-session-line .icon{width:15px;height:15px}.active-session-totals{display:flex;align-items:center;gap:20px;font-size:13px;color:var(--muted)}.active-session-totals b{color:var(--ink);font-weight:600}.active-session-totals .timer-inline{margin-left:auto}.previous-record summary strong{display:inline}.previous-record>details{align-self:center}
.has-draft{color:#82622e!important}#toast,body.session-active #toast,body.session-active:has(.timer-bar) #toast{top:calc(12px + env(safe-area-inset-top));bottom:auto;max-width:calc(100vw - 32px);transform:translate(-50%,-8px);box-shadow:0 3px 18px #0b22361a}#toast.visible{transform:translate(-50%,0)}
#toast{pointer-events:none}#toast .toast-undo{pointer-events:auto}
.picker-filterline{display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line)}.picker-filterline .picker-chips{flex:1;min-width:0;border:0;margin-bottom:0}.picker-filterline>.btn{flex-shrink:0;font-size:11px;padding:8px;color:var(--ink);min-height:44px}.picker-filterline>.btn .icon{width:14px;height:14px}
@media(max-width:720px){.active-journal{margin-bottom:18px;padding-bottom:8px}.active-session-line,.active-session-totals{font-size:12px}.active-session-totals{gap:12px}.active-session-totals .timer-inline{font-size:11px;min-height:44px}.active-session-totals b{font-size:14px}}
@media(max-width:720px){body[data-page=record] main{padding-top:16px}body[data-page=record] .page-heading{gap:5px;margin-bottom:16px}body[data-page=record] .page-heading h1{font-size:24px}body[data-page=record] .journal-summary{padding-bottom:12px;gap:6px;margin-bottom:14px}body[data-page=record] .record-main>.section-heading{gap:8px}.record-main>.section-heading>div{display:flex;gap:4px}.record-main>.section-heading .btn{padding:9px 10px}.picker-content{padding-bottom:20px}.picker-bottom{bottom:-20px}.history-actions{flex-wrap:wrap}}
