/* ============================================================
   PBM Litigation Tracker — Dashboard styles
   Built on Tess McCoy Benefits design tokens
   ============================================================ */

/* ── Status semantic colors (muted, harmonized w/ navy+gold) ── */
:root {
  --st-active:   #C0871F;   /* contested / live */
  --st-active-bg:#F7ECD6;
  --st-stayed:   #5A6A7E;   /* paused / on hold */
  --st-stayed-bg:#E7EAEE;
  --st-settled:  #3E7C5A;   /* resolved */
  --st-settled-bg:#E1EDE6;
  --st-pending:  #2C3E62;   /* awaiting ruling */
  --st-pending-bg:#E2E6EF;
  --st-na:       #9AA4B0;   /* not a party */
  --st-na-bg:    #EEF0F2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle warm paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -5%, rgba(184,146,90,0.06), transparent 60%),
    radial-gradient(900px 500px at -5% 100%, rgba(27,43,75,0.05), transparent 55%);
}

.wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

a { color: var(--fg-link); }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-navy);
  color: var(--fg-inverse);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 24px;
}
.brandmark { display: flex; align-items: baseline; gap: 12px; }
.brandmark .crest {
  font-family: var(--font-display);
  font-size: 22px; font-weight: var(--fw-semibold);
  color: var(--color-gold-light);
  letter-spacing: var(--ls-tight);
}
.brandmark .sub {
  font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: rgba(245,240,232,0.55); font-weight: var(--fw-medium);
}
.topbar nav { margin-left: auto; display: flex; gap: 4px; }
.topbar nav a {
  color: rgba(245,240,232,0.72); text-decoration: none;
  font-size: 13px; letter-spacing: 0.02em; padding: 7px 13px; border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.topbar nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.livechip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--color-gold-light); padding: 6px 11px; border: 1px solid rgba(212,175,130,0.35);
  border-radius: var(--radius-full); cursor: help;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5FBE8A; box-shadow: 0 0 0 0 rgba(95,190,138,0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(95,190,138,0.55);} 70%{box-shadow:0 0 0 7px rgba(95,190,138,0);} 100%{box-shadow:0 0 0 0 rgba(95,190,138,0);} }

/* ── Freshness banner ────────────────────────────────────── */
.freshbar { width: 100%; border-bottom: 1px solid var(--border-soft); }
.freshbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 32px;
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 13px;
}
.fb-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.fb-text { font-weight: var(--fw-medium); }
.fb-meta { color: inherit; opacity: 0.72; font-weight: var(--fw-light); }
/* current */
.freshbar.fresh { background: var(--st-settled-bg); color: #2C5E45; }
.freshbar.fresh .fb-dot { background: var(--st-settled); box-shadow: 0 0 0 4px rgba(62,124,90,0.18); }
/* overdue */
.freshbar.overdue { background: var(--st-active-bg); color: #8A5E12; }
.freshbar.overdue .fb-dot { background: var(--st-active); box-shadow: 0 0 0 0 rgba(192,135,31,0.5); animation: fbpulse 2s infinite; }
@keyframes fbpulse { 0% { box-shadow: 0 0 0 0 rgba(192,135,31,0.45); } 70% { box-shadow: 0 0 0 7px rgba(192,135,31,0); } 100% { box-shadow: 0 0 0 0 rgba(192,135,31,0); } }
.freshbar.overdue .fb-text { color: #7A5210; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 56px 0 30px; }
.hero .kicker {
  font-family: var(--font-body); font-size: 12px; letter-spacing: var(--ls-wider);
  text-transform: uppercase; color: var(--fg-accent); font-weight: var(--fw-medium); margin: 0 0 16px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-light);
  font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: var(--ls-tight);
  margin: 0 0 18px; max-width: 16ch; color: var(--fg-primary);
}
.hero h1 em { font-style: italic; color: var(--color-gold); }
.hero .lede {
  max-width: 62ch; font-size: 17px; line-height: var(--lh-relaxed); color: var(--fg-secondary);
  margin: 0 0 6px;
}
.hero .updated { margin-top: 18px; font-size: 13px; color: var(--fg-tertiary); }
.hero .updated b { color: var(--fg-secondary); font-weight: var(--fw-medium); }

/* ── Metric strip ────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0 8px; }
.metric {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 22px 22px 20px; box-shadow: var(--shadow-xs); cursor: help; transition: var(--transition-base);
}
.metric:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.metric .num { font-family: var(--font-display); font-size: 44px; font-weight: var(--fw-light); line-height: 1; color: var(--color-navy); }
.metric .num small { font-size: 22px; color: var(--color-gold); }
.metric .lbl { margin-top: 10px; font-size: 13px; color: var(--fg-secondary); line-height: 1.4; }

/* ── Section scaffolding ─────────────────────────────────── */
section.block { padding: 46px 0 8px; scroll-margin-top: 210px; }
.sec-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.sec-head .n {
  font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--color-gold);
  line-height: 1; padding-bottom: 4px;
}
.sec-head h2 {
  font-family: var(--font-display); font-weight: var(--fw-light); font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: var(--ls-tight); margin: 0; line-height: 1.05;
}
.sec-head p { margin: 4px 0 0; font-size: 14px; color: var(--fg-secondary); max-width: 56ch; }
.sec-head .meta { margin-left: auto; text-align: right; font-size: 12px; color: var(--fg-tertiary); }

/* ── Legend ──────────────────────────────────────────────── */
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 18px; align-items: center; }
.legend .lg { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-secondary); cursor: help; }
.swatch { width: 13px; height: 13px; border-radius: 4px; }

/* ── Status pill ─────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body);
  font-size: 11.5px; font-weight: var(--fw-medium); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px 5px 9px; border-radius: var(--radius-full); cursor: help; white-space: nowrap; line-height: 1;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.pill.active  { color: var(--st-active);  background: var(--st-active-bg); }
.pill.stayed  { color: var(--st-stayed);  background: var(--st-stayed-bg); }
.pill.settled { color: var(--st-settled); background: var(--st-settled-bg); }
.pill.pending { color: var(--st-pending); background: var(--st-pending-bg); }
.pill.na      { color: var(--st-na);      background: var(--st-na-bg); }

/* ── Status matrix ───────────────────────────────────────── */
.matrix-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
table.matrix { width: 100%; border-collapse: collapse; }
table.matrix th, table.matrix td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
table.matrix thead th {
  background: var(--color-navy); color: var(--fg-inverse); font-weight: var(--fw-medium);
  font-size: 12.5px; letter-spacing: 0.03em; border-bottom: none;
}
table.matrix thead th small { display: block; font-weight: var(--fw-light); color: rgba(245,240,232,0.6); font-size: 11px; margin-top: 3px; letter-spacing: 0.02em; }
table.matrix thead th.corner { background: var(--color-navy-dark); width: 230px; }
table.matrix tbody tr:last-child td { border-bottom: none; }
table.matrix tbody tr:hover { background: #FCFAF6; }
.party { display: flex; align-items: center; gap: 12px; }
.party .badge {
  width: 38px; height: 38px; border-radius: var(--radius-sm); flex: 0 0 auto;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 15px; color: #fff; cursor: help;
}
.party .nm { font-size: 14.5px; font-weight: var(--fw-medium); color: var(--fg-primary); cursor: help; }
.party .pn { font-size: 11.5px; color: var(--fg-tertiary); margin-top: 1px; }
td.cell { }
td.cell .note { display: block; margin-top: 6px; font-size: 11.5px; color: var(--fg-tertiary); }

/* ── Case cards ──────────────────────────────────────────── */
.cases { display: grid; gap: 22px; }
.case {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.case-head { padding: 24px 28px 20px; border-bottom: 1px solid var(--border-soft); position: relative; }
.case-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent, var(--color-gold)); }
.case-tier {
  font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; font-weight: var(--fw-medium);
  color: var(--fg-accent); cursor: help; display: inline-block;
}
.case-titlerow { display: flex; align-items: flex-start; gap: 18px; margin-top: 9px; flex-wrap: wrap; }
.case h3 {
  font-family: var(--font-display); font-weight: var(--fw-regular); font-size: 27px; line-height: 1.12;
  letter-spacing: var(--ls-tight); margin: 0; flex: 1 1 360px; color: var(--fg-primary);
}
.case h3 .docket { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--fg-tertiary); font-weight: var(--fw-regular); margin-top: 6px; letter-spacing: 0.02em; }
.case-statuses { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }

.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-soft); }
.case-meta .mi { background: var(--bg-card); padding: 15px 28px; }
.case-meta .mi .k { font-size: 10.5px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--fw-medium); }
.case-meta .mi .v { font-size: 14px; color: var(--fg-primary); margin-top: 5px; font-weight: var(--fw-regular); line-height: 1.35; }
.case-meta .mi .v a { text-decoration: none; border-bottom: 1px solid var(--color-gold); padding-bottom: 1px; }
.case-meta .mi .v a:hover { color: var(--color-gold); }
.case-meta .mi .v .help { cursor: help; border-bottom: 1px dotted var(--color-slate-light); }

.case-body { padding: 22px 28px 26px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; }
.case-body h4 {
  font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--fg-accent);
  font-weight: var(--fw-medium); margin: 0 0 12px;
}
.summary-txt { font-size: 14.5px; line-height: var(--lh-relaxed); color: var(--fg-secondary); margin: 0 0 22px; }

.alleg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag {
  font-size: 12px; padding: 6px 12px; border-radius: var(--radius-full); background: var(--bg-highlight);
  color: var(--color-navy); border: 1px solid rgba(184,146,90,0.28); cursor: help; font-weight: var(--fw-regular);
}

.parties-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-secondary); background: #FAF8F4; border: 1px solid var(--border-soft); padding: 5px 11px 5px 7px; border-radius: var(--radius-full); cursor: help; }
.pchip .pd { width: 9px; height: 9px; border-radius: 3px; }

/* filings timeline */
.filings { list-style: none; margin: 0; padding: 0; }
.filings li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--border-default); }
.filings li:last-child { border-left-color: transparent; padding-bottom: 0; }
.filings li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-gold); border: 2px solid var(--bg-card); }
.filings li.latest::before { background: var(--st-active); box-shadow: 0 0 0 4px var(--st-active-bg); }
.filings .fdate { font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--fw-medium); }
.filings .ftxt { font-size: 13.5px; color: var(--fg-primary); margin-top: 3px; line-height: 1.4; cursor: help; }
.filings .ftxt a { text-decoration: none; border-bottom: 1px solid var(--color-gold); }
.filings .ftxt a:hover { color: var(--color-gold); }

.docklinks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.docklink {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; text-decoration: none;
  color: var(--color-navy); background: #fff; border: 1px solid var(--border-default); padding: 8px 13px;
  border-radius: var(--radius-sm); transition: var(--transition-fast); font-weight: var(--fw-medium);
}
.docklink:hover { border-color: var(--color-gold); color: var(--color-gold); box-shadow: var(--shadow-xs); }
.docklink .ic { width: 14px; height: 14px; }

/* statements */
.statements { margin-top: 4px; display: grid; gap: 10px; }
.stmt {
  display: block; text-decoration: none; padding: 13px 16px; border-radius: var(--radius-md);
  background: #FAF8F4; border: 1px solid var(--border-soft); transition: var(--transition-fast);
}
.stmt:hover { border-color: var(--color-gold); background: #fff; box-shadow: var(--shadow-xs); }
.stmt .src { font-size: 11px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--fg-accent); font-weight: var(--fw-medium); }
.stmt .ttl { font-size: 13.5px; color: var(--fg-primary); margin-top: 4px; line-height: 1.4; }

/* ── State / legislative front ───────────────────────────── */
.state-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.state-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 22px 22px 20px; box-shadow: var(--shadow-xs); transition: var(--transition-base);
}
.state-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.state-card .pill { margin-bottom: 13px; }
.state-card h4 { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: 19px; margin: 0 0 8px; letter-spacing: var(--ls-tight); }
.state-card p { font-size: 13.5px; line-height: var(--lh-normal); color: var(--fg-secondary); margin: 0; }
.state-card .cite { display: inline-block; margin-top: 12px; font-size: 12px; cursor: help; border-bottom: 1px dotted var(--color-slate-light); color: var(--fg-tertiary); }

/* ── Executive summary ───────────────────────────────────── */
.exec {
  background: var(--color-navy); color: var(--fg-inverse); border-radius: var(--radius-xl);
  padding: 52px 56px; margin: 30px 0 0; position: relative; overflow: hidden;
}
.exec::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(184,146,90,0.18), transparent 70%); }
.exec .kicker { font-size: 12px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--color-gold-light); font-weight: var(--fw-medium); margin: 0 0 14px; }
.exec h2 { font-family: var(--font-display); font-weight: var(--fw-light); font-size: clamp(28px,3.6vw,40px); line-height: 1.08; letter-spacing: var(--ls-tight); margin: 0 0 24px; max-width: 22ch; color: #fff; }
.exec h2 em { font-style: italic; color: var(--color-gold-light); }
.exec-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; position: relative; z-index: 1; }
.exec-grid p { font-size: 15px; line-height: var(--lh-relaxed); color: rgba(245,240,232,0.82); margin: 0 0 16px; }
.exec-grid p b { color: #fff; font-weight: var(--fw-medium); }
.exec-grid .help-l { cursor: help; border-bottom: 1px dotted rgba(212,175,130,0.6); color: var(--color-gold-light); }
.takeaways { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.takeaways li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.takeaways .ti { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--color-gold-light); line-height: 1; padding-top: 2px; }
.takeaways .tt { font-size: 14px; line-height: var(--lh-normal); color: rgba(245,240,232,0.86); }
.takeaways .tt b { color: #fff; font-weight: var(--fw-medium); }

/* ── Footer ──────────────────────────────────────────────── */
.foot { padding: 40px 0 56px; margin-top: 36px; border-top: 1px solid var(--border-default); }
.foot .row { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.foot .crest { font-family: var(--font-display); font-size: 18px; color: var(--color-navy); font-weight: var(--fw-semibold); }
.foot p { font-size: 12.5px; color: var(--fg-tertiary); line-height: var(--lh-normal); margin: 14px 0 0; max-width: 92ch; }
.foot .disc { cursor: help; border-bottom: 1px dotted var(--color-slate-light); color: var(--fg-secondary); }

/* ── Tooltip engine ──────────────────────────────────────── */
#tip {
  position: fixed; z-index: 999; max-width: 320px; pointer-events: none;
  background: var(--color-navy-dark); color: var(--color-cream-light);
  border: 1px solid rgba(212,175,130,0.4); border-radius: var(--radius-md);
  padding: 12px 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(4px); transition: opacity 140ms ease, transform 140ms ease;
  font-family: var(--font-body);
}
#tip.show { opacity: 1; transform: translateY(0); }
#tip .tt-title { font-size: 11px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-gold-light); font-weight: var(--fw-medium); margin-bottom: 6px; }
#tip .tt-body { font-size: 13px; line-height: 1.5; font-weight: var(--fw-light); color: rgba(245,240,232,0.92); }
#tip .tt-body b { color: #fff; font-weight: var(--fw-medium); }
#tip::after {
  content: ""; position: absolute; width: 9px; height: 9px; background: var(--color-navy-dark);
  border-right: 1px solid rgba(212,175,130,0.4); border-bottom: 1px solid rgba(212,175,130,0.4);
}
#tip.below::after { top: -5px; left: var(--ax, 50%); transform: translateX(-50%) rotate(225deg); border-right-color: rgba(212,175,130,0.4); }
#tip.above::after { bottom: -5px; left: var(--ax, 50%); transform: translateX(-50%) rotate(45deg); }

[data-tip] { text-underline-offset: 2px; }

/* ── Filter toolbar ──────────────────────────────────────── */
.toolbar {
  position: sticky; top: 53px; z-index: 40;
  background: rgba(250,250,247,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-default);
}
.toolbar-inner { max-width: 1240px; margin: 0 auto; padding: 11px 32px; display: flex; flex-direction: column; gap: 9px; }
.toolbar-row { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.toolbar-row.top .toolbar-end { margin-left: auto; }
.chips-label { font-size: 10.5px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--fg-tertiary); font-weight: var(--fw-medium); }
.searchfield {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--border-default); border-radius: var(--radius-full);
  padding: 8px 15px; flex: 1 1 320px; min-width: 220px; max-width: 540px;
  transition: var(--transition-fast);
}
.searchfield:focus-within { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(184,146,90,0.12); }
.searchfield svg { width: 16px; height: 16px; color: var(--fg-tertiary); flex: 0 0 auto; }
.searchfield input { border: none; outline: none; background: none; font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-light); width: 100%; color: var(--fg-primary); }
.searchfield input::placeholder { color: var(--fg-tertiary); }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chipdiv { width: 1px; height: 22px; background: var(--border-default); flex: 0 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body);
  font-size: 12px; color: var(--fg-secondary); background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-full); padding: 6px 11px; cursor: pointer; transition: var(--transition-fast); white-space: nowrap;
}
.chip .cdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.chip:hover { border-color: var(--color-gold-light); color: var(--fg-primary); }
.chip.on { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.chip.on .cdot { box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }
.toolbar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.rcount { font-size: 12.5px; color: var(--fg-tertiary); white-space: nowrap; }
.resetbtn { font-family: var(--font-body); font-size: 12.5px; color: var(--color-navy); background: none; border: none; cursor: pointer; border-bottom: 1px solid var(--color-gold); padding: 0 0 1px; }
.resetbtn:hover { color: var(--color-gold); }

.hidden { display: none !important; }
table.matrix tbody tr.dim { opacity: 0.3; }
table.matrix tbody tr { transition: opacity var(--transition-base); }

.empty {
  margin-top: 4px; padding: 44px 32px; text-align: center; color: var(--fg-secondary);
  font-size: 15px; background: var(--bg-card); border: 1px dashed var(--border-default); border-radius: var(--radius-lg);
}
.empty button { font-family: var(--font-body); font-size: 15px; color: var(--color-navy); background: none; border: none; cursor: pointer; border-bottom: 1px solid var(--color-gold); padding: 0 0 1px; }
.empty button:hover { color: var(--color-gold); }

/* ── Changelog ───────────────────────────────────────────── */
.changelog { margin-top: 16px; max-width: 600px; }
.changelog summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-secondary); user-select: none; }
.changelog summary::-webkit-details-marker { display: none; }
.changelog summary:hover { color: var(--fg-primary); }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-active); box-shadow: 0 0 0 4px var(--st-active-bg); flex: 0 0 auto; }
.cl-latest { color: var(--fg-tertiary); }
.changelog[open] summary { margin-bottom: 12px; color: var(--fg-primary); }
.cl-list { display: grid; gap: 9px; padding: 2px 0 2px 16px; border-left: 2px solid var(--border-default); margin-left: 3px; }
.cl-row { font-size: 12.5px; line-height: 1.5; color: var(--fg-secondary); }
.cl-row b { color: var(--fg-primary); font-weight: var(--fw-medium); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 920px) {
  .toolbar { top: 0; }
  .toolbar-inner { padding: 10px 18px; }
  .toolbar-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .chipdiv { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .case-body { grid-template-columns: 1fr; gap: 22px; }
  .case-meta { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: 1fr; }
  .exec-grid { grid-template-columns: 1fr; gap: 26px; }
  .exec { padding: 40px 28px; }
  .topbar nav { display: none; }
  table.matrix thead th.corner { width: auto; }
  .wrap { padding: 0 18px; }
}
@media (max-width: 560px) {
  .metrics { grid-template-columns: 1fr; }
  table.matrix th, table.matrix td { padding: 12px 12px; }
  .party .pn { display: none; }
}
