:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #303738;
  background: #f8f6f1;
  font-synthesis: none;
  --sage: #dce5d4;
  --green: #426b43;
  --line: #e0e1da;
  --muted: #69716b;
  --panel: #fffefa;
  --shadow: 0 5px 22px #26372a20;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  min-height: 44px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 550;
}
button:hover {
  background: #edf0e8;
}
button:disabled,
button[aria-disabled="true"] {
  color: #858a82;
  cursor: help;
}
a {
  color: var(--green);
}
input,
select {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 9px;
  max-width: 100%;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
label {
  font-size: 13px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #557d47;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
  background: var(--panel);
  border-bottom: 1px solid #d6d9d1;
  position: relative;
  z-index: 1002;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  letter-spacing: 2.6px;
  font-weight: 650;
  white-space: nowrap;
}
.brand b {
  font-weight: 650;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  flex: 1;
  max-width: 440px;
  background: #fafaf7;
  padding: 0 12px;
}
.search span {
  font-size: 25px;
}
.search input {
  width: 100%;
  border: 0;
  padding: 13px 2px;
  min-width: 90px;
  font-size: 13px;
}
.header nav {
  display: flex;
  gap: 5px;
}
.header nav button {
  border: 0;
  min-width: 75px;
}
.active,
.tabs [aria-selected="true"] {
  background: var(--sage) !important;
}
.freshness {
  white-space: nowrap;
  font-size: 12px;
}
.freshness:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9b9e97;
  margin-right: 6px;
}
.freshness.live:before {
  background: #65a344;
}
.freshness.stale:before {
  background: #b78e3b;
}
.profile {
  border: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile span {
  font-size: 24px;
  color: #59605b;
}
#workspace {
  height: calc(100dvh - 76px);
  position: relative;
  isolation: isolate;
}
#map {
  height: 100%;
  background: #d9e1dd;
}
.leaflet-container {
  font: inherit;
}
.leaflet-control-attribution {
  font-size: 10px !important;
}
.filters {
  position: absolute;
  left: 24px;
  top: 20px;
  z-index: 500;
  display: flex;
  gap: 8px;
  max-width: calc(100% - 95px);
}
.filters button,
.filters label {
  background: var(--panel);
  box-shadow: var(--shadow);
  border: 1px solid #d7dbd1;
  white-space: nowrap;
}
.filters label {
  border-radius: 9px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 13px;
}
.filters select {
  border: 0;
  padding: 8px 0 8px 8px;
  width: 90px;
}
.maptools {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 500;
}
.maptools button {
  font-size: 21px;
  width: 44px;
  height: 44px;
  padding: 0;
  box-shadow: var(--shadow);
}
.panel {
  position: absolute;
  background: var(--panel);
  border: 1px solid #dddeda;
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 600;
}
.detail {
  top: 84px;
  left: 24px;
  width: 308px;
  max-height: calc(100% - 148px);
  overflow: auto;
  padding: 20px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  min-width: 44px;
  padding: 0;
  flex-shrink: 0;
}
h2 {
  margin: 7px 0;
  font-size: 25px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 16px;
  margin: 20px 0 12px;
}
.identity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.tag {
  border-radius: 20px;
  background: var(--sage);
  font-size: 10px;
  padding: 5px 9px;
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
.aircraft-art {
  height: 110px;
  border-radius: 12px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  background: #edf0e7;
  overflow: hidden;
  position: relative;
}
.aircraft-art svg {
  fill: currentColor;
  width: 95px;
  height: 95px;
  color: #7a8d71;
  transform: rotate(-25deg);
}
.aircraft-art:after {
  content: "POSITION REPORT";
  font-size: 9px;
  letter-spacing: 2px;
  position: absolute;
  bottom: 10px;
  right: 12px;
  color: #718268;
}
.route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 27px;
  font-weight: 750;
  margin: 20px 0 4px;
}
.route span {
  font-weight: 400;
  color: #91a087;
  font-size: 21px;
}
.route-note {
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: 12px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 8px 0 16px;
}
.metrics div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.metrics div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.metrics small {
  font-size: 9px;
  letter-spacing: 1.1px;
  display: block;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--muted);
}
.metrics strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.primary {
  background: #303738;
  color: white;
  border-color: #303738;
}
.primary:hover {
  background: #465147;
}
.full {
  width: 100%;
  margin: 5px 0;
}
.drawer {
  top: 84px;
  left: 24px;
  bottom: 68px;
  width: 370px;
  padding: 20px;
  overflow: auto;
  z-index: 700;
}
.drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.drawerhead h2 {
  font-size: 22px;
}
.row {
  width: 100%;
  display: flex;
  text-align: left;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 2px;
  background: transparent;
}
.row .code {
  width: 44px;
  min-width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #edf0e7;
  border-radius: 9px;
}
.row strong {
  display: block;
  font-size: 13px;
}
.row small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.row .star {
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 8px;
}
.row-wrap {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.row-wrap .row {
  border: 0;
}
.row-wrap > button {
  border: 0;
  background: transparent;
}
.board {
  right: 20px;
  bottom: 48px;
  width: 340px;
  padding: 14px;
  max-height: 40vh;
  overflow: auto;
}
.boardhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.boardhead button {
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  padding: 0;
  text-align: left;
}
.boardhead button:last-child {
  font-size: 22px;
  min-width: 44px;
  text-align: right;
}
.tabs {
  display: flex;
  background: #f3f3ee;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 8px 0;
}
.tabs button {
  width: 50%;
  border: 0;
  background: transparent;
  min-height: 38px;
}
.boardflight {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.65fr;
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 10px 2px;
  width: 100%;
  text-align: left;
  font-size: 11px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.boardflight strong {
  font-size: 12px;
}
.boardflight small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.boardflight .tag {
  font-size: 9px;
  white-space: normal;
  text-align: center;
}
.mapcaption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 500;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 50px);
}
.mapcaption > span {
  background: var(--panel);
  padding: 9px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 11px;
  max-width: 550px;
}
.mapcaption button {
  font-size: 11px;
  min-height: 34px;
  box-shadow: var(--shadow);
}
.aircraft-list {
  left: 24px;
  bottom: 68px;
  max-height: 50%;
  width: 350px;
  overflow: auto;
  padding: 18px;
  z-index: 750;
}
.aircraft-list h2 {
  font-size: 19px;
}
.search-results {
  top: 5px;
  left: 345px;
  width: 390px;
  max-height: 65%;
  padding: 10px 18px;
  overflow: auto;
  z-index: 800;
}
.plane-icon {
  background: transparent;
  border: 0;
}
.plane-icon svg {
  width: 100%;
  height: 100%;
  fill: #303738;
  stroke: #fffefa;
  stroke-width: 0.7;
  filter: drop-shadow(0 1px 1px #fff9);
}
.plane-icon.selected svg {
  fill: #426b43;
  stroke: #fff;
  stroke-width: 1.1;
}
.leaflet-tooltip {
  background: #fffefa;
  border-color: #c9d1c2;
  color: #303738;
  box-shadow: none;
  font-size: 10px;
}
.leaflet-tooltip.selected-label {
  background: #426b43;
  color: white;
  border-color: #426b43;
}
.coverage-circle {
  pointer-events: none;
}
.mobile-nav,
.sheet-handle {
  display: none;
}
.toast {
  position: fixed;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  background: #303738;
  color: #fffefa;
  padding: 14px 20px;
  border-radius: 12px;
  z-index: 3000;
  max-width: 90vw;
  font-size: 13px;
  box-shadow: var(--shadow);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: inherit;
  width: min(480px, calc(100% - 28px));
  padding: 24px;
  box-shadow: 0 20px 80px #0004;
  max-height: 85dvh;
}
dialog::backdrop {
  background: #26302760;
  backdrop-filter: blur(3px);
}
dialog p {
  line-height: 1.7;
  font-size: 14px;
}
dialog label {
  display: block;
  margin: 18px 0 7px;
}
dialog label input:not([type="checkbox"]),
dialog select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.notice {
  background: #edf0e7;
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.verification {
  position: relative;
  z-index: 1000;
  background: #e9eddf;
  text-align: center;
  padding: 7px;
  font-size: 12px;
}
.verification button {
  font-size: 11px;
  min-height: 32px;
  margin-left: 8px;
}
body.pending #workspace {
  height: calc(100dvh - 122px);
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 5000;
  padding: 15px;
  background: white;
}
.skip:focus {
  top: 4px;
}
.empty {
  padding: 24px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.noscript {
  position: fixed;
  top: 90px;
  z-index: 9999;
  background: white;
  padding: 20px;
}
.link-button {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 14px;
  border-radius: 9px;
  margin: 8px 0;
  border: 1px solid var(--line);
  font-size: 13px;
}
.field {
  width: 100%;
}
.footer-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
}
@media (min-width: 1400px) {
  .header {
    gap: 32px;
  }
  .detail {
    width: 324px;
  }
  .board {
    width: 370px;
  }
}
@media (max-width: 1100px) {
  .header {
    padding: 0 16px;
    gap: 14px;
  }
  .brand {
    font-size: 13px;
    letter-spacing: 1.6px;
  }
  .brand img {
    width: 30px;
  }
  .header nav button {
    min-width: 58px;
    padding: 9px;
  }
  .freshness {
    font-size: 11px;
  }
  .search-results {
    left: 260px;
  }
}
@media (max-width: 760px) {
  .header {
    height: 62px;
    padding: max(8px, env(safe-area-inset-top)) 14px 8px;
    gap: 12px;
  }
  .brand span {
    font-size: 0;
    letter-spacing: 0;
  }
  .brand b {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .header nav,
  .profile {
    display: none;
  }
  .search {
    margin-left: auto;
    max-width: 220px;
    min-width: 65px;
    padding: 0 8px;
  }
  .search input {
    font-size: 12px;
    padding: 10px 0;
  }
  .search span {
    display: none;
  }
  .header .freshness {
    font-size: 10px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding: 5px 8px max(8px, env(safe-area-inset-bottom));
    height: calc(68px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .mobile-nav button {
    border: 0;
    border-radius: 10px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 16px;
    background: transparent;
    min-width: 65px;
  }
  .mobile-nav button span {
    font-size: 22px;
    line-height: 25px;
  }
  #workspace {
    height: calc(100dvh - 130px - env(safe-area-inset-bottom));
  }
  .filters {
    top: 12px;
    left: 12px;
    gap: 6px;
    max-width: calc(100% - 66px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filters button,
  .filters label {
    font-size: 11px;
    min-height: 40px;
    padding: 7px 10px;
  }
  .filters #airlines {
    display: none;
  }
  .filters select {
    width: 65px;
    font-size: 11px;
  }
  .maptools {
    right: 12px;
    top: 12px;
    gap: 5px;
  }
  .maptools button {
    width: 39px;
    height: 40px;
    min-height: 40px;
  }
  .maptools #layers {
    margin-bottom: 5px;
  }
  .detail {
    top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 64%;
    border-radius: 20px 20px 0 0;
    padding: 8px 20px 14px;
    box-shadow: 0 -4px 24px #26372a22;
    z-index: 650;
  }
  .sheet-handle {
    display: block;
    touch-action: none;
    width: 60px;
    margin: 0 auto;
    min-height: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    background: transparent;
    position: relative;
  }
  .sheet-handle:after {
    content: "";
    position: absolute;
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: #c9cec4;
    left: 12px;
    top: 7px;
  }
  .detail .eyebrow {
    display: block;
    font-size: 0;
    line-height: 0;
    height: 0;
    margin: 0;
  }
  .detail .eyebrow .close {
    position: absolute;
    right: 10px;
    top: 5px;
    min-height: 30px;
  }
  .detail h2 {
    font-size: 24px;
  }
  .detail .aircraft-art {
    display: none;
  }
  .detail .route {
    margin: 13px 0 4px;
  }
  .detail .route-note {
    font-size: 11px;
    padding-bottom: 10px;
  }
  .detail .metrics {
    margin: 6px 0;
  }
  .detail .metrics div {
    padding: 9px 0;
  }
  .detail .metrics div:nth-child(even) {
    padding-left: 15px;
  }
  .detail .metrics strong {
    font-size: 16px;
  }
  .detail .metrics div:nth-child(n + 3) {
    display: none;
  }
  .detail.expanded {
    max-height: 88%;
  }
  .detail.expanded .metrics div:nth-child(n + 3) {
    display: block;
  }
  .detail.collapsed {
    max-height: 115px;
    overflow: hidden;
  }
  .detail .full {
    min-height: 42px;
  }
  .drawer {
    left: 0;
    right: 0;
    bottom: 0;
    top: 68px;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    z-index: 800;
  }
  .board {
    left: 12px;
    right: 12px;
    bottom: 48px;
    width: auto;
    max-height: 48%;
    z-index: 700;
  }
  .board.open-detail {
    display: none;
  }
  .mapcaption {
    left: 12px;
    bottom: 22px;
    gap: 5px;
    max-width: calc(100% - 24px);
  }
  .mapcaption > span {
    max-width: 210px;
    font-size: 9px;
    padding: 7px;
  }
  .mapcaption button {
    font-size: 10px;
    padding: 7px;
    min-height: 34px;
  }
  .aircraft-list {
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 65%;
    border-radius: 20px 20px 0 0;
    z-index: 850;
  }
  .search-results {
    top: 0;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: 70%;
    z-index: 900;
  }
  .toast {
    bottom: 90px;
    font-size: 12px;
    width: max-content;
    max-width: 90%;
  }
  .verification {
    font-size: 10px;
    padding: 6px 10px;
    line-height: 1.5;
  }
  .verification button {
    min-height: 30px;
    padding: 3px 6px;
  }
  body.pending #workspace {
    height: calc(100dvh - 181px - env(safe-area-inset-bottom));
  }
  .leaflet-control-attribution {
    max-width: 100%;
    font-size: 8px !important;
  }
}
@media (max-height: 500px) and (max-width: 900px) {
  .detail {
    max-height: 80%;
    width: 300px;
    left: 12px;
    border-radius: 16px;
  }
  .mobile-nav {
    height: 50px;
    padding: 0;
  }
  .mobile-nav button {
    flex-direction: row;
  }
  .drawer {
    top: 15px;
  }
  .header {
    height: 50px;
  }
  #workspace {
    height: calc(100dvh - 100px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
