:root {
  --bg: #f3f6f9; --surface: #ffffff; --navy: #1e2c5a; --ink: #4e5259; --muted: #64686e; --line: #e3e4e6;
  --green: #8cc63f; --green-ink: #4f7a12; --warn-bg: #fff6df; --warn-ink: #7a5600; --err-bg: #fdecec; --err-ink: #9b1c1c;
  --font: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;   /* K 10-08: Nunito read too playful for Jefferson business readers */
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }

/* tools bar: ours, not part of the published page */
.tools { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; font-size: 14px; }
.tools-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.tools-name { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; opacity: .85; }
.field { display: inline-flex; gap: 6px; align-items: center; }
.field input { width: 5.5em; font: inherit; padding: 3px 6px; border-radius: 6px; border: 0; }
.btn { font: inherit; font-weight: 700; background: var(--green); color: #14240a; border: 0; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.toggle { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.source { opacity: .8; font-size: 13px; margin-left: auto; }
.problems { display: grid; gap: 6px; margin: 0 0 16px; }
.problems .msg { border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.problems .err { background: var(--err-bg); color: var(--err-ink); }
.problems .warn { background: var(--warn-bg); color: var(--warn-ink); }

/* the page */
.page { max-width: 1120px; margin: 0 auto; padding: 22px 16px 64px; }
.eyebrow { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.glance { overflow-x: auto; }
.glance table { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.glance th, .glance td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.glance .l { text-align: left; }
.glance thead th { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; vertical-align: bottom; white-space: normal; }
.glance tbody th { color: var(--navy); font-weight: 700; }
.glance tr.first-of-lob td, .glance tr.first-of-lob th { border-top: 2px solid var(--line); }
.glance .note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
h1 { color: var(--navy); text-align: center; font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 18px 0 10px; text-wrap: balance; }
.intro { text-align: center; max-width: 62ch; margin: 0 auto 28px; color: var(--navy); font-size: 18px; }
.panel { background: var(--surface); border-radius: 22px; padding: 28px clamp(16px, 3vw, 34px); margin-bottom: 26px; }
.panel h2 { color: var(--navy); font-size: 28px; font-weight: 800; margin: 0 0 8px; }

.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { margin: 0; color: var(--navy); font-size: 21px; font-weight: 800; }
.chev { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--green); position: relative; }
.chev::after { content: ""; position: absolute; left: 11px; top: 9px; width: 9px; height: 9px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); transition: transform .15s; }
.acc[open] .chev::after { transform: translate(0, 4px) rotate(-135deg); }
.acc-body { padding: 0 0 24px; color: var(--ink); }
.acc-body p, .acc-body li { max-width: 72ch; }
.acc-body h4 { color: var(--navy); font-size: 18px; margin: 4px 0 6px; }

.metric { padding: 10px 0 30px; }
.metric + .metric { border-top: 1px dashed var(--line); padding-top: 26px; }
.metric-label { font-weight: 700; color: var(--navy); }
.ctitle { text-align: center; font-weight: 700; color: var(--ink); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.4; max-width: 46ch; margin: 18px auto 6px; text-wrap: balance; }
.chart-wide { display: block; width: 100%; max-width: 840px; height: auto; margin: 0 auto; }
.chart-narrow { display: none; width: min(320px, 100%); height: auto; margin: 8px auto; }
.figs { display: none; }
.foot { max-width: 760px; margin: 6px auto 0; font-size: 15px; color: var(--muted); }
.foot p { margin: 6px 0; }

svg text { font-family: var(--font); }
svg .cl { font-size: 15px; fill: #5c6066; }
svg .cn { font-size: 21px; font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
svg .cn-s { font-size: 19px; }
svg .cc { font-size: 15px; fill: var(--ink); text-anchor: middle; }
svg .cc-n { font-size: 17px; font-weight: 700; }

@media (max-width: 760px) {
  .chart-wide { display: none; }
  .chart-narrow { display: block; }
  .figs { display: grid; gap: 0; max-width: 420px; margin: 0 auto; padding: 0; list-style: none; }
  .figs li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .figs .sw { flex: 0 0 12px; height: 12px; border-radius: 3px; align-self: center; }
  .figs .t { flex: 1; min-width: 0; }
  .figs .n { font-weight: 700; font-variant-numeric: tabular-nums; }
  .figs .sub { padding-left: 22px; font-size: 14px; }
  .source { margin-left: 0; }
  .tools { position: static; }
}
