/* siescribesescribes.dasbuc.com · Dasbuc
   Página: blanco, tinta, el rosa de Dasbuc como campo de color.
   Demos: réplica de la interfaz real de la app (fuente del sistema,
   Georgia en el manuscrito, tokens de src/index.css). */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-latin-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --fondo: #ffffff;
  --gris: #f4f3f1;
  --tinta: #1c1a1b;
  --tinta-2: #5c5658;
  --linea: #e7e5e4;
  --rosa: hsl(342 74% 63%);
  --rosa-oscuro: hsl(342 74% 50%);
  --rosa-claro: hsl(342 80% 95%);

  --sale: cubic-bezier(0.23, 1, 0.32, 1);
  --cambia: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: 16px;
  --ancho: 1240px;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--rosa-oscuro); outline-offset: 3px; border-radius: 4px; }

.saltar { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--tinta); color: #fff; padding: 10px 14px; border-radius: 8px; }
.saltar:focus { top: 12px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Cabecera ─────────────────────────────────────────────────────── */

.cabecera { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cab-dentro { max-width: var(--ancho); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 40px; }
.marca { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta); }
.logo { display: block; height: 26px; width: calc(26px * 466 / 98); fill: currentColor; }
.pie-marca { gap: 12px; }
.pie-marca .logo { height: 20px; width: calc(20px * 466 / 98); }
.nav { display: none; gap: 32px; font-size: 16px; font-weight: 500; }
.nav a, .entrar { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; transition: color 160ms; }
.nav a:hover, .entrar:hover { color: var(--rosa-oscuro); }
.cab-acciones { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.entrar { padding: 0 10px; }
@media (min-width: 860px) { .nav { display: flex; } .cab-dentro { padding: 16px var(--gutter); } }
@media (max-width: 400px) { .entrar { display: none; } }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--sale), background-color 160ms;
}
.boton:active { transform: scale(.97); }
.boton.oscuro { background: var(--tinta); color: #fff; }
.boton.oscuro:hover { background: #000; }
.boton.rosa { background: var(--rosa); color: var(--tinta); }
.boton.rosa:hover { background: hsl(342 74% 58%); }
.boton.grande { min-height: 60px; padding: 0 36px; font-size: 19px; }

.frase {
  font-size: clamp(30px, 6.6vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.frase em { font-size: 1.08em; line-height: 1; }

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero { max-width: var(--ancho); margin: 0 auto; padding: clamp(72px, 11vw, 150px) var(--gutter) clamp(48px, 6vw, 80px); text-align: center; }
.hero h1 {
  font-size: min(10vw, 136px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.hero h1 em { color: var(--rosa-oscuro); font-size: 1.1em; letter-spacing: -0.01em; padding-right: .04em; }
.tecleo { white-space: nowrap; }
.cursor { display: inline-block; width: .045em; height: .7em; margin-left: .05em; background: var(--rosa); vertical-align: -.02em; opacity: 0; }
.js .hero.tecleando .cursor { opacity: 1; }
.js .hero.parpadea .cursor { opacity: 1; animation: parpadeo 1s steps(1) 3 forwards; }
@keyframes parpadeo { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
.sub { margin: clamp(24px, 3vw, 36px) auto 0; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.38; max-width: 34ch; text-wrap: balance; }
.hero .boton { margin-top: clamp(28px, 3.4vw, 40px); }

/* ── Vista previa de la plataforma ────────────────────────────────── */

.vista-previa { max-width: calc(var(--ancho) + 32px); margin: 0 auto; padding: 0 8px; }
@media (min-width: 1000px) { .vista-previa { padding: 0 16px; } }
.campo-rosa { background: var(--rosa); border-radius: 28px; overflow: hidden; }
.vista-previa .campo-rosa { padding: clamp(12px, 3.6vw, 48px); }
.campo-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 4px 0; font-size: 14px; line-height: 1.4; }
.vista-previa .campo-pie { padding: 16px 0 clamp(14px, 2.4vw, 22px); justify-content: space-between; }
.simulado { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--tinta); border: 1px solid rgba(0,0,0,.08); }
.otra-vez {
  min-height: 40px; padding: 0 16px;
  background: transparent; border: 1.5px solid currentColor; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color 160ms, transform 160ms var(--sale);
}
.otra-vez:active { transform: scale(.97); }
.otra-vez:hover { background: rgba(0,0,0,.06); }

/* ── Sobre Dasbuc (se enciende con el scroll) ─────────────────────── */

.sobre { max-width: var(--ancho); margin: 0 auto; padding: clamp(96px, 13vw, 168px) var(--gutter) clamp(80px, 10vw, 128px); scroll-margin-top: 40px; }
.manifiesto-texto {
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.14; font-weight: 500; letter-spacing: -0.02em;
  max-width: 25ch;
}
.manifiesto-texto em { color: var(--rosa-oscuro); font-size: 1.1em; }
.js .manifiesto-texto .pal { opacity: .16; transition: opacity 240ms linear; }
.js .manifiesto-texto .pal.luz { opacity: 1; }

/* ── Funcionalidades ──────────────────────────────────────────────── */

.funciones { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; scroll-margin-top: 96px; }
@media (min-width: 700px) { .funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; } }
@media (min-width: 1000px) { .funciones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px 56px; } }
.funcion h3 { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(20px, 2vw, 23px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.funcion h3 .ic { width: 26px; height: 26px; stroke-width: 1.7; margin-top: -1px; }
.funcion p { margin-top: 10px; font-size: 18px; line-height: 1.5; color: var(--tinta-2); max-width: 34ch; text-wrap: pretty; }

/* ── Detalles (tarjetas con zoom) ─────────────────────────────────── */

.detalles { max-width: calc(var(--ancho) + 32px); margin: 0 auto; padding: clamp(96px, 12vw, 160px) 8px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .detalles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-left: 16px; padding-right: 16px; } }
.detalle { background: var(--gris); border-radius: 32px; padding: clamp(18px, 3.6vw, 44px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); min-width: 0; }
.detalle > div:last-child h3 { font-size: clamp(22px, 2.3vw, 27px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.detalle > div:last-child p { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--tinta-2); max-width: 40ch; text-wrap: pretty; }
.lienzo {
  --ox: 50%; --oy: 50%; --z: 2.4;
  position: relative; aspect-ratio: 560 / 460; border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 24px 48px -28px rgba(15,23,42,.35);
}
.escena { position: absolute; inset: 0; transform-origin: var(--ox) var(--oy); transition: transform 1500ms var(--cambia); will-change: transform; }
.lienzo.zoom .escena { transform: translate(calc(50% - var(--ox)), calc(50% - var(--oy))) scale(var(--z)); }

/* ── Mientras escribes (bento) ────────────────────────────────────── */

.mientras { max-width: var(--ancho); margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--gutter) 40px; }
.mientras .frase em { color: var(--rosa-oscuro); }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 48px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pieza { background: var(--gris); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 16px; }
.pieza:nth-child(2) { background: var(--rosa-claro); }
.pieza:nth-child(3) { background: var(--tinta); color: #fff; }
.pieza:nth-child(4) { background: var(--rosa); }
.pieza figcaption { padding: 0 6px 6px; font-size: 16px; line-height: 1.45; }
.pieza figcaption b { display: block; font-size: 18px; margin-bottom: 2px; }
.pieza-ui {
  flex: 1;
  background: #fff; color: #0f172a; border-radius: 14px; padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 10px 30px -16px rgba(15,23,42,.35);
}

/* ── Confianza ────────────────────────────────────────────────────── */

.confianza { margin: clamp(96px, 12vw, 160px) 8px 0; background: var(--tinta); color: #fff; border-radius: 28px; }
@media (min-width: 1000px) { .confianza { margin-left: 16px; margin-right: 16px; } }
.confianza-dentro { max-width: var(--ancho); margin: 0 auto; padding: clamp(64px, 8vw, 96px) var(--gutter); text-align: center; }
.confianza .frase { font-size: clamp(34px, 5.4vw, 64px); }
.confianza .frase em { color: var(--rosa); }
.garantias { margin: 48px auto 0; display: grid; gap: 28px; max-width: 960px; }
@media (min-width: 900px) { .garantias { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.garantias li { font-size: 17px; line-height: 1.5; color: #d9d3d6; padding-top: 18px; border-top: 2px solid var(--rosa); text-wrap: pretty; }
.garantias b { display: block; color: #fff; font-size: 20px; margin-bottom: 6px; }

/* ── Prueba final ─────────────────────────────────────────────────── */

.prueba-final { margin: 16px 8px 0; background: var(--gris); border-radius: 28px; text-align: center; padding: clamp(72px, 10vw, 136px) var(--gutter); }
@media (min-width: 1000px) { .prueba-final { margin-left: 16px; margin-right: 16px; } }
.prueba-final h2 { font-size: clamp(46px, 9vw, 124px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.prueba-final p { margin: 22px auto 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; max-width: 30ch; }
.prueba-final .boton { margin-top: 36px; }

.pie { max-width: var(--ancho); margin: 0 auto; padding: 40px var(--gutter) 48px; font-size: 15px; color: var(--tinta); }
.pie-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.pie-datos { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.pie-datos > * { display: inline-flex; align-items: center; min-height: 44px; }
.pie a { color: inherit; }
.redes { display: flex; gap: 8px; margin-right: -10px; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; transition: background-color 160ms, color 160ms; }
.redes a:hover { background: var(--gris); color: var(--rosa-oscuro); }
.redes svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── Entradas ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .js [data-entra] { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--sale), transform 500ms var(--sale); }
  .js [data-entra].dentro { opacity: 1; transform: none; }
  .js .bento [data-entra]:nth-child(2), .js .funciones [data-entra]:nth-child(3n+2), .js .detalles [data-entra]:nth-child(2n) { transition-delay: 80ms; }
  .js .bento [data-entra]:nth-child(3), .js .funciones [data-entra]:nth-child(3n) { transition-delay: 160ms; }
  .js .bento [data-entra]:nth-child(4) { transition-delay: 240ms; }
}

/* ════════════════════════════════════════════════════════════════════
   La app de Dasbuc, replicada
   ════════════════════════════════════════════════════════════════════ */

.demo { container-type: inline-size; min-width: 0; }
.lienzo, .ventana { --fg: #0f172a; --mfg: #64748b; --bd: #e5e7eb; --mu: #f3f4f6; --pr: hsl(342 74% 63%); }
.app {
  --fg: #0f172a; --mfg: #64748b; --bd: #e5e7eb; --mu: #f3f4f6; --pr: hsl(342 74% 63%);
  display: flex;
  background: #fff; color: var(--fg);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 30px 60px -24px rgba(15,23,42,.45);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; line-height: 1.45;
  text-align: left;
  letter-spacing: 0;
}
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.app-rail {
  flex: none; width: 44px; background: var(--mu);
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0;
  color: var(--mfg);
}
.app-rail .plegar { margin-bottom: 2px; }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: #e5e7eb; color: var(--fg); font-size: 10px; font-weight: 600; display: grid; place-items: center; margin-bottom: 10px; }
.app-rail .ic { width: 16px; height: 16px; }
.app-rail .ic.activo { color: var(--fg); background: #e6e8ec; box-sizing: content-box; padding: 5px; border-radius: 6px; margin: -5px 0; }
.app-rail .abajo { margin-top: auto; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-tabs { height: 34px; flex: none; display: flex; align-items: stretch; background: var(--mu); border-bottom: 1px solid var(--bd); color: var(--mfg); padding-left: 8px; }
.app-tabs > .ic { align-self: center; width: 15px; height: 15px; margin-right: 6px; }
.app-tabs .tenue { opacity: .45; }
.tab { display: flex; align-items: center; padding: 0 14px; font-weight: 500; border-right: 1px solid var(--bd); white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.tab.activa { background: #fff; color: var(--fg); margin-bottom: -1px; }
.app-tabs .mas { margin-left: 8px; }

/* botones y badges (shadcn) */
.btn-p, .btn-o, .btn-g { position: relative; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; font-weight: 500; white-space: nowrap; height: 30px; padding: 0 12px; transition: transform 120ms, background-color 200ms; }
.btn-p { background: var(--pr); color: #fff; }
.btn-o { border: 1px solid var(--bd); background: #fff; color: var(--fg); }
.btn-g { color: var(--fg); }
.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.xs { height: 24px; padding: 0 8px; font-size: 11.5px; }
.btn-p .ic, .btn-o .ic, .btn-g .ic { width: 14px; height: 14px; }
.pulsado { transform: scale(.94); }
.badge { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; border: 1px solid transparent; padding: 1px 9px; font-size: 11.5px; font-weight: 600; }
.b-borrador { background: var(--mu); color: var(--mfg); border-color: var(--bd); }
.b-enviado { background: rgb(59 130 246 / .1); color: #1d4ed8; border-color: rgb(59 130 246 / .2); }
.b-produccion { background: rgb(139 92 246 / .1); color: #6d28d9; border-color: rgb(139 92 246 / .2); }
.b-publicado { background: rgb(34 197 94 / .1); color: #15803d; border-color: rgb(34 197 94 / .2); }
.b-alta { background: hsl(342 74% 63% / .1); color: hsl(342 74% 48%); border-color: hsl(342 74% 63% / .3); }
.b-media { background: rgb(245 158 11 / .1); color: #d97706; border-color: rgb(245 158 11 / .3); }
.b-baja { background: rgb(239 68 68 / .1); color: #dc2626; border-color: rgb(239 68 68 / .3); }

.mut { color: var(--mfg); }
.mut.sm { font-size: 12.5px; height: auto; padding: 0; }
.mut.xs { font-size: 11.5px; height: auto; padding: 0; }
.h1 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.h3 { font-size: 14px; font-weight: 600; }
.der { text-align: right; }
.nw { white-space: nowrap; }
td.xs { height: auto; padding: 9px 10px; font-size: 11.5px; }

/* ── Editor ───────────────────────────────────────────────────────── */

.ed-cab { height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--bd); position: relative; }
.ed-titulo { display: grid; min-width: 0; line-height: 1.2; }
.ed-titulo b { font-weight: 500; }
.ed-titulo small { font-size: 11px; color: var(--mfg); }
.seg { display: inline-flex; border: 1px solid var(--bd); border-radius: 6px; overflow: hidden; font-size: 11.5px; font-weight: 500; }
.seg > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; color: var(--mfg); }
.seg > span.on { background: var(--pr); color: #fff; }
.seg .ic { width: 13px; height: 13px; }
.ed-cab > .seg { flex: none; }
.ed-acciones { display: flex; align-items: center; gap: 12px; color: var(--mfg); }
.ed-acciones .ic { width: 15px; height: 15px; }
.guardado { font-size: 11px; }
.ed-cuerpo { flex: 1; display: flex; min-height: 0; }
.ix { flex: none; width: 168px; background: rgb(243 244 246 / .5); border-right: 1px solid var(--bd); padding: 10px 8px; color: var(--fg); }
.ix-cab { display: flex; align-items: center; gap: 6px; font-weight: 500; padding: 4px 6px 8px; }
.ix-i { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 6px; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.ix-i .ic { width: 13px; height: 13px; color: var(--mfg); }
.ix-i.s { padding-left: 16px; }
.ix-i.on { background: #e6e8ec; font-weight: 500; }
.ed-texto { flex: 1; min-width: 0; position: relative; padding: 22px 28px; }
.pm { max-width: 520px; margin: 0 auto; font-family: Georgia, "Merriweather", "Times New Roman", serif; font-size: 15px; line-height: 1.8; color: var(--fg); }
.pm h4 { font-size: 21px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.pm p { padding: 2px 0; }
.pm .dialogo { padding-left: 2em; text-indent: -1em; }
.pm .dialogo::before { content: "—"; }
.ed-panel { flex: none; width: 236px; border-left: 1px solid var(--bd); background: #fff; }
.ed-panel.comentarios { width: 290px; }
.pn-cab { height: 38px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--bd); font-weight: 500; }
.pn-cuerpo { padding: 12px; display: grid; gap: 9px; }
.av { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.av .num { font-variant-numeric: tabular-nums; }
.barra-a { height: 4px; border-radius: 4px; background: var(--mu); overflow: hidden; }
.pieza .barra-a { background: #f3f4f6; }
.barra-a i { display: block; height: 100%; background: hsl(342 74% 63%); border-radius: 4px; }
.barra-a.gruesa { height: 6px; margin: 10px 0; }
.semana { height: 46px; display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid #e5e7eb; position: relative; }
.semana i { flex: 1; height: calc(var(--h) * 100%); background: hsl(342 74% 63% / .45); border-radius: 2px 2px 0 0; }
.semana i.hoy { background: hsl(342 74% 63%); }
.semana.grande { height: 90px; margin-top: 14px; }
.semana .meta { position: absolute; left: 0; right: 0; bottom: 70%; border-top: 1.5px dashed #64748b; opacity: .5; }
.ritmo { font-size: 12.5px; }
.pn-botones { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Piezas comunes ───────────────────────────────────────────────── */

.pag { padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.ficha-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cab-botones { display: flex; gap: 6px; }
.ficha-cuerpo { display: flex; gap: 22px; align-items: flex-start; }
.ixf { flex: none; width: 150px; display: grid; gap: 2px; }
.ixf > span { position: relative; padding: 6px 8px 6px 10px; border-left: 2px solid transparent; border-radius: 6px; font-size: 12.5px; color: var(--mfg); white-space: nowrap; transition: background-color 250ms, color 250ms; }
.ixf > span.on { border-left-color: var(--fg); background: var(--mu); color: var(--fg); font-weight: 500; }
.ixf em { font-family: inherit; font-style: normal; font-size: 11px; color: var(--mfg); margin-left: 4px; }
.ficha-sec { flex: 1; min-width: 0; display: grid; gap: 10px; }
.sec-cab { display: flex; justify-content: space-between; align-items: flex-end; min-height: 36px; border-bottom: 1px solid var(--bd); padding-bottom: 8px; }
.vistas { display: grid; }
.vistas > .vista { grid-area: 1 / 1; min-width: 0; display: grid; gap: 12px; align-content: start; transition: opacity 300ms var(--sale), transform 300ms var(--sale); }
.vista.v2 { opacity: 0; transform: translateX(16px); }

.tabla { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--bd); border-radius: 6px; font-size: 12.5px; }
.tabla th { text-align: left; font-weight: 500; color: var(--mfg); padding: 8px 10px; border-bottom: 1px solid var(--bd); white-space: nowrap; font-size: 12px; }
.tabla td { padding: 9px 10px; border-bottom: 1px solid var(--bd); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla td b { font-weight: 500; display: block; }
.tabla td small { display: block; font-size: 11px; color: var(--mfg); white-space: nowrap; }

.est { display: inline-flex; align-items: center; gap: 6px; }
.est .ic { width: 15px; height: 15px; }
.est-pend .ic { color: var(--mfg); }
.est-acept .ic { color: #22c55e; }
.estados-badge { display: inline-grid; vertical-align: 2px; margin-left: 8px; }
.estados-badge > .badge { grid-area: 1 / 1; justify-self: start; transition: opacity 300ms, transform 300ms var(--sale); }
.b-reservas { background: var(--mu); color: var(--fg); border-color: var(--bd); }

.dosier li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--bd); border-radius: 4px; transition: background-color 400ms; }
.dosier li > div { flex: 1; display: grid; line-height: 1.3; }
.dosier b { font-weight: 500; font-size: 12.5px; }
.dosier small { font-size: 11.5px; color: var(--mfg); }
.est.si { color: #22c55e; width: 16px; height: 16px; }
.est.no { color: var(--mfg); width: 16px; height: 16px; display: none; }
.dosier-listo { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #15803d; transition: opacity 300ms; justify-self: start; }

.respuesta { border: 1px solid var(--bd); border-radius: 8px; padding: 10px; transition: opacity 300ms var(--sale), transform 300ms var(--sale); }
.resp-cab { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.resp-cab b { font-weight: 500; }
.resp-cab span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mfg); }
.resp-cab .ic { width: 12px; height: 12px; }
.resp-msg { margin-top: 6px; background: rgb(243 244 246 / .6); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; }

.wizard { display: flex; gap: 8px; font-size: 11.5px; color: var(--mfg); flex-wrap: wrap; }
.wizard li { display: flex; align-items: center; gap: 6px; transition: color 250ms; }
.wizard li + li::before { content: ""; width: 18px; height: 1px; background: var(--bd); }
.wizard i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--bd); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; transition: background-color 250ms, border-color 250ms, color 250ms; }
.wizard i > * { grid-area: 1 / 1; }
.wizard i .ic { width: 12px; height: 12px; display: none; }
.wizard .hecho i { background: var(--pr); border-color: var(--pr); color: #fff; }
.wizard .hecho i b { display: none; }
.wizard .hecho i .ic { display: block; }
.wizard .actual { color: var(--fg); font-weight: 500; }
.wizard .actual i { border-color: var(--pr); color: var(--pr); }

.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.campo { display: grid; gap: 4px; min-width: 0; }
.campo.ancho { grid-column: 1 / -1; }
.campo label { font-size: 12px; font-weight: 500; }
.select, .input, .textarea { position: relative; min-height: 32px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--bd); border-radius: 6px; font-size: 12.5px; background: #fff; }
.select { padding-right: 28px; }
.select::after { content: ""; position: absolute; right: 11px; top: 11px; width: 6px; height: 6px; border-right: 1.5px solid var(--mfg); border-bottom: 1.5px solid var(--mfg); transform: rotate(45deg); }
.textarea { min-height: 52px; align-items: flex-start; padding: 7px 10px; line-height: 1.4; }
.input.vacio { color: var(--mfg); }
.logo-ed { width: 34px; height: 34px; border-radius: 6px; background: var(--fg); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.logo-ed.claro { background: var(--mu); color: var(--mfg); border: 1px solid var(--bd); }
.pie-fijo { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--bd); }
.que-pasa { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 8px; background: hsl(342 74% 63% / .08); border: 1px solid hsl(342 74% 63% / .2); font-size: 12.5px; }
.que-pasa > .ic { width: 18px; height: 18px; color: var(--pr); margin-top: 1px; }
.que-pasa b { font-weight: 600; }
.que-pasa p { color: var(--mfg); margin-top: 2px; }

.presupuestos { border: 1px solid var(--bd); border-radius: 6px; }
.presupuestos li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; font-size: 12.5px; }
.presupuestos li + li { border-top: 1px solid var(--bd); }
.presupuestos li > div { display: grid; line-height: 1.35; }
.presupuestos b { font-weight: 500; }
.presupuestos small { font-size: 11px; color: var(--mfg); }
.importe { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; }
.pres-botones { display: flex; justify-content: flex-end; gap: 6px; }

.toast { position: absolute; right: 16px; bottom: 16px; z-index: 8; display: flex; gap: 10px; align-items: flex-start; width: 300px; padding: 12px 14px; background: #fff; border: 1px solid var(--bd); border-radius: 8px; box-shadow: 0 10px 30px -10px rgba(15,23,42,.35); font-size: 12.5px; opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--sale), transform 400ms var(--sale); pointer-events: none; }
.toast > .ic { width: 17px; height: 17px; color: #22c55e; margin-top: 1px; }
.toast b { display: block; font-weight: 600; }
.toast span { color: var(--mfg); }
.con-toast > .app > .toast, .con-toast .toast.mini { opacity: 1; transform: none; }

/* Puntero simulado */
.puntero { position: absolute; left: 0; top: 0; z-index: 9; width: 16px; height: 20px; pointer-events: none; opacity: 0; transition: transform 850ms var(--cambia), opacity 250ms; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.puntero svg { display: block; width: 100%; height: 100%; fill: #0f172a; stroke: #fff; stroke-width: 1.3; transform-origin: 0 0; transition: transform 140ms; }
.puntero.visible { opacity: 1; }
.puntero.pulsa svg { transform: scale(.78); }
.clicable { position: relative; }
.clic { position: absolute; right: -6px; bottom: -14px; width: 14px; height: 18px; fill: #0f172a; stroke: #fff; stroke-width: 1.3; opacity: 0; transform: translate(6px, 6px); transition: opacity 250ms, transform 450ms var(--sale); pointer-events: none; z-index: 3; }

/* texto que se teclea: el completo reserva el sitio */
.tecleable { position: relative; display: block; }
.tecleable .fantasma { visibility: hidden; }
.tecleable .escrito { position: absolute; inset: 0; }
.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: currentColor; vertical-align: -2px; margin-left: 1px; }

/* ── La plataforma (vista previa grande) ──────────────────────────── */

.app.grande { position: relative; }
.app.grande .app-tabs .tab[hidden] { display: none; }
.pantallas { flex: none; display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); height: clamp(520px, 50vw, 600px); min-height: 0; }
.pantalla { background: #fff; grid-area: 1 / 1; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 350ms var(--sale), visibility 0s linear 350ms; }
.demo[data-pantalla="inicio"] .pa-inicio,
.demo[data-pantalla="editor"] .pa-editor,
.demo[data-pantalla="ficha"] .pa-ficha,
.demo[data-pantalla="envio"] .pa-envio { opacity: 1; visibility: visible; transition: opacity 350ms var(--sale); }

.sin-transicion .pantalla, .sin-transicion .rollo, .sin-transicion .vista, .sin-transicion .paso, .sin-transicion .badge { transition: none !important; }

/* cierre: la demo ha terminado */
.cierre-demo { position: absolute; inset: 0; z-index: 12; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: rgb(255 255 255 / .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: var(--sans); color: var(--tinta); opacity: 0; visibility: hidden; transition: opacity 600ms var(--sale), visibility 0s linear 600ms; }
.demo.fin .cierre-demo { opacity: 1; visibility: visible; transition: opacity 600ms var(--sale) 400ms; }
.cd-tit { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.cd-tit em { color: var(--rosa-oscuro); font-size: 1.06em; }
.cd-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--tinta-2); max-width: 36ch; }
.cd-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.cd-botones .boton, .cd-botones .otra-vez { min-height: 44px; padding: 0 22px; font-size: 16px; }

/* inicio del escritor */
.pa-inicio .pag { padding: 22px 24px; gap: 18px; }
.obras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.obra { border: 1px solid var(--bd); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #fff; transition: border-color 250ms, box-shadow 250ms; }
.obra.foco { border-color: hsl(342 74% 63% / .55); box-shadow: 0 4px 16px -8px hsl(342 74% 40% / .35); }
.obra-cab { display: flex; justify-content: space-between; gap: 10px; }
.obra-cab .ic { width: 16px; height: 16px; }
.obra h5 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.obra-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.badge { font-weight: 500; }
.tiene-ed { font-size: 11px; color: var(--mfg); }
.obra-sin { font-size: 12.5px; color: var(--mfg); min-height: 5.6em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.obra-pie { margin-top: auto; border-top: 1px solid var(--bd); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mfg); }
.pill { border-radius: 999px; padding: 0 14px; }

/* editor */
.pa-editor .ed-cuerpo { min-height: 0; }
.pa-editor .ed-texto { overflow: hidden; padding: 26px 32px; }
.rollo { transition: transform 1800ms var(--cambia); }
.pm .salto { text-align: center; color: var(--mfg); padding: 14px 0; }
.pm h4 + p { margin-top: 2px; }
.pm .p-fin { text-align: center; margin-top: 18px; font-style: italic; }
.pa-editor .ix-i { transition: background-color 250ms; }
.mas-v { position: relative; display: inline-flex; padding: 3px; border-radius: 4px; transition: background-color 200ms; }
.menu-abierto .mas-v { background: var(--mu); color: var(--fg); }
.menu-mas { position: absolute; right: -6px; top: calc(100% + 6px); z-index: 6; width: 236px; padding: 4px; display: grid; background: #fff; border: 1px solid var(--bd); border-radius: 8px; box-shadow: 0 12px 30px -12px rgba(15,23,42,.35); color: var(--fg); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top right; transition: opacity 180ms, transform 220ms var(--sale); pointer-events: none; }
.menu-abierto .menu-mas { opacity: 1; transform: none; }
.mm { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; font-size: 12.5px; white-space: nowrap; transition: background-color 150ms; }
.mm .ic { width: 14px; height: 14px; color: var(--mfg); }
.mm.sel { background: var(--mu); }
.avance-barra { transition: width 900ms var(--sale); }
.r-antes { display: none; }
.objetivo-pendiente .r-antes { display: inline; }
.objetivo-pendiente .r-despues { display: none; }

/* ficha */
.con-badge { display: flex; align-items: center; }
.sinopsis { font-size: 12.5px; line-height: 1.6; }
.datos { display: grid; gap: 6px; font-size: 12.5px; }
.datos > div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.datos dt { color: var(--mfg); }
.fx { gap: 0; padding: 22px 26px; }
.fx-top { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.fx-tit { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.fx-autor { margin-top: 6px; font-size: 14px; font-weight: 500; }
.fx-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--mfg); max-width: 64ch; }
.fx-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bd); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
.fx-meta dt { font-size: 11.5px; color: var(--mfg); }
.fx-meta dd { margin-top: 3px; font-size: 13px; font-weight: 500; }
.fx-meta .estados-badge { margin-left: 0; }
.seg.pub > span { padding: 4px 10px; }
.acciones-ficha { border: 1px solid var(--bd); border-radius: 10px; padding: 14px; display: grid; gap: 7px; box-shadow: 0 2px 8px -4px rgba(15,23,42,.12); }
.acciones-ficha .t-tit { margin-bottom: 3px; }
.acciones-ficha > span { width: 100%; justify-content: flex-start; height: 32px; }
.acciones-ficha hr { margin: 2px 0; border: 0; border-top: 1px solid var(--bd); }
.acciones-ficha .rojo { color: #dc2626; }
.fx-bajo { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--bd); display: flex; gap: 26px; align-items: flex-start; }
.fx-bajo .ixf > span { display: flex; justify-content: space-between; }
.fx-bajo .sec-cab { align-items: center; }
.fx-bajo .sinopsis { margin-bottom: 8px; }
.fx-mini { display: grid; gap: 2px; }
.fx-mini .fx-tit { font-size: 22px; }
.fx-mini .fx-autor { margin-top: 2px; font-size: 12.5px; }
.fx-estado { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11.5px; }
.fx-estado .estados-badge { margin-left: 0; }
.estados-badge .b-enviado { opacity: 0; transform: scale(.85); }
.ficha-enviada .estados-badge .b-borrador { opacity: 0; transform: scale(.85); }
.ficha-enviada .estados-badge .b-enviado { opacity: 1; transform: none; }
.pa-ficha .ixf-desc { border-left-color: var(--fg); background: var(--mu); color: var(--fg); font-weight: 500; }
.ficha-enviada .pa-ficha .ixf-desc { border-left-color: transparent; background: none; color: var(--mfg); font-weight: 400; }
.ficha-enviada .pa-ficha .ixf-envios { border-left-color: var(--fg); background: var(--mu); color: var(--fg); font-weight: 500; }
.pa-ficha .n-envios { display: none; }
.ficha-enviada .pa-ficha .n-envios { display: inline; }
.ficha-enviada .pa-ficha .v1 { opacity: 0; transform: translateX(-16px); }
.ficha-enviada .pa-ficha .v2 { opacity: 1; transform: none; }

/* enviar a editorial */
.envio { height: 100%; grid-template-rows: auto auto 1fr auto; }
.pasos { display: grid; min-height: 0; }
.paso { grid-area: 1 / 1; min-width: 0; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translateX(14px); transition: opacity 280ms var(--sale), transform 280ms var(--sale); pointer-events: none; }
.paso.activa { opacity: 1; transform: none; }
.tarjeta { border: 1px solid var(--bd); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; }
.t-tit { font-size: 13.5px; font-weight: 600; }
.fila-genero { display: flex; align-items: center; gap: 18px; }
.fila-genero .select { width: 240px; }
.interruptor { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
.interruptor i { width: 30px; height: 17px; border-radius: 999px; background: var(--bd); position: relative; }
.interruptor i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ed-fila { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--bd); border-radius: 8px; transition: border-color 250ms, background-color 250ms; }
.ed-fila .logo-ed { width: 32px; height: 32px; }
.ed-dato { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.ed-dato b { font-weight: 500; }
.ed-dato small { font-size: 11px; color: var(--mfg); }
.ed-dato .razon { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chk { width: 16px; height: 16px; flex: none; border: 1.5px solid #9ca3af; border-radius: 4px; display: grid; place-items: center; color: #fff; transition: background-color 200ms, border-color 200ms; }
.chk .ic { width: 11px; height: 11px; stroke-width: 3; opacity: 0; transition: opacity 150ms; }
.ed-fila.elegida { border-color: var(--pr); background: hsl(342 74% 63% / .05); }
.ed-fila.elegida .chk { background: var(--pr); border-color: var(--pr); }
.ed-fila.elegida .chk .ic { opacity: 1; }
.ed-fila[data-e="3"] { opacity: .6; }
.autor-foto { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.app-avatar.grande { width: 36px; height: 36px; font-size: 12px; margin: 0; }
.casilla { width: 15px; height: 15px; border: 1.5px solid #9ca3af; border-radius: 4px; }
.resumen-envio { border: 1px solid var(--bd); border-radius: 8px; padding: 10px 12px; display: grid; gap: 10px; }
.re-cab { display: flex; align-items: center; gap: 10px; }
.re-cab .logo-ed { width: 28px; height: 28px; font-size: 11px; }
.re-cab b { font-weight: 500; flex: 1; }
.pa-envio .enviar-ms { display: none; }
.envio-ultimo .pa-envio .siguiente { display: none; }
.envio-ultimo .pa-envio .enviar-ms { display: inline-flex; }
.pa-envio .anterior { transition: opacity 200ms; }
.envio-primero .pa-envio .anterior { opacity: 0; }

/* ── Lienzos con zoom ─────────────────────────────────────────────── */

.encaje { position: absolute; left: 0; top: 0; width: 560px; height: 460px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.app.plano { width: 100%; height: 100%; display: block; position: relative; border: 0; border-radius: 0; box-shadow: none; }
.app.plano .pag { padding: 26px 28px; }
.lienzo .envio { height: auto; }
.lienzo .que-pasa { margin-top: 6px; }
.lienzo .pie-fijo { margin-top: 8px; }
.lienzo .toast.mini { right: 20px; bottom: 20px; width: 290px; }
.lienzo.estatico .pag { height: 100%; align-content: center; padding: 36px 40px; }

.lienzo.fijo .escena { transition: none; }
.lienzo.fijo .objetivo .clic { opacity: 1; transform: none; width: 16px; height: 20px; right: 28px; bottom: -10px; }
.lienzo .pag { gap: 12px; }
.lienzo .ficha-cuerpo { gap: 16px; }
.lienzo .ixf { width: 136px; }
.lienzo .ixf > span { font-size: 11.5px; padding-left: 8px; }
.lienzo .dosier li { padding: 5px 4px; }
.lienzo .tabla td small { white-space: nowrap; }
.b-aceptado { background: rgb(234 179 8 / .1); color: #a16207; border-color: rgb(234 179 8 / .3); }

.js .demo[data-demo="z-dosier"]:not(.fin) .pz .est.si { display: none; }
.js .demo[data-demo="z-dosier"]:not(.fin) .pz .est.no { display: block; }
.js .demo[data-demo="z-dosier"]:not(.fin) .dosier-listo { opacity: 0; }
.demo[data-demo="z-dosier"].p1 .pz[data-p="1"] .est.si, .demo[data-demo="z-dosier"].p2 .pz[data-p="2"] .est.si { display: block !important; }
.demo[data-demo="z-dosier"].p1 .pz[data-p="1"] .est.no, .demo[data-demo="z-dosier"].p2 .pz[data-p="2"] .est.no { display: none !important; }
.demo[data-demo="z-dosier"].p1:not(.p2) .pz[data-p="1"], .demo[data-demo="z-dosier"].p2:not(.p3) .pz[data-p="2"] { background: rgb(34 197 94 / .08); }
.demo[data-demo="z-dosier"].p3 .dosier-listo { opacity: 1 !important; }

.estado-celda { display: inline-grid; }
.estado-celda > .est { grid-area: 1 / 1; transition: opacity 300ms; }
.demo[data-demo="z-respuesta"] .est-pend, .demo[data-demo="z-respuesta"] .b-enviado { opacity: 0; }
.js .demo[data-demo="z-respuesta"]:not(.fin):not(.p1) .est-pend, .js .demo[data-demo="z-respuesta"]:not(.fin):not(.p1) .b-enviado { opacity: 1; }
.js .demo[data-demo="z-respuesta"]:not(.fin):not(.p1) :is(.est-acept, .b-aceptado) { opacity: 0; }
.js .demo[data-demo="z-respuesta"]:not(.fin):not(.p2) .respuesta { opacity: 0; transform: translateY(6px); }

/* ════════════════════════════════════════════════════════════════════
   Páginas «Qué es Dasbuc» y «Funcionalidades»
   ════════════════════════════════════════════════════════════════════ */

.nav a[aria-current="page"] { color: var(--rosa-oscuro); }

.pagina-cab { max-width: var(--ancho); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(40px, 5vw, 64px); text-align: center; }
.pagina-cab h1 { font-size: clamp(40px, 7vw, 96px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.pagina-cab h1 em { color: var(--rosa-oscuro); font-size: 1.08em; letter-spacing: -0.01em; }
.archivo h1 .nombre-archivo { display: block; max-width: 30ch; margin: 0 auto; font-size: clamp(19px, 2.9vw, 38px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; color: var(--tinta-2); }
.archivo h1 em { display: block; font-size: clamp(48px, 9vw, 124px); }

/* la carpeta y el libro */
.carpeta-bloque { max-width: calc(var(--ancho) + 32px); margin: 0 auto; padding: 0 8px; }
@media (min-width: 1000px) { .carpeta-bloque { padding: 0 16px; } }
.carpeta-campo { background: var(--gris); border-radius: 28px; padding: clamp(14px, 3.6vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 1000px) { .carpeta-campo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; } }
.ventana, .versiones-app { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #0f172a; letter-spacing: 0; text-align: left; }
.ventana { background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 30px 60px -28px rgba(15,23,42,.4); font-size: 12.5px; }
.v-barra { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f6f6f7; border-bottom: 1px solid #e5e7eb; font-weight: 600; }
.v-barra .ic { width: 15px; height: 15px; color: #64748b; }
.v-puntos { display: flex; gap: 6px; margin-right: 8px; }
.v-puntos i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.v-cab, .archivos li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 84px 56px; gap: 10px; align-items: center; padding: 6px 14px; }
.v-cab { grid-template-columns: minmax(0, 1fr) 84px 56px; padding-left: 42px; font-size: 11.5px; color: #64748b; border-bottom: 1px solid #e5e7eb; }
.archivos li { border-bottom: 1px solid #f1f1f3; transition: opacity 300ms var(--sale), transform 300ms var(--sale), background-color 400ms; transition-delay: calc(var(--i) * 220ms); }
.archivos li:last-child { border-bottom: 0; }
.archivos li > span:not(.a-nom) { color: #64748b; font-size: 11.5px; white-space: nowrap; }
.a-nom { line-height: 1.3; }
.doc { width: 18px; height: 18px; flex: none; }
.js .demo[data-demo="carpeta"]:not(.fin):not(.p1) .archivos li { opacity: 0; transform: translateY(4px); }
.demo[data-demo="carpeta"]:is(.fin, .p2) .archivos .dudosa { background: rgb(250 204 21 / .18); transition-delay: 0ms; }
.un-libro { display: grid; gap: 10px; transition: opacity 500ms var(--sale), transform 500ms var(--sale); }
.un-libro-et { font-size: 15px; font-weight: 600; color: var(--rosa-oscuro); }
.js .demo[data-demo="carpeta"]:not(.fin):not(.p3) .un-libro { opacity: 0; transform: translateX(16px); }
.versiones-app { display: block; font-size: 13px; }
.vp-cab { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--bd); }
.vp-cab > .ic { width: 16px; height: 16px; color: var(--mfg); }
.vp-cab b { flex: 1; font-weight: 600; }
.vp-mas { width: 26px; height: 26px; border-radius: 6px; background: var(--pr); color: #fff; display: grid; place-items: center; }
.vp-mas .ic { width: 14px; height: 14px; }
.vp-lista { position: relative; padding: 14px; display: grid; gap: 8px; }
.vp-lista::before { content: ""; position: absolute; left: 24px; top: 26px; bottom: 26px; width: 1px; background: var(--bd); }
.vp-v { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: center; transition: opacity 400ms var(--sale), transform 400ms var(--sale); transition-delay: calc(var(--i) * 120ms); }
.vp-v > div { border: 1px solid var(--bd); border-radius: 6px; padding: 8px 10px; background: #fff; display: grid; line-height: 1.35; }
.vp-v b { font-weight: 500; font-size: 12.5px; }
.vp-v small { font-size: 11px; color: var(--mfg); }
.vp-punto { position: relative; z-index: 1; justify-self: center; width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; box-shadow: 0 0 0 3px #fff; }
.vp-v.actual .vp-punto { background: var(--pr); }
.vp-v.sel > div { border-color: var(--pr); box-shadow: 0 0 0 1px hsl(342 74% 63% / .4); background: hsl(342 74% 63% / .05); }
.js .demo[data-demo="carpeta"]:not(.fin):not(.p3) .vp-v { opacity: 0; transform: translateY(6px); }
.vp-pie { display: flex; justify-content: flex-end; padding: 10px 14px; border-top: 1px solid var(--bd); }
.carpeta-texto { max-width: var(--ancho); margin: clamp(32px, 4vw, 48px) auto 0; padding: 0 var(--gutter); display: grid; gap: 20px; }
@media (min-width: 900px) { .carpeta-texto { grid-template-columns: 1fr 1fr; gap: 48px; } }
.carpeta-texto p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--tinta-2); text-wrap: pretty; }
.carpeta-texto b { color: var(--tinta); font-weight: 600; }

.acumula > span { display: block; }
.acumula > span + span { margin-top: .5em; }
.acumula em { color: var(--rosa-oscuro); }

/* ¿Te suena? */
.suena { max-width: calc(var(--ancho) + 32px); margin: 0 auto; padding: 0 8px; }
@media (min-width: 1000px) { .suena { padding: 0 16px; } }
.suena .frase { padding: 0 var(--gutter); margin-bottom: 40px; }
.suena .frase em { color: var(--rosa-oscuro); }
.suena-rejilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .suena-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.suena .detalle > div:last-child p { font-size: 17px; }
.suena + .confianza { margin-top: clamp(96px, 12vw, 160px); }
.mails li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 11px 4px; border-bottom: 1px solid var(--bd); }
.m-de { font-weight: 600; font-size: 12.5px; }
.m-fecha { font-size: 11.5px; color: var(--mfg); }
.m-asunto, .m-extracto, .mails .m-adjunto { grid-column: 1 / -1; }
.m-asunto { font-size: 12.5px; font-weight: 500; }
.m-extracto { font-size: 12px; color: var(--mfg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-adjunto { display: inline-flex; align-items: center; gap: 6px; justify-self: start; width: fit-content; margin-top: 6px; padding: 4px 8px; border: 1px solid var(--bd); border-radius: 6px; font-size: 11.5px; }
.m-adjunto .doc { width: 16px; height: 16px; }
.mail-abierto { border: 1px solid var(--bd); border-radius: 8px; padding: 12px; display: grid; gap: 8px; font-size: 12.5px; }
.mail-abierto.tuyo { background: #fafafa; }
.m-quien { display: flex; align-items: center; gap: 8px; }
.m-quien b { font-weight: 500; flex: 1; }
.av-mini { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #7c3aed; color: #fff; font-size: 9.5px; font-weight: 600; display: inline-grid; place-items: center; }
.av-mini.rosa { background: var(--pr); }
.visor-pdf { position: absolute; inset: 0; background: #52565b; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.pdf-barra { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #3a3d41; color: #e5e7eb; font-size: 12px; }
.pdf-barra span { margin-left: auto; color: #a1a1aa; }
.pdf-barra .doc { width: 15px; height: 15px; }
.pdf-hoja { position: relative; width: 290px; margin: 18px 0 0 60px; padding: 34px 30px 40px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.35); font-family: Georgia, serif; font-size: 10.5px; line-height: 1.6; text-align: justify; color: #111; }
.pdf-hoja p + p { text-indent: 1.2em; }
.pdf-cap { text-align: center; font-size: 20px; margin-bottom: 12px; }
.pdf-marca { background: rgb(250 204 21 / .4); }
.pdf-nota { position: absolute; right: -170px; top: 120px; width: 190px; padding: 10px 12px; background: #fef3c7; border: 1px solid #fcd34d; border-radius: 4px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12px; line-height: 1.4; text-align: left; text-indent: 0; color: #422006; }
.pdf-nota b { display: block; font-size: 11px; margin-bottom: 2px; }

/* Funcionalidades */
.indice-func { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.indice-func a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--linea); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color 160ms, color 160ms; }
.indice-func a:hover { border-color: var(--tinta); }
.filas-func { max-width: calc(var(--ancho) + 32px); margin: 0 auto; padding: 0 8px; display: grid; gap: 12px; }
@media (min-width: 1000px) { .filas-func { padding: 0 16px; gap: 16px; } }
.fila-func { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(28px, 4vw, 64px) clamp(10px, 3vw, 48px); border-radius: 32px; scroll-margin-top: 90px; }
@media (min-width: 1000px) {
  .fila-func { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .fila-func:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .fila-func:nth-child(even) .ff-texto { order: 2; }
}
.ff-texto { padding: 0 var(--gutter); }
@media (min-width: 1000px) { .ff-texto { padding: 0; } }
.ff-grupo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--rosa-oscuro); }
.ff-grupo .ic { width: 18px; height: 18px; }
.ff-texto .frase { font-size: clamp(30px, 3.8vw, 46px); }
.ff-texto .apoyo { margin-top: 18px; font-size: 18px; line-height: 1.5; max-width: 46ch; color: var(--tinta-2); text-wrap: pretty; }
.ff-lista { margin-top: 22px; display: grid; gap: 10px; }
.ff-lista li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.45; }
.ff-lista li::before { content: ""; position: absolute; left: 4px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--rosa); }
.ff-nota { margin-top: 20px; padding-left: 12px; border-left: 3px solid var(--rosa); font-size: 15px; color: var(--tinta-2); }
.cita { margin: 20px 0 0; }
.cita p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); line-height: 1.3; max-width: 36ch; }
.cita footer { margin-top: 8px; font-size: 14px; color: var(--tinta-2); }
.cita + .apoyo { margin-top: 14px; }
.ff-visual { border-radius: 24px; padding: clamp(12px, 3vw, 36px); }
.campo-gris { background: var(--gris); }
.campo-rosa-claro { background: var(--rosa-claro); }
.fila-func.oscura { background: var(--tinta); color: #fff; }
.oscura .ff-grupo, .oscura .frase em { color: var(--rosa); }
.oscura .ff-texto .apoyo { color: #d9d3d6; }
.oscura .ff-visual { background: #2c292a; }
.oscura :focus-visible { outline-color: var(--rosa); }

.comparar .cmp-cab, .escaleta .cmp-cab { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--bd); }
.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-family: Georgia, serif; font-size: 12.5px; line-height: 1.55; }
.cmp-et { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--bd); }
.cmp-et small { display: block; font-weight: 400; font-size: 11px; color: var(--mfg); }
.cmp-cols .cambia { position: relative; }
.cmp-cols .cambia::before { content: ""; position: absolute; left: -10px; top: 2px; bottom: 2px; width: 3px; border-radius: 3px; background: hsl(342 74% 63% / .7); }
.cmp-cols del { background: rgb(239 68 68 / .12); color: #b91c1c; }
.cmp-cols ins { background: rgb(34 197 94 / .16); color: #15803d; text-decoration: none; }
.tramas { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--mfg); }
.tramas span { display: inline-flex; align-items: center; gap: 6px; }
.tramas i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.escenas { display: grid; gap: 6px; }
.escenas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--bd); border-left: 4px solid var(--c); border-radius: 8px; }
.escenas b { font-weight: 500; font-size: 12.5px; }
.escenas small { grid-column: 1; font-size: 11px; color: var(--mfg); }
.escenas li > span { grid-column: 2; grid-row: 1 / 3; font-size: 11px; color: var(--mfg); }
.escenas .hecha { color: #15803d; }
.esc-avance { display: grid; gap: 5px; padding-top: 10px; border-top: 1px solid var(--bd); font-size: 12px; }
.pliego { position: absolute; inset: 0; background: #f3f4f6; display: flex; justify-content: center; align-items: center; padding-bottom: 40px; }
.pl-hoja { width: 196px; aspect-ratio: 2 / 3; background: #fff; box-shadow: 0 6px 20px -8px rgba(15,23,42,.35); padding: 22px 18px 14px; font-family: Georgia, serif; font-size: 8.6px; line-height: 1.55; text-align: justify; hyphens: auto; display: flex; flex-direction: column; color: #111; }
.pl-hoja p + p { text-indent: 1em; }
.pl-cab { text-align: center; font-style: italic; font-size: 7.5px; color: #64748b; margin-bottom: 10px; }
.pl-hoja .pl-num { margin-top: auto; text-align: center; font-size: 7.5px; color: #64748b; text-indent: 0; }
.pl-hoja .viuda { text-indent: 0; background: rgb(250 204 21 / .35); outline: 1px dashed #ca8a04; outline-offset: 1px; }
.avisos-comp { position: absolute; right: 16px; bottom: 16px; width: 250px; display: grid; gap: 6px; padding: 10px 12px; background: #fff; border: 1px solid var(--bd); border-radius: 8px; box-shadow: 0 10px 24px -12px rgba(15,23,42,.35); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11.5px; color: #0f172a; }
.avisos-comp .h3 { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.avisos-comp .ic { width: 14px; height: 14px; color: #ca8a04; }
.avisos-comp b { display: block; font-weight: 600; }
.avisos-comp span { color: #64748b; }
.escena-centrada { position: absolute; inset: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #0f172a; font-size: 13px; }
.dialogo-app { position: absolute; left: 22px; top: 18px; width: 360px; display: grid; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--bd); border-radius: 10px; box-shadow: 0 16px 40px -20px rgba(15,23,42,.45); }
.enlace-fila { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--bd); border-radius: 8px; }
.enlace-fila > .ic { width: 15px; height: 15px; color: var(--mfg); }
.enlace-fila > div { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.enlace-fila b { font-weight: 500; font-size: 12.5px; }
.enlace-fila small { font-size: 11px; color: var(--mfg); }
.dialogo-pie { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--bd); }
.interruptor.on i { background: var(--pr); }
.interruptor.on i::after { left: 15px; }
.cm.abierto.flotante { position: absolute; right: 18px; bottom: 10px; width: 240px; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 16px 40px -18px rgba(15,23,42,.5); }
.ed-fila.apagada { opacity: .6; }
.resumen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 1px solid var(--bd); border-radius: 8px; padding: 12px; box-shadow: 0 2px 6px -2px rgba(0,0,0,.08); }
.resumen dt { font-size: 11.5px; color: var(--mfg); }
.resumen dd { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lienzo.estatico .pag.comparar, .lienzo.estatico .pag.escaleta { align-content: start; }

/* Funcionalidades: pasos, importar y bibliografía */
.ff-sub { margin-top: 24px; font-size: 15px; font-weight: 600; }
.ff-pasos { counter-reset: paso; margin-top: 12px; display: grid; gap: 10px; }
.ff-pasos li { counter-increment: paso; position: relative; padding-left: 36px; font-size: 16.5px; line-height: 1.45; min-height: 24px; }
.ff-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--rosa-claro); color: var(--rosa-oscuro); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.ff-pasos li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: 26px; bottom: -10px; width: 1px; background: var(--linea); }
.ff-sub + .ff-pasos, .ff-pasos + .ff-nota { margin-top: 14px; }
.dialogo-app.importar { left: 50px; top: 26px; width: 380px; }
.archivo-subido { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bd); border-radius: 8px; background: #fafafa; }
.archivo-subido .doc { width: 26px; height: 26px; }
.archivo-subido > div { flex: 1; display: grid; line-height: 1.35; }
.archivo-subido b { font-weight: 500; font-size: 12.5px; }
.archivo-subido small { font-size: 11px; color: var(--mfg); }
.archivo-subido .ok { width: 18px; height: 18px; color: #22c55e; }
.caps { display: grid; gap: 2px; font-size: 12.5px; }
.caps li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; }
.caps .ic { width: 13px; height: 13px; color: var(--mfg); }
.caps .mas { color: var(--mfg); padding-left: 27px; }
.dialogo-pie.solo-der { justify-content: flex-end; }
.aviso-isbn { position: absolute; right: 18px; bottom: 18px; width: 310px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; box-shadow: 0 10px 24px -14px rgba(15,23,42,.4); font-size: 12px; }
.aviso-isbn .ic { width: 16px; height: 16px; color: #ca8a04; margin-top: 1px; }
.aviso-isbn > div { display: grid; gap: 2px; }
.aviso-isbn b { font-weight: 600; }
.aviso-isbn small { color: #78350f; font-size: 11.5px; line-height: 1.4; }
.biblio { gap: 12px; }
.bib-texto { font-family: Georgia, serif; font-size: 13px; line-height: 1.65; }
.bib-texto mark { background: hsl(342 74% 63% / .18); border-bottom: 2px solid var(--pr); color: inherit; padding: 0 1px; }
.ficha-ref { border: 1px solid var(--bd); border-radius: 8px; padding: 10px 12px; display: grid; gap: 8px; box-shadow: 0 8px 20px -14px rgba(15,23,42,.35); }
.ficha-ref dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; }
.ficha-ref dt { font-size: 10.5px; color: var(--mfg); }
.ficha-ref dd { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bib-final { border-top: 1px solid var(--bd); padding-top: 10px; font-family: Georgia, serif; font-size: 11.5px; line-height: 1.5; display: grid; gap: 4px; }
.bib-final p:not(.bib-tit) { padding-left: 1.4em; text-indent: -1.4em; }
.bib-tit { font-size: 13px; font-weight: 700; margin-bottom: 2px; }

/* ── La app en anchos estrechos (móvil) ───────────────────────────── */

@container (max-width: 900px) {
  .grande .ix { display: none; }
  .grande .ed-panel { width: 200px; }
  .grande .ixf { width: 128px; }
  .grande .fx-top { grid-template-columns: minmax(0, 1fr) 190px; gap: 18px; }
  .grande .fx-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grande .obra { padding: 14px; }
}
@container (max-width: 640px) {
  .app.grande { font-size: 12.5px; }
  .grande .app-rail, .grande .ixf, .grande .ed-acciones > .ic, .grande .guardado, .grande .ed-cab > .seg, .grande .ed-panel, .grande .cab-botones .btn-g, .grande .obra-sin { display: none; }
  .grande .pantallas { height: 540px; }
  .grande .pa-inicio .pag { padding: 16px; }
  .grande .obras { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .grande .obra { gap: 10px; }
  .grande .pa-editor .ed-texto { padding: 18px 16px; }
  .grande .pm { font-size: 14.5px; }
  .grande .pag { padding: 14px; }
  .grande .ficha-cab { flex-wrap: wrap; }
  .grande .ficha-cuerpo { flex-direction: column; gap: 14px; align-items: stretch; }
  .grande .fx-top { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .grande .fx-desc, .grande .acciones-ficha .t-tit, .grande .acciones-ficha hr { display: none; }
  .grande .acciones-ficha { grid-template-columns: 1fr 1fr; padding: 10px; }
  .grande .fx-tit { font-size: 24px; }
  .grande .fx { padding: 16px; }
  .grande .datos > div { grid-template-columns: 100px 1fr; }
  .grande .wizard li:not(.actual) { font-size: 0; gap: 0; }
  .grande .wizard li + li::before { width: 10px; margin-right: 6px; }
  .grande .fila-genero { flex-wrap: wrap; gap: 8px; }
  .grande .fila-genero .select { width: 100%; }
  .grande .ed-fila .badge { display: none; }
  .grande .campos { grid-template-columns: minmax(0, 1fr); }
  .grande .campos .campo:nth-child(n+3) { display: none; }
  .grande .toast { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .grande .tabla th:nth-child(2), .grande .tabla td:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; transition-delay: 0ms !important; }
}

@media (max-width: 640px) {
  .archivos li { grid-template-columns: 16px minmax(0, 1fr) 70px; padding: 6px 10px; font-size: 12px; }
  .v-cab { grid-template-columns: minmax(0, 1fr) 70px; padding-left: 36px; }
  .archivos li > span:last-child, .v-cab > span:last-child { display: none; }
  .archivos li:nth-child(-n+3) { display: none; }
}
.pagina-cab .sub { max-width: 54ch; }
