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

.block {
  display: block;
}

.table {
  display: table;
}

.hidden {
  display: none;
}

.resize {
  resize: both;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

:root {
  color-scheme: light;
  --ink: #173b35;
  --muted: #49635f;
  --surface: #ffffff;
  --soft: #f2fbf7;
  --accent: #e35353;
  --accent-strong: #b91f31;
  --sky: #146c94;
  --amber: #a15c06;
  --emerald: #16764d;
  --slate: #475569;
  --line: #cce4dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--surface);
}

a {
  color: inherit;
}

input,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand-link,
.site-header nav a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-header nav a {
  font-weight: 700;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(20, 108, 148, 0.75);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 64px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.18) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero-copy {
  max-width: 680px;
  padding-bottom: clamp(18px, 4vw, 44px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: 4.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.25rem;
}

.search-form {
  display: flex;
  max-width: 650px;
  min-height: 58px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(23, 59, 53, 0.14);
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: none;
}

.search-form button,
.button-link {
  min-width: 118px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.search-form button {
  border-radius: 0;
}

.search-form button:hover,
.button-link:hover {
  background: var(--accent-strong);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

.button-amber {
  background: var(--amber);
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 54px 64px 24px;
}

.value-cards article {
  min-height: 205px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.value-cards h2,
.support-banner h2,
.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.value-cards p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
}

.card-icon-emerald {
  background: var(--emerald);
}

.card-icon-sky {
  background: var(--sky);
}

.card-icon-rose {
  background: var(--accent);
}

.support-banner,
.quick-filters,
.city-grid-section {
  margin: 34px 64px 0;
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 1px solid #f0c36f;
  border-radius: 8px;
  background: #fff7e5;
}

.support-banner p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #6f4c13;
}

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

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chip-list,
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-list a,
.city-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.chip-list a:hover,
.city-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-grid a {
  justify-content: center;
  min-height: 70px;
  background: var(--soft);
}

.page-shell {
  padding: 44px 64px 24px;
}

.page-header {
  max-width: 850px;
  margin-bottom: 32px;
}

.page-header.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-header h1 {
  font-size: 3.6rem;
}

.page-header p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-header.centered p {
  margin-right: auto;
  margin-left: auto;
}

.page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--amber);
  color: #ffffff;
  font-weight: 900;
}

.listing-layout {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 28px;
}

.filter-panel {
  align-self: start;
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.field-label,
.filter-panel legend {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field-label:first-child {
  margin-top: 0;
}

.field-help {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.filter-panel input[type="search"],
.filter-panel input[type="text"],
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.pagination-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.pagination-summary p {
  margin: 0;
}

.filter-panel fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--ink);
}

.form-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.results-panel {
  min-width: 0;
}

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

.results-heading h2 {
  margin: 0;
}

.results-heading a {
  color: var(--accent-strong);
  font-weight: 800;
}

.active-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.active-filter-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.result-card:hover {
  border-color: var(--accent);
}

.result-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.result-main h3 {
  margin: 0;
  font-size: 1.35rem;
}

.result-main p {
  margin: 6px 0 0;
  color: var(--muted);
}

.chevron {
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
}

.result-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.empty-state strong {
  display: block;
  font-size: 1.3rem;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #fff7e5;
  color: var(--amber);
  font-weight: 900;
}

.empty-state p {
  max-width: 560px;
  margin: 12px auto 18px;
  color: var(--muted);
}

.empty-state a {
  color: var(--accent-strong);
  font-weight: 800;
}

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

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.support-detail-card {
  max-width: 860px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.support-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.support-type,
.amount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.support-type {
  background: #ffffff;
  color: var(--emerald);
}

.amount-badge {
  background: #fff7e5;
  color: var(--amber);
}

.support-card h2 {
  margin: 0;
}

.support-card p {
  color: var(--muted);
}

.support-detail-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 800;
}

.apply-block {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.apply-block p {
  margin-bottom: 0;
}

.eligibility-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.eligibility-list div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.eligibility-list dt {
  color: var(--ink);
  font-weight: 800;
}

.eligibility-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.eligibility-list span {
  display: block;
  margin-top: 4px;
  color: var(--sky);
  font-weight: 800;
}

.stale-warning {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #f0c36f;
  border-radius: 8px;
  background: #fff7e5;
  color: #6f4c13;
}

.stale-warning p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.faq-item summary {
  min-height: 54px;
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-panel {
  max-width: 860px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.compliance-panel {
  max-width: 860px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.compliance-panel dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.compliance-panel dl div {
  display: grid;
  grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
  gap: 12px;
}

.compliance-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.compliance-panel dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.detail-shell {
  padding-bottom: 110px;
}

.detail-header {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.detail-header h1 {
  margin-top: 14px;
  font-size: 3.2rem;
}

.last-updated {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.detail-tabs a {
  padding: 14px 16px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.detail-tabs a[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent-strong);
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-card {
  max-width: 860px;
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-card h2 {
  margin: 0 0 12px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.status-row:first-of-type {
  border-top: 0;
}

.status-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.inline-correction {
  flex-basis: 100%;
  margin-top: 6px;
}

.inline-correction summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
}

.inline-correction form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.inline-correction label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.inline-correction textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.inline-correction button {
  justify-self: start;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.package-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.package-list-grid h3 {
  margin: 0 0 10px;
}

.package-list-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

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

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

.comparison-table th,
.comparison-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.comparison-table td {
  color: var(--muted);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-positive {
  background: #e6f8ef;
  color: var(--emerald);
}

.status-negative {
  background: #ffe8e8;
  color: var(--accent-strong);
}

.status-warning {
  background: #fff7e5;
  color: var(--amber);
}

.status-neutral,
.status-info {
  background: #eef6fb;
  color: var(--sky);
}

.sticky-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 25;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.contribution-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(23, 59, 53, 0.35);
}

.contribution-modal:target {
  display: flex;
}

.contribution-dialog {
  width: min(100%, 640px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(23, 59, 53, 0.22);
}

.contribution-modal-official .contribution-dialog {
  border-top: 6px solid var(--emerald);
}

.contribution-modal-patient .contribution-dialog {
  border-top: 6px solid var(--accent);
}

.modal-close {
  float: right;
  color: var(--muted);
  font-weight: 800;
}

.verification-warning {
  padding: 12px;
  border: 1px solid #f0c36f;
  border-radius: 8px;
  background: #fff7e5;
  color: #6f4c13;
}

.modal-checklist {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-checklist legend {
  color: var(--muted);
  font-weight: 800;
}

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

.form-grid input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.button-outline {
  border: 1px solid var(--emerald);
  background: #ffffff;
  color: var(--emerald);
}

.feedback-summary {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.feedback-summary dl {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.feedback-summary dl div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
}

.feedback-summary dt {
  color: var(--muted);
  font-weight: 800;
}

.feedback-summary dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

footer {
  padding: 40px 64px 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-disclaimer {
  max-width: 920px;
  margin: 12px 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

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

@media (max-width: 820px) {
  .hero {
    min-height: 68vh;
    align-items: end;
    padding: 28px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 52%, rgba(255, 255, 255, 0.28) 100%);
  }

  h1 {
    font-size: 2.75rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .search-form,
  .support-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form button {
    min-height: 48px;
  }

  .value-cards {
    grid-template-columns: 1fr;
    padding: 34px 24px 10px;
  }

  .support-banner,
  .quick-filters,
  .city-grid-section {
    margin: 24px;
  }

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

  .site-header,
  .page-shell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .page-header h1 {
    font-size: 2.45rem;
  }

  .listing-layout,
  .support-grid,
  .package-list-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .results-heading,
  .support-card-header {
    flex-direction: column;
  }

  .status-row,
  .sticky-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contribution-modal {
    align-items: end;
    padding: 0;
  }

  .contribution-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 8px 8px 0 0;
  }

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

  .feedback-summary dl div,
  .compliance-panel dl div {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  footer {
    padding: 28px 24px;
  }
}
