:root{--ink:#233d34;--muted:#68766e;--green:#18594b;--lime:#e7f1bf;--paper:#f7f8f3;--line:#e1e6dc;--orange:#b06647;--white:#fff;--soft:#eaf0e9;--purple:#867fa4;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c58c45;outline-offset:3px}.skip{position:absolute;top:-60px;left:12px;z-index:10;background:white;padding:15px}.skip:focus{top:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:40px 24px;z-index:3}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:23px;font-weight:650;letter-spacing:-.7px}.brand-icon{width:44px;height:44px;background:var(--green);color:var(--lime);border-radius:15px;display:grid;place-items:center;font-size:32px}.brand small{display:block;letter-spacing:1.1px;font-size:8px;margin-top:7px;color:var(--muted)}nav{display:grid;gap:9px;margin-top:60px}nav a{display:flex;gap:15px;align-items:center;padding:15px 18px;border-radius:12px;text-decoration:none;font-size:15px;color:var(--muted)}nav a span{font-size:22px;line-height:1;width:24px}nav a.active{background:var(--green);color:white}nav a:hover:not(.active){background:var(--soft)}.sidebar-note{margin-top:auto;padding:30px 8px 36px;font-size:14px;line-height:1.7}.sidebar-note small{font-size:11px;color:var(--muted)}.leaf{font-size:56px;color:#8ea185}.profile{display:flex;align-items:center;gap:12px;padding-top:24px;border-top:1px solid var(--line);font-size:13px}.avatar{background:#eef0e7;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.profile small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}.shell{margin-left:248px;max-width:1700px}.topbar{height:86px;border-bottom:1px solid var(--line);padding:0 48px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.6px;color:var(--muted)}.storage{font-size:11px;letter-spacing:0}.storage:before{content:'●';color:#718961;margin-right:7px}main{max-width:1216px;margin:auto;padding:40px 48px 20px;outline:none}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin:0 0 12px}h1{font-size:36px;line-height:1.15;font-weight:550;letter-spacing:-1.4px;margin:0 0 12px}h2{font-size:20px;font-weight:550;letter-spacing:-.4px;margin:0 0 12px}h3{font-size:16px;font-weight:600;margin:0 0 10px}p{line-height:1.6;margin:0 0 14px}.muted,small{color:var(--muted)}.muted{font-size:13px}.btn{border:1px solid var(--line);background:white;color:var(--ink);border-radius:10px;padding:12px 17px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-size:13px;font-weight:550}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.soft{background:var(--soft);border-color:transparent}.btn.danger{color:#984837}.btn:hover{filter:brightness(.96)}.btn.small{min-height:38px;padding:8px 12px;font-size:12px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{background:var(--green);color:white;border-radius:20px;display:grid;grid-template-columns:1.35fr 1fr;overflow:hidden;min-height:226px;margin-bottom:25px}.hero-copy{padding:32px 34px;z-index:1}.hero .eyebrow{color:#d0dfc8}.hero h2{font-family:Georgia,serif;font-size:34px;font-weight:400;max-width:400px;line-height:1.2;margin:0 0 15px}.hero p{color:#d9e3d8;font-size:13px;max-width:345px}.hero-art{position:relative;min-height:210px;overflow:hidden}.hero-art svg{height:100%;width:100%;position:absolute;right:0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.today-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(235px,1fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;margin-bottom:20px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.card-title h2,.card-title h3{margin:0}.badge{background:#f1f3ec;border-radius:30px;padding:6px 10px;color:#687264;font-size:10px;font-weight:600;white-space:nowrap}.badge.good{background:#eaf2df;color:#486735}.badge.orange{background:#fbefdf;color:#89602e}.slot-header{display:flex;align-items:center;gap:12px}.slot-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f5efdF;color:#aa7f3e;font-size:22px}.slot-icon.evening{background:#efedf4;color:#867ca6}.slot-header h3{margin-bottom:4px}.slot-header small{font-size:11px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.quick-grid .btn{justify-content:flex-start;font-size:12px}.quick-grid .wide{grid-column:1/-1;justify-content:center;background:var(--green);color:white}.text-button{background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:14px 0;min-height:44px;font-size:12px}.progress-item{margin-top:23px}.progress-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}.progress-top strong{font-size:25px;font-weight:500;letter-spacing:-1px}.progress-top small{font-size:12px;font-weight:400;letter-spacing:0}.progress{height:7px;border-radius:7px;background:#edf0e8;margin:12px 0 8px;overflow:hidden}.progress span{height:100%;display:block;background:#91a77c;border-radius:7px}.progress.orange span{background:#c59378}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:25px}.week-day{text-align:center;font-size:10px;color:var(--muted)}.week-day b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:10px;font-weight:400;background:#f2f4ed;margin:7px auto}.week-day b.done{background:#dfeacc;color:var(--green)}.week-day b.current{outline:1px solid var(--green)}.notice{border-radius:12px;padding:16px 18px;background:#edf1e7;font-size:12px;line-height:1.6;color:#5c6a56}.notice.warm{background:#f6eee1;color:#7d6746}.card-note{font-size:12px;border-top:1px solid var(--line);padding-top:16px;margin:20px 0 0;line-height:1.6}.record-line{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:10px;font-size:13px}.record-line:last-child{border-bottom:0}.record-line .dot{width:9px;height:9px;border-radius:50%;background:#709373;margin-top:5px;flex:none}.record-line .dot.strength{background:#c09075}.record-line .dot.other{background:var(--purple)}.record-line strong{font-weight:550}.record-line small{display:block;font-size:11px;margin-top:5px}.record-line .minutes{margin-left:auto;white-space:nowrap}.app-footer{font-size:10px;text-align:center;color:var(--muted);padding:20px 30px 35px}.filterbar{display:flex;align-items:end;gap:15px;flex-wrap:wrap;margin-bottom:22px}.field{display:grid;gap:7px;flex:1;min-width:120px}.field>span,label>span.label{font-size:12px;color:var(--muted);display:block}input,select,textarea{border:1px solid #d9dfd5;background:white;border-radius:9px;padding:11px 12px;min-height:45px;color:var(--ink);width:100%;min-width:0}textarea{resize:vertical;min-height:78px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green);flex:none}.check-label{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;padding:6px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:22px}.stat strong{display:block;font-size:33px;font-weight:500;letter-spacing:-1px;margin:14px 0 7px}.stat strong small{font-size:13px;letter-spacing:0;margin-left:5px}.stat .eyebrow{font-size:9px;letter-spacing:1px;margin:0}.stat p{font-size:11px;margin:0;color:var(--muted)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-weight:500;color:var(--muted);font-size:10px;background:#f8f9f5}th,td{padding:13px 12px;border-bottom:1px solid var(--line)}td small{display:block;font-size:10px;margin-top:4px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar .weekday{text-align:center;font-size:11px;color:var(--muted);padding:8px}.calendar button{background:#f7f8f3;border:1px solid transparent;border-radius:10px;min-height:65px;padding:9px;text-align:left;color:var(--ink);font-size:12px}.calendar button:hover{border-color:var(--green)}.calendar button.today{border-color:#97aa83}.calendar button.future{opacity:.4}.day-marks{display:flex;gap:4px;margin-top:11px}.mark{height:6px;width:12px;border-radius:4px;display:inline-block;background:#d7dbd2}.mark.activity{background:#718f64}.mark.none{background:#bc986d}.mark.pending{background:transparent;border:1px solid #aeb7a7}.mark.later{background:#e7e9e1}.legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px;font-size:10px;color:var(--muted);line-height:1.8}.legend span{display:flex;align-items:center;gap:6px}.chart{display:flex;align-items:stretch;gap:16px;height:170px;padding:5px 8px 0}.chart-group{display:flex;flex-direction:column;justify-content:end;align-items:center;flex:1;min-width:0}.chart-bars{height:126px;width:100%;display:flex;align-items:end;justify-content:center;gap:5px;border-bottom:1px solid var(--line)}.chart-bar{width:20%;max-width:25px;border-radius:5px 5px 0 0;background:#78936b;min-height:0}.chart-bar.strength{background:#c1957a}.chart-bar.other{background:var(--purple)}.chart-label{font-size:9px;color:var(--muted);margin-top:10px}.list-date{margin:22px 0 12px;font-size:14px;font-weight:600}.history-slot{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.history-slot:last-child{border-bottom:0}.history-slot .slot-label{font-size:12px;min-width:55px}.history-slot .content{flex:1;font-size:13px}.history-slot small{font-size:11px;display:block;margin-top:5px}.empty{padding:28px 10px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.notes-list{padding-left:19px;font-size:13px;line-height:1.6}.notes-list li{margin-bottom:16px}.notes-list small{display:block;font-size:11px;margin-bottom:4px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .card{margin:0}.settings-grid .full{grid-column:1/-1}.section-space{margin:20px 0}.exercise-template{display:grid;grid-template-columns:1.3fr 1fr auto;gap:10px;align-items:end;margin:12px 0}.exercise-template .btn{padding:10px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.reminder-row{background:var(--paper);padding:15px;border-radius:12px;margin:15px 0}.reminder-row p{font-size:12px}.plain-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin-top:15px}.print-only{display:none}dialog{width:min(670px,calc(100% - 26px));max-height:92dvh;border:1px solid var(--line);border-radius:20px;padding:0;color:var(--ink);box-shadow:0 25px 100px #19392f33}dialog::backdrop{background:#173a3155;backdrop-filter:blur(3px)}.modal-header{padding:25px 25px 15px;display:flex;justify-content:space-between;gap:15px;align-items:start}.modal-header h2{margin:0 0 5px}.close{border:0;background:var(--soft);border-radius:50%;width:36px;height:36px;font-size:22px;color:var(--ink);flex:none}.modal-body{padding:0 25px 20px}.modal-footer{padding:17px 25px;background:white;border-top:1px solid var(--line);position:sticky;bottom:0;display:flex;justify-content:space-between;gap:12px}.activity-form{background:var(--paper);border:1px solid var(--line);padding:18px;border-radius:14px;margin-top:16px}.activity-form h3{font-size:15px}.activity-form .field-grid{margin:14px 0}.activity-head{display:flex;justify-content:space-between;align-items:center}.activity-head button{font-size:11px;background:none;border:0;text-decoration:underline;color:var(--muted);min-height:38px}.exercise-row{display:grid;grid-template-columns:22px 1.3fr 1fr;gap:9px;align-items:center;margin:8px 0}.exercise-row input:not([type=checkbox]){font-size:12px;padding:9px}.exercise-row input[type=checkbox]{margin:0}.round-buttons{display:flex;gap:8px;align-items:center;margin:10px 0}.round-buttons input{width:110px}.inline-error{color:#9e4734;background:#fbefe8;padding:12px;border-radius:9px;font-size:13px;margin-top:12px}.inline-error:empty{display:none}.activity-add{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}#toast{position:fixed;bottom:28px;left:calc(50% + 124px);transform:translateX(-50%);background:#234f40;color:white;padding:14px 22px;border-radius:12px;font-size:13px;box-shadow:0 6px 25px #0002;z-index:10;max-width:90vw;display:none}#toast.visible{display:block}.test-banner{background:#fbebd2;color:#815323;padding:12px;text-align:center;font-size:13px;border-radius:10px;margin-bottom:20px}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.status-line{font-size:11px;color:var(--muted);margin-top:12px}.period-title{font-size:12px;color:var(--muted);margin-bottom:18px}.hidden{display:none!important}details>summary{cursor:pointer;font-size:13px;padding:12px 0;line-height:1.5}details p{font-size:12px}.consult-note{border-left:3px solid #b6c991;padding-left:16px;font-size:13px;margin-top:20px}.no-wrap{white-space:nowrap}
@media(min-width:1500px){main{padding-top:50px}.hero{min-height:250px}.hero-copy{padding:38px}}
@media(max-width:1100px){.sidebar{width:205px;padding:35px 18px}.brand{font-size:20px}.shell{margin-left:205px}main{padding:30px 26px}.topbar{padding:0 26px}.today-layout{grid-template-columns:1fr}.today-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{gap:10px}.stat{padding:16px}#toast{left:calc(50% + 102px)}}
@media(max-width:740px){.sidebar{inset:auto 0 0 0;width:100%;height:calc(72px + env(safe-area-inset-bottom));padding:0 10px env(safe-area-inset-bottom);border-right:0;border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px)}.brand,.sidebar-note,.profile{display:none}nav{display:flex;justify-content:space-around;margin:0;gap:0}nav a{flex:1;flex-direction:column;gap:5px;padding:12px 4px 10px;font-size:10px;border-radius:0;color:#6c7869}nav a.active{color:var(--green);background:transparent;font-weight:700}nav a span{height:23px;text-align:center;font-size:23px}.shell{margin-left:0;padding-bottom:80px}.topbar{height:62px;padding:0 20px;font-size:9px;letter-spacing:1px}.storage{font-size:9px}.storage:before{margin-right:4px}main{padding:27px 18px 10px}.page-head{align-items:start;gap:12px;margin-bottom:22px}h1{font-size:29px;letter-spacing:-1px}.page-head .muted{font-size:12px}.page-head>.btn{padding:9px 12px;font-size:11px;min-width:80px}.eyebrow{font-size:9px;letter-spacing:1.3px}.hero{grid-template-columns:1fr .52fr;min-height:204px;border-radius:16px;margin-bottom:20px}.hero-copy{padding:25px 22px;padding-right:0}.hero h2{font-size:29px}.hero p{font-size:11px;max-width:230px}.hero-art{min-height:205px}.hero-art svg{width:225px;right:-55px;opacity:.85}.two-col,.today-aside,.settings-grid{grid-template-columns:1fr;gap:0}.card{padding:20px;border-radius:15px;margin-bottom:16px}.today-layout{gap:0}.today-aside .card{margin-bottom:16px}.quick-grid .btn{padding:13px 12px;font-size:13px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:17px}.stat strong{font-size:29px;margin:12px 0 5px}.stat .eyebrow{font-size:9px}.filterbar{gap:10px}.field{min-width:125px}.field input,.field select{font-size:14px}.filterbar .btn{flex:1}.settings-grid{gap:16px}.settings-grid .full{grid-column:auto}.calendar{gap:5px}.calendar button{min-height:58px;padding:8px;font-size:11px}.legend{font-size:9px;gap:10px}.calendar .weekday{font-size:10px}.exercise-template{grid-template-columns:1.2fr 1fr auto;gap:6px}.exercise-template input{font-size:12px;padding:10px 8px}.exercise-template .btn{padding:8px}.app-footer{padding:10px 24px 25px;line-height:1.6;font-size:9px}.history-slot{gap:8px}.history-slot .btn{font-size:11px;padding:9px}.history-slot .slot-label{min-width:43px;font-size:11px}.history-slot .content{font-size:12px}.modal-header{padding:23px 18px 15px}.modal-body{padding:0 18px 18px}.modal-footer{padding:13px 18px}.activity-form{padding:14px}.exercise-row{gap:6px;grid-template-columns:21px 1.15fr 1fr}input,select,textarea{font-size:16px}.exercise-row input:not([type=checkbox]){font-size:16px}.round-buttons input{width:100px}#toast{bottom:92px;left:50%;width:max-content}.page-head .actions .btn{font-size:10px;padding:10px}.chart{gap:10px}th,td{padding:11px 8px}}
@media print{@page{size:A4;margin:15mm}body{background:white;font-size:10pt;color:#15251d}.sidebar,.topbar,.app-footer,.no-print,.filterbar,#toast,dialog{display:none!important}.shell{margin:0;padding:0}main{padding:0;max-width:none}.print-only{display:block}.page-head{margin-bottom:20px}h1{font-size:25pt}.card,.stat{break-inside:avoid;box-shadow:none;border-color:#ccc;border-radius:0;padding:12px;margin-bottom:15px}.stats{grid-template-columns:repeat(4,1fr)}.stat strong{font-size:23pt}.two-col{display:block}.chart{height:130px}.chart-bars{height:100px}.chart-bar,.mark,.badge,.progress{-webkit-print-color-adjust:exact;print-color-adjust:exact}.calendar button{min-height:45px}.table-wrap{overflow:visible}table{font-size:9pt}tr{break-inside:avoid}th,td{padding:8px}.notes-list{font-size:10pt}.report-pending{display:none}.report-pending-print{font-size:9pt}.notice{border:1px solid #ccc;padding:10px}.print-notes{white-space:pre-wrap}.legend{font-size:8pt}.period-title{font-size:10pt}}

@media(max-width:740px){.hero{min-height:160px}.hero-copy{padding:20px 18px}.hero h2{font-size:24px}.hero .eyebrow{font-size:8px;margin-bottom:9px}.hero p{line-height:1.5;margin-bottom:0}.hero-art{min-height:170px}.storage{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media print{html{background:white}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calendar button{min-height:35px;padding:6px}.calendar{gap:4px}.day-marks{margin-top:7px}.card .card-note{font-size:9pt}.test-banner{font-size:9pt;padding:8px}.page-head{margin-bottom:12px}.page-head p{margin-bottom:6px}.period-title{margin-bottom:12px}.stats{margin-bottom:15px}.card{padding:12px}.chart{height:145px}.chart-bars{height:110px}}

@media print{:root{background:#fff!important}}
.exercise-guide{margin:18px 0;text-align:left}.exercise-illustration{position:relative;overflow:hidden;background:white;border-radius:10px;width:100%;isolation:isolate}.exercise-illustration img{position:absolute;max-width:none;height:auto;display:block;pointer-events:none}.exercise-guide figcaption{font-size:11px;line-height:1.5;color:#e0e9db;margin-top:8px}.exercise-image-missing{font-size:12px;color:#e0e9db;margin:15px 0}
.workout-launchers{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #cad7be;border-radius:16px;background:#edf2e5;padding:22px 24px;margin-bottom:24px}.workout-launchers h3{margin:0}.workout-launchers p.muted{margin:8px 0 0}.workout-launchers .eyebrow{margin-bottom:8px}.workout-launchers h3 span{font-variant-numeric:tabular-nums;font-size:14px;margin-left:12px;color:var(--muted)}#workout-dialog{width:min(610px,calc(100% - 24px))}.workout-circuit{padding-left:24px;margin:18px 0}.workout-circuit li{padding:7px 0;font-size:13px}.workout-circuit li small{display:block;margin-top:3px}.hit-explanation{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hit-explanation>div{background:var(--soft);padding:20px;border-radius:13px;display:grid;gap:8px}.hit-explanation>div+div{background:#f5eddf}.hit-explanation b{font-size:30px;font-weight:500}.hit-explanation span{font-size:14px}.hit-explanation small{font-size:11px}.workout-clock{font-size:52px;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-2px;font-weight:500;margin-top:4px}.workout-clock-label{text-align:center;font-size:12px;color:var(--muted);margin-bottom:24px}.workout-current{border-radius:16px;background:var(--green);color:#fff;padding:24px;text-align:center}.workout-current .eyebrow{color:#d6e3c8}.workout-current h3{font-size:28px;line-height:1.25;font-weight:500}.workout-current .muted{color:#e0e9db}.workout-current label>span{color:#e0e9db}.workout-current p:last-child{margin-bottom:0}.workout-current.slow{background:#8a6947}.workout-reps{font-size:29px;padding:8px 0 20px;overflow-wrap:anywhere}.workout-reps small{display:block;font-size:12px;color:#e0e9db;margin-top:5px}.hit-countdown{font-size:64px;font-variant-numeric:tabular-nums;margin:18px 0;letter-spacing:-2px}.workout-next{width:100%;margin-top:18px;font-size:15px;min-height:56px}.workout-status{font-size:12px;color:var(--muted);line-height:1.6}.guided-log{font-size:11px;line-height:1.7;padding-left:18px}.record-line>div{min-width:0}.record-line details{overflow-wrap:anywhere}#workout-dialog .modal-footer{flex-wrap:wrap}#workout-dialog .modal-body{padding-bottom:24px}
@media(max-width:740px){.workout-launchers{display:block;padding:19px}.workout-launchers .actions{margin-top:17px;display:grid;grid-template-columns:1fr 1fr}.workout-launchers>.btn{margin-top:14px;width:100%}.workout-launchers .btn{font-size:12px;padding:12px 9px}.workout-current{padding:20px 16px}.workout-current h3{font-size:25px}.workout-current .eyebrow{font-size:9px;letter-spacing:.7px}.workout-clock{font-size:46px}.workout-next{font-size:14px}.hit-explanation>div{padding:17px 13px}.hit-explanation small{font-size:10px}.workout-launchers h3{font-size:16px}}

/* Mobile-first refinements: iPhone safe areas, readable fields and reachable actions. */
.topbar-brand{text-decoration:none;font-size:18px;font-weight:650;letter-spacing:-.5px}.topbar-brand span{display:block;font-size:8px;letter-spacing:1.2px;color:var(--muted);margin-top:4px}.mobile-week{display:none}
.session-actions{display:grid;grid-template-columns:1fr 1fr}.session-actions .workout-next{grid-column:1/-1;margin:0}.discard-session{margin-top:18px}.modal-body>.actions:empty{display:none}
@media screen and (max-width:740px){
  :root{--paper:#f3f5ef;--muted:#58685f;-webkit-text-size-adjust:100%}
  body:has(dialog[open]){overflow:hidden}
  .shell{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .topbar{height:auto;min-height:68px;padding:calc(12px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 12px max(18px,env(safe-area-inset-left));background:var(--paper);border:0;gap:12px}
  .topbar-brand{font-size:20px;white-space:nowrap}.storage{font-size:11px;max-width:51%;white-space:normal;line-height:1.5;text-align:right}
  main{padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}
  .page-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px}.page-head>div:first-child{flex:1 1 230px}.page-head .eyebrow{display:none}
  h1{font-size:30px;line-height:1.15;letter-spacing:-1px;margin-bottom:8px}.page-head p.muted{font-size:14px;margin:0;line-height:1.5}
  .page-head>.btn{min-height:44px;font-size:13px;padding:10px 14px}.page-head .actions{width:100%;margin-top:6px}.page-head .actions .btn{font-size:14px;flex:1;min-height:48px}
  .hero{display:none}.mobile-week{display:block;background:white;padding:14px 16px;border:1px solid var(--line);border-radius:18px;margin-bottom:18px}
  .mobile-week-title{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:12px}.mobile-week-goals{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mobile-week-goals>div>span{font-size:13px;display:block}.mobile-week strong{font-size:24px;font-weight:600;display:block;margin-top:4px}.mobile-week strong small{font-size:13px;font-weight:400}.mobile-week .progress{margin:8px 0 0;height:5px}
  .workout-launchers{border:0;border-radius:20px;background:#dfe9d3;padding:18px;margin-bottom:16px}.workout-launchers .eyebrow{font-size:10px;letter-spacing:1px}.workout-launchers h3{font-size:19px}.workout-launchers p.muted{font-size:13px;line-height:1.4}.workout-launchers .actions{gap:10px;margin-top:14px}.workout-launchers .btn{min-height:56px;font-size:14px;border-radius:14px;padding:12px 8px}
  .card{padding:18px;border-radius:20px;margin-bottom:16px}.card-title{margin-bottom:16px}.slot-header small{font-size:12px}.slot-header h3{font-size:19px}.badge{font-size:11px;white-space:normal;text-align:center}.slot-icon{width:40px;height:40px}.quick-grid{margin-top:14px;gap:10px}.quick-grid .btn{min-height:52px;border-radius:12px;font-size:14px}.quick-grid .wide{background:var(--soft);border-color:var(--line);color:var(--green)}
  .btn,.btn.small{min-height:48px;font-size:14px}.text-button,.close{min-height:44px;min-width:44px}.muted,.notice,.card-note,.record-line{font-size:14px}.record-line small,.status-line{font-size:12px;line-height:1.5}.record-line{overflow-wrap:anywhere}.record-line .minutes{font-size:13px}.actions{gap:10px}.card .actions>.btn{flex:1}
  .sidebar{height:calc(72px + env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));box-shadow:0 -6px 24px #233d3407}nav a{font-size:11px;min-height:64px;gap:6px;padding:9px 4px}nav a span{width:48px;height:28px;border-radius:12px;padding-top:3px;font-size:22px}nav a.active span{background:#e2ecd7}
  input,select,textarea,.field input,.field select,.exercise-template input,.exercise-row input:not([type=checkbox]){font-size:16px;min-height:48px}.field{min-width:0}.field>span{font-size:13px}.field-grid{gap:10px}.check-label{min-height:44px;font-size:14px}input[type=checkbox]{min-height:24px;width:24px;height:24px}
  .filterbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:16px;background:#fff;border:1px solid var(--line);border-radius:18px;gap:14px 12px}.filterbar>.field:first-child,.filterbar>.field:has(select),.filterbar>.btn{grid-column:1/-1}.filterbar input{max-width:100%;width:100%;min-width:0}
  .stats{gap:10px}.stat{padding:16px;border-radius:18px;min-width:0}.stat strong{font-size:30px}.stat strong small{display:block;margin:5px 0 0;font-size:12px}.stat .eyebrow{font-size:10px;line-height:1.5}.stat p{font-size:12px;line-height:1.5}.calendar{gap:3px}.calendar button{min-height:48px;padding:6px;font-size:13px}.calendar .weekday{padding:8px 2px;font-size:12px}.legend{font-size:12px;gap:8px 12px}.day-marks{gap:3px}.mark{width:10px}.history-slot{flex-wrap:wrap}.history-slot .content{font-size:14px;min-width:110px}.history-slot .btn{font-size:13px;min-height:44px}.table-wrap{margin:0 -6px}table{min-width:460px;font-size:13px}th{font-size:12px}td small{font-size:12px}.chart-label{font-size:11px}
  .exercise-template{grid-template-columns:minmax(0,1fr) 48px;gap:10px;padding:14px;background:var(--paper);border-radius:14px}.exercise-template .field:first-child{grid-column:1}.exercise-template .field:nth-child(2){grid-column:1;grid-row:2}.exercise-template>.btn{grid-column:2;grid-row:1/3;align-self:center}.notes-list{font-size:14px}.notes-list small{font-size:12px}.reminder-row{padding:12px}.settings-grid{gap:16px}#settings-form>.actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));background:#f3f5eff5;padding:12px;border:1px solid var(--line);border-radius:16px;z-index:2}#settings-form>.actions .btn{width:100%}
  dialog,#workout-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;overscroll-behavior:contain;background:var(--paper)}
  .modal-header{padding:calc(14px + env(safe-area-inset-top)) 18px 14px;align-items:center}.modal-header h2{font-size:21px}.modal-header .eyebrow{font-size:10px;margin-bottom:6px}.modal-body{padding:0 16px 20px}.modal-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:10px;z-index:2;background:#fffffff5;backdrop-filter:blur(14px)}.modal-footer .btn{min-height:50px;flex:1;border-radius:14px}.activity-form{padding:14px}.exercise-row{grid-template-columns:24px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.exercise-row input:last-child{grid-column:2}
  .workout-clock{font-size:32px;letter-spacing:-1px;margin-top:0}.workout-clock-label{font-size:12px;margin-bottom:14px}.workout-current{padding:16px;border-radius:18px}.workout-current h3{font-size:23px}.workout-current .eyebrow{font-size:10px;line-height:1.5;margin-bottom:8px}.exercise-guide{margin:12px -4px}.exercise-guide figcaption{font-size:11px}.workout-reps{display:none}.workout-current .section-space{margin:12px 0}.workout-current .field{margin-top:14px}.workout-current p{font-size:13px}.workout-status{font-size:12px}.session-actions .workout-next{font-size:16px;min-height:54px}.session-actions .btn{font-size:14px}.hit-countdown{font-size:76px;margin:26px 0}.discard-session{width:100%;background:transparent}details>summary{min-height:48px;font-size:14px}.app-footer{font-size:12px;line-height:1.6;padding:8px 22px 24px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:14px}
}
@media screen and (max-width:360px){.page-head>div:first-child{flex-basis:100%}.workout-launchers .actions{grid-template-columns:1fr}.card{padding:14px}.quick-grid .btn{font-size:13px;padding:10px 8px}.field-grid{grid-template-columns:1fr}}

@media screen and (max-width:740px){.workout-launchers.has-session{display:flex;align-items:center;gap:12px;padding:14px 16px}.workout-launchers.has-session>div{min-width:0;flex:1}.workout-launchers.has-session .eyebrow{font-size:9px;margin-bottom:6px}.workout-launchers.has-session h3{font-size:16px;line-height:1.5}.workout-launchers.has-session h3 span{margin-left:0;display:block;font-size:13px}.workout-launchers.has-session>.btn{margin:0;width:auto;max-width:45%;min-height:48px;padding:10px 12px;font-size:13px}}
