/* Árbitros CxM FDMCM · aplicación (panel de gestión y panel del árbitro)
   Aspecto de aplicación de gestión: barra superior oscura, miga de pan, pestañas subrayadas,
   secciones plegables y tablas compactas, con el rojo de la federación como color de acento. */
.acx-app {
	--acx-rojo: #a51d2d;
	--acx-rojo-osc: #7f1522;
	--acx-rojo-f: #fdecec;
	--acx-barra: #1c1d1f;
	--acx-cab-tabla: #2b2e33;
	--acx-tinta: #1f2328;
	--acx-gris: #5b6470;
	--acx-linea: #d9dce1;
	--acx-fondo: #f1f2f4;
	--acx-verde: #1f6f43;
	--acx-verde-f: #e6f4ec;
	--acx-ambar-f: #fff3dc;
	max-width: 1280px; margin: 0 auto; color: var(--acx-tinta); font-size: 14.5px; line-height: 1.45;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--acx-fondo); padding: 0 0 22px; border: 1px solid var(--acx-linea);
}
.acx-app *, .acx-app *::before, .acx-app *::after { box-sizing: border-box; }
.acx-app h1, .acx-app h2, .acx-app h3 { color: var(--acx-tinta); line-height: 1.25; letter-spacing: 0; }
.acx-app a { color: var(--acx-rojo); }
.acx-app > *:not(.acx-cab) { margin-left: 18px; margin-right: 18px; }

/* Barra superior */
.acx-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--acx-barra); color: #fff; padding: 10px 18px; border-bottom: 3px solid var(--acx-rojo); }
.acx-cab-titulo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acx-cab-marca { color: #ff6b7a; font-weight: 800; font-size: 17px; letter-spacing: .02em; padding-right: 12px; border-right: 1px solid #55585e; }
.acx-cab-app { font-weight: 700; font-size: 15px; white-space: nowrap; }
.acx-cab-usuario { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.acx-app .acx-cab-usuario a { color: #fff; text-decoration: none; border: 1px solid #6a6d73; border-radius: 999px; padding: 3px 12px; }
.acx-app .acx-cab-usuario a:hover { border-color: #fff; }

/* Miga de pan y título */
.acx-app .acx-miga { margin-top: 12px; margin-bottom: 0; font-size: 13px; color: var(--acx-gris); }
.acx-app .acx-miga a { color: var(--acx-rojo-osc); text-decoration: underline; }
.acx-miga i { font-style: normal; margin: 0 8px; color: #9aa0a8; }
.acx-app h1.acx-titulo { font-size: 22px; font-weight: 700; margin-top: 8px; margin-bottom: 10px; padding: 0; }

/* Pestañas */
.acx-nav { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--acx-linea); margin-bottom: 14px; }
.acx-app .acx-nav a { white-space: nowrap; text-decoration: none; color: var(--acx-gris); font-weight: 600; font-size: 14px; padding: 9px 16px 8px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.acx-app .acx-nav a:hover { color: var(--acx-tinta); }
.acx-app .acx-nav a.acx-activa { color: var(--acx-tinta); border-bottom-color: var(--acx-rojo); }

/* Indicadores */
.acx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.acx-kpi { display: block; background: #fff; border: 1px solid var(--acx-linea); border-left: 4px solid var(--acx-cab-tabla); padding: 10px 14px; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.acx-app a.acx-kpi:hover { border-color: var(--acx-rojo); border-left-color: var(--acx-rojo); }
.acx-kpi-num { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--acx-tinta); }
.acx-kpi-txt { display: block; margin-top: 3px; font-size: 12.5px; color: var(--acx-gris); }
.acx-kpi-ok { border-left-color: var(--acx-verde); }
.acx-kpi-aviso { border-left-color: #d98a00; }
.acx-kpi-alerta { border-left-color: #c62828; }
.acx-kpi-alerta .acx-kpi-num { color: #c62828; }

/* Secciones plegables */
.acx-bloque { background: #fff; border: 1px solid var(--acx-linea); box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 12px 16px 16px; margin-bottom: 14px; }
.acx-bloque-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.acx-app .acx-bloque-cab h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--acx-rojo-osc); cursor: pointer; user-select: none; flex: 1 1 auto; position: relative; padding-right: 26px; }
.acx-app .acx-bloque-cab h2::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--acx-gris); border-bottom: 2px solid var(--acx-gris); transform: translateY(-2px) rotate(-135deg); transition: transform .15s; }
.acx-app .acx-plegado .acx-bloque-cab h2::after { transform: translateY(-6px) rotate(45deg); }
.acx-app .acx-bloque-cab h2:focus-visible { outline: 2px solid var(--acx-rojo); outline-offset: 3px; }
.acx-bloque-cab h2 small { font-size: 12.5px; font-weight: 600; color: var(--acx-gris); margin-left: 8px; }
.acx-bloque-cab h2 .acx-chip { vertical-align: 2px; margin-left: 6px; }
.acx-plegado { padding-bottom: 12px; }
.acx-plegado .acx-bloque-cab { margin-bottom: 0; }
.acx-plegado > *:not(.acx-bloque-cab) { display: none; }
.acx-app .acx-sep { font-size: 13px; font-weight: 700; color: var(--acx-tinta); margin: 18px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--acx-linea); }
.acx-caja { background: #fff; border: 1px solid var(--acx-linea); border-left: 4px solid var(--acx-rojo); padding: 14px 16px; margin-bottom: 14px; }
.acx-app .acx-caja h2, .acx-app .acx-caja h3 { margin: 0 0 6px; font-size: 16px; }
.acx-login { max-width: 440px; margin-top: 22px; }
.acx-vacio { color: var(--acx-gris); background: var(--acx-fondo); padding: 12px 14px; margin: 0; }
.acx-app .acx-saludo { font-size: 14.5px; margin-top: 0; margin-bottom: 12px; color: var(--acx-gris); }
.acx-nota { color: var(--acx-gris); font-size: 13px; }

/* Esquema de inicio */
.acx-flujo { padding: 6px 4px 2px; overflow-x: auto; }
.acx-flujo-linea { display: flex; align-items: flex-start; gap: 0; min-width: 560px; }
.acx-flujo-linea .acx-paso { flex: 1 1 0; position: relative; }
.acx-flujo-linea .acx-paso + .acx-paso::before { content: ""; position: absolute; top: 26px; left: -50%; width: 100%; height: 3px; background: #c9cdd3; z-index: 0; margin-left: 30px; width: calc(100% - 60px); }
.acx-flujo-rama { display: flex; gap: 0; margin-top: 4px; padding-top: 22px; position: relative; width: 40%; min-width: 224px; }
.acx-flujo-rama::before { content: ""; position: absolute; top: 0; left: 25%; height: 12px; border-left: 2px solid #c9cdd3; }
.acx-flujo-rama::after { content: ""; position: absolute; top: 12px; left: 25%; width: 50%; height: 10px; border: 2px solid #c9cdd3; border-bottom: 0; }
.acx-flujo-rama .acx-paso { flex: 1 1 0; }
.acx-app .acx-paso { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--acx-tinta); padding: 0 4px 8px; }
.acx-paso-ico { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 6px; background: var(--acx-rojo); color: #fff; }
.acx-flujo-rama .acx-paso-ico { background: #fff; color: var(--acx-cab-tabla); border: 2px solid var(--acx-cab-tabla); }
.acx-app a.acx-paso:hover .acx-paso-ico { background: var(--acx-rojo-osc); color: #fff; border-color: var(--acx-rojo-osc); }
.acx-paso-pend .acx-paso-ico { background: #e3e5e9; color: #8a9099; }
.acx-paso-tit { margin-top: 7px; font-weight: 700; font-size: 13.5px; }
.acx-paso-det { font-size: 12px; color: var(--acx-gris); }

/* Etiquetas */
.acx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acx-chip { display: inline-block; background: #eceef1; color: #3c434a; border-radius: 3px; padding: 1px 7px; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.acx-chip-tipo { background: #f4e3e5; color: var(--acx-rojo-osc); }
.acx-chip-ok { background: var(--acx-verde-f); color: var(--acx-verde); }
.acx-chip-falta { background: var(--acx-rojo-f); color: #b3261e; }
.acx-chip-gris { background: #eceef1; color: #6b7280; }

/* Botones en píldora */
.acx-app .acx-btn { display: inline-block; cursor: pointer; text-decoration: none; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.3;
	padding: 7px 18px; border-radius: 999px; border: 1.5px solid #8f959d; background: #fff; color: var(--acx-tinta); }
.acx-app .acx-btn:hover { border-color: var(--acx-tinta); }
.acx-app .acx-btn-pri { border-color: var(--acx-rojo); color: var(--acx-rojo-osc); border-width: 2px; padding: 6.5px 20px; }
.acx-app .acx-btn-pri:hover { background: var(--acx-rojo); border-color: var(--acx-rojo); color: #fff; }
.acx-app button.acx-btn-pri { background: var(--acx-rojo); color: #fff; }
.acx-app button.acx-btn-pri:hover { background: var(--acx-rojo-osc); border-color: var(--acx-rojo-osc); }
.acx-app .acx-enlace-peligro { background: none; border: 0; padding: 0; color: #b3261e; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }

/* Avisos */
.acx-aviso { border-left: 4px solid #72777c; background: #fff; border-top: 1px solid var(--acx-linea); border-right: 1px solid var(--acx-linea); border-bottom: 1px solid var(--acx-linea); padding: 10px 14px; margin-top: 0; margin-bottom: 12px; }
.acx-aviso ul { margin: 6px 0 0 20px; padding: 0; list-style: disc; }
.acx-aviso p { margin: 0 0 8px; }
.acx-aviso-ok { border-left-color: var(--acx-verde); background: var(--acx-verde-f); }
.acx-aviso-error { border-left-color: #b3261e; background: var(--acx-rojo-f); }
.acx-aviso-datos { border-left-color: #d98a00; background: var(--acx-ambar-f); }

/* Datos de la prueba */
.acx-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 22px; margin: 0 0 14px; }
.acx-datos dt { font-size: 12px; color: var(--acx-gris); font-weight: 700; }
.acx-datos dd { margin: 1px 0 0; font-weight: 600; }

/* Tablas compactas */
.acx-tabla-caja { overflow-x: auto; margin-bottom: 12px; border: 1px solid var(--acx-linea); }
.acx-app table.acx-tabla { width: 100%; border-collapse: collapse; margin: 0; font-size: 13.5px; border: 0; }
.acx-app .acx-tabla th { text-align: left; background: var(--acx-cab-tabla); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 10px; border: 0; border-right: 1px solid #4a4e55; white-space: nowrap; }
.acx-app .acx-tabla th:last-child { border-right: 0; }
.acx-app .acx-tabla td { padding: 6px 10px; border: 0; border-bottom: 1px solid #e6e8eb; vertical-align: middle; background: #fff; color: var(--acx-tinta); }
.acx-app .acx-tabla tbody tr:nth-child(even) td { background: #f7f8f9; }
.acx-app .acx-tabla tbody tr:hover td { background: #fbeff0; }
.acx-app .acx-tabla tr:last-child td { border-bottom: 0; }
.acx-app .acx-tabla a { text-decoration: none; font-weight: 600; }
.acx-app .acx-tabla a:hover { text-decoration: underline; }
.acx-c-fecha { white-space: nowrap; }
.acx-c-fecha strong { font-weight: 600; }
.acx-c-fecha span { display: block; font-size: 12px; color: var(--acx-gris); }
.acx-c-cuando { white-space: nowrap; font-weight: 600; color: var(--acx-gris); }
.acx-c-cuando.acx-urgente { color: #c62828; }
.acx-app .acx-tabla tr.acx-pasada td { color: #7a828c; }
.acx-acciones { white-space: nowrap; }
.acx-tabla-import input[type="text"] { width: 100%; min-width: 120px; padding: 4px 7px; border: 1px solid #8c8f94; border-radius: 3px; font-size: 13.5px; }
.acx-filtros { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.acx-app .acx-filtros a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--acx-gris); padding: 3px 12px; border-radius: 999px; border: 1px solid var(--acx-linea); background: #fff; }
.acx-app .acx-filtros a.acx-activa { background: var(--acx-cab-tabla); border-color: var(--acx-cab-tabla); color: #fff; }

/* Formularios */
.acx-form { margin: 0; }
.acx-app fieldset.acx-grupo { border: 0; border-top: 1px solid var(--acx-linea); padding: 6px 0 8px; margin: 0 0 12px; min-width: 0; }
.acx-app .acx-grupo legend { font-weight: 700; padding: 0 10px 0 0; font-size: 14.5px; width: auto; color: var(--acx-tinta); }
.acx-app fieldset.acx-solo-lectura { border: 0; padding: 0; margin: 0; }
.acx-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.acx-campo { margin: 8px 0; }
.acx-app .acx-campo label, .acx-campo .acx-etiqueta { display: block; font-weight: 700; margin-bottom: 3px; font-size: 12.5px; color: var(--acx-tinta); }
.acx-app .acx-campo input[type="text"], .acx-app .acx-campo input[type="email"], .acx-app .acx-campo input[type="tel"], .acx-app .acx-campo input[type="date"],
.acx-app .acx-campo input[type="time"], .acx-app .acx-campo input[type="number"], .acx-app .acx-campo input[type="url"], .acx-app .acx-campo input[type="password"],
.acx-app .acx-campo input[type="file"], .acx-app .acx-campo select, .acx-app .acx-campo textarea {
	width: 100%; max-width: 100%; padding: 6px 9px; border: 1px solid #8c8f94; border-radius: 3px; font: inherit; font-size: 14.5px; background: #fff; color: var(--acx-tinta); min-height: 36px; height: auto; line-height: 1.4; }
.acx-app .acx-campo input:focus, .acx-app .acx-campo select:focus, .acx-app .acx-campo textarea:focus { outline: 2px solid var(--acx-rojo); outline-offset: 0; border-color: var(--acx-rojo); }
.acx-app .acx-campo .acx-check, .acx-app .acx-checks label { display: inline-block; font-weight: 400; font-size: 14px; margin: 0 18px 6px 0; }
.acx-app .acx-campo input[type="checkbox"] { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; accent-color: var(--acx-rojo); }
.acx-ayuda { display: block; color: var(--acx-gris); font-size: 12px; margin-top: 2px; }
.acx-app .acx-subtitulo { margin: 14px 0 2px; font-size: 14px; }
.acx-app fieldset[disabled] input, .acx-app fieldset[disabled] select { background: var(--acx-fondo); }

.acx-recorrido { border: 1px solid var(--acx-linea); border-left: 4px solid var(--acx-cab-tabla); padding: 2px 12px; margin: 10px 0; background: #fafbfc; }
.acx-app .acx-quitar-recorrido, .acx-app .button-link-delete { background: none; border: 0; padding: 0; color: #b3261e; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.acx-app #acx-anadir-recorrido { cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 18px; border-radius: 999px; border: 1.5px solid #8f959d; background: #fff; color: var(--acx-tinta); }
.acx-app .description { color: var(--acx-gris); font-size: 13px; }

/* Equipo arbitral */
.acx-asig { display: grid; gap: 0; margin-bottom: 8px; border: 1px solid var(--acx-linea); }
.acx-asig-fila { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr 1fr; gap: 0 14px; align-items: end; padding: 2px 12px; border-bottom: 1px solid #e6e8eb; }
.acx-asig-fila:nth-child(even) { background: #f7f8f9; }
.acx-asig-fila:last-child { border-bottom: 0; }
.acx-asig-estado { font-size: 12.5px; color: var(--acx-gris); margin: 8px 0 12px; }

/* Acceso (formulario de WordPress) */
.acx-app #loginform p { margin: 10px 0; }
.acx-app #loginform label { display: block; font-weight: 700; font-size: 12.5px; margin-bottom: 3px; }
.acx-app #loginform input[type="text"], .acx-app #loginform input[type="password"] { width: 100%; padding: 8px 10px; border: 1px solid #8c8f94; border-radius: 3px; font-size: 15px; }
.acx-app #loginform input[type="submit"] { background: var(--acx-rojo); color: #fff; border: 0; border-radius: 999px; padding: 9px 24px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.acx-app #loginform .login-remember label { display: inline; font-weight: 400; font-size: 14px; }

/* Móvil: las tablas pasan a fichas */
@media (max-width: 760px) {
	.acx-app { font-size: 15px; border-left: 0; border-right: 0; }
	.acx-app > *:not(.acx-cab) { margin-left: 12px; margin-right: 12px; }
	.acx-cab { padding: 9px 12px; }
	.acx-bloque { padding: 10px 12px 14px; }
	.acx-asig-fila { grid-template-columns: 1fr; padding: 4px 12px; }
	.acx-asig-estado { margin: 0 0 10px; }
	.acx-flujo-rama { width: 100%; }
	.acx-tabla-caja { border: 0; overflow: visible; }
	.acx-app .acx-tabla thead { display: none; }
	.acx-app .acx-tabla, .acx-app .acx-tabla tbody, .acx-app .acx-tabla tr, .acx-app .acx-tabla td { display: block; width: 100%; }
	.acx-app .acx-tabla tr { border: 1px solid var(--acx-linea); border-left: 4px solid var(--acx-cab-tabla); margin-bottom: 8px; padding: 6px 10px; background: #fff; }
	.acx-app .acx-tabla td, .acx-app .acx-tabla tbody tr:nth-child(even) td, .acx-app .acx-tabla tbody tr:hover td { border: 0; padding: 3px 0; background: transparent; }
	.acx-app .acx-tabla td:empty { display: none; }
	.acx-app .acx-tabla td[data-t]::before { content: attr(data-t) ": "; font-weight: 700; color: var(--acx-gris); font-size: 12px; }
	.acx-app .acx-tabla td[data-t="Prueba"]::before, .acx-app .acx-tabla td[data-t="Árbitro"]::before { content: none; }
	.acx-app .acx-tabla td[data-t="Prueba"], .acx-app .acx-tabla td[data-t="Árbitro"] { font-size: 16px; }
	.acx-c-fecha span { display: inline; margin-left: 6px; }
	.acx-app .acx-campo input[type="text"], .acx-app .acx-campo input[type="email"], .acx-app .acx-campo input[type="tel"], .acx-app .acx-campo input[type="date"],
	.acx-app .acx-campo input[type="time"], .acx-app .acx-campo input[type="number"], .acx-app .acx-campo input[type="url"], .acx-app .acx-campo select, .acx-app .acx-campo textarea { font-size: 16px; min-height: 42px; }
}

/* Dentro del escritorio de WordPress */
.wrap > .acx-app { margin: 16px 0 0; }

/* Ocultar la cabecera del tema en la página de arbitraje (si se marca en Ajustes). */
body.acx-sin-cabecera #masthead, body.acx-sin-cabecera header.site-header, body.acx-sin-cabecera .site-header,
body.acx-sin-cabecera .elementor-location-header, body.acx-sin-cabecera .ehf-header, body.acx-sin-cabecera #page > header,
body.acx-sin-cabecera > header, body.acx-sin-cabecera .ast-main-header-wrap { display: none !important; }

/* Menú de la web de la federación, dentro de la barra oscura */
.acx-app > .acx-webnav { margin: 0; background: #2b2e33; border-bottom: 1px solid #44484f; position: relative; z-index: 20; }
.acx-webnav-boton { display: none; }
.acx-app .acx-webnav-lista { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-wrap: wrap; gap: 0; }
.acx-app .acx-webnav-lista li { position: relative; margin: 0; padding: 0; list-style: none; }
.acx-app .acx-webnav-lista a { display: block; color: #e9eaec; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 9px 12px; white-space: nowrap; }
.acx-app .acx-webnav-lista a:hover, .acx-app .acx-webnav-lista a:focus { color: #fff; background: #3a3e45; }
.acx-app .acx-webnav-lista .current-menu-item > a, .acx-app .acx-webnav-lista .current-menu-ancestor > a { color: #fff; box-shadow: inset 0 -3px 0 var(--acx-rojo); }
.acx-app .acx-webnav-lista .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #2b2e33; list-style: none; margin: 0; padding: 4px 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); z-index: 30; }
.acx-app .acx-webnav-lista li:hover > .sub-menu, .acx-app .acx-webnav-lista li:focus-within > .sub-menu { display: block; }
.acx-app .acx-webnav-lista .sub-menu a { white-space: normal; font-weight: 500; }
.acx-app .acx-webnav-lista .menu-item-has-children > a::after { content: " ▾"; font-size: 11px; }
@media (max-width: 760px) {
	.acx-app .acx-webnav-boton { display: block; width: 100%; text-align: left; background: none; border: 0; color: #e9eaec; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; cursor: pointer; }
	.acx-app .acx-webnav-boton::after { content: " ▾"; }
	.acx-app .acx-webnav-lista { display: none; flex-direction: column; padding: 0 0 6px; }
	.acx-app .acx-webnav.acx-abierto .acx-webnav-lista { display: flex; }
	.acx-app .acx-webnav-lista .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.acx-app .acx-webnav-lista a { white-space: normal; }
}

/* Textos largos y documentación */
.acx-texto { margin: 0 0 8px; }
.acx-tabla-docs input[type="file"] { font-size: 13px; max-width: 230px; }
.acx-subir { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acx-buscar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.acx-buscar .acx-campo { flex: 1 1 260px; margin: 0; }

/* Barra superior en pantallas estrechas: que el nombre no pise el título */
@media (max-width: 520px) {
	.acx-cab-titulo { flex: 1 1 auto; overflow: hidden; }
	.acx-cab-app { overflow: hidden; text-overflow: ellipsis; }
	.acx-cab-usuario { flex: 0 0 auto; }
	.acx-cab-usuario span { display: none; }
}

/* Logo y temporada en la barra */
.acx-cab-logo { height: 46px; width: auto; display: block; margin: -4px 2px -4px 0; }
.acx-cab-temporada { font-size: 13px; font-weight: 600; color: #c9ccd1; padding-left: 12px; border-left: 1px solid #55585e; white-space: nowrap; }
.acx-logo-previa img { max-height: 60px; width: auto; background: #1c1d1f; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 520px) { .acx-cab-temporada { display: none; } .acx-cab-logo { height: 36px; } }

/* Página a pantalla completa (plantilla propia del plugin) */
body.acx-pantalla-completa { margin: 0; background: #e9eaed; }
.acx-plantilla { padding: 18px 16px 40px; }
@media (max-width: 760px) { .acx-plantilla { padding: 0 0 30px; } }

/* Certificado de revisión: formulario */
.acx-pregunta { padding: 10px 0 4px; border-bottom: 1px solid #eceef1; }
.acx-pregunta:last-child { border-bottom: 0; }
.acx-app .acx-pregunta-texto { margin: 0 0 6px; font-weight: 600; }
.acx-pregunta-texto .acx-ayuda { font-weight: 400; }
.acx-num { display: inline-block; min-width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 3px; background: var(--acx-cab-tabla); color: #fff; font-size: 12px; margin-right: 6px; }
.acx-sino { display: flex; gap: 8px; margin: 0 0 4px; }
.acx-app .acx-sino label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #8f959d; border-radius: 999px; padding: 6px 18px; cursor: pointer; font-weight: 600; background: #fff; }
.acx-app .acx-sino input { accent-color: var(--acx-rojo); width: 16px; height: 16px; margin: 0; }
.acx-app .acx-sino label.acx-sino-si:has(input:checked) { background: var(--acx-verde-f); border-color: var(--acx-verde); color: var(--acx-verde); }
.acx-app .acx-sino label.acx-sino-no:has(input:checked) { background: var(--acx-rojo-f); border-color: #b3261e; color: #b3261e; }
.acx-pregunta .acx-campo { margin-top: 4px; }
.acx-declaracion { background: var(--acx-fondo); padding: 10px 12px; border-left: 3px solid var(--acx-cab-tabla); }
.acx-acciones-form { position: sticky; bottom: 0; background: rgba(241,242,244,.96); padding: 10px 0; margin: 0; border-top: 1px solid var(--acx-linea); z-index: 5; }

/* Certificado de revisión: versión de lectura e impresión */
.acx-documento { background: #fff; border: 1px solid var(--acx-linea); padding: 22px 26px; max-width: 900px; }
.acx-doc-cab { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--acx-rojo); padding-bottom: 10px; }
.acx-doc-cab img { height: 64px; width: auto; }
.acx-doc-cab strong { display: block; font-size: 15px; }
.acx-doc-cab span { display: block; font-size: 13px; color: var(--acx-gris); }
.acx-app .acx-doc-titulo { font-size: 19px; text-align: center; margin: 16px 0 8px; color: var(--acx-tinta); }
.acx-app .acx-documento h3 { font-size: 14.5px; margin: 16px 0 6px; padding: 4px 8px; background: var(--acx-cab-tabla); color: #fff; }
.acx-doc-datos { margin-bottom: 6px; }
.acx-doc-tabla { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.acx-doc-tabla td { border-bottom: 1px solid #e6e8eb; padding: 5px 6px; vertical-align: top; }
.acx-doc-num { width: 26px; color: var(--acx-gris); }
.acx-doc-resp { width: 46px; text-align: center; font-weight: 700; }
.acx-doc-si { color: var(--acx-verde); }
.acx-doc-no { color: #b3261e; }
.acx-doc-obs { display: block; color: var(--acx-gris); font-size: 12.5px; margin-top: 2px; }
.acx-firmas { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 26px; }
.acx-firmas > div { border-top: 1px solid #555; padding-top: 6px; min-height: 90px; display: flex; flex-direction: column; font-size: 13px; }
.acx-firmas span { color: var(--acx-gris); text-transform: uppercase; font-size: 11.5px; letter-spacing: .04em; }
.acx-firmas em { color: var(--acx-gris); font-style: normal; font-size: 12px; }
.acx-firmas i { font-style: normal; margin-top: auto; color: var(--acx-gris); }

@media print {
	#wpadminbar, .acx-cab, .acx-webnav, .acx-nav, .acx-miga, .acx-titulo, .acx-no-imprimir, .acx-aviso-ok { display: none !important; }
	html { margin-top: 0 !important; }
	body, body.acx-pantalla-completa { background: #fff !important; }
	.acx-plantilla { padding: 0 !important; }
	.acx-app { border: 0; background: #fff; max-width: none; padding: 0; }
	.acx-app > *:not(.acx-cab) { margin: 0; }
	.acx-documento { border: 0; padding: 0; max-width: none; }
	.acx-app .acx-documento h3 { -webkit-print-color-adjust: exact; print-color-adjust: exact; break-after: avoid; }
	.acx-doc-tabla tr, .acx-firmas { break-inside: avoid; }
}

/* Acta de competición */
.acx-app .acx-mini { cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; border: 1px solid #b8bdc4; background: #fff; color: var(--acx-gris); margin-top: 4px; }
.acx-app .acx-mini:hover { border-color: var(--acx-tinta); color: var(--acx-tinta); }
.acx-tabla-part input, .acx-tabla-penal input { width: 100%; min-width: 70px; padding: 5px 8px; border: 1px solid #8c8f94; border-radius: 3px; font: inherit; font-size: 14.5px; }
.acx-tabla-part tfoot th { background: var(--acx-fondo); color: var(--acx-tinta); font-size: 13.5px; }
.acx-tot-fila { font-weight: 700; }
.acx-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 8px; }
.acx-foto { margin: 0; border: 1px solid var(--acx-linea); padding: 6px; background: #fafbfc; }
.acx-foto img { width: 100%; height: 120px; object-fit: cover; display: block; margin-bottom: 6px; }
.acx-foto input[type="text"] { width: 100%; padding: 4px 6px; border: 1px solid #8c8f94; border-radius: 3px; font-size: 13px; }
.acx-app .acx-documento h4 { font-size: 13.5px; margin: 10px 0 2px; }
.acx-doc-titulo small { display: block; font-size: 16px; font-weight: 600; color: var(--acx-gris); margin-top: 4px; }
.acx-doc-part th, .acx-doc-part td { text-align: center; }
.acx-doc-part td:first-child { text-align: left; }
.acx-doc-tabla thead th, .acx-doc-tabla tfoot th { background: var(--acx-fondo); font-size: 12.5px; padding: 5px 6px; border-bottom: 1px solid var(--acx-linea); }
.acx-doc-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acx-doc-fotos figure { margin: 0; break-inside: avoid; }
.acx-doc-fotos img { width: 100%; height: auto; display: block; }
.acx-doc-fotos figcaption { font-size: 12px; color: var(--acx-gris); margin-top: 3px; }
.acx-url { word-break: break-all; font-size: 13px; }
.acx-doc-lugar { margin-top: 22px; }
@media print { .acx-salto { break-before: page; } .acx-mini { display: none !important; } }
.acx-doc-part { break-inside: avoid; }
.acx-doc-part tfoot { display: table-row-group; }
@media (max-width: 760px) {
	.acx-app .acx-tabla-part tfoot, .acx-app .acx-tabla-part tfoot tr { display: flex; width: 100%; }
	.acx-app .acx-tabla-part tfoot th { flex: 1 1 0; text-align: center; background: var(--acx-cab-tabla); color: #fff; }
	.acx-app .acx-tabla-part tfoot th:first-child { flex: 1.4 1 0; text-align: left; }
}

/* Pruebas de test y zona de borrado */
.acx-chip-test { background: #fff1c2; color: #7a5200; border: 1px dashed #c99a00; }
.acx-test-check { background: #fff8e1; padding: 6px 10px; border: 1px dashed #c99a00; }
.acx-peligro { border-left: 4px solid #b3261e; }
.acx-app .acx-peligro .acx-bloque-cab h2 { color: #b3261e; }
.acx-app .acx-btn-peligro { border-color: #b3261e; color: #b3261e; }
.acx-app .acx-btn-peligro:hover { background: #b3261e; color: #fff; }

/* 0.8.2 · Vaciar documentos y acta de homologación */
.acx-vaciar { margin-top: 10px; font-size: 13px; }
.acx-vaciar summary { cursor: pointer; color: #9a1c1c; display: inline-block; }
.acx-vaciar form { margin-top: 8px; padding: 10px 12px; border: 1px solid #f0c8c8; border-radius: 6px; background: #fff7f7; }
.acx-tabla-podio input { width: 100%; min-width: 90px; }
.acx-doc-resultado { margin: 18px 0 8px; padding: 10px 14px; border: 2px solid #1f2328; text-align: center; font-size: 15px; }
.acx-doc-resultado strong { letter-spacing: .04em; }
@media print { .acx-doc-resultado { break-inside: avoid; } }

/* Firmas de los informes */
.acx-firmas { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.acx-firma-img { display: block; max-width: 100%; max-height: 70px; margin: 4px 0; }
.acx-firma-sello { display: inline-block; border: 1.5px solid #1a7f37; color: #1a7f37; border-radius: 4px; padding: 2px 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.acx-firma-form { margin-top: 14px; }
.acx-firma-lienzo { display: block; width: 100%; max-width: 600px; aspect-ratio: 3 / 1; border: 1px dashed #8c8f94; border-radius: 4px; background: #fff; touch-action: none; cursor: crosshair; }
.acx-firma-panel[hidden] { display: none; }
.acx-firma-panel ol { padding-left: 20px; }
.acx-firma-panel li { margin-bottom: 6px; }
