/* FERC Large Load Show Cause Orders — public-record identity.
   System fonts only. Flat surfaces, hairline rules, one navy masthead, one accent, one deadline hue. */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Charter", "Source Serif 4", "Iowan Old Style", "Palatino", "Georgia", "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --bg: #f4f1ea;          /* warm paper */
  --surface: #ffffff;
  --surface-2: #efeadf;
  --masthead: #0b2545;    /* FERC navy */
  --masthead-2: #102f56;
  --ink: #15212e;
  --text-muted: #51606e;
  --rule: #d9d2c4;
  --rule-strong: #b9b09c;

  --accent: #1a4480;      /* federal blue */
  --accent-ink: #12325f;
  --deadline: #9a3412;    /* burnt amber — 30/60-day clocks only */
  --deadline-bg: #fbeee6;

  /* semantic: justify/reform status */
  --status-justify: #2563a8;
  --status-reform: #7a5a12;

  /* stance (reception) */
  --stance-positive: #2f6b3a;
  --stance-mixed: #7b6016;
  --stance-negative: #9a3412;

  /* provenance tiers */
  --tier-ferc: #0b2545;
  --tier-doe: #5b3a8a;
  --tier-analysis: #1a4480;
  --tier-order: #6b7280;

  --maxw: 1180px;
  font-feature-settings: "tnum" 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
/* screen-reader-only text: keeps the meaning of glyphs/lossy visuals available to assistive tech */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main, .panel, p, dd, li, h1, h2, h3, h4 { min-width: 0; overflow-wrap: anywhere; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; min-width: 0; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 50;
  background: var(--masthead); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 6px;
  text-decoration: none; transition: top 120ms ease;
}
.skip-link:focus { top: 0; color: #fff; }

.mono { font-family: var(--font-mono); font-variant-ligatures: none; }
.eyebrow, .label {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; font-weight: 700;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- masthead */
.masthead {
  background: linear-gradient(180deg, var(--masthead) 0%, var(--masthead-2) 100%);
  color: #eaf0f7;
  border-bottom: 3px solid var(--accent);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}
.masthead-inner {
  display: grid; grid-template-columns: 1fr; gap: 9px; align-items: start;
  padding-block: 13px 15px;
}
.masthead .eyebrow { color: #9db4d0; font-size: 12px; }
.masthead-text { min-width: 0; }
.masthead .eyebrow, .masthead h1, .masthead-sub, .masthead-fresh { overflow-wrap: anywhere; }
.masthead h1 {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.05; color: #fff; margin-top: 1px;
}
.masthead-sub { color: #cdd9e8; font-size: clamp(13px, 1.8vw, 15px); margin-top: 5px; max-width: 70ch; }
.masthead-fresh { color: #9db4d0; font-size: 12px; margin-top: 7px; }
.masthead-fresh .mono { color: #cdd9e8; }

/* ------------------------------------------------- Overview: stats + at-a-glance */
.kpis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin: 18px 0 22px;
}
.kpi { background: var(--surface); padding: 14px 16px; }
.kpi .v { font-family: var(--font-serif); font-size: clamp(22px, 4vw, 30px); font-weight: 700; line-height: 1; color: var(--masthead); }
.kpi.deadline .v { color: var(--deadline); }
.kpi .l { text-transform: uppercase; letter-spacing: 0.07em; font-size: 10.5px; font-weight: 700; color: var(--ink); margin-top: 7px; }
.kpi .s { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.35; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .kpis { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 480px) { .kpis { grid-template-columns: 1fr; } }

.overview-bg { max-width: 74ch; }
.overview-bg p { font-size: 15.5px; color: var(--ink); margin-bottom: 9px; }
.glance {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin-top: 4px;
}
.glance > div { background: var(--surface); padding: 9px 14px; display: flex; flex-direction: column; gap: 2px; }
.glance dt { text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; font-weight: 700; color: var(--text-muted); }
.glance dd { font-size: 14px; color: var(--ink); }
@media (min-width: 760px) { .glance { grid-template-columns: repeat(2, 1fr); } .glance > div:last-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- tabs */
.tabs {
  display: flex; gap: 4px; margin-top: 14px;
  border-bottom: 2px solid var(--rule-strong);
  position: sticky; top: 0; z-index: 30; background: var(--bg);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  appearance: none; border: 1px solid transparent; border-bottom: none; background: transparent;
  font-family: var(--font-sans); font-size: clamp(14px, 2.2vw, 16px); font-weight: 600; color: var(--text-muted);
  padding: 11px 15px; cursor: pointer; border-radius: 6px 6px 0 0;
  display: inline-flex; align-items: baseline; gap: 7px; position: relative; bottom: -2px;
  min-height: 44px; white-space: nowrap; flex: 0 0 auto;
}
.tab:hover { color: var(--ink); background: var(--surface-2); }
.tab .tab-no { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 700; }
.tab .tab-aside { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.tab[aria-selected="true"] {
  color: var(--masthead); background: var(--surface);
  border-color: var(--rule-strong); border-bottom: 2px solid var(--surface);
}
.tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--accent);
  border-radius: 3px 3px 0 0;
}

/* ---------------------------------------------------------------- panels */
.panel { padding-top: 26px; padding-bottom: 8px; animation: fade 200ms ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.section-head { margin: 30px 0 14px; }
.panel > .section-head:first-child { margin-top: 4px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(20px, 3.4vw, 27px); font-weight: 700; color: var(--masthead); letter-spacing: -0.01em; }
.section-head .lede { color: var(--text-muted); font-size: 15px; margin-top: 6px; max-width: 72ch; }

/* Collapsible section (long flat tabs fold to cut scrolling) */
/* Author display rules on the body (e.g. .discourse{display:grid}) outrank the UA details-collapse,
   so close it explicitly — this selector is specific enough to win over those display declarations. */
details.acc:not([open]) > :not(summary) { display: none; }
details.acc { border-top: 1px solid var(--rule); margin-top: 18px; }
details.acc:first-child { border-top: none; margin-top: 4px; }
.acc-sum { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; padding: 18px 0 6px; }
.acc-sum::-webkit-details-marker { display: none; }
.acc-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.acc-h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(19px, 3vw, 25px); font-weight: 700; color: var(--masthead); letter-spacing: -0.01em; line-height: 1.15; }
.acc-count { flex: none; font-size: 12px; color: var(--text-muted); align-self: center; }
.acc-chev { flex: none; margin-left: auto; color: var(--accent); font-size: 20px; line-height: 1; transition: transform 0.15s ease; align-self: center; }
details.acc[open] .acc-chev { transform: rotate(90deg); }
.acc-lede { color: var(--text-muted); font-size: 15px; margin: 0 0 14px; max-width: 72ch; }

/* timeline */
.timeline { border-left: 2px solid var(--rule-strong); margin-left: 6px; }
.tl-item { position: relative; padding: 0 0 22px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 999px;
  background: var(--surface); border: 2px solid var(--accent);
}
.tl-item.doe::before { border-color: var(--tier-doe); }
.tl-item.deadline::before { border-color: var(--deadline); background: var(--deadline); }
.tl-item.ferc::before { background: var(--accent); }
.tl-date { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.tl-item.deadline .tl-date { color: var(--deadline); }
.tl-title { font-weight: 700; font-size: 16px; margin: 2px 0 5px; color: var(--ink); }
.tl-body { font-size: 14.5px; color: #2b3744; max-width: 78ch; }
.kindpill {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 1px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 1px;
  border: 1px solid currentColor;
}
.kindpill.doe { color: var(--tier-doe); }
.kindpill.ferc { color: var(--accent); }
.kindpill.deadline { color: var(--deadline); background: var(--deadline-bg); }
.kindpill.milestone { color: var(--text-muted); }

/* cards / analysis */
.cards { display: grid; gap: 14px; }
@media (min-width: 820px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px;
}
.card.analysis { border-left: 3px solid var(--accent); }
.card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--masthead); margin-bottom: 8px; line-height: 1.2; }
.card p { font-size: 14.5px; color: #2b3744; }
.card p + p { margin-top: 9px; }

.tier-flag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); margin-bottom: 10px;
}
.tier-flag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tier-analysis); }
.tier-flag.t-ferc::before { background: var(--tier-ferc); }
.tier-flag.t-doe::before { background: var(--tier-doe); }

/* category accordion */
.cat { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.cat > summary {
  list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
}
.cat > summary::-webkit-details-marker { display: none; }
.cat-no { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; }
.cat-title { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.cat-chev { font-family: var(--font-mono); color: var(--text-muted); transition: transform 200ms ease; }
.cat[open] .cat-chev { transform: rotate(90deg); }
.cat-body { padding: 2px 16px 16px 66px; border-top: 1px solid var(--rule); }
.cat-ferc { background: var(--surface-2); border-left: 3px solid var(--tier-ferc); padding: 10px 12px; border-radius: 0 4px 4px 0; font-size: 14px; margin: 12px 0; }
.cat-ferc .label { display: block; margin-bottom: 3px; }
.cat-detail { font-size: 14.5px; color: #2b3744; }
.cat-doe { margin-top: 12px; }
.cat-doe .label { display: block; margin-bottom: 6px; }
.cat-doe ul { list-style: none; display: grid; gap: 6px; }
.cat-doe li { font-size: 13.5px; color: #2b3744; padding-left: 18px; position: relative; }
.cat-doe li::before { content: "§"; position: absolute; left: 0; color: var(--tier-doe); font-family: var(--font-serif); font-weight: 700; }

/* docket accordion */
.dockets { display: grid; gap: 10px; }
.docket { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.docket[open] { border-color: var(--rule-strong); }
.docket-sum { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px 12px; flex-wrap: wrap; padding: 11px 14px; }
.docket-sum::-webkit-details-marker { display: none; }
.docket-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.docket-sum .item { flex: none; font-family: var(--font-serif); font-weight: 700; font-size: 15px; line-height: 1; color: #fff; background: var(--masthead); border-radius: 5px; padding: 4px 9px; }
.docket-sum-id { min-width: 0; margin-right: auto; display: flex; flex-direction: column; gap: 1px; }
.docket-sum .rto { font-weight: 700; font-size: 16px; color: var(--masthead); }
.docket-sum:hover .rto { color: var(--accent-ink); }
.docket-sum .rto-full { font-size: 12px; color: var(--text-muted); }
.docket-cite { font-size: 11px; color: var(--accent-ink); }
.docket-status { flex: none; display: inline-block; font-size: 11px; font-weight: 700; color: var(--status-reform); background: #f6efdf; border: 1px solid #e6d8b0; border-radius: 999px; padding: 2px 9px; }
.docket-sum .region { flex: none; font-size: 11px; color: var(--text-muted); }
.docket-sum .chev { flex: none; color: var(--accent); font-size: 17px; line-height: 1; transition: transform 0.15s ease; }
.docket[open] .docket-sum .chev { transform: rotate(90deg); }
.docket-body { padding: 4px 15px 15px; }
.docket-body .order-links { margin: 10px 0 2px; }
.order-links { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.order-link { flex: none; font-size: 11.5px; font-weight: 700; text-decoration: none; color: #fff; background: var(--accent); border-radius: 5px; padding: 4px 11px; white-space: nowrap; }
.order-link:hover { background: var(--accent-ink); color: #fff; }
.order-src { flex: none; font-size: 10.5px; font-weight: 600; text-decoration: none; color: var(--accent); white-space: nowrap; border-bottom: 1px dotted var(--accent); }
.order-src:hover { color: var(--accent-ink); border-bottom-style: solid; }
.order-src:focus-visible, .order-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.docket-cite { font-size: 11px; color: var(--accent-ink); margin-top: 5px; }
.docket-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.docket-status { display: inline-block; font-size: 11px; font-weight: 700; color: var(--status-reform); background: #f6efdf; border: 1px solid #e6d8b0; border-radius: 999px; padding: 2px 9px; }
.docket-tags .region { font-size: 11px; color: var(--text-muted); }
.dir { margin-top: 13px; }
.dir .label { display: block; margin-bottom: 7px; }
.dir-item { padding: 0 0 0 11px; border-left: 2px solid var(--rule-strong); margin-bottom: 9px; }
.dir-head { display: flex; align-items: baseline; gap: 6px 8px; justify-content: space-between; flex-wrap: wrap; }
.dir-topic { font-weight: 700; font-size: 12px; color: var(--masthead); }
.dir-para { font-size: 10px; color: var(--accent); white-space: nowrap; flex: none; }
.dir-cite { display: inline-flex; align-items: baseline; gap: 6px; flex: none; white-space: nowrap; }
.cite-link { font-size: 10px; font-weight: 700; text-decoration: none; color: var(--accent); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 0 5px; line-height: 1.7; transition: background .12s, border-color .12s, color .12s; }
.cite-link:hover { background: #e3ecf6; color: var(--accent-ink); border-color: var(--accent); }
.cite-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cite-link .ext { font-size: 9px; }
.dir-quote { display: block; font-family: var(--font-serif); font-style: italic; font-size: 13px; color: #3a4753; line-height: 1.35; margin-top: 2px; }
.reg-cite { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; margin-left: 5px; }
details.dreg { margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 9px; }
details.dreg > summary { cursor: pointer; list-style: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); padding: 11px 0; min-height: 44px; display: flex; align-items: center; }
details.dreg > summary::-webkit-details-marker { display: none; }
details.dreg > summary::before { content: "▸ "; color: var(--accent); }
details.dreg[open] > summary::before { content: "▾ "; }
details.dreg ul { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
details.dreg li { font-size: 13px; color: #2b3744; padding-left: 14px; position: relative; line-height: 1.4; }
details.dreg li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 2px; }

/* What's-unique callout + system-specific asks (Dockets tab) */
.docket-unique { margin-top: 12px; background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: 0 5px 5px 0; padding: 9px 13px; }
.docket-unique .label { display: block; margin-bottom: 3px; }
.docket-unique p { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.docket-asks { margin-top: 13px; }
.docket-asks .label { display: block; margin-bottom: 6px; }
.docket-asks ul { list-style: none; display: grid; gap: 5px; }
.docket-asks li { font-size: 12.5px; color: #2b3744; line-height: 1.4; padding-left: 16px; position: relative; }

/* Section IV briefing questions (Dockets tab) — numbered list with verbatim excerpts */
details.dbrief .brief-head { margin: 4px 0 2px; }
.brief-cite { display: inline-flex; align-items: baseline; gap: 7px; font-size: 11px; }
details.dbrief .brief-list { list-style: none; display: grid; gap: 12px; margin-top: 9px; padding: 0; counter-reset: brief; }
details.dbrief .brief-item { padding-left: 27px; position: relative; line-height: 1.4; }
details.dbrief .brief-item::before { counter-increment: brief; content: counter(brief); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.brief-topic { font-size: 13px; font-weight: 700; color: var(--masthead); }
.brief-desc { font-size: 12.5px; color: #2b3744; line-height: 1.45; margin: 2px 0 4px; }
.brief-quote { display: block; font-family: var(--font-serif); font-style: italic; font-size: 12.5px; color: var(--accent-ink); line-height: 1.4; }
.docket-asks li::before { content: "?"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; font-size: 12px; }
details.dros { margin-top: 9px; }
details.dros ul.roster { grid-template-columns: 1fr; }
@media (min-width: 560px) { details.dros ul.roster { grid-template-columns: 1fr 1fr; } }
ul.roster li { font-size: 12px; color: var(--text-muted); }
ul.roster li::before { content: "·"; }

/* Commissioner statements (Overview tab) */
.commish-list { display: grid; gap: 10px; }
.commish-rowcard { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--masthead); border-radius: 0 6px 6px 0; padding: 12px 15px; }
.commish { background: transparent; border: 0; border-radius: 0; padding: 0; }
.commish-head { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; margin-bottom: 6px; }
.commish-name { font-weight: 700; font-size: 15px; color: var(--masthead); }
.commish-role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.commish-cite { margin-left: auto; display: inline-flex; gap: 6px; white-space: nowrap; }
.commish-gist { font-size: 13.5px; color: #2b3744; line-height: 1.45; }
.commish-quote { font-family: var(--font-serif); font-style: italic; font-size: 12.5px; color: var(--accent-ink); margin-top: 6px; }
.commish-quote .commish-cite { margin-left: 8px; vertical-align: baseline; font-family: var(--font-sans); font-style: normal; }
.commish-head .commish-tag { margin-left: auto; }
.commish-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--status-reform); background: #f6efdf; border: 1px solid #e6d8b0; border-radius: 999px; padding: 1px 8px; }

/* expandable themed read of a commissioner's statement (themes + verbatim quotes) */
.commish-full { margin-top: 9px; border-top: 1px solid var(--rule); }
.commish-full > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--accent); padding: 9px 0; min-height: 44px; }
.commish-full > summary::-webkit-details-marker { display: none; }
.commish-full > summary::before { content: "\25B8"; color: var(--accent); transition: transform 0.15s ease; }
.commish-full[open] > summary::before { transform: rotate(90deg); }
.commish-full > summary:hover { color: var(--accent-ink); }
.commish-full > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.commish-full-n { font-weight: 400; color: var(--text-muted); font-size: 10.5px; }
.commish-sum { font-size: 12.5px; line-height: 1.5; color: var(--ink); margin: 2px 0 11px; }
.commish-theme { margin: 0 0 11px; padding-left: 11px; border-left: 3px solid var(--rule-strong); }
.commish-theme-h { margin: 0 0 3px; font-size: 12px; font-weight: 700; color: var(--ink); }
.commish-theme-d { font-size: 12px; line-height: 1.5; color: #2b3744; margin: 0 0 6px; }
.commish-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.commish-q { font-family: var(--font-serif); font-style: italic; font-size: 12.5px; line-height: 1.45; color: var(--accent-ink); padding-left: 9px; border-left: 2px solid var(--rule); }
.commish-q .commish-cite { margin-left: 7px; font-family: var(--font-sans); font-style: normal; vertical-align: baseline; }
.commish-q.spoken { color: #4a4753; border-left-color: var(--status-reform); }
.commish-q-src { display: inline-block; font-family: var(--font-sans); font-style: normal; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-left: 6px; }
.commish-srcs { font-size: 10px; color: var(--text-muted); line-height: 1.4; margin: 8px 0 2px; }
/* per-order commissioner statements (nested in each docket accordion) */
details.dcom .commish-rows { display: grid; gap: 10px; margin-top: 8px; }
.commish-row { padding-left: 11px; border-left: 2px solid var(--rule-strong); }
.commish-row-head { display: flex; align-items: baseline; gap: 5px 8px; flex-wrap: wrap; }
.commish-row .commish-name { font-size: 13px; }
.commish-row .commish-cite { margin-left: auto; align-items: baseline; }
.commish-row .commish-quote { margin-top: 2px; }
.commish-rgist { font-size: 12.5px; line-height: 1.5; color: var(--text); margin: 4px 0 0; }
.commish-block-note { font-size: 11px; color: var(--text-muted); line-height: 1.45; margin: 6px 0 2px; }

/* E-2 co-location order — distinguished from the six §206 cards */
.docket-section-label { grid-column: 1 / -1; margin: 16px 2px 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.docket-track { flex: none; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); background: #eaf0f8; border: 1px solid #cbd9ee; border-radius: 999px; padding: 1px 8px; }
.docket.docket-colo { border-left: 4px solid var(--accent); }
.docket-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-ink); margin-bottom: 4px; }

/* RM26-4 comment corpus (Discourse tab) */
.cm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
@media (min-width: 640px) { .cm-stats { grid-template-columns: repeat(4, 1fr); } }
.cm-stat { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; }
.cm-stat .v { font-family: var(--font-serif); font-weight: 700; font-size: 21px; color: var(--masthead); line-height: 1; }
.cm-stat .l { font-size: 10.5px; color: var(--text-muted); line-height: 1.25; }
.cm-meta { font-size: 12px; color: var(--text-muted); line-height: 1.45; margin-bottom: 14px; max-width: 82ch; }
.cm-buckets { display: grid; gap: 12px; }
.cm-bhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cm-label { font-weight: 700; font-size: 13.5px; color: var(--masthead); }
.cm-n { font-size: 12px; color: var(--accent-ink); flex: none; }
.cm-bar { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 4px 0 5px; }
.cm-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.cm-note { font-size: 12.5px; color: #2b3744; line-height: 1.45; }
.cm-eg { display: inline-block; font-size: 10.5px; color: var(--text-muted); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; margin: 0 3px 2px 0; white-space: nowrap; }
/* respondent-type roster: every organization per camp, collapsed past 10 */
.cm-egs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; align-items: baseline; }
.cm-egs .cm-eg { margin: 0; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.cm-eg-rest { display: none; }
.cm-egs.expanded .cm-eg-rest { display: contents; }
/* "Show all / fewer" is a disclosure toggle, not a CTA — keep it chip-scale beside the org pills,
   accent-colored with a quiet rotating chevron. The 44px touch target is restored on coarse
   pointers only (where it matters), so it doesn't tower over the pills on desktop. */
.cm-showmore { font: inherit; font-size: 10.5px; font-weight: 600; color: var(--accent); background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 1px 9px; display: inline-flex; align-items: center; gap: 4px; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.cm-showmore::after { content: "\203A"; font-weight: 700; line-height: 1; transition: transform 0.15s ease; }
.cm-showmore[aria-expanded="true"]::after { transform: rotate(90deg); }
.cm-showmore:hover { background: #eef3f9; border-color: var(--accent); color: var(--accent-ink); }
.cm-showmore:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (pointer: coarse) { .cm-showmore { min-height: 44px; padding: 0 12px; } }

/* Comments tab: rounds, respondent types, themes, the full filterable list */
.cm-rounds { display: grid; gap: 8px; margin-bottom: 18px; }
@media (min-width: 600px) { .cm-rounds { grid-template-columns: repeat(3, 1fr); } }
.cm-round { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; padding: 9px 13px; display: flex; flex-direction: column; gap: 2px; }
.cm-round-n { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--masthead); line-height: 1; }
.cm-round-l { font-weight: 700; font-size: 13px; color: var(--ink); }
.cm-round-d { font-size: 10.5px; color: var(--text-muted); }
.cm-types, .cm-themes { display: grid; gap: 9px 20px; margin-bottom: 4px; }
@media (min-width: 700px) { .cm-types, .cm-themes { grid-template-columns: 1fr 1fr; } }
.cm-bar.theme > span { background: var(--masthead); }
.cm-filter { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.cm-filter input { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; padding: 7px 11px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.cm-filter input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cm-filter-count { flex: none; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.cm-listwrap { display: grid; gap: 18px; }
.cm-listgroup-h { font-family: var(--font-serif); font-size: 16px; color: var(--masthead); margin-bottom: 9px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
.cm-listgroup-h .mono { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.cm-list { display: grid; gap: 7px; list-style: none; }
.cm-row { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 12px; }
.cm-row-top { display: flex; align-items: baseline; gap: 6px 9px; flex-wrap: wrap; }
.cm-row-date { font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink); flex: none; min-width: 80px; }
.cm-row-org { font-weight: 700; font-size: 13.5px; color: var(--masthead); }
.cm-row-type { font-size: 10.5px; color: var(--text-muted); background: var(--surface-2); border-radius: 999px; padding: 1px 9px; }
.cm-row-link { margin-left: auto; flex: none; font-size: 10.5px; font-weight: 700; text-decoration: none; color: var(--accent); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 3px 8px; }
.cm-row-link:hover { background: #eef3f9; border-color: var(--accent); color: var(--accent-ink); }
/* full 44px tap target on touch viewports (kept compact on desktop to preserve list density) */
@media (max-width: 700px) { .cm-row-link { padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; } }
.cm-row-desc { font-size: 12px; color: #2b3744; line-height: 1.4; margin-top: 4px; }
.cm-badge { flex: none; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 0 5px; line-height: 1.5; }
.cm-badge.sum { color: #7a5a12; background: #f6efdb; }
.cm-badge.dl { color: var(--stance-positive); background: #e9f3ec; }
.cm-badge.no { color: var(--text-muted); }
.cm-jump-wrap { margin-top: 6px; }
.cm-jump { font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--accent); }
.cm-jump:hover { color: var(--accent-ink); text-decoration: underline; }
/* reform-principle + order-region aggregate (two bar groups) and the per-row tags */
.cm-prreg { display: grid; gap: 16px 28px; margin-bottom: 4px; }
@media (min-width: 740px) { .cm-prreg { grid-template-columns: 1fr 1fr; } }
.cm-sub { font-family: var(--font-serif); font-size: 14.5px; color: var(--masthead); margin-bottom: 9px; }
.cm-themes.one { grid-template-columns: 1fr; gap: 9px; }
.cm-bar.prin > span { background: var(--accent-ink); }
.cm-row-tags { display: flex; align-items: stretch; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cm-tag { font: inherit; font-size: 9.5px; font-weight: 700; border: none; border-radius: 3px; padding: 2px 7px; letter-spacing: 0.02em; white-space: nowrap; cursor: pointer; line-height: 1.5; }
.cm-tag:hover { filter: brightness(0.94); }
.cm-tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cm-tag.pr { color: var(--accent-ink); background: #e9f0f8; }
.cm-tag.rg { color: #5a4a1a; background: #f6efdb; }
.cm-tagsep { width: 1px; min-height: 13px; background: var(--rule-strong); margin: 0 3px; }
.cm-tag.aq { color: #2e5d4f; background: #e6f1ec; }
.cm-tag-n { font-weight: 400; opacity: 0.7; }

/* tag bar: the queryable lens vocabulary, collapsible, on the All-comments tab */
.cm-tagbar { margin: 9px 0 6px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface-2); }
.cm-tagbar > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 11px; min-height: 44px; }
.cm-tagbar > summary::-webkit-details-marker { display: none; }
.cm-tagbar > summary::before { content: "\25B8"; color: var(--accent); transition: transform 0.15s ease; }
.cm-tagbar[open] > summary::before { transform: rotate(90deg); }
.cm-tagbar > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.cm-tagbar-sum { font-size: 12px; font-weight: 700; color: var(--accent); }
.cm-tagbar-hint { font-size: 10px; color: var(--text-muted); }
.cm-tagbar-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 11px 12px; }
.cm-tagbar-group { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-tagbar-label { flex: 0 0 100%; font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
/* tag-bar chips are a deliberate filter control — give them a comfortable touch target on coarse pointers (§12.12) */
@media (pointer: coarse) { .cm-tagbar .cm-tag { min-height: 44px; padding: 0 11px; display: inline-flex; align-items: center; } }
.cm-empty { background: var(--surface); border: 1px dashed var(--rule-strong); border-radius: 6px; padding: 18px; text-align: center; color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

/* per-comment audited analysis (expandable on each row) */
.cm-analysis { margin-top: 8px; border-top: 1px solid var(--rule); }
.cm-analysis > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--accent); padding: 10px 0; min-height: 44px; }
.cm-analysis > summary::-webkit-details-marker { display: none; }
.cm-analysis > summary::before { content: "\25B8"; color: var(--accent); transition: transform 0.15s ease; }
.cm-analysis[open] > summary::before { transform: rotate(90deg); }
.cm-analysis > summary:hover { color: var(--accent-ink); }
.cm-analysis > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.cm-analysis-n { font-weight: 400; color: var(--text-muted); font-size: 10.5px; }
.cm-analysis-sum { font-size: 12.5px; line-height: 1.5; color: var(--ink); margin: 2px 0 9px; }
.cm-analysis-foot { font-size: 10.5px; color: var(--text-muted); line-height: 1.4; margin: 9px 0 4px; }
.cm-bins { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-bin { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 8px; border: 1px solid; border-left-width: 3px; }
.cm-bin.support { color: var(--stance-positive); border-color: var(--stance-positive); background: #eef5ef; }
.cm-bin.oppose { color: var(--stance-negative); border-color: var(--stance-negative); background: #f7ece6; }
.cm-bin.mixed { color: var(--stance-mixed); border-color: var(--stance-mixed); background: #f6efdf; }
.cm-bin.neutral { color: var(--text-muted); border-color: var(--rule-strong); background: var(--surface-2); }

/* lazy-loaded bin detail: positions grouped by lens, each with its description + verbatim quotes */
.cm-bindetail:empty { display: none; }
.cm-bindetail { margin: 10px 0 2px; display: flex; flex-direction: column; gap: 15px; }
.cm-lensgroup { display: flex; flex-direction: column; gap: 9px; }
.cm-lensgroup-h { display: flex; align-items: baseline; gap: 8px; margin: 0; padding-bottom: 4px; border-bottom: 1px solid var(--rule); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.cm-lensgroup-n { font-weight: 400; color: var(--text-muted); }
.cm-bin-loading, .cm-bin-error, .cm-bq-none { font-size: 11px; color: var(--text-muted); margin: 2px 0; line-height: 1.4; }
.cm-binitem { border-left: 3px solid var(--rule-strong); padding: 1px 0 1px 11px; }
.cm-binitem.support { border-left-color: var(--stance-positive); }
.cm-binitem.oppose { border-left-color: var(--stance-negative); }
.cm-binitem.mixed { border-left-color: var(--stance-mixed); }
.cm-binitem.neutral { border-left-color: var(--rule-strong); }
.cm-binitem-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.cm-binitem-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.cm-binitem-stance { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px; padding: 1px 5px; border: 1px solid; }
.cm-binitem-stance.support { color: var(--stance-positive); border-color: var(--stance-positive); background: #eef5ef; }
.cm-binitem-stance.oppose { color: var(--stance-negative); border-color: var(--stance-negative); background: #f7ece6; }
.cm-binitem-stance.mixed { color: var(--stance-mixed); border-color: var(--stance-mixed); background: #f6efdf; }
.cm-binitem-stance.neutral { color: var(--text-muted); border-color: var(--rule-strong); background: var(--surface-2); }
.cm-binitem-desc { font-size: 12px; line-height: 1.5; color: var(--ink); margin: 4px 0 6px; }
.cm-bqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cm-bq { font-family: var(--font-serif); font-style: italic; font-size: 12.5px; line-height: 1.45; color: var(--accent-ink); padding-left: 9px; border-left: 2px solid var(--rule); }
.cm-bq-cite { font-family: var(--font-mono); font-style: normal; font-size: 10.5px; white-space: nowrap; color: var(--accent); text-decoration: none; }
.cm-bq-cite:hover { text-decoration: underline; }

/* stance map: stacked support / oppose / mixed / no-position per reform principle */
.cm-stancelegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 11px; }
.cm-stancelegend .key { font-size: 11px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.cm-stancelegend .key::before { content: ""; width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.cm-stancelegend .sup::before { background: var(--stance-positive); }
.cm-stancelegend .opp::before { background: var(--stance-negative); }
.cm-stancelegend .mix::before { background: var(--stance-mixed); }
.cm-stancelegend .neu::before { background: var(--rule-strong); }
.cm-stancebars { display: grid; gap: 12px; }
.cm-stancebar { display: flex; height: 18px; border-radius: 4px; overflow: hidden; border: 1px solid var(--rule); background: var(--surface-2); margin-top: 3px; }
.cm-stancebar .seg { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; min-width: 2px; }
.cm-stancebar .sup { background: var(--stance-positive); }
.cm-stancebar .opp { background: var(--stance-negative); }
.cm-stancebar .mix { background: var(--stance-mixed); }
.cm-stancebar .neu { background: var(--rule-strong); color: var(--ink); }

/* Consensus heatmap: stakeholder type x reform principle */
.cm-hm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 11.5px; color: var(--text-secondary); margin-bottom: 4px; }
.cm-hm-key { display: inline-flex; align-items: center; gap: 5px; }
.cm-hm-sw { width: 13px; height: 13px; border-radius: 3px; flex: none; }
.cm-hm-sw.support.strong { background: var(--stance-positive); }
.cm-hm-sw.support { background: #cfe4d2; }
.cm-hm-sw.mixed { background: #f6efdf; border: 1px solid var(--stance-mixed); }
.cm-hm-sw.oppose { background: #f7ece6; border: 1px solid var(--stance-negative); }
.cm-hm-sw.neutral { background: var(--surface-2); border: 1px solid var(--rule); }
.cm-hm-note { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.cm-heatmap { display: grid; grid-template-columns: minmax(120px, 1.7fr) repeat(5, minmax(0, 1fr)); gap: 3px; margin-top: 8px; align-items: stretch; }
.cm-hm-corner { }
.cm-hm-col { font-size: 11px; font-weight: 700; color: var(--text-muted); text-align: center; align-self: end; padding-bottom: 4px; line-height: 1.15; }
.cm-hm-rowlabel { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--ink); padding-right: 8px; }
.cm-hm-letters { font-size: 10px; color: var(--text-muted); flex: none; }
.cm-hm-cell { display: flex; align-items: center; justify-content: center; min-height: 30px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.cm-hm-cell.support { background: #dcebde; color: #1f5a35; }
.cm-hm-cell.support.strong { background: var(--stance-positive); color: #fff; }
.cm-hm-cell.oppose { background: #f7ece6; color: var(--stance-negative); }
.cm-hm-cell.mixed { background: #f6efdf; color: var(--stance-mixed); }
.cm-hm-cell.neutral { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--rule); }
.cm-hm-cell.empty { background: repeating-linear-gradient(45deg, var(--surface-1), var(--surface-1) 4px, var(--surface-2) 4px, var(--surface-2) 8px); }
@media (pointer: coarse) { .cm-hm-cell { min-height: 40px; } }

/* Comments sub-tabs (Overview / Respondent types / Comment summaries) */
.cm-subtabs { display: flex; gap: 2px; margin-bottom: 18px; border-bottom: 2px solid var(--rule); flex-wrap: wrap; }
.cm-subtab { font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: 12px 14px; min-height: 44px; cursor: pointer; }
.cm-subtab:hover { color: var(--ink); }
.cm-subtab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.cm-subtab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.cm-prreg.three { grid-template-columns: 1fr; }
@media (min-width: 920px) { .cm-prreg.three { grid-template-columns: 1fr 1fr 1fr; } }

/* generic two-col blocks (jurisdiction / regional) */
.blocks { display: grid; gap: 12px; }
@media (min-width: 760px) { .blocks.two { grid-template-columns: 1fr 1fr; } }
.block { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; }
.block.warn { border-left: 3px solid var(--deadline); }
.block h4 { font-size: 14.5px; color: var(--masthead); margin-bottom: 6px; }
.block p { font-size: 14px; color: #2b3744; }

/* reception */
.reception { display: grid; gap: 10px; }
.recep { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; border-left: 3px solid var(--stance-mixed); }
.recep.positive { border-left-color: var(--stance-positive); }
.recep.mixed { border-left-color: var(--stance-mixed); }
.recep.negative { border-left-color: var(--stance-negative); }
.recep-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.recep-group { font-weight: 700; font-size: 15px; color: var(--ink); }
.stance-pill { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 8px; border-radius: 999px; }
.stance-pill.positive { color: var(--stance-positive); background: #e9f3ec; }
.stance-pill.mixed { color: var(--stance-mixed); background: #f6efdb; }
.stance-pill.negative { color: var(--stance-negative); background: var(--deadline-bg); }
.recep p { font-size: 14px; color: #2b3744; }
.source-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 11px; padding-top: 8px; border-top: 1px solid var(--rule); }
.source-line .label { margin-right: 2px; }

/* commentary themes */
.quote-themes { display: grid; gap: 14px; }
.quote-theme { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--tier-order); border-radius: 0 6px 6px 0; padding: 13px 16px; }
.quote-theme h3 { font-family: var(--font-serif); font-size: 18px; color: var(--masthead); margin-bottom: 6px; }
.quote-theme > p { font-size: 14px; color: #2b3744; line-height: 1.45; margin-bottom: 10px; }
.quote-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.quote-list li { border-top: 1px solid var(--rule); padding-top: 9px; }
.quote-list li:first-child { border-top: 0; padding-top: 0; }
.quote-list blockquote { font-family: var(--font-serif); font-size: 15px; line-height: 1.42; color: var(--ink); margin: 0 0 6px; }

/* consensus / friction columns */
.discourse { display: grid; gap: 16px; }
@media (min-width: 820px) { .discourse { grid-template-columns: 1fr 1fr; } }
.disc-col h3 { font-family: var(--font-serif); font-size: 18px; color: var(--masthead); margin-bottom: 10px; }
.disc-col.friction h3 { color: var(--deadline); }
.disc-list { display: grid; gap: 9px; }
.disc-item { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; font-size: 14px; color: #2b3744; }
.disc-col.consensus .disc-item { border-left: 3px solid var(--stance-positive); }
.disc-col.friction .disc-item { border-left: 3px solid var(--deadline); }
.outlets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.outlet { font-size: 11.5px; font-weight: 600; color: var(--accent-ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.outlet:hover { border-color: var(--accent); background: #f3f7fc; color: var(--accent-ink); }

/* participate — docket links + action links */
.docket-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
@media (min-width: 720px) { .docket-links { grid-template-columns: repeat(4, 1fr); } }
.docket-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px;
  text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: 5px; padding: 9px 12px;
}
.docket-link:hover { border-color: var(--accent); background: #f3f7fc; }
.docket-link .dl-item { font-family: var(--font-serif); font-weight: 700; color: var(--accent); font-size: 14px; }
.docket-link .dl-rto { font-weight: 600; color: var(--ink); font-size: 13px; }
.docket-link .dl-no { font-size: 10.5px; color: var(--text-muted); }
.action-links { display: grid; gap: 8px; }
@media (min-width: 720px) { .action-links { grid-template-columns: repeat(3, 1fr); } }
.action-link {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 11px 13px;
}
.action-link:hover { border-color: var(--accent); background: #f3f7fc; }
.action-link strong { color: var(--accent-ink); font-size: 14px; }
.action-link span { color: var(--text-muted); font-size: 12.5px; line-height: 1.35; }

/* source chips */
.srcs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.srcs .label { margin-right: 2px; }
.src-chip {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-decoration: none;
  color: var(--accent-ink); background: var(--surface-2); border: 1px solid var(--rule-strong);
  border-radius: 4px; padding: 1px 7px; line-height: 1.7; white-space: nowrap;
}
.src-chip:hover { background: #e3ecf6; color: var(--accent-ink); border-color: var(--accent); }
.src-chip[data-tier="doe"] { border-left: 3px solid var(--tier-doe); }
.src-chip[data-tier="ferc"] { border-left: 3px solid var(--tier-ferc); }
.src-chip[data-tier="order"] { border-left: 3px solid var(--tier-order); border-style: dashed; }
.src-chip[data-tier="secondary"] { border-left: 3px solid var(--accent); }

/* provenance */
.provenance { margin: 34px 0 10px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 6px; }
.provenance > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--masthead); list-style: none; }
.provenance > summary::-webkit-details-marker { display: none; }
.provenance > summary::before { content: "▸ "; font-family: var(--font-mono); color: var(--accent); }
.provenance[open] > summary::before { content: "▾ "; }
.provenance-body { padding: 4px 18px 18px; border-top: 1px solid var(--rule); font-size: 14px; color: #2b3744; }
.provenance-body h4 { color: var(--masthead); margin: 14px 0 5px; font-size: 14px; }
.provenance-body p { margin-bottom: 8px; max-width: 86ch; }
.provenance-body ul { margin: 0 0 8px 18px; }
.provenance-body li { margin-bottom: 5px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.noscript { background: var(--deadline-bg); border: 1px solid #e6c3b0; border-radius: 6px; padding: 14px; margin-top: 20px; }

/* footer */
.footer { margin-top: 40px; background: var(--masthead); color: #cdd9e8; border-top: 3px solid var(--accent); }
.footer-inner { padding-block: 22px 28px; }
.footer p { font-size: 13px; max-width: 90ch; }
.footer strong { color: #fff; }
.footer a { color: #fff; text-underline-offset: 3px; }
.footer a:hover { color: #f6d27a; }
.footer-meta { margin-top: 8px; color: #8fa6c4; font-size: 12px; }

/* motion / a11y */
@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
  .cat-chev { transition: none; }
  .skip-link { transition: none; }
}
