html, body, * {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

  :root {
    --paper: #f7f4ee;
    --ink: #1b1b1b;
    --muted: #6d6a63;
    --accent: #006BB7;
    --accent-dark: #005a99;
    --line: #bcb6ab;
    --state-fill: #ece7dc;
    --state-stroke: #8e897f;
    --pin: #004282;
    --pin-glow: rgba(0, 66, 130, 0.25);
  }
  html, body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 28px 80px;
    box-sizing: border-box;
  }
  .header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
  }
  .eyebrow {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
  }
  h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.0;
    color: #004282;
    font-weight: 800;
  }
  .dek {
    margin-top: 10px;
    max-width: 760px;
    color: #403d38;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.45;
  }
  .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 18px 0 12px;
  }
  .controls-label {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-right: 4px;
  }
  .filter-btn {
    appearance: none;
    border: 1px solid #d6d1c7;
    background: #ffffff;
    color: #33302c;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
  }
  .filter-btn:hover {
    background: #f5f5f5;
    border-color: #b8b0a4;
  }
  .filter-btn.active {
    background: #1f4e79;
    border-color: #1f4e79;
    color: #fff;
    box-shadow: none;
  }
  .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--muted);
    font-size: 13px;
  }
  #summary {
    font-weight: 600;
    color: #5f5a54;
  }
  #chart {
    width: 100%;
    border-top: 1px solid var(--line);
    border-bottom: none;
    padding: 12px 0 4px;
  }
  svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
  }
  .map-shadow {
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.06));
  }
  .state {
    vector-effect: non-scaling-stroke;
  }
  .pin {
    cursor: pointer;
    cursor: pointer;
    transition: opacity 120ms ease, transform 140ms ease;
  }
  .pin.is-hidden {
    display: none;
  }
  .month-chip {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    fill: var(--muted);
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .footer {
    margin-top: 20px;
    padding-top: 14px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.3;
    color: #1f1d19;
  }
  .footer .email {
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 700;
  }
  
.tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(255,255,255,0.99);
  border: 1px solid rgba(20,30,40,0.08);
  border-left: 8px solid #006BB7;
  border-radius: 0 18px 18px 0;
  padding: 18px 20px 18px 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.16);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  max-width: 360px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transform-origin: top left;
  transition: opacity 170ms ease, transform 170ms ease, box-shadow 170ms ease;
  z-index: 30;
  --arrow-top: 34px;
}

.tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.tooltip.side-right::before,
.tooltip.side-left::before {
  content: "";
  position: absolute;
  top: var(--arrow-top);
  width: 0;
  height: 0;
}
.tooltip.side-right::before {
  left: -14px;
  border-top: 11px solid transparent;
  border-bottom: none;
  border-right: 14px solid #006BB7;
}
.tooltip.side-right::after,
.tooltip.side-left::after {
  content: "";
  position: absolute;
  top: calc(var(--arrow-top) + 2px);
  width: 0;
  height: 0;
}
.tooltip.side-right::after {
  left: -9px;
  border-top: 9px solid transparent;
  border-bottom: none;
  border-right: 11px solid rgba(255,255,255,0.99);
}
.tooltip.side-left::before {
  right: -14px;
  border-top: 11px solid transparent;
  border-bottom: none;
  border-left: 14px solid #006BB7;
}
.tooltip.side-left::after {
  right: -9px;
  border-top: 9px solid transparent;
  border-bottom: none;
  border-left: 11px solid rgba(255,255,255,0.99);
}

.tooltip .close-hint {
  margin-top: 12px;
  font-size: 11px;
  color: #7a7a7a;
  letter-spacing: 0.01em;
}
.pin.is-active use {
  filter: drop-shadow(0 0 10px rgba(0,107,183,0.22));
}
.pin .hover-ring {
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
  transform-origin: center;
}
.pin:hover .hover-ring,
.pin.is-active .hover-ring {
  opacity: 1;
}
.tooltip .name {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  color: #004282;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
 
.tooltip .row {
  margin-top: 8px;
  color: #24333f;
  font-size: 13px;
  line-height: 1.45;
}
 
.tooltip .label {
  color: #24333f;
  display: inline-block;
  min-width: 96px;
  font-weight: 700;
}
  
.tooltip .date-line {
  font-size: 15px;
  color: #2e3e4a;
  margin-bottom: 12px;
}
.tooltip .value {
  color: #2b3944;
}
.tooltip .badge {
  display: inline-block;
  padding: 3px 10px 4px;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}
.tooltip .badge.primary {
  background: #8F1D14;
  color: #fff;
}
.tooltip .badge.secondary {
  display: inline-block;
  border: 2px solid #2a57c6;
  color: #2a57c6;
  background: #fff;
  border-radius: 999px;
  padding: 5px 14px 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.tooltip .badge.outline-red {
  border: 2px solid #077A8A;
  color: #077A8A;
  background: #fff;
  border-radius: 18px;
  padding: 4px 12px 5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

  
.view-toggle {
  display: inline-flex;
  gap: 0;
  margin: 8px 0 18px;
  border: 1px solid #d8d2c8;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.view-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #33302c;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.view-btn:hover {
  background: #f5f5f5;
}
.view-btn.active {
  background: #1f4e79;
  color: #fff;
}
.is-hidden {
  display: none !important;
}
.virtual-view {
  margin-top: 0;
  border-top: none;
  border-bottom: none;
  padding: 0;
}
.virtual-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.virtual-kicker {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  color: #111;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.virtual-count {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.virtual-table-wrap {
  background: rgba(255,255,255,0.78);
  border: 1px solid #dfd9cf;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}
.virtual-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.virtual-table thead th {
  text-align: left;
  background: #f8f6f1;
  color: #5c5650;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: none;
}
.virtual-table tbody td {
  padding: 14px 16px;
  border-bottom: none;
  vertical-align: top;
  color: #24333f;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.virtual-table .event-cell,
.virtual-table .event-title,
.virtual-table .event-desc,
.virtual-table .virtual-where,
.virtual-table a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.virtual-table .event-title,
.virtual-table .event-desc {
  max-width: 100%;
}
.virtual-table tbody tr:last-child td {
  border-bottom: none;
}
.virtual-table tbody tr:hover {
  background: #fbfaf7;
}
.virtual-table .event-cell {
  min-width: 250px;
}
.virtual-table .event-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.14;
  color: #006BB7;
  font-weight: 700;
  margin-bottom: 4px;
}
.virtual-table .event-desc {
  color: #6a645d;
  font-size: 13px;
}
.virtual-pill {
  display: inline-block;
  padding: 4px 10px 5px;
  border: 2px solid #2a57c6;
  color: #2a57c6;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}
.virtual-where {
  color: #077A8A;
  font-weight: 700;
}


.virtual-table td:first-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.virtual-table td:nth-child(4) {
  white-space: nowrap;
  line-height: 1.3;
}

.virtual-table td {
  word-break: normal;
  overflow-wrap: normal;
}

.virtual-table .time-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


.event-desc {
  margin-top: 6px;
  line-height: 1.55;
}


.search-wrap {
  margin: 6px 0 22px;
  max-width: 620px;
}
.search-label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #d9d2c7;
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.search-shell:focus-within {
  border-color: rgba(0,66,130,0.38);
  box-shadow: 0 6px 20px rgba(0,66,130,0.10);
  transform: translateY(-1px);
}
.search-icon {
  color: #7b746c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.search-input {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  color: #2b3137;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}
.search-input::placeholder {
  color: #8a837a;
}
.search-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: #004282;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 140ms ease, color 140ms ease;
}
.search-clear:hover {
  background: rgba(0,66,130,0.06);
}
.search-note {
  margin-top: 9px;
  color: #766f67;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}
.virtual-empty,
.map-empty {
  margin: 18px 0 6px;
  color: #766f67;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .map-zoom-controls {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: auto;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(120,112,102,0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}
  .zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
  .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}
    .search-wrap { max-width: 100%; }
    .search-shell { padding-right: 8px; }
    .search-input { font-size: 15px; }

    .view-toggle { width: 100%; justify-content: space-between; }
    .view-btn { flex: 1 1 50%; }
    .virtual-toolbar { flex-direction: column; align-items: flex-start; }
    .virtual-table-wrap { overflow-x: auto; }
    .virtual-table { min-width: 860px; }

    .wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 28px 80px;
    box-sizing: border-box;
  }
    .meta-row { flex-direction: column; align-items: flex-start; }
    .filter-btn { padding: 8px 12px; font-size: 13px; }
  }

/* Responsive polish for desktop, tablet, mobile */
@media (max-width: 1100px) {
  .wrapper {
    padding: 42px 22px 70px;
  }
  h1 {
    font-size: clamp(34px, 6vw, 52px);
  }
  .dek {
    max-width: 700px;
    font-size: 17px;
  }
  .virtual-table thead th,
  .virtual-table tbody td {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 860px) {
  .wrapper {
    padding: 32px 18px 60px;
  }
  h1 {
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.02;
  }
  .dek {
    font-size: 16px;
    line-height: 1.46;
    max-width: 100%;
  }
  .header {
    gap: 10px;
  }
  .view-toggle {
    display: flex;
    width: 100%;
    margin: 6px 0 16px;
  }
  .view-btn {
    flex: 1 1 50%;
    text-align: center;
    padding: 10px 14px;
  }
  .search-wrap {
    max-width: 100%;
    margin: 0 0 18px;
  }
  .search-shell {
    padding: 8px 8px 8px 12px;
  }
  .search-input {
    font-size: 15px;
  }
  .controls {
    gap: 8px;
    margin: 18px 0 12px;
  }
  .controls-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2px;
  }
  .filter-btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .meta-row {
    font-size: 12px;
    margin-bottom: 8px;
  }
  #chart {
    padding-top: 10px;
  }
  .virtual-view {
    padding-top: 10px;
  }
  .virtual-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
  }
  .virtual-kicker {
  color: #111;
    font-size: 24px;
  }
  .virtual-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
  }
  .virtual-table {
    min-width: 760px;
  }
  .tooltip {
    max-width: 300px;
    padding: 14px 16px;
  }
  .tooltip .name {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .wrapper {
    padding: 22px 14px 48px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 6px;
  }
  h1 {
    font-size: clamp(25px, 10vw, 36px);
    letter-spacing: -0.02em;
  }
  .dek {
    font-size: 15px;
    line-height: 1.42;
  }
  .search-label,
  .controls-label {
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .search-shell {
    gap: 8px;
    padding: 7px 7px 7px 11px;
  }
  .search-input {
    font-size: 15px;
  }
  .search-clear {
    font-size: 12px;
    padding: 5px 8px;
  }
  .controls {
    margin: 16px 0 10px;
  }
  .filter-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .virtual-kicker {
  color: #111;
    font-size: 20px;
  }
  .virtual-count {
    font-size: 12px;
  }
  .footer {
    margin-top: 48px;
    padding-top: 18px;
    font-size: 16px;
  }
  .tooltip {
    max-width: 260px;
    padding: 12px 14px;
    border-left-width: 6px;
  }
  .tooltip .label {
    min-width: 82px;
  }
  .tooltip .badge.secondary,
  .tooltip .badge.outline-red {
    font-size: 12px;
  }

  /* Turn virtual table into a polished mobile card list */
  .virtual-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  .virtual-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
  }
  .virtual-table thead {
    display: none;
  }
  .virtual-table tbody,
  .virtual-table tr,
  .virtual-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .virtual-table tbody tr.virtual-row {
    background: rgba(255,255,255,0.88);
    border: 1px solid #ddd6ca;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    overflow: hidden;
    margin: 0 0 12px 0;
  }
  .virtual-table tbody td {
    padding: 10px 14px;
    border-bottom: none;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal !important;
  }
  .virtual-table tbody td:last-child {
    border-bottom: none;
  }
  .virtual-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #7a736b;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .virtual-table tbody td.event-cell {
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .virtual-table tbody td.event-cell::before {
    margin-bottom: 8px;
  }
  .virtual-table .event-title {
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 6px;
  }
  .event-desc {
    font-size: 12px;
    line-height: 1.56;
    color: #6c655d;
    max-width: 100%;
  }
  .virtual-pill {
    font-size: 12px;
    padding: 4px 9px 5px;
  }
  .virtual-where {
    font-size: 13px;
  }
  .time-cell {
    font-variant-numeric: tabular-nums;
  }

  /* Keep map usable on small screens */
  #chart {
    overflow: hidden;
  }
  svg {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 640px) {
  .tooltip {
    max-width: min(86vw, 320px);
    width: auto;
  }
  .tooltip.side-right::before,
  .tooltip.side-right::after,
  .tooltip.side-left::before,
  .tooltip.side-left::after {
    display: none;
  }
}


.map-stage {
  position: relative;
}
.map-zoom-controls {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: auto;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(120,112,102,0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}
.zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.zoom-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(0,66,130,0.18);
  color: #004282;
  box-shadow: 0 8px 18px rgba(0,66,130,0.10);
}
.zoom-btn:active {
  transform: translateY(0);
}
.zoom-btn:focus-visible {
  outline: none;
  border-color: rgba(0,66,130,0.42);
  box-shadow: 0 0 0 3px rgba(0,66,130,0.10);
}
.zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}



  .zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
  .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}
}


.zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
  .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}
}



  .zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
  .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}
}
.zoom-btn {
  appearance: none;
  border: 1px solid rgba(90,84,76,0.12);
  background: rgba(255,255,255,0.96);
  color: #202020;
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}
  .zoom-reset {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: 64px;
}
}



  .zoom-btn {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
    padding: 0 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.035);
  }
  .zoom-reset {
    min-width: 48px;
    font-size: 8px;
    letter-spacing: 0.05em;
  }
}


@media (max-width: 900px) {
  .map-zoom-controls {
    top: auto;
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    gap: 5px;
    padding: 5px;
    border-radius: 999px;
  }
  .zoom-btn {
    min-width: 30px;
    height: 30px;
    font-size: 15px;
    padding: 0 8px;
  }
  .zoom-reset {
    min-width: 50px;
    font-size: 8px;
  }
}

@media (max-width: 640px) {
  .map-zoom-controls {
    bottom: 10px;
    gap: 4px;
    padding: 4px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  }
  .zoom-btn {
    min-width: 26px;
    height: 26px;
    font-size: 13px;
    padding: 0 6px;
  }
  .zoom-reset {
    min-width: 44px;
    font-size: 7px;
    letter-spacing: 0.04em;
  }
}


/* Final zoom-control fixes */
.map-stage .map-zoom-controls {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: 14px !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  z-index: 8 !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  gap: 8px !important;
  padding: 8px !important;
  background: rgba(255,255,255,0.84) !important;
  border: 1px solid rgba(120,112,102,0.16) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06) !important;
  backdrop-filter: blur(10px) !important;
}

.map-stage .map-zoom-controls .zoom-btn {
  appearance: none !important;
  border: 1px solid rgba(90,84,76,0.12) !important;
  background: rgba(255,255,255,0.96) !important;
  color: #202020 !important;
  border-radius: 999px !important;
  min-width: 40px !important;
  width: auto !important;
  height: 40px !important;
  padding: 0 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.map-stage .map-zoom-controls .zoom-reset {
  min-width: 64px !important;
  font-size: 10px !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

@media (max-width: 900px) {
  .map-stage .map-zoom-controls {
    top: auto !important;
    bottom: 12px !important;
    gap: 5px !important;
    padding: 5px !important;
  }
  .map-stage .map-zoom-controls .zoom-btn {
    min-width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
    padding: 0 8px !important;
  }
  .map-stage .map-zoom-controls .zoom-reset {
    min-width: 50px !important;
    font-size: 8px !important;
    letter-spacing: 0.04em !important;
  }
}

@media (max-width: 640px) {
  .map-stage .map-zoom-controls {
    top: auto !important;
    bottom: 10px !important;
    gap: 4px !important;
    padding: 4px !important;
    background: rgba(255,255,255,0.90) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05) !important;
  }
  .map-stage .map-zoom-controls .zoom-btn {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
    padding: 0 6px !important;
  }
  .map-stage .map-zoom-controls .zoom-reset {
    min-width: 44px !important;
    font-size: 7px !important;
    letter-spacing: 0.03em !important;
  }
}


.inperson-list {
  margin-top: 48px;
}
.inperson-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.inperson-kicker {
  color: #077A8A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  color: #111;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.inperson-count {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.inperson-table-wrap {
  background: rgba(255,255,255,0.82);
  border: 1px solid #dfd9cf;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}
.inperson-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.inperson-table thead th {
  text-align: left;
  background: #f8f6f1;
  color: #5c5650;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: none;
}
.inperson-table tbody td {
  padding: 14px 16px;
  border-bottom: none;
  vertical-align: top;
  color: #24333f;
  font-size: 14px;
  line-height: 1.45;
}
.inperson-table tbody tr:last-child td {
  border-bottom: none;
}
.inperson-table tbody tr:hover {
  background: #fbfaf7;
}
.inperson-table .event-cell {
  min-width: 250px;
}
.inperson-table .event-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.14;
  color: #006BB7;
  font-weight: 700;
  margin-bottom: 4px;
}
.inperson-pill {
  display: inline-block;
  padding: 4px 10px 5px;
  border: 2px solid #2a57c6;
  color: #2a57c6;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}
.inperson-where {
  color: #077A8A;
  font-weight: 700;
}
.inperson-table td:first-child,
.inperson-table .time-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.inperson-empty {
  margin: 18px 0 6px;
  color: #766f67;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}


@media (max-width: 860px) {
  .inperson-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
  }
  .inperson-kicker {
  color: #077A8A;
    font-size: 24px;
  }
  .inperson-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
  }
  .inperson-table {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .inperson-kicker {
  color: #077A8A;
    font-size: 20px;
  }
  .inperson-count {
    font-size: 12px;
  }
  .inperson-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  .inperson-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
  }
  .inperson-table thead {
    display: none;
  }
  .inperson-table tbody,
  .inperson-table tr,
  .inperson-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .inperson-table tbody tr.inperson-row {
    background: rgba(255,255,255,0.88);
    border: 1px solid #ddd6ca;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    overflow: hidden;
    margin: 0 0 12px 0;
  }
  .inperson-table tbody td {
    padding: 10px 14px;
    border-bottom: none;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal !important;
  }
  .inperson-table tbody td:last-child {
    border-bottom: none;
  }
  .inperson-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #7a736b;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .inperson-table .event-title {
    font-size: 16px;
    line-height: 1.15;
  }
  .inperson-pill {
    font-size: 12px;
    padding: 4px 9px 5px;
  }
}


.table-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 10px 2px 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.table-page-status {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}
.table-page-btn {
  appearance: none;
  border: 1px solid #d7d1c7;
  background: rgba(255,255,255,0.88);
  color: #222;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.table-page-btn:hover:not(:disabled) {
  background: #fff;
  border-color: rgba(0,66,130,0.2);
  transform: translateY(-1px);
}
.table-page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.table-page-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 640px) {
  .table-controls {
    gap: 8px;
    margin: 8px 0 10px;
  }
  .table-page-status {
    font-size: 13px;
  }
  .table-page-btn {
    width: 36px;
    height: 36px;
  }
}


.search-suggestions {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  border: 1px solid #ddd6ca;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  margin-top: 8px;
  z-index: 24;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
  backdrop-filter: blur(8px);
}
.search-suggestions .suggestion-header {
  padding: 9px 14px 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b746c;
  background: #faf8f4;
  border-bottom: none;
}
.search-suggestions .suggestion-item {
  padding: 11px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #2f2c28;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, padding-left 120ms ease;
}
.search-suggestions .suggestion-item:hover {
  background: #f6f4ef;
  color: #004282;
  padding-left: 18px;
}
.search-suggestions mark {
  background: rgba(0,107,183,0.12);
  color: #004282;
  padding: 0 2px;
  border-radius: 3px;
}



.credits-bar {
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.credits-text {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #6b645c;
  line-height: 1.7;
}
.credits-logo img {
  height: 40px;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .footer {
    margin-top: 48px;
    padding-top: 12px;
  }
  .credits-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .credits-logo img {
    height: 32px;
  }
}


@media (max-width: 640px) {
  .credits-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }

  .credits-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .credits-logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .credits-logo img {
    height: 44px;
  }
}


@media (max-width: 900px) {
  .credits-logo img {
    height: 35px;
  }
}


@media (max-width: 640px) {
  .inperson-kicker {
    color: #111 !important;
  }
}


@media (max-width: 640px) {
  .search-suggestions {
    margin-top: 6px;
    border-radius: 14px;
    max-height: 260px;
  }
  .search-suggestions .suggestion-item {
    font-size: 13px;
    padding: 10px 12px;
  }
}

.section-line {
  width: 100%;
  height: 1px;
  background: #d8d2c8;
  margin: 28px 0 20px;
}


.table-wrap table {
  border-bottom: none;
}


.virtual-map-stage {
  margin: 8px 0 18px;
}
#virtualChart svg {
  display: block;
}


.virtual-meta-row {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}


.tooltip {
  max-width: 360px;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

@media (max-width: 640px) {
  .tooltip {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}


.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 6px 0 22px;
}
.search-grid .search-wrap {
  margin: 0;
  max-width: 100%;
}
@media (max-width: 860px) {
  .search-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 18px;
  }
}


.contact-line {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 18px;
}
.contact-email {
  font-weight: 600;
  color: #1f5fa8;
}
.nar-logo {
  height: 60px;
  width: auto;
}
@media (max-width: 768px) {
  .contact-line { font-size: 14px; }
  .nar-logo { height: 48px; }
}


.all-meta-row {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
#allChart svg {
  display: block;
}


#viewToggle {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
}

#viewToggle .view-btn {
  position: relative;
}

#viewToggle .view-btn:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #dcdcdc;
}


/* Move zoom controls slightly higher ONLY for All + Virtual */
.all-map-stage .map-zoom-controls,
.virtual-map-stage .map-zoom-controls {
  top: 8px !important;
}

/* Keep In-Person unchanged */
.map-stage:not(.all-map-stage):not(.virtual-map-stage) .map-zoom-controls {
  top: 14px !important;
}

/* === FINAL ALIGNMENT FIX (match In-Person exactly) === */

/* Ensure identical spacing under header rows */
.all-meta-row,
.virtual-meta-row {
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--line) !important;
}

/* Remove extra offset differences */
.all-map-stage,
.virtual-map-stage,
.map-stage {
  margin-top: 0 !important;
}

/* Lock zoom control relative to same anchor */
.map-stage .map-zoom-controls {
  top: 14px !important;
}


/* === UNIFIED SPACING FOR ALL SECTIONS === */

/* identical header spacing */
.meta-row,
.all-meta-row,
.virtual-meta-row {
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--line) !important;
}

/* identical map spacing */
.map-stage,
.all-map-stage,
.virtual-map-stage {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* identical zoom position */
.map-stage .map-zoom-controls,
.all-map-stage .map-zoom-controls,
.virtual-map-stage .map-zoom-controls {
  top: 14px !important;
}


/* Hide extra second divider line under section header */
#chart,
#allChart,
#virtualChart {
  border-top: none !important;
}


/* Move maps slightly lower and keep all sections consistent */
.map-stage,
.all-map-stage,
.virtual-map-stage {
  padding-top: 10px !important;
}

/* Keep zoom aligned with new spacing */
.map-stage .map-zoom-controls,
.all-map-stage .map-zoom-controls,
.virtual-map-stage .map-zoom-controls {
  top: 24px !important;
}


/* Match All Events + Virtual map spacing to In Person */
.all-meta-row,
.virtual-meta-row {
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--line) !important;
}

.all-map-stage,
.virtual-map-stage {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

.map-stage:not(.all-map-stage):not(.virtual-map-stage) {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

.all-map-stage .map-zoom-controls,
.virtual-map-stage .map-zoom-controls,
.map-stage:not(.all-map-stage):not(.virtual-map-stage) .map-zoom-controls {
  top: 24px !important;
}


/* Add consistent space between zoom controls and map */
.map-stage,
.all-map-stage,
.virtual-map-stage {
  padding-top: 22px !important;
}

/* keep controls slightly above map */
.map-zoom-controls {
  top: 8px !important;
}


/* Mobile zoom controls: keep horizontal, centered, and compact */
@media (max-width: 640px) {
  .map-stage .map-zoom-controls,
  .all-map-stage .map-zoom-controls,
  .virtual-map-stage .map-zoom-controls {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 12px !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06) !important;
  }

  .map-stage .map-zoom-controls .zoom-btn,
  .all-map-stage .map-zoom-controls .zoom-btn,
  .virtual-map-stage .map-zoom-controls .zoom-btn {
    min-width: 44px !important;
    width: auto !important;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 22px !important;
    border-radius: 999px !important;
  }

  .map-stage .map-zoom-controls .zoom-reset,
  .all-map-stage .map-zoom-controls .zoom-reset,
  .virtual-map-stage .map-zoom-controls .zoom-reset {
    min-width: 78px !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }
}


/* Smaller mobile zoom controls (no overlap) */
@media (max-width: 640px) {
  .map-stage .map-zoom-controls,
  .all-map-stage .map-zoom-controls,
  .virtual-map-stage .map-zoom-controls {
    top: 8px !important;
    gap: 4px !important;
    padding: 4px !important;
  }

  .map-stage .map-zoom-controls .zoom-btn,
  .all-map-stage .map-zoom-controls .zoom-btn,
  .virtual-map-stage .map-zoom-controls .zoom-btn {
    min-width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
    padding: 0 6px !important;
  }

  .map-stage .map-zoom-controls .zoom-reset,
  .all-map-stage .map-zoom-controls .zoom-reset,
  .virtual-map-stage .map-zoom-controls .zoom-reset {
    min-width: 48px !important;
    font-size: 8px !important;
  }
}


/* Ultra small mobile zoom controls */
@media (max-width: 640px) {
  .map-stage .map-zoom-controls,
  .all-map-stage .map-zoom-controls,
  .virtual-map-stage .map-zoom-controls {
    top: 6px !important;
    gap: 3px !important;
    padding: 3px !important;
  }

  .map-stage .map-zoom-controls .zoom-btn,
  .all-map-stage .map-zoom-controls .zoom-btn,
  .virtual-map-stage .map-zoom-controls .zoom-btn {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
    padding: 0 5px !important;
  }

  .map-stage .map-zoom-controls .zoom-reset,
  .all-map-stage .map-zoom-controls .zoom-reset,
  .virtual-map-stage .map-zoom-controls .zoom-reset {
    min-width: 40px !important;
    font-size: 7px !important;
    letter-spacing: 0.03em !important;
  }
}


/* === UNIFIED MOBILE SPACING (ALL SECTIONS IDENTICAL) === */
@media (max-width:640px){

  /* 1. Normalize ALL vertical rhythm */
  .search-section,
  .filter-section{
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  /* 2. Paragraph spacing (consistent) */
  .search-section p{
    margin-top: 4px !important;
    margin-bottom: 8px !important;
  }

  /* 3. Section titles */
  .filter-section h3,
  .filter-section .section-title{
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  /* 4. Map spacing identical across ALL */
  #chartView .map-stage,
  #allView .all-map-stage,
  #virtualView .virtual-map-stage {
    padding-top: 48px !important;
    margin-top: 0 !important;
  }

  /* 5. Zoom controls aligned */
  #chartView .map-zoom-controls,
  #allView .map-zoom-controls,
  #virtualView .map-zoom-controls {
    top: 8px !important;
    transform: translateX(-50%) !important;
  }

}


/* Mobile: compact top filter and keep labels on one line */
@media (max-width:640px){

  .view-toggle,
  #viewToggle{
    display: flex !important;
    width: 100% !important;
    height: 44px !important;
    margin: 6px 0 16px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  .view-toggle .view-btn,
  #viewToggle .view-btn{
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    height: 44px !important;
    line-height: 1.1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}


/* EVEN smaller mobile filter */
@media (max-width:640px){

  .view-toggle,
  #viewToggle{
    height: 38px !important;
    margin: 4px 0 14px !important;
  }

  .view-toggle .view-btn,
  #viewToggle .view-btn{
    height: 38px !important;
    font-size: 12.5px !important;
    padding: 0 8px !important;
  }
}


/* Outreach callout */
.outreach-callout {
  margin-top: 54px;
  padding: 34px 0 8px;
  border-top: 1px solid rgba(188,182,171,0.65);
}
.outreach-copy {
  max-width: 1120px;
}
.outreach-callout h2 {
  margin: 0 0 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #252525;
  font-weight: 800;
}
.outreach-callout p {
  margin: 0 0 22px;
  max-width: 1220px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 2vw, 28px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #343434;
}
.outreach-callout p strong {
  font-weight: 800;
}
.outreach-btn {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  background: #0d6fb8;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(13,111,184,0.18);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.outreach-btn:hover {
  background: #0b64a6;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(13,111,184,0.24);
}
.outreach-btn:focus-visible {
  outline: 3px solid rgba(13,111,184,0.18);
  outline-offset: 3px;
}
.outreach-icon {
  font-size: 0.95em;
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .outreach-callout {
    margin-top: 42px;
    padding-top: 28px;
  }
  .outreach-callout p {
    font-size: 18px;
    line-height: 1.55;
  }
  .outreach-btn {
    padding: 16px 26px;
    font-size: 20px;
  }
}
@media (max-width: 640px) {
  .outreach-callout {
    margin-top: 48px;
    padding-top: 22px;
  }
  .outreach-callout h2 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.12;
  }
  .outreach-callout p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.52;
  }
  .outreach-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
    gap: 10px;
  }
}


/* Updated outreach text size */
.outreach-callout p{
  font-size: clamp(17px, 2.2vw, 22px) !important;
  line-height: 1.5 !important;
}

.outreach-callout h2{
  font-size: clamp(22px, 3vw, 30px) !important;
}


/* Match outreach text EXACTLY to contact line */
.outreach-callout p{
  font-size: 14px !important;
  line-height: 1.5 !important;
}

@media (min-width:768px){
  .outreach-callout p{
    font-size: 16px !important;
  }
}


/* === FINAL TYPOGRAPHY + BUTTON SIZE MATCH === */

/* Make outreach text EXACT same as contact line */
.outreach-callout p{
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #444 !important;
}

/* Make heading slightly larger but clean */
.outreach-callout h2{
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* Button: reduce size and make proportional */
.outreach-btn{
  padding: 12px 22px !important;
  font-size: 15px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(13,111,184,0.15) !important;
}

/* Mobile refinement */
@media (max-width:640px){
  .outreach-callout p{
    font-size: 14px !important;
  }

  .outreach-callout h2{
    font-size: 20px !important;
  }

  .outreach-btn{
    width: 100%;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
}


/* Slightly larger outreach body text */
.outreach-callout p{
  font-size: 17px !important;
  line-height: 1.55 !important;
}

@media (max-width:640px){
  .outreach-callout p{
    font-size: 15px !important;
  }
}


/* Button slightly bigger + remove arrow */
.outreach-btn{
  padding: 16px 28px !important;
  font-size: 16px !important;
  gap: 0 !important;
}

/* hide arrow */
.outreach-icon{
  display: none !important;
}

@media (max-width:640px){
  .outreach-btn{
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}


/* Outreach button: better fit on tablet + mobile */
.outreach-btn{
  max-width: 100% !important;
  width: auto !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px){
  .outreach-btn{
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 14px 22px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 640px){
  .outreach-btn{
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
  }
}


/* FINAL: remove extra divider + tighten spacing */
.outreach-callout{
  border-top: none !important;
  margin-top: 20px !important;
  padding-top: 8px !important;
}

/* remove any hr causing duplicate line */
hr{
  display: none !important;
}


/* Button color + hover */
.outreach-btn{
  background-color: #004282 !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.outreach-btn:hover{
  background-color: #006BB7 !important;
}


/* Email link color + hover */
.outreach-callout a[href^="mailto"],
.footer a[href^="mailto"],
a[href^="mailto"]{
  color: #004282 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.outreach-callout a[href^="mailto"]:hover,
.footer a[href^="mailto"]:hover,
a[href^="mailto"]:hover{
  color: #006BB7 !important;
  text-decoration: underline;
}


/* Text highlight styling */
::selection {
  background: #36495a;
  color: #ffffff;
}
::-webkit-selection {
  background: #36495a;
  color: #ffffff;
}
::-moz-selection {
  background: #36495a;
  color: #ffffff;
}


/* Outreach note styling */
.outreach-note{
  margin-top: 48px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: #333;
}
.outreach-note em{
  font-style: italic;
}


/* --- Outreach section final cleanup --- */
.outreach-callout {
  margin-top: 28px !important;
  padding-top: 12px !important;
  border-top: none !important;
}

.outreach-copy {
  max-width: 1180px !important;
}

.outreach-callout h2 {
  margin: 0 0 22px !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: #222 !important;
}

.outreach-callout p {
  margin: 0 0 24px !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #444 !important;
  max-width: 1220px !important;
}

.outreach-btn {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 8px 0 34px !important;
  padding: 16px 28px !important;
  border-radius: 999px !important;
  background: #004282 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 18px rgba(0,66,130,0.16) !important;
}

.outreach-btn:hover {
  background: #006BB7 !important;
}

.outreach-icon {
  display: none !important;
}

.outreach-note {
  display: block !important;
  margin: 0 0 32px !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #444 !important;
  max-width: 1220px !important;
}

.outreach-note strong {
  font-weight: 700 !important;
  color: #333 !important;
}

.outreach-note em {
  font-style: italic !important;
}

@media (max-width: 900px) {
  .outreach-callout h2 {
    font-size: 22px !important;
    margin-bottom: 18px !important;
  }
  .outreach-callout p,
  .outreach-note {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .outreach-btn {
    padding: 14px 24px !important;
    font-size: 15px !important;
    margin-bottom: 28px !important;
  }
}

@media (max-width: 640px) {
  .outreach-callout {
    margin-top: 24px !important;
    padding-top: 8px !important;
  }
  .outreach-callout h2 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
  .outreach-callout p,
  .outreach-note {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .outreach-btn {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 14px 22px !important;
    font-size: 15px !important;
    margin: 6px 0 26px !important;
    white-space: nowrap !important;
  }
}


/* Remove excessive spacing on mobile/tablet */
@media (max-width: 900px){
  .outreach-callout{
    margin-top: 16px !important;
    padding-top: 6px !important;
  }
  .outreach-callout p{
    margin-bottom: 14px !important;
  }
  .outreach-note{
    margin: 8px 0 18px !important;
  }
  .footer{
    margin-top: 10px !important;
  }
}

@media (max-width: 640px){
  .outreach-callout{
    margin-top: 12px !important;
    padding-top: 4px !important;
  }
  .outreach-callout p{
    margin-bottom: 12px !important;
  }
  .outreach-note{
    margin: 6px 0 14px !important;
  }
  .footer{
    margin-top: 6px !important;
  }
}


/* Bigger responsive NAR logo */
.nar-logo {
  height: clamp(48px, 6vw, 88px);
  width: auto;
}


/* Final stronger logo sizing override */
.credits-logo img,
img.nar-logo,
.nar-logo {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 900px) {
  .credits-logo img,
  img.nar-logo,
  .nar-logo {
    height: 48px !important;
  }
}

@media (max-width: 640px) {
  .credits-logo img,
  img.nar-logo,
  .nar-logo {
    height: 40px !important;
  }
}


/* Fix zoom controls on tablet / smaller desktop */
@media (max-width: 1100px) and (min-width: 641px) {
  .map-stage .map-zoom-controls,
  .all-map-stage .map-zoom-controls,
  .virtual-map-stage .map-zoom-controls {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 18px !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    z-index: 8 !important;
  }

  .map-stage .map-zoom-controls .zoom-btn,
  .all-map-stage .map-zoom-controls .zoom-btn,
  .virtual-map-stage .map-zoom-controls .zoom-btn {
    min-width: 40px !important;
    width: auto !important;
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 20px !important;
    border-radius: 999px !important;
  }

  .map-stage .map-zoom-controls .zoom-reset,
  .all-map-stage .map-zoom-controls .zoom-reset,
  .virtual-map-stage .map-zoom-controls .zoom-reset {
    min-width: 64px !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }

  .map-stage,
  .all-map-stage,
  .virtual-map-stage {
    padding-top: 72px !important;
  }
}