/* Academy V2 is opt-in through /api/config. These rules affect only its views. */
.shell .v2-location { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; min-width: 0; }
.shell .v2-location b { font-weight: 680; }
.shell .v2-location-detail {
  display: block; max-width: min(36vw, 370px); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; color: #b9c9d0; font-size: .77rem;
}
.shell .status-pill { white-space: nowrap; }
.sim-next-steps {
  margin: 28px 0; padding: 22px clamp(18px, 3vw, 30px);
  border: 1px solid #455863; border-left: 3px solid #75c9df;
  border-radius: 10px; background: #111b22; color: #f0f2f0;
}
.sim-next-steps h2 { margin: 8px 0; font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.sim-next-steps p { max-width: 65ch; color: #c3d1d5; line-height: 1.55; }
.sim-next-steps > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sim-next-steps button { min-height: 44px; white-space: normal; }
.sim-next-steps button:focus-visible { outline: 3px solid #88d2e4; outline-offset: 3px; }
.tutor-next-step {
  max-width: 680px; margin: 22px 0 6px 46px; padding: 17px 20px;
  border: 1px solid #455863; border-radius: 10px; background: #14232a;
}
.tutor-next-step span { color: #9fdfec; font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.tutor-next-step h2 { margin: 7px 0; color: #f0f2f0; font-size: 1.08rem; }
.tutor-next-step p { margin: 0; color: #c4d2d6; line-height: 1.55; }
@media (max-width: 620px) {
  .shell .v2-location-detail { max-width: 56vw; }
  .shell:not(.v2-course-focus) .topbar .status-pill { display: none; }
  .sim-next-steps > div { display: grid; }
  .tutor-next-step { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sim-next-steps *, .v2-location * { transition: none !important; animation: none !important; }
}
.v2-project-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 24px 0;
  padding: 24px clamp(22px, 4vw, 40px);
  border: 1px solid #455863;
  border-radius: 9px;
  background: #111b22;
  color: #f0f2f0;
}
.v2-project-teaser h2 { margin: 8px 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 620; letter-spacing: -.025em; }
.v2-project-teaser p { max-width: 70ch; margin: 0; color: #b5c1c4; line-height: 1.55; }
.v2-project-teaser button { flex: 0 0 auto; padding: 10px 0; border: 0; background: none; color: #88d2e4; font: inherit; font-weight: 670; cursor: pointer; }
.v2-project-teaser button:focus-visible { outline: 3px solid #88d2e4; outline-offset: 4px; }
.v2-adaptive-teaser { display:flex; align-items:center; justify-content:space-between;
  gap:18px 32px; margin:24px 0; padding:24px clamp(22px,4vw,40px);
  border-top:2px solid #75c9df; background:#111b22; color:#f0f2f0; }
.v2-adaptive-teaser h2 { margin:8px 0; font-size:clamp(1.3rem,2.4vw,1.8rem); font-weight:620; }
.v2-adaptive-teaser p { max-width:66ch; margin:0; color:#b5c1c4; line-height:1.55; }
.v2-adaptive-links { display:flex; flex-wrap:wrap; gap:12px 22px; }
.v2-adaptive-links a { color:#a9e7f4; font-weight:650; text-underline-offset:5px; white-space:normal; }
.v2-adaptive-links a:focus-visible { outline:3px solid #88d2e4; outline-offset:4px; }
@media (max-width: 620px) {
  .v2-project-teaser { display: grid; }
  .v2-project-teaser button { justify-self: start; }
  .v2-adaptive-teaser { display:grid; }
}
.academy-v2-dashboard,
.academy-v2-journey,
.academy-v2-profile {
  --v2-ink: #0b1015;
  --v2-surface: #141d24;
  --v2-line: #5b6a74;
  --v2-text: #f0f2f0;
  --v2-muted: #b5c1c4;
  --v2-accent: #61c3dc;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--v2-text);
}
.academy-v2-dashboard *,
.academy-v2-journey *,
.academy-v2-profile * { min-width: 0; }
.academy-v2-dashboard button,
.academy-v2-journey button,
.academy-v2-profile button {
  font: inherit;
  cursor: pointer;
}
.academy-v2-dashboard button:focus-visible,
.academy-v2-journey button:focus-visible,
.academy-v2-profile button:focus-visible {
  outline: 3px solid var(--v2-accent);
  outline-offset: 4px;
}

.v2-global-progress { margin: 18px 0 22px; }
.v2-global-progress > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.v2-global-progress label { color: var(--v2-muted); font-size: .9rem; }
.v2-global-progress strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2-global-progress progress { display: block; width: 100%; height: 9px; margin-top: 10px; accent-color: var(--v2-accent); }

.v2-profile-head { padding: 8px 0 30px; }
.v2-profile-head h1 {
  max-width: 17ch;
  margin: 13px 0;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.v2-profile-head p:last-child { max-width: 65ch; color: var(--v2-muted); line-height: 1.6; }
.v2-profile-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: 9px;
  background: var(--v2-line);
}
.v2-profile-totals > div { display: grid; gap: 8px; padding: 22px; background: var(--v2-surface); }
.v2-profile-totals strong { font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.1; }
.v2-profile-totals span { color: var(--v2-muted); font-size: .88rem; line-height: 1.4; }
.v2-profile-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; margin: 36px 0; }
.v2-profile-grid h2,
.v2-profile-project h2,
.v2-profile-limits h2 { margin: 0 0 15px; font-size: 1.4rem; }
.v2-profile-grid p,
.v2-profile-project p,
.v2-profile-limits p { color: var(--v2-muted); line-height: 1.55; }
.v2-profile-chapters,
.v2-profile-review { margin: 0; padding: 0; list-style: none; }
.v2-profile-chapters li,
.v2-profile-review li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  padding: 13px 0;
  border-top: 1px solid var(--v2-line);
}
.v2-profile-chapters li span:first-child { font-weight: 650; }
.v2-profile-chapters li span:last-child { color: var(--v2-muted); font-size: .85rem; }
.v2-profile-review li button,
.v2-profile-project button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--v2-accent);
  font-weight: 650;
}
.v2-profile-grid h2:not(:first-child) { margin-top: 34px; }
.v2-profile-project,
.v2-profile-limits { padding: 24px 0; border-top: 1px solid var(--v2-line); }
@media (max-width: 900px) {
  .v2-profile-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-profile-grid { grid-template-columns: 1fr; }
}

/* Academy V2 lessons use the viewport as their frame; only teaching content scrolls. */
body:has(.shell.v2-course-focus),
body:has(.shell.v2-course-focus) #app { height: 100dvh; overflow: hidden; }
.shell.v2-course-focus { height: 100dvh; min-height: 0; overflow: hidden; background: #0b1015; }
.shell.v2-course-focus .main { display: flex; flex-direction: column; height: 100dvh; min-height: 0; overflow: hidden; }
.shell.v2-course-focus .course-topbar {
  position: relative;
  flex: 0 0 54px;
  height: 54px;
  min-height: 54px;
  padding-left: clamp(16px, 3vw, 42px);
  padding-right: 68px;
  background: #0b1015;
}
.gm-root.gm-v2-course-page .gm-float {
  top: 4px !important;
  right: 8px !important;
  bottom: auto !important;
  left: auto !important;
  width: 46px;
  height: 46px;
  overflow: hidden;
}
.gm-root.gm-v2-course-page .gm-visual { width: 46px; height: 46px; }
.gm-root.gm-v2-course-page .gm-float-controls,
.gm-root.gm-v2-course-page .gm-bubble,
.gm-root.gm-v2-course-page .gm-chip,
.gm-root.gm-v2-course-page .gm-static-entry { display: none; }
.shell.v2-course-focus .course-topbar .crumb { margin-right: auto; }
.shell.v2-course-focus .content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  max-width: 1480px;
  min-height: 0;
  overflow: hidden;
  padding: 12px clamp(12px, 2.4vw, 36px) 12px;
}
.v2-course-frame { display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-height: 0; min-width: 0; overflow: hidden; }
.shell.v2-course-focus .course-progress-head {
  flex: 0 0 auto;
  width: min(100%, 1260px);
  margin: 0 auto 10px;
  padding: 0;
}
.shell.v2-course-focus .course-progress-head > div:first-child { min-width: 0; }
.shell.v2-course-focus .course-progress-head span,
.shell.v2-course-focus .course-progress-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell.v2-course-focus .course-replay-banner { flex: 0 0 auto; margin-bottom: 8px; padding: 7px 12px; }
.shell.v2-course-focus .tutor-return { flex: 0 0 auto; align-self: flex-start; margin-bottom: 8px; }
.shell.v2-course-focus .course-immersive {
  display: grid;
  flex: 1 1 auto;
  width: min(100%, 1260px);
  min-height: 0;
  overflow: hidden;
  gap: clamp(12px, 2vw, 26px);
  grid-template-columns: clamp(190px, 22vw, 278px) minmax(0, 1fr);
}
.shell.v2-course-focus .course-immersive.course-solo { grid-template-columns: minmax(0, 1fr); }

.shell.v2-course-focus .lesson.v2-course-scroll {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #42687a transparent;
  scrollbar-width: thin;
  padding: 0 clamp(4px, 2vw, 20px) 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shell.v2-course-focus .v2-course-scroll .course-intro { padding: 4px 0 18px; }
.shell.v2-course-focus .v2-course-scroll .course-section { padding: 18px 0 28px; }
.shell.v2-course-focus .v2-course-scroll .course-section h2 { margin: 8px 0 16px; font-size: clamp(1.55rem, 2.5vw, 2.5rem); line-height: 1.14; }
.shell.v2-course-focus .v2-course-scroll .takeaways { margin: 18px 0; }
.v2-course-dock {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: min(100%, 1260px);
  min-height: 62px;
  margin: 10px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(134, 183, 204, .18);
  background: #0b1015;
}
.v2-course-dock button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #dce9ee;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.v2-course-dock button:hover:not(:disabled) { background: #162631; }
.v2-course-dock button:focus-visible,
.shell.v2-course-focus .lesson:focus-visible { outline: 2px solid #73d7ef; outline-offset: 2px; }
.v2-course-dock button:disabled { opacity: .42; cursor: default; }
.v2-course-dock .v2-course-forward { margin-left: auto; padding-inline: 20px; background: #7bd0e4; color: #0c1a21; }
.v2-course-dock .v2-course-forward:hover:not(:disabled) { background: #a0e3f0; }

@media (max-width: 700px) {
  .shell.v2-course-focus .course-topbar { height: 45px; min-height: 45px; flex-basis: 45px; padding-left: 14px; padding-right: 64px; }
  .shell.v2-course-focus .course-topbar .crumb { display: block; font-size: .78rem; }
  .shell.v2-course-focus .course-topbar .status-pill { display: none; }
  .shell.v2-course-focus .content { padding: 7px 10px max(8px, env(safe-area-inset-bottom)); }
  .shell.v2-course-focus .course-progress-head { margin-bottom: 5px; }
  .shell.v2-course-focus .course-immersive {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 7px;
  }
  .shell.v2-course-focus .v2-course-scroll .course-intro { padding: 0 0 12px; }
  .shell.v2-course-focus .v2-course-scroll .course-section { padding: 12px 0 20px; }
  .v2-course-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 56px; gap: 2px; margin-top: 5px; padding-top: 5px; }
  .v2-course-dock button { min-height: 42px; padding: 7px 3px; font-size: .72rem; white-space: normal; line-height: 1.18; }
  .v2-course-dock .v2-course-forward { margin-left: 0; padding-inline: 3px; }
}
@media (max-width: 390px) {
  .shell.v2-course-focus .content { padding-inline: 8px; }
  .v2-course-dock button { font-size: .67rem; }
}
@media (max-width: 480px) {
  .v2-profile-totals > div { padding: 16px; }
  .v2-profile-totals strong { font-size: 1.4rem; }
}
.v2-overline,
.v2-section-index,
.v2-kicker {
  color: var(--v2-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
}
.v2-welcome { padding: 8px 0 40px; }
.v2-welcome h1 {
  max-width: 780px;
  margin: 13px 0 12px;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 650;
}
.v2-welcome > p {
  max-width: 60ch;
  margin: 0;
  color: var(--v2-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.v2-last-worked {
  margin-top: 14px !important;
  font-size: .92rem !important;
}
.v2-last-worked strong { color: var(--v2-text); font-weight: 650; }
.v2-action-destination {
  display: block;
  margin-top: 9px;
  color: var(--v2-muted);
  line-height: 1.4;
  text-align: center;
}
.v2-work {
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background:
    linear-gradient(112deg, rgba(44, 101, 120, .2), transparent 58%),
    var(--v2-surface);
}
.v2-work-heading,
.v2-work-content,
.v2-work-progress {
  padding-inline: clamp(22px, 4vw, 42px);
}
.v2-work-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-block: 21px;
  border-bottom: 1px solid rgba(177, 205, 216, .15);
}
.v2-chapter-label {
  color: var(--v2-muted);
  font-size: .91rem;
}
.v2-work-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 40px;
  padding-block: 38px;
}
.v2-kicker { margin: 0 0 13px; }
.v2-work h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 620;
}
.v2-work-objective {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--v2-muted);
  line-height: 1.6;
}
.v2-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid #85d3e3;
  border-radius: 7px;
  background: #61c3dc;
  color: #071820;
  font-weight: 750 !important;
  white-space: nowrap;
}
.v2-primary-action:hover { background: #86d6e9; }
.v2-work-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding-block: 18px 24px;
  border-top: 1px solid rgba(177, 205, 216, .15);
  color: var(--v2-muted);
  font-size: .9rem;
}
.v2-work-progress span { color: var(--v2-text); }
.v2-work-progress progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #29353d;
  accent-color: var(--v2-accent);
}
.v2-work-progress progress::-webkit-progress-bar { background: #29353d; }
.v2-work-progress progress::-webkit-progress-value { background: var(--v2-accent); }
.v2-work-progress progress::-moz-progress-bar { background: var(--v2-accent); }
.v2-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 50px 0 48px;
}
.v2-lower section { min-width: 0; }
.v2-lower h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 620;
}
.v2-note > p,
.v2-progress > p {
  max-width: 52ch;
  color: var(--v2-muted);
  line-height: 1.65;
}
.v2-text-action,
.v2-tutor-link button {
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--v2-accent);
  background: transparent;
  color: var(--v2-accent);
  font-weight: 700 !important;
  text-align: left;
}
.v2-text-action:hover,
.v2-tutor-link button:hover { color: #a5e5f1; }
.v2-progress dl { margin: 22px 0 14px; }
.v2-progress dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--v2-line);
}
.v2-progress dt { color: var(--v2-muted); }
.v2-progress dd { margin: 0; font-weight: 700; text-align: right; }
.v2-progress > p { font-size: .83rem; }
.v2-review {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  padding: 30px 0 34px;
  border-top: 1px solid var(--v2-line);
}
.v2-review h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
}
.v2-review p {
  max-width: 48ch;
  margin: 0;
  color: var(--v2-muted);
  line-height: 1.55;
}
.v2-review ul { list-style: none; margin: 0; padding: 0; }
.v2-review li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--v2-line);
}
.v2-review li:first-child { border-top: 1px solid var(--v2-line); }
.v2-review li > span { font-weight: 650; }
.v2-review button {
  border: 0;
  background: none;
  color: var(--v2-accent);
  font-weight: 700 !important;
}
.v2-tutor-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--v2-line);
}
.v2-tutor-link span:first-child { font-weight: 700; }
.v2-tutor-link p {
  margin: 5px 0 0;
  color: var(--v2-muted);
  line-height: 1.5;
}
.v2-tutor-link button { flex: 0 0 auto; }
@media (max-width: 780px) {
  .v2-work-content,
  .v2-lower,
  .v2-review { grid-template-columns: 1fr; }
  .v2-work-action { justify-self: start; }
  .v2-lower { gap: 36px; }
}
@media (max-width: 520px) {
  .v2-welcome { padding-bottom: 27px; }
  .v2-work-content { padding-block: 28px; }
  .v2-work-action,
  .v2-primary-action { width: 100%; }
  .v2-lower { padding-block: 34px; }
  .v2-tutor-link { align-items: start; flex-direction: column; }
}

.v2-journey-head { padding: 8px 0 32px; }
.v2-journey-head h1 {
  margin: 12px 0;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 650;
}
.v2-journey-head > p:nth-of-type(2) {
  max-width: 60ch;
  color: var(--v2-muted);
  line-height: 1.6;
}
.v2-journey-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  color: var(--v2-muted);
  font-size: .9rem;
}
.v2-journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--v2-line);
}
.v2-journey-list li { border-bottom: 1px solid var(--v2-line); }
.v2-journey-row,
.v2-journey-locked {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(170px, auto) 22px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 86px;
  padding: 16px 10px;
  color: var(--v2-text);
  text-align: left;
}
.v2-journey-row {
  border: 0;
  background: transparent;
}
.v2-journey-row:hover,
.v2-journey-row.is-current { background: rgba(97, 195, 220, .07); }
.v2-journey-index { color: var(--v2-accent); font-size: .88rem; font-weight: 700; }
.v2-journey-detail { display: grid; gap: 5px; }
.v2-journey-detail strong { font-size: 1.04rem; font-weight: 630; }
.v2-journey-detail small,
.v2-journey-status,
.v2-journey-locked { color: var(--v2-muted); font-size: .9rem; }
.v2-journey-row > span:last-child { color: var(--v2-accent); }
.v2-journey-locked { grid-template-columns: 48px 1fr auto 22px; }
.v2-journey-locked .v2-journey-index { color: var(--v2-muted); }
.v2-journey-caveat { margin: 22px 0 0; color: var(--v2-muted); font-size: .88rem; line-height: 1.6; }
.v2-chapter-back {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--v2-line);
  background: transparent;
  color: var(--v2-accent);
  font-weight: 700 !important;
}
.academy-v2-chapter .v2-journey-head { padding-top: 32px; }
.v2-chapter-evaluation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--v2-line);
}
.v2-chapter-evaluation h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 620;
}
.v2-chapter-evaluation p {
  max-width: 60ch;
  margin: 0;
  color: var(--v2-muted);
  line-height: 1.55;
}
.v2-chapter-evaluation button {
  flex: 0 0 auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--v2-accent);
  background: transparent;
  color: var(--v2-accent);
  font-weight: 700 !important;
}
@media (max-width: 650px) {
  .v2-journey-row,
  .v2-journey-locked {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 16px 4px;
  }
  .v2-journey-status { grid-column: 2; grid-row: 2; }
  .v2-journey-row > span:last-child { grid-column: 3; grid-row: 1 / 3; }
  .v2-journey-locked span:last-child { grid-column: 2; grid-row: 2; }
  .v2-journey-detail small { line-height: 1.4; }
  .v2-chapter-evaluation { align-items: flex-start; flex-direction: column; }
}

.academy-v2-navigation { display: grid; gap: 28px; }
.sidebar:has(.academy-v2-navigation) .logo .brand-mark { margin: 0; flex: none; }
.academy-v2-navigation .nav button { min-width: 0; width: 100%; }
.academy-v2-navigation .nav button:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 2px;
}
.academy-v2-navigation .nav button[disabled] {
  opacity: .58;
  cursor: not-allowed;
  justify-content: space-between;
}
.academy-v2-navigation .nav button[disabled] small { font-size: .68rem; }
.v2-nav-secondary {
  padding-top: 19px;
  border-top: 1px solid var(--v2-line);
}
.v2-nav-group-label {
  padding: 0 12px 8px;
  color: var(--v2-muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.v2-nav-close,
.v2-nav-backdrop { display: none; }
@media (max-width: 900px) {
  .sidebar:has(.academy-v2-navigation) .logo { padding-right: 40px; }
  .sidebar .v2-nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 20px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    background: transparent;
    color: var(--v2-text);
    font-size: 1.4rem;
  }
  .shell:has(.sidebar.open) > .v2-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    border: 0;
    background: rgba(0, 0, 0, .62);
  }
}
.tutor-request-state {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--v2-accent, #77d5e9);
  color: var(--v2-muted, #bac8cc);
  line-height: 1.5;
}
.tutor-retry {
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--v2-accent, #77d5e9);
  background: transparent;
  color: var(--v2-accent, #bbebf4);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tutor-retry:focus-visible {
  outline: 3px solid #77d5e9;
  outline-offset: 4px;
}
