:root {
  --ink: #142820;
  --muted: #627069;
  --paper: #f5f2ea;
  --white: #fffdf8;
  --line: #d8d7cc;
  --green: #173f37;
  --green-2: #2e685d;
  --orange: #d56735;
  --blue: #477f9b;
  --shadow: 0 18px 55px rgba(31, 48, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid rgba(71, 127, 155, 0.45); outline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(20, 40, 32, 0.12); background: rgba(245, 242, 234, 0.92); backdrop-filter: blur(18px); }
.header-inner { width: min(1440px, calc(100% - 48px)); height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 38px; }
.wordmark { margin-right: auto; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; }
.wordmark span { display: inline-grid; place-items: center; width: 42px; height: 30px; margin-right: 9px; border-radius: 4px; background: var(--green); color: white; font: 700 12px Arial, sans-serif; letter-spacing: .08em; }
nav { display: flex; gap: 28px; }
nav a { color: #48564f; font-size: 13px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--orange); }
.private-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #cbd2ca; border-radius: 999px; background: rgba(255,255,255,.5); color: #4d5e55; font-size: 12px; font-weight: 700; }
.private-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2a866b; box-shadow: 0 0 0 3px rgba(42,134,107,.13); }

.page-shell { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.hero { min-height: 420px; display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 80px; padding: 104px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-number, .panel-kicker { margin: 0 0 17px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 920px; margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6.3vw, 94px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.hero-copy { max-width: 450px; margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.coverage-note { margin-top: 22px; padding: 16px 19px; border-left: 3px solid var(--orange); border-radius: 0 7px 7px 0; background: rgba(255,255,255,.47); color: var(--muted); font-size: 13px; line-height: 1.65; }
.coverage-note strong { color: var(--ink); }

.feature-card { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--green); color: white; display: grid; grid-template-columns: minmax(190px, .7fr) 1.3fr auto; gap: 28px; align-items: center; text-decoration: none; box-shadow: var(--shadow); }
.feature-card:hover { background: #1d4d43; }
.feature-card span:first-child { display: flex; flex-direction: column; gap: 4px; }
.feature-card small { color: #c7d9d3; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.feature-card strong { font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.feature-card-copy { color: #e0ebe7; font-size: 13px; line-height: 1.55; }
.feature-card-arrow { font-size: 28px; }

.filter-bar { display: flex; align-items: end; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.filter-heading { margin-right: auto; display: flex; flex-direction: column; gap: 4px; }
.filter-heading span, label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter-heading strong { font-family: Georgia, serif; font-size: 19px; }
.filter-bar label { display: flex; align-items: center; gap: 9px; }
select, input { border: 1px solid #c9cec7; border-radius: 7px; background: var(--white); color: var(--ink); }
select { min-height: 42px; padding: 0 36px 0 12px; }
.filter-bar select { min-width: 145px; }
.text-button { height: 42px; padding: 0 8px; border: 0; background: transparent; color: var(--green-2); font-size: 12px; font-weight: 800; cursor: pointer; }
.text-button:hover { color: var(--orange); }

.section-block { padding: 100px 0 24px; scroll-margin-top: 80px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-heading > div { display: flex; align-items: baseline; gap: 25px; }
.section-number { margin-bottom: 0; }
h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 5vw, 68px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.section-heading > p { max-width: 600px; margin-bottom: 3px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.33); }
.kpi-grid article { min-height: 160px; padding: 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.kpi-grid article:last-child { border-right: 0; }
.kpi-grid span { color: var(--muted); font-size: 12px; font-weight: 700; }
.kpi-grid strong { margin: 23px 0 8px; font-family: Georgia, serif; font-size: clamp(34px, 3.2vw, 49px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.kpi-grid small { color: var(--muted); font-size: 11px; }
.positive { color: #25735d; }
.negative { color: #a33d2f; }

.panel { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.chart-panel { margin-top: 22px; padding: 30px 32px 20px; }
.panel-heading { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; margin-bottom: 20px; }
.panel-heading h3 { margin-bottom: 0; font-family: Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.025em; }
.panel-heading > p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.panel-kicker { margin-bottom: 8px; }
.chart-wrap { width: 100%; }
.line-chart { width: 100%; min-height: 250px; overflow: visible; }
.grid-line { stroke: #dde0da; stroke-width: 1; }
.axis-label { fill: #77827c; font-size: 11px; }
.chart-point { stroke: none; transition: r .15s ease; }
.chart-point:hover { r: 7; }
.chart-point:focus-visible { r: 6; outline: none; stroke: var(--blue); stroke-width: 3; }
.axis-title { fill: #52615a; font-size: 12px; font-weight: 700; }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: -2px; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 19px; height: 3px; border-radius: 99px; }
.chart-note { max-width: 760px; margin: 19px auto 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }

.party-filter { display: inline-flex; gap: 4px; margin: -10px 0 24px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.46); }
.party-filter button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.party-filter button.active { background: var(--green); color: white; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, .75fr); gap: 22px; }
.family-panel, .ranking-panel { padding: 28px 30px 22px; }
.family-heading label { display: flex; flex-direction: column; gap: 7px; min-width: 250px; }
.family-heading select { max-width: 310px; }
.ranking-panel { box-shadow: none; background: #e6ede6; }
.ranking-chart { display: flex; flex-direction: column; gap: 21px; padding-top: 10px; }
.rank-row { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(70px, .65fr) 48px; align-items: center; gap: 12px; }
.rank-label { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.rank-label strong { color: var(--orange); font-size: 13px; }
.rank-label span { overflow: hidden; color: #41534a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rank-track { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(23,63,55,.13); }
.rank-track span { display: block; height: 100%; border-radius: inherit; background: var(--green-2); }
.rank-value { color: #53635b; font-size: 11px; font-weight: 800; text-align: right; }

.comparison-panel { margin-top: 22px; overflow: hidden; box-shadow: none; }
.comparison-heading { margin: 0; padding: 28px 30px 24px; border-bottom: 1px solid var(--line); }
.comparison-heading > p { max-width: 430px; line-height: 1.55; }
.comparison-layout { display: grid; grid-template-columns: minmax(290px, 360px) minmax(0, 1fr); }
.application-selector { padding: 25px; border-right: 1px solid var(--line); background: #f2f5f0; }
.application-selector > label { display: block; margin-bottom: 8px; }
.application-selector > input { width: 100%; min-height: 44px; padding: 0 13px; }
.selector-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 9px -4px 10px; }
.selector-actions .text-button { height: auto; min-height: 36px; text-align: left; }
.text-button:disabled { cursor: not-allowed; opacity: .45; }
.application-options { min-width: 0; max-height: 390px; margin: 0; padding: 0; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.application-option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; padding: 11px 12px; border-bottom: 1px solid #ecebe4; }
.application-option:last-child { border-bottom: 0; }
.application-option[hidden] { display: none; }
.application-option input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); }
.application-option label { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 7px; color: var(--ink); font-size: 12px; font-weight: 400; letter-spacing: normal; line-height: 1.4; text-transform: none; cursor: pointer; }
.application-option label strong { color: var(--orange); font-size: 13px; }
.application-option label span { color: #41534a; }
.selector-status { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.comparison-result { min-width: 0; padding: 25px 30px 27px; }
.comparison-chart-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 12px; }
.comparison-chart-heading h4 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.comparison-chart-heading > p { max-width: 220px; margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.comparison-codes { margin: 0; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.comparison-empty { min-height: 330px; display: grid; place-content: center; gap: 8px; padding: 30px; color: var(--muted); text-align: center; }
.comparison-empty[hidden] {display: none;}
.comparison-empty strong { color: var(--ink); font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.comparison-empty span { font-size: 12px; }
.comparison-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 22px 0 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.comparison-summary div { min-width: 0; padding: 14px 15px; border-right: 1px solid var(--line); }
.comparison-summary div:last-child { border-right: 0; }
.comparison-summary dt { min-height: 28px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; line-height: 1.35; text-transform: uppercase; }
.comparison-summary dd { margin: 8px 0 0; overflow-wrap: anywhere; color: var(--ink); font-family: Georgia, serif; font-size: 18px; line-height: 1.2; }
.comparison-summary div:first-child dd { color: var(--orange); font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 800; }
.comparison-caveat { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--orange); background: #faf5ec; color: var(--muted); font-size: 11px; line-height: 1.6; }

.table-panel { overflow: hidden; box-shadow: none; }
.table-controls { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(250px, .75fr) auto; align-items: end; gap: 16px; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.dataset-select, .search-field { display: flex; flex-direction: column; gap: 7px; }
.dataset-select select, .search-field input { width: 100%; min-height: 45px; }
.search-field input { padding: 0 14px; }
.download-button { min-height: 45px; padding: 0 17px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.download-button:hover { background: var(--green-2); }
.download-button:disabled { cursor: not-allowed; opacity: .5; }
.dataset-note { display: flex; justify-content: space-between; gap: 30px; padding: 17px 25px; border-bottom: 1px solid var(--line); background: #f2f5f0; color: var(--muted); font-size: 12px; }
.dataset-note p { margin: 0; }
.dataset-note strong { color: var(--ink); white-space: nowrap; }
.table-scroll { position: relative; min-height: 260px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { position: sticky; top: 0; z-index: 1; padding: 13px 15px; border-bottom: 1px solid var(--line); background: #f9f7f1; color: #5e6963; font-size: 10px; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { max-width: 300px; padding: 13px 15px; border-bottom: 1px solid #ecebe4; color: #33443c; line-height: 1.45; }
tbody tr:hover { background: #faf5ec; }
.empty-state { padding: 65px 20px; color: var(--muted); text-align: center; }
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 16px 25px; background: #f9f7f1; }
.pagination p { margin: 0; color: var(--muted); font-size: 11px; }
.pagination div { display: flex; gap: 8px; }
.pagination button { min-height: 36px; padding: 0 13px; border: 1px solid #cbd0c9; border-radius: 6px; background: white; color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
.pagination button:disabled { cursor: not-allowed; opacity: .45; }

footer { width: min(1440px, calc(100% - 64px)); margin: 95px auto 0; padding: 30px 0 44px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
footer p { margin: 0; color: var(--ink); font-weight: 800; }
.loading-state { min-height: 100vh; display: grid; place-content: center; gap: 15px; background: var(--paper); text-align: center; }
.loading-state h1 { font-size: 50px; }
.loading-state p { color: var(--muted); }
.loader { width: 32px; height: 32px; margin: 0 auto; border: 3px solid #d5dcd5; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 38px; align-items: start; }
  .hero-copy { max-width: 720px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid article:nth-child(2) { border-right: 0; }
  .kpi-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-column { grid-template-columns: 1fr; }
  .ranking-panel { min-height: auto; }
  .comparison-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-summary div { border-bottom: 1px solid var(--line); }
  .comparison-summary div:nth-child(2n) { border-right: 0; }
  .comparison-summary div:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .site-header { position: static; }
  .header-inner { width: min(100% - 32px, 1440px); height: 64px; }
  nav { display: none; }
  .private-pill { font-size: 0; padding: 9px; }
  .page-shell { width: min(100% - 32px, 1440px); }
  .hero { min-height: 0; padding: 74px 0 55px; }
  h1 { font-size: clamp(48px, 14vw, 70px); }
  .filter-bar { align-items: stretch; flex-wrap: wrap; }
  .filter-heading { width: 100%; }
  .filter-bar label { flex: 1; flex-direction: column; align-items: flex-start; }
  .filter-bar select { width: 100%; min-width: 0; }
  .section-block { padding-top: 74px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > div { gap: 16px; }
  h2 { font-size: 49px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-grid article { min-height: 135px; border-right: 0; border-bottom: 1px solid var(--line); }
  .kpi-grid article:last-child { border-bottom: 0; }
  .chart-panel, .family-panel, .ranking-panel { padding: 22px 16px 18px; }
  .panel-heading, .family-heading { flex-direction: column; }
  .family-heading label, .family-heading select { width: 100%; max-width: none; }
  .line-chart { min-width: 690px; }
  .chart-wrap { overflow-x: auto; }
  .party-filter { width: 100%; overflow-x: auto; }
  .party-filter button { white-space: nowrap; }
  .rank-row { grid-template-columns: minmax(150px, 1fr) 75px 44px; }
  .comparison-heading { padding: 22px 16px; }
  .comparison-layout { grid-template-columns: 1fr; }
  .application-selector { padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .application-options { max-height: 310px; }
  .comparison-result { padding: 22px 16px; }
  .comparison-chart-heading { flex-direction: column; }
  .comparison-chart-heading > p { max-width: none; text-align: left; }
  .comparison-result .line-chart { min-width: 0; }
  .comparison-result .chart-wrap { overflow-x: visible; }
  .comparison-summary { grid-template-columns: 1fr; }
  .comparison-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparison-summary dt { min-height: 0; }
  .table-controls { grid-template-columns: 1fr; }
  .dataset-note { flex-direction: column; gap: 7px; }
  footer { width: min(100% - 32px, 1440px); flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Static-site additions: keep the original design while exposing clear load states. */
.status-banner { width: min(1440px, calc(100% - 64px)); margin: 18px auto 0; padding: 12px 16px; border-radius: 8px; background: #f2f5f0; color: var(--muted); font-size: 12px; }
.status-banner.error { border-left: 3px solid #a33d2f; background: #fcf0ee; color: #86382d; }
.status-banner[hidden] { display: none; }
.site-badge { white-space: nowrap; }
footer a { text-underline-offset: 2px; }
.footer-attribution { max-width: 610px; text-align: right; line-height: 1.6; }
@media (max-width: 760px) { .status-banner { width: min(100% - 32px, 1440px); } .site-badge { font-size: 0; padding: 9px; } .footer-attribution { text-align: left; } }

/* Wait-time dashboard */
.wait-hero { min-height: 340px; }
.wait-hero h1 { font-size: clamp(58px, 7vw, 102px); }
.wait-panel { padding: 30px 32px 24px; }
.data-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid #c9cec7; border-radius: 7px; color: var(--green-2); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.data-link:hover { border-color: var(--orange); color: var(--orange); }
.wait-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: start; }
.wait-selector { padding-right: 28px; border-right: 1px solid var(--line); }
.wait-selector > label { display: block; margin-bottom: 8px; }
.wait-selector > input { width: 100%; min-height: 42px; padding: 0 12px; }
.wait-selector .selector-actions { justify-content: flex-end; min-height: 40px; }
.wait-options { max-height: 360px; margin: 0; padding: 0 6px 0 0; border: 0; overflow-y: auto; }
.wait-option { display: flex; gap: 10px; align-items: flex-start; padding: 9px 7px; border-bottom: 1px solid #ecebe5; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.wait-option[hidden] { display: none; }
.wait-option:hover { background: #f6f4ed; }
.wait-option input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--green); }
.wait-option span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wait-option strong { font-size: 12px; }
.wait-option small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.wait-result { min-width: 0; }
.wait-result .empty-state { min-height: 300px; display: grid; place-items: center; }
.wait-result .empty-state[hidden] { display: none; }
.wait-chart { min-height: 360px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.method-grid article { padding: 27px 29px; box-shadow: none; }
.method-grid h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.method-grid p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.method-grid p + p { margin-top: 12px; }
.source-card { grid-column: 1 / -1; border-left: 3px solid var(--orange); }

@media (max-width: 980px) {
  .feature-card { grid-template-columns: 1fr auto; }
  .feature-card-copy { grid-column: 1 / -1; grid-row: 2; }
  .feature-card-arrow { grid-column: 2; grid-row: 1; }
  .wait-layout { grid-template-columns: 1fr; }
  .wait-selector { padding-right: 0; padding-bottom: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wait-options { max-height: 260px; }
}

@media (max-width: 760px) {
  .feature-card { padding: 19px; gap: 12px; }
  .wait-panel { padding: 22px 16px 18px; }
  .wait-panel .panel-heading { align-items: flex-start; }
  .wait-chart { min-width: 820px; }
  .method-grid { grid-template-columns: 1fr; }
  .source-card { grid-column: auto; }
}

/* Analytics consent */

.analytics-consent {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  background: #252525;
  border: 1px solid #555;
  box-shadow: 0 4px 24px rgb(0 0 0 / 35%);
}

.analytics-consent h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.analytics-consent h2:focus {
  outline: 2px solid #12e6e6;
  outline-offset: 2px;
}

.analytics-consent__copy {
  font-size: 0.8rem;
  line-height: 1.45;
}

.analytics-consent__copy p {
  margin: 0.4rem 0;
}

.analytics-consent__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.analytics-consent__button,
.analytics-preferences-link {
  font: inherit;
  cursor: pointer;
}

.analytics-consent__button {
  padding: 0.5rem 0.8rem;
  border: 1px solid #777;
  background: transparent;
  color: inherit;
}

.analytics-consent__button--primary {
  border-color: #12e6e6;
}

.analytics-preferences-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .analytics-consent {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.85rem 1rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }
}