/* Exposome Navigator — styles aligned with Vaccine Data Navigator (vaccinedatanavigator.org):
   same type (Inter / Lexend), navy brand scale, hero, task cards, tables and footer. */
:root {
  --vdn-accent: #0b6e99; --vdn-bg: #f7f9fb; --vdn-focus: #0b6e99; --vdn-head: #102a43;
  --vdn-ink: #1b2a3a; --vdn-ink-muted: #475569; --vdn-line: #d9e2ec; --vdn-link: #1d4f7a;
  --vdn-link-visited: #4c3a7a; --vdn-nav: #102a43; --vdn-nav-ink: #dbe6f1; --vdn-soft: #f0f4f8;
  --vdn-radius: 12px; --vdn-c-burden: #0f766e; --vdn-c-reports: #9a3412; --vdn-c-studies: #1d4f7a;
  --ok: #166534; --ok-bg: #dcfce7; --warn: #854d0e; --warn-bg: #fef3c7; --bad: #9a3412; --bad-bg: #ffedd5;
  --info: #1d4f7a; --info-bg: #e0ecf8; --muted-bg: #eef2f7;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--vdn-ink);
  background: var(--vdn-bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Lexend', 'Inter', system-ui, sans-serif; color: var(--vdn-head); line-height: 1.3; }
a { color: var(--vdn-link); }
a:visited { color: var(--vdn-link-visited); }
main p a, main li a, main td a, main dd a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--vdn-focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* skip link */
.skip-link { position: absolute; left: 0; top: 0; transform: translateY(-120%); background: #ffd166; color: #102a43;
  padding: .75rem 1rem; font-weight: 700; z-index: 1000; border-radius: 0 0 8px 0; text-decoration: none; }
.skip-link:focus { transform: none; }

/* utility bar + nav */
.util { background: #102a43; color: #fff; font-size: .8rem; }
.util .in, .site-nav .in { max-width: 64rem; margin: 0 auto; padding: .5rem 1rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .5rem; }
.util a { color: #bcccdc; text-decoration: none; }
.util a:hover { text-decoration: underline; color: #fff; }
.site-nav { background: var(--vdn-nav); border-top: 1px solid #243b53; }
.site-nav .brand { font-family: 'Lexend', sans-serif; font-weight: 600; color: #fff; text-decoration: none; font-size: 1.05rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
.site-nav ul a { display: inline-block; color: var(--vdn-nav-ink); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: .55rem .7rem; border-radius: .375rem; min-height: 44px; line-height: 1.9; }
.site-nav ul a:hover, .site-nav ul a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.site-nav ul a[aria-current="page"] { color: #fff; font-weight: 600; background: rgba(255,255,255,.12); }

.site-breadcrumb { max-width: 64rem; margin: 0 auto; padding: .45rem 1rem; font-size: .82rem; color: #627d98;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-breadcrumb a { color: var(--vdn-link); }
.breadcrumb-sep { margin: 0 .4rem; color: #bcccdc; }

/* hero */
.vdn-hero { background: #fff; border-bottom: 1px solid var(--vdn-line); }
.vdn-hero .in { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem 1.5rem; }
.vdn-hero .eyebrow { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #486581; font-weight: 600; margin: 0 0 .35rem; }
.vdn-hero .eyebrow a { color: inherit; text-decoration: none; }
.vdn-hero h1 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem); margin: 0 0 .4rem; line-height: 1.2; }
.vdn-hero .lede { font-size: 1.08rem; color: #334155; max-width: 46rem; margin: 0 0 1rem; }
.vdn-hero form { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 40rem; }
.vdn-hero form label { flex: 1 1 100%; font-weight: 600; color: var(--vdn-head); }
.vdn-hero input[type="search"], .filter input { flex: 1 1 16rem; min-height: 48px; font-size: 1.05rem; padding: .5rem .9rem;
  border: 2px solid #9fb3c8; border-radius: 10px; background: #fff; color: var(--vdn-ink); font-family: inherit; }
.vdn-hero form button { min-height: 48px; padding: .5rem 1.1rem; border-radius: 10px; border: 0; background: var(--vdn-head);
  color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; }
.vdn-hero form button:hover { background: #243b53; }
.vdn-hero .examples { font-size: .88rem; color: #475569; margin: .6rem 0 0; }
.vdn-hero .examples a { margin-right: .7rem; white-space: nowrap; }
.page-hero .in { padding-top: 1.5rem; }

main { flex: 1; width: 100%; min-width: 0; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem 2rem; }

/* stats strip */
.vdn-stats { list-style: none; max-width: 64rem; margin: 1.25rem auto 0; padding: 0 1rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .6rem; }
.vdn-stats a, .vdn-stats div { display: block; background: #fff; border: 1px solid var(--vdn-line); border-radius: var(--vdn-radius);
  padding: .7rem .9rem; text-decoration: none; color: var(--vdn-ink); }
.vdn-stats b { display: block; font-family: 'Lexend', sans-serif; font-size: 1.5rem; color: var(--vdn-head); font-variant-numeric: tabular-nums; }
.vdn-stats span { font-size: .85rem; color: var(--vdn-ink-muted); }

/* task cards */
.vdn-tier { max-width: 64rem; margin: 1.75rem auto 0; padding: 0 1rem; font-size: 1.05rem; color: #486581;
  text-transform: uppercase; letter-spacing: .08em; }
.vdn-tasks { max-width: 64rem; margin: .75rem auto 0; padding: 0 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.vdn-task { display: block; min-width: 0; background: #fff; border: 1px solid var(--vdn-line); border-left: 6px solid var(--vdn-accent);
  border-radius: var(--vdn-radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--vdn-ink); min-height: 120px;
  transition: border-color .15s, box-shadow .15s; }
a.vdn-task:visited { color: var(--vdn-ink); }
.vdn-task:hover, .vdn-task:focus-visible { border-color: var(--vdn-head); box-shadow: 0 6px 18px rgba(16,42,67,.1); }
.vdn-task .k { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #486581; margin-bottom: .25rem; }
.vdn-task .n { float: right; font-size: .78rem; color: var(--vdn-ink-muted); }
.vdn-task h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.vdn-task p { margin: 0; font-size: .92rem; color: #334155; }
.vdn-task.k-water { border-left-color: var(--vdn-c-studies); }
.vdn-task.k-food { border-left-color: var(--vdn-c-burden); }
.vdn-task.k-data { border-left-color: #486581; }
.vdn-task.k-method { border-left-color: var(--vdn-c-reports); }

/* content */
.card { background: #fff; border: 1px solid var(--vdn-line); border-radius: var(--vdn-radius); padding: 1rem 1.2rem; margin: 1rem 0; }
.note { background: var(--vdn-soft); border-left: 4px solid #486581; border-radius: 8px; padding: .75rem 1rem; margin: 1rem 0; font-size: .92rem; }
.note.warn { background: #fffbeb; border-left-color: #b45309; }
.muted { color: var(--vdn-ink-muted); }
.small { font-size: .85rem; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0; }
dl.facts dt { font-weight: 600; color: var(--vdn-head); }
dl.facts dd { margin: 0; }

/* tables */
.vdn-table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; border-radius: 8px;
  border: 1px solid var(--vdn-line); background: #fff; margin: .75rem 0; }
.vdn-table-hint { font-size: .78rem; color: #475569; margin: .25rem 0 0; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th { background: linear-gradient(180deg, #f4f7fa, #e9eff5); color: var(--vdn-head); font-weight: 650; text-align: left;
  border-bottom: 2px solid #bcccdc; padding: .5rem .65rem; vertical-align: bottom; }
td { border-bottom: 1px solid #e8edf2; padding: .5rem .65rem; vertical-align: top; }
tbody tr:hover { background: #f8fafc; }
td.num { text-align: right; white-space: nowrap; }
td .sub, .sub { display: block; font-size: .78rem; color: var(--vdn-ink-muted); }
td.empty { color: #9fb3c8; text-align: center; }

/* status chips */
.chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: .05rem .45rem; border-radius: 999px; white-space: nowrap;
  background: var(--muted-bg); color: #334e68; margin: .1rem .15rem .1rem 0; vertical-align: middle; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.info { background: var(--info-bg); color: var(--info); }

blockquote.ev { margin: .35rem 0 0; padding: .35rem .6rem; border-left: 3px solid #bcccdc; background: #f8fafc;
  font-size: .8rem; color: #334155; overflow-wrap: anywhere; }
details > summary { cursor: pointer; color: var(--vdn-link); font-size: .82rem; }
.filter { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: 1rem 0 .25rem; }
.filter label { font-weight: 600; color: var(--vdn-head); flex: 1 1 100%; }
.filter select { min-height: 48px; border: 2px solid #9fb3c8; border-radius: 10px; padding: .4rem .6rem; font: inherit; background: #fff; }

/* footer (as Vaccine Data Navigator) */
.site-footer { max-width: 64rem; width: 100%; margin: 2rem auto 2rem; padding: 0 1rem; }
.site-footer > div { position: relative; padding-top: 1.6rem; font-size: .75rem; color: #6b7280; text-align: center; line-height: 1.6; }
.site-footer > div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,42,67,.22) 15%, rgba(16,42,67,.22) 85%, transparent); }
.site-footer .t { font-weight: 600; color: #334e68; margin-bottom: .25rem; }
.site-footer p { margin: .15rem 0; }
.site-footer nav a { display: inline-block; padding: .5rem; color: #486581; }

@media (max-width: 760px) {
  .vdn-tasks { grid-template-columns: minmax(0, 1fr); }
  .site-nav .in { flex-direction: column; align-items: flex-start; }
  .vdn-hero form button { flex: 1 1 100%; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { margin-top: .4rem; }
}
@media print { .util, .site-nav, .skip-link, .filter { display: none !important; } }

.nw { white-space: nowrap; }
td .chip { white-space: normal; }
#addtable td:nth-child(n+5) { min-width: 6.5rem; }
