/* DiskSpace AI · estilo claro de Apple/macOS: letra del sistema, tarjetas redondeadas y mucho aire. */

/* En Mac e iPhone se usa la letra del sistema (SF Pro); en el resto, Inter (licencia OFL). */
@font-face { font-family: "Inter"; src: url("fuentes/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fondo: #ffffff;
  --fondo-2: #f5f5f7;
  --texto: #1d1d1f;
  --texto-2: #6e6e73;
  --texto-3: #86868b;
  --linea: #d2d2d7;
  --linea-suave: #e8e8ed;

  --verde: #1baf7a;
  --verde-oscuro: #0b8a5c;
  --verde-texto: #0a7d53;
  --ambar: #eda100;
  --ambar-texto: #9a6400;
  --morado: #6250d6;
  --gris: #aeaeb2;
  --sistema: #48484a;

  --letra: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ancho: 1120px;
  --margen: clamp(16px, 4vw, 32px);
  --radio: 24px;
  --sombra: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 17px/1.5 var(--letra); letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: 0.86em var(--mono); background: var(--fondo-2); padding: 0.12em 0.4em; border-radius: 6px; letter-spacing: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; }

.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }
.estrecha { max-width: 820px; }
.oculto, .trampa { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra superior translúcida */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.barra-dentro { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logotipo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.barra nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.barra nav a:not(.boton) { text-decoration: none; color: var(--texto-2); transition: color 0.2s; }
.barra nav a:not(.boton):hover { color: var(--texto); }

/* Botones y formulario: cápsulas como en macOS */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border: 0; border-radius: 980px;
  background: var(--verde-oscuro); color: #fff;
  font: 600 17px/1 var(--letra); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.boton:hover { background: #087a51; }
.boton:active { transform: scale(0.98); }
.boton:disabled { opacity: 0.5; cursor: wait; }
.boton-pequeno { height: 34px; padding: 0 16px; font-size: 14px; }

.formulario { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.formulario input[type="email"] {
  flex: 1 1 240px; height: 50px; padding: 0 22px;
  border: 1px solid var(--linea); border-radius: 980px; background: #fff; color: var(--texto);
  font: 400 17px var(--letra);
}
.formulario input[type="email"]::placeholder { color: var(--texto-3); }
.formulario input[type="email"]:focus { outline: 4px solid rgba(27, 175, 122, 0.25); border-color: var(--verde); }
.mensaje { flex-basis: 100%; margin: 2px 0 0; min-height: 1.4em; font-size: 14px; color: var(--verde-texto); text-align: center; }
.mensaje.error { color: #d70015; }

/* Tarjetas */
.tarjeta { background: #fff; border: 1px solid var(--linea-suave); border-radius: var(--radio); box-shadow: var(--sombra); padding: 32px; }
.seccion .tarjeta { background: var(--fondo-2); border-color: transparent; box-shadow: none; }

/* Portada */
.portada { padding-top: clamp(56px, 9vw, 104px); text-align: center; }
.portada-icono { margin: 0 auto 22px; filter: drop-shadow(0 10px 24px rgba(11, 17, 14, 0.25)); }
.antetitulo { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--verde-texto); letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8.4vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.degradado { background: linear-gradient(90deg, #0b8a5c, #1baf7a 55%, #3a9fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entradilla { margin: 22px auto 34px; max-width: 34em; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--texto-2); letter-spacing: -0.015em; }
.nota { margin: 12px 0 0; font-size: 14px; color: var(--texto-3); }
.captura { margin: clamp(48px, 7vw, 80px) 0 0; }
.captura img { border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 40px 90px -30px rgba(0, 0, 0, 0.35); }

/* Promesas */
.promesas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 8vw, 104px); }
.icono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px; }
.icono svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-verde { background: var(--verde); } .i-ambar { background: var(--ambar); } .i-morado { background: var(--morado); }
.promesas h2 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.promesas p { margin: 10px 0 0; color: var(--texto-2); font-size: 16px; }

/* Secciones */
.seccion { padding-top: clamp(88px, 11vw, 140px); }
.banda { background: var(--fondo-2); margin-top: clamp(88px, 11vw, 140px); padding: clamp(80px, 10vw, 128px) 0; }
.encabezado { text-align: center; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 820px; }
.encabezado h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.encabezado h2 span { color: var(--texto-3); }
.encabezado-texto { margin: 18px 0 0; font-size: 19px; color: var(--texto-2); }

/* Tarjetas de «cómo funciona» */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .tarjeta { padding: 36px; }
.ancha { grid-column: span 2; }
.bento h3 { font-size: 28px; line-height: 1.12; font-weight: 700; }
.tarjeta-texto { margin: 10px 0 0; color: var(--texto-2); font-size: 17px; }

.regla { display: flex; gap: 3px; height: 30px; margin: 30px 0 28px; }
.regla span { border-radius: 7px; }
.t-sistema { flex: 157.4; background: var(--sistema); } .t-revisar { flex: 40.1; background: var(--ambar); }
.t-otros { flex: 14.4; background: var(--morado); } .t-seguro { flex: 7; background: var(--verde); }
.t-libre { flex: 26.2; background: var(--fondo-2); box-shadow: inset 0 0 0 1px var(--linea); }

.colores { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.colores dt { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.colores dd { margin: 4px 0 0; color: var(--texto-2); font-size: 15px; }
.punto { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.p-verde { background: var(--verde); } .p-ambar { background: var(--ambar); } .p-gris { background: var(--gris); } .p-morado { background: var(--morado); }

.cifra-tarjeta { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.cifra-grande { margin: 0; font-size: clamp(48px, 5.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.verde { color: var(--verde-texto); }
.tachada { display: block; font-size: 0.42em; font-weight: 600; color: var(--texto-3); text-decoration: line-through; letter-spacing: -0.02em; margin-bottom: 6px; }

.carpetas { list-style: none; margin: 24px 0 0; padding: 0; }
.carpetas li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) 100px; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--linea-suave); font-size: 15px; }
.carpetas code { background: none; padding: 0; color: var(--texto); font-size: 13.5px; overflow-wrap: anywhere; }
.carpetas span { color: var(--texto-2); }
.carpetas b { justify-self: end; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; white-space: nowrap; letter-spacing: 0; }
.v-verde { color: var(--verde-texto); background: rgba(27, 175, 122, 0.12); }
.v-ambar { color: var(--ambar-texto); background: rgba(237, 161, 0, 0.14); }
.v-gris { color: var(--texto-2); background: var(--fondo-2); }

/* Funciones */
.funciones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.funciones .tarjeta { padding: 28px; border-radius: 20px; }
.funciones h3 { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.funciones p { margin: 8px 0 0; font-size: 15px; color: var(--texto-2); }

/* Origen */
.origen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; }
blockquote { margin: 0; }
blockquote p { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }
blockquote footer { margin-top: 18px; color: var(--texto-2); font-size: 17px; }
.origen figure { margin: 0; }
.origen img { border-radius: 16px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.35); }
figcaption { margin-top: 12px; font-size: 14px; color: var(--texto-3); text-align: center; }

/* Precio */
.precios { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px; }
.principal { border: 2px solid var(--verde); }
.cinta { align-self: flex-start; order: -1; margin: 0 0 14px; padding: 5px 12px; border-radius: 980px; background: rgba(27, 175, 122, 0.12); color: var(--verde-texto); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.plan h3 { font-size: 21px; font-weight: 600; }
.plan .cifra { margin: 14px 0 0; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.plan .cifra s { font-size: 0.4em; font-weight: 600; color: var(--texto-3); margin-right: 8px; vertical-align: 0.5em; letter-spacing: -0.01em; }
.cifra-nota { margin: 8px 0 0; color: var(--texto-2); font-size: 15px; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; flex: 1; }
.plan li { position: relative; padding: 8px 0 8px 30px; font-size: 16px; color: var(--texto); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--fondo-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.principal li::before {
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.plan .boton { width: 100%; }

/* Preguntas */
.preguntas.tarjeta { padding: 8px 32px; }
details + details { border-top: 1px solid var(--linea); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--texto-3); border-bottom: 2px solid var(--texto-3);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.25s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { margin: -6px 0 22px; color: var(--texto-2); font-size: 16px; }

/* Llamada final */
.final {
  text-align: center; padding: clamp(56px, 8vw, 96px) var(--margen); border-radius: 36px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(27, 175, 122, 0.14), transparent 60%), var(--fondo-2);
}
.final h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.final p { margin: 14px auto 32px; max-width: 30em; color: var(--texto-2); font-size: 19px; }

/* Pie */
.pie { margin-top: clamp(64px, 8vw, 104px); background: var(--fondo-2); border-top: 1px solid var(--linea-suave); padding: 22px 0 32px; font-size: 12px; color: var(--texto-3); }
.pie p { margin: 4px 0; }

/* Aparición suave al hacer scroll */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
}

/* Tableta */
@media (max-width: 980px) {
  .barra nav a:not(.boton) { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .ancha { grid-column: span 2; }
  .funciones { grid-template-columns: 1fr 1fr; }
  .origen { grid-template-columns: 1fr; }
}

/* Móvil */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .promesas, .bento, .funciones, .precios, .colores { grid-template-columns: 1fr; }
  .ancha { grid-column: auto; }
  .tarjeta, .bento .tarjeta, .plan { padding: 24px; }
  .cifra-tarjeta { min-height: 0; }
  .bento h3 { font-size: 24px; }
  .carpetas li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .carpetas span { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .preguntas.tarjeta { padding: 4px 20px; }
  summary { font-size: 17px; }
  .origen { border-radius: 24px; }
  .final { border-radius: 28px; }
}

/* Demo interactiva: la ventana de la app con un Mac inventado (demo/demo.js).
   Se diseña a 1240×800 y se escala al ancho disponible; en pantallas estrechas se queda la captura. */
.captura .dm-marco, .captura .dm-rotulo { display: none; }
.demo-activa > img { display: none; }
.demo-activa .dm-marco { display: block; }
.demo-activa .dm-rotulo { display: flex; }
.dm-rotulo { justify-content: center; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; color: var(--texto-2); }
.dm-rotulo-punto { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(27, 175, 122, 0.5); animation: latido 2s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 8px rgba(27, 175, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 175, 122, 0); } }
.dm-marco { position: relative; width: 100%; }

.dm-ventana {
  position: absolute; top: 0; left: 0; width: 1240px; height: 800px; transform-origin: 0 0;
  display: flex; flex-direction: column; overflow: hidden; text-align: left;
  background: #ececec; color: #1d1d1f; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.4);
  font: 400 13px/1.35 -apple-system, BlinkMacSystemFont, "Inter", sans-serif; letter-spacing: 0;
  user-select: none; -webkit-user-select: none;
}
.dm-ventana button { font: inherit; color: inherit; cursor: pointer; }
.dm-ventana svg { width: 14px; height: 14px; flex: none; }
.dm-cabecera { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.dm-titulo { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.dm-sub { font-size: 12.5px; color: #6e6e73; }
.dm-botones { display: flex; gap: 8px; align-items: center; }
.dm-pastilla {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 14px;
  border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.06); font-size: 13px; font-weight: 500; text-decoration: none; color: #1d1d1f;
  transition: background 0.15s, transform 0.1s;
}
.dm-pastilla:hover { background: rgba(0, 0, 0, 0.1); }
.dm-pastilla:active { transform: scale(0.97); }
.dm-pastilla.grande { height: 36px; padding: 0 20px; font-size: 14px; font-weight: 600; }
.dm-pastilla.principal { background: #1cb07a; color: #fff; }
.dm-pastilla.principal:hover { background: #179a6a; }
.dm-pastilla:disabled { opacity: 0.45; cursor: default; }

.dm-cuerpo { flex: 1; min-height: 0; display: grid; grid-template-columns: 780px 1fr; gap: 20px; padding: 16px 20px; }
.dm-izquierda { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.dm-resumen { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: rgba(97, 79, 214, 0.08); }
.dm-resumen p { margin: 0; flex: 1; font-size: 13.5px; line-height: 1.4; }
.dm-chispa { color: #614fd6; margin-top: 2px; }
.dm-chapa-ia { flex: none; font-size: 11.5px; color: #614fd6; background: rgba(97, 79, 214, 0.12); border-radius: 999px; padding: 3px 9px; }

.dm-medidor { padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.04); }
.dm-cifras { display: flex; align-items: flex-end; gap: 16px; }
.dm-etiqueta { font-size: 11.5px; color: #6e6e73; }
.dm-cifra { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dm-ventana .verde { color: #1cb07a; }
.dm-ventana .ambar { color: #b77c00; }
.dm-flecha { color: #8e8e93; font-size: 18px; margin-bottom: 8px; }
.dm-objetivo { margin-left: auto; text-align: right; }
.dm-objetivo-control { display: flex; gap: 8px; align-items: center; }
.dm-objetivo-control strong { font-size: 17px; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.dm-paso { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.06); font-size: 17px !important; line-height: 1; }
.dm-paso:hover { background: rgba(0, 0, 0, 0.1); }
.dm-barra { position: relative; height: 12px; margin: 10px 0 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); }
.dm-barra span { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; }
.dm-barra-tras { background: #1cb07a; transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dm-barra-libre { background: #878780; }
.dm-barra-meta { top: -3px !important; width: 2px; height: 18px !important; border-radius: 0 !important; background: #1d1d1f; transition: left 0.3s; }
.dm-meta-texto { font-size: 11.5px; }

.dm-mapa { position: relative; width: 780px; height: 330px; flex: none; }
.dm-bloque { position: absolute; padding: 0; border: 0; border-radius: 7px; background: none; overflow: hidden; text-align: left; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.dm-bloque::before { content: ""; position: absolute; inset: 0; background: var(--color, transparent); opacity: var(--opacidad, 1); transition: opacity 0.25s; }
.dm-bloque::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.dm-bloque.marcado { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); }
.dm-bloque.encima { transform: scale(1.02); z-index: 2; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(29, 29, 31, 0.85); }
button.dm-bloque:focus-visible { outline: 3px solid #0a84ff; outline-offset: 1px; z-index: 3; }
.dm-resto { background: rgba(0, 0, 0, 0.09); }
.dm-libre { background: rgba(0, 0, 0, 0.02); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.dm-bloque-texto { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1px; padding: 6px; color: #6e6e73; }
.elegible .dm-bloque-texto, .marcado .dm-bloque-texto { color: #fff; }
.dm-bloque-nombre { font-size: 11.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dm-bloque-tam { font-size: 11px; opacity: 0.85; }
.dm-visto svg { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; stroke-width: 3; }

.dm-leyenda { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #3a3a3c; }
.dm-muestra { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.dm-oculto { color: #8e8e93; }
.dm-disco { margin-left: auto; }

.dm-lista { min-height: 0; overflow-y: auto; padding: 12px 10px 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.04); user-select: text; -webkit-user-select: text; }
.dm-grupo { display: flex; justify-content: space-between; gap: 10px; margin: 16px 6px 6px 0; }
.dm-grupo:first-child { margin-top: 0; }
.dm-grupo-titulo { font-size: 15px; font-weight: 600; }
.dm-grupo-sub { font-size: 11.5px; color: #6e6e73; }
.dm-grupo-tam { font-size: 13px; color: #6e6e73; white-space: nowrap; }
.dm-fila { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 7px 6px; border-radius: 8px; }
.dm-fila.encima { background: rgba(0, 0, 0, 0.05); }
.dm-casilla { width: 17px; height: 17px; margin-top: 1px; padding: 0; display: grid; place-items: center; border: 1.5px solid #b0b0b5; border-radius: 4px; background: #fff; }
.dm-casilla.marcada { background: var(--color); border-color: var(--color); color: #fff; }
.dm-casilla.marcada svg { width: 12px; height: 12px; stroke-width: 3; }
.dm-casilla.bloqueada { opacity: 0.4; cursor: not-allowed; }
.dm-casilla:focus-visible { outline: 3px solid #0a84ff; outline-offset: 1px; }
.dm-fila-titulo { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.dm-punto { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dm-origen { display: inline-grid; place-items: center; }
.dm-origen svg { width: 13px; height: 13px; }
.dm-regla { color: #1cb07a; } .dm-ia { color: #614fd6; }
.dm-estimacion { width: 13px; height: 13px; border-radius: 50%; border: 1.3px solid #8e8e93; color: #8e8e93; font-size: 9px; font-weight: 700; }
.dm-fila-detalle { font-size: 11.5px; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-fila-nota { font-size: 11.5px; font-weight: 600; color: #c27c00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-fila-tam { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.dm-pie { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.02); }
.dm-seleccion { font-size: 15px; font-weight: 600; }

.dm-velo { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(0, 0, 0, 0.22); animation: aparece 0.2s; }
.dm-dialogo { width: 440px; padding: 26px 30px; border-radius: 14px; background: #f6f6f6; text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); animation: sube 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dm-dialogo img { margin: 0 auto; }
.dm-dialogo h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.dm-dialogo p { margin: 6px 0; font-size: 13px; color: #3a3a3c; line-height: 1.45; }
.dm-dialogo-botones { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.dm-nota-demo { color: #8e8e93 !important; font-size: 12px !important; }
.dm-progreso { height: 6px; margin: 16px 0 8px; border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, 0.08); }
.dm-progreso span { display: block; height: 100%; width: 0; background: #1cb07a; animation: llena 1.3s ease-in-out forwards; }
.dm-hecho-ante { font-size: 15px !important; color: #6e6e73 !important; }
.dm-hecho-cifra { margin: 0 !important; font-size: 56px !important; font-weight: 700; color: #1cb07a !important; letter-spacing: -0.03em; line-height: 1.05 !important; }
.dm-aviso { position: absolute; left: 50%; bottom: 84px; z-index: 11; max-width: 560px; transform: translateX(-50%); padding: 10px 16px; border-radius: 10px; background: rgba(29, 29, 31, 0.92); color: #fff; font-size: 13px; text-align: center; animation: aparece 0.2s; }
@keyframes aparece { from { opacity: 0; } }
@keyframes sube { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes llena { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .dm-rotulo-punto, .dm-velo, .dm-dialogo, .dm-aviso { animation: none; }
  .dm-progreso span { animation-duration: 0.01s; }
}
