@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #07120f;
  --bg-elevated: #0b1915;
  --surface: #10201b;
  --surface-raised: #142721;
  --surface-soft: #1a2e27;
  --work-surface: #edf2e8;
  --work-surface-muted: #dce5d8;
  --ink: #102019;
  --text: #eef4ec;
  --text-muted: #91a79e;
  --text-faint: #62786f;
  --line: rgba(195, 224, 211, 0.14);
  --line-strong: rgba(202, 234, 220, 0.26);
  --accent: #cbf37c;
  --accent-strong: #a8d957;
  --accent-ink: #13200e;
  --signal: #62d8bb;
  --status-healthy: #54d7a2;
  --status-warning: #f0b957;
  --status-failure: #ff766e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 88% -10%, rgba(98, 216, 187, 0.13), transparent 32rem),
    radial-gradient(circle at -8% 32%, rgba(203, 243, 124, 0.08), transparent 27rem),
    linear-gradient(155deg, #07120f 0%, #0a1713 46%, #08110f 100%);
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(203, 243, 124, 0.9);
  outline-offset: 3px;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(184, 216, 201, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 216, 201, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.console-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  text-decoration: none;
  font: 700 16px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  background:
    linear-gradient(135deg, rgba(203, 243, 124, 0.12), transparent 58%),
    var(--surface);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.018);
}

.eyebrow,
.section-index,
.field-caption,
.status-kicker,
.performance-heading,
.trace-block-heading span,
.ribbon-label,
.live-label {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 1px 0 8px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 7px;
  font: 600 clamp(36px, 5vw, 58px)/0.95 'Space Grotesk', sans-serif;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font: 600 23px/1.15 'Space Grotesk', 'Noto Sans KR', sans-serif;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font: 600 14px/1.2 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.status-card {
  width: min(320px, 100%);
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 32, 27, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.status-kicker {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
}

.status-card strong,
.status-card small {
  display: block;
}

.status-card strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.status-card small {
  overflow: hidden;
  color: var(--text-faint);
  font: 500 11px/1.45 'Space Grotesk', monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-faint);
  box-shadow: 0 0 0 5px rgba(98, 120, 111, 0.14);
}

.dot.ok {
  background: var(--status-healthy);
  box-shadow: 0 0 0 5px rgba(84, 215, 162, 0.13), 0 0 18px rgba(84, 215, 162, 0.35);
}

.dot.bad {
  background: var(--status-failure);
  box-shadow: 0 0 0 5px rgba(255, 118, 110, 0.13), 0 0 18px rgba(255, 118, 110, 0.28);
}

.pipeline-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0;
  border: 1px solid var(--line);
  background: rgba(10, 25, 20, 0.76);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
}

.pipeline-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 12px;
  padding: 13px 18px;
}

.pipeline-stage:not(:last-child) {
  border-right: 1px solid var(--line);
}

.pipeline-stage:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  border-width: 1px 1px 0 0;
  background: var(--bg-elevated);
  content: '';
  transform: translateY(-50%) rotate(45deg);
}

.pipeline-stage.is-source {
  background: linear-gradient(90deg, rgba(203, 243, 124, 0.09), transparent);
}

.stage-index {
  color: var(--accent);
  font: 600 11px/1 'Space Grotesk', sans-serif;
}

.pipeline-stage strong,
.pipeline-stage small {
  display: block;
}

.pipeline-stage strong {
  margin-bottom: 3px;
  font: 600 12px/1.2 'Space Grotesk', sans-serif;
}

.pipeline-stage small {
  color: var(--text-faint);
  font-size: 10px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(600px, 1.55fr);
  gap: 18px;
  align-items: start;
}

.control-deck,
.observability-deck {
  display: grid;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16, 32, 27, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.command-panel {
  padding: 24px;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 105% -10%, rgba(98, 216, 187, 0.38), transparent 16rem),
    linear-gradient(145deg, #f3f6ef 0%, var(--work-surface) 72%, #dfe8dc 100%);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-index {
  margin-bottom: 7px;
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 700;
}

.command-panel .section-index {
  color: #617269;
}

.command-panel textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid rgba(21, 48, 36, 0.19);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 2px rgba(25, 48, 39, 0.08);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.58;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.command-panel textarea:focus {
  border-color: rgba(53, 121, 95, 0.7);
  box-shadow: 0 0 0 4px rgba(83, 164, 130, 0.12);
}

.example-block {
  margin-top: 18px;
}

.field-caption {
  display: block;
  margin-bottom: 9px;
  color: #697b72;
  font-size: 9px;
  font-weight: 700;
}

.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.examples button {
  border: 1px solid rgba(29, 56, 45, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  color: #40544a;
  background: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.examples button:hover {
  border-color: rgba(29, 56, 45, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.button-primary {
  justify-content: space-between;
  min-height: 52px;
  padding-inline: 17px;
  color: var(--accent-ink);
  background: var(--accent);
}

.button-primary:hover {
  background: #d8ff91;
}

.button-arrow {
  font: 700 18px/1 'Space Grotesk', sans-serif;
}

.button-secondary {
  min-height: 52px;
  color: #243a30;
  border-color: rgba(21, 48, 36, 0.16);
  background: rgba(255, 255, 255, 0.58);
}

.button-secondary:hover {
  background: #fff;
}

.button-quiet {
  color: var(--text-muted);
  border-color: var(--line);
  background: transparent;
}

.command-panel .button-quiet {
  color: #385047;
  border-color: rgba(21, 48, 36, 0.14);
}

.button-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.utility-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.configuration-panel {
  padding: 0;
  overflow: hidden;
}

.configuration-panel summary,
.raw-trace summary,
.command-reference summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.configuration-panel summary::-webkit-details-marker,
.raw-trace summary::-webkit-details-marker,
.command-reference summary::-webkit-details-marker {
  display: none;
}

.configuration-panel summary {
  padding: 18px 20px;
}

.configuration-panel summary strong {
  display: block;
  font: 600 14px/1.2 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.configuration-panel summary::after,
.raw-trace summary::after,
.command-reference summary::after {
  color: var(--accent);
  content: '+';
  font: 500 21px/1 'Space Grotesk', sans-serif;
}

.configuration-panel[open] summary::after,
.raw-trace[open] summary::after,
.command-reference[open] summary::after {
  content: '−';
}

.summary-state {
  margin-left: auto;
  color: var(--text-faint);
  font: 600 9px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 20px 20px;
}

.config-grid label span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
}

.config-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: var(--text);
  background: rgba(5, 17, 13, 0.56);
  font: 500 11px/1.2 'Space Grotesk', monospace;
}

.trace-panel {
  min-height: 100%;
  padding: 24px;
}

.trace-heading {
  align-items: center;
}

.trace-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  font: 600 10px/1 'Space Grotesk', monospace;
}

.decision-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #0a1713;
}

.decision-ribbon article {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 14px;
}

.decision-ribbon article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.decision-ribbon article:nth-child(3) {
  background: linear-gradient(150deg, rgba(240, 185, 87, 0.11), transparent);
}

.ribbon-label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-faint);
  font-size: 8px;
  font-weight: 700;
}

.decision-ribbon strong {
  display: -webkit-box;
  overflow: hidden;
  color: #dce9e2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.42;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.experience-observatory {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(98, 216, 187, 0.3);
  border-radius: var(--radius-md);
  padding: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(98, 216, 187, 0.11), transparent 26rem),
    linear-gradient(145deg, rgba(203, 243, 124, 0.035), transparent 42%),
    #081410;
}

.experience-observatory::after {
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(98, 216, 187, 0.08);
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 0 0 28px rgba(98, 216, 187, 0.025),
    0 0 0 58px rgba(98, 216, 187, 0.016);
  content: '';
}

.experience-heading,
.experience-card-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.experience-heading {
  margin-bottom: 13px;
}

.experience-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--signal);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.experience-heading h3 {
  margin: 0;
  color: #eaf1e7;
  font-size: 15px;
}

.experience-supervisor-state {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
}

.experience-supervisor-state.is-positive,
.experience-supervisor-state.is-active {
  border-color: rgba(84, 215, 162, 0.38);
  color: var(--status-healthy);
  background: rgba(84, 215, 162, 0.07);
}

.experience-supervisor-state.is-signal {
  border-color: rgba(98, 216, 187, 0.38);
  color: var(--signal);
  background: rgba(98, 216, 187, 0.07);
}

.experience-supervisor-state.is-warning {
  border-color: rgba(240, 185, 87, 0.42);
  color: var(--status-warning);
  background: rgba(240, 185, 87, 0.075);
}

.experience-supervisor-state.is-danger {
  border-color: rgba(255, 118, 110, 0.42);
  color: var(--status-failure);
  background: rgba(255, 118, 110, 0.075);
}

.experience-goal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(203, 243, 124, 0.17);
  border-radius: 13px;
  padding: 14px;
  background: rgba(13, 31, 25, 0.78);
}

.experience-goal-copy > span,
.experience-card-heading span,
.experience-budget-strip span {
  color: var(--text-faint);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-goal-copy strong {
  display: block;
  margin: 7px 0 5px;
  color: #edf5ef;
  font-size: 14px;
  line-height: 1.45;
}

.experience-goal-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.55;
}

.experience-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 0;
}

.experience-facts div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.02);
}

.experience-facts dt {
  margin-bottom: 5px;
  color: var(--text-faint);
  font-size: 8px;
}

.experience-facts dd {
  overflow: hidden;
  margin: 0;
  color: #dce9e2;
  font: 600 10px/1.3 'Space Grotesk', 'Noto Sans KR', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-lifecycle {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.experience-stage {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.experience-stage:not(:last-child)::after {
  position: absolute;
  top: 34px;
  right: -8px;
  z-index: 2;
  width: 8px;
  border-top: 1px solid rgba(98, 216, 187, 0.38);
  content: '';
}

.experience-stage > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  flex: 0 0 23px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text-faint);
  font: 700 8px/1 'Space Grotesk', sans-serif;
}

.experience-stage strong,
.experience-stage small {
  display: block;
}

.experience-stage strong {
  margin: 2px 0 6px;
  color: #dce9e2;
  font: 700 9px/1.2 'Space Grotesk', sans-serif;
}

.experience-stage small {
  overflow: hidden;
  color: var(--text-faint);
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.experience-stage.is-positive,
.experience-stage.is-active {
  border-color: rgba(84, 215, 162, 0.3);
  background: rgba(84, 215, 162, 0.05);
}

.experience-stage.is-positive > span,
.experience-stage.is-active > span {
  border-color: rgba(84, 215, 162, 0.35);
  color: var(--status-healthy);
}

.experience-stage.is-signal {
  border-color: rgba(98, 216, 187, 0.3);
  background: rgba(98, 216, 187, 0.05);
}

.experience-stage.is-signal > span {
  border-color: rgba(98, 216, 187, 0.35);
  color: var(--signal);
}

.experience-stage.is-warning {
  border-color: rgba(240, 185, 87, 0.34);
  background: rgba(240, 185, 87, 0.055);
}

.experience-stage.is-warning > span {
  border-color: rgba(240, 185, 87, 0.38);
  color: var(--status-warning);
}

.experience-stage.is-danger {
  border-color: rgba(255, 118, 110, 0.34);
  background: rgba(255, 118, 110, 0.055);
}

.experience-stage.is-danger > span {
  border-color: rgba(255, 118, 110, 0.38);
  color: var(--status-failure);
}

.experience-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.experience-detail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  background: rgba(7, 19, 15, 0.7);
}

.experience-grounding-card {
  grid-column: 1 / -1;
}

.experience-grounding-note {
  margin: 10px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--text-faint);
  font-size: 9px;
  line-height: 1.45;
}

.experience-card-heading {
  margin-bottom: 10px;
}

.experience-card-heading strong {
  color: var(--signal);
  font: 700 9px/1 'Space Grotesk', sans-serif;
}

.experience-effect-groups {
  display: grid;
  gap: 8px;
}

.experience-effect-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
}

.experience-effect-label {
  padding-top: 5px;
  color: var(--text-faint);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase;
}

.experience-effect-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.experience-effect-chip {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 7px;
  color: #cfe0d8;
  background: rgba(255, 255, 255, 0.022);
  font: 600 8px/1 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.experience-effect-chip.is-covered {
  border-color: rgba(84, 215, 162, 0.28);
  color: var(--status-healthy);
}

.experience-effect-chip.is-uncovered {
  border-color: rgba(240, 185, 87, 0.28);
  color: var(--status-warning);
}

.experience-provider-list {
  display: grid;
  gap: 6px;
  max-height: 154px;
  margin: 0;
  overflow-y: auto;
  padding: 0;
  list-style: none;
  scrollbar-color: #365047 transparent;
  scrollbar-width: thin;
}

.experience-provider-list li:not(.experience-empty) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-left: 2px solid rgba(98, 216, 187, 0.45);
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.018);
}

.experience-provider-list strong,
.experience-provider-list small {
  display: block;
}

.experience-provider-list strong {
  overflow: hidden;
  color: #dce9e2;
  font: 600 9px/1.3 'Space Grotesk', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-provider-list small {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 8px;
  line-height: 1.35;
}

.experience-provider-tier {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px;
  color: var(--signal);
  font: 700 7px/1 'Space Grotesk', sans-serif;
}

.experience-empty {
  margin: 0;
  color: var(--text-faint);
  font-size: 9px;
  line-height: 1.45;
}

.experience-budget-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.experience-budget-strip > div {
  min-width: 0;
  padding: 9px 10px;
}

.experience-budget-strip > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.experience-budget-strip strong {
  display: block;
  margin-top: 5px;
  color: #dce9e2;
  font: 700 10px/1.2 'Space Grotesk', sans-serif;
}

.experience-contract-detail {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.experience-contract-detail summary {
  padding: 10px 0 3px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
}

.experience-contract-detail pre {
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  color: #a9c0b5;
  background: rgba(0, 0, 0, 0.16);
  font: 500 9px/1.55 'Space Grotesk', monospace;
}

.trace-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.trace-summary > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.024);
}

.trace-summary span,
.trace-summary strong {
  display: block;
}

.trace-summary span {
  margin-bottom: 7px;
  color: var(--text-faint);
  font: 600 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trace-summary strong {
  overflow: hidden;
  color: #dfeae4;
  font: 600 11px/1.35 'Space Grotesk', 'Noto Sans KR', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-flight-recorder {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(203, 243, 124, 0.25);
  border-radius: var(--radius-md);
  padding: 17px;
  background:
    radial-gradient(circle at 0 0, rgba(203, 243, 124, 0.08), transparent 20rem),
    linear-gradient(145deg, rgba(98, 216, 187, 0.025), transparent 44%),
    #081410;
}

.planner-flight-recorder::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(203, 243, 124, 0.055), transparent);
  content: '';
  animation: planner-scan 7s linear infinite;
}

.planner-recorder-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.planner-recorder-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.planner-recorder-heading h3 {
  margin: 0;
  color: #eaf1e7;
  font-size: 15px;
}

.planner-contract-state {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(203, 243, 124, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent);
  background: rgba(203, 243, 124, 0.055);
  font: 700 9px/1 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.planner-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.planner-stage {
  position: relative;
  min-width: 0;
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  background: rgba(11, 27, 22, 0.8);
}

.planner-stage-route {
  background:
    linear-gradient(145deg, rgba(203, 243, 124, 0.065), transparent 54%),
    rgba(11, 27, 22, 0.82);
}

.planner-stage-plan {
  background:
    linear-gradient(145deg, rgba(98, 216, 187, 0.065), transparent 54%),
    rgba(11, 27, 22, 0.82);
}

.planner-stage-guard {
  background:
    linear-gradient(145deg, rgba(240, 185, 87, 0.055), transparent 54%),
    rgba(11, 27, 22, 0.82);
}

.planner-stage-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.planner-stage-index {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  flex: 0 0 27px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--accent);
  font: 700 9px/1 'Space Grotesk', sans-serif;
}

.planner-stage-heading strong,
.planner-stage-heading small {
  display: block;
}

.planner-stage-heading strong {
  margin-bottom: 2px;
  color: #e3eee8;
  font: 700 11px/1.2 'Space Grotesk', sans-serif;
}

.planner-stage-heading small {
  color: var(--text-faint);
  font-size: 9px;
}

.planner-stage blockquote {
  min-height: 54px;
  margin: 0 0 10px;
  border-left: 2px solid var(--accent);
  padding: 8px 10px;
  color: #e6eee9;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  line-height: 1.55;
}

.planner-state-chips,
.planner-route-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.planner-state-chip,
.planner-route-node {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: #cfe0d8;
  background: rgba(255, 255, 255, 0.025);
  font: 600 8px/1 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.planner-state-chip.is-positive {
  border-color: rgba(84, 215, 162, 0.3);
  color: var(--status-healthy);
}

.planner-state-chip.is-warning {
  border-color: rgba(240, 185, 87, 0.3);
  color: var(--status-warning);
}

.planner-state-chip.is-muted,
.planner-route-node.is-empty {
  color: var(--text-faint);
}

.planner-route-chain {
  min-height: 27px;
  align-items: center;
  margin-bottom: 11px;
}

.planner-route-node {
  position: relative;
  border-color: rgba(203, 243, 124, 0.24);
  color: var(--accent);
}

.planner-route-node:not(:last-child) {
  margin-right: 11px;
}

.planner-route-node:not(:last-child)::after {
  position: absolute;
  right: -14px;
  color: var(--text-faint);
  content: '›';
}

.planner-decision-grid,
.planner-plan-facts,
.planner-guard-grid {
  display: grid;
  gap: 6px;
  margin: 0;
}

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

.planner-plan-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 9px;
}

.planner-decision-grid > div,
.planner-plan-facts > div,
.planner-guard-grid > div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.planner-decision-grid dt,
.planner-plan-facts dt,
.planner-guard-grid dt {
  margin-bottom: 4px;
  color: var(--text-faint);
  font: 600 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-decision-grid dd,
.planner-plan-facts dd,
.planner-guard-grid dd {
  overflow: hidden;
  margin: 0;
  color: #d9e6df;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.planner-plan-graph {
  display: grid;
  gap: 6px;
  max-height: 178px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planner-plan-node,
.planner-plan-empty {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 9px;
  background: rgba(0, 0, 0, 0.12);
}

.planner-plan-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  animation: workflow-step-arrival 420ms ease-out both;
  animation-delay: calc(var(--planner-step-order, 0) * 55ms);
}

.planner-plan-node-index {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  color: var(--bg);
  background: var(--signal);
  font: 700 8px/1 'Space Grotesk', sans-serif;
}

.planner-plan-node strong,
.planner-plan-node small {
  display: block;
}

.planner-plan-node strong {
  margin-bottom: 3px;
  color: #dce9e2;
  font-size: 9px;
  line-height: 1.4;
}

.planner-plan-node small,
.planner-plan-empty {
  color: var(--text-faint);
  font-size: 8px;
  line-height: 1.45;
}

.planner-guard-grid {
  margin-bottom: 11px;
}

.planner-guard-note {
  margin: 0;
  color: var(--text-faint);
  font-size: 9px;
  line-height: 1.5;
}

.planner-guard-note strong {
  color: var(--status-warning);
}

.device-context-telemetry {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(98, 216, 187, 0.2);
  border-radius: 13px;
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(98, 216, 187, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(98, 216, 187, 0.026) 1px, transparent 1px),
    rgba(4, 15, 11, 0.58);
  background-size: 22px 22px;
}

.device-context-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}

.device-context-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--signal);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.device-context-heading h4 {
  margin: 0;
  color: #e8f1ec;
  font-size: 12px;
  line-height: 1.3;
}

.device-context-state {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--text-faint);
  background: rgba(0, 0, 0, 0.16);
  font: 700 8px/1 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.device-context-state.is-positive {
  border-color: rgba(84, 215, 162, 0.3);
  color: var(--status-healthy);
  background: rgba(84, 215, 162, 0.06);
}

.device-context-state.is-warning {
  border-color: rgba(240, 185, 87, 0.3);
  color: var(--status-warning);
  background: rgba(240, 185, 87, 0.055);
}

.device-context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.device-context-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 78px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 60%),
    rgba(8, 22, 17, 0.84);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.device-context-card::after {
  position: absolute;
  inset: auto 10px 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  content: '';
  transition: opacity 180ms ease;
}

.device-context-card-index {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text-faint);
  background: rgba(0, 0, 0, 0.16);
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.06em;
}

.device-context-card-copy {
  min-width: 0;
}

.device-context-card-copy small,
.device-context-card-copy strong,
.device-context-card-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-context-card-copy small {
  margin-bottom: 5px;
  color: var(--text-faint);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-context-card-copy strong {
  margin-bottom: 4px;
  color: #e0ebe5;
  font-size: 11px;
  line-height: 1.25;
}

.device-context-card-copy em {
  color: var(--text-faint);
  font: 500 8px/1.35 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.device-context-card.is-positive,
.device-context-card.is-active {
  border-color: rgba(84, 215, 162, 0.28);
}

.device-context-card.is-positive .device-context-card-index {
  color: var(--status-healthy);
}

.device-context-card.is-active {
  color: var(--signal);
  background:
    linear-gradient(145deg, rgba(98, 216, 187, 0.095), transparent 62%),
    rgba(8, 22, 17, 0.86);
  transform: translateY(-1px);
}

.device-context-card.is-active::after,
.device-context-card.is-warning::after,
.device-context-card.is-failure::after {
  opacity: 0.72;
}

.device-context-card.is-active .device-context-card-index {
  color: var(--signal);
  box-shadow: 0 0 14px rgba(98, 216, 187, 0.14);
}

.device-context-card.is-warning {
  border-color: rgba(240, 185, 87, 0.32);
  color: var(--status-warning);
}

.device-context-card.is-warning .device-context-card-index {
  color: var(--status-warning);
}

.device-context-card.is-failure {
  border-color: rgba(255, 118, 110, 0.4);
  color: var(--status-failure);
}

.device-context-card.is-failure .device-context-card-index {
  color: var(--status-failure);
}

.device-context-card.is-muted {
  opacity: 0.68;
}

.device-context-raw {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.device-context-raw summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
}

.device-context-raw .summary-state {
  color: var(--text-faint);
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.device-context-raw .trace-box {
  min-height: 120px;
  max-height: 280px;
  border-top: 1px solid var(--line);
}

.system-control-topology {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(203, 243, 124, 0.2);
  border-radius: var(--radius-md);
  padding: 17px;
  background:
    linear-gradient(rgba(203, 243, 124, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 243, 124, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 34% 0, rgba(98, 216, 187, 0.12), transparent 24rem),
    #08140f;
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.system-control-topology::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  opacity: 0.65;
  background: linear-gradient(90deg, transparent, var(--signal), var(--accent), transparent);
  content: '';
  transform: translateX(-100%);
  animation: topology-packet 5.8s linear infinite;
}

.topology-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.topology-heading h3 {
  margin: 0;
  color: #eaf1e7;
  font-size: 15px;
}

.topology-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.topology-live-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.topology-live-facts > span {
  display: grid;
  min-width: 132px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.18);
}

.topology-live-facts small {
  color: var(--text-faint);
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.11em;
}

.topology-live-facts strong {
  overflow: hidden;
  color: #dce9e2;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(116px, 1fr) minmax(22px, 0.24fr)
    minmax(116px, 1fr) minmax(22px, 0.24fr)
    minmax(132px, 1.08fr) minmax(22px, 0.24fr)
    minmax(116px, 1fr) minmax(22px, 0.24fr)
    minmax(116px, 1fr);
  align-items: stretch;
  gap: 0;
}

.topology-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 10px;
  color: var(--text-muted);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(7, 18, 14, 0.92);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.topology-node::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  opacity: 0.35;
  background: currentColor;
  content: '';
}

.topology-node-index {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font: 700 8px/1 'Space Grotesk', sans-serif;
}

.topology-node-copy {
  min-width: 0;
}

.topology-node-copy small,
.topology-node-copy strong,
.topology-node-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-node-copy small {
  margin-bottom: 5px;
  color: currentColor;
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
}

.topology-node-copy strong {
  margin-bottom: 7px;
  color: #dce9e2;
  font: 700 9px/1.25 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.topology-node-copy em {
  color: var(--text-faint);
  font-size: 8px;
  font-style: normal;
  line-height: 1.35;
}

.topology-authority-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 5px;
  font: 700 6px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
}

.topology-node.is-active {
  z-index: 2;
  border-color: rgba(98, 216, 187, 0.62);
  color: var(--signal);
  background:
    linear-gradient(145deg, rgba(98, 216, 187, 0.13), transparent 60%),
    rgba(7, 24, 19, 0.96);
  box-shadow: 0 0 0 1px rgba(98, 216, 187, 0.08), 0 14px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.topology-node.is-authority {
  border-color: rgba(203, 243, 124, 0.72);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(203, 243, 124, 0.1), 0 0 24px rgba(203, 243, 124, 0.09);
  animation: topology-authority-pulse 2s ease-in-out infinite;
}

.topology-node.is-authority .topology-authority-mark {
  display: inline-flex;
}

.topology-node.is-waiting {
  border-color: rgba(240, 185, 87, 0.58);
  color: var(--status-warning);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(240, 185, 87, 0.04),
      rgba(240, 185, 87, 0.04) 6px,
      transparent 6px,
      transparent 12px
    ),
    rgba(17, 20, 12, 0.94);
}

.topology-node.is-callback {
  border-color: rgba(98, 216, 187, 0.52);
  color: var(--signal);
}

.topology-node.is-completed {
  border-color: rgba(84, 215, 162, 0.26);
  color: var(--status-healthy);
}

.topology-node.is-failed {
  border-color: rgba(255, 118, 110, 0.56);
  color: var(--status-failure);
  background: rgba(45, 16, 15, 0.72);
}

.topology-link {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
}

.topology-link::before {
  width: calc(100% - 5px);
  height: 1px;
  background: var(--line-strong);
  content: '';
}

.topology-link::after {
  position: absolute;
  right: 1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--text-faint);
  border-right: 1px solid var(--text-faint);
  content: '';
  transform: rotate(45deg);
}

.topology-link i {
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.topology-link.is-flowing::before {
  background: linear-gradient(90deg, rgba(98, 216, 187, 0.18), var(--signal));
}

.topology-link.is-flowing i {
  opacity: 1;
  animation: topology-packet 1.35s linear infinite;
}

.topology-link-return.is-flowing i {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.topology-evidence-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 9px;
  margin-top: 10px;
}

.topology-evidence-grid > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  background: rgba(0, 0, 0, 0.14);
}

.topology-evidence-grid > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-faint);
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.11em;
}

.topology-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topology-meta {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid rgba(98, 216, 187, 0.24);
  border-radius: 999px;
  padding: 5px 8px;
  color: #bee9dd;
  background: rgba(98, 216, 187, 0.045);
  font: 600 8px/1.2 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.topology-meta.is-waiting {
  border-color: rgba(240, 185, 87, 0.3);
  color: var(--status-warning);
}

.topology-meta.is-muted {
  border-color: var(--line);
  color: var(--text-faint);
  background: transparent;
}

#topology-event-evidence {
  overflow: hidden;
  margin: 0;
  color: #cbdad2;
  font: 600 8px/1.5 'Space Grotesk', 'Noto Sans KR', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-response-card {
  --device-response-tone: var(--text-faint);
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(250px, 0.62fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--device-response-tone) 38%, transparent);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background:
    radial-gradient(circle at 0 50%, color-mix(in srgb, var(--device-response-tone) 13%, transparent), transparent 18rem),
    linear-gradient(125deg, rgba(255, 255, 255, 0.025), transparent 48%),
    #091510;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  transition: border-color 220ms ease, background 220ms ease;
}

.device-response-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background: linear-gradient(100deg, transparent 28%, color-mix(in srgb, var(--device-response-tone) 12%, transparent) 50%, transparent 72%);
  content: '';
  transform: translateX(-100%);
  animation: device-response-scan 4.8s linear infinite;
}

.device-response-card.is-submitted,
.device-response-card.is-running {
  --device-response-tone: var(--signal);
}

.device-response-card.is-completed {
  --device-response-tone: var(--status-healthy);
}

.device-response-card.is-failed,
.device-response-card.is-cancelled {
  --device-response-tone: var(--status-failure);
}

.device-response-card.is-noop {
  --device-response-tone: var(--status-warning);
}

.device-response-signal {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--device-response-tone) 48%, transparent);
  border-radius: 50%;
  color: var(--device-response-tone);
  background: color-mix(in srgb, var(--device-response-tone) 7%, transparent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--device-response-tone) 4%, transparent);
}

.device-response-signal::before,
.device-response-signal::after,
.device-response-signal span {
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.device-response-signal::before {
  width: 13px;
  height: 13px;
  box-shadow: 0 0 20px currentColor;
}

.device-response-signal::after {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  opacity: 0.24;
  background: transparent;
}

.device-response-signal span {
  position: absolute;
  width: 6px;
  height: 6px;
  opacity: 0.7;
  animation: device-response-orbit 2.6s linear infinite;
}

.device-response-card.is-idle .device-response-signal span {
  display: none;
}

.device-response-copy,
.device-response-evidence {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.device-response-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.device-response-heading > span {
  color: var(--device-response-tone);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.device-response-heading > strong {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--device-response-tone) 34%, transparent);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--device-response-tone);
  background: color-mix(in srgb, var(--device-response-tone) 6%, transparent);
  font-size: 8px;
}

#device-response-message {
  margin: 0;
  color: #edf6f1;
  font-size: clamp(15px, 1.55vw, 20px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.device-response-evidence {
  display: grid;
  gap: 7px;
  margin: 0;
}

.device-response-evidence > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 0 0 7px;
}

.device-response-evidence > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.device-response-evidence dt {
  color: var(--text-faint);
  font: 700 7px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.1em;
}

.device-response-evidence dd {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #bcd0c6;
  font: 600 9px/1.35 'Space Grotesk', 'Noto Sans KR', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-live {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(98, 216, 187, 0.26);
  border-radius: var(--radius-md);
  padding: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(98, 216, 187, 0.12), transparent 19rem),
    linear-gradient(150deg, rgba(203, 243, 124, 0.035), transparent 46%),
    #091611;
}

.workflow-live::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(98, 216, 187, 0.035) 50%, transparent 75%);
  content: '';
  transform: translateX(-100%);
  animation: workflow-progress 5s linear infinite;
}

.workflow-live-heading,
.workflow-progress-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.workflow-live-heading {
  margin-bottom: 16px;
}

.workflow-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--signal);
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
}

.workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.16);
  font: 700 9px/1 'Noto Sans KR', sans-serif;
}

.workflow-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.workflow-status.is-active {
  color: var(--signal);
}

.workflow-status.is-completed {
  color: var(--status-healthy);
}

.workflow-status.is-failed,
.workflow-status.is-cancelled {
  color: var(--status-failure);
}

.workflow-status.is-waiting_user,
.workflow-status.is-paused {
  color: var(--status-warning);
}

.workflow-progress-copy {
  margin-bottom: 9px;
}

.workflow-progress-copy strong {
  overflow: hidden;
  color: #e8f2ed;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-progress-copy span {
  flex: 0 0 auto;
  color: var(--text-faint);
  font: 600 9px/1 'Space Grotesk', sans-serif;
}

.workflow-progress-track {
  position: relative;
  z-index: 1;
  height: 5px;
  overflow: hidden;
  margin-bottom: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.workflow-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--accent));
  box-shadow: 0 0 16px rgba(98, 216, 187, 0.42);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-progress-track.is-active > span {
  background-size: 180% 100%;
  animation: workflow-progress 1.7s linear infinite;
}

.workflow-rail {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin: 0;
  padding: 0 0 5px;
  list-style: none;
  scrollbar-color: #365047 transparent;
  scrollbar-width: thin;
}

.workflow-step {
  position: relative;
  display: flex;
  flex: 1 0 156px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  animation: workflow-step-arrival 420ms both;
  animation-delay: calc(var(--step-order) * 55ms);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.workflow-step-marker {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 700 10px/1 'Space Grotesk', sans-serif;
}

.workflow-step-body {
  min-width: 0;
}

.workflow-step-body strong,
.workflow-step-body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-step-body strong {
  margin-bottom: 5px;
  color: #dce9e2;
  font-size: 11px;
}

.workflow-step-body small {
  color: var(--text-faint);
  font: 600 8px/1.3 'Space Grotesk', 'Noto Sans KR', sans-serif;
}

.workflow-step.is-active {
  border-color: rgba(98, 216, 187, 0.62);
  color: var(--signal);
  background: rgba(98, 216, 187, 0.09);
  transform: translateY(-2px);
}

.workflow-step.is-active .workflow-step-marker {
  box-shadow: 0 0 0 5px rgba(98, 216, 187, 0.09), 0 0 18px rgba(98, 216, 187, 0.35);
  animation: workflow-pulse 1.5s ease-in-out infinite;
}

.workflow-step.is-completed {
  border-color: rgba(84, 215, 162, 0.34);
  color: var(--status-healthy);
  background: rgba(84, 215, 162, 0.065);
}

.workflow-step.is-failed,
.workflow-step.is-cancelled {
  border-color: rgba(255, 118, 110, 0.5);
  color: var(--status-failure);
  background: rgba(255, 118, 110, 0.08);
}

.workflow-event-detail {
  position: relative;
  z-index: 1;
  min-height: 16px;
  margin: 10px 2px 0;
  color: var(--text-faint);
  font: 500 9px/1.55 'Space Grotesk', 'Noto Sans KR', monospace;
}

.workflow-empty {
  width: 100%;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 14px;
  color: var(--text-faint);
  font-size: 10px;
  text-align: center;
}

.trace-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 10px;
}

.trace-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.trace-block {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #091510;
}

.trace-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.trace-block-heading span {
  color: var(--text-faint);
  font-size: 8px;
  font-weight: 700;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.trace-box,
.log {
  overflow: auto;
  color: #b6c9bf;
  background: transparent;
  font: 500 10px/1.62 'Space Grotesk', 'Noto Sans KR', monospace;
  scrollbar-color: #365047 transparent;
  scrollbar-width: thin;
}

.trace-box {
  min-height: 250px;
  max-height: 380px;
  padding: 14px;
}

.performance-rail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(165deg, rgba(98, 216, 187, 0.08), transparent 50%),
    #0a1713;
}

.performance-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
  font-size: 8px;
  font-weight: 700;
}

.metric-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(98, 216, 187, 0.7);
}

.performance-rail dl {
  margin: 0;
}

.performance-rail dl > div {
  padding: 13px;
}

.performance-rail dl > div:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.performance-rail dt {
  margin-bottom: 5px;
  color: var(--text-faint);
  font-size: 9px;
}

.performance-rail dd {
  margin: 0;
  color: #dce9e2;
  font: 600 12px/1.3 'Space Grotesk', sans-serif;
}

.token-observability {
  border-top: 1px solid var(--line);
  padding: 13px;
  background: rgba(7, 18, 15, 0.38);
}

.token-observability-heading,
.token-usage-scope,
.token-cost-grid,
.token-usage-note {
  color: var(--text-faint);
  font-size: 9px;
}

.token-observability-heading,
.token-usage-scope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.token-observability-heading {
  font: 700 8px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.token-observability-heading strong {
  color: var(--signal);
  font: 700 8px/1.2 'Space Grotesk', sans-serif;
}

.token-usage-scope {
  margin-top: 10px;
}

.token-usage-scope small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-usage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 9px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.token-usage-grid > div {
  min-width: 0;
  padding: 8px 6px;
}

.token-usage-grid > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.token-usage-grid dt {
  color: var(--text-faint);
  font-size: 8px;
}

.token-usage-grid dd {
  overflow: hidden;
  margin-top: 5px;
  color: #dce9e2;
  font: 600 10px/1.2 'Space Grotesk', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-cost-grid {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.token-cost-grid > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.token-cost-grid strong {
  color: #dce9e2;
  font: 600 9px/1.2 'Space Grotesk', sans-serif;
  text-align: right;
}

.token-rollup-grid {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.token-rollup-grid > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.token-rollup-grid strong {
  overflow: hidden;
  color: #a9cfc0;
  font: 500 8px/1.45 'Space Grotesk', sans-serif;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-usage-note {
  margin: 10px 0 0;
  line-height: 1.5;
}

.raw-trace {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(5, 15, 11, 0.45);
}

.raw-trace summary {
  padding: 13px 14px;
  font-size: 11px;
  font-weight: 800;
}

.raw-trace .trace-box {
  min-height: 180px;
  border-top: 1px solid var(--line);
}

.lower-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-top: 18px;
}

.runbook-panel,
.log-panel {
  padding: 22px;
}

.runbook-panel .section-heading a {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.boundary-list {
  display: grid;
  gap: 8px;
}

.boundary-list > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.boundary-list span {
  color: var(--signal);
  font: 600 8px/1.5 'Space Grotesk', sans-serif;
  letter-spacing: 0.11em;
}

.boundary-list p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
}

.command-reference {
  margin-top: 15px;
  border-top: 1px solid var(--line);
}

.command-reference summary {
  padding: 13px 0 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.command-reference pre {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #b9ccc2;
  background: #07110d;
  font: 500 10px/1.55 'Space Grotesk', monospace;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--status-healthy);
  font-size: 8px;
  font-weight: 700;
}

.live-label > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.log {
  min-height: 240px;
  max-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px;
  background: #07110d;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes decision-arrival {
  from {
    background-color: rgba(203, 243, 124, 0.13);
  }
  to {
    background-color: transparent;
  }
}

@keyframes workflow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(98, 216, 187, 0.08), 0 0 13px rgba(98, 216, 187, 0.24);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(98, 216, 187, 0.02), 0 0 25px rgba(98, 216, 187, 0.48);
  }
}

@keyframes workflow-progress {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -80% 0;
  }
}

@keyframes workflow-step-arrival {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes planner-scan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(760%);
  }
}

@keyframes topology-packet {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(900%);
  }
}

@keyframes topology-authority-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(203, 243, 124, 0.08), 0 0 16px rgba(203, 243, 124, 0.06);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(203, 243, 124, 0.18), 0 0 28px rgba(203, 243, 124, 0.15);
  }
}

@keyframes device-response-scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes device-response-orbit {
  from {
    transform: rotate(0deg) translateX(19px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(19px) rotate(-360deg);
  }
}

.decision-ribbon.is-updated {
  animation: decision-arrival 900ms ease-out;
}

@media (max-width: 1120px) {
  .console-shell {
    width: min(960px, calc(100% - 36px));
  }

  .workspace,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .control-deck {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .configuration-panel {
    align-self: stretch;
  }
}

@media (max-width: 780px) {
  .console-shell {
    width: min(100% - 24px, 680px);
    padding-top: 12px;
  }

  .topbar,
  .brand-lockup {
    align-items: flex-start;
  }

  .topbar {
    flex-direction: column;
    padding-bottom: 20px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(32px, 12vw, 48px);
  }

  .status-card {
    width: 100%;
  }

  .pipeline-rail {
    grid-template-columns: 1fr;
  }

  .pipeline-stage {
    min-height: 54px;
  }

  .pipeline-stage:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-stage:not(:last-child)::after {
    top: auto;
    right: 22px;
    bottom: -5px;
    transform: rotate(135deg);
  }

  .control-deck,
  .decision-ribbon,
  .trace-summary,
  .planner-stage-grid,
  .trace-main,
  .primary-actions {
    grid-template-columns: 1fr;
  }

  .experience-goal-card,
  .experience-detail-grid {
    grid-template-columns: 1fr;
  }

  .experience-lifecycle {
    grid-template-columns: 1fr;
  }

  .experience-stage:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 21px;
    width: 0;
    height: 8px;
    border-top: 0;
    border-left: 1px solid rgba(98, 216, 187, 0.38);
  }

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

  .decision-ribbon article {
    min-height: auto;
  }

  .decision-ribbon article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trace-workbench {
    grid-template-columns: 1fr;
  }

  .workflow-live-heading,
  .workflow-progress-copy,
  .planner-recorder-heading,
  .topology-heading {
    align-items: flex-start;
  }

  .device-response-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .device-response-signal {
    width: 40px;
    height: 40px;
  }

  .device-response-signal::after {
    width: 25px;
    height: 25px;
  }

  .device-response-signal span {
    animation-name: none;
  }

  .device-response-evidence {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .planner-recorder-heading,
  .device-context-heading,
  .topology-heading {
    flex-direction: column;
  }

  .topology-live-facts {
    width: 100%;
    justify-content: flex-start;
  }

  .topology-live-facts > span {
    min-width: 0;
    flex: 1 1 180px;
  }

  .device-context-state {
    align-self: flex-start;
  }

  .topology-map {
    grid-template-columns: 1fr;
  }

  .topology-node {
    min-height: 76px;
  }

  .topology-link {
    min-height: 28px;
  }

  .topology-link::before {
    width: 1px;
    height: 22px;
  }

  .topology-link::after {
    right: auto;
    bottom: 3px;
    transform: rotate(135deg);
  }

  .topology-link i {
    top: 0;
    left: calc(50% - 3px);
  }

  .topology-link.is-flowing i {
    animation-name: topology-packet-vertical;
  }

  .topology-evidence-grid {
    grid-template-columns: 1fr;
  }

  .planner-plan-facts {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-progress-copy {
    flex-direction: column;
    gap: 5px;
  }

  .workflow-rail {
    flex-direction: column;
    overflow-x: visible;
  }

  .workflow-step {
    flex-basis: auto;
    width: 100%;
  }

  .performance-rail dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .token-usage-grid > div:nth-child(3) {
    border-right: 0;
  }

  .token-usage-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .experience-budget-strip {
    grid-template-columns: 1fr 1fr;
  }

  .experience-budget-strip > div:nth-child(2) {
    border-right: 0;
  }

  .experience-budget-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .performance-rail dl > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .command-panel,
  .trace-panel,
  .runbook-panel,
  .log-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .utility-actions {
    flex-direction: column;
  }

  .utility-actions .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .token-usage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .token-usage-grid > div:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .token-usage-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .token-usage-grid > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .experience-heading {
    align-items: flex-start;
  }

  .experience-heading,
  .experience-card-heading {
    flex-direction: column;
  }

  .experience-supervisor-state {
    align-self: flex-start;
  }

  .experience-facts,
  .experience-budget-strip {
    grid-template-columns: 1fr;
  }

  .experience-budget-strip > div,
  .experience-budget-strip > div:nth-child(2) {
    border-right: 0;
  }

  .experience-budget-strip > div:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .experience-effect-row {
    grid-template-columns: 1fr;
  }

  .device-context-grid {
    grid-template-columns: 1fr;
  }

  .device-context-card {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .topology-link i {
    display: none;
  }
}

@keyframes topology-packet-vertical {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(26px);
  }
}
