:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1b302b;
  background: #f2f5f1;
  line-height: 1.55;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.cabecera { padding: 1.1rem max(1.2rem, calc((100% - 1160px) / 2)); background: #fff; border-bottom: 1px solid #d6e0d9; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .65rem; font-size: 1.5rem; font-weight: 750; color: #185448; text-decoration: none; }
.etiqueta { background: #e8eee5; color: #344c38; padding: .35rem .7rem; border-radius: 2rem; font-size: .85rem; font-weight: 650; }
main { max-width: 1200px; margin: auto; padding: 1.4rem 1.2rem 3rem; }
.aviso-demo { font-size: .9rem; color: #4e6056; margin-top: 0; }
#mensaje { padding: .85rem 1rem; border: 1px solid #9ebbb0; background: #e5f1eb; border-radius: .6rem; overflow-wrap: anywhere; }
#mensaje:empty { display: none; }
#mensaje.error { color: #7b2020; border-color: #c99d9d; background: #fff0ee; }
.panel { background: #fff; border: 1px solid #d6e0d9; border-radius: 1rem; padding: 1.6rem; }
.entrada { max-width: 520px; margin: 2rem auto; }
.eyebrow { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 750; color: #436750; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: .35rem 0 1rem; letter-spacing: -.025em; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 .8rem; }
h3 { font-size: 1.1rem; margin-top: 0; }
h4 { font-size: 1rem; }
p { margin: .5rem 0 1rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
label { display: block; font-weight: 650; margin: .8rem 0 .35rem; }
input, select, textarea, button { font: inherit; }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: .75rem; border: 1px solid #8c9e94; border-radius: .5rem; color: #1b302b; background: #fff; }
textarea { resize: vertical; }
button { cursor: pointer; min-height: 46px; padding: .65rem 1rem; border: 1px solid #185448; border-radius: .5rem; background: #185448; color: #fff; font-weight: 650; }
button:hover { background: #103f35; }
button.secundario { background: #fff; color: #185448; border-color: #a0b3a7; }
button.secundario:hover { background: #eef4ef; }
button:disabled { opacity: .55; cursor: default; }
input:disabled, select:disabled { background: #e8eee5; color: #52645b; opacity: 1; }
button[aria-pressed="true"] { color: #7b2020; border-color: #7b2020; background: #fff0ee; }
:focus-visible { outline: 3px solid #976900; outline-offset: 3px; }
#form-entrada button { width: 100%; margin-top: 1.4rem; }
.ayuda { color: #52645b; font-size: .88rem; }
.entrada > .ayuda { margin: 1.3rem 0 0; }
.bienvenida, .titulo-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bienvenida { margin: 1.6rem 0; }
.bienvenida h1 { margin-bottom: 0; }
.titulo-fila h2 { margin: 0; }
.titulo-fila { flex-wrap: wrap; }
.acciones-lista { display: flex; flex-wrap: wrap; gap: .6rem; }
.columnas { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 1.4rem; }
.lista-tareas { list-style: none; padding: 0; margin: 0; }
.tarea { padding: 1.1rem 0; border-top: 1px solid #e0e7e1; overflow-wrap: anywhere; }
.tarea h3 { margin: 0 0 .5rem; }
.detalle-tarea { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font-size: .88rem; color: #52645b; }
progress { display: block; width: 100%; height: .65rem; margin-top: .65rem; accent-color: #24715a; border: 0; border-radius: 1rem; overflow: hidden; background: #e5ece7; }
progress::-webkit-progress-bar { background: #e5ece7; }
progress::-webkit-progress-value { background: #24715a; }
progress::-moz-progress-bar { background: #24715a; }
.acciones { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .6rem; }
.acciones button { flex: 1; }
.propuesta { margin-top: 1.5rem; padding: 1.2rem; background: #f1f6ef; border: 1px solid #b2c6b5; border-radius: .7rem; overflow-wrap: anywhere; }
#progreso-propuesta { max-width: 150px; }
.candidatas { display: grid; gap: .6rem; }
.candidatas button { text-align: left; white-space: normal; overflow-wrap: anywhere; }
footer { text-align: center; padding: 1.5rem; color: #52645b; font-size: .85rem; }
.solo-lector { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .columnas { grid-template-columns: 1fr; }
  .panel { padding: 1.2rem; }
  .entrada { margin: 1rem auto; }
}
@media (max-width: 380px) {
  .cabecera { flex-wrap: wrap; }
  .acciones { flex-direction: column; }
}
