@import url('/leaflet.css');
:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  color: #132c3d;
  background: #f5f7f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 80px;
  background: #0b2436;
  color: #e8f3fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.brand {
  font-size: 28px;
  letter-spacing: 3px;
  font-weight: 750;
  color: inherit;
  text-decoration: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.brand span {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 500;
  max-width: 160px;
  line-height: 1.7;
}
.network {
  font-size: 10px;
  letter-spacing: 1.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#summary {
  letter-spacing: 0;
  color: #9bb7c7;
  margin-left: 12px;
  font-size: 12px;
}
.pulse {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #5bd5b0;
  box-shadow: 0 0 0 4px #5bd5b018;
}
main {
  display: grid;
  grid-template-columns: 1fr 350px;
  height: calc(100vh - 80px);
}
.map-shell {
  position: relative;
  min-width: 0;
}
#map {
  height: 100%;
  background: #d8e9ee;
}
.map-toolbar {
  position: absolute;
  top: 22px;
  left: 60px;
  right: 22px;
  z-index: 450;
  display: flex;
  gap: 20px;
  align-items: center;
  background: #ffffffef;
  padding: 14px 18px;
  border: 1px solid #d5e0e5;
  border-radius: 8px;
  box-shadow: 0 4px 24px #15304712;
  font-size: 12px;
}
.map-toolbar > span {
  font-weight: 650;
  margin-right: auto;
}
.map-toolbar label {
  display: flex;
  gap: 6px;
  align-items: center;
}
button {
  background: #0b6b73;
  color: white;
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
button:hover {
  background: #074f57;
}
#status {
  position: absolute;
  bottom: 28px;
  left: 22px;
  z-index: 450;
  border-radius: 6px;
  background: #fffffff2;
  padding: 12px 16px;
  font-size: 12px;
  color: #526b77;
  box-shadow: 0 2px 16px #10243414;
}
#status.error {
  color: #a84030;
}
aside {
  background: white;
  padding: 32px 26px;
  overflow: auto;
  border-left: 1px solid #dbe3e8;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #698995;
  margin: 0 0 14px;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}
.intro {
  font-size: 14px;
  color: #637b89;
  line-height: 1.7;
}
.hint {
  border: 1px dashed #cad8df;
  padding: 24px 20px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #6a818e;
  margin: 28px 0;
}
.quiet {
  font-size: 11px;
  line-height: 1.7;
  color: #78909d;
}
dl {
  margin: 20px 0;
}
dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: 12px;
}
dt {
  color: #6a8390;
}
dd {
  margin: 0;
  text-align: right;
  color: #203f50;
  overflow-wrap: anywhere;
}
.badge {
  display: inline-block;
  background: #e4f4f1;
  color: #1e7869;
  font-size: 10px;
  letter-spacing: 0.8px;
  padding: 6px 8px;
  border-radius: 4px;
}
.stale {
  background: #fcf0d9;
  color: #916124;
}
.sources {
  font-size: 11px;
  line-height: 1.6;
  margin: 22px 0;
}
.sources a {
  color: #087981;
  overflow-wrap: anywhere;
}
.history {
  width: 100%;
  margin-top: 18px;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
@media (max-width: 850px) {
  header {
    padding: 0 16px;
    height: 64px;
  }
  .brand span {
    display: none;
  }
  #summary {
    display: none;
  }
  main {
    height: calc(100vh - 64px);
    grid-template-columns: 1fr;
    grid-template-rows: 65% 35%;
  }
  aside {
    padding: 20px;
    border-left: 0;
    border-top: 1px solid #ddd;
  }
  .map-toolbar {
    left: 52px;
    top: 14px;
    padding: 10px;
    gap: 8px;
  }
  .map-toolbar > span {
    display: none;
  }
  .quiet {
    margin-bottom: 0;
  }
}
