.chicago-page {
  --chi-black: #000000;
  --chi-blue: #41b6e6;
  --chi-red: #e4002b;
  --chi-white: #ffffff;
  --chi-gray-dark: #4d4d4d;
  --chi-gray-light: #b3b3b3;
  --chi-gray-lightest: #f1f1f1;
  --chi-bahama: #005b99;
  --chi-lake: #e1f3f8;
  --chi-focus: #2c5491;
  color: var(--chi-black);
  background: var(--chi-white);
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

.chicago-page a {
  color: inherit;
}

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

.chi-masthead {
  border-bottom: 4px solid var(--chi-blue);
  background: var(--chi-black);
  color: var(--chi-white);
}

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

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

.chi-stars {
  display: flex;
  gap: 6px;
}

.chi-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--chi-red);
}

.chi-wordmark {
  font-family: "Big Shoulders Display", "Impact", sans-serif;
  font-size: clamp(44px, 8vw, 64px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chi-agency {
  margin-top: 4px;
  color: var(--chi-blue);
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chi-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  --site-header-control-text: var(--chi-white);
  --site-header-control-bg: rgba(255, 255, 255, 0.04);
  --site-header-control-bg-hover: rgba(255, 255, 255, 0.1);
  --site-header-control-bg-active: rgba(255, 255, 255, 0.14);
  --site-header-control-border: rgba(255, 255, 255, 0.2);
}

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

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

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

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

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

.chi-error button {
  margin-top: 12px;
  border: 1px solid var(--chi-black);
  background: var(--chi-white);
  color: var(--chi-black);
  padding: 10px 14px;
}

.chi-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background:
    linear-gradient(
      180deg,
      var(--chi-white) 0%,
      var(--chi-white) 56%,
      var(--chi-gray-lightest) 100%
    );
  color: var(--chi-black);
}

.chi-loading-screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background:
    linear-gradient(
      180deg,
      var(--chi-black) 0,
      var(--chi-black) 4px,
      var(--chi-blue) 4px,
      var(--chi-blue) 9px,
      var(--chi-white) 9px,
      var(--chi-white) 11px,
      var(--chi-red) 11px,
      var(--chi-red) 14px
    );
}

.chi-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);
}

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

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

.chi-loading-stars {
  gap: 4px;
}

.chi-loading-stars svg {
  width: 14px;
  height: 14px;
}

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

.chi-loading-title {
  margin: 0;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: clamp(54px, 10vw, 126px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 8ch;
}

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

.chi-loading-progress {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: clamp(72px, 11vw, 132px);
  line-height: 0.84;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--chi-black);
}

.chi-loading-progress-mark {
  color: var(--chi-blue);
  font-size: 0.42em;
}

.chi-loading-stage {
  position: relative;
  min-height: min(56vh, 560px);
  overflow: hidden;
  border-top: 2px solid var(--chi-black);
  border-bottom: 2px solid var(--chi-black);
  background:
    linear-gradient(
      180deg,
      rgba(65, 182, 230, 0.08) 0%,
      rgba(255, 255, 255, 0.94) 28%,
      rgba(241, 241, 241, 0.96) 100%
    );
}

.chi-loading-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(228, 0, 43, 0.04) 0 8%, transparent 8% 42%, rgba(228, 0, 43, 0.04) 42% 50%, transparent 50% 100%);
  opacity: 0.7;
  pointer-events: none;
}

.chi-loading-stage-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 1;
  background: var(--chi-blue);
}

.chi-loading-stage-rule.is-top {
  top: 28px;
}

.chi-loading-stage-rule.is-bottom {
  bottom: 28px;
}

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

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

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

.chi-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;
}

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

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

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

.chi-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background:
    linear-gradient(
      180deg,
      var(--chi-blue) 0,
      var(--chi-blue) 55%,
      var(--chi-red) 55%,
      var(--chi-red) 100%
    );
}

.chi-hero-title {
  margin: 0 0 12px 24px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}

.chi-hero-title span {
  color: var(--chi-blue);
}

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

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

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

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

.chi-stat-label,
.chi-chip span,
.chi-section-tag,
.chi-repeat-head {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.chi-stat-value {
  margin-top: 8px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
}

.chi-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0 24px;
}

.chi-chip {
  border: 1px solid var(--chi-gray-light);
  padding: 10px 12px;
  background: var(--chi-gray-lightest);
  min-width: 220px;
}

.chi-chip span {
  display: block;
  color: var(--chi-gray-dark);
}

.chi-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 20px;
}

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

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

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

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

.chi-section-tag {
  color: var(--chi-bahama);
}

.chi-section-head h2 {
  margin: 6px 0 8px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

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

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

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

.chi-ytd-stat {
  min-height: 132px;
  border-top: 4px solid var(--chi-black);
  padding-top: 12px;
}

.chi-ytd-stat.is-primary {
  border-color: var(--chi-blue);
}

.chi-ytd-label {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11.9px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chi-gray-dark);
}

.chi-ytd-value {
  margin-top: 8px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.chi-ytd-stat.is-primary .chi-ytd-value {
  color: var(--chi-blue);
}

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

.chi-summary-card h3 {
  margin: 0 0 6px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.chi-toggle-button {
  appearance: none;
  border: 1px solid var(--chi-black);
  background: var(--chi-white);
  color: var(--chi-black);
  padding: 8px 12px;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

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

.chi-chart-card {
  margin-top: 14px;
  background: none;
}

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

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

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

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

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

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

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

.chi-plot-render {
  display: grid;
  height: 100%;
  gap: 8px;
}

.chi-plot-render--top {
  grid-template-rows: auto minmax(0, 1fr);
}

.chi-plot-render--bottom {
  grid-template-rows: minmax(0, 1fr) auto;
}

.chi-plot-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--chi-gray-dark);
  font-size: 11.5px;
  line-height: 15px;
}

.chi-plot-root .plot {
  max-width: 100%;
}

.chi-plot-legend--bottom {
  justify-content: center;
}

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

.chi-plot-legend-swatch {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 10px;
  flex: 0 0 auto;
}

.chi-plot-legend-swatch::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  border-top: 3px solid currentColor;
}

.chi-plot-legend-swatch.is-dashed::before {
  border-top-style: dashed;
}

.chi-plot-legend-swatch.is-dot::before {
  top: 1px;
  left: 4px;
  right: 4px;
  bottom: 1px;
  border-top: none;
  border-radius: 50%;
  background: currentColor;
}

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

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

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

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

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

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

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

.chi-map-swatch.open {
  background: #ff5964;
}

.chi-map-swatch.closed {
  background: #2d9bf0;
}

.chi-map-swatch.hotspot {
  background: #111111;
}

.chi-repeat-head,
.chi-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;
}

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

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

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

.chi-repeat-rank,
.chi-repeat-requests {
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 26px;
  line-height: 26px;
  font-weight: 700;
}

.chi-repeat-rank {
  color: var(--chi-bahama);
}

.chi-repeat-requests {
  color: var(--chi-black);
}

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

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

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

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

.chi-mayor-card--emanuel {
  background: var(--chi-lake);
  color: var(--chi-black);
}

.chi-mayor-card--lightfoot {
  background: var(--chi-red);
  color: var(--chi-white);
}

.chi-mayor-card--johnson {
  background: var(--chi-black);
  color: var(--chi-white);
}

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

.chi-mayor-title-block h3 {
  margin: 0;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 38px;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

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

.chi-mayor-card--emanuel .chi-mayor-grade {
  background: rgba(0, 0, 0, 0.08);
}

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

.chi-mayor-grade strong {
  display: block;
  margin-top: 2px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 32px;
  line-height: 30px;
  font-weight: 800;
}

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

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

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

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

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

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

.chi-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);
}

.chi-mayor-card--emanuel .chi-mayor-best {
  background: rgba(0, 0, 0, 0.09);
}

.chi-mayor-metric-value {
  flex: 0 0 auto;
  text-align: right;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 30px;
  line-height: 28px;
  font-weight: 700;
}

.chi-footer {
  background: var(--chi-gray-lightest);
  padding: 28px 0 40px;
}

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

.chi-footer h2 {
  margin: 0 0 10px;
  font-family: "Big Shoulders Text", "Impact", sans-serif;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.chi-source-list a {
  color: var(--chi-bahama);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chicago-page .leaflet-container {
  background: #f4f6f8;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Single-hue monochrome basemap: grayscale the CARTO tiles, then tint them toward the
   Chicago flag light blue so the map reads as one quiet surface under the data. */
.chicago-page .leaflet-tile-pane {
  filter: grayscale(1) sepia(1) saturate(1.4) hue-rotate(170deg) brightness(1) contrast(1);
}

.chicago-page .leaflet-container a {
  color: var(--chi-bahama);
}

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

.chicago-page .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.chicago-page .leaflet-bar a,
.chicago-page .leaflet-bar a:hover {
  width: 34px;
  height: 34px;
  line-height: 34px;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--chi-black);
}

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

.chicago-page .leaflet-bar a:hover {
  background: #ffffff;
  color: var(--chi-bahama);
}

.chicago-page .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #4f5d6b;
  padding: 2px 8px;
}

.chicago-page .leaflet-tooltip.chi-pothole-tooltip {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.97);
  font-size: 13px;
  line-height: 18px;
  color: #101820;
  min-width: 190px;
  max-width: 260px;
}

.chicago-page .leaflet-tooltip.chi-pothole-tooltip::before {
  border-top-color: rgba(255, 255, 255, 0.97);
}

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

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

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

.chicago-page .leaflet-tooltip.chi-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;
}

.chicago-page .leaflet-tooltip.chi-pothole-tooltip .map-tooltip-status.is-open {
  background: rgba(255, 89, 100, 0.14);
  color: #8b1e29;
}

.chicago-page .leaflet-tooltip.chi-pothole-tooltip .map-tooltip-status.is-closed {
  background: rgba(45, 155, 240, 0.14);
  color: #135378;
}

.chicago-page .leaflet-tooltip.chi-pothole-tooltip .map-tooltip-id,
.chicago-page .leaflet-tooltip.chi-pothole-tooltip .map-tooltip-subtle {
  color: #556270;
  font-size: 12px;
}

.chi-summary-grid,
.chi-footer-grid {
  grid-template-columns: 1fr;
}

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

  .chi-nav {
    display: none;
  }

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

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

  .chi-loading-progress {
    font-size: clamp(64px, 16vw, 110px);
  }

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

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

  .chi-wordmark {
    font-size: 42px;
  }

  .chi-hero-title,
  .chi-hero-dek,
  .chi-hero-note,
  .chi-stat-row,
  .chi-chip-row {
    margin-left: 18px;
  }

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

  .chi-mayor-title-block h3 {
    font-size: 32px;
  }

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

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

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

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

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

  .chi-loading-title {
    font-size: clamp(42px, 18vw, 76px);
    max-width: 7.5ch;
  }

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

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

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

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

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


/* Minimal hero meta: plain inline facts on one line, no boxes. */
.chi-chip-row {
  align-items: baseline;
  gap: 4px 14px;
}

.chi-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

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

.chi-chip span {
  display: inline;
}

.chi-chip strong {
  display: inline;
  margin-top: 0;
  font-size: 13.5px;
  line-height: 18px;
}
