.ill{width:100%;height:100%;display:block}.ill-floor{stroke:var(--ill-machine);stroke-width:2px;opacity:.35}.ill-machine{stroke:var(--ill-machine);stroke-width:4px;fill:none;stroke-linecap:round;stroke-linejoin:round}.ill-cushion{stroke:var(--ill-machine);stroke-width:7px;fill:none;stroke-linecap:round;opacity:.7}.ill-plate-line{stroke:var(--ill-machine);stroke-width:6px;stroke-linecap:round}.ill-stack{fill:var(--ill-machine);opacity:.3}.ill-stack-lines{stroke:var(--ill-machine);stroke-width:1.2px;opacity:.6}.ill-pad,.ill-plate{fill:var(--ill-machine)}.ill-head{fill:var(--ill-body)}.ill-body,.ill-active{fill:none;stroke-width:7px;stroke-linecap:round;stroke-linejoin:round}.ill-body{stroke:var(--ill-body)}.ill-active{stroke:var(--accent)}.ill-image{object-fit:contain;mix-blend-mode:multiply;width:100%;height:100%;display:block}@media (prefers-color-scheme:dark){.ill-image{filter:invert();mix-blend-mode:screen}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f5f2;--surface:#fff;--surface-2:#eeece7;--text:#1c1b19;--muted:#6b6862;--border:#dedad2;--accent:#e8590c;--accent-text:#fff;--success:#2b8a3e;--danger:#c92a2a;--ill-body:#3b3a36;--ill-machine:#8a867d;--radius:16px;--tap:48px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0f1115;--surface:#191c22;--surface-2:#232731;--text:#f1f0ec;--muted:#9a978f;--border:#2c303a;--accent:#ff7a2f;--accent-text:#111;--success:#51cf66;--danger:#ff6b6b;--ill-body:#e9e6df;--ill-machine:#7d7a73}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:16px}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}.btn{min-height:var(--tap);border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;justify-content:center;align-items:center;padding:0 20px;font-weight:600;text-decoration:none;display:inline-flex}.btn-primary{background:var(--accent);color:var(--accent-text);border-color:#0000}.btn-danger{color:var(--danger)}.btn-block{width:100%}.btn-big{min-height:64px;font-size:1.15rem}.btn-small{min-height:36px;padding:0 12px;font-size:.9rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}a.card{color:inherit;flex-direction:column;gap:4px;text-decoration:none;display:flex}.muted{color:var(--muted)}.error{color:var(--danger)}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:12px;display:flex}.spread{justify-content:space-between}.field{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.field input,.field select,.field textarea{min-height:var(--tap);border:1px solid var(--border);background:var(--surface-2);border-radius:12px;width:100%;padding:0 12px}.field textarea{min-height:88px;padding:10px 12px}.check{min-height:var(--tap);align-items:center;gap:10px;display:flex}.check input{width:22px;height:22px}h1{margin:4px 0 8px;font-size:1.6rem}h2{margin:8px 0;font-size:1.15rem}#root{min-height:100dvh}.shell{flex-direction:column;display:flex;position:fixed;inset:0}@media (display-mode:standalone){html,body,#root{height:100vh;min-height:0;overflow:hidden}.shell{height:100vh;bottom:auto}}.topbar{z-index:10;padding:calc(8px + env(safe-area-inset-top)) 16px 8px;background:var(--bg);border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar select{border:1px solid var(--border);background:var(--surface);border-radius:10px;max-width:60vw;min-height:40px;padding:0 10px;font-weight:600}.badge{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:.8rem}.badge-warn{background:var(--accent);color:var(--accent-text)}.banner{background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;margin:8px 16px 0;padding:10px 12px;display:flex}.content-scroll{overscroll-behavior-y:contain;flex:1;min-height:0;overflow-y:auto}.content{max-width:640px;margin:0 auto;padding:16px 16px 32px}.bottom-nav{background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);z-index:10;flex:none;grid-template-columns:repeat(4,1fr);display:grid}.bottom-nav a{min-height:56px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.68rem;text-decoration:none;display:flex}.bottom-nav a.active{color:var(--accent);font-weight:700}.bottom-nav svg{width:24px;height:24px}.splash,.login{place-items:center;min-height:100dvh;padding:16px;display:grid}.login-form{width:100%;max-width:380px}.login-logo{text-align:center;font-size:3rem}.login-form h1{text-align:center}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.machine-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:4px;min-width:0;padding:10px;display:flex;position:relative}.machine-card:active{transform:scale(.98)}.machine-card.is-done{border-color:var(--success);box-shadow:inset 0 0 0 1px var(--success)}.machine-visual{aspect-ratio:4/3;background:var(--surface-2);border-radius:12px;width:100%;padding:4px;display:block;overflow:hidden}img.machine-visual{object-fit:cover;padding:0}.machine-card-name{font-weight:700}.machine-card-sub{color:var(--muted);overflow-wrap:anywhere;font-size:.85rem}.machine-card-check{background:var(--success);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:800;display:grid;position:absolute;top:14px;right:14px}.sheet-backdrop{z-index:20;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{overscroll-behavior:contain;background:var(--bg);width:100%;max-width:640px;max-height:92%;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;overflow-y:auto}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.sheet-head h2{margin:0;font-size:1.3rem}.sheet-secondary{margin-top:10px}.entry-head{align-items:center;gap:12px;margin-bottom:12px;display:flex}.entry-head p{margin:0}.entry-visual{flex:none;width:120px}.pair{gap:10px;display:flex}.stepper{flex-direction:column;flex:1;gap:6px;min-width:0;margin-bottom:14px;display:flex}.stepper label{color:var(--muted);font-size:.9rem}.stepper-controls{align-items:center;gap:4px;display:flex}.stepper-controls button{width:44px;height:var(--tap);border:1px solid var(--border);background:var(--surface);border-radius:12px;flex:none;font-size:1.4rem;font-weight:700}.stepper-controls input{min-width:0;height:var(--tap);text-align:center;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex:1;font-size:1.2rem;font-weight:700}.positions{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin:0 0 14px;padding:8px 12px 0}.positions legend{color:var(--muted);padding:0 6px;font-size:.9rem}.set-group{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin:0 0 14px;padding:8px 12px 12px}.set-group legend{color:var(--muted);padding:0 6px;font-size:.9rem}.set-group-remove{color:var(--danger);font-size:.9rem}.record{color:var(--success);font-weight:700}.back{min-height:32px;margin-bottom:4px;text-decoration:none;display:inline-block}.stat{flex:1;min-width:0}.stat-value{font-size:1.6rem;font-weight:800}.mini-visuals{grid-template-columns:repeat(6,1fr);gap:6px;margin-top:6px;display:grid}.mini-visuals .machine-visual{border-radius:8px;padding:2px}.entry-row{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:center;gap:12px;width:100%;padding:10px;display:flex}.entry-row:disabled{opacity:1}.entry-row-visual{flex:none;width:84px}.entry-row-text{flex-direction:column;gap:2px;min-width:0;display:flex}.progress-visual{flex:none;width:110px}.chart{width:100%;height:220px}.tabs{gap:6px;display:flex}.tabs button{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:1;min-height:40px;font-weight:600}.tabs button[aria-pressed=true]{background:var(--accent);color:var(--accent-text);border-color:#0000}.list-row{border-bottom:1px solid var(--border);min-height:44px}.list-row:last-child{border-bottom:none}a.machine-card{color:inherit;text-decoration:none}.photo-block{flex-direction:column;gap:10px;display:flex}.photo-block .machine-visual{max-width:320px;margin:0 auto}.account{margin-top:16px}.credits{text-align:center;font-size:.8rem}.credits a{color:inherit}.pair>.field{flex:1;min-width:0}.field input[type=date],.field input[type=time]{appearance:none;align-items:center;min-width:0;display:flex}.entry-row-text{flex:1}.entry-row-chevron{color:var(--muted);padding:0 4px;font-size:1.6rem}.hint{margin:0;font-size:.9rem}.cardio-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;display:grid}.program{flex-direction:column;gap:8px;display:flex}.program h2{margin:0}.program-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.program-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:stretch;gap:8px;padding:8px;display:flex}.program-row.is-done{border-color:var(--success);box-shadow:inset 0 0 0 1px var(--success)}.program-main{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.program-visual{flex:none;width:76px}.program-text{flex-direction:column;gap:2px;min-width:0;display:flex}.program-quick,.program-check{border-radius:12px;flex:none;place-items:center;width:56px;font-size:1.4rem;font-weight:800;display:grid}.program-quick{border:2px solid var(--accent);color:var(--accent);background:0 0}.program-check{background:var(--success);color:#fff}.weight-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;width:100%;padding:0}.weight-row:last-child{border-bottom:none}.weight-row:disabled{opacity:1}.weight-list .hint{margin-bottom:4px}.guide summary{cursor:pointer;flex-direction:column;gap:4px;list-style:none;display:flex}.guide summary::-webkit-details-marker{display:none}.guide summary strong:after{content:" ›";color:var(--muted)}.guide[open] summary strong:after{content:" ⌄"}.guide h3{margin:18px 0 8px;font-size:1rem}.guide-steps{flex-direction:column;gap:10px;padding-left:20px;line-height:1.45;display:flex}.guide-steps ol{flex-direction:column;gap:8px;margin-top:6px;padding-left:18px;display:flex}.guide code{background:var(--surface-2);overflow-wrap:anywhere;border-radius:6px;padding:1px 5px;font-size:.85rem}.key-box{background:var(--surface-2);border-radius:12px;align-items:center;gap:8px;margin:8px 0;padding:8px 10px;display:flex}.key-box code{background:0 0;flex:1;min-width:0;padding:0;font-size:.9rem}.stat{flex-direction:column;gap:4px;display:flex}.guide-manual{margin-top:18px}.guide-manual summary{cursor:pointer;color:var(--muted)}.celebrate{text-align:center;border-color:var(--accent);background:linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface));flex-direction:column;align-items:center;gap:6px;animation:.45s ease-out celebrate-in;display:flex}.celebrate-emoji{font-size:2.4rem;line-height:1}.celebrate strong{font-size:1.25rem}.celebrate-text{margin:4px 0;font-size:1.05rem;line-height:1.45}.celebrate-song{color:var(--accent);font-size:.85rem;font-weight:600}@keyframes celebrate-in{0%{opacity:0;transform:translateY(-8px)scale(.97)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.celebrate{animation:none}}.plan-note{border-left:3px solid var(--accent);background:var(--surface);border-radius:0 12px 12px 0;margin:0;padding:10px 12px}.plan-item-note{color:var(--accent);font-size:.85rem}.plan-target{background:var(--surface-2);border-radius:12px;margin:-4px 0 14px;padding:8px 12px}.plan-card{border-color:var(--accent)}.examples-title{margin:0 0 8px;font-size:1rem}.examples{color:var(--muted);flex-direction:column;gap:8px;margin:0;padding-left:18px;line-height:1.45;display:flex}.body-tabs a{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);border-radius:10px;flex:1;place-items:center;font-weight:600;text-decoration:none;display:grid}.body-tabs a.active{background:var(--accent);color:var(--accent-text);border-color:#0000}.measure-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;display:grid}.measure-grid .field{margin-bottom:10px}.measure-grid .field span{font-size:.9rem}.measure-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:6px 4px;display:flex}.measure-row:last-child{border-bottom:none}.measure-row.is-selected{color:var(--accent)}.measure-values{flex-direction:column;align-items:flex-end;font-size:.95rem;display:flex}.measure-values .muted{font-size:.8rem}.card-title{margin:0 0 6px;font-size:1rem}.chips{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.chip{border:1px solid var(--border);background:var(--surface);border-radius:999px;min-height:40px;padding:0 12px;font-weight:600}.chip[aria-pressed=true]{background:var(--accent);color:var(--accent-text);border-color:#0000}.activity-emoji{background:var(--surface-2);border-radius:12px;flex:none;place-items:center;width:56px;height:56px;font-size:1.8rem;display:grid}.history-activity{border-style:dashed}.day-nav{justify-content:space-between;align-items:center;gap:12px;display:flex}.day-nav .btn{width:44px;font-size:1.3rem}.meal-day{flex-direction:column;gap:4px;display:flex}.meal-items{font-size:.85rem}.meal-items-title{margin:6px 0 8px;font-size:1rem}.meal-item{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;min-width:0;margin:0 0 10px;padding:8px;display:flex}.meal-item-row{align-items:center;gap:6px;display:flex}.meal-item-row input{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;flex:1;min-width:0;min-height:44px;padding:0 10px}.meal-item-row .meal-qty{flex:0 0 34%}.meal-item-row.macros label{min-width:0;color:var(--muted);flex-direction:column;flex:1;gap:2px;font-size:.75rem;display:flex}.meal-item-row.macros input{text-align:center;color:var(--text)}.meal-total{background:var(--surface-2);border-radius:12px;margin:12px 0;padding:10px 12px}.chips-tight{gap:6px;margin-bottom:0}.chips-tight .chip{min-height:34px;padding:0 10px;font-size:.85rem}.composition-list{margin:8px 0 0}.composition-list>div{border-bottom:1px solid var(--border);min-height:36px}.composition-list>div:last-child{border-bottom:none}.composition-list dd{margin:0}.weight-values{flex-direction:column;align-items:flex-end;display:flex}.weight-values .muted{font-size:.8rem}.weight-day{text-align:left;flex-direction:column;align-items:flex-start;display:flex}.weight-kcal{font-size:.8rem}.calendar-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.calendar-head .btn{width:40px;font-size:1.2rem}.calendar-title{text-transform:capitalize}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px 4px;display:grid}.calendar-weekday{text-align:center;color:var(--muted);padding-bottom:2px;font-size:.75rem}.calendar-day{width:38px;height:38px;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:999px;justify-self:center;place-items:center;padding:0;font-size:.95rem;display:grid;position:relative}.calendar-day:disabled{color:var(--muted);opacity:.75}.calendar-day.is-today{box-shadow:inset 0 0 0 2px var(--border)}.calendar-day.has-session{background:var(--accent);color:var(--accent-text);font-weight:700}.calendar-day.has-activity:after{content:"";background:var(--success);border-radius:50%;width:6px;height:6px;margin-left:-3px;position:absolute;bottom:3px;left:50%}.calendar-day.has-session.has-activity:after{background:var(--accent-text)}.calendar-day.has-activity:not(.has-session){background:var(--surface-2);font-weight:700}.calendar-day.is-selected{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--text)}.calendar-legend{justify-content:center;gap:16px;margin-top:10px;font-size:.8rem;display:flex}.calendar-legend span{align-items:center;gap:6px;display:inline-flex}.calendar-legend i{border-radius:50%;width:10px;height:10px;display:inline-block}.legend-session{background:var(--accent)}.legend-activity{background:var(--success)}.list-title{margin:0;font-size:1.1rem}.list-title:first-letter{text-transform:uppercase}.app-version{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:8px 0;font-size:.85rem;display:flex}.app-version .row{flex-wrap:wrap;justify-content:center;gap:8px}.session-recap{gap:4px}.recap-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:0;display:grid}.recap-grid dt{font-size:.75rem}.recap-grid dd{flex-direction:column;margin:0;display:flex}.recap-up{color:var(--success,#2f9e44);font-size:.8rem;font-weight:700}.recap-down{color:var(--muted);font-size:.8rem}.swipe-row{border-radius:var(--radius);position:relative;overflow:hidden}.swipe-action{border-radius:var(--radius);background:var(--danger);color:#fff;border:0;width:120px;padding-left:24px;font-weight:700;position:absolute;inset:0 0 0 auto}.swipe-content{touch-action:pan-y;transition:transform .2s;position:relative}.swipe-content.is-dragging{transition:none}.skipped-note{font-size:.85rem}.link-button{color:var(--accent);font:inherit;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}
