@font-face{font-family:HelveticaNow;src:url(/wp-content/themes/tdl/assets/fonts/HelveticaNowDisplay-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:HelveticaNow;src:url(/wp-content/themes/tdl/assets/fonts/HelveticaNowDisplay-Medium.ttf) format("truetype");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:HelveticaNow;src:url(/wp-content/themes/tdl/assets/fonts/HelveticaNowDisplay-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap;}
:root{--primary:#1400F4;--primary-dark:#000000;--accent:#55FFF5;--text:#000000;--muted:#555555;--surface:#F4F4F4;--border:#DDDDDD;--top-bg:#EEF0FE;--font:HelveticaNow, Arial, 'Helvetica Neue', Helvetica, sans-serif;}
/* Language Access Finder. Brand tokens are injected at build time from src/config.json (see :root block prepended by build-site). */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 2px; border-radius: 2px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--primary-dark); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

/* header: matches the tdl-healthcare.com header (links live in src/site-chrome.json) */
.site-header { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.site-header .wrap { max-width: 96rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 130px; height: auto; display: block; }
.site-nav { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; padding: .5rem 0 1.5rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%;
  padding: .875rem 0; font: inherit; font-weight: 700; font-size: 1rem; text-transform: uppercase; color: #000;
  text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; text-align: left;
}
.nav-link:hover { color: var(--primary); }
.chev { flex: none; margin-right: 4px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }
.sub-menu { list-style: none; margin: 0; padding: .25rem 0 .5rem 1rem; display: none; }
.sub-menu a { display: block; padding: .5rem 0; color: #000; text-decoration: none; }
.sub-menu a:hover { color: var(--primary); text-decoration: underline; }
.sub-toggle[aria-expanded="true"] + .sub-menu,
html:not(.js) .has-sub:hover .sub-menu,
html:not(.js) .has-sub:focus-within .sub-menu { display: block; }
.btn.header-cta {
  align-self: flex-start; background: var(--primary); color: #fff; border: 2px solid var(--primary); border-radius: 999px;
  text-transform: uppercase; font-weight: 700; padding: .75rem 2.25rem;
}
.btn.header-cta:hover { background: #000; border-color: #000; color: #fff; }
.nav-toggle {
  display: none; align-items: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .9375rem; text-transform: uppercase; color: #000;
  background: none; border: 0; padding: .5rem; min-height: 2.75rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
/* mobile: collapse the menu behind the toggle when JS is available */
html.js .nav-toggle { display: inline-flex; }
html.js .site-nav { display: none; }
html.js .site-nav.is-open { display: flex; }

@media (min-width: 75rem) {
  .header-inner { flex-wrap: nowrap; }
  html.js .nav-toggle { display: none; }
  html.js .site-nav, .site-nav { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex: 1; width: auto; padding: 0; gap: 2rem; }
  .nav-list { flex-direction: row; gap: clamp(1.25rem, 2.2vw, 2.5rem); margin: 0 auto; }
  .nav-item { position: relative; }
  .nav-link { width: auto; border: 0; padding: .5rem 0; font-size: .9375rem; white-space: nowrap; }
  .header-cta { white-space: nowrap; }
  .sub-menu {
    position: absolute; top: calc(100% + .75rem); left: -1rem; min-width: 16rem; padding: .5rem 0;
    background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  }
  .sub-menu a { padding: .5rem 1rem; }
  .header-cta { align-self: center; }
}

/* footer: matches the tdl-healthcare.com footer (soft gradient instead of the site's background video) */
.site-footer {
  margin-top: 4rem; color: #000; padding: 3.5rem 0 0; font-size: 1.0625rem;
  background:
    radial-gradient(ellipse 45% 35% at 45% 78%, rgba(135, 222, 255, .55), transparent 70%),
    radial-gradient(ellipse 35% 30% at 10% 92%, rgba(150, 210, 255, .5), transparent 70%),
    radial-gradient(ellipse 40% 30% at 60% 100%, rgba(240, 150, 245, .55), transparent 70%),
    radial-gradient(ellipse 30% 30% at 88% 92%, rgba(200, 160, 250, .5), transparent 70%),
    #fff;
}
.site-footer a { color: #000; }
.site-footer a:hover { color: var(--primary); }
.footer-hero { margin-bottom: 3.5rem; }
.footer-tagline { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 2rem; }
.footer-tagline span { display: block; color: var(--primary); font-weight: 700; }
.arrow-link { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; text-decoration: none; }
.arrow-circle { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--primary); position: relative; flex: none; }
.arrow-circle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-60%, -40%); }
.arrow-circle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%) rotate(-45deg); }
.arrow-link:hover .arrow-circle { background: #000; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 40rem) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer-cols { grid-template-columns: 1.2fr 1fr 1fr auto; padding-left: 4rem; } }
.footer-heading { color: #222; font-size: 1.0625rem; font-weight: 700; text-transform: uppercase; margin: 0 0 1.5rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 1rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-social { align-self: end; }
.footer-social a { display: inline-flex; }
.footer-base { background: #fff; border-top: 1px solid var(--border); padding: 1.5rem 0; font-size: .875rem; }
.footer-base .wrap { display: grid; gap: .75rem; }
.footer-base p { margin: 0; }
.footer-data { color: var(--muted); }
.link-button { font: inherit; color: #000; background: none; border: 0; padding: 0; margin-left: .5rem; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--primary); }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .25rem; color: var(--muted); }

/* typography */
h1, h2, h3 { color: var(--primary-dark); line-height: 1.2; }
h1 { font-size: 1.75rem; margin: 1rem 0 .75rem; }
h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 .5rem; }
@media (min-width: 48rem) { h1 { font-size: 2.25rem; } h2 { font-size: 1.625rem; } }
.intro { font-size: 1.0625rem; max-width: 46rem; }
.prose { max-width: 46rem; }
.small, .note { font-size: .875rem; color: var(--muted); }

/* sample-data banner */
.sample-banner { background: #FFF3CD; color: #5c4400; border-bottom: 2px solid #b38600; padding: .75rem 1rem; font-weight: 700; text-align: center; }

/* tool */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin: 1.5rem 0; }
@media (min-width: 48rem) { .tool { padding: 1.5rem 2rem; } }
.tool h2 { margin-top: .25rem; }
.controls { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .controls { grid-template-columns: 1fr 1.4fr; align-items: start; } .controls .full { grid-column: 1 / -1; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .field-label { font-weight: 700; color: var(--primary-dark); margin-bottom: .25rem; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-row label, .check { display: inline-flex; gap: .5rem; align-items: flex-start; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--primary); flex: none; }
.hint { margin: 0 0 .375rem; font-size: .875rem; color: var(--muted); }

.combo { position: relative; }
.combo label { display: block; font-weight: 700; color: var(--primary-dark); }
.combo input, select {
  width: 100%; font: inherit; padding: .625rem .75rem; min-height: 2.75rem;
  border: 2px solid var(--muted); border-radius: 6px; background: #fff; color: var(--text);
}
.combo input:focus, select:focus { border-color: var(--primary); outline: 3px solid var(--primary-dark); outline-offset: 1px; }
[role="listbox"] {
  position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: .25rem 0;
  list-style: none; background: #fff; border: 1px solid var(--muted); border-radius: 6px;
  max-height: 18rem; overflow-y: auto; box-shadow: 0 6px 18px rgba(14, 40, 65, .15);
}
[role="option"] { padding: .5rem .75rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; }
[role="option"] .abbr { color: var(--muted); font-size: .875rem; }
[role="option"]:hover, [role="option"].is-active { background: var(--primary); color: #fff; }
[role="option"]:hover .abbr, [role="option"].is-active .abbr { color: #fff; }
[role="option"][aria-selected="true"]::after { content: "✓ selected"; font-size: .8125rem; }
[role="option"].no-match { cursor: default; color: var(--muted); }
[role="option"].no-match:hover { background: none; color: var(--muted); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.chip {
  font: inherit; font-size: .9375rem; border: 1px solid var(--primary); background: #fff; color: var(--primary-dark);
  border-radius: 999px; padding: .375rem .75rem; min-height: 2.25rem; cursor: pointer;
}
.chip:hover { background: var(--primary); color: #fff; }

.summary { margin-top: 1.5rem; }
.summary-title { margin: 0 0 .5rem; }
.stats { display: grid; gap: .75rem; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 6px; padding: .75rem 1rem; }
.stats dt { font-size: .875rem; color: var(--muted); }
.stats dd { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }
.stats .moe { font-size: .875rem; font-weight: 400; color: var(--muted); }
.lead-in { margin: .75rem 0 0; }
.notes { margin: .75rem 0; padding-left: 1.25rem; font-size: .9375rem; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  padding: .75rem 1.25rem; min-height: 2.75rem; border-radius: 6px; cursor: pointer; border: 2px solid var(--primary);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); }
.btn-secondary:hover { background: var(--surface); color: var(--primary-dark); }
.btn-cta { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-cta:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* tables */
.legend { display: flex; align-items: center; gap: .5rem; font-size: .875rem; margin: .5rem 0; }
.legend .swatch { width: 1.25rem; height: 1rem; background: var(--top-bg); border-left: 4px solid var(--primary); display: inline-block; }
.table-wrap { overflow-x: auto; margin: .5rem 0 1rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
caption { text-align: left; padding: .75rem 1rem; font-weight: 700; color: var(--primary-dark); caption-side: top; }
th, td { padding: .5rem .75rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
thead th { background: var(--primary-dark); color: #fff; font-weight: 700; position: sticky; top: 0; white-space: nowrap; }
tbody th { font-weight: 400; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.is-top { background: var(--top-bg); }
tr.is-top td.rank { box-shadow: inset 4px 0 0 var(--primary); font-weight: 700; }
tr.is-top .lang { font-weight: 700; }
.census-label { display: block; font-size: .8125rem; color: var(--muted); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 0 .4rem; margin-left: .25rem; border-radius: 3px; background: #fff; border: 1px solid var(--muted); color: var(--text); vertical-align: middle; }
abbr[title] { text-decoration: none; }

.county { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: .5rem; }
.county-field { max-width: 28rem; }
.county-field label { display: block; font-weight: 700; color: var(--primary-dark); margin-bottom: .25rem; }

/* content blocks */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; padding: 0; list-style: none; }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards li { border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 6px; padding: 1rem; }
.cards h3 { margin-top: 0; }
.faq h3 { margin-top: 1.5rem; }
.disclaimer { border: 1px solid var(--border); border-left: 4px solid var(--primary-dark); background: var(--surface); padding: 1rem 1.25rem; border-radius: 6px; font-size: .9375rem; margin: 2.5rem 0 0; }
.disclaimer h2 { font-size: 1rem; margin: 0 0 .25rem; }
.disclaimer p { margin: 0; }
.cta-block { background: var(--primary-dark); color: #fff; border-radius: 8px; padding: 1.5rem; margin: 2.5rem 0 0; }
.cta-block h2 { color: #fff; margin-top: 0; }
.cta-block .btn-cta { background: #fff; color: var(--primary-dark); border-color: #fff; }
.cta-block .btn-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.state-links { columns: 2; column-gap: 1.5rem; padding: 0; list-style: none; }
@media (min-width: 40rem) { .state-links { columns: 3; } }
@media (min-width: 64rem) { .state-links { columns: 4; } }
.state-links li { margin: .2rem 0; break-inside: avoid; }
.meta-line { font-size: .875rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .site-header, .tool .controls, .actions, .cta-block, .site-footer, .nav-toggle { display: none; }
  tr.is-top { background: #eee !important; }
}
