:root {
  color-scheme: light;
  --text: #222;
  --surface: #fff;
  --border: #ddd;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.35;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 5vw;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-weight: 600;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a,
.site-title {
  display: inline-block;
  padding-block: 0.25rem;
}

.section {
  max-width: 70rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 5vw;
}

.section p {
  max-width: 65ch;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 5vw;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 40rem) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
  }
}

/* Directory components extend the reusable static starter. */
h2 { margin: 2.2rem 0 1rem; line-height: 1.3; }
h3 { margin: .8rem 0 .25rem; line-height: 1.35; font-size: 1.3rem; }
.intro { font-size: 1.15rem; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: #f4f6f5; border: 1px solid #c6cec9; padding: 1.25rem; margin-top: 2rem; border-radius: .5rem; }
.filters label { min-width: 0; display: flex; flex-direction: column; gap: .3rem; font-weight: 600; }
.filters .search, .filters .checkbox, .filters p { grid-column: 1 / -1; }
.filters .checkbox { flex-direction: row; align-items: center; }
input, select, button { font: inherit; color: inherit; padding: .6rem; border: 1px solid #65726a; border-radius: .25rem; background: #fff; min-width: 0; max-width: 100%; }
input[type=checkbox] { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
button { cursor: pointer; font-weight: 600; }
.regions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 2rem; }
.regions a { padding: .3rem 0; }
.provider { border: 1px solid #c6cec9; border-radius: .5rem; padding: 1.25rem; margin-bottom: 1.25rem; scroll-margin-top: 1rem; }
.status { display: inline-block; padding: .2rem .6rem; border-radius: .25rem; font-size: .9rem; font-weight: 600; }
.confirmed { color: #17422f; background: #e3f0e8; }
.uncertain { color: #633d08; background: #fff0d4; }
dl { margin: 1rem 0; }
dl > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: .75rem; border-bottom: 1px solid #eceeec; padding: .4rem 0; }
dt { font-weight: 600; }
dd { margin: 0; }
summary { cursor: pointer; padding: .5rem 0; }
[hidden] { display: none !important; }
@media (max-width: 45rem) { .filters { grid-template-columns: minmax(0, 1fr); } dl > div { grid-template-columns: 1fr; gap: .1rem; } .provider { padding: 1rem; } }

.report-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; max-width: 42rem; margin-top: 1.5rem; }
.report-form label { font-weight: 600; }
textarea { font: inherit; color: inherit; padding: .6rem; border: 1px solid #65726a; border-radius: .25rem; width: 100%; resize: vertical; }
button:disabled { opacity: .65; cursor: not-allowed; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.admin-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.provider dd { white-space: pre-wrap; }

:root { --text: #172b35; --border: #ccd8dc; }
.site-header { background: #edf4f6; }
.site-title { text-decoration: none; font-size: 1.05rem; }
h1 { max-width: 24ch; font-size: clamp(1.8rem,4vw,2.65rem); }
.provider h3 a { color: #164c63; }
button { background: #edf4f6; }
.section { max-width: 76rem; }
