/* Baltimore page styling follows the city flag: the black-and-gold Calvert arms (paly of
   six with a counterchanged bend) that Baltimore has flown since 1915. Gold (#ebab00) is
   sampled from the flag artwork's literal fill value; the Crossland red (#9d2235) from
   the Maryland flag appears only as a restrained accent. Everything else stays flat,
   paper-toned, and editorial. */
.baltimore-page {
  --bal-gold: #ebab00;
  --bal-gold-deep: #8a6400;
  --bal-black: #0f0e0c;
  --bal-ink: #1b1916;
  --bal-red: #9d2235;
  --bal-paper: #fcfaf5;
  --bal-gray-dark: #57534a;
  --bal-gray-light: #cdc7ba;
  --bal-gray-lightest: #f3efe6;
  color: var(--bal-ink);
  background: var(--bal-paper);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.baltimore-page * {
  box-sizing: border-box;
}

.baltimore-page a {
  color: inherit;
}

.bal-container {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}

/* The masthead reads as the flag: a black field under a gold paly band. */
.bal-masthead {
  background: var(--bal-black);
  color: var(--bal-paper);
}

.bal-masthead-band {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--bal-gold) 0,
    var(--bal-gold) 28px,
    var(--bal-black) 28px,
    var(--bal-black) 56px
  );
}

.bal-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0 14px;
}

.bal-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bal-calvert svg {
  width: 40px;
  height: 40px;
  display: block;
}

.bal-wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--bal-gold);
}

.bal-agency {
  margin-top: 3px;
  color: rgba(252, 250, 245, 0.85);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bal-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  --site-header-control-text: var(--bal-paper);
  --site-header-control-bg: rgba(252, 250, 245, 0.06);
  --site-header-control-bg-hover: rgba(252, 250, 245, 0.14);
  --site-header-control-bg-active: rgba(252, 250, 245, 0.2);
  --site-header-control-border: rgba(235, 171, 0, 0.45);
}

.bal-nav a {
  color: var(--bal-paper);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bal-nav .site-header-button,
.bal-nav .site-header-icon-button,
.bal-nav .site-header-icon-link {
  color: var(--bal-paper);
  text-decoration: none;
}

.bal-nav .site-city-switcher-link {
  color: var(--site-header-panel-text);
  text-decoration: none;
}

.bal-error {
  padding: 28px 0;
}

.bal-error p,
.bal-error h2 {
  margin: 0;
}

.bal-error button {
  margin-top: 12px;
  border: 1px solid var(--bal-ink);
  background: var(--bal-paper);
  color: var(--bal-ink);
  padding: 10px 14px;
}

.bal-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background:
    linear-gradient(
      180deg,
      var(--bal-paper) 0%,
      var(--bal-paper) 58%,
      var(--bal-gray-lightest) 100%
    );
  color: var(--bal-ink);
}

.bal-loading-screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--bal-gold) 0,
    var(--bal-gold) 28px,
    var(--bal-black) 28px,
    var(--bal-black) 56px
  );
}

.bal-loading-shell {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: clamp(38px, 5.2vh, 56px) 0 clamp(20px, 3vh, 34px);
}

.bal-loading-head,
.bal-loading-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.bal-loading-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.bal-loading-calvert svg {
  width: 20px;
  height: 20px;
}

.bal-loading-kicker {
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bal-gold-deep);
}

.bal-loading-title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(48px, 8.6vw, 110px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.01em;
  max-width: 11ch;
}

.bal-loading-copy {
  max-width: 48rem;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--bal-gray-dark);
}

.bal-loading-progress {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.86;
  font-weight: 900;
  color: var(--bal-ink);
}

.bal-loading-progress-mark {
  color: var(--bal-gold-deep);
  font-size: 0.42em;
}

.bal-loading-stage {
  position: relative;
  min-height: min(56vh, 560px);
  overflow: hidden;
  border-top: 2px solid var(--bal-ink);
  border-bottom: 2px solid var(--bal-ink);
  background:
    linear-gradient(
      180deg,
      rgba(235, 171, 0, 0.08) 0%,
      rgba(252, 250, 245, 0.94) 30%,
      rgba(243, 239, 230, 0.96) 100%
    );
}

.bal-loading-stage-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  z-index: 1;
}

.bal-loading-stage-rule.is-top {
  top: 28px;
  background: var(--bal-gold);
}

.bal-loading-stage-rule.is-bottom {
  bottom: 28px;
  background: var(--bal-black);
}

.bal-loading-image-layer {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: min(36vh, 290px);
  overflow: hidden;
}

.bal-loading-image-layer.is-base {
  opacity: 0.12;
}

.bal-loading-image-layer.is-reveal {
  clip-path: inset(0 var(--bal-loader-clip, 100%) 0 0);
  transition: clip-path 240ms ease-out;
}

.bal-loading-image {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: min(1600px, 120vw);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

.bal-loading-foot {
  align-items: baseline;
  font-size: 13px;
  line-height: 18px;
  color: var(--bal-gray-dark);
}

.bal-loading-hint {
  color: var(--bal-gray-dark);
  opacity: 0.8;
}

.bal-hero-card {
  padding: 30px 0 34px;
  position: relative;
}

/* The hero rule is the flag in miniature: gold and black paly. */
.bal-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background:
    linear-gradient(
      180deg,
      var(--bal-gold) 0,
      var(--bal-gold) 25%,
      var(--bal-black) 25%,
      var(--bal-black) 50%,
      var(--bal-gold) 50%,
      var(--bal-gold) 75%,
      var(--bal-black) 75%,
      var(--bal-black) 100%
    );
}

.bal-hero-title {
  margin: 0 0 12px 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.012em;
  max-width: 21ch;
}

.bal-hero-title span {
  color: var(--bal-gold-deep);
}

.bal-hero-dek,
.bal-hero-note {
  margin: 0 0 0 24px;
  max-width: 78ch;
  font-size: 16px;
  line-height: 24px;
  color: var(--bal-gray-dark);
}

.bal-hero-note {
  margin-top: 10px;
}

.bal-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0 24px;
}

.bal-stat {
  border-top: 3px solid var(--bal-ink);
  padding-top: 12px;
}

.bal-stat-label,
.bal-section-tag,
.bal-repeat-head {
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bal-stat-label {
  color: var(--bal-gray-dark);
}

.bal-stat-value {
  margin-top: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
}

/* Minimal hero meta: one quiet inline line of plain facts, no boxes. */
.bal-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 18px 0 0 24px;
  font-size: 13.5px;
  line-height: 18px;
  color: var(--bal-gray-dark);
}

.bal-meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.bal-meta-item + .bal-meta-item::before {
  content: "\00B7";
  margin-right: 14px;
  color: var(--bal-gray-light);
}

.bal-meta-item span {
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bal-meta-item strong {
  font-weight: 600;
  color: var(--bal-ink);
}

.baltimore-page main {
  padding-top: 8px;
}

.bal-section {
  padding: 36px 0 24px;
}

.bal-section + .bal-section {
  margin-top: 8px;
}

.bal-section-head {
  max-width: 78ch;
}

.bal-section-tag {
  color: var(--bal-gold-deep);
}

.bal-section-head h2 {
  margin: 6px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.bal-section-head p,
.bal-summary-card p,
.bal-footer p,
.bal-footer li {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--bal-gray-dark);
}

.bal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bal-ytd-section {
  padding-top: 24px;
}

.bal-ytd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.bal-ytd-stat {
  min-height: 124px;
  border-top: 4px solid var(--bal-ink);
  padding-top: 12px;
}

.bal-ytd-stat.is-primary {
  border-color: var(--bal-gold);
}

.bal-ytd-label {
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bal-gray-dark);
}

.bal-ytd-value {
  margin-top: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.bal-ytd-stat.is-primary .bal-ytd-value {
  color: var(--bal-gold-deep);
}

.bal-summary-card {
  padding: 14px 0 0;
  border-top: 2px solid var(--bal-gray-light);
}

.bal-summary-card h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.bal-toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bal-toggle-button {
  appearance: none;
  border: 1px solid var(--bal-ink);
  background: var(--bal-paper);
  color: var(--bal-ink);
  padding: 8px 12px;
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.bal-toggle-button.is-active {
  background: var(--bal-black);
  color: var(--bal-gold);
  border-color: var(--bal-black);
}

.bal-chart-block {
  margin-top: 14px;
  background: none;
}

.bal-chart-shell {
  min-height: 320px;
  padding-top: 8px;
}

.bal-chart-shell.bal-chart-shell-short {
  min-height: 266px;
}

.bal-chart-shell.bal-chart-shell-ytd {
  min-height: 292px;
}

.bal-plot-root {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bal-plot-root > * {
  width: 100%;
  height: 100%;
}

.bal-echart-root {
  width: 100%;
  height: 100%;
}

.bal-plot-root svg,
.bal-plot-root figure {
  display: block;
  overflow: visible;
}

.bal-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.bal-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--bal-gray-dark);
}

.bal-map-shell {
  position: relative;
  height: clamp(360px, 54vw, 520px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f3efe6;
  box-shadow: none;
}

.bal-map-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(27, 25, 22, 0.08);
}

.bal-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--bal-gray-dark);
}

.bal-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bal-map-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(252, 250, 245, 0.96);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.bal-map-swatch.open {
  background: var(--bal-red);
}

.bal-map-swatch.closed {
  background: #b88300;
}

.bal-map-swatch.hotspot {
  background: #1b1916;
}

.bal-district-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bal-district-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 0.9fr) minmax(0, 1.6fr) 84px;
  gap: 8px 14px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--bal-gray-light);
}

.bal-district-rank {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
  color: var(--bal-gold-deep);
}

.bal-district-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}

.bal-district-bar {
  position: relative;
  height: 12px;
  background: var(--bal-gray-lightest);
}

.bal-district-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--bal-gold);
}

.bal-district-count {
  justify-self: end;
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.bal-repeat-head,
.bal-repeat-item {
  display: grid;
  grid-template-columns: 68px 92px minmax(0, 1.9fr) minmax(110px, 0.9fr) minmax(110px, 0.9fr);
  gap: 8px 12px;
  justify-items: start;
}

.bal-repeat-head {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--bal-gray-light);
  color: var(--bal-gray-dark);
}

.bal-repeat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bal-repeat-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--bal-gray-light);
  align-items: start;
}

.bal-repeat-rank,
.bal-repeat-requests {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
}

.bal-repeat-rank {
  color: var(--bal-gold-deep);
}

.bal-repeat-requests {
  color: var(--bal-ink);
}

.bal-repeat-address {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}

.bal-repeat-date {
  font-size: 16px;
  line-height: 20px;
  color: var(--bal-gray-dark);
}

.bal-mayor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.bal-mayor-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 20px 20px 18px;
}

/* Each card takes a square of the Calvert quarters: black, gold, Crossland red, and a
   bronze-gray field. */
.bal-mayor-card--rawlingsblake {
  background: var(--bal-black);
  color: var(--bal-paper);
}

.bal-mayor-card--rawlingsblake .bal-mayor-grade strong,
.bal-mayor-card--rawlingsblake h3 {
  color: var(--bal-gold);
}

.bal-mayor-card--pugh {
  background: var(--bal-red);
  color: var(--bal-paper);
}

.bal-mayor-card--young {
  background: #4a443a;
  color: var(--bal-paper);
}

.bal-mayor-card--scott {
  background: var(--bal-gold);
  color: var(--bal-black);
}

.bal-mayor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.bal-mayor-title-block h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  line-height: 1.02;
  font-weight: 700;
}

.bal-mayor-term {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 22px;
  color: inherit;
  opacity: 0.84;
}

.bal-mayor-grade {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 8px 10px 6px;
  text-align: right;
  background: rgba(255, 255, 255, 0.2);
}

.bal-mayor-card--scott .bal-mayor-grade {
  background: rgba(15, 14, 12, 0.12);
}

.bal-mayor-grade span,
.bal-mayor-metric-label,
.bal-mayor-note strong {
  display: block;
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bal-mayor-grade strong {
  display: block;
  margin-top: 2px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 30px;
  font-weight: 700;
}

.bal-mayor-summary,
.bal-mayor-note {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: inherit;
}

.bal-mayor-summary {
  opacity: 0.9;
}

.bal-mayor-note {
  opacity: 0.82;
}

.bal-mayor-metrics {
  display: grid;
  gap: 10px;
}

.bal-mayor-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid currentColor;
}

.bal-mayor-metric-label {
  color: inherit;
  opacity: 0.75;
  max-width: 18ch;
}

.bal-mayor-best {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 5px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.24);
}

.bal-mayor-card--scott .bal-mayor-best {
  background: rgba(15, 14, 12, 0.14);
}

.bal-mayor-metric-value {
  flex: 0 0 auto;
  text-align: right;
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  line-height: 28px;
  font-weight: 700;
}

.bal-footer {
  background: var(--bal-gray-lightest);
  border-top: 6px solid var(--bal-black);
  padding: 28px 0 40px;
}

.bal-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.bal-footer h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
}

.bal-footer ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.bal-source-list {
  display: grid;
  gap: 8px;
}

.bal-source-list a {
  color: var(--bal-gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.baltimore-page .leaflet-container {
  background: #f3efe6;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Single-hue monochrome basemap: grayscale the CARTO tiles, then warm them into the
   Calvert gold family so the map reads as one quiet parchment surface under the data. */
.baltimore-page .leaflet-tile-pane {
  filter: grayscale(1) sepia(1) saturate(1.25) hue-rotate(8deg) brightness(1.04) contrast(0.96);
}

.baltimore-page .leaflet-container a {
  color: var(--bal-gold-deep);
}

.baltimore-page .leaflet-pane.bal-map-labels-pane {
  mix-blend-mode: multiply;
  opacity: 0.78;
}

.baltimore-page .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 14px 32px rgba(27, 25, 22, 0.16);
}

.baltimore-page .leaflet-bar a,
.baltimore-page .leaflet-bar a:hover {
  width: 34px;
  height: 34px;
  line-height: 34px;
  border: none;
  border-bottom: 1px solid rgba(27, 25, 22, 0.1);
  background: rgba(252, 250, 245, 0.96);
  color: var(--bal-ink);
}

.baltimore-page .leaflet-bar a:last-child {
  border-bottom: none;
}

.baltimore-page .leaflet-bar a:hover {
  background: #fcfaf5;
  color: var(--bal-gold-deep);
}

.baltimore-page .leaflet-control-attribution {
  background: rgba(252, 250, 245, 0.92) !important;
  color: #6d675c;
  padding: 2px 8px;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(27, 25, 22, 0.12);
  box-shadow: 0 16px 30px rgba(27, 25, 22, 0.16);
  background: rgba(252, 250, 245, 0.97);
  font-size: 13px;
  line-height: 18px;
  color: #1b1916;
  min-width: 190px;
  max-width: 260px;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip::before {
  border-top-color: rgba(252, 250, 245, 0.97);
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-title {
  font-weight: 700;
  line-height: 17px;
  margin-bottom: 2px;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-meta,
.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-subtle,
.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-status-row {
  margin-top: 3px;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-status {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-status.is-open {
  background: rgba(157, 34, 53, 0.12);
  color: #7a1a2a;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-status.is-closed {
  background: rgba(138, 100, 0, 0.12);
  color: #6e5000;
}

.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-id,
.baltimore-page .leaflet-tooltip.bal-pothole-tooltip .map-tooltip-subtle {
  color: #6d675c;
  font-size: 12px;
}

@media (max-width: 900px) {
  .bal-stat-row,
  .bal-summary-grid,
  .bal-ytd-grid,
  .bal-footer-grid,
  .bal-mayor-grid {
    grid-template-columns: 1fr;
  }

  .bal-nav {
    display: none;
  }

  .bal-hero-title {
    max-width: none;
  }

  .bal-loading-head,
  .bal-loading-foot {
    flex-direction: column;
  }

  .bal-loading-progress {
    font-size: clamp(58px, 15vw, 104px);
  }

  .bal-loading-stage {
    min-height: min(48vh, 460px);
  }
}

@media (max-width: 720px) {
  .bal-container {
    width: min(100vw - 24px, 1200px);
  }

  .bal-wordmark {
    font-size: 28px;
  }

  .bal-hero-title,
  .bal-hero-dek,
  .bal-hero-note,
  .bal-stat-row,
  .bal-meta-line {
    margin-left: 18px;
  }

  .bal-mayor-head {
    flex-direction: column;
  }

  .bal-mayor-title-block h3 {
    font-size: 24px;
  }

  .bal-district-item {
    grid-template-columns: 36px minmax(0, 1fr) 64px;
  }

  .bal-district-bar {
    display: none;
  }

  .bal-repeat-head {
    display: none;
  }

  .bal-repeat-item {
    grid-template-columns: 64px 72px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .bal-repeat-address,
  .bal-repeat-date {
    grid-column: 3;
  }

  .bal-loading-shell {
    gap: 18px;
    padding-top: 34px;
  }

  .bal-loading-kicker-row {
    margin-bottom: 8px;
  }

  .bal-loading-title {
    font-size: clamp(38px, 14vw, 68px);
  }

  .bal-loading-copy {
    margin-top: 10px;
    font-size: 15px;
    line-height: 22px;
  }

  .bal-loading-stage {
    min-height: min(42vh, 360px);
  }

  .bal-loading-stage-rule.is-top {
    top: 18px;
  }

  .bal-loading-stage-rule.is-bottom {
    bottom: 18px;
  }

  .bal-loading-image-layer {
    height: min(26vh, 180px);
  }
}
