:root {
  color-scheme: light;
  --bg: #f8fafe;
  --surface: #ffffff;
  --surface-soft: #f3f6fb;
  --surface-strong: #e9eef7;
  --text: #111827;
  --muted: #657087;
  --quiet: #8993a7;
  --line: #d9e0ec;
  --line-strong: #c7d0df;
  --brand: #1948d8;
  --brand-hover: #123abd;
  --brand-soft: #edf2ff;
  --good: #14804a;
  --good-soft: #e9f7ef;
  --warn: #9a5b00;
  --warn-soft: #fff5df;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --shadow: 0 12px 30px rgba(25, 45, 80, 0.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090d13;
  --surface: #111721;
  --surface-soft: #171f2c;
  --surface-strong: #202a39;
  --text: #ffffff;
  --muted: #c6cedb;
  --quiet: #9ba6b8;
  --line: #303b4b;
  --line-strong: #465368;
  --brand: #5b8cff;
  --brand-hover: #76a0ff;
  --brand-soft: #172650;
  --good: #45d483;
  --good-soft: #123323;
  --warn: #f5b84f;
  --warn-soft: #38280f;
  --danger: #ff8b82;
  --danger-soft: #3a1717;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 64px 0 70px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

button, select, textarea, input { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hidden { display: none !important; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
}

.primary-nav {
  display: flex;
  height: 64px;
  align-items: stretch;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: transparent;
  content: "";
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a[aria-current="page"]::after { background: var(--brand); }

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  justify-self: end;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-size: 20px;
}

.icon-button:hover { border-color: var(--line); background: var(--surface-soft); }

.workspace {
  width: min(1344px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 32px;
}

.workspace-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.workspace-intro h1 {
  max-width: 900px;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 780;
}

.workspace-intro p {
  max-width: 760px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
}

.service-state {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-dot,
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 14%, transparent);
}

.service-state[data-state="error"] .service-dot { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 14%, transparent); }

.composer {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(25, 45, 80, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.composer:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent);
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 80px;
  max-height: 48vh;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 20px;
  font-size: 16px;
  line-height: 1.58;
}

.composer textarea::placeholder { color: var(--quiet); }

.attachment-row { padding: 0 18px 12px; }

.attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(100%, 420px);
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 4px 6px 4px 9px;
  font-size: 13px;
  font-weight: 700;
}

.attachment-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-remove {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
}

.chip-remove:hover { background: var(--surface-strong); color: var(--text); }

.composer-footer {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.composer-tools,
.run-controls,
.result-actions,
.dialog-actions,
.error-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-button,
.result-actions button,
.dialog-actions button,
.error-actions button,
.expand-result,
.danger-button,
.secondary-primary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 720;
}

.tool-button { cursor: pointer; color: var(--muted); }
.tool-button:hover,
.result-actions button:hover,
.dialog-actions button:hover,
.error-actions button:hover { border-color: var(--line-strong); background: var(--surface-soft); color: var(--text); }

.token-estimate {
  margin-right: 3px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.run-controls select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  padding: 7px 34px 7px 11px;
  font-size: 13px;
  font-weight: 700;
}

.run-controls select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }

.primary-button {
  display: inline-flex;
  min-width: 108px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  padding: 9px 18px;
  font-weight: 800;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 20%, transparent);
}

.primary-button:hover { border-color: var(--brand-hover); background: var(--brand-hover); }
.primary-button:disabled { cursor: not-allowed; opacity: 0.55; }
.danger-button { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); color: var(--danger); }

.run-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 28px;
}

.timeline-panel { min-width: 0; padding: 8px 0 0 4px; }
.timeline { margin: 0; padding: 0; list-style: none; }

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
}

.timeline-step:not(:last-child)::after {
  position: absolute;
  top: 29px;
  bottom: -1px;
  left: 14px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: transparent;
  font-size: 16px;
}

.step-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}

.step-heading strong { font-size: 14px; }
.step-heading time { color: var(--quiet); font-size: 12px; font-variant-numeric: tabular-nums; }
.timeline-step p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.timeline-step[data-status="active"] .step-marker {
  border: 6px solid color-mix(in srgb, var(--brand) 20%, var(--surface));
  background: var(--brand);
  color: transparent;
  animation: activePulse 1.4s ease-in-out infinite;
}

.timeline-step[data-status="done"] .step-marker { border-color: var(--good); background: var(--good-soft); color: var(--good); }
.timeline-step[data-status="done"]::after { background: color-mix(in srgb, var(--good) 45%, var(--line)); }
.timeline-step[data-status="skipped"] .step-marker { border-style: dashed; color: var(--quiet); }
.timeline-step[data-status="error"] .step-marker { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }

@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 18%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 3%, transparent); }
}

.timeline-summary {
  display: grid;
  gap: 4px;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 10px 12px;
}

.timeline-summary .summary-state { color: var(--good); font-size: 12px; font-weight: 800; }
.timeline-summary strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.timeline-summary[data-state="running"] .summary-state { color: var(--brand); }
.timeline-summary[data-state="error"] .summary-state { color: var(--danger); }

.route-details { margin-top: 18px; color: var(--muted); font-size: 13px; }
.route-details summary { width: fit-content; cursor: pointer; color: var(--text); font-weight: 720; }
.route-details > p { margin-top: 10px; line-height: 1.5; }
.route-details dl { display: grid; gap: 7px; margin: 12px 0 0; }
.route-details dl div { display: flex; justify-content: space-between; gap: 10px; }
.route-details dt { color: var(--quiet); }
.route-details dd { margin: 0; color: var(--text); text-align: right; }

.result-column { min-width: 0; }

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 112px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metrics-strip > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.metrics-strip > div:last-child { border-right: 0; }
.metrics-strip span { display: block; color: var(--muted); font-size: 12px; }
.metrics-strip strong { display: block; margin-top: 7px; overflow: hidden; color: var(--text); font-size: 24px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.metrics-strip small { display: block; margin-top: 3px; overflow: hidden; color: var(--quiet); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.metrics-strip .metric-status { color: var(--good); font-size: 16px; }
.metrics-strip .metric-status[data-state="running"] { color: var(--brand); }
.metrics-strip .metric-status[data-state="error"] { color: var(--danger); }

.result-surface {
  position: relative;
  min-height: 430px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(25, 45, 80, 0.035);
}

.empty-result,
.running-result,
.error-result {
  display: grid;
  min-height: 430px;
  place-content: center;
  justify-items: center;
  padding: 34px;
  text-align: center;
}

.empty-icon,
.error-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 23px;
}

.error-icon { background: var(--danger-soft); color: var(--danger); }
.empty-result h2,
.error-result h2 { margin-top: 14px; font-size: 20px; }
.empty-result p,
.error-result p { max-width: 480px; margin-top: 6px; color: var(--muted); }

.running-result { align-content: center; justify-items: stretch; width: min(640px, 100%); margin: 0 auto; }
.running-result p { margin-top: 20px; color: var(--muted); text-align: center; }
.loading-line { height: 15px; margin-top: 12px; border-radius: 5px; background: var(--surface-strong); animation: loadingPulse 1.2s ease-in-out infinite; }
.loading-line.wide { width: 88%; }
.loading-line.medium { width: 67%; }
.loading-line.short { width: 44%; }

@keyframes loadingPulse { 0%, 100% { opacity: 0.48; } 50% { opacity: 1; } }

.error-result {
  grid-template-columns: auto minmax(0, 520px);
  gap: 16px;
  align-items: start;
  text-align: left;
}

.error-result h2 { margin-top: 0; }
.error-actions { margin-top: 18px; }

.result-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}

.result-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--good);
  font-size: 12px;
  font-weight: 820;
}

.result-header h2 { margin-top: 3px; font-size: 18px; }
.result-actions { flex-wrap: wrap; justify-content: flex-end; }
.result-actions button,
.dialog-actions button { min-height: 36px; }
.secondary-primary { border-color: var(--brand) !important; color: var(--brand) !important; }
.secondary-primary:hover { background: var(--brand-soft) !important; }

.markdown-result {
  color: var(--text);
  font-size: 15px;
  line-height: 1.66;
  overflow-wrap: anywhere;
}

.markdown-result.is-collapsed { max-height: 355px; overflow: hidden; }
.markdown-result:not(.dialog-content) { padding: 22px 24px; }
.markdown-result > :first-child { margin-top: 0; }
.markdown-result > :last-child { margin-bottom: 0; }
.markdown-result h1 { margin: 0 0 18px; font-size: 26px; line-height: 1.25; }
.markdown-result h2 { margin: 24px 0 10px; font-size: 20px; line-height: 1.3; }
.markdown-result h3 { margin: 20px 0 8px; font-size: 17px; }
.markdown-result p { margin: 10px 0; }
.markdown-result ul,
.markdown-result ol { margin: 10px 0; padding-left: 24px; }
.markdown-result li { margin: 4px 0; }
.markdown-result pre {
  overflow: auto;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0f1724;
  color: #f4f7fb;
  padding: 15px;
  font-size: 13px;
  line-height: 1.55;
  tab-size: 2;
}
.markdown-result code:not(pre code) { border-radius: 4px; background: var(--surface-strong); padding: 2px 5px; font-size: 0.92em; }
.markdown-result table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.markdown-result th,
.markdown-result td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.markdown-result th { background: var(--surface-soft); }
.markdown-result blockquote { margin: 14px 0; border-left: 3px solid var(--brand); color: var(--muted); padding-left: 14px; }

.expand-result {
  width: 100%;
  min-height: 46px;
  border-width: 1px 0 0;
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}
.expand-result:hover { background: var(--surface-soft); }

.result-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 42px;
  align-items: center;
  padding: 9px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.live-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 32;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(80px, 1fr);
  min-height: 58px;
  align-items: center;
  gap: 20px;
  padding: 8px 22px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  box-shadow: 0 -8px 24px rgba(25, 45, 80, 0.06);
  backdrop-filter: blur(14px);
}

.live-message { display: flex; min-width: 0; align-items: center; gap: 9px; }
.live-message strong { flex: 0 0 auto; font-size: 13px; }
.live-message > span:last-child { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.live-dot[data-state="running"] { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); animation: activePulse 1.4s ease-in-out infinite; }
.live-dot[data-state="error"] { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 14%, transparent); }

.live-stages { display: flex; align-items: center; gap: 6px; }
.live-stages span { min-width: 78px; border-radius: 6px; color: var(--quiet); padding: 5px 8px; text-align: center; font-size: 11px; font-weight: 780; }
.live-stages span[data-status="active"] { background: var(--brand-soft); color: var(--brand); }
.live-stages span[data-status="done"] { color: var(--good); }
.live-stages span[data-status="error"] { color: var(--danger); }
.live-bar time { justify-self: end; color: var(--quiet); font-size: 12px; font-variant-numeric: tabular-nums; }

.result-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  box-shadow: var(--shadow);
}

.result-dialog::backdrop { background: rgba(7, 12, 20, 0.62); }
.dialog-header,
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin-top: 3px; font-size: 19px; }
.dialog-content { max-height: calc(100vh - 190px); overflow: auto; padding: 22px 24px; }
.dialog-actions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 50;
  max-width: min(360px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 10px 13px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .workspace { width: min(100% - 32px, 980px); }
  .run-grid { grid-template-columns: 1fr; gap: 18px; }
  .timeline-panel { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: start; }
  .timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .timeline-step { display: block; min-height: 108px; border-top: 2px solid var(--line); padding-top: 12px; }
  .timeline-step:not(:last-child)::after { display: none; }
  .step-marker { width: 25px; height: 25px; margin-bottom: 8px; }
  .step-heading { display: block; }
  .step-heading time { display: block; margin-top: 2px; }
  .route-details { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 840px) {
  body { padding-top: 114px; }
  .topbar { grid-template-columns: 1fr auto; min-height: 64px; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; width: calc(100% + 44px); height: 50px; margin: 0 -22px; justify-content: center; gap: 22px; border-top: 1px solid var(--line); overflow-x: auto; }
  .workspace-intro h1 { font-size: 29px; }
  .composer-footer { align-items: flex-start; flex-direction: column; }
  .run-controls { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .composer-tools { width: 100%; }
  .token-estimate { margin-right: auto; }
  .metrics-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics-strip > div:nth-child(3) { border-right: 0; }
  .metrics-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .result-header { align-items: flex-start; flex-direction: column; }
  .result-actions { justify-content: flex-start; }
  .live-bar { grid-template-columns: 1fr auto; }
  .live-stages { display: none; }
}

@media (max-width: 620px) {
  body { padding-bottom: 64px; }
  .topbar { padding: 0 14px; }
  .brand strong { font-size: 14px; }
  .primary-nav { width: calc(100% + 28px); margin: 0 -14px; justify-content: flex-start; padding: 0 14px; gap: 22px; }
  .primary-nav a { flex: 0 0 auto; }
  .workspace { width: calc(100% - 24px); padding-top: 24px; }
  .workspace-intro { display: block; }
  .workspace-intro h1 { font-size: 26px; }
  .service-state { margin-top: 10px; padding-left: 0; }
  .composer textarea { min-height: 166px; padding: 16px; }
  .tool-button span { display: none; }
  .run-controls select { flex: 1 1 150px; }
  .primary-button { min-width: 94px; }
  .timeline-panel { display: block; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-summary { margin-top: 10px; }
  .route-details { margin-top: 14px; }
  .metrics-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-strip > div { min-height: 92px; padding: 14px; border-top: 1px solid var(--line); }
  .metrics-strip > div:nth-child(-n+2) { border-top: 0; }
  .metrics-strip > div:nth-child(2n) { border-right: 0; }
  .metrics-strip > div:nth-child(3) { border-right: 1px solid var(--line); }
  .metrics-strip > div:last-child { grid-column: 1 / -1; border-right: 0; }
  .metrics-strip strong { font-size: 21px; }
  .result-actions button span { display: none; }
  .result-actions .secondary-primary span { display: inline; }
  .markdown-result:not(.dialog-content) { padding: 18px; }
  .error-result { grid-template-columns: 1fr; justify-items: start; }
  .live-bar { padding: 8px 13px; }
  .live-message > span:last-child { display: none; }
  .toast { right: 12px; bottom: 72px; }
}

@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; }
}
