/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --accent: #c8102e;
  --ink: #1b2430;
  --ink-2: #4a5768;
  --line: #d7dde5;
  --bg: #fff;
  --bg-2: #f4f6f9;
  --focus: #ffbf47;
  --radius: 10px;
  --shadow: 0 6px 24px #0b254524;
  --header-h: 60px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
}

a {
  color: var(--navy-2);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute !important;
}

.skip-link {
  z-index: 100;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 8px 14px;
  position: absolute;
  top: -60px;
  left: 8px;
}

.skip-link:focus {
  color: #fff;
  top: 8px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: .875rem;
}

ul.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  height: var(--header-h);
  background: var(--navy);
  color: #fff;
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  display: flex;
  position: relative;
}

.brand {
  color: #fff;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 650;
  text-decoration: none;
  display: flex;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  background: var(--accent);
  color: #fff;
  letter-spacing: .04em;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: .85rem;
  font-weight: 800;
}

.brand-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.site-nav {
  align-items: center;
  gap: 18px;
  display: flex;
}

.nav-link, .lang-switch {
  color: #fff;
  font-weight: 550;
  text-decoration: none;
}

.nav-link:hover, .lang-switch:hover {
  color: #fff;
  text-decoration: underline;
}

.nav-link[aria-current="page"] {
  text-underline-offset: 6px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.lang-switch {
  text-align: center;
  border: 1px solid #ffffff80;
  border-radius: 6px;
  min-width: 70px;
  padding: 4px 10px;
}

.btn {
  min-height: 42px;
  font: inherit;
  cursor: pointer;
  background: var(--bg-2);
  color: var(--navy);
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);
  color: #fff;
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn-light:hover {
  color: var(--accent);
}

.btn-outline {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-link {
  min-height: 0;
  color: var(--navy-2);
  background: none;
  border: none;
  padding: 4px 6px;
  text-decoration: underline;
}

.btn-icon {
  border: 1px solid var(--line);
  background: #fff;
  width: 42px;
  padding: 0;
  font-size: 1.3rem;
}

.badge {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: .75rem;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1f4e79 100%);
  color: #fff;
  padding: 64px 20px 72px;
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero-lead {
  color: #e6edf5;
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 1.15rem;
}

.hero-search {
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 12px;
  gap: 8px;
  max-width: 680px;
  padding: 6px;
  display: flex;
}

.hero-search input {
  min-width: 0;
  font: inherit;
  border: none;
  border-radius: 8px;
  flex: 1;
  padding: 8px 12px;
  font-size: 1.05rem;
}

.hero-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  display: flex;
}

.hero-note {
  color: #d5deea;
  font-size: .95rem;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  display: grid;
}

.stat {
  background: var(--bg-2);
  border-radius: var(--radius);
  flex-direction: column-reverse;
  padding: 18px 20px;
  display: flex;
}

.stat dt {
  color: var(--ink-2);
  font-weight: 550;
}

.stat dd {
  color: var(--navy);
  margin: 0;
  font-size: 2rem;
  font-weight: 750;
}

.carousel {
  position: relative;
}

.carousel-controls {
  gap: 8px;
  display: flex;
  position: absolute;
  top: -58px;
  right: 0;
}

.carousel-track {
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  grid-auto-columns: minmax(260px, 23%);
  grid-auto-flow: column;
  gap: 16px;
  margin: 0;
  padding: 4px 2px 16px;
  list-style: none;
  display: grid;
  overflow-x: auto;
}

.carousel-item {
  scroll-snap-align: start;
  display: flex;
}

.carousel-skeleton, .page-skeleton {
  border-radius: var(--radius);
  background: var(--bg-2);
  height: 220px;
}

.page-skeleton {
  max-width: 1180px;
  height: 60vh;
  margin: 24px auto;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  flex-direction: column;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.card-band {
  background: var(--cat);
  height: 6px;
}

.card-body {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 14px 16px 16px;
  display: flex;
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-2);
  margin: 0;
  font-size: .8rem;
  font-weight: 650;
}

.card-title {
  margin: 0;
  font-size: 1.05rem;
}

.card-title a {
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

.card-meta {
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  font-size: .9rem;
  display: flex;
}

.card-summary {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: .93rem;
  display: -webkit-box;
  overflow: hidden;
}

.card-foot {
  color: var(--ink-2);
  margin: auto 0 0;
  padding-top: 6px;
  font-size: .85rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.card-grid > li {
  display: flex;
}

.status {
  border: 1px solid;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: .78rem;
  font-weight: 650;
  display: inline-block;
}

.status-planned {
  color: #5a4a00;
  background: #fff4c2;
}

.status-in_progress {
  color: #0b4f8a;
  background: #e1efff;
}

.status-completed {
  color: #1d5e2b;
  background: #e2f5e6;
}

.status-pilot {
  color: #6a2c8f;
  background: #f3e6fb;
}

.category-grid {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.category-chip, .chip {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
}

.chip {
  border-color: var(--cat);
  border-left-width: 6px;
  padding: 2px 10px;
  font-size: .82rem;
}

.category-chip:hover {
  border-color: var(--cat);
  color: var(--ink);
}

.dot {
  background: var(--cat);
  border-radius: 50%;
  flex: none;
  width: 12px;
  height: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  text-align: center;
  padding: 24px 20px;
  font-size: .9rem;
}

.site-footer p {
  margin: 4px 0;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}

.map-page {
  height: calc(100dvh - var(--header-h));
  flex-direction: column;
  display: flex;
}

.map-boot {
  padding: 20px;
}

.explorer {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.explorer-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 14px;
  display: flex;
}

.explorer-search {
  flex: 320px;
  gap: 6px;
  max-width: 520px;
  display: flex;
}

.explorer-search input, .field input, .field select, .range-row input {
  min-width: 0;
  font: inherit;
  background: #fff;
  border: 1px solid #9aa7b6;
  border-radius: 8px;
  flex: 1;
  min-height: 42px;
  padding: 8px 12px;
}

.view-toggle {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-left: auto;
  display: none;
  overflow: hidden;
}

.view-toggle button {
  font: inherit;
  min-height: 40px;
  color: var(--navy);
  cursor: pointer;
  background: #fff;
  border: none;
  padding: 8px 14px;
  font-weight: 600;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.explorer-body {
  flex: 1;
  grid-template-columns: 1fr 400px;
  min-height: 0;
  display: grid;
}

.explorer-map {
  min-height: 0;
  position: relative;
}

.explorer-map > .map-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.map-status {
  box-shadow: var(--shadow);
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.map-status-error {
  color: #8a1020;
}

.map-legend {
  background: #fffffff0;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  max-width: 300px;
  padding: 6px 10px;
  font-size: .8rem;
  display: flex;
  position: absolute;
  bottom: 34px;
  left: 10px;
  box-shadow: 0 2px 8px #0000001f;
}

.legend-hollow {
  border: 3px solid var(--ink-2);
  background: #fff;
  border-radius: 50%;
  flex: none;
  width: 14px;
  height: 14px;
}

.explorer-list {
  border-left: 1px solid var(--line);
  background: var(--bg-2);
  overflow-y: auto;
}

.list-head {
  background: var(--bg-2);
  z-index: 1;
  padding: 14px 16px 8px;
  position: sticky;
  top: 0;
}

.list-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.list-count {
  color: var(--ink-2);
  margin: 2px 0 0;
  font-size: .9rem;
}

.list-empty {
  padding: 8px 16px;
}

.list-items {
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
  display: flex;
}

.list-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--cat);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 10px 14px;
  text-decoration: none;
  display: flex;
}

.list-item:hover {
  border-color: var(--navy);
  border-left-color: var(--cat);
  color: var(--ink);
}

.list-item-cat {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-2);
  font-size: .75rem;
  font-weight: 650;
}

.list-item-name {
  color: var(--navy);
  font-weight: 650;
}

.list-item-meta {
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: .86rem;
  display: flex;
}

.list-item-org {
  color: var(--ink-2);
  font-size: .85rem;
}

.list-more {
  width: calc(100% - 24px);
  margin: 0 12px 16px;
}

.hover-card {
  font-family: var(--font);
  font-size: .85rem;
  line-height: 1.35;
}

.hover-cat {
  text-transform: uppercase;
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 650;
}

.hover-name {
  color: var(--navy);
  margin: 2px 0;
  font-weight: 700;
}

.hover-meta, .hover-approx {
  color: var(--ink-2);
}

.hover-approx {
  font-style: italic;
}

.project-panel {
  border-radius: var(--radius);
  width: min(380px, 100% - 24px);
  max-height: calc(100% - 70px);
  box-shadow: var(--shadow);
  z-index: 3;
  background: #fff;
  padding: 16px 18px 18px;
  position: absolute;
  top: 12px;
  left: 12px;
  overflow-y: auto;
}

.project-panel h2 {
  margin: 8px 36px 8px 0;
  font-size: 1.2rem;
}

.project-panel h2:focus {
  outline: none;
}

.panel-close {
  width: 36px;
  min-height: 36px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.panel-cats {
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 40px;
  display: flex;
}

.panel-org {
  margin: 8px 0 0;
  font-weight: 600;
}

.panel-summary {
  font-size: .95rem;
}

.sample-flag {
  color: #4d3f00;
  background: #fff4c2;
  border: 1px solid #e0c34a;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .85rem;
}

.filter-dialog {
  width: min(640px, 100vw - 24px);
  max-height: calc(100dvh - 40px);
  box-shadow: var(--shadow);
  border: none;
  border-radius: 14px;
  padding: 0;
}

.filter-dialog[open] {
  flex-direction: column;
  display: flex;
}

.filter-dialog::backdrop {
  background: #0b254573;
}

.filter-head, .filter-foot {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  display: flex;
}

.filter-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.filter-foot {
  border-top: 1px solid var(--line);
  border-bottom: none;
}

.filter-body {
  padding: 8px 18px 18px;
  overflow-y: auto;
}

.filter-body fieldset {
  border: none;
  margin: 14px 0 0;
  padding: 0;
}

.filter-body legend, .field label {
  color: var(--navy);
  margin-bottom: 6px;
  padding: 0;
  font-weight: 650;
}

.field {
  flex-direction: column;
  margin-top: 14px;
  display: flex;
}

.check-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 12px;
  display: grid;
}

.check-row {
  flex-wrap: wrap;
  gap: 4px 18px;
  display: flex;
}

.check {
  cursor: pointer;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  display: flex;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.range-row {
  gap: 12px;
  display: flex;
}

.range-row label {
  color: var(--ink-2);
  flex-direction: column;
  flex: 1;
  font-size: .9rem;
  display: flex;
}

.project-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.crumbs {
  margin: 4px 0 16px;
}

.project-header h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.project-lead {
  max-width: 820px;
  font-size: 1.15rem;
}

.project-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  margin-top: 12px;
  display: grid;
}

.project-main h2, .project-facts h2 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.project-images {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  display: grid;
}

.project-images img {
  border-radius: 8px;
  width: 100%;
}

.detail-map {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  height: 340px;
  overflow: hidden;
}

.project-facts {
  background: var(--bg-2);
  border-radius: var(--radius);
  align-self: start;
  padding: 4px 20px 20px;
}

.project-facts dl {
  margin: 0;
}

.project-facts dt {
  color: var(--navy);
  margin-top: 12px;
  font-size: .9rem;
  font-weight: 650;
}

.project-facts dd {
  margin: 2px 0 0;
}

.member-badge {
  background: var(--navy);
  color: #fff;
  vertical-align: middle;
  border-radius: 999px;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: .72rem;
  font-weight: 700;
  display: inline-block;
}

.share h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.share-row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.link-list {
  padding-left: 20px;
}

.related {
  padding-left: 0;
  padding-right: 0;
}

.maplibregl-ctrl-attrib {
  font-size: 12px;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-track {
    grid-auto-columns: minmax(250px, 80%);
  }

  .project-grid, .explorer-body {
    grid-template-columns: 1fr;
  }

  .view-toggle {
    display: flex;
  }

  .view-map .explorer-list, .view-list .explorer-map {
    display: none;
  }

  .explorer-list {
    border-left: none;
  }

  .map-legend {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: .95rem;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav .nav-link {
    display: none;
  }

  .hero {
    padding: 40px 16px 48px;
  }

  .explorer-search {
    flex-basis: 100%;
    max-width: none;
  }

  .filter-dialog {
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9oqc8uss.css.map*/