:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body, button, input, select, textarea { font-family: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.map-search input:focus-visible, .search-locate-button:focus-visible {
  outline: 3px solid #0b63ce;
  outline-offset: 3px;
}
.privacy-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 24px;
  border: 1px solid #c8d3df;
  border-radius: 12px;
  color: #142033;
  background: white;
  line-height: 1.5;
}
.privacy-dialog::backdrop { background: rgb(20 32 51 / 45%); }
.privacy-dialog h2 { margin-top: 0; font-size: 1.25rem; }
.privacy-dialog .form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.privacy-banner { bottom: max(36px, env(safe-area-inset-bottom)); }
.privacy-banner p { margin: 4px 0 0; line-height: 1.45; }
.privacy-actions button { min-height: 44px; }
.content-page { overflow-wrap: anywhere; }
.content-page p { max-width: 72ch; }
.content-page h2 { scroll-margin-top: 24px; }
.survey-language { min-height: 44px; max-width: 150px; }
.survey-footer { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px; }
@media (pointer: coarse), (max-width: 1024px) {
  input, select, textarea, .map-search input, .survey-shell input, .survey-shell select, .survey-shell textarea {
    font-size: 16px;
  }
  .tool-button, .right-tool, .search-locate-button, .language-button, .topbar-menu-button,
  .icon-button, .sidebar-close, .overlay-close, .sheet-grabber, .survey-shell .button {
    min-width: 44px;
    min-height: 44px;
  }
  .map-search { min-height: 46px; }
  .map-search input { height: 44px; }
  .privacy-banner { padding: 12px; max-height: 45dvh; overflow: auto; }
  .privacy-banner p { font-size: 0.9375rem; }
  .privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .privacy-actions button { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.hm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.contact-email-address { unicode-bidi: isolate; overflow-wrap: anywhere; }
.contact-email-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  vertical-align: middle;
}
.contact-email-action[hidden] { display: none; }
