/* Test capilar de areacapilar.com (11-nov-2026). Colores y letra del tema (DM Sans, verde azulado #0D9488). Todo con prefijo actc-. */
.actc-invita, .actc-velo { --actc-bg: #fff; --actc-alt: #F7F7F7; --actc-fg: #1A1A2E; --actc-muted: #555; --actc-line: #E5E5E5; --actc-ac: #0D9488; --actc-ac2: #0F766E; --actc-soft: rgba(13,148,136,.08);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--actc-fg); line-height: 1.45; box-sizing: border-box; }
.actc-invita *, .actc-velo * { box-sizing: border-box; }
.actc-invita[hidden], .actc-velo[hidden], .actc-barra-cita[hidden], .actc-error[hidden] { display: none !important; }
html.actc-abierto { overflow: hidden; }

/* ventana grande de invitación (15-nov-2026): tarjeta abajo en el móvil, en el centro en el ordenador */
.actc-invita { position: fixed; inset: 0; z-index: 99980; background: rgba(26,26,46,.5); display: flex; align-items: flex-end; justify-content: center;
  padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.actc-tarjeta { position: relative; background: var(--actc-bg); width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto; border-radius: 20px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.actc-invita.actc-on .actc-tarjeta { animation: actc-sube .45s cubic-bezier(.2,.8,.2,1); }
@keyframes actc-sube { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.actc-tarjeta img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: center 30%; }
.actc-tarjeta-cuerpo { padding: 16px 18px 14px; display: grid; gap: 12px; }
.actc-tarjeta-cuerpo strong { font-size: 22px; line-height: 1.2; font-weight: 700; }
.actc-tarjeta-cuerpo p { margin: 0; font-size: 15.5px; color: var(--actc-muted); line-height: 1.45; }
.actc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.actc-chips span { font-size: 13px; font-weight: 600; background: var(--actc-alt); border-radius: 999px; padding: 5px 10px; }
.actc-ahora-no { border: 0; background: none; font-family: inherit; font-size: 15px; color: var(--actc-muted); cursor: pointer; padding: 4px; justify-self: center; }
.actc-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 22px; line-height: 1; color: var(--actc-fg); cursor: pointer; display: grid; place-items: center; }
@media (min-width: 768px) {
  .actc-invita { align-items: center; }
  .actc-tarjeta img { height: 200px; }
}

/* ventana del test */
.actc-velo { position: fixed; inset: 0; z-index: 99990; background: rgba(26,26,46,.5); display: flex; align-items: flex-end; justify-content: center; }
.actc-test { position: relative; background: var(--actc-bg); width: 100%; height: 93vh; height: 93dvh; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 768px) { .actc-velo { align-items: center; } .actc-test { width: min(580px, 92vw); height: auto; max-height: 90vh; border-radius: 20px; } }
.actc-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.actc-atras { border: 0; background: var(--actc-alt); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--actc-fg); }
.actc-atras[disabled] { visibility: hidden; }
.actc-barra { flex: 1; height: 6px; border-radius: 6px; background: var(--actc-alt); overflow: hidden; }
.actc-barra i { display: block; height: 100%; width: 0; background: var(--actc-ac); border-radius: 6px; transition: width .35s; }
.actc-cerrar { border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--actc-muted); line-height: 1; }
.actc-paso { padding: 6px 22px 24px; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; flex: 1; -webkit-overflow-scrolling: touch; }
.actc-paso h5 { font-size: 24px; line-height: 1.22; margin: 0; font-weight: 700; color: var(--actc-fg); }
.actc-paso p { margin: 0; }
.actc-paso a { color: var(--actc-ac2); }
.actc-n { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--actc-ac); }
.actc-ayuda { color: var(--actc-muted); font-size: 15px; margin-top: -8px !important; }
.actc-sin-margen { margin-top: 0 !important; }
.actc-centro { text-align: center; }
.actc-ops { display: grid; gap: 10px; }
.actc-ops.actc-dibujos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.actc-op { font-weight: 500; font-size: 17px; line-height: 1.3; font-family: inherit; text-align: left; color: var(--actc-fg); background: var(--actc-bg); border: 1.5px solid var(--actc-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; transition: border-color .15s, background .15s; }
.actc-op:hover { border-color: var(--actc-ac); }
.actc-op[aria-pressed="true"] { border-color: var(--actc-ac); background: var(--actc-soft); }
.actc-dibujos .actc-op { flex-direction: column; text-align: center; padding: 12px 8px; gap: 6px; font-size: 15px; }
.actc-dibujos .actc-op svg { width: 64px; height: 72px; }
.actc-chk { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--actc-line); flex: none; display: grid; place-items: center; font-size: 13px; color: #fff; }
.actc-op[aria-pressed="true"] .actc-chk { background: var(--actc-ac); border-color: var(--actc-ac); }
.actc-boton { font-weight: 700; font-size: 17px; font-family: inherit; border: 0; background: var(--actc-ac); color: #fff; padding: 15px 18px; border-radius: 12px; cursor: pointer; width: 100%; }
.actc-boton:hover { background: var(--actc-ac2); }
.actc-boton[disabled] { opacity: .45; cursor: not-allowed; }
.actc-oscuro { background: var(--actc-fg); }
.actc-oscuro:hover { background: #000; }
.actc-nota { font-size: 13.5px; color: var(--actc-muted); }
.actc-cargando { text-align: center; color: var(--actc-muted); padding: 40px 0; }
.actc-intro-img { display: flex; gap: 10px; justify-content: center; padding: 6px 0; }
.actc-intro-img svg { width: 56px; height: 64px; }
.actc-datos-intro { display: flex; flex-wrap: wrap; gap: 8px; }
.actc-datos-intro span { font-size: 14px; font-weight: 600; background: var(--actc-alt); padding: 6px 10px; border-radius: 999px; }
.actc-hecho-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--actc-soft); display: grid; place-items: center; margin: 8px auto 0; color: var(--actc-ac); font-size: 32px; }
.actc-form { display: grid; gap: 12px; }
.actc-campo { display: grid; gap: 6px; }
.actc-campo label { font-size: 15px; font-weight: 600; }
.actc-campo input, .actc-tel { font-size: 16px; font-family: inherit; padding: 13px 14px; border: 1.5px solid var(--actc-line); border-radius: 12px; color: var(--actc-fg); background: var(--actc-bg); width: 100%; }
.actc-campo input:focus, .actc-tel:focus { border-color: var(--actc-ac); outline: none; box-shadow: 0 0 0 3px var(--actc-soft); }
.actc-casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--actc-muted); }
.actc-casilla input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--actc-ac); flex: none; }
.actc-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actc-error { color: #B42318; font-size: 14.5px; font-weight: 600; }
.actc-resultado { border-radius: 16px; background: var(--actc-soft); padding: 16px; display: grid; gap: 6px; }
.actc-tipo { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--actc-ac2); }
.actc-resultado strong { font-size: 21px; line-height: 1.25; }
.actc-resultado p { font-size: 16px; color: var(--actc-muted); }
.actc-grande strong { font-size: 24px; }
.actc-grande p { font-size: 16.5px; }
.actc-fases { display: grid; gap: 8px; }
.actc-fases > b { font-size: 16.5px; }
.actc-fases-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.actc-fase { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--actc-line); opacity: .55; font-size: 14.5px; }
.actc-fase svg { width: 46px; height: 52px; }
.actc-fase.actc-on { opacity: 1; border-color: var(--actc-ac); background: var(--actc-soft); font-weight: 700; color: var(--actc-ac2); }
.actc-analisis { display: grid; gap: 10px; }
.actc-tit { font-size: 19px; }
.actc-dato { border-left: 3px solid var(--actc-ac); padding: 2px 0 2px 12px; display: grid; gap: 2px; }
.actc-dato b { font-size: 16.5px; }
.actc-dato p { font-size: 16px; color: var(--actc-muted); line-height: 1.5; }
.actc-bloque { display: grid; gap: 6px; font-size: 16px; }
.actc-bloque p { color: var(--actc-muted); }
.actc-no { border-radius: 12px; background: #FFF4F2; padding: 12px 14px; }
.actc-no b { color: #9A3412; }
.actc-lista { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.actc-lista li { display: flex; gap: 10px; font-size: 16px; }
.actc-lista li::before { content: "✓"; color: var(--actc-ac); font-weight: 700; }

/* bloque del médico (diseño A con la línea de pasos de C, elegido por Jorge) */
.actc-cita { border: 1px solid var(--actc-line); border-radius: 16px; padding: 20px 18px; display: grid; gap: 14px; box-shadow: 0 10px 30px -14px rgba(26,26,46,.28); }
.actc-foto { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; }
.actc-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; display: block; }
.actc-foto em { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--actc-fg); font-style: normal; font-weight: 700; font-size: 13.5px; padding: 5px 10px; border-radius: 999px; }
.actc-cita h6 { font: 400 25px/1.12 Georgia, 'Times New Roman', serif; margin: 0; color: var(--actc-fg); }
.actc-sub { font-size: 16px; color: var(--actc-muted); margin-top: -6px !important; }
.actc-pasos { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: actcp; }
.actc-pasos li { counter-increment: actcp; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; position: relative; font-size: 16px; line-height: 1.35; }
.actc-pasos li:last-child { padding-bottom: 0; }
.actc-pasos li::before { content: counter(actcp); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--actc-fg); display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--actc-bg); z-index: 1; }
.actc-pasos li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; border-left: 1.5px dashed #C5CCD1; }
.actc-pasos b { display: block; }
.actc-pasos span { color: var(--actc-muted); font-size: 15px; }
.actc-ya-mismo { font-size: 14px; text-align: center; color: var(--actc-muted); }
.actc-ya-mismo a { color: var(--actc-fg) !important; font-weight: 600; }
.actc-barra-cita { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--actc-line); background: var(--actc-bg); box-shadow: 0 -8px 20px rgba(26,26,46,.08); font-size: 15px; }
.actc-barra-cita button { border: 0; background: var(--actc-ac); color: #fff; font-weight: 700; font-size: 15.5px; font-family: inherit; padding: 10px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.actc-invita button:focus-visible, .actc-velo button:focus-visible, .actc-velo a:focus-visible, .actc-velo input:focus-visible { outline: 3px solid var(--actc-ac); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .actc-invita.actc-on .actc-tarjeta { animation: none; } .actc-barra i { transition: none; } }

.actc-informe { display: grid; gap: 8px; font-size: 15px; }
.actc-informe > b { font-size: 16px; }
.actc-velado { display: flex; gap: 8px; filter: blur(2.5px); opacity: .7; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); pointer-events: none; user-select: none; }
.actc-velado .actc-fase { flex: 1; opacity: 1; padding: 6px 4px; }
.actc-velado svg { width: 40px; height: 45px; }
.actc-pide { font-size: 19px; line-height: 1.25; margin: 4px 0 0; font-weight: 700; color: var(--actc-fg); } /* adelanto del resultado (15-nov-2026): claro el tipo de caída; lo demás, solo enumerado y con un velado suave */
