:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.08);
  --paper: #f6f7f9;
  --card: #ffffff;
  --ok: #14804a;
  --ok-bg: #e8f8ef;
  --warn: #9a6208;
  --warn-bg: #fff4df;
  --bad: #c43838;
  --bad-bg: #ffecec;
  --shadow: 0 12px 40px rgba(28, 28, 40, 0.1);
  --sans: "Inter Tight", "Segoe UI", sans-serif;
  --mono: "Inter Tight", "Segoe UI", sans-serif;
  --serif: "Inter Tight", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.45;
}
body.home {
  background:
    radial-gradient(42% 36% at 12% 8%, rgba(125, 196, 255, 0.85), transparent 70%),
    radial-gradient(36% 32% at 88% 12%, rgba(255, 186, 122, 0.7), transparent 68%),
    radial-gradient(40% 40% at 72% 78%, rgba(126, 214, 190, 0.55), transparent 70%),
    radial-gradient(30% 28% at 20% 70%, rgba(186, 164, 255, 0.4), transparent 70%),
    linear-gradient(180deg, #d5e6f6 0%, #f6f3ec 55%, #e7eef5 100%);
  background-attachment: fixed;
}
a { color: inherit; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  padding: 0.5rem 0.8rem;
  z-index: 8;
}
.skip:focus { top: 1rem; }

.promo {
  background: linear-gradient(90deg, #102033, #1a4a55 40%, #102033 80%);
  background-size: 200% 100%;
  color: white;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.48rem 1rem;
  animation: sheen 10s linear infinite;
}
.promo a { color: white; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 5vw;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}
.mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
}
.mark svg { width: 1.05rem; height: 1.05rem; }
.nav-links { display: flex; gap: 1.35rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: #3f3f3f;
  font-size: 0.98rem;
  font-weight: 500;
}
.nav-links a[aria-current="page"], .nav-links a:hover { color: #111; }
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.45rem 0.85rem !important;
  font-weight: 700 !important;
  color: #111 !important;
}
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  text-align: center;
  padding: 3.4rem 1.25rem 0;
}
.mesh { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.7;
}
.orb.a { width: 420px; height: 420px; left: -4%; top: 6%; background: rgba(120, 190, 255, 0.55); filter: blur(30px); animation: drift 16s ease-in-out infinite; }
.orb.b { width: 360px; height: 360px; right: -2%; top: 22%; background: rgba(255, 176, 110, 0.5); filter: blur(28px); animation: drift 20s ease-in-out infinite reverse; }
.orb.c { width: 280px; height: 280px; left: 38%; top: 48%; background: rgba(170, 150, 255, 0.4); filter: blur(26px); animation: drift 13s ease-in-out infinite; }
.hero-copy { position: relative; z-index: 1; }
.hero label.skip {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.kicker.show {
  display: inline-block;
  margin: 0 0 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6d5a32;
}
h1 .line {
  display: inline-block;
  animation: rise 0.8s ease both;
}
h1 .line:nth-child(2) { animation-delay: 0.12s; }
.hero-copy { width: min(760px, 100%); margin: 0 auto; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.045em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 4.7rem); line-height: 0.98; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 0.55rem; }
.lede {
  font-size: 1.12rem;
  max-width: 40rem;
  margin: 0 auto 1.35rem;
  color: #5e5e5e;
}
.eyebrow { display: none; }
.search {
  display: flex;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 12px 30px rgba(30, 50, 80, 0.08);
  padding: 0.35rem;
  border-radius: 999px;
  max-width: 34rem;
  margin: 0 auto;
}
.search input, .search input[type="text"] {
  flex: 1;
  width: auto;
  border: 0;
  background: transparent;
  color: #111;
  color-scheme: light;
  padding: 0.72rem 1rem;
  outline: none;
  border-radius: 999px;
}
.search input::placeholder, .search input[type="text"]::placeholder { color: #8a8a8a; }
.search button, .btn {
  border: 0;
  background: #111;
  color: white;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn.secondary { background: #fff; color: #111; border: 1px solid #ddd; }
.hint { margin: 0.75rem 0 0; color: #8a8a8a; font-size: 0.88rem; }

.showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 300px minmax(220px, 1fr);
  gap: 1.1rem 1.4rem;
  align-items: center;
  width: min(1080px, 100%);
  margin: 2.6rem auto 0;
}
.rail { display: grid; gap: 0.85rem; }
.phone {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: rgba(18, 24, 34, 0.42);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 42px;
  padding: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 30px 70px rgba(16, 32, 51, 0.22);
  position: relative;
  z-index: 2;
  animation: bob 6.5s ease-in-out infinite;
}
.screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #c5ddf3 0%, #9ec3e4 55%, #d5e6c8 100%);
  position: relative;
  text-align: left;
}
.screen-map { position: absolute; inset: 0; overflow: hidden; }
.screen-map svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.route-line {
  stroke-dasharray: 8 10;
  animation: dash 2.8s linear infinite;
}
.pulse { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.pulse.late { animation-delay: 1.2s; }
.cloud {
  position: absolute;
  height: 28px;
  width: 78px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  filter: blur(0.2px);
  z-index: 0;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}
.cloud::before { width: 28px; height: 28px; left: 12px; top: -12px; }
.cloud::after { width: 36px; height: 36px; left: 32px; top: -16px; }
.cloud.one { top: 18%; animation: slide-cloud 16s linear infinite; }
.cloud.two { top: 46%; animation: slide-cloud 22s linear infinite reverse; opacity: 0.8; }
.plane { offset-path: path("M40 430 C 90 340, 140 250, 210 120"); animation: fly 9s linear infinite; }
.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  z-index: 2;
}
.sheet {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 0.7rem 0.75rem 0.55rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.sheet h3 { margin: 0 0 0.4rem; font-size: 0.95rem; }
.flight-row {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}
.flight-row strong { display: block; }
.flight-row span { color: var(--muted); }

.float-card {
  position: relative;
  z-index: 3;
  overflow: hidden;
  width: 100%;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(22px) saturate(1.75);
  -webkit-backdrop-filter: blur(22px) saturate(1.75);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 16px 40px rgba(30, 50, 80, 0.1);
  padding: 0.85rem 0.95rem;
  text-align: left;
  animation: rise 0.7s ease both;
}
.float-card::after, .beat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: gloss 8s ease-in-out infinite;
  pointer-events: none;
}
.rail .float-card:nth-child(2) { animation-delay: 0.08s; }
.rail .float-card:nth-child(3) { animation-delay: 0.16s; }
.float-card strong { display: block; font-size: 0.95rem; letter-spacing: -0.03em; }
.float-card p { margin: 0.15rem 0 0; color: #666; font-size: 0.82rem; }
.float-card .ico {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.ico.ok { background: #e7f8ee; }
.ico.warn { background: #fff1d6; }
.ico.bad { background: #ffe8e8; }
.ico.info { background: #e8f1ff; }
.band {
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.72), rgba(18, 36, 52, 0.82));
  color: #f4f7fb;
}
.band .quiet { color: #c5d0da; }
.band .panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  color: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.band .result { background: rgba(8, 16, 28, 0.35); }
.band input, .band select { background: #102033; color: #f4f7fb; border-color: #2c4458; }
.band .steps li { border-color: #2c4458; }

.modes {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: -0.4rem auto 0;
  position: relative;
  z-index: 4;
}
.modes a {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  color: #102033;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.modes a:first-child { background: rgba(16, 32, 51, 0.78); color: white; border-color: transparent; }

.ticker { overflow: hidden; margin-top: 2.4rem; border-top: 1px solid var(--line); padding: 0.9rem 0; }
.ticker-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #c5c5c5;
  font-size: 1.35rem;
}

.section { padding: 3.4rem 5vw; }
.section h2 { max-width: none; }
.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 1.2rem;
  text-align: center;
}
.section-head .btn { margin-top: 0.8rem; }
.quiet { color: var(--muted); margin: 0; }
.grid, .split, .page { width: min(1120px, 100%); margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.live-card, .panel, .airport-card, .trip {
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), var(--shadow);
}
.airport-card {
  padding: 1rem 1rem 0.9rem;
  text-decoration: none;
  color: inherit;
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  animation: rise 0.6s ease both;
}
.airport-card:hover { transform: translateY(-3px); transition: transform 0.2s ease; }
.iata { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; }
.city { color: var(--muted); }
.airport-card .pill { margin-top: auto; align-self: flex-start; }
.panel { padding: 1.3rem; text-align: left; }
.kicker { margin: 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.big-code { font-size: 2rem; font-weight: 800; margin: 0.2rem 0; letter-spacing: -0.04em; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1rem; }
.metric { background: var(--paper); border-radius: 0.9rem; padding: 0.7rem; }
.metric span { display: block; color: var(--muted); font-size: 0.75rem; }
.metric strong { font-weight: 700; }
.raw { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); }
.spread, .live-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--paper);
}
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.muted { background: var(--paper); color: var(--muted); }

label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.3rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.fields.three { grid-template-columns: 1.3fr 1fr 1fr; }
input[type="text"], input[type="time"], input[type="date"], select {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.7rem 0.75rem;
}
.check { display: flex; gap: 0.5rem; align-items: center; margin: 0.8rem 0; }
.result { margin-top: 0.4rem; padding: 1rem; border-radius: 1rem; background: var(--paper); }
.result strong { display: block; font-size: 1.8rem; font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps strong { display: block; }

.page { padding: 2.2rem 0 3rem; }
.page-wrap { padding: 0 5vw 3rem; }
.toolbar { display: flex; gap: 0.7rem; align-items: center; margin: 0.4rem 0 1rem; flex-wrap: wrap; }
.toolbar input[type="text"] { max-width: 18rem; }
.map-wrap { background: #123; border-radius: 1.4rem; overflow: hidden; position: relative; }
#sky { height: min(70vh, 680px); width: 100%; background: #123; }
.plane-pin { background: transparent; border: 0; }
.plane-pin span {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  text-shadow: 0 0 2px #000, 0 1px 2px #000;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}
.plane-pin.hot span { color: #ffe08a; font-size: 20px; }
.leaflet-control-attribution { font-size: 10px; }
.table-wrap { overflow: auto; margin-top: 0.8rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
tr.hot { background: #f4f7ff; }
.status-line { min-height: 1.4rem; color: var(--muted); }
.detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; margin-bottom: 1rem; }
.stack { display: flex; flex-direction: column; gap: 0.7rem; }
.trip { padding: 1rem 1.1rem; display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; }
.trip p { margin: 0; }
.ghost { background: transparent; border: 0; color: var(--bad); cursor: pointer; }

.site-footer {
  padding: 2rem 5vw 2.6rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}
.site-footer p { width: min(1120px, 100%); margin: 0.3rem auto; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes sheen {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, 18px, 0) scale(1.08); }
}
@keyframes dash {
  to { stroke-dashoffset: -72; }
}
@keyframes ping {
  0% { opacity: 1; }
  70% { opacity: 0.35; }
  100% { opacity: 1; }
}
@keyframes slide-cloud {
  from { left: -30%; }
  to { left: 110%; }
}
@keyframes gloss {
  0%, 55% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
.film { position: relative; }
.film-row {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.beat {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.5rem;
  padding: 1.15rem;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow);
  min-height: 220px;
}
.beat h3 { margin: 0.35rem 0; font-size: 1.25rem; }
.beat p { margin: 0 0 0.9rem; color: var(--muted); }
.beat-no {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #b08948;
}
.reveal { animation: rise 0.7s ease both; }
.film-row .reveal:nth-child(2) { animation-delay: 0.08s; }
.film-row .reveal:nth-child(3) { animation-delay: 0.16s; }
.film-row .reveal:nth-child(4) { animation-delay: 0.24s; }
.airport-card:nth-child(2) { animation-delay: 0.05s; }
.airport-card:nth-child(3) { animation-delay: 0.1s; }
.airport-card:nth-child(4) { animation-delay: 0.15s; }
.airport-card:nth-child(5) { animation-delay: 0.2s; }
.airport-card:nth-child(6) { animation-delay: 0.25s; }
.airport-card:nth-child(7) { animation-delay: 0.3s; }
.airport-card:nth-child(8) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr; max-width: 420px; }
  .phone { order: -1; width: 250px; height: 500px; }
  .hero-grid, .split, .grid, .detail, .fields.three, .film-row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 2.1rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(1.5);
    padding: 0.8rem;
    border-radius: 0.9rem;
    min-width: 11rem;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .menu:not([open]) .nav-links { display: none; }
}
.app-body { min-height: 100dvh; background: #fff; }
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}
.app-top .quiet { font-size: 0.78rem; text-align: right; }
#panel { padding: 0 1rem 5.5rem; }
.app-note { margin: 0.2rem 0 0.7rem; }
.app-body #sky { height: 46vh; min-height: 240px; border-radius: 1rem; }
.app-list { display: grid; gap: 0.55rem; margin-top: 0.8rem; }
.app-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.8rem;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: #f6f6f4;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
}
.app-form { margin-bottom: 0.8rem; }
.app-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.45rem 0.45rem calc(0.45rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e6e6e6;
}
.app-tabs button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  padding: 0.55rem 0.2rem;
  border-radius: 999px;
}
.app-tabs button[aria-current="page"] { background: #111; color: #fff; }

@media (max-width: 640px) {
  .brand { font-size: 1.05rem; }
  .nav-cta { display: none; }
  .grid, .metrics, .fields { grid-template-columns: 1fr; }
  .nav { padding-inline: 1rem; }
  .brand { white-space: nowrap; }
}
