:root {
  --bg: #f3f4ef;
  --surface: #ffffff;
  --surface-2: #eceee7;
  --line: #dcdfd5;
  --text: #151814;
  --muted: #5f675f;
  --accent: #c6f432;
  --accent-ink: #11140f;
  --accent-text: #4b7a00;
  --warn: #b86b00;
  --danger: #c7362a;
  --ring-bg: #e2e5dc;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --r: 18px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f0d; --surface: #161916; --surface-2: #1f231f; --line: #2b302b;
    --text: #eef2ec; --muted: #9aa39a; --accent-text: #c6f432; --warn: #ffb547; --danger: #ff6b5a;
    --ring-bg: #262b26; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f0d; --surface: #161916; --surface-2: #1f231f; --line: #2b302b;
  --text: #eef2ec; --muted: #9aa39a; --accent-text: #c6f432; --warn: #ffb547; --danger: #ff6b5a;
  --ring-bg: #262b26; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }
a { color: var(--accent-text); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- Shell ---------- */
.app { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: 0 16px calc(var(--nav-h) + var(--safe-b) + 24px); }
.app.full { padding-bottom: calc(96px + var(--safe-b)); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 10px; gap: 12px; }
.topbar h1 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.topbar .sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); flex: none; }
.icon-btn svg { width: 22px; height: 22px; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding-bottom: var(--safe-b);
}
.nav-in { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--nav-h); }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.nav a svg { width: 24px; height: 24px; }
.nav a.on { color: var(--text); }
.nav a.on .pill { background: var(--accent); color: var(--accent-ink); }
.nav .pill { width: 52px; height: 30px; border-radius: 99px; display: grid; place-items: center; transition: background .2s; }

/* ---------- Cards & common ---------- */
.card { background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.card h2, .sec-title { margin: 0 0 10px; font-size: 18px; letter-spacing: -.01em; }
.sec-title { margin: 22px 2px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.sec-title .small { font-weight: 500; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.chip.acc { background: var(--accent); color: var(--accent-ink); }
.chip.line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 16px; font-weight: 700; font-size: 16px;
  background: var(--surface-2); color: var(--text); transition: transform .12s ease; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--accent); color: var(--accent-ink); }
.btn.block { width: 100%; }
.btn.big { min-height: 60px; font-size: 17px; border-radius: 18px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.danger { color: var(--danger); }
.btn svg { width: 20px; height: 20px; }
.link-btn { color: var(--accent-text); font-weight: 600; font-size: 14px; padding: 8px 4px; }
.empty { text-align: center; padding: 22px 10px; color: var(--muted); }

.check {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 2px solid var(--line); background: transparent; transition: background .15s, border-color .15s, transform .12s;
}
.check svg { width: 22px; height: 22px; opacity: 0; transition: opacity .15s; }
.check.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check.on svg { opacity: 1; }
.check:active { transform: scale(.9); }

.list-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .t { font-weight: 600; line-height: 1.25; }
.list-item .d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.list-item.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
.tap { text-align: left; flex: 1; min-width: 0; padding: 4px 0; }

/* ---------- Hoy ---------- */
.hero { background: var(--accent); color: var(--accent-ink); border-radius: 22px; padding: 20px; margin-bottom: 14px; position: relative; overflow: hidden; }
.hero .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hero h2 { font-size: 30px; margin: 4px 0 2px; letter-spacing: -.02em; line-height: 1.05; font-weight: 850; }
.hero p { margin: 0 0 16px; opacity: .8; }
.hero .btn { background: var(--accent-ink); color: var(--accent); }
.hero.rest { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.hero.rest .btn { background: var(--surface-2); color: var(--text); }
.loc-seg { background: rgba(0,0,0,.12); margin-bottom: 14px; }
.loc-seg button { color: var(--accent-ink); opacity: .75; min-height: 40px; }
.loc-seg button.on { background: var(--accent-ink); color: var(--accent); opacity: 1; }
.hero .meta { display: flex; gap: 14px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.hero-art { position: absolute; right: -8px; top: -6px; width: 120px; opacity: .22; pointer-events: none; }
.hero-art .fg-body, .hero-art .fg-head { stroke: var(--accent-ink); }

.macro-bars { display: grid; gap: 8px; }
.mbar .top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.mbar .top b { font-weight: 700; }
.mbar .track { height: 8px; border-radius: 99px; background: var(--ring-bg); overflow: hidden; }
.mbar .fill { height: 100%; border-radius: 99px; background: var(--accent-text); }

.water { display: flex; align-items: center; gap: 12px; }
.water .count { font-size: 28px; font-weight: 800; }
.water .glasses { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.water .g { width: 14px; height: 20px; border-radius: 3px 3px 5px 5px; background: var(--ring-bg); }
.water .g.on { background: #3ba7ff; }
.round { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 26px; font-weight: 700; flex: none; }
.round.pri { background: var(--accent); color: var(--accent-ink); }

.weigh { display: flex; gap: 10px; }
.weigh input { flex: 1; min-width: 0; }
.field { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 14px; font-size: 18px; }
.field:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }

/* ---------- Semana ---------- */
.day { display: flex; align-items: center; gap: 12px; }
.day .dn { width: 48px; text-align: center; flex: none; }
.day .dn b { display: block; font-size: 20px; line-height: 1; }
.day .dn span { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.day.today .dn b { color: var(--accent-text); }
.day .st { font-size: 12px; font-weight: 700; }
.day .st.ok { color: var(--accent-text); }
.card.day-card.today { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.block-info { font-size: 14px; }
.progress-line { height: 6px; background: var(--ring-bg); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress-line div { height: 100%; background: var(--accent-text); border-radius: 99px; }

/* ---------- Sheet ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; opacity: 0; transition: opacity .2s; }
.sheet-bg.in { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 560px; margin: 0 auto;
  background: var(--surface); border-radius: 24px 24px 0 0; padding: 10px 16px calc(20px + var(--safe-b));
  max-height: 86dvh; overflow: auto; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.sheet.in { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 4px; font-size: 20px; }
.opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface-2); margin-top: 8px; text-align: left; min-height: 60px; }
.opt.on { outline: 2px solid var(--accent-text); }
.opt .t { font-weight: 700; }
.opt .d { font-size: 13px; color: var(--muted); }

/* ---------- Ficha ---------- */
.page-head { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.page-head .ttl { font-weight: 700; font-size: 15px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-title { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; font-weight: 850; }
.figure-main { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 8px; margin: 12px 0; }
.figure-main svg { width: 100%; height: auto; max-height: 300px; display: block; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.figs .f { background: var(--surface); border-radius: 16px; padding: 6px 6px 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow); }
.figs svg { width: 100%; height: auto; display: block; }
.fg-body { fill: none; stroke: var(--text); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.fg-head { fill: var(--surface); stroke: var(--text); stroke-width: 3; }
.fg-hair { fill: none; stroke: var(--text); stroke-width: 3.2; stroke-linecap: round; }
.hero-art .fg-hair { stroke: var(--accent-ink); }
.fg-ground { stroke: var(--line); stroke-width: 1.2; }
.fg-prop { stroke: var(--muted); stroke-linecap: round; opacity: .55; }
.fg-prop-fill { fill: var(--muted); opacity: .35; }
.fg-tool { stroke: var(--accent-text); stroke-linecap: round; }
.fg-tool-fill { fill: var(--accent-text); }
.fg-plate { fill: none; stroke: var(--accent-text); stroke-width: 2.6; }
.fg-cable { stroke: var(--accent-text); stroke-width: 1.1; stroke-dasharray: 2 1.6; }
.hero-art .fg-head { fill: var(--accent); }
.ph { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: #fff; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img.b { animation: pfAlt 2.6s ease-in-out infinite; }
@keyframes pfAlt { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.figure-main.ph { padding: 0; aspect-ratio: 3 / 2; }
.mini .ph { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 16px; }
.ph.f, .figure-main.ph.f { aspect-ratio: 4 / 5; }
.ph.f img { object-position: center 30%; }
.mini .ph.f { aspect-ratio: auto; }
img.still { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; aspect-ratio: 3 / 2; }
.figs img.still { margin-bottom: 6px; }
.muscles .chip.acc { font-size: 13px; }
ol.cues, ul.errs { margin: 0; padding: 0; list-style: none; counter-reset: c; }
ol.cues li, ul.errs li { position: relative; padding: 8px 0 8px 38px; border-bottom: 1px solid var(--line); }
ol.cues li:last-child, ul.errs li:last-child { border-bottom: 0; }
ol.cues li::before { counter-increment: c; content: counter(c); position: absolute; left: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
ul.errs li::before { content: "✕"; position: absolute; left: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.stat .l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat .v { font-size: 22px; font-weight: 800; margin-top: 2px; }
.stat .h { font-size: 12px; color: var(--muted); }
.yt { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
.yt .btn { background: #ff0033; color: #fff; }
.yt .btn.alt { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Entreno en vivo ---------- */
.live-head { display: flex; align-items: center; gap: 10px; padding: 12px 0 8px; }
.live-head .ttl { flex: 1; min-width: 0; }
.live-head .ttl b { display: block; font-size: 16px; }
.live-head .ttl span { font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 5px; margin: 4px 0 14px; }
.dots button { flex: 1; height: 6px; border-radius: 99px; background: var(--ring-bg); }
.dots button.done { background: var(--accent-text); }
.dots button.cur { background: var(--text); }
.ex-card { background: var(--surface); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.ex-card .top { display: flex; gap: 12px; align-items: flex-start; }
.ex-card .mini { width: 64px; height: 64px; border-radius: 16px; background: var(--surface-2); flex: none; }
.ex-card .mini svg { width: 100%; height: 100%; }
.ex-card h2 { margin: 2px 0 6px; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.tip { border-left: 4px solid var(--accent-text); background: var(--surface-2); padding: 10px 12px; border-radius: 4px 12px 12px 4px; font-size: 14px; margin: 12px 0 0; }
.last { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sets { margin-top: 14px; }
.set-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 10px; border-radius: 12px; width: 100%; text-align: left; }
.set-row.cur { background: var(--surface-2); outline: 2px solid var(--accent-text); outline-offset: -2px; }
.set-row .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--surface-2); flex: none; }
.set-row.done .n { background: var(--accent); color: var(--accent-ink); }
.set-row .v { flex: 1; font-weight: 700; }
.set-row .v small { color: var(--muted); font-weight: 500; }
.set-row .ok { color: var(--accent-text); font-size: 13px; font-weight: 700; }
.panel { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { background: var(--surface-2); border-radius: 18px; padding: 10px; text-align: center; }
.stepper .l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stepper input { width: 100%; text-align: center; font-size: 34px; font-weight: 850; background: transparent; border: 0; padding: 2px 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper .b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stepper .b button { height: 48px; border-radius: 14px; background: var(--surface); font-size: 24px; font-weight: 700; box-shadow: var(--shadow); }
.stepper .b button:active { transform: scale(.94); }
.set-actions { display: flex; justify-content: space-between; margin-top: 6px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); padding: 10px 16px calc(12px + var(--safe-b)); }
.bottom-bar .in { max-width: 528px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

/* Temporizador de descanso */
.timer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); padding: 16px 16px calc(18px + var(--safe-b)); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.timer.in { transform: none; }
.timer .in2 { max-width: 528px; margin: 0 auto; }
.timer .row1 { display: flex; align-items: center; gap: 16px; }
.ring { width: 112px; height: 112px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--ring-bg); }
.ring .fg { stroke: var(--accent-text); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 850; }
.timer .lbl2 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.timer .next { font-weight: 700; margin-top: 2px; }
.timer .btns { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; margin-top: 14px; }
.timer.done .ring .fg { stroke: var(--accent); }

/* ---------- Progreso ---------- */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 11px; }
.chart .ln { fill: none; stroke: var(--accent-text); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .ar { fill: var(--accent-text); opacity: .1; }
.chart .dt { fill: var(--surface); stroke: var(--accent-text); stroke-width: 2; }
.chart .lastv { fill: var(--text); font-size: 12px; font-weight: 700; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.pick { flex: none; padding: 10px 14px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; min-height: 44px; }
.pick.on { background: var(--text); color: var(--bg); }
table.hist { width: 100%; border-collapse: collapse; font-size: 14px; }
table.hist td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.hist td:last-child { text-align: right; font-weight: 700; }

/* ---------- Comida / Mercado ---------- */
.day-chips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.day-chips button { min-height: 52px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.day-chips button b { font-size: 17px; color: var(--text); }
.day-chips button.on { background: var(--text); color: var(--bg); }
.day-chips button.on b { color: var(--bg); }
.day-chips button.today:not(.on) { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.meal { display: flex; gap: 12px; align-items: flex-start; }
.meal .time { font-size: 12px; font-weight: 700; color: var(--muted); }
.meal .name { font-weight: 700; font-size: 17px; line-height: 1.25; margin: 2px 0 4px; }
.meal ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.meal .mac { font-size: 13px; margin-top: 8px; font-weight: 600; }
.meal .acts { display: flex; gap: 6px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.card.meal-card.done { opacity: .6; }
.budget { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.budget .v { font-size: 26px; font-weight: 850; }
.cat-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 4px 6px; }
.price { text-align: right; font-weight: 700; font-size: 14px; white-space: nowrap; }
.price small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
details.eq summary { font-weight: 700; padding: 6px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details.eq summary::-webkit-details-marker { display: none; }
details.eq summary::after { content: "+"; font-size: 20px; color: var(--muted); }
details.eq[open] summary::after { content: "–"; }
details.eq ul { margin: 6px 0 4px; padding-left: 18px; color: var(--muted); font-size: 14px; }

/* ---------- Ajustes ---------- */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { min-height: 44px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.sched-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.sched-row b { width: 44px; }
.sched-row select { flex: 1; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; z-index: 90; opacity: 0; transition: all .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }

.fade-in { animation: fi .22s ease both; }
@keyframes fi { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
button.f > svg { width: 32px; height: 32px; }
.ic { width: 22px; height: 22px; flex: none; }
