.ne-home-chart { background:#fff; border:1px solid #c9d8ce; border-radius:12px; padding:clamp(16px,2.4vw,30px); color:#172927; }
.ne-home-chart h2,.ne-trend-tile h3 { margin:0; font:400 clamp(23px,2.7vw,34px)/1.16 Georgia,serif; }
.ne-home-chart .ne-chart-total { margin:4px 0 0; font:400 clamp(40px,5.6vw,74px)/1 Georgia,serif; color:#174d40; }
.ne-chart-period { margin:6px 0 12px; color:#475955; font-size:14px; line-height:1.35; }
.ne-rank-chart { display:grid; gap:10px; list-style:none; padding:0; margin:14px 0; }
.ne-rank-label { display:flex; align-items:baseline; justify-content:space-between; gap:10px; font-size:15px; line-height:1.35; }
.ne-rank-label strong { flex:none; color:#174d40; font-variant-numeric:tabular-nums; }
.ne-rank-track { position:relative; height:9px; margin-top:5px; border-radius:3px; background:#e7efea; }
.ne-rank-track::after { content:""; position:absolute; left:var(--zero); inset-block:0; border-left:1px solid #586d61; }
.ne-rank-track i { position:absolute; left:var(--start); width:var(--size); inset-block:0; background:#296854; border-radius:2px; }
.ne-rank-track i[data-negative],.ne-plot-slot i[data-negative] { background:#945c38; }
.ne-chart-links { display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:8px; }
.ne-chart-links a,.ne-chart-source { color:#174d40; text-decoration:underline; text-underline-offset:3px; }
.ne-chart-links a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; font-size:15px; }
.ne-chart-source { font-size:13px; }
.ne-trend-tile h3 { font-size:23px; }
.ne-trend-value { margin:8px 0 0; font:400 41px/1 Georgia,serif; color:#174d40; }
.ne-time-chart { --plot-height:clamp(110px,24vw,230px); display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:start; gap:8px; margin-top:14px; }
.ne-trend-tile .ne-time-chart { --plot-height:85px; }
.ne-plot-axis { display:flex; flex-direction:column; justify-content:space-between; height:var(--plot-height); font-size:12px; color:#475955; text-align:right; }
.ne-time-plot { display:grid; grid-template-columns:repeat(var(--count), minmax(0,1fr)); margin:0; padding:0; list-style:none; min-width:0; }
.ne-time-plot li { display:grid; grid-template-rows:var(--plot-height) 24px; min-width:0; }
.ne-plot-slot { position:relative; display:block; border-top:1px dashed #c9d8ce; }
.ne-plot-slot::after { content:""; position:absolute; left:0; right:0; bottom:var(--zero); border-bottom:1px solid #758c7f; }
.ne-plot-slot i { position:absolute; z-index:1; left:16%; width:68%; bottom:var(--start); height:var(--size); background:#3b7764; border-radius:3px 3px 0 0; }
.ne-plot-gap { position:absolute; left:0; right:0; text-align:center; bottom:12%; color:#475955; }
.ne-plot-latest .ne-plot-slot i { background:#184d40; outline:1px solid #184d40; outline-offset:1px; }
.ne-plot-latest .ne-plot-slot i[data-negative] { background:#945c38; outline-color:#945c38; }
.ne-plot-tick { justify-self:center; white-space:nowrap; color:#475955; font-size:12px; padding-top:4px; }
.ne-time-plot li:first-child .ne-plot-tick { justify-self:start; }
.ne-time-plot li:last-child .ne-plot-tick { justify-self:end; }
.ne-chart-endpoints { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 12px; margin:4px 0 10px; color:#475955; font-size:14px; }
.ne-chart-endpoints strong { color:#174d40; }
.ne-chart-endpoints div { display:grid; gap:2px; }
.ne-chart-range { color:#475955; font-size:14px; }
.ne-chart-period-links { margin-block:10px; }
.ne-chart-period-links a[aria-current] { background:#174d40; color:#fff; }
.ne-spending-trend { border-top:1px solid #e0e8e2; margin-top:20px; padding-top:18px; }
.ne-spending-trend h3 { font:400 clamp(22px,3vw,30px)/1.15 Georgia,serif; margin:0; }
#federal-spending-history,#national-history { scroll-margin-top:18px; }
.ne-home-chart a:focus-visible,.ne-trend-tile a:focus-visible { outline:3px solid #98620c; outline-offset:2px; }
@media (max-width:530px) {
  .ne-time-plot li:nth-child(even):not(:last-child) .ne-plot-tick { visibility:hidden; }
  .ne-plot-tick { font-size:10px; }
  .ne-rank-label { font-size:14px; }
}
