/* Electricity by State: the shaded map on the hub */
.st-map { margin: 0 0 22px; }
.st-map svg { display: block; width: 100%; height: auto; }
.st-map path { stroke: #F5F5EE; stroke-width: 1; transition: opacity 0.15s ease; }
.st-map a:hover path, .st-map a:focus-visible path { stroke: var(--color-2); stroke-width: 2.5; }
.st-map a:focus-visible { outline: none; }
.st-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; font: 500 12px var(--mono); color: var(--muted); }
.st-key i { display: inline-block; width: 140px; height: 10px; background: linear-gradient(90deg, rgb(236,236,229), rgb(40,40,40)); border: 1px solid var(--ink); }
.st-key-note { font-family: var(--sans); font-weight: 400; margin-left: 8px; }
@media (max-width: 720px) {
  /* On a phone: the state, its price, the bill and the year's change */
  #st-table th:nth-child(5), #st-table td:nth-child(5), #st-table th:nth-child(6), #st-table td:nth-child(6) { display: none; }
  .st-key i { width: 90px; }
}

/* A state's electricity by type of customer: two charts (a wide and a narrow
   drawing, for computers and phones), the figures and notes */
.bc-title { margin: 22px 0 2px; font-size: 16px; }
.bc-sub-note { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.bc-keys { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 6px; font-size: 13px; color: var(--ink-2); }
.bc-keys span { display: inline-flex; align-items: center; gap: 6px; }
.bc-keys i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.bc-keys i.bc-dash { height: 0; border-top: 2px dashed; border-radius: 0; }
.bc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bc-narrow { display: none; }
@media (max-width: 600px) { .bc-wide { display: none; } .bc-narrow { display: block; } }
.bc-table td { font-family: var(--mono); text-align: right; white-space: nowrap; }
.bc-table thead th:not(:first-child) { text-align: right; }
.bc-table tr.bc-sub th { padding-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); text-align: left; }
.bc-notes { margin: 16px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.bc-notes li { margin: 4px 0; }
/* On a phone: 2016, the latest year and the change (2001 is in the charts) */
@media (max-width: 600px) { .bc-table thead th:nth-child(2), .bc-table td:nth-child(2) { display: none; } }
@media (max-width: 600px) {
  .bc-table { font-size: 11.5px; }
  .bc-table tbody th, .bc-table td, .bc-table thead th { padding: 8px 4px; }
}
