:root {
  color-scheme: dark;
  --bg: #101312;
  --surface: #181d1b;
  --surface-strong: #202724;
  --line: #34413b;
  --text: #eef5ef;
  --muted: #a7b8ad;
  --green: #43e08a;
  --amber: #f2b84b;
  --red: #ef6f6c;
  --cyan: #5dd9c1;
  --ink: #08100d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(67, 224, 138, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(242, 184, 75, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(93, 217, 193, 0.18), transparent 34rem),
    var(--bg);
  background-size: 36px 36px, 36px 36px, auto, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
  min-width: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(238, 245, 239, 0.1);
  background: rgba(16, 19, 18, 0.86);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 4;
  max-width: 100vw;
  width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(67, 224, 138, 0.55);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--ink);
  font-weight: 900;
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(67, 224, 138, 0.22);
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.1;
}

h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 1rem;
}

.header-actions,
.seed-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-nav {
  justify-content: center;
  margin-left: auto;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--green);
}

.print-actions {
  display: grid;
  gap: 0.7rem;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(19rem, 24rem) minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.25rem);
}

.site-footer {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 2.25rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(238, 245, 239, 0.1);
}

.footer-nav {
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 245, 239, 0.1);
  margin-bottom: 0.65rem;
}

.footer-nav + p {
  border-top: 0;
}



.brand-link {
  color: inherit;
  text-decoration: none;
}

.content-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem);
}

.content-page {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.94);
  box-shadow: var(--shadow);
}

.content-page h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.content-page section {
  display: grid;
  gap: 0.5rem;
}

.content-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-page ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.content-page li + li {
  margin-top: 0.35rem;
}

.content-page a {
  color: var(--green);
  font-weight: 800;
}

.content-page a.primary-button,
.content-page a.primary-button:visited {
  color: var(--ink);
  text-decoration: none;
}

.content-page a.primary-button:hover,
.content-page a.primary-button:focus-visible {
  color: var(--ink);
  background: #6bf0a5;
  box-shadow: 0 0 0 3px rgba(67, 224, 138, 0.16);
}

.content-action {
  padding-top: 0.5rem;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

.format-chooser {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.86);
  box-shadow: var(--shadow);
}

.chooser-copy h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.chooser-copy p:last-child,
.format-advisor p {
  color: var(--muted);
  line-height: 1.55;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.mode-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 8.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(238, 245, 239, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.mode-card span {
  color: var(--cyan);
  font-weight: 800;
}

.mode-card strong {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.mode-card[aria-pressed="true"] {
  border-color: var(--green);
  background: rgba(67, 224, 138, 0.12);
  box-shadow: 0 0 0 3px rgba(67, 224, 138, 0.12);
}

.format-advisor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(18rem, 1.4fr);
  gap: 0.75rem;
  align-items: end;
  padding-top: 0.2rem;
}

.demo-run {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(127, 220, 255, 0.22);
  border-radius: 8px;
  background: rgba(127, 220, 255, 0.06);
}

.demo-run h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.demo-run p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.compact-field {
  gap: 0.35rem;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.help-button,
.field-help-close {
  min-width: 0;
  min-height: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid rgba(93, 217, 193, 0.55);
  background: rgba(93, 217, 193, 0.12);
  color: var(--cyan);
  padding: 0;
  font-weight: 900;
  line-height: 1;
}
.help-button[aria-expanded="true"] {
  border-color: rgba(93, 217, 193, 0.75);
  background: rgba(93, 217, 193, 0.16);
  color: var(--cyan);
}

.field-help-panel {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 2.3rem 0.85rem 0.9rem;
  border: 1px solid rgba(93, 217, 193, 0.35);
  border-radius: 8px;
  background: rgba(13, 25, 25, 0.92);
}

.field + .field-help-panel {
  margin-top: -0.2rem;
}

.field-help-panel[hidden] {
  display: none;
}

.field-help-panel strong {
  color: var(--cyan);
}

.field-help-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.field-help-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border-color: rgba(238, 245, 239, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

body[data-mode="packet"] .interactive-exercise,
body[data-mode="packet"] .slide-deck,
body[data-mode="packet"] .blank-worksheet {
  display: none;
}

body[data-mode="interactive"] .signal-strip,
body[data-mode="interactive"] .packet-header,
body[data-mode="interactive"] .packet-grid > :not(.interactive-exercise),
body[data-mode="interactive"] .slide-deck,
body[data-mode="interactive"] .blank-worksheet {
  display: none;
}

body[data-mode="interactive"] .packet-grid {
  grid-template-columns: 1fr;
  background: transparent;
}

body[data-mode="slides"] .signal-strip,
body[data-mode="slides"] .packet,
body[data-mode="slides"] .blank-worksheet {
  display: none;
}

body[data-mode="slides"] .slide-deck {
  display: grid;
  gap: 1rem;
  counter-reset: slide;
}

body[data-mode="worksheet"] .signal-strip,
body[data-mode="worksheet"] .packet,
body[data-mode="worksheet"] .slide-deck {
  display: none;
}

body[data-mode="worksheet"] .blank-worksheet {
  display: grid;
  gap: 1rem;
}
.control-panel,
.output-stage {
  min-width: 0;
}

.control-panel {
  align-self: start;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.92);
  box-shadow: var(--shadow);
  position: sticky;
  top: 6rem;
}

.panel-heading {
  padding-bottom: 0.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.group-labels {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.group-labels legend {
  padding: 0;
  color: var(--muted);
}

.group-fields {
  display: grid;
  gap: 0.45rem;
}

.nested-field {
  gap: 0.35rem;
}

.group-fields input[hidden] {
  display: none;
}

select,
input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1512;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  outline: none;
}

select:focus,
input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 224, 138, 0.16);
}

.seed-row input {
  flex: 1;
  min-width: 0;
}

button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.primary-button {
  background: var(--green);
  color: var(--ink);
  padding: 0.7rem 1rem;
}

.primary-button:hover {
  background: #6bf0a5;
}

.ghost-button {
  border: 1px solid rgba(238, 245, 239, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.7rem 1rem;
}

.ghost-button:hover {
  border-color: var(--cyan);
}

.ghost-button[data-copy-state="success"],
.primary-button[data-copy-state="success"] {
  border-color: rgba(67, 224, 138, 0.9);
  background: rgba(67, 224, 138, 0.16);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(67, 224, 138, 0.14);
}

.ghost-button[data-copy-state="error"],
.primary-button[data-copy-state="error"] {
  border-color: rgba(239, 111, 108, 0.9);
  background: rgba(239, 111, 108, 0.16);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(239, 111, 108, 0.14);
}

.ghost-button:disabled,
.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.ghost-button:disabled:hover,
.primary-button:disabled:hover {
  border-color: rgba(238, 245, 239, 0.2);
  box-shadow: none;
}


.icon-button {
  width: 3.4rem;
  flex: 0 0 3.4rem;
  border: 1px solid rgba(242, 184, 75, 0.5);
  background: rgba(242, 184, 75, 0.13);
  color: var(--amber);
}

.wide {
  width: 100%;
}

.trust-note {
  padding: 0.9rem;
  border-left: 3px solid var(--amber);
  background: rgba(242, 184, 75, 0.08);
  color: var(--muted);
  line-height: 1.5;
  border-radius: 0 8px 8px 0;
}

.trust-note strong {
  display: block;
  color: var(--amber);
  margin-bottom: 0.25rem;
}

.output-stage {
  display: grid;
  gap: 1rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr 1fr;
  gap: 0.5rem;
}

.signal-strip span {
  min-height: 1.75rem;
  display: grid;
  place-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(67, 224, 138, 0.35);
}

.signal-strip span:nth-child(2) {
  background: var(--amber);
}

.signal-strip span:nth-child(3) {
  background: var(--cyan);
}

.signal-strip span:nth-child(4) {
  background: #9ad86d;
}

.signal-strip span:nth-child(5) {
  background: var(--red);
}

.packet {
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slide-deck {
  display: none;
}

.blank-worksheet {
  display: none;
}

body.print-slide-deck .signal-strip,
body.print-slide-deck .packet {
  display: none;
}

body.print-slide-deck .slide-deck {
  display: grid;
  gap: 1rem;
  counter-reset: slide;
}

body.print-blank-worksheet .signal-strip,
body.print-blank-worksheet .packet {
  display: none;
}

body.print-blank-worksheet .blank-worksheet {
  display: grid;
  gap: 1rem;
}

.worksheet-header,
.worksheet-block {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.95);
  box-shadow: var(--shadow);
}

.worksheet-header p:last-child {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.blank-fadq-table,
.blank-action-table {
  table-layout: fixed;
}

.blank-fadq-table td {
  height: 5.4rem;
}

.blank-action-table td {
  height: 3.6rem;
}

.slide {
  min-width: 0;
  position: relative;
  counter-increment: slide;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(238, 245, 239, 0.14);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.95);
  box-shadow: var(--shadow);
}

body.print-slide-deck .slide::after {
  content: counter(slide);
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.slide-kicker {
  margin: 0 0 0.45rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.slide p,
.slide li {
  color: var(--muted);
  line-height: 1.5;
}

.slide ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.presentation-stage[hidden] {
  display: none;
}

.presentation-stage {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(67, 224, 138, 0.12), transparent 44%),
    var(--bg);
}

body.presentation-active {
  overflow: hidden;
}

.presentation-toolbar {
  display: grid;
  grid-template-columns: auto 3rem minmax(4rem, auto) 3rem auto auto;
  gap: 0.7rem;
  justify-content: end;
  align-items: center;
}

.presentation-segment {
  display: inline-grid;
  grid-template-columns: minmax(6.8rem, auto) minmax(6.8rem, auto);
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(238, 245, 239, 0.16);
  border-radius: 8px;
  background: rgba(15, 21, 18, 0.78);
}

.presentation-segment button {
  min-height: 2.25rem;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
}

.presentation-segment button[aria-pressed="true"] {
  background: var(--green);
  color: var(--ink);
}

.presentation-toolbar button {
  min-width: 3rem;
}

.presentation-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.presentation-toolbar span {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.presentation-layout {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: 1rem;
}

.presentation-slide {
  min-width: 0;
  min-height: 0;
  display: grid;
}

.presentation-slide .slide {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.presentation-slide .slide h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.presentation-slide .slide p,
.presentation-slide .slide li {
  font-size: clamp(1rem, 1.7vw, 1.55rem);
}

.presentation-slide .slide.slide-dense h2 {
  font-size: clamp(1.7rem, 4vw, 3.3rem);
}

.presentation-slide .slide.slide-dense p,
.presentation-slide .slide.slide-dense li {
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
}

.presentation-slide .slide ul {
  gap: 0.75rem;
}

.presentation-notes {
  min-width: 0;
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(238, 245, 239, 0.14);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.95);
  box-shadow: var(--shadow);
}

.presentation-notes h2 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.presentation-notes li {
  color: var(--muted);
  line-height: 1.45;
}

.presentation-notes.hidden {
  display: none;
}

.presentation-stage.participant-deck-active #facilitatorDeckBtn,
.presentation-stage.participant-deck-active #presentationNotesBtn {
  display: none;
}

.presentation-layout.notes-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.packet-header {
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border-bottom: 1px solid rgba(238, 245, 239, 0.12);
  background:
    linear-gradient(135deg, rgba(67, 224, 138, 0.13), transparent 54%),
    var(--surface-strong);
}

.packet-header p:last-child {
  max-width: 76ch;
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.packet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(238, 245, 239, 0.1);
}

.packet-section {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(24, 29, 27, 0.96);
}

.packet-section p,
.packet-section li {
  color: var(--muted);
  line-height: 1.55;
}

.use-note {
  border-left: 3px solid var(--amber);
}

.use-note p {
  margin: 0;
}
.interactive-exercise {
  display: grid;
  gap: 1rem;
  border-left: 4px solid var(--cyan);
  background:
    linear-gradient(135deg, rgba(93, 217, 193, 0.12), transparent 62%),
    rgba(20, 26, 23, 0.98);
}

.interactive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.interactive-header h3,
.inject-card h4,
.debrief-panel h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.interactive-header p,
.inject-card p,
.debrief-panel p,
.debrief-panel li {
  color: var(--muted);
  line-height: 1.55;
}

.interactive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.scenario-library {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
  gap: 0.85rem;
  align-items: end;
  padding: 0.9rem;
  border: 1px solid rgba(93, 217, 193, 0.18);
  border-radius: 8px;
  background: rgba(8, 16, 13, 0.72);
}

.scenario-library p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.facilitator-runbook {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(12, 17, 15, 0.72);
}

.runbook-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.6fr);
  gap: 0.85rem;
  align-items: end;
}

.runbook-heading h4 {
  margin: 0;
  font-size: 1rem;
}

.runbook-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.runbook-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runbook-steps li {
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  padding: 0.8rem;
  border: 1px solid rgba(238, 245, 239, 0.1);
  border-radius: 8px;
  background: rgba(238, 245, 239, 0.04);
}

.runbook-steps strong {
  color: var(--text);
  font-size: 0.86rem;
}

.runbook-steps span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.facilitator-console {
  display: grid;
  grid-template-columns: minmax(10rem, 0.36fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.9rem;
  border: 1px solid rgba(242, 184, 75, 0.18);
  border-radius: 8px;
  background: rgba(18, 17, 12, 0.72);
}

.timer-card {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(242, 184, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.timer-card span,
.timer-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timer-card strong {
  color: var(--amber);
  font-size: 1.7rem;
  line-height: 1;
}

.facilitator-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(8.5rem, 1fr));
  gap: 0.55rem;
  align-content: start;
}

.facilitator-tools .ghost-button {
  min-height: 2.85rem;
  width: 100%;
  white-space: normal;
}

.facilitator-notes-panel {
  grid-column: 1 / -1;
  padding: 0.85rem;
  border: 1px solid rgba(242, 184, 75, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.facilitator-notes-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
}

.facilitator-notes-panel li {
  color: var(--muted);
  line-height: 1.45;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.meter-card {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(15, 21, 18, 0.78);
}

.meter-card strong {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.25;
}

.meter-card em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.meter-track {
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(238, 245, 239, 0.12);
}

.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--green));
}

.interactive-stage {
  display: grid;
  gap: 1rem;
}

.inject-card,
.debrief-panel {
  padding: 1rem;
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(15, 21, 18, 0.78);
}

.interactive-context {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(238, 245, 239, 0.1);
  font-size: 0.92rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-card {
  display: grid;
  gap: 0.55rem;
  min-height: 9rem;
  padding: 0.95rem;
  border: 1px solid rgba(93, 217, 193, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(93, 217, 193, 0.14);
}

.choice-card strong {
  color: var(--cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.choice-card span {
  color: var(--text);
  line-height: 1.45;
}

.debrief-panel ol,
.debrief-panel ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.debrief-panel li p {
  margin: 0.35rem 0 0;
}

.debrief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 1rem;
}

.debrief-summary {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 700;
}

.debrief-section {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 245, 239, 0.1);
}

.debrief-section h5 {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.debrief-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.debrief-score-grid div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(238, 245, 239, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.debrief-score-grid dt {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.debrief-score-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.debrief-path,
.debrief-tradeoffs,
.debrief-actions {
  margin-top: 0;
}

.debrief-path strong {
  color: var(--text);
}

.debrief-actions li::marker,
.debrief-tradeoffs li::marker {
  color: var(--cyan);
}


.handout-divider {
  border-left: 4px solid var(--green);
  background:
    linear-gradient(135deg, rgba(67, 224, 138, 0.16), transparent 62%),
    rgba(20, 26, 23, 0.98);
}

.handout-divider h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.handout-divider p:last-child {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.facilitator-divider {
  border-left-color: var(--amber);
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.16), transparent 62%),
    rgba(20, 26, 23, 0.98);
}

.participant-content h3::after,
.facilitator-content h3::after {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.participant-content h3::after {
  content: "HANDOUT";
  background: rgba(67, 224, 138, 0.16);
  color: var(--green);
}

.facilitator-content h3::after {
  content: "FACILITATOR";
  background: rgba(242, 184, 75, 0.16);
  color: var(--amber);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.profile-grid dt {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-grid dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  line-height: 1.35;
}

.full-width {
  grid-column: 1 / -1;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.65rem;
}

.timeline {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid rgba(238, 245, 239, 0.1);
  border-radius: 8px;
  background: rgba(15, 21, 18, 0.72);
}

.timeline strong {
  color: var(--amber);
}

.timeline em {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.timeline-meta {
  min-width: 0;
}

.timeline span {
  color: var(--muted);
  line-height: 1.5;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.checklist li {
  margin: 0;
}

.prompt-list {
  columns: 2;
  column-gap: 2rem;
}

.prompt-list li {
  break-inside: avoid;
}

.phase-objectives {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.phase-objectives li {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(15, 21, 18, 0.72);
}

.worksheet-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.table-scroll {
  overflow-x: auto;
}

.fadq-table {
  min-width: 620px;
  table-layout: fixed;
}

.worksheet-table th,
.worksheet-table td {
  border: 1px solid rgba(238, 245, 239, 0.14);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.worksheet-table th {
  background: rgba(67, 224, 138, 0.13);
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.worksheet-table td {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 920px) {
  .format-chooser,
  .format-advisor,
  .demo-run {
    grid-template-columns: 1fr;
  }

  .demo-actions {
    justify-content: flex-start;
  }

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

  .interactive-header {
    grid-template-columns: 1fr;
  }

  .interactive-actions {
    justify-content: flex-start;
  }

  .scenario-library,
  .runbook-heading,
  .facilitator-console {
    grid-template-columns: 1fr;
  }

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

  .meter-grid,
  .runbook-steps,
  .choice-grid,
  .debrief-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    margin-left: 0;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .control-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 0;
  }

  .meter-grid,
  .runbook-steps,
  .choice-grid,
  .debrief-score-grid {
    grid-template-columns: 1fr;
  }

  .facilitator-console {
    padding: 0.75rem;
  }

  .timer-card {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.75rem;
  }

  .timer-card strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 1.55rem;
  }

  .facilitator-tools {
    grid-template-columns: 1fr;
  }

  .facilitator-tools .ghost-button {
    min-height: 3.1rem;
    padding-block: 0.8rem;
  }

  .site-header {
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
  }

  .brand-lockup {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: min(100%, 22.375rem);
    max-width: min(100%, 22.375rem);
    align-items: flex-start;
  }

  .brand-lockup > div {
    min-width: 0;
  }

  h1 {
    font-size: 1.2rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100%, 22.375rem);
    max-width: min(100%, 22.375rem);
    gap: 0.75rem;
  }

  .header-actions button {
    width: 100%;
    padding-inline: 0.5rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .packet-grid,
  .checklist,
  .profile-grid,
  .phase-objectives {
    grid-template-columns: 1fr;
  }

  .prompt-list {
    columns: 1;
  }

  .app-shell {
    padding: 1rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .site-footer {
    width: min(100%, 22.375rem);
    max-width: min(100%, 22.375rem);
    padding: 0 0 1.25rem;
  }

  

.brand-link {
  color: inherit;
  text-decoration: none;
}

.content-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem);
}

.content-page {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(238, 245, 239, 0.12);
  border-radius: 8px;
  background: rgba(24, 29, 27, 0.94);
  box-shadow: var(--shadow);
}

.content-page h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.content-page section {
  display: grid;
  gap: 0.5rem;
}

.content-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-action {
  padding-top: 0.5rem;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

.control-panel,
  .packet {
    width: min(100%, 22.375rem);
    max-width: min(100%, 22.375rem);
  }

  .output-stage,
  .signal-strip {
    width: min(100%, 22.375rem);
    max-width: min(100%, 22.375rem);
  }

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

  .signal-strip span:nth-child(5) {
    grid-column: 1 / -1;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .worksheet-table {
    font-size: 0.86rem;
  }

  .worksheet-table th,
  .worksheet-table td {
    padding: 0.55rem;
  }

  .presentation-stage {
    padding: 0.75rem;
  }

  .presentation-toolbar {
    grid-template-columns: 1fr 2.75rem minmax(3.5rem, auto) 2.75rem;
    gap: 0.45rem;
    justify-content: stretch;
  }

  .presentation-segment {
    grid-column: 1 / -1;
  }

  .presentation-toolbar button {
    min-width: 2.75rem;
    padding-inline: 0.5rem;
  }

  #presentationNotesBtn,
  #presentationExitBtn {
    min-width: 0;
  }

  #presentationNotesBtn {
    grid-column: 1 / 3;
  }

  #presentationExitBtn {
    grid-column: 3 / 5;
  }

  .presentation-layout,
  .presentation-layout.notes-hidden {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .presentation-slide .slide {
    padding: 1rem;
  }

  .presentation-notes {
    max-height: 18rem;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  @page slide {
    size: landscape;
    margin: 0.35in;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .site-header,
  
.control-panel,
  .signal-strip,
  .site-footer {
    display: none;
  }

  .app-shell {
    display: block;
    max-width: none;
    padding: 0;
  }

  .packet,
  .packet-header,
  .packet-section,
  .timeline li,
  .phase-objectives li {
    border-color: #cccccc;
    background: #ffffff;
    box-shadow: none;
    color: #111111;
  }

  body.print-slide-deck .packet {
    display: none;
  }

  body.print-blank-worksheet .packet {
    display: none;
  }

  body.print-slide-deck .slide-deck {
    display: block;
    page: slide;
    counter-reset: slide;
  }

  body.print-blank-worksheet .blank-worksheet {
    display: block;
  }

  .presentation-stage {
    display: none;
  }

  .slide {
    display: grid;
    align-content: start;
    min-height: 6.8in;
    padding: 0.35in;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    background: #ffffff;
    break-after: page;
    page-break-after: always;
  }

  body.print-slide-deck .slide::after {
    right: 0.28in;
    bottom: 0.2in;
    color: #666666;
    font-size: 9pt;
  }

  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .slide-kicker {
    margin: 0 0 0.12in;
    color: #005f39;
    font-size: 10pt;
    font-weight: 800;
    text-transform: uppercase;
  }

  .slide h2 {
    margin: 0 0 0.18in;
    color: #111111;
    font-size: 28pt;
    line-height: 1.08;
  }

  .slide p,
  .slide li {
    color: #222222;
    font-size: 15pt;
    line-height: 1.35;
  }

  .slide ul {
    display: grid;
    gap: 0.08in;
    margin: 0.05in 0 0;
    padding-left: 0.24in;
  }

  .worksheet-header,
  .worksheet-block {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .worksheet-block {
    margin-top: 0.22in;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .blank-fadq-table td {
    height: 1.05in;
  }

  .blank-action-table td {
    height: 0.72in;
  }

  .packet-grid,
  .profile-grid,
  .checklist,
  .phase-objectives {
    display: block;
  }

  .phase-objectives li {
    margin-bottom: 0.08in;
    padding: 0.12in;
  }

  body.print-participant-only .facilitator-content,
  body.print-participant-only .facilitator-divider,
  body.print-facilitator-only .participant-divider,
  body.print-facilitator-only .participant-content:not(.facilitator-reference) {
    display: none;
  }

  .packet-section,
  .timeline li,
  .worksheet-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .packet-section {
    border-bottom: 1px solid #dddddd;
  }

  .participant-divider,
  .facilitator-divider {
    break-before: page;
    page-break-before: always;
  }

  body.print-participant-only .participant-divider,
  body.print-facilitator-only .facilitator-divider {
    break-before: auto;
    page-break-before: auto;
  }

  .profile-grid dt,
  .profile-grid dd {
    display: inline;
  }

  .profile-grid dd::after {
    content: "\A";
    white-space: pre;
  }

  .packet-section p,
  .packet-section li,
  .packet-header p:last-child,
  .timeline span,
  .phase-objectives li,
  .worksheet-table td {
    color: #222222;
  }

  .fadq-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 8.5pt;
  }

  .eyebrow,
  .timeline strong,
  .worksheet-table th {
    color: #005f39;
  }

  .worksheet-table th {
    background: #eef7f1;
    color: #064c31;
  }

  .timeline em {
    color: #444444;
  }

  .worksheet-table th,
  .worksheet-table td {
    border-color: #cccccc;
    padding: 0.38rem;
    vertical-align: top;
  }
}















