@font-face {
  font-family: Cairo;
  src: url('/fonts/Cairo.ttf') format('truetype');
  font-display: swap;
  font-weight: 200 1000;
}
:root {
  --navy: #153a59;
  --ink: #20364b;
  --sky: #1697d5;
  --green: #128565;
  --muted: #6e8192;
  --line: #e0e9ef;
  --bg: #f5f8fb;
  --white: #fff;
  --shadow: 0 12px 35px #173a5910;
  font-family: Cairo, 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  min-height: 46px;
  padding: 9px 12px;
  color: var(--ink);
}
input[type='checkbox'],
input[type='radio'] {
  width: 17px;
  min-height: 17px;
  accent-color: var(--sky);
  vertical-align: middle;
}
input[type='date'],
input[type='time'],
input[type='email'] {
  direction: ltr;
}
label > span {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 6px;
}
label {
  display: block;
}
label.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: center;
}
input:focus,
select:focus {
  outline: 3px solid #1697d522;
  border-color: var(--sky);
}
:focus-visible {
  outline: 3px solid #0b8fd8;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-bottom: 12px;
}
h2 {
  font-size: 23px;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 14px;
}
h3 {
  font-size: 17px;
  color: var(--navy);
}
p {
  color: var(--muted);
}
small {
  font-size: 11px;
}
em {
  font-style: normal;
  color: var(--sky);
}
section {
  margin-bottom: 36px;
}
form {
  margin: 0;
}
.skip {
  position: absolute;
  inset-inline-start: 10px;
  top: -80px;
  background: var(--navy);
  color: white;
  padding: 10px;
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  max-width: 1420px;
  margin: auto;
  min-height: 84px;
  padding: 15px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  white-space: nowrap;
}
.brand b {
  color: var(--sky);
}
.brand-mark {
  width: 39px;
  height: 39px;
  background: #e5f4fd;
  color: var(--sky);
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-inline-end: 4px;
  transform: rotate(-14deg);
}
.main-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > a {
  font-size: 13px;
  color: #64788a;
  font-weight: 600;
  padding-block: 10px;
}
.main-nav > a:hover,
.main-nav > a.selected {
  color: var(--sky);
}
.nav-actions {
  gap: 16px;
}
.language {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.avatar {
  width: 38px;
  height: 38px;
  background: #e4f3fb;
  color: #1675a8;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
}
.avatar.large {
  width: 70px;
  height: 70px;
  font-size: 28px;
}
.button {
  border: 1px solid transparent;
  background: var(--navy);
  color: white;
  border-radius: 11px;
  min-height: 47px;
  padding: 11px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 13px;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    background 0.16s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #153a5926;
  background: #205277;
}
.button.green {
  background: var(--green);
}
.button.green:hover {
  background: #0e7256;
}
.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: #cadbe7;
}
.button.secondary:hover {
  background: #f0f7fd;
}
.button.small {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 12px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  min-height: 38px;
}
.danger {
  color: #c44747;
}
.text-link {
  color: #1686c0;
  font-weight: 700;
}
.text-link:hover {
  text-decoration: underline;
}
.demo-banner {
  background: #fff4d8;
  color: #84621c;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}
.page {
  max-width: 1240px;
  margin: auto;
  padding: 0 36px 50px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  align-items: center;
  min-height: 390px;
  margin-bottom: 10px;
  padding: 45px 4px 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: -1.7px;
}
.hero-copy > p {
  font-size: 15px;
  max-width: 420px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 800;
  color: #168bc5;
  display: block;
  margin-bottom: 10px;
  direction: ltr;
}
.hero-pills {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #57788b;
  margin-top: 25px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  background: radial-gradient(ellipse, #c8ecff 0%, #e9f6fe 53%, transparent 72%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-plane {
  font-family: Arial, sans-serif;
  font-size: 155px;
  color: #fff;
  filter: drop-shadow(6px 14px 12px #24557e30);
  transform: rotate(-22deg);
  position: relative;
  top: -20px;
}
.orbit {
  position: absolute;
  border: 1px dashed #a6d1ec;
  border-radius: 50%;
  width: 340px;
  height: 190px;
  transform: rotate(-20deg);
}
.orbit-two {
  width: 420px;
  height: 260px;
  opacity: 0.5;
}
.floating-cloud {
  position: absolute;
  font-size: 70px;
  color: #fff;
  filter: drop-shadow(1px 5px 6px #bcd5e4);
  opacity: 0.85;
}
.cloud-one {
  top: 20px;
  right: 25px;
}
.cloud-two {
  bottom: 70px;
  left: 15px;
  font-size: 45px;
}
.mini-ticket {
  position: absolute;
  bottom: 32px;
  right: 55px;
  width: 240px;
  padding: 14px 20px;
  background: #ffffffed;
  box-shadow: var(--shadow);
  border: 1px solid #fff;
  border-radius: 15px;
  transform: rotate(5deg);
  direction: ltr;
}
.mini-ticket > span {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--sky);
  font-weight: 800;
}
.mini-ticket strong {
  display: block;
  font-size: 22px;
  color: var(--navy);
}
.mini-ticket b {
  font-size: 14px;
  color: #9ab8ca;
}
.mini-ticket small {
  font-size: 9px;
  color: var(--muted);
}
.art-caption {
  position: absolute;
  bottom: 2px;
  font-size: 8px;
  letter-spacing: 4px;
  color: #76a8c4;
}
.search-panel {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 26px 30px;
  border: 1px solid #e7eff5;
  position: relative;
}
.trip-options {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 22px;
}
.trip-options label {
  font-size: 12px;
  font-weight: 600;
}
.trip-options .badge {
  margin-inline-start: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.blue {
  background: #e9f5fd;
  color: #1a85b9;
}
.badge.green {
  background: #e8f6f0;
  color: #168461;
}
.badge.gray {
  background: #eef1f4;
  color: #6f8190;
}
.badge.red {
  background: #fcecec;
  color: #bc4545;
}
.search-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-main label {
  flex: 1;
  min-width: 0;
}
.search-main label.airport-field {
  flex: 1.3;
}
.search-main input {
  background: #f7fafd;
  border-color: #ebf0f5;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
}
.swap {
  border: 1px solid var(--line);
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-top: 24px;
  color: var(--sky);
  flex-shrink: 0;
}
.search-extras {
  margin-top: 15px;
  border-bottom: 1px solid #edf2f6;
  padding-bottom: 14px;
}
.search-extras summary {
  font-size: 12px;
  font-weight: 600;
  color: #5b7286;
  cursor: pointer;
}
.search-extras summary span {
  margin-inline-start: 10px;
  color: var(--sky);
}
.search-extras[open] .form-grid {
  margin-top: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.search-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.search-bottom p {
  font-size: 11px;
  margin: 0;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 42px;
  margin-bottom: 12px;
}
.benefits article {
  padding: 20px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e8f4fc;
  color: var(--sky);
  font-size: 24px;
  margin-bottom: 12px;
}
.benefits h3 {
  margin-bottom: 6px;
}
.benefits p {
  font-size: 12px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0;
}
.page-heading {
  padding-top: 34px;
  margin-bottom: 28px;
}
.page-heading p {
  margin-bottom: 0;
}
.results-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 25px;
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 105px;
  display: grid;
  gap: 17px;
}
.filter-panel h3 {
  margin: 0;
}
.offer-list {
  display: grid;
  gap: 18px;
}
.offer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 22px;
  box-shadow: 0 4px 15px #153a5905;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.offer-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.offer-top,
.offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.offer-top {
  margin-bottom: 20px;
}
.airline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.airline img {
  object-fit: contain;
}
.airline strong {
  display: block;
  font-size: 14px;
}
.airline small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.offer-body {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
}
.flight-leg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  direction: ltr;
}
.flight-leg > div:not(.flight-line) {
  display: grid;
}
.flight-leg strong {
  font-size: 21px;
  color: var(--navy);
}
.flight-leg b {
  font-size: 13px;
}
.flight-leg small {
  font-size: 10px;
  color: var(--muted);
}
.flight-line {
  display: grid;
  text-align: center;
  color: #7d9cb0;
  min-width: 90px;
}
.flight-line span {
  font-size: 20px;
  letter-spacing: 2px;
  color: #97b4c6;
}
.offer-price {
  text-align: end;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 20px;
}
.price {
  color: var(--green);
  font-weight: 800;
  font-size: 25px;
  display: block;
  line-height: 1.5;
  direction: ltr;
}
.price.large {
  font-size: 34px;
}
.price small {
  font-size: 12px;
}
.offer-price > small {
  font-size: 10px;
  color: var(--muted);
}
details > summary {
  cursor: pointer;
  color: #317798;
  font-size: 12px;
  font-weight: 600;
  min-height: 32px;
}
.offer-details {
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 12px;
}
.offer-details p {
  margin-bottom: 7px;
}
.offer-bottom {
  border-top: 1px solid #edf2f6;
  padding-top: 15px;
  margin-top: 10px;
}
.offer-bottom small {
  color: var(--muted);
  font-size: 10px;
}
.offer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer {
  max-width: 1240px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 28px 36px 36px;
  text-align: center;
}
.footer .brand {
  font-size: 19px;
}
.footer p {
  font-size: 11px;
  margin: 10px 0 5px;
}
.footer small {
  font-size: 10px;
  color: #8597a5;
}
.panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin-bottom: 24px;
}
.stack {
  display: grid;
  gap: 20px;
}
.narrow {
  max-width: 640px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 670px;
  align-items: center;
  gap: 80px;
  padding: 35px 20px;
}
.auth-story {
  background: radial-gradient(circle at 30% 70%, #d4efff, transparent 70%);
  min-height: 450px;
  padding: 45px 20px;
}
.auth-story h1 {
  font-size: 45px;
}
.auth-story p {
  max-width: 330px;
}
.story-plane {
  color: #b2dff8;
  font-size: 130px;
  text-align: center;
  transform: rotate(-20deg);
  line-height: 1;
}
.auth-card {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.auth-card > p {
  font-size: 12px;
}
.auth-card .stack {
  gap: 15px;
  margin: 22px 0;
}
.auth-card small {
  color: var(--muted);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 16px;
  display: grid;
  gap: 8px;
}
.stat > span {
  color: var(--muted);
  font-size: 12px;
}
.stat > strong {
  color: var(--navy);
  font-size: 32px;
  line-height: 1.2;
}
.stat > small {
  color: #8ba1b2;
}
.request-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.request-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 16px #173a5905;
}
.request-card .section-header {
  margin-bottom: 15px;
}
.route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  padding-block: 8px;
  transition: color 0.2s;
}
.route-link:hover {
  color: var(--sky);
}
.route-link strong {
  font-size: 27px;
}
.route-link span {
  font-size: 14px;
  color: #a1bdce;
}
.request-card p {
  font-size: 11px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.price-row small {
  display: block;
  color: var(--muted);
}
.request-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--muted);
}
.card-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eaf0f5;
  border-radius: 11px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  background: transparent;
  color: #6c8395;
  border-radius: 8px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 700;
}
.tabs button.selected {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 6px #153a5910;
}
.empty-state {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed #cbdce8;
  border-radius: 16px;
  background: #ffffff80;
  grid-column: 1/-1;
}
.empty-state > span {
  display: block;
  font-size: 40px;
  color: #98c8e4;
}
.empty-state p {
  font-size: 12px;
}
.notification-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
}
.notification-row > div {
  flex: 1;
}
.notification-row strong,
.notification-row a {
  font-size: 12px;
}
.notification-row small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.notification-row .feature-icon {
  margin: 0;
}
.muted {
  color: var(--muted);
}
.positive {
  color: var(--green);
}
.warning-text {
  color: #b87924;
}
.notice {
  padding: 14px 18px;
  border-radius: 11px;
  background: #edf6fd;
  color: #3a7192;
  font-size: 12px;
}
.notice.error {
  background: #fff0f0;
  color: #b84646;
}
.notice.success {
  background: #e9f7ef;
  color: #168461;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.definition-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  font-size: 12px;
}
.definition-grid dt {
  color: var(--muted);
}
.definition-grid dd {
  margin: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.route-arrow {
  color: #7bb7db;
}
.chart-wrap {
  width: 100%;
  overflow: hidden;
}
#history-chart {
  width: 100%;
  height: 220px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: start;
}
th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf2f6;
  vertical-align: top;
  text-align: start;
}
th {
  font-size: 10px;
  color: #7a91a3;
  font-weight: 700;
  white-space: nowrap;
  background: #f8fafc;
  position: sticky;
  top: 0;
}
tr:last-child td {
  border-bottom: 0;
}
.admin-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  max-width: 1550px;
  margin: auto;
  min-height: calc(100vh - 85px);
}
.admin-sidebar {
  padding: 36px 22px;
  border-inline-end: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 84px;
  height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
}
.admin-sidebar h2 {
  font-size: 18px;
}
.admin-sidebar .eyebrow {
  font-size: 8px;
}
.admin-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}
.admin-sidebar nav a {
  padding: 12px 13px;
  border-radius: 10px;
  color: #6b8293;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-sidebar nav a > span {
  font-size: 18px;
  color: #83a3ba;
  width: 20px;
  text-align: center;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.selected {
  color: #157db1;
  background: #eaf5fd;
}
.admin-sidebar nav a.selected > span {
  color: #157db1;
}
.sidebar-foot {
  margin-top: auto;
  padding: 18px 6px;
  color: #7b93a4;
  font-size: 10px;
}
.sidebar-foot small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #2ca580;
  border-radius: 50%;
  margin-inline-end: 6px;
}
.admin-content {
  padding: 0 35px 40px;
  min-width: 0;
}
.admin-content .page-heading {
  padding-top: 34px;
}
.admin-content h1 {
  font-size: 29px;
}
.admin-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.admin-stats .stat {
  padding: 18px;
}
.admin-stats .stat > strong {
  font-size: 27px;
}
.metric-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  font-size: 11px;
}
.metric-row > b,
.metric-row > small {
  min-width: 75px;
}
.metric-row meter {
  flex: 1;
  height: 12px;
  accent-color: var(--sky);
}
meter::-webkit-meter-bar {
  background: #edf4f9;
  border: 0;
  border-radius: 20px;
}
meter::-webkit-meter-optimum-value {
  background: #63b5e0;
  border-radius: 20px;
}
.filter-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px;
}
.filter-form label {
  min-width: 100px;
  flex: 1;
  max-width: 230px;
}
.filter-form input,
.filter-form select {
  min-height: 38px;
  font-size: 12px;
  padding: 7px 9px;
}
.admin-table td {
  white-space: nowrap;
  max-width: 320px;
  overflow-wrap: anywhere;
}
.admin-table td:has(.text-link) {
  white-space: normal;
}
.admin-table {
  font-size: 11px;
}
.admin-content > .table-wrap.panel {
  padding: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 25px;
}
.pagination > span {
  font-size: 12px;
  color: var(--muted);
}
pre {
  background: #f4f7fa;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 12px;
  max-height: 350px;
  overflow: auto;
  font-size: 11px;
}
.loading-state {
  text-align: center;
  padding: 35px 20px;
}
.loading-state h3 {
  margin: 20px 0 8px;
}
.spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #d6ebf6;
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.skeleton {
  height: 110px;
  margin: 18px 0;
  background: linear-gradient(100deg, #e9eff4 30%, #f7fafc 50%, #e9eff4 70%);
  background-size: 300% 100%;
  border-radius: 16px;
  animation: shimmer 2s infinite;
}
.refresh-progress {
  padding: 14px 18px;
  margin: 15px 0;
  background: #e9f7ef;
  border: 1px solid #c6e8d7;
  border-radius: 12px;
  color: var(--green);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.refresh-progress .spinner {
  width: 20px;
  height: 20px;
  border-top-color: var(--green);
  flex-shrink: 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 25px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 80;
  max-width: 90%;
  font-size: 12px;
  display: none;
}
#toast.visible {
  display: block;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  max-width: min(500px, 90vw);
  color: var(--navy);
  box-shadow: 0 25px 100px #102e4b40;
}
dialog::backdrop {
  background: #17334d66;
  backdrop-filter: blur(3px);
}
#monitor-dialog {
  width: min(480px, 90vw);
  box-sizing: border-box;
}
#monitor-dialog h2 {
  margin-top: 0;
}
#monitor-dialog input {
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 20px;
}
#monitor-dialog .actions {
  flex-wrap: wrap;
}
#monitor-trip {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.monitor-summary {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f5faff;
  margin-block: 14px;
}
.monitor-airline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.monitor-airline img {
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.monitor-facts {
  margin: 12px 0 0;
  font-size: 13px;
}
.monitor-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 6px;
}
.monitor-facts dt {
  color: var(--muted);
}
.monitor-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
}
.dialog-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
}
.refreshing-price {
  opacity: 0.5;
}
.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.request-card,
.offer-card,
.stat {
  animation: entrance 0.3s ease-out both;
}
@media (min-width: 1500px) {
  .admin-content {
    padding-inline: 45px;
  }
}
@media (max-width: 1100px) {
  .topbar-inner {
    padding-inline: 24px;
    gap: 20px;
  }
  .main-nav {
    gap: 17px;
  }
  .nav-actions {
    gap: 10px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    min-height: 280px;
  }
  .mini-ticket {
    right: 20px;
  }
  .request-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-shell {
    grid-template-columns: 200px 1fr;
  }
  .admin-sidebar {
    padding-inline: 13px;
  }
  .admin-content {
    padding-inline: 22px;
  }
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .search-main {
    flex-wrap: wrap;
  }
  .search-main label {
    flex: 1 1 180px;
  }
  .search-main label.airport-field {
    flex: 1 1 200px;
  }
  .auth-layout {
    gap: 40px;
  }
  .hero-pills {
    gap: 10px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
    border-top: 1px solid #eef3f7;
    padding-top: 6px;
  }
  .topbar-inner {
    flex-wrap: wrap;
    gap: 9px;
    padding: 11px 18px;
  }
  .main-nav > a {
    font-size: 11px;
    padding-block: 5px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    margin-inline-start: auto;
  }
  .page {
    padding-inline: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 30px;
    gap: 10px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-art {
    display: none;
  }
  .hero-copy > p {
    max-width: none;
  }
  .hero-pills {
    margin-top: 16px;
  }
  .search-panel {
    padding: 22px;
  }
  .search-main label,
  .search-main label.airport-field {
    flex: 1 1 40%;
  }
  .swap {
    display: none;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .search-bottom .button {
    width: 100%;
  }
  .benefits {
    gap: 10px;
  }
  .benefits article {
    padding: 10px;
  }
  .results-layout {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .filter-panel h3 {
    grid-column: 1/-1;
  }
  .offer-body {
    grid-template-columns: 1fr 120px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 10px;
    padding: 30px 0;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat > strong {
    font-size: 26px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    border: 0;
    padding: 18px 20px;
    background: #fff;
  }
  .admin-sidebar h2,
  .admin-sidebar > .eyebrow,
  .sidebar-foot {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    overflow: auto;
    gap: 4px;
    margin: 0;
  }
  .admin-sidebar nav a {
    white-space: nowrap;
    padding: 8px 12px;
  }
  .admin-sidebar nav a span {
    display: none;
  }
  .admin-content .page-heading {
    padding-top: 24px;
  }
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer {
    padding-inline: 20px;
  }
  .hero-pills span {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
}
@media (max-width: 520px) {
  .nav-actions .button {
    display: none;
  }
  .topbar-inner {
    padding-inline: 16px;
  }
  .nav-actions {
    gap: 12px;
  }
  .main-nav {
    gap: 19px;
  }
  .page {
    padding-inline: 15px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .search-panel {
    padding: 18px;
    border-radius: 16px;
  }
  .trip-options {
    gap: 17px;
  }
  .trip-options .badge {
    display: none;
  }
  .search-main {
    gap: 14px;
  }
  .search-main input {
    font-size: 13px;
  }
  .form-grid {
    gap: 12px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .benefits article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    padding: 12px 4px;
  }
  .benefits .feature-icon {
    grid-row: span 2;
    margin: 0;
  }
  .benefits h3 {
    font-size: 15px;
    margin: 0;
  }
  .benefits p {
    margin: 0;
    font-size: 11px;
  }
  .request-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat {
    padding: 13px 11px;
    border-radius: 12px;
  }
  .stat > span {
    font-size: 10px;
  }
  .stat > strong {
    font-size: 23px;
  }
  .stat > small {
    font-size: 9px;
  }
  .section-header {
    gap: 12px;
    flex-wrap: wrap;
  }
  h2 {
    font-size: 20px;
  }
  .panel {
    padding: 20px;
  }
  .offer-card {
    padding: 17px;
  }
  .offer-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .offer-price {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding-inline-start: 0;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .offer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .offer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .offer-bottom .button {
    width: 100%;
  }
  .flight-leg strong {
    font-size: 20px;
  }
  .flight-line {
    min-width: 80px;
  }
  .flight-line span {
    font-size: 17px;
  }
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }
  .filter-panel h3 {
    font-size: 16px;
  }
  .notification-row {
    padding: 15px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .admin-content {
    padding-inline: 15px;
  }
  .admin-content h1 {
    font-size: 25px;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .price.large {
    font-size: 27px;
  }
  .definition-grid {
    gap: 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.budget-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #eef6fc;
  border: 1px solid #d5e7f5;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  color: var(--navy);
}
.budget-label {
  font-size: 14px;
  font-weight: 700;
}
.budget-value {
  font-size: 17px;
}
.budget-editor {
  margin-inline-start: auto;
}
.budget-editor summary {
  list-style: none;
}
.budget-editor summary::-webkit-details-marker {
  display: none;
}
.budget-editor form {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.budget-editor input {
  max-width: 180px;
}

/* Keep the search fields visible above the fold. */
.hero.hero-compact {
  min-height: 0;
  padding: 18px 4px 14px;
  gap: 22px;
  margin-bottom: 8px;
}
.hero-compact h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.6px;
}
.hero-compact h1 br {
  display: none;
}
.hero-compact h1 em {
  margin-inline-start: 8px;
}
.hero-compact .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.hero-compact .hero-copy > p {
  font-size: 13px;
  max-width: none;
  margin-bottom: 8px;
}
.hero-compact .hero-pills {
  margin-top: 10px;
  gap: 14px;
}
.hero-compact .hero-art {
  min-height: 180px;
  height: 180px;
}
.hero-compact .hero-plane {
  font-size: 95px;
  top: -12px;
}
.hero-compact .orbit {
  width: 230px;
  height: 105px;
}
.hero-compact .orbit-two {
  width: 290px;
  height: 150px;
}
.hero-compact .mini-ticket {
  bottom: 15px;
  right: 28px;
  width: 190px;
  padding: 7px 12px;
}
.hero-compact .mini-ticket strong {
  font-size: 18px;
}
.hero-compact .floating-cloud {
  font-size: 42px;
}
.hero-compact .cloud-two {
  font-size: 28px;
  bottom: 35px;
}
.hero-compact .art-caption {
  display: none;
}
.hero-compact + .search-panel {
  padding-block: 20px;
}
.hero-compact + .search-panel .trip-options {
  margin-bottom: 14px;
}
@media (max-width: 800px) {
  .hero.hero-compact {
    padding: 16px 0 12px;
    gap: 0;
  }
  .hero-compact h1 {
    font-size: 28px;
  }
  .hero-compact .hero-art {
    display: none;
  }
  .hero-compact .hero-pills {
    margin-top: 8px;
  }
}
@media (max-width: 520px) {
  .hero-compact h1 {
    font-size: 25px;
  }
  .hero-compact .eyebrow {
    display: none;
  }
  .hero-compact .hero-pills {
    gap: 10px;
  }
  .hero-compact .hero-copy > p {
    font-size: 12px;
  }
}

.search-form .trip-options {
  flex-wrap: wrap;
  row-gap: 10px;
}
.search-form .trip-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.search-form .trip-options .checkbox {
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--line);
}
.search-form .search-preferences {
  grid-template-columns: repeat(3, minmax(65px, 0.6fr)) minmax(145px, 1.3fr) minmax(85px, 0.8fr) minmax(180px, 1.5fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .search-form .search-preferences {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .search-form .search-preferences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-form .trip-options .checkbox {
    padding-inline-start: 0;
    border: 0;
  }
}

.search-form > .search-preferences {
  margin-top: 20px;
}

.search-budget {
  margin-top: 16px;
  max-width: 340px;
}
.search-budget small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.assistant-heading {
  padding-top: 24px;
}
.assistant-heading h1 {
  font-size: 30px;
}
.assistant-chat {
  padding: 22px;
}
#agent-messages {
  max-height: 280px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.agent-bubble {
  align-self: flex-start;
  background: #eef6fc;
  color: var(--navy);
  border-radius: 15px;
  padding: 12px 16px;
  max-width: 85%;
  margin: 0;
  white-space: pre-wrap;
}
.agent-user {
  align-self: flex-end;
  background: var(--navy);
  color: white;
}
.agent-compose {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 8px;
}
.agent-compose textarea {
  resize: vertical;
  min-height: 65px;
}
.agent-flexibility {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
  max-width: 650px;
}
#agent-results .actions {
  margin-top: 14px;
}
#agent-results .offer-card h3 {
  margin-top: 12px;
}
#agent-results .notice {
  white-space: pre-wrap;
}
@media (max-width: 520px) {
  .agent-compose {
    flex-direction: column;
    align-items: stretch;
  }
  .agent-flexibility {
    grid-template-columns: 1fr;
  }
  .agent-bubble {
    max-width: 95%;
  }
}

.home-assistant {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #e7f3fc;
  border: 1px solid #c7e2f5;
  border-radius: 16px;
  padding: 16px 20px;
  margin: 0 0 18px;
}
.home-assistant h2 {
  font-size: 18px;
  margin: 0 0 4px;
}
.home-assistant p {
  font-size: 12px;
  margin: 0;
}
.home-assistant .button {
  margin-inline-start: auto;
}
.assistant-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 12px;
  color: var(--sky);
  font-size: 27px;
}
@media (max-width: 700px) {
  .home-assistant {
    flex-wrap: wrap;
    padding: 14px;
    gap: 10px;
  }
  .home-assistant > div {
    flex: 1;
    min-width: 180px;
  }
  .home-assistant .button {
    width: 100%;
  }
  .home-assistant h2 {
    font-size: 16px;
  }
}

/* Compact assistant: conversation scrolls without pushing the composer away. */
.page-heading.assistant-heading {
  padding: 12px 0 10px;
  margin: 0;
  min-height: 0;
}
.assistant-heading > .eyebrow {
  display: none;
}
.page-heading.assistant-heading h1 {
  font-size: 25px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.assistant-heading p {
  font-size: 12px;
  margin-bottom: 0;
}
.panel.assistant-chat {
  display: flex;
  flex-direction: column;
  padding: 16px;
  margin-bottom: 18px;
  height: clamp(440px, calc(100dvh - 230px), 760px);
  max-height: none;
  min-height: 440px;
}
.assistant-chat > .notice {
  font-size: 11px;
  padding: 9px 12px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.assistant-chat #agent-messages {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 12px;
  gap: 8px;
}
.assistant-chat #agent-messages > * {
  flex-shrink: 0;
}
.assistant-chat .agent-bubble {
  padding: 9px 13px;
  font-size: 13px;
  flex-shrink: 0;
}
.assistant-chat #agent-chat {
  flex-shrink: 0;
  background: #fff;
}
.assistant-chat #agent-chat > label {
  font-size: 12px;
}
.assistant-chat .agent-compose {
  margin-top: 5px;
  align-items: center;
}
.assistant-chat .agent-compose textarea {
  min-height: 52px;
  max-height: 90px;
  resize: none;
}
.assistant-chat #agent-progress,
.assistant-chat #agent-error {
  flex-shrink: 0;
  margin: 8px 0 0;
  padding: 8px 12px;
  font-size: 11px;
}
@media (max-width: 800px) {
  .page-heading.assistant-heading {
    padding-top: 10px;
  }
}
@media (max-width: 520px) {
  .page-heading.assistant-heading h1 {
    font-size: 22px;
  }
  .assistant-chat .agent-compose {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .assistant-chat .agent-compose .button {
    padding-inline: 13px;
  }
  .panel.assistant-chat {
    padding: 12px;
  }
}

.agent-comparison {
  margin-bottom: 22px;
}
.agent-comparison .best-date {
  background: #e8f7ef;
  color: #087255;
  font-weight: 700;
}
.agent-comparison td {
  white-space: nowrap;
}

.interactive-offer {
  position: relative;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.interactive-offer:hover,
.interactive-offer:focus-within {
  box-shadow: 0 10px 28px #153a5920;
  transform: translateY(-2px);
}
.offer-detail-link {
  display: block;
  margin-top: 10px;
}
.offer-detail-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.interactive-offer .actions {
  position: relative;
  z-index: 1;
}
.agent-trip-cards {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
}
.agent-trip-card {
  display: grid;
  gap: 4px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #a9d7f2;
  border-radius: 12px;
  color: var(--navy);
  transition:
    background 0.15s,
    transform 0.15s;
}
.agent-trip-card:hover {
  background: #e3f3fe;
  transform: translateY(-1px);
}
.agent-trip-card span {
  font-size: 12px;
}
.agent-trip-card small {
  color: #087bad;
  font-weight: 700;
}
.holiday-calendar {
  width: min(470px, 94vw);
  padding: 18px;
  max-height: 90dvh;
  overflow: auto;
}
.calendar-top,
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.calendar-top h2 {
  font-size: 17px;
  margin: 0;
}
.calendar-nav {
  margin: 12px 0;
}
.calendar-nav .button {
  font-size: 10px;
  padding: 5px 8px;
  min-height: 32px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar-weekday {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding-block: 8px;
}
.calendar-day {
  position: relative;
  min-height: 42px;
  border: 1px solid transparent;
  background: #f3f7fb;
  border-radius: 9px;
  color: var(--navy);
  font-size: 13px;
  padding: 5px 2px 12px;
}
.calendar-day:hover {
  background: #dceffe;
}
.calendar-day[aria-pressed='true'] {
  outline: 2px solid var(--sky);
  font-weight: 800;
}
.calendar-day:disabled {
  opacity: 0.3;
  cursor: default;
}
.calendar-day.holiday-fixed {
  background: #e0f1fc;
  border-color: #aad7f1;
}
.calendar-day.holiday-estimated {
  background: #fff5df;
  border: 1px dashed #dcac4f;
}
.holiday-dot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 9px;
  color: #1681b7;
}
.holiday-estimated .holiday-dot {
  color: #af7a13;
}
.calendar-legend,
.calendar-status {
  font-size: 11px;
  margin: 10px 0;
}
.calendar-events {
  max-height: 100px;
  overflow: auto;
  margin-top: 10px;
}
.calendar-events p {
  font-size: 11px;
  margin: 4px 0;
}
.holiday-calendar > .text-link {
  font-size: 11px;
}

.airline-filter {
  border: 0;
  padding: 0;
  margin: 4px 0 10px;
  min-width: 0;
}
.airline-filter legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 5px;
}
.airline-filter > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.filter-panel label.airline-filter-row {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  cursor: pointer;
  border-bottom: 1px solid #eef3f7;
}
.airline-filter-row input {
  margin: 0;
  accent-color: var(--green);
}
.airline-filter-row .airline-filter-name {
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}
.airline-filter-price {
  font-size: 11px;
  font-weight: 500;
  color: #627c90;
  direction: ltr;
  white-space: nowrap;
}
.airline-filter-row:has(input:checked) {
  background: #edf8f3;
  border-radius: 7px;
}
.airline-filter-actions {
  display: flex;
  gap: 15px;
  margin: 8px 0;
}
.airline-filter-actions button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  padding: 3px 0;
  cursor: pointer;
}
.airline-filter #airlines-more {
  font-size: 11px;
  padding-inline: 0;
  color: var(--navy);
}
@media (max-width: 800px) {
  .filter-panel .airline-filter {
    grid-column: 1/-1;
  }
  #airline-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}
@media (max-width: 420px) {
  #airline-options {
    grid-template-columns: 1fr;
  }
}
.agent-summary {
  background: #edf6fd;
  border: 1px solid #cee5f5;
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
  font-size: 12px;
}
.agent-summary p {
  margin: 7px 0;
}
.agent-summary small,
.agent-actions small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.agent-actions small {
  flex-basis: 100%;
}
.agent-actions button:hover {
  background: #e3f1fb;
  transform: translateY(-1px);
}
.agent-actions button {
  transition:
    background 0.2s,
    transform 0.2s;
}
.agent-actions button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
.agent-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.agent-airline-logos {
  display: flex;
  gap: 4px;
  align-items: center;
}
.agent-airline img {
  object-fit: contain;
  background: white;
  border-radius: 7px;
  flex-shrink: 0;
}
.agent-airline > div:last-child {
  display: grid;
  gap: 2px;
}
.agent-airline strong {
  font-size: 13px;
}
.agent-airline span {
  font-size: 11px;
}
/* Compact home header and introduction so the complete search form appears sooner. */
body:has(.hero-compact) .topbar-inner {
  min-height: 60px;
  padding-block: 8px;
  gap: 18px;
}
body:has(.hero-compact) .brand {
  font-size: 22px;
}
body:has(.hero-compact) .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 26px;
}
body:has(.hero-compact) .nav-actions .button {
  min-height: 38px;
  padding-block: 7px;
}
body:has(.hero-compact) .demo-banner {
  padding: 4px 10px;
  font-size: 11px;
  line-height: 20px;
}
.hero.hero-compact {
  padding: 10px 0;
  gap: 18px;
  margin-bottom: 6px;
}
.hero-compact .eyebrow {
  display: none;
}
.hero-compact .hero-copy > p {
  font-size: 12px;
  margin-bottom: 5px;
}
.hero-compact .hero-pills {
  margin-top: 6px;
  font-size: 10px;
  gap: 12px;
}
.hero-compact .hero-art {
  height: 110px;
  min-height: 110px;
}
.hero-compact .hero-plane {
  font-size: 66px;
  top: -9px;
}
.hero-compact .orbit {
  width: 180px;
  height: 68px;
}
.hero-compact .orbit-two {
  width: 225px;
  height: 95px;
}
.hero-compact .mini-ticket {
  bottom: 5px;
  right: 25px;
  width: 155px;
  padding: 5px 9px;
  border-radius: 12px;
}
.hero-compact .mini-ticket strong {
  font-size: 15px;
}
.hero-compact .mini-ticket small {
  font-size: 8px;
}
.hero-compact .floating-cloud {
  font-size: 26px;
}
.hero-compact .cloud-two {
  font-size: 21px;
  bottom: 20px;
}
.hero-compact + .home-assistant {
  padding: 9px 14px;
  gap: 12px;
  margin-bottom: 12px;
  border-radius: 13px;
}
.hero-compact + .home-assistant h2 {
  font-size: 15px;
  margin-bottom: 2px;
}
.hero-compact + .home-assistant p {
  font-size: 11px;
  line-height: 1.6;
}
.hero-compact + .home-assistant .assistant-mark {
  width: 34px;
  height: 34px;
  font-size: 23px;
}
.hero-compact + .home-assistant .button {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
}
.home-assistant + .search-panel {
  padding: 18px 24px;
}
.home-assistant + .search-panel .trip-options {
  margin-bottom: 14px;
}
.home-assistant + .search-panel .search-preferences {
  margin-top: 12px;
}
.home-assistant + .search-panel .search-budget {
  margin-top: 10px;
}
.home-assistant + .search-panel .search-bottom {
  margin-top: 12px;
}
@media (max-width: 800px) {
  .hero.hero-compact {
    padding: 12px 0;
  }
  .hero-compact .hero-art {
    display: none;
  }
  .home-assistant + .search-panel {
    padding: 16px;
  }
  .hero-compact + .home-assistant {
    gap: 8px;
  }
}
@media (max-width: 520px) {
  body:has(.hero-compact) .topbar-inner {
    gap: 8px;
  }
  .hero-compact h1 {
    font-size: 24px;
  }
  .hero-compact + .home-assistant h2 {
    font-size: 14px;
  }
}
.demand-tables > section {
  min-width: 0;
  margin-bottom: 0;
}
.demand-meter {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 6px;
  accent-color: var(--sky);
}
.demand-tables {
  margin-bottom: 28px;
}
.demand-tables table {
  font-size: 11px;
}
.demand-tables td:first-child {
  min-width: 130px;
}
/* Keep the account overview compact and let existing trips fill the available row. */
body:has(.dashboard-heading) .topbar-inner {
  min-height: 60px;
  padding-block: 8px;
}
body:has(.dashboard-heading) .demo-banner {
  padding: 4px 10px;
  font-size: 11px;
  line-height: 20px;
}
.dashboard-heading {
  padding-top: 16px;
  margin-bottom: 16px;
  gap: 12px;
}
.dashboard-heading .eyebrow {
  display: none;
}
.dashboard-heading h1 {
  font-size: 25px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.dashboard-heading p {
  font-size: 12px;
}
.dashboard-heading > .button {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
}
.dashboard-stats {
  gap: 12px;
  margin-bottom: 18px;
}
.dashboard-stats .stat {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  border-radius: 13px;
}
.dashboard-stats .stat > strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 28px;
}
.dashboard-stats .stat > span {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
}
.dashboard-stats .stat > small {
  grid-column: 1;
  grid-row: 2;
  font-size: 10px;
}
.dashboard-section {
  margin-bottom: 20px;
}
.dashboard-section > .section-header {
  margin-bottom: 12px;
}
.dashboard-section h2 {
  font-size: 21px;
}
.dashboard-requests {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.dashboard-requests .request-card {
  padding: 16px;
}
.dashboard-requests .request-card > .section-header {
  margin-bottom: 8px;
}
.dashboard-requests .route-link {
  padding-block: 4px;
}
.dashboard-requests .route-link strong {
  font-size: 25px;
}
.dashboard-requests .price-row {
  margin-bottom: 10px;
}
.dashboard-requests .card-actions {
  margin-top: 12px;
}
@media (max-width: 520px) {
  .dashboard-heading h1 {
    font-size: 21px;
  }
  .dashboard-stats {
    gap: 7px;
  }
  .dashboard-stats .stat {
    padding: 10px 8px;
    grid-template-columns: 1fr;
  }
  .dashboard-stats .stat > strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 25px;
  }
  .dashboard-stats .stat > small {
    grid-row: 3;
  }
  .dashboard-stats .stat > span {
    font-size: 10px;
  }
  .dashboard-requests {
    grid-template-columns: 1fr;
  }
}
#offer-results {
  align-content: start;
}
#offer-results > .empty-state {
  padding: 26px 20px;
  min-height: 0;
}
#offer-results > .empty-state small {
  display: block;
  margin-top: 12px;
  line-height: 1.7;
}
.offer-price .badge {
  display: inline-block;
  margin-top: 8px;
}
.badge.budget-over {
  background: #fff3e2;
  color: #9a5700;
}
.offer-price .budget-difference {
  display: block;
  color: #9a5700;
  font-size: 11px;
  margin-top: 5px;
}
.agent-schedule {
  display: grid;
  gap: 8px;
  margin-block: 8px;
}
.agent-schedule-leg {
  display: grid;
  gap: 4px;
  padding-block: 5px;
  border-top: 1px solid #d9e7f0;
}
.agent-schedule-leg > strong {
  font-size: 12px;
  font-weight: 600;
}
.agent-flight-times {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.agent-flight-times > span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.agent-flight-times b {
  white-space: nowrap;
  color: var(--navy);
  font-size: 13px;
}
.agent-trip-card .agent-schedule-leg > small {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.agent-history-toolbar {
  margin-bottom: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.agent-history-toolbar small {
  color: var(--muted);
}
#agent-history {
  max-height: 240px;
  overflow: auto;
  padding: 8px;
  background: #f4f9fd;
  border-radius: 12px;
  margin-bottom: 8px;
}
#agent-history > .actions {
  margin: 6px 0;
  flex-wrap: wrap;
}
#agent-history [data-agent-action='open-history'] {
  text-align: start;
  overflow-wrap: anywhere;
  flex: 1;
}
#agent-history [data-agent-action='delete-history'] {
  color: #b42318;
}
/* Home search: clearer field boundaries, matching the approved preview. */
#flight-search input:not([type='radio']):not([type='checkbox']),
#flight-search select {
  border: 2px solid #7d98b2;
  border-radius: 12px;
}
#flight-search input:not([type='radio']):not([type='checkbox']):hover,
#flight-search select:hover {
  border-color: #3d6d95;
}
#flight-search input:not([type='radio']):not([type='checkbox']):focus,
#flight-search select:focus {
  border-color: #009cde;
  box-shadow: 0 0 0 3px #d6efff;
}
/* Compact search bar with the primary action beside the travel dates. */
#flight-search {
  font-family: Arial, 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
#flight-search input,
#flight-search select,
#flight-search button {
  font-family: inherit;
}
#flight-search input:not([type='radio']):not([type='checkbox']),
#flight-search select {
  height: 47px;
  min-height: 47px;
  padding: 9px 11px;
  border-width: 1.5px;
  border-color: #9aabb9;
  border-radius: 7px;
  background: #fff;
  color: #263c4f;
  font-size: 14px;
  font-weight: 400;
}
#flight-search label > span {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #43596b;
}
#flight-search .search-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 28px minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}
#flight-search .search-main:has(#return-field:not([hidden])) {
  grid-template-columns: minmax(0, 1.2fr) 28px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
#flight-search .search-main label,
#flight-search .search-main label.airport-field {
  min-width: 0;
}
#flight-search .swap {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  margin-bottom: 9px;
  border-radius: 50%;
  font-size: 17px;
}
#flight-search .search-inline-submit {
  height: 47px;
  min-height: 47px;
  padding: 9px 15px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
#flight-search .trip-options {
  gap: 8px;
  margin-bottom: 16px;
}
#flight-search .trip-options label:has(input[type='radio']) {
  position: relative;
  min-height: 33px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #f3f5f7;
  font-size: 13px;
}
#flight-search .trip-options label:has(input[type='radio']:checked) {
  border-color: #1697d5;
  background: #eaf7ff;
  color: #0d6694;
}
#flight-search .trip-options label:has(input[type='radio']:focus-visible) {
  outline: 3px solid #1697d555;
  outline-offset: 2px;
}
#flight-search .trip-options input[type='radio'] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
}
#flight-search .trip-options .checkbox {
  margin-inline-start: 10px;
  padding-inline-start: 16px;
  font-size: 13px;
}
#flight-search .search-preferences {
  gap: 12px;
  margin-top: 16px;
}
#flight-search .search-budget {
  margin-top: 14px;
}
#flight-search {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(220px, 1fr);
  column-gap: 20px;
  align-items: start;
}
#flight-search > .trip-options,
#flight-search > .search-main,
#flight-search > .search-bottom {
  grid-column: 1/-1;
}
#flight-search .search-date-actions {
  grid-column: 1/-1;
  grid-row: 3;
  justify-self: start;
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
#flight-search .search-date-actions .search-budget {
  margin: 0;
  max-width: none;
  width: 100%;
}
#flight-search .budget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
#flight-search > .search-preferences {
  grid-column: 1/-1;
  grid-row: 5;
  grid-template-columns: repeat(3, minmax(65px, 0.6fr)) minmax(145px, 1.3fr) minmax(85px, 0.8fr) minmax(180px, 1.5fr);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
#flight-search .search-bottom {
  grid-row: 4;
  margin-top: 12px;
}
#flight-search .search-bottom p {
  margin: 0;
  font-size: 12px;
}
@media (max-width: 1000px) {
  #flight-search .search-main,
  #flight-search .search-main:has(#return-field:not([hidden])) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #flight-search .swap {
    display: none;
  }
  #flight-search .search-main:has(#return-field:not([hidden])) .search-inline-submit {
    grid-column: 1/-1;
  }
  #flight-search .search-inline-submit {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #flight-search input:not([type='radio']):not([type='checkbox']),
  #flight-search select {
    font-size: 16px;
  }
  #flight-search .search-main,
  #flight-search .search-main:has(#return-field:not([hidden])) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #flight-search .search-main .airport-field:first-child,
  #flight-search .search-main .airport-field:nth-of-type(2) {
    grid-column: auto;
  }
  #flight-search .swap {
    display: none;
  }
  #flight-search .search-inline-submit,
  #flight-search .search-main:not(:has(#return-field:not([hidden]))) .search-inline-submit {
    grid-column: 1/-1;
    grid-row: auto;
    width: 100%;
  }
  #flight-search .trip-options .checkbox {
    margin-inline-start: 0;
    padding-inline-start: 0;
  }
}
@media (max-width: 1100px) {
  #flight-search > .search-preferences {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  #flight-search {
    grid-template-columns: minmax(0, 1fr);
  }
  #flight-search .search-date-actions {
    grid-column: 1;
    grid-row: 3;
  }
  #flight-search > .search-preferences {
    grid-column: 1;
    grid-row: 5;
  }
  #flight-search > .search-bottom {
    grid-row: 4;
  }
}
@media (max-width: 600px) {
  #flight-search .search-date-actions {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  #flight-search .search-date-actions .search-inline-submit {
    grid-column: 1;
  }
  #flight-search > .search-preferences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-table th,
.admin-table td {
  padding: 11px 10px;
  vertical-align: middle;
}
.admin-table {
  font-size: 12px;
}
.admin-table th {
  white-space: nowrap;
}
.admin-table td.admin-actions-cell {
  min-width: 125px;
  white-space: nowrap;
  overflow-wrap: normal;
  text-align: center;
}
.admin-table .admin-actions-cell .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow-wrap: normal;
  padding: 6px 8px;
  min-height: 32px;
  border-radius: 7px;
  background: #edf6fc;
}
.admin-table .admin-actions-cell .text-link:hover {
  background: #dceefb;
  text-decoration: none;
}
.admin-table .admin-timestamp {
  display: block;
  min-width: 138px;
  font-size: 11px;
  line-height: 1.65;
  white-space: nowrap;
}
.admin-table .admin-timestamp bdi {
  display: block;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.airport-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #c4d9e9;
  background: #eef7fd;
  border-radius: 10px;
  line-height: 1.5;
  text-align: start;
}
.airport-identity[hidden] {
  display: none;
}
.airport-identity strong {
  display: block;
  color: #143c59;
  font-size: 15px;
  font-weight: 700;
}
.airport-identity small {
  display: block;
  font-size: 12px;
  color: #48667d;
}
.airport-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: white;
  color: #009bdb;
  font-size: 25px;
}
.airline-picker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.airline-picker > span {
  font-weight: 700;
  color: #143c59;
}
.airline-picker > input {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid #91abc0;
  border-radius: 9px;
}
.carrier-results {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 30;
  max-height: 300px;
  overflow: auto;
  background: white;
  border: 1px solid #91abc0;
  border-radius: 10px;
  box-shadow: 0 8px 25px #143c5926;
}
.carrier-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #e6eef4;
  background: white;
  color: #143c59;
  text-align: start;
  cursor: pointer;
  font: inherit;
}
.carrier-option:hover,
.carrier-option:focus-visible {
  background: #e5f4ff;
  outline: 2px solid #009bdb;
  outline-offset: -2px;
}
.carrier-option strong,
.carrier-option small {
  display: block;
}
.carrier-option strong {
  font-size: 15px;
}
.carrier-option small {
  font-size: 12px;
  color: #48667d;
}
.carrier-option img,
.carrier-chip img {
  object-fit: contain;
  background: white;
  border-radius: 6px;
  flex-shrink: 0;
}
.carrier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.carrier-chips:empty {
  display: none;
}
.carrier-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid #a7c8df;
  background: #eef7fd;
  border-radius: 9px;
  font-size: 13px;
}
.carrier-chip img {
  width: 30px;
  height: 30px;
}
.carrier-code {
  direction: ltr;
  font:
    700 12px Arial,
    sans-serif;
  color: #48667d;
}
.carrier-remove {
  border: 0;
  background: transparent;
  color: #143c59;
  font-size: 23px;
  cursor: pointer;
  min-width: 30px;
  min-height: 30px;
}
.carrier-help,
.catalog-source {
  font-size: 11px;
  color: #48667d;
}
.catalog-source {
  align-self: flex-start;
}
.agent-mic {
  min-width: 95px;
  white-space: nowrap;
}
.agent-mic[aria-pressed='true'] {
  color: #b42318;
  background: #fff0f0;
  border-color: #df8585;
}
.agent-voice-status {
  font-size: 13px;
  color: #48667d;
  margin: 8px 0 0;
  min-height: 20px;
}
@media (max-width: 600px) {
  .agent-compose {
    flex-wrap: wrap;
  }
  .agent-compose textarea {
    flex-basis: 100%;
  }
  .agent-mic {
    min-width: 85px;
  }
}

/* Supplied brand artwork: frame trims transparent canvas without changing the asset. */
.brand-image-frame {
  display: block;
  position: relative;
  overflow: hidden;
  width: 210px;
  height: 64px;
  flex: none;
}
.brand-image {
  display: block;
  position: absolute;
  width: 210px;
  height: auto;
  max-width: none;
  top: -48px;
  left: 0;
}
.agent-avatar {
  object-fit: contain;
}
@media (max-width: 800px) {
  .brand-image-frame {
    width: 158px;
    height: 48px;
  }
  .brand-image {
    width: 158px;
    top: -36px;
  }
}

.home-assistant .assistant-artwork {
  width: 76px;
  height: 62px;
  background: transparent;
  flex-shrink: 0;
}
.assistant-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
