/* Progre · pulido (igual criterio que SIC): línea dorada arriba en todos los encabezados, sin margen alrededor,
   enlaces de volver prolijos, sin recuadros vacíos y tarjetas de clases guardadas legibles. */
html body header.centered-header{border-top:4px solid #c53f4c!important}
html body:has(>header.centered-header){margin:0!important}
html body #status:empty{display:none!important}
html body main>a:first-child{display:block!important;width:fit-content;margin:0 0 10px!important;font-size:13px!important;font-weight:600!important;color:#e0f3e8!important;text-decoration:none!important}
html body main>a:first-child:hover{text-decoration:underline!important}
/* Planificación: las clases guardadas eran blancas con letra blanca. */
html body #sessions .session{background:#1b5a36!important;border:1px solid #5ca67c!important;border-top:3px solid #c53f4c!important;color:#f7fefa!important}
html body #sessions .session small{color:#f2c4c9!important;letter-spacing:.3px}
html body #sessions .session h2{color:#fff!important}
html body #sessions .session p{color:#e0f3e8!important}
/* Categorías (administradores): solo un botón chico "✎ Editar categorías"; el formulario se abre al tocarlo. */
html body #gestion-categorias{margin-top:8px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body #gestion-categorias>summary{display:inline-flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding:7px 14px;font-size:13px;font-weight:600;letter-spacing:.2px;color:#fff;background:linear-gradient(135deg,#2a7e4e,#16502f);border:1px solid #7bb695;border-top:2px solid #c53f4c;border-radius:10px;box-shadow:0 3px 10px #310b1820;transition:transform .15s,box-shadow .15s,border-color .15s;user-select:none}
html body #gestion-categorias>summary::-webkit-details-marker{display:none}
html body #gestion-categorias>summary span{color:#f2c4c9}
html body #gestion-categorias>summary:hover{transform:translateY(-2px);border-color:#f2c4c9;box-shadow:0 6px 14px #310b1830}
html body #gestion-categorias>summary:focus-visible{outline:2px solid #c53f4c;outline-offset:2px}
html body #gestion-categorias[open]>summary{background:#1b5a36;border-color:#5ca67c;border-top-color:#c53f4c}
html body #gestion-categorias .cat-panel{margin-top:12px;padding:18px;background:#247547;border:1px solid #5ca67c;border-radius:14px;color:#f7fefa}
html body #gestion-categorias .cat-panel h2{margin-top:0}
@media(prefers-reduced-motion:reduce){html body #gestion-categorias>summary{transition:none}html body #gestion-categorias>summary:hover{transform:none}}
/* Video · línea de tiempo con los colores de Progre. */
html body .xml-linea .xl-barra strong{color:#1b5a36!important}
html body .xml-linea .xl-info{color:#4a7a5f!important}
html body .xl-divisor,html body .xl-divisor .xl-et{background:#1b5a36!important;color:#e0f3e8!important}
html body .xl-cabezal,html body .xl-cabezal::before{background:#c53f4c!important}
/* Encabezado compacto en el celular (2026-11-14): escudo chico al lado del nombre, botones en una fila tipo app, sesión en una línea. Solo pantallas chicas; sin colores (cada club conserva los suyos). */
@media(max-width:650px){
html body header.centered-header{display:grid!important;grid-template-columns:auto 1fr;align-items:center!important;justify-items:start!important;text-align:left!important;gap:6px 10px!important;padding:10px 12px 10px!important}
html body header.centered-header>img{height:40px!important;width:auto!important;max-width:56px!important;margin:0!important;grid-row:1}
html body header.centered-header>strong{font-size:15px!important;line-height:1.2!important;margin:0!important;text-align:left!important;grid-row:1}
html body header.centered-header>*:not(img):not(strong){grid-column:1/-1}
html body header.centered-header>img+div{grid-column:2!important;grid-row:1!important;text-align:left!important;margin:0!important}
html body header.centered-header>img+div strong{font-size:15px!important;margin:0!important}
html body header.centered-header>img+div>*:not(strong){font-size:9.5px!important;margin:2px 0 0!important}
html body header.centered-header .club-nav{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;gap:4px!important;padding:5px!important;margin:2px 0 0!important}
html body header.centered-header .club-nav a,html body header.centered-header .club-nav button{flex:1 1 0!important;min-width:0!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;padding:7px 1px!important;font-size:10.5px!important;letter-spacing:-.2px!important;line-height:1.1!important;border-radius:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
html body header.centered-header .club-nav a svg,html body header.centered-header .club-nav button svg{width:20px!important;height:20px!important}
html body header.centered-header .club-nav a span,html body header.centered-header .club-nav button span{display:flex!important;justify-content:center!important}
html[data-club-auth="signed-in"] body header.centered-header #acceso-club{width:100%!important;max-width:100%!important;flex-wrap:nowrap!important;gap:8px!important;margin:2px 0 0!important;padding:4px 4px 4px 12px!important;border-radius:12px!important}
html[data-club-auth="signed-in"] body header.centered-header #acceso-club p{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11.5px!important;text-align:left!important}
html[data-club-auth="signed-in"] body header.centered-header #acceso-club>button{flex:0 0 auto!important;padding:5px 10px!important;font-size:12px!important}
}
/* Caja de comentarios del equipo (2026-11-14): campos y botón con la forma del resto de la app (los colores salen de cada club). */
html body .comentarios-equipo h2{margin-top:0!important}
html body .comentarios-equipo select{display:block;width:100%!important;max-width:100%!important;box-sizing:border-box;padding:10px 12px!important;border:1px solid!important;border-radius:10px!important;font:inherit!important;font-size:15px!important;margin:6px 0 10px!important}
html body .comentarios-equipo textarea{box-sizing:border-box;padding:10px 12px!important;border:1px solid!important;border-radius:10px!important;font:inherit!important;font-size:15px!important;min-height:88px;resize:vertical}
html body .comentarios-equipo form button{padding:10px 20px!important;border:1px solid!important;border-radius:999px!important;font:inherit!important;font-size:14px!important;font-weight:700!important;cursor:pointer}
html body .comentarios-equipo article{padding:10px 0;border-top:1px solid rgba(127,127,127,.3)}
html body .comentarios-equipo article small{opacity:.75}
