/* Evolución por año / mes de una provincia (estadisticas-provincia.php, inc/js/provincia-evolucion.js).
   Los desplegables usan los estilos .ap-panel-sel de panel-graficas.css. */
.pe { margin: 0 0 18px; padding: 16px; background: var(--ep-superficie, #fff); border: 1px solid var(--ep-borde, #e1e7ef); border-radius: var(--ep-radio, 12px); }
.pe h2 { font-size: 20px; margin: 0 0 2px; }
.pe p.pe-sub { margin: 0 0 12px; color: var(--ep-texto-3, #7a889c); font-size: 14px; }
.pe-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.pe-vistas { display: inline-flex; border: 1px solid var(--ep-borde, #e1e7ef); border-radius: 999px; overflow: hidden; }
.pe-vistas button { border: 0; background: #fff; font: inherit; font-weight: 650; font-size: 14px; padding: 7px 14px; cursor: pointer; color: var(--ep-texto-2, #4a5a70); }
.pe-vistas button.pe-activa { background: var(--ep-acento, #1f6feb); color: #fff; }
.pe-ctl { position: relative; }
.pe .pe-ctl { margin: 0; font-weight: 600; font-size: 14px; }
.pe-ctl select { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--ep-borde, #e1e7ef); border-radius: 8px; background: #fff; }
.pe-ctl[hidden] { display: none; }
.pe-barra .ap-panel-sel { position: relative; }
.pe-barra .ap-panel-sel-lista { right: auto; left: 0; }
.pe p.pe-nota { margin: 8px 0 0; font-size: 13px; color: var(--ep-texto-3, #7a889c); }
.pe-grafica { min-height: 120px; }
.pe-examenes { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ep-borde, #e1e7ef); }
.pe h3 { font-size: 17px; margin: 0 0 2px; }
.pe-examenes-total strong { color: var(--ep-texto, #0f1b2d); }
@media (max-width: 600px) { .pe { padding: 12px; } .pe-ctl, .pe .pe-ctl { margin: 0; font-weight: 600; font-size: 14px; }
.pe-ctl select { width: 100%; } .pe-barra .ap-panel-sel > summary { display: block; } .pe-barra .ap-panel-sel { width: 100%; } .pe-barra .ap-panel-sel-lista { width: 100%; } }
