@font-face {
  font-family: Barlow;
  src: url("/vendor/barlow-condensed-latin-700-normal.woff2");
}
@font-face {
  font-family: Plex;
  src: url("/vendor/ibm-plex-sans-latin-400-normal.woff2");
}
@font-face {
  font-family: Mono;
  src: url("/vendor/ibm-plex-mono-latin-400-normal.woff2");
}
:root {
  color-scheme: light dark;
  --bg: light-dark(#eef2f3, #111e29);
  --panel: light-dark(#fff, #1b2d3b);
  --ink: light-dark(#193748, #edf5f8);
  --muted: light-dark(#536a7a, #b6c9d4);
  --line: light-dark(#d4e0e7, #3d5464);
  --accent: light-dark(#006f82, #65d3dc);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.5 Plex,
    sans-serif;
}
header {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 24px;
  background: #142f40;
  color: #fff;
  border-top: 5px solid #ef6f39;
  flex-wrap: wrap;
}
header strong {
  font:
    30px Barlow,
    sans-serif;
}
#account {
  margin-left: auto;
  font-size: 13px;
}
.shell {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
aside {
  padding: 20px 12px;
  background: var(--panel);
  min-height: calc(100vh - 76px);
  border-right: 1px solid var(--line);
}
aside button,
aside select {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  text-align: left;
}
main {
  padding: 24px;
  min-width: 0;
}
h1 {
  font:
    42px/1.08 Barlow,
    sans-serif;
  margin: 0 0 12px;
  text-transform: uppercase;
}
h2 {
  font:
    25px Barlow,
    sans-serif;
  margin: 0 0 12px;
}
h3 {
  font:
    21px Barlow,
    sans-serif;
  margin: 8px 0;
}
p {
  margin: 7px 0;
}
section {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  margin: 16px 0;
  border-radius: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 12px;
  max-width: 100%;
}
button {
  cursor: pointer;
  font-weight: 600;
}
button.primary,
button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--panel);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 9px 0;
  font-size: 13px;
  color: var(--muted);
}
input:not([type="range"]):not([type="file"]),
select {
  min-height: 42px;
}
textarea {
  width: 100%;
  min-height: 120px;
}
textarea.code {
  font:
    12px Mono,
    monospace;
  min-height: 250px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.badge {
  font:
    12px Mono,
    monospace;
  padding: 4px 7px;
  background: var(--bg);
}
.metric {
  font:
    24px Mono,
    monospace;
}
.error {
  color: light-dark(#9b2e15, #ffb9a4);
  border-left: 4px solid #ef6f39;
  padding: 10px;
}
#notice:not(:empty) {
  padding: 12px;
  background: var(--panel);
  margin-bottom: 15px;
}
.map {
  height: 430px;
  z-index: 0;
  background: var(--bg);
}
.mapcontrols {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
}
.mapcontrols label {
  flex-direction: row;
  align-items: center;
}
.leaflet-container {
  font-family: Plex, sans-serif;
}
.teamlogo {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  width: 100%;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  font-weight: 400;
}
.tablewrap {
  overflow: auto;
}
input[type="range"] {
  width: 100%;
  padding: 0;
  accent-color: var(--accent);
}
.stamp {
  font-family: Mono, monospace;
}
svg.wind {
  width: 100%;
  height: 560px;
  display: block;
  touch-action: pan-x;
}
svg.wind text {
  fill: var(--ink);
  font:
    12px Plex,
    sans-serif;
}
.comment {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.comment button {
  color: var(--accent);
  border: 0;
  background: none;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 18px;
}
.danger {
  color: light-dark(#a52b14, #ffb6a6);
}
.selected {
  border-left: 3px solid #ef6f39;
}
.crop {
  width: 180px;
  height: 180px;
  object-fit: cover;
}
a {
  color: var(--accent);
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  aside {
    min-height: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  aside button,
  aside select {
    width: auto;
    margin: 0;
  }
  main {
    padding: 14px;
  }
  h1 {
    font-size: 34px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .map {
    height: 350px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
