/* Airports theme — list + operational dossier */

.workspace-airport-ops {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #0b0f14;
}

.workspace-airport-ops[hidden] {
  display: none !important;
}

/* Contain Airport Ops inside the desk — never leave Home bleeding through */
body.pro-airport-ops-active #workspaceProfessionalOverview,
body.pro-airport-ops-active #workspaceProfessionalOverview.is-mounted,
body.pro-airport-ops-active #workspaceProfessionalOverview .pro-ov--homepage,
body.pro-airport-ops-active #workspaceProfessionalOverview .hp-shell {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

body.pro-airport-ops-active .workspace-desk-scroll {
  position: relative;
  min-height: 0;
  overflow: hidden !important;
}

body.pro-airport-ops-active #workspaceAirportOps.workspace-airport-ops {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: auto;
  pointer-events: auto;
  background: #0b0f14;
}

.aops {
  color: #e8eaed;
  padding-bottom: 2rem;
}

.aops-pagehead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem .85rem;
}

.aops-pagetitle {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #fff;
}

.aops-pagesub {
  margin: .2rem 0 0;
  color: #8b949e;
  font-size: .88rem;
}

.aops-searchbar {
  display: flex;
  align-items: stretch;
  gap: .55rem;
  flex: 1 1 360px;
  max-width: 560px;
}

.aops-search {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1;
  background: #141a22;
  border: 1px solid #2a3340;
  border-radius: 12px;
  padding: .62rem .9rem;
}

.aops-search .material-symbols-rounded { color: #8b949e; font-size: 1.15rem; }

.aops-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f2f4f7;
  font-size: .92rem;
}

.aops-search-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 1.15rem;
  background: #c6d600;
  color: #111;
  font-weight: 750;
  font-size: .88rem;
  cursor: pointer;
  white-space: nowrap;
}

.aops-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1rem;
  padding: 0 1.15rem;
  align-items: start;
}

.aops-list {
  position: sticky;
  top: .5rem;
  background: #12171f;
  border: 1px solid #243040;
  border-radius: 14px;
  overflow: hidden;
  max-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
}

.aops-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid #243040;
}

.aops-list-head > div {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}

.aops-list-head h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
}

.aops-list-count {
  font-size: .75rem;
  color: #8b949e;
  background: #1a222d;
  border-radius: 999px;
  padding: .1rem .45rem;
}

.aops-sort select {
  background: #1a222d;
  border: 1px solid #2c3542;
  color: #c9d1d9;
  border-radius: 8px;
  padding: .3rem .45rem;
  font-size: .75rem;
}

.aops-list-ul {
  list-style: none;
  margin: 0;
  padding: .35rem;
  overflow: auto;
}

.aops-list-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 12px;
  padding: .7rem .75rem;
  cursor: pointer;
  margin-bottom: .25rem;
}

.aops-list-item:hover {
  background: rgba(255, 255, 255, .03);
}

.aops-list-item.is-active {
  border-color: rgba(198, 214, 0, .55);
  background: rgba(198, 214, 0, .06);
  box-shadow: 0 0 0 1px rgba(198, 214, 0, .12);
}

.aops-list-main {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.aops-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
  margin-top: .2rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.aops-flag-fallback {
  width: 22px;
  text-align: center;
  margin-top: .15rem;
  opacity: .7;
}

.aops-list-codes {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.aops-list-codes strong {
  font-size: .95rem;
  letter-spacing: .02em;
  color: #fff;
}

.aops-list-codes span {
  color: #9aa3af;
  font-size: .75rem;
}

.aops-list-codes em {
  color: #6e7781;
  font-style: normal;
  font-size: .68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aops-list-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  padding-left: 1.7rem;
}

.aops-list-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 5px;
  padding: .18rem .35rem;
  border: 1px solid transparent;
}

.aops-list-badge--warn {
  color: #f0d27a;
  background: rgba(230, 195, 92, .12);
  border-color: rgba(230, 195, 92, .28);
}

.aops-list-badge--ok {
  color: #d7e86a;
  background: rgba(198, 214, 0, .12);
  border-color: rgba(198, 214, 0, .28);
}

.aops-list-badge--muted {
  color: #7d8794;
  background: rgba(255, 255, 255, .04);
  border-color: #2c3542;
}

.aops-detail { min-width: 0; }

.aops-hero {
  position: relative;
  min-height: 268px;
  border-radius: 16px;
  overflow: hidden;
  background: #10161e var(--aops-hero) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 1.25rem 1rem;
}

.aops-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, .35) 0%, rgba(5, 9, 14, .55) 42%, rgba(5, 9, 14, .88) 100%),
    linear-gradient(90deg, rgba(5, 9, 14, .72) 0%, rgba(5, 9, 14, .25) 58%, rgba(5, 9, 14, .4) 100%);
}

.aops-hero-top,
.aops-chips,
.aops-hero-credit {
  position: relative;
  z-index: 1;
}

.aops-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.aops-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}

.aops-kicker .aops-flag {
  width: 28px;
  height: 20px;
  margin-top: 0;
}

.aops-iata { font-weight: 800; }
.aops-city { font-weight: 650; opacity: .95; }

.aops-country {
  margin: .25rem 0 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #c6d600;
}

.aops-hero h1 {
  margin: .2rem 0 .15rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #d7dde5;
}

.aops-sub {
  margin: 0;
  color: #9aa3af;
  font-size: .84rem;
}

.aops-hero-credit {
  margin: .55rem 0 0;
  font-size: .65rem;
  color: rgba(232, 234, 237, .55);
  letter-spacing: .02em;
}

.aops-mapbtn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(12, 16, 22, .55);
  color: #f2f4f7;
  border-radius: 999px;
  padding: .48rem .85rem;
  font-size: .78rem;
  cursor: pointer;
  white-space: nowrap;
}

.aops-mapbtn .material-symbols-rounded { font-size: 1rem; }

.aops-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-top: .85rem;
}

.aops-chip {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(14, 18, 24, .72);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: .7rem .8rem;
  color: inherit;
  cursor: pointer;
}

.aops-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, .06);
}

.aops-chip-title {
  display: block;
  font-size: .68rem;
  color: #9aa3af;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.aops-chip strong {
  display: block;
  margin-top: .1rem;
  font-size: .95rem;
}

.aops-chip--ok .aops-chip-icon { color: #c6d600; background: rgba(198, 214, 0, .12); }
.aops-chip--ok strong { color: #d7e86a; }
.aops-chip--warn .aops-chip-icon { color: #e6c35c; background: rgba(230, 195, 92, .12); }
.aops-chip--warn strong { color: #f0d27a; }
.aops-chip--muted .aops-chip-icon,
.aops-chip--muted strong { color: #9aa3af; }

.aops-tabs {
  display: flex;
  gap: .1rem;
  margin: .85rem 0 0;
  border-bottom: 1px solid #243040;
  overflow-x: auto;
}

.aops-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #9aa3af;
  padding: .75rem .95rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.aops-tab .material-symbols-rounded { font-size: 1.05rem; }

.aops-tab.is-active {
  color: #c6d600;
  border-bottom-color: #c6d600;
  background: rgba(198, 214, 0, .05);
}

.aops-body {
  padding: 1rem 0 0;
}

.aops-loading { margin: 0 0 .65rem; }

.aops-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .9fr);
  grid-template-areas:
    "ops cam"
    "notams cam"
    "slots acdm";
  gap: .9rem;
}

.aops-panel--ops { grid-area: ops; }
.aops-panel--cam { grid-area: cam; }
.aops-panel--notams { grid-area: notams; }
.aops-panel--slots { grid-area: slots; }
.aops-panel--acdm { grid-area: acdm; }

.aops-panel {
  background: #141a22;
  border: 1px solid #273140;
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.aops-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
}

.aops-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}

.aops-panel-head p {
  margin: .25rem 0 0;
  color: #8b949e;
  font-size: .78rem;
}

.aops-select-like {
  font-size: .75rem;
  color: #c9d1d9;
  border: 1px solid #2c3542;
  border-radius: 8px;
  padding: .35rem .55rem;
  white-space: nowrap;
}

.aops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}

.aops-metrics > div,
.aops-wx-row > div:not(.aops-wx-main) {
  background: #10151c;
  border-radius: 10px;
  padding: .65rem .7rem;
}

.aops-metrics span,
.aops-wx-row span,
.aops-dl dt {
  display: block;
  color: #8b949e;
  font-size: .7rem;
  margin-bottom: .2rem;
}

.aops-metrics strong,
.aops-wx-row strong,
.aops-dl dd {
  margin: 0;
  font-size: .88rem;
  font-weight: 650;
}

.aops-conditions,
.aops-important {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #243040;
}

.aops-conditions h4,
.aops-important h4 {
  margin: 0 0 .65rem;
  font-size: .84rem;
  color: #c9d1d9;
}

.aops-important-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.aops-btn--ghost {
  background: transparent !important;
  color: #e8eaed !important;
  border: 1px solid #2c3542;
}

.aops-wx-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: .5rem;
}

.aops-wx-main {
  background: #10151c;
  border-radius: 10px;
  padding: .65rem .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aops-wx-main strong {
  font-size: 1.25rem;
  color: #fff;
}

.aops-raw {
  margin: .7rem 0 0;
  white-space: pre-wrap;
  font-size: .72rem;
  line-height: 1.45;
  color: #aeb6c0;
  background: #0f141b;
  border-radius: 8px;
  padding: .6rem .7rem;
  overflow-wrap: anywhere;
}

.aops-cam-frame-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2c3542;
  background: #090b0f;
}

.aops-cam-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  background: #090b0f;
}

.aops-cam-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: .75rem;
}

.aops-cam-foot strong { display: block; font-size: .88rem; }
.aops-cam-foot span { color: #8b949e; font-size: .75rem; }

.aops-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  padding: .45rem .7rem;
  background: #c6d600;
  color: #111 !important;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

.aops-notam-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.aops-notam-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: start;
  padding: .55rem .2rem;
  border-bottom: 1px solid #243040;
}

.aops-notam-list li:last-child { border-bottom: 0; }

.aops-notam-tag {
  font-size: .65rem;
  font-weight: 800;
  padding: .25rem .4rem;
  border-radius: 6px;
  background: #243040;
  color: #c6d600;
}

.aops-notam-body strong { font-size: .84rem; }
.aops-notam-body p {
  margin: .15rem 0 0;
  color: #a8b0bc;
  font-size: .78rem;
}
.aops-notam-period {
  display: block;
  margin-top: .2rem;
  color: #7d8794;
  font-size: .7rem;
}

.aops-pill {
  font-size: .65rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .2rem .45rem;
  white-space: nowrap;
}

.aops-pill--live {
  background: rgba(198, 214, 0, .14);
  color: #c6d600;
}

.aops-pill--muted {
  background: #243040;
  color: #9aa3af;
}

.aops-textbtn {
  margin-top: .65rem;
  border: 0;
  background: none;
  color: #c6d600;
  font-size: .8rem;
  cursor: pointer;
  padding: 0;
}

.aops-slot-level { margin: 0 0 .45rem; font-size: .9rem; }
.aops-note { color: #8b949e; font-size: .78rem; line-height: 1.45; margin: .35rem 0 0; }
.aops-meta { color: #8b949e; font-size: .75rem; }
.aops-empty { color: #9aa3af; font-size: .86rem; margin: 0; }

.aops-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.aops-status-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  color: #c9d1d9;
}

.aops-status-list strong { margin-left: auto; color: #fff; }

.aops-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a6572;
}

.aops-dot--ok { background: #c6d600; }
.aops-dot--warn { background: #e6c35c; }
.aops-dot--muted { background: #5a6572; }

.aops-tab-stack { display: grid; gap: .9rem; }
.aops-two { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.aops-levels {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .75rem;
}

.aops-levels span {
  background: #202833;
  border: 1px solid #2c3542;
  border-radius: 8px;
  padding: .4rem .6rem;
  font-size: .78rem;
}

.aops-dl {
  margin: 0;
  display: grid;
  gap: .45rem;
}

.aops-dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .aops-overview {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "ops ops"
      "cam notams"
      "slots acdm";
  }
  .aops-wx-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aops-wx-main { grid-column: 1 / -1; }
  .aops-layout { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .aops-layout {
    grid-template-columns: 1fr;
  }
  .aops-list {
    position: static;
    max-height: none;
  }
  .aops-list-ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .25rem;
  }
}

@media (max-width: 860px) {
  .aops-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aops-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aops-overview {
    grid-template-columns: 1fr;
    grid-template-areas:
      "ops"
      "cam"
      "notams"
      "slots"
      "acdm";
  }
  .aops-two { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .aops-pagehead,
  .aops-layout { padding-left: .7rem; padding-right: .7rem; }
  .aops-hero { min-height: 240px; }
  .aops-hero-top { flex-direction: column; }
  .aops-chips { grid-template-columns: 1fr; }
  .aops-kicker { font-size: 1.25rem; }
  .aops-searchbar { max-width: none; width: 100%; }
}

/* ========== Airport Ops V2 — rail, hero, Slot Coordination Desk ========== */

.aops--v2 {
  --aops-green: #c6d600;
  --aops-green-dim: rgba(198, 214, 0, .14);
  --aops-green-border: rgba(198, 214, 0, .45);
  --aops-amber: #e6c35c;
  --aops-line: #243040;
  --aops-panel: #12171f;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.aops--v2 .aops-pagehead {
  align-items: center;
  gap: .85rem 1.1rem;
  padding: .85rem 1.1rem .55rem;
}

.aops-pagehead-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
  min-width: 0;
  flex: 1 1 auto;
}

.aops-mode {
  display: inline-flex;
  align-items: stretch;
  gap: .45rem;
}

.aops-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #2a3340;
  background: #12171f;
  color: #f2f4f7;
  border-radius: 10px;
  padding: .48rem .78rem;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.aops-mode-btn .material-symbols-rounded { font-size: 1.05rem; }

.aops-mode-btn.is-active {
  background: rgba(198, 214, 0, .12);
  border-color: var(--aops-green-border);
  color: #d7e86a;
}

.aops--v2 .aops-searchbar {
  flex: 0 1 360px;
  max-width: 420px;
}

.aops-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  flex: 1;
  min-height: 0;
  padding: 0 1rem 1.25rem;
  align-items: stretch;
  overflow: visible;
}

.aops-shell.is-picker-open {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  padding-left: 3.4rem;
}

.aops-main {
  min-width: 0;
}

/* Vertical rail — mesmo comportamento/design do Explorer */
.aops-navrail-wrap {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 24;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 3.2rem;
  max-width: none;
  min-height: min(70vh, 520px);
  padding: 1rem 0 1rem max(.55rem, env(safe-area-inset-left));
  pointer-events: auto;
  opacity: 1;
  filter: none;
}

.aops-navrail {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  width: 46px;
  padding: .42rem .28rem;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 14, 20, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
  overflow: visible;
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
  transition:
    opacity .22s ease,
    transform .28s cubic-bezier(.16, 1, .3, 1);
}

.aops-navrail-wrap:hover .aops-navrail,
.aops-navrail-wrap.is-revealed .aops-navrail,
.aops-navrail-wrap:focus-within .aops-navrail {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

@media (hover: none) {
  .aops-navrail {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Botões = Explorer Pro (círculo 28px, verde discreto, sem glow) */
.aops-navrail-btn {
  position: relative;
  appearance: none;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  color: rgba(198, 211, 226, .78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1 !important;
  box-shadow: none;
  backdrop-filter: none;
  white-space: nowrap;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.aops-navrail-btn .material-symbols-rounded {
  font-size: 1.15rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  transition: color .18s ease;
}

.aops-navrail-btn:hover:not(.is-active),
.aops-navrail-btn:focus-visible:not(.is-active) {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #e8eef4;
  box-shadow: none;
  outline: none;
}

.aops-navrail-btn.is-active {
  border-color: rgba(107, 207, 58, .28);
  background: rgba(107, 207, 58, .16);
  color: #e8eef4;
  box-shadow: none;
}

.aops-navrail-tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: .28rem .55rem;
  border-radius: 7px;
  background: rgba(16, 20, 28, .94);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #f3f6f8;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .14s ease, visibility .14s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  z-index: 5;
}

.aops-navrail-tip::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(16, 20, 28, .94);
  border-left: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.aops-navrail-btn:hover .aops-navrail-tip,
.aops-navrail-btn:focus .aops-navrail-tip,
.aops-navrail-btn:focus-visible .aops-navrail-tip {
  opacity: 1;
  visibility: visible;
}

.aops-picker {
  background: var(--aops-panel);
  border: 1px solid var(--aops-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 7.5rem);
  position: sticky;
  top: .65rem;
  animation: aops-picker-in 210ms ease;
}

@keyframes aops-picker-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

.aops-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: .85rem .9rem .45rem;
  flex-shrink: 0;
}

.aops-picker-head strong {
  font-size: .92rem;
  color: #fff;
}

.aops-picker-head-actions {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.aops-iconbtn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #2a3340;
  background: #1a222d;
  color: #c9d1d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.aops-iconbtn .material-symbols-rounded { font-size: 1.05rem; }

.aops-picker-search {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 .75rem .55rem;
  padding: .45rem .65rem;
  border-radius: 10px;
  border: 1px solid #2a3340;
  background: #0f141b;
}

.aops-picker-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f2f4f7;
  font-size: .84rem;
}

.aops-picker-search .material-symbols-rounded { color: #8b949e; font-size: 1.05rem; }

.aops-picker-body {
  overflow: auto;
  padding: 0 .45rem .65rem;
  min-height: 0;
}

.aops-picker-section h3 {
  margin: .45rem .55rem .25rem;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8b949e;
  font-weight: 700;
}

.aops-picker-body .aops-list-ul > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem;
  align-items: start;
}

.aops-fav {
  border: 0;
  background: transparent;
  color: #6e7781;
  cursor: pointer;
  padding: .45rem .2rem;
  margin-top: .35rem;
}

.aops-fav.is-on { color: var(--aops-green); }
.aops-fav .material-symbols-rounded { font-size: 1.05rem; }

.aops-picker-mini {
  list-style: none;
  margin: 0;
  padding: .25rem;
  display: grid;
  gap: .35rem;
}

.aops-picker-mini-btn {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 10px;
  padding: .65rem .7rem;
  cursor: pointer;
  display: grid;
  gap: .15rem;
}

.aops-picker-mini-btn:hover {
  background: rgba(255, 255, 255, .03);
  border-color: #2a3340;
}

.aops-picker-mini-btn strong { color: #fff; font-size: .88rem; }
.aops-picker-mini-btn span { color: #9aa3af; font-size: .75rem; }
.aops-picker-mini-btn em { font-style: normal; font-size: .72rem; }

.aops-picker-day {
  padding: .45rem .55rem .2rem;
  display: grid;
  gap: .3rem;
}

.aops-picker-day > strong {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8b949e;
}

.aops-picker-hist {
  display: grid;
  gap: .15rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid #243040;
  background: #0f141b;
}

.aops-picker-hist strong { font-size: .84rem; color: #fff; }
.aops-picker-hist span,
.aops-picker-hist em { font-size: .74rem; color: #8b949e; font-style: normal; }

.aops-picker-analytics { padding: .55rem .65rem; }

.aops-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: .75rem;
  align-items: stretch;
}

.aops--v2 .aops-hero {
  min-height: 168px;
  border-radius: 14px;
  background-color: #10161e;
  background-image: var(--aops-hero);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.aops-detail:not(.is-control) .aops-hero {
  min-height: 168px;
}

.aops-hero.is-compact {
  min-height: 112px;
}

.aops-chips--below {
  margin: .65rem 0 0;
}

.aops-sub--name {
  margin-top: .35rem;
  color: #d7dde5;
  font-size: .9rem;
}

.aops-wxcard {
  background: #12171f;
  border: 1px solid var(--aops-line);
  border-radius: 14px;
  padding: .85rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 0;
}

.aops-wxcard-main {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: .1rem .45rem;
  align-items: start;
}

.aops-wxcard-main strong {
  font-size: 1.55rem;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
}

.aops-wxcard-main > span:not(.material-symbols-rounded) {
  grid-column: 1;
  color: #9aa3af;
  font-size: .82rem;
  font-weight: 600;
}

.aops-wxcard-ico {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 1.8rem;
  color: #c9d1d9;
  align-self: center;
}

.aops-wxcard-meta {
  display: grid;
  gap: .35rem;
}

.aops-wxcard-meta div {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .78rem;
}

.aops-wxcard-meta span { color: #8b949e; }
.aops-wxcard-meta strong { color: #e8eaed; font-weight: 650; }

.aops-wxcard-obs {
  margin: auto 0 0;
  font-size: .68rem;
  color: #6e7781;
}

.aops--v2 .aops-tabs {
  margin-top: .7rem;
  gap: 0;
}

.aops--v2 .aops-tab {
  background: transparent;
  border-radius: 0;
  padding: .72rem .85rem;
}

.aops--v2 .aops-tab.is-active {
  background: transparent;
  color: var(--aops-green);
  border-bottom-color: var(--aops-green);
}

.aops-flash {
  margin: 0 0 .65rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  border: 1px solid rgba(198, 214, 0, .35);
  background: rgba(198, 214, 0, .08);
  color: #d7e86a;
  font-size: .82rem;
}

/* Slot Coordination Desk */
.scd {
  border: 1px solid var(--aops-line);
  border-radius: 14px;
  background: #0e1319;
  padding: .85rem .9rem 1rem;
}

.scd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.scd-head-title {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}

.scd-head-ico {
  color: var(--aops-green);
  font-size: 1.35rem;
  margin-top: .1rem;
}

.scd-head-title h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.scd-head-title p {
  margin: .15rem 0 0;
  color: #8b949e;
  font-size: .8rem;
}

.scd-head-meta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.scd-org {
  font-size: .8rem;
  color: #c9d1d9;
  font-weight: 650;
}

.aops-env {
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .28rem .55rem;
  border: 1px solid #2a3340;
  color: #9aa3af;
}

.aops-env--ok {
  color: #d7e86a;
  border-color: rgba(198, 214, 0, .4);
  background: rgba(198, 214, 0, .1);
}

.aops-env--info {
  color: #9ecbff;
  border-color: rgba(110, 168, 254, .35);
  background: rgba(110, 168, 254, .1);
}

.aops-env--amber {
  color: #f0d27a;
  border-color: rgba(230, 195, 92, .4);
  background: rgba(230, 195, 92, .1);
}

.scd-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, 1.05fr);
  gap: 12px;
  align-items: start;
}

.scd-list,
.scd-center,
.scd-right {
  min-width: 0;
}

.scd-list {
  background: #12171f;
  border: 1px solid var(--aops-line);
  border-radius: 12px;
  padding: .65rem;
}

.scd-list-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin-bottom: .55rem;
}

.scd-toggle {
  border: 1px solid #2a3340;
  background: #0f141b;
  color: #c9d1d9;
  border-radius: 9px;
  padding: .45rem .5rem;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.scd-toggle.is-active {
  background: rgba(198, 214, 0, .12);
  border-color: var(--aops-green-border);
  color: #d7e86a;
}

.scd-filter select {
  width: 100%;
  background: #0f141b;
  border: 1px solid #2a3340;
  color: #c9d1d9;
  border-radius: 8px;
  padding: .4rem .5rem;
  font-size: .78rem;
  margin-bottom: .55rem;
}

.scd-demo-note {
  margin: 0 0 .55rem;
  font-size: .68rem;
  color: #8b949e;
  line-height: 1.35;
}

.scd-rot-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
  max-height: min(58vh, 640px);
  overflow: auto;
}

.scd-rot {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .55rem;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 10px;
  padding: .65rem .6rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.scd-rot:hover { background: rgba(255, 255, 255, .03); }

.scd-rot.is-active {
  background: rgba(198, 214, 0, .07);
  border-color: var(--aops-green-border);
}

.scd-rot-ico {
  color: #8b949e;
  font-size: 1.05rem;
  margin-top: .1rem;
}

.scd-rot.is-active .scd-rot-ico { color: var(--aops-green); }

.scd-rot-body {
  display: grid;
  gap: .12rem;
  min-width: 0;
}

.scd-rot-body strong { color: #fff; font-size: .88rem; }
.scd-rot-body span { color: #9aa3af; font-size: .74rem; }
.scd-rot-body em { color: #6e7781; font-style: normal; font-size: .7rem; }

.scd-rot-status {
  grid-column: 2;
  font-size: .7rem;
  font-weight: 700;
}

.scd-rot-status--amber,
.scd-rot-status--warn { color: #f0d27a; }
.scd-rot-status--ok { color: #d7e86a; }
.scd-rot-status--info { color: #9ecbff; }
.scd-rot-status--muted { color: #8b949e; }

.scd-center,
.scd-correspondence,
.scd-impact {
  background: #12171f;
  border: 1px solid var(--aops-line);
  border-radius: 12px;
  padding: .8rem .85rem;
}

.scd-right {
  display: grid;
  gap: 12px;
}

.scd-center-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.scd-center-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.scd-center-head p {
  margin: .2rem 0 0;
  color: #9aa3af;
  font-size: .84rem;
}

.scd-badge {
  font-size: .72rem;
  font-weight: 750;
  border-radius: 999px;
  padding: .32rem .6rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.scd-badge--amber {
  color: #f0d27a;
  background: rgba(230, 195, 92, .12);
  border-color: rgba(230, 195, 92, .35);
}

.scd-badge--ok {
  color: #d7e86a;
  background: rgba(198, 214, 0, .12);
  border-color: rgba(198, 214, 0, .35);
}

.scd-badge--info {
  color: #9ecbff;
  background: rgba(110, 168, 254, .12);
  border-color: rgba(110, 168, 254, .3);
}

.scd-badge--muted {
  color: #9aa3af;
  background: rgba(255, 255, 255, .04);
  border-color: #2a3340;
}

.scd-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .85rem;
}

.scd-fields label {
  display: grid;
  gap: .28rem;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8b949e;
  font-weight: 700;
}

.scd-fields select,
.scd-fields input {
  border: 1px solid #2a3340;
  background: #0f141b;
  color: #e8eaed;
  border-radius: 8px;
  padding: .45rem .55rem;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.scd-fields input[readonly] {
  color: #9aa3af;
  cursor: default;
}

.scd-timing h4,
.scd-coord-status h4,
.scd-correspondence h4,
.scd-impact h4 {
  margin: 0 0 .55rem;
  font-size: .82rem;
  color: #fff;
}

.scd-table-wrap {
  overflow-x: auto;
  border: 1px solid #243040;
  border-radius: 10px;
}

.scd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .78rem;
}

.scd-table th,
.scd-table td {
  padding: .55rem .6rem;
  border-bottom: 1px solid #1e2630;
  text-align: left;
  vertical-align: top;
}

.scd-table th {
  color: #8b949e;
  font-weight: 650;
  background: #0f141b;
}

.scd-table tr:last-child td { border-bottom: 0; }

.scd-table td strong {
  display: block;
  color: #fff;
}

.scd-muted { color: #8b949e; font-size: .72rem; }

.scd-table td.is-proposed { color: #f0d27a; font-weight: 650; }

.scd-delta {
  display: inline-block;
  padding: .15rem .4rem;
  border-radius: 6px;
  background: rgba(230, 195, 92, .14);
  border: 1px solid rgba(230, 195, 92, .3);
  color: #f0d27a;
  font-weight: 700;
  font-size: .7rem;
  white-space: nowrap;
}

.scd-coord-status { margin-top: .85rem; }

.scd-airport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}

.scd-airport-card {
  border: 1px solid #2a3340;
  border-radius: 10px;
  padding: .65rem .7rem;
  background: #0f141b;
}

.scd-airport-card header {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .35rem;
}

.scd-airport-card header .material-symbols-rounded {
  font-size: 1rem;
  color: #8b949e;
}

.scd-airport-card strong { color: #fff; font-size: .86rem; }
.scd-airport-card em { font-style: normal; color: #8b949e; font-weight: 500; }
.scd-airport-state { margin: 0; font-size: .84rem; font-weight: 700; color: #e8eaed; }
.scd-airport-card--alternative .scd-airport-state { color: #f0d27a; }
.scd-airport-card--confirmed .scd-airport-state { color: #d7e86a; }
.scd-airport-card--pending .scd-airport-state,
.scd-airport-card--sent .scd-airport-state { color: #9ecbff; }

.scd-ssim {
  margin-top: .85rem;
  border: 1px solid #243040;
  border-radius: 12px;
  overflow: hidden;
}

.scd-ssim-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  border: 0;
  background: #0f141b;
  color: inherit;
  padding: .7rem .8rem;
  cursor: pointer;
}

.scd-ssim-head strong {
  display: block;
  color: #fff;
  font-size: .84rem;
}

.scd-ssim-head em {
  display: block;
  margin-top: .15rem;
  font-style: normal;
  color: #8b949e;
  font-size: .7rem;
}

.scd-ssim-body { padding: .75rem .8rem .85rem; }

.scd-ssim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: .65rem;
}

.scd-editor {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  border: 1px solid #1e2a3a;
  border-radius: 10px;
  background: #071018;
  color: #d7e8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .74rem;
  line-height: 1.45;
  padding: .7rem .75rem;
}

.scd-ssim-meta {
  margin: 0;
  display: grid;
  gap: .45rem;
  align-content: start;
}

.scd-ssim-meta div {
  display: grid;
  gap: .1rem;
}

.scd-ssim-meta dt {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6e7781;
}

.scd-ssim-meta dd {
  margin: 0;
  font-size: .78rem;
  color: #c9d1d9;
}

.scd-ssim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .7rem;
}

.scd-btn {
  border: 1px solid #2a3340;
  background: #1a222d;
  color: #e8eaed;
  border-radius: 9px;
  padding: .48rem .8rem;
  font-size: .8rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.scd-btn--primary {
  background: var(--aops-green);
  border-color: var(--aops-green);
  color: #111;
}

.scd-btn--icon {
  padding: .4rem .5rem;
  min-width: 36px;
}

.scd-btn--icon .material-symbols-rounded { font-size: 1.1rem; }

.scd-validate-out {
  margin-top: .65rem;
  white-space: pre-wrap;
  font-size: .76rem;
  line-height: 1.4;
  padding: .55rem .65rem;
  border-radius: 8px;
  border: 1px solid #2a3340;
  background: #0f141b;
  color: #c9d1d9;
}

.scd-validate-out.is-ok {
  border-color: rgba(198, 214, 0, .35);
  color: #d7e86a;
}

.scd-validate-out.is-bad {
  border-color: rgba(230, 120, 100, .4);
  color: #f0b0a0;
}

.scd-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .35rem;
  display: grid;
  gap: 0;
}

.scd-tl {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: .65rem;
  padding: 0 0 .85rem .15rem;
}

.scd-tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: #2a3340;
}

.scd-tl:last-child::before { display: none; }

.scd-tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #5a6572;
  background: #0f141b;
  margin-top: .15rem;
  z-index: 1;
}

.scd-tl--ok .scd-tl-dot {
  border-color: var(--aops-green);
  background: rgba(198, 214, 0, .25);
}

.scd-tl--amber .scd-tl-dot {
  border-color: var(--aops-amber);
  background: rgba(230, 195, 92, .2);
}

.scd-tl--pending .scd-tl-dot {
  border-color: #5a6572;
  background: transparent;
}

.scd-tl strong {
  display: block;
  color: #fff;
  font-size: .84rem;
}

.scd-tl time {
  display: block;
  color: #8b949e;
  font-size: .7rem;
  margin-top: .1rem;
}

.scd-tl p {
  margin: .25rem 0 0;
  color: #9aa3af;
  font-size: .76rem;
  line-height: 1.4;
}

.scd-warn {
  display: flex;
  gap: .55rem;
  margin-top: .55rem;
  padding: .7rem .75rem;
  border-radius: 10px;
  border: 1px solid rgba(230, 195, 92, .35);
  background: rgba(230, 195, 92, .08);
}

.scd-warn .material-symbols-rounded {
  color: #f0d27a;
  font-size: 1.15rem;
}

.scd-warn strong {
  display: block;
  color: #f0d27a;
  font-size: .82rem;
}

.scd-warn p {
  margin: .2rem 0 0;
  color: #d7c9a0;
  font-size: .74rem;
  line-height: 1.4;
}

.scd-feasibility {
  margin-top: .65rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  border: 1px solid rgba(198, 214, 0, .28);
  background: rgba(198, 214, 0, .06);
}

.scd-feasibility strong {
  display: block;
  color: #d7e86a;
  font-size: .8rem;
}

.scd-feasibility p {
  margin: .2rem 0 0;
  color: #b7c08a;
  font-size: .76rem;
}

.scd-foot-note {
  margin: .75rem 0 0;
  color: #6e7781;
  font-size: .7rem;
  line-height: 1.4;
}

.scd-empty {
  color: #8b949e;
  font-size: .84rem;
  margin: .5rem 0;
}

@media (prefers-reduced-motion: reduce) {
  .aops-picker { animation: none; }
  .aops-navrail {
    transition: opacity .15s ease;
  }
  .aops-mode-btn,
  .aops-navrail-btn,
  .aops-navrail-tip,
  .scd-toggle,
  .scd-rot,
  .scd-btn { transition: none; }
}

@media (max-width: 1280px) {
  .scd-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .scd-right { grid-column: 1 / -1; }
  .scd-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .aops-shell,
  .aops-shell.is-picker-open {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 1rem;
  }
  .aops-picker {
    position: fixed;
    left: 4.2rem;
    top: 5.5rem;
    bottom: 1rem;
    width: min(320px, calc(100vw - 5rem));
    z-index: 40;
    max-height: none;
  }
  .aops-hero-row {
    grid-template-columns: 1fr;
  }
  .aops-wxcard {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .aops-wxcard-main { flex: 1 1 140px; }
  .aops-wxcard-meta {
    flex: 1 1 180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .scd-grid { grid-template-columns: 1fr; }
  .scd-rot-ul { max-height: 280px; }
  .scd-ssim-grid { grid-template-columns: 1fr; }
  .scd-airport-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .aops-pagehead-left { width: 100%; }
  .aops-mode { width: 100%; }
  .aops-mode-btn { flex: 1; justify-content: center; }
  .aops--v2 .aops-searchbar { flex-basis: 100%; max-width: none; }
  .aops-shell { padding-right: .55rem; }
  .aops-main { padding-right: .35rem; }
  .scd-fields { grid-template-columns: 1fr; }
  .aops-navrail-wrap {
    left: 0;
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    transform: none;
    width: auto;
    min-height: 0;
    padding: .35rem max(.4rem, env(safe-area-inset-left));
  }
  .aops-navrail {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    max-width: min(92vw, 420px);
    padding: .28rem .32rem;
  }
  .aops-navrail-tip {
    left: 50%;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
  }
  .aops-navrail-tip::before {
    left: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%) rotate(45deg);
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-right: 1px solid rgba(255, 255, 255, .1);
  }
}
