/* DENUNCIA · La llave militar de Portoviejo: formulario de denuncia llenado a mano. Papel bond blanco, azul bolígrafo, gris de formulario, rojo contenido. */
.fmt--denuncia { --bg: #FAFAF7; --bg-2: #EFF0EE; --fg: #1E2229; --mute: #5F6570; --acc: #1E3D9B; --acc-2: #A8232B; --line-x: rgba(30,34,41,.16); --gris: #C9CCCF; --rojo: #A8232B;
  --f-display: 'Zilla Slab', 'Iowan Old Style', Georgia, serif; --f-body: 'Zilla Slab', 'Iowan Old Style', Georgia, serif; --f-mono: 'Public Sans', 'Helvetica Neue', system-ui, sans-serif; --f-label: 'Public Sans', 'Helvetica Neue', system-ui, sans-serif; --radius: 0; --grano: .08; }
.fmt--denuncia .topbar { background: rgba(250,250,247,.9); }
.fmt--denuncia .footer { background: #16191F; }
.fmt--denuncia ::selection { background: var(--acc); color: #fff; }
.fmt--denuncia .htitle, .fmt--denuncia .cap__title, .fmt--denuncia .fmod__head h2 { font-weight: 700; letter-spacing: -.02em; }
.fmt--denuncia .htitle em, .fmt--denuncia .cap__title em, .fmt--denuncia .fmod__head h2 em { font-style: italic; font-weight: 500; color: var(--acc); }
.fmt--denuncia .kicker, .fmt--denuncia .hkicker, .fmt--denuncia .cap__num { font-weight: 600; letter-spacing: .16em; font-size: 11px; color: var(--mute); }
.fmt--denuncia .hkicker::before { background: var(--acc); }
.fmt--denuncia .ftext { font-size: clamp(17.5px, 1.25vw, 20px); line-height: 1.6; }

/* Etiquetas y letra de bolígrafo: los dos gestos del formato */
.fmt--denuncia label, .fmt--denuncia .form__head, .fmt--denuncia .exp__head { font-family: var(--f-label); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.fmt--denuncia .boli { font-family: var(--f-body); font-style: italic; font-weight: 500; color: var(--acc); }
.casilla { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--fg); }
.casilla i { flex: none; width: 15px; height: 15px; border: 1.5px solid #8C9096; background: #fff; display: grid; place-items: center; font-family: var(--f-body); font-style: normal; font-weight: 700; font-size: 15px; line-height: 1; color: var(--acc); }
.casilla--on i { border-color: var(--acc); }
.casilla--grande { width: 24px; height: 24px; }
.casilla--grande b { font-size: 20px; color: var(--acc); }

/* Portada: el formulario junto al titular */
.hero--denuncia { padding: 110px 0 36px; min-height: 92svh; background: var(--bg); }
.hero--denuncia .hero__grid { align-items: start; }
@media (min-width: 1000px) { .hero--denuncia .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 480px); gap: clamp(40px, 5vw, 80px); } }
.hero--denuncia .htitle { font-size: clamp(50px, 7.4vw, 112px); line-height: .94; text-transform: uppercase; max-width: 11ch; }
.hero--denuncia .hdeck { font-size: clamp(16.5px, 1.25vw, 19.5px); max-width: 54ch; color: #2C313A; }
.hero--denuncia .hby b { color: var(--fg); }
.hero__pie { margin-top: 40px; }
.hero--denuncia .hstats { border-top: 1px solid var(--fg); padding-top: 18px; gap: 14px 44px; }
.hero--denuncia .hstats b { font-family: var(--f-display); font-weight: 600; font-style: italic; color: var(--acc); background: none; padding: 0; }
.hero--denuncia .hstats span { color: var(--mute); }
.fmt--denuncia .hero__art img { opacity: .18; filter: grayscale(1) contrast(1.1); }

.form { position: relative; background: #fff; border: 1px solid var(--gris); padding: 22px 24px 30px; box-shadow: 0 1px 2px rgba(30,34,41,.08), 0 24px 48px -28px rgba(30,34,41,.45); animation: formIn 1s var(--ease-out) .35s both; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@keyframes formIn { from { opacity: 0; transform: translateY(24px) rotate(.6deg); } }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--acc); }
.form__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1.5px solid var(--fg); color: var(--fg); }
.form__head b { font-weight: 600; color: var(--mute); }
.form__campo { grid-column: 1 / -1; display: grid; gap: 6px; }
.form__campo--mitad { grid-column: span 1; }
.form__campo label { display: block; }
.form__campo .boli { display: block; font-size: 17px; line-height: 1.25; padding: 0 2px 5px; border-bottom: 1px solid var(--gris); min-height: 27px; }
.form__campo--area .boli { padding: 5px 2px 0; min-height: 130px; line-height: 26px; border-bottom: 0; background-image: repeating-linear-gradient(transparent 0 25px, var(--gris) 25px 26px); background-position: 0 4px; background-size: 100% 26px; }
.form__casillas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding-top: 4px; }
.cedula { grid-column: 1 / -1; justify-self: end; width: min(100%, 236px); margin: 6px -6px -46px 0; background: #F6F5F0; border: 1px solid #B9BCC2; padding: 9px 11px 10px; transform: rotate(4deg); box-shadow: 0 2px 3px rgba(30,34,41,.12), 0 12px 24px -16px rgba(30,34,41,.5); position: relative; z-index: 2; }
.cedula__head { display: grid; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; }
.cedula__head span { font-size: 7px; color: var(--mute); } .cedula__head b { font-size: 8.5px; font-weight: 700; color: var(--fg); }
.cedula__body { display: grid; grid-template-columns: 46px 1fr; gap: 10px; margin-top: 8px; align-items: start; }
.cedula__foto { display: block; height: 54px; background: linear-gradient(#D7D9DC, #C5C8CC); border: 1px solid #B9BCC2; }
.cedula__lineas { display: grid; gap: 4px; }
.cedula__lineas span { font-family: var(--f-label); font-size: 6.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tachado { display: block; height: 9px; background: #1E2229; border-radius: 1px; }
.tachado--a { width: 86%; } .tachado--b { width: 62%; margin-bottom: 4px; } .tachado--c { width: 54%; }
.cedula__nota { margin: 8px 0 0; font-family: var(--f-body); font-style: italic; font-size: 11px; line-height: 1.25; color: var(--rojo); }
.recibido { position: absolute; right: 18px; top: 46px; z-index: 3; display: grid; justify-items: center; padding: 8px 14px 9px; border: 2.5px solid var(--acc); border-radius: 3px; color: var(--acc); text-align: center; transform: rotate(-9deg); font-family: var(--f-label); text-transform: uppercase; opacity: 0; animation: recibido .45s var(--ease-out) 1.25s forwards; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence baseFrequency='.6' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 -1.1'/></filter><rect width='100%' height='100%' fill='white'/><rect width='100%' height='100%' filter='url(%23g)' opacity='.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence baseFrequency='.6' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 -1.1'/></filter><rect width='100%' height='100%' fill='white'/><rect width='100%' height='100%' filter='url(%23g)' opacity='.5'/></svg>"); }
.recibido b { font-size: 15px; font-weight: 700; letter-spacing: .3em; margin-right: -.3em; }
.recibido span { font-size: 11px; font-weight: 600; letter-spacing: .14em; margin-top: 2px; }
.recibido small { font-size: 7.5px; letter-spacing: .12em; margin-top: 3px; }
@keyframes recibido { from { opacity: 0; transform: rotate(-9deg) scale(1.9); } 70% { opacity: 1; transform: rotate(-9deg) scale(.96); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@media (max-width: 999px) { .form { max-width: 560px; margin-top: 12px; } }
@media (max-width: 480px) { .form { padding: 18px 16px 26px; gap: 14px 12px; } .form__casillas { grid-template-columns: 1fr; } .cedula { margin-bottom: -28px; width: 210px; transform: rotate(3deg); } .recibido { right: 10px; top: 40px; padding: 6px 10px 7px; } .recibido b { font-size: 12px; } .recibido span { font-size: 9.5px; } }

/* Navegación, capítulos, laterales */
.fmt--denuncia .fnav { background: rgba(250,250,247,.95); border-block-color: var(--gris); }
.fmt--denuncia .fnav a { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; }
.fmt--denuncia .fnav a b { font-family: var(--f-label); font-weight: 700; color: var(--acc); }
.fmt--denuncia .fnav a.is-active { border-bottom-color: var(--acc); }
.fmt--denuncia .claves li { border-top-color: var(--acc); font-size: 15.5px; }
.fmt--denuncia .claves li::before { font-family: var(--f-label); font-weight: 700; }
.fmt--denuncia .cap__num { display: inline-block; padding: 5px 9px 4px; border: 1px solid var(--gris); color: var(--fg); background: #fff; }
.fmt--denuncia .cap__title { font-size: clamp(34px, 4.4vw, 62px); line-height: 1; }
.fmt--denuncia .cap + .cap { border-top: 1px solid var(--gris); }
.fmt--denuncia .cap:first-child .ftext > p:first-of-type::first-letter { color: var(--acc); font-weight: 700; }
.fmt--denuncia .estado b { font-family: var(--f-display); font-weight: 600; font-size: 26px; }
.fmt--denuncia .estado--amarillo::before { background: #C98A12; }
.fmt--denuncia .estado p { color: var(--mute); }
.fmt--denuncia .fcita p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.24; color: var(--fg); }
.fmt--denuncia .fcita::before { color: var(--acc); opacity: .22; }
.fmt--denuncia .fcita cite { color: var(--acc); }
.fmt--denuncia .fdato b { font-weight: 600; color: var(--acc); background: none; border-bottom: 3px solid var(--acc); }
.fmt--denuncia .fdato span { font-style: italic; font-weight: 400; color: #2C313A; }
.fmt--denuncia .fdatos2 .fdato b { border-bottom: 0; display: inline-block; background: linear-gradient(transparent 68%, rgba(30,61,155,.14) 68%, rgba(30,61,155,.14) 94%, transparent 94%); }
.fmt--denuncia .margen { border-left-color: var(--acc); }
.fmt--denuncia .vid__meta { border-top-color: var(--acc); }
.fmt--denuncia .vid__rol { color: #9DB0EA; }

/* Módulo característico: la cadena de la denuncia como casillas numeradas */
.exp { border-top: 1.5px solid var(--fg); }
.exp__head { display: none; }
@media (min-width: 900px) { .exp__head { display: grid; grid-template-columns: 78px 150px minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 24px; padding: 10px 0 9px; border-bottom: 1px solid var(--gris); color: var(--mute); } }
.exp__lista { list-style: none; margin: 0; padding: 0; }
.exp__fila { position: relative; display: grid; gap: 14px 24px; grid-template-columns: 1fr; padding: 22px 0 24px; border-bottom: 1px solid var(--gris); }
@media (min-width: 900px) { .exp__fila { grid-template-columns: 78px 150px minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.exp__num { display: flex; align-items: center; gap: 12px; }
.exp__num span { font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--fg); }
.exp__fila label { display: block; margin-bottom: 6px; }
@media (min-width: 900px) { .exp__fila label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.exp__fecha .boli { display: inline-block; font-size: 16px; line-height: 1.2; border-bottom: 1px solid var(--gris); padding-bottom: 4px; }
.exp__hecho h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.12; margin: 0 0 8px; letter-spacing: -.01em; }
.exp__hecho p, .exp__resp p { margin: 0; font-family: var(--f-body); font-size: 15.5px; line-height: 1.5; color: #2C313A; }
.exp__resp { padding: 12px 14px 13px; background: var(--bg-2); border-left: 3px solid var(--acc); }
.exp__resp p { font-style: italic; font-weight: 500; color: var(--acc); }
.exp__resp--sin { border-left-color: var(--gris); border-left-style: dashed; }
.exp__resp--sin p { color: var(--mute); }
.exp__fila[data-tono="rojo"] .exp__hecho h3 { color: var(--rojo); }
.exp__fila[data-tono="rojo"] .casilla i, .exp__fila[data-tono="rojo"] .casilla b { border-color: var(--rojo); color: var(--rojo); }
.exp__fila[data-tono="rojo"] .exp__resp--sin { border-left-color: var(--rojo); }
.exp__fila[data-tono="gris"] .casilla i, .exp__fila[data-tono="gris"] .casilla b { border-color: var(--mute); color: var(--mute); }

/* Módulos genéricos vestidos de formulario */
.fmt--denuncia .fcifras > div { border-top: 1px solid var(--fg); }
.fmt--denuncia .fcifras b { font-weight: 600; font-style: italic; color: var(--acc); }
.fmt--denuncia .ftl { border-left-color: var(--gris); }
.fmt--denuncia .ftl li::before { background: var(--acc); }
.fmt--denuncia .ftl__f { font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: 15px; color: var(--acc); padding-top: 0; }
.fmt--denuncia .ftl b { font-weight: 600; }
.fmt--denuncia .fper { border-bottom-color: var(--gris); }
.fmt--denuncia .fper .badge { color: var(--acc); border-color: var(--acc); border-radius: 0; }
.fmt--denuncia .fper__foto { border-color: var(--acc); }
.fmt--denuncia .fper h3 { font-weight: 600; }
.fmt--denuncia .fresp li { border-left-color: var(--acc); }
.fmt--denuncia .fresp b { color: var(--acc); }
.fmt--denuncia .preguntas { border-top-color: var(--fg); }
.fmt--denuncia .preguntas li { border-bottom-color: var(--gris); font-weight: 500; }
.fmt--denuncia .preguntas li::before { font-family: var(--f-label); font-weight: 700; }
.fmt--denuncia .cierre { border: 1px solid var(--gris); background: #fff; padding: 26px 28px 22px; }
.fmt--denuncia .cierre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--acc); }
.fmt--denuncia .cierre__lineas li { border-bottom: 1px solid var(--gris); font-size: 14px; }
.fmt--denuncia .cierre__lineas b { font-weight: 600; font-style: italic; }
.fmt--denuncia .cierre li[data-estado="si"] b { color: var(--acc); }
.fmt--denuncia .cierre li[data-estado="abierto"] b, .fmt--denuncia .cierre li[data-estado="pendiente"] b { color: var(--rojo); }
.fmt--denuncia .cierre__fecha { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }
.fmt--denuncia .despues { background: var(--bg-2); border-top: 1px solid var(--gris); }
.fmt--denuncia .hito { border-top-color: var(--gris); }
.fmt--denuncia .hito::before { background: var(--acc); }
.fmt--denuncia .hito b { font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: 15px; color: var(--acc); }
.fmt--denuncia .hito h3 { font-weight: 600; }
.fmt--denuncia .fcred dt { color: var(--acc); }
.fmt--denuncia .ffuentes a { text-decoration-color: var(--acc); }
.fmt--denuncia .tablewrap th { border-bottom-color: var(--fg); }
.fmt--denuncia .vid { border-radius: 0; }
@media (max-width: 640px) { .fmt--denuncia .cap__title { font-size: clamp(32px, 9vw, 40px); } .exp__hecho h3 { font-size: 20px; } .hero--denuncia { padding-top: 96px; } .hero--denuncia .htitle { font-size: clamp(44px, 12.5vw, 60px); } }

/* ============================================================
   El formulario no se queda en la portada
   ============================================================ */
.hero--denuncia { min-height: min(92svh, 1000px); }

/* --- La casilla, marcada o en blanco, es la viñeta del formato --- */
.fmt--denuncia .claves li { border-top-color: var(--fg); padding-left: 0; }
.fmt--denuncia .claves li::before { content: ""; display: block; width: 17px; height: 17px; margin-bottom: 12px; border: 1.6px solid var(--acc); background: #fff no-repeat center/11px 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'><path d='M1 4.6 3.7 7.6 10 1' fill='none' stroke='%231E3D9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fmt--denuncia .preguntas li { grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
.fmt--denuncia .preguntas li::before { content: ""; width: 17px; height: 17px; margin-top: 8px; padding: 0; border: 1.6px solid #8C9096; background: #fff; }
.fmt--denuncia .fresp li { position: relative; border-left: 0; padding-left: 30px; }
.fmt--denuncia .fresp li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border: 1.6px solid var(--acc); background: #fff no-repeat center/11px 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'><path d='M1 4.6 3.7 7.6 10 1' fill='none' stroke='%231E3D9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fmt--denuncia .fresp li { padding-bottom: 6px; }
.fmt--denuncia .fresp p { position: relative; }
.fmt--denuncia .hito::before { width: 17px; height: 17px; top: 16px; background: #fff no-repeat center/11px 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'><path d='M1 4.6 3.7 7.6 10 1' fill='none' stroke='%231E3D9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); border: 1.6px solid var(--acc); }
.fmt--denuncia .hito { padding-top: 40px; }
.fmt--denuncia .fper .badge { position: relative; padding-left: 26px; border-color: var(--gris); color: var(--fg); }
.fmt--denuncia .fper .badge::before { content: ""; position: absolute; left: 7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.4px solid var(--acc); background: #fff no-repeat center/9px 7px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'><path d='M1 4.6 3.7 7.6 10 1' fill='none' stroke='%231E3D9B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fmt--denuncia .ffuentes { list-style: none; padding-left: 0; }
.fmt--denuncia .ffuentes li { position: relative; padding-left: 26px; }
.fmt--denuncia .ffuentes li::before { content: ""; position: absolute; left: 0; top: 9px; width: 13px; height: 13px; border: 1.4px solid #8C9096; background: #fff; }

/* --- El sello de recibido, con su fecha --- */
.sello-rec { display: inline-grid; justify-items: center; gap: 2px; padding: 6px 11px 5px; border: 2px solid var(--acc); border-radius: 2px; color: var(--acc);
  font-family: var(--f-label); text-transform: uppercase; text-align: center; transform: rotate(var(--rot, -2deg)); line-height: 1.1; background: rgba(255,255,255,.55);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence baseFrequency='.7' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 -1.05'/></filter><rect width='100%' height='100%' fill='white'/><rect width='100%' height='100%' filter='url(%23g)' opacity='.42'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence baseFrequency='.7' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 -1.05'/></filter><rect width='100%' height='100%' fill='white'/><rect width='100%' height='100%' filter='url(%23g)' opacity='.42'/></svg>"); }
.sello-rec b { font-size: 9px; font-weight: 700; letter-spacing: .26em; margin-right: -.26em; }
.sello-rec i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.sello-rec--sin { border-color: var(--rojo); color: var(--rojo); margin-top: 12px; }

/* --- Cronología: el libro de ingresos --- */
.ingresos { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--fg); }
.ing { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 16px 26px; align-items: start; padding: 20px 0 22px; border-bottom: 1px solid var(--gris); }
.ing__sello { padding-top: 4px; }
.ing__txt label { display: block; margin-bottom: 5px; }
.ing__txt h3 { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.14; margin: 0 0 6px; letter-spacing: -.01em; }
.ing__txt p { margin: 0; font-family: var(--f-body); font-size: 15.5px; line-height: 1.5; color: #2C313A; max-width: 74ch; }
@media (max-width: 640px) { .ing { grid-template-columns: minmax(0, 1fr); gap: 12px; } .ing__sello { justify-self: start; } }

/* --- Las citas, rellenadas a mano en el campo del formulario --- */
.fmt--denuncia .fcita { position: relative; margin: 46px 0; padding: 16px 20px 14px; max-width: 820px; background: #fff; border: 1px solid var(--gris); border-left: 0; border-right: 0; }
.fmt--denuncia .fcita::before { content: "Declaración recogida"; position: static; display: block; margin: 0 0 10px; font-family: var(--f-label); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); opacity: 1; }
.fmt--denuncia .fcita p { font-family: var(--f-body); font-style: italic; font-weight: 500; color: var(--acc); font-size: clamp(19px, 1.9vw, 26px); line-height: 30px; margin: 0 0 14px; padding-top: 2px;
  background-image: repeating-linear-gradient(transparent 0 29px, var(--gris) 29px 30px); background-position: 0 2px; }
.fmt--denuncia .fcita cite { display: block; padding-top: 8px; border-top: 1px solid var(--gris); color: var(--mute); font-weight: 600; }
.fmt--denuncia .fcita cite::before { content: "Firma y origen · "; color: var(--acc); }
@media (max-width: 560px) { .fmt--denuncia .fcita p { font-size: 19px; line-height: 28px; background-image: repeating-linear-gradient(transparent 0 27px, var(--gris) 27px 28px); } }

/* --- Los datos sueltos, escritos en el renglón --- */
.fmt--denuncia .fdato { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 16px; position: relative; }
.fmt--denuncia .fdato::before { content: "Dato del expediente"; display: block; font-family: var(--f-label); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.fmt--denuncia .fdato b { width: max-content; max-width: 100%; }
.fmt--denuncia .fdato span { max-width: 56ch; }
.fmt--denuncia .fdatos2 .fdato::before { content: ""; display: none; }

/* --- El cierre: la última hoja, para uso de la institución --- */
.fmt--denuncia .cierre--form { padding: 0; border: 1px solid var(--gris); background: #fff; }
.fmt--denuncia .cierre--form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--acc); }
.cierre__cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 16px; padding: 16px 22px 10px; border-bottom: 1.5px solid var(--fg); }
.cierre__cab label:last-child { text-align: right; }
.fmt--denuncia .cierre--form .cierre__lineas { padding: 4px 22px 6px; }
.fmt--denuncia .cierre--form .cierre__lineas li { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 8px 16px; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--gris); align-items: baseline; }
.fmt--denuncia .cierre--form .cierre__lineas li:last-child { border-bottom: 0; }
.fmt--denuncia .cierre--form .cierre__lineas li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border: 1.6px solid #8C9096; background: #fff; }
.fmt--denuncia .cierre--form .cierre__lineas li[data-estado="si"]::before, .fmt--denuncia .cierre--form .cierre__lineas li[data-estado="condena"]::before { border-color: var(--acc); background: #fff no-repeat center/11px 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'><path d='M1 4.6 3.7 7.6 10 1' fill='none' stroke='%231E3D9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fmt--denuncia .cierre--form .cierre__lineas li[data-estado="abierto"]::before, .fmt--denuncia .cierre--form .cierre__lineas li[data-estado="pendiente"]::before { border-color: var(--rojo); }
.fmt--denuncia .cierre--form .cierre__lineas span { font-family: var(--f-body); font-size: 15px; line-height: 1.4; color: var(--fg); }
.fmt--denuncia .cierre--form .cierre__lineas b { font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: 15px; text-align: right; }
.cierre__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 22px 18px; border-top: 1.5px solid var(--fg); background: var(--bg-2); }
.fmt--denuncia .cierre--form .cierre__fecha { margin: 0; }
@media (max-width: 560px) { .fmt--denuncia .cierre--form .cierre__lineas li { grid-template-columns: minmax(0, 1fr); } .fmt--denuncia .cierre--form .cierre__lineas b { text-align: left; } }

/* --- El expediente, con su sello de fecha --- */
.exp__fecha .boli { font-family: var(--f-body); }

/* --- Material de la investigación: anexos del expediente --- */
.fmt--denuncia .fmod--material .galeria { gap: 18px; align-items: start; }
.fmt--denuncia .fmod--material .clips, .fmt--denuncia .fmod--material .pubs { align-items: start; }
.fmt--denuncia .galeria__f { background: #fff; border: 1px solid var(--gris); padding: 10px 10px 0; }
.fmt--denuncia .galeria__f::before { content: "Anexo"; position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 8px 3px; background: rgba(255,255,255,.94); border: 1px solid var(--acc);
  font-family: var(--f-label); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
.fmt--denuncia .galeria__btn img { filter: saturate(.82) contrast(1.02); }
.fmt--denuncia .galeria figcaption { padding: 10px 2px 12px; color: #2C313A; font-family: var(--f-label); font-size: 12.5px; border-top: 1px solid var(--gris); margin-top: 10px; }
.fmt--denuncia .galeria figcaption span { color: var(--mute); }
.fmt--denuncia .clip { background: #fff; border: 1px solid var(--gris); padding: 10px; }
.fmt--denuncia .clip figcaption { padding: 10px 0 0; border-top: 1px solid var(--gris); margin-top: 10px; font-family: var(--f-label); color: #2C313A; }
.fmt--denuncia .audio { background: #fff; border: 1px solid var(--gris); border-left: 4px solid var(--acc); padding: 14px 16px; }
.fmt--denuncia .audio__meta b { font-family: var(--f-label); color: var(--fg); }
.fmt--denuncia .audio__meta span { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.fmt--denuncia .docs-mat { gap: 12px; }
.fmt--denuncia .docs-mat a { position: relative; align-items: flex-start; gap: 13px; padding: 15px 16px 15px 15px; background: #fff; border: 1px solid var(--gris); border-top: 3px solid var(--acc); }
.fmt--denuncia .docs-mat a:hover { background: var(--bg-2); }
.fmt--denuncia .docs-mat b { font-family: var(--f-label); font-size: 13.5px; line-height: 1.4; color: var(--fg); }
.fmt--denuncia .docs-mat small { font-family: var(--f-label); letter-spacing: .18em; color: var(--acc); }
.fmt--denuncia .doc__ico { width: 20px; height: 25px; margin-top: 1px; background: var(--acc); }
.fmt--denuncia .pub { background: #fff; border: 1px solid var(--gris); }
.fmt--denuncia .pub__red { color: var(--acc); }
.fmt--denuncia .lbx { background: rgba(20,24,30,.95); }
.fmt--denuncia .lbx figcaption { font-family: var(--f-label); }

/* --- Movimiento reducido: el sello se ve igual --- */
@media (prefers-reduced-motion: reduce) { .fmt--denuncia .recibido { opacity: 1 !important; transform: rotate(-9deg) !important; } }

/* La casilla grande del expediente es la casilla misma, no un contenedor */
.casilla--grande { width: 24px; height: 24px; border: 1.6px solid var(--acc); background: #fff; display: grid; place-items: center; }
.casilla--grande b { font-family: var(--f-body); font-style: normal; font-weight: 700; font-size: 18px; line-height: 1; color: var(--acc); }
.exp__fila[data-tono="rojo"] .casilla--grande { border-color: var(--rojo); }
.exp__fila[data-tono="rojo"] .casilla--grande b { color: var(--rojo); }
.exp__fila[data-tono="gris"] .casilla--grande { border-color: var(--mute); }
.exp__fila[data-tono="gris"] .casilla--grande b { color: var(--mute); }
