/* A quick glimpse of the lead journey, drawn as one continuous current. */
.scene-expectations {
  background: radial-gradient(ellipse at 72% 52%, #12639d23, transparent 62%);
}
.scene-expectations .composition {
  display: block;
  min-height: 0;
}
.scene-expectations .copy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  column-gap: 8%;
  position: relative;
}
.scene-expectations .copy h1 {
  grid-row: 1 / 3;
  font-size: clamp(42px, 4.8vw, 76px);
  margin: 0;
}
.scene-expectations .copy .intro {
  max-width: 480px;
  margin: 0;
  align-self: end;
}
.scene-expectations .copy .row {
  margin-top: 20px;
  align-self: start;
}
.scene-expectations .scene {
  min-height: 0;
  padding: 0;
  margin-top: 38px;
}
.expectation-preview {
  width: 100%;
  max-width: 1440px;
  margin: auto;
}
.expectation-route {
  position: relative;
  padding: 36px 0 45px;
}
.expectation-current {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 180px;
  overflow: visible;
  pointer-events: none;
}
.expectation-current path {
  fill: none;
  stroke: url(#expectation-stream);
  stroke-width: 1.3;
}
.expectation-current .expectation-haze {
  stroke-width: 17;
  filter: blur(14px);
  opacity: .45;
}
.expectation-current .expectation-echo {
  stroke-width: .7;
  opacity: .25;
}
.expectation-stages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 2%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.expectation-stages li {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.expectation-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: 12px;
}
.expectation-open {
  position: absolute;
  top: 9px;
  right: 8px;
  font-size: 14px;
  color: #80cde9;
  opacity: .7;
}
.expectation-stage:hover .expectation-glyph,
.expectation-stage:focus-visible .expectation-glyph {
  color: #d4f7ff;
  background: radial-gradient(circle, #438fff60, transparent 72%);
}
.expectation-stage:hover .expectation-open { opacity: 1; }
.expectation-glyph {
  display: grid;
  place-items: center;
  height: 76px;
  width: 76px;
  color: #9ae5f6;
  background: radial-gradient(circle, #347fc72e, transparent 70%);
  filter: drop-shadow(0 0 14px #3b8dff66);
}
.expectation-glyph svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.expectation-number {
  color: #66b9d7;
  font-size: 9px;
  letter-spacing: .18em;
}
.expectation-stages strong {
  color: #e7f3ff;
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 500;
}
.expectation-stages strong span {
  display: block;
  color: #8eaec8;
  font-size: .76em;
  margin-top: 5px;
}
.expectation-stages li:last-child strong span {
  margin: 0 0 3px;
  color: #9fdde9;
}
.expectation-foundation {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: 9%;
  padding: 29px 0 0;
  border-top: 1px solid #4a90bf38;
  position: relative;
}
.expectation-foundation::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, #77dbed, transparent);
  box-shadow: 0 0 12px #77dbed40;
}
.expectation-mastery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  text-align: left;
  border-radius: 10px;
}
.expectation-mastery-link { color: #8bbad5; font-size: 10px; }
.expectation-mastery:hover .expectation-mastery-link { color: #b9f0fa; }
.expectation-mastery small {
  color: #6fa9c8;
  letter-spacing: .16em;
  font-size: 8px;
}
.expectation-mastery strong {
  font-size: clamp(25px, 2.5vw, 39px);
  font-weight: 500;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.expectation-foundation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  align-content: center;
}
.expectation-foundation li {
  color: #c0d4e6;
  font-size: clamp(13px, 1.1vw, 17px);
  display: flex;
  gap: 13px;
  align-items: center;
}
.expectation-foundation li::before {
  content: '';
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #72cee5;
  box-shadow: 0 0 10px #5ccff084;
}
#dialog.brief-detail { width: min(640px, 92vw); }
#dialog.brief-detail .dialoghead { padding: 18px 24px; }
#dialog.brief-detail #dialogbody { padding: 26px; }
#dialog.brief-detail h2 { font-size: clamp(27px, 3.5vw, 36px); margin-bottom: 20px; }
#dialog.brief-detail p { font-size: 15px; line-height: 1.7; }
#dialog.brief-detail .overview-return { margin-top: 12px; padding: 11px 18px; font-size: 12px; }
.mastery-points { list-style: none; padding: 0; margin: 24px 0 18px; display: grid; gap: 18px; }
.mastery-points li { display: grid; gap: 5px; padding-left: 15px; border-left: 2px solid #4c9cbd; font-size: 13px; line-height: 1.65; }
.mastery-points strong { color: #e0f1ff; font-size: 14px; font-weight: 500; }
#dialog.brief-detail .brief-caption { font-size: 11px; color: #8eaec8; }
@media (max-width: 900px) {
  .scene-expectations .copy { grid-template-columns: 1fr; gap: 17px; }
  .scene-expectations .copy h1 { grid-row: auto; font-size: clamp(40px, 7vw, 58px); }
  .scene-expectations .copy h1 br { display: none; }
  .scene-expectations .copy .intro { max-width: 100%; }
  .scene-expectations .copy .row { margin: 0; }
  .scene-expectations .scene { margin-top: 12px; }
  .expectation-route { padding-top: 25px; padding-bottom: 30px; }
  .expectation-stages { column-gap: 10px; }
  .expectation-glyph { width: 50px; height: 60px; }
  .expectation-glyph svg { width: 30px; height: 30px; }
  .expectation-current { height: 140px; }
  .expectation-stages strong { font-size: clamp(14px, 2.6vw, 21px); }
  .expectation-foundation { grid-template-columns: 1fr; gap: 25px; padding-top: 25px; }
  .expectation-mastery { gap: 8px; }
  .expectation-mastery strong { font-size: 30px; }
  .expectation-foundation ul { gap: 20px; }
  .expectation-foundation li { font-size: 15px; }
}
@media (max-width: 520px) {
  .expectation-route { padding: 14px 0 28px; }
  .expectation-current { display: none; }
  .expectation-stages { display: flex; flex-direction: column; gap: 0; }
  .expectation-stages::before {
    content: ''; position: absolute; left: 24px; top: 24px; bottom: 24px;
    width: 1px; background: linear-gradient(#498fff40, #69e3e6);
    box-shadow: 0 0 14px #3b9cf15c;
  }
  .expectation-stages li { flex-direction: row; align-items: center; gap: 15px; min-height: 69px; }
  .expectation-stage { flex-direction: row; align-items: center; gap: 15px; min-height: 69px; padding-right: 22px; }
  .expectation-open { top: 26px; right: 4px; font-size: 13px; }
  .expectation-glyph { flex: 0 0 49px; width: 49px; height: 49px; background: radial-gradient(circle, #154170, #08111df2 65%); }
  .expectation-number { font-size: 8px; }
  .expectation-stages strong { font-size: 21px; }
  .expectation-stages strong span { display: inline; font-size: .78em; margin: 0; }
  .expectation-stages li:last-child strong span { display: inline; margin: 0; }
  .expectation-foundation ul { grid-template-columns: 1fr; gap: 18px; }
  .scene-expectations .copy h1 { font-size: 40px; }
}

/* Symbols guide the lead; labels retain their separate explanation buttons. */
.expectation-stages li { gap: 12px; }
.expectation-trigger { padding: 0; border-radius: 50%; border: 0; background-color: transparent; cursor: pointer; }
.expectation-trigger:hover, .expectation-trigger:focus-visible, .expectation-trigger[aria-pressed="true"] {
  color: #d4f7ff; background: radial-gradient(circle, #438fff60, transparent 72%);
}
.expectation-trigger:focus-visible { outline: 1px solid #8ddcff; outline-offset: 3px; }
.expectation-trigger { transition: color .5s ease, filter .5s ease, box-shadow .5s ease; }
.expectation-trigger.is-complete, .expectation-trigger.is-complete:hover, .expectation-trigger.is-complete:focus-visible {
  color: #9be3c3;
  background: radial-gradient(circle, #51c59730, transparent 72%);
  filter: drop-shadow(0 0 7px #51c59765);
}
.expectation-stage .expectation-open { top: 7px; }
.chamber-journey-dot { position: fixed; top: 0; left: 0; z-index: 35; width: 0; height: 0; pointer-events: none; }
.chamber-journey-dot[hidden] { display: none; }
.chamber-journey-dot span { display: block; position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #c8f2ff; box-shadow: 0 0 0 4px #6cc7f12e, 0 0 12px 3px #4daeff80; }
@media (max-width: 520px) {
  .expectation-stages li { flex-direction: row; gap: 15px; }
  .expectation-stage { min-width: 0; flex: 1; gap: 15px; }
  .expectation-stage .expectation-open { top: 26px; }
}

/* Compact, non-modal stage notes in the existing header space. */
.chamber-stage-card { position: fixed; z-index: 45; box-sizing: border-box; padding: 16px 19px 17px; border: 1px solid #6facc754; border-radius: 17px; background: linear-gradient(135deg, #102331, #0c1925); color: #d7e8f3; box-shadow: 0 12px 32px #0004, inset 0 1px #d1f3ff0a; overflow-y: auto; }
.chamber-stage-card[hidden] { display: none; }
.chamber-stage-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.chamber-stage-card-head > span { font-size: 10px; letter-spacing: .12em; color: #7fd9e8; }
.chamber-stage-card h2 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.chamber-stage-card-head button { margin-left: auto; display: grid; place-items: center; padding: 0; width: 27px; height: 27px; border: 0; border-radius: 50%; background: #bce7ff0b; color: #b1d0e1; cursor: pointer; font-size: 21px; }
.chamber-stage-card-head button:hover { background: #bce7ff20; }
.chamber-stage-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.chamber-stage-card li { display: flex; gap: 10px; font-size: 13px; line-height: 1.45; }
.chamber-stage-card li::before { content: ''; flex: 0 0 4px; width: 4px; height: 4px; margin-top: 7px; border-radius: 50%; background: #79cfdf; }
.expectation-stage[aria-expanded="true"] strong, .expectation-mastery[aria-expanded="true"] strong { color: #a9ecfa; }
.expectation-stage[aria-expanded="true"] .expectation-open { color: #b7f0fa; transform: rotate(90deg); }
@media (min-width: 901px) { .journey-info-open .copy .intro { visibility: hidden; } }
@media (max-width: 520px) { .chamber-stage-card { padding: 14px 15px 16px; border-radius: 15px; } .chamber-stage-card li { font-size: 12px; } }
