/* Trilhas do aluno — uma linguagem única para catálogo, caminho e tópico. */
:root {
  --v4-bg: #120e17;
  --v4-bg-top: #160d1d;
  --v4-header: #160d1d;
  --v4-panel: #211927;
  --v4-panel-soft: #1a1420;
  --v4-panel-raised: #2b2131;
  --v4-line: rgba(212, 175, 55, .18);
  --v4-line-soft: rgba(255, 255, 255, .09);
  --v4-muted: #b9adbf;
  --v4-text: #fff;
  --v4-gold: #d4af37;
  --v4-purple: #5b1f7e;
  --v4-green: #34d399;
  --v4-blue: #8fc7ef;
  --v4-danger: #f08b8b;
  --v4-radius: 14px;
  --v4-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

/* A rolagem pertence somente ao overlay. Assim ela fica na borda direita da área útil. */
.trilha-v4-page-overlay {
  position: fixed !important;
  inset: 0 0 var(--v4-shell-bottom, 0px) var(--v4-shell-left, 0px) !important;
  z-index: 10070 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: var(--v4-text) !important;
  background:
    radial-gradient(circle at 28% -12%, rgba(91, 31, 126, .24), transparent 38%),
    linear-gradient(180deg, var(--v4-bg-top) 0, var(--v4-bg) 55%, var(--v4-bg) 100%) !important;
  animation: v4PageIn .18s ease-out;
  container-name: v4shell;
  container-type: inline-size;
}

body.v4-overlay-open { overflow: hidden !important; }

.trilha-v4-fullpage {
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--v4-text) !important;
  background: transparent !important;
  overflow: visible !important;
}

.trilha-v4-page-head,
.v4n-head {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--v4-text) !important;
  background: rgba(22, 13, 29, .96) !important;
  border-bottom: 1px solid var(--v4-line) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.trilha-v4-page-body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.trilha-v4-page-overlay button,
.trilha-v4-page-overlay [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.trilha-v4-page-overlay button:focus-visible,
.trilha-v4-page-overlay [role="button"]:focus-visible,
.v4n-help-overlay button:focus-visible {
  outline: 3px solid var(--v4-gold) !important;
  outline-offset: 3px;
}

.v4n-icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--v4-line-soft);
  border-radius: 11px;
  background: var(--v4-panel-raised);
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.v4n-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, .42);
  background: #392b3f;
}

/* ---------------------------------------------------------------
   Catálogo: primeiro a orientação; depois, os caminhos disponíveis.
   --------------------------------------------------------------- */
.v4-home-shell {
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
  padding: 28px 0 72px;
  color: var(--v4-text);
}

.v4-home-inline {
  width: 100%;
  padding-top: 18px;
}

.v4-home-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.v4-home-head-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, .36);
  border-radius: 14px;
  background: rgba(91, 31, 126, .42);
  color: var(--v4-gold);
  font-size: 19px;
}

.v4-home-head small,
.v4-path-head-copy small {
  display: block;
  color: var(--v4-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.v4-home-head h1,
.v4-path-head-copy h1 {
  margin: 3px 0 2px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

.v4-home-head p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 13px;
}

.v4-home-dashboard {
  display: grid;
  gap: 18px;
}

.v4-home-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 13px;
  background: rgba(38, 33, 42, .82);
}

.v4-home-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--v4-muted);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.v4-home-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.v4-home-tab.is-active {
  color: #fff;
  border-color: rgba(212, 175, 55, .28);
  background: linear-gradient(135deg, rgba(91, 31, 126, .8), rgba(91, 31, 126, .48));
}

.v4-home-tab.is-active i { color: var(--v4-gold); }

.v4-home-stats {
  display: flex;
  gap: 10px;
}

.v4-home-stats > div {
  min-height: 64px;
  padding: 12px !important;
  border-color: var(--v4-line-soft) !important;
  border-radius: 12px !important;
  background: rgba(38, 33, 42, .78) !important;
}

.v4-home-guidance {
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 18px;
  background: rgba(22, 13, 29, .46);
  box-shadow: var(--v4-shadow);
}

.v4-home-guidance > * {
  margin-bottom: 10px !important;
}

.v4-home-guidance > *:last-child { margin-bottom: 0 !important; }
.v4-home-guidance > div:first-child,
.v4-home-guidance > button:first-child {
  background: linear-gradient(135deg, rgba(91, 31, 126, .56), rgba(38, 33, 42, .9)) !important;
}

.v4-guidance-plan {
  overflow: hidden;
  border: 1px solid rgba(124, 58, 183, .4);
  border-radius: 14px;
  background: linear-gradient(135deg, #241a3a, #1a1428);
  color: #fff;
}

.v4-guidance-plan > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  list-style: none;
  cursor: pointer;
}

.v4-guidance-plan > summary::-webkit-details-marker { display: none; }
.v4-guidance-plan-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(124, 58, 183, .22);
  color: #c4b5fd;
}
.v4-guidance-plan-copy { min-width: 0; flex: 1; }
.v4-guidance-plan-copy b,
.v4-guidance-plan-copy small { display: block; }
.v4-guidance-plan-copy b { font-size: 12.5px; }
.v4-guidance-plan-copy small { margin-top: 2px; color: #c9bfda; font-size: 10px; }
.v4-guidance-plan-chevron { color: #9f90aa; transition: transform .16s ease; }
.v4-guidance-plan[open] .v4-guidance-plan-chevron { transform: rotate(180deg); }
.v4-guidance-plan-rows { padding: 0 12px 12px; }

.v4-home-content {
  min-width: 0;
}

.v4-catalog-group {
  padding: 22px 0 8px;
  border-top: 1px solid var(--v4-line-soft);
}

.v4-catalog-group:first-child { border-top: 0; padding-top: 2px; }

.v4-catalog-group-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.v4-catalog-group-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--v4-line-soft);
  border-radius: 10px;
  background: var(--v4-panel);
}

.v4-catalog-group-head b,
.v4-catalog-group-head small { display: block; }
.v4-catalog-group-head b { color: #fff; font-size: 13px; }
.v4-catalog-group-head small { margin-top: 2px; color: var(--v4-muted); font-size: 10px; }

.v4-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.v4-discipline-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.v4-catalog-card {
  position: relative;
  min-width: 0;
  min-height: 136px;
  border: 1px solid var(--v4-card-border, var(--v4-line-soft));
  border-radius: var(--v4-radius);
  background: linear-gradient(145deg, rgba(48, 39, 53, .94), rgba(33, 26, 36, .96));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.v4-catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, .46);
  background: linear-gradient(145deg, rgba(55, 43, 59, .98), rgba(38, 30, 41, .98));
}

.v4-olympiad-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.v4-olympiad-card.is-goal {
  border-color: rgba(212, 175, 55, .62);
  box-shadow: inset 0 3px 0 var(--v4-gold), 0 10px 28px rgba(0, 0, 0, .16);
}

.v4-olympiad-card.is-recommended:not(.is-goal) {
  border-color: rgba(52, 211, 153, .34);
}

.v4-olympiad-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.v4-olympiad-card-title {
  flex: 1;
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.v4-olympiad-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.v4-olympiad-card-sub {
  margin-top: 9px;
  color: var(--v4-muted);
  font-size: 11px;
  line-height: 1.42;
}

.v4-olympiad-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--v4-gold);
  font-size: 11px;
  font-weight: 800;
}

.v4-discipline-card {
  width: 100%;
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  text-align: left;
}

.v4-catalog-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(91, 31, 126, .42);
  font-size: 18px;
}

.v4-catalog-card-copy b,
.v4-catalog-card-copy small { display: block; }
.v4-catalog-card-copy b { color: #fff; font-size: 14px; }
.v4-catalog-card-copy small { margin-top: 3px; color: var(--v4-muted); font-size: 10px; line-height: 1.35; }
.v4-discipline-card > i { color: var(--v4-gold); }

/* ---------------------------------------------------------------
   Caminho: um percurso conectado, com causa, próximo passo e etapas.
   --------------------------------------------------------------- */
.v4-path-head {
  padding: 18px max(28px, calc((100% - 1180px) / 2)) 14px !important;
}

.v4-path-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.v4-path-head-copy {
  flex: 1;
  min-width: 0;
}

.v4-path-admin-actions,
.v4-path-level-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.v4-path-level-row { margin-top: 10px; }

.v4-path-leveling {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgba(212, 175, 55, .32);
  border-radius: 9px;
  background: rgba(212, 175, 55, .09);
  color: var(--v4-gold);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.v4-path-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  color: var(--v4-muted);
  font-size: 11px;
}

.v4-path-summary b { color: var(--v4-green); }
.v4-path-summary strong { margin-left: auto; color: var(--v4-gold); }
.v4-path-summary .fa-trophy { color: var(--v4-gold); }

.v4-path-progress,
.v4-path-section-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .085);
}

.v4-path-progress { margin-top: 9px; }
.v4-path-progress > i,
.v4-path-section-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--v4-purple), var(--v4-green));
}

.v4-path-content {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 26px 0 76px;
}

.v4-path-next {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, .56);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(212, 175, 55, .13), rgba(38, 33, 42, .92));
  box-shadow: var(--v4-shadow);
}

.v4-path-next-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--v4-gold);
  color: #241b00;
}

.v4-path-next-copy small {
  color: var(--v4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.v4-path-next-copy h2 {
  margin: 3px 0;
  color: #fff;
  font-size: 16px;
}

.v4-path-next-copy p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 11px;
}

.v4-path-next > button {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--v4-gold);
  color: #251c00;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.v4-path-rationale {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 12px;
  background: rgba(38, 33, 42, .6);
}

.v4-path-rationale > i { margin-top: 2px; color: var(--v4-gold); }
.v4-path-rationale b { color: #fff; font-size: 11px; }
.v4-path-rationale p { margin: 2px 0 0; color: var(--v4-muted); font-size: 10.5px; line-height: 1.45; }

.v4-path-stack {
  position: relative;
  display: grid;
  gap: 12px;
}

.v4-path-stack::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 2px;
  background: linear-gradient(var(--v4-purple), rgba(212, 175, 55, .4));
  opacity: .6;
}

.v4-path-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--v4-line-soft);
  border-radius: 15px;
  background: rgba(33, 26, 36, .9);
}

.v4-path-section.is-open {
  border-color: rgba(212, 175, 55, .24);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

.v4-path-section-trigger {
  position: relative;
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 0;
  background: var(--v4-panel-soft);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.v4-path-section-trigger::before {
  display: none;
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--v4-muted);
  font-size: 18px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .16s ease;
}

.v4-path-section.is-open .v4-path-section-trigger::before { transform: translateY(-50%) rotate(90deg); }

.v4-path-section-chevron {
  justify-self: center;
  font-size: 13px;
  transition: transform .16s ease;
}

.v4-path-section-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--v4-line-soft);
  border-radius: 10px;
  background: var(--v4-panel-raised);
  font-size: 16px;
}

.v4-path-section-copy { min-width: 0; }
.v4-path-section-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
}

.v4-path-section-title > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v4-path-section-order {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(196, 181, 253, .24);
  border-radius: 999px;
  background: rgba(91, 31, 126, .22);
  color: #eadffa;
  font-size: 9px;
  line-height: 1.2;
}
.v4-path-section-sub { margin-top: 2px; color: var(--v4-muted); font-size: 10px; }
.v4-path-section-count {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(91, 31, 126, .25);
  color: #d9c8e4;
  font-size: 9px;
  white-space: nowrap;
}

.v4-path-section-body {
  padding: 0 12px 12px 31px;
  background: rgba(22, 13, 29, .26);
}

.v4-path-section-progress { margin: 0 0 10px; }
.v4-path-node-list { display: grid; gap: 7px; }

.v4-path-node {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 12px;
  background: rgba(38, 33, 42, .9);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.v4-path-node:hover {
  transform: translateX(2px);
  border-color: rgba(212, 175, 55, .38);
  background: var(--v4-panel-raised);
}

.v4-path-node.is-next {
  border-color: rgba(212, 175, 55, .65);
  background: linear-gradient(100deg, rgba(212, 175, 55, .11), rgba(38, 33, 42, .95));
  box-shadow: inset 3px 0 0 var(--v4-gold);
}

.v4-path-node.is-done {
  border-color: rgba(52, 211, 153, .3);
  background: rgba(28, 55, 48, .64);
}

.v4-path-node.has-admin-controls { grid-template-columns: 62px minmax(0, 1fr) auto; }

.v4-path-node-leading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.v4-path-node-index {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 31, 126, .38);
  color: #e5d5ee;
  font-size: 10px;
  font-weight: 900;
}

.v4-path-node.is-done .v4-path-node-index {
  background: var(--v4-green);
  color: #09281e;
}

.v4-path-node-index.is-context {
  border: 1px solid rgba(196, 181, 253, .22);
  background: rgba(91, 31, 126, .18);
  color: #cdb4e8;
  font-size: 9px;
}

.v4-path-node-copy { min-width: 0; }
.v4-path-node-title { color: #fff; font-size: 12.5px; font-weight: 800; }
.v4-path-node-breadcrumb { margin-top: 2px; color: var(--v4-muted); font-size: 9.5px; }
.v4-path-node-prereq { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 5px; color: #a79bae; font-size: 9px; }
.v4-path-node-prereq > span { color: #ae9cb8; }
.v4-path-node-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; }
.v4-path-next-label { color: var(--v4-gold); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.v4-path-node-time { color: var(--v4-muted); font-size: 9px; }
.v4-path-empty { padding: 24px; color: var(--v4-muted); text-align: center; }

/* ---------------------------------------------------------------
   Tópico: missão, próxima ação e três etapas conectadas.
   --------------------------------------------------------------- */
.v4n-head {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px max(28px, calc((100% - 1280px) / 2));
}

.v4n-head-copy {
  flex: 1;
  min-width: 0;
}

.v4n-head-copy > small {
  display: block;
  color: var(--v4-gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.v4n-head-copy h1 {
  margin: 3px 0 2px;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.12;
}

.v4n-head-copy p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 11px;
}

.v4n-levels { margin-top: 7px; }
.v4n-levels > div { margin-top: 0 !important; }

.v4n-dominated,
.v4n-revalidate {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.v4n-dominated {
  border: 1px solid rgba(52, 211, 153, .4);
  background: rgba(52, 211, 153, .11);
  color: var(--v4-green);
}

.v4n-revalidate {
  border: 1px solid rgba(212, 175, 55, .42);
  background: rgba(212, 175, 55, .1);
  color: var(--v4-gold);
}

.v4n-layout {
  width: min(1280px, calc(100% - 56px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  margin: 0 auto;
  padding: 28px 0 78px;
  overflow: visible !important;
  background: transparent !important;
}

.v4n-main {
  min-width: 0;
  padding: 0;
  background: transparent !important;
}

.v4n-side {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 122px;
  display: grid;
  gap: 12px;
}

.v4n-side-card {
  padding: 19px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 15px;
  background: rgba(38, 33, 42, .9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

.v4n-side h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
}

.v4n-prereq {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, .43);
  border-radius: 13px;
  background: rgba(212, 175, 55, .075);
}

.v4n-prereq > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #efd56e;
  font-size: 11px;
}

.v4n-prereq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, .2);
}

.v4n-prereq-links button {
  min-height: 30px;
  padding: 5px 9px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
}

.v4n-objective {
  padding: 18px 20px;
  border: 1px solid rgba(91, 31, 126, .65);
  border-radius: 14px;
  background: linear-gradient(115deg, rgba(91, 31, 126, .32), rgba(38, 33, 42, .82));
}

.v4n-objective small {
  color: #d7bce6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.v4n-objective p {
  margin: 6px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.v4n-tablet-progress { display: none; }

.v4n-next {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, .58);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(212, 175, 55, .13), rgba(38, 33, 42, .9));
}

.v4n-next > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--v4-gold);
  color: #281f00;
}

.v4n-next small {
  display: block;
  color: var(--v4-gold);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v4n-next b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 14px;
}

.v4n-next button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--v4-gold);
  color: #241b00;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.v4n-flow-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 4px 4px;
  color: var(--v4-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.v4n-flow-note i { margin-top: 2px; color: var(--v4-gold); }
.v4n-flow-note b { color: #e8dce9; }

.v4n-route {
  position: relative;
  padding-left: 17px;
}

.v4n-route::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 36px;
  left: 29px;
  width: 2px;
  background: linear-gradient(var(--v4-green), var(--v4-gold) 55%, var(--v4-purple));
  opacity: .5;
}

.v4n-stage {
  --stage-color: var(--v4-green);
  position: relative;
  margin-top: 22px;
}

.v4n-stage.is-practice { --stage-color: var(--v4-gold); }
.v4n-stage.is-optional { --stage-color: #bd76df; }

.v4n-stage-head {
  min-height: 46px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin: 0 0 9px -17px;
}

.v4n-stage-head > span {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 4px solid var(--v4-bg);
  border-radius: 50%;
  box-sizing: content-box;
  background: var(--stage-color);
  color: #152019;
  font-size: 10px;
  font-weight: 900;
}

.v4n-stage-head > div { min-width: 0; }
.v4n-stage-head small {
  display: block;
  color: #8f8395;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

.v4n-stage-head b {
  display: block;
  margin-top: 1px;
  color: var(--stage-color);
  font-size: 12px;
  text-transform: uppercase;
}

.v4n-stage-head p {
  margin: 2px 0 0;
  color: var(--v4-muted);
  font-size: 9.5px;
}

.v4n-stage-head em {
  color: var(--stage-color);
  font-size: 9.5px;
  font-style: normal;
  white-space: nowrap;
}

.v4n-tasks {
  overflow: hidden;
  border: 1px solid var(--v4-line-soft);
  border-radius: 13px;
  background: rgba(38, 33, 42, .82);
}

.v4n-task {
  min-height: 66px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--v4-line-soft);
  cursor: pointer;
  transition: background .15s ease, padding-left .15s ease;
}

.v4n-task:last-child { border-bottom: 0; }
.v4n-task:not(.disabled):hover { padding-left: 16px; background: rgba(255, 255, 255, .035); }
.v4n-task.disabled { cursor: default; opacity: .68; }

.v4n-task-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--task-color) 14%, transparent);
  color: var(--task-color);
  font-size: 14px;
}

.v4n-task-copy { min-width: 0; }
.v4n-task-copy b { display: block; overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.v4n-task-copy small { display: block; margin-top: 2px; color: var(--v4-muted); font-size: 9.5px; }

.v4n-status {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #d8cedc;
  font-size: 9px;
  white-space: nowrap;
}

.v4n-task.done { background: rgba(52, 211, 153, .035); }
.v4n-task.done .v4n-status { border-color: rgba(52, 211, 153, .4); color: var(--v4-green); }
.v4n-task.optional .v4n-status { border-color: rgba(212, 175, 55, .4); color: #ead16c; }

.v4n-inline-progress {
  display: block;
  width: 130px;
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
}

.v4n-inline-progress i { display: block; height: 100%; background: var(--v4-gold); }

.v4n-extras {
  margin-top: 18px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 13px;
  background: rgba(38, 33, 42, .72);
}

.v4n-extras summary { padding: 14px 16px; color: #eee5f0; font-size: 11px; font-weight: 800; cursor: pointer; }
.v4n-extras .v4n-tasks { margin: 0 12px 12px; }

.v4n-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.v4n-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.v4n-btn.success { border: 0; background: var(--v4-green); color: #06281c; }
.v4n-btn.secondary { border: 1px solid var(--v4-line-soft); background: var(--v4-panel-raised); color: #eee5f0; }
.v4n-btn.locked { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); color: #887d8e; cursor: not-allowed; }

.v4n-ring {
  --p: calc(var(--progress) * 1%);
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: conic-gradient(var(--ring) 0 var(--p), rgba(255, 255, 255, .09) var(--p) 100%);
}

.v4n-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--v4-panel);
}

.v4n-ring span { grid-area: 1 / 1; z-index: 1; color: #fff; font-size: 21px; font-weight: 900; }
.v4n-progress-card > p { margin: 0; color: var(--v4-muted); font-size: 10px; text-align: center; }

.v4n-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.v4n-stats span { padding: 4px 7px; border-radius: 7px; background: rgba(91, 31, 126, .22); color: #d1c2d9; font-size: 8.5px; }
.v4n-stats i { margin-right: 4px; color: #c8aad8; }
.v4n-checks { display: grid; gap: 10px; }
.v4n-check { display: flex; gap: 8px; color: var(--v4-muted); font-size: 10px; line-height: 1.4; }
.v4n-check i { margin-top: 3px; color: #716777; font-size: 7px; }
.v4n-check.ok { color: #e6dee8; }
.v4n-check.ok i { color: var(--v4-green); }

.v4n-xp {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(52, 211, 153, .31);
  border-radius: 11px;
  background: rgba(52, 211, 153, .075);
  color: #9fe8ca;
  font-size: 10.5px;
}

.v4n-xp small { display: block; margin-top: 3px; color: #82bca3; font-size: 8.5px; }

.v4n-help {
  width: 100%;
  min-height: 40px;
  margin-top: 11px;
  border: 1px solid rgba(91, 31, 126, .65);
  border-radius: 10px;
  background: rgba(91, 31, 126, .25);
  color: #f0e7f3;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}

/* Ajuda contextual */
.v4n-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 4, 9, .8);
  backdrop-filter: blur(8px);
}

.v4n-help-panel {
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 17px;
  background: var(--v4-panel-soft);
  box-shadow: 0 30px 90px #000;
}

.v4n-help-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v4-line-soft);
}

.v4n-help-head > div { flex: 1; }
.v4n-help-head small { color: var(--v4-gold); font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.v4n-help-head h2 { margin: 3px 0 0; color: #fff; font-size: 18px; }
.v4n-help-head > button { width: 34px; height: 34px; border: 1px solid var(--v4-line-soft); border-radius: 9px; background: var(--v4-panel-raised); color: #fff; }

.v4n-help-option {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
  padding: 12px;
  border: 1px solid var(--v4-line-soft);
  border-radius: 11px;
  background: var(--v4-panel);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.v4n-help-option > i:first-child { color: var(--v4-gold); }
.v4n-help-option b, .v4n-help-option small { display: block; }
.v4n-help-option small { margin-top: 2px; color: var(--v4-muted); font-size: 9px; }

.v4n-help-pre {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 11px;
  background: rgba(212, 175, 55, .065);
  color: #e8cc6f;
  font-size: 10px;
}

.v4n-help-pre > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }

/* Runner de questões: geometria própria, leitura confortável e cabeçalho persistente. */
#overlayNoOlimpV4.trilha-v4-page-overlay > div.v4-runner-card.v4-runner-card {
  width: min(720px, calc(100% - 40px)) !important;
  max-width: 720px !important;
  margin: 24px auto !important;
  border-radius: 18px !important;
  background: var(--v4-panel-soft) !important;
}

.v4-runner-head {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 64px;
  background: linear-gradient(135deg, rgba(91, 31, 126, .72), rgba(19, 16, 28, .96) 72%) !important;
  backdrop-filter: blur(12px);
}

.v4-runner-back { min-width: 44px !important; min-height: 44px !important; }
.v4-runner-enun { font-size: 16px !important; line-height: 1.58 !important; }
.v4-runner-alt {
  min-height: 52px !important;
  padding: 13px 15px !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
}
.v4-runner-feedback { min-height: 28px; padding-top: 6px; font-size: 14px !important; }
.v4-runner-next button,
.v4-runner-result button { min-height: 46px !important; font-size: 13px !important; }
.v4-runner-card img { max-width: 100% !important; height: auto !important; }

/* Telas auxiliares (runner, nivelamento, edição) usam o mesmo palco visual. */
#overlayNoOlimpV4.trilha-v4-page-overlay > div:not(.trilha-v4-fullpage),
#overlayTrilhasOlimpV4.trilha-v4-page-overlay > div:not(.trilha-v4-fullpage) {
  width: min(920px, calc(100% - 40px)) !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 28px auto !important;
  border: 1px solid var(--v4-line-soft) !important;
  border-radius: 17px !important;
  background: var(--v4-panel-soft) !important;
  color: #fff !important;
  box-shadow: var(--v4-shadow) !important;
  overflow: visible !important;
}

@keyframes v4PageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .trilha-v4-page-overlay { animation: none; }
  .v4-catalog-card, .v4-path-node, .v4n-task, .v4n-icon-btn { transition: none; }
}

/* O banner é uma ferramenta de ADM e não pode cobrir o título no tablet. */
@media (max-width: 1199px) {
  #v4PreviewAlunoFaixa {
    top: auto !important;
    right: 12px !important;
    bottom: calc(var(--v4-shell-bottom, 0px) + 12px) !important;
    left: auto !important;
    max-width: min(330px, calc(100vw - 24px)) !important;
    padding: 6px 8px !important;
    transform: none !important;
    white-space: normal !important;
    font-size: 10px !important;
  }
  #v4PreviewAlunoFaixa button { width: 44px !important; height: 44px !important; flex: 0 0 auto; }
}

/* A largura decisiva é a do overlay, não a do viewport. Em 1024px a sidebar
   deixa apenas ~792px; a container query abaixo evita espremer duas colunas. */
@container v4shell (max-width: 1100px) {
  .v4-home-shell { width: calc(100% - 36px); }
  .v4-path-content,
  .v4n-layout { width: min(100% - 36px, 1180px); }
  .v4n-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; }
}

@container v4shell (max-width: 960px) {
  .v4-home-shell,
  .v4-path-content,
  .v4n-layout { width: calc(100% - 24px); }

  .v4-home-shell { padding: 16px 0 48px; }
  .v4-home-head { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; margin-bottom: 14px; }
  .v4-home-head-icon { width: 44px; height: 44px; }
  .trilha-v4-page-overlay .v4-home-head h1 { font-size: 23px !important; }
  .v4-home-head p { font-size: 12px; }
  .v4-home-dashboard { gap: 12px; }
  .v4-home-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 5px; }
  .trilha-v4-page-overlay .v4-home-tab { min-height: 48px !important; font-size: 12px !important; }
  .v4-home-stats { gap: 7px; }
  .v4-home-stats > div { min-height: 58px; padding: 9px 5px !important; }
  .v4-home-guidance { padding: 12px; border-radius: 15px; box-shadow: none; }
  .v4-home-guidance button,
  .v4-guidance-plan > summary,
  .v4-guidance-plan-rows button,
  .v4-olympiad-card-top button { min-height: 44px !important; }
  .v4-catalog-group { padding-top: 18px; }
  .v4-catalog-group-head b { font-size: 14px; }
  .v4-catalog-group-head small { font-size: 11px; }
  .v4-catalog-grid,
  .v4-discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v4-catalog-card { min-height: 148px; }
  .v4-olympiad-card-title { font-size: 16px; }
  .v4-olympiad-card-sub { font-size: 12px; }
  .v4-olympiad-card-action { font-size: 12px; }

  .v4-path-head,
  .v4n-head { padding-left: 12px !important; padding-right: 12px !important; }
  .v4-path-head { padding-top: 13px !important; padding-bottom: 12px !important; }
  .v4-path-head-row { gap: 11px; }
  .trilha-v4-page-overlay .v4-path-head-copy h1 { font-size: 22px !important; }
  .v4-path-head button,
  .v4n-levels button { min-height: 44px !important; font-size: 11px !important; }
  .v4-path-leveling,
  .v4-path-next > button { min-height: 44px !important; font-size: 12px !important; }
  .v4-path-content { padding-top: 18px; }
  .v4-path-next { padding: 14px; }
  .v4-path-next-copy h2 { font-size: 16px; }
  .v4-path-next-copy p { font-size: 12px; }
  .v4-path-rationale { margin: 12px 0 16px; }
  .v4-path-rationale b { font-size: 12px; }
  .v4-path-rationale p { font-size: 11px; }
  .v4-path-section-trigger { min-height: 72px !important; }
  .v4-path-section-title { font-size: 14px; }
  .v4-path-section-sub { font-size: 11px; }
  .v4-path-section-count { font-size: 10px; }
  .v4-path-node { min-height: 84px; }
  .v4-path-node-title { font-size: 14px; }
  .v4-path-node-breadcrumb { font-size: 11px; }
  .v4-path-node-prereq { font-size: 10.5px; }
  .v4-path-node-prereq button { min-height: 44px !important; font-size: 11px !important; }
  .v4-path-node-time { font-size: 10.5px; }

  .v4n-head { min-height: 84px; gap: 11px; }
  .v4n-head > .v4n-icon-btn:last-child { display: none; }
  .trilha-v4-page-overlay .v4n-head-copy h1 { font-size: 21px !important; }
  .v4n-head-copy > small { font-size: 10px; }
  .v4n-head-copy p { font-size: 12px; }
  .v4n-icon-btn { width: 48px; height: 48px; }
  .v4n-layout { display: block; padding: 16px 0 48px; }
  .v4n-side { position: static; grid-template-columns: 1fr; margin-top: 20px; }
  .v4n-progress-card { display: none; }
  .v4n-prereq { margin-bottom: 12px; }
  .v4n-prereq > div:first-child { font-size: 12px; }
  .v4n-prereq-links button { min-height: 44px !important; font-size: 11px !important; }
  .v4n-objective { padding: 15px 17px; }
  .v4n-objective small { font-size: 10px; }
  .v4n-objective p { font-size: 15px; }
  .v4n-tablet-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--v4-line-soft);
    border-radius: 13px;
    background: rgba(33, 25, 39, .9);
  }
  .v4n-tablet-progress div { min-width: 0; }
  .v4n-tablet-progress small { display: block; color: var(--v4-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
  .v4n-tablet-progress b { display: block; margin-top: 2px; overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .v4n-tablet-progress strong { color: var(--v4-tablet-ring); font-size: 18px; }
  .v4n-tablet-progress > span { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .09); }
  .v4n-tablet-progress > span i { display: block; width: calc(var(--v4-tablet-progress) * 1%); height: 100%; border-radius: inherit; background: var(--v4-tablet-ring); }
  .v4n-next { margin-top: 12px; padding: 14px; }
  .v4n-next small { font-size: 10px; }
  .v4n-next b { font-size: 15px; }
  .v4n-next button { min-height: 46px !important; font-size: 12px !important; }
  .v4n-flow-note { font-size: 11.5px; }
  .v4n-stage-head small { font-size: 9px; }
  .v4n-stage-head b { font-size: 13px; }
  .v4n-stage-head p,
  .v4n-stage-head em { font-size: 11px; }
  .v4n-task { min-height: 78px; grid-template-columns: 44px minmax(0, 1fr) auto; }
  .v4n-task-icon { width: 42px; height: 42px; }
  .v4n-task-copy b { font-size: 13.5px; }
  .v4n-task-copy small { font-size: 11.5px; line-height: 1.35; }
  .v4n-status { min-height: 32px; display: inline-flex; align-items: center; padding: 6px 10px; font-size: 10.5px; }
  .v4n-btn,
  .v4n-help { min-height: 48px !important; font-size: 12px !important; }
  .v4n-side-card { padding: 17px; }
  .v4n-side h2 { font-size: 15px; }
  .v4n-check { font-size: 12px; }
  .v4n-xp { font-size: 12px; }
  .v4n-xp small { font-size: 10px; }

  #overlayNoOlimpV4.trilha-v4-page-overlay > div:not(.trilha-v4-fullpage),
  #overlayTrilhasOlimpV4.trilha-v4-page-overlay > div:not(.trilha-v4-fullpage) {
    width: calc(100% - 24px) !important;
    margin: 12px auto !important;
  }
  #overlayNoOlimpV4.trilha-v4-page-overlay > div.v4-runner-card.v4-runner-card {
    width: min(700px, calc(100% - 24px)) !important;
    max-width: 700px !important;
  }
  .v4-runner-body { padding: 18px 20px 24px !important; }
  .v4-runner-enun { font-size: 16px !important; }
  .v4-runner-alt { min-height: 56px !important; font-size: 15px !important; }
}

@container v4shell (max-width: 599px) {
  .v4-home-tabs { grid-template-columns: 1fr 1fr; }
  .v4-home-head { grid-template-columns: minmax(0, 1fr) auto; }
  .v4-home-head-icon { display: none; }
  .v4-home-head p { display: none; }
  .v4-home-stats > div { min-width: 0; }
  .v4-catalog-grid,
  .v4-discipline-grid { grid-template-columns: 1fr; }
  .v4-path-next,
  .v4n-next { grid-template-columns: 44px minmax(0, 1fr); }
  .v4-path-next > button,
  .v4n-next > button { grid-column: 1 / -1; width: 100%; }
  .v4-path-summary > span:nth-child(2) { display: none; }
  .v4-path-stack::before { left: 20px; }
  .v4-path-section-body { padding-left: 10px; }
  .v4-path-section-trigger { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 9px; }
  .v4-path-section-count { grid-column: 2; justify-self: start; }
  .v4-path-section-chevron { grid-column: 3; grid-row: 1 / span 2; }
  .v4-path-node { grid-template-columns: 34px minmax(0, 1fr); }
  .v4-path-node.has-admin-controls { grid-template-columns: 62px minmax(0, 1fr); }
  .v4-path-node-meta { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .v4n-head-copy p,
  .v4n-dominated,
  .v4n-revalidate { display: none; }
  .v4n-route { padding-left: 10px; }
  .v4n-route::before { left: 22px; }
  .v4n-stage-head { margin-left: -10px; grid-template-columns: 30px minmax(0, 1fr); }
  .v4n-stage-head em { display: none; }
  .v4n-task { grid-template-columns: 42px minmax(0, 1fr); }
  .v4n-status { grid-column: 2; justify-self: start; }
  .v4-runner-body { padding: 16px 14px 22px !important; }
}

@media (max-height: 820px) {
  .v4n-side { position: static; }
  .v4-runner-card img { max-height: 36vh !important; object-fit: contain; }
}

body.theme-light .trilha-v4-page-overlay {
  --v4-bg: #f5f1f7;
  --v4-bg-top: #f8f5fa;
  --v4-header: #fff;
  --v4-panel: #fff;
  --v4-panel-soft: #f5eff8;
  --v4-panel-raised: #eee5f2;
  --v4-line: rgba(91, 31, 126, .18);
  --v4-line-soft: rgba(54, 39, 60, .13);
  --v4-muted: #6f6475;
  --v4-text: #241e27;
  background: linear-gradient(180deg, #faf7fb, #f2eef4) !important;
}

body.theme-light .trilha-v4-page-head,
body.theme-light .v4n-head { background: rgba(255, 255, 255, .96) !important; }
body.theme-light .v4-home-head h1,
body.theme-light .v4-path-head-copy h1,
body.theme-light .v4n-head-copy h1,
body.theme-light .v4n-objective p,
body.theme-light .v4n-task-copy b,
body.theme-light .v4n-side h2,
body.theme-light .v4-path-node-title,
body.theme-light .v4-path-next-copy h2,
body.theme-light .v4n-next b { color: #241e27; }
body.theme-light .v4n-ring::before { background: #fff; }
body.theme-light .v4n-stage-head > span { border-color: #f5f1f7; }
