* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 85% -8%, var(--teal-soft), transparent 70%) no-repeat,
    var(--bg);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 650;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
p {
  margin: 0;
}
a {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.small {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}

.top {
  padding-block: 18px;
}
.top a {
  font-family: var(--display);
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}

.intro {
  display: grid;
  gap: 16px;
  padding-block: 24px 32px;
  max-width: 62ch;
}
.intro .lead {
  font-size: 19px;
  color: var(--muted);
}
.note {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}
.notice {
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--amber-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--teal-ink);
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font: 600 17px var(--body);
  border: 0;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: var(--teal);
  box-shadow: inset 0 0 0 2px var(--teal);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: default;
}

.stage {
  display: grid;
  gap: 24px;
  padding-block: 8px 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .stage {
    grid-template-columns: 1.1fr 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface-2);
  font-size: 14px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  margin-right: 8px;
}
.dot.live {
  background: var(--alert);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot.live {
    animation: none;
  }
}

.transcript {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: grid;
  gap: 12px;
  min-height: 220px;
}
.line {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.45;
}
.line b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.line.vera {
  background: var(--teal-soft);
  border-bottom-left-radius: 4px;
}
.line.vera b {
  color: var(--teal);
}
.line.parent {
  background: var(--surface-2);
  justify-self: end;
  border-bottom-right-radius: 4px;
}
.line.parent b {
  color: var(--muted);
}
.empty {
  color: var(--muted);
  font-size: 15px;
  align-self: center;
  text-align: center;
  padding: 40px 0;
}

.summary {
  padding: 20px;
  display: grid;
  gap: 14px;
}
.badge {
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge.ok {
  background: var(--teal-soft);
  color: var(--teal);
}
.badge.attention {
  background: var(--amber-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--amber);
}
.badge.urgent {
  background: var(--alert-soft);
  color: var(--alert);
  box-shadow: inset 0 0 0 1px var(--alert);
}
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 15px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
}
blockquote {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--teal);
  font-family: var(--display);
  font-style: italic;
}
.how {
  font-size: 13px;
  color: var(--muted);
}
.cta {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
