/* Clean mobile interface: content first, system typography, restrained controls. */
:root{--bg:#f5f5f7;--card:#fff;--txt:#1d1d1f;--dim:#707078;--accent:#0071e3;--accent2:#0066cc;--line:#e5e5ea;--danger:#c9342c;--ok:#248a3d;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-padding-top:70px}body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.3;cursor:not-allowed}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #0071e380;outline-offset:3px}a{color:var(--accent2);text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h2{font-size:32px;font-weight:700;line-height:1.16}h3{font-size:17px;font-weight:650}p{line-height:1.6}p+p{margin-top:14px}img{max-width:100%}.muted,.small{color:var(--dim)}.small{font-size:13px}.grow{flex:1;min-width:0}.footnote{font-size:12px;color:var(--dim);margin:24px 0}.eyebrow{font-size:11px;color:var(--dim)}.btn{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;padding:14px 18px;background:var(--accent);border-radius:14px;color:white;font-weight:600;font-size:16px;border:1px solid transparent}.btn:active{filter:brightness(.93)}.btn.ghost{background:#eaf3ff;color:var(--accent2)}.text-btn{min-height:44px;padding:10px 2px;color:var(--accent2);font-size:14px;font-weight:500}.danger-text{color:var(--danger)}.icon-btn{width:44px;height:44px;display:grid;place-items:center;flex:none;font-size:26px;color:var(--accent2);border-radius:50%}.icon-btn svg{width:22px;height:22px}.brand-mark{display:none}#topbar{position:sticky;top:0;z-index:30;display:flex;gap:5px;align-items:center;margin:auto;max-width:520px;padding:8px 20px;background:#f5f5f7ed;backdrop-filter:blur(20px);min-height:60px}#topTitle{flex:1;min-width:0}#topTitle h1{font-size:15px;font-weight:600;letter-spacing:-.02em}#topSub{font-size:11px;color:var(--dim);display:block}#app{max-width:520px;margin:auto;padding:12px 20px 108px;min-height:calc(100dvh - 60px)}#tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:520px;width:100%;z-index:40;background:#fafafaf2;backdrop-filter:blur(22px);border-top:1px solid #d2d2d780;display:flex;justify-content:space-around;padding:6px 10px calc(6px + env(safe-area-inset-bottom))}#tabbar button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:51px;min-width:80px;color:#8e8e93;font-size:10px;font-weight:500}#tabbar svg{width:23px;height:23px}#tabbar .active{color:var(--accent)}.page-title{margin:8px 0 22px}.page-title p{font-size:14px;color:var(--dim);margin-bottom:6px}.page-title h2{overflow-wrap:anywhere}.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-row h3{min-width:0}.section-row .text-btn{flex:none}.week-arrows{display:flex}.week-arrows .icon-btn{width:32px}.section-row:has(.week-arrows) h3{font-size:14px;font-weight:500;color:var(--dim)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:4px 0 20px}.week-cell{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0;min-height:68px;border-radius:14px;font-size:11px;color:var(--dim)}.week-cell b{font-size:18px;font-weight:500;color:var(--txt)}.week-cell i{height:4px;width:4px;border-radius:50%;background:transparent}.week-cell.planned{background:#e7f1ff;color:var(--accent2)}.week-cell.planned b{color:var(--accent2)}.week-cell.planned i{background:var(--accent)}.week-cell.today{box-shadow:inset 0 0 0 1px #0071e3}.session-card{background:white;border-radius:22px;padding:20px;overflow:hidden}.session-card p{font-size:13px;color:var(--dim);margin-top:3px}.badge{font-size:11px;background:#f2f2f7;color:var(--dim);padding:5px 9px;border-radius:20px;white-space:nowrap}.home-animation{margin:8px -5px 12px;display:flex;justify-content:center;background:#f7f5ed;border-radius:16px;overflow:hidden}.home-animation .loop-animation{width:100%;height:210px;object-fit:contain;border-radius:0}.loop-animation{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f7f5ed;border-radius:18px}.schedule-heading{margin-top:19px;margin-bottom:7px}.group-list{background:#fff;border-radius:16px;padding:0 16px}.agenda-row{width:100%;min-height:76px;display:flex;align-items:center;text-align:left;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.agenda-row:last-child{border:0}.agenda-row b{font-size:15px;font-weight:600}.agenda-row small{display:block;font-size:13px;color:var(--dim);margin-top:3px}.arrow{font-size:22px;color:#b1b1b7}.library-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;border-radius:16px;background:#fff;padding:15px 17px;text-align:left;font-size:15px;margin-top:16px}.library-link>span:last-child{color:var(--dim);font-size:14px}.library-link b{font-size:22px;font-weight:400;margin-left:8px}.demo-link{display:block;text-align:center;color:var(--dim);font-size:12px;padding:20px 0}.gap,.nudge{background:#fff5e5;color:#755524;padding:14px 16px;border-radius:13px;font-size:13px;line-height:1.6;margin:16px 0}.gap summary{font-weight:600}.gap p{margin-top:12px}
body[data-view=day]{background:#fff}body[data-view=day] #app,body[data-view=day] #topbar{background:#fff}body[data-view=day] #app{padding-top:0}.workout-top{display:flex;justify-content:space-between;align-items:center;color:var(--dim);font-size:13px;margin-bottom:4px}.workout h2{font-size:27px;line-height:1.15;letter-spacing:-.035em}.muscle{font-size:14px;color:var(--dim);margin-top:6px}.movement-stage{position:relative;margin:18px -8px 16px;border-radius:20px;overflow:hidden;background:#f7f5ed}.movement-stage .loop-animation{width:100%;border-radius:0}.expand-btn{position:absolute;right:12px;bottom:12px;background:#ffffffdb;backdrop-filter:blur(10px);border-radius:50%;width:40px;height:40px;font-size:25px;color:#5e5e63;box-shadow:0 1px 5px #00000008}.dose-line{font-size:17px;font-weight:600;letter-spacing:-.025em;margin:14px 0 8px}.movement-cue{font-size:14px;line-height:1.5;color:var(--dim)}.movement-tools{display:flex;justify-content:space-between;gap:12px;margin:3px 0 10px}.movement-tools .text-btn{font-size:13px}.step-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.step-controls span{font-size:12px;color:var(--dim)}.step-controls button{font-size:13px}.session-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:12px}.record-details{border-top:1px solid var(--line);margin:8px 0 16px;padding-top:8px}.record-details summary{font-size:13px;color:var(--dim)}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.record-grid label{font-size:13px}.record-grid input{text-align:center}
.welcome{padding:18px 0}.welcome h2{font-size:38px;letter-spacing:-.05em;line-height:1.13}.welcome>p{font-size:16px;color:var(--dim);margin-top:16px}.welcome .loop-animation{margin:26px auto;width:100%;max-height:320px}.welcome .demo-link{color:var(--accent2);font-size:14px}.quiz{padding:10px 0}.quiz-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--dim);letter-spacing:.05em}.quiz-top b{font-weight:500;letter-spacing:0}.qdots{display:flex;gap:5px;margin:16px 0 30px}.qdots i{height:3px;background:#e5e5ea;flex:1;border-radius:5px}.qdots i.on{background:var(--accent)}.quiz h2{font-size:30px;line-height:1.15;margin-bottom:14px}.quiz p.muted{font-size:14px}.field-label{display:block;font-size:14px;font-weight:500;margin:20px 0}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;max-width:100%;min-height:52px;border:1px solid #dedee3;background:white;border-radius:12px;padding:13px;color:var(--txt);font-size:16px;margin-top:7px}textarea{resize:vertical;min-height:100px}input:focus,select:focus,textarea:focus{outline:2px solid #0071e370;outline-offset:1px}fieldset{border:0;padding:0;margin:25px 0;min-width:0}legend{font-size:15px;font-weight:600;margin-bottom:12px;line-height:1.5}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{display:flex;align-items:center;gap:12px;background:white;border:1px solid #e5e5ea;border-radius:15px;padding:18px 14px;margin:10px 0;cursor:pointer}.choice.chosen{background:#f4f9ff;border-color:var(--accent)}.choice input{width:20px;height:20px;accent-color:var(--accent);flex:none}.choice b{font-size:15px;font-weight:600}.choice small{display:block;font-size:12px;color:var(--dim);line-height:1.5;margin-top:5px}.two .choice{padding:14px 10px;gap:8px}.two .choice b{font-size:13px}.check-list label{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid var(--line);padding:17px 0;cursor:pointer;font-size:14px;line-height:1.6}.check-list input{width:22px;height:22px;accent-color:var(--accent);flex:none;margin:2px 0}.frequency{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:22px 0}.frequency .choice{margin:0;min-height:83px}.frequency .choice:last-child{grid-column:1/-1}.frequency .choice b{font-size:18px}.quiz form>.btn{margin:26px 0 6px}#quiz-error,#day-error{color:var(--danger);font-size:14px;margin:16px 0}details{font-size:13px;line-height:1.7}details p{margin:12px 0}summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--dim)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.stat{background:white;border-radius:18px;padding:19px}.stat:first-child{grid-column:1/-1;display:flex;align-items:center;gap:20px}.stat b{display:block;font-size:40px;letter-spacing:-.06em;font-weight:600;color:var(--accent)}.stat:first-child b{font-size:54px}.stat span{font-size:13px;color:var(--dim)}.kartu6{background:white;border-radius:18px;padding:20px;margin:16px 0}.kartu6 p{color:var(--dim);font-size:14px;margin:10px 0 16px}.kartu6 a{font-size:13px}.weekly-chart{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.weekly-chart>div{text-align:center;font-size:14px}.chart-track{height:100px;background:#f2f2f7;display:flex;align-items:flex-end;border-radius:8px;overflow:hidden;margin:8px 0}.chart-track i{width:100%;min-height:3px;background:#0071e3;border-radius:8px}.weekly-chart small{font-size:11px}.history-card{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left}.history-card small{font-size:12px;color:var(--dim)}.history-card b{display:block;font-size:17px;margin:7px 0}.history-card span span{font-size:13px;color:var(--dim)}.history-line{border-bottom:1px solid var(--line);padding:16px 0;font-size:14px}.history-line small{display:block;color:var(--dim);font-size:12px;margin-top:5px}.empty-state{text-align:center;padding:40px 10px;color:var(--dim)}.empty-state>span{font-size:45px;color:#aeaeb2}.empty-state h3{color:var(--txt);margin:18px 0 12px}.empty-state p{font-size:14px;margin-bottom:25px}.library-item,.replacement{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 0;border-bottom:1px solid var(--line)}.library-item img,.replacement img{width:65px;height:70px;flex:none;object-fit:contain;border-radius:12px;background:#f7f5ed}.library-item>span:nth-child(2),.replacement>span:nth-child(2){flex:1;min-width:0}.library-item b,.replacement b{font-size:14px;line-height:1.5}.library-item small,.replacement small{display:block;color:var(--dim);font-size:12px;line-height:1.5;margin:3px 0}.library-item em{font-style:normal;font-size:11px;color:var(--dim);display:block;margin-top:5px}#library-group{margin:12px 0}
#sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,520px);max-width:100%;max-height:92dvh;overflow:auto;border:0;border-radius:23px 23px 0 0;background:var(--bg);color:var(--txt);padding:0 20px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -10px 50px #0001;z-index:100}#sheet::backdrop{background:#0005;backdrop-filter:blur(4px)}.sheet-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bg);padding:17px 0 15px;margin-bottom:18px;border-bottom:1px solid var(--line)}.sheet-head h2{font-size:21px;line-height:1.25;letter-spacing:-.025em}.sheet-head .icon-btn{width:36px;height:36px;background:#e9e9ee;color:#73737a;font-size:25px}#sheet-content>p{font-size:14px}#sheet-content>.btn{margin-top:22px}#sheet-content>.loop-animation{margin-bottom:16px}body:has(#sheet[open]){overflow:hidden}#toast{position:fixed;bottom:94px;left:50%;transform:translate(-50%,10px);z-index:150;max-width:90vw;width:max-content;padding:14px 18px;border-radius:14px;background:#303034ee;color:white;font-size:13px;opacity:0;pointer-events:none;transition:.15s}#toast.show{opacity:1;transform:translate(-50%,0)}#restBar{position:fixed;bottom:calc(74px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:480px;z-index:60;background:#f0f6ff;border:1px solid #ccdff8;border-radius:17px;box-shadow:0 5px 20px #0001;padding:10px}.rest-inner{display:flex;align-items:center;gap:8px}.rest-inner button{min-width:44px;min-height:44px;border-radius:11px;background:white;font-size:13px;color:var(--accent2)}.rest-time{flex:1;text-align:center}.rest-time b{display:block;font-size:24px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}.rest-time small{font-size:10px;color:var(--dim)}.rest-inner .rest-stop{padding:0 12px;background:var(--accent);color:white}
@media(min-width:700px){body{background:#eaeaee}#app,#topbar{background:var(--bg)}body[data-view=day]{background:#eaeaee}}
@media(max-width:360px){#app{padding-left:16px;padding-right:16px}#topbar{padding-left:16px;padding-right:16px}.page-title h2{font-size:29px}.session-card{padding:16px}.badge{font-size:10px}.workout h2{font-size:25px}.movement-stage{margin-left:-6px;margin-right:-6px}.week-cell{font-size:10px}.week-cell b{font-size:17px}.step-controls button{font-size:12px}.quiz h2{font-size:28px}.two .choice b{font-size:12px}.movement-cue{font-size:13px}.home-animation .loop-animation{height:190px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Scrollable workout: movement left, prescribed count right. */
body[data-view=day] #app{padding-left:16px;padding-right:16px}.workout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 12px;min-height:52px}.workout-toolbar>span{font-size:13px;color:var(--dim)}.btn.compact{width:auto;min-height:44px;padding:10px 18px;font-size:14px;border-radius:12px}.exercise-group{font-size:12px;font-weight:500;color:var(--dim);letter-spacing:0;margin:24px 4px 10px}.exercise-group:first-child{margin-top:10px}.motion-card{background:#f8f8fa;border:1px solid #ededf1;border-radius:20px;margin-bottom:12px;overflow:hidden;scroll-margin-top:75px}.motion-heading{display:flex;align-items:center;gap:9px;padding:8px 10px 4px 14px;min-height:52px}.motion-index{font-size:11px;color:#919198;font-variant-numeric:tabular-nums;flex:none}.motion-heading h3{flex:1;min-width:0;font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.02em}.motion-menu{width:36px;min-height:44px;flex:none;color:#8e8e93;font-size:13px;letter-spacing:1px}.motion-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:center;gap:12px;padding:0 14px 14px}.motion-image{display:block;position:relative;width:100%;aspect-ratio:1;padding:0;overflow:hidden;border-radius:14px;background:#f7f5ed}.motion-image .loop-animation{width:100%;height:100%;border-radius:0;object-fit:contain}.motion-image>span{position:absolute;bottom:4px;right:6px;font-size:17px;color:#7b7b80;background:#ffffffba;border-radius:50%;width:23px;height:23px;line-height:23px}.motion-count{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.motion-count strong{display:block;font-size:36px;line-height:1.05;letter-spacing:-.065em;font-weight:600;color:#1d1d1f;font-variant-numeric:tabular-nums}.motion-count>span{font-size:13px;line-height:1.4;color:#66666e;max-width:100%}.motion-count small{font-size:11px;color:#85858d;line-height:1.45;margin-top:5px}.motion-done{min-height:40px;border-radius:10px;background:#e9f2ff;color:var(--accent2);font-size:12px;padding:8px 12px;margin-top:9px}.motion-done.checked{background:#e6f4e9;color:var(--ok)}.motion-card.is-done{border-color:#cee4d2}.adjustment-note{display:block;width:100%;text-align:left;min-height:40px;padding:9px 14px;font-size:11px;color:#886424;border-top:1px solid #eae7df;background:#fbf6ed}.option-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:58px;width:100%;border-bottom:1px solid var(--line);text-align:left;font-size:15px}.option-list button span{color:#b1b1b7}.scroll-workout>.btn{margin-top:22px}.scroll-workout .gap{margin-top:20px}
@media(max-width:360px){.motion-row{gap:8px;padding:0 10px 12px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.motion-heading{padding-left:11px;gap:6px}.motion-heading h3{font-size:14px}.motion-count strong{font-size:31px}.motion-count>span{font-size:12px}.motion-count small{font-size:10px}.motion-menu{width:30px}.motion-done{font-size:11px;padding:7px 9px}.motion-card{border-radius:17px}}
/* Actual repetitions and sets are directly editable beside every animation. */
.motion-count{align-self:stretch}.count-editor{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}.count-caption{font-size:10px;color:#85858d;margin-bottom:2px}.count-editor .reps-entry,.count-editor .sets-entry{display:flex;align-items:center;justify-content:center;gap:6px;width:100%}.count-editor .reps-entry input{width:68px;min-height:53px;margin:0;padding:4px 3px;text-align:center;font-size:30px;font-weight:600;letter-spacing:-.05em;background:#fff;border:1px solid #d4e3f8;border-radius:12px;color:var(--txt);appearance:textfield;-moz-appearance:textfield}.count-editor .sets-entry input{width:46px;min-height:35px;margin:0;padding:4px;text-align:center;font-size:17px;background:#fff;border:1px solid #e1e1e7;border-radius:9px;appearance:textfield;-moz-appearance:textfield}.count-editor input::-webkit-inner-spin-button,.count-editor input::-webkit-outer-spin-button{appearance:none;margin:0}.count-editor label>span{font-size:11px;color:#73737b}.count-editor input[readonly]{cursor:pointer}.count-editor input::placeholder{color:#b7bcc5;font-weight:400}.count-editor input[aria-invalid=true]{border-color:var(--danger)}.count-prescription{font-size:11px;color:#8b8b92;line-height:1.5;margin:0;padding:0 14px 12px}.count-save{display:block;min-height:12px;font-size:9px;line-height:1.3;color:#438453}.last-count{font-size:10px;line-height:1.35;color:#85858d;margin-top:3px}.motion-count .motion-done{margin-top:3px;min-height:35px;padding:6px 10px}.count-editor .reps-entry:has(span:first-child){min-width:0}
@media(max-width:360px){.count-editor .reps-entry input{width:55px;min-height:48px;font-size:27px}.count-editor .reps-entry,.count-editor .sets-entry{gap:5px}.count-editor label>span{font-size:10px}.count-editor .sets-entry input{width:41px}.motion-row{gap:10px}.count-prescription{font-size:10px;padding:0 11px 11px}}
/* Dumbell-style set rows: one repetition field for each set. */
.motion-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}.motion-count{justify-content:flex-start;padding-top:4px}.count-editor.set-editor{gap:0;align-items:stretch}.set-labels,.set-row{display:grid;grid-template-columns:23px minmax(0,1fr) 32px;gap:4px;align-items:center}.set-labels{font-size:10px;color:#929298;margin-bottom:5px;text-align:center}.set-row{min-height:48px;margin-bottom:4px}.set-number{font-size:12px;color:#8e8e93}.set-editor .set-row input{width:100%;min-width:0;min-height:44px;height:44px;margin:0;padding:5px;text-align:center;font-size:20px;font-weight:500;border:1px solid #dde4ef;border-radius:10px;background:#fff;appearance:textfield;-moz-appearance:textfield;letter-spacing:-.025em}.set-editor .set-row input[readonly]{cursor:pointer}.set-editor .set-row input[aria-invalid=true]{border-color:var(--danger)}.set-tick{width:32px;min-height:44px;font-size:23px;color:#b6bec9;border-radius:9px;padding:0}.set-finished .set-tick{color:#248a3d}.set-finished input{background:#f2faf4!important;border-color:#cee4d2!important}.set-add-row{display:flex;align-items:center;justify-content:center;gap:3px}.add-set{min-height:40px;font-size:11px;color:var(--accent2);white-space:nowrap;padding:7px 2px;flex:1}.remove-set{width:26px;min-height:40px;font-size:20px;color:#93939b;flex:none}.set-editor .count-save{min-height:11px;font-size:9px}.motion-image{align-self:start;position:sticky;top:75px}.set-editor .last-count{font-size:10px;text-align:center}.motion-card{overflow:visible}.motion-image{position:relative;top:auto}
@media(max-width:360px){.motion-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px}.set-labels,.set-row{grid-template-columns:18px minmax(0,1fr) 27px;gap:3px}.set-tick{width:27px}.set-editor .set-row input{font-size:18px}.add-set{font-size:10px}.set-number{font-size:11px}}

/* Direct repetition controls and quiz-only companion agreement. */
.rep-stepper{display:flex;align-items:center;border:1px solid #dde4ef;border-radius:10px;background:#fff;min-width:0;overflow:hidden}.rep-stepper button{width:24px;flex:none;min-height:44px;padding:0;color:var(--accent2);font-size:19px}.set-editor .rep-stepper input{border:0;border-radius:0;flex:1;width:0;padding:3px 0;font-size:19px}.rep-stepper input::-webkit-inner-spin-button,.rep-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.set-finished .rep-stepper{border-color:#cee4d2;background:#f2faf4}.set-add-row .remove-set{width:auto;padding:0 5px;font-size:11px;white-space:nowrap}.remove-set:disabled{opacity:.35}.companion-agreement{display:flex;gap:10px;align-items:center;margin-top:24px;font-size:14px}.companion-agreement input{width:20px;height:20px;flex:none}.set-row{grid-template-columns:18px minmax(0,1fr) 26px}.set-labels{grid-template-columns:18px minmax(0,1fr) 26px}.set-tick{width:26px}@media(max-width:360px){.rep-stepper button{width:20px}.set-editor .rep-stepper input{font-size:17px}.set-row,.set-labels{grid-template-columns:14px minmax(0,1fr) 24px}.set-tick{width:24px}}
/* Quiet, legible mobile system. White surfaces, ink text, one blue accent. */
:root{--bg:#f4f7fb;--txt:#192c43;--dim:#58677a;--accent:#245bc1;--accent2:#204fa8;--line:#dde5ee;--ok:#256642}
body{font-size:17px}h1,h2,h3{letter-spacing:-.025em}#topbar{background:#f4f7fbf0;padding:10px 20px;min-height:66px}#topTitle h1{font-size:17px;font-weight:700}#topSub{font-size:12px;color:var(--dim)}.brand-mark{display:block;width:29px;height:29px;margin-right:7px}body[data-view=day] .brand-mark{display:none}#app{padding-top:18px}#tabbar{background:#fffffff5;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));border-color:var(--line)}#tabbar button{font-size:13px;color:#596a7c;min-height:55px;gap:4px}#tabbar .active{color:var(--accent2);font-weight:700}#tabbar .active svg{background:#eaf0fc;box-shadow:0 0 0 7px #eaf0fc;border-radius:4px}.btn{min-height:56px;font-size:17px;border-radius:16px;letter-spacing:0}.btn.ghost{background:#e8effb;color:var(--accent2)}.text-btn{font-size:15px;font-weight:600;min-height:46px}.icon-btn{width:44px;min-height:44px}.dashboard-heading{margin:4px 0 16px}.dashboard-heading p{font-size:12px;letter-spacing:.11em;font-weight:700;color:var(--accent2);margin-bottom:8px}.dashboard-heading h2{font-size:32px;line-height:1.2}.profile-pill{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;text-align:left;background:#e8effb;color:#204d96;border-radius:12px;padding:10px 13px;min-height:46px;font-size:14px;font-weight:650;margin-bottom:20px;width:100%}.profile-pill span{font-weight:400;color:#415d85}.profile-pill b{font-size:19px;margin-left:auto}.calendar-panel{background:white;border:1px solid #e5ebf3;border-radius:24px;padding:12px 15px 18px}.calendar-panel .section-row h3{font-size:14px;color:var(--txt);font-weight:600}.week-arrows .icon-btn{width:34px;min-height:44px}.week-strip{margin:8px -4px 16px;gap:3px}.week-cell{min-height:79px;font-size:13px;gap:4px;border-radius:13px;padding:8px 0;color:#546276}.week-cell b{font-size:20px;font-weight:650}.week-cell.planned{background:#eaf0fc;color:var(--accent2)}.week-cell.planned b{color:var(--accent2)}.week-cell.today{box-shadow:inset 0 0 0 1.5px var(--accent)}.week-cell i{width:15px;height:15px;font-size:12px;font-style:normal;display:grid;place-items:center;background:none}.week-cell.planned i:empty:after{content:'';width:5px;height:5px;background:var(--accent);border-radius:50%}.week-cell.week-done{background:#e6f3eb}.week-cell.week-done b,.week-cell.week-done i{color:var(--ok)}.week-completion{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--dim);gap:8px}.week-completion b{color:var(--txt)}.completion-track{margin-top:10px;border-radius:5px;height:6px;background:#e8edf4;overflow:hidden}.completion-track i{display:block;height:100%;background:var(--accent);border-radius:5px}.next-workout{display:grid;grid-template-columns:1.2fr 1fr;gap:14px 8px;background:#eaf0fc;border:1px solid #dfe8f8;border-radius:24px;padding:20px;margin-top:18px;overflow:hidden}.next-workout-content{align-self:center;min-width:0}.section-kicker{font-size:11px;letter-spacing:.09em;font-weight:700;color:#456288}.next-workout h3{font-size:26px;line-height:1.15;margin:9px 0}.next-workout p{font-size:14px;color:#4c6080}.support-chip{font-size:12px;color:#435b7b;display:block;margin-top:11px}.next-workout-image{align-self:center;border-radius:18px;overflow:hidden}.next-workout-image img{border-radius:0}.next-workout .btn{grid-column:1/-1;justify-content:space-between;box-shadow:0 5px 12px #245bc115}.next-workout .btn span{font-size:24px;line-height:1}.dashboard-section{margin:22px 0 9px}.dashboard-section h3{font-size:18px}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mini-stats>div{background:white;border:1px solid #e5ebf3;border-radius:20px;padding:18px}.mini-stats b{font-size:32px;line-height:1.2;font-weight:700;letter-spacing:-.04em}.mini-stats b span{font-size:16px;letter-spacing:0;font-weight:500;color:var(--dim)}.mini-stats p{font-size:14px;color:var(--dim);margin-top:7px}.group-list{border:1px solid #e5ebf3;border-radius:20px;padding:0 15px}.agenda-row{gap:14px;min-height:86px}.agenda-row b{font-size:17px}.agenda-row small{font-size:14px}.agenda-day{display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:48px;padding:6px;border-radius:12px;background:#f0f4fb;color:var(--accent2);font-size:12px}.agenda-day b{font-size:23px;line-height:1.2}.library-link{font-size:16px;min-height:62px;border:1px solid #e5ebf3;border-radius:18px}.library-link>span:last-child{font-size:15px}.period-label{font-size:14px;color:var(--dim);margin-top:-3px;margin-bottom:22px}.activity-hero{background:#203f72;color:#fff;border-radius:24px;padding:24px}.activity-hero>span{font-size:16px;color:#e3ecfa}.activity-hero>b{display:flex;align-items:baseline;gap:12px;font-size:64px;line-height:1.2;font-weight:650;letter-spacing:-.055em;margin-top:3px}.activity-hero small{font-size:21px;letter-spacing:0;font-weight:400;color:#e3ecfa}.activity-hero p{font-size:14px;color:#e3ecfa;margin-top:8px}.progress-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 24px}.progress-metrics>div{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e5ebf3;border-radius:16px;padding:17px 8px;text-align:center}.progress-metrics b{font-size:28px;line-height:1.2;font-weight:700}.progress-metrics span{font-size:13px;line-height:1.4;color:var(--dim)}.chart-panel,.movement-history{background:#fff;border:1px solid #e5ebf3;border-radius:22px;padding:20px;margin-bottom:20px}.chart-panel h3,.movement-history h3{font-size:18px}.chart-panel .section-row>span{font-size:13px;color:var(--dim)}.activity-chart{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:23px}.chart-column{text-align:center}.chart-column>b{font-size:17px;display:block;margin-bottom:9px;color:#4f627f}.activity-bar{height:100px;background:#f0f4fa;border-radius:9px;display:flex;align-items:flex-end;overflow:hidden}.activity-bar i{display:block;width:100%;background:#b6c8e7;border-radius:9px;min-height:0}.chart-column.current i{background:var(--accent)}.chart-column.current>b{color:var(--accent2)}.chart-column>span{display:block;font-size:13px;color:var(--dim);margin-top:10px}.movement-history select{font-size:16px;margin:16px 0 4px;background:#f8fafd;border-color:var(--line)}.movement-record{padding:16px 0;border-bottom:1px solid var(--line)}.movement-record:last-child{border:0;padding-bottom:0}.movement-record>span{display:block;color:var(--dim);font-size:14px;margin-bottom:4px}.movement-record b{font-size:23px;overflow-wrap:anywhere}.movement-record small{font-size:13px;color:var(--dim);font-weight:400}.no-records{color:var(--dim);font-size:15px;margin-top:13px}.stats-note{font-size:13px;color:var(--dim);margin:16px 6px 0;text-align:center}
/* Quiz: neutral language, readable options, a single companion agreement. */
.quiz{padding-top:0}.quiz-top{font-size:13px;letter-spacing:.035em}.qdots{margin:16px 0 28px;gap:6px}.qdots i{height:4px}.quiz h2{font-size:32px;line-height:1.2}.quiz p.muted{font-size:16px}.quiz-welcome-mark{width:64px;height:64px;display:grid;place-items:center;color:var(--accent2);background:#e6eefb;border-radius:20px;margin:0 0 22px}.quiz-welcome-mark svg{width:43px;height:43px}.field-label{font-size:16px;margin:24px 0}.optional{font-weight:400;color:var(--dim);font-size:14px}.companion-agreement{font-size:16px;line-height:1.5;padding:17px;background:#eaf0fc;border-radius:16px;margin-top:24px;gap:13px}.companion-agreement input{width:24px;height:24px;accent-color:var(--accent)}.quiz-safety{font-size:14px;margin-top:6px}.quiz-safety summary{color:var(--dim)}.choice{border-color:#dbe3ee;border-radius:17px;min-height:64px}.choice.chosen{background:#edf3ff;border-color:var(--accent)}.choice b,.two .choice b{font-size:16px}.choice small{font-size:14px;color:var(--dim)}legend{font-size:17px}.check-list label{font-size:16px}.small{font-size:14px}details{font-size:14px}.quiz form>.btn{margin-top:22px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:17px;border-color:#cbd7e6}input:focus,select:focus,textarea:focus{outline-color:#245bc175}
/* Workout: two columns remain; each set gets a large, distinct control row. */
body[data-view=day]{background:var(--bg)}body[data-view=day] #app,body[data-view=day] #topbar{background:var(--bg)}.motion-card{background:#fff;border:1px solid #dfe6ef;border-radius:22px;margin-bottom:16px}.motion-heading{padding:12px 12px 10px 16px;min-height:60px}.motion-heading h3{font-size:18px;line-height:1.3;font-weight:650}.motion-menu{color:#536781;width:40px;font-size:16px}.motion-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:0 14px 14px;align-items:start}.motion-image{border-radius:16px;margin-top:6px}.motion-count{padding-top:0}.count-title{font-size:14px;color:#4d6079;text-align:left;margin-bottom:7px;font-weight:600}.set-row{grid-template-columns:minmax(0,1fr) 40px;gap:0 4px;margin-bottom:12px;min-height:0;align-items:center}.set-number{font-size:14px;color:#4d6079;text-align:left;grid-column:1;grid-row:1}.set-tick{grid-column:2;grid-row:1;min-height:36px;width:40px;color:#5b7392;font-size:25px}.rep-stepper{grid-column:1/-1;grid-row:2;border:1px solid #b9c9df;border-radius:12px;min-height:48px;background:#fafdff}.rep-stepper button{width:40px;min-height:48px;font-size:24px;background:#edf3fc;color:var(--accent2)}.set-editor .rep-stepper input{height:48px;min-height:48px;font-size:23px;font-weight:650;background:#fafdff;letter-spacing:-.025em}.set-add-row{gap:8px}.add-set,.set-add-row .remove-set{flex:1;min-height:44px;width:auto;font-size:14px;font-weight:600;padding:7px 0;border-radius:10px;white-space:nowrap}.add-set{background:#eaf0fc;color:var(--accent2)}.set-add-row .remove-set{background:#f0f3f7;color:#4d6079}.set-editor .count-save{font-size:12px;min-height:16px;color:var(--ok);margin-top:6px}.set-editor .last-count{font-size:13px;color:var(--dim);margin-top:8px}.count-prescription{font-size:14px;color:#53647a;padding:1px 16px 16px;line-height:1.5}.exercise-group{font-size:15px;font-weight:650;color:#4d6079;margin:22px 4px 12px}.workout-toolbar>span{font-size:15px}.btn.compact{font-size:16px;min-height:48px}.adjustment-note{font-size:13px;min-height:44px}.history-card small,.history-card span span,.history-line small{font-size:14px}.history-card b{font-size:19px}.history-line{font-size:16px}.kartu6 p{font-size:16px}.library-item b,.replacement b{font-size:16px}.library-item small,.replacement small{font-size:14px}.library-item em{font-size:13px}.sheet-head h2{font-size:23px}#sheet-content>p{font-size:16px}
@media(min-width:700px){body,body[data-view=day]{background:#e8edf5}#app,#topbar{background:var(--bg)}}
@media(max-width:360px){#app{padding-left:14px;padding-right:14px}#topbar{padding-left:14px;padding-right:14px}#topTitle h1{font-size:16px}.dashboard-heading h2{font-size:28px}.profile-pill{font-size:13px;gap:4px 8px}.calendar-panel{padding:10px 11px 16px}.calendar-panel .section-row h3{font-size:13px}.week-arrows .icon-btn{width:29px}.week-cell{font-size:12px}.week-cell b{font-size:19px}.next-workout{padding:16px;grid-template-columns:1.15fr 1fr}.next-workout h3{font-size:23px}.next-workout p{font-size:13px}.support-chip{font-size:12px}.mini-stats>div{padding:16px 12px}.mini-stats p{font-size:13px}.dashboard-section h3{font-size:17px}.dashboard-section .text-btn{font-size:14px}.chart-panel,.movement-history{padding:16px}.activity-chart{gap:14px}.chart-panel .section-row{gap:8px;flex-wrap:wrap}.progress-metrics{gap:6px}.progress-metrics span{font-size:12px}.motion-row{padding:0 10px 12px;gap:10px}.motion-heading{padding-left:12px}.motion-heading h3{font-size:17px}.rep-stepper button{width:33px}.set-editor .rep-stepper input{font-size:21px}.set-row{grid-template-columns:minmax(0,1fr) 36px}.set-tick{width:36px}.add-set,.set-add-row .remove-set{font-size:13px}.count-prescription{font-size:13px;padding:0 12px 14px}.quiz h2{font-size:29px}.two .choice b{font-size:15px}}

.week-cell.planned i{background:transparent}.rep-stepper button{width:44px;min-height:48px}@media(max-width:360px){.motion-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.rep-stepper button{width:44px}}

.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-fields .field-label{margin-top:0}.profile-fields input{min-width:0;width:100%}.profile-fields .optional{display:block;margin:4px 0 8px}

/* Days lead the weekly dashboard; dates are secondary context. */
.calendar-panel .week-period h3{font-size:19px;font-weight:700;color:var(--txt)}.week-period small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--dim)}.week-strip{margin-top:18px;margin-bottom:18px}.week-strip .week-cell{min-height:66px;justify-content:center;gap:7px;padding:9px 0}.week-strip .week-cell b{font-size:16px;font-weight:700;letter-spacing:-.025em}.agenda-row .agenda-day{min-width:76px;min-height:48px;padding:10px 7px}.agenda-row .agenda-day b{font-size:16px;line-height:1.35}.week-arrows .icon-btn{width:44px;min-height:44px}@media(max-width:360px){.calendar-panel .week-period h3{font-size:18px}.week-period small{font-size:12px}.week-strip .week-cell b{font-size:14px}.agenda-row{gap:10px}.agenda-row .agenda-day{min-width:68px}.agenda-row .agenda-day b{font-size:15px}.week-arrows .icon-btn{width:36px}}

.home-weight{display:flex;align-items:center;justify-content:space-between;padding:18px 4px;border-bottom:1px solid var(--line);font-size:15px;color:var(--dim)}.home-weight b{font-size:24px;color:var(--txt)}.home-weight small{font-size:14px;font-weight:500;color:var(--dim)}

/* Home: greeting, weekly plan, movement preview and editable weight. */
body[data-view=home]{background:#f5f7fa}.home-greeting{padding:6px 2px 25px}.home-greeting p{font-size:17px;color:var(--dim);margin:0 0 5px}.home-greeting h2{font-size:34px;line-height:1.2;margin:0 0 10px;letter-spacing:-.05em}.home-greeting>span{font-size:14px;color:var(--dim)}.home-week{padding:0 2px}.home-week h3{font-size:20px}.home-week .week-strip{margin:14px 0 20px}.home-week .week-cell{background:transparent;min-height:59px}.home-week .week-cell.planned{background:#e9eff8}.home-week .week-cell.selected{background:#245bc1;color:white}.home-week .week-cell.selected b,.home-week .week-cell.selected i{color:white}.home-week .week-cell.selected i:after{background:white}.home-session{background:white;padding:21px 18px 18px;border:1px solid #e4e9f0;border-radius:24px}.home-session .section-row{margin:0}.home-session h3{font-size:30px;margin:4px 0;line-height:1.15}.home-session>p{font-size:15px;color:var(--dim);margin:6px 0 0}.home-total{font-size:14px;color:var(--dim);white-space:nowrap}.home-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.home-gallery figure{margin:0;min-width:0}.home-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f7f5ed;border-radius:13px}.home-gallery figcaption{font-size:13px;line-height:1.4;color:var(--dim);margin-top:8px}.home-session .btn{display:flex;justify-content:space-between;width:100%}.home-session .btn span{font-size:23px}.weight-action{width:100%;text-align:left;background:white;border:1px solid #e4e9f0;border-radius:21px;margin-top:16px;padding:18px 20px}.weight-action>span:first-child{display:grid;gap:4px}.weight-action b{font-size:29px;line-height:1.2}.weight-action>span>small{font-size:12px}.weight-edit{font-size:15px;font-weight:600;color:var(--accent2);background:#eaf0fc;border-radius:12px;padding:12px 14px}.agenda-status{font-size:13px;color:var(--dim);white-space:nowrap}.weight-date{color:var(--dim);font-size:14px;margin:0 0 25px}.weight-label{display:block;font-size:16px}.weight-stepper{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:10px;margin:12px 0 20px}.weight-stepper input{width:100%;min-width:0;text-align:center;font-size:36px;padding:18px 2px;border:1px solid #ccd9ed;border-radius:16px;background:white;color:#192b43}.weight-stepper button{border:0;border-radius:50%;background:#eaf0fc;color:#245bc1;min-height:52px;font-size:27px}.weight-stepper button:focus-visible{outline:3px solid #245bc1}#weight-error{color:#a32121;font-size:15px}.weight-stepper+.btn{width:100%}@media(max-width:360px){.home-session{padding:18px 14px}.home-greeting h2{font-size:30px}.home-gallery{gap:7px}.home-gallery figcaption{font-size:12px}.home-total{font-size:12px}.dashboard-section h3{font-size:17px}.agenda-row small{font-size:13px}}

.active-options{margin:20px 0;padding:18px;background:#eaf0fc;border-radius:18px}.active-options[hidden]{display:none}.active-options>b{font-size:17px}.active-options>p{font-size:14px;color:#4d6079;margin:7px 0 14px}.active-options label{display:flex;align-items:flex-start;gap:12px;padding:12px 0;font-size:16px;line-height:1.5}.active-options input{width:23px;height:23px;flex:none;margin-top:2px;accent-color:#245bc1}.quiz-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.quiz-preview>span{display:grid;gap:7px;font-size:13px;line-height:1.4}.quiz-preview img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:14px;background:#f7f5ed}.path-update{display:flex;width:100%;align-items:center;justify-content:space-between;gap:15px;text-align:left;border:1px solid #cdddf4;background:#eaf0fc;border-radius:15px;padding:15px;margin-bottom:20px;color:#204fa8;font-size:16px}.path-update small{display:block;font-size:13px;margin-top:5px;color:#4d6079}
.swap-filters{display:flex;gap:8px;margin:4px 0 16px}.swap-filters button{flex:1;border:1px solid #cdd9ec;border-radius:12px;background:white;color:#245bc1;padding:12px 8px;min-height:46px;font:600 14px/1.3 inherit}.swap-filters button[aria-pressed=true]{background:#245bc1;color:white;border-color:#245bc1}.replacement .equipment-tag{display:block;color:#176b59;font-size:12px;font-weight:650;margin-bottom:5px}.replacement img{object-fit:contain;background:#f7f5ed}
/* Ringkasan beranda: tiga angka utama, berat bisa diketuk. */
.home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #dce2e9;border-radius:19px;box-shadow:0 3px 12px #192c4305;margin:0 0 18px;overflow:hidden}
.summary-stat{min-width:0;min-height:82px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:12px 4px;text-align:center}
.summary-stat+.summary-stat{border-left:1px solid #dce2e9}
.summary-stat b{position:relative;font-size:25px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:var(--txt)}
.summary-stat b span{font-size:20px;letter-spacing:-.03em}
.summary-stat small{font-size:11px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--dim)}
.summary-weight svg{position:absolute;left:calc(100% + 4px);top:2px;width:12px;height:12px;color:var(--accent2)}
.summary-weight:active{background:#eaf0fc}.summary-weight:focus-visible{outline-offset:-4px}
@media(max-width:360px){.summary-stat b{font-size:23px}.summary-stat b span{font-size:18px}}

/* Preview besar yang bisa digeser; kalender cukup satu di atas. */
.home-week .week-controls{display:flex;align-items:center;gap:8px}.home-week .week-controls .text-btn{font-size:14px;white-space:nowrap}
/* Progres: angka singkat, catatan per set dan minggu yang mudah dibaca. */
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 12px}.progress-heading h2{font-size:30px}.progress-heading select{width:auto;max-width:58%;margin:0;min-height:44px;font-size:14px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:white}
body[data-view=progress] .period-label{margin-bottom:18px}body[data-view=progress] .progress-metrics{margin-bottom:10px}
.progress-help{font-size:13px;color:var(--dim);margin:0 3px 22px;line-height:1.5}.progress-empty{padding:20px;background:white;border-radius:20px;margin-bottom:20px}.progress-empty p{font-size:15px;color:var(--dim);margin:8px 0 15px}
.rep-comparison{display:flex;flex-direction:column;gap:5px;padding:16px;background:#edf3fc;border-radius:14px;margin:14px 0 4px}.rep-comparison>span,.rep-comparison>small{font-size:13px;color:var(--dim)}.rep-comparison>b{font-size:29px;letter-spacing:-.03em}.rep-comparison>b span{font-weight:400;color:var(--dim);margin:0 8px}.rep-comparison>b small{font-size:16px;font-weight:500}
.record-sets{display:flex;flex-wrap:wrap;gap:8px}.record-sets>div{display:flex;flex-direction:column;gap:2px;background:#f4f7fb;padding:9px 12px;border-radius:12px}.record-sets b{font-size:22px}.record-sets b small{font-size:14px}.record-note{font-size:13px;color:var(--dim);margin-top:16px}.activity-chart{gap:10px}.chart-column>b small{font-size:12px;font-weight:400}.chart-column>small{display:block;font-size:11px;color:var(--dim);margin-top:3px}.chart-column>span{font-size:12px}
.weight-current{display:block;font-size:34px;line-height:1.3;margin-top:8px}.weight-current small{font-size:17px;font-weight:400}.weight-change{font-size:15px;margin-top:12px}.weight-records{margin-top:15px;font-size:14px}.weight-records summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--accent2)}.weight-records summary:before{content:'›';margin-right:8px}.weight-records[open] summary:before{content:'⌄'}.weight-records>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.progress-note{width:100%;text-align:left;display:flex;flex-direction:column;gap:5px;padding:15px 0;border-bottom:1px solid var(--line)}.progress-note:last-child{border-bottom:0;padding-bottom:0}.progress-note small,.progress-note span{font-size:14px;line-height:1.5;color:var(--dim);overflow-wrap:anywhere}.progress-note b{font-size:16px}
@media(max-width:360px){.progress-heading h2{font-size:26px}.progress-heading select{font-size:13px}.chart-panel .section-row h3{font-size:17px}}
.movement-record-details{margin-top:12px}.movement-record-details>summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:15px;color:var(--accent2);cursor:pointer}.movement-record-details>summary:before{content:'›'}.movement-record-details[open]>summary:before{content:'⌄'}.chart-column>span{font-size:13px;line-height:1.4}
.set-context-btn{display:block;width:100%;min-height:38px;text-align:left;padding:5px 0 9px;font-size:12px;line-height:1.4;color:var(--accent2);overflow-wrap:anywhere}.set-context-btn span{display:block;color:var(--dim);font-size:11px}.context-for{font-size:15px;color:var(--dim);margin-bottom:14px}.context-all{display:flex;align-items:center;gap:10px;font-size:15px;min-height:48px;margin:15px 0}.context-all input{width:20px;height:20px;flex:none;accent-color:var(--accent)}#context-error{color:var(--danger);font-size:14px;margin:12px 0}.context-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.context-compare-grid>div{min-width:0}.context-compare-grid b{display:block;font-size:27px;margin:5px 0}.context-compare-grid b small{font-size:15px;font-weight:500}.context-compare-grid p{font-size:13px;line-height:1.5;color:var(--txt)}.context-compare-grid>div>small{font-size:12px;color:var(--dim)}.context-comparison>small{margin-top:8px}.record-context{max-width:220px;line-height:1.5}.history-context{color:var(--dim);font-size:12px}

.context-overrides{margin-top:22px;border-top:1px solid #dde4ed;padding-top:16px}.context-overrides summary{cursor:pointer;font-weight:600}.context-overrides .option-list small{display:block;font-size:14px;color:#536477;margin-top:4px}.set-context-btn span{display:block}
html[data-access="locked"] body>:not(#buyer-login):not(#media-download):not(script){display:none!important}
#buyer-login{min-height:100dvh;display:grid;place-items:center;padding:32px 24px;background:#f5f7fb;color:#152a40}
#buyer-login .login-card{width:100%;max-width:380px}
#buyer-login .login-brand{font-size:16px;font-weight:650;margin:22px 0 28px;color:#38516b}
#buyer-login h1{font-size:34px;letter-spacing:-1.1px;line-height:1.15;margin:0 0 14px}
#buyer-login p{font-size:18px;line-height:1.5;color:#536477}
#buyer-login form{margin:30px 0 24px}
#buyer-login label{display:block;font-size:17px;font-weight:600;margin-bottom:10px}
#buyer-login input{display:block;width:100%;box-sizing:border-box;min-height:58px;padding:14px 16px;font:inherit;font-size:18px;background:white;border:1px solid #cdd7e5;border-radius:14px;color:#152a40}
#buyer-login input:focus{outline:3px solid #aacdff;outline-offset:2px}
#buyer-login .btn{width:100%;margin-top:14px;min-height:54px;text-align:center;box-sizing:border-box}
#buyer-login [hidden]{display:none!important}
#buyer-login #buyer-error{font-size:16px;color:#a52820;margin:12px 0}
#buyer-login small{font-size:14px;color:#536477}
#media-download{min-height:100dvh;display:grid;place-items:center;padding:32px 24px;background:#f5f7fb;color:#192c43}
#media-download .download-card{width:100%;max-width:380px}
#media-download h1{font-size:32px;line-height:1.18;letter-spacing:-1px;margin:30px 0 14px}
#media-download p{font-size:18px;line-height:1.5;color:#536477}
#media-download .download-meter{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:36px}
#media-download strong{font-size:42px;font-variant-numeric:tabular-nums;letter-spacing:-1.5px}
#media-download #download-count{font-size:16px;color:#536477}
#media-download progress{display:block;width:100%;height:10px;margin:14px 0;border:0;border-radius:12px;overflow:hidden;appearance:none;background:#dfe7f3}
#media-download progress::-webkit-progress-bar{background:#dfe7f3;border-radius:12px}
#media-download progress::-webkit-progress-value{background:#245bc1;border-radius:12px;transition:width .2s}
#media-download progress::-moz-progress-bar{background:#245bc1;border-radius:12px}
#media-download #download-size{font-size:15px;font-variant-numeric:tabular-nums}
#media-download small{display:block;font-size:14px;color:#536477;margin-top:28px;line-height:1.5}
#media-download .btn{width:100%;margin-top:16px}
#media-download .text-btn{display:block;width:100%;margin-top:8px}
#media-download [hidden]{display:none!important}
#media-download .download-spinner{display:block;width:46px;height:46px;border:4px solid #dfe7f3;border-top-color:#245bc1;border-radius:50%;animation:download-turn .85s linear infinite}
#media-download[data-state="error"] .download-spinner{animation:none;border-color:#dfe7f3;border-top-color:#b36d27}
#media-download[data-state="error"] #download-phase{color:#8a491b}
@keyframes download-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#media-download .download-spinner{animation:download-turn 3s linear infinite}}

.load-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.load-presets button{min-height:44px;padding:8px 17px;border:1px solid #cbd8ea;border-radius:12px;background:#edf3fc;color:#204fa8;font-size:17px;font-weight:600}

/* Efficient automatic loops: only visible movements get a decoder. */
video.loop-animation,video.home-loop{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:inherit;background:#f7f5ed}video::-webkit-media-controls{display:none!important}.home-gallery video{width:100%;aspect-ratio:1;object-fit:contain}.motion-image video{width:100%;height:auto;object-fit:contain}

/* Full-width demonstrations; repetitions follow below the movement. */
body[data-view=day] .motion-row{grid-template-columns:minmax(0,1fr);gap:16px;padding:0 0 16px}
body[data-view=day] .motion-image{width:100%;margin:0;border-radius:0;aspect-ratio:1}
body[data-view=day] .motion-heading h3{font-size:20px;line-height:1.3}
body[data-view=day] .motion-count{width:100%;padding:0 16px;align-items:stretch;text-align:left}
body[data-view=day] .count-title{font-size:16px;margin-bottom:8px}
body[data-view=day] .set-row{grid-template-columns:54px minmax(0,1fr) 44px;gap:8px;min-height:54px;margin-bottom:10px}
body[data-view=day] .set-number{grid-column:1;grid-row:1;font-size:16px}
body[data-view=day] .rep-stepper{grid-column:2;grid-row:1;min-height:54px}
body[data-view=day] .rep-stepper button{width:48px;min-height:54px;font-size:28px}
body[data-view=day] .set-editor .rep-stepper input{height:54px;min-height:54px;font-size:26px}
body[data-view=day] .set-tick{grid-column:3;grid-row:1;width:44px;min-height:54px;font-size:28px}
body[data-view=day] .add-set,body[data-view=day] .set-add-row .remove-set{min-height:48px;font-size:16px}
body[data-view=day] .motion-image>span{width:36px;height:36px;line-height:36px;font-size:23px;bottom:10px;right:10px}
@media(max-width:360px){body[data-view=day] .motion-count{padding:0 12px}body[data-view=day] .set-row{grid-template-columns:48px minmax(0,1fr) 44px;gap:6px}body[data-view=day] .rep-stepper button{width:44px}}

/* Pengaturan: tiap tombol teks & tautan rujukan di barisnya sendiri (dulu dua tombol nempel jadi satu kalimat). */
.kartu6 .text-btn{display:block;width:100%;text-align:left}.kartu6 .ref-link{display:block;font-size:14px;padding:8px 0}
