/*
 * components.css — Crisol MCP component + layout styles (v1.1 Phase 62, Plan 62-02).
 *
 * The single stylesheet for the product web's component system. Consumes the
 * design tokens from tokens.css (var(--*)) — it NEVER redefines a :root variable.
 * Ported pixel-for-pixel from the design handoff prototypes (design_handoff_crisol_mcp/
 * *.dc.html), turning their repeated inline styles into reusable classes. Served from
 * /static/css/components.css and linked by base_app.html + base_admin.html alongside
 * tokens.css. Zero JavaScript (CSP Option A, locked in 62-01): toggles are visual state;
 * their POST wiring lands per-screen in Phases 63+.
 */

/* ---- Reset & base ---- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(52, 102, 154, 0.18); }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-thumb { background: #d8d4c9; border-radius: 7px; border: 3px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: #c7c2b4; }
a { color: inherit; text-decoration: none; }

/* ===================================================================
   SHELL — sidebar + main grid (base_app / base_admin)
   =================================================================== */
.shell {
  display: grid;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}
.shell--app { grid-template-columns: 248px 1fr; }   /* frontoffice (reduced) */
.shell--admin { grid-template-columns: 258px 1fr; } /* backoffice (full) */

/* ---- Sidebar ---- */
.sidebar {
  background: var(--surface-soft);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 18px 14px 14px;
}
.sidebar__logo { display: flex; align-items: center; padding: 6px 8px 16px; }
.sidebar__logo img { height: 42px; width: auto; }
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  overflow-y: auto;
  padding-top: 6px;
}
.nav-group { display: flex; flex-direction: column; gap: 3px; }
.nav-group__label {
  font: 600 10.5px var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 2px 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--muted);
  font: 500 13.5px var(--font-sans);
  border: 1px solid transparent;
}
.nav-item:hover { background: var(--surface-muted); }
.nav-item--active {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font-weight: 600;
}
.nav-item__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.nav-item__dot--ok { background: var(--ok); }
.nav-item__dot--warn { background: var(--warn); }
.nav-item__dot--neutral { background: var(--faint); }

.sidebar__footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0eee7;
  border: 1px solid #e2ddd2;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px var(--font-mono);
  color: #6b6a65;
  flex: none;
}
.sidebar__who { line-height: 1.2; min-width: 0; flex: 1; }
.sidebar__email {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__role { font-size: 11px; color: #9a988f; }
.logout-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a988f;
  flex: none;
}
.logout-btn:hover { color: var(--danger-ink); background: var(--danger-bg); }

/* ---- Main + topbar ---- */
.main { height: 100vh; overflow-y: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
  background: rgba(246, 245, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.topbar__sub { font-size: 13px; color: var(--muted-2); margin-top: 1px; }
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font: 600 12.5px var(--font-sans);
}
.topbar__badge--ok { background: var(--ok-bg); border: 1px solid var(--ok-border); color: var(--ok-ink); }
.topbar__badge--accent { background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent-ink); }
.topbar__badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(31, 157, 87, 0.14);
}
.topbar__badge--accent .pulse { background: var(--accent); box-shadow: 0 0 0 3px rgba(52, 102, 154, 0.14); }
.main__content { padding: 26px 32px 72px; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* ===================================================================
   COMPONENTS — atomic + molecular
   =================================================================== */

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font: 600 12px var(--font-sans);
  border: 1px solid transparent;
}
.badge--ok { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-border); }
.badge--warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-border); }
.badge--danger { background: var(--danger-bg); color: var(--danger-ink); border-color: var(--danger-border); }
.badge--neutral { background: var(--surface-muted); color: #6b6a65; border-color: #e2e0d8; }
.badge--accent { background: var(--accent-bg); color: var(--accent-ink); border-color: var(--accent-border); font-family: var(--font-mono); }

/* ---- Button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-control);
  padding: 9px 15px;
  font: 600 13.5px var(--font-sans);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; border: none; box-shadow: 0 1px 2px rgba(52, 102, 154, 0.25); }
.btn--primary:hover { filter: brightness(0.93); }
.btn--secondary { background: var(--surface); color: var(--ink-2); border: 1px solid #e2ddd2; }
.btn--secondary:hover { border-color: #cfc8b9; }
.btn--danger { background: transparent; color: var(--danger-ink); border: 1px solid var(--danger-border); }
.btn--danger:hover { background: var(--danger-bg); }
.btn--block { width: 100%; }

/* ---- Card ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.card__title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.card__sub { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.card--clickable { cursor: pointer; }
.card--clickable:hover { border-color: #bcd0e3; }
.card--danger { border-color: var(--danger-border); }
.divider { height: 1px; background: var(--border-soft); margin: 16px 0; }

/* ---- Field ---- */
.field { display: flex; flex-direction: column; }
.field__label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field__input {
  background: var(--surface-soft);
  border: 1px solid #e2ddd2;
  border-radius: var(--radius-control);
  padding: 11px 13px;
  color: var(--ink);
  font: 500 13.5px var(--font-sans);
  width: 100%;
}
.field__input--mono { font-family: var(--font-mono); }
.field__input:focus { border-color: var(--accent); outline: none; }

/* ---- Toggle switch (visual only — POST wiring in 63+) ---- */
.toggle {
  width: 42px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--toggle-off);
  position: relative;
  display: inline-block;
  flex: none;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  padding: 0;
}
.toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.2);
  transition: left 0.15s;
}
.toggle--on { background: var(--toggle-on); }
.toggle--on .toggle__knob { left: 20px; }
.toggle--mixed { background: var(--toggle-mixed); }
.toggle--mixed .toggle__knob { left: 11px; }
.toggle--off .toggle__knob { left: 2px; }
.toggle--mini { width: 34px; height: 20px; }
.toggle--mini .toggle__knob { width: 16px; height: 16px; }
.toggle--mini.toggle--on .toggle__knob { left: 16px; }
.toggle--mini.toggle--mixed .toggle__knob { left: 9px; }

/* ---- Notice ---- */
.notice {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: var(--radius-control);
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.45;
}
.notice--accent { background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent-ink); }
.notice--ok { background: var(--ok-bg); border: 1px solid var(--ok-border); color: var(--ok-ink); }
.notice--warn { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-ink); }
.notice--danger { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger-ink); }

/* ---- Empty state ---- */
.empty-state {
  border: 1px dashed #d8d4c9;
  border-radius: 11px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.empty-state__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 18px;
}
.empty-state__title { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.empty-state__text { font-size: 12.5px; color: var(--muted-2); line-height: 1.4; max-width: 200px; }

/* ---- Health banner ---- */
.health-banner {
  border-radius: 15px;
  border: 1px solid #d7e7da;
  background: linear-gradient(112deg, #eef6f0 0%, var(--surface-soft) 62%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.health-banner__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: #e3f3e9; border: 1px solid #c4e6cf;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.health-banner__icon .pulse {
  width: 13px; height: 13px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 5px rgba(31, 157, 87, 0.14);
}
.health-banner__body { flex: 1; min-width: 240px; }
.health-banner__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.health-banner__text { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.health-banner--warn { border-color: var(--warn-border); background: linear-gradient(112deg, var(--warn-bg) 0%, var(--surface-soft) 62%); }
.health-banner--warn .health-banner__icon { background: #f9edd2; border-color: var(--warn-border); }
.health-banner--warn .pulse { background: var(--warn); box-shadow: 0 0 0 5px rgba(224, 169, 59, 0.14); }

/* ---- Checklist ---- */
.checklist { display: flex; flex-direction: column; gap: 11px; }
.checklist__item { display: flex; align-items: flex-start; gap: 10px; }
.checklist__mark {
  width: 18px; height: 18px; border-radius: 6px; flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.checklist__mark--done { background: #e3f3e9; color: var(--ok-ink); }
.checklist__mark--pending { background: var(--warn-bg); border: 1px solid #e6c98a; }
.checklist__mark--optional { background: var(--bg); border: 1px solid #d8d4c9; }
.checklist__label { font-size: 13px; color: var(--ink); }
.checklist__label--done { color: #9a988f; text-decoration: line-through; text-decoration-color: #d0cdc2; }
.checklist__opt { color: var(--faint); font-size: 11px; }
.progress { height: 5px; border-radius: 3px; background: #ece9e1; overflow: hidden; }
.progress__fill { height: 100%; background: linear-gradient(90deg, #1f9d57, #34669a); border-radius: 3px; }

/* ---- Source row ---- */
.source-row { display: flex; align-items: center; gap: 11px; }
.source-row__name { font-size: 13px; color: var(--ink-2); flex: 1; }
.source-row__status { font-size: 12px; font-weight: 600; }
.source-row__status--ok { color: var(--ok-ink); }
.source-row__status--warn { color: var(--warn-ink); }
.source-row__status--neutral { color: var(--faint); }

/* ---- Icon chip (mono source/family monogram) ---- */
.icon-chip {
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font: 600 10px var(--font-mono); color: #6b6a65; flex: none;
}
.icon-chip--sm { width: 28px; height: 28px; }
.icon-chip--md { width: 34px; height: 34px; border-radius: 9px; font-size: 11px; }
.icon-chip--lg { width: 36px; height: 36px; border-radius: 9px; font-size: 11px; }
.icon-chip img { width: 64%; height: 64%; object-fit: contain; display: block; }

/* ---- Tool family / tool row ---- */
.tool-family {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tool-family__header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
}
.tool-family__meta { flex: 1; min-width: 0; }
.tool-family__name { font-size: 14px; font-weight: 600; }
.tool-family__note { font-size: 12px; color: var(--muted-2); margin-top: 1px; }
.tool-family__count { font: 600 11.5px var(--font-mono); color: var(--accent); }
.tool-family__detail { background: var(--surface-soft); border-top: 1px solid var(--border-soft); }
.tool-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.tool-row:last-child { border-bottom: none; }
.tool-row__id { font: 500 12.5px var(--font-mono); color: var(--ink-2); flex: 1; }
.tool-row__id--inactive { color: var(--faint); }
.tool-row__desc { font-size: 13px; color: var(--muted); }

/* ---- Write-permission card ---- */
.write-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.write-card--on-warn { border-color: var(--warn-border); }
.write-card--on-danger { border-color: var(--danger-border); }
.write-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.write-card__title { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.write-card__body { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 8px; }

/* ---- Usage meter (access banner — admin) ---- */
.usage-meter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.usage-meter__count { font-size: 15px; font-weight: 700; }
.usage-meter__bar { height: 6px; border-radius: 3px; background: #ece9e1; overflow: hidden; margin: 12px 0; }
.usage-meter__fill { height: 100%; background: var(--accent); border-radius: 3px; }

/* ===================================================================
   Design-system reference (/admin/design) — palette swatches
   =================================================================== */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.swatch__chip { height: 46px; border-radius: 9px; border: 1px solid var(--border); }
.swatch__name { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; font-weight: 600; }
.swatch__hex { font-size: 10.5px; color: var(--faint); font-family: var(--font-mono); }
.swatch__chip--bg { background: var(--bg); }
.swatch__chip--surface { background: var(--surface); }
.swatch__chip--border { background: var(--border); }
.swatch__chip--accent { background: var(--accent); }
.swatch__chip--ok { background: var(--ok); }
.swatch__chip--warn { background: var(--warn); }
.swatch__chip--danger { background: var(--danger); }
.swatch__chip--ink { background: var(--ink); }
.ds-label {
  font: 600 11px var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 15px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.cluster { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

/* Key-value row + monospace text — additive utilities (Phase 63, Plan 63-01) the
   re-skinned screens (status/ads/writes/access) need for label↔value lists. Append-only:
   no existing class changed. */
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--border-soft);
}
.row:first-of-type { border-top: none; }
.mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }

/* Inicio layout: main column + right rail, and a whole-card link wrapper (zero JS — the
   clickable section cards are <a> wrappers). Additive (Phase 63, Plan 63-02): no existing
   class changed; :root untouched. Collapses to one column under 900px. */
.cols-main-rail {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: start;
}
.cols-main-rail > * { display: flex; flex-direction: column; gap: 16px; }
.card-link { text-decoration: none; color: inherit; display: block; }
@media (max-width: 900px) { .cols-main-rail { grid-template-columns: 1fr; } }

/* Functional switch (CSS-only checkbox→switch) + dense table — additive utilities
   (Phase 63, Plan 63-03) for Escritura (a REAL form checkbox that POSTs under CSP
   script-src 'none', styled as a switch) and Acceso (admins/invitees tables). The
   decorative .toggle (a <span>) cannot submit a form, so write toggles use a real
   <input type=checkbox> here. Append-only: no existing class changed; :root untouched. */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.switch__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch__track { position: relative; flex: none; width: 40px; height: 22px; border-radius: var(--radius-pill); background: var(--toggle-off); transition: background .15s ease; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(28, 27, 25, 0.2); transition: left .15s ease; }
.switch__input:checked + .switch__track { background: var(--toggle-on); }
.switch__input:checked + .switch__track::after { left: 20px; }
.switch__input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border-soft); }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* Tools panel: collapsible family (native <details>, CSP-safe) + per-tool row with a
   real .switch — additive utilities (Phase 63, Plan 63-04). The family header is a
   <summary>; the 3-state aggregate is shown as a server-computed badge (no interactive
   all-or-nothing family toggle — that needs JS, forbidden under CSP Option A). The
   per-tool control is a real <input type=checkbox> .switch that POSTs without JS.
   Append-only: no existing class changed; :root untouched. */
.tool-family { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.tool-family__head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.tool-family__head::-webkit-details-marker { display: none; }
.tool-family__icon { flex: none; width: 34px; height: 34px; border-radius: var(--radius-control); background: var(--surface-muted); color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tool-family__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.tool-family__meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-family__count { font-size: 12.5px; color: var(--muted-2); }
.tool-family__chevron { margin-left: auto; color: var(--muted-2); font-size: 12px; transition: transform .15s ease; }
.tool-family[open] .tool-family__chevron { transform: rotate(90deg); }
.tool-family__body { border-top: 1px solid var(--border-soft); background: var(--surface-soft); padding: 4px 16px; }
.tool-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.tool-row:last-child { border-bottom: none; }
.tool-row__name { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.switch--mini .switch__track { width: 34px; height: 20px; }
.switch--mini .switch__track::after { width: 16px; height: 16px; }
.switch--mini .switch__input:checked + .switch__track::after { left: 16px; }

/* ===================================================================
   Bar fill widths (Plan 65-03) — quantized to 5% steps so progress +
   usage-meter bars set their width via a CLASS, not an inline style=
   (the CSP 'unsafe-inline' drop, 65-03, blocks inline style attributes).
   Shared by .progress__fill and .usage-meter__fill. ±2.5% rounding is
   imperceptible on a 5-6px bar. Decision user-driven 2026-06-22.
   =================================================================== */
.bar-fill--w0   { width: 0; }
.bar-fill--w5   { width: 5%; }
.bar-fill--w10  { width: 10%; }
.bar-fill--w15  { width: 15%; }
.bar-fill--w20  { width: 20%; }
.bar-fill--w25  { width: 25%; }
.bar-fill--w30  { width: 30%; }
.bar-fill--w35  { width: 35%; }
.bar-fill--w40  { width: 40%; }
.bar-fill--w45  { width: 45%; }
.bar-fill--w50  { width: 50%; }
.bar-fill--w55  { width: 55%; }
.bar-fill--w60  { width: 60%; }
.bar-fill--w65  { width: 65%; }
.bar-fill--w70  { width: 70%; }
.bar-fill--w75  { width: 75%; }
.bar-fill--w80  { width: 80%; }
.bar-fill--w85  { width: 85%; }
.bar-fill--w90  { width: 90%; }
.bar-fill--w95  { width: 95%; }
.bar-fill--w100 { width: 100%; }

/* ===================================================================
   Design-system reference helpers (Plan 65-03) — replace the last 5 inline
   style= attributes in design_system.html (admin-only /admin/design) with
   classes, so the whole template catalogue is zero-inline.
   =================================================================== */
.ds-type-sans { font-size: 26px; }
.ds-type-mono { font-size: 20px; font-weight: 500; font-family: var(--font-mono); }
.ds-label--spaced { margin-top: 20px; }
.ds-source-list { gap: 13px; margin-top: 14px; }
.ds-progress-wrap { margin: 14px 0; }
