/* NextPing Simulator Compact Skin 0.1.0-dev3.
 * EXCLUSIVAMENTE disposición dentro de un examen ACTIVO.
 * La tipografía, pesos y colores son propiedad de NextPing UI Pack / Quiz Builder;
 * el lateral Focus Mode y las lecciones pertenecen a Lesson Builder.
 * Sin reglas para body, .learndash-wrapper, .ld-focus, .ld-focus-sidebar.
 */
.npqb-exam-launcher.npqskin-active .npqb-exam-stage:has(> .npqb-exam-nav) {
  box-sizing: border-box;
  container: npqskin / inline-size;
  padding: 16px 18px 18px;
}
/* Icono funcional discreto, usando el color que ya asigna el motor/Sistema Visual. */
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-timer::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"%3E%3Ccircle cx="12" cy="12" r="9"/%3E%3Cpath d="M12 7v5l3 2"/%3E%3C/svg%3E') center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"%3E%3Ccircle cx="12" cy="12" r="9"/%3E%3Cpath d="M12 7v5l3 2"/%3E%3C/svg%3E') center / contain no-repeat;
}
/* 25 botones por fila cuando CABEN físicamente en el contenedor, nunca columnas falsas. */
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav {
  display: grid !important;
  grid-template-columns: repeat(25, minmax(0, 1fr)) !important;
  gap: 3px !important;
  margin: 0 0 8px !important;
  width: 100%;
  max-width: none !important;
  overflow: visible !important;
}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav > button {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  font-size: var(--np-simulator-exam-status, 12px) !important; /* Token controlado por Sistema Visual */
}
/* Mantener los estados originales de Quiz Builder; solo visualización adicional de revisar. */
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav > button.npqskin-is-flagged:not(.is-current) {
  border-color: #e5ba70 !important;
  background-color: #fff2d9 !important;
  color: #80520b !important;
}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav > button:focus-visible {
  outline: 2px solid var(--blue, #2457f5);
  outline-offset: 2px;
}
/* Pequeño estado de revisión adicional; no altera los contadores oficiales ni la corrección. */
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 12px;
  font-size: var(--np-simulator-exam-status, 12px); /* Mismo token que estado del examen */
}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-summary {display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-summary span {display:inline-flex;align-items:center;gap:5px;white-space:nowrap;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-dot {width:7px;height:7px;display:inline-block;border-radius:50%;background:#bfcbd9;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-dot.done {background:#45a56d;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-dot.flag {background:#e7a524;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 3px 9px;
  border: 1px solid var(--border, #dce5ef);
  border-radius: 6px;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-flag[aria-pressed="true"] {border-color:#d3a957;background:#fff8e8;}
.npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqskin-flag svg {width:13px;height:13px;flex:0 0 13px;}
/* Media queries del CONTENEDOR, no del ancho total de la pantalla: Focus Mode ocupa lateral. */
@container npqskin (max-width: 860px) {
  .npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav {grid-template-columns: repeat(20,minmax(0,1fr)) !important;}
}
@container npqskin (max-width: 690px) {
  .npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav {grid-template-columns: repeat(15,minmax(0,1fr)) !important;}
}
@container npqskin (max-width: 510px) {
  .npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav {
    grid-template-columns: repeat(10,minmax(0,1fr)) !important;
    max-height: 160px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 2px 2px 2px 0 !important;
    scrollbar-width: thin;
  }
  .npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav > button {min-height: 36px !important;height:36px !important;}
}
@container npqskin (max-width: 300px) {
  .npqb-exam-launcher.npqskin-active .npqb-exam-stage .npqb-exam-nav {grid-template-columns: repeat(8,minmax(0,1fr)) !important;}
}

/* DEV3 · Revisión del intento: <b> envuelve el enunciado en Quiz Builder.
 * Normalizar SOLO su peso heredándolo del contenedor definido por Sistema Visual.
 * Conservar intacto el tamaño definido por --np-simulator-review-question,
 * la referencia .npqb-question-reference y el resultado <strong> Correcta/Incorrecta.
 * Aplicación exclusiva al simulador real cuando este complemento está activo.
 */
.npqb-exam-launcher.npqskin-active .npqb-exam-review details > summary > b {
  font-weight: inherit !important;
}
