:root { --bg:#fff; --surface:#f7f8fa; --ink:#0a0d14; --ink-2:#2a3040; --muted:#5b6476; --line:#e6e9ef; --accent:#2548f5;
  --s-rumored:#7c5cd6; --s-proposed:#955800; --s-approved:#0a78b8; --s-under_construction:#b93d0a; --s-operating:#13875a; --s-paused:#5f6b7d; --s-cancelled:#cc3338; --s-denied:#cc3338; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#121722; --surface:#171c27; --ink:#eef1f6; --ink-2:#c9cfda; --muted:#939bab; --line:#2a3140; --accent:#6f8bff;
  --s-rumored:#a68cf0; --s-proposed:#e3a232; --s-approved:#45a9e6; --s-under_construction:#f47a3d; --s-operating:#3cc28a; --s-paused:#95a0b2; --s-cancelled:#f06a6e; --s-denied:#f06a6e; color-scheme: dark; } }
:root[data-theme="dark"] { --bg:#121722; --surface:#171c27; --ink:#eef1f6; --ink-2:#c9cfda; --muted:#939bab; --line:#2a3140; --accent:#6f8bff;
  --s-rumored:#a68cf0; --s-proposed:#e3a232; --s-approved:#45a9e6; --s-under_construction:#f47a3d; --s-operating:#3cc28a; --s-paused:#95a0b2; --s-cancelled:#f06a6e; --s-denied:#f06a6e; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 15px/1.5 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.em { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 14px; background: var(--bg); }
.em-kicker { font-size: .75rem; font-weight: 600; color: var(--accent); margin: 0 0 6px; }
.em h1 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); margin: 0 0 10px; }
.em h1 a { color: var(--ink); }
.em-status { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .86rem; color: var(--ink-2); margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; line-height: 1.35; padding: 3px 9px 3px 8px; border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, currentColor 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-rumored{color:var(--s-rumored)} .s-proposed{color:var(--s-proposed)} .s-approved{color:var(--s-approved)} .s-under_construction{color:var(--s-under_construction)} .s-operating{color:var(--s-operating)} .s-paused{color:var(--s-paused)} .s-cancelled,.s-denied{color:var(--s-cancelled)}
.em-pipe { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .66rem; font-weight: 500; }
.em-pipe li { flex: 1; padding: 8px 2px 0; text-align: center; border-top: 3px solid var(--line); color: var(--muted); }
.em-pipe li.done { border-color: var(--accent); color: var(--ink-2); } .em-pipe li.now { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.em-pipe.off li { opacity: .6; }
.em-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 0 0 12px; }
.em-facts div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.em-facts dt { font-size: .72rem; font-weight: 500; color: var(--muted); }
.em-facts dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.em-events { list-style: none; padding: 0; margin: 0; }
.em-events li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.em-events li:last-child { border-bottom: 0; }
.em-events time { font-size: .74rem; font-weight: 500; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.em-events p { margin: 0; }
.em-events p > a:not(.strong) { font-size: .7rem; font-weight: 500; color: var(--muted); background: var(--surface); padding: 1px 6px; border-radius: 5px; }
.strong { font-weight: 600; color: var(--ink); } .em-muted { color: var(--muted); font-size: .8rem; }
.em-bar { display: flex; gap: 3px; height: 8px; margin: 4px 0 10px; border-radius: 99px; overflow: hidden; } .em-bar span { background: currentColor; min-width: 3px; }
.em-legend { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--ink-2); }
.em-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 5px; }
.em-list { list-style: none; padding: 0; margin: 0; }
.em-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.em-list li:last-child { border-bottom: 0; }
.em-list li > span:not(.badge) { font-size: .8rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.em-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.em-foot a { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.em-foot a b { font-weight: 600; color: var(--muted); }
.em-foot svg { width: 20px; height: 20px; }
/* Cards for reporters: county, scale and hearing. */
.em h2.em-h2 { font-size: .74rem; font-weight: 600; letter-spacing: .01em; color: var(--muted); margin: 16px 0 6px; text-transform: none; }
.em-sub { margin: 2px 0 0 !important; font-size: .72rem !important; font-weight: 400 !important; letter-spacing: 0 !important; color: var(--muted) !important; line-height: 1.35; }
.em-rows { list-style: none; padding: 0; margin: 0; }
.em-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.em-rows li:last-child { border-bottom: 0; }
.em-main { display: flex; flex-direction: column; min-width: 0; } .em-main .em-muted { font-size: .76rem; }
.em-val { font-size: .82rem; font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; } .em-val em { font-style: normal; font-size: .68rem; color: var(--muted); }
.em-src a { font-size: .68rem; font-weight: 500; color: var(--muted); background: var(--surface); padding: 1px 6px; border-radius: 5px; margin-left: 2px; white-space: nowrap; }
.em-none { margin: 0; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .84rem; }
dd.em-none { margin-top: 2px; font-weight: 500; letter-spacing: 0; font-size: .86rem; }
.em-next { margin: 0; font-size: .88rem; }
.em-more { margin: 14px 0 0; font-size: .86rem; font-weight: 600; }
.em-method { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.45; color: var(--muted); }
.em-method a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.em-stack { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .em-stack .em-wide { grid-column: 1 / -1; }
.em-hearings { list-style: none; padding: 0; margin: 0; }
.em-hearing { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.em-hearing:last-child { border-bottom: 0; } .em-hearing p { margin: 0 0 3px; }
.em-hwhen { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; } .em-hwhen time { font-size: .76rem; color: var(--muted); }
.em-count { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.em-count[data-kind="upcoming"], .em-count[data-kind="today"] { color: var(--accent); } .em-count[data-kind="passed"], .em-count[data-kind="month"] { font-size: .86rem; color: var(--muted); }
.em-outcome { margin-top: 6px !important; padding: 6px 8px; background: var(--surface); border-radius: 8px; }
.em-credit { font-size: .74rem; } .em-credit a { font-size: inherit; font-weight: 600; color: var(--ink); }
@media (max-width: 420px) { .em-hearing { grid-template-columns: 1fr; } .em-rows li { grid-template-columns: minmax(0, 1fr) auto; } .em-rows li .badge { grid-column: 1 / -1; justify-self: start; } .em-val { text-align: left; grid-column: 1 / -1; } }
@media (max-width: 420px) { .em-pipe { font-size: .56rem; } .em-events li { grid-template-columns: 1fr; gap: 0; } }
