:root{--cream:#faf5ec;--paper:#fffdf8;--ink:#231b15;--muted:#7a6e63;--line:#e9dfcf;--tomato:#d8452b;--tomato-d:#b3341e;--olive:#55662b;--saffron:#e9a21c;--plum:#5a2a3c;--serif:"Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--r:18px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--cream);color:var(--ink);font:16px/1.45 var(--sans);background-image:radial-gradient(circle at 100% 0,#f6e6cf 0,#0000 38%);margin:0}main{max-width:560px;padding:18px 16px calc(96px + env(safe-area-inset-bottom));margin:0 auto}main.bare{padding-bottom:32px}h1,h2,h3{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-weight:600}h1{font-size:2rem;line-height:1.05}h2{margin:26px 0 10px;font-size:1.25rem}a{color:var(--tomato-d)}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:.72rem;font-weight:600}.muted{color:var(--muted)}.small{font-size:.85rem}.num{font-family:var(--serif);font-variant-numeric:lining-nums tabular-nums}.tabs{padding:8px 10px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(10px);border-top:1px solid var(--line);z-index:10;background:#fffdf8f0;justify-content:center;gap:2px;display:flex;position:fixed;inset:auto 0 0}.tabs a{max-width:100px;color:var(--muted);border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px 0;font-size:.7rem;font-weight:600;text-decoration:none;display:flex}.tabs svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.tabs a.on{color:var(--tomato-d);background:#fbe9e1}.head{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;display:flex}.head .nav{gap:6px;display:flex}.chip,.btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);font:600 .88rem var(--sans);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 14px;text-decoration:none;display:inline-flex}.btn.primary{background:var(--tomato);border-color:var(--tomato);color:#fff}.btn.primary:active{background:var(--tomato-d)}.btn.olive{background:var(--olive);border-color:var(--olive);color:#fff}.btn.ghost{background:0 0}.btn.on{background:var(--olive);border-color:var(--olive);color:#fff}.chip{min-height:0;color:var(--muted);padding:4px 10px;font-size:.75rem;font-weight:600}.hero{background:var(--ink);color:var(--cream);border-radius:24px;padding:18px 18px 16px;position:relative;overflow:hidden}.hero:after{content:"";background:var(--tomato);opacity:.9;border-radius:50%;width:140px;height:140px;position:absolute;top:-40px;right:-40px}.hero .eyebrow{color:#cdbfae;z-index:1;position:relative}.hero .big{font-family:var(--serif);z-index:1;margin:6px 0 2px;font-size:3.2rem;line-height:1;position:relative}.hero .big small{color:#cdbfae;font-size:1rem;font-family:var(--sans);margin-left:4px}.macros{z-index:1;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px;display:grid;position:relative}.macro .lab{letter-spacing:.1em;text-transform:uppercase;color:#cdbfae;font-size:.7rem}.macro .val{font-family:var(--serif);font-size:1.3rem}.macro .val small{color:#cdbfae;font-size:.75rem;font-family:var(--sans)}.bar{background:#4b4036;border-radius:3px;height:5px;margin-top:4px;overflow:hidden}.bar i{background:var(--saffron);border-radius:3px;height:100%;display:block}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);margin-top:12px;padding:14px}.meal{border-left:5px solid var(--hue,var(--tomato));padding:0;overflow:hidden}.meal-top{grid-template-columns:1fr auto;gap:2px 10px;padding:14px 14px 10px;display:grid}.meal .time{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:.72rem;font-weight:700}.meal h3{grid-column:1/-1;margin-top:2px;font-size:1.22rem;line-height:1.15}.meal .stamp{letter-spacing:.1em;text-transform:uppercase;color:var(--hue);border:1.5px solid var(--hue);border-radius:6px;grid-area:1/2;align-self:start;padding:2px 7px;font-size:.66rem;font-weight:700;transform:rotate(2deg)}.dayrow .dot{border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.meta{color:var(--muted);flex-wrap:wrap;grid-column:1/-1;gap:6px 12px;margin-top:6px;font-size:.85rem;display:flex}.meta b{color:var(--ink);font-weight:700}.blurb{color:#4d4036;grid-column:1/-1;margin:6px 0 0;font-size:.9rem}details>summary{cursor:pointer;list-style:none}details>summary::-webkit-details-marker{display:none}.more{border-top:1px dashed var(--line)}.more>summary{color:var(--tomato-d);justify-content:space-between;padding:11px 14px;font-size:.88rem;font-weight:600;display:flex}.more>summary:after{content:"+";font-size:1.2rem;line-height:1}.more[open]>summary:after{content:"−"}.more .inner{padding:0 14px 14px}ul.ing{columns:1;margin:0 0 10px;padding:0;list-style:none}ul.ing li{border-bottom:1px dotted var(--line);justify-content:space-between;gap:10px;padding:5px 0;font-size:.92rem;display:flex}ul.ing li span:last-child{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}ol.steps{margin:0;padding-left:1.2em}ol.steps li{margin:5px 0}.logrow{flex-wrap:wrap;align-items:center;gap:8px;padding:0 14px 14px;display:flex}.logrow form{display:contents}.status{color:var(--olive);background:#eef0e0;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:700}.status.swapped{color:#8a5d00;background:#fdf0d2}.status.off-plan{color:var(--tomato-d);background:#fbe1da}.inline-kcal{flex-wrap:wrap;align-items:center;gap:8px;padding:4px 0 2px;display:flex}input[type=text],input[type=number],input[type=password],input[type=date],input[type=time],select{font:1rem var(--sans);color:var(--ink);background:#fff;border:1px solid #d8cbb6;border-radius:12px;width:100%;min-height:44px;padding:10px 12px}input:focus,select:focus,button:focus-visible,a:focus-visible{outline-offset:1px;outline:3px solid #f2b8a8}label{color:var(--muted);margin:10px 0 4px;font-size:.8rem;font-weight:600;display:block}.row2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.inline-kcal input{width:110px}.weigh{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.dayrow{color:inherit;text-decoration:none;display:block}.dayrow .card{margin-top:10px}.dayrow.today .card{border-color:var(--tomato);box-shadow:0 0 0 2px #f6c9bd}.dayrow h3{justify-content:space-between;align-items:baseline;font-size:1.05rem;display:flex}.dayrow ul{margin:8px 0 0;padding:0;list-style:none}.dayrow li{gap:8px;padding:3px 0;font-size:.92rem;display:flex}.dayrow li .t{width:3.1em;color:var(--muted);flex:none;padding-top:2px;font-size:.8rem}.dayrow li .k{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.82rem}.aisle{margin-top:18px}.aisle h3{font-size:.78rem;font-family:var(--sans);text-transform:uppercase;letter-spacing:.14em;color:var(--muted);border-bottom:2px solid var(--ink);padding-bottom:6px}.item{border-bottom:1px solid var(--line);align-items:flex-start;gap:12px;padding:11px 0;display:flex}.item input{appearance:none;cursor:pointer;background:#fff;border:2px solid #c9b99f;border-radius:8px;flex:none;width:26px;height:26px;min-height:0;margin:1px 0 0}.item input:checked{background:var(--olive);border-color:var(--olive);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:18px}.item .nm{font-weight:600}.item .am{color:var(--muted);font-size:.84rem}.item.done .nm,.item.done .am{opacity:.5;text-decoration:line-through}.item label{cursor:pointer;color:inherit;flex:1;margin:0;font-size:1rem;font-weight:400}.pill{color:var(--tomato-d);vertical-align:1px;background:#fbe9e1;border-radius:999px;margin-left:6px;padding:2px 8px;font-size:.7rem;font-weight:700}.pill.netto{color:var(--olive);background:#e6edd2}.tabsw{flex-wrap:wrap;gap:8px;margin:4px 0 6px;display:flex}.progressbar{background:var(--line);border-radius:3px;height:6px;margin:8px 0 0;overflow:hidden}.progressbar i{background:var(--olive);height:100%;transition:width .2s;display:block}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px;display:grid}.stat{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px}.stat .v{font-family:var(--serif);font-size:1.7rem;line-height:1.1}.stat .v small{color:var(--muted);font-size:.8rem;font-family:var(--sans)}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:#ece2d2;stroke-width:1px}.chart .ax{fill:#8a7d70;font:10.5px var(--sans)}.chart .dot{fill:#b7a994;stroke:var(--paper);stroke-width:1.5px}.chart .trend{fill:none;stroke:var(--tomato);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.chart .trend-end{fill:var(--tomato);stroke:var(--paper);stroke-width:2px}.chart .trend-l{fill:var(--ink);font:700 12px var(--sans)}.chart .goal{stroke:var(--olive);stroke-width:1.5px;stroke-dasharray:5 4}.chart .goal-l{fill:var(--olive);font:600 10.5px var(--sans)}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;padding:7px 4px}th{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:.72rem}td.r,th.r{text-align:right}.legend{color:var(--muted);gap:14px;margin-top:6px;font-size:.78rem;display:flex}.legend i{vertical-align:middle;margin-right:5px;display:inline-block}.legend .d{background:#b7a994;border-radius:50%;width:9px;height:9px}.legend .l{background:var(--tomato);border-radius:2px;width:16px;height:3px}.notice{background:#fdf0d2;border:1px solid #f0d58f;border-radius:14px;margin-top:12px;padding:10px 14px;font-size:.9rem}.flash{color:#3d4a1d;background:#e6edd2;border-radius:14px;margin-bottom:12px;padding:10px 14px;font-size:.9rem;font-weight:600}.gate{place-items:center;min-height:100dvh;padding:20px;display:grid}.gate-card{background:var(--paper);border:1px solid var(--line);text-align:center;border-radius:26px;width:100%;max-width:360px;padding:30px 24px 24px}.gate-card .logo{border-radius:14px}.gate-card h1{margin:6px 0 4px}.gate-card input{text-align:center;margin:18px 0 12px}.err{color:var(--tomato-d);margin:4px 0 8px;font-weight:600}.badge{letter-spacing:.04em;color:var(--muted);white-space:nowrap;background:#efe7da;border-radius:999px;padding:2px 9px;font-size:.7rem;font-weight:700;display:inline-block}.badge.done{color:var(--olive);background:#e6edd2}.badge.active,.badge.today{color:var(--tomato-d);background:#fbe1da}.badge.missed{color:#8a5d00;background:#f3e3c4}.badge.skipped{color:#8a7d70;background:#ece6de;text-decoration:line-through}.badge.deload{color:#34506b;background:#e3e8f0}.sess{border-left:5px solid var(--plum)}.sess.done{border-left-color:var(--olive)}.sess.skipped{opacity:.6}.sess h3{justify-content:space-between;align-items:baseline;gap:8px;font-size:1.12rem;display:flex}.sess .exlist{color:#4d4036;margin:6px 0 0;padding:0;font-size:.88rem;list-style:none}.sess .exlist li{justify-content:space-between;gap:8px;padding:2px 0;display:flex}.sess .exlist li span:last-child{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.restday{border:1px dashed var(--line);color:var(--muted);border-radius:14px;justify-content:space-between;margin-top:8px;padding:9px 14px;font-size:.88rem;display:flex}.actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.actions form{display:contents}.actions select{width:auto;min-height:40px;padding:6px 10px}.lift{border-left:5px solid var(--plum);padding:0;scroll-margin-top:12px;overflow:hidden}.lift.complete{border-left-color:var(--olive)}.lift-top{padding:14px 14px 8px}.lift-top h3{align-items:baseline;gap:10px;font-size:1.18rem;display:flex}.lift-top h3 .n{font-family:var(--sans);color:#fff;background:var(--plum);border-radius:999px;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:700;display:inline-grid;transform:translateY(-2px)}.lift.complete .lift-top h3 .n{background:var(--olive)}.rx{color:var(--muted);margin-top:4px;font-size:.85rem}.rx b{color:var(--ink)}.sugg{background:#f6efe3;border-radius:12px;align-items:flex-start;gap:10px;margin-top:10px;padding:9px 11px;font-size:.86rem;display:flex}.sugg .big{font-family:var(--serif);white-space:nowrap;font-size:1.25rem;line-height:1.1}.sugg .big small{font-family:var(--sans);color:var(--muted);font-size:.75rem}.sugg.increase{background:#e6edd2}.sugg.decrease,.sugg.max-load,.sugg.variant{background:#fdf0d2}.sugg p{color:#4d4036;margin:2px 0 0}.setlist{margin:0;padding:0 14px;list-style:none}.setlist li{border-top:1px dotted var(--line)}.setlist summary{font-variant-numeric:tabular-nums;align-items:center;gap:10px;padding:9px 0;display:flex}.setlist .sn{width:3.4em;color:var(--muted);flex:none;font-size:.8rem;font-weight:700}.setlist .sv{white-space:nowrap;font-weight:700}.setlist .sr{color:var(--muted);text-align:right;margin-left:auto;font-size:.78rem}.pr{letter-spacing:.06em;color:#fff;background:var(--saffron);border-radius:6px;padding:1px 6px;font-size:.68rem;font-weight:800}.logset{border-top:1px solid var(--line);background:#fbf7f0;padding:12px 14px 14px}.logset .grid3{grid-template-columns:1fr 1fr;gap:10px;display:grid}.logset label{margin-top:0}.stepper{grid-template-columns:44px 1fr 44px;gap:4px;display:grid}.stepper button{min-height:48px;font:700 1.3rem var(--sans);color:var(--ink);cursor:pointer;background:#fff;border:1px solid #d8cbb6;border-radius:12px}.stepper input,.stepper select{text-align:center;min-height:48px;padding:6px 2px;font-size:1.15rem;font-weight:700}.stepper select{-webkit-appearance:none;appearance:none;text-align-last:center}.rir{gap:6px;margin-top:4px;display:flex}.rir label{flex:1;margin:0}.rir input{opacity:0;pointer-events:none;position:absolute}.rir span{min-height:44px;font:700 1rem var(--sans);color:var(--ink);cursor:pointer;background:#fff;border:1px solid #d8cbb6;border-radius:12px;place-items:center;display:grid}.rir input:checked+span{background:var(--ink);color:var(--cream);border-color:var(--ink)}.rir input:focus-visible+span{outline:3px solid #f2b8a8}.btn.big{border-radius:16px;width:100%;min-height:54px;margin-top:12px;font-size:1.05rem}.restbar{left:0;right:0;bottom:calc(66px + env(safe-area-inset-bottom));z-index:11;justify-content:center;padding:0 12px;display:none;position:fixed}.restbar.on{display:flex}.restbar .in{background:var(--ink);width:100%;max-width:536px;color:var(--cream);border-radius:18px;align-items:center;gap:10px;padding:10px 12px 10px 16px;display:flex;box-shadow:0 8px 24px #231b1540}.restbar .t{font-family:var(--serif);font-variant-numeric:tabular-nums;min-width:3.2em;font-size:1.7rem}.restbar .l{color:#cdbfae;flex:1;font-size:.78rem;line-height:1.2}.restbar button{min-height:40px;color:var(--cream);font:600 .85rem var(--sans);cursor:pointer;background:0 0;border:1px solid #5a4d42;border-radius:999px;padding:0 12px}.restbar.done .in{background:var(--olive)}.volbars{grid-template-columns:6.5em 1fr 2.4em;align-items:center;gap:6px 10px;font-size:.85rem;display:grid}.volbars .track{background:#efe7da;border-radius:4px;height:8px;position:relative;overflow:hidden}.volbars .track i{background:var(--plum);border-radius:4px;position:absolute;inset:0 auto 0 0}.volbars .track.ok i{background:var(--olive)}.volbars .v{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.liftrow{border-bottom:1px solid var(--line);color:inherit;align-items:center;gap:10px;padding:11px 0;text-decoration:none;display:flex}.liftrow .nm{font-weight:600}.liftrow .am{color:var(--muted);font-size:.82rem}.liftrow .ch{text-align:right;white-space:nowrap;margin-left:auto;font-size:.82rem}.spark polyline{fill:none;stroke:var(--tomato);stroke-width:1.8px;stroke-linejoin:round;stroke-linecap:round}.up{color:var(--olive);font-weight:700}.down{color:var(--tomato-d);font-weight:700}.verdict{border-left:5px solid var(--muted)}.verdict.good{border-left-color:var(--olive)}.verdict.watch{border-left-color:var(--tomato)}.daychk{gap:6px;display:flex}.daychk label{flex:1;margin:0}.daychk input{opacity:0;pointer-events:none;position:absolute}.daychk span{min-height:44px;font:700 .85rem var(--sans);color:var(--ink);cursor:pointer;background:#fff;border:1px solid #d8cbb6;border-radius:12px;place-items:center;display:grid}.daychk input:checked+span{background:var(--plum);color:#fff;border-color:var(--plum)}.opt{color:var(--ink);align-items:flex-start;gap:10px;margin:0;padding:8px 0;font-size:.95rem;font-weight:400;display:flex}.opt input{flex:none;width:20px;height:20px;min-height:0;margin:2px 0 0}.opt small{color:var(--muted);font-size:.8rem;display:block}.train-card{border-left:5px solid var(--plum)}.train-card h3{margin-top:2px;font-size:1.2rem}.disclaimer{color:var(--muted);margin-top:18px;font-size:.78rem}@media (width>=700px){body{font-size:17px}}
