:root {
  color-scheme: dark;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --display: "Bahnschrift", "DIN Alternate", "Aptos Display", sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --bg: #191f28;
  --sidebar: #151b24;
  --surface: #1d2530;
  --surface-top: #232c38;
  --raised: #272f3b;
  --recess: #161d27;
  --text: #edf2f9;
  --muted: #a4b1c2;
  --line: #303b49;
  --line-soft: #293441;
  --coral: #ff8172;
  --sky: #82bafa;
  --mint: #75dec0;
  --amber: #f3c17f;
  --violet: #bcaaf5;
  --action: #fb7766;
  --action-hover: #ff9383;
  --action-ink: #261619;
  --emboss: 6px 8px 19px #0c111980, -4px -4px 13px #333e4d45, inset 0 1px #ffffff09;
  --inset: inset 2px 3px 7px #0c111b99, inset -2px -2px 6px #36415040;
  --chart-grid: #354150;
  --map-water: #141e2c;
  --map-land: #25364a;
  --map-coast: #40566e;
  --map-grid: #96adc01a;
  --map-river: #4a6d8c;
  --map-label: #8fa9c3;
  --page-gutter: clamp(20px, 2.25vw, 38px);
  --page-gap: 21px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #e8edf3;
  --sidebar: #e4eaf2;
  --surface: #eef2f7;
  --surface-top: #f6f8fb;
  --raised: #f9fbfd;
  --recess: #e0e7ef;
  --text: #213042;
  --muted: #515f73;
  --line: #cbd5e1;
  --line-soft: #d9e1eb;
  --coral: #ac352c;
  --sky: #2466a5;
  --mint: #136c57;
  --amber: #8a510a;
  --violet: #614ab6;
  --action: #ee705f;
  --action-hover: #fc8777;
  --emboss: 6px 8px 18px #a0afc269, -5px -5px 13px #ffffffc9, inset 0 1px #ffffffb3;
  --inset: inset 2px 3px 7px #a7b7cb83, inset -3px -2px 7px #ffffffbd;
  --chart-grid: #c4d0df;
  --map-water: #d8e6f2;
  --map-land: #f1f4f7;
  --map-coast: #91abc2;
  --map-grid: #4d6b891c;
  --map-river: #93b5cc;
  --map-label: #506c85;
}

*, *::before, *::after { box-sizing: border-box; }
[v-cloak] { display: none; }
body { margin: 0; color: var(--text); background: var(--bg); font: 15px/1.45 var(--body); }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
button:disabled { cursor: default; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); line-height: 1.12; }
::selection { background: var(--action); color: var(--action-ink); }
.icon {
  display: inline-block;
  flex: none;
  width: 19px;
  height: 19px;
  background: currentColor;
  mask: var(--glyph) center / contain no-repeat;
  vertical-align: middle;
}
[data-tone="coral"] { --tone: var(--coral); }
[data-tone="sky"] { --tone: var(--sky); }
[data-tone="mint"] { --tone: var(--mint); }
[data-tone="amber"] { --tone: var(--amber); }
[data-tone="violet"] { --tone: var(--violet); }
[data-tone="muted"] { --tone: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { display: inline-block; width: 22px; height: 2px; border-radius: 2px; background: #ff8474; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-align: left; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid #ffad9f81;
  border-radius: 14px;
  color: #1e151b;
  background: linear-gradient(150deg, #ff9a88, #f47160 64%, #e76555);
  box-shadow: inset 0 1px 1px #ffffff4f, 0 4px 13px #09091345;
}
.brand-mark .icon { width: 24px; height: 24px; }
.brand strong, .brand small { display: block; }
.brand strong { font: 660 23px/1.03 var(--display); letter-spacing: -.035em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.2; }
.button, .subtle-button, .icon-button, .plain-icon, .theme-switch button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button {
  min-height: 43px;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--surface-top);
  box-shadow: var(--emboss);
  font-size: 14px;
  font-weight: 720;
}
.button:hover { background: var(--raised); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.primary {
  border-color: transparent;
  color: var(--action-ink);
  background: var(--action);
  box-shadow: inset 0 1px #ffffff4f, 0 5px 16px #c25c4930;
}
.button.primary:hover { background: var(--action-hover); box-shadow: inset 0 1px #ffffff55, 0 6px 18px #c25c4950; }
.button .icon { width: 18px; height: 18px; }
.icon-button {
  position: relative;
  flex: none;
  width: 39px;
  height: 38px;
  min-height: 36px;
  padding: 0;
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
  box-shadow: inset 0 1px #ffffff0b;
}
.icon-button:hover, .plain-icon:hover { color: var(--text); background: var(--raised); }
.plain-icon { width: 39px; height: 37px; padding: 0; border: 0; border-radius: 9px; color: var(--muted); background: transparent; }
.subtle-button {
  min-height: 35px;
  flex: none;
  padding: 0 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
}
.subtle-button:hover { background: var(--raised); color: var(--text); }
.subtle-button .icon { width: 14px; height: 14px; }
.theme-switch {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--recess);
  box-shadow: var(--inset);
}
.theme-switch button {
  width: 34px;
  height: 30px;
  padding: 0;
  border-color: transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface-top);
  box-shadow: 1px 2px 4px #10172638, inset 0 1px #ffffff1c;
}
.theme-switch .icon { width: 17px; height: 17px; }

.login-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(405px, 1fr);
  min-height: 100svh;
  padding: 18px;
  background: radial-gradient(ellipse at 78% 13%, color-mix(in srgb, var(--raised) 85%, transparent), transparent 56%), var(--bg);
}
.login-photo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 650px;
  padding: clamp(27px, 3.4vw, 60px);
  border: 1px solid #7491b043;
  border-radius: 25px;
  color: #f3f6fd;
  background:
    linear-gradient(0deg, #0b121d 0%, #0b121ddf 12%, #0b121d67 35%, transparent 58%),
    linear-gradient(136deg, #0b131e8c 0%, transparent 50%),
    #152338 url("./assets/jet.webp") 51% 54% / cover no-repeat;
  box-shadow: 7px 7px 24px #080f1b42, inset 0 1px #ffffff10;
}
.login-brand small { color: #c1ccdd; }
.login-caption { animation: enter .62s cubic-bezier(.22, .64, .32, 1) both; }
.login-caption .eyebrow { color: #ffc1b9; margin-bottom: 15px; }
.login-headline {
  font: 640 clamp(2.6rem, 5.2vw, 5.25rem)/.985 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 2px 22px #08101dba;
}
.login-numbers { display: flex; gap: clamp(15px, 3vw, 32px); margin-top: 29px; }
.login-numbers > div { display: grid; gap: 3px; min-width: 76px; }
.login-numbers > div + div { border-left: 1px solid #a7bdd14a; padding-left: clamp(15px, 3vw, 32px); }
.login-numbers strong { font: 620 25px/1 var(--display); font-variant-numeric: tabular-nums; }
.login-numbers span { color: #c2cfe0; font-size: 13px; }
.login-side {
  position: relative;
  display: grid;
  grid-template-rows: 46px 1fr 25px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 16px clamp(28px, 4.6vw, 80px) 17px;
}
.login-toolbar { justify-self: end; }
.login-content { width: 100%; max-width: 378px; padding: 32px 0; animation: enter .65s .06s cubic-bezier(.22, .64, .32, 1) both; }
.access-symbol, .heading-icon, .small-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 51px;
  height: 51px;
  border: 1px solid color-mix(in srgb, var(--tone) 23%, var(--line));
  border-radius: 15px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 10%, var(--surface));
  box-shadow: var(--emboss);
}
.access-symbol .icon, .heading-icon .icon { width: 24px; height: 24px; }
.login-content h1 { margin-top: 20px; font-size: clamp(2.15rem, 4vw, 3.2rem); letter-spacing: -.049em; outline: none; }
.login-intro { margin-top: 8px; color: var(--muted); font-size: 16px; }
.login-content form { margin-top: 28px; }
.login-content label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 650; }
.field {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--recess);
  box-shadow: var(--inset);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--sky); box-shadow: var(--inset), 0 0 0 2px color-mix(in srgb, var(--sky) 18%, transparent); }
.field > .icon { color: var(--muted); }
.field input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
}
.field input::placeholder { color: var(--muted); }
.login-content .field { margin-bottom: 15px; }
.input-action { margin-right: -7px; }
.input-action .icon { width: 17px; height: 17px; }
.login-submit { justify-content: space-between; width: 100%; min-height: 48px; margin-top: 6px; padding-inline: 16px; }
.login-help {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--muted);
  font-size: 13px;
}
.login-help > .icon { color: var(--sky); }
.login-help strong, .login-help span { display: block; overflow-wrap: anywhere; }
.login-help strong { color: var(--text); font-weight: 650; }
.login-footer { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.login-footer > span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.form-error { color: var(--coral); margin-bottom: 9px; font-size: 13px; }

.application { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100svh; }
.sidebar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: 100svh;
  min-height: 0;
  padding: 22px 13px 15px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}
.sidebar-brand { border: 0; border-radius: 10px; background: transparent; margin: 0 4px 29px; padding: 0; }
.sidebar-brand .brand-mark { width: 41px; height: 41px; border-radius: 12px; }
.sidebar-brand .brand-mark .icon { width: 22px; height: 22px; }
.sidebar-brand strong { font-size: 22px; }
.nav-label {
  margin: 0 0 8px 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.analysis-label { margin-top: 23px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 625;
  text-align: left;
  transition: .18s ease;
  transition-property: background, color, border-color;
}
.nav-link + .nav-link { margin-top: 2px; }
.nav-link:hover { background: var(--surface-top); color: var(--text); }
.nav-link[aria-current="page"] {
  border-color: color-mix(in srgb, var(--coral) 28%, var(--line));
  background: color-mix(in srgb, var(--coral) 9%, var(--surface));
  color: var(--text);
  box-shadow: var(--inset);
}
.nav-link[aria-current="page"]::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 19px;
  border-radius: 0 3px 3px 0;
  background: var(--coral);
  content: "";
}
.nav-link[aria-current="page"] .icon { color: var(--coral); }
.sidebar-foot { display: grid; gap: 8px; margin-top: auto; padding-top: 25px; }
.simulation-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--recess);
  box-shadow: var(--inset);
}
.simulation-dot { width: 7px; height: 7px; flex: none; margin: 6px 0 0 2px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 14%, transparent); }
.simulation-note strong, .simulation-note small { display: block; }
.simulation-note strong { font-size: 13px; }
.simulation-note small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.exit-link { min-height: 39px; }
.workspace { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  gap: 13px;
  padding: 8px var(--page-gutter);
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
}
.breadcrumb, .topbar-controls, .top-date, .account { display: flex; align-items: center; }
.breadcrumb { min-width: 0; gap: 9px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.breadcrumb strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; }
.breadcrumb .icon { width: 12px; height: 12px; }
.topbar-controls { gap: 11px; flex: none; }
.top-date { gap: 7px; margin-right: 4px; color: var(--muted); font-size: 13px; }
.top-date .icon { width: 16px; height: 16px; }
.bell-button > i { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border: 1px solid var(--surface); border-radius: 50%; background: var(--coral); }
.account { gap: 8px; padding-left: 10px; border-left: 1px solid var(--line); font-size: 13px; }
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--sky) 25%, var(--line));
  border-radius: 11px;
  color: var(--sky);
  background: color-mix(in srgb, var(--sky) 12%, var(--surface));
  font-size: 12px;
  font-weight: 750;
}
.mobile-menu, .menu-scrim { display: none; }
.page-content {
  max-width: 1610px;
  min-width: 0;
  padding: 23px var(--page-gutter) 36px;
  margin-inline: auto;
  outline: none;
}
.page-stack { display: grid; gap: var(--page-gap); min-width: 0; }
.overview-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-height: 155px;
  overflow: hidden;
  padding: 23px 27px;
  border: 1px solid #627c9978;
  border-radius: 17px;
  background: linear-gradient(98deg, #202d3f, #26394f 60%, #162331);
  color: #f3f6fc;
  box-shadow: var(--emboss);
}
.overview-hero::before, .overview-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; }
.overview-hero::before {
  left: 34%;
  background: linear-gradient(90deg, #233349 0%, #24364ade 13%, #17273e21 72%, #0a14266e 100%),
    linear-gradient(0deg, #172336ba, #1421371c 74%), url("./assets/jet.webp") 55% 54% / cover no-repeat;
}
.overview-hero::after {
  opacity: .30;
  background-image: linear-gradient(90deg, #b9d6ff14 1px, transparent 1px), linear-gradient(#b9d6ff14 1px, transparent 1px);
  background-size: 37px 37px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}
.overview-hero .eyebrow { color: #ffb3a7; }
.overview-hero h1 { margin: 8px 0 4px; font-size: clamp(2.15rem, 4vw, 3.5rem); letter-spacing: -.054em; }
.overview-hero p:not(.eyebrow) { color: #c9d8ed; font-size: 15px; }
.hero-cut {
  flex: none;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 9px 12px;
  border: 1px solid #8da8c456;
  border-radius: 9px;
  background: #132237c2;
  backdrop-filter: blur(9px);
  text-align: left;
}
.hero-cut > span { color: #cad6e5; font-size: 11px; }
.hero-cut > strong { font: 610 25px/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-cut small { color: #cad6e5; font: 650 11px var(--body); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 85px; }
.page-heading h1 { font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.049em; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: 15px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.stat-card, .panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(157deg, var(--surface-top), var(--surface) 72%);
  box-shadow: var(--emboss);
}
.stat-card { min-height: 113px; padding: 12px 14px 13px; text-align: left; }
.stat-card:is(button), .weather-card { transition: border-color .22s, box-shadow .22s, transform .22s; }
.stat-card:is(button):hover, .weather-card:hover {
  border-color: color-mix(in srgb, var(--tone, var(--sky)) 42%, var(--line));
  transform: translateY(-3px);
}
.stat-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 670; line-height: 1.16; }
.stat-symbol, .alert-symbol, .record-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--tone) 19%, var(--line));
  border-radius: 9px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 9%, var(--recess));
  box-shadow: var(--inset);
}
.stat-symbol .icon { width: 18px; height: 18px; }
.stat-link { width: 13px; height: 13px; margin-left: auto; color: var(--muted); }
.stat-bottom { display: grid; gap: 3px; margin-top: 6px; }
.stat-bottom strong { font: 650 clamp(1.8rem, 2.55vw, 2.45rem)/1.03 var(--display); letter-spacing: -.028em; font-variant-numeric: tabular-nums; }
.stat-bottom > span { color: var(--muted); font-size: 12px; font-weight: 560; line-height: 1.25; }
.dashboard-row { display: grid; gap: var(--page-gap); min-width: 0; }
.wide-first { grid-template-columns: minmax(0, 1.83fr) minmax(0, 1fr); }
.balanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { padding: 17px 18px 15px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.panel-head h2 { font-size: 20px; letter-spacing: -.022em; font-weight: 660; }
.panel-head p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.small-symbol { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--inset); }
.small-symbol .icon { width: 17px; height: 17px; }

.map-field {
  position: relative;
  height: clamp(330px, 39vw, 460px);
  overflow: hidden;
  border: 1px solid var(--map-coast);
  border-radius: 11px;
  background: var(--map-water);
  box-shadow: var(--inset);
}
.map-field.map-compact { height: clamp(249px, 21vw, 315px); }
.map-field canvas { display: block; width: 100%; height: 100%; }
.map-airport, .map-flight {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}
.map-airport i {
  display: grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border: 1px solid var(--sky);
  border-radius: 50%;
  background: var(--map-water);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 18%, transparent);
}
.map-airport i::after { width: 4px; height: 4px; border-radius: 50%; background: var(--sky); content: ""; }
.map-airport span {
  position: absolute;
  z-index: 1;
  top: 23px;
  left: 50%;
  padding: 2px 5px;
  border: 1px solid var(--map-coast);
  border-radius: 4px;
  color: var(--text);
  background: color-mix(in srgb, var(--map-water) 87%, var(--surface));
  font: 700 11px/1.15 var(--mono);
  transform: translateX(-50%);
}
.map-airport.airport-pmv span { top: auto; bottom: 24px; }
.map-airport:hover i, .map-airport:focus-visible i { background: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 27%, transparent); }
.map-airport:hover span { border-color: var(--sky); }
.map-flight {
  z-index: 2;
  width: 25px;
  height: 25px;
  border: 1px solid var(--tone);
  color: var(--tone);
  background: color-mix(in srgb, var(--map-water) 85%, var(--tone));
  transition: box-shadow .2s, background .2s;
}
.map-flight:hover { box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 20%, transparent); background: var(--surface); }
.map-flight .icon { width: 13px; height: 13px; }
.map-live::after {
  position: absolute;
  inset: -3px;
  border: 1px solid var(--coral);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  animation: ping 3.5s ease-out infinite;
}
.map-live .icon { transform: rotate(var(--rotation)); }
.map-layer {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 33px;
  padding: 0 8px;
  border: 1px solid var(--map-coast);
  border-radius: 7px;
  background: var(--map-water);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}
.map-layer .icon { width: 15px; height: 15px; }
.map-layer[aria-pressed="true"] { color: var(--sky); }
.map-layer:hover { background: var(--surface); }
.map-legend, .chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 11px; color: var(--muted); font-size: 12px; }
.map-legend span, .chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i, .chart-legend i, .ring-legend i, .chart-tooltip i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--tone); }
.map-legend .airport-key { border: 1px solid var(--sky); background: transparent; }
.map-legend .map-caption { margin-left: auto; }

.alert-total {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--amber) 36%, var(--line));
  border-radius: 8px;
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 9%, var(--recess));
  font: 660 16px var(--display);
}
.alert-list { display: grid; gap: 7px; }
.alert-row, .compact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 50%, var(--recess));
  color: var(--text);
  text-align: left;
  transition: border-color .2s, background .2s;
}
.alert-row:hover, .compact-row:hover, .rank-row:hover { border-color: var(--sky); background: var(--raised); }
.alert-symbol { width: 32px; height: 32px; }
.alert-symbol .icon { width: 17px; height: 17px; }
.alert-copy { display: grid; flex: 1; min-width: 0; gap: 3px; }
.alert-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; font-size: 12px; }
.alert-meta span { color: var(--tone); font-weight: 710; }
.alert-meta time { color: var(--muted); font-variant-numeric: tabular-nums; }
.alert-copy strong { font-size: 14px; line-height: 1.26; }
.alert-copy small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.compact-list { display: grid; gap: 8px; }
.compact-row { align-items: center; }
.compact-text { display: grid; flex: 1; gap: 2px; }
.compact-text strong { font-size: 13px; line-height: 1.3; }
.compact-text small { color: var(--muted); font-size: 12px; }
.compact-row > .icon { width: 15px; height: 15px; color: var(--muted); }
.date-tile {
  display: grid;
  place-content: center;
  width: 39px;
  height: 39px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: 660 17px/1 var(--display);
  text-align: center;
}
.date-tile small { color: var(--muted); font: 650 11px/1.2 var(--body); }

.segmented { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--recess); box-shadow: var(--inset); }
.segmented button, .filter-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
  transition: .2s ease;
  transition-property: color, border-color, background;
}
.segmented button:hover, .filter-row button:hover { color: var(--text); background: var(--surface); }
.segmented button[aria-pressed="true"], .filter-row button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--surface-top);
  color: var(--text);
  box-shadow: inset 0 1px #ffffff14, 1px 2px 4px #10172620;
}
.segmented.compact button { min-height: 29px; padding-inline: 8px; }
.chart-wrap, .plot { min-width: 0; }
.plot { position: relative; height: 196px; margin-top: 2px; }
.plot canvas { display: block; width: 100%; height: 100%; }
.chart-legend { min-height: 18px; }
.chart-tooltip {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 139px;
  max-width: 100%;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--recess);
  color: var(--text);
  box-shadow: 2px 4px 10px #0c11194d;
  font-size: 12px;
}
.chart-tooltip span { display: flex; align-items: center; gap: 6px; }
.chart-tooltip b { margin-left: auto; }
.ring-layout { display: grid; grid-template-columns: minmax(92px, 1fr) minmax(128px, 1.08fr); gap: 13px; align-items: center; min-height: 218px; }
.ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 157px;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 12px;
  border-radius: 50%;
  background: var(--ring), var(--recess);
  box-shadow: var(--inset);
}
.ring > div {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--surface);
  text-align: center;
}
.ring strong { font: 660 clamp(1.55rem, 2.45vw, 2.2rem)/1 var(--display); letter-spacing: -.04em; }
.ring span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.ring-legend { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ring-legend li { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.ring-legend strong { margin-left: auto; font-size: 14px; font-variant-numeric: tabular-nums; }
.ring-legend span { color: var(--muted); }
.rank-list { display: grid; gap: 4px; }
.rank-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(42px, 1.1fr) minmax(24px, auto);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 4px 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  transition: border-color .2s, background .2s;
}
.rank-label { display: grid; line-height: 1.18; }
.rank-label strong { font-size: 13px; }
.rank-label small { color: var(--muted); font-size: 11px; }
.rank-meter { display: block; height: 8px; overflow: hidden; border-radius: 6px; background: var(--recess); box-shadow: var(--inset); }
.rank-meter i { display: block; height: 100%; width: var(--size); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 53%, var(--recess)), var(--sky)); transition: width .52s cubic-bezier(.22, .64, .32, 1); transform-origin: left; }
.rank-value { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

.table-panel { padding-bottom: 6px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 10px; margin-bottom: 9px; }
.data-table { width: 100%; min-width: 638px; border-spacing: 0; text-align: left; font-size: 13px; }
.data-table th, .data-table td { min-height: 45px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); }
.data-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--recess);
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--raised) 85%, transparent); }
.data-table tbody th { font-weight: 650; }
.data-table tfoot { background: var(--recess); font-weight: 690; }
.data-table tfoot > tr > * { border-top: 1px solid var(--line); border-bottom: 0; }
.data-table small, .record-button small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 520; line-height: 1.25; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }
.attention-text { color: var(--amber); font-weight: 720; }
.record-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 4px 0 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}
.record-button:hover strong { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.record-icon { width: 29px; height: 29px; border-radius: 7px; }
.record-icon > .icon { width: 15px; height: 15px; }
.route-codes { display: inline-flex; gap: 5px; align-items: center; font: 680 13px var(--mono); white-space: nowrap; }
.route-codes .icon { width: 15px; height: 15px; color: var(--muted); }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--tone) 24%, transparent);
  border-radius: 24px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 9%, var(--recess));
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}
.status-pill i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--tone); }
.search-field { width: min(100%, 310px); min-height: 40px; }
.search-field input { min-height: 37px; }
.search-field .icon { width: 17px; height: 17px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 10px; }
.filter-row button { min-height: 33px; padding-inline: 9px; }
.filter-row button[aria-pressed="true"] { color: var(--sky); }
.data-table .empty-row { height: 83px; text-align: center; color: var(--muted); }
.table-progress { display: inline-flex; align-items: center; gap: 8px; }
.table-progress i { position: relative; width: 45px; height: 6px; overflow: hidden; border-radius: 7px; background: var(--recess); }
.table-progress i::after { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--sky); content: ""; }
.table-progress span { min-width: 37px; }

.weather-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--amber) 7%, var(--surface));
}
.weather-notice .icon { width: 21px; height: 21px; color: var(--amber); }
.weather-notice strong, .weather-notice span { display: block; }
.weather-notice span { color: var(--muted); font-size: 13px; }
.weather-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.weather-card { display: grid; padding: 12px; text-align: left; }
.weather-card[aria-pressed="true"] { border-color: var(--sky); box-shadow: var(--emboss), inset 0 0 0 1px color-mix(in srgb, var(--sky) 27%, transparent); }
.weather-top, .weather-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.weather-top .icon { width: 24px; height: 24px; color: var(--tone); }
.airport-code { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--recess); color: var(--sky); font: 680 12px var(--mono); }
.weather-city { margin-top: 8px; font-size: 15px; }
.weather-temp { margin-top: 5px; font: 660 2.15rem/1 var(--display); letter-spacing: -.035em; }
.weather-temp small { margin-left: 3px; color: var(--muted); font: 650 .98rem var(--body); }
.weather-condition { min-height: 34px; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.weather-bottom { justify-content: flex-start; flex-wrap: wrap; padding-top: 7px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; }
.weather-bottom span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.weather-bottom .icon { width: 13px; height: 13px; }
.weather-facts dt { display: flex; align-items: center; gap: 7px; }
.weather-facts .icon { width: 16px; height: 16px; color: var(--sky); }
.weather-forecast { scroll-margin-top: 80px; }
.report-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-top: -5px; }
.date-range { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.date-range .icon { width: 17px; height: 17px; color: var(--sky); }
.export-button { flex: none; }
.export-button .icon { color: var(--sky); }

.detail-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(435px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: -8px 0 38px #090f1b55;
}
.detail-drawer[open] { animation: drawer-in .24s ease-out both; }
.detail-drawer::backdrop { background: #0a101c9e; }
.drawer-body { min-height: 100%; padding: 24px; }
.drawer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.drawer-body .eyebrow { color: var(--coral); }
.drawer-body h2 { margin-top: 6px; font-size: 2.05rem; letter-spacing: -.033em; }
.drawer-subtitle { margin: 9px 0 15px; color: var(--muted); }
.drawer-body .alert-list { margin-top: 21px; }
.fact-list { display: grid; gap: 0; margin: 22px 0; }
.fact-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; font-weight: 670; text-align: right; }
.drawer-body .button { margin-top: 7px; }
.toast-region { position: fixed; z-index: 5; inset: auto 20px 20px auto; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-top); color: var(--text); box-shadow: var(--emboss); animation: enter .3s ease-out both; }
.toast .icon { color: var(--mint); }

.awaiting-reveal { opacity: 0; }
.revealed { animation: enter .55s calc(var(--order, 0) * 40ms) cubic-bezier(.22, .64, .32, 1) backwards; }
.revealed .ring { animation: ring-in .68s .08s cubic-bezier(.22, .64, .32, 1) backwards; }
.revealed .rank-meter i { animation: grow .63s calc(var(--order, 0) * 45ms) cubic-bezier(.22, .64, .32, 1) backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(11px); } }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes ring-in { from { opacity: 0; transform: scale(.87) rotate(-9deg); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes ping { 0%, 30% { opacity: .3; transform: scale(.91); } 75%, 100% { opacity: 0; transform: scale(1.47); } }

@media (max-width: 1230px) {
  .weather-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weather-condition { min-height: 24px; }
  .application { grid-template-columns: 193px minmax(0, 1fr); }
  .sidebar { padding-inline: 10px; }
}
@media (max-width: 1070px) {
  .wide-first { grid-template-columns: minmax(0, 1.57fr) minmax(0, 1fr); }
  .ring-layout { grid-template-columns: minmax(83px, .8fr) minmax(118px, 1fr); gap: 7px; }
  .ring { padding: 9px; }
  .stat-grid { gap: 10px; }
  .stat-card { padding-inline: 9px; }
}
@media (max-width: 940px) {
  .application { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed;
    left: 0;
    z-index: 6;
    visibility: hidden;
    width: 228px;
    padding-inline: 13px;
    transform: translateX(-101%);
    transition: transform .23s ease, visibility .23s;
  }
  .sidebar.menu-open { visibility: visible; transform: translateX(0); }
  .menu-scrim { display: block; position: fixed; z-index: 5; inset: 0; width: 100%; height: 100%; border: 0; background: #0a101ca6; }
  .mobile-menu { display: inline-flex; }
  .breadcrumb { margin-right: auto; }
  .login-screen { grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr); }
  .login-side { padding-inline: 23px; }
  .login-photo { padding-inline: 25px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 14px; --page-gap: 16px; }
  .login-screen { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .login-photo { min-height: 370px; border-radius: 18px; padding: 20px; background-position: 52% 55%; }
  .login-caption .eyebrow { margin-bottom: 8px; }
  .login-headline { font-size: clamp(2.2rem, 8.8vw, 3.65rem); }
  .login-numbers { margin-top: 14px; }
  .login-numbers strong { font-size: 20px; }
  .login-numbers > div { min-width: 62px; }
  .login-side { padding: 11px 12px 17px; grid-template-rows: 38px 1fr 25px; }
  .login-content { padding: 12px 0 26px; }
  .login-content h1 { margin-top: 15px; }
  .login-content form { margin-top: 21px; }
  .topbar { min-height: 57px; gap: 8px; }
  .topbar-controls { gap: 7px; }
  .top-date, .account { display: none; }
  .breadcrumb > span, .breadcrumb > .icon { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { padding-inline: 11px; }
  .overview-hero { min-height: 144px; padding: 17px 14px; }
  .hero-cut { align-self: flex-end; min-width: 0; padding: 6px 7px; }
  .hero-cut > strong { font-size: 19px; white-space: nowrap; }
  .hero-cut small { font-size: 10px; }
  .overview-hero h1 { margin-top: 7px; }
  .overview-hero p:not(.eyebrow) { font-size: 13px; }
  .wide-first, .balanced { grid-template-columns: minmax(0, 1fr); }
  .panel { padding-inline: 12px; }
  .ring-layout { grid-template-columns: minmax(92px, .85fr) minmax(120px, 1fr); min-height: 164px; }
  .ring { padding: 11px; }
  .map-field { height: 290px; }
  .map-field.map-compact { height: 250px; }
  .map-airport span { font-size: 10px; }
  .map-legend { column-gap: 9px; }
  .map-legend .map-caption { margin-left: 0; }
  .weather-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .weather-card { padding: 10px; }
}
@media (max-width: 450px) {
  .brand strong { font-size: 21px; }
  .login-photo { min-height: 345px; }
  .page-heading { align-items: flex-start; min-height: initial; }
  .page-heading h1 { font-size: 1.95rem; }
  .page-heading p { font-size: 14px; }
  .page-heading .heading-icon { width: 41px; height: 41px; border-radius: 11px; }
  .report-heading { flex-wrap: wrap; }
  .report-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .stat-card { min-height: 109px; }
  .hero-cut { display: none; }
  .overview-hero::before { left: 32%; opacity: .61; }
  .table-panel .panel-head { align-items: flex-start; flex-wrap: wrap; }
  .search-field { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
