/* Global Flight Engine — design tokens. Navy + near-white, one warm signal accent, departure-board mono. */
:root {
  --navy-950: #070E22; --navy-900: #0B1530; --navy-800: #13214A; --navy-700: #1D2F63; --navy-500: #4A5B8C;
  --ink: #141B2E; --ink-2: #3A4460; --muted: #6B7590; --line: #E3E7EF; --line-2: #EEF1F6;
  --bg: #F5F7FB; --card: #FFFFFF; --accent: #FF5B2E; --accent-ink: #fff; --accent-soft: #FFEDE6;
  --ok: #10A36B; --ok-soft: #E3F6EE; --warn: #E3A008; --warn-soft: #FFF6DB; --bad: #E0393E; --bad-soft: #FDE8E8; --info: #2F6FED; --info-soft: #E7EEFD;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(11,21,48,.06), 0 8px 24px rgba(11,21,48,.06);
  --shadow-lg: 0 20px 60px rgba(7,14,34,.18);
  --font: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif; --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 64px; --bottom-h: 0px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; font-weight: 700; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 860px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

/* ---------- header / nav ---------- */
.modebar { background: #FFE9A8; color: #6B4A00; font-size: 12.5px; font-weight: 600; text-align: center; padding: 6px 12px; position: relative; z-index: 60; }
.modebar b { letter-spacing: .06em; }
.modebar.live { background: #0E7A4F; color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,21,48,.96); backdrop-filter: saturate(140%) blur(10px); color: #fff; }
.header .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 16px; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--accent), #FF9A3D); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 800; color: #fff; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 10px; color: rgba(255,255,255,.78); font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.header .account { display: flex; gap: 8px; align-items: center; }
.pill-pro { background: linear-gradient(90deg, #FF5B2E, #FF9A3D); color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 99px; letter-spacing: .08em; }
@media (max-width: 860px) { .nav { display: none; } .header .wrap { gap: 12px; } }

.bottomnav { display: none; }
@media (max-width: 860px) {
  :root { --bottom-h: 66px; }
  body { padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); }
  .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(10px); }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--bottom-h); font-size: 11px; font-weight: 600; color: var(--muted); }
  .bottomnav a.on { color: var(--navy-900); }
  .bottomnav a.on svg { color: var(--accent); }
  .bottomnav svg { width: 22px; height: 22px; }
}

/* ---------- buttons / inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 14.5px; background: var(--navy-900); color: #fff; transition: transform .08s ease, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #F24D20; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--bad); }
.link { color: var(--info); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.input, .select, .textarea { height: 46px; border-radius: 11px; border: 1px solid var(--line); background: #fff; padding: 0 13px; outline: none; transition: border .15s, box-shadow .15s; width: 100%; }
.textarea { height: auto; padding: 12px 13px; min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(74,91,140,.15); }
.input.err { border-color: var(--bad); }
.hint { font-size: 12px; color: var(--muted); }
.err-text { font-size: 12.5px; color: var(--bad); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-900); }

/* ---------- cards / chips ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.card-pad { padding: 20px; }
@media (max-width: 560px) { .card-pad { padding: 16px; } }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip-ok { background: var(--ok-soft); color: #08744C; }
.chip-warn { background: var(--warn-soft); color: #7A5300; }
.chip-bad { background: var(--bad-soft); color: #A61E22; }
.chip-info { background: var(--info-soft); color: #1F4FB8; }
.chip-accent { background: var(--accent-soft); color: #C23A12; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(16,163,107,.18); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(227,160,8,.2); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(224,57,62,.18); }
.dot.live { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.iata { font-family: var(--mono); font-weight: 700; letter-spacing: .04em; }
.tag-airport { font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--navy-900); color: #fff; letter-spacing: .06em; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255,91,46,.22), transparent 60%), radial-gradient(900px 500px at 0% 120%, rgba(47,111,237,.25), transparent 60%), var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.72); max-width: 620px; margin-top: 16px; }
.hero-board { position: absolute; right: 16px; top: 30px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.4); text-align: right; line-height: 1.9; pointer-events: none; }
@media (max-width: 860px) { .hero-board { display: none; } .hero .wrap { padding-top: 28px; padding-bottom: 36px; } }
.routelines { position: absolute; inset: 0; opacity: .5; pointer-events: none; }

/* ---------- search form ---------- */
.sform { margin-top: 28px; background: #fff; color: var(--ink); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg); }
.sform-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.seg { display: inline-flex; background: var(--line-2); border-radius: 11px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sgrid { display: grid; grid-template-columns: 1.25fr 1.25fr .9fr .9fr auto; gap: 8px; align-items: stretch; }
.sgrid.oneway { grid-template-columns: 1.3fr 1.3fr 1fr auto; }
.sgrid.multi { grid-template-columns: 1.3fr 1.3fr 1fr 40px; }
.sbox { position: relative; border: 1px solid var(--line); border-radius: 13px; padding: 8px 12px 9px; background: #fff; min-height: 60px; display: flex; flex-direction: column; justify-content: center; }
.sbox:focus-within { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(74,91,140,.14); }
.sbox .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sbox input { border: 0; outline: 0; padding: 0; font-weight: 700; font-size: 16px; background: transparent; width: 100%; min-width: 0; }
.sbox input[type=date] { font-size: 15px; }
.sbox .val-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.sbtn { min-width: 132px; height: auto; border-radius: 13px; font-size: 16px; }
.ac { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max(100%, 340px); max-height: 360px; overflow: auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; }
.ac button { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 10px; align-items: center; }
.ac button:hover, .ac button.on { background: var(--line-2); }
.ac .sub { font-size: 12px; color: var(--muted); }
.ac .city { font-weight: 700; }
.ac .ind { padding-left: 26px; }
.pax-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 320px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 14px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.stepper button:disabled { opacity: .35; }
@media (max-width: 960px) {
  .sgrid, .sgrid.oneway { grid-template-columns: 1fr 1fr; }
  .sgrid .sbtn { grid-column: 1 / -1; min-height: 54px; }
  .sgrid.multi { grid-template-columns: 1fr 1fr; }
  .swap { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 560px) {
  .sform { border-radius: 16px; padding: 10px; }
  .sgrid, .sgrid.oneway, .sgrid.multi { grid-template-columns: 1fr; }
  .swap { left: auto; right: 14px; top: auto; bottom: -15px; transform: rotate(90deg); }
  .ac { width: 100%; }
  .pax-pop { width: 100%; left: 0; }
}
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.trustbar div { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .trustbar { grid-template-columns: 1fr 1fr; } }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: 272px 1fr; gap: 20px; padding-top: 20px; padding-bottom: 40px; }
@media (max-width: 960px) { .results { grid-template-columns: 1fr; } .filters-desktop { display: none; } }
.sumbar { background: var(--navy-900); color: #fff; }
.sumbar .wrap { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.sorttabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.sorttabs button { border: 0; background: #fff; padding: 11px 12px; text-align: left; border-right: 1px solid var(--line-2); }
.sorttabs button:last-child { border-right: 0; }
.sorttabs button.on { background: var(--navy-900); color: #fff; }
.sorttabs .t { font-size: 12px; font-weight: 700; opacity: .75; }
.sorttabs .v { font-weight: 800; font-size: 15.5px; }
@media (max-width: 560px) { .sorttabs button { padding: 9px 8px; } .sorttabs .v { font-size: 13.5px; } .sorttabs .t { font-size: 11px; } }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h4 { font-size: 13px; margin-bottom: 10px; }
.range { width: 100%; accent-color: var(--navy-900); }
.fcard { display: grid; grid-template-columns: 1fr 190px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.fcard:hover { box-shadow: 0 2px 4px rgba(11,21,48,.06), 0 14px 34px rgba(11,21,48,.1); }
.fcard .main { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fcard .side { border-left: 1px dashed var(--line); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; text-align: right; background: linear-gradient(180deg, #fff, #FAFBFD); }
.price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.slice { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.alogo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--line-2); overflow: hidden; font-family: var(--mono); font-weight: 800; font-size: 12px; color: var(--navy-800); flex: none; }
.alogo img { width: 30px; height: 30px; object-fit: contain; }
.timeline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.timeline .t { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.1; }
.timeline .c { font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-weight: 700; }
.plus { font-size: 11px; color: var(--accent); font-weight: 800; vertical-align: super; margin-left: 2px; }
.path { position: relative; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.path .ln { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-500) 0 6px, transparent 6px 10px); opacity: .45; }
.path .ln.direct { background: var(--navy-700); opacity: .9; }
.path .stopdot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.path .dur { position: absolute; top: -4px; font-size: 11.5px; color: var(--muted); font-weight: 600; background: #fff; padding: 0 6px; }
.path .stops { position: absolute; bottom: -4px; font-size: 11.5px; font-weight: 700; background: #fff; padding: 0 6px; }
.path .stops.direct { color: var(--ok); }
.path .stops.conn { color: var(--accent); }
.dots { display: flex; gap: 22px; position: relative; z-index: 1; }
.bags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 8px; background: var(--line-2); color: var(--ink-2); }
.bag.no { background: transparent; color: #A0A7BA; text-decoration: line-through; }
.bag.unk { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.bag svg { width: 13px; height: 13px; }
@media (max-width: 680px) {
  .fcard { grid-template-columns: 1fr; }
  .fcard .side { border-left: 0; border-top: 1px dashed var(--line); flex-direction: row; align-items: center; text-align: left; padding: 12px 16px; }
  .fcard .main { padding: 14px 14px 12px; }
  .timeline .t { font-size: 18px; }
  .slice { grid-template-columns: 34px 1fr; gap: 10px; }
  .alogo { width: 34px; height: 34px; border-radius: 9px; }
  .price { font-size: 22px; }
}
.skel { background: linear-gradient(90deg, #ECEFF5 0%, #F6F8FB 50%, #ECEFF5 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.searching { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.progress { height: 3px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); width: 40%; animation: indet 1.4s infinite ease-in-out; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.sheet-bg { position: fixed; inset: 0; background: rgba(7,14,34,.45); z-index: 80; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; background: #fff; z-index: 81; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.modal { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); max-height: 88vh; overflow: auto; background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); }

/* ---------- checkout ---------- */
.steps { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.steps .st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.steps .st .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); font-size: 12px; }
.steps .st.on { color: var(--ink); } .steps .st.on .n { background: var(--navy-900); color: #fff; }
.steps .st.done { color: var(--ok); } .steps .st.done .n { background: var(--ok); color: #fff; }
.steps .sep { width: 24px; height: 2px; background: var(--line); flex: none; }
.co { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; padding-top: 20px; padding-bottom: 40px; }
.co .aside { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 960px) { .co { grid-template-columns: 1fr; } .co .aside { position: static; order: -1; } }
.pricebox .ln { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.pricebox .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 18px; }
.next-steps { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); flex-wrap: wrap; }
.next-steps span.arrow { color: var(--muted); }
.notice { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; }
.notice.warn { background: var(--warn-soft); color: #6B4A00; }
.notice.info { background: var(--info-soft); color: #1C3F8F; }
.notice.bad { background: var(--bad-soft); color: #8D1A1E; }
.notice.ok { background: var(--ok-soft); color: #075E3D; }
.seatmap { overflow-x: auto; }
.seatmap .cabin { display: inline-flex; flex-direction: column; gap: 5px; padding: 18px 16px; background: var(--line-2); border-radius: 40px 40px 14px 14px; }
.seatmap .srow { display: flex; align-items: center; gap: 5px; }
.seatmap .rn { width: 20px; text-align: center; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.seatmap .aisle { width: 16px; }
.seat { width: 30px; height: 32px; border-radius: 7px 7px 5px 5px; border: 0; font-size: 9.5px; font-weight: 700; background: #fff; color: var(--ink-2); box-shadow: inset 0 -3px 0 rgba(11,21,48,.08); }
.seat.na { background: #D9DEE8; color: transparent; cursor: not-allowed; box-shadow: none; }
.seat.sel { background: var(--accent); color: #fff; }
.seat.exit { outline: 2px solid var(--ok); }

/* ---------- booking / trips ---------- */
.status-hero { background: var(--navy-900); color: #fff; border-radius: 20px; padding: 22px; position: relative; overflow: hidden; }
.status-hero .ref { font-family: var(--mono); font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: .08em; }
.copy { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 9px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pipeline .p { border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.07); font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.6); display: flex; gap: 8px; align-items: center; }
.pipeline .p.done { background: rgba(16,163,107,.22); color: #B6F2D6; }
.pipeline .p.now { background: rgba(255,91,46,.22); color: #FFD3C4; }
.pipeline .p.fail { background: rgba(224,57,62,.25); color: #FFC9CB; }
.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.act { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13.5px; text-align: left; }
.act svg { width: 20px; height: 20px; color: var(--navy-700); }
.act:hover { border-color: var(--navy-500); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--muted); border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs .on { color: var(--ink); border-bottom-color: var(--accent); }
.tripcard { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; }
.bigroute { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-weight: 800; font-size: 26px; letter-spacing: .04em; }
.bigroute .arr { color: var(--accent); font-size: 18px; }
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl .it { position: relative; padding: 0 0 14px; font-size: 13.5px; }
.tl .it::before { content: ''; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-500); }
.tl .it.ok::before { border-color: var(--ok); background: var(--ok); }

/* ---------- marketing ---------- */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.kicker { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.feature { padding: 22px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-900); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.routecard { padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.hl { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.plan .pp { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.plan li { display: flex; gap: 8px; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.footer { background: var(--navy-950); color: rgba(255,255,255,.62); padding: 40px 0 28px; font-size: 13.5px; margin-top: 40px; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }

/* ---------- admin ---------- */
.admin { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - var(--nav-h)); }
.admin-side { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 18px 12px; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: auto; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; }
.admin-side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side a.on { background: rgba(255,91,46,.16); color: #fff; }
.admin-side .grp { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 14px 10px 6px; font-weight: 800; }
.admin-main { padding: 22px; min-width: 0; }
@media (max-width: 960px) { .admin { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 2px; } .admin-side .grp { display: none; } .admin-main { padding: 16px; } }
.kpi { padding: 16px 18px; }
.kpi .k { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12px; margin-top: 2px; }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t tr:hover td { background: #FAFBFD; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--ok); font-weight: 700; } .neg { color: var(--bad); font-weight: 700; }
.bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--navy-700); border-radius: 4px; }
pre.code { background: var(--navy-950); color: #C9D4F2; padding: 14px; border-radius: 12px; font-size: 12px; overflow: auto; max-height: 360px; }
.arch { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.arch .node { border-radius: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; position: relative; }
.arch .node b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.arch .node.hot { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,91,46,.15); }
@media (max-width: 960px) { .arch { grid-template-columns: 1fr 1fr; } }
.fade-in { animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .header .logo > span:not(.logo-mark) { display: none; }
  .header .account .btn-light:first-child:not(:last-child) { display: none; }
  .hide-sm { display: none; }
  .header .account { margin-left: auto; }
}

/* ---------- WordPress specifics ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prose { max-width: 760px; } .prose p { margin: 0 0 14px; } .prose h2 { margin: 22px 0 8px; font-size: 22px; }
.mobile-only { display: none; } @media (max-width: 960px) { .mobile-only { display: inline-flex; } }
.hidden { display: none !important; }
#cf-toast { position: fixed; left: 50%; bottom: calc(var(--bottom-h) + 18px); transform: translateX(-50%); background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 90; box-shadow: var(--shadow-lg); }
