/* Simple day (D2). GENERATED part: design system components.css + themes.css, scoped under #simpleView and pruned to
   the classes this view renders (tools/simple-css/build.js). Edit tools/simple-css/pre.css + app.css, then rebuild; never edit this file by hand. */
/* ===== PRE (hand-written): base of the view + neutralise legacy Advanced rules on shared class names ===== */
#simpleView{font:400 var(--t-body)/var(--lh-body) var(--f-ui);color:var(--c-ink);-webkit-font-smoothing:antialiased;font-synthesis:none;min-height:100vh}
#simpleView *{box-sizing:border-box}
/* style.css styles .day/.dayhead/.dot/.bar for the Advanced calendar and stats bars */
#simpleView .day{border:0;position:static;background:none;display:block;min-height:0;grid-template-columns:none;min-width:0}
#simpleView .dayhead{text-align:start;margin-bottom:0;grid-row:auto}
#simpleView .dot{width:auto;margin-right:0}
#simpleView .bar{height:auto;min-height:0;margin-bottom:0}

/* ===== generated ===== */
:where(#simpleView) *{box-sizing:border-box}
:where(#simpleView) button,:where(#simpleView) input{font:inherit;color:inherit}
:where(#simpleView) button{background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
:where(#simpleView) a{color:inherit}
:where(#simpleView) h1,:where(#simpleView) h2,:where(#simpleView) h3,:where(#simpleView) p,:where(#simpleView) ol,:where(#simpleView) ul{margin:0;padding:0}
:where(#simpleView) ol,:where(#simpleView) ul{list-style:none}
:where(#simpleView) code{font-family:ui-monospace,Menlo,monospace;font-size:.92em}
#simpleView .i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#simpleView :focus-visible{outline:3px solid var(--c-focus);outline-offset:2px}
#simpleView .spin{animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
#simpleView .spin{animation:none}
}
#simpleView .mt{margin-top:var(--s-2)}
#simpleView .display{font:var(--w-display) var(--t-display)/1.05 var(--f-display);letter-spacing:var(--ls-display)}
#simpleView :is(h1,h2,h3,.display,.h1,.h2,.h3,.wk-title){overflow-wrap:break-word;hyphens:auto}
#simpleView .h1{font:var(--w-title) var(--t-h1)/1.15 var(--f-display);letter-spacing:calc(var(--ls-display) / 3)}
#simpleView .wk-title{font:var(--w-title) var(--t-h1)/1.1 var(--f-title)}
#simpleView .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}
#simpleView .kicker .i{width:15px;height:15px}
#simpleView .meta{font-size:var(--t-sm);line-height:var(--lh-sm);color:var(--c-muted)}
#simpleView .read{font-size:var(--t-read);line-height:var(--lh-read);font-family:var(--f-read)}
#simpleView .h-dot{color:var(--c-accent)}
#simpleView .wordmark{display:inline-flex;flex-direction:column;justify-content:center;min-height:var(--tap);text-decoration:none;line-height:1}
#simpleView .wm-name{font:800 1.625rem/1 var(--f-display);letter-spacing:-1.2px;color:var(--c-ink)}
#simpleView .wm-tag{font:600 0.625rem/1 var(--f-label);letter-spacing:1.5px;text-transform:uppercase;color:var(--c-muted);margin-top:5px}
#simpleView .appbar{background:var(--c-surface);border-bottom:var(--bw) solid var(--c-line);position:sticky;top:0;z-index:20}
#simpleView .appbar-in{display:flex;align-items:center;gap:var(--s-3);padding:var(--s-2) var(--s-4);min-height:60px;max-width:1240px;margin:0 auto}
#simpleView .appbar .wordmark{display:none}
#simpleView .topnav{display:none}
#simpleView .appbar .avatar{margin-left:auto}
#simpleView .iconbtn{width:var(--tap);height:var(--tap);display:grid;place-items:center;border-radius:var(--r-ctl);color:var(--c-ink);flex-shrink:0}
#simpleView .iconbtn:hover{background:color-mix(in srgb,var(--c-ink) 7%,transparent)}
#simpleView .avatar{width:max(var(--tap),2.4em);height:max(var(--tap),2.4em);border-radius:50%;border:var(--bw-ctl) solid var(--c-ctl);background:var(--c-surface);font-weight:700;display:grid;place-items:center;flex-shrink:0}
#simpleView .desk,#simpleView .desk-appbar{display:none}
#simpleView .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}
#simpleView .btn .i{width:19px;height:19px}
#simpleView .btn-s{min-height:var(--tap);padding:4px var(--s-3);font-size:0.875rem}
#simpleView .btn-l{min-height:58px;border-radius:calc(var(--r-ctl) + 4px);font-size:1rem}
#simpleView .btn-block{width:100%}
#simpleView .btn-primary{background:var(--c-primary);color:var(--c-on-primary);font-weight:700;box-shadow:var(--sh-btn)}
#simpleView .btn-secondary{background:var(--c-surface);border-color:var(--c-ctl);color:var(--c-ink)}
#simpleView .btn-post{background:var(--c-post-bg);border-color:var(--c-post-line);color:var(--c-post-ink)}
#simpleView .btn-skip{background:var(--c-skip-bg);border-color:var(--c-skip-line);color:var(--c-skip-ink)}
#simpleView .btn-link{min-height:var(--tap);padding:4px 6px;text-decoration:underline;text-underline-offset:3px;color:var(--c-ink)}
#simpleView .btn:hover{background-image:linear-gradient(color-mix(in srgb,var(--c-ink) 8%,transparent) 0 0)}
#simpleView .btn-primary:hover{background-image:linear-gradient(#ffffff26 0 0)}
#simpleView .btn:active,#simpleView .btn.is-active{transform:translateY(1px) scale(.985);box-shadow:none}
#simpleView .btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
#simpleView .btn[aria-busy=true]{cursor:progress}
#simpleView .field-l{font-weight:650;font-size:0.875rem}
#simpleView .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)}
#simpleView .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}
#simpleView .seg-o[aria-checked=true]{background:var(--c-primary);color:var(--c-on-primary)}
#simpleView .edit{container-type:inline-size}
#simpleView .seg.seg-scope{display:grid;width:100%;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
@container (min-width:18rem){
#simpleView .seg.seg-scope{grid-template-columns:repeat(4,minmax(0,1fr))}
}
#simpleView .seg.seg-scope .seg-o{min-width:0;padding-left:5px;padding-right:5px}
#simpleView .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}
#simpleView .chip b{font-weight:800}
#simpleView .chip[aria-pressed=true]{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary)}
#simpleView .chip:disabled{opacity:.45}
#simpleView .chip-dashed{border-style:dashed}
#simpleView .chip .i{width:17px;height:17px}
#simpleView .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}
#simpleView .pill .i{width:14px;height:14px}
#simpleView .pill-done{background:var(--c-done-bg);color:var(--c-done-ink);border:var(--bw) solid var(--c-done-line);min-height:36px;padding:0 12px;font-size:0.875rem}
#simpleView .pill-neutral{background:var(--c-surface-2);color:var(--c-muted)}
#simpleView .card{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r-card);box-shadow:var(--sh-card)}
#simpleView .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)}
#simpleView .banner>.i{width:22px;height:22px;margin-top:1px}
#simpleView .banner b{display:block;font-size:0.9375rem}
#simpleView .banner p{font-size:var(--t-sm);line-height:1.45;margin-top:2px}
#simpleView .banner-acts{display:flex;flex-wrap:wrap;gap:4px var(--s-2);margin-top:var(--s-2)}
#simpleView .banner-err{background:var(--c-err-bg);border-color:var(--c-err-line);color:var(--c-err-ink)}
#simpleView .banner-warn{background:var(--c-warn-bg);border-color:var(--c-post-line);color:var(--c-warn-ink)}
#simpleView .banner-info{background:var(--c-surface-2);border-color:var(--c-line);color:var(--c-ink)}
#simpleView .banner-err .btn-link,#simpleView .banner-warn .btn-link{color:inherit}
#simpleView .banner-x{margin:-8px -8px 0 0}
#simpleView .banner-compact{padding:10px 12px;align-items:start}
#simpleView .banner-compact p{margin:0;font-size:0.875rem}
#simpleView .banner-compact .banner-acts{margin-top:6px}
#simpleView .status-line{display:flex;align-items:center;gap:var(--s-2);color:var(--c-muted);font-size:0.875rem;margin-bottom:var(--s-3)}
#simpleView .sk{display:block;background:var(--c-skeleton);border-radius:8px}
#simpleView .r50{border-radius:50%!important}
#simpleView .day{padding:var(--s-3) var(--s-4) 132px;max-width:640px;margin:0 auto}
#simpleView .dayhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s-3)}
#simpleView .dayhead>div{min-width:0}
#simpleView .dayhead .display{margin-top:2px}
#simpleView .week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:var(--s-3) 0 var(--s-2)}
#simpleView .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}
#simpleView .wd-l{font:600 0.6875rem/1.2 var(--f-label);color:var(--c-muted);letter-spacing:.3px}
#simpleView .wd-n{font:650 1.0625rem/1.2 var(--f-data);font-variant-numeric:tabular-nums lining-nums}
#simpleView .wd-m{min-height:14px;display:flex;align-items:center;color:var(--c-muted)}
#simpleView .wd-ic{width:14px;height:14px;stroke-width:2.6}
#simpleView .wd.is-done .wd-m{color:var(--c-ok-ink)}
#simpleView .wd-dots{display:flex;gap:3px}
#simpleView .wd-dots b{width:5px;height:5px;border-radius:50%;background:currentColor}
#simpleView .wd-more{font:700 0.625rem/1 var(--f-ui);font-style:normal}
#simpleView .wd.is-today:not(.is-sel){border-color:var(--c-ctl)}
#simpleView .wd.is-sel{background:var(--c-primary);color:var(--c-on-primary)}
#simpleView .wd.is-sel :is(.wd-l,.wd-m){color:inherit}
#simpleView .note{display:flex;align-items:center;gap:7px;font-size:var(--t-sm);color:var(--c-muted);margin:2px 0 var(--s-3)}
#simpleView .note .i{width:16px;height:16px}
#simpleView .wtabs{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:4px}
#simpleView .wtabs-arrow{color:var(--c-muted);display:grid;place-items:center}
#simpleView .wtabs-arrow .i{width:18px;height:18px}
#simpleView .day-l{container-type:inline-size}
@container (max-width:17rem){
#simpleView .day-l .wtabs{grid-template-columns:minmax(0,1fr)}
#simpleView .day-l .wtabs-arrow{transform:rotate(90deg);height:18px}
}
#simpleView .wtab-t{min-width:0}
#simpleView .wtab{min-height:60px;border:var(--bw-ctl) solid var(--c-ctl);border-radius:calc(var(--r-ctl) + 4px);background:var(--c-surface);display:flex;align-items:center;gap:10px;padding:8px 10px;min-width:0}
#simpleView .wtab-n{width:28px;height:28px;border-radius:50%;border:1.5px solid currentColor;display:grid;place-items:center;font:600 1rem/1 var(--f-num);font-variant-numeric:lining-nums;flex-shrink:0}
#simpleView .wtab-n .i{width:16px;height:16px;stroke-width:2.8}
#simpleView .wtab-t{display:flex;flex-direction:column;min-width:0}
#simpleView .wtab-t b{font-weight:700;font-size:0.9375rem;line-height:1.2}
#simpleView .wtab-t small{font-size:0.7812rem;color:var(--c-muted);line-height:1.25}
#simpleView .wtab.is-active{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary)}
#simpleView .wtab.is-active small{color:inherit}
#simpleView .wtab.is-done .wtab-n{background:var(--c-done-bg);border-color:var(--c-done-line);color:var(--c-done-ink)}
#simpleView .wtab.is-skipped{border-style:dashed}
#simpleView .wtab.is-skipped b{text-decoration:line-through;text-decoration-thickness:1.5px}
#simpleView .wtab-tennis:not(.is-active) .wtab-n{color:var(--c-tennis)}
#simpleView .wtab-tennis.is-skipped .wtab-n{color:var(--c-muted)}
#simpleView .order-why{font-size:var(--t-sm);color:var(--c-muted);margin:var(--s-2) 2px var(--s-3)}
#simpleView .wk{overflow:hidden}
#simpleView .wk-h{padding:var(--s-4) var(--s-4) var(--s-3);border-bottom:var(--bw) solid var(--c-line)}
#simpleView .wk-h .wk-title{margin:5px 0 4px}
#simpleView .wk-done{display:flex;flex-wrap:wrap;gap:var(--s-2);margin-top:var(--s-3)}
#simpleView .ex{display:grid;grid-template-columns:minmax(24px,max-content) minmax(0,1fr) var(--tap);gap:4px 10px;padding:var(--s-3) var(--s-3) var(--s-3) 14px;border-bottom:1px solid var(--c-line);align-items:start}
#simpleView .ex-n{font:500 1.3125rem/1.1 var(--f-num);font-variant-numeric:lining-nums;color:var(--c-muted);min-height:var(--tap);display:flex;align-items:center}
#simpleView .ex-name{font-weight:700;font-size:1rem;line-height:1.25;padding:2px 0;min-height:var(--tap);display:flex;align-items:center;text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 30%,transparent);text-underline-offset:4px}
#simpleView .ex-presc{font:500 0.875rem/1.3 var(--f-data);color:var(--c-muted);font-variant-numeric:tabular-nums}
#simpleView .dots{display:flex;flex-wrap:wrap;gap:6px;margin-top:var(--s-2)}
#simpleView .dot{min-width:var(--tap);height:var(--tap);border-radius:var(--r-pill);border:var(--bw-ctl) solid var(--c-ctl);display:inline-flex;align-items:center;justify-content:center;gap:3px;font-weight:650;font-size:0.875rem;color:var(--c-muted);padding:0 6px;background:var(--c-surface)}
#simpleView .dot .i{width:18px;height:18px;stroke-width:2.8}
#simpleView .dot.is-done{background:var(--c-done-bg);border-color:var(--c-done-line);color:var(--c-done-ink)}
#simpleView .dot.is-next{border-width:2.5px;border-color:var(--c-primary);color:var(--c-ink)}
#simpleView .dot-w{padding:0 10px;min-width:64px}
#simpleView .dot-w span{font:700 0.9375rem/1 var(--f-data);color:var(--c-ink)}
#simpleView .dot-w.is-done span{color:inherit}
#simpleView .dot-w small{font-size:0.6875rem;font-weight:600;margin-left:1px}
#simpleView .dot-w .i{width:15px;height:15px}
#simpleView .ex-edit{border:var(--bw-ctl) solid var(--c-ctl);color:var(--c-muted)}
#simpleView .ex-edit.is-on{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary)}
#simpleView .ex.is-edit{background:var(--c-surface-2)}
#simpleView .edit{grid-column:1/-1;margin-top:var(--s-2);background:var(--c-surface);border:var(--bw-ctl) solid var(--c-ctl);border-radius:var(--r-card);padding:var(--s-3);display:grid;gap:10px}
#simpleView .stepper{display:grid;grid-template-columns:minmax(0,1fr) 52px 96px 52px;align-items:center;gap:6px}
#simpleView .stepper-l{font-weight:650;font-size:0.875rem}
#simpleView .stp{height:48px;border-radius:var(--r-ctl);border:var(--bw-ctl) solid var(--c-ctl);background:var(--c-surface);display:grid;place-items:center}
#simpleView .stp-v{height:48px;display:flex;align-items:center;justify-content:center;gap:3px;border-radius:var(--r-ctl);position:relative}
#simpleView .stp-v b{font:700 1.625rem/1 var(--f-data);font-variant-numeric:tabular-nums}
#simpleView .stp-v small{font-size:0.875rem;color:var(--c-muted);align-self:flex-end;padding-bottom:12px}
#simpleView .stp-v:focus-within,#simpleView .stp-v:focus-visible{border:2px solid var(--c-focus);box-shadow:0 0 0 3px var(--c-focus);background:var(--c-surface-2);outline:0}
#simpleView .seg-scope{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;width:100%}
#simpleView .seg-scope .seg-o{padding:4px 4px;font-size:0.8125rem}
#simpleView .willupdate{display:flex;gap:var(--s-2);font-size:0.875rem;line-height:1.4}
#simpleView .willupdate .i{width:18px;height:18px;color:var(--c-muted);margin-top:1px}
#simpleView .willupdate small{display:block;color:var(--c-muted);font-size:var(--t-sm)}
#simpleView .edit-acts{grid-template-columns:1fr 1.6fr;gap:var(--s-2)}
#simpleView .next-row{display:flex;align-items:center;gap:var(--s-3);width:100%;min-height:64px;padding:var(--s-3) var(--s-4);background:var(--c-surface-2);border-top:var(--bw) solid var(--c-line);text-align:left}
#simpleView .next-row>span{flex:1;display:flex;flex-direction:column}
#simpleView .next-row small{font-size:0.75rem;color:var(--c-muted);font-weight:600}
#simpleView .next-row b{font-size:1rem}
#simpleView .next-ic{color:var(--c-tennis);width:24px;height:24px}
#simpleView .restcard{padding:var(--s-4)}
#simpleView .rest-h{display:flex;gap:var(--s-3)}
#simpleView .rest-ic{width:30px;height:30px;color:var(--c-muted);margin-top:4px}
#simpleView .rest-next{margin-top:var(--s-4);padding-top:var(--s-3);border-top:1px solid var(--c-line);display:grid;gap:var(--s-2);justify-items:start}
#simpleView .rest-next p{font-weight:650}
#simpleView .weeklist{margin-top:var(--s-4)}
#simpleView .weeklist .kicker span{text-transform:none;letter-spacing:0;font-weight:500}
#simpleView .weeklist li{display:grid;grid-template-columns:20px minmax(52px,max-content) minmax(0,1fr);gap:10px;align-items:center;min-height:var(--tap);border-bottom:1px solid var(--c-line);font-size:0.875rem}
#simpleView .weeklist li .i{width:18px;height:18px;color:var(--c-muted)}
#simpleView .weeklist li.is-done .i{color:var(--c-ok-ink)}
#simpleView .weeklist li.is-today{font-weight:650}
#simpleView .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}
#simpleView .bar-in{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.9fr) minmax(0,1.28fr);gap:7px}
#simpleView .bar-2 .bar-in{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
#simpleView .bar-1 .bar-in{grid-template-columns:minmax(0,1fr)}
#simpleView .lbl-short{display:none}
#simpleView .bar .btn{padding:6px 8px;justify-content:center;min-width:0}
#simpleView .bar .btn-post,#simpleView .bar .btn-skip{font-size:0.8438rem}
#simpleView .btn-done{font-size:1.0625rem}
#simpleView .btn-done .i{width:22px;height:22px;stroke-width:2.6}
#simpleView .bar .banner{grid-column:1/-1;margin:0 0 2px}
@container (max-width:30em){
#simpleView .bar .lbl-long{display:none}
#simpleView .bar .lbl-short{display:inline}
#simpleView .bar-3 .bar-in{grid-template-columns:auto auto minmax(auto,1fr);gap:5px}
#simpleView .bar-3 .btn{gap:5px}
}
@container (max-width:21.5em){
#simpleView .bar-3 .bar-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
#simpleView .bar-3 .btn-done{grid-column:1/-1;grid-row:1}
#simpleView .bar-3 .ebanner{grid-row:1}
#simpleView .bar-3 .ebanner~.btn-done{grid-row:2}
#simpleView .bar-3 .btn-post,#simpleView .bar-3 .btn-skip{min-height:44px}
}
@container (max-width:14em){
#simpleView .bar .bar-in{grid-template-columns:minmax(0,1fr)}
#simpleView .bar-3 .btn-done{grid-row:auto}
}
#simpleView :where(dialog){margin:0;border:0;padding:0;color:inherit;max-width:none;max-height:none;inset:auto;width:auto;height:auto}
#simpleView dialog::backdrop{background:var(--c-scrim,#1f2b2466)}
#simpleView dialog:not([open]){display:none!important}
#simpleView .center{min-height:100vh;display:grid;place-items:center;padding:var(--s-4)}
#simpleView .msgcard{max-width:420px;padding:var(--s-6) var(--s-5);display:grid;gap:var(--s-3);justify-items:start}
#simpleView .msg-ic{width:52px;height:52px;border-radius:50%;background:var(--c-err-bg);color:var(--c-err-ink);display:grid;place-items:center;margin-top:var(--s-4)}
@media (min-width:760px){
#simpleView .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){
#simpleView .desk{display:block}
#simpleView .mob{display:none}
#simpleView .desk-appbar{display:block}
#simpleView .appbar .wordmark{display:inline-flex}
#simpleView .appbar-in{padding:var(--s-3) var(--s-7);gap:var(--s-7)}
#simpleView .topnav{display:flex;gap:var(--s-1);margin-left:auto}
#simpleView .topnav-a{display:flex;align-items:center;gap:var(--s-2);min-height:var(--tap);padding:0 var(--s-4);border-radius:var(--r-pill);text-decoration:none;font-weight:650;color:var(--c-muted)}
#simpleView .topnav-a.is-active{background:var(--c-surface-2);color:var(--c-ink)}
#simpleView .appbar .avatar{margin-left:0}
#simpleView .display{font-size:3.25rem}
#simpleView .day{max-width:1240px;padding:var(--s-7) var(--s-7) var(--s-8);display:grid;grid-template-columns:340px minmax(0,1fr);gap:var(--s-8);align-items:start}
#simpleView .day .dayhead .avatar{display:none}
#simpleView .day-l{position:sticky;top:96px}
#simpleView .day-r{display:flex;flex-direction:column;gap:var(--s-4)}
#simpleView .wtabs{grid-template-columns:1fr;gap:6px}
#simpleView .wtabs-arrow{transform:rotate(90deg);height:18px}
#simpleView .ordersum.desk{display:block;margin-top:var(--s-5)}
#simpleView .ordersum .kicker{margin-bottom:var(--s-2)}
#simpleView .ordersum ol{display:grid;border:var(--bw) solid var(--c-line);border-radius:var(--r-card);background:var(--c-surface);overflow:hidden}
#simpleView .ordersum li+li{border-top:1px solid var(--c-line)}
#simpleView .os-a{display:grid;grid-template-columns:minmax(30px,max-content) minmax(0,1fr);align-items:center;gap:12px;min-height:60px;padding:8px 14px;color:var(--c-ink);text-decoration:none}
#simpleView .os-a:hover{background:var(--c-surface-2)}
#simpleView .os-a:focus-visible{outline-offset:-3px}
#simpleView .os-n{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--c-ctl);font:600 .875rem/1 var(--f-num)}
#simpleView .os-n .i{width:16px;height:16px}
#simpleView .os-a.is-tennis .os-n{border-color:var(--c-tennis);color:var(--c-tennis)}
#simpleView .os-a.is-done .os-n{background:var(--c-done-bg);border-color:var(--c-done-line);color:var(--c-done-ink)}
#simpleView .os-t{display:flex;flex-direction:column;min-width:0}
#simpleView .os-t b{font-size:var(--t-body)}
#simpleView .os-t small{color:var(--c-muted);font-size:var(--t-sm)}
#simpleView .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)}
#simpleView .bar .bar-in{grid-template-columns:1fr 1fr 1.3fr}
#simpleView .bar-2 .bar-in{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
#simpleView .bar-1 .bar-in{grid-template-columns:minmax(0,1fr)}
#simpleView .bar-edit{display:none}
#simpleView .edit-acts.desk{display:grid}
#simpleView .bar .btn{min-height:50px}
#simpleView .ex{grid-template-columns:minmax(34px,max-content) minmax(0,1fr) var(--tap);padding:var(--s-3) var(--s-5);gap:4px var(--s-4)}
#simpleView .ex-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--s-4)}
#simpleView .ex-main .dots{grid-column:2;grid-row:1/3;margin:0}
#simpleView .edit{max-width:600px;margin-left:50px}
#simpleView .wk-h{padding:var(--s-5) var(--s-5) var(--s-4)}
#simpleView .wk-title{font-size:2.125rem}
#simpleView .wk-tennis.desk{display:block}
#simpleView .next-row{display:none}
#simpleView .weeklist.desk{display:block;margin-top:var(--s-7)}
}
#simpleView .dayhead-r{display:flex;align-items:center;gap:var(--s-2);margin-left:auto}
#simpleView .chip-nav{text-decoration:none}
#simpleView .wk-h{display:grid;gap:var(--s-3)}
#simpleView .wk-done{margin-top:0}
#simpleView .card-acts{display:none}
#simpleView .ebanner{grid-column:1/-1;background:var(--c-err-bg);border:1.5px solid var(--c-err-line);color:var(--c-err-ink);border-radius:var(--r-ctl);padding:2px 2px 2px 12px}
#simpleView .ebanner-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);min-height:46px}
#simpleView .ebanner{min-width:0}
#simpleView .ebanner-row>.i{width:20px;height:20px}
#simpleView .ebanner-row b{flex:1 1 8em;font-size:.875rem;min-width:0}
#simpleView .ebanner .btn-s{min-height:44px;padding:0 10px;background:var(--c-surface);color:var(--c-err-ink);border-color:var(--c-err-line)}
#simpleView .ebanner-x{color:inherit}
#simpleView .ebanner.is-open .ebanner-x .i{transform:rotate(180deg)}
#simpleView .ebanner>p{font-size:.84rem;line-height:1.4;padding:0 10px 4px 28px}
#simpleView .ebanner>.btn-link{margin-left:22px;color:inherit}
#simpleView .day-r .desk .ebanner{margin-bottom:var(--s-3)}
#simpleView .done-badge{width:44px;height:44px;border-radius:50%;background:var(--c-done-bg);color:var(--c-done-ink);border:var(--bw) solid var(--c-done-line);display:grid;place-items:center;flex-shrink:0}
#simpleView .done-badge .i{width:24px;height:24px;stroke-width:2.8}
#simpleView .alldone-next{display:flex;gap:var(--s-2);font-weight:650;margin-top:var(--s-3)}
#simpleView .alldone-next .i{color:var(--c-muted);margin-top:1px}
#simpleView .donelist{margin-top:var(--s-3);border-top:1px solid var(--c-line)}
#simpleView .donelist li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:var(--s-3);align-items:center;min-height:48px;border-bottom:1px solid var(--c-line)}
#simpleView .donelist .i{color:var(--c-ok-ink)}
#simpleView .donelist li:last-child .i{color:var(--c-tennis)}
@media (max-width:360px){
#simpleView .day{padding-left:12px;padding-right:12px}
#simpleView .bar-3{padding:8px 10px 24px}
#simpleView .ebanner-row b{font-size:.8125rem}
#simpleView .ebanner .btn-s{white-space:nowrap;padding:0 8px}
#simpleView .bar-3 .btn-post,#simpleView .bar-3 .btn-skip{font-size:.8125rem}
#simpleView .day{padding-bottom:180px}
#simpleView .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}
#simpleView .week .wd{scroll-snap-align:center}
#simpleView .display{font-size:2.125rem}
#simpleView .wtabs{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}
#simpleView .wtab{padding:8px 6px;gap:6px}
#simpleView .wtab-n{width:24px;height:24px}
#simpleView .ex{grid-template-columns:minmax(20px,max-content) minmax(0,1fr) var(--tap);padding-left:10px}
#simpleView .stepper{grid-template-columns:minmax(0,1fr) 46px 72px 46px}
#simpleView .seg-scope{grid-template-columns:1fr 1fr}
}
@media (min-width:960px){
#simpleView .bar{display:none}
#simpleView .wk-h{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:var(--s-4)}
#simpleView .wk-h>.wk-h-t{flex:1 1 24em;min-width:0}
#simpleView .card-acts{display:flex;gap:var(--s-2);align-items:center;flex-wrap:wrap;justify-content:flex-start;flex:0 1 auto}
#simpleView .card-acts .btn{min-height:48px}
#simpleView .wk-done{grid-column:1/-1}
#simpleView .day-l .weeklist.desk{display:block}
}
#simpleView .wtab-n{min-width:1.75em;min-height:1.75em}
#simpleView :is(.step-n,.os-n,.ag-n,.cav){min-width:1.9em;min-height:1.9em}
:root:is([data-tempo-theme=gym],[data-tempo-theme=funky]) #simpleView .ex-n{min-width:2.2em;min-height:2.2em}
#simpleView .pill{max-width:100%;white-space:normal}
#simpleView .stp-v{height:auto;min-height:48px}
#simpleView .donelist li>*{min-width:0;overflow-wrap:break-word}
@container (max-width:17rem){
#simpleView .edit .stepper{grid-template-columns:minmax(2.75rem,52px) minmax(0,1fr) minmax(2.75rem,52px)}
#simpleView .edit .stepper-l{grid-column:1/-1}
}
:root:is([data-tempo-theme=gym],[data-tempo-theme=funky],[data-tempo-theme=mina]) #simpleView .dayhead .display{margin-top:.2em}
/* themes.css */
:root[data-tempo-theme=original] #simpleView .wm-name{color:var(--c-primary)}
:root[data-tempo-theme=mina] #simpleView .wm-name{font-family:var(--f-title);font-weight:500;letter-spacing:-.5px;color:var(--c-primary)}
:root[data-tempo-theme=mina] #simpleView .ex-n,:root[data-tempo-theme=mina] #simpleView .wtab-n{font-family:var(--f-num)}
:root[data-tempo-theme=mina] #simpleView :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] #simpleView .display,:root[data-tempo-theme=gym] #simpleView .h1,:root[data-tempo-theme=gym] #simpleView .wk-title{text-transform:uppercase}
:root[data-tempo-theme=gym] #simpleView .display{color:var(--c-primary)}
:root[data-tempo-theme=gym] #simpleView .h-dot{color:var(--c-accent)}
:root[data-tempo-theme=gym] #simpleView .dayhead .kicker{color:var(--c-accent)}
:root[data-tempo-theme=gym] #simpleView .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] #simpleView .wm-name::before{content:'//';color:var(--c-accent);margin-right:4px}
:root[data-tempo-theme=gym] #simpleView .wm-tag{color:var(--c-primary);letter-spacing:3px}
:root[data-tempo-theme=gym] #simpleView .card.is-active{position:relative;padding-top:10px}
:root[data-tempo-theme=gym] #simpleView .card.is-active::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] #simpleView .card.is-done::before{background:var(--c-line)}
:root[data-tempo-theme=gym] #simpleView .wtab{border-width:2px}
:root[data-tempo-theme=gym] #simpleView .wtab.is-active{background:var(--c-surface);color:var(--c-ink);border-color:var(--c-primary);box-shadow:3px 3px 0 var(--c-accent)}
:root[data-tempo-theme=gym] #simpleView .wtab.is-active small{color:var(--c-muted)}
:root[data-tempo-theme=gym] #simpleView .wtab-n{border-radius:2px;border:0;background:var(--c-bg);color:var(--c-primary);font:400 1.125rem/1 'T4 BlackOps',sans-serif}
:root[data-tempo-theme=gym] #simpleView .wtab-t b{font:400 1.1875rem/1.1 var(--f-display);text-transform:uppercase;letter-spacing:.5px}
:root[data-tempo-theme=gym] #simpleView .wtab-t small{font:700 0.75rem var(--f-data)}
:root[data-tempo-theme=gym] #simpleView .wd{border:2px solid var(--c-line);background:var(--c-surface)}
:root[data-tempo-theme=gym] #simpleView .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] #simpleView .wd-l{letter-spacing:1.5px;text-transform:uppercase}
:root[data-tempo-theme=gym] #simpleView .wd-dots b{border-radius:0}
:root[data-tempo-theme=gym] #simpleView .ex{border-bottom-style:dashed;grid-template-columns:minmax(32px,max-content) minmax(0,1fr) var(--tap)}
:root[data-tempo-theme=gym] #simpleView .ex-n{width:30px;height:30px;display:grid;place-items:center;background:var(--c-bg);border:1px solid var(--c-line);color:var(--c-primary);font:700 0.8125rem var(--f-data)}
:root[data-tempo-theme=gym] #simpleView .ex-name{font:600 1.0625rem/1.2 var(--f-ui);text-transform:uppercase;letter-spacing:.5px;text-decoration-style:dotted;text-decoration-color:var(--c-primary)}
:root[data-tempo-theme=gym] #simpleView .ex-presc{color:var(--c-primary);font-weight:700}
:root[data-tempo-theme=gym] #simpleView .dot{border-radius:2px;border-width:2px;background:var(--c-bg);font-family:var(--f-data)}
:root[data-tempo-theme=gym] #simpleView .dot.is-done{background:var(--c-done-bg);border-color:var(--c-done-line);color:var(--c-done-ink)}
:root[data-tempo-theme=gym] #simpleView .dot.is-next{border-color:var(--c-primary);box-shadow:inset 0 0 0 1px var(--c-primary)}
:root[data-tempo-theme=gym] #simpleView .btn{font:600 0.875rem/1.15 var(--f-ui);text-transform:uppercase;letter-spacing:.8px}
:root[data-tempo-theme=gym] #simpleView .btn-primary{font:400 1.1875rem/1 var(--f-display);letter-spacing:1px;margin:0 4px 4px 0}
:root[data-tempo-theme=gym] #simpleView .bar .btn-post,:root[data-tempo-theme=gym] #simpleView .bar .btn-skip{font-size:0.7812rem;letter-spacing:.4px}
:root[data-tempo-theme=gym] #simpleView .seg-o,:root[data-tempo-theme=gym] #simpleView .chip{text-transform:uppercase;letter-spacing:.8px;font-size:0.8125rem}
:root[data-tempo-theme=gym] #simpleView .field-l,:root[data-tempo-theme=gym] #simpleView .stepper-l{text-transform:uppercase;letter-spacing:2px;font-size:0.8125rem}
:root[data-tempo-theme=gym] #simpleView .stp-v b{color:var(--c-primary)}
:root[data-tempo-theme=gym] #simpleView .read,:root[data-tempo-theme=gym] #simpleView .banner p,:root[data-tempo-theme=gym] #simpleView .willupdate{font-family:var(--f-read)}
:root[data-tempo-theme=gym] #simpleView .avatar{border-radius:2px}
:root[data-tempo-theme=gym] #simpleView .avatar{font:400 1.125rem var(--f-display)}
:root[data-tempo-theme=gym] #simpleView .next-row{border-top:2px dashed var(--c-line)}
:root[data-tempo-theme=gym] #simpleView .bar{border-top:2px solid var(--c-line);box-shadow:none}
:root[data-tempo-theme=halloween] #simpleView .display,:root[data-tempo-theme=halloween] #simpleView .h1{letter-spacing:.5px}
:root[data-tempo-theme=halloween] #simpleView .display{font-size:2.875rem}
:root[data-tempo-theme=halloween] #simpleView .h-dot{color:var(--c-primary)}
:root[data-tempo-theme=halloween] #simpleView .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] #simpleView .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] #simpleView .wm-tag{color:var(--c-accent)}
:root[data-tempo-theme=halloween] #simpleView .dayhead .kicker,:root[data-tempo-theme=halloween] #simpleView .wk-h .kicker{color:var(--c-accent)}
:root[data-tempo-theme=halloween] #simpleView .card{border-color:color-mix(in srgb,var(--c-line) 75%,var(--c-skip-line))}
:root[data-tempo-theme=halloween] #simpleView .wk-h{text-align:center;border-bottom:1.5px dashed var(--c-line)}
:root[data-tempo-theme=halloween] #simpleView .wk-h .kicker{justify-content:center}
:root[data-tempo-theme=halloween] #simpleView .wk-done{justify-content:center}
:root[data-tempo-theme=halloween] #simpleView .wtab{border-radius:22px 22px 10px 10px}
:root[data-tempo-theme=halloween] #simpleView .wtab.is-active{box-shadow:var(--sh-btn)}
:root[data-tempo-theme=halloween] #simpleView .wtab-t b{font:400 1.25rem/1.1 var(--f-display);letter-spacing:.3px}
:root[data-tempo-theme=halloween] #simpleView .wtab-n{font-family:var(--f-display);font-size:1.125rem}
:root[data-tempo-theme=halloween] #simpleView .wd{border-radius:16px 16px 8px 8px}
:root[data-tempo-theme=halloween] #simpleView .ex-n{font:400 1.5rem/1 var(--f-display);color:var(--c-primary)}
:root[data-tempo-theme=halloween] #simpleView .dot:not(.is-done):not(.is-next){border-style:dashed}
:root[data-tempo-theme=halloween] #simpleView .dot.is-done{box-shadow:0 0 12px #9cff5740}
:root[data-tempo-theme=halloween] #simpleView .btn-primary{box-shadow:var(--sh-btn)}
:root[data-tempo-theme=halloween] #simpleView .next-row{border-top:1.5px dashed var(--c-line)}
:root[data-tempo-theme=funky] #simpleView .display{text-shadow:3px 3px 0 var(--c-primary);letter-spacing:.5px}
:root[data-tempo-theme=funky] #simpleView .h-dot{color:var(--c-accent);text-shadow:none}
:root[data-tempo-theme=funky] #simpleView .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] #simpleView .wm-tag{font-family:var(--f-label);text-transform:none;letter-spacing:.5px;color:var(--c-muted)}
:root[data-tempo-theme=funky] #simpleView .kicker{color:var(--c-link);font-weight:400;font-size:0.8125rem}
:root[data-tempo-theme=funky] #simpleView .dayhead{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] #simpleView .card{border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .wk-h{background:var(--c-surface-2);border-bottom:2.5px solid var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .ex{border-bottom:2px dotted var(--c-line)}
:root[data-tempo-theme=funky] #simpleView .btn{font-family:var(--f-label);font-weight:400;letter-spacing:.3px}
:root[data-tempo-theme=funky] #simpleView .btn-primary,:root[data-tempo-theme=funky] #simpleView .btn-post,:root[data-tempo-theme=funky] #simpleView .btn-skip,:root[data-tempo-theme=funky] #simpleView .btn-secondary{border-color:var(--c-ink);box-shadow:var(--sh-btn);margin:0 3px 3px 0}
:root[data-tempo-theme=funky] #simpleView .btn-primary{font-size:1.125rem}
:root[data-tempo-theme=funky] #simpleView .wtab{border-color:var(--c-ink);border-radius:20px;box-shadow:var(--sh-btn)}
:root[data-tempo-theme=funky] #simpleView .wtab-t b{font:400 1.0625rem/1.15 var(--f-label)}
:root[data-tempo-theme=funky] #simpleView .wtab-n{font-family:var(--f-label)}
:root[data-tempo-theme=funky] #simpleView .wtab.is-active .wtab-t small{color:var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .wd{border-radius:18px}
:root[data-tempo-theme=funky] #simpleView .wd.is-sel{border:2.5px solid var(--c-ink);box-shadow:var(--sh-btn)}
:root[data-tempo-theme=funky] #simpleView .wd-n{font-family:var(--f-num);font-weight:400}
:root[data-tempo-theme=funky] #simpleView .ex-n{width:30px;height:30px;border-radius:50%;background:var(--c-accent);color:var(--c-surface);display:grid;place-items:center;font:400 0.875rem/1 var(--f-num)}
:root[data-tempo-theme=funky] #simpleView .ex-name{font-family:var(--f-label);font-weight:400;font-size:1.0625rem}
:root[data-tempo-theme=funky] #simpleView .dot{border-radius:14px;border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .dot.is-done{box-shadow:2px 2px 0 var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .dot.is-next{border-color:var(--c-primary);border-width:3px}
:root[data-tempo-theme=funky] #simpleView .seg,:root[data-tempo-theme=funky] #simpleView .chip,:root[data-tempo-theme=funky] #simpleView .avatar,:root[data-tempo-theme=funky] #simpleView .stp{border-color:var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .seg-o,:root[data-tempo-theme=funky] #simpleView .chip,:root[data-tempo-theme=funky] #simpleView .field-l{font-family:var(--f-label);font-weight:400}
:root[data-tempo-theme=funky] #simpleView .pill{border:1.5px solid var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView .bar{border-top:2.5px solid var(--c-ink);box-shadow:none}
:root[data-tempo-theme=funky] #simpleView .next-row{border-top:2.5px solid var(--c-ink);background:var(--c-post-bg)}
:root[data-tempo-theme=funky] #simpleView .banner{border-width:2.5px}
:root[data-tempo-theme=funky] #simpleView .appbar{border-bottom:2.5px solid var(--c-ink)}
@media (min-width:960px){
:root[data-tempo-theme=funky] #simpleView .bar{border:2.5px solid var(--c-ink)}
}
:root[data-tempo-theme=gym] #simpleView .wtab-tennis:not(.is-active) .wtab-n{color:var(--c-tennis)}
:root[data-tempo-theme=funky] #simpleView .ex-n{min-height:0;margin-top:7px}
:root[data-tempo-theme=halloween] #simpleView .ex-n{font:700 1.25rem/1 var(--f-ui)}
:root[data-tempo-theme=gym] #simpleView .wd.is-today:not(.is-sel){border:2px dashed var(--c-primary);box-shadow:inset 0 -4px 0 var(--c-primary)}
:root[data-tempo-theme=funky] #simpleView .bar .btn-post,:root[data-tempo-theme=funky] #simpleView .bar .btn-skip{font-size:0.7812rem;letter-spacing:0;padding:6px 6px}
:root[data-tempo-theme=funky] #simpleView .ebanner{border-width:2.5px}
:root[data-tempo-theme=funky] #simpleView :is(.opt-ok,.eq-ok,.gen-ic,.bn-a.is-active .i){color:var(--c-ink)}
:root[data-tempo-theme=funky] #simpleView :is(.wkev-g,.wkev-m){border-left-color:var(--c-ctl)}
:root[data-tempo-theme=funky] #simpleView :is(.auth-points .i,.empty-badge){color:var(--c-ink)}
:root[data-tempo-theme=mina] #simpleView .ex-presc{font-variant-numeric:proportional-nums;word-spacing:-.06em}

/* ===== APP (hand-written) ===== */
/* Old Simple/Advanced switch (still used in the Advanced top bar until its redesign) */
.view-switch{display:inline-flex;padding:4px;border:1px solid var(--c-ctl);border-radius:100px;background:var(--c-surface);gap:2px;flex-shrink:0}.view-switch button{padding:9px 13px;min-height:40px;border-radius:100px;color:var(--c-ink);font-size:12px;font-weight:650;background:transparent;border:0}.view-switch button[aria-pressed=true]{background:var(--c-ink);color:var(--c-bg)}.topright .view-switch{margin-right:5px}
@media(max-width:760px){.topright .view-switch{max-width:170px}.topright .view-switch button{padding:8px 10px;font-size:11px}.topbar:has(.view-switch){height:auto;min-height:80px;flex-wrap:wrap;gap:10px;padding-top:15px;padding-bottom:15px}.topbar:has(.view-switch) .topright{flex-wrap:wrap;justify-content:flex-end;gap:8px}}

/* Day additions that the design system does not have */
#simpleView .day{padding-top:calc(var(--s-3) + env(safe-area-inset-top))}
#simpleView .day-l>.banner{margin-bottom:var(--s-3)}
#simpleView .dayhead-r .chip-nav{min-height:var(--tap)}
#simpleView .weeknav{display:flex;align-items:center;gap:var(--s-2);margin-top:var(--s-3)}
#simpleView .weeknav-l{flex:1;text-align:center;font-size:var(--t-sm);color:var(--c-muted);font-variant-numeric:tabular-nums}
#simpleView .weeknav .btn-link{min-height:var(--tap)}
#simpleView .week{margin-top:var(--s-2)}
#simpleView .note>span{min-width:0;overflow-wrap:break-word}
#simpleView .note{align-items:flex-start}#simpleView .note .i{margin-top:2px}
/* more than two workouts: tabs stack, arrows point down */
#simpleView .wtabs-many{grid-template-columns:minmax(0,1fr)}
#simpleView .wtabs-many .wtabs-arrow{transform:rotate(90deg);height:18px}
#simpleView .wtab{text-align:left;color:var(--c-ink);cursor:pointer}
#simpleView .wtab.is-active{color:var(--c-on-primary)}
#simpleView .wk:focus{outline:0}#simpleView .wk:focus-visible{outline:3px solid var(--c-focus);outline-offset:2px}
#simpleView .ex-name{text-align:left;color:var(--c-ink);cursor:pointer}
#simpleView .ex-logged{display:flex;gap:6px;align-items:flex-start;font-size:var(--t-sm);color:var(--c-ok-ink);margin-top:4px;line-height:1.35}
#simpleView .ex-logged .i{width:16px;height:16px;margin-top:1px}
#simpleView .wk-text{padding:var(--s-3) var(--s-4);border-top:1px solid var(--c-line);font-size:var(--t-body);line-height:1.5}
#simpleView .exs+.wk-text,#simpleView .wk-h+.wk-text{border-top:0}
#simpleView .wk-text p{white-space:pre-wrap;overflow-wrap:anywhere}
#simpleView .wk-text .kicker{margin-bottom:4px}
#simpleView .wk-groups{background:var(--c-surface-2);font-size:var(--t-sm)}
#simpleView .wk-groups p+p{margin-top:var(--s-2)}
#simpleView .wk-intervals{list-style:decimal;padding-left:1.4em}
#simpleView .wk-note{background:var(--c-surface-2)}
#simpleView .wk.is-skipped .wk-title{text-decoration:line-through;text-decoration-thickness:1.5px}
#simpleView .wk.is-skipped .exs{opacity:1;color:var(--c-muted)}
#simpleView .wk-done .meta{flex-basis:100%}
#simpleView .sv-duration{flex-basis:100%;display:grid;gap:6px}
#simpleView .sv-duration-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2)}
#simpleView .sv-duration input{width:7.5rem;min-height:var(--tap);font-size:1rem;padding:0 var(--s-3);border:var(--bw-ctl) solid var(--c-ctl);border-radius:var(--r-ctl);background:var(--c-surface);color:var(--c-ink)}
#simpleView .sv-duration input:focus-visible{box-shadow:0 0 0 3px var(--c-focus);outline:0}
#simpleView .donelist-a{min-height:var(--tap);text-align:left;font-weight:650;text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent);color:var(--c-ink);min-width:0;overflow-wrap:break-word}
#simpleView .donelist li.is-tennis .i{color:var(--c-tennis)}
#simpleView .donelist li.is-skipped .i{color:var(--c-muted)}
#simpleView .donelist li:last-child .i{color:inherit}
#simpleView .donelist li.is-tennis:last-child .i{color:var(--c-tennis)}
#simpleView .donelist li.is-done:not(.is-tennis) .i{color:var(--c-ok-ink)}
#simpleView .alldone-next span{min-width:0;overflow-wrap:break-word}
#simpleView .rest-next p{overflow-wrap:break-word}
/* stepper value is a real text field (typing opens the numeric keyboard). The field covers the whole value box and carries
   the focus ring itself (focus.js checks the focused element); the unit sits on top of it at the right. */
#simpleView .stp-v{position:relative;border:0;cursor:text}
#simpleView .stp-v:focus-within{border:0;box-shadow:none;background:transparent}
#simpleView .stp-v input{position:absolute;inset:0;width:100%;height:100%;min-width:0;border:0;border-radius:var(--r-ctl);background:transparent;color:var(--c-ink);text-align:center;font:700 1.625rem/1 var(--f-data);font-variant-numeric:tabular-nums;padding:0;outline:0}
#simpleView .stp-v small+input,#simpleView .stp-v input:has(+small){padding-right:1.7em}
#simpleView .stp-v input:focus-visible{outline:0;box-shadow:0 0 0 3px var(--c-focus);background:var(--c-surface-2)}
#simpleView .stp-v small{position:absolute;right:8px;bottom:12px;padding:0;z-index:1;pointer-events:none}
#simpleView .stp{color:var(--c-ink)}
#simpleView .seg-o{color:var(--c-ink)}#simpleView .seg-o[aria-checked=true]{color:var(--c-on-primary)}
:root[data-tempo-theme=gym] #simpleView .stp-v input{color:var(--c-primary)}
#simpleView .willupdate b{font-weight:700}
#simpleView .edit-acts.desk{display:none}
/* compact status banner: stale revision uses the warning colours */
#simpleView .ebanner.is-warn{background:var(--c-warn-bg);border-color:var(--c-post-line);color:var(--c-warn-ink)}
#simpleView .ebanner.is-warn .btn-s{color:var(--c-warn-ink);border-color:var(--c-post-line)}
#simpleView .status-top{display:none}
#simpleView .day.no-bar .status-top{display:block}
#simpleView .status-top .ebanner{margin-bottom:var(--s-3)}
#simpleView .sv-stats{padding:var(--s-4)}
#simpleView .day.sv-statsday{max-width:1240px}
#simpleView .topnav-a{background:none;border:0;cursor:pointer;font:inherit;font-weight:650}
@media (min-width:960px){
  #simpleView .day{padding-top:var(--s-7)}
  #simpleView .edit-acts.desk{display:grid}
  #simpleView .status-top{display:block}
  #simpleView .wtabs-many{grid-template-columns:1fr}
  #simpleView .alldone.restcard{display:block}
  #simpleView .day.sv-statsday{grid-template-columns:minmax(0,1fr)}
  #simpleView .dayhead-r .chip-nav{display:none}
}
/* Toast (global #toast) in the Simple view: above the measured thumb bar, never over it; capped at large text (C9) */
#toast.sv-toast{display:none;align-items:center;flex-wrap:wrap;gap:var(--s-2);position:fixed;left:12px;right:12px;top:auto;transform:none;bottom:calc(var(--bar-h,0px) + 12px + env(safe-area-inset-bottom,0px) * 0);z-index:var(--z-toast,55);max-height:40vh;padding:var(--s-2) var(--s-2) var(--s-2) var(--s-4);border-radius:var(--r-ctl);background:var(--c-ink);color:var(--c-bg);font:600 0.875rem/1.35 var(--f-ui);box-shadow:var(--sh-pop);width:auto;max-width:none}
#toast.sv-toast.is-shown{display:flex}
#toast.sv-toast>span{flex:1 1 9em;min-width:0;max-height:calc(40vh - 64px);overflow-y:auto;padding:6px 0}
#toast.sv-toast button{min-height:var(--tap);padding:4px 10px;background:none;border:0;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin-left:auto}
#toast.sv-toast :focus-visible{outline:3px solid var(--c-bg);outline-offset:2px}
@media (min-width:960px){#toast.sv-toast{left:auto;right:32px;bottom:32px;max-width:440px}}
/* gym/funky names wrap onto two lines: keep the underline clear of the prescription */
#simpleView .ex-presc{margin-top:3px}
/* a finished tennis workout shows the done badge in done colours (the tennis colour rule would hide the check in halloween) */
#simpleView .wtab.wtab-tennis.is-done .wtab-n{color:var(--c-done-ink)}
/* narrow phones: the Stats chip shows only its icon; its name stays in aria-label, so the header stays on one row */
@media (max-width:360px){#simpleView .dayhead-r .chip-nav{padding:0 11px;min-width:var(--tap);justify-content:center}#simpleView .dayhead-r .chip-nav span{display:none}}
/* a skipped workout whose tab is in front: the ban icon sits on the primary fill, so it takes the tab's text colour (contrast.js) */
#simpleView .wtab.is-active.is-skipped .wtab-n{color:inherit}
/* gym at <= 360 px: real sport names ("POSILOVÁNÍ") are longer than the preview's; the condensed label steps down so it keeps its padding (fit.js) */
@media (max-width:360px){:root[data-tempo-theme=gym] #simpleView .wtab-t b{font-size:1rem}#simpleView .wtab-t b{overflow-wrap:anywhere}}
#simpleView a.btn{text-decoration:none}

#simpleView .day.sv-statsday .day-l{position:static}
#simpleView .sv-act{display:flex;align-items:center;gap:var(--s-3);width:100%;margin:var(--s-3) 0;padding:var(--s-3);text-align:left;font:inherit;color:inherit;cursor:pointer;background:var(--c-surface,transparent);border:1px solid var(--c-line,currentColor);border-radius:var(--r-md,12px)}
#simpleView .sv-act>span{flex:1;min-width:0;display:flex;flex-direction:column}
#simpleView .sv-act small{font-size:.75rem;color:var(--c-muted)}
