/* Layout: eine schmale Spalte pro Bereich (Training, Laufen, Schlaf, Fokus, Fortschritt) mit Navigation unten; Player mit Ring-Timer und fixer Steuerleiste unten */
:root{
  --bg:#F1F5F5; --surface:#FFFFFF; --fg:#132428; --muted:#56696D; --line:#D4DEDF;
  --accent:#2A7885; --accent-soft:#E0EDEF; --on-accent:#FFFFFF;
  --prep:#A3621B; --prep-soft:#F5E9DA; --on-prep:#FFFFFF; --ok:#2E7D4F; --fig:#262A2B; --fig-fg:#C9D6D8;
  --display:"Barlow Condensed","Arial Narrow",system-ui,sans-serif;
  --body:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0D1618; --surface:#152327; --fg:#E3EDEE; --muted:#8FA5A9; --line:#263B40;
    --accent:#5DB1BE; --accent-soft:#183339; --on-accent:#06191C;
    --prep:#E3A55E; --prep-soft:#33281A; --on-prep:#1B1206; --ok:#6BC28F; --fig:#0A1112; --fig-fg:#C9D6D8; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0D1618; --surface:#152327; --fg:#E3EDEE; --muted:#8FA5A9; --line:#263B40;
  --accent:#5DB1BE; --accent-soft:#183339; --on-accent:#06191C;
  --prep:#E3A55E; --prep-soft:#33281A; --on-prep:#1B1206; --ok:#6BC28F; --fig:#0A1112; --fig-fg:#C9D6D8; color-scheme:dark;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-size:16px;line-height:1.45;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:calc(132px + env(safe-area-inset-bottom,0px));-webkit-tap-highlight-color:transparent}
img{max-width:100%}
.wrap{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance;line-height:1.02}
h1{font-size:2.3rem;font-weight:700;letter-spacing:.005em}
h2{font-size:1.75rem;font-weight:600}
h3{font-size:1.35rem;font-weight:700}
p{margin:0}
.eyebrow{font-family:var(--display);font-weight:600;font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.sub{color:var(--muted)}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
input{font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:7px 10px}

/* Übersicht */
.head{display:flex;flex-direction:column;gap:6px}
.panel{display:flex;flex-direction:column;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.seg button{background:none;border:0;padding:7px 12px;font-size:.92rem;font-variant-numeric:tabular-nums}
.seg button+button{border-left:1px solid var(--line)}
.seg button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);font-weight:600}
.start{background:var(--accent);color:var(--on-accent);border:0;border-radius:14px;padding:16px;font-family:var(--display);font-size:1.35rem;font-weight:700;letter-spacing:.02em}
.notes{font-size:.9rem;color:var(--muted);display:flex;flex-direction:column;gap:6px;padding-left:1.1em;margin:0}
.notes b{color:var(--fg);font-weight:600}
.log{display:flex;flex-direction:column;gap:8px}
.log ul{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.log li{font-size:.85rem;padding:4px 9px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-variant-numeric:tabular-nums}
.log li b{color:var(--accent)}

/* Phase */
.phase-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.phase-name{font-family:var(--display);font-size:1.45rem;font-weight:700;line-height:1.05}
#phaseBox[data-p="late"] .phase-name,#phaseBox[data-p="deload"] .phase-name{color:var(--prep)}
.weeks{font-family:var(--display);font-size:1.15rem;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.tl{display:flex;gap:3px;height:8px}
.tl span{display:block;height:100%;border-radius:99px;min-width:6px}
.tl .b{background:var(--accent)}
.tl .l{background:var(--prep)}
.tl-lab{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
.field{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.92rem}

/* Woche */
.weeknav{display:flex;align-items:center;gap:10px;margin-bottom:-8px}
.wbtn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.wbtn svg{width:20px;height:20px}
.wlab{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0}
.wname{font-family:var(--display);font-size:1.15rem;font-weight:700;line-height:1.1}
.wrange{font-size:.82rem;color:var(--muted);font-variant-numeric:tabular-nums}
.wtoday{background:none;border:1px solid var(--accent);color:var(--accent);border-radius:10px;padding:7px 10px;font-size:.85rem;font-weight:600;flex:none}
.wd.op{border-color:var(--prep)}
.wd.op .k{color:var(--prep);font-weight:600}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.wd{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 7px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);min-width:0}
.wd .a{font-family:var(--display);font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wd .n{font-family:var(--display);font-size:1.35rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.wd .k{font-size:.68rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.wd .k.ok{color:var(--ok);font-weight:600}
.wd.today .n{color:var(--accent)}
.wd[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}

/* Einheiten */
.dayhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.badge{font-family:var(--display);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:var(--accent-soft);color:var(--accent)}
.slist{display:flex;flex-direction:column;gap:10px}
.sess{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.sess-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sess-top>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.meta2{font-size:.88rem;color:var(--muted);font-variant-numeric:tabular-nums}
.go{background:var(--accent);color:var(--on-accent);border:0;border-radius:10px;padding:9px 16px;font-weight:600;white-space:nowrap;flex:none}
.go.again{background:none;color:var(--accent);border:1px solid var(--accent)}
.done-tag{color:var(--ok);font-weight:600;font-size:.88rem}
.sess details summary{font-size:.9rem;color:var(--accent);cursor:pointer;font-weight:500}
.sess details ul{margin:8px 0 0;padding:0;list-style:none;font-size:.9rem;color:var(--muted);display:flex;flex-direction:column;gap:3px}
.sess details li{display:flex;justify-content:space-between;gap:12px}
.sess details li b{color:var(--fg);font-weight:500}
.sess details li span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.sess details li.grp{font-family:var(--display);font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding-top:6px}
.travel{font-size:.9rem;padding:10px 12px;border-radius:12px;background:var(--prep-soft);color:var(--fg)}
.travel b{color:var(--prep)}
.sess.info{background:none;border-style:dashed}
.sess.info p{font-size:.9rem;color:var(--muted)}
.chk{background:none;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:.9rem;white-space:nowrap;flex:none}
.chk[aria-pressed="true"]{border-color:var(--ok);color:var(--ok);font-weight:600}

.label{font-family:var(--display);font-size:.8rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:2px}

/* Player */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ghost{background:none;border:1px solid var(--line);border-radius:10px;padding:6px 12px;font-size:.9rem}
.ghost.armed{border-color:var(--prep);color:var(--prep);font-weight:600}
.bar{height:6px;border-radius:99px;background:var(--line);overflow:hidden}
.bar span{display:block;height:100%;width:0;background:var(--accent);transition:width .3s linear}
.meta{display:flex;justify-content:space-between;gap:12px;font-size:.88rem;color:var(--muted);font-variant-numeric:tabular-nums}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px 18px 20px;display:flex;flex-direction:column;gap:14px}
.pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{font-size:.88rem;font-weight:600;padding:4px 10px;border-radius:99px;background:var(--accent-soft);color:var(--accent)}
.pill.quiet{background:none;border:1px solid var(--line);color:var(--muted);font-weight:500}
.ring{position:relative;width:min(58vw,230px);aspect-ratio:1;max-width:100%;margin:4px auto}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring .track{fill:none;stroke:var(--line);stroke-width:12}
.ring .prog{fill:none;stroke:var(--accent);stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset .25s linear}
.ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.status{font-family:var(--display);font-size:1rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.time{font-family:var(--display);font-size:4.4rem;font-weight:600;font-variant-numeric:tabular-nums;line-height:1}
.unit{font-size:.9rem;color:var(--muted)}
.paused-note{font-size:.85rem;color:var(--muted)}
#player[data-kind="prep"] .prog,#player[data-kind="rest"] .prog{stroke:var(--prep)}
#player[data-kind="prep"] .status,#player[data-kind="rest"] .status{color:var(--prep)}
#player[data-kind="set"] .prog{stroke:var(--accent-soft)}
#player[data-kind="walk"] .prog{stroke:var(--prep)}
#player[data-kind="walk"] .status{color:var(--prep)}
.cues{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:4px}
.ref{font-size:.85rem;color:var(--muted)}
.next{font-size:.95rem;color:var(--muted);text-align:center}
.next b{color:var(--fg);font-weight:600}
.load{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:12px;background:var(--accent-soft)}
.load-row{display:flex;gap:10px;flex-wrap:wrap}
.load-row label{display:flex;flex-direction:column;gap:3px;font-size:.8rem;color:var(--muted);flex:1;min-width:120px}
.load-row input{font-size:1.25rem;font-variant-numeric:tabular-nums;background:var(--surface);width:100%}
.last{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums}
.hint{font-size:.88rem;color:var(--accent);font-weight:600}
.flow{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px 16px}
.flow summary{padding:10px 0;font-weight:600;cursor:pointer}
.flow ol{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:2px}
.flow .grp{font-family:var(--display);font-size:.8rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:8px 0 2px}
.flow button{width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:7px 8px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.95rem}
.flow button:hover{background:var(--accent-soft)}
.flow button.done{color:var(--muted)}
.flow button.done .nm::before{content:"✓ ";color:var(--ok)}
.flow button.current{background:var(--accent-soft);color:var(--accent);font-weight:600}
.flow small{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.flow .t{display:flex;align-items:center;gap:10px;min-width:0}
.flow .t img{width:44px;height:34px;object-fit:cover;border-radius:6px;flex:none;background:var(--fig)}
.controls{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center;align-items:center;gap:14px;z-index:5}
.ctl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:none;border:0;border-radius:12px;min-width:58px;padding:6px 4px;font-size:.75rem;color:var(--fg)}
.ctl:disabled{opacity:.3;cursor:default}
.ctl svg{width:26px;height:26px}
.ctl.main{width:70px;height:70px;border-radius:50%;background:var(--accent);color:var(--on-accent);min-width:0}
.ctl.main svg{width:32px;height:32px}

/* Bilder */
.fig{margin:0;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--fig);border-radius:14px;overflow:hidden;padding:8px;cursor:zoom-in;border:0;width:100%}
.fig img{display:block;max-width:100%;max-height:230px;width:auto;height:auto;border-radius:8px;min-width:0}
.fig.two img{max-width:calc(50% - 14px)}
.fig .arrow{color:var(--fig-fg);font-size:1.3rem;flex:none}
.zoom-hint{font-size:.8rem;color:var(--muted);text-align:center;margin-top:-8px}
.lightbox{position:fixed;inset:0;z-index:20;background:rgba(8,14,16,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));cursor:zoom-out}
.lightbox img{max-width:100%;max-height:44vh;border-radius:10px;object-fit:contain}
.lightbox .lb-close{color:#E3EDEE;background:none;border:1px solid #4A5F64;border-radius:10px;padding:6px 14px;font-size:.95rem}
a.photos{display:block;text-align:center;padding:14px;border-radius:14px;border:1.5px solid var(--accent);color:var(--accent);font-weight:600;text-decoration:none;background:var(--accent-soft)}
a.photos:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.own{display:flex;flex-direction:column;gap:8px}
.addimg{display:block;text-align:center;padding:14px;border-radius:14px;background:var(--accent);color:var(--on-accent);font-weight:600;cursor:pointer}
.vh{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.own-hint{font-size:.85rem;color:var(--muted);text-align:center}
.linkbtn{background:none;border:0;color:var(--muted);text-decoration:underline;font-size:.88rem;padding:4px;align-self:center}

/* Fertig */
.done-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px 18px;display:flex;flex-direction:column;gap:12px;text-align:center;align-items:center}
.check{width:64px;height:64px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center}
.ghost-lg{width:100%;background:none;border:1.5px solid var(--accent);color:var(--accent);border-radius:14px;padding:14px;font-family:var(--display);font-size:1.2rem;font-weight:700}
@media (prefers-reduced-motion:reduce){.bar span,.ring .prog{transition:none}}

/* Navigation unten */
.nav{position:fixed;left:0;right:0;bottom:0;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,112px));justify-content:center;background:var(--surface);border-top:1px solid var(--line);padding:6px max(6px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px))}
.nav button{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;border-radius:10px;padding:4px 2px;color:var(--muted);font-size:.72rem;font-weight:600;min-width:0}
.nav button svg{width:48px;height:30px;padding:3px 12px;border-radius:99px}
.nav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav button[aria-current="page"]{color:var(--accent)}
.nav button[aria-current="page"] svg{background:var(--accent-soft)}

/* Fortschritt */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.stat b{font-family:var(--display);font-size:2rem;font-weight:700;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.stat span{font-size:.8rem;color:var(--muted);line-height:1.25}
.calwrap{display:flex;gap:6px}
.cal-days{display:grid;grid-template-rows:repeat(7,1fr);gap:4px;font-size:.68rem;color:var(--muted);line-height:1}
.cal-days span{display:flex;align-items:center}
.cal{flex:1;display:grid;grid-template-rows:repeat(7,1fr);grid-auto-flow:column;grid-auto-columns:1fr;gap:3px}
.c{display:block;aspect-ratio:1;border-radius:3px;background:var(--line)}
.c.l0{background:var(--line)}
.c.l1{background:color-mix(in srgb,var(--accent) 40%,var(--line))}
.c.l2{background:color-mix(in srgb,var(--accent) 70%,var(--line))}
.c.l3{background:var(--accent)}
.c.fut{background:none;border:1px dashed var(--line)}
.c.now{outline:2px solid var(--prep);outline-offset:1px}
.legend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.78rem;color:var(--muted)}
.legend .c{width:12px;height:12px;aspect-ratio:auto}
.foods{display:grid;grid-template-columns:1fr auto;gap:3px 16px;font-size:.92rem;margin:0}
.foods dt{color:var(--muted)}
.foods dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.lift{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.lift-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.lift-top>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.best{text-align:right;font-size:.88rem;color:var(--muted);display:flex;flex-direction:column;align-items:flex-end;flex:none}
.best b{font-family:var(--display);font-size:1.6rem;font-weight:700;color:var(--fg);line-height:1;font-variant-numeric:tabular-nums}
.best small{font-size:.72rem;max-width:12em}
.spark{width:100%;height:auto;display:block}
.spark .grid{stroke:var(--line);stroke-width:1}
.spark .area{fill:var(--accent-soft)}
.spark .ln{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.spark .dot{fill:var(--accent)}
.ask{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:var(--prep-soft)}

/* Allgemein: Formulare, Auswahl, Hinweise */
.small{font-size:.85rem}
.err{color:var(--prep)}
.fieldcol{display:flex;flex-direction:column;gap:6px;font-size:.92rem}
textarea{font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:8px 10px;width:100%;resize:vertical;min-height:2.8em}
textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
input[type="date"],input[type="time"],input[type="datetime-local"]{min-height:40px;max-width:100%}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.grid2 label{display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:var(--muted);min-width:0}
.grid2 input{width:100%;font-size:1.1rem;font-variant-numeric:tabular-nums;background:var(--bg)}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.days button{background:var(--surface);border:1.5px solid var(--line);border-radius:10px;padding:8px 0;font-family:var(--display);font-weight:600;font-size:.95rem;letter-spacing:.04em}
.days button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips button{background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:6px 12px;font-size:.88rem}
.chips button[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}
.chk.armed,.linkbtn.armed{border-color:var(--prep);color:var(--prep);font-weight:600}
.tips{padding-bottom:4px}
.tips .notes{margin-bottom:12px}
.tips a{color:var(--accent)}
.wd .rd{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:var(--accent)}

/* Sperre */
.lockv{min-height:70vh;display:flex;align-items:center;justify-content:center}
.lock-card{width:100%;max-width:340px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:28px 20px}
.lock-ico{width:64px;height:64px;border-radius:16px;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center}
.lock-ico svg{width:38px;height:38px}
#lockIn{width:100%;text-align:center;font-size:1.6rem;letter-spacing:.3em;padding:10px}
.lock-card .start{width:100%}

/* Laufen */
.wklist{display:flex;flex-direction:column;gap:6px}
.wk{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.wk>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.wk b{font-family:var(--display);font-size:1.1rem;font-weight:700}
.wk span{font-size:.86rem;color:var(--muted)}
.wk.cur{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.wk.done b{color:var(--muted)}
.dots{display:flex;gap:5px;flex:none}
.dots i{display:block;width:10px;height:10px;border-radius:50%;border:1.5px solid var(--line)}
.dots i.on{background:var(--ok);border-color:var(--ok)}

/* Schlaf */
.stats.sm .stat b{font-size:1.6rem}
.slc{position:relative;padding-left:30px}
.slc-plot{position:relative;height:150px;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;border-bottom:1px solid var(--line)}
.slc-grid{position:absolute;left:0;right:0;border-top:1px solid var(--line);pointer-events:none}
.slc-grid span{position:absolute;left:-30px;top:-.65em;font-size:.7rem;color:var(--muted);font-variant-numeric:tabular-nums}
.slc-col{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;background:none;border:0;padding:0 1px;min-width:0}
.slc-col i{display:block;width:100%;max-width:24px;border-radius:4px 4px 0 0;background:var(--accent)}
.slc-col:hover i,.slc-col.on i{background:color-mix(in srgb,var(--accent) 75%,var(--fg))}
.slc-col:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:4px}
.slc-x{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));font-size:.66rem;color:var(--muted);text-align:center;margin-top:4px}
.slc-tip{position:absolute;top:-6px;z-index:2;display:flex;flex-direction:column;gap:1px;padding:6px 10px;border-radius:10px;background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 14px rgba(0,0,0,.12);pointer-events:none;white-space:nowrap}
.slc-tip b{font-family:var(--display);font-size:1.15rem;font-weight:700;line-height:1.1}
.slc-tip span{font-size:.78rem;color:var(--muted)}
.sl-item{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.sl-item>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.sl-item b{font-weight:600}
.sl-item span{font-size:.86rem;color:var(--muted)}
.sl-item .tags{font-size:.8rem}
.sl-item .r{align-items:flex-end;flex:none;text-align:right}
.sl-item .r b{font-family:var(--display);font-size:1.35rem;font-weight:700;line-height:1}

/* Fokus */
.fc-hero{gap:8px}
.fc-count{display:flex;align-items:baseline;gap:10px}
.fc-count b{font-family:var(--display);font-size:4.4rem;font-weight:700;line-height:.9;color:var(--accent)}
.fc-count span{font-family:var(--display);font-size:1.6rem;font-weight:600}
.sos{background:var(--prep);color:var(--on-prep);border:0;border-radius:14px;padding:16px;font-family:var(--display);font-size:1.35rem;font-weight:700;letter-spacing:.02em}
.c.rel{background:var(--prep)}
.why{white-space:pre-line}
.breath{align-items:center;text-align:center}
.breath-ring{position:relative;width:min(58vw,220px);aspect-ratio:1;display:flex;align-items:center;justify-content:center}
.breath-dot{position:absolute;inset:0;border-radius:50%;background:var(--accent-soft);border:2px solid var(--accent);transform:scale(.6);transition:transform 600ms ease-in-out}
.breath .time{font-size:2.8rem}
.breath-ring .ring-center{position:relative;inset:auto}
.breath .start{width:100%}
.todo{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.todo button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.todo button::before{content:"";width:18px;height:18px;border-radius:50%;border:2px solid var(--line);flex:none;box-sizing:border-box}
.todo button[aria-pressed="true"]{color:var(--muted);text-decoration:line-through}
.todo button[aria-pressed="true"]::before{background:var(--ok);border-color:var(--ok)}
@media (prefers-reduced-motion:reduce){.breath-dot{transition:none!important}}
