/* VNG website assets and colours, inspected 25 September 2026.
   Scoped dashboard adaptation; no external runtime font or logo requests. */
@font-face {
  font-family: "VNG Avenir"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("brand/fonts/avenir-lt-w01-55-roman.woff2") format("woff2");
}
@font-face {
  font-family: "VNG Avenir"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("brand/fonts/avenir-lt-w01-85-heavy.woff2") format("woff2");
}
:root {
  --vng-font: "VNG Avenir", Avenir, "Segoe UI", Arial, sans-serif;
  --blue: #004388; --cyan: #009fe4;
  --bs-body-font-family: var(--vng-font);
  --bs-body-color: #1a1a1a;
}
body { font-family: var(--vng-font); }
h1, h2, h3, h4, h5, h6, .btn, input, select, textarea,
.selectize-input, .selectize-dropdown, .leaflet-container, .shiny-notification {
  font-family: var(--vng-font);
}
.js-plotly-plot .main-svg text { font-family: var(--vng-font) !important; }
/* Keep technical formulas in their existing monospace face. */
.vng-brandbar { border-bottom: 1px solid #e5edf4; }
.vng-brandbar-inner { padding-block: 10px; gap: 20px; }
.vng-logo-link { display: inline-flex; flex: 0 0 auto; border-radius: 3px; }
.vng-logo { display: block; width: 96px; height: 50px; object-fit: contain; }
.vng-name { color: #004388; font-size: .78rem; border-left-color: #d5e6f1; }
.vng-logo-link:focus-visible { outline: 3px solid #b66d00; outline-offset: 5px; }
.app-header { background: #004388; border-top: 3px solid #009fe4; }
.app-title { font-weight: 400; letter-spacing: 0; }
.app-kicker { font-weight: 400; opacity: .67; }
.content-card-title, .detail-panel-title { color: #004388; font-weight: 700; }
.control-panel-title, .control-group > summary { color: #004388; }
.context-chip, .control-caption, .app-subtitle { font-weight: 400; }
/* Website-inspired footer: dark blue, white links, short rule above heading. */
.app-footer { background: #004388; color: white; border-top: 0; }
.app-footer-inner { padding-block: 28px; align-items: flex-start; }
.app-footer-title { color: white; font-size: .9rem; font-weight: 400; }
.app-footer-title::before {
  content: ""; display: block; width: 48px; height: 3px;
  border-radius: 2px; background: currentColor; margin-bottom: 12px;
}
.app-footer-copy { color: #e1effa; font-weight: 400; line-height: 1.6; }
.app-footer-links { flex-wrap: wrap; gap: 6px 14px; }
.app-footer-links a { color: white; font-weight: 400; border-radius: 3px; padding: 6px 0; }
.app-footer-links a:hover, .app-footer-links a:focus {
  color: white; background: transparent; text-decoration: underline; text-underline-offset: 4px;
}
.app-footer-links a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 600px) {
  .vng-logo { width: 81px; height: 42px; }
  .vng-brandbar-inner { padding-block: 8px; }
  .app-footer-inner { gap: 18px; padding-block: 22px; }
}

.value-card.tone-cyan { background: linear-gradient(135deg, #009fe4, #087fb6); }
.value-card.tone-blue::before { background: #009fe4; }

/* Footer and compact district coverage notice. */
.app-footer-copy { max-width: 760px; line-height: 1.6; }
.app-footer-copy a { color: inherit; text-decoration: underline; }
.app-legal-bar { background: #fff; padding: 12px 24px; text-align: right; }
.app-legal-bar a { color: #004388; text-decoration: underline; }
.wijk-coverage { border-left: 3px solid #df9300; background: #fff9ed; padding: 10px 14px; margin: 8px 0; font-size: .9rem; line-height: 1.5; }
.wijk-coverage p { margin: 0 0 5px; }
.wijk-coverage summary { cursor: pointer; color: #004388; }
.app-legal-bar a:focus-visible, .wijk-coverage summary:focus-visible { outline: 2px solid #004388; outline-offset: 3px; }
