:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f5f6f9;--surface:#fff;--surface-2:#eceff4;--text:#14161a;--muted:#5b6170;--line:#d8dce4;--accent:#1f6feb;--on-accent:#fff;--danger:#b5301f;--canvas:#ccd3df;--plan-floor:#f2f5fa;--plan-line:#8d97a8;--grid:#c6ccd7;--glyph-lightness:42%;--glyph-fill:.2;--sheet-shadow:0 -2px 20px #10141c24;--setup-tint:#f4f8ff;--setup-line:#cfdffb;--logged:#1a7f4b;--r-control:10px;--r-group:12px;--r-surface:14px;--r-sheet:18px;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0f1216;--surface:#171b21;--surface-2:#1f242c;--text:#e8ecf2;--muted:#98a1b0;--line:#2a313b;--accent:#64a6ff;--on-accent:#06121f;--danger:#ff7a6d;--canvas:#090b0e;--plan-floor:#161b22;--plan-line:#3b4552;--grid:#232a34;--glyph-lightness:64%;--glyph-fill:.28;--sheet-shadow:0 -2px 24px #0000008c;--setup-tint:#141c27;--setup-line:#26374e;--logged:#4bd08b}}*{box-sizing:border-box}html,body,#root{height:100%}body{overscroll-behavior:none;margin:0}h1,h2{line-height:1.25}main{max-width:42rem;margin:0 auto;padding:2rem 1rem}.auth{min-height:100dvh;padding-top:calc(2rem + env(safe-area-inset-top,0px));padding-right:calc(1rem + env(safe-area-inset-right,0px));padding-bottom:calc(2rem + env(safe-area-inset-bottom,0px));padding-left:calc(1rem + env(safe-area-inset-left,0px));flex-direction:column;justify-content:center;gap:1rem;display:flex}.auth h1,.auth>p{margin:0}.auth .button{width:100%}.auth .form__actions{flex-direction:column}.auth__divider{color:var(--muted);align-items:center;gap:.75rem;margin:.25rem 0;font-size:.8125rem;display:flex}.auth__divider:before,.auth__divider:after{content:"";background:var(--line);flex:1;height:1px}.auth__legal{margin:0;font-size:.8125rem}.auth__legal a{color:var(--accent);text-decoration:none}.google-signin{flex-direction:column;align-items:center;gap:.25rem;min-height:40px;display:flex}.google-signin__host{border-radius:999px;justify-content:center;width:100%;max-width:400px;display:flex;overflow:hidden}.google-signin .button{width:100%;max-width:400px;min-height:40px}.screen{flex-direction:column;height:100dvh;display:flex}.screen--fixed,.screen--scroll{overflow:hidden}.screen--scroll .screen__body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}.screen__body{padding:1rem;padding-bottom:calc(1rem + env(safe-area-inset-bottom));flex-direction:column;gap:1rem;display:flex}.topbar{padding:.375rem .5rem;padding-top:calc(.375rem + env(safe-area-inset-top));background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:minmax(min-content,1fr) minmax(0,auto) minmax(min-content,1fr);align-items:center;gap:.25rem;display:grid}.topbar__back{width:44px;min-height:44px;color:var(--accent);touch-action:manipulation;background:0 0;border:0;justify-self:start;place-items:center;padding:0;font-size:1.75rem;line-height:1;display:grid}.topbar__back--empty{visibility:hidden}.topbar__titles{text-align:center;flex:1;min-width:0}.topbar__title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.0625rem;font-weight:650;overflow:hidden}.topbar__subtitle{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.8125rem;overflow:hidden}.topbar__action{justify-content:flex-end;justify-self:end;min-width:0;display:flex}button{font:inherit}.button{min-height:44px;font:inherit;color:var(--text);cursor:pointer;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-control);touch-action:manipulation;padding:0 .75rem;font-weight:550}.button--primary{color:var(--on-accent);background:var(--accent);border-color:#0000}.button--quiet{color:var(--accent);background:0 0;border-color:#0000}.button--danger{color:var(--on-accent);background:var(--danger);border-color:#0000}.button--danger-quiet{color:var(--danger);background:0 0}.button:disabled{cursor:default;opacity:1;color:var(--muted);background:var(--surface-2);border-color:var(--line)}.button--quiet:disabled,.button--danger-quiet:disabled{background:0 0;border-color:#0000}.segmented{background:var(--surface-2);border-radius:var(--r-group);gap:.25rem;padding:.1875rem;display:flex}.segmented--wrap{flex-wrap:wrap}.segmented--wrap .segmented__option{white-space:normal;text-align:center;flex:8rem}.segmented__option{min-height:44px;font:inherit;color:var(--text);cursor:pointer;border-radius:calc(var(--r-group) - .1875rem);touch-action:manipulation;background:0 0;border:0;flex:1;padding:0 .5rem;font-size:.9375rem;font-weight:550}.segmented__option--on{color:var(--on-accent);background:var(--accent)}.segmented__option:disabled{color:var(--muted);cursor:not-allowed}.segmented__option--on:disabled{color:var(--on-accent);background:var(--accent)}.category-badge{letter-spacing:.02em;text-transform:uppercase;color:var(--muted);background:var(--surface-2);border-radius:999px;padding:.1rem .45rem;font-size:.6875rem;font-weight:650;display:inline-block}.category-badge--cardio{color:var(--accent);background:var(--setup-tint)}.field{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.8125rem;display:flex}.field-row{gap:.75rem;min-width:0;display:flex}.field-row .field{flex:1;min-width:0}.field input{width:100%;min-width:0}input{min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-control);padding:0 .75rem;font-family:inherit;font-size:16px}:where(button,a,input,textarea,select,[tabindex]:not([tabindex="-1"])):focus-visible,.field[tabindex="-1"]:focus{outline:2px solid var(--accent);outline-offset:2px}.hint,.muted{color:var(--muted);margin:0;font-size:.8125rem}.error{color:var(--danger);margin:0;font-size:.875rem}.stepper{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-group);align-items:stretch;display:flex;overflow:hidden}.stepper__button{width:52px;min-height:48px;color:var(--accent);cursor:pointer;background:var(--surface-2);touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border:0;flex:none;font-size:1.5rem;font-weight:500;line-height:1}.stepper__button:active{background:var(--line)}.stepper__button:disabled{cursor:default;color:var(--muted)}.stepper__value{flex:1;justify-content:center;align-items:baseline;gap:.25rem;min-width:0;padding:0 .25rem;display:flex}.stepper__input{min-width:0;min-height:48px;color:var(--text);text-align:center;background:0 0;border:0;border-radius:0;flex:1;width:100%;padding:0;font-family:inherit;font-size:1.375rem;font-weight:600}.stepper__input::placeholder,.field-input__text::placeholder{color:var(--muted);opacity:.55;font-weight:500}.stepper__input:focus-visible{outline:none}.stepper__value:focus-within{border-radius:var(--r-control);box-shadow:inset 0 0 0 2px var(--accent)}.stepper__unit,.stepper__of{color:var(--muted);white-space:nowrap;font-size:.8125rem}.stepper--compact .stepper__button{width:44px;min-height:44px}.stepper--compact .stepper__input{min-height:44px;font-size:1.125rem}.stepper__value--static{min-width:3.5rem;color:var(--text);align-items:center;font-size:.9375rem;font-weight:600}.field>.stepper{align-self:start}.cards{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);flex-direction:column;gap:.5rem;padding:1rem;display:flex}.card>p{margin:0}.card h2{margin:0;font-size:1rem}.invite__link{overflow-wrap:anywhere;color:var(--muted);margin:0;font-size:.8125rem}.card--tappable{color:inherit;touch-action:manipulation;gap:.25rem;padding:.75rem 1rem;text-decoration:none}.card>.button{align-self:start}.card--nav{grid-template-columns:1fr auto;align-items:center;column-gap:.75rem;display:grid}.card--nav>.card__title,.card--nav>.card__meta{grid-column:1}.card--nav:after{content:"›";color:var(--muted);grid-area:1/2/3/3;font-size:1.375rem}.card__title{font-size:1.0625rem;font-weight:600;line-height:1.3}.card__meta{color:var(--muted);font-size:.8125rem}.form__actions,.sheet__actions{flex-wrap:wrap;gap:.5rem;display:flex}.status{margin:0;font-size:.875rem}.status dd{color:var(--muted);overflow-wrap:anywhere;background:var(--surface-2);border-radius:var(--r-control);margin:0 0 .5rem;padding:.375rem .5rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.user-list{margin:0;padding:0;list-style:none}.user-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.5rem .75rem;display:flex}.user-row__name{flex:1;min-width:0}.user-row__role{color:var(--muted);white-space:nowrap}.banner{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;margin:0;padding:.5rem .75rem;font-size:.875rem;display:flex}.banner--info{color:var(--text);background:var(--surface-2)}.banner--error{color:var(--on-accent);background:var(--danger);border-bottom-color:#0000}.banner__text{flex:14rem;min-width:0}.banner__action{min-height:44px;font:inherit;color:inherit;cursor:pointer;border-radius:var(--r-control);touch-action:manipulation;background:0 0;border:1px solid;padding:0 .75rem;font-weight:600}.banner__actions{flex:auto;gap:.5rem;display:flex}.install-steps{padding-left:1.25rem}.install-steps li+li{margin-top:.5rem}.screen__body .banner{border:1px solid var(--line);border-radius:var(--r-group)}.sheet__backdrop{appearance:none;background:0 0;border:0;position:fixed;inset:0}.sheet{padding:.25rem 1rem calc(1rem + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);border-radius:var(--r-sheet) var(--r-sheet) 0 0;box-shadow:var(--sheet-shadow);flex-direction:column;animation:.16s ease-out sheet-in;display:flex;position:fixed;bottom:0;left:0;right:0}.sheet--tall{max-height:min(85dvh,40rem)}.sheet__grip{background:var(--line);border-radius:2px;width:36px;height:4px;margin:.5rem auto}.sheet__body{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.sheet>.sheet__actions{flex-shrink:0}.sheet .sheet__actions{padding-top:.75rem;border-top:1px solid var(--line);margin-inline:-1rem;padding-inline:1rem}.sheet .sheet__actions>.button{flex:1 1 0;min-width:0}.sheet .sheet__actions>.button--primary{flex:1 0 100%}.sheet .sheet__actions>p{flex:1 0 100%;margin:0}.sheet .sheet__actions+.sheet__actions{border-top:0;padding-top:0}.sheet__section,.sheet__header{flex-direction:column;gap:.5rem;padding-bottom:.5rem;display:flex}.sheet__title{margin:0;font-size:1.125rem;font-weight:650}.sheet__meta{color:var(--muted);margin:0;font-size:.875rem}.sheet__search{width:100%}@keyframes sheet-in{0%{transform:translateY(100%)}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.canvas{background:var(--canvas);flex:1;min-height:0;position:relative}.plan{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;display:block;overflow:hidden}.world--animated{transition:transform .15s ease-out}.plan__floor{fill:var(--plan-floor);stroke:var(--plan-line);stroke-width:1px}.plan__grid{stroke:var(--grid)}.plan__handle{cursor:nwse-resize}.plan__handle--e{cursor:ew-resize}.plan__handle--s{cursor:ns-resize}.plan__handle-grip{fill:var(--surface);stroke:var(--accent);stroke-width:2px}.plan__ghost{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 3;opacity:.7;pointer-events:none}.element{fill:none;stroke:var(--muted);stroke-width:1.5px}.element--selected{stroke:var(--accent);stroke-width:2.5px}.element__gap{stroke:var(--plan-floor);stroke-width:3px}.element__halo{fill:#0000;stroke:none}.element__ghost{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 3;opacity:.7;pointer-events:none}.element__placeholder{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 3}.sheet__edit-fields{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.sheet__edit-fields .button{flex:none;align-self:start}.sheet__edit-fields .hint{flex:8rem;min-width:0}.sheet__size{flex-direction:column;gap:.5rem;display:flex}.sheet__size-label{margin:0;font-weight:600}.sheet__size .sheet__meta{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.machine__handle .plan__handle-grip{fill:var(--accent);stroke:var(--accent)}.glyph{--glyph-colour:hsl(var(--glyph-hue) 55% var(--glyph-lightness))}.glyph__rect{fill:var(--glyph-colour);fill-opacity:var(--glyph-fill);stroke:var(--glyph-colour);stroke-width:1.5px}.glyph__image{pointer-events:none}.glyph--imaged .glyph__rect{fill-opacity:calc(var(--glyph-fill) * .35)}.glyph__logged{fill:var(--logged);pointer-events:none;stroke:var(--plan-floor);stroke-width:1px}.glyph-label,.glyph__label{pointer-events:none}.glyph__label{fill:var(--text);paint-order:stroke;stroke:var(--plan-floor);stroke-width:3px;stroke-linejoin:round;font-weight:600}.glyph--selected .glyph__rect{stroke:var(--accent);stroke-width:2.5px}.glyph--dragging .glyph__body{opacity:.9}.glyph__ghost{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 3;opacity:.7;pointer-events:none}.glyph__body{animation:.16s ease-out glyph-in}@keyframes glyph-in{0%{opacity:0;transform:scale(.7)}}.canvas__fit,.canvas__add,.canvas__size{bottom:calc(1rem + env(safe-area-inset-bottom) + var(--sheet-height,0px));min-height:44px;font:inherit;cursor:pointer;touch-action:manipulation;border-radius:999px;font-weight:600;transition:bottom .16s ease-out;position:absolute}.canvas__fit{width:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);padding:0;font-size:1.25rem;left:1rem}.canvas__add{color:var(--on-accent);background:var(--accent);border:0;padding:0 1.25rem;right:1rem;box-shadow:0 2px 10px #00000040}.canvas__size{color:var(--text);background:var(--surface);border:1px solid var(--line);padding:0 .875rem;font-size:.875rem;left:calc(1.5rem + 44px)}.canvas--resizing .canvas__size,.canvas--sheet .canvas__fit,.canvas--sheet .canvas__size{visibility:hidden}.canvas__readout{color:var(--text);white-space:nowrap;pointer-events:none;background:var(--surface);border:1px solid var(--line);border-radius:999px;flex-direction:column;align-items:center;padding:.375rem .75rem;font-size:.875rem;font-weight:600;display:flex;position:absolute;top:.75rem;left:50%;transform:translate(-50%)}.canvas__readout span{color:var(--muted);font-size:.75rem;font-weight:500}.empty-plan{pointer-events:none;place-items:center;padding:1rem;display:grid;position:absolute;inset:0}.empty-plan__card{text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;align-items:center;gap:.5rem;max-width:20rem;padding:1.25rem;display:flex}.empty-plan__card .button{pointer-events:auto}.empty-plan__title{margin:0;font-size:1.0625rem;font-weight:650}.empty-plan__body{color:var(--muted);margin:0;font-size:.875rem}.image-picker{flex-direction:column;gap:.5rem;display:flex}.image-picker__preview,.image-picker__placeholder{object-fit:contain;width:96px;height:96px}.image-picker__preview{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-group)}.image-picker__placeholder{color:var(--muted);border:1px dashed var(--line);border-radius:var(--r-group);background:0 0;place-items:center;font-size:.8125rem;display:grid}.image-picker__placeholder:after{content:"No picture"}.image-picker__error{color:var(--danger)}.type-list{margin:0;padding:0;list-style:none}.type-list__group{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;padding:.75rem .25rem .25rem;font-size:.75rem;font-weight:650}.type-list__preview{flex:none;width:36px;height:36px;overflow:visible}.type-list__row{width:100%;min-height:52px;font:inherit;color:var(--text);text-align:left;cursor:pointer;border:0;border-bottom:1px solid var(--line);touch-action:manipulation;background:0 0;justify-content:space-between;align-items:center;gap:.75rem;padding:0 .25rem;font-size:1rem;display:flex}.type-list__count{color:var(--muted);white-space:nowrap;font-size:.8125rem}.type-list__new .segmented{flex:100%}.type-list__row span{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.type-list__new input{flex:1;min-width:0}.type-list__empty{color:var(--muted);padding:1rem .25rem;font-size:.875rem}.log-screen{z-index:20;background:var(--bg);flex-direction:column;height:100dvh;display:flex;position:fixed;inset:0;overflow:hidden}.log-screen:focus{outline:none}.log-screen__menus{z-index:30;pointer-events:none;position:absolute;inset:0}.log-screen__menus>*{pointer-events:auto}.log-body{min-height:0;padding:.75rem;padding-bottom:calc(2rem + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:.75rem;display:flex;overflow-y:auto}.save-state{color:var(--muted);white-space:nowrap;font-size:.8125rem}.save-state--failed{padding:0 .5rem;font-size:.8125rem;font-weight:600}.callout{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-surface);margin:0;padding:.75rem .875rem;font-size:.875rem}.callout--carried{border-left:3px solid var(--accent)}.callout--resumed{border-left:3px solid var(--ok,var(--accent))}.log-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);flex-direction:column;gap:.875rem;padding:.875rem;display:flex}.log-card--setup{background:var(--setup-tint);border-color:var(--setup-line)}.log-card__title{align-items:baseline;gap:.5rem;margin:0;font-size:.9375rem;font-weight:650;display:flex}.log-tag{color:var(--accent);text-transform:uppercase;letter-spacing:.04em;font-size:.6875rem;font-weight:600}.log-tag--fresh{color:var(--muted)}.log-hint{color:var(--muted);margin:0;font-size:.8125rem}.field-input{flex-direction:column;gap:.375rem;display:flex}.field-input__label{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.875rem;display:flex}.field-input--compact .field-input__label{color:var(--muted);font-size:.75rem}.field-input .stepper{max-width:14rem}.field-input .stepper__pad{visibility:hidden;white-space:nowrap;font-size:.8125rem}.field-input__unit{color:var(--muted)}.field-input__required{color:var(--muted);font-size:.6875rem}.field-input__error{color:var(--danger);margin:0;font-size:.8125rem}.field-input__text,.field-input__select{width:100%;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-control);padding:0 .75rem;font-family:inherit;font-size:16px}.pill{white-space:nowrap;border-radius:999px;padding:.125rem .5rem;font-size:.6875rem;font-weight:600}.pill--kept{color:var(--muted);background:var(--surface-2)}.pill--changed{color:var(--on-accent);background:var(--accent)}.set-list{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.set-row,.pending-set{grid-template-columns:26px 1fr auto;align-items:center;gap:.5rem .75rem;display:grid}.set-row{width:100%;min-height:44px;font:inherit;color:var(--text);text-align:left;cursor:pointer;border-radius:var(--r-control);touch-action:manipulation;background:0 0;border:0;padding:0 .5rem}.set-row:active{background:var(--surface-2)}.set-row__number{width:26px;height:26px;color:var(--muted);background:var(--surface-2);border-radius:999px;flex:none;place-items:center;font-size:.8125rem;font-weight:650;display:grid}.set-row__summary{flex:1;font-size:1.0625rem;font-weight:550}.set-row__edit{color:var(--accent);font-size:.8125rem}.pending-set{background:var(--surface-2);border-radius:var(--r-group);align-items:start;padding:.75rem .5rem .5rem}.pending-set__number{width:26px;height:26px;color:var(--muted);border:1px dashed var(--line);border-radius:999px;place-items:center;margin-top:2.125rem;font-size:.8125rem;font-weight:650;display:grid}.set-fields{flex-direction:column;flex:1;gap:.5rem;min-width:12rem;display:flex}.set-fields__numbers{grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr));gap:.5rem;display:grid}.set-fields__numbers .field-input{min-width:0}.set-fields__total{font-variant-numeric:tabular-nums;color:var(--text);margin:0;font-weight:650}.addon-toggle{min-height:44px;font:inherit;color:var(--text);cursor:pointer;background:var(--surface-2);border-radius:var(--r-group);touch-action:manipulation;border:0;padding:0 .75rem;font-size:.9375rem;font-weight:550}.addon-toggle--on{color:var(--on-accent);background:var(--accent)}.pending-set__action,.pending-set__actions{grid-column:2/-1}.pending-set__action{flex-direction:column;gap:.5rem;display:flex}.pending-set__actions{gap:.5rem;display:flex}.set-list__item--editing{padding:0}.log-history{flex-direction:column;gap:.5rem;padding:0 .25rem;display:flex}.log-history__heading{flex-wrap:wrap;align-items:baseline;gap:.5rem .75rem;display:flex}.log-history__heading .log-card__title{margin:0}.log-history__heading .log-card__title:focus{outline:none}.log-history__heading .log-card__title:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.log-history__pending{flex-wrap:wrap;align-items:center;gap:.375rem .75rem;display:flex}.history-rejected{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.history-rejected__row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.history-list{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.history-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(5.5rem,auto) minmax(0,1fr) 44px;align-items:start;gap:.25rem .75rem;padding:.625rem 0;display:grid}.history-row__when{flex-direction:column;font-size:.8125rem;display:flex}.history-row__date{font-weight:600}.history-row__ago{color:var(--muted)}.history-row__source{color:var(--muted);overflow-wrap:anywhere;font-size:.75rem}.history-row__body{flex-direction:column;gap:.125rem;min-width:0;display:flex}.history-row__setup{margin:0;font-size:.875rem}.history-row__sets{color:var(--muted);margin:0;font-size:.875rem}.history-row__panel{grid-column:1/-1}.history-editor{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);flex-direction:column;gap:.75rem;padding:.875rem;display:flex}.history-editor__title{margin:0;font-size:1rem;font-weight:650}.history-editor__title:focus{outline:none}.history-editor__title:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.history-editor__meta,.history-editor__save{margin:0;font-size:.875rem}.history-editor__meta{color:var(--muted)}.history-editor__save{flex-wrap:wrap;align-items:center;gap:.375rem .75rem;display:flex}.log-discard{flex-direction:column;align-items:flex-start;gap:.5rem;padding:.25rem;display:flex}.log-discard--confirm{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);padding:.875rem}.log-discard__question{margin:0;font-weight:600}.sheet__last{flex-direction:column;gap:.125rem;margin:0;font-size:.875rem;display:flex}.sheet__last-when{color:var(--muted);font-size:.8125rem}.sheet__last-setup{font-weight:600}.sheet__last-sets{color:var(--muted)}.set-speed{grid-column:2/-1;min-width:0}.set-fields__numbers--derived-speed{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}.favourite-star{vertical-align:-3px;flex:none;width:20px;height:20px}.favourite-marker{color:var(--accent);align-items:center;margin-inline:.25rem;display:inline-flex}.favourite-button{flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.favourite-button[aria-disabled=true]{color:var(--muted);opacity:1;cursor:default}.favourite-button[aria-pressed=true]{color:var(--accent)}.favourite-control{min-width:0}.favourite-control__action{justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.favourite-control__help{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.favourite-heading{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.favourite-heading>:first-child{overflow-wrap:anywhere;min-width:0}.favourite-heading>.favourite-control{flex:0 48%}.sheet__section>.favourite-heading{padding-top:.25rem;padding-right:.25rem}.favourite-type-row{margin-bottom:.75rem}.favourite-type-row .favourite-control__action{justify-content:space-between}.glyph__favourite{pointer-events:none;color:var(--accent)}.glyph__favourite circle{fill:var(--surface);stroke:var(--line);stroke-width:1px}.overflow-menu{justify-self:end}.overflow-menu__trigger{justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:inline-flex}.overflow-menu__ellipsis{color:var(--muted);display:flex}.overflow-menu__panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);width:max-content;min-width:12rem;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-shadow:var(--sheet-shadow);flex-direction:column;align-self:start;gap:0;padding:.25rem;display:flex;overflow:auto}.overflow-menu__item{text-align:left;border-radius:var(--r-control);justify-content:flex-start;width:100%;min-height:44px;padding:0 .75rem}.overflow-menu__item--danger{color:var(--danger)}.legal p{margin:0}.legal h2{margin:.5rem 0 0;font-size:1rem}.legal h2:first-child{margin-top:0}.machine-type-card{text-align:left}.machine-type-card .card__title{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.machine-type-card .card__meta{flex-direction:column;align-items:flex-start;gap:.125rem;display:flex}.machine-fields__heading h2{scroll-margin-top:.5rem}.machine-fields__heading h2:focus{outline:none}.machine-fields__heading h2:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.machine-fields__heading,.machine-field,.machine-field__order{align-items:center;gap:.5rem;display:flex}.machine-fields__heading{justify-content:space-between}.machine-field{border-top:1px solid var(--line);justify-content:space-between;padding:.5rem 0}.machine-field__main{min-width:0;min-height:44px;color:var(--text);text-align:left;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;gap:.25rem;padding:0;display:flex}.machine-field__main span{color:var(--muted);font-size:.8125rem}.machine-field__order .button{min-width:44px;padding:0}.machine-field-sheet .field-row .field{flex:1 1 0;min-width:0}.machine-field-sheet .field-row input{box-sizing:border-box;width:100%;min-width:0}.field-recommendations{flex-direction:column;align-items:flex-start;gap:.5rem;display:flex}.field-recommendations__caption{font-size:.875rem;font-weight:650}.field-recommendations .hint{margin:0}.field-recommendations [role=status]:empty{height:0;margin:0;position:absolute}.field-recommendations__list{width:100%}.field-recommendations__row{box-sizing:border-box;width:100%;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-control);text-align:left;overflow-wrap:anywhere;flex-direction:column;gap:.25rem;padding:.75rem;display:flex}.field-recommendations__row+.field-recommendations__row{margin-top:.5rem}.field-recommendations__row span{color:var(--muted);font-size:.8125rem}.field-recommendations__row .field-recommendations__cue{color:var(--accent);font-weight:650}.checkbox-field{gap:0}.checkbox-row{min-height:44px;color:var(--text);cursor:pointer;align-items:center;gap:.5rem;font-size:1rem;display:flex}.checkbox-row input{box-sizing:border-box;flex:0 0 1.25rem;width:1.25rem;min-width:1.25rem;height:1.25rem;min-height:1.25rem;padding:0}textarea{min-height:88px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-control);resize:vertical;padding:.5rem .75rem;font-size:16px}.muscle-section--editable{cursor:pointer}.muscle-empty{margin:0}.muscle-list{flex-direction:column;margin:0;padding:0;display:flex}.muscle-list__group{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0;padding:.75rem .25rem .25rem;font-size:.75rem;font-weight:650}.muscle-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.25rem 0;display:flex}.muscle-row__name{flex:6rem;min-width:0}.muscle-row__value{font-variant-numeric:tabular-nums;flex:none}.muscle-row__weight{flex:none;width:10.5rem}.muscle-row .checkbox-row{flex:8rem;min-width:0}.muscle-row .error{flex:1 0 100%}.muscle-bar{background:var(--surface-2);border-radius:4px;flex:4rem;min-width:3rem;height:6px;display:block;overflow:hidden}.muscle-bar__fill{background:var(--accent);height:100%;display:block}
