:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface-2: #ece9e3;
  --text: #1d2125;
  --muted: #6b7178;
  --border: #dedad3;
  --accent: #e8572a;
  --accent-ink: #ffffff;
  --accent-soft: #fde6dc;
  --ok: #1f9d55;
  --ok-soft: #dcf3e5;
  --danger: #c93a3a;
  --danger-soft: #f9e0e0;
  --hard: #7c3aed;
  --hard-soft: #ede4fd;
  --measure: #0e7c86;
  --measure-soft: #d9f1f3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04);
  --nav-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --surface: #1c1f22;
    --surface-2: #262a2e;
    --text: #eceae6;
    --muted: #9aa0a6;
    --border: #30353a;
    --accent: #ff6d3f;
    --accent-ink: #1a0d07;
    --accent-soft: #3a2017;
    --ok: #3ccf7d;
    --ok-soft: #173826;
    --danger: #ff6b6b;
    --danger-soft: #3d1c1c;
    --hard: #a78bfa;
    --hard-soft: #2b2342;
    --measure: #39c2cc;
    --measure-soft: #143236;
    --shadow: none;
    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(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px);
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--accent); text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; margin-top: 1.5rem; }
h3 { font-size: 1rem; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.topbar .wrap { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.topbar .back { display: inline-flex; padding: 8px; margin-left: -8px; color: var(--text); }
.topbar .title { font-weight: 700; font-size: 1.05rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.brand svg { color: var(--accent); }

main.wrap { padding-top: 16px; }

/* Bottom nav */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); height: var(--nav-h); padding: 0; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font-size: .72rem; font-weight: 600;
}
.tabbar a.active { color: var(--accent); }

/* Cards & lists */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: 4px; }

.session-link {
  display: flex; align-items: center; gap: 12px; color: var(--text);
}
.session-link .body { flex: 1; min-width: 0; }
.session-link .name { font-weight: 650; display: block; }
.session-link .meta { color: var(--muted); font-size: .85rem; display: block; }
.session-link .chev { color: var(--muted); }

.kind-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--accent); }
.kind-dot.hard { background: var(--hard); }
.kind-dot.measure { background: var(--measure); }
.kind-dot.done { background: var(--ok); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  vertical-align: middle;
}
.badge.hard { background: var(--hard-soft); color: var(--hard); }
.badge.measure { background: var(--measure-soft); color: var(--measure); }
.badge.done { background: var(--ok-soft); color: var(--ok); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.empty { text-align: center; color: var(--muted); padding: 24px 8px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
.stack > * + * { margin-top: 8px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 8px; }
.section-title h2 { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  font: inherit; font-weight: 650; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.danger { color: var(--danger); border-color: var(--danger-soft); background: var(--danger-soft); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: .9rem; border-radius: 10px; }
.btn.icon { width: 44px; padding: 0; }
.btn.sm.icon { width: 36px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
form.inline { display: inline; margin: 0; }

.fab {
  position: fixed; right: 16px; z-index: 25;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px);
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(232, 87, 42, .35);
}

/* Forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=search],
select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.check { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 8px 0; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }

/* Chip toggles (checkbox / radio styled as pills) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:disabled + span { opacity: .35; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice-card { display: block; position: relative; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card .card { cursor: pointer; margin: 0; }
.choice-card input:checked + .card { border-color: var(--accent); outline: 2px solid var(--accent); }

/* Flash */
.flash { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; font-weight: 600; }
.flash.success { background: var(--ok-soft); color: var(--ok); }
.flash.error { background: var(--danger-soft); color: var(--danger); }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head h1 { margin: 0; font-size: 1.25rem; text-transform: capitalize; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; padding: 4px 0; }
.cal .day {
  aspect-ratio: 1 / 1.1; min-height: 48px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 6px 2px 4px; color: var(--text); position: relative;
}
.cal .day.other { opacity: .4; }
.cal .day.today .num { background: var(--accent); color: var(--accent-ink); }
.cal .day.selected { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: -1px; }
.cal .day.drop-target { background: var(--accent-soft); }
.cal .num { font-size: .85rem; font-weight: 700; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cal .dots { display: flex; gap: 3px; margin-top: auto; flex-wrap: wrap; justify-content: center; }
.cal .dots .kind-dot { width: 7px; height: 7px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: var(--muted); margin: 10px 0; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.draggable { cursor: grab; }
.draggable.dragging { opacity: .5; }

/* Exercises */
.exercise { position: relative; }
.exercise.done { opacity: .7; }
.exercise.done .ex-name { text-decoration: line-through; text-decoration-color: var(--ok); }
.ex-top { display: flex; gap: 10px; align-items: flex-start; }
.ex-check { margin: 0; }
.ex-check button {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  color: transparent; cursor: pointer; padding: 0;
}
.exercise.done .ex-check button { background: var(--ok); border-color: var(--ok); color: #fff; }
.ex-name { font-weight: 650; }
.ex-meta { font-size: .88rem; color: var(--muted); }
.ex-load { font-size: .88rem; margin-top: 2px; }
.ex-notes { font-size: .88rem; color: var(--muted); margin-top: 6px; white-space: pre-line; }
.ex-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.cat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.cat.dedos { color: var(--hard); }
.cat.core, .cat.fuerza { color: #c77700; }
.cat.movilidad, .cat.antagonistas { color: var(--measure); }

details.more summary { list-style: none; cursor: pointer; }
details.more summary::-webkit-details-marker { display: none; }

/* Climbs */
.climb-list { display: flex; flex-wrap: wrap; gap: 6px; }
.climb-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 10px; padding: 4px 4px 4px 10px; font-weight: 700;
  background: var(--surface-2);
}
.climb-pill.project { background: transparent; border: 1px dashed var(--border); color: var(--muted); }
.climb-pill .x { border: 0; background: transparent; color: var(--muted); font-size: 1rem; padding: 2px 6px; cursor: pointer; }
.climb-pill small { font-weight: 500; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stat { background: var(--surface-2); border-radius: 12px; padding: 10px; text-align: center; }
.stat b { display: block; font-size: 1.35rem; }
.stat span { font-size: .75rem; color: var(--muted); }

/* Fatigue modal */
dialog {
  border: 0; border-radius: 20px; padding: 0; width: min(440px, calc(100vw - 32px));
  background: var(--surface); color: var(--text);
}
dialog::backdrop { background: rgba(0, 0, 0, .5); }
.dialog-body { padding: 20px; }
.fatigue-value { text-align: center; margin: 12px 0 4px; }
.fatigue-value b { font-size: 3.2rem; line-height: 1; display: block; }
.fatigue-value span { font-weight: 700; }
input[type=range].fatigue {
  width: 100%; height: 36px; -webkit-appearance: none; appearance: none; background: transparent;
}
input[type=range].fatigue::-webkit-slider-runnable-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #2bb673, #b6d334, #f5c518, #f08a24, #e03c31);
}
input[type=range].fatigue::-moz-range-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #2bb673, #b6d334, #f5c518, #f08a24, #e03c31);
}
input[type=range].fatigue::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 3px solid var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
input[type=range].fatigue::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--text);
}
.scale-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.fatigue-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px; color: #fff; font-weight: 800; font-size: .8rem; }

/* Charts */
.chart-box { position: relative; height: 220px; }

/* Login */
/* Pages without the bottom tab bar don't need the space reserved for it. */
body.no-nav { padding-bottom: 0; }
/* No elastic bounce on the login: on iOS it feels like the page scrolls. */
html:has(body.no-nav), body.no-nav { overscroll-behavior-y: none; }
body.no-nav main.wrap { padding-top: 0; }
.login {
  min-height: 100vh;
  min-height: 100dvh; /* visible height on mobile, excluding the browser's URL bar */
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
}
.login .card { width: 100%; max-width: 380px; padding: 28px 24px 24px; }
.login .brand { justify-content: center; font-size: 1.5rem; margin-bottom: 2px; }
.login-tagline { text-align: center; color: var(--muted); margin: 0 0 22px; }
.flash.message, .flash.info { background: var(--surface-2); color: var(--text); }

/* Tables */
table { width: 100%; border-collapse: collapse; }
td, th { padding: 8px 4px; border-bottom: 1px solid var(--border); text-align: left; font-size: .92rem; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

@media (min-width: 720px) {
  .cal .day { aspect-ratio: auto; min-height: 76px; }
}

input[type=range]:focus:not(:focus-visible),
input[type=checkbox]:focus:not(:focus-visible),
input[type=radio]:focus:not(:focus-visible) { outline: none; }

/* Checklists (warm-up) */
.checklist { list-style: none; margin: 10px 0 4px; padding: 0; }
.checklist-item { margin: 0; }
.checklist-item button {
  display: flex; align-items: flex-start; gap: 10px; width: 100%;
  background: none; border: 0; padding: 8px 0; text-align: left;
  font: inherit; color: var(--text); cursor: pointer;
}
.checklist li + li .checklist-item button { border-top: 1px solid var(--border); }
.checklist-item .box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.checklist-item.done .box { background: var(--ok); border-color: var(--ok); color: #fff; }
.checklist-item.done .text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--ok); }
.checklist-count { margin-bottom: 2px; }

/* Plan overview */
.plan-hero h2 { font-size: 1.35rem; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 14px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.stat-row-4 { grid-template-columns: repeat(4, 1fr); }
.stat-row-4 .stat b { font-size: 1.15rem; }
.stat b small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.delta { font-weight: 700; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--ok); }
.delta.down { color: var(--danger); }
.dot-s { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--surface-2); border: 2px solid var(--border); flex: none; }
.dot-s.done { background: var(--ok); border-color: var(--ok); }
.dot-s.missed { background: transparent; border-color: var(--danger); }
.dot-s.today { background: var(--accent); border-color: var(--accent); }
.dot-s.hard { border-radius: 50%; }
.legend .dot-s { width: 10px; height: 10px; }
details.week { padding: 0; }
details.week summary { list-style: none; }
details.week summary::-webkit-details-marker { display: none; }
.week-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.week.current { border-color: var(--accent); outline: 1px solid var(--accent); }
.week-num { font-weight: 800; color: var(--muted); width: 30px; }
.week.current .week-num { color: var(--accent); }
.week-title { font-weight: 650; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.week-dots { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.week-dots .small { margin-left: 6px; }
.week-sessions { border-top: 1px solid var(--border); padding: 4px 14px 8px; }
.week-session { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text); }
.week-session + .week-session { border-top: 1px solid var(--border); }
.week-session .name { display: block; font-weight: 600; }
.week-session .small { display: block; }
@media (max-width: 380px) { .stat-row-4 { grid-template-columns: repeat(2, 1fr); } }

/* Library picker (new session) */
.picker-cats { margin-bottom: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-btn {
  flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip-btn.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.picker-list { max-height: 340px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.picker-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0; font-weight: 500; cursor: pointer; }
.picker-row + .picker-row { border-top: 1px solid var(--border); }
.picker-row input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.picker-name { display: block; font-weight: 600; }
.picker-meta { display: block; font-size: .8rem; color: var(--muted); }
.picker-selected ol { margin: 0; padding-left: 22px; }
.picker-selected li { padding: 2px 0; }
.picker-selected li > * { vertical-align: middle; }
.picker-selected li .x { border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 0 6px; }

/* Quick adjust steppers */
.steppers { margin-top: 8px; }
.stepper { display: grid; grid-template-columns: 1fr 36px 64px 36px; grid-template-rows: auto auto; column-gap: 6px; align-items: center; padding: 6px 0; }
.stepper + .stepper { border-top: 1px solid var(--border); }
.stepper-label { font-weight: 600; font-size: .9rem; }
.stepper input { min-height: 36px; padding: 4px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .btn.icon { font-size: 1.2rem; }
.stepper-hint { grid-column: 1; grid-row: 2; margin-top: -4px; }
.stepper-hint:empty { display: none; }
.stepper-status { min-height: 1.2em; margin-top: 4px; text-align: right; }
button.picker-row { width: 100%; background: none; border: 0; border-left: 3px solid transparent; text-align: left; font: inherit; color: var(--text); }
button.picker-row + .picker-row, label.picker-row + .picker-row { border-top: 1px solid var(--border); }
.picker-row.selected { background: var(--accent-soft); }
button.picker-row.selected { border-left-color: var(--accent); }
.ex-finger { font-size: .88rem; font-weight: 700; color: var(--hard); margin-top: 2px; }
.ex-finger:empty { display: none; }
.finger-fields { margin-bottom: 14px; }
.notice { background: var(--accent-soft); border-color: transparent; font-size: .92rem; }

/* Exercise videos */
.video-frame { position: relative; aspect-ratio: 16 / 9; margin-top: 8px; border-radius: 12px; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-search { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--muted); }

/* Legal pages */
.legal { max-width: 640px; padding-bottom: 24px; }
.legal h2 { font-size: 1.05rem; margin-top: 1.6rem; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal-link { text-align: center; margin-top: 16px; }
.legal-box { max-height: 50vh; max-height: 50dvh; overflow-y: auto; }
.legal-box .legal h1 { font-size: 1.2rem; }
.accept-form .check { align-items: flex-start; }
.accept-form .check input { margin-top: 2px; flex: none; }

/* Exercise library (profile) */
.lib-toolbar { display: grid; gap: 8px; margin-bottom: 12px; }
.lib-list { padding: 0 14px; }
.lib-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.lib-row + .lib-row { border-top: 1px solid var(--border); }
.lib-row.off .lib-text { opacity: .5; }
.lib-name { font-weight: 600; }
.lib-meta { font-size: .8rem; color: var(--muted); }
.lib-text { min-width: 0; }
.switch { position: relative; flex: none; width: 46px; height: 28px; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .slider { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); transition: background .15s; pointer-events: none; }
.switch .slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + .slider { background: var(--ok); border-color: var(--ok); }
.switch input:checked + .slider::after { transform: translateX(18px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .switch .slider, .switch .slider::after { transition: none; } }
.brand-mark { border-radius: 22%; flex: none; }
