/* Cronos · estilos. Tema (auto/claro/oscuro), acento y densidad se controlan con atributos data-* en <html>. */
:root {
  --bg: #f1ede3;
  --bg-dot: #d9d2c0;
  --surface: #fbf9f4;
  --surface-2: #f0ebdf;
  --ink: #16202b;
  --muted: #667180;
  --line: #ddd5c3;
  --warn: #b97800;
  --warn-soft: #f6e5b8;
  --danger: #c0361c;
  --danger-soft: #f6d9d0;
  --extra: #7a55b8;
  --f1: #4b5a8a; --f2: #c58500; --f3: #c4561d; --f4: #6b4a78;
  --shadow: 0 1px 2px #1b24310d, 0 6px 18px #1b243110;
  --radius: 18px;
  --pad: 1.35rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;

  --accent: var(--accent-l);
  --accent-soft: var(--accent-soft-l);
  --on-accent: #fff;
}

/* Acentos (valores para tema claro -l y oscuro -d) */
html, html[data-accent="oceano"]  { --accent-l: #1d6f8c; --accent-d: #5bb8d6; --accent-soft-l: #d6e9f0; --accent-soft-d: #163541; }
html[data-accent="bosque"]        { --accent-l: #2c6a4d; --accent-d: #62c394; --accent-soft-l: #d9e8de; --accent-soft-d: #1c3a2c; }
html[data-accent="ciruela"]       { --accent-l: #7b3f86; --accent-d: #cb92d8; --accent-soft-l: #eadcee; --accent-soft-d: #35213a; }
html[data-accent="turquesa"]      { --accent-l: #0e8a80; --accent-d: #4fd4c7; --accent-soft-l: #d2ece8; --accent-soft-d: #12342f; }
html[data-accent="indigo"]        { --accent-l: #4a55b9; --accent-d: #95a0f5; --accent-soft-l: #dde0f4; --accent-soft-d: #23284d; }
html[data-accent="grafito"]       { --accent-l: #3a4452; --accent-d: #b2bccb; --accent-soft-l: #e0e4ea; --accent-soft-d: #2b313b; }

/* Tema oscuro: forzado o automático */
html[data-theme="dark"] {
  --bg: #12151b; --bg-dot: #1d222b; --surface: #1a1f27; --surface-2: #222833;
  --ink: #e9edf3; --muted: #98a3b3; --line: #2e3542;
  --warn: #e5a82a; --warn-soft: #3b3010; --danger: #f0735a; --danger-soft: #45221b; --extra: #b394e6;
  --f1: #8e9fd8; --f2: #e5a82a; --f3: #ef7f56; --f4: #b58fc6;
  --shadow: 0 1px 2px #0006, 0 8px 22px #0004;
  --accent: var(--accent-d); --accent-soft: var(--accent-soft-d); --on-accent: #0b1117;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #12151b; --bg-dot: #1d222b; --surface: #1a1f27; --surface-2: #222833;
    --ink: #e9edf3; --muted: #98a3b3; --line: #2e3542;
    --warn: #e5a82a; --warn-soft: #3b3010; --danger: #f0735a; --danger-soft: #45221b; --extra: #b394e6;
    --f1: #8e9fd8; --f2: #e5a82a; --f3: #ef7f56; --f4: #b58fc6;
    --shadow: 0 1px 2px #0006, 0 8px 22px #0004;
    --accent: var(--accent-d); --accent-soft: var(--accent-soft-d); --on-accent: #0b1117;
    color-scheme: dark;
  }
}
html[data-density="compact"] { --pad: .95rem; --radius: 14px; font-size: 15px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
  background-size: 22px 22px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 2rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--accent); } .down { color: var(--danger); }
.hide-money .money { filter: blur(7px); user-select: none; transition: filter .15s; }

/* ── Estructura ── */
.topbar {
  display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1.25rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; flex: none; }
.logo .ring { fill: none; stroke: var(--ink); stroke-opacity: .85; stroke-width: 4; }
.logo .n1 { fill: var(--accent); } .logo .n2 { fill: var(--ink); fill-opacity: .8; }
.nav { display: flex; gap: .2rem; overflow-x: auto; flex: 1; scrollbar-width: none; }
.nav a { padding: .42rem .85rem; border-radius: 999px; text-decoration: none; color: var(--muted); white-space: nowrap; font-weight: 500; transition: background .15s, color .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { background: var(--ink); color: var(--surface); }
.who { display: flex; align-items: center; gap: .6rem; font-size: .9rem; white-space: nowrap; }
.pill-timer {
  display: none; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: .85rem; font-variant-numeric: tabular-nums; font-weight: 600;
}
.pill-timer.on { display: inline-flex; }
.pill-timer::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
body[data-level="1"] .pill-timer { background: var(--warn-soft); color: var(--warn); }
body[data-level="2"] .pill-timer { background: var(--danger-soft); color: var(--danger); }
@keyframes blink { 50% { opacity: .25; } }

main { max-width: 1120px; margin: 0 auto; padding: 1.6rem 1.25rem 4rem; }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.page-head p { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); box-shadow: var(--shadow); }
.card + .card { margin-top: 1rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.stack { display: grid; gap: 1rem; align-content: start; }
.stack > .card + .card { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.grid-2 > .card + .card { margin-top: 0; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } .who .who-name { display: none; } }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .85rem; font-weight: 600; border: 1px solid var(--line); }
.chip.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* ── Avisos ── */
.banner { position: sticky; top: 55px; z-index: 15; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.banner[data-level="1"] { background: var(--warn-soft); border-color: var(--warn); }
.banner[data-level="2"] { background: var(--danger); color: #fff; border-color: var(--danger); }
.banner .grow { flex: 1; min-width: 200px; }
.banner .btn { padding: .35rem .8rem; font-size: .9rem; }
.banner[data-level="2"] .btn { border-color: #ffffff99; color: #fff; background: transparent; }
.banner[data-level="2"] .btn:hover { background: #ffffff22; }
body.flash .banner[data-level="2"] { animation: flash 1s steps(2) infinite; }
@keyframes flash { 50% { background: #8b2310; } }

/* ── Botones y formularios ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); border-radius: 11px; padding: .5rem 1rem; font-weight: 600;
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn.accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.danger { color: var(--danger); }
.btn.small { padding: .28rem .7rem; font-size: .85rem; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); border-color: var(--line); }
.icon-btn { padding: .3rem .5rem; line-height: 1; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.field > span { font-size: .88rem; color: var(--muted); font-weight: 500; }
.field small { color: var(--muted); font-size: .8rem; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=time], select {
  width: 100%; padding: .58rem .75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
input[type=range] { width: 100%; accent-color: var(--accent); }
input:focus-visible, select:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; }
.row > .field { flex: 1; min-width: 130px; }
.check { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.msg { font-size: .9rem; margin-top: .6rem; min-height: 1.3em; }
.msg.err { color: var(--danger); } .msg.ok { color: var(--accent); }
.section-title { margin: 1.6rem 0 .8rem; }
.section-title p { color: var(--muted); font-size: .92rem; margin-top: .15rem; }

/* Chips de días, interruptores segmentados y muestras de color */
.days { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.day-chip { position: relative; }
.day-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day-chip span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .85rem; transition: all .15s; }
.day-chip input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.day-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opts { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .9rem; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.sw-oceano { background: #1d6f8c; } .sw-bosque { background: #2c6a4d; } .sw-ciruela { background: #7b3f86; }
.sw-turquesa { background: #0e8a80; } .sw-indigo { background: #4a55b9; } .sw-grafito { background: #3a4452; }

/* ── Acceso ── */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.login-card { width: min(410px, 100%); padding: 2rem; }
.login-card .logo { width: 58px; height: 58px; }
.login-card h1 { margin: .6rem 0 .2rem; font-size: 2.3rem; }

/* ── Cabecera de «Hoy» ── */
.hero { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.hero h1 { font-size: 2.1rem; }
.hero p { color: var(--muted); }

/* ── Brújula de la jornada ── */
.dial-card { text-align: center; }
.dial { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: .25rem auto 1.1rem; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .tick { stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.dial .tick.major { stroke: var(--muted); stroke-width: 2; }
.dial .track { fill: none; stroke: var(--surface-2); stroke-width: 15; }
.dial .progress { fill: none; stroke: var(--muted); stroke-width: 15; stroke-linecap: round; transition: stroke .4s; }
.dial .knob { fill: var(--surface); stroke: var(--muted); stroke-width: 4; transition: stroke .4s; }
.dial .mark-warn { stroke: var(--warn); stroke-width: 3; stroke-linecap: round; }
.dial .mark-target { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
body[data-state="running"] .dial .progress, body[data-state="running"] .dial .knob { stroke: var(--accent); }
body[data-level="1"] .dial .progress, body[data-level="1"] .dial .knob { stroke: var(--warn); }
body[data-level="2"] .dial .progress, body[data-level="2"] .dial .knob { stroke: var(--danger); }
body.flash .dial .progress { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { stroke-width: 22; opacity: .75; } }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; pointer-events: none; }
.dial-time { font-family: var(--mono); font-size: clamp(2.1rem, 9vw, 3.1rem); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial-sub { color: var(--muted); font-size: .92rem; }
.dial-money { font-family: var(--mono); font-size: .95rem; color: var(--accent); font-weight: 600; min-height: 1.4em; }
.dial-status { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
body[data-state="running"] .dial-status { color: var(--accent); }
body[data-level="1"] .dial-status { color: var(--warn); }
body[data-level="2"] .dial-status { color: var(--danger); }
.big-btn { width: 100%; padding: 1.05rem; font-size: 1.15rem; border-radius: 14px; }
.big-btn.running { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hint { font-size: .88rem; color: var(--muted); margin-top: .8rem; min-height: 1.3em; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1.1rem; }
.fact { background: var(--surface-2); border-radius: 12px; padding: .7rem .85rem; }
.fact b { display: block; font-family: var(--mono); font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.fact span { font-size: .8rem; color: var(--muted); }
.sessions { list-style: none; margin: .6rem 0 0; padding: 0; }
.sessions li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sessions li:first-child { border-top: 0; }
.tag { font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: .4rem; }
.tag.live { background: var(--accent-soft); color: var(--accent); }

/* ── Estadísticas ── */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: .45rem 1rem; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button.active { background: var(--ink); color: var(--surface); }
.period { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; min-width: 11rem; text-align: center; }
.toolbar .spacer { flex: 1; }
.toolbar select { width: auto; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; margin-bottom: .5rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1.05rem; box-shadow: var(--shadow); }
.kpi .v { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.15; }
.kpi .v small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.kpi .l { color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.kpi .d { font-size: .8rem; margin-top: .3rem; color: var(--muted); }
.kpi.hl { background: var(--accent-soft); border-color: transparent; }
.kpi.hl .v { color: var(--accent); }
.kpi.neg .v { color: var(--danger); }

.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.charts .wide { grid-column: 1 / -1; }
.charts .card + .card { margin-top: 0; }
@media (max-width: 860px) { .charts { grid-template-columns: 1fr; } }
.chart-head { margin-bottom: .7rem; }
.chart-head p { color: var(--muted); font-size: .88rem; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-zero { stroke: var(--muted); stroke-width: 1.2; }
.c-axis { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.c-val { fill: var(--ink); font-size: 11px; font-family: var(--mono); text-anchor: middle; }
.c-bar { fill: var(--accent); transform-box: fill-box; transform-origin: bottom; animation: grow .55s cubic-bezier(.2,.8,.2,1) both; }
.c-bar.neg { fill: var(--danger); transform-origin: top; }
.c-bar.over { fill: var(--danger); }
.c-bar.extra { fill: var(--extra); }
.c-bar.today { stroke: var(--ink); stroke-width: 1.5; }
.c-bar.peak { fill: var(--f3); }
.c-bar.hr { fill: var(--f1); }
.c-off { fill: var(--surface-2); }
.c-hit { fill: transparent; }
.c-target { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; }
.c-limit { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 5 4; }
.c-lbl-target { fill: var(--accent); font-size: 11px; text-anchor: start; font-weight: 600; }
.c-lbl-limit { fill: var(--danger); font-size: 11px; text-anchor: end; }
.c-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.c-area { fill: var(--accent); fill-opacity: .13; }
.c-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.c-cell { fill: var(--accent); }
.c-cell0 { fill: var(--surface-2); }
.c-track { fill: var(--surface-2); }
.c-fill { fill: var(--accent); }
.c-fill.over { fill: var(--extra); }
.c-text { fill: var(--ink); font-size: 12px; font-family: var(--mono); }
@keyframes grow { from { transform: scaleY(0); } }
.donut-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; }
.donut-wrap svg { width: 180px; height: 180px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: .55rem; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .mono { margin-left: auto; padding-left: 1rem; color: var(--muted); }
.s-f1 { stroke: var(--f1); } .s-f2 { stroke: var(--f2); } .s-f3 { stroke: var(--f3); } .s-f4 { stroke: var(--f4); }
.b-f1 { background: var(--f1); } .b-f2 { background: var(--f2); } .b-f3 { background: var(--f3); } .b-f4 { background: var(--f4); }
.empty { padding: 2rem 1rem; text-align: center; color: var(--muted); }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--ink); color: var(--surface); padding: .4rem .65rem; border-radius: 9px; font-size: .82rem; max-width: 260px; box-shadow: var(--shadow); }
.week-prog { margin-top: .9rem; }
.week-prog .top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .3rem; }

table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-weight: 600; color: var(--muted); font-size: .85rem; }
.tbl td.num { font-variant-numeric: tabular-nums; }
.tbl .actions { text-align: right; white-space: nowrap; }
.scroll-x { overflow-x: auto; }
details.add { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
details.add summary { cursor: pointer; font-weight: 600; }
details.add form { margin-top: .9rem; }

/* ── Administración ── */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-right: .45rem; }
.dot.on { background: var(--accent); animation: blink 1.6s infinite; }
.badge { font-size: .75rem; padding: .1rem .5rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: .4rem; }
.badge.admin { background: var(--ink); color: var(--surface); }
.badge.off { background: var(--danger-soft); color: var(--danger); }
.audit { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .88rem; max-height: 280px; overflow: auto; }
.audit li { display: flex; gap: .75rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.audit time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); padding: 1.5rem; width: min(500px, calc(100% - 2rem)); box-shadow: var(--shadow); }
dialog::backdrop { background: #0009; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .5rem; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: .65rem 1.05rem; border-radius: 12px; z-index: 50; font-size: .92rem; max-width: calc(100% - 2rem); box-shadow: var(--shadow); }

.mt1 { margin-top: 1rem; } .mb1 { margin-bottom: 1rem; } .mt6 { margin-top: .6rem; } .mb6 { margin-bottom: .6rem; }
.mb125 { margin-bottom: 1.25rem; } .small { font-size: .88rem; } .flex1 { flex: 1; } .btn-login { font-size: 1rem; padding: .75rem; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.logo .hub { fill: var(--surface); }

.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 0 1rem 2rem; }
