:root {
  --bg: #fbfbfd;
  --fg: #1d1d1f;
  --muted: #86868b;
  --border: #d2d2d7;
  --surface: #f5f5f7;
  --accent: #0071e3;
  --ok: #248a3d;
  --warn: #b25000;
  --bad: #e30000;
  --user-bg: #e8f1fd;
  --sheet: #ffffff;
  --fill: rgba(118, 118, 128, 0.12);
  --seg-on: #ffffff;
  /* Orb */
  --orb-hi: #ffffff;
  --orb-mid: #ececf0;
  --orb-lo: #d2d2d7;
  --orb-shadow: rgba(0, 0, 0, 0.12);
  --orb-glow: rgba(0, 113, 227, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #f5f5f7;
    --muted: #86868b;
    --border: #38383a;
    --surface: #1c1c1e;
    --accent: #2997ff;
    --ok: #30d158;
    --warn: #ff9f0a;
    --bad: #ff453a;
    --user-bg: #0a2540;
    --sheet: #1c1c1e;
    --fill: rgba(118, 118, 128, 0.24);
    --seg-on: #636366;
    --orb-hi: #4a4a4f;
    --orb-mid: #2c2c2e;
    --orb-lo: #1c1c1e;
    --orb-shadow: rgba(0, 0, 0, 0.6);
    --orb-glow: rgba(41, 151, 255, 0.45);
  }
}

* { box-sizing: border-box; }
body {
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--fg);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Simple view: the orb, one line of words, the last exchange. */

.simple {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  padding: 20px 16px 72px;
}
.wordmark {
  justify-self: start;
  background: none;
  color: var(--fg);
  font: 600 19px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  letter-spacing: -0.02em;
  padding: 6px 8px;
}
.stage { align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; }

.orb {
  --size: clamp(150px, 34vmin, 200px);
  --level: 0;
  position: relative;
  width: calc(var(--size) + 36px);
  height: calc(var(--size) + 36px);
  padding: 0;
  border-radius: 50%;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.orb:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.orb:disabled { opacity: 1; cursor: default; }
.orb-core {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--orb-hi), var(--orb-mid) 55%, var(--orb-lo));
  box-shadow: 0 18px 40px -12px var(--orb-shadow), inset 0 -6px 18px rgba(0, 0, 0, 0.05);
  transform: scale(calc(1 + var(--level) * 0.16));
  transition: transform 60ms linear, box-shadow 300ms ease, filter 400ms ease;
  overflow: hidden;
  position: relative;
}
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke-width: 1.6; }
.ring-track { stroke: transparent; transition: stroke 300ms ease; }
.ring-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 0 400;
  transition: stroke-dasharray 400ms ease;
  transform-origin: 50% 50%;
}
.ring-progress.spin { animation: spin 1.4s linear infinite; transition: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb.has-ring .ring-track,
.orb[data-state="setup"] .ring-track { stroke: var(--border); }
.orb[data-state="ready"] .orb-core { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 22px 48px -12px var(--orb-glow), inset 0 -6px 18px rgba(0, 0, 0, 0.05); } }
.orb[data-state="listening"] .orb-core,
.orb[data-state="speaking"] .orb-core {
  box-shadow: 0 0 calc(20px + var(--level) * 60px) calc(var(--level) * 14px) var(--orb-glow), 0 18px 40px -12px var(--orb-shadow);
}
.orb[data-state="listening"] .orb-core { background: radial-gradient(circle at 34% 28%, #ffffff, #cfe3fb 50%, #7fb4f0); }
.orb[data-state="speaking"] .orb-core { background: radial-gradient(circle at 34% 28%, var(--orb-hi), #dfe9f7 50%, #a9c6ea); }
.orb[data-state="thinking"] .orb-core::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--orb-glow) 70deg, transparent 150deg, transparent 360deg);
  animation: spin 2.2s linear infinite;
  filter: blur(14px);
}
.orb[data-state="error"] .ring-track { stroke: var(--bad); }
.orb[data-state="unsupported"] .orb-core { filter: grayscale(1) opacity(0.45); box-shadow: none; }
/* A timer is done: a warm glow that swells with each chime. */
.orb[data-state="alert"] .orb-core {
  background: radial-gradient(circle at 34% 28%, #fff7ec, #ffd29a 50%, #ff9f43);
  animation: alert 2s ease-in-out infinite;
}
@keyframes alert {
  0%, 100% { box-shadow: 0 18px 40px -12px rgba(255, 140, 40, 0.35); transform: scale(1); }
  12% { box-shadow: 0 22px 70px -6px rgba(255, 140, 40, 0.75); transform: scale(1.04); }
}
@media (prefers-color-scheme: dark) {
  .orb[data-state="alert"] .orb-core { background: radial-gradient(circle at 34% 28%, #ffc37a, #d9731c 55%, #5c2a05); }
  .orb[data-state="listening"] .orb-core { background: radial-gradient(circle at 34% 28%, #5aa9ff, #1e5fae 55%, #0b2e57); }
  .orb[data-state="speaking"] .orb-core { background: radial-gradient(circle at 34% 28%, #6b6b72, #2b3d57 55%, #142033); }
}
@media (prefers-reduced-motion: reduce) {
  .orb-core, .ring-progress.spin, .orb[data-state="ready"] .orb-core, .orb[data-state="thinking"] .orb-core::before { animation: none; }
  .orb[data-state="alert"] .orb-core, .timer[data-state="ringing"] { animation: none; }
}

/* Kitchen timers: big enough to read from across the room. */
.timers { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 20px; max-width: 36rem; }
.timer {
  position: relative; width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; cursor: default;
}
.timer-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 6; }
.timer-track { stroke: var(--fill); }
.timer-arc { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 250ms linear, stroke 300ms ease; }
.timer-face { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; max-width: 100px; }
.timer-time { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.timer-name {
  font-size: 13px; color: var(--muted); max-width: 96px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.timer-x {
  position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; padding: 0; border-radius: 50%;
  background: var(--sheet); color: var(--muted); font-size: 16px; line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); opacity: 0; transition: opacity 150ms ease;
}
.timer:hover .timer-x, .timer:focus-within .timer-x { opacity: 1; }
@media (hover: none) { .timer-x { opacity: 0.8; } }
.timer[data-state="ringing"], .timer[data-state="done"] { cursor: pointer; }
.timer[data-state="ringing"] { animation: alert-card 2s ease-in-out infinite; }
.timer[data-state="ringing"] .timer-arc { stroke: var(--warn); }
.timer[data-state="ringing"] .timer-time { color: var(--warn); }
.timer[data-state="done"] .timer-arc { stroke: var(--border); }
.timer[data-state="done"] .timer-time { color: var(--muted); }
@keyframes alert-card {
  0%, 100% { background: transparent; transform: scale(1); }
  12% { background: color-mix(in srgb, var(--warn) 14%, transparent); transform: scale(1.04); }
}

.caption {
  margin: 28px 0 4px;
  font: 600 22px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.subcaption { margin: 0; color: var(--muted); max-width: 30em; min-height: 1.5em; font-variant-numeric: tabular-nums; }

.exchange { width: min(36rem, 100%); text-align: center; margin-top: 24px; min-height: 4.5em; }
.exchange p { margin: 0 0 8px; overflow-wrap: anywhere; }
.exchange .you {
  color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.exchange .you:not(:empty)::before { content: "“"; }
.exchange .you:not(:empty)::after { content: "”"; }
.exchange .said { font-size: 17px; line-height: 1.45; }

.type { width: min(28rem, 100%); display: flex; justify-content: center; margin-top: 12px; }
.type form { width: 100%; }
.type input[type="text"] { width: 100%; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid transparent; }
.type input[type="text"]:focus { outline: none; border-color: var(--accent); }
.quiet { background: none; color: var(--muted); padding: 6px 10px; font-size: 14px; }
.quiet:hover { color: var(--fg); }
a.quiet { text-decoration: none; }

/* The corner switch for advanced mode. */
.simple { position: relative; }
.foot { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.foot .quiet { font-size: 13px; padding: 4px 0; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
#hands-free[aria-pressed="true"] { color: var(--accent); }
.switch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 30px; height: 18px; border-radius: 9px; background: var(--border); position: relative; transition: background 200ms ease; }
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 200ms ease;
}
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(12px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

.msg .tools { font-size: 12px; color: var(--ok); margin-top: 4px; }

/* The memory sheet: one editable line per memory. */
.sheet-intro { margin: 0; }
.memory-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; }
.memory { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.memory input[type="text"].memory-text {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--fg); background: none;
  border: 0; border-radius: 6px; padding: 10px 4px;
}
.memory input[type="text"].memory-text:focus { outline: none; background: var(--fill); }
.memory-delete {
  flex: none; width: 28px; height: 28px; padding: 0; border-radius: 50%;
  background: none; color: var(--muted); font-size: 18px; line-height: 1;
}
.memory-delete:hover { background: var(--fill); color: var(--bad); }
.memory-empty { color: var(--muted); padding: 10px 4px; font-size: 15px; }
.memory-add input[type="text"] {
  width: 100%; font: inherit; font-size: 15px; padding: 9px 12px; border-radius: 10px;
  background: var(--fill); border: 1px solid transparent; color: var(--fg);
}
.memory-add input[type="text"]:focus { outline: none; border-color: var(--accent); }
.memory-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.link.danger { color: var(--bad); padding: 4px 0; }
.memory-foot .link.danger:disabled { visibility: hidden; }

/* Conversation length: a small gauge opposite the wordmark, with the details in a popover. */
.gauge {
  position: absolute; top: 20px; right: 16px; padding: 9px 7px;
  background: none; border-radius: 8px;
}
.gauge:hover { background: var(--fill); }
.gauge-cap {
  display: block; width: 24px; height: 12px; padding: 2px;
  border: 1.5px solid var(--muted); border-radius: 4px;
}
#gauge-fill { display: block; height: 100%; width: 0; min-width: 2px; border-radius: 1.5px; background: var(--muted); transition: width 400ms ease; }
.gauge.full .gauge-cap { border-color: var(--warn); }
.gauge.full #gauge-fill { background: var(--warn); }
.context-pop {
  inset: auto; top: 56px; right: 16px; margin: 0; width: min(20rem, calc(100% - 32px));
  padding: 16px; border: 0; border-radius: 14px; background: var(--sheet); color: var(--fg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.context-pop p { margin: 0 0 10px; }
.context-title { font-weight: 600; }
.context-bar { height: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; margin-bottom: 12px; }
#context-bar-fill { height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 400ms ease; }
.context-pop.full #context-bar-fill { background: var(--warn); }
.context-pop button { width: 100%; margin-top: 4px; }
.context-line { display: flex; align-items: center; gap: 8px; margin: -0.25rem 0 0.75rem; }
.context-line meter { width: 120px; height: 8px; flex: none; }

/* The voice sheet: a centered card on wide screens, a bottom sheet on phones. */
.sheet {
  width: min(26rem, calc(100% - 32px)); max-height: min(36rem, calc(100dvh - 64px));
  padding: 0; border: 0; border-radius: 18px; background: var(--sheet); color: var(--fg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in 220ms ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.sheet-body { display: flex; flex-direction: column; max-height: inherit; padding: 16px 16px 12px; gap: 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.sheet-head .link { font-weight: 600; padding: 4px 0; }
.segmented { display: flex; background: var(--fill); border-radius: 9px; padding: 2px; }
.segmented button {
  flex: 1; background: none; color: var(--fg); border-radius: 7px; padding: 5px 8px; font-size: 13px;
}
.segmented button[aria-selected="true"] { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); font-weight: 500; }
.voice-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; }
.voice {
  display: flex; align-items: center; gap: 12px; padding: 10px 4px; cursor: pointer;
  border-bottom: 1px solid var(--border); border-radius: 0;
}
.voice:last-child { border-bottom: 0; }
.voice:hover .voice-name { color: var(--accent); }
.voice:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.voice-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.voice-name { font-size: 15px; }
.voice-blurb {
  font-size: 13px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.voice-mark { width: 18px; height: 18px; flex: none; }
.voice[aria-selected="true"] .voice-mark::after {
  content: ""; display: block; width: 6px; height: 11px; margin: 1px auto 0;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.voice[data-status="fetching"] .voice-mark::after {
  content: ""; display: block; width: 14px; height: 14px; margin: 2px; transform: none;
  border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#voice-note:empty { display: none; }
#voice-note { margin: 0; }
@media (max-width: 600px) {
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 80dvh; }
  .sheet-body { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open] { animation: none; }
}

/* ---------------------------------------------------------------------------
   Advanced panel: everything else, below the simple view. */

.advanced-panel { display: none; max-width: 760px; margin: 0 auto 4rem; padding: 0 16px; }
body.advanced .advanced-panel { display: block; }
body.advanced .simple { min-height: 0; padding-bottom: 32px; }
h1 { margin: 0; }
h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
h3 { font-size: 0.95rem; margin: 1.25rem 0 0.5rem; }
section { margin: 1.25rem 0; }
.muted { color: var(--muted); }
.mono, pre { font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { background: var(--surface); padding: 8px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.card { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; background: var(--bg); }
.row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

button, select, textarea { font: inherit; color: inherit; }
button {
  background: var(--accent); color: #fff; border: 0; border-radius: 980px;
  padding: 6px 16px; cursor: pointer;
}
button:disabled { opacity: 0.5; cursor: default; }
button.link { background: none; color: var(--accent); padding: 6px 4px; }
select, textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }

/* Requirements gate */
.gate { padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); }
.gate.pass { border-color: var(--ok); }
.gate.warn { border-color: var(--warn); }
.gate.fail { border-color: var(--bad); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; padding: 6px 0; border-bottom: 1px solid var(--border); }
.check .icon { grid-row: span 3; font-weight: 700; }
.check .detail, .check .fix { grid-column: 2; }
.check .detail { color: var(--muted); }
.check .fix { font-size: 0.92em; }
.check.pass .icon { color: var(--ok); }
.check.warn .icon { color: var(--warn); }
.check.fail .icon { color: var(--bad); }

/* Loading phases */
.phases { list-style: none; padding: 0; margin: 0.75rem 0 0.5rem; }
.phase { display: grid; grid-template-columns: 1.5rem 1fr; padding: 4px 0; }
.phase .icon { grid-row: span 3; }
.phase .detail, .phase progress { grid-column: 2; }
.phase .detail { color: var(--muted); font-size: 0.92em; font-variant-numeric: tabular-nums; }
.phase.pending, .phase.skipped { color: var(--muted); }
.phase.done .icon { color: var(--ok); }
.phase.failed .icon, .phase.failed .label { color: var(--bad); }
.phase.active .label { font-weight: 600; }
progress { width: 100%; height: 6px; margin-top: 4px; accent-color: var(--accent); }
.error-box { border: 1px solid var(--bad); border-radius: 6px; padding: 0.5rem 0.75rem; }
.error-box p { margin: 0 0 0.5rem; }

/* Chat */
.status { display: flex; align-items: center; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.ready .dot { background: var(--ok); }
.status.busy .dot { background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.status.error .dot { background: var(--bad); }
@keyframes pulse { 50% { opacity: 0.3; } }

.messages { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.75rem 0; max-height: 55vh; overflow-y: auto; }
.msg { max-width: 85%; }
.msg .body { padding: 8px 12px; border-radius: 10px; white-space: pre-wrap; }
.msg.user { align-self: flex-end; }
.msg.user .body { background: var(--user-bg); }
.msg.assistant .body { background: var(--surface); }
.msg.assistant.pending .body:empty::after { content: "…"; color: var(--muted); }
.msg.error .body { border: 1px solid var(--bad); }
.msg .meta { font-size: 0.8em; color: var(--muted); padding: 2px 4px; font-variant-numeric: tabular-nums; }
.msg.user .meta { display: none; }
.composer textarea { width: 100%; resize: vertical; margin-bottom: 0.5rem; }

/* Technical details */
details { margin: 2rem 0; }
summary { cursor: pointer; color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
td { padding: 4px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
td:first-child { color: var(--muted); white-space: nowrap; }
.event-tail { max-height: 240px; overflow-y: auto; }
.small { font-size: 0.88em; }
input[type="text"] { flex: 1; min-width: 0; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
.toggle { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.table-scroll { overflow-x: auto; }
.turns th, .turns td { text-align: right; padding: 4px 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.turns th:first-child, .turns td:first-child { text-align: left; }
.turns th { color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--border); }
.turns td:first-child { color: inherit; }
.turns tr.stat td { font-weight: 600; background: var(--surface); }

/* Quick start */
.quickstart p { margin: 0.5rem 0; }
.pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pill { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: 0.88em; color: var(--muted); }
.pill.ok { color: var(--ok); border-color: var(--ok); }
.pill.busy { color: var(--accent); border-color: var(--accent); }
.pill.bad { color: var(--bad); border-color: var(--bad); }

/* Push-to-talk */
.status.listening .dot { background: var(--bad); animation: pulse 0.8s ease-in-out infinite; }
.mic-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.25rem; }
.talk-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
#talk { padding: 10px 20px; font-size: 1.05em; touch-action: none; user-select: none; }
#talk.held { background: var(--bad); }
.level { width: 120px; height: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
#mic-level { height: 100%; width: 0; background: var(--ok); transition: width 80ms linear; }
.roundtrip { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.roundtrip li.ok { color: var(--ok); }
.roundtrip li.miss { color: var(--warn); }
