/* Auditoría web gratis ([lnp_auditoria] dentro de la página de Linterna Core). Usa los tokens --lnc-* del sitio. */
.lnp-aud { --ok: #12B76A; --med: #F79009; --mal: #F04438; margin-top: 34px; max-width: 760px; }
.lnp-aud .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buscador (en el hero oscuro) */
.lnp-aud__buscar { display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.lnp-aud__campo { flex: 1; display: flex; align-items: center; min-width: 0; padding-left: 18px; }
.lnp-aud__pre { color: #8D93A0; font-size: 17px; user-select: none; }
.lnc .lnp-aud__campo input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 600; color: var(--lnc-ink); padding: 0 6px 0 2px; }
.lnp-aud__campo input::placeholder { color: #B5BAC3; font-weight: 500; }
.lnp-aud__buscar .lnc-btn { flex: none; }
.lnp-aud__buscar:focus-within { box-shadow: 0 0 0 3px var(--lnc-mint), 0 18px 50px rgba(0, 0, 0, .35); }
.lnp-aud__error { margin: 12px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: #FEF3F2; color: #B42318; font-size: 14.5px; font-weight: 600; }

.lnp-aud__prog { margin-top: 22px; }
.lnp-aud__barra { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.lnp-aud__barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--lnc-mint); transition: width .8s ease; }
.lnc .lnp-aud__pasos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.lnp-aud__pasos li { position: relative; padding-left: 28px; font-size: 15px; color: rgba(255, 255, 255, .45); transition: color .3s; }
.lnp-aud__pasos li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.lnp-aud__pasos li.is-on { color: #fff; }
.lnp-aud__pasos li.is-on::before { border-color: var(--lnc-mint); border-right-color: transparent; animation: lnp-aud-giro .8s linear infinite; }
.lnp-aud__pasos li.is-ok { color: rgba(255, 255, 255, .8); }
.lnp-aud__pasos li.is-ok::before { border-color: var(--lnc-mint); background: var(--lnc-mint); }
.lnp-aud__pasos li.is-ok::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border-left: 2px solid #08281B; border-bottom: 2px solid #08281B; transform: rotate(-45deg); }
@keyframes lnp-aud-giro { to { transform: rotate(360deg); } }

/* Resultado */
[data-aud-destino]:empty { display: none; }
.lnp-aud-r { --ok: #12B76A; --med: #F79009; --mal: #F04438; }
.lnp-aud-k { margin: 0 0 6px !important; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lnc-blue); }
.lnp-aud-r__top { display: flex; align-items: center; gap: 32px; padding: 30px; border: 1px solid var(--lnc-line); border-radius: 22px; background: #fff; }
.lnp-aud-ring { position: relative; flex: none; width: 150px; height: 150px; }
.lnp-aud-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lnp-aud-ring circle { fill: none; stroke-width: 11; }
.lnp-aud-ring__bg { stroke: #EEF0F2; }
.lnp-aud-ring__fg { stroke: var(--c); stroke-linecap: round; animation: lnp-aud-anillo 1.2s ease-out; }
@keyframes lnp-aud-anillo { from { stroke-dasharray: 0 100; } }
.lnp-aud-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.lnp-aud-ring strong { font-family: var(--lnc-display); font-size: 46px; font-weight: 700; line-height: 1; color: var(--lnc-ink); }
.lnp-aud-ring span { font-size: 13px; color: var(--lnc-muted); }
.lnp-aud-r__info { min-width: 0; }
.lnc .lnp-aud-r__host { font-family: var(--lnc-display); font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.lnp-aud-r__et { margin-top: 4px !important; font-family: var(--lnc-display); font-size: 19px; font-weight: 600; }
.lnp-aud-r__res { margin-top: 8px !important; color: var(--lnc-ink-2); }
.lnp-aud-r__tec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lnp-aud-r__tec span { padding: 3px 10px; border-radius: 999px; background: #F2F4F6; font-size: 12.5px; font-weight: 600; color: var(--lnc-ink-2); }
.lnp-aud-ok { margin: 16px 0 0 !important; padding: 14px 18px; border-radius: 14px; background: var(--lnc-tint); color: #08281B; font-size: 15px; }

.lnp-aud-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.lnp-aud-area { padding: 18px; border: 1px solid var(--lnc-line); border-radius: 18px; background: #fff; }
.lnp-aud-area__n { font-size: 14px; font-weight: 700; color: var(--lnc-ink); }
.lnp-aud-area__s { margin-top: 6px !important; min-height: 38px; font-family: var(--lnc-display); font-size: 32px; font-weight: 700; line-height: 1.1; }
.lnp-aud-area__s small { font-size: 14px; font-weight: 600; color: var(--lnc-muted); }
.lnp-aud-area__bar { height: 6px; margin-top: 8px; border-radius: 999px; background: #EEF0F2; overflow: hidden; }
.lnp-aud-area__bar i { display: block; height: 100%; border-radius: inherit; transition: width 1s ease; }
.lnp-aud-area__sub { margin-top: 8px !important; font-size: 12.5px; color: var(--lnc-muted); line-height: 1.35; }
.lnp-aud-spin { display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid #E3E6EA; border-top-color: var(--lnc-mint); animation: lnp-aud-giro .8s linear infinite; vertical-align: middle; }

.lnc .lnp-aud-h { margin: 34px 0 14px; font-family: var(--lnc-display); font-size: 22px; font-weight: 600; }
.lnp-aud-items, .lnp-aud-sec { display: grid; gap: 10px; }
.lnp-aud-it { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--lnc-line); border-radius: 16px; background: #fff; }
.lnp-aud-it__dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--ok); }
.lnp-aud-it.is-med .lnp-aud-it__dot { background: var(--med); }
.lnp-aud-it.is-mal .lnp-aud-it__dot { background: var(--mal); }
.lnp-aud-it__t { font-weight: 700; color: var(--lnc-ink); line-height: 1.4; }
.lnp-aud-it__d { margin-top: 2px !important; font-size: 13.5px; color: var(--lnc-muted); overflow-wrap: anywhere; }
.lnp-aud-it__p { margin-top: 6px !important; font-size: 14.5px; color: var(--lnc-ink-2); line-height: 1.5; }
.lnp-aud-it__est { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #E8F8F0; color: #0A6444; white-space: nowrap; }
.lnp-aud-it.is-med .lnp-aud-it__est { background: #FFFAEB; color: #B54708; }
.lnp-aud-it.is-mal .lnp-aud-it__est { background: #FEF3F2; color: #B42318; }

/* Bloqueado: hallazgos difuminados + tarjeta con el formulario */
.lnp-aud-lock { position: relative; margin-top: 10px; min-height: 560px; }
.lnp-aud-lock__blur { display: grid; gap: 10px; filter: blur(5px); opacity: .75; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.lnp-aud-lock__card { position: absolute; left: 50%; top: 40px; width: min(440px, calc(100% - 24px)); transform: translateX(-50%); display: grid; gap: 12px; padding: 28px; border-radius: 22px; background: #111214; color: #fff; box-shadow: 0 24px 60px rgba(17, 18, 20, .35); }
.lnp-aud-lock__card .lnp-aud-k { color: var(--lnc-mint); }
.lnc .lnp-aud-lock__card h3 { font-family: var(--lnc-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: #fff; }
.lnp-aud-lock__sub { color: #BFC3CC; font-size: 15px; }
.lnp-aud-lock__card label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: #DADDE3; }
.lnc .lnp-aud-lock__card input { height: 48px; padding: 0 14px; border: 1.5px solid #3A3D44; border-radius: 12px; background: #1D1F23; color: #fff; font: inherit; font-size: 16px; }
.lnc .lnp-aud-lock__card input:focus { outline: 0; border-color: var(--lnc-mint); }
.lnp-aud-lock__card .lnc-btn { margin-top: 4px; }
.lnp-aud-lock__card .lnc-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.lnp-aud-lock__nota { font-size: 12.5px; color: #8D93A0; text-align: center; }
.lnp-aud-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Completo: secciones y oferta */
.lnp-aud-sec { margin-bottom: 26px; }
.lnp-aud-sec header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--lnc-ink); }
.lnc .lnp-aud-sec h3 { font-family: var(--lnc-display); font-size: 20px; font-weight: 600; }
.lnp-aud-sec header span { font-family: var(--lnc-display); font-size: 20px; font-weight: 700; }
.lnp-aud-sec__blur { display: grid; gap: 10px; filter: blur(4px); opacity: .7; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.lnp-aud-sec__mas { margin-top: -4px !important; font-size: 14px; font-weight: 600; color: var(--lnc-muted, #5B6170); }
.lnp-aud-of { margin-top: 18px; padding: 32px; border-radius: 24px; background: #111214; color: #fff; }
.lnp-aud-of .lnp-aud-k { color: var(--lnc-mint); }
.lnc .lnp-aud-of h3 { font-family: var(--lnc-display); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; color: #fff; }
.lnp-aud-of__intro { margin: 8px 0 20px !important; color: #BFC3CC; max-width: 60ch; }
.lnp-aud-of__it { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; border-top: 1px solid #2A2D35; }
.lnp-aud-of__n { font-weight: 700; font-size: 17px; }
.lnp-aud-of__d { margin-top: 4px !important; font-size: 14.5px; color: #BFC3CC; max-width: 56ch; }
.lnp-aud-of__p { flex: none; font-family: var(--lnc-display); font-size: 22px; font-weight: 700; color: var(--lnc-mint); white-space: nowrap; }
.lnp-aud-of__p small { font-size: 14px; color: #BFC3CC; font-weight: 500; }
.lnp-aud-of__tot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; padding: 16px 18px; border-radius: 14px; background: #1D1F23; }
.lnp-aud-of__tot span { color: #BFC3CC; }
.lnp-aud-of__tot strong { font-size: 17px; }
.lnp-aud-of__vence { margin-top: 10px !important; font-size: 13px; color: #8D93A0; }
.lnp-aud-of__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lnp-aud-of .lnc-btn--ghost { border-color: #fff; color: #fff; }
.lnp-aud-of .lnc-btn--ghost:hover { background: #fff; color: var(--lnc-ink); }

@media (max-width: 900px) {
	.lnp-aud-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lnp-aud-areas .lnp-aud-area:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.lnp-aud__buscar { flex-direction: column; border-radius: 22px; }
	.lnp-aud__campo { padding: 0 8px; }
	.lnp-aud__buscar .lnc-btn { width: 100%; }
	.lnp-aud-r__top { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; }
	.lnp-aud-ring { width: 120px; height: 120px; }
	.lnp-aud-ring strong { font-size: 38px; }
	.lnp-aud-it { grid-template-columns: 12px minmax(0, 1fr); }
	.lnp-aud-it__est { grid-column: 2; justify-self: start; }
	.lnp-aud-lock { min-height: 640px; }
	.lnp-aud-lock__card { top: 16px; padding: 22px; }
	.lnp-aud-of { padding: 22px; }
	.lnp-aud-of__it { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.lnp-aud-ring__fg, .lnp-aud__pasos li.is-on::before, .lnp-aud-spin { animation: none; }
}

/* Link para compartir el informe (solo equipo) */
.lnp-aud-share { margin: 0 0 22px; padding: 16px 18px; border: 1.5px dashed #36D399; border-radius: 16px; background: #F0FBF6; }
.lnp-aud-share__t { margin: 0 0 10px !important; font-size: 14px; color: #08281B; }
.lnp-aud-share__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lnp-aud-share__row input { flex: 1 1 260px; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid #C9CDD3; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: #111214; }
