
:root {
  --indice-navy:#082b5c;
  --indice-blue:#075fc7;
  --indice-blue2:#1677e8;
  --indice-green:#20a464;
  --indice-bg:#f4f7fb;
  --indice-card:#ffffff;
  --indice-text:#14243d;
  --indice-muted:#65758b;
  --indice-border:#dfe7f1;
  --indice-soft:#eef6ff;
  --shadow:0 8px 30px rgba(15,42,78,.08);
  --radius:14px;
}

* { box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  margin:0;
  background:var(--indice-bg);
  color:var(--indice-text);
  font-family:Inter, "Segoe UI", Arial, sans-serif;
  font-size:15px;
  line-height:1.45;
}

body::before {
  content:"ÍNDICE  ·  Gestión Institucional";
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:72px;
  z-index:50;
  display:flex;
  align-items:center;
  padding-left:34px;
  color:var(--indice-navy);
  font-size:15px;
  font-weight:700;
  background:#fff;
  border-bottom:1px solid var(--indice-border);
  box-shadow:0 2px 10px rgba(20,45,80,.04);
}


main {
  max-width:1280px;
  margin:0 auto;
  padding:104px 34px 60px;
}

h1 {
  margin:0 0 6px;
  color:var(--indice-navy);
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.5px;
}

h2, h3 {
  color:var(--indice-navy);
}

header, main > section, main > div {
  position:relative;
}

form,
#instrument-container,
#access-message {
  max-width:100%;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width:100%;
  border:1px solid #cbd8e8;
  border-radius:9px;
  padding:11px 13px;
  font:inherit;
  color:var(--indice-text);
  background:#fff;
  outline:none;
  transition:.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color:var(--indice-blue2);
  box-shadow:0 0 0 3px rgba(22,119,232,.12);
}

textarea {
  min-height:105px;
  resize:vertical;
}

button {
  border:0;
  border-radius:9px;
  padding:11px 18px;
  background:var(--indice-blue);
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}

button:hover {
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(7,95,199,.18);
}

button:disabled {
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

#access-form {
  margin-top:28px;
  max-width:560px;
  padding:24px;
  background:#fff;
  border:1px solid var(--indice-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

#access-message {
  margin-top:20px;
}

#access-message > div {
  padding:22px;
  background:#fff;
  border:1px solid var(--indice-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

#instrument-container {
  margin-top:20px !important;
}

#instrument-container > div {
  background:#fff;
  border:1px solid var(--indice-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

progress {
  width:100%;
  height:10px;
  border:0;
  border-radius:20px;
  overflow:hidden;
}

progress::-webkit-progress-bar {
  background:#e4e9ef;
  border-radius:20px;
}

progress::-webkit-progress-value {
  background:var(--indice-green);
  border-radius:20px;
}

input[type="radio"] {
  width:18px;
  height:18px;
  accent-color:var(--indice-blue);
  vertical-align:middle;
  margin-right:8px;
}

/* Tarjetas generadas por access.js */
label:has(input[name="valuation-current"]) {
  display:block;
  margin:11px 0;
  padding:16px 18px;
  border:1px solid var(--indice-border);
  border-radius:11px;
  background:#fff;
  cursor:pointer;
  transition:.18s ease;
}

label:has(input[name="valuation-current"]):hover {
  border-color:#9fc5f3;
  background:#f8fbff;
}

label:has(input[name="valuation-current"]:checked) {
  border-color:#27ad70;
  background:#f0fbf5;
  box-shadow:0 0 0 2px rgba(39,173,112,.08);
}

#qualitative-fields {
  margin-top:20px !important;
  padding:20px;
  border:1px solid var(--indice-border);
  border-radius:12px;
  background:#fbfcfe;
}

#save-message {
  margin-top:14px !important;
  min-height:24px;
  color:#315b86;
  font-weight:600;
}

#previous-component {
  background:#fff;
  color:var(--indice-blue);
  border:1px solid #a9caf0;
}

#save-component {
  background:#eaf3ff;
  color:var(--indice-blue);
  border:1px solid #b9d5f6;
}

#next-component,
#submit-definitive {
  background:linear-gradient(135deg,var(--indice-blue),#064da3);
}

#review-responses {
  background:#fff;
  color:var(--indice-blue);
  border:1px solid #a9caf0;
}

footer {
  margin-left:0;
  padding:18px 34px;
  color:var(--indice-muted);
  text-align:center;
  font-size:13px;
}

/* Apariencia de contenido principal */
#instrument-container p {
  color:#3e5068;
}

#instrument-container strong {
  color:var(--indice-navy);
}

/* Responsive */
@media (max-width:1050px) {
  body::after {
    display:none;
  }

  body::before {
    padding-left:24px;
  }

  main {
    padding:100px 22px 50px;
  }

  footer {
    margin-left:0;
  }
}

@media (max-width:650px) {
  body::before {
    height:60px;
    font-size:13px;
  }

  main {
    padding:82px 14px 35px;
  }

  h1 {
    font-size:25px;
  }

  button {
    width:100%;
    margin-top:7px;
  }

  #access-form {
    padding:17px;
  }
}


/* =========================================================
   AUTOEVALUACIÓN 2026 · MODO INSTRUMENTO
   Convierte la tarjeta de acceso en un espacio real de trabajo
   ========================================================= */

body.instrument-active main {
  width: auto !important;
  max-width: none !important;
  margin-left: 256px !important;
  padding: 28px 38px 48px !important;
}

body.instrument-active #access-form {
  max-width: none !important;
  width: 100% !important;
}

body.instrument-active #access-message {
  width: 100% !important;
  max-width: none !important;
}

body.instrument-active #instrument-container {
  width: 100% !important;
  max-width: none !important;
  margin-top: 24px !important;
}

/* Al entrar al instrumento, la identificación deja de parecer
   una pequeña tarjeta de login */
body.instrument-active #access-message {
  box-sizing: border-box;
}

/* El contenido generado del instrumento gana anchura real */
body.instrument-active #instrument-container > div {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Tarjeta principal del componente */
body.instrument-active #instrument-container > div > div {
  box-sizing: border-box;
}

/* Valoraciones más legibles en escritorio */
body.instrument-active input[name="valuation-current"] {
  accent-color: #075fc7;
}

/* Campos cualitativos */
body.instrument-active #qualitative-fields textarea {
  width: 100% !important;
  min-height: 110px;
  box-sizing: border-box;
  resize: vertical;
}

/* Navegación */
body.instrument-active #previous-component,
body.instrument-active #save-component,
body.instrument-active #next-component {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

/* Adaptación para pantallas menores */
@media (max-width: 1050px) {
  body.instrument-active main {
    margin-left: 210px !important;
    padding: 24px !important;
  }
}

@media (max-width: 760px) {
  body.instrument-active main {
    margin-left: 0 !important;
    padding: 18px !important;
  }
}


/* =========================================================
   AUTOEVALUACIÓN 2026 · PANTALLA DE TRABAJO
   ========================================================= */

body.instrument-active #access-form {
  display: none !important;
}

body.instrument-active #instrument-container {
  display: block !important;
  width: 100% !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
}

body.instrument-active main {
  padding-top: 30px !important;
}

/* El instrumento se convierte en protagonista */
body.instrument-active #instrument-container > div {
  background: #ffffff;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(15, 42, 78, .05);
}

/* Mejor lectura del encabezado del componente */
body.instrument-active #instrument-container h2 {
  color: #082b5c;
  font-size: 24px;
  line-height: 1.25;
  margin-top: 14px;
}

/* Tarjetas de valoración */
body.instrument-active label:has(input[name="valuation-current"]) {
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

body.instrument-active label:has(input[name="valuation-current"]):hover {
  border-color: #9ebce0 !important;
  background: #f8fbff;
}

body.instrument-active label:has(input[name="valuation-current"]:checked) {
  border-color: #075fc7 !important;
  background: #f4f8ff;
  box-shadow: 0 0 0 2px rgba(7,95,199,.08);
}

/* Instrumento activo: ocultar completamente la pantalla de ingreso */
body.instrument-active main > section {
  display: none !important;
}


/* === INDICE AUTOEVALUACION 2026 · VISUAL FINAL START === */

/* ------------------------------------------------------------
   ESPACIO GENERAL DE TRABAJO
   ------------------------------------------------------------ */

body.instrument-active {
    background: #f4f7fb !important;
}

body.instrument-active main {
    width: auto !important;
    max-width: none !important;
    margin-left: 256px !important;
    padding: 28px 38px 60px !important;
}

/* Al trabajar desaparecen todos los elementos de introducción */
body.instrument-active main > h1,
body.instrument-active main > p,
body.instrument-active main > section,
body.instrument-active main > footer {
    display: none !important;
}

/* ------------------------------------------------------------
   CONTENEDOR PRINCIPAL
   ------------------------------------------------------------ */

body.instrument-active #instrument-container {
    display: block !important;
    width: 100% !important;
    max-width: 1450px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Encabezado propio del instrumento */
body.instrument-active #instrument-container::before {
    content: "Autoevaluación Institucional 2026";
    display: block;
    color: #082b5c;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.4px;
    margin: 2px 0 20px;
}

/* ------------------------------------------------------------
   TARJETAS
   ------------------------------------------------------------ */

body.instrument-active #instrument-container > div {
    width: 100% !important;
    max-width: none !important;
    background: #ffffff;
    border: 1px solid #dce5ef !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 18px rgba(15, 42, 78, 0.055);
}

/* Progreso */
body.instrument-active #instrument-container > div:first-child {
    padding: 18px 22px !important;
    margin-bottom: 18px !important;
}

/* Tarjeta del componente */
body.instrument-active #instrument-container > div:nth-child(2) {
    padding: 24px 26px 28px !important;
}

/* ------------------------------------------------------------
   JERARQUÍA DEL COMPONENTE
   ------------------------------------------------------------ */

body.instrument-active #instrument-container h2 {
    color: #082b5c !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.25px;
    margin: 15px 0 13px !important;
}

body.instrument-active #instrument-container p {
    line-height: 1.5;
}

/* ------------------------------------------------------------
   OPCIONES DE VALORACIÓN
   ------------------------------------------------------------ */

body.instrument-active #instrument-container label {
    display: block;
    line-height: 1.45;
}

body.instrument-active #instrument-container label:has(
    input[name="valuation-current"]
) {
    background: #ffffff;
    border-radius: 10px;
    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

body.instrument-active #instrument-container label:has(
    input[name="valuation-current"]
):hover {
    border-color: #8fb5e4 !important;
    background: #f8fbff !important;
    box-shadow: 0 2px 8px rgba(8, 43, 92, .05);
}

body.instrument-active #instrument-container label:has(
    input[name="valuation-current"]:checked
) {
    border-color: #075fc7 !important;
    background: #f1f7ff !important;
    box-shadow: 0 0 0 1px rgba(7, 95, 199, .08);
}

body.instrument-active input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #075fc7;
    vertical-align: middle;
    margin-right: 8px;
}

/* ------------------------------------------------------------
   CAMPOS CUALITATIVOS
   ------------------------------------------------------------ */

body.instrument-active #qualitative-fields {
    margin-top: 24px !important;
}

body.instrument-active #qualitative-fields > div {
    background: #f9fbfd;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    padding: 20px !important;
    margin-top: 14px;
}

body.instrument-active #qualitative-fields strong {
    color: #082b5c;
}

body.instrument-active #instrument-container textarea {
    display: block;
    width: 100% !important;
    min-height: 105px;
    margin-top: 9px;
    padding: 12px 14px;
    border: 1px solid #bdcad8;
    border-radius: 9px;
    background: #ffffff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
}

body.instrument-active #instrument-container textarea:focus {
    border-color: #075fc7;
    box-shadow: 0 0 0 3px rgba(7, 95, 199, .10);
}

/* ------------------------------------------------------------
   MENSAJES
   ------------------------------------------------------------ */

body.instrument-active #save-message {
    min-height: 22px;
    margin-top: 14px !important;
    font-weight: 600;
}

/* ------------------------------------------------------------
   BOTONES
   ------------------------------------------------------------ */

body.instrument-active #instrument-container button {
    min-height: 42px;
    border-radius: 8px !important;
    padding: 9px 17px !important;
    font-family: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

body.instrument-active #instrument-container button:hover:not(:disabled) {
    transform: translateY(-1px);
}

body.instrument-active #next-component,
body.instrument-active #submit-definitive {
    background: #075fc7 !important;
    color: #ffffff !important;
    border: 1px solid #075fc7 !important;
    box-shadow: 0 3px 8px rgba(7, 95, 199, .16);
}

body.instrument-active #save-component {
    background: #ffffff !important;
    color: #075fc7 !important;
    border: 1px solid #a9c7e8 !important;
}

body.instrument-active #previous-component,
body.instrument-active #review-responses {
    background: #ffffff !important;
    color: #294b70 !important;
    border: 1px solid #c7d4e2 !important;
}

body.instrument-active button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* ------------------------------------------------------------
   BARRA DE PROGRESO
   ------------------------------------------------------------ */

body.instrument-active #instrument-container div[style*="background:#e5e5e5"],
body.instrument-active #instrument-container div[style*="background: #e5e5e5"] {
    height: 10px !important;
    border-radius: 20px !important;
    overflow: hidden;
}

/* ------------------------------------------------------------
   MENÚ LATERAL
   ------------------------------------------------------------ */

body.instrument-active aside,
body.instrument-active nav {
    font-size: 14px;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
    body.instrument-active main {
        margin-left: 230px !important;
        padding: 24px !important;
    }

    body.instrument-active #instrument-container::before {
        font-size: 25px;
    }
}

@media (max-width: 760px) {
    body.instrument-active main {
        margin-left: 0 !important;
        padding: 16px !important;
    }

    body.instrument-active #instrument-container::before {
        font-size: 22px;
    }

    body.instrument-active #instrument-container > div:nth-child(2) {
        padding: 18px 16px 22px !important;
    }

    body.instrument-active #instrument-container h2 {
        font-size: 21px !important;
    }

    body.instrument-active #instrument-container button {
        width: 100%;
        margin: 5px 0;
    }
}

/* === INDICE AUTOEVALUACION 2026 · VISUAL FINAL END === */


/* === INDICE AUTOEVALUACION 2026 · PANTALLAS PARTICIPANTE START === */

.participant-screen {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 48px;
}

.participant-screen__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 22px;
}

.participant-screen__header h2 {
  margin: 4px 0 8px;
  font-size: 28px;
  color: #082f63;
}

.participant-screen__header p {
  margin: 0;
  line-height: 1.6;
}

.participant-screen__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.participant-progress-number {
  min-width: 82px;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef6ff;
  color: #0759b8;
  font-size: 22px;
  font-weight: 700;
}

.participant-progress-track {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 18px 0 26px;
}

.participant-progress-fill {
  height: 100%;
  background: #287a52;
  border-radius: 999px;
}

.participant-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.participant-stat {
  padding: 20px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
}

.participant-stat span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
}

.participant-stat strong {
  display: block;
  color: #082f63;
  font-size: 26px;
}

.participant-notice {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
  line-height: 1.6;
}

.participant-notice p {
  margin: 6px 0 0;
}

.participant-notice--info {
  background: #f7fbff;
  border-color: #bfd7f2;
}

.participant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.participant-actions button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 7px;
  border: 1px solid #0866c6;
  background: #0866c6;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.participant-actions button.secondary {
  background: #fff;
  color: #0759b8;
}

.participant-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.participant-help-card {
  padding: 20px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
}

.participant-help-card h3 {
  margin: 0 0 9px;
  color: #082f63;
  font-size: 17px;
}

.participant-help-card p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 760px) {

  .participant-stat-grid,
  .participant-help-grid {
    grid-template-columns: 1fr;
  }

  .participant-screen__header {
    flex-direction: column;
  }
}

/* === INDICE AUTOEVALUACION 2026 · PANTALLAS PARTICIPANTE END === */

/* MENU-256: menú HTML, visible únicamente dentro del instrumento. */
#participant-sidebar { display:none; }
body.instrument-active #participant-sidebar {
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  width:256px;
  padding:24px;
  overflow-y:auto;
  z-index:60;
  background:#fff;
  border-right:1px solid var(--indice-border);
}
.participant-sidebar__brand { color:var(--indice-navy); font-size:24px; font-weight:700; }
.participant-sidebar__brand span { display:block; font-size:14px; font-weight:400; }
#participant-sidebar nav { display:grid; gap:10px; margin-top:30px; }
#participant-sidebar button {
  width:100%; text-align:left; background:transparent; color:var(--indice-navy);
  font-weight:600; line-height:1.4; min-height:44px;
}
#participant-sidebar button:hover { background:var(--indice-soft); transform:none; }
#participant-sidebar button[aria-current="page"] { background:var(--indice-blue); color:#fff; }
#participant-sidebar button:focus-visible { outline:3px solid var(--indice-green); outline-offset:3px; }
#participant-sidebar > p { margin-top:auto; padding-top:32px; color:var(--indice-muted); font-size:13px; }
body.instrument-active::before { padding-left:290px; }
body.instrument-active main { margin-left:256px !important; padding-top:100px !important; }
@media (max-width:760px) {
  body.instrument-active #participant-sidebar {
    position:relative; inset:auto; width:100%; padding:16px; margin-top:60px;
    border-right:0; border-bottom:1px solid var(--indice-border);
  }
  #participant-sidebar nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:14px; }
  #participant-sidebar button { margin:0; padding:10px; }
  #participant-sidebar > p { display:none; }
  body.instrument-active::before { height:60px; padding-left:16px; }
  body.instrument-active main { margin-left:0 !important; padding:18px 14px 35px !important; }
}

#participant-sidebar #participant-exit {
  margin-top:24px;
  border:1px solid var(--indice-border);
  color:var(--indice-blue);
}
body.instrument-active #instrument-container input:disabled,
body.instrument-active #instrument-container textarea:disabled {
  opacity:1;
  color:var(--indice-text);
}

[hidden]{display:none!important}.personal-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.personal-results article{border:1px solid #dfe7f1;border-radius:12px;padding:20px}.area-average{font-size:24px;color:#075fc7}body.instrument-active #participant-identity{display:block;padding:16px 24px;background:white;border:1px solid #dfe7f1;border-radius:12px;margin-bottom:20px}#participant-identity p{margin:4px 0}@media(max-width:760px){.personal-results{grid-template-columns:1fr}}

#complete-profile{background:white;padding:24px;border-radius:12px;margin-top:24px}#complete-profile-form{display:grid;gap:16px;max-width:620px}#complete-profile-form label{display:grid;gap:6px}#complete-profile-form input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #c4d4ea;border-radius:8px;font:inherit}

/* Keep identity visible while introductory sections are hidden. */
body.instrument-active #participant-identity:not([hidden]) { display: block !important; }

/* ÍNDICE · identidad compartida, octubre 2026 */
:root{--brand-ink:#101b32;--brand-blue:#2875ee;--brand-soft:#eaf2ff;--brand-text:#172d4d;--brand-muted:#60718b;--brand-line:#dce6f3}
body{color:var(--brand-text);background:#f5f7fc;font-family:"Segoe UI",Arial,sans-serif;line-height:1.6}
button,input,select,textarea{font-family:inherit}
button{transition:background .15s,border-color .15s,box-shadow .15s;min-height:44px}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #599cf9;outline-offset:3px}
button:disabled{opacity:.55;cursor:not-allowed}
aside,body.instrument-active #participant-sidebar{background:var(--brand-ink);border:0;color:white}
.brand,.participant-sidebar__brand{color:white!important;font-family:Georgia,"Times New Roman",serif;font-size:37px!important;font-weight:700;letter-spacing:-1.1px}
.brand span,.participant-sidebar__brand span{display:block;font-family:"Segoe UI",Arial,sans-serif;letter-spacing:.07em;font-size:12px!important;font-weight:400;color:#bed1ed!important;margin-top:22px}
.brand small,.participant-sidebar__brand small{display:block;color:#c5d4e9;font:10px/1.4 "Segoe UI",sans-serif;letter-spacing:.13em}
.brand .brand-rule,.participant-sidebar__brand .brand-rule{width:86px;height:2px;background:#458afe;margin:1px 0 8px}
aside .eyebrow,aside .aside-note,#participant-sidebar>p{color:#bed1ed!important}
aside nav button,#participant-sidebar button{color:#e8f0ff!important;border:1px solid transparent;background:transparent;font-weight:600;border-radius:10px}
aside nav button:hover,#participant-sidebar button:hover{background:#243754!important;border-color:#45678f}
aside nav button.selected,#participant-sidebar button[aria-current="page"]{background:#1b3358!important;color:white;border-left:3px solid #4d92ff;box-shadow:inset 0 0 0 1px #314970}
#participant-sidebar #participant-exit{color:#c7dcff!important;border:1px solid #455976;background:transparent}
h1,h2,h3{color:#10244b;letter-spacing:-.025em}
header{padding:16px 0 24px;border-bottom:1px solid var(--brand-line);margin-bottom:24px}
header h1{font-size:34px}header .eyebrow{color:#2875ee}
#rector-institution{font-weight:650;color:#345478;margin:6px 0}
section{border-color:var(--brand-line);border-radius:18px;box-shadow:0 8px 24px #10244b06}
form button,button.selected,#bulk-confirm,#export-results-xlsx{background:var(--brand-blue);border-color:var(--brand-blue);color:white;box-shadow:0 4px 12px #2875ee20}
form button:hover,#bulk-confirm:hover,#export-results-xlsx:hover{background:#195bcd;color:white}
.notice{border:1px solid #cdddff;border-left:4px solid #458afe;background:#edf4ff;color:#294569;border-radius:12px}
.metrics article{border-radius:16px;border-top:3px solid #93bcfc;box-shadow:0 8px 18px #10244b06}
.metrics article:nth-child(2){border-top-color:#9aacca}.metrics article:nth-child(3){border-top-color:#eab45b}.metrics article:nth-child(4){border-top-color:#a68bdf}.metrics .highlight{border-top-color:#26a276}
.metrics strong{font-size:40px;color:#153560}.metrics span{font-weight:600}
.metrics .highlight{background:#eefaf5}
th{background:#eef3fb;color:#324c70;font-weight:650}tbody tr:nth-child(even){background:#f8faff}
.results-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.export-actions button{font-size:13px;padding:9px 12px}
.export-description{color:var(--brand-muted);font-size:13px;margin:12px 0 24px}
.results-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.result-card,.personal-results article{background:linear-gradient(130deg,#f5f9ff,#fff);border:1px solid #d6e5fb;border-top:3px solid #458afe;border-radius:15px;padding:22px;box-shadow:0 5px 16px #10244b05}
.result-card h3,.personal-results h3{font-size:18px;line-height:1.35;margin:6px 0 18px;min-height:48px}
.result-kicker{color:#3b72c1;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin:0}
.result-number,.area-average{display:block;font-size:32px;font-weight:750;color:#145ebf;letter-spacing:-.04em}.result-number small{font-size:14px;color:var(--brand-muted);font-weight:400;letter-spacing:0}
.result-card p{font-size:13px;color:#526984;margin:12px 0 0}.result-card .protected-score{font-size:17px;letter-spacing:0;color:#66758c}
progress.score-progress{display:block;width:100%;height:10px;border:0;border-radius:10px;overflow:hidden;margin:16px 0;accent-color:#2875ee}
progress.score-progress::-webkit-progress-bar{background:#e2ebf9;border-radius:10px}progress.score-progress::-webkit-progress-value{background:linear-gradient(90deg,#2875ee,#61a6f8);border-radius:10px}
.personal-results article:nth-child(2),.result-card:nth-child(2){border-top-color:#23a085}.personal-results article:nth-child(3),.result-card:nth-child(3){border-top-color:#9674d5}.personal-results article:nth-child(4),.result-card:nth-child(4){border-top-color:#dfa34f}
body:has(#participant-sidebar)::before{color:#fff;background:var(--brand-ink);border-bottom:0;box-shadow:0 3px 16px #12244318;content:"ÍNDICE   |   Instituto de Innovación y Calidad Educativa";font-size:14px;letter-spacing:.03em}
body:has(#participant-sidebar):not(.instrument-active){background:radial-gradient(ellipse at 90% 25%,#e8f1ff 0,transparent 48%),radial-gradient(ellipse at 8% 65%,#edf4ff 0,transparent 45%),#f8faff}
body:has(#participant-sidebar):not(.instrument-active) main{max-width:1220px;padding-top:125px}
body:has(#participant-sidebar):not(.instrument-active) main>h1{text-align:center;font-size:42px;line-height:1.2;margin:10px auto 16px;max-width:900px}
body:has(#participant-sidebar):not(.instrument-active) main>p{text-align:center;max-width:820px;margin:0 auto 32px;font-size:17px;color:#60718b}
.entry-card{max-width:620px;margin:0 auto 30px;background:white;border:1px solid #dce6f3;border-radius:20px;padding:32px;box-shadow:0 12px 40px #15315b0a}
.entry-card h2{font-size:25px}.entry-eyebrow{text-transform:uppercase;letter-spacing:.13em;color:#2875ee;font-size:11px;font-weight:700}
#access-form{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important}
#access-form>br{display:none}#access-form>input{display:block;width:100%;height:52px;margin:8px 0 12px;border:1px solid #c5d7ef;border-radius:10px;padding:12px 15px;min-width:0}
#access-form>button{width:100%;background:#2875ee;border-radius:10px;font-size:16px;padding:14px}
.entry-card>p:last-child{font-size:12px;background:#f0f5fd;padding:16px;margin:22px 0 0;border-radius:12px;line-height:1.6;color:#4d6380}
.entry-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;max-width:1000px;margin:38px auto 45px;text-align:center}
.entry-steps b{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;background:#e2eeff;color:#1768df;border-radius:50%;font-size:19px}.entry-steps h3{font-size:17px;margin:14px 0 6px}.entry-steps p{font-size:14px;color:#61738e}
body.instrument-active .entry-steps{display:none!important}
body.instrument-active #participant-identity:not([hidden]){background:linear-gradient(100deg,#e7f1ff,#f8fbff);border-color:#cbdffb;border-left:4px solid #2875ee;padding:20px 24px;border-radius:14px;color:#254365}
#participant-identity strong{font-size:18px;color:#113365}
#instrument-container>div,#instrument-container .participant-screen{border-radius:16px!important;background:#fff;border-color:#dce6f3!important;box-shadow:0 6px 24px #15315b05}
#instrument-container div:has(>label>input[name="valuation-current"]){border:1px solid #cdddf1!important;background:#f8fbff;border-radius:12px!important;transition:border-color .15s,background .15s}
#instrument-container div:has(>label>input[name="valuation-current"]:checked){border:2px solid #2875ee!important;background:#eef5ff;box-shadow:0 0 0 2px #2875ee0a}
#instrument-container input[type="radio"]{accent-color:#2875ee;width:18px;height:18px;vertical-align:middle;margin-right:8px}
#instrument-container label:has(>input[name="valuation-current"]){display:block;border:1px solid #cdddf1!important;border-radius:12px!important;padding:18px!important;background:#f8fbff}
#instrument-container label:has(>input[value="1"]){background:#fff8f7;border-color:#eed0c9!important}
#instrument-container label:has(>input[value="2"]){background:#fffdf4;border-color:#ebdab0!important}
#instrument-container label:has(>input[value="3"]){background:#f2fbf7;border-color:#b6ddca!important}
#instrument-container label:has(>input[value="4"]){background:#f2f7ff;border-color:#bcd5fa!important}
#instrument-container label:has(>input[name="valuation-current"]:checked){border:2px solid #2875ee!important;box-shadow:0 0 0 2px #2875ee0a}
#instrument-container #next-component{background:#2875ee;color:#fff}#instrument-container #save-component{background:#eaf2ff;color:#195baf;border:1px solid #c1d7f8}
#instrument-container textarea{border:1px solid #bdcfe7;border-radius:9px;padding:12px;line-height:1.5;background:#fff}
footer{border-top:1px solid #dce6f3;padding-top:22px;color:#657b97;font-size:13px;text-align:center}
@media(max-width:1050px){.results-heading{flex-direction:column}.export-actions{justify-content:flex-start}.results-visual{grid-template-columns:1fr 1fr}}
@media(max-width:760px){body:has(#participant-sidebar)::before{font-size:11px;padding-left:16px!important;height:60px}body:has(#participant-sidebar):not(.instrument-active) main{padding:92px 16px 30px}body:has(#participant-sidebar):not(.instrument-active) main>h1{font-size:30px}.entry-card{padding:22px}.entry-steps{grid-template-columns:1fr;gap:12px;margin:26px auto}.entry-steps article{padding:12px;background:#f0f5ff;border-radius:12px}.entry-steps h3{margin:8px 0}.entry-steps p{margin-bottom:0}.brand,.participant-sidebar__brand{font-size:30px!important}.brand span,.participant-sidebar__brand span{margin-top:10px}.results-visual{grid-template-columns:1fr}.result-card h3{min-height:0}header h1{font-size:27px}.export-actions button{flex:1 1 140px}}
@media print{body{background:white!important}body:has(#participant-sidebar)::before,aside,nav,#mode-notice,#logout,.export-actions,.export-description,#back-from-results,#results-cycle,#results-level{display:none!important}main{margin:0!important;padding:0!important;max-width:none!important}header{padding:0 0 12px}section{box-shadow:none;border:0;padding:0}.results-visual{grid-template-columns:1fr 1fr}.result-card{break-inside:avoid;background:white}.table-wrap{overflow:visible}th,td{font-size:10px;padding:7px}tr{break-inside:avoid}.score-progress{print-color-adjust:exact;-webkit-print-color-adjust:exact}body.instrument-active .participant-actions,body.instrument-active button{display:none!important}}

/* Retorno a la portada e identidad oficial, sin alterar el instrumento. */
body:has(#participant-sidebar)::before{display:none!important}
.participant-portal-header{position:fixed;top:0;left:0;right:0;z-index:50;min-height:72px;height:72px;padding:5px 30px;display:flex;align-items:center;gap:20px;background:#101d33;color:white;border:0;margin:0;box-shadow:0 3px 16px #12244318}
.header-indice-logo{display:block;flex-shrink:0}.header-indice-logo svg{display:block;width:122px;height:62px}
.participant-product-name{font-size:14px;color:#e3ecfa}
.portal-home-return{margin-left:auto;color:white;font-size:13px;text-decoration:none;border:1px solid #5a7395;border-radius:8px;padding:9px 12px;white-space:nowrap}
.official-participant-brand{display:block;text-decoration:none}
.official-participant-brand svg{display:block;width:180px;max-width:100%;height:92px}
.official-participant-brand span{font-family:'Segoe UI',Arial,sans-serif;font-size:13px!important;line-height:1.5;margin-top:12px!important}
.participant-home-return{display:block;color:#e3ecfa;text-decoration:none;border:1px solid #5a7395;border-radius:8px;padding:10px 12px;font-size:13px;margin-top:12px}
.indice-home-link:focus-visible{outline:3px solid #73a9ff;outline-offset:3px}
.portal-home-return:hover,.participant-home-return:hover{background:#243754;color:white}
body.instrument-active .participant-portal-header{left:256px}
body.instrument-active .header-indice-logo{display:none}
.participant-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:0 0 18px;font-size:13px;color:#62748a}
.participant-breadcrumb a{color:#155bb2;text-decoration:none}
.participant-breadcrumb a:hover{text-decoration:underline}
@media(max-width:760px){.participant-portal-header,body.instrument-active .participant-portal-header{left:0;padding:4px 14px;height:60px;min-height:60px;gap:10px}.header-indice-logo svg{width:100px;height:51px}.participant-product-name{display:none}.portal-home-return{font-size:12px;padding:8px 10px}.official-participant-brand svg{width:150px;height:78px}body.instrument-active #participant-sidebar{margin-top:60px}.participant-breadcrumb{font-size:12px}}
@media print{.participant-portal-header,.participant-breadcrumb,.participant-home-return{display:none!important}}
