body.v115-center-view .top-actions,
body.v115-center-view .work-mode-controls,
body.v115-center-view .owner-access-badge,
body.v115-center-view .topbar-badge,
body.v115-center-view .optional-orientation-v126 {
  display: none !important;
}

body.v115-center-view .topbar {
  min-height: 76px;
  padding-block: 12px;
}

body.v115-center-view #view {
  max-width: 1480px;
}

.scheme-center {
  display: grid;
  gap: 22px;
}

/* Acabado gráfico consistente y nítido en toda la plataforma. */
#view img {
  max-width: 100%;
  image-rendering: auto;
}

#view :is(.platform-context-visual,.experience-360,.oa-triangulation,.scheme-map,.scheme-hero) {
  background-clip: padding-box;
  box-shadow: 0 20px 48px rgba(15, 45, 82, .13);
}

#view :is(.platform-context-visual,.experience-360,.oa-triangulation) {
  border-width: 2px;
  border-color: #b7cadc;
}

#view .platform-context-visual > img {
  filter: contrast(1.05) saturate(1.04);
}

.scheme-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #274e84;
  border-radius: 32px;
  background: linear-gradient(130deg, #061a39 0%, #0b2d62 53%, #092557 100%);
  box-shadow: 0 28px 70px rgba(7, 28, 65, .25);
  color: #fff;
}

.scheme-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
}

.scheme-kicker,
.scheme-map header span,
.scheme-next-card > span,
.scheme-official > span {
  color: #8fe8f0;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .11em;
}

.scheme-copy h2 {
  margin: 13px 0;
  color: #fff !important;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.35rem, 4.3vw, 4.15rem);
  line-height: .98;
}

.scheme-copy > p {
  max-width: 650px;
  margin: 0;
  color: #dcecff !important;
  font-size: 1.02rem;
  line-height: 1.65;
}

.scheme-current {
  display: grid;
  gap: 4px;
  margin-top: 25px;
  padding: 16px 18px;
  border: 2px solid #70e3ed;
  border-radius: 18px;
  background: rgba(5, 21, 48, .88);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28), 0 0 28px rgba(65, 218, 235, .2);
}

.scheme-current span {
  color: #91f2f7 !important;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.scheme-current strong {
  color: #fff !important;
  font-size: 1.12rem;
}

.scheme-current small {
  color: #c8dcf4 !important;
}

.scheme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.scheme-actions button,
.scheme-next-card button {
  min-height: 48px;
  padding: 11px 16px;
  border: 2px solid #fff;
  border-radius: 13px;
  background: #fff;
  color: #0b2c5e;
  font-weight: 900;
  cursor: pointer;
}

.scheme-actions .scheme-primary,
.scheme-next-card button {
  border-color: #f2c94c;
  background: #f2c94c;
  color: #10284a;
}

.scheme-graphic {
  position: relative;
  min-height: 500px;
  perspective: 900px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 42%, rgba(51, 207, 231, .22), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(120, 82, 190, .18), transparent 23%),
    linear-gradient(145deg, #071c43, #0d3677);
}

.scheme-graphic::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #092557 0%, transparent 26%, transparent 82%, rgba(4, 17, 42, .35));
  pointer-events: none;
}

.scheme-3d-scene {
  position: absolute;
  z-index: 3;
  inset: 68px 35px 38px;
  transform: rotateX(57deg) rotateZ(-20deg);
  transform-style: preserve-3d;
}

.scheme-3d-stage {
  position: absolute;
  display: grid;
  align-content: center;
  width: 178px;
  min-height: 128px;
  padding: 20px;
  border: 2px solid rgba(255,255,255,.72);
  border-bottom-width: 12px;
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(206,224,249,.94));
  color: #0d2b53;
  box-shadow: 18px 24px 28px rgba(0,0,0,.28), inset 0 2px #fff;
  transform: translateZ(24px);
}

.scheme-3d-stage span,
.scheme-3d-stage b,
.scheme-3d-stage small {
  display: block;
  color: inherit !important;
}

.scheme-3d-stage span {
  width: 37px;
  padding: 6px;
  border-radius: 10px;
  background: #174f91;
  color: #fff !important;
  font-weight: 950;
  text-align: center;
}

.scheme-3d-stage b {margin-top:10px;font-size:1.15rem}
.scheme-3d-stage small {margin-top:3px;font-weight:750}
.scheme-3d-stage.stage-one {left:3%;bottom:4%}
.scheme-3d-stage.stage-two {left:35%;bottom:28%;border-color:#69d7df}
.scheme-3d-stage.stage-three {left:58%;bottom:54%;border-color:#a589d0}
.scheme-3d-stage.stage-review {right:0;top:0;border-color:#f2c94c}

.scheme-3d-stage.is-active {
  z-index: 4;
  border-color: #f2c94c;
  background: linear-gradient(145deg, #1c66b5, #0b376f);
  color: #fff;
  transform: translateZ(80px);
  box-shadow: 24px 38px 45px rgba(0,0,0,.35), 0 0 38px rgba(242,201,76,.78);
  animation: stageBeacon 2.2s ease-in-out infinite;
}

.scheme-3d-stage.is-active span {
  background: #f2c94c;
  color: #10284a !important;
}

.scheme-3d-path {
  position: absolute;
  height: 15px;
  border-radius: 99px;
  background: linear-gradient(90deg,#46d6e7,#2787df);
  box-shadow: 0 0 18px #46d6e7;
  transform-origin: left center;
}

.scheme-3d-path.path-a {left:24%;bottom:29%;width:27%;transform:rotate(-8deg)}
.scheme-3d-path.path-b {left:48%;bottom:51%;width:27%;transform:rotate(-12deg)}
.scheme-3d-path.path-c {left:70%;bottom:72%;width:24%;transform:rotate(-9deg)}

.scheme-3d-beacon {
  position: absolute;
  left: 47%;
  top: 42%;
  width: 210px;
  height: 210px;
  border: 4px solid rgba(90,226,239,.7);
  border-radius: 50%;
  box-shadow: 0 0 38px #32d2e5, inset 0 0 38px rgba(50,210,229,.5);
  animation: schemePulse 2.8s ease-in-out infinite;
}

.scheme-progress-medal {
  position: absolute;
  z-index: 4;
  right: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 3px solid #f2c94c;
  border-radius: 50%;
  background: rgba(5, 21, 48, .9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  text-align: center;
}

.scheme-progress-medal strong,
.scheme-progress-medal span {
  display: block;
  color: #fff !important;
}

.scheme-progress-medal strong {
  font-size: 1.65rem;
}

.scheme-progress-medal span {
  max-width: 75px;
  font-size: .62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.scheme-map {
  padding: 27px;
  border: 1px solid #c8d8ea;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 48, 85, .09);
}

.scheme-map header {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
}

.scheme-map header span {
  color: #17569a;
}

.scheme-map h3 {
  margin: 5px 0 0;
  color: #0c294c;
  font-size: 1.55rem;
}

.scheme-map header p {
  max-width: 470px;
  margin: 0;
  color: #455f7c;
  line-height: 1.5;
}

.scheme-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  gap: 13px;
  margin-top: 30px;
  padding: 22px 4px 8px;
  perspective: 1200px;
}

.scheme-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2469b5 0 55%, #2b8d94 55% 70%, #7654a9 70% 85%, #b47b11 85%);
  box-shadow: 0 8px 16px rgba(24, 69, 118, .2);
}

.scheme-node {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 168px;
  padding: 15px;
  border: 2px solid #9ab1c9;
  border-bottom-width: 7px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #eaf2fb);
  color: #0d2a4c;
  text-align: left;
  transform: rotateX(7deg);
  transform-origin: bottom;
  box-shadow: 0 14px 24px rgba(22, 53, 90, .13);
  cursor: pointer;
}

.scheme-node.module-two {border-color:#277f88}
.scheme-node.module-three {border-color:#7656a8}
.scheme-node.module-review {border-color:#b47b11}

.scheme-node.is-current {
  z-index: 4;
  border-color: #f2c94c;
  background: linear-gradient(145deg, #123e78, #1c62ac);
  color: #fff;
  transform: translateY(-18px) rotateX(3deg) scale(1.04);
  box-shadow: 0 24px 35px rgba(12, 51, 101, .3), 0 0 0 5px rgba(242, 201, 76, .28);
  animation: currentFloat 2.5s ease-in-out infinite;
}

.scheme-node-number {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #dceaff;
  color: #174f91;
  font-weight: 950;
}

.scheme-node.is-current .scheme-node-number {
  background: #f2c94c;
  color: #10284a;
}

.scheme-node-copy {
  align-self: end;
}

.scheme-node-copy small,
.scheme-node-copy b,
.scheme-node-copy em {
  display: block;
}

.scheme-node-copy small {
  color: #315d8d;
  font-size: .65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.scheme-node-copy b {
  margin-top: 5px;
  color: inherit;
  line-height: 1.2;
}

.scheme-node-copy em {
  margin-top: 5px;
  color: #4d6680;
  font-size: .7rem;
  font-style: normal;
  line-height: 1.35;
}

.scheme-node.is-current :is(.scheme-node-copy small,.scheme-node-copy em) {
  color: #e5f2ff !important;
}

.scheme-node > i {
  position: absolute;
  right: 9px;
  top: 10px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #f2c94c;
  color: #10284a;
  font-size: .56rem;
  font-style: normal;
  font-weight: 950;
}

.scheme-node.is-done:not(.is-current) {
  border-color: #34755f;
  background: #ecf8f3;
}

.scheme-node.is-done:not(.is-current) .scheme-node-number {
  background: #34755f;
  color: #fff;
}

.scheme-next-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.scheme-next-card,
.scheme-official {
  padding: 25px;
  border-radius: 24px;
}

.scheme-next-card {
  border: 1px solid #2e639d;
  background: #0e3569;
  color: #fff;
}

.scheme-next-card > span {color:#8fe8f0}
.scheme-next-card h3 {margin:9px 0;color:#fff;font-size:1.5rem}
.scheme-next-card p {color:#d9e9fb;line-height:1.55}

.scheme-official {
  border: 1px solid #cfdae7;
  background: #fff;
}

.scheme-official > span {color:#17569a}
.scheme-official h3 {margin:7px 0 13px;color:#0c294c}
.scheme-official button {
  display: grid;
  width: 100%;
  margin-top: 9px;
  padding: 13px;
  border: 2px solid #9db2c8;
  border-radius: 13px;
  background: #f7faff;
  color: #0c294c;
  text-align: left;
  cursor: pointer;
}
.scheme-official button b {color:#0c294c}
.scheme-official button small {margin-top:3px;color:#435e7b}

.program-first-step {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 15px 20px;
  margin-bottom: 20px;
  padding: 24px;
  border: 3px solid #174f91;
  border-radius: 24px;
  background: linear-gradient(135deg,#eaf3ff,#fff 68%);
  box-shadow: 0 17px 40px rgba(15,60,114,.13);
}

.program-first-badge {
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 96px;
  min-height: 96px;
  padding: 12px;
  border-radius: 19px;
  background: #0f3c72;
  text-align: center;
}

.program-first-badge span,
.program-first-badge small {
  display: block;
  color: #fff !important;
}

.program-first-badge span {font-size:2rem;font-weight:950}
.program-first-badge small {font-size:.75rem;font-weight:900;line-height:1.35}
.program-first-step h2 {margin:2px 0 7px;color:#0b294b;font-size:1.7rem}
.program-first-step p {margin:0;color:#304d6d;line-height:1.6}
.program-first-step ol {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: program-start;
  list-style: none;
}
.program-first-step li {
  display: grid;
  padding: 13px 15px;
  border: 2px solid #9db2c8;
  border-radius: 13px;
  background: #fff;
  color: #0b294b;
}
.program-first-step li b {color:#0b294b}
.program-first-step li span {margin-top:3px;color:#3d5875}

/* Última capa de contraste: pestañas, desplegables y fuentes siempre legibles. */
#view :is(.tab,.section-tab,.ux-space-tab,.stage-tabs button,.rubric-module-tabs button),
.nav-subitem {
  border: 2px solid #7f98b2 !important;
  background: #fff !important;
  color: #0b294b !important;
  text-shadow: none !important;
}

#view :is(.tab,.section-tab,.ux-space-tab,.stage-tabs button,.rubric-module-tabs button) *,
.nav-subitem * {
  color: inherit !important;
}

#view :is(.tab.active,.section-tab.active,.ux-space-tab.is-active,.stage-tabs button.active,.rubric-module-tabs button.active),
.nav-subitem.active {
  border-color: #0f3c72 !important;
  background: #0f3c72 !important;
  color: #fff !important;
  outline: 3px solid #f2c94c !important;
  outline-offset: 2px;
}

#view :is(.expert-reference-tabs summary,.experience-rubric-tab > summary,.guide-accordion summary,.content-item summary,.internal-unit-list summary,.internal-objectives > summary) {
  border-color: #9eb0c3 !important;
  background: #f4f8fc !important;
  color: #0b294b !important;
}

#view :is(.expert-reference-tabs summary,.experience-rubric-tab > summary,.guide-accordion summary,.content-item summary,.internal-unit-list summary,.internal-objectives > summary) :is(strong,b,small,span) {
  color: #0b294b !important;
}

#view :is(.source-link,.source-strip a,.planning-dialog-sources a,.performance-sources a) {
  border: 2px solid #2b5d91 !important;
  background: #fff !important;
  color: #0b3f77 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Navegación principal: ningún texto ni icono depende de un tono pastel. */
.sidebar :is(.nav-btn,.primary-tab,.menu-child) {
  border: 2px solid #7fa2c3 !important;
  background: #123b66 !important;
  color: #fff !important;
  text-shadow: none !important;
}

.sidebar :is(.nav-btn,.primary-tab,.menu-child) * {
  color: #fff !important;
}

.sidebar :is(.nav-btn.active,.primary-tab.active,.menu-child.active) {
  border-color: #f2c94c !important;
  background: #fff !important;
  color: #0b294b !important;
  outline: 3px solid #f2c94c !important;
}

.sidebar :is(.nav-btn.active,.primary-tab.active,.menu-child.active) * {
  color: #0b294b !important;
}

.sidebar :is(.nav-index,.tab-icon,.ico),
#view button :is(.tab-icon,.ico),
#view summary > i {
  border: 1px solid currentColor !important;
  background: #fff !important;
  color: #0b294b !important;
  text-shadow: none !important;
}

/* Controles superiores y pestañas de modo con contraste AA reforzado. */
:is(.mode-chip,.plan-chip,.owner-access-badge,.top-actions .btn.ghost) {
  border: 2px solid #315b84 !important;
  background: #fff !important;
  color: #0b294b !important;
  text-shadow: none !important;
}

:is(.mode-chip,.plan-chip,.owner-access-badge,.top-actions .btn.ghost) * {
  color: inherit !important;
}

:is(.mode-chip.active,.plan-chip.active) {
  border-color: #0f3c72 !important;
  background: #0f3c72 !important;
  color: #fff !important;
}

/* Pestañas, acordeones, tarjetas de acción e iconos de contenido. */
#view :is(.planning-window-btn,.experience-guidance-button,.ux-material-card button,.resource-grid button,.program-indicator-list summary) {
  border: 2px solid #839bb4 !important;
  background: #fff !important;
  color: #0b294b !important;
  text-shadow: none !important;
}

#view :is(.planning-window-btn,.experience-guidance-button,.ux-material-card button,.resource-grid button,.program-indicator-list summary) :is(b,strong,span,small,i) {
  color: #0b294b !important;
}

#view :is(.pill,.mini,.source-state,.study-plan-source,.zdp-source-badge) {
  border-color: #8ca3ba !important;
  background: #eaf1f8 !important;
  color: #0b294b !important;
  text-shadow: none !important;
}

#view :is(.pill,.mini,.source-state,.study-plan-source,.zdp-source-badge) * {
  color: inherit !important;
}

#view .pill.green {
  border-color: #43806a !important;
  background: #e5f5ed !important;
  color: #164f3c !important;
}

#view .pill.yellow {
  border-color: #9a6b0e !important;
  background: #fff2c7 !important;
  color: #5d3d00 !important;
}

/* El mapa curricular usa una superficie oscura: sus rótulos no heredan tonos
   pensados para tarjetas claras. */
#view .curriculum-audit :is(h2,p,footer small) {
  color: #fff !important;
}

#view .curriculum-audit .mini {
  border: 2px solid #f2c94c !important;
  background: #f2c94c !important;
  color: #10284a !important;
  padding: 6px 10px !important;
}

#view .curriculum-audit-metrics div {
  border: 2px solid #b8cce0 !important;
  background: #fff !important;
}

#view .curriculum-audit-metrics :is(strong,span) {
  color: #0b294b !important;
}

/* Especificidad reforzada frente a las reglas históricas de rótulos pequeños. */
body #view .program-first-step .program-first-badge :is(span,small) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 4px solid #f2c94c !important;
  outline-offset: 3px !important;
}

@keyframes currentFloat {
  0%,100% {transform:translateY(-18px) rotateX(3deg) scale(1.04)}
  50% {transform:translateY(-24px) rotateX(1deg) scale(1.055)}
}

@keyframes schemePulse {
  0%,100% {opacity:.55;transform:rotate(-12deg) scale(.96)}
  50% {opacity:1;transform:rotate(-12deg) scale(1.04)}
}

@keyframes stageBeacon {
  0%,100% {transform:translateZ(72px)}
  50% {transform:translateZ(94px)}
}

@media (max-width: 1120px) {
  .scheme-hero {grid-template-columns:1fr;min-height:0}
  .scheme-graphic {min-height:410px}
  .scheme-track {grid-template-columns:repeat(4,1fr)}
  .scheme-track::before {display:none}
}

@media (max-width: 760px) {
  .scheme-copy {padding:25px}
  .scheme-copy h2 {font-size:2.35rem}
  .scheme-graphic {min-height:300px}
  .scheme-map {padding:19px}
  .scheme-map header {align-items:flex-start;flex-direction:column}
  .scheme-track {grid-template-columns:1fr}
  .scheme-node,.scheme-node.is-current {min-height:120px;transform:none;animation:none}
  .scheme-next-grid {grid-template-columns:1fr}
  .program-first-step {grid-template-columns:1fr}
  .program-first-badge {min-height:76px}
  .program-first-step ol {grid-template-columns:1fr}
}

@media (prefers-reduced-motion: reduce) {
  .scheme-3d-beacon,.scheme-3d-stage.is-active,.scheme-node.is-current {animation:none}
}

/* V156 · primero el objetivo oficial escrito; luego, la decisión taxonómica docente. */
.scheme-written-objective{display:grid;grid-template-columns:150px minmax(0,1fr) 235px;gap:18px;align-items:stretch;margin:20px 0 4px;padding:18px;border:2px solid #2f6fed;border-radius:18px;background:linear-gradient(135deg,#f4f8ff,#fff 60%,#eefaf7);box-shadow:0 18px 45px rgba(31,75,118,.11)}
.scheme-written-step{display:grid;place-items:center;align-content:center;gap:8px;padding:14px;border-radius:14px;background:#173b63;color:#fff;text-align:center}.scheme-written-step span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2c94c;color:#17324b;font-size:18px;font-weight:950}.scheme-written-step small{color:#fff;font-size:10px;font-weight:900;line-height:1.45;letter-spacing:.08em}.scheme-written-copy>span{color:#236d5b;font-size:11px;font-weight:900;letter-spacing:.08em}.scheme-written-copy h3{margin:7px 0 8px;color:#102f50;font-size:18px;line-height:1.48}.scheme-written-copy p{margin:0;color:#526b7e;font-size:12px;line-height:1.6}.scheme-taxonomy-decision{display:flex;flex-direction:column;justify-content:center;padding:16px;border:1px solid #c8d8e6;border-radius:14px;background:#fff}.scheme-taxonomy-decision small{color:#7c653b;font-size:9px;font-weight:900;letter-spacing:.12em}.scheme-taxonomy-decision b{margin:8px 0 14px;color:#173b63;font-size:15px}.scheme-taxonomy-decision button{min-height:43px;padding:10px;border:0;border-radius:10px;background:#2f6fed;color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer}
@media(max-width:900px){.scheme-written-objective{grid-template-columns:1fr}.scheme-written-step{grid-template-columns:auto 1fr;justify-content:start;text-align:left}.scheme-taxonomy-decision{align-items:flex-start}}
