/* simonetti.uno — site.css · Design System "Lago" (nov 2026)
   El home es el lago (lago.css + lago.js). Este archivo es el sistema que heredan TODAS las páginas y apps:
   color, letra, espacio, componentes. Las apps heredan el color y la letra, no el agua.

   Paleta de Timo (23 nov 2026): Ocean Teal #0E7490 · Ice Blue #ECFEFF · Coral Pink #FB7185.
   Noche y superficies: derivadas del agua del lago.

   Contrastes medidos (WCAG):
   - Ice #ECFEFF sobre noche #04161B ........... 17,8 : 1   (texto)
   - Gris lago #9FC2C9 sobre noche ............. 9,7 : 1   (secundario; 8,2 sobre --surface, 7,0 sobre --surface-2)
   - Coral #FB7185 sobre noche ................. 6,9 : 1   (señal; puede ir como texto SOLO sobre noche/superficies)
   - Ice sobre Ocean Teal ...................... 5,2 : 1   (texto de botones teal)
   - Noche sobre coral / #062C36 sobre coral ... 6,9 / 5,5 : 1
   - Ocean Teal sobre noche .................... 3,2 : 1   → NO va como texto, solo rellenos y líneas
   - Coral sobre Ice Blue 2,6 : 1 y sobre teal 2 : 1 → nunca
   - Borde de campos #2E6B7A sobre noche ........ 3,1 : 1
   Reglas: el coral es la señal (premios, foco, "estás acá", el punto del logo); nada de mayúsculas espaciadas;
   Stagtic solo para el logo (y el número grande de la página de error). Cambiar la paleta = tocar solo :root. */

@font-face { font-family: "Stagtic"; src: url("/static/fonts/stagtic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "RNS Sanz"; font-weight: 300; font-display: swap; src: url("/static/fonts/rns-sanz-300.woff2") format("woff2"); }
@font-face { font-family: "RNS Sanz"; font-weight: 400; font-display: swap; src: url("/static/fonts/rns-sanz-400.woff2") format("woff2"); }
@font-face { font-family: "RNS Sanz"; font-weight: 500; font-display: swap; src: url("/static/fonts/rns-sanz-500.woff2") format("woff2"); }
@font-face { font-family: "RNS Sanz"; font-weight: 700; font-display: swap; src: url("/static/fonts/rns-sanz-700.woff2") format("woff2"); }
@font-face { font-family: "RNS Sanz"; font-weight: 800; font-display: swap; src: url("/static/fonts/rns-sanz-800.woff2") format("woff2"); }

:root {
  /* marca */
  --teal: #0E7490;          /* Ocean Teal: rellenos (botones, elegidos), líneas fuertes */
  --ice: #ECFEFF;           /* Ice Blue: el texto */
  --coral: #FB7185;         /* Coral Pink: la señal */

  /* noche (el agua) */
  --night: #04161B;         /* fondo */
  --surface: #082730;       /* tarjetas, paneles */
  --surface-2: #0C3440;     /* hover, botones fantasma */
  --line: #17414C;          /* bordes decorativos */
  --line-strong: #2E6B7A;   /* bordes de campos (3,1:1) */
  --muted: #9FC2C9;         /* texto secundario */
  --placeholder: #6E9AA3;   /* 6:1 sobre noche */

  /* estados */
  --teal-deep: #0B5F75;     /* hover de los rellenos teal */
  --ok: #7ADBC8;            /* bien / prendido (11:1 sobre noche) */
  --danger-fill: #9E2F44;   /* botón de borrar (ice encima: 6,9:1) */
  --on-coral: #062C36;      /* texto sobre coral */

  /* letra */
  --font: "RNS Sanz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Stagtic", "RNS Sanz", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-display: clamp(40px, 6vw, 88px);    /* Light */
  --fs-title: clamp(32px, 4.4vw, 56px);    /* Light */
  --fs-h2: 21px;                           /* 700 */
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-meta: 13px;

  /* espacio, forma, movimiento */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --radius: 10px;
  --radius-lg: 14px;
  --maxw: 1080px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);    /* entradas */
  --ease-ui: cubic-bezier(.2, .8, .2, 1);     /* hover, press, cambios de estado */
  --dur-press: 120ms;
  --dur-ui: 200ms;

  /* alias del sistema viejo: los usan las apps (quini6, anotador, cv, randomizador…). No usar en código nuevo. */
  --bg: var(--night);
  --text: var(--ice);
  --peach: var(--ice);
  --green: var(--teal);
  --green-deep: var(--teal-deep);
  --green-text: var(--ok);
  --on-green: var(--ice);
  --danger: var(--coral);
  --signal: var(--coral);

  color-scheme: dark;
  accent-color: var(--teal);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--night); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ice);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--coral);
}
main { flex: 1 0 auto; }
a { color: var(--ice); text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color var(--dur-ui) var(--ease-ui); }
a:hover { color: var(--ice); text-decoration-color: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--ice); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }   /* que "hidden" esconda siempre, aunque la clase diga display:flex */
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- logo ---------- */
.wordmark {
  font-family: var(--font-logo);
  font-weight: normal;
  color: var(--ice);
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .dot { color: var(--coral); }
.wordmark--xl { font-size: min(148px, calc((100vw - 40px) / 7.05)); }
.wordmark--sm { font-size: 25px; }
a.wordmark:hover { color: var(--ice); }

/* ---------- línea (lo que antes eran los filetes de la lata) ---------- */
.rim { height: 1px; background: var(--line); }

/* .rise (la entrada vieja) quedó sin efecto a propósito: las páginas de uso no hacen coreografía;
   el único momento animado del sitio es el lago del home. */

/* ---------- cabecera y pie ---------- */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 22px 16px 18px;
}
.top__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.top__nav a, .top__nav button {
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ice);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-ui);
}
.top__nav a:hover, .top__nav button:hover { background: var(--surface-2); color: var(--ice); }
.top__nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); border-radius: 8px 8px 2px 2px; }
.top__nav form { margin: 0; display: inline; }
.top-rim { max-width: var(--maxw); margin: 0 auto; width: calc(100% - 32px); }

.foot {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 22px 16px 26px;
  text-align: center;
  font-size: var(--fs-meta);
  color: var(--muted);
}

/* ---------- contenido ---------- */
.wrap { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 720px; }
.page-head { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 36px); }
.title {
  font-weight: 300;
  font-size: var(--fs-title);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ice);
  text-wrap: balance;
}
.lead { margin-top: 12px; max-width: 40em; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.section { padding-bottom: clamp(40px, 6vw, 64px); }
.h2 { font-weight: 700; font-size: var(--fs-h2); color: var(--ice); margin-bottom: 14px; }
.eyebrow { font-size: var(--fs-meta); font-weight: 500; color: var(--muted); margin-bottom: 6px; }

/* ---------- tarjetas de apps ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ice);
  text-decoration: none;
  transition: border-color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui);
}
@media (hover: hover) and (pointer: fine) {
  a.card:hover { border-color: var(--line-strong); color: var(--ice); transform: translateY(-2px); }
  a.card:hover .card__go { text-decoration-color: var(--coral); }
}
a.card:active { transform: translateY(0) scale(.99); }
.card__mono { display: none; }   /* la inicial en un círculo era relleno de plantilla: la tarjeta abre con su nombre */
.card__title { font-weight: 700; font-size: 21px; line-height: 1.2; }
.card__desc { color: var(--muted); font-size: 16px; text-wrap: pretty; }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.card__go { font-size: var(--fs-small); font-weight: 500; color: var(--ice); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color var(--dur-ui) var(--ease-ui); }
.empty {
  padding: 36px 24px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}
.empty strong { display: block; color: var(--ice); font-size: 19px; margin-bottom: 6px; }

/* ---------- etiquetas ---------- */
.tag {
  display: inline-block;
  font-size: var(--fs-meta);
  font-weight: 500;
  line-height: 1;
  padding: 5px 8px 4px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  white-space: nowrap;
}
.tag--green { border-color: var(--ok); color: var(--ok); }
.tag--peach { border-color: var(--ice); color: var(--ice); }
.tag--danger { border-color: var(--coral); color: var(--coral); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.btn:active { transform: scale(.97); }
.btn--green { background: var(--teal); color: var(--ice); }
.btn--green:hover { background: var(--teal-deep); color: var(--ice); }
.btn--peach { background: var(--ice); color: var(--night); }
.btn--peach:hover { background: #FFFFFF; color: var(--night); }
.btn--outline { border-color: var(--ice); color: var(--ice); background: transparent; }
.btn--outline:hover { background: var(--ice); color: var(--night); }
.btn--ghost { color: var(--ice); background: var(--surface-2); }
.btn--ghost:hover { background: var(--line); color: var(--ice); }
.btn--danger { background: var(--danger-fill); color: var(--ice); }
.btn--danger:hover { background: #B23A52; color: var(--ice); }
.btn--small { font-size: 14px; padding: 8px 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: var(--fs-small); font-weight: 700; color: var(--ice); }
.hint { font-size: 14px; color: var(--muted); }
input[type=text], input[type=password], input[type=number], select {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ice);
  background: var(--night);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.panel input[type=text], .panel input[type=password], .panel input[type=number], .panel select { background: var(--night); }
input:focus, select:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--coral); }
input::placeholder { color: var(--placeholder); }
input.code {
  font-family: var(--mono);
  font-size: 30px;
  letter-spacing: .3em;
  text-align: center;
  padding: 12px 8px;
  font-variant-numeric: tabular-nums;
}
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--line-strong); cursor: pointer; font-weight: 500; font-size: var(--fs-small);
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.radio-row input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--ice); color: var(--ice); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; font-size: 16px; }
.alert--error { background: rgba(251, 113, 133, .1); border: 1px solid var(--coral); color: var(--ice); }
.alert--ok { background: rgba(122, 219, 200, .1); border: 1px solid var(--ok); color: var(--ice); }

/* ---------- caja de login / 2FA ---------- */
.authbox {
  width: min(440px, 100%);
  margin: clamp(24px, 6vh, 64px) auto 64px;
  padding: 30px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.authbox--wide { width: min(620px, 100%); }
.authbox .title { font-size: 34px; margin-bottom: 8px; }
.authbox .lead { font-size: 16px; margin: 0 0 22px; }
.authbox__alt { margin-top: 18px; font-size: var(--fs-small); text-align: center; color: var(--muted); }
.steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.steps li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: var(--ice);
  font-weight: 700; font-size: 14px;
}
.qr { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 22px; }
.qr img { width: 200px; height: 200px; background: #fff; padding: 10px; border-radius: 12px; }
.qr__manual { flex: 1; min-width: 200px; }
.secret { display: block; margin-top: 6px; font-family: var(--mono); font-size: 16px; letter-spacing: .06em; color: var(--ice); word-break: normal; overflow-wrap: anywhere; }
.codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px;
  list-style: none;
  background: var(--night);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--ice);
  text-align: center;
}
@media (max-width: 380px) { .codes { grid-template-columns: 1fr; } }

/* ---------- admin ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.tabs a {
  display: inline-block; padding: 10px 14px; margin-bottom: -1px;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-small);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-ui) var(--ease-ui);
}
.tabs a:hover { color: var(--ice); }
.tabs a[aria-current="page"] { color: var(--ice); border-bottom-color: var(--coral); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  margin-bottom: 18px;
}
.panel > .h2:first-child { margin-top: 0; }
.panel--danger { border-color: rgba(251, 113, 133, .5); }
.panel details summary { cursor: pointer; font-weight: 700; color: var(--ice); }
.panel details[open] summary { margin-bottom: 16px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.ulist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.urow {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ice);
  text-decoration: none;
  transition: border-color var(--dur-ui) var(--ease-ui);
}
a.urow:hover { border-color: var(--line-strong); color: var(--ice); }
.urow__name { font-weight: 700; }
.urow__meta { font-size: 14px; color: var(--muted); }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); color: var(--ice);
  font-weight: 700; font-size: 19px; line-height: 1;
}
.avatar--admin { background: var(--teal); color: var(--ice); }
.urow .tags { justify-content: flex-end; }
@media (max-width: 560px) {
  .urow { grid-template-columns: 44px minmax(0, 1fr); }
  .urow .tags { grid-column: 2; justify-content: flex-start; }
}

/* interruptores de apps (checkbox real, con cara de switch) */
.toggles { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--night);
  border: 1px solid var(--line);
}
.toggle label { display: contents; cursor: pointer; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--surface-2); border: 1.5px solid var(--line-strong);
  transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--muted);
  transition: transform var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui);
}
.switch input:checked + span { background: var(--teal); border-color: var(--ok); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--ice); }
.switch input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
.toggle__name { font-weight: 700; }
.toggle__meta { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.toggle__state { font-size: var(--fs-meta); font-weight: 500; color: var(--muted); min-width: 4.5em; text-align: right; }
.toggle__state.is-ok { color: var(--ok); }
.toggle__state.is-err { color: var(--coral); }
.js .nojs-only { display: none; }

.app-admin { display: grid; gap: 12px; }
.app-admin__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.app-admin form { display: grid; gap: 14px; }
.inline-fields { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.inline-fields .field { margin: 0; }
.inline-fields input[type=number] { width: 96px; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share input { flex: 1; min-width: 220px; font-family: var(--mono); font-size: 14px; }
@media (pointer: coarse) { .share input { font-size: 16px; } }   /* menos de 16 px y el iPhone hace zoom al tocarlo */

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: var(--fs-small); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.log { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.log th { text-align: left; font-size: var(--fs-meta); font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.log td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.log td.when { white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: var(--fs-meta); }
.table-scroll { overflow-x: auto; }

.sessions { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); }
.sessions li { padding: 10px 12px; background: var(--night); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- error ---------- */
.oops { text-align: center; padding: clamp(48px, 10vh, 120px) 16px; }
.oops__code { font-family: var(--font-logo); font-size: clamp(72px, 16vw, 140px); color: var(--ice); line-height: 1; }
.oops__code .dot { color: var(--coral); }
.oops p { margin: 14px auto 26px; max-width: 30em; color: var(--muted); }

.toggle--inline { display: inline-flex; padding: 6px 12px 6px 8px; gap: 10px; }
/* ---------- utilitarios ---------- */
.btn-row + .hint { margin-top: 10px; }
.app-admin .field { margin-top: 12px; }
.spaced { margin-bottom: 14px; }
.btn-row--center { justify-content: center; }
.h2--flush { margin-bottom: 2px; }
.h3 { margin: 22px 0 10px; font-size: 16px; font-weight: 700; color: var(--ice); }
.user-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.user-head > div { flex: 1; min-width: 200px; }
.inline-form { display: inline; margin: 0 0 0 8px; }
.field--row { flex-direction: row; align-items: center; gap: 10px; }
code { font-family: var(--mono); font-size: .92em; color: var(--ice); }
.sessions li .inline-form { float: right; }

/* Admin → usuario → Actividad */
.actividad { margin-top: 22px; }
.actividad .log td:nth-child(2) { min-width: 180px; }

.aviso-cuenta { margin-top: 18px; text-align: center; }

/* Saltar al contenido: invisible hasta que llega el foco con el teclado */
.skip { position: absolute; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius);
  background: var(--ice); color: var(--night); font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }
a.skip:hover { color: var(--night); }   /* si no, a:hover le pone texto ice sobre fondo ice */

/* Toques: sin zoom por doble toque en los controles (el pellizco sigue andando) y resaltado del color del sitio */
html { -webkit-tap-highlight-color: rgba(14, 116, 144, .35); }
a, button, summary, label, input, select, textarea { touch-action: manipulation; }

/* En pantallas táctiles todo lo que se toca mide al menos 44 px de alto. Con mouse quedan como están. */
@media (pointer: coarse) {
  .top .wordmark, .top__nav a, .top__nav button { display: inline-flex; align-items: center; min-height: 44px; }
  .btn, .radio-row label, .check { min-height: 44px; }
  summary { padding-block: 9px; }
}

/* "Reducir movimiento" = menos movimiento, no cero: nada se desplaza ni escala (los transform cambian al
   instante), pero color y opacidad siguen cambiando suave. Las animaciones con movimiento viven en bloques
   (prefers-reduced-motion: no-preference); las que quedan para "reduce" son de opacidad y sin demora. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-property: color, background-color, border-color, text-decoration-color, outline-color, opacity, filter !important;
    animation-delay: 0ms !important;
  }
}
