/*
 * AI spatial presentation layer
 * --------------------------------
 * The report content stays in index.html. This file only changes presentation,
 * navigation chrome, motion, and responsive behavior.
 */

:root {
  --ai-stage: #020a14;
  --ai-stage-2: #071727;
  --ai-cyan: #25d5c4;
  --ai-blue: #4c8dff;
  --ai-violet: #8e72ff;
  --ai-panel: rgba(242, 247, 250, 0.985);
  --ai-panel-edge: rgba(164, 204, 219, 0.46);
  --ai-panel-shadow: rgba(0, 7, 17, 0.62);
  --ai-hud: rgba(211, 236, 244, 0.76);
  --ai-hud-muted: rgba(178, 208, 221, 0.48);
  --ai-ease: cubic-bezier(.22, .61, .36, 1);
  --ai-pointer-x: 50vw;
  --ai-pointer-y: 50vh;
}
html.ai-deck-ready,
html.ai-deck-ready body {
  width: 100%;
  min-height: 100%;
}

body.impress-enabled {
  min-width: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f9fc;
  color: var(--ink);
}

body.impress-enabled::before,
body.ai-mobile-flow::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(105, 170, 190, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 170, 190, .052) 1px, transparent 1px),
    linear-gradient(rgba(105, 170, 190, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 170, 190, .022) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px, 48px 48px, 12px 12px, 12px 12px;
  mask-image: radial-gradient(circle at center, black 18%, rgba(0, 0, 0, .8) 56%, transparent 96%);
}

body.impress-enabled::after,
body.ai-mobile-flow::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(480px circle at var(--ai-pointer-x) var(--ai-pointer-y), rgba(66, 229, 215, .075), transparent 72%),
    linear-gradient(115deg, transparent 0 46%, rgba(94, 184, 208, .028) 49%, transparent 52% 100%);
}

body.impress-enabled::before,
body.impress-enabled::after,
body.ai-mobile-flow::before,
body.ai-mobile-flow::after {
  opacity: 0;
}

#ai-network {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

#ai-network > canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.impress-enabled #impress.report-page {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.impress-enabled .step {
  --step-accent: var(--chapter-accent, var(--primary));
  box-sizing: border-box;
  width: 1480px;
  height: 820px;
  margin: 0;
  padding: 28px 34px 34px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--step-accent) 58%, transparent), transparent 34%) top left / 100% 3px no-repeat,
    radial-gradient(circle at 95% 5%, color-mix(in srgb, var(--step-accent) 7%, transparent), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, .992), var(--ai-panel));
  box-shadow: none;
  opacity: .11;
  filter: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms var(--ai-ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

/* Keep the two moving impress.js layers compositor-backed during page turns. */
.impress-enabled #impress,
.impress-enabled #impress > div {
  will-change: transform;
  backface-visibility: hidden;
}

.impress-enabled .step:focus {
  outline: none;
}

html.ai-is-fullscreen body.impress-enabled .step.active {
  text-rendering: geometricPrecision;
}

/*
 * Fullscreen uses layout dimensions instead of magnifying the 3D canvas.
 * This fills the viewport while keeping text at a native 1:1 render scale.
 */
html.ai-is-fullscreen body.impress-enabled #impress.report-page {
  transform: scale(1) !important;
  perspective: none !important;
}

html.ai-is-fullscreen body.impress-enabled .step {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.ai-is-fullscreen body.impress-enabled .step.active {
  z-index: 10;
  box-shadow: none;
}

html.ai-is-fullscreen body.impress-enabled .step:not(.report-head):not(.ai-chapter-gate):not(#context):not(#summary-decision):not(#plan-people) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
}

.impress-enabled .step::before {
  content: none;
}

.impress-enabled .step::after {
  content: none;
}

.impress-enabled .step.active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  box-shadow: none;
}

.impress-enabled .step.past,
.impress-enabled .step.future {
  cursor: default;
}

.impress-enabled .step::-webkit-scrollbar {
  width: 7px;
}

.impress-enabled .step::-webkit-scrollbar-track {
  background: transparent;
}

.impress-enabled .step::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--step-accent) 28%, transparent);
  background-clip: padding-box;
}

.impress-enabled .step.report-section {
  border-top: 0;
}

.impress-enabled .step.report-head {
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
  grid-template-rows: auto 250px;
  gap: 28px 84px;
  align-items: center;
  margin: 0;
  padding: 72px 74px;
}

.impress-enabled .report-head .report-title {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 480px;
  font-size: 70px;
}

.impress-enabled .report-head .report-title > span {
  font-size: 28px;
}

.impress-enabled .report-head .report-nav {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding-top: 0;
}

.impress-enabled .report-head .report-nav a {
  min-height: 56px;
  font-size: 14px;
}

.impress-enabled .report-head .report-nav a::after {
  transition: transform 220ms var(--ai-ease), color 220ms ease;
}

.impress-enabled .report-head .report-nav a:hover::after {
  color: var(--primary);
  transform: translate(3px, 3px);
}

.impress-enabled .step.ai-chapter-gate {
  display: grid;
  align-content: center;
  overflow: hidden;
}

.impress-enabled .step:is(#context, #summary-decision, #plan-people) {
  display: grid;
  align-content: center;
}

.impress-enabled .step.ai-chapter-gate > .section-hd {
  margin-bottom: 0;
}

.impress-enabled .step.ai-chapter-gate > .section-hd > .section-title {
  max-width: 940px;
  font-size: 58px;
  line-height: 1.1;
}

.impress-enabled .step.ai-chapter-gate > .subnav {
  margin: 42px 0 0 106px;
}

.impress-enabled .ai-generated-step {
  display: block;
}

.impress-enabled .ai-generated-step > :first-child {
  margin-top: 0;
}

.impress-enabled .ai-generated-step[data-ai-page="governance-duties"] .func-cols,
.impress-enabled .ai-generated-step[data-ai-page="governance-mechanism"] .meet-card {
  margin-top: 0;
}

.sen-mechanism-title {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 36px;
  padding-left: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 86, 184, .24);
}

.sen-mechanism-title::before {
  position: absolute;
  top: 3px;
  bottom: auto;
  left: 0;
  width: 4px;
  height: 38px;
  border-radius: 999px;
}

.sen-mechanism-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
}

.sen-mechanism-title span {
  color: var(--muted);
  font: 700 10px/1.4 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .14em;
}

.impress-enabled .step .sen-slide-title {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 16px 20px;
  border: 0;
  border-bottom: 1px solid rgba(20, 86, 184, .24);
}

.impress-enabled .step .sen-slide-title::before {
  content: "";
  position: absolute;
  top: 3px;
  right: auto;
  bottom: auto;
  left: 0;
  width: 4px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--chapter-accent, var(--primary));
}

.impress-enabled .step .sen-slide-title :is(h2, h3) {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.impress-enabled .step .sen-slide-title .sen-title-meta {
  color: var(--muted);
  font: 700 10px/1.4 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .14em;
}

.impress-enabled .step .sen-slide-title--captain {
  min-height: 76px;
  padding-right: 520px;
}

.impress-enabled .step .sen-slide-title--captain p {
  position: absolute;
  right: 0;
  bottom: 16px;
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.impress-enabled .step .sen-slide-title--methodology {
  padding-right: 170px;
}

.impress-enabled .step .sen-slide-title--methodology .benchmark-top-button {
  position: absolute;
  top: 0;
  right: 0;
}

.impress-enabled #plan-capability .sen-slide-title--capability {
  margin-bottom: 18px;
}

.impress-enabled #plan-capability .sen-slide-title--capability .subsection-title {
  padding-left: 0;
  border-left: 0;
}

.impress-enabled .sen-year-plan--2027 {
  --chapter-accent: #1456B8 !important;
  background:
    radial-gradient(circle at 86% 14%, rgba(20, 86, 184, .09), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(19, 138, 92, .07), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #f7fafc 58%, #eef5fb 100%);
}

.impress-enabled .sen-year-plan--2027 .sen-slide-title--year {
  margin-bottom: 22px;
}

.sen-year-plan-stage {
  position: relative;
  min-height: 500px;
  padding-top: 34px;
}

.sen-year-plan-marker {
  position: absolute;
  top: 0;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 800 11px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
}

.sen-year-plan-marker i {
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
}

.sen-year-plan-marker strong {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.sen-year-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sen-year-plan-track {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(20, 86, 184, .18);
  border-top: 4px solid var(--blue);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 48px rgba(11, 37, 69, .07);
}

.sen-year-plan-track--aios {
  border-color: rgba(19, 138, 92, .18);
  border-top-color: var(--primary);
}

.sen-year-plan-track::after {
  content: "";
  position: absolute;
  right: -78px;
  bottom: -88px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(20, 86, 184, .10);
  border-radius: 50%;
}

.sen-year-plan-track--aios::after {
  border-color: rgba(19, 138, 92, .12);
}

.sen-year-plan-track-no {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 29px;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  color: var(--blue);
  font: 850 18px/1 "JetBrains Mono", ui-monospace, monospace;
}

.sen-year-plan-track--aios .sen-year-plan-track-no {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
}

.sen-year-plan-track-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 26px;
}

.sen-year-plan-track-copy > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.sen-year-plan-track--aios .sen-year-plan-track-copy > span {
  color: var(--primary);
}

.sen-year-plan-track-copy h4 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.sen-year-plan-track-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.sen-year-plan-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.sen-year-plan-tags b {
  padding: 10px 12px;
  border: 1px solid rgba(20, 86, 184, .13);
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue) 4%, var(--surface));
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.sen-year-plan-track--aios .sen-year-plan-tags b {
  border-color: rgba(19, 138, 92, .13);
  background: color-mix(in srgb, var(--primary) 4%, var(--surface));
}

.sen-year-plan-outcome {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 22px;
  border-left: 4px solid #C8861A;
  border-radius: 8px;
  background: color-mix(in srgb, #C8861A 7%, var(--surface));
}

.sen-year-plan-outcome span {
  color: #9a5f10;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.sen-year-plan-outcome strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .sen-year-plan-grid { grid-template-columns: 1fr; }
  .sen-year-plan-stage { min-height: 0; }
  .sen-year-plan-track { min-height: 0; }
  .sen-year-plan-outcome { grid-template-columns: 1fr; }
}

.impress-enabled #meeting-agenda {
  --chapter-accent: #1456B8 !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(20, 86, 184, .08), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f7fafc 58%, #eef5fb 100%);
}

.impress-enabled #meeting-agenda .sen-slide-title--agenda {
  margin-bottom: 16px;
}

.sen-agenda-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 13px 18px;
  border: 1px solid rgba(20, 86, 184, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.sen-agenda-intro span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.sen-agenda-intro b {
  padding: 6px 10px;
  border-radius: 999px;
  background: #1456B8;
  color: #fff;
  font: 750 10px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.sen-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sen-agenda-section {
  display: flex;
  flex-direction: column;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(20, 86, 184, .22);
  border-top: 4px solid #1456B8;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 44px rgba(11, 37, 69, .07);
}

.sen-agenda-section--discussion {
  border-top-color: #7C5CB8;
}

.sen-agenda-section header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid rgba(20, 86, 184, .15);
}

.sen-agenda-section header > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: #1456B8;
  color: #fff;
  font: 800 22px/1 "Noto Sans SC", sans-serif;
}

.sen-agenda-section--discussion header > span {
  background: #7C5CB8;
}

.sen-agenda-section header small {
  color: var(--muted);
  font: 700 9px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.sen-agenda-section header h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.sen-agenda-list {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 8px 26px 26px;
}

.sen-agenda-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(20, 86, 184, .12);
}

.sen-agenda-item:last-child {
  border-bottom: 0;
}

.sen-agenda-item > b {
  color: #1456B8;
  font: 800 18px/1.25 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
}

.sen-agenda-section--discussion .sen-agenda-item > b {
  color: #7C5CB8;
}

.sen-agenda-item p {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.55;
}

.sen-agenda-name {
  min-width: 0;
  flex: 1 1 auto;
}

.sen-agenda-role {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(20, 86, 184, .22);
  border-radius: 999px;
  background: rgba(20, 86, 184, .06);
  color: #1456B8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sen-agenda-section--discussion .sen-agenda-role {
  border-color: rgba(124, 92, 184, .24);
  background: rgba(124, 92, 184, .07);
  color: #7C5CB8;
}

@media (max-width: 900px) {
  .impress-enabled .step .sen-slide-title--captain,
  .impress-enabled .step .sen-slide-title--methodology { padding-right: 0; }
  .impress-enabled .step .sen-slide-title--captain p,
  .impress-enabled .step .sen-slide-title--methodology .benchmark-top-button {
    position: static;
    max-width: none;
    text-align: left;
  }
  .sen-agenda-grid { grid-template-columns: 1fr; }
  .sen-agenda-section { min-height: 0; }
}

.impress-enabled #governance-mechanism .sen-mechanism-title {
  margin-bottom: 22px;
}

.sen-merged-mechanism {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.64fr);
  gap: 18px;
}

.sen-aitc-panel,
.sen-office-panel {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--blue);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  padding: 21px 22px 20px;
  box-shadow: 0 18px 46px rgba(11, 37, 69, .06);
}

.sen-office-panel {
  border-top-color: var(--primary);
}

.sen-aitc-panel > header > span,
.sen-office-panel > header > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sen-aitc-panel > header h4,
.sen-office-panel > header h4 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
}

.sen-aitc-panel > header p,
.sen-office-panel > header p {
  margin: 7px 0 0;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.sen-aitc-meetings {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.sen-aitc-meetings article {
  min-height: 136px;
  padding: 14px 15px 13px;
  border: 1px solid rgba(20, 86, 184, .16);
  border-left: 3px solid var(--blue);
  border-radius: 9px;
  background: color-mix(in srgb, var(--blue) 3%, var(--surface));
}

.sen-aitc-meetings article.is-event {
  border-left-color: var(--purple);
  background: color-mix(in srgb, var(--purple) 3%, var(--surface));
}

.sen-aitc-meetings article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
}

.sen-aitc-meetings article.is-event > div {
  color: var(--purple);
}

.sen-aitc-meetings article > div b {
  font: 800 10px/1 "JetBrains Mono", ui-monospace, monospace;
}

.sen-aitc-meetings article > div span {
  font-size: 9px;
  font-weight: 800;
}

.sen-aitc-meetings h5 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.sen-aitc-meetings p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.sen-aitc-meetings small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.sen-aitc-meetings small em {
  color: var(--purple);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.sen-office-work-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sen-office-work-grid article {
  min-height: 105px;
  padding: 13px 14px;
  border: 1px solid rgba(19, 138, 92, .16);
  border-radius: 9px;
  background: color-mix(in srgb, var(--primary) 3%, var(--surface));
}

.sen-office-work-grid b {
  color: var(--primary);
  font-size: 11px;
  line-height: 1.4;
}

.sen-office-work-grid p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.sen-office-weekly {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 11px;
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
}

.sen-office-weekly b {
  color: var(--primary);
  font-size: 11px;
}

.sen-office-weekly span {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.sen-office-boundary {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 16px;
  border-left: 4px solid #C8861A;
  background: color-mix(in srgb, #C8861A 7%, var(--surface));
}

.sen-office-boundary b {
  color: #9a5f10;
  font-size: 11px;
}

.sen-office-boundary span {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.impress-enabled #governance-mechanism .sen-mechanism-flow {
  margin-top: 14px;
  padding: 12px 16px;
}

@media (max-width: 900px) {
  .sen-merged-mechanism { grid-template-columns: 1fr; }
  .sen-aitc-panel,
  .sen-office-panel { min-height: 0; }
  .sen-office-work-grid { grid-template-columns: 1fr; }
  .sen-office-boundary { grid-template-columns: 1fr; }
}

.sen-mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sen-mechanism-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--blue);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  padding: 24px 26px 22px;
  box-shadow: 0 18px 46px rgba(11, 37, 69, .06);
}

.sen-mechanism-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(20, 86, 184, .12);
  border-radius: 50%;
}

.sen-mechanism-card--event { border-top-color: var(--purple); }
.sen-mechanism-card--weekly { border-top-color: var(--primary); }

.sen-mechanism-no {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--blue);
}

.sen-mechanism-no b {
  font: 800 13px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.sen-mechanism-no span {
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.sen-mechanism-card--event .sen-mechanism-no { color: var(--purple); }
.sen-mechanism-card--weekly .sen-mechanism-no { color: var(--primary); }

.sen-mechanism-copy > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.sen-mechanism-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.sen-mechanism-copy p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.sen-mechanism-detail {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.sen-mechanism-detail > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 86, 184, .13);
}

.sen-mechanism-detail b {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.sen-mechanism-detail span {
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.sen-mechanism-detail em {
  color: var(--purple);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.sen-mechanism-flow {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 86, 184, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .62);
  color: var(--ink-2);
}

.sen-mechanism-flow__head {
  display: grid;
  gap: 4px;
}

.sen-mechanism-flow__head b {
  color: var(--ink);
  font-size: 14px;
}

.sen-mechanism-flow__head span {
  color: var(--muted);
  font-size: 9px;
}

.sen-mechanism-flow__steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sen-mechanism-flow__steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.sen-mechanism-flow__steps span b {
  color: var(--primary);
  font: 800 9px/1 "JetBrains Mono", ui-monospace, monospace;
}

.sen-mechanism-flow__steps i {
  color: var(--primary);
  font-style: normal;
  font-size: 15px;
}

@media (max-width: 900px) {
  .sen-mechanism-title { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .sen-mechanism-grid { grid-template-columns: 1fr; }
  .sen-mechanism-card { min-height: 0; }
  .sen-mechanism-no { margin-bottom: 18px; }
  .sen-mechanism-flow { grid-template-columns: 1fr; }
  .sen-mechanism-flow__steps { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sen-mechanism-flow__steps i { transform: rotate(90deg); }
}

.impress-enabled .ai-generated-step[data-ai-page="battlefields"] {
  padding: 34px 56px 40px;
}

.impress-enabled .ai-generated-step[data-ai-page="battlefields"] #battlefields {
  margin-top: 0;
}

.impress-enabled #plan-battlefields #battlefields > .subsection-hd {
  margin-bottom: 8px;
}

.impress-enabled #plan-battlefields .metro-lightup-intro {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}

.impress-enabled #plan-battlefields .metro-lightup-intro h3 {
  font-size: 20px;
}

.impress-enabled #plan-battlefields .metro-lightup-intro p {
  font-size: 11px;
  line-height: 1.55;
}

.impress-enabled .ai-generated-step[data-ai-page="battlefields"] .metro-lightup-scroll {
  padding-right: 2px;
}

.impress-enabled #plan-battlefields .metro-lightup-stage {
  padding: 7px 10px;
}

.impress-enabled #plan-battlefields .metro-lightup-stage em {
  margin-bottom: 3px;
  font-size: 8px;
}

.impress-enabled #plan-battlefields .metro-lightup-stage strong {
  font-size: 12px;
}

.impress-enabled #plan-battlefields .metro-lightup-stage span {
  margin-top: 3px;
  padding: 3px 6px;
  font-size: 8px;
}

.impress-enabled #plan-battlefields .metro-lightup-label {
  padding: 7px 9px;
}

.impress-enabled #plan-battlefields .metro-lightup-cell {
  min-height: 56px;
  padding: 24px 8px 5px;
}

.impress-enabled #plan-battlefields .metro-lightup-cell::before {
  top: 12px;
  height: 4px;
}

.impress-enabled #plan-battlefields .metro-lightup-cell::after {
  top: 7px;
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.impress-enabled #plan-battlefields .metro-lightup-cell b {
  font-size: 10px;
}

.impress-enabled #plan-battlefields .metro-lightup-cell span {
  margin-top: 2px;
  font-size: 8.5px;
  line-height: 1.3;
}

.impress-enabled #plan-battlefields .metro-lightup-delivery-label,
.impress-enabled #plan-battlefields .metro-lightup-delivery {
  padding: 8px 10px;
}

.impress-enabled #plan-battlefields .metro-lightup-delivery h4 {
  margin-bottom: 4px;
  font-size: 11px;
}

.impress-enabled #plan-battlefields .metro-lightup-delivery p {
  font-size: 9.5px;
  line-height: 1.35;
}

.impress-enabled #plan-battlefields .metro-lightup-foot {
  margin-top: 6px;
}

.impress-enabled #plan-battlefields .metro-lightup-foot p {
  font-size: 9.5px;
}

.impress-enabled .ai-generated-step[data-ai-page="capability"] #capability,
.impress-enabled .ai-generated-step[data-ai-page="people"] #people {
  margin-top: 0;
}

.impress-enabled #decisions .decision-table :is(th, td):first-child {
  width: 58px;
  min-width: 58px;
  white-space: nowrap;
  word-break: keep-all;
}

.decision-spline-bg {
  display: none;
}

.impress-enabled #decisions {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.impress-enabled #decisions > .decision-spline-bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  display: block;
  width: 42%;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease, visibility 0s linear 480ms;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .34) 22%, #000 48% 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .34) 22%, #000 48% 100%);
}

.impress-enabled #decisions.active > .decision-spline-bg {
  visibility: visible;
  opacity: .58;
  transition-delay: 0s;
}

.decision-spline-bg iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  transform: scale(2);
  transform-origin: 50% 50%;
}

.impress-enabled #decisions > .section-hd,
.impress-enabled #decisions > .decision-table,
.impress-enabled #decisions > .decision-next {
  position: relative;
  z-index: 2;
  width: 79%;
}

body[data-ai-active-step="decisions"] #ai-network {
  opacity: .14 !important;
}

/* Keep the original report system intact, but make surfaces feel like live data panels. */
.impress-enabled .step :where(
  .card,
  .focus-card,
  .node,
  .path,
  .phase,
  .judgment-item,
  .transformation-path-step,
  .transformation-success .success-item,
  .people-role,
  .people-source,
  .delivery-card,
  .delivery-path,
  .odcapt-node,
  .odcapt-group,
  .budget-hc,
  .budget-hc-item,
  .mech-card,
  .method-part
) {
  box-shadow: 0 10px 28px rgba(21, 54, 73, .045);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ai-ease);
}

.impress-enabled .step :where(
  .card,
  .focus-card,
  .judgment-item,
  .transformation-path-step,
  .people-role,
  .delivery-card,
  .budget-hc-item,
  .mech-card
):hover {
  border-color: color-mix(in srgb, var(--step-accent) 38%, var(--rule));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--step-accent) 8%, transparent);
  transform: translateY(-2px);
}

.impress-enabled .step .odcapt-node,
.impress-enabled .step .odcapt-node__body,
.impress-enabled .step .odcapt-group__body,
.impress-enabled .step .odcapt-chip {
  background: rgba(255, 255, 255, .88);
}

.impress-enabled .step .source-link,
.impress-enabled .step .evidence-source,
.impress-enabled .step button,
.impress-enabled .step a {
  outline-offset: 4px;
}

.impress-enabled .step :focus-visible,
.ai-deck-ui :focus-visible {
  outline: 2px solid var(--ai-cyan);
}

/* Text remains rendered while the page itself moves; no second entrance pass. */
.impress-enabled .step .ai-reveal,
.impress-enabled .step.active .ai-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.impress-enabled .step .report-metro-svg :where(.rail-main, .transfer-rail, .order-role-connector) {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 520ms var(--ai-ease) 70ms;
}

.impress-enabled .step.active.ai-entered .report-metro-svg :where(.rail-main, .transfer-rail, .order-role-connector) {
  stroke-dashoffset: 0;
}

.impress-enabled .step .report-metro-svg .station,
.impress-enabled .step .report-metro-svg .order-ai-role {
  opacity: .12;
  transition: opacity 220ms ease, filter 220ms ease;
}

.impress-enabled .step.active .report-metro-svg .station,
.impress-enabled .step.active .report-metro-svg .order-ai-role {
  opacity: 1;
  filter: drop-shadow(0 0 3px rgba(20, 86, 184, .12));
}

.impress-enabled .step .odcapt-links path:not(.ln-arr) {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  transition: stroke-dashoffset 420ms var(--ai-ease) 50ms;
}

.impress-enabled .step.active.ai-entered .odcapt-links path:not(.ln-arr) {
  stroke-dashoffset: 0;
}

.impress-enabled #captain .odcapt-links path:not(.ln-arr) {
  stroke-dashoffset: 0 !important;
  transition: none !important;
  animation: none !important;
}

/* GSAP owns child entrance transforms when the optional motion runtime loads. */
html.ai-gsap-ready .impress-enabled .step .ai-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

html.ai-gsap-ready .impress-enabled .step .report-metro-svg :where(.rail-main, .transfer-rail, .order-role-connector),
html.ai-gsap-ready .impress-enabled .step .odcapt-links path:not(.ln-arr) {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  transition: none;
}

html.ai-gsap-ready .impress-enabled .step .report-metro-svg .station,
html.ai-gsap-ready .impress-enabled .step .report-metro-svg .order-ai-role {
  opacity: 1;
  transition: none;
}

html.ai-effects-ready .impress-enabled .step {
  isolation: isolate;
}

html.ai-effects-ready .impress-enabled .step > :not(.ai-motion-ambient):not(.ai-globe-stage):not(.organization-spline-bg):not(script):not(style) {
  position: relative;
  z-index: 2;
}

.ai-motion-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

.ai-motion-ambient::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -38%;
  width: 32%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(71, 225, 215, .11), rgba(110, 155, 255, .08), transparent);
  filter: blur(12px);
  transform: skewX(-18deg);
}

.impress-enabled .step.active .ai-motion-ambient::before {
  animation: ai-panel-scan 5.8s cubic-bezier(.22, .61, .36, 1) .45s both;
}

.ai-motion-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background:
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--step-accent) 12%, transparent), transparent 26%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(75, 161, 182, .035) 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(75, 161, 182, .025) 120px);
  mask-image: linear-gradient(120deg, black, transparent 72%);
}

@keyframes ai-panel-scan {
  0% { left: -38%; opacity: 0; }
  14% { opacity: 1; }
  72% { opacity: .78; }
  100% { left: 112%; opacity: 0; }
}

html.ai-effects-ready .impress-enabled #cover {
  background:
    radial-gradient(circle at 8% 18%, rgba(37, 213, 196, .115), transparent 31%),
    radial-gradient(circle at 83% 76%, rgba(76, 141, 255, .085), transparent 32%),
    linear-gradient(150deg, rgba(255, 255, 255, .992), rgba(238, 247, 250, .985));
}

html.ai-effects-ready .impress-enabled #cover .report-title {
  text-shadow: 0 18px 48px rgba(5, 55, 78, .09);
}

/* Cover concept 01: two restrained energy tracks loop behind static content. */
.impress-enabled #cover {
  isolation: isolate;
  overflow: hidden;
}

.impress-enabled #cover > :not(script):not(style) {
  position: relative;
  z-index: 2;
}

.impress-enabled #cover::before,
.impress-enabled #cover::after {
  content: none;
}

.cover-strategy-motion {
  display: none;
}

.impress-enabled #cover > .cover-strategy-motion {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  display: block;
  align-self: start;
  width: 100%;
  height: 190px;
  overflow: visible;
}

.cover-strategy-wing,
.cover-strategy-core {
  position: absolute;
  top: 50%;
  pointer-events: none;
}

.cover-strategy-wing {
  width: calc(50% - 58px);
  height: 96px;
  transform: translateY(-50%);
}

.cover-strategy-wing b {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}

.cover-strategy-wing::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 72px;
  opacity: 1;
  filter: drop-shadow(0 7px 8px rgba(11, 37, 69, .08));
  will-change: transform;
  animation-play-state: paused;
}

.cover-strategy-wing--inner {
  left: 0;
  color: var(--primary);
}

.cover-strategy-wing--inner::before {
  background:
    repeating-linear-gradient(22deg, transparent 0 10px, color-mix(in srgb, currentColor 24%, transparent) 11px, transparent 12px),
    linear-gradient(90deg, color-mix(in srgb, currentColor 7%, transparent), color-mix(in srgb, currentColor 30%, transparent));
  clip-path: polygon(100% 47%, 82% 31%, 62% 16%, 38% 6%, 15% 8%, 0 20%, 16% 28%, 4% 41%, 24% 42%, 9% 55%, 31% 52%, 17% 69%, 40% 59%, 30% 82%, 54% 64%, 49% 92%, 72% 65%, 78% 76%, 88% 60%, 100% 53%);
  transform-origin: 100% 50%;
  animation: ai-cover-wing-left 3s ease-in-out infinite;
}

.cover-strategy-wing--outer {
  right: 0;
  color: var(--blue);
}

.cover-strategy-wing--outer::before {
  background:
    repeating-linear-gradient(-22deg, transparent 0 10px, color-mix(in srgb, currentColor 24%, transparent) 11px, transparent 12px),
    linear-gradient(90deg, color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 7%, transparent));
  clip-path: polygon(0 47%, 18% 31%, 38% 16%, 62% 6%, 85% 8%, 100% 20%, 84% 28%, 96% 41%, 76% 42%, 91% 55%, 69% 52%, 83% 69%, 60% 59%, 70% 82%, 46% 64%, 51% 92%, 28% 65%, 22% 76%, 12% 60%, 0 53%);
  transform-origin: 0 50%;
  animation: ai-cover-wing-right 3s ease-in-out infinite;
}

.cover-strategy-core {
  left: 50%;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid color-mix(in srgb, var(--primary) 46%, var(--rule));
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(11, 37, 69, .08);
  transform: translate(-50%, -50%);
}

.cover-strategy-core::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 50%;
  opacity: .22;
}

.cover-strategy-core b {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.cover-strategy-core small {
  margin-top: 9px;
  color: var(--primary);
  font: 700 7px/1.2 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
}

.impress-enabled #cover.active .cover-strategy-wing::before {
  animation-play-state: running;
}

@keyframes ai-cover-wing-left {
  0%, 100% { transform: translateY(4px) rotate(-3deg) scaleY(.9); }
  50% { transform: translateY(-4px) rotate(5deg) scaleY(1.06); }
}

@keyframes ai-cover-wing-right {
  0%, 100% { transform: translateY(4px) rotate(3deg) scaleY(.9); }
  50% { transform: translateY(-4px) rotate(-5deg) scaleY(1.06); }
}

html.ai-effects-ready .impress-enabled #organization {
  overflow: hidden;
  border-color: var(--ai-panel-edge);
  background:
    radial-gradient(circle at 79% 48%, rgba(20, 86, 184, .07), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(19, 138, 92, .055), transparent 30%),
    linear-gradient(150deg, #ffffff, #f2f7fa);
  box-shadow:
    0 48px 130px rgba(0, 5, 15, .72),
    0 0 0 1px rgba(255, 255, 255, .34) inset,
    0 0 64px color-mix(in srgb, var(--blue) 10%, transparent);
}

html.ai-effects-ready .impress-enabled #organization .section-hd {
  z-index: 3;
  width: min(670px, 58%);
  margin-left: 0;
}

html.ai-effects-ready .impress-enabled #organization .section-no {
  color: var(--blue);
  text-shadow: none;
}

html.ai-effects-ready .impress-enabled #organization .section-title {
  color: var(--ink);
  text-wrap: balance;
  text-shadow: none;
}

html.ai-effects-ready .impress-enabled #organization .ai-motion-ambient::after {
  opacity: .24;
  background:
    linear-gradient(90deg, rgba(20, 86, 184, .055) 1px, transparent 1px),
    linear-gradient(rgba(19, 138, 92, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 78% 50%, black 10%, transparent 72%);
}

html.ai-effects-ready .impress-enabled #organization .ai-motion-ambient::before {
  display: none;
}

.organization-spline-bg {
  display: none;
}

.impress-enabled #organization > .organization-spline-bg {
  position: absolute;
  inset: 20px 0 20px auto;
  z-index: 1;
  display: block;
  width: 56%;
  height: auto;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 460ms ease, visibility 0s linear 460ms;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 28% 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 28% 100%);
}

.impress-enabled #organization.active > .organization-spline-bg {
  visibility: visible;
  opacity: .92;
  transition-delay: 0s;
}

.organization-spline-bg iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.ai-globe-stage {
  position: absolute;
  top: 24px;
  right: 12px;
  bottom: 24px;
  z-index: 1;
  width: 720px;
  max-width: 58%;
  overflow: hidden;
  border-radius: 50%;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  opacity: 0;
  filter: drop-shadow(0 0 42px rgba(37, 213, 196, .12));
  user-select: none;
  -webkit-user-select: none;
}

.ai-globe-stage.is-dragging {
  cursor: grabbing;
}

.ai-globe-stage::before,
.ai-globe-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ai-globe-stage::before {
  inset: 8%;
  border: 1px solid rgba(99, 225, 220, .11);
  border-radius: 50%;
  box-shadow:
    0 0 70px rgba(37, 213, 196, .09),
    0 0 0 22px rgba(76, 141, 255, .018),
    0 0 0 74px rgba(142, 114, 255, .012);
}

.ai-globe-stage::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 250, 253, .92), transparent 31% 86%, rgba(246, 250, 253, .72));
}

.ai-globe-stage > canvas {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  outline: 0;
}

.ai-globe-halo {
  position: absolute;
  inset: 19%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 213, 196, .13), rgba(76, 141, 255, .06) 38%, transparent 70%);
  filter: none;
  animation: ai-globe-breathe 4.8s ease-in-out infinite alternate;
}

.ai-globe-stage.is-fallback .ai-globe-halo {
  inset: 16%;
  opacity: .85;
  background:
    radial-gradient(circle at 42% 38%, rgba(118, 245, 225, .56) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 55%, rgba(114, 166, 255, .5) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(37, 213, 196, .14), rgba(76, 141, 255, .06) 44%, transparent 70%);
  background-size: 18px 18px, 23px 23px, auto;
}

@keyframes ai-globe-breathe {
  from { opacity: .58; transform: scale(.96); }
  to { opacity: 1; transform: scale(1.04); }
}

body.ai-particle-finale::after {
  background:
    radial-gradient(520px circle at 50% 50%, rgba(37, 213, 196, .095), transparent 70%),
    radial-gradient(420px circle at 61% 52%, rgba(142, 114, 255, .075), transparent 73%);
}

html.ai-effects-ready .impress-enabled #decisions.active {
  box-shadow:
    0 48px 130px rgba(0, 5, 15, .72),
    0 0 0 1px rgba(255, 255, 255, .34) inset,
    0 0 82px rgba(37, 213, 196, .15);
}

html.ai-gsap-ready .ai-map {
  transition: none;
}

/* Fixed UI lives outside #impress so camera transforms never affect it. */
.ai-deck-ui {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  color: var(--ai-hud);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ai-brand {
  display: none;
}

.ai-brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(82, 222, 207, .5);
  border-radius: 7px;
  box-shadow: 0 0 20px rgba(37, 213, 196, .12);
}

.ai-brand-mark::before,
.ai-brand-mark::after {
  content: "";
  position: absolute;
  background: var(--ai-cyan);
  box-shadow: 0 0 10px rgba(37, 213, 196, .58);
}

.ai-brand-mark::before {
  top: 6px;
  bottom: 6px;
  left: 12px;
  width: 1px;
}

.ai-brand-mark::after {
  top: 12px;
  right: 6px;
  left: 6px;
  height: 1px;
}

.ai-current {
  position: absolute;
  top: 12px;
  right: 16px;
  left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: none;
  padding: 5px 7px;
  border: 1px solid rgba(176, 217, 228, .18);
  border-radius: 6px;
  background: rgba(4, 16, 28, .9);
  transform: none;
  white-space: nowrap;
}

.ai-current-label {
  display: none;
}

.ai-current-count {
  color: var(--ai-cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ai-current-total {
  color: var(--ai-hud-muted);
  font-size: 8px;
}

.ai-chapter-rail {
  display: none;
}

.ai-chapter-button {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ai-hud-muted);
  cursor: pointer;
  font: 800 8px/30px "JetBrains Mono", ui-monospace, monospace;
  text-align: center;
  transition: color 180ms ease, transform 180ms var(--ai-ease);
}

.ai-chapter-button::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(171, 214, 228, .17);
  border-radius: 50%;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ai-chapter-button::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 38px;
  width: max-content;
  max-width: 270px;
  padding: 7px 10px;
  border: 1px solid rgba(146, 202, 220, .22);
  border-radius: 6px;
  background: rgba(2, 12, 22, .9);
  color: rgba(222, 241, 247, .88);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transform: translate(7px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ai-chapter-button:hover {
  color: #efffff;
  transform: scale(1.08);
}

.ai-chapter-button:hover::after,
.ai-chapter-button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.ai-chapter-button.is-active {
  color: #f2ffff;
}

.ai-chapter-button.is-active::before {
  border-color: var(--ai-cyan);
  background: rgba(37, 213, 196, .12);
  box-shadow: 0 0 18px rgba(37, 213, 196, .26);
}

.ai-bottom-bar {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: auto;
  display: block;
}

.ai-progress-track {
  display: none;
}

.ai-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--ai-cyan), var(--ai-blue));
  box-shadow: 0 0 13px rgba(37, 213, 196, .48);
  transition: width 360ms var(--ai-ease);
}

.ai-progress-dot {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(190, 223, 232, .24);
  transform: translate(-50%, -50%);
}

.ai-progress-dot.is-past,
.ai-progress-dot.is-active {
  background: var(--ai-cyan);
}

.ai-progress-dot.is-active {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 12px rgba(37, 213, 196, .7);
}

.ai-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.ai-control {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(176, 217, 228, .18);
  border-radius: 8px;
  background: rgba(4, 16, 28, .58);
  color: var(--ai-hud);
  cursor: pointer;
  font: 800 10px/1 "JetBrains Mono", ui-monospace, monospace;
  backdrop-filter: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ai-ease);
}

.ai-control:hover {
  border-color: rgba(37, 213, 196, .5);
  background: rgba(10, 32, 45, .82);
  color: white;
  transform: translateY(-2px);
}

.ai-control[disabled] {
  opacity: .28;
  cursor: default;
  transform: none;
}

.ai-scroll-cue {
  position: absolute;
  right: 244px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ai-hud-muted);
  font-size: 8px;
  letter-spacing: .12em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.ai-scroll-cue::after {
  content: "↓";
  color: var(--ai-cyan);
  animation: ai-scroll-pulse 1.5s ease-in-out infinite;
}

.ai-scroll-cue.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ai-scroll-pulse {
  0%, 100% { transform: translateY(-2px); opacity: .45; }
  50% { transform: translateY(3px); opacity: 1; }
}

.ai-map {
  position: fixed;
  inset: 70px 78px 70px auto;
  z-index: 1100;
  width: min(470px, calc(100vw - 44px));
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  padding: 22px 14px 0 22px;
  overflow: hidden;
  border: 1px solid rgba(126, 199, 218, .24);
  border-radius: 18px;
  background: rgba(3, 14, 25, .94);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .56);
  color: var(--ai-hud);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px) scale(.98);
  backdrop-filter: blur(22px);
  transition: opacity 220ms ease, transform 260ms var(--ai-ease);
}

body.is-map-open .ai-map {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.ai-map-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 8px 18px 0;
  color: rgba(230, 247, 250, .9);
  font: 800 10px/1.3 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.ai-map-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(181, 219, 229, .18);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.ai-map-list {
  display: grid;
  flex: 1 1 auto;
  gap: 5px;
  min-height: 0;
  padding: 0 8px 30px 0;
  overflow-y: auto;
  scrollbar-color: rgba(37, 213, 196, .46) rgba(177, 215, 226, .08);
  scrollbar-width: thin;
}

.ai-map-list::-webkit-scrollbar {
  width: 6px;
}

.ai-map-list::-webkit-scrollbar-track {
  background: rgba(177, 215, 226, .06);
}

.ai-map-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(37, 213, 196, .42);
}

.ai-map-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(207, 232, 239, .72);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ai-map-item:hover,
.ai-map-item.is-active {
  border-color: rgba(37, 213, 196, .22);
  background: rgba(37, 213, 196, .07);
  color: white;
}

.ai-map-item b {
  color: var(--ai-cyan);
  font: 800 9px/1 "JetBrains Mono", ui-monospace, monospace;
}

.ai-map-item span {
  font: 700 10px/1.45 "JetBrains Mono", ui-monospace, monospace;
}

.ai-map-scrim {
  position: fixed;
  inset: 0;
  z-index: 1050;
  border: 0;
  background: rgba(0, 5, 12, .42);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(2px);
  transition: opacity 200ms ease;
}

body.is-map-open .ai-map-scrim {
  opacity: 1;
  pointer-events: auto;
}

.ai-portaled {
  z-index: 1400 !important;
}

body.ai-overlay-open .ai-deck-ui {
  opacity: .24;
  transition: opacity 180ms ease;
}

body.ai-overlay-open .ai-chapter-rail,
body.ai-overlay-open .ai-controls {
  pointer-events: none;
}

/* Native dialog stays readable on the dark stage. */
body.impress-enabled .benchmark-dialog,
body.ai-mobile-flow .benchmark-dialog {
  box-shadow: 0 30px 100px rgba(0, 8, 18, .58);
}

/* Continuous scroll fallback for mobile and initialization failures. */
body.ai-mobile-flow {
  min-width: 0;
  margin: 0;
  padding: 22px 12px 78px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 3%, rgba(37, 213, 196, .12), transparent 24%),
    radial-gradient(circle at 90% 46%, rgba(76, 141, 255, .1), transparent 30%),
    var(--ai-stage);
}

.ai-mobile-flow #ai-network {
  opacity: 0;
}

.ai-mobile-flow .report-page {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 0 0;
}

.ai-mobile-flow .report-section {
  width: 100%;
  margin: 0 0 1px;
  padding: 28px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--ai-panel);
  box-shadow: none;
  opacity: .62;
  transform: translateY(22px);
  transition: opacity 480ms var(--ai-ease), transform 540ms var(--ai-ease);
}

.ai-mobile-flow .report-section.is-visible {
  opacity: 1;
  transform: none;
}

.ai-mobile-flow .report-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.ai-mobile-flow .report-head .report-nav {
  grid-template-columns: 1fr;
}

.ai-mobile-flow .ai-deck-ui {
  position: fixed;
  z-index: 900;
}

.ai-mobile-flow .ai-brand,
.ai-mobile-flow .ai-chapter-rail,
.ai-mobile-flow .ai-scroll-cue,
.ai-mobile-flow .ai-control[data-action="fullscreen"] {
  display: none;
}

.ai-mobile-flow .ai-current {
  top: 18px;
  right: auto;
  left: 16px;
  max-width: none;
  transform: none;
}

.ai-mobile-flow .ai-current-label {
  min-width: 0;
}

.ai-mobile-flow .ai-bottom-bar {
  top: 10px;
  right: 12px;
  bottom: auto;
  left: auto;
  display: block;
}

.ai-mobile-flow .ai-controls {
  display: block;
}

.ai-mobile-flow .ai-progress-track,
.ai-mobile-flow .ai-control[data-action="prev"],
.ai-mobile-flow .ai-control[data-action="next"] {
  display: none;
}

.ai-mobile-flow .ai-map {
  inset: 56px 12px 72px;
  width: auto;
  max-height: none;
}

.ai-mobile-flow #organization .ai-globe-stage {
  display: none;
}

.ai-mobile-flow #organization .organization-spline-bg {
  display: none;
}

.ai-mobile-flow #organization .section-hd {
  width: auto;
  margin-left: 0;
}

@media (max-width: 980px) {
  .ai-brand {
    display: none;
  }

  .ai-chapter-rail {
    left: 14px;
  }

  .ai-bottom-bar {
    right: 18px;
    left: auto;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  .ai-brand {
    display: none;
  }

  .ai-current {
    top: 12px;
    padding: 5px 7px;
    border: 1px solid rgba(157, 209, 222, .16);
    border-radius: 6px;
    background: rgba(4, 16, 28, .9);
    backdrop-filter: none;
  }

  .ai-bottom-bar {
    bottom: 2px;
  }

  .ai-scroll-cue {
    bottom: 18px;
  }
}

@media (max-width: 560px) {
  .ai-mobile-flow {
    padding-right: 8px;
    padding-left: 8px;
  }

  .ai-mobile-flow .report-page {
    padding-top: 60px;
  }

  .ai-mobile-flow .report-section {
    padding: 26px 18px;
    border-radius: 15px;
  }

  .ai-mobile-flow .report-head .report-title {
    font-size: clamp(36px, 13vw, 52px);
  }

  .ai-mobile-flow .ai-control[data-action="prev"],
  .ai-mobile-flow .ai-control[data-action="next"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ai-network {
    display: none;
  }

  .impress-enabled .step,
  .impress-enabled .step .ai-reveal,
  .impress-enabled #cover::before,
  .impress-enabled #cover::after,
  .impress-enabled #cover .cover-strategy-wing::before,
  .impress-enabled #cover .cover-strategy-core::before,
  .impress-enabled .step .report-metro-svg *,
  .impress-enabled .step .odcapt-links *,
  .ai-deck-ui *,
  .ai-map,
  .ai-map-scrim {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .impress-enabled .step .ai-reveal,
  .impress-enabled .step .report-metro-svg .station,
  .impress-enabled .step .report-metro-svg .order-ai-role {
    opacity: 1;
    transform: none;
  }

  .impress-enabled .step .report-metro-svg :where(.rail-main, .transfer-rail, .order-role-connector),
  .impress-enabled .step .odcapt-links path:not(.ln-arr) {
    stroke-dashoffset: 0;
  }

  .ai-motion-ambient::before,
  .ai-globe-halo {
    animation: none !important;
  }

  .ai-globe-stage {
    cursor: default;
    pointer-events: none;
  }

  .impress-enabled #decisions > .decision-spline-bg {
    display: none;
  }

  .impress-enabled #decisions > .section-hd,
  .impress-enabled #decisions > .decision-table,
  .impress-enabled #decisions > .decision-next {
    width: 100%;
  }
}

@media print {
  #ai-network,
  .ai-globe-stage,
  .organization-spline-bg,
  .ai-motion-ambient,
  .decision-spline-bg,
  .ai-deck-ui,
  .ai-map,
  .ai-map-scrim,
  #methodology-zoom-backdrop,
  .benchmark-dialog {
    display: none !important;
  }

  html,
  body,
  body.impress-enabled,
  body.ai-mobile-flow {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: white !important;
  }

  .impress-enabled #impress.report-page,
  .ai-mobile-flow .report-page {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transform-origin: initial !important;
    transition: none !important;
    perspective: none !important;
  }

  .impress-enabled #impress > div {
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    transition: none !important;
  }

  .impress-enabled .step,
  .ai-mobile-flow .report-section {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 180mm;
    margin: 0 0 12mm !important;
    padding: 12mm !important;
    overflow: visible !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    break-after: page;
    box-shadow: none !important;
  }

  .impress-enabled .step .ai-reveal,
  .impress-enabled .step .report-metro-svg .station,
  .impress-enabled .step .report-metro-svg .order-ai-role {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
  }

  .impress-enabled .step .report-metro-svg :where(.rail-main, .transfer-rail, .order-role-connector),
  .impress-enabled .step .odcapt-links path:not(.ln-arr) {
    stroke-dashoffset: 0 !important;
    animation: none !important;
    transition: none !important;
  }
}
