/* LocalLimitsHQ — modern-clean design system
   Brand: the limit line. A deep basin-teal chrome, one floating light surface,
   white cards, soft depth. Bricolage Grotesque speaks for the product,
   Public Sans does the work, Spline Sans Mono is the data voice — every
   measured value is set in it, nothing else is.
   Chart palette #0D9488/#2A78D6/#EB6834 validated (dataviz six checks, light). */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Public+Sans:ital,wght@0,400..800;1,400..600&family=Spline+Sans+Mono:wght@400..700&display=swap');

:root {
  /* chrome */
  --brand-deepest: #072A2D;
  --brand-deep:    #0A3538;
  --brand-ink:     #0C3D40;

  /* action */
  --brand:      #0E7C6B;
  --brand-down: #0B6B5C;
  --brand-soft: #E3F1EE;
  --brand-tint: #F0F7F5;

  /* ink on light */
  --ink:    #132C31;
  --slate:  #3F5A57;
  --muted:  #527066;
  --faint:  #7C948E;

  /* surfaces */
  --paper:    #FFFFFF;
  --ground:   #F3F7F6;
  --ground-2: #E9F0EE;
  --line:      #DCE7E4;
  --line-soft: #EAF1EF;

  /* semantics — binding criterion is amber, and amber is nothing else */
  --bind:      #9A5B00;
  --bind-wash: #FDF3E1;
  --bind-line: #EBD3A0;
  --crit:      #B42323;
  --crit-wash: #FBEAEA;
  --crit-line: #EFC2C2;
  --good:      #15693B;
  --good-wash: #E6F3EB;
  --good-line: #BFE0CC;
  --info:      #2563B8;
  --info-wash: #E8F0FB;
  --info-line: #C3D7F2;

  /* charts (validated set — use in order, never cycle) */
  --chart-1: #0D9488;
  --chart-2: #2A78D6;
  --chart-3: #EB6834;

  --display: "Bricolage Grotesque", "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --r-card: 16px;
  --r-ctl: 10px;
  --shadow-card: 0 1px 2px rgba(12,61,64,.05), 0 8px 24px -8px rgba(12,61,64,.08);
  --shadow-raise: 0 2px 4px rgba(12,61,64,.06), 0 16px 40px -12px rgba(12,61,64,.18);
  --rail: 248px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--brand-ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--display);
  font-weight: 620; letter-spacing: -0.015em; text-wrap: balance;
}
p { margin: 0; }
svg { display: block; }

/* the data voice — anywhere digits carry meaning */
.num, td.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- micro-typography ---------- */
.eyebrow {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cite {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border-bottom: 1px dotted var(--faint); cursor: help;
}

/* ---------- app shell: dark chrome, one floating light surface ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }

.rail {
  color: #B9CDCB;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 18px 14px 14px;
  background:
    radial-gradient(560px 300px at -30% -8%, rgba(14,124,107,.35), transparent 64%),
    var(--brand-ink);
}

.brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 0; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--display); font-size: 15.5px; font-weight: 660;
  color: #fff; letter-spacing: -.01em; line-height: 1.1;
}
.brand__name small { font-weight: 460; color: #8FB5AE; font-size: 15.5px; letter-spacing: 0; }

/* tenant switcher — consultants live in several of these */
.tenant {
  margin: 16px 2px 4px; padding: 8px 10px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; color: #E8F1F0; cursor: pointer;
}
.tenant:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.tenant__badge {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #128875, #0A5D50);
}
.tenant__name { font-size: 12.5px; font-weight: 600; line-height: 1.2; color: #fff; }
.tenant__sub { font-size: 10.5px; color: #8FB5AE; }
.tenant__chev { margin-left: auto; color: #8FB5AE; }

.rail__group { padding: 16px 2px 0; }
.rail__group > .eyebrow { color: #6E938D; padding-left: 10px; font-size: 9.5px; }
.rail nav { display: flex; flex-direction: column; gap: 2px; margin-top: 7px; }
.rail nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 10px;
  color: #B9CDCB; font-size: 13px; font-weight: 520; text-decoration: none;
}
.rail nav a .ico { color: #7FA39D; }
.rail nav a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.rail nav a:hover .ico { color: #fff; }
.rail nav a[aria-current="page"] {
  background: linear-gradient(135deg, #10836F, #0C6355);
  color: #fff; font-weight: 620;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 14px -6px rgba(0,0,0,.5);
}
.rail nav a[aria-current="page"] .ico { color: #fff; }
.rail nav a .tag {
  margin-left: auto;
  font-family: var(--mono); font-size: 10px; font-weight: 600; color: #A5C2BD;
  background: rgba(255,255,255,.09); border-radius: 999px; padding: 1px 7px;
}
.ico { width: 17px; height: 17px; flex: none; }

/* study phase list — the workflow, resident in the rail */
.phases { display: flex; flex-direction: column; margin-top: 7px; position: relative; }
.phases a {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border-radius: 10px;
  color: #B9CDCB; font-size: 13px; font-weight: 520; text-decoration: none;
  position: relative;
}
.phases a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.phases .ph {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  background: rgba(255,255,255,.08); color: #8FB5AE;
  border: 1px solid rgba(255,255,255,.14);
}
.phases a.is-done .ph { background: rgba(16,131,111,.45); border-color: rgba(102,199,183,.5); color: #9FE0D3; }
.phases a[aria-current="page"] { background: linear-gradient(135deg, #10836F, #0C6355); color: #fff; font-weight: 620; }
.phases a[aria-current="page"] .ph { background: #fff; color: var(--brand-down); border-color: #fff; }

.rail__foot { margin-top: auto; padding: 12px 4px 2px; }
.rail__user {
  display: flex; gap: 10px; align-items: center; padding: 9px 10px;
  border-radius: 12px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.07);
}
.rail__user b { display: block; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.rail__user .hint { color: #8FB5AE; font-size: 10.5px; }

.av {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #16A085, #0B5D50);
  border: 2px solid rgba(255,255,255,.2);
}
.av--sm { width: 24px; height: 24px; font-size: 9.5px; border-width: 1.5px; }
.avstack { display: flex; }
.avstack .av { border: 2px solid var(--paper); margin-left: -7px; }
.avstack .av:first-child { margin-left: 0; }

/* the floating light surface */
.main {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--ground);
  border-radius: 22px 0 0 22px;
  box-shadow: -12px 0 34px rgba(0,0,0,.22);
  position: relative;
}

.mockbar {
  color: #A5C2BD; background: transparent;
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em;
  padding: 7px 26px 0; display: flex; gap: 14px; align-items: center;
  position: absolute; top: -34px; /* parked above surface on dark chrome */
}
/* in-flow variant used at top of .main */
.mockbar--flow { position: static; background: var(--ground-2); color: var(--muted); padding: 5px 26px; border-radius: 22px 0 0 0; }
.mockbar a { color: var(--brand); }
.mockbar .spacer { flex: 1; }

.topbar {
  padding: 14px 26px 12px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 22px 0 0 0;
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { color: var(--faint); }
.topbar__title { font-family: var(--display); font-size: 15px; font-weight: 640; color: var(--ink); }
.spacer { flex: 1; }

/* permit-cycle clock — lives in the topbar on every study screen */
.clock {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--bind);
  background: var(--bind-wash); border: 1px solid var(--bind-line);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.clock .num { font-weight: 700; }

.content { padding: 22px 26px 64px; display: flex; flex-direction: column; gap: 18px; }
.content--narrow { max-width: 1160px; }

/* page head inside content */
.pagehead { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pagehead h1 { font-size: 23px; letter-spacing: -.02em; }
.pagehead .hint { max-width: 62ch; }

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.card__head {
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.card__title { font-family: var(--display); font-size: 14.5px; font-weight: 640; }
.card__sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.card__body { padding: 16px 18px; }
.card__foot {
  padding: 11px 18px; border-top: 1px solid var(--line-soft);
  background: var(--brand-tint); border-radius: 0 0 var(--r-card) var(--r-card);
  display: flex; gap: 10px; align-items: center;
}
.card--wash { background: linear-gradient(180deg, var(--brand-tint), var(--paper) 56%); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 18px; align-items: start; }
@media (max-width: 1220px) {
  .with-rail, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 15px 17px 14px;
  display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden;
}
.stat__l { font-size: 12px; font-weight: 600; color: var(--muted); }
.stat__k {
  font-family: var(--display); font-size: 28px; font-weight: 660;
  letter-spacing: -.02em; line-height: 1.15; color: var(--ink);
}
.stat__k small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat__d { font-size: 11.5px; color: var(--faint); }
.stat--bind::before, .stat--crit::before, .stat--brand::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 4px 0 0 4px;
}
.stat--bind::before { background: var(--bind); }
.stat--bind .stat__k { color: var(--bind); }
.stat--crit::before { background: var(--crit); }
.stat--crit .stat__k { color: var(--crit); }
.stat--brand::before { background: var(--brand); }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border-radius: 0 0 var(--r-card) var(--r-card); }
table.t { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
table.t th, table.t td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
table.t thead th {
  position: sticky; top: 0; z-index: 5;
  background: var(--paper);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
table.t tbody tr:hover td { background: var(--brand-tint); }
table.t td.num, table.t th.num { text-align: right; }
table.t td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; }
table.t tbody tr:last-child td { border-bottom: 0; }
.t__name { font-weight: 620; }
.t__sym { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 6px; }
.na { color: var(--faint); font-family: var(--mono); }

/* the signature move: the criterion that binds carries the limit line */
td.bind {
  background: var(--bind-wash) !important;
  color: var(--bind); font-weight: 680;
  box-shadow: inset 0 -2.5px 0 var(--bind);
}
td.result { background: var(--ground); font-weight: 680; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 680; letter-spacing: .015em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.pill--draft  { background: var(--ground-2); color: var(--slate); border-color: var(--line); }
.pill--review { background: var(--bind-wash); color: var(--bind); border-color: var(--bind-line); }
.pill--sub    { background: var(--info-wash); color: var(--info); border-color: var(--info-line); }
.pill--ok     { background: var(--good-wash); color: var(--good); border-color: var(--good-line); }
.pill--crit   { background: var(--crit-wash); color: var(--crit); border-color: var(--crit-line); }
.pill--brand  { background: var(--brand-soft); color: var(--brand-down); border-color: #BFDDD6; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* element chips (Cd, Hg…) */
.el {
  display: inline-grid; place-items: center; min-width: 26px; padding: 2px 6px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  background: var(--bind-wash); color: var(--bind); border: 1px solid var(--bind-line);
  border-radius: 7px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans); font-size: 13px; font-weight: 620;
  padding: 8px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(12,61,64,.05);
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { background: var(--brand-tint); border-color: #C9DCD7; text-decoration: none; }
.btn .ico { width: 15px; height: 15px; }
.btn--primary {
  background: linear-gradient(180deg, #12866F, var(--brand-down));
  border-color: var(--brand-down); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px -1px rgba(11,107,92,.5);
}
.btn--primary:hover { background: var(--brand-down); }
.btn--danger { color: var(--crit); border-color: var(--crit-line); }
.btn--danger:hover { background: var(--crit-wash); border-color: var(--crit-line); }
.btn--sm { font-size: 12px; padding: 5px 10px; border-radius: 8px; }
.btn--ghost { border-color: transparent; background: transparent; color: var(--slate); box-shadow: none; }
.btn--ghost:hover { background: var(--ground-2); border-color: transparent; }

/* segmented control */
.seg {
  display: inline-flex; gap: 2px; padding: 3px;
  background: var(--ground-2); border-radius: var(--r-ctl); border: 1px solid var(--line-soft);
}
.seg a, .seg button {
  font-size: 12px; font-weight: 620; color: var(--muted);
  padding: 4px 12px; border-radius: 8px; border: 0; background: transparent;
  cursor: pointer; text-decoration: none;
}
.seg .is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(12,61,64,.14); }
.seg a:hover { text-decoration: none; color: var(--ink); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field > label { font-size: 12.5px; font-weight: 640; color: var(--ink); }
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field select, .field textarea {
  font-family: var(--mono); font-size: 13px;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: var(--r-ctl);
  background: var(--paper); color: var(--ink); width: 100%;
  box-shadow: inset 0 1px 2px rgba(12,61,64,.04);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); outline: none; box-shadow: 0 0 0 3.5px var(--brand-soft);
}
.field--inline { display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: 10px; }
.field--inline > label { grid-column: 1; }
.field--inline .hint { grid-column: 1 / -1; margin-top: -3px; }
.inwrap { position: relative; }
.inwrap .unit {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px; color: var(--faint); pointer-events: none;
}
.unit { font-family: var(--mono); font-size: 11px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { padding: 0; margin-bottom: 10px; font-family: var(--display); font-size: 13.5px; font-weight: 640; }

/* switch */
.sw { position: relative; width: 36px; height: 21px; flex: none; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw i {
  position: absolute; inset: 0; border-radius: 999px; background: var(--line);
  transition: background .15s; pointer-events: none;
}
.sw i::after {
  content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(12,61,64,.3);
  transition: transform .15s;
}
.sw input:checked + i { background: var(--brand); }
.sw input:checked + i::after { transform: translateX(15px); }
.toggle { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.toggle:last-child { border-bottom: 0; }
.toggle__t { font-size: 13px; font-weight: 620; }

/* choice cards (radio-as-card) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.choice {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px;
  cursor: pointer; background: var(--paper);
}
.choice:hover { border-color: #BFDDD6; }
.choice input { accent-color: var(--brand); margin-top: 2px; }
.choice.is-on { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--brand-soft); }
.choice b { font-size: 13px; font-weight: 640; display: block; }

.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 4px; }
.checkgrid label {
  display: flex; gap: 8px; align-items: center; padding: 7px 9px;
  border-radius: 9px; font-size: 13px; cursor: pointer;
}
.checkgrid label:hover { background: var(--brand-tint); }
.checkgrid input { accent-color: var(--brand); }

/* ---------- notes / callouts ---------- */
.note {
  border-radius: 12px; padding: 11px 14px 11px 40px; position: relative;
  font-size: 13px; line-height: 1.5; color: var(--ink);
  background: var(--brand-soft); border: 1px solid #C7E0DA;
}
.note::before {
  content: ""; position: absolute; left: 13px; top: 12px; width: 17px; height: 17px;
  border-radius: 50%; background: currentColor; opacity: 0; /* replaced by .note .ico */
}
.note > .ico { position: absolute; left: 13px; top: 13px; width: 17px; height: 17px; color: var(--brand-down); }
.note strong { font-weight: 680; }
.note--warn { background: var(--bind-wash); border-color: var(--bind-line); }
.note--warn > .ico { color: var(--bind); }
.note--crit { background: var(--crit-wash); border-color: var(--crit-line); }
.note--crit > .ico { color: var(--crit); }
.note--good { background: var(--good-wash); border-color: var(--good-line); }
.note--good > .ico { color: var(--good); }

/* ---------- meters & mini-viz (dataviz mark specs: 2px gaps, rounded data ends) ---------- */
.meter { height: 8px; border-radius: 999px; background: var(--ground-2); overflow: hidden; display: flex; gap: 2px; }
.meter > i { display: block; height: 100%; border-radius: 999px; }
.meter__fill { background: var(--brand); }
.meter__fill--bind { background: var(--bind); }
.meter__fill--crit { background: var(--crit); }
.meter__fill--good { background: var(--good); }
.meter__fill--soft { background: #BFDDD6; }

.spark { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.spark i { flex: 1; min-width: 5px; background: var(--brand-soft); border-radius: 4px 4px 0 0; }
.spark i.hi { background: var(--chart-1); }

/* legend chips for any multi-series viz */
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--slate); }
.legend b { font-weight: 620; }
.legend .swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }

/* ---------- timeline ---------- */
.tl { display: flex; flex-direction: column; }
.tl__row { display: flex; gap: 12px; position: relative; padding: 0 0 16px 2px; }
.tl__row:last-child { padding-bottom: 2px; }
.tl__row::before {
  content: ""; position: absolute; left: 7.5px; top: 16px; bottom: 0; width: 1.5px;
  background: var(--line-soft);
}
.tl__row:last-child::before { display: none; }
.tl__dot {
  width: 13px; height: 13px; border-radius: 50%; flex: none; margin-top: 3px;
  background: var(--brand-soft); border: 2.5px solid var(--brand); z-index: 1;
}
.tl__row--sys .tl__dot { border-color: var(--faint); background: var(--ground-2); }
.tl__body { font-size: 12.5px; color: var(--slate); line-height: 1.45; }
.tl__body b { color: var(--ink); font-weight: 640; }
.tl__when { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 40px 24px; color: var(--muted); }
.empty .ico { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--faint); }
.empty b { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); margin-bottom: 4px; }

/* ---------- misc ---------- */
.row { display: flex; align-items: center; gap: 10px; }
kbd {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 5px;
}
hr.soft { border: 0; border-top: 1px solid var(--line-soft); margin: 14px 0; }
