* { box-sizing: border-box; }
:root {
  --ink: #0e1a22;
  --dim: #5b6b74;
  --line: rgba(14, 26, 34, .10);
  --glass: rgba(255, 255, 255, .80);
  --crit: #ff5a52;
  --high: #ffb000;
  --med: #4fd8ff;
  --low: #8fa3a8;
  --green: #39e58c;
  --accent: #0b6e8a;
  --header: 64px;
  --dock: 0px;
  --sheet-h: 48vh;
}
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: #eef1f4;
  font-size: 15px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 8px; }
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
  padding-top: env(safe-area-inset-top);
  background: rgba(9, 16, 22, .92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #e6eef0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand b { font-size: 16px; font-weight: 600; letter-spacing: .2px; display: block; }
.brand small { font-size: 11.5px; color: #8fa3a8; display: block; margin-top: 1px; }
.logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background:
    linear-gradient(#05080b, #05080b) padding-box,
    conic-gradient(from 20deg, #d8dde1, #8a9298, #eef1f3, #6f777d, #c9ced2, #8a9298, #e3e7ea, #7b8389, #d8dde1) border-box;
  border: 4px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 3px rgba(0, 0, 0, .6);
  display: grid;
  place-items: center;
  flex: none;
}
.logo span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  color: #f2f5f6;
  letter-spacing: -.5px;
}
nav { display: flex; gap: 4px; }
nav button {
  color: #a9b8bd;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 9px;
  min-height: 44px;
}
nav button.on { color: #fff; background: rgba(255, 255, 255, .10); }
.hsp { flex: 1; }
.search {
  width: 300px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #8fa3a8;
  font-size: 14px;
  position: relative;
}
.search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  outline: none;
  font-size: 16px;
}
.search input::placeholder { color: #8fa3a8; }
.search kbd {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  padding: 1px 6px;
}
.search.on { color: #fff; border-color: rgba(79, 216, 255, .6); }
.signin {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  min-height: 44px;
}
.suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 420px;
  max-width: min(420px, calc(100vw - 24px));
  max-height: 280px;
  overflow: auto;
  z-index: 40;
  padding: 8px;
  background: #fff;
  color: var(--ink);
}
.suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  min-height: 44px;
}
.suggest button.on, .suggest button:hover { background: rgba(11, 110, 138, .08); }
.suggest .hint { font-size: 12.5px; color: var(--dim); padding: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.map-root, #stage { position: absolute; top: var(--header); left: 0; right: 0; bottom: var(--dock); }
body[data-gate="signed-out"] #map-root,
body[data-gate="signed-out"] header nav,
body[data-gate="signed-out"] #search-box,
body[data-gate="signed-out"] .tabbar { display: none; }
body[data-gate="signed-out"] #stage { display: block; }
#map { position: absolute; inset: 0; }
.map-hold {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .9);
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 5;
}
.attr, .air-foot {
  position: absolute;
  z-index: 5;
  font-size: 11px;
  color: #6a757d;
  background: rgba(255, 255, 255, .7);
  padding: 1px 6px;
  border-radius: 4px;
  margin: 0;
}
.attr { right: 10px; bottom: 6px; }
.air-foot { left: 10px; bottom: 6px; max-width: 46vw; }
a[href="/disclaimer"], a[href="disclaimer.html"] { color: var(--accent); font-weight: 600; text-decoration: none; }
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 8px 24px rgba(14, 26, 34, .14), 0 0 0 1px var(--line);
  border-radius: 16px;
}
.panel { position: absolute; z-index: 6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 17px;
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(14, 26, 34, .06);
  color: var(--ink);
  border: 0;
  white-space: nowrap;
}
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip .n { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px; opacity: .6; }
.chip-gap { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.chip-bar { top: 16px; left: 440px; right: 20px; }
body[data-view="map"] .chip-bar,
body[data-view="map"] #legend { display: none; }
body[data-view="map"] .sheet { left: auto; right: 16px; width: 460px; padding: 8px 8px 18px; }
body[data-view="map"] .air-foot { left: 16px; }
.pay-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
body[data-view="map"] .air-foot { left: 432px; }
body[data-view="airspace"] .air-foot { left: 424px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 7px; }
.sev.c { background: rgba(255, 90, 82, .14); color: #c4302a; }
.sev.h { background: rgba(255, 176, 0, .18); color: #8a5d00; }
.sev.m { background: rgba(79, 216, 255, .2); color: #0b6e8a; }
.sev.l { background: rgba(143, 163, 168, .2); color: #4c5d63; }
.sev.ok { background: rgba(52, 199, 89, .14); color: #1d7a3a; }
.sev.bad { background: rgba(255, 90, 82, .14); color: #c4302a; }
.lbl { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .7px; color: var(--dim); }
.sheet { top: 16px; left: 20px; width: 400px; bottom: 24px; overflow: auto; -webkit-overflow-scrolling: touch; }
.sheet.right { left: auto; right: 20px; width: 420px; }
.sheet.route { width: 390px; bottom: auto; max-height: calc(100% - 36px); }
.field-edit { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ends { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.end-tag {
  position: absolute;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  text-shadow: -1px 0 #fff, 1px 0 #fff, 0 -1px #fff, 0 1px #fff;
}
.search.light { width: 100%; height: 40px; background: #fff; border-color: var(--line); color: var(--dim); }
.search.light input { color: var(--ink); }
.sheet-handle {
  display: none;
  width: 100%;
  height: 28px;
  border: 0;
  background: transparent;
  touch-action: none;
}
.sheet-handle:before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: #c3cbd0;
  margin: 8px auto 0;
}
.card { padding: 16px 18px; border-bottom: 1px solid var(--line); background: transparent; width: 100%; text-align: left; border-left: 0; border-right: 0; border-top: 0; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 6px 0 4px; }
.card p { font-size: 15px; color: #33434b; margin: 0; }
.sheet-head { padding: 16px 18px 10px; }
.meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 9px;
  background: rgba(11, 110, 138, .08);
  color: #0b5a71;
  border: 0;
  min-height: 32px;
}
.pl.on { background: #0e1a22; color: #fff; }
.pl .mono { font-size: 11.5px; opacity: .75; }
.raw {
  background: #05090d;
  color: #39e58c;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  padding: 14px 16px;
  border-radius: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  overflow-x: auto;
}
.seg { display: inline-flex; background: rgba(14, 26, 34, .07); border-radius: 10px; padding: 3px; }
.seg button { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; color: var(--dim); border: 0; background: transparent; min-height: 32px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.info {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #9aa8ae;
  font-size: 10px;
  font-weight: 600;
  color: #6a7a81;
  background: transparent;
  padding: 0;
}
.popover {
  margin-top: 8px;
  font-size: 13px;
  color: var(--dim);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.legend { font-size: 13px; padding: 12px 14px; width: 190px; right: 20px; bottom: 30px; }
.legend.left { left: 20px; right: auto; width: 240px; }
body[data-view="airspace"] .legend.left { left: 428px; }
.legend.left.air { width: 230px; }
.legend div { display: flex; align-items: center; gap: 9px; margin: 5px 0; }
.sw { width: 18px; height: 12px; border-radius: 3px; flex: none; }
.ops { top: 16px; right: 20px; width: 340px; max-height: calc(100% - 36px); overflow: auto; }
.field, .stack input, .stack select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stack { display: flex; flex-direction: column; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: var(--ink);
  color: #fff;
  border: 0;
}
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
#google svg { width: 18px; height: 18px; display: block; flex: none; }
.plan-soon { opacity: .45; }
.btn:disabled, .chip:disabled { opacity: .5; cursor: default; }
.btn.wide { width: 100%; }
.page { height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; padding: 36px 0 28px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.page h1 { font-size: 32px; font-weight: 600; letter-spacing: -.4px; margin: 0 0 6px; }
.dim { color: var(--dim); }
.grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(14, 26, 34, .05);
  overflow: hidden;
}
.rowline { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); min-width: 0; }
.rowline > div { min-width: 0; }
.plan-pill { white-space: nowrap; flex: none; }
.toggle {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #d5dbdf;
  border: 0;
  position: relative;
  flex: none;
}
.toggle.on { background: #34c759; }
.toggle i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.toggle.on i { left: auto; right: 2px; }
.toggle:disabled { opacity: .55; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; }
.banner {
  position: absolute;
  top: calc(var(--header) + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: rgba(255, 255, 255, .92);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(14, 26, 34, .08);
  max-width: min(640px, calc(100% - 32px));
  text-align: center;
}
.banner-retry {
  display: inline;
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  padding: 6px 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tabbar { display: none; }
.closed-note { background: rgba(255, 90, 82, .07); }
.picked { background: rgba(255, 176, 0, .08); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.terminal {
  background: #05090d;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(5, 9, 13, .25);
  color: #e6eef0;
}
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.or { text-align: center; color: var(--dim); font-size: 13px; margin: 14px 0; }
.member-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0e1a22;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.brand-mark {
  width: 44px;
  height: 30px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  background: #1a1f71;
}
.xr { display: grid; grid-template-columns: minmax(220px, 330px) 1fr; }
.xr .code { background: #05090d; color: #39e58c; font-size: 12.5px; padding: 12px 16px; line-height: 1.6; word-break: break-word; }
.xr .plain { padding: 12px 16px; font-size: 14.5px; border-top: 1px solid #16232b; }
.xr .code { border-top: 1px solid #16232b; }
.explain-head .lbl { padding: 9px 16px; }
.muted-block { opacity: .55; }
.empty { padding: 8px 0; color: var(--dim); }
.linkish { color: var(--accent); font-weight: 500; background: none; border: 0; padding: 0; min-height: 44px; }
.route-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.extra {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 176, 0, .14);
  display: flex;
  justify-content: space-between;
}
@media (max-width: 760px) {
  :root { --header: calc(56px + env(safe-area-inset-top)); --dock: calc(78px + env(safe-area-inset-bottom)); }
  header { padding: 0 12px; gap: 8px; overflow: visible; }
  header nav, .brand small, .search kbd { display: none; }
  .brand b { font-size: 14px; white-space: nowrap; }
  .logo { width: 34px; height: 34px; }
  .search { width: auto; flex: 1; height: 40px; min-width: 0; }
  .search input::placeholder { color: transparent; }
  .hsp { display: none; }
  .signin { display: none; }
  .chip-bar { display: none; }
  .legend { top: 28px; left: 8px; right: auto; bottom: auto; width: auto; z-index: 4; }
  body[data-view="map"] .legend,
  body[data-view="dashboard"] .legend,
  body[data-view="airspace"] .legend { display: none; }
  .ops.desk { display: none; }
  .attr, .air-foot { top: 6px; bottom: auto; max-width: 48%; background: rgba(255,255,255,.82); }
  .attr { right: 8px; left: auto; }
  body[data-view="map"] .attr,
  body[data-view="dashboard"] .attr,
  body[data-view="airspace"] .attr {
    top: auto;
    right: 8px;
    left: auto;
    bottom: min(calc(100% - 108px), calc(var(--sheet-h) + var(--dock) + 8px));
    max-width: none;
    white-space: nowrap;
  }
  .air-foot { left: 8px; }
  body[data-view="dashboard"] #air-foot { display: none; }
  .brief-note { margin: 4px 18px 18px; font-size: 12px; color: var(--dim); }
  .sheet, .sheet.right, .sheet.route, body[data-view="map"] .sheet {
    left: 0;
    right: 0;
    top: auto;
    bottom: var(--dock);
    width: auto;
    height: var(--sheet-h);
    max-height: none;
    border-radius: 22px 22px 0 0;
  }
  .sheet-handle { display: block; }
  .tabbar {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--dock);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    z-index: 30;
    justify-content: space-around;
    align-items: center;
  }
  .tabbar button {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: 0;
    min-width: 44px;
    min-height: 44px;
  }
  .tabbar button.on { color: var(--ink); }
  .page { padding: 18px 0 24px; }
  .page h1, .hero-grid h1 { font-size: 26px !important; }
  .grid2, .hero-grid, .cards3, .member-grid, .xr { grid-template-columns: 1fr; }
  .desk { display: none !important; }
  .search { position: relative; }
  .suggest {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: 160px;
    z-index: 40;
  }
}
@media (min-width: 761px) {
  .mob { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .raw { transition: none; }
}
.info[data-tip] { position: relative; }
.info[data-tip]:hover::after, .info[data-tip].on::after {
  content: attr(data-tip);
  position: absolute;
  z-index: 30;
  left: 0;
  top: 1.6em;
  width: 220px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
}
.seg button.sev-c { color: #c4302a; }
.seg button.sev-h { color: #8a5d00; }
.seg button.sev-m { color: #0b6e8a; }
.seg button.sev-l { color: #4c5d63; }
.route-times { display: flex; gap: 8px; margin-top: 8px; }
.route-times label { flex: 1; min-width: 0; font-size: 13px; color: var(--dim); }
.route-times input { width: 100%; min-width: 0; }
.map-tip {
  position: absolute;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
  pointer-events: none;
}
body[data-view="tv"] #sheet,
body[data-view="tv"] #chips,
body[data-view="tv"] #legend,
body[data-view="tv"] .air-foot { display: none; }
body[data-view="tv"] #map-root { left: 50%; width: auto; }
body[data-view="tv"] #stage { left: 0; right: auto; width: 50%; background: #f4f1ea; pointer-events: auto; overflow: auto; }
body[data-view="tv"] .ops-screen { pointer-events: auto; margin: 0; padding: 28px 36px 40px; background: transparent; border-radius: 0; box-shadow: none; height: auto; min-height: 100%; overflow: visible; display: flex; flex-direction: column; gap: 8px; }
body[data-view="tv"] .ops-title { font-size: 44px; line-height: 1.05; letter-spacing: -0.6px; margin: 4px 0 0; }
.journey { padding: 18px 20px 28px; }
.journey-title { font-size: 34px; line-height: 1.05; letter-spacing: -0.5px; margin: 4px 0 8px; }
.region-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 18px; }
.region-board.loading b { color: var(--dim); }
.region-stat { min-width: 0; overflow: hidden; text-align: left; background: #f6f8f9; border: 0; border-radius: 14px; padding: 12px 14px; }
.region-stat span { display: block; overflow-wrap: anywhere; }
.region-stat b { display: block; font-size: 28px; line-height: 1; }
.region-stat span { color: var(--dim); font-size: 13px; }
.region-stat.on { background: #0e1a22; color: #fff; }
.region-stat.on span { color: #c5d0d6; }
.journey-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 8px; }
.journey-row b { font-weight: 600; }
.journey-row span, .journey-row small, .journey h2 .n { color: var(--dim); font-weight: 500; display: block; }
.journey-key { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 4px 0 8px; margin: 0; list-style: none; }
#airline-country { width: 100%; max-width: none; }
#cities { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
body[data-view="tv"] { overflow: hidden; }
body[data-view="tv"] #map-root { overflow: hidden; }
.journey-key { list-style: none; padding: 0; margin: 0; }
.journey-key li { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.journey-key i, .hour-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hour-strip { margin: 12px 0; }
.hour-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.hour-legend span { display: inline-flex; align-items: center; gap: 4px; }
.hour-row { display: flex; gap: 4px; align-items: end; position: relative; }
.hour-cell { flex: 1; text-align: center; font-size: 11px; color: var(--dim); }
.hour-cell i { display: block; height: 28px; border-radius: 4px; margin-bottom: 4px; }
.hour-now { position: absolute; left: 0; top: -2px; font-size: 11px; background: #0e1a22; color: #fff; border-radius: 6px; padding: 1px 5px; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ops-open { padding: 0 8px 12px 36px; }
.ops-timeline { display: flex; gap: 3px; margin: 8px 0 12px; }
.ops-timeline i { flex: 1; height: 18px; border-radius: 4px; display: block; }
.ops-title { font-size: 32px; line-height: 1.1; margin: 8px 0; }
.ops-progress { height: 8px; border-radius: 99px; background: rgba(14,26,34,.08); overflow: hidden; margin: 12px 0; }
.ops-progress span { display: block; height: 100%; width: 0; background: #0b6e8a; }
.ops-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ops-count { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ops-controls, .ops-add { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.route-box { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; }
.route-box input { border: 0; flex: 1; min-width: 0; background: transparent; }
.clear { border: 0; background: transparent; font-size: 18px; line-height: 1; }
.brief-row { width: 100%; border: 0; background: transparent; cursor: pointer; }
.city-label, .country-label { position: absolute; font-size: 12px; font-weight: 600; color: #14284b; pointer-events: none; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.country-label { font-size: 13px; letter-spacing: 0.04em; }
#map-status { position: absolute; right: 16px; top: 58px; z-index: 6; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 13px; max-width: 320px; box-shadow: 0 6px 20px rgba(14,26,34,.12); }

/* Mobile beta banner: phones (beta-ua) and screens under 768px. Hidden on desktop. */
.beta-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  align-items: center;
  gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 2px 10px rgba(14, 26, 34, .18);
}
.beta-banner span { flex: 1; }
.beta-close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
html.beta-ua:not(.beta-off) .beta-banner { display: flex; }
html.beta-ua:not(.beta-off) body {
  position: absolute;
  top: var(--beta-h, 56px);
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  min-height: 0;
}
@media (max-width: 767px) {
  html:not(.beta-off) .beta-banner { display: flex; }
  html:not(.beta-off) body {
    position: absolute;
    top: var(--beta-h, 56px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    min-height: 0;
  }
}

/* Overview card fits a phone: smaller title and tiles, no sideways scroll. */
@media (max-width: 760px) {
  .journey { padding: 14px 14px 24px; overflow-x: hidden; }
  .journey-title { font-size: 26px; overflow-wrap: anywhere; }
  .region-stat { padding: 10px 12px; }
  .region-stat b { font-size: 22px; }
  .journey-key li { font-size: 13px; }
}
