:root {
  --oc-green: #4db748;
  --oc-green-dark: #287f3f;
  --oc-blue: #27464b;
  --oc-ink: #222222;
  --oc-muted: #5f6d64;
  --oc-line: #dce5dc;
  --oc-soft: #f5f8f4;
  --oc-paper: #ffffff;
  --oc-gold: #c58b1b;
  --oc-shadow: 0 18px 48px rgba(34, 34, 34, 0.12);
  --site-width: 1360px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--oc-ink);
  background: var(--oc-soft);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.poconnor-county-insights a {
  color: inherit;
}

button,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.oc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--oc-ink);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.1);
}

.oc-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px max(18px, calc((100vw - var(--site-width)) / 2));
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(39, 70, 75, 0.98), rgba(40, 127, 63, 0.92)),
    linear-gradient(135deg, #27464b, #4db748);
  font-size: 14px;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-links span {
  margin-right: 4px;
}

.social-links a,
.topline-phone {
  display: inline-flex;
  align-items: center;
}

.social-links a {
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.social-links a:hover,
.social-links a:focus-visible,
.topline-phone:hover,
.topline-phone:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.topline-phone {
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.poconnor-county-insights .oc-topline a,
.poconnor-county-insights .topline-phone {
  color: #ffffff !important;
}

.oc-topline a,
.oc-nav a,
.oc-footer a {
  text-decoration: none;
}

.oc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 15px 0;
}

.oc-brand {
  display: grid;
  gap: 2px;
}

.oc-brand img {
  display: block;
  width: min(260px, 58vw);
  height: auto;
}

.brand-name {
  color: var(--oc-green-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand-subtitle {
  color: var(--oc-muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.nav-cta,
.primary-action {
  color: #ffffff;
  background: var(--oc-green);
  border-top: 3px solid #65d160;
}

.secondary-action {
  color: #ffffff;
  background: rgba(77, 183, 72, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 0 0 1px rgba(77, 183, 72, 0.18);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  color: #ffffff;
  background: rgba(77, 183, 72, 0.34);
  outline: none;
}

.breadcrumb-bar {
  background: #f7fbf8;
  border-top: 1px solid rgba(24, 96, 47, 0.08);
  border-bottom: 1px solid rgba(24, 96, 47, 0.12);
}

.breadcrumb-bar ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  list-style: none;
  color: #4c6155;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb-bar li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-bar li + li::before {
  content: "/";
  color: #88a493;
  font-weight: 800;
}

.breadcrumb-bar a {
  color: #187232;
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: var(--oc-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.county-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(39, 70, 75, 0.96), rgba(40, 127, 63, 0.5)),
    linear-gradient(135deg, #27464b, #356d57);
}

.county-hero::before,
.county-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.county-hero::before {
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 30%, rgba(255, 255, 255, 0.13) 30% 30.4%, transparent 30.4% 100%),
    linear-gradient(45deg, transparent 0 62%, rgba(255, 255, 255, 0.11) 62% 62.4%, transparent 62.4% 100%);
  background-position: center;
  background-size: 52px 52px, 52px 52px, 220px 220px, 260px 260px;
  mix-blend-mode: screen;
}

.county-hero::after {
  background:
    radial-gradient(circle at 82% 38%, rgba(255, 255, 255, 0.18), transparent 26%),
    radial-gradient(circle at 12% 12%, rgba(215, 255, 216, 0.12), transparent 28%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 32px;
  align-items: center;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 30px;
}

.hero-copy {
  max-width: 830px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--oc-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.county-hero .eyebrow,
.cta-band .eyebrow {
  color: #dcffd8;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.poconnor-county-insights .county-hero h1#page-title {
  display: block;
  max-width: 800px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 68px) !important;
  font-weight: 800;
  line-height: 1 !important;
  letter-spacing: 0;
}

.poconnor-county-insights .county-hero .hero-copy > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px !important;
  line-height: 1.65 !important;
}

h2 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-snapshot {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.96);
  color: var(--oc-ink);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.22);
}

.snapshot-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: #ffffff;
  background: #222222;
}

.snapshot-year-control {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.snapshot-year-control span {
  color: #d7ffd8;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-year-control select {
  min-height: 36px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0 32px 0 12px;
  color: #ffffff;
  background: #2f2f2f;
  font-weight: 800;
}

.snapshot-rotate-toggle {
  display: inline-grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.snapshot-rotate-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.snapshot-rotate-toggle .play-icon {
  display: none;
}

.snapshot-rotate-toggle[aria-pressed="true"] .pause-icon {
  display: none;
}

.snapshot-rotate-toggle[aria-pressed="true"] .play-icon {
  display: block;
}

.snapshot-rotate-toggle:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--oc-line);
}

.snapshot-grid div {
  padding: 18px;
  background: #ffffff;
}

.snapshot-grid dt {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 700;
}

.snapshot-grid dd {
  margin: 0;
  color: var(--oc-green-dark);
  font-size: 26px;
  font-weight: 800;
}

.hero-stat-strip {
  grid-column: 1 / -1;
  display: flex;
  gap: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.25);
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(255, 255, 255, 0.55) rgba(255, 255, 255, 0.16);
  scrollbar-width: thin;
}

.hero-stat-strip::-webkit-scrollbar {
  height: 8px;
}

.hero-stat-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stat-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.55);
}

.hero-stat-strip > span {
  display: flex;
  gap: 14px;
  flex: 1 0 230px;
  min-height: 74px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
  scroll-snap-align: start;
}

.hero-stat-strip .stat-copy {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  line-height: 1.18;
  scroll-snap-align: none;
}

.stat-icon,
.metric-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stat-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(77, 183, 72, 0.42);
  color: #287f3f;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(13, 44, 35, 0.18);
}

.metric-icon {
  width: 23px;
  height: 23px;
  color: var(--oc-green-dark);
}

.hero-stat-strip strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.filter-panel,
.explorer-panel,
.stat-panel,
.chart-panel,
.rank-panel,
.copy-panel,
.table-section {
  background: var(--oc-paper);
  box-shadow: var(--oc-shadow);
}

.stat-panel span,
.topic-select span,
.metric-select span,
.year-select span,
.view-select span {
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 700;
}

.page-shell {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.explorer-workspace:fullscreen {
  width: 100vw;
  height: 100vh;
  overflow: auto;
  padding: 22px;
  background: var(--oc-soft);
}

.explorer-workspace:fullscreen .filter-panel {
  position: sticky;
  top: 0;
  z-index: 6;
  margin-bottom: 16px;
}

.source-band {
  margin: 22px 0;
  border: 1px solid var(--oc-line);
  background: #ffffff;
}

.section-kicker {
  margin-bottom: 16px;
}

.topic-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.explorer-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px;
  border-top: 4px solid var(--oc-green);
}

.explorer-panel .topic-tabs {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1 1 auto;
  max-height: 340px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 2px 8px 2px 0;
  scrollbar-color: var(--oc-green-dark) #e8eee9;
  scrollbar-width: thin;
}

.explorer-panel .topic-tabs::-webkit-scrollbar {
  width: 8px;
}

.explorer-panel .topic-tabs::-webkit-scrollbar-track {
  background: #e8eee9;
}

.explorer-panel .topic-tabs::-webkit-scrollbar-thumb {
  background: var(--oc-green-dark);
}

.topic-tab {
  flex: 0 0 auto;
  min-height: 42px;
  max-width: none;
  border: 1px solid var(--oc-line);
  padding: 0 14px;
  color: var(--oc-ink);
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.topic-tab:hover,
.year-tab:hover {
  border-color: var(--oc-green);
}

.topic-tab[aria-selected="true"],
.year-tab[aria-selected="true"] {
  color: #ffffff;
  border-color: var(--oc-green-dark);
  background: var(--oc-green-dark);
}

.year-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.year-tab {
  min-width: 64px;
  min-height: 40px;
  border: 1px solid var(--oc-line);
  color: var(--oc-ink);
  background: #ffffff;
  cursor: pointer;
}

.topic-select,
.metric-select,
.year-select,
.view-select,
.view-mode-control {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.topic-select select,
.metric-select select,
.year-select select,
.view-select select {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  border: 1px solid var(--oc-line);
  padding: 0 12px;
  color: var(--oc-ink);
  background: #ffffff;
}

.select-with-icon {
  position: relative;
  display: block;
}

.select-with-icon svg {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  width: 23px;
  height: 23px;
  color: var(--oc-green-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.topic-select .select-with-icon select {
  padding-left: 46px;
}

.source-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  margin-top: 0;
  color: var(--oc-muted);
}

.source-band div {
  display: grid;
  gap: 4px;
}

.source-band strong {
  color: var(--oc-ink);
}

.source-band a {
  color: var(--oc-blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.source-band-actions,
.data-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.source-band-actions {
  justify-content: flex-end;
}

.data-downloads {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(77, 183, 72, 0.28);
  background: #f5fbf6;
}

.data-downloads span {
  margin-right: auto;
  color: var(--oc-blue);
  font-size: 14px;
  font-weight: 800;
}

.download-action,
.source-band-actions button {
  min-height: 34px;
  border: 1px solid var(--oc-green-dark);
  padding: 0 12px;
  color: var(--oc-green-dark);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.download-action:hover,
.download-action:focus-visible,
.source-band-actions button:hover,
.source-band-actions button:focus-visible {
  color: #ffffff;
  background: var(--oc-green-dark);
}

.trust-note {
  max-width: 620px;
  margin: 10px 0 0;
  color: #4d6155;
  font-size: 13px;
  line-height: 1.6;
}

.methodology-band {
  display: grid;
  grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1.52fr);
  gap: 14px;
  align-items: start;
  margin: 34px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 127, 63, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.methodology-band h2 {
  margin: 4px 0 0;
  color: var(--oc-ink);
  font-size: 17px;
  line-height: 1.3;
}

.methodology-band dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.methodology-band dt {
  margin-bottom: 3px;
  color: var(--oc-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.methodology-band dd {
  margin: 0;
  color: var(--oc-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.38;
}

.keyword-band {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--oc-line);
  background:
    linear-gradient(135deg, rgba(248, 251, 247, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: var(--oc-shadow);
}

.keyword-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.keyword-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(40, 127, 63, 0.13);
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.keyword-group h3 {
  margin: 0 0 4px;
  color: var(--oc-green-dark);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.keyword-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid rgba(65, 106, 112, 0.34);
  padding: 0 0 7px;
  color: #4f7479;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(65, 106, 112, 0.45);
  text-underline-offset: 4px;
}

.poconnor-county-insights .keyword-links a {
  color: #4f7479 !important;
}

.keyword-links a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.keyword-links a:hover {
  color: #287f3f;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.poconnor-county-insights .keyword-links a:hover,
.poconnor-county-insights .keyword-links a:focus-visible {
  color: #287f3f !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.records-insight-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.topic-header-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 0;
  padding: 22px;
  border: 1px solid var(--oc-line);
  background:
    linear-gradient(135deg, rgba(232, 246, 238, 0.82), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: var(--oc-shadow);
}

.topic-header-panel h2 {
  position: relative;
  max-width: 330px;
  margin: 3px 0 12px;
  padding-bottom: 12px;
  color: var(--oc-ink);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.24;
  letter-spacing: 0;
}

.topic-header-panel h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74px;
  height: 3px;
  background: linear-gradient(90deg, var(--oc-green), var(--oc-gold));
}

.topic-header-panel p {
  margin: 0;
  color: #3b5048;
  font-size: 14px;
  line-height: 1.5;
}

.topic-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: var(--oc-green) #edf3ed;
  scrollbar-width: thin;
}

.topic-anchor-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--oc-line);
  color: var(--oc-ink);
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.topic-anchor-list a.is-active,
.topic-anchor-list a:hover {
  border-color: var(--oc-green);
  color: #ffffff;
  background: var(--oc-green);
}

.copy-panel a {
  color: #4f7479;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(65, 106, 112, 0.48);
  text-underline-offset: 4px;
}

.copy-panel a:hover {
  color: var(--oc-green-dark);
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.poconnor-county-insights .copy-panel a,
.poconnor-county-insights #seoCopy a,
.poconnor-county-insights #detailCopy a {
  color: #4f7479 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(65, 106, 112, 0.48) !important;
  text-underline-offset: 4px;
}

.poconnor-county-insights .copy-panel a:hover,
.poconnor-county-insights #seoCopy a:hover,
.poconnor-county-insights #detailCopy a:hover {
  color: #287f3f !important;
  text-decoration-color: currentColor !important;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.is-hidden {
  display: none !important;
}

.filter-panel {
  margin-bottom: 22px;
  padding: 18px;
  border-top: 4px solid var(--oc-green);
}

.stat-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-top: 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(39, 70, 75, 0.96), rgba(40, 127, 63, 0.94)),
    var(--oc-blue);
}

.stat-panel::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.stat-panel:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(40, 127, 63, 0.96), rgba(77, 183, 72, 0.9)),
    var(--oc-green-dark);
}

.stat-panel:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(197, 139, 27, 0.96), rgba(39, 70, 75, 0.86)),
    var(--oc-gold);
}

.stat-panel span,
.stat-panel strong,
.stat-panel p {
  position: relative;
  z-index: 1;
}

.stat-panel span {
  color: rgba(255, 255, 255, 0.86);
}

.stat-panel strong {
  display: block;
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.stat-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.chart-layout,
.graph-section,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.faq-layout {
  margin-bottom: 22px;
}

.faq-layout .copy-panel {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(40, 127, 63, 0.16);
  background:
    linear-gradient(135deg, rgba(248, 251, 247, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.faq-layout .copy-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(77, 183, 72, 0.16), rgba(39, 70, 75, 0.08));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

#quick-answers .section-title {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(40, 127, 63, 0.16);
  padding-bottom: 16px;
}

#quick-answers .section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 122px;
  height: 3px;
  background: linear-gradient(90deg, var(--oc-green-dark), var(--oc-gold));
}

#quick-answers .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  border: 1px solid rgba(39, 70, 75, 0.14);
  padding: 0 10px;
  color: var(--oc-blue);
  background: rgba(39, 70, 75, 0.06);
  font-size: 11px;
  font-weight: 900;
}

#quick-answers h2 {
  color: var(--oc-ink);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.2;
  font-weight: 900;
}

.faq-layout .answer-list {
  max-height: 430px;
}

.chart-layout {
  position: relative;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: stretch;
}

.chart-layout.is-rank-wide {
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
}

.chart-layout.is-rank-full {
  grid-template-columns: 0 minmax(0, 1fr);
  gap: 0;
}

.chart-layout.is-chart-wide {
  grid-template-columns: minmax(560px, 1.6fr) minmax(260px, 0.4fr);
}

.chart-layout.is-chart-full {
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
}

.chart-layout.is-rank-full .chart-panel,
.chart-layout.is-chart-full .rank-panel {
  min-width: 0;
  padding-inline: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.chart-layout.is-full-view:not(:fullscreen) {
  grid-template-columns: 1fr;
}

.explorer-workspace:fullscreen .chart-layout.is-full-view {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  height: calc(100vh - 150px);
  min-height: 0;
  overflow: hidden;
}

.explorer-workspace:fullscreen .chart-layout.is-full-view.is-rank-wide {
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
}

.explorer-workspace:fullscreen .chart-layout.is-full-view.is-rank-full {
  grid-template-columns: 0 minmax(0, 1fr);
}

.explorer-workspace:fullscreen .chart-layout.is-full-view.is-chart-wide {
  grid-template-columns: minmax(660px, 1.6fr) minmax(300px, 0.4fr);
}

.explorer-workspace:fullscreen .chart-layout.is-full-view.is-chart-full {
  grid-template-columns: minmax(0, 1fr) 0;
}

.chart-layout.is-full-view .chart-stage {
  min-height: 430px;
}

.chart-layout.is-full-view #trendChart,
.chart-layout.is-full-view .trend-table-wrap {
  min-height: 430px;
}

.explorer-workspace:fullscreen .chart-layout .chart-panel,
.explorer-workspace:fullscreen .chart-layout .rank-panel {
  min-height: 0;
  height: 100%;
}

.explorer-workspace:fullscreen .chart-layout .rank-panel {
  display: flex;
  flex-direction: column;
}

.explorer-workspace:fullscreen .chart-layout .chart-stage {
  min-height: 0;
  flex: 1 1 auto;
}

.explorer-workspace:fullscreen .chart-layout #trendChart,
.explorer-workspace:fullscreen .chart-layout .trend-table-wrap {
  height: 100%;
  min-height: 0;
}

.chart-layout.is-full-view .rank-list {
  max-height: 520px;
}

.explorer-workspace:fullscreen .chart-layout .rank-list {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}

.graph-section {
  grid-template-columns: 1fr;
}

.detail-layout {
  grid-template-columns: 1fr;
}

.chart-panel,
.explorer-panel,
.rank-panel,
.copy-panel,
.table-section {
  padding: 24px;
}

.rank-width-toggle {
  position: absolute;
  top: 50%;
  left: calc(67.5% - 29px);
  z-index: 5;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  width: 58px;
  height: 46px;
  border: 1px solid var(--oc-line);
  color: var(--oc-green-dark);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.14);
  transform: translateY(-50%);
  overflow: hidden;
}

.chart-layout.is-rank-wide .rank-width-toggle {
  left: calc(40% - 29px);
}

.chart-layout.is-rank-full .rank-width-toggle {
  left: 16px;
}

.chart-layout.is-chart-wide .rank-width-toggle {
  left: calc(80% - 29px);
}

.chart-layout.is-chart-full .rank-width-toggle {
  left: calc(100% - 74px);
}

.layout-arrow {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.layout-arrow + .layout-arrow {
  border-left: 1px solid var(--oc-line);
}

.layout-arrow:disabled {
  color: #b8c2bd;
  cursor: not-allowed;
}

.layout-arrow svg {
  width: 22px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.chart-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(12, 45, 48, 0.96), rgba(29, 144, 65, 0.9)),
    var(--oc-green-dark);
}

.chart-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 85% 10%, rgba(77, 183, 72, 0.28), transparent 34%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.chart-panel::after {
  content: "O'CONNOR";
  position: absolute;
  right: 22px;
  bottom: 14px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.1);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}

.section-title {
  margin-bottom: 18px;
}

#county-insight .section-title {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

#county-insight .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(180px, 48%);
  height: 3px;
  background: linear-gradient(90deg, var(--oc-green-dark), var(--oc-green), var(--oc-gold));
}

#county-insight .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 11px;
  border: 1px solid rgba(40, 127, 63, 0.18);
  padding: 0 10px;
  color: var(--oc-green-dark);
  background: linear-gradient(135deg, rgba(232, 246, 238, 0.96), rgba(255, 255, 255, 0.95));
  font-size: 11px;
  font-weight: 900;
}

#county-insight h2 {
  max-width: 720px;
  color: var(--oc-ink);
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.24;
  font-weight: 900;
}

.insight-cta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(40, 127, 63, 0.16);
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(232, 246, 238, 0.9), rgba(255, 255, 255, 0.98));
}

.insight-cta div {
  display: grid;
  gap: 4px;
}

.insight-cta strong {
  color: var(--oc-ink);
  font-size: 15px;
}

.insight-cta span {
  color: var(--oc-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.poconnor-county-insights #county-insight .insight-cta a,
.poconnor-county-insights #county-insight .insight-cta a:visited {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 9px 13px;
  color: #ffffff !important;
  background: var(--oc-green-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.poconnor-county-insights #county-insight .insight-cta a:hover,
.poconnor-county-insights #county-insight .insight-cta a:focus-visible {
  color: #ffffff !important;
  background: var(--oc-blue);
  text-decoration: none;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.chart-header .section-title {
  margin-bottom: 0;
}

.chart-panel .eyebrow {
  color: #d7ffd8;
}

.chart-panel h2 {
  color: #ffffff;
}

.chart-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 330px;
}

.selected-year-box {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 11px;
  align-items: center;
  position: absolute;
  z-index: 3;
  top: 4px;
  left: clamp(8px, calc(var(--selected-x, 50%) - 72px), calc(100% - 152px));
  width: 144px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 53, 31, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 14px rgba(0, 0, 0, 0.12);
}

.selected-year-box[hidden] {
  display: none;
}

.selected-year-box span {
  color: #d7ffd8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-year-box strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.selected-year-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.selected-year-box b {
  display: inline;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.chart-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 120px);
  gap: 12px;
  align-items: end;
  width: 100%;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid #cbd9cf;
  background: #f8fbf7;
}

.graph-controls {
  grid-template-columns: minmax(220px, 35fr) minmax(260px, 45fr) minmax(104px, 20fr);
  margin: 0;
}

.chart-view-control {
  width: min(100%, 430px);
}

.view-mode-control > span {
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 700;
}

.chart-panel .view-mode-control > span {
  color: #ffffff;
}

.view-mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(94px, 1fr)) 44px;
  gap: 8px;
  max-width: 100%;
}

.view-mode-button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--oc-line);
  padding: 0 8px;
  color: var(--oc-ink);
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chart-panel .view-mode-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.full-view-button {
  grid-template-columns: 22px;
  justify-content: center;
  padding: 0;
}

.view-mode-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.view-mode-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.view-mode-button:hover,
.view-mode-button:focus-visible {
  border-color: var(--oc-green);
  outline: none;
}

@media (max-width: 1180px) {
  .graph-controls {
    grid-template-columns: minmax(220px, 35fr) minmax(240px, 45fr) minmax(104px, 20fr);
  }

  .chart-header {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-view-control {
    width: 100%;
  }
}

.view-mode-button[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--oc-green-dark);
  background: var(--oc-green-dark);
  box-shadow: 0 8px 18px rgba(40, 127, 63, 0.2);
}

.full-view-button[aria-pressed="true"] {
  border-color: var(--oc-blue);
  background: var(--oc-blue);
}

#trendChart {
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: visible;
}

.trend-table-wrap {
  min-height: 330px;
  overflow-x: auto;
}

.trend-table-status {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.trend-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.trend-table th,
.trend-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.trend-table th {
  color: #d7ffd8;
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
  text-transform: uppercase;
}

.trend-table td:last-child,
.trend-table th:last-child {
  text-align: right;
}

.trend-table .is-selected td {
  color: #ffffff;
  background: rgba(197, 139, 27, 0.35);
  font-weight: 800;
}

.trend-table tbody tr {
  cursor: pointer;
}

.trend-table tbody tr:hover td,
.trend-table tbody tr:focus-visible td {
  background: rgba(255, 255, 255, 0.14);
}

.axis-label {
  fill: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.chart-axis-line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.trend-area {
  fill: url("#trendAreaFill");
}

.trend-line {
  fill: none;
  stroke: #66e083;
  stroke-width: 4;
  filter: drop-shadow(0 0 9px rgba(102, 224, 131, 0.35));
}

.trend-point {
  fill: #2fbf57;
  stroke: #ffffff;
  stroke-width: 3;
}

.trend-point.is-selected {
  fill: var(--oc-gold);
  stroke: #ffffff;
  stroke-width: 4;
}

.trend-bar {
  fill: #2fbf57;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
}

.trend-bar.is-selected {
  fill: var(--oc-gold);
}

.trend-hotspot {
  cursor: pointer;
}

.selected-year-guide {
  stroke: var(--oc-gold);
  stroke-dasharray: 5 5;
  stroke-width: 2;
}

.rank-list {
  display: grid;
  gap: 13px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: var(--oc-green) #eef4ee;
  scrollbar-width: thin;
}

.rank-list::-webkit-scrollbar {
  width: 8px;
}

.rank-list::-webkit-scrollbar-track {
  background: #eef4ee;
}

.rank-list::-webkit-scrollbar-thumb {
  background: var(--oc-green);
}

.rank-item {
  display: grid;
  gap: 7px;
  border: 1px solid transparent;
  padding: 8px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.rank-status {
  margin: 0;
}

.rank-status {
  color: var(--oc-muted);
  font-size: 13px;
  font-weight: 800;
}

.rank-item:hover,
.rank-item:focus-visible {
  border-color: rgba(77, 183, 72, 0.42);
  background: #f8fbf7;
  outline: none;
}

.rank-item.is-active {
  border-color: var(--oc-green);
  background: linear-gradient(90deg, rgba(77, 183, 72, 0.16), rgba(39, 70, 75, 0.08));
  box-shadow: inset 4px 0 0 var(--oc-green);
}

.rank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.rank-value {
  color: var(--oc-muted);
  white-space: nowrap;
}

.bar-track {
  height: 9px;
  overflow: hidden;
  background: #e8eee8;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--oc-green-dark), var(--oc-gold));
}

.rank-item.is-active .bar-fill {
  background: linear-gradient(90deg, var(--oc-blue), var(--oc-green));
}

.copy-panel p {
  color: #354844;
  font-size: 17px;
  line-height: 1.7;
}

.copy-panel p:last-child {
  margin-bottom: 0;
}

.answer-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-height: 330px;
  margin: 0;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-color: var(--oc-green) #edf3ed;
  scrollbar-width: thin;
}

.answer-list::-webkit-scrollbar {
  width: 8px;
}

.answer-list::-webkit-scrollbar-track {
  background: #edf3ed;
}

.answer-list::-webkit-scrollbar-thumb {
  background: var(--oc-green);
}

.answer-list > div {
  position: relative;
  min-height: 82px;
  border: 1px solid rgba(40, 127, 63, 0.13);
  border-left: 4px solid rgba(77, 183, 72, 0.68);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.05);
}

.answer-list > div::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: var(--oc-green);
}

.answer-list > div:hover {
  border-color: rgba(77, 183, 72, 0.42);
  border-left-color: var(--oc-green-dark);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(34, 34, 34, 0.08);
}

.answer-list dt {
  padding-right: 22px;
}

.answer-list dt h3 {
  margin: 0;
  color: var(--oc-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.answer-list dd {
  margin: 7px 0 0;
  color: var(--oc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
}

.source-details summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.source-details summary::-webkit-details-marker {
  display: none;
}

.source-details summary > span:first-child {
  display: grid;
  gap: 6px;
}

.source-details summary .eyebrow {
  margin: 0;
}

.source-details summary strong {
  font-size: 25px;
  line-height: 1.18;
}

.summary-action {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--oc-green-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.source-details[open] .summary-action {
  background: var(--oc-blue);
}

.source-intro {
  margin: 16px 0 0;
  max-width: 860px;
  color: #40564d;
  font-size: 14px;
  line-height: 1.62;
}

.source-details .table-wrap {
  margin-top: 18px;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--oc-line);
  text-align: left;
}

th {
  color: var(--oc-muted);
  font-size: 13px;
  text-transform: uppercase;
}

td:nth-child(2),
td:nth-child(3),
th:nth-child(2),
th:nth-child(3) {
  text-align: right;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(100deg, var(--oc-green-dark), var(--oc-blue));
}

.cta-band p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1.65;
}

.oc-footer {
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(39, 70, 75, 0.98), rgba(31, 85, 61, 0.96)),
    #27464b;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  gap: 26px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.footer-brand {
  display: grid;
  gap: 13px;
  align-content: start;
}

.footer-brand img {
  width: min(230px, 70vw);
  height: auto;
  padding: 10px 12px;
  background: #ffffff;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-column h2 {
  margin: 0 0 5px;
  color: #dcffd8;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #ffffff;
  text-decoration-color: #4db748;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 920px) {
  .oc-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-layout,
  .graph-section,
  .detail-layout,
  .records-insight-layout,
  .topic-header-panel,
  .methodology-band,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .methodology-band dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-band {
    margin-top: 28px;
  }

  .keyword-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-layout.is-rank-wide,
  .chart-layout.is-rank-full,
  .chart-layout.is-chart-wide,
  .chart-layout.is-chart-full {
    grid-template-columns: 1fr;
  }

  .rank-width-toggle {
    display: none;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .source-band,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-header {
    flex-direction: column;
  }

  .chart-controls {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .chart-controls .year-select,
  .chart-controls .topic-select,
  .chart-controls .metric-select,
  .chart-controls .view-select,
  .chart-controls .view-mode-control {
    min-width: 0;
  }

  .view-mode-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .full-view-button {
    grid-template-columns: 22px;
  }

  .answer-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  #quick-answers .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .insight-cta a {
    text-align: center;
  }

  .topic-anchor-list {
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .topic-anchor-list a {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .oc-topline {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-shell,
  .hero-inner,
  .oc-nav {
    width: min(100% - 20px, var(--site-width));
  }

  .keyword-band,
  .topic-header-panel,
  .faq-layout .copy-panel,
  .methodology-band,
  .hero-snapshot,
  .chart-panel,
  .rank-panel,
  .copy-panel,
  .table-section,
  .cta-band {
    padding: 18px;
  }

  .year-tab {
    flex: 1 1 70px;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .keyword-links {
    grid-template-columns: 1fr;
  }

}
