/* Login/registration, settings, plan wizard (D4). GENERATED part: design system components.css + themes.css, scoped under
   #authView / #settingsView / #wizard and pruned to the classes these screens render (tools/screens-css/build.js).
   Edit tools/screens-css/pre.css + app.css, then rebuild; never edit this file by hand. */
/* ===== PRE (hand-written): base of the three screens + neutralise legacy rules on shared class names ===== */
#authView,#settingsView,#wizard{font:400 var(--t-body)/var(--lh-body) var(--f-ui);color:var(--c-ink);-webkit-font-smoothing:antialiased;font-synthesis:none}
:is(#authView,#settingsView,#wizard) *{box-sizing:border-box}
/* style.css: .form padding/labels/inputs (Advanced forms), .bar (stats bars), .field margin */
:is(#authView,#settingsView,#wizard) .form{padding:0}
:is(#authView,#settingsView,#wizard) .form label{font-size:inherit;margin:0}
#wizard .bar{height:auto;min-height:0;margin-bottom:0}

/* ===== generated ===== */
:where(#authView,#settingsView,#wizard) *{box-sizing:border-box}
:where(#authView,#settingsView,#wizard) button,:where(#authView,#settingsView,#wizard) input{font:inherit;color:inherit}
:where(#authView,#settingsView,#wizard) button{background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
:where(#authView,#settingsView,#wizard) a{color:inherit}
:where(#authView,#settingsView,#wizard) h1,:where(#authView,#settingsView,#wizard) h2,:where(#authView,#settingsView,#wizard) h3,:where(#authView,#settingsView,#wizard) p,:where(#authView,#settingsView,#wizard) ol,:where(#authView,#settingsView,#wizard) ul{margin:0;padding:0}
:where(#authView,#settingsView,#wizard) ol,:where(#authView,#settingsView,#wizard) ul{list-style:none}
:where(#authView,#settingsView,#wizard) code{font-family:ui-monospace,Menlo,monospace;font-size:.92em}
#authView .i,#settingsView .i,#wizard .i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#authView :focus-visible,#settingsView :focus-visible,#wizard :focus-visible{outline:3px solid var(--c-focus);outline-offset:2px}
#authView .spin,#settingsView .spin,#wizard .spin{animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
#authView .spin,#settingsView .spin,#wizard .spin{animation:none}
}
#authView .display,#settingsView .display,#wizard .display{font:var(--w-display) var(--t-display)/1.05 var(--f-display);letter-spacing:var(--ls-display)}
#authView :is(h1,h2,h3,.display,.h1,.h2,.h3,.wk-title),#settingsView :is(h1,h2,h3,.display,.h1,.h2,.h3,.wk-title),#wizard :is(h1,h2,h3,.display,.h1,.h2,.h3,.wk-title){overflow-wrap:break-word;hyphens:auto}
#authView .h1,#settingsView .h1,#wizard .h1{font:var(--w-title) var(--t-h1)/1.15 var(--f-display);letter-spacing:calc(var(--ls-display) / 3)}
#authView .h3,#settingsView .h3,#wizard .h3{font:700 var(--t-h3)/1.3 var(--f-ui);display:flex;align-items:center;gap:var(--s-2)}
#authView .kicker,#settingsView .kicker,#wizard .kicker{font:650 var(--t-cap)/var(--lh-cap) var(--f-label);letter-spacing:var(--ls-label);text-transform:var(--tt-label);color:var(--c-muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#authView .kicker .i,#settingsView .kicker .i,#wizard .kicker .i{width:15px;height:15px}
#authView .kicker-note,#settingsView .kicker-note,#wizard .kicker-note{text-transform:none;letter-spacing:0;font-weight:500}
#authView .meta,#settingsView .meta,#wizard .meta{font-size:var(--t-sm);line-height:var(--lh-sm);color:var(--c-muted)}
#authView .read,#settingsView .read,#wizard .read{font-size:var(--t-read);line-height:var(--lh-read);font-family:var(--f-read)}
#authView .label,#settingsView .label,#wizard .label{font-weight:650;margin:var(--s-5) 0 var(--s-2)}
#authView .fine,#settingsView .fine,#wizard .fine{display:flex;gap:var(--s-2);font-size:var(--t-sm);color:var(--c-muted);line-height:var(--lh-sm)}
#authView .fine .i,#settingsView .fine .i,#wizard .fine .i{width:17px;height:17px;margin-top:1px}
#authView .wordmark,#settingsView .wordmark,#wizard .wordmark{display:inline-flex;flex-direction:column;justify-content:center;min-height:var(--tap);text-decoration:none;line-height:1}
#authView .wm-name,#settingsView .wm-name,#wizard .wm-name{font:800 1.625rem/1 var(--f-display);letter-spacing:-1.2px;color:var(--c-ink)}
#authView .wm-tag,#settingsView .wm-tag,#wizard .wm-tag{font:600 0.625rem/1 var(--f-label);letter-spacing:1.5px;text-transform:uppercase;color:var(--c-muted);margin-top:5px}
#authView .iconbtn,#settingsView .iconbtn,#wizard .iconbtn{width:var(--tap);height:var(--tap);display:grid;place-items:center;border-radius:var(--r-ctl);color:var(--c-ink);flex-shrink:0}
#authView .iconbtn:hover,#settingsView .iconbtn:hover,#wizard .iconbtn:hover{background:color-mix(in srgb,var(--c-ink) 7%,transparent)}
#authView .btn,#settingsView .btn,#wizard .btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s-2);min-height:48px;padding:6px var(--s-4);border-radius:var(--r-ctl);border:var(--bw-ctl) solid transparent;font:650 0.9375rem/1.15 var(--f-ui);text-align:left;transition:background var(--dur) var(--ease),transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease);position:relative}
#authView .btn .i,#settingsView .btn .i,#wizard .btn .i{width:19px;height:19px}
#authView .btn-s,#settingsView .btn-s,#wizard .btn-s{min-height:var(--tap);padding:4px var(--s-3);font-size:0.875rem}
#authView .btn-l,#settingsView .btn-l,#wizard .btn-l{min-height:58px;border-radius:calc(var(--r-ctl) + 4px);font-size:1rem}
#authView .btn-block,#settingsView .btn-block,#wizard .btn-block{width:100%}
#authView .btn-primary,#settingsView .btn-primary,#wizard .btn-primary{background:var(--c-primary);color:var(--c-on-primary);font-weight:700;box-shadow:var(--sh-btn)}
#authView .btn-secondary,#settingsView .btn-secondary,#wizard .btn-secondary{background:var(--c-surface);border-color:var(--c-ctl);color:var(--c-ink)}
#authView .btn-danger-text,#settingsView .btn-danger-text,#wizard .btn-danger-text{color:var(--c-err-ink);background:transparent}
#authView .btn:hover,#settingsView .btn:hover,#wizard .btn:hover{background-image:linear-gradient(color-mix(in srgb,var(--c-ink) 8%,transparent) 0 0)}
#authView .btn-primary:hover,#settingsView .btn-primary:hover,#wizard .btn-primary:hover{background-image:linear-gradient(#ffffff26 0 0)}
#authView .btn:active,#settingsView .btn:active,#wizard .btn:active{transform:translateY(1px) scale(.985);box-shadow:none}
#authView .btn:disabled,#settingsView .btn:disabled,#wizard .btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
#authView .btn[aria-busy=true],#settingsView .btn[aria-busy=true],#wizard .btn[aria-busy=true]{cursor:progress}
#authView .field,#settingsView .field,#wizard .field{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:var(--s-4);min-width:0}
#authView .field-l,#settingsView .field-l,#wizard .field-l{font-weight:650;font-size:0.875rem}
#authView .field-opt,#settingsView .field-opt,#wizard .field-opt{font-weight:500;color:var(--c-muted)}
#authView .field-box,#settingsView .field-box,#wizard .field-box{--fb-bw:var(--bw-ctl);display:flex;align-items:center;gap:var(--s-2);min-height:52px;padding:0 4px 0 var(--s-3);border:var(--fb-bw) solid var(--c-ctl);border-radius:var(--r-ctl);background:var(--c-surface);position:relative}
#authView .field-box input,#settingsView .field-box input,#wizard .field-box input{position:absolute;inset:calc(-1 * var(--fb-bw));width:calc(100% + 2 * var(--fb-bw));min-width:0;border:0;border-radius:var(--r-ctl);background:transparent;font-size:1rem;padding:0 var(--s-3);outline:0}
#authView .field-box:has(>.field-ic) input,#settingsView .field-box:has(>.field-ic) input,#wizard .field-box:has(>.field-ic) input{padding-left:calc(var(--s-3) + 20px + var(--s-2))}
#authView .field-box:has(>.field-btn) input,#settingsView .field-box:has(>.field-btn) input,#wizard .field-box:has(>.field-btn) input{padding-right:calc(var(--tap) + 8px)}
#authView .field-box>.field-ic,#settingsView .field-box>.field-ic,#wizard .field-box>.field-ic{position:relative;z-index:1;pointer-events:none}
#authView .field-box>.field-btn,#settingsView .field-box>.field-btn,#wizard .field-box>.field-btn{position:relative;z-index:1;margin-left:auto}
#authView .field-box input::placeholder,#settingsView .field-box input::placeholder,#wizard .field-box input::placeholder{color:var(--c-muted);opacity:1}
#authView .field-ic,#settingsView .field-ic,#wizard .field-ic{color:var(--c-muted)}
#authView .field-btn,#settingsView .field-btn,#wizard .field-btn{width:var(--tap);height:var(--tap);display:grid;place-items:center;color:var(--c-muted);border-radius:var(--r-ctl)}
#authView .field-box input:focus-visible,#settingsView .field-box input:focus-visible,#wizard .field-box input:focus-visible{box-shadow:0 0 0 3px var(--c-focus)}
#authView .field:not(.is-error) .field-box:focus-within,#settingsView .field:not(.is-error) .field-box:focus-within,#wizard .field:not(.is-error) .field-box:focus-within{border-color:var(--c-focus)}
#authView .field-help,#settingsView .field-help,#wizard .field-help{font-size:var(--t-sm);color:var(--c-muted);line-height:var(--lh-sm)}
#authView .field.is-error .field-box,#settingsView .field.is-error .field-box,#wizard .field.is-error .field-box{border-color:var(--c-err-line);--fb-bw:2px}
#authView .field-err,#settingsView .field-err,#wizard .field-err{display:flex;gap:var(--s-2);font-size:var(--t-sm);line-height:var(--lh-sm);color:var(--c-err-ink);background:var(--c-err-bg);border-radius:var(--r-ctl);padding:var(--s-2) var(--s-3);font-weight:550}
#authView .field-err .i,#settingsView .field-err .i,#wizard .field-err .i{width:18px;height:18px;margin-top:1px}
#authView .seg,#settingsView .seg,#wizard .seg{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px;padding:3px;border:var(--bw-ctl) solid var(--c-ctl);border-radius:calc(var(--r-ctl) + 4px);background:var(--c-surface)}
#authView .seg-o,#settingsView .seg-o,#wizard .seg-o{min-height:var(--tap);min-width:44px;padding:4px 12px;border-radius:var(--r-ctl);font-weight:650;font-size:0.875rem;text-align:center;line-height:1.15}
#authView .seg-o[aria-checked=true],#settingsView .seg-o[aria-checked=true],#wizard .seg-o[aria-checked=true]{background:var(--c-primary);color:var(--c-on-primary)}
#authView .seg-full,#settingsView .seg-full,#wizard .seg-full{display:grid;width:100%}
#authView .seg-s .seg-o,#settingsView .seg-s .seg-o,#wizard .seg-s .seg-o{min-height:36px;padding:2px 10px;font-size:0.8125rem}
#authView .seg-s,#settingsView .seg-s,#wizard .seg-s{padding:3px}
#authView .seg-s .seg-o,#settingsView .seg-s .seg-o,#wizard .seg-s .seg-o{position:relative}
#authView .seg-s .seg-o::after,#settingsView .seg-s .seg-o::after,#wizard .seg-s .seg-o::after{content:'';position:absolute;inset:-4px -2px}
#authView .chips,#settingsView .chips,#wizard .chips{display:flex;flex-wrap:wrap;gap:var(--s-2);margin:var(--s-2) 0}
#authView .chip,#settingsView .chip,#wizard .chip{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 14px;border-radius:var(--r-pill);border:var(--bw-ctl) solid var(--c-ctl);background:var(--c-surface);font-weight:600;font-size:0.875rem}
#authView .chip b,#settingsView .chip b,#wizard .chip b{font-weight:800}
#authView .chip[aria-pressed=true],#settingsView .chip[aria-pressed=true],#wizard .chip[aria-pressed=true]{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary)}
#authView .chip:disabled,#settingsView .chip:disabled,#wizard .chip:disabled{opacity:.45}
#authView .chip .i,#settingsView .chip .i,#wizard .chip .i{width:17px;height:17px}
#authView .pill,#settingsView .pill,#wizard .pill{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:0.7812rem;font-weight:700;border-radius:var(--r-pill);padding:3px 9px;line-height:1.2;white-space:nowrap}
#authView .pill .i,#settingsView .pill .i,#wizard .pill .i{width:14px;height:14px}
#authView .pill-paid,#settingsView .pill-paid,#wizard .pill-paid{background:var(--c-warn-bg);color:var(--c-warn-ink)}
#authView .card,#settingsView .card,#wizard .card{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r-card);box-shadow:var(--sh-card)}
#authView .banner,#settingsView .banner,#wizard .banner{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:4px var(--s-3);padding:var(--s-3);border-radius:var(--r-ctl);border:1.5px solid;margin-bottom:var(--s-3)}
#authView .banner>.i,#settingsView .banner>.i,#wizard .banner>.i{width:22px;height:22px;margin-top:1px}
#authView .banner b,#settingsView .banner b,#wizard .banner b{display:block;font-size:0.9375rem}
#authView .banner p,#settingsView .banner p,#wizard .banner p{font-size:var(--t-sm);line-height:1.45;margin-top:2px}
#authView .banner-acts,#settingsView .banner-acts,#wizard .banner-acts{display:flex;flex-wrap:wrap;gap:4px var(--s-2);margin-top:var(--s-2)}
#authView .banner-err,#settingsView .banner-err,#wizard .banner-err{background:var(--c-err-bg);border-color:var(--c-err-line);color:var(--c-err-ink)}
#authView .banner-warn,#settingsView .banner-warn,#wizard .banner-warn{background:var(--c-warn-bg);border-color:var(--c-post-line);color:var(--c-warn-ink)}
#authView .banner-info,#settingsView .banner-info,#wizard .banner-info{background:var(--c-surface-2);border-color:var(--c-line);color:var(--c-ink)}
#authView .week,#settingsView .week,#wizard .week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:var(--s-3) 0 var(--s-2)}
#authView .wd,#settingsView .wd,#wizard .wd{min-height:60px;padding:4px 0;border-radius:var(--r-ctl);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:var(--bw-ctl) solid transparent;min-width:0}
#authView .wd-l,#settingsView .wd-l,#wizard .wd-l{font:600 0.6875rem/1.2 var(--f-label);color:var(--c-muted);letter-spacing:.3px}
#authView .wd-m,#settingsView .wd-m,#wizard .wd-m{min-height:14px;display:flex;align-items:center;color:var(--c-muted)}
#authView .wd-ic,#settingsView .wd-ic,#wizard .wd-ic{width:14px;height:14px;stroke-width:2.6}
#authView .wd.is-sel,#settingsView .wd.is-sel,#wizard .wd.is-sel{background:var(--c-primary);color:var(--c-on-primary)}
#authView .wd.is-sel :is(.wd-l,.wd-m),#settingsView .wd.is-sel :is(.wd-l,.wd-m),#wizard .wd.is-sel :is(.wd-l,.wd-m){color:inherit}
#authView .bar,#settingsView .bar,#wizard .bar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-bar);padding:10px min(14px,2.6vw) 28px;background:var(--c-surface);border-top:var(--bw) solid var(--c-line);box-shadow:0 -6px 20px #0000000f;container-type:inline-size;font-size:1rem}
#authView .bar-in,#settingsView .bar-in,#wizard .bar-in{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.9fr) minmax(0,1.28fr);gap:7px}
#authView .bar-2 .bar-in,#settingsView .bar-2 .bar-in,#wizard .bar-2 .bar-in{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
#authView .bar .btn,#settingsView .bar .btn,#wizard .bar .btn{padding:6px 8px;justify-content:center;min-width:0}
#authView .bar .banner,#settingsView .bar .banner,#wizard .bar .banner{grid-column:1/-1;margin:0 0 2px}
@container (max-width:14em){
#authView .bar .bar-in,#settingsView .bar .bar-in,#wizard .bar .bar-in{grid-template-columns:minmax(0,1fr)}
}
#authView :where(dialog),#settingsView :where(dialog),#wizard :where(dialog){margin:0;border:0;padding:0;color:inherit;max-width:none;max-height:none;inset:auto;width:auto;height:auto}
#authView dialog::backdrop,#settingsView dialog::backdrop,#wizard dialog::backdrop{background:var(--c-scrim,#1f2b2466)}
#authView dialog:not([open]),#settingsView dialog:not([open]),#wizard dialog:not([open]){display:none!important}
#authView .swatches,#settingsView .swatches,#wizard .swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4.75rem),1fr));gap:6px}
#authView .swatch,#settingsView .swatch,#wizard .swatch{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px 6px;border-radius:var(--r-ctl);border:var(--bw-ctl) solid var(--c-line);font-size:0.75rem;font-weight:600;position:relative;min-height:var(--tap);text-align:center;line-height:1.15}
#authView .swatch.is-sel,#settingsView .swatch.is-sel,#wizard .swatch.is-sel{border-color:var(--c-primary);border-width:2.5px}
#authView .swatch-c,#settingsView .swatch-c,#wizard .swatch-c{display:flex;border-radius:8px;overflow:hidden;border:1px solid #00000033}
#authView .swatch-c i,#settingsView .swatch-c i,#wizard .swatch-c i{width:12px;height:26px}
#authView .swatch-ok,#settingsView .swatch-ok,#wizard .swatch-ok{position:absolute;top:5px;right:5px;width:18px;height:18px;padding:2px;border-radius:50%;stroke-width:3.4;background:var(--c-primary);color:var(--c-on-primary)}
#authView .swatch-original i:nth-child(1),#settingsView .swatch-original i:nth-child(1),#wizard .swatch-original i:nth-child(1){background:#1765d8}
#authView .swatch-original i:nth-child(2),#settingsView .swatch-original i:nth-child(2),#wizard .swatch-original i:nth-child(2){background:#f5f7f9}
#authView .swatch-original i:nth-child(3),#settingsView .swatch-original i:nth-child(3),#wizard .swatch-original i:nth-child(3){background:#172d3d}
#authView .swatch-mina i:nth-child(1),#settingsView .swatch-mina i:nth-child(1),#wizard .swatch-mina i:nth-child(1){background:#294f3e}
#authView .swatch-mina i:nth-child(2),#settingsView .swatch-mina i:nth-child(2),#wizard .swatch-mina i:nth-child(2){background:#f0ece3}
#authView .swatch-mina i:nth-child(3),#settingsView .swatch-mina i:nth-child(3),#wizard .swatch-mina i:nth-child(3){background:#cfe8d8}
#authView .swatch-gym i:nth-child(1),#settingsView .swatch-gym i:nth-child(1),#wizard .swatch-gym i:nth-child(1){background:#0c0d0b}
#authView .swatch-gym i:nth-child(2),#settingsView .swatch-gym i:nth-child(2),#wizard .swatch-gym i:nth-child(2){background:#d4ff1e}
#authView .swatch-gym i:nth-child(3),#settingsView .swatch-gym i:nth-child(3),#wizard .swatch-gym i:nth-child(3){background:#ff4a24}
#authView .swatch-halloween i:nth-child(1),#settingsView .swatch-halloween i:nth-child(1),#wizard .swatch-halloween i:nth-child(1){background:#120b1c}
#authView .swatch-halloween i:nth-child(2),#settingsView .swatch-halloween i:nth-child(2),#wizard .swatch-halloween i:nth-child(2){background:#ff8a2a}
#authView .swatch-halloween i:nth-child(3),#settingsView .swatch-halloween i:nth-child(3),#wizard .swatch-halloween i:nth-child(3){background:#9cff57}
#authView .swatch-funky i:nth-child(1),#settingsView .swatch-funky i:nth-child(1),#wizard .swatch-funky i:nth-child(1){background:#fff3df}
#authView .swatch-funky i:nth-child(2),#settingsView .swatch-funky i:nth-child(2),#wizard .swatch-funky i:nth-child(2){background:#f2611d}
#authView .swatch-funky i:nth-child(3),#settingsView .swatch-funky i:nth-child(3),#wizard .swatch-funky i:nth-child(3){background:#3a1a0a}
#authView .row-link,#settingsView .row-link,#wizard .row-link{display:flex;align-items:center;gap:var(--s-3);min-height:52px;text-decoration:none;font-weight:600;border-bottom:1px solid var(--c-line);width:100%}
#authView .row-link:last-child,#settingsView .row-link:last-child,#wizard .row-link:last-child{border-bottom:0}
#authView .row-link .end,#settingsView .row-link .end,#wizard .row-link .end{margin-left:auto;color:var(--c-muted)}
#authView .auth,#settingsView .auth,#wizard .auth{min-height:100vh;padding:var(--s-4) var(--s-4) var(--s-7);max-width:520px;margin:0 auto}
#authView .auth-top,#settingsView .auth-top,#wizard .auth-top{display:flex;align-items:center;justify-content:space-between}
#authView .auth-hero,#settingsView .auth-hero,#wizard .auth-hero{font-size:2rem;margin-top:var(--s-6)}
#authView .auth-sub,#settingsView .auth-sub,#wizard .auth-sub{color:var(--c-muted);margin:var(--s-2) 0 var(--s-5)}
#authView .auth-card,#settingsView .auth-card,#wizard .auth-card{padding:var(--s-5) var(--s-4)}
#authView .auth-points,#settingsView .auth-points,#wizard .auth-points{display:none;gap:var(--s-3);margin-top:var(--s-6)}
#authView .auth-points li,#settingsView .auth-points li,#wizard .auth-points li{display:flex;gap:var(--s-3);align-items:center;font-weight:600}
#authView .auth-points .i,#settingsView .auth-points .i,#wizard .auth-points .i{width:36px;height:36px;padding:8px;border-radius:50%;background:var(--c-surface);color:var(--c-primary);border:var(--bw) solid var(--c-line)}
#authView .auth-card-top,#settingsView .auth-card-top,#wizard .auth-card-top{display:none}
#authView .auth-tabs,#settingsView .auth-tabs,#wizard .auth-tabs{margin:var(--s-4) 0}
#authView .auth .btn-block+.fine,#settingsView .auth .btn-block+.fine,#wizard .auth .btn-block+.fine{margin-top:var(--s-3)}
#authView .auth-card>.btn-secondary,#settingsView .auth-card>.btn-secondary,#wizard .auth-card>.btn-secondary{margin-top:var(--s-4)}
#authView .howto,#settingsView .howto,#wizard .howto{display:grid;gap:var(--s-3);counter-reset:s}
#authView .howto li,#settingsView .howto li,#wizard .howto li{display:grid;grid-template-columns:minmax(30px,max-content) minmax(0,1fr);gap:var(--s-3);align-items:start}
#authView .step-n,#settingsView .step-n,#wizard .step-n{width:30px;height:30px;border-radius:50%;background:var(--c-primary);color:var(--c-on-primary);display:grid;place-items:center;font:700 0.875rem/1 var(--f-ui)}
#authView .wizard,#settingsView .wizard,#wizard .wizard{padding:var(--s-4) var(--s-4) 120px;max-width:640px;margin:0 auto}
#authView .wz-top,#settingsView .wz-top,#wizard .wz-top{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--s-3);margin-bottom:var(--s-5)}
#authView .wz-top>div:first-child,#settingsView .wz-top>div:first-child,#wizard .wz-top>div:first-child{flex:1}
#authView .progress,#settingsView .progress,#wizard .progress{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:var(--s-2)}
#authView .progress i,#settingsView .progress i,#wizard .progress i{height:6px;border-radius:3px;background:var(--c-line)}
#authView .progress i.on,#settingsView .progress i.on,#wizard .progress i.on{background:var(--c-primary)}
#authView .progress i.cur,#settingsView .progress i.cur,#wizard .progress i.cur{background:var(--c-primary);opacity:.55}
#authView .wz-body .meta,#settingsView .wz-body .meta,#wizard .wz-body .meta{margin:var(--s-2) 0 var(--s-4)}
#authView .opts,#settingsView .opts,#wizard .opts{display:grid;gap:var(--s-2);margin-bottom:var(--s-4)}
#authView .opt,#settingsView .opt,#wizard .opt,#authView .eq,#settingsView .eq,#wizard .eq{display:flex;align-items:center;gap:var(--s-3);min-height:60px;padding:var(--s-2) var(--s-4);border-radius:var(--r-card);border:var(--bw-ctl) solid var(--c-ctl);background:var(--c-surface);width:100%;text-align:left;font-weight:650}
#authView .opt.is-sel,#settingsView .opt.is-sel,#wizard .opt.is-sel,#authView .eq.is-sel,#settingsView .eq.is-sel,#wizard .eq.is-sel{border-color:var(--c-primary);border-width:2.5px;background:var(--c-surface-2)}
#authView .opt-ic,#settingsView .opt-ic,#wizard .opt-ic,#authView .eq-ic,#settingsView .eq-ic,#wizard .eq-ic{width:26px;height:26px;color:var(--c-muted)}
#authView .opt>span,#settingsView .opt>span,#wizard .opt>span{flex:1}
#authView .opt-ok,#settingsView .opt-ok,#wizard .opt-ok,#authView .eq-ok,#settingsView .eq-ok,#wizard .eq-ok{color:var(--c-primary);stroke-width:2.8}
#authView .eq-ok,#settingsView .eq-ok,#wizard .eq-ok{margin-left:auto}
#authView .eq.is-locked,#settingsView .eq.is-locked,#wizard .eq.is-locked{opacity:.75}
#authView .daychips,#settingsView .daychips,#wizard .daychips{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,2.4rem),1fr));gap:4px}
#authView .chip-day,#settingsView .chip-day,#wizard .chip-day{padding:0;justify-content:center;min-width:0;font-size:0.8125rem}
#authView .week-prev .wd,#settingsView .week-prev .wd,#wizard .week-prev .wd{min-height:52px;border:1px dashed var(--c-line)}
#authView .week-prev .wd.is-ten,#settingsView .week-prev .wd.is-ten,#wizard .week-prev .wd.is-ten{border:var(--bw-ctl) solid var(--c-tennis);color:var(--c-tennis)}
#authView .week-prev .wd.is-ten .wd-m,#settingsView .week-prev .wd.is-ten .wd-m,#wizard .week-prev .wd.is-ten .wd-m,#authView .week-prev .wd.is-ten .wd-l,#settingsView .week-prev .wd.is-ten .wd-l,#wizard .week-prev .wd.is-ten .wd-l{color:var(--c-tennis)}
#authView .week-prev+.fine,#settingsView .week-prev+.fine,#wizard .week-prev+.fine{margin-top:var(--s-2)}
#authView .eqgrid,#settingsView .eqgrid,#wizard .eqgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:var(--s-2)}
#authView .eq>span,#settingsView .eq>span,#wizard .eq>span{min-width:0}
#authView .eq,#settingsView .eq,#wizard .eq{min-height:64px;padding:var(--s-2) var(--s-3);font-size:0.875rem;line-height:1.2;gap:6px}
#authView .lockrow,#settingsView .lockrow,#wizard .lockrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s-3);padding:var(--s-3) var(--s-4);border:var(--bw) dashed var(--c-ctl);border-radius:var(--r-card)}
#authView .lockrow span,#settingsView .lockrow span,#wizard .lockrow span{display:flex;flex-direction:column;min-width:0;flex:1 1 12rem}
#authView .lockrow small,#settingsView .lockrow small,#wizard .lockrow small{color:var(--c-muted)}
#authView .plan,#settingsView .plan,#wizard .plan{display:grid;gap:6px}
#authView .plan-d,#settingsView .plan-d,#wizard .plan-d{display:grid;grid-template-columns:minmax(44px,max-content) minmax(0,1fr) 24px;gap:var(--s-3);align-items:start;padding:var(--s-3);border-radius:var(--r-ctl);background:var(--c-surface);border:var(--bw) solid var(--c-line)}
#authView .plan-day,#settingsView .plan-day,#wizard .plan-day{font:700 0.875rem/1.6 var(--f-label);text-transform:var(--tt-label);color:var(--c-muted)}
#authView .plan-b b,#settingsView .plan-b b,#wizard .plan-b b{display:block;line-height:1.5}
#authView .plan-b small,#settingsView .plan-b small,#wizard .plan-b small{color:var(--c-muted);font-size:var(--t-sm)}
#authView .plan-ex,#settingsView .plan-ex,#wizard .plan-ex{margin-top:6px;display:grid;gap:3px;font-size:0.875rem;color:var(--c-ink)}
#authView .plan-ex li,#settingsView .plan-ex li,#wizard .plan-ex li{padding-left:14px;position:relative}
#authView .plan-ex li::before,#settingsView .plan-ex li::before,#wizard .plan-ex li::before{content:'';position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--c-muted)}
#authView .plan-ic,#settingsView .plan-ic,#wizard .plan-ic{color:var(--c-muted);margin-top:2px}
#authView .plan-d.is-T .plan-ic,#settingsView .plan-d.is-T .plan-ic,#wizard .plan-d.is-T .plan-ic{color:var(--c-tennis)}
#authView .plan-d.is-R,#settingsView .plan-d.is-R,#wizard .plan-d.is-R{background:transparent;border-style:dashed}
#authView .settings,#settingsView .settings,#wizard .settings{padding:var(--s-4) var(--s-4) var(--s-7);max-width:640px;margin:0 auto}
#authView .set-col,#settingsView .set-col,#wizard .set-col{display:grid;gap:var(--s-3);margin-bottom:var(--s-3)}
#authView .setcard,#settingsView .setcard,#wizard .setcard{padding:var(--s-4);display:grid;gap:var(--s-3)}
#authView .setcard .field,#settingsView .setcard .field,#wizard .setcard .field{margin:0}
#authView .howto li p,#settingsView .howto li p,#wizard .howto li p{font-size:0.9375rem;line-height:1.5}
#authView .howto .step-n,#settingsView .howto .step-n,#wizard .howto .step-n{width:26px;height:26px;font-size:0.8125rem;background:var(--c-surface-2);color:var(--c-ink);border:1.5px solid var(--c-ctl)}
@media (min-width:760px){
#authView .bar,#settingsView .bar,#wizard .bar{left:50%;right:auto;width:640px;transform:translateX(-50%);border:var(--bw) solid var(--c-line);border-bottom:0;border-radius:var(--r-card) var(--r-card) 0 0}
}
@media (min-width:960px){
#authView .display,#settingsView .display,#wizard .display{font-size:3.25rem}
#authView .bar,#settingsView .bar,#wizard .bar{position:sticky;top:84px;order:-1;left:auto;right:auto;width:auto;transform:none;border:var(--bw) solid var(--c-line);border-radius:var(--r-card);padding:10px;box-shadow:var(--sh-card)}
#authView .bar .bar-in,#settingsView .bar .bar-in,#wizard .bar .bar-in{grid-template-columns:1fr 1fr 1.3fr}
#authView .bar-2 .bar-in,#settingsView .bar-2 .bar-in,#wizard .bar-2 .bar-in{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
#authView .bar .btn,#settingsView .bar .btn,#wizard .bar .btn{min-height:50px}
#authView .auth,#settingsView .auth,#wizard .auth{max-width:1180px;display:grid;grid-template-columns:1fr 480px;gap:var(--s-9);align-items:center;padding:var(--s-8)}
#authView .auth-lang-m,#settingsView .auth-lang-m,#wizard .auth-lang-m{display:none}
#authView .auth-card-top,#settingsView .auth-card-top,#wizard .auth-card-top{display:flex;justify-content:flex-end;margin-bottom:var(--s-2)}
#authView .auth-brand,#settingsView .auth-brand,#wizard .auth-brand{padding:var(--s-8);border-radius:var(--r-card);background:var(--c-surface-2);min-height:560px;display:flex;flex-direction:column;justify-content:center}
#authView .auth-brand,#settingsView .auth-brand,#wizard .auth-brand{justify-content:space-between}
#authView .auth-points,#settingsView .auth-points,#wizard .auth-points{display:grid}
#authView .auth-hero,#settingsView .auth-hero,#wizard .auth-hero{font-size:3.5rem}
#authView .auth-card,#settingsView .auth-card,#wizard .auth-card{padding:var(--s-7)}
#authView .wizard,#settingsView .wizard,#wizard .wizard{padding:var(--s-8) var(--s-4)}
#authView .wz-card,#settingsView .wz-card,#wizard .wz-card{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r-card);box-shadow:var(--sh-card);padding:var(--s-7)}
#authView .wz-bar,#settingsView .wz-bar,#wizard .wz-bar{position:static;transform:none;width:auto;border:0;background:transparent;box-shadow:none;padding:var(--s-4) 0 0;display:block}
#authView .wz-bar .bar-in,#settingsView .wz-bar .bar-in,#wizard .wz-bar .bar-in{display:flex;justify-content:space-between}
#authView .wz-bar .btn,#settingsView .wz-bar .btn,#wizard .wz-bar .btn{min-width:180px}
#authView .week-prev .wd,#settingsView .week-prev .wd,#wizard .week-prev .wd{min-height:52px;border:1px dashed var(--c-line)}
#authView .week-prev .wd.is-ten,#settingsView .week-prev .wd.is-ten,#wizard .week-prev .wd.is-ten{border:var(--bw-ctl) solid var(--c-tennis);color:var(--c-tennis)}
#authView .week-prev .wd.is-ten .wd-m,#settingsView .week-prev .wd.is-ten .wd-m,#wizard .week-prev .wd.is-ten .wd-m,#authView .week-prev .wd.is-ten .wd-l,#settingsView .week-prev .wd.is-ten .wd-l,#wizard .week-prev .wd.is-ten .wd-l{color:var(--c-tennis)}
#authView .week-prev+.fine,#settingsView .week-prev+.fine,#wizard .week-prev+.fine{margin-top:var(--s-2)}
#authView .settings,#settingsView .settings,#wizard .settings{max-width:1240px;padding:var(--s-6) var(--s-7)}
#authView .settings>.h1,#settingsView .settings>.h1,#wizard .settings>.h1{margin-bottom:var(--s-5)}
#authView .set-grid,#settingsView .set-grid,#wizard .set-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--s-5);align-items:start}
}
#authView .opts-row,#settingsView .opts-row,#wizard .opts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr));gap:var(--s-2)}
#authView .opt-num,#settingsView .opt-num,#wizard .opt-num{flex-direction:column;justify-content:center;gap:2px;text-align:center;min-height:72px}
#authView .opt-num b,#settingsView .opt-num b,#wizard .opt-num b{font-size:1.25rem}
#authView .opt-num small,#settingsView .opt-num small,#wizard .opt-num small,#authView .opt small,#settingsView .opt small,#wizard .opt small{display:flex;align-items:center;gap:4px;font-weight:500;color:var(--c-muted);font-size:.8125rem}
#authView .opt-num small .i,#settingsView .opt-num small .i,#wizard .opt-num small .i{width:13px;height:13px}
#authView .opt[aria-disabled=true],#settingsView .opt[aria-disabled=true],#wizard .opt[aria-disabled=true]{opacity:.7;border-style:dashed}
#authView .opt>span small,#settingsView .opt>span small,#wizard .opt>span small{display:block}
#authView .eq span,#settingsView .eq span,#wizard .eq span{display:flex;flex-direction:column}
#authView .eq span small,#settingsView .eq span small,#wizard .eq span small{display:flex;align-items:center;gap:3px;font-size:.75rem;color:var(--c-muted);font-weight:600}
#authView .eq span small .i,#settingsView .eq span small .i,#wizard .eq span small .i{width:12px;height:12px}
#authView .eq.is-locked,#settingsView .eq.is-locked,#wizard .eq.is-locked{opacity:1;cursor:default}
#authView .week-prev .wd.is-cond,#settingsView .week-prev .wd.is-cond,#wizard .week-prev .wd.is-cond{border:var(--bw-ctl) solid var(--c-primary)}
#authView .week-prev .wd.is-cond .wd-m,#settingsView .week-prev .wd.is-cond .wd-m,#wizard .week-prev .wd.is-cond .wd-m{color:var(--c-primary)}
#authView .week-prev .wd.is-cond .wd-l,#settingsView .week-prev .wd.is-cond .wd-l,#wizard .week-prev .wd.is-cond .wd-l,#authView .week-prev .wd.is-ten .wd-l,#settingsView .week-prev .wd.is-ten .wd-l,#wizard .week-prev .wd.is-ten .wd-l{color:var(--c-ink)}
#authView .deflist,#settingsView .deflist,#wizard .deflist{display:grid;border-top:1px solid var(--c-line);margin-bottom:var(--s-4)}
#authView .deflist li,#settingsView .deflist li,#wizard .deflist li{display:grid;grid-template-columns:22px minmax(0,1fr) 20px;gap:var(--s-3);align-items:center;min-height:56px;border-bottom:1px solid var(--c-line)}
#authView .deflist li span,#settingsView .deflist li span,#wizard .deflist li span{display:flex;flex-direction:column}
#authView .deflist small,#settingsView .deflist small,#wizard .deflist small{color:var(--c-muted);font-size:.875rem}
#authView .deflist .i,#settingsView .deflist .i,#wizard .deflist .i{color:var(--c-muted)}
#authView .summary,#settingsView .summary,#wizard .summary{padding:var(--s-4);margin-top:var(--s-2)}
#authView .gen,#settingsView .gen,#wizard .gen{display:grid;justify-items:start;gap:var(--s-3);padding:var(--s-6) 0}
#authView .gen-ic,#settingsView .gen-ic,#wizard .gen-ic{width:40px;height:40px;color:var(--c-primary)}
#authView .genlist,#settingsView .genlist,#wizard .genlist{display:grid;gap:var(--s-2);margin-top:var(--s-2)}
#authView .genlist li,#settingsView .genlist li,#wizard .genlist li{display:flex;align-items:center;gap:var(--s-2);color:var(--c-muted)}
#authView .genlist li.ok,#settingsView .genlist li.ok,#wizard .genlist li.ok{color:var(--c-ink)}
#authView .genlist li.ok .i,#settingsView .genlist li.ok .i,#wizard .genlist li.ok .i{color:var(--c-ok-ink)}
#authView .plan,#settingsView .plan,#wizard .plan{border-top:1px solid var(--c-line)}
#authView .plan-d,#settingsView .plan-d,#wizard .plan-d{border:0;border-bottom:1px solid var(--c-line);border-radius:0;background:transparent;padding:var(--s-3) 2px}
#authView .plan-d.is-R,#settingsView .plan-d.is-R,#wizard .plan-d.is-R{border-style:solid}
#authView .plan-toggle,#settingsView .plan-toggle,#wizard .plan-toggle{display:inline-flex;align-items:center;gap:4px;min-height:var(--tap);font-weight:650;font-size:.875rem;color:var(--c-ink);text-decoration:underline;text-underline-offset:3px}
#authView .plan-toggle .i,#settingsView .plan-toggle .i,#wizard .plan-toggle .i{width:16px;height:16px}
#authView .plan-toggle[aria-expanded=true] .i,#settingsView .plan-toggle[aria-expanded=true] .i,#wizard .plan-toggle[aria-expanded=true] .i{transform:rotate(180deg)}
@media (max-width:360px){
#authView .settings,#settingsView .settings,#wizard .settings,#authView .wizard,#settingsView .wizard,#wizard .wizard{padding-left:12px;padding-right:12px}
#authView .week,#settingsView .week,#wizard .week{grid-template-columns:repeat(7,44px);overflow-x:auto;scroll-snap-type:x mandatory;margin-left:-12px;margin-right:-12px;padding:0 12px;scrollbar-width:none}
#authView .week .wd,#settingsView .week .wd,#wizard .week .wd{scroll-snap-align:center}
#authView .display,#settingsView .display,#wizard .display{font-size:2.125rem}
}
@media (min-width:960px){
#authView .bar,#settingsView .bar,#wizard .bar{display:none}
#authView .wz-bar,#settingsView .wz-bar,#wizard .wz-bar{display:block;position:sticky;bottom:0;background:var(--c-bg);padding:var(--s-3) 0;z-index:5}
}
#authView :is(.step-n,.os-n,.ag-n,.cav),#settingsView :is(.step-n,.os-n,.ag-n,.cav),#wizard :is(.step-n,.os-n,.ag-n,.cav){min-width:1.9em;min-height:1.9em}
#authView .pill,#settingsView .pill,#wizard .pill{max-width:100%;white-space:normal}
#authView .seg.seg-full,#settingsView .seg.seg-full,#wizard .seg.seg-full{grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
/* themes.css */
:root[data-tempo-theme=original] #authView .wm-name,:root[data-tempo-theme=original] #settingsView .wm-name,:root[data-tempo-theme=original] #wizard .wm-name{color:var(--c-primary)}
:root[data-tempo-theme=mina] #authView .wm-name,:root[data-tempo-theme=mina] #settingsView .wm-name,:root[data-tempo-theme=mina] #wizard .wm-name{font-family:var(--f-title);font-weight:500;letter-spacing:-.5px;color:var(--c-primary)}
:root[data-tempo-theme=mina] #authView :is(.h1,.h2,.h3,.display,.wk-title,.appbar-title,.dsec-h),:root[data-tempo-theme=mina] #settingsView :is(.h1,.h2,.h3,.display,.wk-title,.appbar-title,.dsec-h),:root[data-tempo-theme=mina] #wizard :is(.h1,.h2,.h3,.display,.wk-title,.appbar-title,.dsec-h){font-family:var(--f-title);font-weight:500;letter-spacing:-.5px}
:root[data-tempo-theme=gym] #authView .display,:root[data-tempo-theme=gym] #settingsView .display,:root[data-tempo-theme=gym] #wizard .display,:root[data-tempo-theme=gym] #authView .h1,:root[data-tempo-theme=gym] #settingsView .h1,:root[data-tempo-theme=gym] #wizard .h1{text-transform:uppercase}
:root[data-tempo-theme=gym] #authView .display,:root[data-tempo-theme=gym] #settingsView .display,:root[data-tempo-theme=gym] #wizard .display{color:var(--c-primary)}
:root[data-tempo-theme=gym] #authView .h3,:root[data-tempo-theme=gym] #settingsView .h3,:root[data-tempo-theme=gym] #wizard .h3{font-family:var(--f-display);font-weight:400;text-transform:uppercase;letter-spacing:.6px}
:root[data-tempo-theme=gym] #authView .wz-top .kicker,:root[data-tempo-theme=gym] #settingsView .wz-top .kicker,:root[data-tempo-theme=gym] #wizard .wz-top .kicker{color:var(--c-accent)}
:root[data-tempo-theme=gym] #authView .wm-name,:root[data-tempo-theme=gym] #settingsView .wm-name,:root[data-tempo-theme=gym] #wizard .wm-name{font:400 1.625rem/1 'T4 BlackOps',Impact,sans-serif;letter-spacing:1px;text-transform:uppercase;color:var(--c-ink)}
:root[data-tempo-theme=gym] #authView .wm-name::before,:root[data-tempo-theme=gym] #settingsView .wm-name::before,:root[data-tempo-theme=gym] #wizard .wm-name::before{content:'//';color:var(--c-accent);margin-right:4px}
:root[data-tempo-theme=gym] #authView .wm-tag,:root[data-tempo-theme=gym] #settingsView .wm-tag,:root[data-tempo-theme=gym] #wizard .wm-tag{color:var(--c-primary);letter-spacing:3px}
:root[data-tempo-theme=gym] #authView .auth-card,:root[data-tempo-theme=gym] #settingsView .auth-card,:root[data-tempo-theme=gym] #wizard .auth-card,:root[data-tempo-theme=gym] #authView .wz-card,:root[data-tempo-theme=gym] #settingsView .wz-card,:root[data-tempo-theme=gym] #wizard .wz-card{position:relative;padding-top:10px}
:root[data-tempo-theme=gym] #authView .auth-card::before,:root[data-tempo-theme=gym] #settingsView .auth-card::before,:root[data-tempo-theme=gym] #wizard .auth-card::before,:root[data-tempo-theme=gym] #authView .wz-card::before,:root[data-tempo-theme=gym] #settingsView .wz-card::before,:root[data-tempo-theme=gym] #wizard .wz-card::before{content:'';position:absolute;left:0;right:0;top:0;height:10px;background:repeating-linear-gradient(-45deg,var(--c-primary) 0 12px,var(--c-bg) 12px 24px)}
:root[data-tempo-theme=gym] #authView .wd,:root[data-tempo-theme=gym] #settingsView .wd,:root[data-tempo-theme=gym] #wizard .wd{border:2px solid var(--c-line);background:var(--c-surface)}
:root[data-tempo-theme=gym] #authView .wd.is-sel,:root[data-tempo-theme=gym] #settingsView .wd.is-sel,:root[data-tempo-theme=gym] #wizard .wd.is-sel{background:var(--c-primary);color:var(--c-on-primary);border-color:var(--c-primary);box-shadow:3px 3px 0 var(--c-accent)}
:root[data-tempo-theme=gym] #authView .wd-l,:root[data-tempo-theme=gym] #settingsView .wd-l,:root[data-tempo-theme=gym] #wizard .wd-l{letter-spacing:1.5px;text-transform:uppercase}
:root[data-tempo-theme=gym] #authView .btn,:root[data-tempo-theme=gym] #settingsView .btn,:root[data-tempo-theme=gym] #wizard .btn{font:600 0.875rem/1.15 var(--f-ui);text-transform:uppercase;letter-spacing:.8px}
:root[data-tempo-theme=gym] #authView .btn-primary,:root[data-tempo-theme=gym] #settingsView .btn-primary,:root[data-tempo-theme=gym] #wizard .btn-primary{font:400 1.1875rem/1 var(--f-display);letter-spacing:1px;margin:0 4px 4px 0}
:root[data-tempo-theme=gym] #authView .seg-o,:root[data-tempo-theme=gym] #settingsView .seg-o,:root[data-tempo-theme=gym] #wizard .seg-o,:root[data-tempo-theme=gym] #authView .chip,:root[data-tempo-theme=gym] #settingsView .chip,:root[data-tempo-theme=gym] #wizard .chip{text-transform:uppercase;letter-spacing:.8px;font-size:0.8125rem}
:root[data-tempo-theme=gym] #authView .field-box,:root[data-tempo-theme=gym] #settingsView .field-box,:root[data-tempo-theme=gym] #wizard .field-box{background:#0f110d}
:root[data-tempo-theme=gym] #authView .field-l,:root[data-tempo-theme=gym] #settingsView .field-l,:root[data-tempo-theme=gym] #wizard .field-l{text-transform:uppercase;letter-spacing:2px;font-size:0.8125rem}
:root[data-tempo-theme=gym] #authView .read,:root[data-tempo-theme=gym] #settingsView .read,:root[data-tempo-theme=gym] #wizard .read,:root[data-tempo-theme=gym] #authView .banner p,:root[data-tempo-theme=gym] #settingsView .banner p,:root[data-tempo-theme=gym] #wizard .banner p{font-family:var(--f-read)}
:root[data-tempo-theme=gym] #authView .step-n,:root[data-tempo-theme=gym] #settingsView .step-n,:root[data-tempo-theme=gym] #wizard .step-n{border-radius:2px;font-family:var(--f-data)}
:root[data-tempo-theme=gym] #authView .bar,:root[data-tempo-theme=gym] #settingsView .bar,:root[data-tempo-theme=gym] #wizard .bar{border-top:2px solid var(--c-line);box-shadow:none}
:root[data-tempo-theme=gym] #authView .auth-brand .auth-hero,:root[data-tempo-theme=gym] #settingsView .auth-brand .auth-hero,:root[data-tempo-theme=gym] #wizard .auth-brand .auth-hero{text-transform:uppercase;color:var(--c-primary)}
:root[data-tempo-theme=halloween] #authView .display,:root[data-tempo-theme=halloween] #settingsView .display,:root[data-tempo-theme=halloween] #wizard .display,:root[data-tempo-theme=halloween] #authView .h1,:root[data-tempo-theme=halloween] #settingsView .h1,:root[data-tempo-theme=halloween] #wizard .h1{letter-spacing:.5px}
:root[data-tempo-theme=halloween] #authView .display,:root[data-tempo-theme=halloween] #settingsView .display,:root[data-tempo-theme=halloween] #wizard .display{font-size:2.875rem}
:root[data-tempo-theme=halloween] #authView .wm-name,:root[data-tempo-theme=halloween] #settingsView .wm-name,:root[data-tempo-theme=halloween] #wizard .wm-name{font:400 1.875rem/1 var(--f-display);letter-spacing:.5px;color:var(--c-primary);display:inline-flex;align-items:center;gap:6px}
:root[data-tempo-theme=halloween] #authView .wm-name::before,:root[data-tempo-theme=halloween] #settingsView .wm-name::before,:root[data-tempo-theme=halloween] #wizard .wm-name::before{content:'';width:18px;height:18px;background:var(--c-accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E") center/contain no-repeat}
:root[data-tempo-theme=halloween] #authView .wm-tag,:root[data-tempo-theme=halloween] #settingsView .wm-tag,:root[data-tempo-theme=halloween] #wizard .wm-tag{color:var(--c-accent)}
:root[data-tempo-theme=halloween] #authView .card,:root[data-tempo-theme=halloween] #settingsView .card,:root[data-tempo-theme=halloween] #wizard .card{border-color:color-mix(in srgb,var(--c-line) 75%,var(--c-skip-line))}
:root[data-tempo-theme=halloween] #authView .wd,:root[data-tempo-theme=halloween] #settingsView .wd,:root[data-tempo-theme=halloween] #wizard .wd{border-radius:16px 16px 8px 8px}
:root[data-tempo-theme=halloween] #authView .btn-primary,:root[data-tempo-theme=halloween] #settingsView .btn-primary,:root[data-tempo-theme=halloween] #wizard .btn-primary{box-shadow:var(--sh-btn)}
:root[data-tempo-theme=halloween] #authView .step-n,:root[data-tempo-theme=halloween] #settingsView .step-n,:root[data-tempo-theme=halloween] #wizard .step-n{background:var(--c-primary);color:var(--c-on-primary);font-family:var(--f-display);font-size:1.0625rem;font-weight:400}
:root[data-tempo-theme=halloween] #authView .auth-hero,:root[data-tempo-theme=halloween] #settingsView .auth-hero,:root[data-tempo-theme=halloween] #wizard .auth-hero{color:var(--c-primary)}
:root[data-tempo-theme=funky] #authView .display,:root[data-tempo-theme=funky] #settingsView .display,:root[data-tempo-theme=funky] #wizard .display{text-shadow:3px 3px 0 var(--c-primary);letter-spacing:.5px}
:root[data-tempo-theme=funky] #authView .wm-name,:root[data-tempo-theme=funky] #settingsView .wm-name,:root[data-tempo-theme=funky] #wizard .wm-name{font:400 1.875rem/1 var(--f-display);letter-spacing:0;color:var(--c-ink);text-shadow:2px 2px 0 var(--c-primary)}
:root[data-tempo-theme=funky] #authView .wm-tag,:root[data-tempo-theme=funky] #settingsView .wm-tag,:root[data-tempo-theme=funky] #wizard .wm-tag{font-family:var(--f-label);text-transform:none;letter-spacing:.5px;color:var(--c-muted)}
:root[data-tempo-theme=funky] #authView .kicker,:root[data-tempo-theme=funky] #settingsView .kicker,:root[data-tempo-theme=funky] #wizard .kicker{color:var(--c-link);font-weight:400;font-size:0.8125rem}
:root[data-tempo-theme=funky] #authView .wz-top,:root[data-tempo-theme=funky] #settingsView .wz-top,:root[data-tempo-theme=funky] #wizard .wz-top{padding-bottom:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5c5 0 5-4 10-4s5 4 10 4 5-4 10-4 5 4 10 4' fill='none' stroke='%23f2611d' stroke-width='2.5'/%3E%3C/svg%3E") left bottom repeat-x}
:root[data-tempo-theme=funky] #authView .card,:root[data-tempo-theme=funky] #settingsView .card,:root[data-tempo-theme=funky] #wizard .card{border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #authView .btn,:root[data-tempo-theme=funky] #settingsView .btn,:root[data-tempo-theme=funky] #wizard .btn{font-family:var(--f-label);font-weight:400;letter-spacing:.3px}
:root[data-tempo-theme=funky] #authView .btn-primary,:root[data-tempo-theme=funky] #settingsView .btn-primary,:root[data-tempo-theme=funky] #wizard .btn-primary,:root[data-tempo-theme=funky] #authView .btn-secondary,:root[data-tempo-theme=funky] #settingsView .btn-secondary,:root[data-tempo-theme=funky] #wizard .btn-secondary{border-color:var(--c-ink);box-shadow:var(--sh-btn);margin:0 3px 3px 0}
:root[data-tempo-theme=funky] #authView .btn-primary,:root[data-tempo-theme=funky] #settingsView .btn-primary,:root[data-tempo-theme=funky] #wizard .btn-primary{font-size:1.125rem}
:root[data-tempo-theme=funky] #authView .wd,:root[data-tempo-theme=funky] #settingsView .wd,:root[data-tempo-theme=funky] #wizard .wd{border-radius:18px}
:root[data-tempo-theme=funky] #authView .wd.is-sel,:root[data-tempo-theme=funky] #settingsView .wd.is-sel,:root[data-tempo-theme=funky] #wizard .wd.is-sel{border:2.5px solid var(--c-ink);box-shadow:var(--sh-btn)}
:root[data-tempo-theme=funky] #authView .seg,:root[data-tempo-theme=funky] #settingsView .seg,:root[data-tempo-theme=funky] #wizard .seg,:root[data-tempo-theme=funky] #authView .chip,:root[data-tempo-theme=funky] #settingsView .chip,:root[data-tempo-theme=funky] #wizard .chip,:root[data-tempo-theme=funky] #authView .field-box,:root[data-tempo-theme=funky] #settingsView .field-box,:root[data-tempo-theme=funky] #wizard .field-box,:root[data-tempo-theme=funky] #authView .opt,:root[data-tempo-theme=funky] #settingsView .opt,:root[data-tempo-theme=funky] #wizard .opt,:root[data-tempo-theme=funky] #authView .eq,:root[data-tempo-theme=funky] #settingsView .eq,:root[data-tempo-theme=funky] #wizard .eq{border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #authView .seg-o,:root[data-tempo-theme=funky] #settingsView .seg-o,:root[data-tempo-theme=funky] #wizard .seg-o,:root[data-tempo-theme=funky] #authView .chip,:root[data-tempo-theme=funky] #settingsView .chip,:root[data-tempo-theme=funky] #wizard .chip,:root[data-tempo-theme=funky] #authView .field-l,:root[data-tempo-theme=funky] #settingsView .field-l,:root[data-tempo-theme=funky] #wizard .field-l{font-family:var(--f-label);font-weight:400}
:root[data-tempo-theme=funky] #authView .step-n,:root[data-tempo-theme=funky] #settingsView .step-n,:root[data-tempo-theme=funky] #wizard .step-n{background:var(--c-accent);color:var(--c-surface);font-family:var(--f-num);font-weight:400}
:root[data-tempo-theme=funky] #authView .pill,:root[data-tempo-theme=funky] #settingsView .pill,:root[data-tempo-theme=funky] #wizard .pill{border:1.5px solid var(--c-ink)}
:root[data-tempo-theme=funky] #authView .bar,:root[data-tempo-theme=funky] #settingsView .bar,:root[data-tempo-theme=funky] #wizard .bar{border-top:2.5px solid var(--c-ink);box-shadow:none}
:root[data-tempo-theme=funky] #authView .banner,:root[data-tempo-theme=funky] #settingsView .banner,:root[data-tempo-theme=funky] #wizard .banner{border-width:2.5px}
:root[data-tempo-theme=funky] #authView .auth-brand,:root[data-tempo-theme=funky] #settingsView .auth-brand,:root[data-tempo-theme=funky] #wizard .auth-brand{background:var(--c-post-bg)}
@media (max-width:959px){
:root[data-tempo-theme=funky] #authView .auth-brand,:root[data-tempo-theme=funky] #settingsView .auth-brand,:root[data-tempo-theme=funky] #wizard .auth-brand{padding:var(--s-3)}
}
@media (min-width:960px){
:root[data-tempo-theme=funky] #authView .bar,:root[data-tempo-theme=funky] #settingsView .bar,:root[data-tempo-theme=funky] #wizard .bar{border:2.5px solid var(--c-ink)}
}
:root[data-tempo-theme=funky] #authView .field.is-error .field-box,:root[data-tempo-theme=funky] #settingsView .field.is-error .field-box,:root[data-tempo-theme=funky] #wizard .field.is-error .field-box{border-color:var(--c-accent);--fb-bw:3px}
:root[data-tempo-theme=gym] #authView .auth-card,:root[data-tempo-theme=gym] #settingsView .auth-card,:root[data-tempo-theme=gym] #wizard .auth-card{padding-top:calc(var(--s-5) + 14px)}
:root[data-tempo-theme=gym] #authView .wz-card,:root[data-tempo-theme=gym] #settingsView .wz-card,:root[data-tempo-theme=gym] #wizard .wz-card{padding-top:24px}
#authView .swatch>span:not(.swatch-c),#settingsView .swatch>span:not(.swatch-c),#wizard .swatch>span:not(.swatch-c){font-size:0.7188rem;overflow-wrap:break-word;padding:0 2px}
:root[data-tempo-theme=funky] #authView .week-prev .wd.is-cond,:root[data-tempo-theme=funky] #settingsView .week-prev .wd.is-cond,:root[data-tempo-theme=funky] #wizard .week-prev .wd.is-cond{background:var(--c-primary);border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #authView .week-prev .wd.is-cond :is(.wd-m,.wd-l),:root[data-tempo-theme=funky] #settingsView .week-prev .wd.is-cond :is(.wd-m,.wd-l),:root[data-tempo-theme=funky] #wizard .week-prev .wd.is-cond :is(.wd-m,.wd-l){color:var(--c-on-primary)}
:root[data-tempo-theme=funky] #authView :is(.opt-ok,.eq-ok,.gen-ic,.bn-a.is-active .i),:root[data-tempo-theme=funky] #settingsView :is(.opt-ok,.eq-ok,.gen-ic,.bn-a.is-active .i),:root[data-tempo-theme=funky] #wizard :is(.opt-ok,.eq-ok,.gen-ic,.bn-a.is-active .i){color:var(--c-ink)}
:root[data-tempo-theme=funky] #authView :is(.wkev-g,.wkev-m),:root[data-tempo-theme=funky] #settingsView :is(.wkev-g,.wkev-m),:root[data-tempo-theme=funky] #wizard :is(.wkev-g,.wkev-m){border-left-color:var(--c-ctl)}
:root[data-tempo-theme=funky] #authView :is(.auth-points .i,.empty-badge),:root[data-tempo-theme=funky] #settingsView :is(.auth-points .i,.empty-badge),:root[data-tempo-theme=funky] #wizard :is(.auth-points .i,.empty-badge){color:var(--c-ink)}

/* ===== APP (hand-written) ===== */
/* ===== APP (hand-written additions the design system does not have) ===== */
:is(#authView,#wizard) .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:is(#authView,#settingsView,#wizard) .btn{text-decoration:none;text-align:center;line-height:1.2}
:is(#authView,#settingsView,#wizard) a:not(.btn){color:var(--c-link);text-underline-offset:3px}
/* Auth */
#authView .auth{padding-top:calc(var(--s-4) + env(safe-area-inset-top))}
#authView .form{display:grid;grid-template-columns:minmax(0,1fr)}
#authView .form>.banner{margin-bottom:var(--s-4)}
#authView .auth-demo{margin-top:var(--s-4)}
#authView .auth-demo-note,#authView .auth-private{margin-top:var(--s-3)}
#authView .field-box input:disabled{cursor:not-allowed}
#authView .banner p+p{margin-top:4px}
#authView .banner:focus{outline:0}#authView .banner:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px}
/* Settings (inside the Advanced layout: the page head and gutters come from it) */
#settingsView .settings{padding:0;max-width:1240px;margin:0}
#settingsView .set-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
@media (min-width:1100px){#settingsView .set-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s-5);align-items:start}}
#settingsView .setcard>.h3 .i{flex-shrink:0}
#settingsView .setform{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-3);padding:var(--s-2) 0 var(--s-3)}
#settingsView .setform .banner{margin:0}
#settingsView .rows{display:grid;grid-template-columns:minmax(0,1fr)}
#settingsView .row-link{color:var(--c-ink);text-align:left;cursor:pointer}
#settingsView .row-link>span{flex:1 1 auto;min-width:0}
#settingsView .set-acts{display:flex;flex-wrap:wrap;gap:var(--s-2)}
#settingsView .set-acts .btn{flex:1 1 12em}
#settingsView .howto a{font-weight:650;overflow-wrap:anywhere}
#settingsView .banner{margin:0}
#settingsView .fine>span,#authView .fine>span,#wizard .fine>span{min-width:0}
#settingsView .swatch{color:var(--c-ink);background:var(--c-surface);cursor:pointer}
/* Wizard: full page over the hidden app */
#wizard{position:relative;z-index:1;min-height:100vh;background:var(--c-bg)}
#wizard .wz-top .seg-s{flex-shrink:0}
#wizard .wz-top .iconbtn{margin:-4px -8px 0 0}
#wizard h1:focus{outline:0}#wizard h1:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px}
#wizard .opt,#wizard .eq,#wizard .chip{color:var(--c-ink);cursor:pointer}
#wizard .opt[aria-disabled=true]{cursor:not-allowed}
#wizard .opts-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr))}
#wizard .daychips .chip{min-height:var(--tap)}
#wizard .wz-count{margin-top:var(--s-2)}
#wizard .week-prev{margin-top:var(--s-2)}
#wizard .wz-exclude .chip{min-height:var(--tap);text-align:left;line-height:1.2;padding-top:6px;padding-bottom:6px}
#wizard .wz-body>.banner{margin-bottom:var(--s-4)}
#wizard .plan-toggle{color:var(--c-ink);cursor:pointer}
#wizard .wz-replace{margin-top:var(--s-4)}
#wizard .lockrow{margin-bottom:var(--s-4)}
/* Regenerate confirmation (native modal dialog, TempoA11y) */
dialog#d4Dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:480px;height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;background:var(--c-surface);color:var(--c-ink);border:var(--bw) solid var(--c-line);border-radius:var(--r-card);padding:var(--s-5);box-shadow:var(--sh-pop);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-3);font:400 var(--t-body)/var(--lh-body) var(--f-ui)}
dialog#d4Dialog:not([open]){display:none}
dialog#d4Dialog::backdrop{background:var(--c-scrim)}
#d4Dialog .h2{font:700 var(--t-h2)/1.2 var(--f-ui);margin:0;overflow-wrap:break-word;hyphens:auto}
#d4Dialog .read{font-size:var(--t-read);line-height:var(--lh-read);font-family:var(--f-read);margin:0}
#d4Dialog .dialog-ic{width:44px;height:44px;border-radius:50%;background:var(--c-warn-bg);color:var(--c-warn-ink);display:grid;place-items:center}
#d4Dialog .dialog-acts{display:flex;flex-wrap:wrap;gap:var(--s-2);margin-top:var(--s-2)}
#d4Dialog .btn{flex:1 1 9em;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:var(--s-2);min-height:58px;padding:6px var(--s-4);border-radius:calc(var(--r-ctl) + 4px);border:var(--bw-ctl) solid transparent;font:650 1rem/1.2 var(--f-ui);white-space:normal;overflow-wrap:anywhere;text-align:center;cursor:pointer}
#d4Dialog .btn-secondary{background:var(--c-surface);border-color:var(--c-ctl);color:var(--c-ink)}
#d4Dialog .btn-primary{background:var(--c-primary);color:var(--c-on-primary);font-weight:700;box-shadow:var(--sh-btn);flex-grow:1.3}
#d4Dialog .btn:hover{background-image:linear-gradient(color-mix(in srgb,var(--c-ink) 8%,transparent) 0 0)}
#d4Dialog .btn .i{width:19px;height:19px}
:root[data-tempo-theme=funky] #d4Dialog .btn{border-color:var(--c-ink)}
:root[data-tempo-theme=gym] #d4Dialog .btn{text-transform:uppercase;letter-spacing:.5px}
#wizard .plan-d{grid-template-columns:minmax(3.2rem,4.6rem) minmax(0,1fr) 24px}
:is(#authView,#wizard) .seg-s .seg-o{min-height:max(36px,1.7em)}
/* sign-up dialog for read-only clients */
#d4Dialog .su-form{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-2)}
#d4Dialog .su-l{font:650 var(--t-sm)/1.3 var(--f-ui);color:var(--c-ink)}
#d4Dialog .su-in{width:100%;min-height:var(--tap,48px);padding:10px 12px;border:var(--bw-ctl) solid var(--c-ctl);border-radius:var(--r-ctl);background:var(--c-surface);color:var(--c-ink);font:400 1rem/1.3 var(--f-ui)}
#d4Dialog .su-in:focus-visible{outline:3px solid var(--c-focus,var(--c-primary));outline-offset:2px}
#d4Dialog .su-err{margin:0;color:var(--c-err-ink,#a12);font-size:var(--t-sm);min-height:1.2em}
#settingsView .set-warn{color:var(--c-warn-ink);font-weight:600}
