.tpl-gameops-reveal .slide {
  padding: 98px 78px 72px;
  overflow: hidden;
}

.tpl-gameops-reveal .deck > .slide.is-active {
  transform: translateX(0) !important;
}

.tpl-gameops-reveal .deck > .slide.is-prev {
  transform: translateX(-30px) !important;
}

.source-deck-bright {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-2: rgba(240, 247, 255, 0.9);
  --border: rgba(14, 70, 140, 0.14);
  --border-strong: rgba(14, 70, 140, 0.28);
  --text-1: #07172f;
  --text-2: #3d4d66;
  --text-3: #72809a;
  --accent: #0078d4;
  --accent-2: #7f3cff;
  --accent-3: #ff3d9a;
  --good: #00a86b;
  --warn: #ffb900;
  --bad: #e11d48;
  --grad: linear-gradient(118deg, #0078d4 0%, #30c5ff 27%, #7f3cff 55%, #ff3d9a 78%, #ffb900 100%);
  --grad-soft: linear-gradient(135deg, #ffffff 0%, #eef8ff 38%, #f5edff 70%, #fff5cf 100%);
  --radius-sm: 8px;
  --radius-m: 8px;
  --radius-l: 8px;
  --shadow-soft: 0 20px 56px rgba(31, 83, 151, 0.10);
  --shadow-pop: 0 34px 90px rgba(0, 120, 212, 0.16);
}

.source-deck-bright .deck {
  background:
    radial-gradient(circle at 2% 4%, rgba(0, 120, 212, 0.10), transparent 26%),
    radial-gradient(circle at 92% 68%, rgba(127, 60, 255, 0.10), transparent 34%),
    linear-gradient(115deg, #edf9fd 0%, #fbfdff 44%, #fbf5ff 100%);
}

.source-deck-bright .slide {
  display: block;
  background:
    radial-gradient(circle at 4% 11%, rgba(0, 120, 212, 0.08), transparent 24%),
    radial-gradient(circle at 92% 74%, rgba(127, 60, 255, 0.09), transparent 31%),
    linear-gradient(112deg, rgba(245,253,255,0.96), rgba(255,255,255,0.95) 47%, rgba(253,247,255,0.94));
}

.source-deck-bright .slide::before,
.source-deck-bright .slide::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.source-deck-bright .slide::before {
  inset: 0 auto auto 0;
  width: 210px;
  height: 5px;
  background:
    linear-gradient(90deg, #0078d4 0 38%, #30c5ff 38% 58%, #00a86b 58% 78%, #ffb900 78% 100%);
  opacity: 1;
}

.source-deck-bright .slide::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,120,212,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7,23,47,0.025) 1px, transparent 1px);
  background-size: 44px 100%, 100% 44px;
  opacity: 0.55;
}

.source-deck-bright .slide > * {
  position: relative;
  z-index: 1;
}

.source-deck-bright .slide > .deck-footer {
  position: absolute;
}

.source-deck-bright .cover-slide {
  background:
    radial-gradient(circle at 4% 9%, rgba(0, 120, 212, 0.10), transparent 26%),
    radial-gradient(circle at 88% 60%, rgba(127, 60, 255, 0.12), transparent 34%),
    linear-gradient(112deg, rgba(239,251,255,0.98), rgba(255,255,255,0.95) 48%, rgba(253,247,255,0.98));
}

.source-deck-bright .source-mark {
  position: absolute;
  top: 30px;
  left: auto;
  right: 78px;
  width: auto;
  font-weight: 900;
  color: #07172f;
  letter-spacing: 0;
  display: none;
}

.kicker,
.source-deck-bright .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 24px;
  padding: 0 14px;
  border: 1px solid rgba(0,120,212,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 8px 28px rgba(31,83,151,0.08);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  color: #0078d4;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--text-1);
  font-size: clamp(56px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title span,
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede,
.lede {
  max-width: 880px;
  color: var(--text-2);
  font-size: 24px;
  line-height: 1.38;
}

.hero-lede {
  margin: 24px 0 0;
}

.h2 {
  max-width: 1120px;
  margin: 0;
  color: var(--text-1);
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.mt-m { margin-top: 28px; }
.mt-l { margin-top: 42px; }
.mono { font-family: var(--font-mono, monospace); }

.hero-strip,
.agenda-grid,
.timeline-ribbon,
.connector-grid,
.function-flow,
.visual-grid,
.vision-board,
.model-matrix,
.family-grid,
.reasoning-grid,
.audio-grid,
.oss-grid,
.agent-trio,
.final-grid {
  display: grid;
  gap: 16px;
}

.hero-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin-top: 48px;
}

.agenda-grid,
.timeline-ribbon,
.function-flow,
.visual-grid,
.vision-board,
.model-matrix,
.family-grid,
.reasoning-grid,
.audio-grid,
.oss-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.connector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-trio,
.pricing-board,
.codex-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.compare-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pressure-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.slide[data-title="GameOps Pressure"] .pressure-layout {
  margin-top: 24px;
}

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

.pressure-grid article {
  padding: 12px 14px;
}

.pressure-grid article::before {
  margin: -12px -14px 10px;
}

.pressure-grid article b {
  font-size: 18px;
  line-height: 1.16;
}

.pressure-grid article p {
  font-size: 14px;
  line-height: 1.25;
}

.pressure-grid article > span {
  margin-bottom: 8px;
  font-size: 10px;
}

.pressure-visual {
  height: 286px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 70, 140, 0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-pop);
}

.pressure-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

article,
.hero-strip div,
.final-grid div,
.ptu-board article,
.codex-panel article,
.pricing-board article,
.router-paths article,
.router-input,
.router-output {
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68)),
    linear-gradient(135deg, rgba(0,120,212,0.08), transparent 46%);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

article::before,
.hero-strip div::before,
.final-grid div::before,
.router-input::before,
.router-output::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin: -24px -24px 22px;
  padding-right: 48px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, rgba(0,120,212,0.72), rgba(48,197,255,0.58), rgba(255,185,0,0.62));
}

article b,
.hero-strip b,
.final-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--text-1);
  font-size: 22px;
  line-height: 1.22;
}

article p,
article span,
.hero-strip span,
.final-grid span,
.router-input span,
.router-output span {
  color: var(--text-2);
  line-height: 1.44;
}

article > span,
.router-input > span,
.router-output > span,
.api-table .thead span {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  color: #0078d4;
  text-transform: uppercase;
}

.cover-orb {
  position: absolute;
  right: 72px;
  top: 86px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 48%, rgba(7, 23, 47, 0.86) 0 22%, transparent 23%),
    conic-gradient(from 20deg, #0078d4, #30c5ff, #7f3cff, #ff3d9a, #ffb900, #0078d4);
  box-shadow: var(--shadow-pop);
}

.cover-orb i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
}

.cover-orb i:nth-child(1) { inset: 16%; }
.cover-orb i:nth-child(2) { inset: 29%; }
.cover-orb i:nth-child(3) { inset: 42%; }

.product-map {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.map-core {
  grid-row: span 2;
  display: grid;
  align-content: center;
  min-height: 430px;
  border-radius: 8px;
  padding: 36px;
  color: white;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.22) 0 18%, transparent 18% 100%),
    linear-gradient(145deg, #0078d4, #7f3cff 62%, #ff3d9a);
  box-shadow: var(--shadow-pop);
}

.map-core b {
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

.map-core span {
  margin-top: 18px;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-mono, monospace);
  font-weight: 800;
}

.ptu-board {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.big-number {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 8px;
  color: white;
  font-size: 104px;
  font-weight: 950;
  letter-spacing: 0;
  background: var(--grad);
  box-shadow: var(--shadow-pop);
}

.api-table {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}

.api-table > div {
  display: contents;
}

.api-table b,
.api-table span {
  min-height: 56px;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.api-table b {
  color: var(--text-1);
}

.api-table .thead span {
  margin: 0;
  color: white;
  background: linear-gradient(90deg, #0078d4, #7f3cff, #ff3d9a);
}

.usecase-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1080px;
}

.usecase-cloud span,
.directory-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  background: var(--grad);
  box-shadow: 0 12px 34px rgba(0,120,212,0.18);
}

.section-break {
  text-align: left;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.20) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, #0078d4 0%, #30c5ff 28%, #7f3cff 60%, #ff3d9a 100%);
}

.section-break .h2,
.section-break .kicker {
  color: white;
}

.section-break::before,
.section-break::after {
  opacity: 0.22;
}

.directory-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1080px;
}

.directory-strip span {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.34);
}

.router-diagram {
  display: grid;
  grid-template-columns: 1fr 220px 1.4fr 1fr;
  gap: 16px;
  align-items: center;
}

.router-diagram article {
  padding: 16px 20px;
}

.router-diagram article::before {
  margin: -16px -20px 14px;
}

.router-diagram article b {
  font-size: 21px;
}

.router-diagram article p {
  margin: 6px 0 0;
  line-height: 1.35;
}

.router-core {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 8px;
  color: white;
  text-align: center;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.1;
  background: linear-gradient(135deg, #0078d4, #30c5ff 42%, #7f3cff);
  box-shadow: var(--shadow-pop);
}

.router-paths {
  display: grid;
  gap: 10px;
}

.router-input b,
.router-output b {
  display: block;
  margin-top: 6px;
  color: var(--text-1);
  font-size: 18px;
  line-height: 1.45;
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.example-slide .h2 {
  max-width: 1120px;
  font-size: clamp(32px, 3.2vw, 43px);
}

.example-visual {
  aspect-ratio: 2 / 1;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-pop);
}

.example-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
}

.example-stack {
  display: grid;
  align-content: start;
  gap: 8px;
}

.example-stack article {
  padding: 10px 14px;
}

.example-stack article::before {
  height: 3px;
  margin: -10px -14px 9px;
}

.example-stack article b {
  margin-bottom: 5px;
  font-size: 18px;
}

.example-stack article p {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
}

.example-stack article > span {
  margin-bottom: 6px;
  font-size: 10px;
}

.image2-gallery-slide {
  padding-top: 70px;
  padding-bottom: 44px;
}

.image2-gallery-slide .h2 {
  max-width: 1160px;
  font-size: clamp(32px, 3.1vw, 43px);
}

.image2-portrait-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.image2-portrait-gallery figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-pop);
}

.image2-portrait-gallery img {
  display: block;
  width: 100%;
  height: min(320px, 44vh);
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.8), rgba(234,245,255,0.72)),
    linear-gradient(90deg, rgba(0,120,212,0.06) 1px, transparent 1px);
  background-size: auto, 42px 100%;
}

.image2-portrait-gallery figcaption {
  padding: 12px 16px 13px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(240,247,255,0.78)),
    linear-gradient(135deg, rgba(0,120,212,0.08), transparent 48%);
}

.image2-portrait-gallery figcaption span {
  display: block;
  margin-bottom: 5px;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.image2-portrait-gallery figcaption b {
  display: block;
  margin-bottom: 0;
  color: var(--text-1);
  font-size: 20px;
  line-height: 1.12;
}

.image2-portrait-gallery figcaption p {
  display: none;
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.28;
}

.source-deck-bright .brand-mark {
  position: absolute;
  top: 56px;
  right: 78px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
}

.source-deck-bright .ms-grid {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 2px;
}

.source-deck-bright .ms-grid i:nth-child(1) { background: #f25022; }
.source-deck-bright .ms-grid i:nth-child(2) { background: #7fba00; }
.source-deck-bright .ms-grid i:nth-child(3) { background: #00a4ef; }
.source-deck-bright .ms-grid i:nth-child(4) { background: #ffb900; }

.source-deck-bright .slide-progress {
  position: absolute;
  right: 26px;
  top: 242px;
  z-index: 8;
  display: grid;
  gap: 10px;
}

.source-deck-bright .slide-progress span {
  width: 13px;
  height: 9px;
  border: 1px solid rgba(7, 23, 47, 0.26);
  background: rgba(255, 255, 255, 0.44);
}

.source-deck-bright .slide-progress span.active {
  border-color: #1d72f3;
  background: #1d72f3;
}

.deck-footer {
  display: none;
}

.final-slide {
  display: grid;
  align-content: center;
}

.final-slide .h2 {
  max-width: 1180px;
  font-size: clamp(40px, 4.1vw, 58px);
}

.final-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-link-panel {
  margin-top: 22px;
}

.final-slide .demo-link-panel {
  position: absolute;
  right: 78px;
  bottom: 58px;
  z-index: 8;
  margin: 0;
}

.demo-link-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #0078d4, #00a86b);
  box-shadow: var(--shadow-pop);
}

.slide[data-title="Demo Overview"] .agenda-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.slide[data-title="Demo Overview"] article {
  padding: 18px 20px;
}

.slide[data-title="Demo Overview"] article::before {
  margin: -18px -20px 16px;
}

.slide[data-title="Demo Overview"] article b {
  font-size: 21px;
}

.slide[data-title="Workshop Flow"] .timeline-ribbon {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.slide[data-title="Workshop Flow"] .timeline-ribbon::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0078d4, #30c5ff, #7f3cff, #ffb900);
}

.slide[data-title="Workshop Flow"] .timeline-ribbon article {
  position: relative;
  min-height: 230px;
  padding: 86px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(241,248,255,0.48));
}

.slide[data-title="Workshop Flow"] .timeline-ribbon article::after {
  content: "0" counter(flow-step);
  counter-increment: flow-step;
  position: absolute;
  top: 40px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  font: 900 16px var(--font-mono, monospace);
  background: linear-gradient(135deg, #0078d4, #7f3cff);
  box-shadow: 0 12px 26px rgba(0,120,212,0.2);
}

.slide[data-title="Workshop Flow"] .timeline-ribbon {
  counter-reset: flow-step;
}

.slide[data-title="Operating Loop"] .function-flow {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
}

.slide[data-title="Operating Loop"] .function-flow::after {
  content: "Human gate";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  color: white;
  font: 900 18px var(--font-mono, monospace);
  background: linear-gradient(135deg, #07172f, #0078d4);
  box-shadow: var(--shadow-pop);
}

.slide[data-title="Operating Loop"] .function-flow article {
  min-height: 155px;
}

.slide[data-title="GPT 5.5"] .model-matrix {
  grid-template-columns: 1.16fr 0.95fr 0.95fr;
  grid-auto-rows: minmax(126px, auto);
  max-width: 1120px;
}

.slide[data-title="GPT 5.5"] .model-matrix article:first-child {
  grid-row: span 2;
  display: grid;
  align-content: center;
  min-height: 286px;
  color: white;
  background: linear-gradient(145deg, #07172f, #005fb8 56%, #7f3cff);
}

.slide[data-title="GPT 5.5"] .model-matrix article:last-child {
  grid-column: 2 / span 2;
}

.slide[data-title="GPT 5.5"] .model-matrix article:first-child span,
.slide[data-title="GPT 5.5"] .model-matrix article:first-child p,
.slide[data-title="GPT 5.5"] .model-matrix article:first-child b {
  color: white;
}

.slide[data-title="GPT Image 2"] .visual-grid {
  grid-template-columns: 1.15fr 0.95fr 0.95fr 0.95fr;
  align-items: stretch;
}

.slide[data-title="GPT Image 2"] .visual-grid article {
  position: relative;
  min-height: 250px;
  padding-top: 92px;
}

.slide[data-title="GPT Image 2"] .visual-grid article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 46px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.58), transparent 42%),
    linear-gradient(135deg, #0078d4, #30c5ff 44%, #ffb900);
}

.slide[data-title="GPT Image 2"] .visual-grid article:nth-child(2)::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.58), transparent 42%),
    linear-gradient(135deg, #00a86b, #30c5ff 48%, #7f3cff);
}

.slide[data-title="GPT Image 2"] .visual-grid article:nth-child(3)::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.58), transparent 42%),
    linear-gradient(135deg, #7f3cff, #ff3d9a 48%, #ffb900);
}

.slide[data-title="GPT Realtime"] .audio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(0,120,212,0.08) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(240,247,255,0.52));
  box-shadow: var(--shadow-soft);
}

.slide[data-title="GPT Realtime"] .audio-grid article {
  min-height: 175px;
  border-radius: 8px 8px 26px 26px;
}

.slide[data-title="GPT Realtime"] .audio-grid article:nth-child(2),
.slide[data-title="GPT Realtime"] .audio-grid article:nth-child(4) {
  min-height: 230px;
}

.slide[data-title="Model Orchestration"] .model-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
}

.slide[data-title="Model Orchestration"] .model-matrix article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  min-height: 128px;
  padding: 16px 20px;
}

.slide[data-title="Model Orchestration"] .model-matrix article::before {
  display: none;
}

.slide[data-title="Model Orchestration"] .model-matrix article span {
  margin: 0;
  grid-row: 1 / span 2;
  align-self: start;
}

.slide[data-title="Model Orchestration"] .model-matrix article b,
.slide[data-title="Model Orchestration"] .model-matrix article p {
  grid-column: 2;
}

.slide[data-title="Model Orchestration"] .model-matrix article p {
  margin: 0;
}

.slide[data-title="RAG"] .compare-two {
  grid-template-columns: 0.85fr 1.15fr;
}

.slide[data-title="RAG"] .compare-two article {
  min-height: 210px;
}

.slide[data-title="RAG"] .directory-strip {
  max-width: none;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.68);
}

.slide[data-title="Safety"] .reasoning-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.slide[data-title="Safety"] .reasoning-grid article {
  min-height: 150px;
}

.slide[data-title="Safety"] .reasoning-grid article:nth-child(1),
.slide[data-title="Safety"] .reasoning-grid article:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.62)),
    linear-gradient(135deg, rgba(225,29,72,0.12), transparent 54%);
}

.slide[data-title^="Demo "] .compare-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.slide[data-title^="Demo "] .compare-two article {
  position: relative;
  min-height: 260px;
  padding-top: 72px;
}

.slide[data-title^="Demo "] .compare-two article span {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 34px;
  margin: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #0078d4, #7f3cff);
}

.slide[data-title="Data Design"] .pricing-board {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
}

.slide[data-title="Data Design"] .pricing-board article {
  min-height: 292px;
  display: grid;
  align-content: space-between;
}

.slide[data-title="Production Path"] .function-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.slide[data-title="Production Path"] .function-flow article {
  min-height: 250px;
  border-radius: 8px;
}

.slide[data-title="Production Path"] .function-flow article:nth-child(even) {
  margin-top: 38px;
}

.slide[data-title="PoC Plan"] .timeline-ribbon {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.68);
  box-shadow: var(--shadow-soft);
}

.slide[data-title="PoC Plan"] .timeline-ribbon article {
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.slide[data-title="PoC Plan"] .timeline-ribbon article:last-child {
  border-right: 0;
}

@media (min-width: 1101px) and (max-height: 640px) {
  .tpl-gameops-reveal .slide {
    padding: 54px 64px 44px;
  }

  .source-deck-bright .brand-mark {
    top: 34px;
    right: 64px;
    transform: scale(0.86);
    transform-origin: right top;
  }

  .source-deck-bright .slide-progress {
    top: 156px;
    right: 22px;
    gap: 5px;
  }

  .source-deck-bright .slide-progress span {
    width: 11px;
    height: 6px;
  }

  .kicker,
  .source-deck-bright .kicker {
    min-height: 26px;
    margin-bottom: 16px;
    padding: 0 12px;
    font-size: 10px;
  }

  .h2 {
    max-width: 1120px;
    font-size: clamp(31px, 3.1vw, 43px);
    line-height: 1.08;
  }

  .mt-m { margin-top: 20px; }
  .mt-l { margin-top: 26px; }

  article,
  .hero-strip div,
  .final-grid div,
  .ptu-board article,
  .codex-panel article,
  .pricing-board article,
  .router-paths article,
  .router-input,
  .router-output {
    padding: 18px;
  }

  article::before,
  .hero-strip div::before,
  .final-grid div::before,
  .router-input::before,
  .router-output::before {
    margin: -18px -18px 16px;
    padding-right: 36px;
  }

  article b,
  .hero-strip b,
  .final-grid b {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.16;
  }

  article p,
  article span,
  .hero-strip span,
  .final-grid span,
  .router-input span,
  .router-output span {
    line-height: 1.32;
  }

  article > span,
  .router-input > span,
  .router-output > span,
  .api-table .thead span {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .slide[data-title="GameOps Pressure"] .pressure-layout {
    margin-top: 18px;
  }

  .pressure-visual {
    height: 256px;
  }

  .pressure-grid article {
    padding: 11px 13px;
  }

  .pressure-grid article::before {
    margin: -11px -13px 9px;
  }

  .slide[data-title="Capability Map"] .product-map {
    grid-template-columns: 0.9fr repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .slide[data-title="Capability Map"] .map-core {
    min-height: 252px;
    padding: 26px;
  }

  .slide[data-title="Capability Map"] .map-core b {
    font-size: 36px;
  }

  .slide[data-title="Capability Map"] .map-core span {
    margin-top: 12px;
    font-size: 13px;
  }

  .slide[data-title="Capability Map"] .product-map article {
    padding: 15px 18px;
  }

  .slide[data-title="Capability Map"] .product-map article::before {
    margin: -15px -18px 13px;
  }

  .slide[data-title="Operating Loop"] .function-flow {
    max-width: 1040px;
    gap: 12px;
    margin-top: 22px;
  }

  .slide[data-title="Operating Loop"] .function-flow::after {
    width: 108px;
    height: 108px;
    font-size: 14px;
  }

  .slide[data-title="Operating Loop"] .function-flow article {
    min-height: 126px;
  }

  .slide[data-title="GPT 5.5"] .model-matrix {
    grid-template-columns: 1.2fr 0.95fr 0.95fr;
    grid-auto-rows: minmax(108px, auto);
    gap: 12px;
  }

  .slide[data-title="GPT 5.5"] .model-matrix article:first-child {
    min-height: 240px;
  }

  .slide[data-title="GPT Image 2"] .visual-grid article {
    min-height: 218px;
    padding-top: 78px;
  }

  .slide[data-title="GPT Image 2"] .visual-grid article::after {
    left: 18px;
    right: 18px;
    top: 18px;
    height: 40px;
  }

  .slide[data-title="GPT Realtime"] .audio-grid {
    min-height: 256px;
    padding: 16px;
  }

  .slide[data-title="GPT Realtime"] .audio-grid article {
    min-height: 146px;
  }

  .slide[data-title="GPT Realtime"] .audio-grid article:nth-child(2),
  .slide[data-title="GPT Realtime"] .audio-grid article:nth-child(4) {
    min-height: 196px;
  }

  .example-slide .h2 {
    font-size: clamp(28px, 2.65vw, 36px);
  }

  .example-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    gap: 16px;
  }

  .example-stack {
    gap: 7px;
  }

  .example-stack article p {
    font-size: 14px;
    line-height: 1.24;
  }

  .image2-gallery-slide {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .image2-gallery-slide .h2 {
    max-width: 1120px;
    font-size: clamp(29px, 2.7vw, 37px);
  }

  .image2-portrait-gallery {
    gap: 14px;
    margin-top: 18px;
  }

  .image2-portrait-gallery img {
    height: min(218px, 36vh);
  }

  .image2-portrait-gallery figcaption {
    padding: 11px 14px 12px;
  }

  .image2-portrait-gallery figcaption span {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .image2-portrait-gallery figcaption b {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .image2-portrait-gallery figcaption p {
    font-size: 13px;
    line-height: 1.2;
  }

  .slide[data-title="Model Orchestration"] .model-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 1100px;
  }

  .slide[data-title="Model Orchestration"] .model-matrix article {
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 108px;
    padding: 14px 18px;
  }

  .slide[data-title="Reference Architecture"] .router-diagram {
    grid-template-columns: 0.82fr 170px 1.25fr 0.92fr;
    gap: 12px;
  }

  .slide[data-title="Reference Architecture"] .router-core {
    min-height: 172px;
    font-size: 24px;
  }

  .slide[data-title="Reference Architecture"] .router-paths {
    gap: 8px;
  }

  .slide[data-title="Reference Architecture"] .router-diagram article {
    padding: 12px 16px;
  }

  .slide[data-title="Reference Architecture"] .router-diagram article::before {
    margin: -12px -16px 10px;
  }

  .slide[data-title="Reference Architecture"] .router-diagram article b,
  .slide[data-title="Reference Architecture"] .router-input b,
  .slide[data-title="Reference Architecture"] .router-output b {
    font-size: 18px;
    line-height: 1.28;
  }
}

.demo-link-panel a:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.demo-console-page {
  margin: 0;
  min-height: 100vh;
  color: #102033;
  font-family: var(--font-sans, Inter, "Noto Sans SC", system-ui, sans-serif);
  background:
    linear-gradient(120deg, rgba(0, 120, 212, 0.10), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #edf5f9 100%);
}

.demo-shell {
  width: min(1480px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 14px 0 32px;
}

.demo-topbar,
.demo-actions,
.runbar {
  display: flex;
  align-items: center;
}

.demo-topbar {
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 14px;
}

.demo-topbar h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.demo-eyebrow {
  margin: 0 0 8px;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-actions {
  gap: 12px;
}

.demo-actions a,
.demo-actions span,
.runbar button {
  border: 1px solid rgba(0, 120, 212, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.88);
  color: #102033;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(31, 83, 151, 0.10);
}

.demo-actions span.ready {
  border-color: rgba(0, 168, 107, 0.38);
  color: #006b45;
}

.demo-actions span.warn {
  border-color: rgba(255, 185, 0, 0.48);
  color: #8a5d00;
}

.signal-grid,
.demo-storyboard {
  display: grid;
  gap: 12px;
}

.signal-grid article,
.demo-storyboard article,
.demo-workspace,
.prompt-panel,
.demo-nav {
  border: 1px solid rgba(14, 70, 140, 0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 42px rgba(31, 83, 151, 0.11);
}

.signal-grid article,
.demo-storyboard article {
  padding: 13px 14px;
}

.signal-grid article span,
.demo-storyboard article span,
.prompt-panel span {
  display: block;
  margin-bottom: 8px;
  color: #7f3cff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-grid article b,
.demo-storyboard article b {
  display: block;
  color: #07172f;
  font-size: 17px;
  line-height: 1.2;
}

.signal-grid article p,
.demo-storyboard article p,
.prompt-panel p,
#demo-value,
.runbar span {
  margin: 6px 0 0;
  color: #45566f;
  line-height: 1.42;
}

.demo-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.demo-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
}

.demo-tab {
  min-height: 64px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  color: #102033;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.demo-tab span {
  display: block;
  margin-bottom: 6px;
  color: #6a7690;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  text-transform: uppercase;
}

.demo-tab.active {
  border-color: rgba(0, 120, 212, 0.28);
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.12), rgba(0, 168, 107, 0.08));
}

.demo-workspace {
  padding: 16px;
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.workspace-head h2 {
  margin: 0;
  color: #07172f;
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
}

.demo-stage {
  position: relative;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 70, 140, 0.14);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,247,255,0.76));
  box-shadow: 0 16px 42px rgba(31, 83, 151, 0.10);
}

.stage-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.stage-head span,
.stage-card span,
.commander-node span,
.knowledge-query span {
  color: #7f3cff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-head b {
  max-width: 760px;
  color: #07172f;
  font-size: 18px;
  line-height: 1.22;
  text-align: right;
}

.stage-grid {
  display: grid;
  gap: 10px;
}

.stage-card {
  position: relative;
  min-height: 112px;
  border: 1px solid rgba(0, 120, 212, 0.13);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.82);
}

.stage-card::before {
  content: attr(data-step);
  position: absolute;
  right: 12px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  font: 900 12px var(--font-mono, monospace);
  background: #0078d4;
}

.stage-card b {
  display: block;
  margin-top: 7px;
  padding-right: 30px;
  color: #07172f;
  font-size: 17px;
  line-height: 1.18;
}

.stage-card p {
  margin: 7px 0 0;
  color: #45566f;
  font-size: 13px;
  line-height: 1.38;
}

.demo-stage.model-router .stage-grid,
.demo-stage.voice-bridge .stage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-stage.model-router {
  background:
    linear-gradient(90deg, rgba(0,120,212,0.10), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(235,251,255,0.82));
}

.demo-stage.model-router .stage-card:nth-child(2)::after {
  content: "→";
  position: absolute;
  left: -18px;
  top: 45%;
  color: #0078d4;
  font-weight: 900;
}

.demo-stage.agent-command {
  background:
    linear-gradient(135deg, rgba(7,23,47,0.94), rgba(0,95,184,0.88));
}

.demo-stage.agent-command .stage-head span,
.demo-stage.agent-command .stage-head b {
  color: #f7fbff;
}

.demo-stage.agent-command .commander-node {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.10);
}

.demo-stage.agent-command .commander-node span {
  color: #78e0ff;
}

.demo-stage.agent-command .commander-node b {
  color: white;
}

.live-game-panel {
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.10);
}

.live-game-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.live-game-head span,
.live-game-status span {
  color: #78e0ff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-game-head b,
.live-game-status b,
.live-game-panel p {
  color: #f7fbff;
}

.live-game-status {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.live-game-status article {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 9px;
  background: rgba(7,23,47,0.30);
}

.live-game-status article.ok {
  border-color: rgba(68, 214, 144, 0.42);
}

.live-game-status article.bad {
  border-color: rgba(255, 61, 106, 0.54);
}

.live-game-status b {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-game-panel p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.42;
}

.live-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.live-game-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(120,224,255,0.38);
  border-radius: 8px;
  padding: 8px 10px;
  color: #f7fbff;
  background: rgba(0,120,212,0.25);
  font-weight: 800;
  cursor: pointer;
}

.live-game-actions button:hover {
  background: rgba(120,224,255,0.22);
}

.live-game-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.live-game-actions button.is-live-running {
  opacity: 1;
  border-color: rgba(255, 185, 0, 0.72);
  background: linear-gradient(135deg, rgba(0,120,212,0.34), rgba(255,185,0,0.22));
  box-shadow: 0 0 0 1px rgba(255,185,0,0.12), 0 0 18px rgba(255,185,0,0.22);
}

.live-game-actions button.is-live-running::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid rgba(255,255,255,0.36);
  border-top-color: #ffb900;
  border-radius: 50%;
  animation: live-action-spin 0.78s linear infinite;
}

@keyframes live-action-spin {
  to {
    transform: rotate(360deg);
  }
}

.agent-execution-log-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(7,23,47,0.10);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 34px rgba(7,23,47,0.08);
}

.agent-execution-log-card[hidden] {
  display: none;
}

.execution-log-empty {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(0,120,212,0.18);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(240,247,255,0.92), rgba(255,255,255,0.76));
}

.execution-log-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.execution-log-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.56fr) minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(0,120,212,0.16);
  border-radius: 8px;
  padding: 11px;
  background: rgba(247,251,255,0.90);
}

.execution-log-list span,
.execution-log-empty span {
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.execution-log-list b,
.execution-log-empty b {
  display: block;
  margin-top: 4px;
  color: #07172f;
  font-size: 15px;
  line-height: 1.22;
}

.execution-log-list code,
.execution-log-empty code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  border-radius: 6px;
  padding: 8px;
  color: #d7f8ff;
  background: #07172f;
  font: 700 11px/1.38 var(--font-mono, monospace);
}

.execution-log-list p,
.execution-log-empty p {
  margin: 0;
  color: #31506f;
  font-size: 12px;
  line-height: 1.42;
}

.execution-log-list em {
  justify-self: end;
  border-radius: 999px;
  padding: 5px 8px;
  color: #005a9e;
  background: rgba(0,120,212,0.10);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.demo-stage.agent-command .stage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-stage.agent-command .stage-card {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
}

.demo-stage.agent-command .stage-card span,
.demo-stage.agent-command .stage-card b,
.demo-stage.agent-command .stage-card p {
  color: #f7fbff;
}

.demo-stage.agent-command .stage-card::before {
  background: linear-gradient(135deg, #ffb900, #ff3d9a);
}

.demo-stage.voice-bridge {
  background:
    repeating-linear-gradient(90deg, rgba(0,120,212,0.07) 0 2px, transparent 2px 34px),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(242,251,247,0.82));
}

.voice-wave {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 54px;
  margin-bottom: 12px;
}

.voice-wave i {
  display: block;
  width: 100%;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #30c5ff, #0078d4);
}

.voice-wave i:nth-child(1) { height: 28%; }
.voice-wave i:nth-child(2) { height: 64%; }
.voice-wave i:nth-child(3) { height: 42%; }
.voice-wave i:nth-child(4) { height: 82%; }
.voice-wave i:nth-child(5) { height: 54%; }
.voice-wave i:nth-child(6) { height: 92%; }
.voice-wave i:nth-child(7) { height: 36%; }
.voice-wave i:nth-child(8) { height: 68%; }

.voice-realtime-card {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  border: 1px solid rgba(0, 168, 107, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.76);
}

.voice-realtime-card span {
  display: block;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
}

.voice-realtime-card b {
  display: block;
  margin-top: 4px;
  color: #07172f;
  font-size: 16px;
  line-height: 1.2;
}

.voice-realtime-card p {
  margin: 0;
  color: #31445e;
  font-size: 12px;
  line-height: 1.42;
}

.voice-realtime-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.voice-realtime-actions button {
  min-height: 36px;
  border: 1px solid rgba(0,120,212,0.24);
  border-radius: 8px;
  padding: 8px 11px;
  background: linear-gradient(135deg, #0078d4, #00a86b);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.voice-realtime-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.voice-realtime-actions em {
  color: #31506f;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.demo-stage.knowledge-console .stage-grid,
.demo-stage.safety-radar .stage-grid,
.demo-stage.report-builder .stage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-query {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px dashed rgba(0,120,212,0.32);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.72);
}

.knowledge-query b {
  color: #07172f;
}

.demo-stage.knowledge-console .stage-card::before {
  background: #00a86b;
}

.demo-stage.safety-radar {
  background:
    linear-gradient(90deg, rgba(225,29,72,0.08), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,250,0.82));
}

.demo-stage.safety-radar .stage-card {
  border-top: 4px solid #e11d48;
}

.demo-stage.safety-radar .stage-card:nth-child(2) {
  border-top-color: #ffb900;
}

.demo-stage.safety-radar .stage-card:nth-child(3) {
  border-top-color: #7f3cff;
}

.demo-stage.safety-radar .stage-card:nth-child(4) {
  border-top-color: #0078d4;
}

.demo-workspace.variant-safety-radar .runbar {
  display: none;
}

.demo-workspace.variant-safety-radar .signal-grid {
  display: none;
}

.demo-workspace.variant-safety-radar .demo-context {
  display: none;
}

.demo-workspace.variant-safety-radar .interaction-panel {
  grid-template-columns: minmax(0, 1fr);
}

.demo-workspace.variant-safety-radar .result-grid {
  grid-template-columns: minmax(0, 1fr);
}

.demo-workspace.variant-safety-radar .evidence-panel {
  display: none;
}

.safety-stage-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
  margin-bottom: 12px;
}

.safety-stage-stream,
.safety-stage-route {
  border: 1px solid rgba(14,70,140,0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.76);
}

.safety-stage-board.is-compact {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.safety-stage-board.is-compact .safety-stage-route {
  display: grid;
  align-content: center;
}

.safety-stage-stream > div:first-child,
.safety-stage-route > span {
  display: block;
  margin-bottom: 10px;
}

.safety-stage-stream span,
.safety-stage-route span {
  color: #7f3cff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.safety-stage-stream b,
.safety-stage-route b {
  display: block;
  color: #07172f;
  font-size: 17px;
  line-height: 1.2;
}

.safety-stage-route div {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.safety-stage-route i {
  border-left: 4px solid #0078d4;
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(0,120,212,0.07);
  color: #20344d;
  font-style: normal;
  font-weight: 800;
}

.safety-stage-route i:nth-child(2) {
  border-left-color: #00a86b;
  background: rgba(0,168,107,0.08);
}

.safety-stage-route i:nth-child(3) {
  border-left-color: #ffb900;
  background: rgba(255,185,0,0.10);
}

.safety-stage-route i:nth-child(4) {
  border-left-color: #e11d48;
  background: rgba(225,29,72,0.08);
}

.safety-action-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.safety-stage-board.is-compact .safety-action-strip {
  grid-column: 1 / -1;
}

.safety-action-strip button {
  min-height: 64px;
  border: 1px solid rgba(0,120,212,0.24);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.86);
  color: #102033;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(31,83,151,0.10);
}

.safety-action-strip button:nth-child(1) {
  border-left: 4px solid #0078d4;
}

.safety-action-strip button:nth-child(2) {
  border-left: 4px solid #ffb900;
}

.safety-action-strip button:nth-child(3) {
  border-left: 4px solid #00a86b;
}

.safety-action-strip button:nth-child(4) {
  border-left: 4px solid #7f3cff;
}

.safety-action-strip button span {
  display: block;
  color: #07172f;
  font-weight: 900;
  line-height: 1.2;
}

.safety-action-strip button small {
  display: block;
  margin-top: 6px;
  color: #45566f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.safety-action-strip button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.safety-action-strip button.is-safety-running span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  border: 3px solid rgba(0,120,212,0.18);
  border-top-color: #0078d4;
  border-radius: 50%;
  vertical-align: -2px;
  animation: safety-action-spin 0.8s linear infinite;
}

.demo-stage.report-builder {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,245,255,0.86));
}

.report-spine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.report-spine i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0078d4, #7f3cff);
}

.demo-stage.report-builder .stage-card {
  min-height: 126px;
}

.role-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 320px;
}

.role-switch button,
.runbar button {
  cursor: pointer;
}

.role-switch button {
  border: 1px solid rgba(0, 120, 212, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #2d3e55;
  font: inherit;
  font-weight: 800;
}

.role-switch button.active {
  background: #0078d4;
  color: #fff;
}

.demo-workspace.variant-model-router .role-switch {
  display: none;
}

.demo-workspace.variant-model-router .demo-stage {
  display: none;
}

.prompt-panel {
  margin-top: 14px;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(239,247,255,0.82));
}

.interaction-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 12px;
  align-items: stretch;
}

.panel-heading,
.result-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.panel-heading b,
.result-heading b {
  display: block;
  color: #07172f;
  font-size: 16px;
  line-height: 1.2;
}

.panel-heading button {
  border: 1px solid rgba(0, 120, 212, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #2d3e55;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#demo-input {
  display: block;
  width: 100%;
  min-height: 118px;
  margin-top: 12px;
  resize: vertical;
  border: 1px solid rgba(7, 23, 47, 0.14);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfdff;
  color: #102033;
  font: 600 15px/1.48 var(--font-sans, Inter, "Noto Sans SC", system-ui, sans-serif);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

#demo-input:focus {
  outline: 3px solid rgba(0, 120, 212, 0.18);
  border-color: rgba(0, 120, 212, 0.56);
}

.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.suggestion-grid button {
  min-height: 56px;
  border: 1px solid rgba(0, 120, 212, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.78);
  color: #34455d;
  font: 800 12px/1.28 var(--font-sans, Inter, "Noto Sans SC", system-ui, sans-serif);
  text-align: left;
  cursor: pointer;
}

.suggestion-grid button:hover {
  border-color: rgba(0, 120, 212, 0.42);
  background: #fff;
}

.demo-context {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-top: 14px;
}

.demo-context article {
  border-left: 4px solid #00a86b;
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255,255,255,0.82);
  color: #24344a;
  font-weight: 900;
  line-height: 1.32;
}

.signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.demo-workspace.variant-agent-command .interaction-panel {
  display: none;
}

.demo-workspace.variant-model-router .interaction-panel {
  grid-template-columns: minmax(0, 1fr);
}

.demo-workspace.variant-model-router .demo-context {
  display: none;
}

.demo-workspace.variant-agent-command .signal-grid {
  display: none;
}

.demo-workspace.variant-voice-bridge .signal-grid {
  display: none;
}

.demo-workspace.variant-agent-command .runbar {
  display: none;
}

.demo-workspace.variant-model-router .signal-grid {
  display: none;
}

.runbar {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.runbar button {
  background: linear-gradient(135deg, #0078d4, #7f3cff);
  color: white;
}

.runbar button + button {
  display: none;
  background: linear-gradient(135deg, #00a86b, #0078d4);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 12px;
  margin: 12px 0 0;
}

.answer-panel,
.evidence-panel {
  min-width: 0;
  border: 1px solid rgba(7, 23, 47, 0.14);
  border-radius: 8px;
  background: #07172f;
  box-shadow: 0 16px 42px rgba(31, 83, 151, 0.11);
}

.answer-panel .result-heading,
.evidence-panel .result-heading {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.answer-panel .result-heading span,
.evidence-panel .result-heading span {
  display: block;
  color: #78e0ff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.answer-panel .result-heading b,
.evidence-panel .result-heading b {
  color: #f7fbff;
}

.demo-output {
  min-height: 330px;
  max-height: 46vh;
  margin: 0;
  overflow: auto;
  border: 0;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: #07172f;
  color: #d7f8ff;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.demo-output:has(.agent-run-board),
.demo-output:has(.model-result-grid),
.demo-output:has(.voice-result-grid),
.demo-output:has(.knowledge-result-grid),
.demo-output:has(.safety-result-grid),
.demo-output:has(.safety-storm-console),
.demo-output:has(.report-result-grid),
.demo-output:has(.run-progress) {
  font-family: var(--font-sans, Inter, "Noto Sans SC", system-ui, sans-serif);
  white-space: normal;
}

.demo-output:has(.safety-storm-console) {
  max-height: 62vh;
  background: #f6f8fb;
  color: #102033;
}

.run-progress,
.run-commander,
.commander-summary,
.voice-audio-card,
.result-mini-card {
  border: 1px solid rgba(120, 224, 255, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.run-progress {
  padding: 16px;
}

.run-progress span,
.run-commander span,
.commander-summary span,
.voice-audio-card span,
.result-mini-card span {
  display: block;
  margin-bottom: 8px;
  color: #78e0ff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.run-progress b,
.run-commander b,
.voice-audio-card b,
.result-mini-card b {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.22;
}

.run-progress p,
.run-commander p,
.result-mini-card p,
.voice-audio-card p,
.commander-summary p {
  margin: 8px 0 0;
  color: #d7f8ff;
  line-height: 1.48;
}

.voice-audio-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(0,168,107,0.20), rgba(48,197,255,0.10)),
    rgba(255,255,255,0.07);
}

.voice-audio-card audio {
  width: 100%;
  min-height: 38px;
}

.agent-run-board,
.incident-command-result,
.model-result-grid,
.voice-result-grid,
.knowledge-result-grid,
.safety-result-grid,
.report-deliverable-board,
.report-evidence-strip,
.report-result-grid {
  display: grid;
  gap: 12px;
}

.agent-result-grid,
.model-result-grid,
.voice-result-grid,
.knowledge-result-grid,
.safety-result-grid,
.report-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.model-result-grid,
.voice-result-grid,
.knowledge-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-result-grid,
.safety-result-grid,
.report-result-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-deliverable-board {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  align-items: stretch;
}

.report-pdf-card,
.report-image-card {
  border: 1px solid rgba(120, 224, 255, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 14px;
}

.report-pdf-card {
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(0,120,212,0.20), rgba(0,168,107,0.12)),
    rgba(255,255,255,0.07);
}

.report-image-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.report-pdf-card span,
.report-image-card span {
  display: block;
  margin-bottom: 6px;
  color: #78e0ff;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
}

.report-pdf-card b,
.report-image-card b {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
}

.report-pdf-card p,
.report-image-card p {
  margin: 8px 0 0;
  color: #d7f8ff;
  line-height: 1.48;
}

.report-download {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(120,224,255,0.36);
  border-radius: 8px;
  background: rgba(120,224,255,0.12);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.report-download:hover {
  background: rgba(120,224,255,0.20);
}

.report-download-note {
  color: #b8dff0;
  font-style: normal;
}

.report-visual,
.report-visual-placeholder {
  width: 100%;
  aspect-ratio: 5 / 3;
  border: 1px solid rgba(120,224,255,0.20);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  object-fit: cover;
}

.report-visual-placeholder {
  display: grid;
  place-items: center;
  color: #d7f8ff;
  font-weight: 800;
}

.report-evidence-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.report-evidence-strip article {
  min-height: 112px;
  border: 1px solid rgba(120, 224, 255, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.06);
}

.report-evidence-strip article:nth-child(1),
.report-evidence-strip article:nth-child(2) {
  grid-column: span 2;
}

.report-evidence-strip span {
  display: block;
  margin-bottom: 6px;
  color: #78e0ff;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 900;
}

.report-evidence-strip b {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
}

.report-evidence-strip p {
  margin: 8px 0 0;
  color: #d7f8ff;
  line-height: 1.4;
}

.safety-storm-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  color: #102033;
}

.safety-flow-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.safety-flow-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(14,70,140,0.13);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.safety-flow-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,120,212,0.10);
  color: #0078d4;
  font-weight: 950;
}

.safety-flow-step b {
  color: #102033;
  font-size: 13px;
  line-height: 1.18;
}

.safety-flow-step small {
  grid-column: 2;
  color: #5a6b82;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.safety-flow-step.is-done {
  border-color: rgba(0,168,107,0.22);
  background: rgba(0,168,107,0.07);
}

.safety-flow-step.is-done span {
  background: #00a86b;
  color: #fff;
}

.safety-flow-step.is-active {
  border-color: rgba(0,120,212,0.42);
  box-shadow: 0 12px 28px rgba(0,120,212,0.12);
}

.safety-flow-step.is-active span {
  background: #0078d4;
  color: #fff;
}

.safety-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.safety-section-head span,
.safety-overview-grid span,
.safety-message-insights span,
.safety-escalation-card span,
.player-message-stream span,
.safety-lane span,
.safety-agent-actions span,
.safety-execution-log span,
.safety-log-toggle summary {
  display: block;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.safety-section-head b,
.safety-escalation-card b,
.player-message-stream b,
.safety-lane b,
.safety-agent-actions b,
.safety-execution-log b {
  display: block;
  color: #102033;
  font-size: 16px;
  line-height: 1.22;
}

.safety-section-head p,
.safety-escalation-card p,
.player-message-stream p,
.safety-lane p,
.safety-agent-actions p,
.safety-execution-log p,
.safety-lane li {
  margin: 8px 0 0;
  color: #405168;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.safety-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.safety-overview-grid article,
.safety-escalation-card,
.player-message-stream article,
.safety-lane,
.safety-agent-actions article,
.safety-execution-log {
  border: 1px solid rgba(14,70,140,0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31,83,151,0.08);
}

.safety-overview-grid article {
  padding: 12px;
}

.safety-overview-grid b {
  display: block;
  color: #102033;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.safety-overview-grid p {
  margin: 8px 0 0;
  color: #405168;
}

.safety-escalation-card {
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(225,29,72,0.12), rgba(0,120,212,0.09)),
    #fff;
}

.player-message-stream b,
.safety-agent-actions b,
.safety-lane b {
  overflow-wrap: anywhere;
}

.safety-escalation-card em,
.player-message-stream em,
.safety-lane em {
  display: inline-flex;
  margin-top: 9px;
  color: #8a5d00;
  font-style: normal;
  font-weight: 900;
}

.player-message-stream {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-height: 330px;
  overflow: auto;
}

.safety-sample-list {
  margin-top: 12px;
  max-height: none;
}

.safety-sample-list h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: #102033;
  font-size: 14px;
}

.safety-raw-data-samples {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(14,70,140,0.13);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31,83,151,0.08);
}

.safety-raw-data-samples span {
  display: block;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.safety-raw-data-samples b {
  display: block;
  margin-top: 4px;
  color: #102033;
  font-size: 15px;
}

.safety-raw-data-samples table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.safety-raw-data-samples th,
.safety-raw-data-samples td {
  border-top: 1px solid rgba(14,70,140,0.10);
  padding: 7px 8px;
  color: #405168;
  text-align: left;
  vertical-align: top;
}

.safety-raw-data-samples th {
  color: #1d4f8c;
  font-weight: 900;
}

.safety-raw-data-samples td:last-child {
  min-width: 260px;
}

.player-message-stream.preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
}

.player-message-stream article {
  padding: 11px;
  border-left: 4px solid #0078d4;
}

.player-message-stream article.severity-5 {
  border-left-color: #e11d48;
  background: #fff7f8;
}

.player-message-stream article.severity-4 {
  border-left-color: #ffb900;
  background: #fffaf0;
}

.player-message-stream article.severity-3 {
  border-left-color: #00a86b;
  background: #f3fbf8;
}

.player-message-stream.preview article {
  border-color: rgba(14,70,140,0.14);
  background: rgba(255,255,255,0.84);
}

.player-message-stream.preview span {
  color: #7f3cff;
}

.player-message-stream.preview b,
.player-message-stream.preview p {
  color: #102033;
}

.player-message-stream.preview em {
  color: #8a5d00;
}

.safety-message-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.32fr);
  gap: 12px;
  align-items: start;
}

.safety-message-insights {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(14,70,140,0.13);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31,83,151,0.08);
}

.safety-message-insights b {
  color: #102033;
  font-size: 20px;
}

.safety-message-insights p {
  margin: 4px 0 0;
  color: #405168;
  font-weight: 850;
}

.safety-message-insights div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.safety-message-insights i {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0,120,212,0.09);
  color: #1d4f8c;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.safety-lane-board,
.safety-agent-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.safety-routing-kanban {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.safety-deliverables {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-deliverable-artifact {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.safety-deliverable-artifact h4 {
  margin: 0;
  color: #102033;
  font-size: 15px;
}

.safety-deliverable-artifact p {
  margin: 0;
  color: #24364f;
  line-height: 1.52;
}

.safety-detail-list {
  border-radius: 8px;
  padding: 10px;
  background: #f4f8fc;
}

.safety-detail-list b {
  color: #1d4f8c;
  font-size: 13px;
}

.safety-detail-list ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.safety-detail-list li {
  color: #405168;
  line-height: 1.42;
}

.safety-lane,
.safety-agent-actions article {
  padding: 12px;
}

.safety-lane {
  border-top: 4px solid #0078d4;
}

.safety-lane.payment {
  border-top-color: #00a86b;
}

.safety-lane.cheating {
  border-top-color: #ffb900;
}

.safety-lane.safety {
  border-top-color: #e11d48;
}

.safety-lane ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.safety-lane li {
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(0,120,212,0.06);
  font-size: 12px;
}

.safety-agent-actions code,
.safety-execution-log code {
  display: block;
  margin-top: 9px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  padding: 7px 8px;
  background: #eef4fb;
  color: #155b33;
  font: 700 12px var(--font-mono, monospace);
}

.safety-execution-log {
  display: grid;
  gap: 9px;
  padding: 12px;
  box-shadow: none;
}

.safety-execution-log > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.safety-execution-log article {
  border-top: 1px solid rgba(14,70,140,0.12);
  padding-top: 9px;
}

.safety-log-toggle {
  margin-top: 12px;
}

.safety-log-toggle summary {
  cursor: pointer;
}

.safety-storm-console.is-running .safety-escalation-card::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 3px solid rgba(255,255,255,0.28);
  border-top-color: #78e0ff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: safety-action-spin 0.8s linear infinite;
}

@keyframes safety-action-spin {
  to {
    transform: rotate(360deg);
  }
}

.agent-run-board .run-commander {
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(0,120,212,0.22), rgba(127,60,255,0.16)),
    rgba(255,255,255,0.08);
}

.announcement-result-board .incident-announcement-card {
  display: grid;
  gap: 12px;
  align-items: start;
}

.announcement-result-board .incident-announcement-card.with-image {
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
}

.announcement-result-board .run-commander b {
  font-size: 19px;
}

.agent-run-board.is-running .result-mini-card {
  position: relative;
  overflow: hidden;
}

.agent-run-board.is-running .result-mini-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #30c5ff, #7f3cff, #ffb900);
}

.announcement-image {
  width: min(360px, 100%);
  border: 1px solid rgba(120,224,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.announcement-download {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(120,224,255,0.32);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(0,120,212,0.32);
}

.announcement-evidence-card {
  grid-column: 1 / -1;
}

.announcement-evidence-card p {
  white-space: pre-wrap;
}

.announcement-evidence-image {
  display: block;
  width: min(240px, 100%);
  margin-top: 10px;
  border: 1px solid rgba(0,120,212,0.18);
  border-radius: 8px;
}

.announcement-download-note {
  display: block;
  margin-top: 10px;
  color: #536278;
  font-style: normal;
  font-weight: 800;
}

.result-mini-card {
  min-height: 126px;
  padding: 12px;
}

.result-mini-card b {
  font-size: 15px;
}

.result-mini-card p {
  font-size: 12px;
}

.commander-summary {
  margin-top: 12px;
  padding: 14px;
}

.commander-summary p {
  max-height: 230px;
  overflow: auto;
}

.evidence-panel {
  background: rgba(255,255,255,0.92);
}

.evidence-panel .result-heading {
  border-bottom-color: rgba(7, 23, 47, 0.12);
}

.evidence-panel .result-heading span {
  color: #7f3cff;
}

.evidence-panel .result-heading b {
  color: #07172f;
}

.demo-evidence {
  display: grid;
  gap: 8px;
  max-height: 46vh;
  overflow: auto;
  padding: 12px;
}

.demo-evidence p {
  margin: 0;
  color: #45566f;
  line-height: 1.42;
}

.demo-evidence article {
  border: 1px solid rgba(0, 120, 212, 0.13);
  border-radius: 8px;
  padding: 10px 11px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(243,248,255,0.74));
}

.demo-evidence article span {
  display: block;
  margin-bottom: 5px;
  color: #0078d4;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-evidence article b {
  display: block;
  color: #07172f;
  font-size: 14px;
  line-height: 1.22;
}

.demo-evidence article p {
  margin-top: 5px;
  font-size: 12px;
}

.demo-storyboard {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 16px;
}

.keyboard-hint {
  display: none;
  pointer-events: none;
}

.nav-controls {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 120;
  display: flex;
  gap: 8px;
}

.nav-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.86);
  color: var(--text-1);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-controls button:hover {
  color: #0078d4;
  border-color: rgba(0,120,212,0.4);
}

@media (max-width: 1100px) {
  .tpl-gameops-reveal .slide {
    padding: 42px;
  }

  .hero-strip,
  .agenda-grid,
  .pressure-layout,
  .timeline-ribbon,
  .connector-grid,
  .function-flow,
  .visual-grid,
  .vision-board,
  .model-matrix,
  .family-grid,
  .reasoning-grid,
  .audio-grid,
  .oss-grid,
  .agent-trio,
  .pricing-board,
  .codex-panel,
  .compare-two,
  .product-map,
  .ptu-board,
  .router-diagram,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .map-core {
    grid-row: auto;
    min-height: 220px;
  }

  .cover-orb {
    opacity: 0.22;
  }

  .pressure-grid {
    grid-template-columns: 1fr;
  }

  .demo-layout,
  .interaction-panel,
  .result-grid,
  .signal-grid,
  .demo-stage.model-router .stage-grid,
  .demo-stage.voice-bridge .stage-grid,
  .demo-stage.agent-command .stage-grid,
  .demo-stage.knowledge-console .stage-grid,
  .demo-stage.safety-radar .stage-grid,
  .demo-stage.report-builder .stage-grid,
  .report-spine,
  .safety-stage-board,
  .safety-action-strip,
  .safety-storm-console,
  .safety-flow-progress,
  .safety-overview-grid,
  .safety-message-view,
  .player-message-stream,
  .player-message-stream.preview,
  .safety-lane-board,
  .safety-routing-kanban,
  .safety-agent-actions,
  .safety-deliverables,
  .agent-result-grid,
  .model-result-grid,
  .voice-result-grid,
  .knowledge-result-grid,
  .safety-result-grid,
  .report-deliverable-board,
  .report-evidence-strip,
  .report-result-grid,
  .demo-storyboard {
    grid-template-columns: 1fr;
  }

  .report-evidence-strip article:nth-child(1),
  .report-evidence-strip article:nth-child(2) {
    grid-column: auto;
  }

  .report-image-card {
    grid-template-columns: 1fr;
  }

  .execution-log-list article {
    grid-template-columns: 1fr;
  }

  .execution-log-list em {
    justify-self: start;
  }

  .suggestion-grid {
    grid-template-columns: 1fr;
  }

  .workspace-head,
  .demo-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-switch {
    justify-content: flex-start;
    min-width: 0;
  }
}
