/* Raigate console — design system.
   One stylesheet, no external asset: the page is served under default-src 'none'
   with self-only sources, so every colour, face and icon here is either a
   system resource or inline SVG. Light is the base palette; dark is the second
   argument of every light-dark() pair and follows the viewer's system unless a
   data-theme attribute on <html> overrides it. */

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light dark;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Cascadia Mono", "Liberation Mono",
    monospace;

  --bg: light-dark(#f2f3f5, #0f1114);
  --surface: light-dark(#ffffff, #171a1f);
  --surface-2: light-dark(#f7f8fa, #1c2026);
  --surface-3: light-dark(#eef0f3, #242931);
  --border: light-dark(#e3e6ea, #2a3039);
  --border-strong: light-dark(#cfd4db, #3a424d);
  --text: light-dark(#141a23, #e7e9ed);
  --text-2: light-dark(#4a5361, #b4bac5);
  --text-3: light-dark(#6b7482, #8a93a1);

  --accent: light-dark(#e07a12, #f2930d);
  --accent-hover: light-dark(#c96a0c, #ffa42b);
  --accent-text: light-dark(#ad570a, #f5a63a);
  --accent-soft: light-dark(rgba(224, 122, 18, 0.12), rgba(242, 147, 13, 0.16));
  --on-accent: light-dark(#ffffff, #15171b);
  --ring: light-dark(rgba(224, 122, 18, 0.45), rgba(242, 147, 13, 0.5));

  --success-fg: light-dark(#157347, #4ade80);
  --success-bg: light-dark(#dcf5e6, rgba(74, 222, 128, 0.14));
  --success-border: light-dark(#9fdfba, rgba(74, 222, 128, 0.4));
  --warning-fg: light-dark(#9a6200, #fbd34d);
  --warning-bg: light-dark(#fff4d1, rgba(251, 211, 77, 0.14));
  --warning-border: light-dark(#f5d47a, rgba(251, 211, 77, 0.4));
  --danger-fg: light-dark(#b42323, #f87171);
  --danger-bg: light-dark(#fde4e4, rgba(248, 113, 113, 0.14));
  --danger-border: light-dark(#f4a9a9, rgba(248, 113, 113, 0.42));
  --info-fg: light-dark(#1f56c4, #6fa8ff);
  --info-bg: light-dark(#e0eaff, rgba(111, 168, 255, 0.14));
  --info-border: light-dark(#a9c1f5, rgba(111, 168, 255, 0.4));
  --neutral-fg: light-dark(#4f5866, #a9b1bd);
  --neutral-bg: light-dark(#eef0f3, rgba(169, 177, 189, 0.12));
  --neutral-border: light-dark(#d3d8df, rgba(169, 177, 189, 0.35));
  --primary-fg: var(--accent-text);
  --primary-bg: var(--accent-soft);
  --primary-border: light-dark(rgba(224, 122, 18, 0.35), rgba(242, 147, 13, 0.45));

  --shadow-1: light-dark(0 1px 2px rgba(20, 26, 35, 0.06), 0 1px 2px rgba(0, 0, 0, 0.45));
  --shadow-2: light-dark(0 14px 36px rgba(20, 26, 35, 0.16), 0 14px 36px rgba(0, 0, 0, 0.55));

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --sidebar-w: 240px;
  --topbar-h: 56px;
  --panel-w: 620px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.45;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, dl, dd, dt, figure, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd, .mono { font-family: var(--font-mono); font-size: 0.93em; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.noscript { padding: 2rem; }
svg.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg.icon--sm { width: 14px; height: 14px; }
svg.icon--lg { width: 22px; height: 22px; }

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

/* ------------------------------------------------------------------ layout */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar__title { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; }
.topbar__crumb { color: var(--text-3); font-weight: 400; }
.topbar__spacer { flex: 1; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.topbar__updated { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.content { padding: 24px 28px 48px; display: flex; flex-direction: column; gap: 20px; }
.content--narrow { max-width: 1120px; }

/* -------------------------------------------------------------- navigation */
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 12px;
}
.brand__mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; flex: none;
}
.brand__name { font-weight: 650; font-size: 15px; letter-spacing: -0.01em; line-height: 1.1; }
.brand__sub { color: var(--text-3); font-size: 11.5px; }
.nav { display: flex; flex-direction: column; gap: 14px; padding: 6px 10px 12px; flex: 1; }
.nav-group__label {
  padding: 0 8px 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: var(--radius);
  color: var(--text-2); font-weight: 500;
  border: 0; background: none; width: 100%; text-align: left;
}
.nav-link:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.nav-link.is-active { background: var(--accent-soft); color: var(--accent-text); }
.nav-link.is-active .icon { color: var(--accent); }
.nav-link .icon { color: var(--text-3); }
.nav-link__label { flex: 1; }
.nav-badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  display: inline-grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.nav-badge[data-tone="danger"] { background: var(--danger-fg); color: #fff; }
.sidebar__footer {
  border-top: 1px solid var(--border);
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; color: var(--text-3);
}
.identity { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.identity__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface-3); color: var(--text-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.identity__name { font-weight: 500; color: var(--text); }
.sidebar__meta { display: flex; justify-content: space-between; gap: 8px; }
.version-mark { display: inline-flex; align-items: center; gap: 6px; }
.menu-btn { display: none; }
.scrim { display: none; }

/* -------------------------------------------------------------- typography */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-3);
}
.muted { color: var(--text-3); }
.secondary { color: var(--text-2); }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 12px; }
.prose { color: var(--text-2); max-width: 72ch; }
.prose + .prose { margin-top: 10px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { background: var(--surface-3); padding: 1px 5px; border-radius: 4px; font-size: 0.88em; }
.steps { padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; max-width: 80ch; }
.steps strong { color: var(--text); }
.steps code { background: var(--surface-3); padding: 1px 5px; border-radius: 4px; font-size: 0.88em; }
.wrap-any { overflow-wrap: anywhere; }
.grow { flex: 1; min-width: 0; }
.help[data-tone="danger"] { color: var(--danger-fg); }

/* --------------------------------------------------------------------- page */
.page__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.page__title { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; }
.page__lede { color: var(--text-3); margin-top: 3px; max-width: 80ch; }
.page__actions { display: flex; gap: 8px; align-items: center; flex: none; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--main { grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack--tight { gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }

/* --------------------------------------------------------------------- card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  min-width: 0;
}
.card__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.card__title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card__meta { color: var(--text-3); font-size: 12px; }
.card__body { padding: 16px 18px; }
.card__body--flush { padding: 0; }
.card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 12px;
}
.card--tone-danger { border-color: var(--danger-border); }
.card--tone-warning { border-color: var(--warning-border); }

/* -------------------------------------------------------------------- stats */
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 14px 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; overflow: hidden; min-width: 0;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--neutral-border);
}
.stat[data-tone="success"]::before { background: var(--success-fg); }
.stat[data-tone="warning"]::before { background: var(--warning-fg); }
.stat[data-tone="danger"]::before { background: var(--danger-fg); }
.stat[data-tone="info"]::before { background: var(--info-fg); }
.stat[data-tone="primary"]::before { background: var(--accent); }
.stat__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.stat__value { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stat__value--text { font-size: 17px; }
.stat__unit { font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.stat__note { font-size: 12px; color: var(--text-3); }
.stat--link { cursor: pointer; }
.stat--link:hover { border-color: var(--border-strong); }

/* -------------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 18px; white-space: nowrap;
  border: 1px solid var(--neutral-border);
  background: var(--neutral-bg); color: var(--neutral-fg);
  max-width: 100%;
}
.chip[data-tone="success"] { background: var(--success-bg); color: var(--success-fg); border-color: var(--success-border); }
.chip[data-tone="warning"] { background: var(--warning-bg); color: var(--warning-fg); border-color: var(--warning-border); }
.chip[data-tone="danger"] { background: var(--danger-bg); color: var(--danger-fg); border-color: var(--danger-border); }
.chip[data-tone="info"] { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-border); }
.chip[data-tone="primary"] { background: var(--primary-bg); color: var(--primary-fg); border-color: var(--primary-border); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip__detail { font-family: var(--font-mono); font-size: 11px; opacity: 0.85; }
.chip--sm { font-size: 11px; line-height: 16px; padding: 1px 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neutral-fg); }
.status-pill[data-tone="success"] .status-pill__dot { background: var(--success-fg); box-shadow: 0 0 0 3px var(--success-bg); }
.status-pill[data-tone="warning"] .status-pill__dot { background: var(--warning-fg); box-shadow: 0 0 0 3px var(--warning-bg); }
.status-pill[data-tone="danger"] .status-pill__dot { background: var(--danger-fg); box-shadow: 0 0 0 3px var(--danger-bg); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background 0.12s var(--ease), border-color 0.12s var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: var(--text-3); text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--danger { color: var(--danger-fg); border-color: var(--danger-border); }
.btn--danger:hover { background: var(--danger-bg); border-color: var(--danger-fg); }
.btn--danger-solid { background: var(--danger-fg); border-color: var(--danger-fg); color: #fff; }
.btn--danger-solid:hover { filter: brightness(1.1); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-3); border-color: transparent; color: var(--text); }
.btn--sm { height: 26px; padding: 0 9px; font-size: 12px; }
.btn--icon { width: 32px; padding: 0; }
.btn--icon.btn--sm { width: 26px; }
.btn .spinner { width: 14px; height: 14px; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border-strong); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--row { flex-direction: row; align-items: center; gap: 8px; }
.label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.label__hint { font-weight: 400; color: var(--text-3); margin-left: 6px; }
.help { font-size: 12px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; min-width: 0;
  height: 32px; padding: 0 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text);
  font-size: 13px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--ring); outline-offset: 0; border-color: var(--accent); }
.input:disabled, .select:disabled, .textarea:disabled { opacity: 0.6; background: var(--surface-2); }
.input--mono, .textarea--mono { font-family: var(--font-mono); font-size: 12.5px; }
.input--sm, .select--sm { height: 28px; font-size: 12px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger-fg); }
.textarea { height: auto; min-height: 96px; padding: 8px 10px; resize: vertical; line-height: 1.45; }
.select {
  padding-right: 28px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.search { position: relative; }
.search .icon { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search .input { padding-left: 30px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }

.switch {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: none; padding: 0; color: var(--text-2); font-size: 13px;
}
.switch__track {
  width: 34px; height: 20px; border-radius: 10px;
  background: var(--border-strong); position: relative; flex: none;
  transition: background 0.15s var(--ease);
}
.switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: transform 0.15s var(--ease);
}
.switch[aria-checked="true"] .switch__track { background: var(--accent); }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(14px); }
.switch:disabled { opacity: 0.5; cursor: not-allowed; }

.segmented {
  display: inline-flex; padding: 2px; gap: 2px;
  background: var(--surface-3); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.segmented__btn {
  border: 0; background: transparent; color: var(--text-2);
  height: 26px; padding: 0 10px; border-radius: 4px;
  font-size: 12.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.segmented__btn:hover { color: var(--text); }
.segmented__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.segmented__btn[data-tone="danger"].is-active { color: var(--danger-fg); }
.segmented__btn[data-tone="warning"].is-active { color: var(--warning-fg); }
.segmented__btn[data-tone="success"].is-active { color: var(--success-fg); }
.segmented--sm .segmented__btn { height: 22px; padding: 0 7px; font-size: 12px; }

.toolbar {
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}
.toolbar .field { min-width: 0; }
.toolbar__spacer { flex: 1; }
.section-title { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin: 18px 0 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form-grid .field--wide { grid-column: 1 / -1; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 9px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.table th {
  position: sticky; top: 0; z-index: 1;
  background: var(--surface-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.mono { font-family: var(--font-mono); font-size: 12px; }
.table td.nowrap, .table th.nowrap { white-space: nowrap; }
.table td.dim { color: var(--text-3); }
.table--clickable tbody tr { cursor: pointer; }
.table--clickable tbody tr:hover td { background: var(--surface-2); }
.table--clickable tbody tr.is-selected td { background: var(--accent-soft); }
.table--clickable tbody tr:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.table--compact th, .table--compact td { padding: 7px 10px; }
.table .chips { flex-wrap: nowrap; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12px; }
.table .cell-stack { display: flex; flex-direction: column; gap: 2px; }
.table .cell-sub { font-size: 11.5px; color: var(--text-3); }
.tr--muted td { color: var(--text-3); }

/* ------------------------------------------------------------------- kv list */
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 18px; font-size: 13px; }
.kv dt { color: var(--text-3); font-weight: 500; white-space: nowrap; }
.kv dd { min-width: 0; overflow-wrap: anywhere; }
.kv dd.mono { font-family: var(--font-mono); font-size: 12px; }
.kv--wide { grid-template-columns: 180px minmax(0, 1fr); }

/* --------------------------------------------------------------- side panel */
.panel-host { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.panel-host__scrim { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.35); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(var(--panel-w), 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column;
  animation: panel-in 0.18s var(--ease);
  pointer-events: auto;
}
@keyframes panel-in { from { transform: translateX(12px); opacity: 0; } }
.panel-host.is-open .panel-host__scrim { opacity: 1; pointer-events: auto; }
.panel--wide { --panel-w: 760px; }
.panel__header {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--border);
}
.panel__title { font-size: 15px; font-weight: 600; }
.panel__sub { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.panel__body { flex: 1; overflow-y: auto; padding: 4px 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.panel__footer { border-top: 1px solid var(--border); padding: 12px 20px; display: flex; gap: 8px; justify-content: flex-end; align-items: center; background: var(--surface-2); }
.panel__footer .grow { flex: 1; }
.section { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.section__title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ------------------------------------------------------------ dialog / toast */
.dialog-host { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(8, 10, 14, 0.45); padding: 20px; }
.dialog {
  width: min(520px, 100%);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column;
}
.dialog__header { padding: 16px 20px 6px; }
.dialog__title { font-size: 15px; font-weight: 600; }
.dialog__body { padding: 8px 20px 16px; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); }
.dialog__body p { max-width: none; }
.dialog__footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 40px)); }
.toast {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-2);
  font-size: 13px; animation: rise 0.18s var(--ease);
}
.toast .icon { margin-top: 1px; }
.toast[data-tone="success"] .icon { color: var(--success-fg); }
.toast[data-tone="danger"] .icon { color: var(--danger-fg); }
.toast[data-tone="warning"] .icon { color: var(--warning-fg); }
.toast[data-tone="info"] .icon { color: var(--info-fg); }
.toast__body { flex: 1; min-width: 0; }
.toast__title { font-weight: 600; }
.toast__text { color: var(--text-2); overflow-wrap: anywhere; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------------------------------------------------------- alerts / empty */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border); background: var(--neutral-bg); color: var(--text);
}
.alert .icon { flex: none; margin-top: 1px; color: var(--neutral-fg); }
.alert[data-tone="danger"] { border-color: var(--danger-border); background: var(--danger-bg); }
.alert[data-tone="danger"] .icon { color: var(--danger-fg); }
.alert[data-tone="warning"] { border-color: var(--warning-border); background: var(--warning-bg); }
.alert[data-tone="warning"] .icon { color: var(--warning-fg); }
.alert[data-tone="info"] { border-color: var(--info-border); background: var(--info-bg); }
.alert[data-tone="info"] .icon { color: var(--info-fg); }
.alert[data-tone="success"] { border-color: var(--success-border); background: var(--success-bg); }
.alert[data-tone="success"] .icon { color: var(--success-fg); }
.alert__body { flex: 1; min-width: 0; font-size: 13px; }
.alert__title { font-weight: 600; }
.alert__text { color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.alert__action { flex: none; }
.empty { padding: 36px 20px; text-align: center; color: var(--text-3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty .icon { width: 28px; height: 28px; color: var(--text-3); opacity: 0.7; }
.empty__title { color: var(--text-2); font-weight: 600; }
.empty__text { max-width: 52ch; font-size: 13px; }
.skeleton { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------- prompt / code */
.prompt {
  white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  max-height: 420px; overflow: auto;
}
.prompt--short { max-height: 220px; }
mark.redaction {
  background: var(--warning-bg); color: var(--warning-fg);
  border: 1px solid var(--warning-border); border-radius: 3px; padding: 0 4px;
  font-weight: 600; font-size: 0.92em;
}
.code {
  position: relative;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5;
  padding: 10px 44px 10px 12px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.code--block { white-space: pre; overflow-x: auto; }
.code .copy-btn { position: absolute; top: 6px; right: 6px; }
.copy-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 4px; border: 1px solid transparent; background: transparent; color: var(--text-3); }
.copy-btn:hover { background: var(--surface-3); color: var(--text); }
.copy-btn.is-done { color: var(--success-fg); }
.hash { font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere; }
.hash-row { display: flex; align-items: flex-start; gap: 6px; }
.hash-row .hash { flex: 1; min-width: 0; }
.hash-row .copy-btn { margin-top: -4px; }

/* ------------------------------------------------------- conditions & rules */
.cond { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.cond__field { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }
.cond__op { color: var(--text-3); }
.cond__value { font-family: var(--font-mono); font-size: 12px; background: var(--surface-3); padding: 0 5px; border-radius: 3px; }
.cond__join { color: var(--text-3); font-weight: 600; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 4px; }
.cond__paren { color: var(--text-3); }
.cond--always { color: var(--text-3); font-style: italic; }

.builder { display: flex; flex-direction: column; gap: 8px; }
.builder__group {
  border: 1px solid var(--border); border-left: 3px solid var(--border-strong);
  border-radius: var(--radius); padding: 10px; background: var(--surface-2);
  display: flex; flex-direction: column; gap: 8px;
}
.builder__group--any { border-left-color: var(--info-fg); }
.builder__group--all { border-left-color: var(--accent); }
.builder__group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.builder__group-head .help { flex: 1; }
.builder__children { display: flex; flex-direction: column; gap: 6px; }
.builder__leaf { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(130px, 1fr) minmax(120px, 1.4fr) auto auto; gap: 6px; align-items: center; }
.builder__leaf .select, .builder__leaf .input { height: 30px; font-size: 12.5px; }
.builder__leaf--novalue { grid-template-columns: minmax(150px, 1.2fr) minmax(130px, 1fr) auto auto; }
.builder__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.builder__empty { font-size: 12px; color: var(--text-3); padding: 4px 2px; }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; min-height: 22px; }
.check-line[data-state="ok"] { color: var(--success-fg); }
.check-line[data-state="bad"] { color: var(--danger-fg); }
.check-line[data-state="busy"], .check-line[data-state="idle"] { color: var(--text-3); }

.rule-order { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- rule wizard */
.stepper { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.stepper__step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-3); flex: 1; }
.stepper__step:last-child { flex: 0; }
.stepper__num { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-3); font-size: 11.5px; font-variant-numeric: tabular-nums; flex: none; }
.stepper__step.is-active { color: var(--text); }
.stepper__step.is-active .stepper__num { background: var(--accent); color: var(--on-accent); }
.stepper__step.is-done .stepper__num { background: var(--success-bg); color: var(--success-fg); }
.stepper__sep { flex: 1; height: 1px; background: var(--border); min-width: 16px; }
.wizard__title { font-size: 16px; font-weight: 600; padding-top: 14px; outline: none; }
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tpl-card { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-align: left; color: var(--text); cursor: pointer; transition: border-color 0.12s var(--ease), background 0.12s var(--ease); }
.tpl-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.tpl-card.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tpl-card:disabled { opacity: 0.55; cursor: not-allowed; }
.tpl-card .icon { color: var(--accent); margin-top: 2px; }
.tpl-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tpl-card__title { font-weight: 600; }
.tpl-card__blurb { font-size: 12.5px; color: var(--text-2); }
.tpl-card__example { font-size: 12px; color: var(--text-3); font-style: italic; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.choice-grid .checkbox { gap: 8px; }
.impact { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.impact__headline { font-size: 13.5px; font-weight: 600; }
.impact__list { display: flex; flex-direction: column; }
.impact__row { display: grid; grid-template-columns: 150px 90px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); font-size: 12.5px; }
.advanced summary { cursor: pointer; list-style: none; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary::before { content: "▸ "; }
.advanced[open] summary::before { content: "▾ "; }
.advanced[open] summary { margin-bottom: 10px; }

/* --------------------------------------------------------------------- diff */
.diff { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.diff__row { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.diff__row:last-child { border-bottom: 0; }
.diff__row > div { padding: 7px 10px; min-width: 0; overflow-wrap: anywhere; }
.diff__row > div:first-child { color: var(--text-3); font-weight: 500; background: var(--surface-2); }
.diff__row.is-changed .diff__before { background: var(--danger-bg); color: var(--danger-fg); }
.diff__row.is-changed .diff__after { background: var(--success-bg); color: var(--success-fg); }
.diff__head { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.diff__head > div { padding: 6px 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.diff .mono { font-family: var(--font-mono); font-size: 12px; }

.change-card { display: flex; flex-direction: column; gap: 12px; }
.change-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.change-card__note { font-size: 13px; color: var(--text-2); padding: 8px 10px; background: var(--surface-2); border-radius: var(--radius); border-left: 3px solid var(--border-strong); }

/* ---------------------------------------------------- classification queue */
.queue-item { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.queue-item:last-child { border-bottom: 0; }
.queue-item__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.queue-item__guess { font-size: 12.5px; color: var(--text-2); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.queue-item__guess q { font-family: var(--font-mono); font-size: 12px; background: var(--surface-3); padding: 0 4px; border-radius: 3px; quotes: none; }
.class-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.class-btn { height: 28px; padding: 0 10px; font-size: 12.5px; }
.class-btn.is-suggested { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.class-btn.is-suggested::after { content: "suggested"; font-size: 10px; color: var(--accent-text); margin-left: 2px; }
.progress { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 12.5px; }
.progress__label { color: var(--text-2); }
.progress__bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; grid-column: 1 / -1; }
.progress__bar svg { display: block; width: 100%; height: 6px; }
.progress__count { color: var(--text-3); font-variant-numeric: tabular-nums; }
.progress__fill { fill: var(--accent); }
.progress__fill--done { fill: var(--success-fg); }
.taxonomy details { border-bottom: 1px solid var(--border); }
.taxonomy details:last-child { border-bottom: 0; }
.taxonomy summary { cursor: pointer; padding: 10px 18px; display: flex; align-items: center; gap: 10px; list-style: none; font-weight: 500; }
.taxonomy summary::-webkit-details-marker { display: none; }
.taxonomy summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(-45deg); transition: transform 0.15s; flex: none; }
.taxonomy details[open] summary::before { transform: rotate(45deg); }
.taxonomy__body { padding: 0 18px 14px 34px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.taxonomy__list { padding-left: 18px; }
.taxonomy__list-title { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.taxonomy__list--ex .taxonomy__list-title { color: var(--danger-fg); }
.example-list { display: flex; flex-direction: column; gap: 4px; }
.example-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 6px 0; border-top: 1px solid var(--border); }
.example-row__meta { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

/* ------------------------------------------------------------- provider card */
.provider__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.provider__name { font-weight: 600; font-size: 14px; }
.provider__url { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; }
.control-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.control-row:last-child { border-bottom: 0; }
.control-row__name { font-weight: 500; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.control-row__meta { font-size: 12px; color: var(--text-3); }

/* ---------------------------------------------------------------- popover */
.popover-anchor { position: relative; }
.popover {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
  min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: 2px;
}
.popover .checkbox { padding: 5px 6px; border-radius: 4px; }
.popover .checkbox:hover { background: var(--surface-2); }
.popover__title { padding: 4px 6px 6px; }

/* --------------------------------------------------------------- tabs etc. */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); }
.tab { border: 0; background: none; padding: 8px 12px; color: var(--text-2); font-weight: 500; font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--accent-text); border-bottom-color: var(--accent); }
.divider { height: 1px; background: var(--border); }
.kbd { font-family: var(--font-mono); font-size: 11px; padding: 1px 5px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 4px; color: var(--text-2); }

/* ---------------------------------------------------------------- overview */
.recent-list { display: flex; flex-direction: column; }
.attention { display: flex; flex-direction: column; gap: 8px; }


/* ----------------------------------------------------------------- sign-in */
.login {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px 16px; background: var(--bg);
}
.login__card { width: 100%; max-width: 440px; padding: 26px 26px 24px; }
.login__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.login__form { display: flex; flex-direction: column; gap: 14px; }
.login__title { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin: 0; }
.login__lede { color: var(--text-2); font-size: 13px; line-height: 1.5; margin: -6px 0 0; }
.login__code { font-size: 20px; letter-spacing: 0.18em; height: 44px; text-align: center; }
.login__alt { border: 0; background: none; color: var(--accent-text); font-size: 12.5px; text-align: left; padding: 0; cursor: pointer; }
.login__alt:hover { text-decoration: underline; }
.login__who { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); background: var(--surface-2); }
.login__who > span:nth-child(2) { flex: 1; min-width: 0; }
.login__foot { color: var(--text-3); font-size: 11.5px; }
.enrol { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.enrol__key { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.enrol__secret { display: flex; align-items: center; gap: 6px; }
.enrol__secret code { font-family: var(--font-mono); font-size: 12.5px; word-break: normal; overflow-wrap: anywhere; line-height: 1.6; padding: 6px 8px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.qr { display: block; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.qr--empty { padding: 12px; color: var(--text-3); font-size: 12px; max-width: 220px; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.codes code { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; }
.action-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.action-row:last-child { border-bottom: 0; }
.action-row__title { font-weight: 500; }
.action-row .btn { flex: none; margin-top: 2px; }
.table tr.is-muted td { color: var(--text-3); }
.session-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.session-row > div:last-child { white-space: nowrap; flex: none; }
.session-row:last-child { border-bottom: 0; }
.identity__text { flex: 1; min-width: 0; }
.identity__text > div:last-child { text-transform: capitalize; }
.identity__btn {
  width: 28px; height: 28px; border-radius: var(--radius); border: 0; background: none;
  display: inline-grid; place-items: center; color: var(--text-3); cursor: pointer; flex: none;
}
.identity__btn:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.identity__btn.is-active { background: var(--accent-soft); color: var(--accent-text); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .grid--main { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: var(--sidebar-w); transform: translateX(-100%); transition: transform 0.2s var(--ease); box-shadow: var(--shadow-2); }
  .app.is-nav-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(8, 10, 14, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  .app.is-nav-open .scrim { opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 16px 16px 40px; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .form-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .builder__leaf, .builder__leaf--novalue { grid-template-columns: minmax(0, 1fr); }
  .diff__row, .diff__head { grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); }
  .tpl-grid, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .impact__row { grid-template-columns: minmax(0, 1fr); }
  .topbar__updated { display: none; }
  .enrol { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .codes { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media print {
  .sidebar, .topbar, .panel-host, .toast-host, .btn { display: none !important; }
  .app { grid-template-columns: 1fr; }
  .card, .stat { box-shadow: none; break-inside: avoid; }
}

/* ---------------------------------------------------------- full prompt */
.prompt--full { max-height: none; }
.prompt-part { display: flex; flex-direction: column; gap: 6px; }
.prompt-part__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.prompt-part__role { font-weight: 600; color: var(--text); }
.prompt-part__harness { font-family: var(--font-mono); color: var(--text-3); }
.prompt-part__size { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }
.prompt-part--system .prompt, .prompt-part--assistant .prompt { color: var(--text-2); }
.prompt-part--user .prompt { border-left: 3px solid var(--accent); }
.prompt-part--tool .prompt { border-left: 3px solid var(--info-border); }
