:root {
  /* Canvas & structural layering — neutral charcoal, no blue */
  --canvas: #090909;
  --panel: #111110;
  --panel-raised: #181816;
  --text: #ffffff;
  --muted: #8e8b83;
  --accent: #00f5a0;
  --accent-soft: rgba(0, 245, 160, 0.08);
  --accent-glow: rgba(0, 245, 160, 0.12);
  --danger: #ff3b30;
  --danger-soft: rgba(255, 59, 48, 0.12);
  --divide: rgba(255, 255, 255, 0.04);
  --divide-strong: rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

/* Metric display */
.metric,
.kpi__value,
.hero h1,
.pick__title,
.output__title,
.hero__cardTitle,
.splitTitle,
.exampleCard__title {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Meta labels — monospace dossier style only */
.mono-label,
.field__label,
.brand__tag,
.kpi__label,
.meta__label,
.footer,
.step__label,
.event-feed__meta,
.event-feed__text,
.stepCard__desc,
.hero__cardHint,
.hint,
.label-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Body secondary copy */
.muted {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}

.landing__head .muted,
#paneChat > .muted {
  font-size: 14px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 48px;
}

.app__header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  box-shadow: 0 1px 0 var(--divide);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.app__header.is-scrolled {
  border-color: var(--divide-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  background: color-mix(in srgb, var(--panel) 98%, transparent);
}

.app__headerBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover .brand__name {
  color: var(--accent);
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 245, 160, 0.22);
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.brand__name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand__tag {
  margin-top: 2px;
  display: block;
  text-transform: uppercase;
}

.link {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.link:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navToggle {
  display: none;
  align-items: center;
  gap: 8px;
  appearance: none;
  border: 1px solid var(--divide-strong);
  background: var(--panel-raised);
  color: var(--text);
  padding: 10px 12px;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.navToggle:hover {
  border-color: rgba(0, 245, 160, 0.22);
  color: var(--accent);
}

.navToggle__icon {
  position: relative;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.navToggle__icon,
.navToggle__icon::before,
.navToggle__icon::after {
  display: block;
}

.navToggle__icon::before,
.navToggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 160ms ease, top 160ms ease, opacity 160ms ease;
}

.navToggle__icon::before {
  top: 0;
}

.navToggle__icon::after {
  top: 12px;
}

.navToggle__icon {
  top: 6px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.navToggle[aria-expanded="true"] .navToggle__icon {
  background: transparent;
}

.navToggle[aria-expanded="true"] .navToggle__icon::before {
  top: 6px;
  transform: rotate(45deg);
}

.navToggle[aria-expanded="true"] .navToggle__icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

.navMenu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
}

.nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.navMenu__cta {
  margin-left: 2px;
}

.navMenu__tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 2px;
}

.nav__item:hover {
  color: var(--text);
  background: var(--panel-raised);
  border-color: var(--divide);
}

.nav__item--active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(0, 245, 160, 0.18);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--divide-strong);
  background: var(--panel-raised);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill--good {
  color: var(--accent);
  border-color: rgba(0, 245, 160, 0.2);
  background: var(--accent-soft);
  box-shadow: 0 0 10px var(--accent-glow);
}

.pill--brand {
  color: var(--text);
}

.pill--muted {
  color: var(--muted);
}

.pill--live {
  color: var(--accent);
  border-color: rgba(0, 245, 160, 0.25);
  background: var(--accent-soft);
}

.pill__dot,
.event-feed__ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

.pill__dot {
  animation: ping-pulse 1.8s ease-in-out infinite;
}

@keyframes ping-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.hero {
  padding: 20px 4px 8px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

.hero--split {
  padding: 16px 4px 4px;
}

.hero--landing {
  padding: 22px 4px 8px;
}

.hero--landing .hero__grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.hero--landing .hero__actions,
.hero--landing .trust {
  justify-content: center;
}

.split {
  display: grid;
  gap: 16px;
}

.splitRow {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--divide);
}

.splitRow:first-child {
  border-top: none;
  padding-top: 0;
}

.splitRow--reverse .splitText {
  grid-column: 2;
}

.splitRow--reverse .splitExample {
  grid-column: 1;
  grid-row: 1;
}

.splitTitle {
  margin: 0;
  font-size: 18px;
}

.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.exampleCard {
  border-radius: var(--radius);
  background: var(--panel-raised);
  border: 1px solid var(--divide);
  padding: 14px;
  min-height: 120px;
  display: grid;
  gap: 10px;
}

.exampleCard__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 245, 160, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.exampleCard__icon svg {
  width: 20px;
  height: 20px;
}

#demo-teaser .landing__head,
#demo .landing__head {
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.demoInner {
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--divide-strong);
  background: var(--panel-raised);
  margin-bottom: 10px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

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

.stepCard {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--divide);
  padding: 12px;
}

.stepCard__kicker {
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.stepCard__title {
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
}

.hero__card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--divide);
  padding: 14px;
}

.trust {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--divide);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.dot--a {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.dot--b,
.dot--c,
.dot--d {
  background: rgba(255, 255, 255, 0.35);
}

.panel,
.card {
  margin-top: 14px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  padding: 22px;
}

.panel--sub {
  background: var(--panel-raised);
}

.ops-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: start;
}

.global-telemetry-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--divide);
  border-radius: var(--radius);
  padding: 8px 14px;
  gap: 20px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
}

.tel-node {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tel-node .data-value {
  color: var(--text);
  font-weight: 600;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: normal;
}

.accent-glow {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.panel.command-zone {
  border-left: 2px solid var(--accent);
  background: linear-gradient(to right, var(--panel-raised), var(--panel));
}

.panel.output-terminal {
  border-top: 2px solid var(--divide-strong);
}

.panel-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divide-strong);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.panel-meta-header h3 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divide-strong);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

.mock-terminal {
  background: var(--canvas);
  border: 1px solid var(--divide-strong);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.mock-terminal .mock-line {
  margin-top: 6px;
}

.mock-terminal .mock-line:first-child {
  margin-top: 0;
}

.accent-text {
  color: var(--accent);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--divide);
}

.sidebar-header h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.04em;
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-gate 1.6s infinite ease-in-out;
}

@keyframes pulse-gate {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.feed-scroller {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

.ops-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ops-main .panel {
  margin-top: 0;
}

.event-feed.telemetry-tower {
  position: sticky;
  top: 20px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  max-height: calc(100vh - 120px);
}

.event-feed.telemetry-tower .event-feed__line {
  border-radius: var(--radius);
}

.ops-shell-header {
  margin-bottom: 12px;
}

.event-feed__line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 6px;
  opacity: 0.92;
  animation: feed-in 320ms ease-out;
}

.event-feed__line--new {
  background: var(--accent-soft);
  opacity: 1;
}

.event-feed__line--new .event-feed__ping {
  animation: ping-pulse 0.9s ease-in-out 3;
}

.event-feed__line--dim {
  opacity: 0.55;
}

.event-feed__text {
  line-height: 1.45;
  word-break: break-word;
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs {
  display: flex;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divide);
}

.tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.tab:hover {
  color: var(--text);
  background: var(--panel-raised);
}

.tab--active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(0, 245, 160, 0.18);
}

.tabpane {
  padding-top: 14px;
}

#paneChat {
  text-align: left;
}

#paneChat .grid {
  max-width: 100%;
}

.flow__step h2,
.landing__head h2 {
  margin: 8px 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: var(--sans);
  text-transform: none;
}

.flow {
  padding-top: 4px;
}

.promptBox {
  margin-top: 16px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  background: var(--panel-raised);
  padding: 18px;
}

.promptBox .field {
  margin-top: 12px;
}

.promptBox__hint {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
}

.promptBox__title {
  font-weight: 600;
  color: var(--text);
  font-family: var(--sans);
}

.promptBox__row,
.promptBox__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.promptBox__row {
  align-items: center;
  justify-content: space-between;
}

.mock {
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  background: var(--panel-raised);
  padding: 12px;
}

.mock__line {
  height: 8px;
  background: var(--divide-strong);
  margin-top: 10px;
}

.mock__line--lg {
  height: 12px;
  margin-top: 0;
}

.mock__line--sm {
  width: 65%;
}

.mock__sep {
  height: 1px;
  background: var(--divide);
  margin-top: 12px;
}

.check span {
  font-family: var(--sans);
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--panel-raised);
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  overflow: hidden;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--muted);
  border-right: 1px solid var(--divide);
}

.step:last-child {
  border-right: none;
}

.step--active {
  color: var(--text);
  background: var(--accent-soft);
}

.step__dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--divide-strong);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.step--active .step__dot {
  color: var(--accent);
  border-color: rgba(0, 245, 160, 0.25);
  box-shadow: 0 0 10px var(--accent-glow);
}

.flow__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--divide);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field__label {
  text-transform: uppercase;
}

.input,
.textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--divide-strong);
  background: var(--canvas);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
  font-family: var(--sans);
  line-height: 1.5;
  transition: border-color 100ms ease, box-shadow 100ms ease;
}

.input::placeholder,
.textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.input:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  outline: none;
}

.textarea {
  resize: vertical;
}

.input--small {
  max-width: 120px;
}

.field--row {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.pick {
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  background: var(--panel-raised);
  color: var(--text);
  padding: 14px;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.pick::before {
  content: none;
}

.pick:hover {
  border-color: rgba(0, 245, 160, 0.2);
  background: rgba(0, 245, 160, 0.04);
}

.pick--active {
  border-color: rgba(0, 245, 160, 0.35);
  background: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-glow);
}

.pick__title {
  font-size: 15px;
  margin-bottom: 6px;
}

.pick__desc {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
}

.btn {
  appearance: none;
  border: 1px solid var(--divide-strong);
  background: var(--panel-raised);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent-soft);
  border-color: rgba(0, 245, 160, 0.28);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.btn--primary:hover {
  background: rgba(0, 245, 160, 0.18);
  border-color: rgba(0, 245, 160, 0.4);
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  padding: 8px 12px;
}


.panel.landing {
  padding: 22px;
}

.landing__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ctaRow {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  flex-wrap: wrap;
}

.summary {
  border-radius: var(--radius);
  background: var(--panel-raised);
  border: 1px solid var(--divide);
  padding: 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

#output {
  background: var(--panel);
}

.output__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divide);
}

.output__actions {
  display: flex;
  gap: 8px;
}

.reportFrame {
  width: 100%;
  height: min(78vh, 860px);
  border-radius: var(--radius);
  border: 1px solid var(--divide-strong);
  margin-top: 12px;
  background: var(--canvas);
}

.notice {
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: var(--danger-soft);
  padding: 12px;
  color: #fecaca;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.footer {
  margin-top: 18px;
  padding: 0 4px;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--divide-strong);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  max-width: min(680px, calc(100vw - 24px));
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Generated report document (iframe srcdoc) */
.report {
  background: var(--canvas);
  color: var(--text);
}

.report__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.report__header h1 {
  margin: 12px 0 10px;
  font-size: 30px;
  font-weight: 700;
}

.meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--divide);
  padding: 12px;
}

.meta__value {
  display: block;
  font-weight: 600;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}

.section {
  margin-top: 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--divide);
  padding: 14px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.section ul,
.section ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.charts {
  background: var(--panel-raised);
  border-radius: var(--radius);
  border: 1px solid var(--divide);
  padding: 12px;
}

.chartSvg {
  width: 100%;
  height: auto;
  display: block;
}

.chartLabel {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
}

.chartValue {
  fill: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.chartBar {
  fill: var(--accent);
  opacity: 0.85;
}

.chartLine {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.chartArea {
  fill: url(#chartGradient);
  opacity: 0.35;
}

.rss__item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.rss__meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.rss__snippet {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.card__title {
  font-weight: 600;
}

.card__desc,
.card__bullets {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.report__footer {
  margin-top: 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}

.check input {
  accent-color: var(--accent);
}

.kpi {
  border-radius: var(--radius);
  background: var(--panel-raised);
  border: 1px solid var(--divide);
  padding: 10px;
}

.kpi__value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}

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

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

.chip {
  appearance: none;
  border: 1px solid var(--divide);
  background: var(--panel-raised);
  color: var(--muted);
  padding: 8px 11px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
}

.chip--active,
.chip:hover {
  color: var(--accent);
  border-color: rgba(0, 245, 160, 0.22);
  background: var(--accent-soft);
}

@media (max-width: 1120px) {
  .ops-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-feed.telemetry-tower {
    height: 280px;
    max-height: 280px;
    position: static;
  }
}

@media (max-width: 1024px) {
  .ops-layout {
    grid-template-columns: 1fr;
  }

  .event-feed.telemetry-tower {
    height: 280px;
    max-height: 280px;
    position: static;
  }
}

@media (min-width: 901px) {
  .app__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .app__headerBar {
    flex: 0 1 auto;
    min-height: 68px;
    padding-right: 0;
  }

  .navToggle {
    display: none;
  }

  .navMenu {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .app {
    padding-top: 12px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .navToggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .brand__tag {
    display: none;
  }

  .navMenu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 12px 12px;
    border-top: 1px solid var(--divide);
  }

  .navMenu.navMenu--open {
    display: flex;
  }

  .nav__item,
  .navMenu__cta {
    width: 100%;
    margin-left: 0;
    min-height: 44px;
  }

  .navMenu__tools {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 6px 0 2px;
    flex-wrap: wrap;
  }

  .hero__actions,
  .ctaRow,
  .promptBox__row,
  .flow__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .ctaRow .btn,
  .promptBox__row .btn,
  .flow__actions .btn {
    width: 100%;
  }

  .promptBox__row {
    gap: 12px;
  }

  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex-shrink: 0;
  }

  .panel,
  .panel.landing {
    padding: 18px 16px;
  }

  .global-telemetry-bar {
    gap: 12px;
  }

  .hero__grid,
  .hero__steps,
  .splitRow,
  .grid,
  .cards,
  .cards--pick {
    grid-template-columns: 1fr;
  }

  .splitRow,
  .splitRow--reverse {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .splitRow--reverse .splitText,
  .splitRow--reverse .splitExample {
    grid-column: auto;
    grid-row: auto;
  }

  .stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

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