/* DESIGN LOCK:
   Aviator Hamburg colors and the logbook ledger palette are intentionally fixed.
   Do not change this color system unless the user explicitly asks for a palette change. */
.ahc {
  --ahc-ink: #f8fafc;
  --ahc-muted: #b8c2cf;
  --ahc-panel: #111820;
  --ahc-paper: #f4f7fa;
  --ahc-dark-text: #101820;
  --ahc-soft-text: #536171;
  --ahc-line: rgba(255, 255, 255, 0.12);
  --ahc-accent: #3fb4d8;
  --ahc-warm: #d7a650;
  box-sizing: border-box;
  color: var(--ahc-ink);
  font-family: Inter, Arial, sans-serif;
}

/* 0.4.10 economy scopes and airline accounting */
.ahc-economy-scope-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.ahc-economy-scope-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.ahc-economy-page[data-economy-scope="all"] .ahc-economy-scope-nav a[href*="scope=all"],
.ahc-economy-page[data-economy-scope="business"] .ahc-economy-scope-nav a[href*="scope=business"],
.ahc-economy-page[data-economy-scope="airline"] .ahc-economy-scope-nav a[href*="scope=airline"],
.ahc-economy-page[data-economy-scope="fuel"] .ahc-economy-scope-nav a[href*="scope=fuel"],
.ahc-economy-page[data-economy-scope="maintenance"] .ahc-economy-scope-nav a[href*="scope=maintenance"],
.ahc-economy-scope-nav a:hover,
.ahc-economy-scope-nav a:focus-visible {
  border-color: rgba(63, 180, 216, 0.86);
  background: rgba(63, 180, 216, 0.16);
  color: #ffffff;
}

.ahc-economy-section-head small {
  display: block;
  margin-top: 2px;
  color: rgba(226, 232, 240, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.ahc-airline-history .ahc-shift-ended,
.ahc-airline-history-dialog .ahc-shift-ended,
.ahc-airline-history .ahc-shift-revenue,
.ahc-airline-history-dialog .ahc-shift-revenue {
  display: grid;
  gap: 2px;
}

.ahc-airline-history .ahc-shift-ended strong,
.ahc-airline-history-dialog .ahc-shift-ended strong,
.ahc-airline-history .ahc-shift-points,
.ahc-airline-history-dialog .ahc-shift-points {
  color: #f8fafc;
  font-weight: 900;
}

.ahc-airline-history .ahc-shift-ended small,
.ahc-airline-history-dialog .ahc-shift-ended small,
.ahc-airline-history .ahc-shift-revenue span,
.ahc-airline-history-dialog .ahc-shift-revenue span {
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.ahc-airline-history .ahc-shift-revenue strong,
.ahc-airline-history-dialog .ahc-shift-revenue strong {
  color: #d1fae5;
  font-size: 12px;
  font-weight: 900;
}

.ahc * {
  box-sizing: border-box;
}

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

.site-brand.ahc-site-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 158px;
  min-height: 58px;
}

.ahc-site-logo {
  display: block;
  width: 46px;
  height: 52px;
  object-fit: contain;
}

.site-brand.ahc-site-brand-logo .ahc-site-wordmark {
  display: grid;
  gap: 0;
  line-height: 1;
  text-transform: uppercase;
}

.site-brand.ahc-site-brand-logo .ahc-site-wordmark-top {
  color: var(--ahc-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-brand.ahc-site-brand-logo .ahc-site-wordmark strong {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.ahc > *,
.ahc-split > *,
.ahc-band > *,
.ahc-pagehead > *,
.ahc-legal-page > * {
  min-width: 0;
}

.ahc h1,
.ahc h2,
.ahc h3,
.ahc p,
.ahc li,
.ahc strong,
.ahc span {
  overflow-wrap: anywhere;
}

.ahc-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  padding: clamp(58px, 6vw, 88px) clamp(48px, 6vw, 92px) clamp(80px, 8vw, 110px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.94) 0%, rgba(7, 12, 17, 0.72) 42%, rgba(7, 12, 17, 0.15) 100%),
    url("images/aviator-hamburg-hero.webp?v=0.4.33-perf") center / cover no-repeat;
  overflow: hidden;
}

.ahc-hero > div {
  max-width: min(100%, 1040px);
}

.ahc-hero > div > p:not(.ahc-kicker) {
  max-width: 760px;
}

.ahc-hero-title {
  display: flex;
  gap: clamp(24px, 2.2vw, 34px);
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  margin-bottom: 22px;
}

.ahc-hero-title-copy {
  min-width: 0;
}

.ahc-hero-title .ahc-kicker {
  margin-bottom: 10px;
}

.ahc .ahc-hero-title h1 {
  margin-bottom: 0;
  white-space: nowrap;
}

.ahc-hero-logo {
  display: block;
  align-self: flex-start;
  width: auto;
  min-width: 0;
  max-width: none;
  height: clamp(104px, 9.5vw, 122px);
  object-fit: contain;
  margin: 0;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.ahc h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
}

.ahc h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.ahc-band {
  padding: clamp(42px, 5vw, 56px) clamp(20px, 6vw, 72px);
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-band-alt {
  padding-top: clamp(34px, 4vw, 46px);
}

.ahc p {
  color: var(--ahc-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ahc-kicker {
  margin: 0 0 12px;
  color: var(--ahc-warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ahc-button,
.ahc-login input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ahc-accent);
  border-radius: 6px;
  background: var(--ahc-accent);
  color: #041017;
  font-weight: 800;
  text-decoration: none;
}

.ahc-button-alt {
  background: transparent;
  color: var(--ahc-ink);
}

.ahc-band .ahc-button-alt,
.ahc-split .ahc-button-alt,
.ahc-pagehead .ahc-button-alt,
.ahc-profile .ahc-button-alt,
.ahc-card .ahc-button-alt,
.ahc-login .ahc-button-alt,
.ahc-career-rewards .ahc-button-alt,
.ahc-legal-page .ahc-button-alt {
  color: var(--ahc-dark-text);
}

.ahc-button-light {
  color: var(--ahc-dark-text);
}

.ahc-card .ahc-button-light {
  color: #f8fafc;
}

.ahc-card .ahc-button-light:hover {
  background: rgba(63, 180, 216, 0.14);
}

.ahc-button-secondary {
  border-color: #3fb4d8;
  background: #ffffff;
  color: #101820;
}

.ahc-button-danger {
  border-color: #b45309;
  background: #b45309;
  color: #ffffff;
}

.ahc-button-admin {
  border-color: var(--ahc-warm);
  background: var(--ahc-warm);
  color: #101820;
}

.ahc-button-service-status {
  color: #ffffff;
  border-color: transparent;
}

.ahc-button-service-status.is-hot {
  background: #b91c1c;
  box-shadow: 0 0 0 5px rgba(185, 28, 28, 0.14), 0 10px 24px rgba(185, 28, 28, 0.22);
}

.ahc-button-service-status.is-cool {
  background: #15803d;
  box-shadow: 0 0 0 5px rgba(21, 128, 61, 0.12), 0 10px 24px rgba(21, 128, 61, 0.18);
}

.ahc-profile-efb-download,
.ahc-profile-downloads {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ahc-soft-text);
}

.ahc-profile-downloads {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 12px;
  align-items: stretch;
  margin-top: 0;
}

.ahc-profile-download-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 86px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--ahc-accent);
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 18px 38px rgba(4, 12, 20, 0.2);
}

.ahc-profile-download-item small {
  font-size: 12px;
  color: #b8c2cf;
}

.ahc-profile-download-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ahc-profile-efb-download a,
.ahc-profile-downloads a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(57, 185, 223, 0.55);
  background: rgba(57, 185, 223, 0.08);
  color: #16364a;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.ahc-profile-download-primary a {
  border-color: var(--ahc-cyan);
  background: var(--ahc-cyan);
  color: #071018;
}

.ahc-profile-efb-download a:hover,
.ahc-profile-downloads a:hover {
  border-color: var(--ahc-cyan);
  background: rgba(57, 185, 223, 0.18);
}

.ahc-profile-download-primary a:hover {
  background: #65d6f4;
}

.ahc-profile-download-primary a.ahc-profile-download-secondary {
  border-color: rgba(57, 185, 223, 0.55);
  background: rgba(57, 185, 223, 0.08);
  color: #16364a;
}

.ahc-profile-download-primary a.ahc-profile-download-secondary:hover {
  border-color: var(--ahc-cyan);
  background: rgba(57, 185, 223, 0.18);
}

@media (max-width: 760px) {
  .ahc-profile-downloads {
    grid-template-columns: 1fr;
  }
}

.ahc-button-simbrief {
  border-color: #101820;
  background: #101820;
  color: #f8fafc;
}

.ahc-button-disabled,
.ahc-button:disabled {
  border-color: #94a3b8;
  background: #cbd5df;
  color: #475569;
  cursor: not-allowed;
}

.ahc-button-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.ahc-muted {
  color: var(--ahc-soft-text);
}

.ahc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin: 24px 0;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar article {
  min-width: 0;
  min-height: 86px;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar article.is-alert {
  border-left-color: #d7a650;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar strong {
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.08;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.25;
}

.ahc-stats {
  padding: 28px clamp(20px, 6vw, 72px);
  background: #0c1218;
}

.ahc-stats article,
.ahc-profile article {
  border-left: 3px solid var(--ahc-accent);
  padding: 18px 20px;
  background: var(--ahc-panel);
}

.ahc-stats strong,
.ahc-profile strong {
  display: block;
  color: var(--ahc-ink);
  font-size: 28px;
}

.ahc-stats span,
.ahc-profile span {
  color: var(--ahc-muted);
}

.ahc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(42px, 5vw, 56px) clamp(20px, 6vw, 72px);
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-split p,
.ahc-pagehead p {
  color: var(--ahc-soft-text);
}

.ahc-pagehead,
.ahc-profile {
  padding: 64px clamp(20px, 6vw, 72px) 24px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-profile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 760px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.ahc-profile-title {
  min-width: 0;
}

.ahc-profile-rank-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  justify-self: end;
  width: 100%;
  max-width: 760px;
  padding: 0;
  color: var(--ahc-dark-text);
}

.ahc-profile-certificate-badge {
  display: block;
  justify-self: end;
  width: 132px;
  max-width: 132px;
  border-radius: 8px;
  outline-offset: 4px;
}

.ahc-profile-certificate-badge img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 132px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(4, 12, 20, 0.16);
}

.ahc-profile-rank-copy {
  min-width: 0;
}

.ahc-profile-rank-line {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding-top: 6px;
  border-top: 3px solid var(--ahc-ink);
}

.ahc-profile-rank-copy .ahc-kicker {
  margin: 0;
  color: #667486;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.ahc-profile-rank-copy strong {
  display: block;
  color: var(--ahc-dark-text);
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.ahc-profile-rank-copy strong span {
  color: var(--ahc-accent);
  font-size: 13px;
}

.ahc-profile-rank-copy p:not(.ahc-kicker),
.ahc-profile-rank-copy small {
  color: #667486;
}

.ahc-profile-rank-copy p:not(.ahc-kicker) {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.ahc-profile-rank-header .ahc-rank-progress {
  height: 8px;
  margin-top: 10px;
  background: rgba(16, 24, 32, 0.13);
  border-radius: 999px;
}

.ahc-profile-rank-copy small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.2;
}

.ahc-pagehead {
  max-width: none;
}

.ahc-pagehead > * {
  width: min(100%, 1280px);
  max-width: none;
}

.ahc-shift-pagehead {
  padding-bottom: 34px;
  text-align: left;
}

.ahc-shift-pagehead > * {
  width: min(100%, 1280px);
  max-width: none;
  margin-left: 0;
  margin-right: auto;
}

.ahc-shift-pagehead h1 {
  max-width: none;
  margin-bottom: 18px;
}

.ahc-shift-pilot-name {
  display: inline-block;
  white-space: nowrap;
}

.ahc-shift-pagehead p:not(.ahc-kicker) {
  max-width: none;
}

.ahc-card {
  padding: 22px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-card p,
.ahc-card li {
  color: var(--ahc-soft-text);
  font-size: 15px;
  line-height: 1.55;
}

.ahc-card p {
  margin: 0 0 10px;
}

.ahc-card > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.22;
}

.ahc-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.ahc-mission {
  margin-bottom: 12px;
}

.ahc-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  align-items: start;
  gap: 18px;
}

.ahc-mission strong,
.ahc-mission span {
  display: block;
}

.ahc-mission-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.ahc-mission-meta .ahc-meta-wide {
  grid-column: 1 / -1;
}

.ahc-mission-meta span {
  padding: 10px 12px;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ahc-dark-text);
}

.ahc-mission-meta b {
  display: block;
  margin-bottom: 3px;
  color: var(--ahc-muted-text);
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-mission-meta select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-dispatch-context-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.ahc-dispatch-context-list span {
  display: block;
  padding: 10px 12px;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-dispatch-context-list b {
  display: block;
  margin-bottom: 3px;
  color: var(--ahc-muted-text);
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-mission-reservation {
  display: block;
}

.ahc-mission ol {
  margin: 14px 0;
  padding-left: 20px;
  color: var(--ahc-soft-text);
}

.ahc-mission-action {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ahc-aircraft-select {
  display: grid;
  gap: 6px;
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-aircraft-select select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-fixed-aircraft {
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
  font-size: 14px;
  font-weight: 800;
}

.ahc-shift-card {
  max-width: 980px;
}

.ahc-shift-page {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.ahc-shift-page > * {
  width: min(100%, 1280px);
}

.ahc-shift-page .ahc-shift-card {
  width: 100%;
  max-width: none;
}

.ahc-shift-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ahc-shift-form label {
  display: grid;
  gap: 6px;
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-shift-form select,
.ahc-shift-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-shift-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.ahc-shift-stats span {
  padding: 10px 12px;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ahc-dark-text);
}

.ahc-shift-stats b {
  display: block;
  margin-bottom: 3px;
  color: var(--ahc-muted-text);
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-shift-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 16px;
}

.ahc-shift-timer span {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #38b6df;
  border-radius: 6px;
  background: #eef9fd;
  color: var(--ahc-dark-text);
}

.ahc-shift-timer b {
  display: block;
  margin-bottom: 3px;
  color: var(--ahc-muted-text);
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-shift-timer em {
  font-style: normal;
  font-weight: 800;
}

.ahc-shift-timer.is-ended span {
  border-color: #c55200;
  background: #fff4ea;
}

.ahc-shift-offer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce4ec;
}

.ahc-route-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin: 12px 0 14px;
}

.ahc-route-point {
  display: inline-grid;
  min-width: 110px;
  padding: 9px 12px;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ahc-dark-text);
}

.ahc-route-point b {
  font-size: 15px;
  line-height: 1.15;
}

.ahc-route-point small {
  margin-top: 2px;
  color: var(--ahc-soft-text);
  font-size: 11px;
  line-height: 1.25;
}

.ahc-route-arrow {
  align-self: center;
  color: var(--ahc-muted-text);
  font-weight: 800;
}

.ahc-shift-assignment-overview {
  display: grid;
  grid-template-columns: minmax(128px, 0.65fr) minmax(260px, 2.35fr);
  gap: 8px;
  align-items: stretch;
  margin: 12px 0 14px;
}

.ahc-shift-assignment-overview > span,
.ahc-shift-assignment-route {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-shift-assignment-overview b {
  display: block;
  margin-bottom: 5px;
  color: #8fa1b4;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.ahc-shift-assignment-status {
  text-align: right;
}

.ahc-shift-assignment-overview .ahc-route-flow {
  margin: 0;
}

.ahc-shift-assignment-overview .ahc-route-point {
  min-width: 92px;
  padding: 7px 9px;
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(7, 12, 17, 0.24);
  color: #f8fafc;
}

.ahc-shift-assignment-overview .ahc-route-point small,
.ahc-shift-assignment-overview .ahc-route-arrow {
  color: rgba(226, 232, 240, 0.76);
}

@media (max-width: 860px) {
  .ahc-shift-assignment-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .ahc-shift-assignment-status {
    text-align: left;
  }
}

.ahc-dispatch-brief {
  margin-top: 14px;
}

.ahc-dispatch-brief > strong {
  display: block;
  margin-bottom: 8px;
}

.ahc-assignment-dossier {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-left: 4px solid #3fb4d8;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10, 25, 35, 0.92), rgba(23, 34, 46, 0.94));
  color: #f8fafc;
}

.ahc-assignment-dossier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ahc-assignment-dossier-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ahc-assignment-dossier-head span,
.ahc-assignment-dossier-grid article > span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-assignment-dossier-head strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.16;
}

.ahc-assignment-dossier-head p,
.ahc-assignment-dossier-grid p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.ahc-assignment-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.ahc-assignment-dossier-grid article {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  overflow-wrap: anywhere;
}

.ahc-assignment-dossier-grid .is-wide {
  grid-column: 1 / -1;
}

.ahc-assignment-dossier-grid strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

@media (max-width: 740px) {
  .ahc-assignment-dossier-head {
    align-items: stretch;
    flex-direction: column;
  }
}

.ahc-dispatch-ampel {
  display: block;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(63, 180, 216, 0.34);
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: rgba(63, 180, 216, 0.08);
  color: var(--ahc-dark-text);
}

.ahc-dispatch-ampel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
}

.ahc-dispatch-ampel summary::-webkit-details-marker {
  display: none;
}

.ahc-dispatch-ampel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.ahc-dispatch-ampel[open] summary::after {
  content: "-";
}

.ahc-dispatch-ampel summary > div,
.ahc-dispatch-ampel-body {
  display: grid;
  gap: 4px;
}

.ahc-dispatch-ampel-body {
  margin-top: 10px;
}

.ahc-dispatch-ampel:not([open]) > .ahc-dispatch-ampel-body {
  display: none;
}

.ahc-dispatch-ampel[open] > .ahc-dispatch-ampel-body {
  display: grid;
}

.ahc-dispatch-ampel span {
  color: var(--ahc-soft-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-dispatch-ampel strong {
  color: var(--ahc-dark-text);
  font-size: 18px;
  line-height: 1.2;
}

.ahc-dispatch-ampel p {
  margin: 0;
  color: var(--ahc-soft-text);
  font-size: 14px;
  line-height: 1.45;
}

.ahc-dispatch-ampel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.ahc-dispatch-ampel li {
  margin: 0;
  color: var(--ahc-soft-text);
  font-size: 13px;
  line-height: 1.4;
}

.ahc-dispatch-ampel.is-good {
  border-color: rgba(34, 197, 94, 0.72);
  border-left-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.08));
}

.ahc-dispatch-ampel.is-caution {
  border-color: rgba(234, 179, 8, 0.78);
  border-left-color: #eab308;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(234, 179, 8, 0.08));
}

.ahc-dispatch-ampel.is-blocked {
  border-color: rgba(239, 68, 68, 0.78);
  border-left-color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(239, 68, 68, 0.08));
}

.ahc-card .ahc-dispatch-ampel,
.ahc-profile-status-grid .ahc-dispatch-ampel {
  color: var(--ahc-dark-text);
}

.ahc-mission-brief {
  padding: 12px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fafc;
}

.ahc-load-manifest {
  margin: 14px 0;
  border: 1px solid rgba(63, 180, 216, 0.35);
  border-radius: 8px;
  background: rgba(15, 27, 38, 0.72);
  color: #f6fbff;
  overflow: hidden;
}

.ahc-load-manifest summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.ahc-load-manifest summary::-webkit-details-marker {
  display: none;
}

.ahc-load-manifest summary span {
  display: grid;
  gap: 3px;
}

.ahc-load-manifest summary b {
  font-size: 17px;
}

.ahc-load-manifest summary small,
.ahc-load-manifest small {
  color: #b8c8d8;
  font-size: 12px;
  line-height: 1.35;
}

.ahc-load-manifest summary strong {
  color: #bceeff;
  font-size: 18px;
  white-space: nowrap;
}

.ahc-medical-manifest-label {
  justify-self: start;
  padding: 3px 7px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 999px;
  background: rgba(63, 180, 216, 0.14);
  color: #7dd3fc;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ahc-load-manifest-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.ahc-load-manifest-head,
.ahc-load-manifest-meta,
.ahc-load-operation,
.ahc-load-manifest-totals,
.ahc-load-sheet {
  display: grid;
  gap: 10px;
}

.ahc-load-manifest-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding-top: 2px;
}

.ahc-load-manifest-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.ahc-load-manifest-head p {
  margin: 6px 0 0;
  color: #dceaf5;
  line-height: 1.45;
}

.ahc-load-manifest-meta,
.ahc-load-operation,
.ahc-load-manifest-totals,
.ahc-load-sheet {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ahc-load-manifest-meta span,
.ahc-load-operation span,
.ahc-load-manifest-totals span,
.ahc-load-sheet span,
.ahc-load-cargo-list span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(220, 234, 245, 0.15);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-load-operation .is-wide {
  grid-column: 1 / -1;
}

.ahc-load-manifest-meta b,
.ahc-load-operation b,
.ahc-load-manifest-totals b,
.ahc-load-sheet b,
.ahc-load-cargo-list b {
  color: #bceeff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-load-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.ahc-load-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #40b9df, #7ed7b9);
}

.ahc-load-bar.is-critical span {
  background: linear-gradient(90deg, #d7a650, #d65454);
}

.ahc-load-bar.is-monitor span {
  background: linear-gradient(90deg, #40b9df, #d7a650);
}

.ahc-load-sheet {
  padding-top: 2px;
}

.ahc-load-sheet span {
  background: rgba(64, 185, 223, 0.08);
}

.ahc-load-manifest-medical {
  border-color: rgba(125, 211, 252, 0.42);
  background: linear-gradient(180deg, rgba(12, 31, 43, 0.92), rgba(15, 27, 38, 0.82));
}

.ahc-load-manifest-medical summary {
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
}

.ahc-medical-patient-sheet {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(63, 180, 216, 0.06);
}

.ahc-medical-patient-sheet .ahc-medical-patient-heading {
  border-color: rgba(125, 211, 252, 0.28);
  background: linear-gradient(135deg, rgba(63, 180, 216, 0.16), rgba(215, 166, 80, 0.08));
  color: #f8fafc;
  font-weight: 900;
}

.ahc-load-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(220, 234, 245, 0.15);
  border-radius: 8px;
}

.ahc-load-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ahc-load-table th,
.ahc-load-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(220, 234, 245, 0.12);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.ahc-load-table th:nth-child(1),
.ahc-load-table td:nth-child(1) {
  width: 30%;
}

.ahc-load-table th:nth-child(2),
.ahc-load-table td:nth-child(2),
.ahc-load-table th:nth-child(3),
.ahc-load-table td:nth-child(3),
.ahc-load-table th:nth-child(4),
.ahc-load-table td:nth-child(4) {
  width: 13%;
}

.ahc-load-table th:nth-child(5),
.ahc-load-table td:nth-child(5) {
  width: 31%;
}

.ahc-load-table th {
  color: #bceeff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-load-table td strong,
.ahc-load-table td small {
  display: block;
}

.ahc-load-cargo-list {
  display: grid;
  gap: 8px;
}

.ahc-load-cargo-list > strong {
  color: #ffffff;
}

.ahc-manifest-print-page {
  max-width: 980px;
  margin: 24px auto;
}

.ahc-manifest-print-root {
  display: none;
}

.ahc-manifest-print-body {
  background: #ffffff;
}

.ahc-manifest-print-body .ahc-load-manifest {
  background: #ffffff;
  color: #101820;
}

.ahc-manifest-print-body .ahc-load-manifest * {
  color: inherit;
}

.ahc-manifest-print-body .ahc-assignment-dossier,
.ahc-manifest-print-body .ahc-medical-dossier {
  border: 0;
  background: #ffffff;
  color: #101820;
}

.ahc-manifest-print-body .ahc-assignment-dossier *,
.ahc-manifest-print-body .ahc-medical-dossier * {
  color: inherit;
}

.ahc-manifest-print-body [data-ahc-print-manifest],
.ahc-manifest-print-body [data-ahc-print-dossier] {
  display: none;
}

@media (max-width: 760px) {
  .ahc-load-manifest-head {
    grid-template-columns: 1fr;
  }

  .ahc-load-table th,
  .ahc-load-table td {
    padding: 8px;
    font-size: 12px;
  }
}

@media print {
  body.ahc-manifest-printing {
    background: #ffffff !important;
  }

  body.ahc-manifest-printing > *:not(.ahc-manifest-print-root) {
    display: none !important;
  }

  body.ahc-manifest-printing .ahc-manifest-print-root {
    display: block !important;
    color: #101820 !important;
    background: #ffffff !important;
  }

  body.ahc-manifest-printing .ahc-manifest-print-page {
    max-width: none;
    margin: 0;
    color: #101820 !important;
    font-family: Arial, sans-serif;
  }

  body.ahc-manifest-printing .ahc-load-manifest {
    margin: 0;
    border: 0;
    background: #ffffff !important;
    color: #101820 !important;
    overflow: visible;
  }

  body.ahc-manifest-printing .ahc-load-manifest * {
    color: inherit !important;
  }

  body.ahc-manifest-printing .ahc-assignment-dossier,
  body.ahc-manifest-printing .ahc-medical-dossier {
    margin: 0;
    border: 0;
    background: #ffffff !important;
    color: #101820 !important;
  }

  body.ahc-manifest-printing .ahc-assignment-dossier *,
  body.ahc-manifest-printing .ahc-medical-dossier * {
    color: inherit !important;
  }

  body.ahc-manifest-printing .ahc-assignment-dossier-grid article,
  body.ahc-manifest-printing .ahc-medical-dossier-meta span,
  body.ahc-manifest-printing .ahc-medical-dossier-grid article {
    border: 1px solid #d6dde6 !important;
    background: #f7fafc !important;
  }

  body.ahc-manifest-printing .ahc-load-manifest summary {
    padding: 0 0 12px;
    cursor: default;
  }

  body.ahc-manifest-printing .ahc-load-manifest-body {
    padding: 0;
  }

  body.ahc-manifest-printing .ahc-load-table {
    width: 100%;
    border-collapse: collapse;
  }

  body.ahc-manifest-printing .ahc-load-table th,
  body.ahc-manifest-printing .ahc-load-table td {
    border-bottom: 1px solid #d6dde6;
    padding: 7px 8px;
    text-align: left;
  }

  .ahc-manifest-print-body [data-ahc-print-manifest],
  .ahc-manifest-print-body [data-ahc-print-dossier] {
    display: none !important;
  }

  body.ahc-manifest-printing [data-ahc-print-manifest],
  body.ahc-manifest-printing [data-ahc-print-dossier] {
    display: none !important;
  }
}

.ahc-brief-summary,
.ahc-brief-note {
  margin: 0 0 10px;
  color: var(--ahc-dark-text);
  line-height: 1.45;
}

.ahc-brief-note {
  color: var(--ahc-soft-text);
}

.ahc-leg-list li.is-optional {
  border-style: dashed;
}

.ahc-shift-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, max-content));
  gap: 12px;
  margin-top: 16px;
}

.ahc-shift-actions .ahc-button {
  width: 100%;
  min-width: 230px;
  white-space: normal;
}

.ahc-shift-end {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce4ec;
}

.ahc-shift-end-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce4ec;
}

.ahc-shift-end-options .ahc-shift-end {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ahc-shift-end-options .ahc-button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
  padding-left: 12px;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
}

@media (max-width: 920px) {
  .ahc-shift-end-options {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.ahc-shift-abort {
  margin-top: 14px;
}

.ahc-fuel-badge {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 54px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 6px;
  background: rgba(15, 23, 32, 0.76);
  color: #e8f6ff;
  line-height: 1.1;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.ahc-fuel-badge b {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ahc-fuel-badge small {
  display: none;
  margin-top: 0;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.04;
  opacity: 0.78;
  white-space: nowrap;
}

.ahc-fuel-badge.is-warning {
  border-color: rgba(250, 204, 21, 0.58);
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
}

.ahc-fuel-badge.is-critical {
  border-color: rgba(248, 113, 113, 0.58);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.ahc-fuel-badge.is-unknown {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.ahc-shift-card .ahc-fuel-badge,
.ahc-airline-active .ahc-fuel-badge,
.ahc-airline-week-aircraft .ahc-fuel-badge,
.ahc-fuel-economy-panel .ahc-fuel-badge {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
}

.ahc-shift-card .ahc-fuel-badge.is-warning,
.ahc-airline-active .ahc-fuel-badge.is-warning,
.ahc-airline-week-aircraft .ahc-fuel-badge.is-warning,
.ahc-fuel-economy-panel .ahc-fuel-badge.is-warning {
  border-color: rgba(250, 204, 21, 0.55);
  color: #fde68a;
}

.ahc-shift-card .ahc-fuel-badge.is-critical,
.ahc-airline-active .ahc-fuel-badge.is-critical,
.ahc-airline-week-aircraft .ahc-fuel-badge.is-critical,
.ahc-fuel-economy-panel .ahc-fuel-badge.is-critical {
  border-color: rgba(248, 113, 113, 0.58);
  color: #fecaca;
}

.ahc-airline-week-aircraft .ahc-fuel-badge {
  display: inline-flex !important;
  width: 124px;
  min-width: 124px;
  max-width: 124px;
  margin-top: 8px;
  justify-content: center;
  padding-right: 8px;
  padding-left: 8px;
  white-space: nowrap;
}

.ahc-airline-week-aircraft .ahc-fuel-badge b::after {
  content: " Treibstoff";
}

.ahc-fuel-economy-panel {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 6px;
  background: rgba(15, 23, 32, 0.42);
  color: #f8fafc;
}

.ahc-fuel-economy-panel b {
  display: block;
  margin-bottom: 6px;
  color: #bfdbfe;
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-fuel-event-list {
  display: grid;
  gap: 6px;
}

.ahc-fuel-event-list span {
  display: block;
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.ahc-fuel-session {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 6px;
  background: rgba(2, 8, 18, 0.22);
  overflow: hidden;
}

.ahc-fuel-session summary {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  cursor: pointer;
  list-style: none;
}

.ahc-fuel-session summary::-webkit-details-marker {
  display: none;
}

.ahc-fuel-session summary strong {
  color: #f8fafc;
  font-size: 13px;
}

.ahc-fuel-session summary small {
  color: rgba(203, 213, 225, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.ahc-fuel-session-parts {
  padding: 0 10px 9px;
  color: rgba(203, 213, 225, 0.78);
  font-size: 11px;
  line-height: 1.45;
}

.ahc-economy-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ahc-economy-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.ahc-economy-head h3 {
  margin: 0 0 6px;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.2;
}

.ahc-economy-head p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
}

.ahc-economy-summary,
.ahc-economy-meta {
  display: grid;
  gap: 8px;
}

.ahc-economy-summary {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  min-width: min(520px, 100%);
}

.ahc-economy-summary span,
.ahc-economy-meta span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8fafc;
  font-weight: 900;
  line-height: 1.15;
}

.ahc-economy-summary b,
.ahc-economy-meta b {
  display: block;
  margin-bottom: 4px;
  color: #bfdbfe;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-economy-empty {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.08);
  color: rgba(226, 232, 240, 0.86);
}

.ahc-economy-invoices {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ahc-economy-invoice {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.ahc-economy-invoice summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  cursor: pointer;
  color: #f8fafc;
  font-weight: 900;
}

.ahc-economy-invoice summary small {
  display: block;
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.ahc-economy-meta {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 14px 12px;
}

.ahc-economy-table-wrap {
  margin: 0 14px 12px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.ahc-economy-table {
  width: 100%;
  border-collapse: collapse;
  color: #f8fafc;
  font-size: 13px;
}

.ahc-economy-table th,
.ahc-economy-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.ahc-economy-table th {
  background: rgba(255, 255, 255, 0.07);
  color: #bfdbfe;
  font-size: 11px;
  text-transform: uppercase;
}

.ahc-economy-table td:last-child {
  text-align: right;
  font-weight: 900;
  white-space: nowrap;
}

.ahc-economy-table small {
  display: block;
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.68);
  font-size: 11px;
  font-weight: 700;
}

.ahc-economy-table .is-cost td:last-child {
  color: #fecaca;
}

.ahc-economy-table .is-revenue td:last-child {
  color: #bbf7d0;
}

.ahc-economy-sources {
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 6px;
  background: rgba(15, 23, 32, 0.46);
}

.ahc-economy-sources strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fafc;
}

.ahc-economy-sources ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ahc-economy-sources a,
.ahc-economy-sources span {
  color: #7dd3fc;
  font-weight: 900;
  text-decoration: none;
}

.ahc-economy-sources small {
  display: block;
  margin-top: 2px;
  color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 900px) {
  .ahc-economy-head {
    grid-template-columns: 1fr;
  }

  .ahc-economy-summary,
  .ahc-economy-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-fuel-economy-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ahc-economy-summary,
  .ahc-economy-meta {
    grid-template-columns: 1fr;
  }

  .ahc-economy-invoice summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.ahc-economy-page {
  padding: clamp(34px, 4vw, 52px) clamp(18px, 5vw, 60px);
  background:
    linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-economy-pagehead {
  position: relative;
  min-height: clamp(280px, 24vw, 390px);
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(54px, 7vw, 88px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 42%, rgba(7, 12, 17, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.08) 0%, rgba(10, 18, 25, 0.88) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-economy-pagehead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.7), rgba(215, 166, 80, 0.12), transparent);
}

.ahc-economy-pagehead h1 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.ahc-economy-pagehead p:not(.ahc-kicker) {
  max-width: 820px;
  color: rgba(226, 232, 240, 0.84);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
}

.ahc-economy-dashboard,
.ahc-economy-flights-panel {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-economy-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.ahc-economy-ledger-panel,
.ahc-economy-flights-panel,
.ahc-economy-balance-card,
.ahc-economy-account-list,
.ahc-economy-stat-grid {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-economy-ledger-panel,
.ahc-economy-flights-panel {
  padding: 18px;
}

.ahc-economy-flights-panel {
  margin-top: 18px;
}

.ahc-economy-side-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ahc-economy-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ahc-economy-section-head h2,
.ahc-economy-account-list h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.15;
}

.ahc-economy-section-head > span,
.ahc-economy-section-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(215, 166, 80, 0.34);
  border-radius: 6px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.ahc-economy-section-tools {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.ahc-economy-list-toggle {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 252, 0.54);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.14);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.ahc-economy-list-toggle:hover,
.ahc-economy-list-toggle:focus {
  border-color: rgba(125, 211, 252, 0.86);
  background: rgba(63, 180, 216, 0.22);
  color: #ffffff;
}

.ahc-economy-balance-card {
  padding: 18px;
  border-color: rgba(63, 180, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(63, 180, 216, 0.2), rgba(215, 166, 80, 0.1)),
    rgba(255, 255, 255, 0.055);
}

.ahc-economy-balance-card span,
.ahc-economy-balance-card small,
.ahc-economy-stat-grid b,
.ahc-economy-account-list small,
.ahc-economy-page-table small,
.ahc-economy-detail-table small {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-economy-balance-card span,
.ahc-economy-stat-grid b {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-economy-balance-card strong {
  display: block;
  color: #f8fafc;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1;
}

.ahc-economy-balance-card small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
}

.ahc-economy-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.ahc-economy-stat-grid span {
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
}

.ahc-economy-account-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.ahc-economy-account-list h3 {
  font-size: 18px;
}

.ahc-economy-account-list p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
}

.ahc-economy-account-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ahc-economy-account-list b,
.ahc-economy-account-list strong {
  color: #f8fafc;
}

.ahc-economy-page-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.ahc-economy-ledger-panel .ahc-economy-page-table-wrap {
  overflow-x: visible;
}

.ahc-economy-page-table,
.ahc-economy-detail-table {
  width: 100%;
  border-collapse: collapse;
  color: #f8fafc;
  font-size: 13px;
}

.ahc-economy-ledger-table {
  min-width: 0;
  table-layout: fixed;
}

.ahc-economy-ledger-table th:nth-child(1),
.ahc-economy-ledger-table td:nth-child(1) {
  width: 18%;
}

.ahc-economy-ledger-table th:nth-child(2),
.ahc-economy-ledger-table td:nth-child(2) {
  width: 15%;
}

.ahc-economy-ledger-table th:nth-child(3),
.ahc-economy-ledger-table td:nth-child(3) {
  width: 47%;
}

.ahc-economy-ledger-table th:nth-child(4),
.ahc-economy-ledger-table td:nth-child(4) {
  width: 20%;
}

.ahc-economy-flight-table {
  min-width: 920px;
}

.ahc-economy-page-table th,
.ahc-economy-page-table td,
.ahc-economy-detail-table th,
.ahc-economy-detail-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.ahc-economy-ledger-table th,
.ahc-economy-ledger-table td {
  padding-right: 8px;
  padding-left: 8px;
  overflow-wrap: anywhere;
}

.ahc-economy-page-table th,
.ahc-economy-detail-table th {
  background: rgba(255, 255, 255, 0.07);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-economy-page-table tbody tr:nth-child(even) td,
.ahc-economy-detail-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.035);
}

.ahc-economy-page-table td:last-child,
.ahc-economy-detail-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.ahc-economy-page-table td.ahc-economy-empty-row {
  color: rgba(226, 232, 240, 0.78);
  font-weight: 800;
  text-align: left;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ahc-economy-page-table strong,
.ahc-economy-detail-table strong,
.ahc-economy-date strong {
  display: block;
  color: #f8fafc;
  font-weight: 900;
  line-height: 1.2;
}

.ahc-economy-page-table small,
.ahc-economy-detail-table small,
.ahc-economy-date small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.ahc-economy-date {
  display: grid;
  gap: 1px;
}

.ahc-economy-type {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-economy-type.is-revenue,
.ahc-economy-page-table .is-revenue,
.ahc-economy-detail-table .is-revenue td:last-child,
.ahc-economy-account-list .is-revenue {
  color: #bbf7d0;
}

.ahc-economy-type.is-cost,
.ahc-economy-page-table .is-cost,
.ahc-economy-detail-table .is-cost td:last-child,
.ahc-economy-account-list .is-cost {
  color: #fecaca;
}

.ahc-economy-type.is-revenue {
  border: 1px solid rgba(187, 247, 208, 0.22);
  background: rgba(34, 197, 94, 0.1);
}

.ahc-economy-type.is-cost {
  border: 1px solid rgba(254, 202, 202, 0.25);
  background: rgba(239, 68, 68, 0.1);
}

.ahc-economy-flight-detail {
  min-width: 230px;
}

.ahc-economy-flight-detail summary {
  cursor: pointer;
  color: #7dd3fc;
  font-weight: 900;
}

.ahc-economy-flight-detail-body {
  display: grid;
  gap: 10px;
  min-width: 520px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 32, 0.72);
}

.ahc-economy-flight-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ahc-economy-flight-detail-meta span {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-weight: 900;
}

.ahc-economy-flight-detail-meta b {
  display: block;
  margin-bottom: 3px;
  color: #bfdbfe;
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .ahc-economy-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ahc-economy-page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-economy-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ahc-economy-stat-grid,
  .ahc-economy-flight-detail-meta {
    grid-template-columns: 1fr;
  }

  .ahc-economy-flight-detail-body {
    min-width: 0;
  }
}

.ahc-inline-form {
  margin: 0;
}

.ahc-shift-history {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  min-height: 100%;
}

.ahc-shift-history .ahc-table-wrap {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
}

.ahc-shift-history .ahc-table {
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-business-history .ahc-table {
  min-width: 0;
}

.ahc-shift-history .ahc-table th,
.ahc-shift-history .ahc-table td {
  padding: 10px 12px;
  vertical-align: middle;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ahc-shift-history .ahc-table th {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.ahc-shift-history .ahc-table td {
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-shift-history .ahc-table td small {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.ahc-shift-history .ahc-table th:nth-child(1),
.ahc-shift-history .ahc-table td:nth-child(1) {
  width: 27%;
}

.ahc-shift-history .ahc-table th:nth-child(2),
.ahc-shift-history .ahc-table td:nth-child(2) {
  width: 20%;
}

.ahc-shift-history .ahc-table th:nth-child(n+3),
.ahc-shift-history .ahc-table td:nth-child(n+3) {
  width: 13%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ahc-shift-history .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-business-history .ahc-table th:nth-child(1),
.ahc-business-history .ahc-table td:nth-child(1) {
  width: 19%;
}

.ahc-business-history .ahc-table th:nth-child(2),
.ahc-business-history .ahc-table td:nth-child(2) {
  width: 19%;
}

.ahc-business-history .ahc-table th:nth-child(3),
.ahc-business-history .ahc-table td:nth-child(3) {
  width: 9%;
}

.ahc-business-history .ahc-table th:nth-child(4),
.ahc-business-history .ahc-table td:nth-child(4) {
  width: 12%;
}

.ahc-business-history .ahc-table th:nth-child(5),
.ahc-business-history .ahc-table td:nth-child(5) {
  width: 10%;
}

.ahc-business-history .ahc-table th:nth-child(6),
.ahc-business-history .ahc-table td:nth-child(6) {
  width: 32%;
}

.ahc-business-history .ahc-table th,
.ahc-business-history .ahc-table td {
  padding-right: 8px;
  padding-left: 8px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ahc-business-history .ahc-shift-ended,
.ahc-business-history .ahc-shift-revenue {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ahc-business-history .ahc-shift-ended {
  align-items: flex-start;
  gap: 2px;
}

.ahc-business-history .ahc-shift-ended strong,
.ahc-business-history .ahc-shift-points {
  display: block;
  color: #f8fafc;
  font-weight: 900;
  line-height: 1.15;
}

.ahc-business-history .ahc-shift-ended small {
  margin-top: 0;
  color: rgba(226, 232, 240, 0.78);
}

.ahc-business-history .ahc-shift-revenue {
  align-items: center;
  gap: 2px;
  margin-top: 5px;
}

.ahc-business-history .ahc-shift-revenue span {
  color: rgba(226, 232, 240, 0.82);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.ahc-business-history .ahc-shift-revenue strong {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

body.ahc-efb-mode {
  background: #0f1720;
}

body.ahc-efb-mode #wpadminbar,
body.ahc-efb-mode .site-header,
body.ahc-efb-mode .site-footer,
body.ahc-efb-mode header:not(.ahc-efb-header),
body.ahc-efb-mode footer:not(.ahc-efb-footer) {
  display: none !important;
}

html:has(body.ahc-efb-mode) {
  margin-top: 0 !important;
}

.ahc-efb-shell {
  min-height: 100vh;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(63, 180, 216, 0.18), transparent 34%),
    #0f1720;
  color: #f8fafc;
}

.ahc-efb-header,
.ahc-efb-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.ahc-efb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ahc-efb-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.ahc-efb-header p {
  margin: 4px 0 0;
  color: #b8c2cf;
}

.ahc-efb-header .ahc-kicker {
  color: #3fb4d8;
}

.ahc-efb-notices {
  width: min(100%, 1180px);
  margin: 14px auto 0;
}

.ahc-efb-main {
  width: min(100%, 1180px);
  margin: 16px auto 0;
}

.ahc-efb-main .ahc-shift-card,
.ahc-efb-login {
  width: 100%;
  max-width: none;
  border-color: rgba(63, 180, 216, 0.32);
  background: #ffffff;
}

.ahc-efb-login {
  margin: 8vh auto 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(63, 180, 216, 0.32);
  border-radius: 8px;
  color: var(--ahc-dark-text);
}

.ahc-efb-main .ahc-shift-stats {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.ahc-efb-main .ahc-mission-meta {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ahc-efb-main .ahc-leg-list li {
  padding: 10px 12px;
}

.ahc-efb-main .ahc-shift-actions,
.ahc-efb-main .ahc-shift-end-options {
  grid-template-columns: repeat(auto-fit, minmax(210px, max-content));
}

.ahc-efb-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 0 0;
  color: #b8c2cf;
  font-size: 13px;
}

.ahc-efb-footer a {
  color: #3fb4d8;
  font-weight: 800;
}

@media (max-width: 820px) {
  .ahc-efb-shell {
    padding: 12px;
  }

  .ahc-efb-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ahc-efb-main .ahc-shift-actions,
  .ahc-efb-main .ahc-shift-end-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .ahc-efb-main .ahc-shift-actions .ahc-button,
  .ahc-efb-main .ahc-shift-end-options .ahc-button {
    width: 100%;
  }
}

.ahc-mission.is-hidden {
  display: none;
}

.ahc-dispatch {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
}

.ahc-dispatch label {
  display: grid;
  gap: 6px;
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-dispatch select {
  min-width: 180px;
  min-height: 40px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-dispatch .ahc-check {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.ahc-filter-set {
  min-width: min(100%, 680px);
  margin: 0;
  padding: 0;
  border: 0;
}

.ahc-filter-set legend {
  margin-bottom: 8px;
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-checkgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ahc-checkgrid .ahc-check {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ahc-dark-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-checkgrid input {
  width: auto;
  min-height: auto;
  margin: 0 6px 0 0;
}

.ahc-shift-category-set {
  padding: 12px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
}

.ahc-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.ahc-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-table th,
.ahc-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #dce4ec;
  text-align: left;
  white-space: nowrap;
}

.ahc-table th {
  background: #101820;
  color: #f8fafc;
}

.ahc-table a {
  color: #0f7ea0;
  font-weight: 800;
}

.ahc-team-management-band {
  padding-top: 26px;
  padding-bottom: 34px;
}

.ahc-team-management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ahc-team-org-chart {
  position: relative;
  gap: 46px 18px;
}

.ahc-team-org-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background:
    linear-gradient(rgba(63, 180, 216, 0.46), rgba(63, 180, 216, 0.46)) 50% 254px / 2px 24px no-repeat,
    linear-gradient(rgba(63, 180, 216, 0.46), rgba(63, 180, 216, 0.46)) 50% 277px / 66.666% 2px no-repeat,
    linear-gradient(rgba(63, 180, 216, 0.46), rgba(63, 180, 216, 0.46)) 16.666% 277px / 2px 25px no-repeat,
    linear-gradient(rgba(63, 180, 216, 0.46), rgba(63, 180, 216, 0.46)) 50% 277px / 2px 25px no-repeat,
    linear-gradient(rgba(63, 180, 216, 0.46), rgba(63, 180, 216, 0.46)) 83.333% 277px / 2px 25px no-repeat;
  pointer-events: none;
}

.ahc-team-org-chart .ahc-team-management-card {
  z-index: 1;
}

.ahc-team-org-chart .is-org-ceo {
  grid-column: 1;
  grid-row: 1;
}

.ahc-team-org-chart .is-org-deputy {
  grid-column: 3;
  grid-row: 1;
}

.ahc-team-org-chart .is-org-secretariat {
  grid-column: 2;
  grid-row: 1;
}

.ahc-team-org-chart .is-org-business {
  grid-column: 1;
  grid-row: 2;
}

.ahc-team-org-chart .is-org-liveries {
  grid-column: 2;
  grid-row: 2;
}

.ahc-team-org-chart .is-org-airline {
  grid-column: 3;
  grid-row: 2;
}

.ahc-apply-feature-grid article,
.ahc-apply-form-card {
  border: 1px solid #dce4ec;
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.08);
}

.ahc-team-management-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(168px, 40%) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  min-height: 254px;
  border: 1px solid #dce4ec;
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.09);
  isolation: isolate;
}

.ahc-team-management-photo {
  position: relative;
  min-height: 254px;
  background: #edf3f7;
}

.ahc-team-management-photo img {
  width: 100%;
  height: 100%;
  min-height: 254px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.ahc-team-management-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 20px 22px;
  color: var(--ahc-dark-text);
}

.ahc-team-management-copy::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 13px;
  background: #d6a740;
}

.ahc-team-management-copy span,
.ahc-apply-feature-grid article span {
  color: #8fa1b4;
}

.ahc-team-management-role {
  display: block;
  margin-bottom: 7px;
  color: #506174;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ahc-team-management-callsign {
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 8px;
  border: 1px solid rgba(69, 190, 224, 0.36);
  border-radius: 4px;
  background: #eaf8fc;
  color: #0f7ea0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.ahc-team-management-card h3 {
  margin: 0 0 9px;
  color: var(--ahc-dark-text);
  font-size: clamp(22px, 1.7vw, 29px);
  line-height: 1.08;
}

.ahc-team-management-copy > p:not(.ahc-team-management-callsign) {
  margin: 0;
  color: #405066;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .ahc-team-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-team-org-chart {
    gap: 18px;
  }

  .ahc-team-org-chart::before,
  .ahc-team-org-chart::after {
    display: none;
  }

  .ahc-team-org-chart .ahc-team-management-card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .ahc-team-management-card {
    grid-template-columns: minmax(132px, 36%) minmax(0, 1fr);
    min-height: 210px;
  }

  .ahc-team-management-photo,
  .ahc-team-management-photo img {
    min-height: 210px;
  }

  .ahc-team-management-copy {
    padding: 16px 18px;
  }

  .ahc-team-management-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 460px) {
  .ahc-team-management-card {
    grid-template-columns: 1fr;
  }

  .ahc-team-management-photo,
  .ahc-team-management-photo img {
    min-height: 260px;
    max-height: 300px;
  }
}

.ahc-team-table .ahc-table,
.ahc-table-wrap .ahc-table {
  font-size: 15px;
}

.ahc-apply-head p {
  max-width: 960px;
}

.ahc-apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: 24px;
  align-items: start;
}

.ahc-apply-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ahc-apply-feature-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.ahc-apply-feature-grid strong {
  color: #ffffff;
  font-size: 18px;
}

.ahc-apply-feature-grid span {
  font-size: 15px;
  line-height: 1.5;
}

.ahc-apply-form-card {
  padding: 22px;
}

.ahc-apply-form-card h2 {
  color: #ffffff;
}

.ahc-apply-form {
  display: grid;
  gap: 12px;
}

.ahc-apply-form label {
  display: grid;
  gap: 6px;
  color: #cbd5df;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-apply-form input,
.ahc-apply-form select,
.ahc-apply-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #ffffff;
  color: #101820;
  font: inherit;
  text-transform: none;
}

.ahc-prefixed-input {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.ahc-prefixed-input > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #0f1a23;
  color: #7dd3fc;
  font-weight: 900;
  letter-spacing: 0;
}

.ahc-prefixed-input > input {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.ahc-apply-form label small {
  color: #8ea2b6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.ahc-apply-form textarea {
  resize: vertical;
}

.ahc-apply-notice {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
}

.ahc-apply-notice.is-success {
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.13);
  color: #dcfce7;
}

.ahc-apply-notice.is-error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.13);
  color: #fee2e2;
}

.ahc-logbook-ledger {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
  border: 2px solid #8eb9d3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.05);
  box-sizing: border-box;
}

.ahc-logbook-ledger-band {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid #93c7e2;
  border-bottom: 0;
  background: #bce8fb;
  color: #245168;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.ahc-logbook-ledger .ahc-table-wrap {
  border: 1px solid #93c7e2;
  max-width: 100%;
  overflow-x: auto;
}

.ahc-logbook-table {
  width: 1260px;
  min-width: 1260px;
  max-width: 1260px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 12px;
}

.ahc-logbook-table col.ahc-logbook-col-number {
  width: 74px;
}

.ahc-logbook-table col.ahc-logbook-col-aircraft {
  width: 104px;
}

.ahc-logbook-table col.ahc-logbook-col-route {
  width: 180px;
}

.ahc-logbook-table col.ahc-logbook-col-block {
  width: 188px;
}

.ahc-logbook-table col.ahc-logbook-col-compact {
  width: 82px;
}

.ahc-logbook-table col.ahc-logbook-col-time {
  width: 70px;
}

.ahc-logbook-table col.ahc-logbook-col-class,
.ahc-logbook-table col.ahc-logbook-col-rating {
  width: 70px;
}

.ahc-logbook-table col.ahc-logbook-col-points {
  width: 82px;
}

.ahc-logbook-table col.ahc-logbook-col-action {
  width: 102px;
}

.ahc-logbook-table th,
.ahc-logbook-table td {
  padding: 7px 8px;
  border-right: 1px solid #7f8e99;
  border-bottom: 1px solid #7f8e99;
  vertical-align: top;
  white-space: normal;
}

.ahc-logbook-table th:last-child,
.ahc-logbook-table td:last-child {
  border-right: 0;
}

.ahc-logbook-table th {
  background: #f7fbfe;
  color: #1b3140;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: none;
}

.ahc-logbook-table .ahc-logbook-group th {
  padding: 5px 8px;
  background: #bce8fb;
  color: #245168;
  text-align: center;
  text-transform: uppercase;
}

.ahc-logbook-table th span {
  display: block;
  margin-top: 2px;
  color: #516777;
  font-size: 10px;
  font-weight: 650;
}

.ahc-logbook-table td {
  color: #162532;
  background: #ffffff;
}

.ahc-logbook-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.ahc-logbook-table td strong,
.ahc-logbook-table td span {
  display: block;
  line-height: 1.2;
}

.ahc-logbook-table td strong {
  color: #101820;
  font-size: 12px;
  font-weight: 850;
}

.ahc-logbook-table td span {
  margin-top: 3px;
  color: #526577;
  font-size: 10px;
}

.ahc-logbook-table .ahc-logbook-points small {
  display: block;
  margin-top: 3px;
  color: #1d7fa8;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
}

.ahc-logbook-table th:nth-child(1),
.ahc-logbook-table td:nth-child(1) {
  width: 74px;
}

.ahc-logbook-table th:nth-child(2),
.ahc-logbook-table td:nth-child(2) {
  width: 104px;
}

.ahc-logbook-table th:nth-child(3),
.ahc-logbook-table td:nth-child(3),
.ahc-logbook-table th:nth-child(4),
.ahc-logbook-table td:nth-child(4) {
  width: 180px;
}

.ahc-logbook-table th:nth-child(5),
.ahc-logbook-table td:nth-child(5) {
  width: 188px;
}

.ahc-logbook-table th:nth-child(6),
.ahc-logbook-table td:nth-child(6),
.ahc-logbook-table th:nth-child(7),
.ahc-logbook-table td:nth-child(7),
.ahc-logbook-table th:nth-child(8),
.ahc-logbook-table td:nth-child(8) {
  width: 70px;
}

.ahc-logbook-table th:nth-child(9),
.ahc-logbook-table td:nth-child(9),
.ahc-logbook-table th:nth-child(10),
.ahc-logbook-table td:nth-child(10) {
  width: 70px;
}

.ahc-logbook-table th:nth-child(11),
.ahc-logbook-table td:nth-child(11) {
  width: 82px;
}

.ahc-logbook-table th:nth-child(12),
.ahc-logbook-table td:nth-child(12) {
  width: 102px;
}

.ahc-logbook-table .ahc-logbook-index strong {
  font-size: 14px;
  line-height: 1;
}

.ahc-logbook-table .ahc-logbook-airport strong,
.ahc-logbook-table .ahc-logbook-time strong {
  font-size: 13px;
}

.ahc-logbook-table .ahc-time-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
}

.ahc-logbook-table .ahc-time-pair span {
  margin: 0;
  color: #162532;
}

.ahc-logbook-table .ahc-time-pair small {
  display: block;
  margin-bottom: 3px;
  color: #526577;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

.ahc-logbook-table .ahc-logbook-actions {
  vertical-align: middle;
  text-align: center;
}

.ahc-logbook-table .ahc-logbook-actions .ahc-flightdata-link {
  width: 78px;
  max-width: 100%;
  margin-top: 0;
}

.ahc-flightdata-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 5px 8px;
  border: 1px solid #3fb4d8;
  border-radius: 4px;
  background: #ffffff;
  color: #0f7ea0;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.ahc-flightdata-link:hover {
  background: #eaf7fc;
}

.ahc-flightdata-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  box-shadow: 0 28px 95px rgba(8, 20, 32, 0.38);
}

.ahc-flightdata-dialog::backdrop {
  background: rgba(8, 20, 32, 0.58);
}

.ahc-flightdata-inner {
  padding: clamp(20px, 3vw, 30px);
  background: #ffffff;
  color: #101820;
}

.ahc-flightdata-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dce4ec;
}

.ahc-flightdata-head h3 {
  margin: 3px 0 6px;
  color: #101820;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.ahc-flightdata-head p:not(.ahc-kicker) {
  margin: 0;
  color: #536171;
  font-size: 14px;
}

.ahc-flightdata-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: stretch;
}

.ahc-flightdata-map {
  min-height: 264px;
  border: 1px solid #dce4ec;
  border-left: 3px solid #3fb4d8;
  border-radius: 6px;
  background: linear-gradient(135deg, #f8fbfd, #eef6fa);
  overflow: hidden;
  position: relative;
}

.ahc-flightdata-map-canvas {
  position: relative;
  width: 100%;
  height: 330px;
  min-height: 330px;
  background: #d9e5ec;
  overflow: hidden;
}

.ahc-flightdata-map-live .ahc-flightdata-map-canvas,
.ahc-flightdata-map-live .leaflet-container {
  height: 330px;
  min-height: 330px;
  z-index: 1;
}

.ahc-flightdata-map-live .leaflet-container {
  font-family: inherit;
}

.ahc-flightdata-map-live .leaflet-control-attribution {
  color: #536171;
  font-size: 10px;
}

.ahc-flightdata-map-live.has-static-fallback:not(.is-map-ready) > .ahc-flightdata-map-canvas {
  opacity: 0;
  pointer-events: none;
}

.ahc-flightdata-map-live.has-static-fallback.is-map-ready > .ahc-flightdata-map-canvas {
  opacity: 1;
}

.ahc-flightdata-map-static-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #d9e5ec;
}

.ahc-flightdata-map-live.is-map-ready .ahc-flightdata-map-static-preview {
  display: none;
}

.ahc-flightdata-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(248, 251, 253, 0.96), rgba(238, 246, 250, 0.96));
  z-index: 2;
}

.ahc-flightdata-map-live.has-static-fallback .ahc-flightdata-map-fallback {
  display: none;
}

.ahc-flightdata-map-live.is-map-ready .ahc-flightdata-map-fallback {
  display: none;
}

.ahc-flightdata-map-fallback strong {
  color: #101820;
  font-size: 22px;
  font-weight: 900;
}

.ahc-flightdata-map-fallback span {
  color: #536171;
  font-size: 15px;
}

.ahc-flightdata-map-static .ahc-flightdata-map-fallback {
  display: none;
}

.ahc-flightdata-map-tiles,
.ahc-flightdata-map-overlay {
  position: absolute;
  inset: 0;
}

.ahc-flightdata-map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  border: 0;
}

.ahc-flightdata-map-overlay {
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ahc-flightdata-map-route {
  fill: none;
  stroke: #0aa8d4;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(16, 24, 32, 0.35));
}

.ahc-flightdata-map-start,
.ahc-flightdata-map-end {
  stroke: #ffffff;
  stroke-width: 3;
}

.ahc-flightdata-map-start {
  fill: #101820;
}

.ahc-flightdata-map-end {
  fill: #d7a650;
}

.ahc-flightdata-map-overlay text {
  fill: #101820;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4px;
  stroke-linejoin: round;
  font-size: 13px;
  font-weight: 900;
}

.ahc-flightdata-map-attribution {
  position: absolute;
  right: 6px;
  bottom: 5px;
  z-index: 3;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
  color: #536171;
  font-size: 10px;
  line-height: 1.2;
}

.ahc-flightdata-map-empty {
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
}

.ahc-flightdata-map-empty .ahc-flightdata-map-canvas {
  display: none;
}

.ahc-flightdata-map-empty .ahc-flightdata-map-fallback {
  position: static;
  min-height: 264px;
  display: grid;
}

.ahc-flightdata-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ahc-flightdata-cards > div,
.ahc-flightdata-weather {
  border: 1px solid #dce4ec;
  border-left: 3px solid #3fb4d8;
  border-radius: 6px;
  background: #f8fbfd;
  padding: 12px 14px;
}

.ahc-flightdata-cards span,
.ahc-flightdata-weather strong {
  display: block;
  margin-bottom: 5px;
  color: #536171;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.ahc-flightdata-cards strong {
  display: block;
  color: #101820;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.ahc-flightdata-cards small {
  display: block;
  margin-top: 5px;
  color: #536171;
  font-size: 12px;
  line-height: 1.25;
}

.ahc-flightdata-weather {
  margin-top: 16px;
}

.ahc-flightdata-weather p,
.ahc-flightdata-note {
  margin: 0;
  color: #536171;
  font-size: 13px;
  line-height: 1.45;
}

.ahc-flightdata-note {
  margin-top: 12px;
}

.ahc-button-small {
  min-height: 0;
  padding: 10px 14px;
  font-size: 14px;
}

.ahc-home-missions > p {
  margin: 0 0 14px;
  color: var(--ahc-soft-text);
  font-size: 16px;
}

.ahc-home-ops-split {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
}

.ahc-flight-board {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.08);
}

.ahc-flight-board-head,
.ahc-flight-board-row {
  display: grid;
  grid-template-columns: 0.78fr 1.78fr 0.9fr 0.78fr;
  gap: 0;
  align-items: stretch;
}

.ahc-flight-board-head {
  color: #8fa1b4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-flight-board-head span,
.ahc-flight-board-row > div {
  min-width: 0;
  padding: 12px;
}

.ahc-flight-board-head span {
  padding-top: 0;
  padding-bottom: 2px;
}

.ahc-flight-board-row {
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-flight-board-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ahc-flight-board-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.07);
}

.ahc-flight-board-row strong,
.ahc-flight-board-row b {
  display: block;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.ahc-flight-board-row span {
  display: block;
  margin-top: 3px;
  color: #9fb1c4;
  font-size: 12px;
  line-height: 1.25;
}

.ahc-flight-board-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.ahc-flight-board-route > span {
  margin-top: 0;
}

.ahc-flight-board-route i {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.ahc-home-weather {
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.08);
}

.ahc-home-ops-split {
  align-items: stretch;
}

.ahc-home-ops-split > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ahc-home-ops-split .ahc-flight-board,
.ahc-home-ops-split .ahc-home-weather {
  flex: 1 1 auto;
  height: 100%;
}

.ahc-home-ops-split .ahc-home-weather {
  min-height: 0;
}

.ahc-home-weather-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.ahc-home-weather-top span,
.ahc-home-weather-top em,
.ahc-home-weather-grid b,
.ahc-home-weather p {
  color: #8fa1b4;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.ahc-home-weather-top strong {
  display: block;
  margin-top: 5px;
  color: #f8fafc;
  font-size: 26px;
  line-height: 1;
}

.ahc-home-weather-top em {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.ahc-home-weather-top em.is-live {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(63, 180, 216, 0.14);
}

.ahc-home-weather-main strong {
  display: block;
  color: #f8fafc;
  font-size: clamp(46px, 5vw, 70px);
  line-height: 0.95;
}

.ahc-home-weather-main span {
  display: block;
  margin-top: 8px;
  color: #cbd5df;
  font-size: 17px;
  line-height: 1.45;
}

.ahc-home-weather-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ahc-home-weather-grid span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.3;
}

.ahc-home-weather-grid b {
  display: block;
  margin-bottom: 4px;
}

.ahc-home-weather code {
  display: block;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
}

.ahc-home-weather p {
  margin: 0;
  text-transform: none;
}

.ahc-home-advertising .ahc-section-head {
  margin-bottom: 22px;
}

.ahc-home-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ahc-home-promo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 8px;
  background-color: #101820;
  background-image: var(--ahc-promo-image, url("images/aviator-hamburg-hero.webp?v=0.4.33-perf"));
  background-position: var(--ahc-promo-position, 60% 50%);
  background-size: cover;
  box-shadow: 0 20px 48px rgba(16, 24, 32, 0.16);
  color: #ffffff;
}

.ahc-home-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 12, 18, var(--ahc-promo-top-dim, 0.06)), rgba(6, 12, 18, var(--ahc-promo-bottom-dim, 0.78))),
    linear-gradient(90deg, rgba(6, 12, 18, var(--ahc-promo-left-dim, 0.74)), rgba(6, 12, 18, var(--ahc-promo-right-dim, 0.10)));
}

.ahc-home-promo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  z-index: -1;
  background: linear-gradient(90deg, var(--ahc-accent), rgba(255, 255, 255, 0));
}

.ahc-home-promo.is-london {
  --ahc-promo-image: url("images/aviator-offer-london.webp");
  --ahc-promo-position: 88% 48%;
}

.ahc-home-promo.is-palma {
  --ahc-promo-image: url("images/aviator-offer-palma.webp");
  --ahc-promo-position: 86% 56%;
}

.ahc-home-promo.is-islands {
  --ahc-promo-image: url("images/aviator-offer-islandhopper-caravan.webp");
  --ahc-promo-position: 86% 56%;
}

.ahc-home-promo.is-charter {
  --ahc-promo-image: url("images/aviator-offer-business-charter.webp");
  --ahc-promo-position: 58% 64%;
}

.ahc-home-promo span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  background: rgba(63, 180, 216, 0.16);
  color: #e6f7ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.ahc-home-promo strong {
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(25px, 2.25vw, 38px);
  line-height: 1.02;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.ahc-home-promo p {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 950;
  line-height: 0.94;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.ahc-home-promo em {
  margin-top: 12px;
  color: #d9e8f2;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.ahc-home-news-rank {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.ahc-home-rankings .ahc-section-head {
  margin-bottom: 18px;
}

.ahc-home-ranking-history-head {
  margin-top: 32px;
}

.ahc-home-ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.ahc-home-ranking-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid #dce4ec;
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.08);
}

.ahc-home-ranking-card > span {
  display: block;
  color: #8fa1b4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-home-ranking-card h3 {
  margin: -4px 0 2px;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.08;
}

.ahc-home-ranking-card .ahc-ranking {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.ahc-home-ranking-card .ahc-ranking li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-home-rankings .ahc-home-ranking-card .ahc-ranking li {
  margin-left: 0;
  padding-right: 12px;
  padding-left: 12px;
}

.ahc-home-ranking-card .ahc-ranking li:nth-child(odd) {
  background: rgba(255, 255, 255, 0.07);
}

.ahc-home-ranking-card .ahc-ranking strong,
.ahc-home-ranking-card .ahc-ranking span {
  display: block;
}

.ahc-home-ranking-card .ahc-ranking strong {
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.ahc-home-ranking-card .ahc-ranking span {
  color: #7dd3fc;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.ahc-home-ranking-card .ahc-empty {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5df;
}

.ahc-home-ranking-history-card .ahc-ranking li {
  grid-template-columns: minmax(86px, 0.72fr) minmax(0, 1.28fr);
}

.ahc-home-ranking-history-card .ahc-ranking span {
  white-space: normal;
}

.ahc-ranking-more {
  justify-self: start;
  margin-top: 2px;
  border-color: rgba(125, 211, 252, 0.55);
  color: #f8fafc;
  background: rgba(63, 180, 216, 0.14);
}

.ahc-ranking-more:hover,
.ahc-ranking-more:focus {
  color: #101820;
  background: #3fb4d8;
}

.ahc-ranking-page + .ahc-ranking-page {
  margin-top: 0;
}

.ahc-home-mission-table {
  width: 100%;
  table-layout: fixed;
}

.ahc-home-mission-table th,
.ahc-home-mission-table td {
  white-space: normal;
  padding: 12px 14px;
  line-height: 1.25;
}

.ahc-home-mission-table th:nth-child(1),
.ahc-home-mission-table td:nth-child(1) {
  width: 108px;
}

.ahc-home-mission-table th:nth-child(2),
.ahc-home-mission-table td:nth-child(2) {
  width: 190px;
}

.ahc-home-mission-table th:nth-child(3),
.ahc-home-mission-table td:nth-child(3) {
  width: auto;
}

.ahc-home-mission-table th:nth-child(4),
.ahc-home-mission-table td:nth-child(4) {
  width: 74px;
  white-space: nowrap;
}

.ahc-home-mission-table td {
  vertical-align: top;
}

.ahc-home-mission-table td > strong {
  color: var(--ahc-dark-text);
}

.ahc-home-route-lines {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ahc-home-route-line {
  display: block;
  color: var(--ahc-dark-text);
  font-size: 15px;
  line-height: 1.25;
}

.ahc-home-route-line small {
  display: inline-block;
  min-width: 34px;
  margin-right: 8px;
  color: var(--ahc-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-home-route-line strong {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ahc-mission-timer {
  margin: 6px 0 0;
  color: var(--ahc-muted);
}

.ahc-home-fleet {
  max-width: 100%;
}

.ahc-home-fleet-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ahc-home-fleet-head > div {
  min-width: 0;
  flex: 1 1 280px;
}

.ahc-home-fleet-head strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ahc-dark-text);
  font-size: 22px;
}

.ahc-home-fleet-head p {
  margin: 0;
  color: var(--ahc-soft-text);
  font-size: 15px;
  line-height: 1.55;
}

.ahc-home-fleet-list {
  display: grid;
  overflow: hidden;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.ahc-home-fleet-row {
  display: grid;
  grid-template-columns: minmax(118px, 0.85fr) minmax(0, 1.35fr) minmax(130px, 0.9fr);
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce4ec;
  align-items: start;
}

.ahc-home-fleet-row:last-child {
  border-bottom: 0;
}

.ahc-home-fleet-row strong {
  color: var(--ahc-dark-text);
  font-size: 16px;
  line-height: 1.3;
}

.ahc-home-fleet-row span,
.ahc-home-fleet-row em {
  color: var(--ahc-soft-text);
  font-size: 14px;
  line-height: 1.45;
}

.ahc-home-fleet-row em {
  font-style: normal;
  font-weight: 800;
}

.ahc-fleet-page > p {
  max-width: 1280px;
}

.ahc-fleet-jump {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding: 12px 14px;
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-fleet-jump label {
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-fleet-jump select {
  min-width: min(360px, 62vw);
  border: 1px solid #cbd8e4;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ahc-dark-text);
  font-weight: 800;
}

.ahc-fleet-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.ahc-fleet-section {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #ffffff;
}

.ahc-fleet-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.ahc-fleet-section h3 {
  margin: 0 0 8px;
  color: var(--ahc-dark-text);
  font-size: 24px;
}

.ahc-fleet-section p {
  max-width: 980px;
  margin: 0;
  color: var(--ahc-soft-text);
  font-size: 16px;
}

.ahc-fleet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ahc-fleet-meta span,
.ahc-fleet-count {
  border: 1px solid #dce4ec;
  border-radius: 6px;
  background: #f4f7fa;
  color: var(--ahc-soft-text);
}

.ahc-fleet-meta span {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.ahc-fleet-count {
  min-width: 132px;
  padding: 13px 14px;
  text-align: right;
}

.ahc-fleet-count strong,
.ahc-fleet-count span {
  display: block;
}

.ahc-fleet-count strong {
  color: var(--ahc-dark-text);
  font-size: 30px;
  line-height: 1;
}

.ahc-fleet-count span {
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-fleet-table td {
  vertical-align: top;
}

.ahc-fleet-table td:first-child strong,
.ahc-fleet-table td:nth-child(2) strong {
  color: var(--ahc-dark-text);
}

.ahc-aircraft-link {
  color: var(--ahc-dark-text);
  text-decoration: none;
}

.ahc-aircraft-link:hover {
  color: var(--ahc-accent);
}

.ahc-aircraft-detail-head .ahc-button {
  margin-top: 12px;
}

.ahc-aircraft-detail {
  display: grid;
  gap: 26px;
}

.ahc-aircraft-hero-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 18px 38px rgba(4, 12, 20, 0.2);
}

.ahc-aircraft-photo {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.ahc-aircraft-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.86), rgba(16,24,32,.18));
}

.ahc-aircraft-photo > div {
  position: absolute;
  left: 26px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  color: #fff;
}

.ahc-aircraft-photo span {
  color: var(--ahc-accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-aircraft-photo strong {
  font-size: clamp(34px, 4vw, 60px);
  line-height: .96;
}

.ahc-aircraft-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ahc-aircraft-facts div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-aircraft-facts span,
.ahc-maintenance-row span {
  display: block;
  color: var(--ahc-soft-text);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ahc-aircraft-facts strong {
  display: block;
  margin-top: 7px;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.15;
}

.ahc-aircraft-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 22px;
}

.ahc-aircraft-maintenance,
.ahc-aircraft-logbook {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 16px 34px rgba(4, 12, 20, 0.08);
}

.ahc-aircraft-maintenance h2,
.ahc-aircraft-logbook h2 {
  margin: 0 0 10px;
  color: #f8fafc;
}

.ahc-aircraft-maintenance p {
  margin: 0 0 18px;
  color: #b8c2cf;
  line-height: 1.55;
}

.ahc-maintenance-bars {
  display: grid;
  gap: 14px;
}

.ahc-maintenance-row {
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(0, 1fr) 70px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-maintenance-row strong {
  color: #f8fafc;
}

.ahc-maintenance-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.ahc-maintenance-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ahc-accent), #82d8ee);
}

.ahc-maintenance-row b {
  color: #f8fafc;
  text-align: right;
}

.ahc-maintenance-inline {
  margin-top: 5px;
  color: #b8c2cf;
}

.ahc-maintenance-status-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(110px, 0.75fr) minmax(140px, 0.9fr);
  gap: 10px;
  margin: 14px 0 16px;
}

.ahc-maintenance-status-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-maintenance-status-grid span,
.ahc-maintenance-event-list span {
  display: block;
  color: #b8c2cf;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-maintenance-status-grid strong {
  display: block;
  margin-top: 5px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.ahc-maintenance-admin-form {
  margin: 12px 0 16px;
}

.ahc-maintenance-event-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.ahc-maintenance-event-list h3 {
  margin: 0 0 4px;
  color: #f8fafc;
  font-size: 16px;
}

.ahc-maintenance-event-list div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.ahc-maintenance-event-list strong {
  display: block;
  color: #f8fafc;
  line-height: 1.2;
}

.ahc-compact-list {
  margin: 0;
  padding-left: 20px;
  color: #b8c2cf;
  line-height: 1.55;
}

.ahc-aircraft-log-table {
  table-layout: fixed;
}

.ahc-aircraft-log-table th,
.ahc-aircraft-log-table td {
  white-space: normal;
  vertical-align: top;
}

.ahc-aircraft-log-table th:nth-child(1),
.ahc-aircraft-log-table td:nth-child(1) { width: 54px; }
.ahc-aircraft-log-table th:nth-child(2),
.ahc-aircraft-log-table td:nth-child(2) { width: 150px; }
.ahc-aircraft-log-table th:nth-child(3),
.ahc-aircraft-log-table td:nth-child(3),
.ahc-aircraft-log-table th:nth-child(4),
.ahc-aircraft-log-table td:nth-child(4) { width: 180px; }
.ahc-aircraft-log-table th:nth-child(5),
.ahc-aircraft-log-table td:nth-child(5),
.ahc-aircraft-log-table th:nth-child(6),
.ahc-aircraft-log-table td:nth-child(6) { width: 130px; }
.ahc-aircraft-log-table th:nth-child(7),
.ahc-aircraft-log-table td:nth-child(7),
.ahc-aircraft-log-table th:nth-child(8),
.ahc-aircraft-log-table td:nth-child(8) { width: 92px; }

.ahc-subline {
  display: block;
  margin-top: 3px;
  color: var(--ahc-soft-text);
  font-size: 12px;
  font-weight: 700;
  white-space: normal;
}

.ahc-ranking {
  margin: 0;
  padding-left: 24px;
}

.ahc-ranking li {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
}

.ahc-ranking strong,
.ahc-ranking span {
  display: block;
}

.ahc-ranking span {
  color: var(--ahc-soft-text);
}

.ahc-hub-box {
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
}

.ahc-hub-box p {
  color: var(--ahc-soft-text);
}

.ahc-hub-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ahc-hub-stats span {
  padding: 12px;
  border-left: 3px solid var(--ahc-accent);
  background: #f4f7fa;
  color: var(--ahc-soft-text);
}

.ahc-hub-stats strong {
  display: block;
  color: var(--ahc-dark-text);
  font-size: 24px;
}

.ahc-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #101820;
  color: #f8fafc;
  font-weight: 800;
}

.ahc-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.ahc-badge-image {
  display: inline-grid;
  width: min(138px, 48%);
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.18);
}

.ahc-badge-image img {
  display: block;
  width: 100%;
  height: auto;
}

.ahc-badge-image span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ahc-badge-details {
  margin-top: 8px;
  color: var(--ahc-soft-text);
}

.ahc-badge-details summary {
  cursor: pointer;
  font-weight: 800;
}

.ahc-badge-reserved {
  background: #7a4f01;
}

.ahc-rank-panel {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 8px 0 22px;
  padding: 16px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.08);
}

.ahc-rank-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.16);
}

.ahc-rank-panel strong {
  display: block;
  color: var(--ahc-dark-text);
  font-size: 22px;
  line-height: 1.1;
}

.ahc-rank-panel strong span {
  color: var(--ahc-accent);
  font-size: 16px;
}

.ahc-rank-panel p,
.ahc-rank-panel small {
  color: var(--ahc-soft-text);
}

.ahc-rank-progress {
  height: 8px;
  margin: 10px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce4ec;
}

.ahc-rank-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ahc-accent);
}

.ahc-certificate-page {
  padding: 34px clamp(16px, 4vw, 52px) 72px;
  background:
    radial-gradient(circle at 50% 0, rgba(63, 180, 216, 0.1), transparent 34%),
    var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-cert-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 22px;
  max-width: 860px;
}

.ahc-cert-actions .ahc-button-alt {
  background: #ffffff;
  color: #07131b;
}

.ahc-certificate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 820px);
  aspect-ratio: 210 / 297;
  min-height: 1160px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(6, 35, 51, 0.36);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(63, 180, 216, 0.26) 0 8px, transparent 8px calc(100% - 8px), rgba(63, 180, 216, 0.2) calc(100% - 8px)),
    radial-gradient(circle at 50% 11%, rgba(63, 180, 216, 0.12), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(6, 35, 51, 0.035), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfd 54%, #ffffff 100%);
  box-shadow: 0 24px 64px rgba(16, 24, 32, 0.18);
  color: #062333;
  font-family: Inter, Arial, sans-serif;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.ahc-certificate::before,
.ahc-certificate::after {
  content: "";
  position: absolute;
  inset: 26px;
  pointer-events: none;
  border: 2px solid rgba(6, 35, 51, 0.58);
}

.ahc-certificate::after {
  inset: 38px;
  border: 1px solid rgba(63, 180, 216, 0.62);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.65),
    inset 0 0 0 4px rgba(6, 35, 51, 0.16);
}

.ahc-cert-brand,
.ahc-cert-body,
.ahc-cert-footer {
  position: relative;
  z-index: 1;
}

.ahc-cert-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 118px;
  padding: 42px 64px 8px;
  color: #07131b;
  text-transform: uppercase;
}

.ahc-cert-brand div {
  display: grid;
  line-height: 0.92;
}

.ahc-cert-brand span {
  color: var(--ahc-accent);
  font-size: 19px;
  font-weight: 900;
}

.ahc-cert-brand strong {
  font-size: 33px;
  font-weight: 900;
  letter-spacing: 0;
}

.ahc-cert-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
  background: #07131b;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.22);
}

.ahc-cert-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 104px;
  margin: 22px auto 6px;
}

.ahc-cert-mark img {
  max-width: 210px;
  max-height: 88px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.18);
}

.ahc-cert-body {
  display: grid;
  justify-items: center;
  width: min(680px, 82%);
  margin: 0 auto;
  text-align: center;
}

.ahc .ahc-cert-kicker {
  margin: 0 0 10px;
  color: #526273;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-cert-body h1 {
  margin: 0 0 30px;
  padding: 0 0 12px;
  border-bottom: 3px solid #062333;
  color: #062333;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ahc .ahc-cert-copy {
  max-width: 640px;
  margin: 0 0 17px;
  color: #062333;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.48;
}

.ahc-cert-body h2 {
  margin: 0 0 5px;
  color: #07131b;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 50px);
  line-height: 1;
}

.ahc .ahc-cert-callsign {
  margin: 4px 0 28px;
  color: #17384a;
  font-size: 20px;
  font-weight: 900;
}

.ahc .ahc-cert-date {
  margin: -7px 0 26px;
  color: #062333;
  font-size: 22px;
  font-weight: 900;
}

.ahc-cert-body h3 {
  margin: -4px 0 26px;
  color: #07131b;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1;
}

.ahc-cert-body h3 span {
  color: var(--ahc-accent);
  font-size: 0.45em;
  vertical-align: middle;
}

.ahc .ahc-cert-points {
  margin: 0;
  color: #17384a;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-cert-footer {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1fr;
  gap: 26px;
  align-items: end;
  margin: auto 70px 74px;
}

.ahc-cert-place,
.ahc-cert-seal,
.ahc-cert-signature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 172px;
  padding: 0 6px;
  text-align: center;
}

.ahc-cert-place::before,
.ahc-cert-seal::before,
.ahc-cert-signature::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 62px;
  left: 0;
  border-top: 2px solid rgba(6, 35, 51, 0.34);
}

.ahc-cert-place-hand {
  position: absolute;
  right: 8px;
  bottom: 59px;
  left: 8px;
  color: #07131b;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  transform: rotate(-2deg);
}

.ahc-cert-place span:last-child {
  position: absolute;
  bottom: 35px;
}

.ahc-cert-place strong,
.ahc-cert-seal strong,
.ahc-cert-signature strong {
  color: #062333;
  font-size: 16px;
}

.ahc .ahc-cert-place span,
.ahc .ahc-cert-seal span,
.ahc .ahc-cert-signature span:last-child {
  color: #526273;
  font-size: 12px;
  text-transform: uppercase;
}

.ahc .ahc-cert-place .ahc-cert-place-hand {
  color: #07131b;
  font-size: 20px;
  text-transform: none;
}

.ahc-cert-stamp {
  width: 104px;
  height: 104px;
  margin: 0 0 4px;
  opacity: 0.68;
  transform: rotate(-8deg);
}

.ahc-cert-stamp circle,
.ahc-cert-stamp .ahc-cert-stamp-wing {
  fill: none;
  stroke: #12364a;
  stroke-width: 3.6;
}

.ahc-cert-stamp-ring {
  fill: none;
}

.ahc-cert-stamp text {
  fill: #12364a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 900;
}

.ahc-cert-stamp .ahc-cert-stamp-code {
  font-size: 24px;
}

.ahc-cert-script {
  width: 258px;
  height: 92px;
  margin: 0 0 -9px;
  color: #07131b;
  transform: rotate(-4deg);
}

.ahc-cert-autograph-text {
  fill: #07131b;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 70px;
  font-weight: 700;
  letter-spacing: 0;
}

.ahc-cert-autograph-swoosh,
.ahc-cert-autograph-flick {
  fill: none;
  stroke: #07131b;
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ahc-cert-autograph-flick {
  stroke-width: 2.5;
}

.ahc-career-rewards {
  padding: 24px clamp(20px, 6vw, 72px) 52px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-career-rewards h2 {
  margin: 0 0 8px;
  color: var(--ahc-dark-text);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
}

.ahc-career-rewards > p {
  max-width: 860px;
  color: var(--ahc-soft-text);
}

.ahc-reward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ahc-reward-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 138px;
  padding: 16px;
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.06);
}

.ahc-career-rewards .ahc-reward-card {
  padding: 18px;
}

.ahc-reward-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.14);
}

.ahc-reward-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ahc-dark-text);
  font-size: 20px;
  line-height: 1.15;
}

.ahc-reward-card p,
.ahc-reward-card small {
  margin: 0;
  color: var(--ahc-soft-text);
}

.ahc-rank-catalog .ahc-reward-card {
  min-height: 150px;
}

.ahc-legal-page {
  padding: 24px clamp(20px, 6vw, 72px) 64px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-legal-page h2 {
  margin: 26px 0 12px;
  color: var(--ahc-dark-text);
}

.ahc-legal-image {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 14px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #e7f4f2;
}

.ahc-legal-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ahc-small {
  margin: 12px 0 0;
  color: var(--ahc-soft-text);
  font-size: 14px;
}

.ahc-leg-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.ahc-leg-list li {
  padding: 8px 10px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fbfd;
  color: var(--ahc-dark-text);
}

.ahc-leg-list li.is-complete {
  border-color: #bfd9ce;
  background: #eef8f3;
}

.ahc-leg-list li.is-next {
  border-color: var(--ahc-accent);
  box-shadow: inset 4px 0 0 var(--ahc-accent);
}

.ahc-leg-list span {
  display: inline-block;
  margin-left: 6px;
  color: var(--ahc-soft-text);
  font-size: 13px;
}

.ahc-leg-list small {
  display: block;
  margin-top: 5px;
  color: var(--ahc-soft-text);
  font-size: 12px;
  line-height: 1.45;
}

.ahc-leg-list-compact {
  padding-left: 0;
  list-style: none;
}

.ahc-empty {
  margin: 0;
  padding: 16px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ahc-soft-text);
}

.ahc-card,
.ahc-empty,
.ahc-profile-overview article,
.ahc-service-panel,
.ahc-notification-strip article,
.ahc-fleet-section,
.ahc-airline-rotation,
.ahc-airline-active,
.ahc-aircraft-summary,
.ahc-aircraft-detail-card,
.ahc-maintenance-card,
.ahc-tour-card,
.ahc-event-card,
.ahc-team-management-card,
.ahc-reward-card {
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-left: 4px solid var(--ahc-accent);
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 16px 34px rgba(4, 12, 20, 0.08);
}

.ahc-card strong,
.ahc-card h3,
.ahc-card h4,
.ahc-empty strong,
.ahc-profile-overview strong,
.ahc-service-panel strong,
.ahc-notification-strip strong,
.ahc-fleet-section h3,
.ahc-airline-rotation h3,
.ahc-airline-rotation strong,
.ahc-airline-active strong,
.ahc-aircraft-summary strong,
.ahc-aircraft-detail-card strong,
.ahc-maintenance-card strong,
.ahc-tour-card strong,
.ahc-event-card strong,
.ahc-team-management-card h3,
.ahc-reward-card strong {
  color: #f8fafc;
}

.ahc-card p,
.ahc-card li,
.ahc-empty,
.ahc-profile-overview span,
.ahc-service-panel p,
.ahc-notification-strip span,
.ahc-fleet-section p,
.ahc-airline-rotation p,
.ahc-airline-active p,
.ahc-aircraft-summary span,
.ahc-aircraft-detail-card span,
.ahc-maintenance-card span,
.ahc-tour-card p,
.ahc-event-card p,
.ahc-team-management-copy > p:not(.ahc-team-management-callsign),
.ahc-reward-card p,
.ahc-reward-card small {
  color: #b8c2cf;
}

.ahc-card .ahc-button-alt,
.ahc-service-panel .ahc-button-alt,
.ahc-airline-rotation .ahc-button-alt,
.ahc-airline-active .ahc-button-alt,
.ahc-tour-card .ahc-button-alt,
.ahc-event-card .ahc-button-alt {
  color: #f8fafc;
}

.ahc-card .ahc-button-secondary,
.ahc-service-panel .ahc-button-secondary,
.ahc-airline-rotation .ahc-button-secondary,
.ahc-airline-active .ahc-button-secondary {
  border-color: rgba(125, 211, 252, 0.52);
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-card .ahc-mission-meta span,
.ahc-card .ahc-shift-stats span,
.ahc-card .ahc-dispatch-ampel,
.ahc-airline-options span,
.ahc-aircraft-facts span,
.ahc-maintenance-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-card .ahc-mission-meta b,
.ahc-card .ahc-shift-stats b,
.ahc-card .ahc-dispatch-ampel span,
.ahc-airline-options b,
.ahc-aircraft-facts b {
  color: #8fa1b4;
}

.ahc-team-management-copy {
  color: #f8fafc;
}

.ahc-team-management-role {
  color: #8fa1b4;
}

.ahc-team-management-callsign {
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(63, 180, 216, 0.16);
  color: #7dd3fc;
}

.ahc-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--ahc-accent);
  background: #ffffff;
  color: var(--ahc-dark-text);
  font-weight: 800;
}

.ahc-profile-main,
.ahc-profile-log {
  margin-top: 28px;
  padding-right: 0;
  padding-left: 0;
}

.ahc-profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.ahc-profile-panel {
  min-width: 0;
}

.ahc-profile-panel-title {
  margin: 0 0 16px;
  color: var(--ahc-dark-text);
  font-size: clamp(20px, 1.35vw, 24px);
  font-weight: 900;
  line-height: 1.15;
}

.ahc-profile-download-panel {
  grid-column: 1 / -1;
}

.ahc-profile-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ahc-profile-overview article {
  padding: 14px 16px;
  border: 1px solid #dce4ec;
  border-left: 3px solid var(--ahc-accent);
  background: #ffffff;
}

.ahc-profile-overview span {
  display: block;
  margin-bottom: 5px;
  color: #6b7c8f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-profile-overview strong {
  display: block;
  color: #101820;
  font-size: 17px;
  line-height: 1.2;
}

.ahc-service-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #dce4ec;
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ahc-dark-text);
  box-shadow: 0 16px 34px rgba(4, 12, 20, 0.06);
}

.ahc-service-panel > p {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--ahc-soft-text);
  font-size: 15px;
  line-height: 1.55;
}

.ahc-service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.ahc-service-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.ahc-service-lamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dbe4ec;
  color: #536171;
  font-weight: 900;
}

.ahc-service-lamp.is-hot {
  background: #b91c1c;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(185, 28, 28, 0.12);
}

.ahc-service-form,
.ahc-service-email-form {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.ahc-service-form label,
.ahc-service-email-form label {
  display: grid;
  gap: 7px;
  color: #536171;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-service-form input,
.ahc-service-form textarea,
.ahc-service-email-form input {
  width: 100%;
  border: 1px solid #c9d6e3;
  border-radius: 6px;
  background: #f8fbfe;
  color: var(--ahc-dark-text);
  font: inherit;
  font-weight: 700;
}

.ahc-service-form input,
.ahc-service-email-form input {
  min-height: 44px;
  padding: 0 12px;
}

.ahc-service-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.ahc-service-email-form {
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  max-width: 760px;
  margin-bottom: 18px;
}

.ahc-service-email-form small {
  grid-column: 1 / -1;
  color: var(--ahc-soft-text);
  font-weight: 700;
}

.ahc-service-actions-row {
  min-height: 1px;
  margin-bottom: 14px;
}

.ahc-service-inbox {
  display: grid;
  gap: 12px;
}

.ahc-service-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fbfe;
}

.ahc-profile .ahc-service-message {
  border: 1px solid #dce4ec;
  border-left: 4px solid var(--ahc-accent);
  background: #f8fbfe;
  color: var(--ahc-dark-text);
}

.ahc-service-message.is-unread {
  border-left: 4px solid #b91c1c;
  background: #fffafa;
}

.ahc-profile .ahc-service-message.is-unread {
  border-left-color: #b91c1c;
  background: #fffafa;
}

.ahc-service-message-head span,
.ahc-service-message-head small,
.ahc-service-message-footer span {
  display: block;
  color: #6b7c8f;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ahc-profile .ahc-service-message-head span,
.ahc-profile .ahc-service-message-head small,
.ahc-profile .ahc-service-message-footer span {
  color: #536171;
}

.ahc-service-message-head strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--ahc-dark-text);
  font-size: 18px;
}

.ahc-profile .ahc-service-message-head strong {
  color: var(--ahc-dark-text);
}

.ahc-service-message-body {
  padding: 14px 16px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
}

.ahc-profile .ahc-service-message-body {
  background: #ffffff;
}

.ahc-service-message-body p {
  margin: 0;
  color: var(--ahc-dark-text);
  font-size: 15px;
  line-height: 1.5;
}

.ahc-profile .ahc-service-message-body p {
  color: var(--ahc-dark-text);
}

.ahc-service-message-body em {
  color: #6b7c8f;
  font-style: normal;
}

.ahc-service-message-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ahc-service-message-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ahc-profile .ahc-service-message .ahc-button-alt {
  border-color: var(--ahc-accent);
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-profile .ahc-service-message .ahc-button-alt:hover {
  background: #eaf7fc;
}

.ahc-profile .ahc-service-message .ahc-button-danger {
  border: 1px solid #b91c1c;
  background: #ffffff;
  color: #7f1d1d;
}

.ahc-profile .ahc-service-message .ahc-button-danger:hover {
  background: #fee2e2;
  color: #7f1d1d;
}

.ahc-fsa-total-card {
  margin-top: 16px;
  border: 1px solid #dce4ec;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-fsa-total-card .ahc-section-title-row {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--ahc-accent);
  border-bottom: 1px solid #dce4ec;
}

.ahc-fsa-total-card .ahc-section-title-row > span {
  color: #6b7c8f;
  font-size: 12px;
  font-weight: 850;
}

.ahc-fsa-total-card table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ahc-fsa-total-card th,
.ahc-fsa-total-card td {
  padding: 10px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  line-height: 1.25;
}

.ahc-fsa-total-card tr:nth-child(odd) th,
.ahc-fsa-total-card tr:nth-child(odd) td {
  background: #f4f7fa;
}

.ahc-fsa-total-card th {
  width: 62%;
  color: #536171;
  font-weight: 800;
  text-align: left;
}

.ahc-fsa-total-card td {
  color: #101820;
  font-weight: 900;
  text-align: right;
}

.ahc-fsa-total-card > p {
  margin: 0;
  padding: 12px 16px 14px;
  color: #536171;
  font-size: 13px;
  line-height: 1.45;
}

.ahc-profile-logbook-full {
  margin-top: 34px;
}

.ahc-profile-log-service {
  display: block;
  width: 100%;
  margin-top: 34px;
}

.ahc-profile-log-service.is-log-only {
  display: block;
}

.ahc-profile-log-service .ahc-profile-logbook-full {
  min-width: 0;
  width: 100%;
  margin-top: 0;
}

.ahc-profile-service-column {
  min-width: 0;
  margin-top: clamp(18px, 2vw, 26px);
}

.ahc-profile-service-column .ahc-service-panel {
  margin-top: 0;
}

.ahc-profile-service-column .ahc-service-email-form,
.ahc-profile-service-column .ahc-service-message {
  grid-template-columns: 1fr;
}

.ahc-profile-service-column .ahc-service-message form {
  justify-self: start;
}

.ahc-profile-admin-service-bottom {
  padding: 0 clamp(20px, 6vw, 72px) 44px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-profile-admin-service-bottom .ahc-service-panel {
  margin-top: 0;
}

.ahc-profile-logbook-full .ahc-section-title-row {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.ahc-profile-logbook-full .ahc-logbook-ledger {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.ahc-profile-logbook-full .ahc-logbook-table {
  width: 100%;
  max-width: none;
  min-width: 1260px;
}

.ahc-profile-logbook-full .ahc-section-title-row h2 {
  margin: 0;
  color: var(--ahc-dark-text);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.ahc-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ahc-section-title-row .ahc-kicker {
  margin: 0;
}

.ahc-profile-private-fleet {
  margin-top: clamp(34px, 4vw, 52px);
  padding: 20px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(63, 180, 216, 0.08), rgba(255, 255, 255, 0.025)),
    #101820;
  color: #f8fafc;
  box-shadow: 0 16px 34px rgba(4, 12, 20, 0.08);
}

.ahc-profile-private-fleet h2 {
  margin: 4px 0 0;
  color: #f8fafc;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.ahc-profile-private-fleet .ahc-section-title-row h2 {
  color: #f8fafc;
}

.ahc-profile-private-fleet .ahc-fleet-count-inline {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(63, 180, 216, 0.12);
  color: #dbeafe;
}

.ahc-fleet-count-inline {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d5e0ea;
  border-radius: 6px;
  background: #ffffff;
  color: #516174;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-profile-private-fleet-wrap {
  overflow-x: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.ahc-profile-private-fleet-table {
  min-width: 0;
  table-layout: fixed;
  background: transparent;
}

.ahc-profile-private-fleet-table td,
.ahc-profile-private-fleet-table strong,
.ahc-profile-private-fleet-table .ahc-aircraft-link,
.ahc-profile-private-fleet-table .ahc-aircraft-link strong {
  color: #f8fafc;
}

.ahc-profile-private-fleet-table .ahc-aircraft-link:hover,
.ahc-profile-private-fleet-table .ahc-aircraft-link:hover strong {
  color: var(--ahc-accent);
}

.ahc-profile-private-fleet-table .ahc-subline {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-profile-private-fleet-table th,
.ahc-profile-private-fleet-table td {
  padding: 12px 12px;
  vertical-align: middle;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  overflow-wrap: anywhere;
  white-space: normal;
}

.ahc-profile-private-fleet-table th {
  background: rgba(255, 255, 255, 0.075);
  color: #bfdbfe;
}

.ahc-profile-private-fleet-table td {
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-profile-private-fleet-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.07);
}

.ahc-profile-private-fleet-table th:nth-child(1),
.ahc-profile-private-fleet-table td:nth-child(1) {
  width: 11%;
}

.ahc-profile-private-fleet-table th:nth-child(2),
.ahc-profile-private-fleet-table td:nth-child(2) {
  width: 12%;
}

.ahc-profile-private-fleet-table th:nth-child(3),
.ahc-profile-private-fleet-table td:nth-child(3) {
  width: 20%;
}

.ahc-profile-private-fleet-table th:nth-child(4),
.ahc-profile-private-fleet-table td:nth-child(4) {
  width: 20%;
}

.ahc-profile-private-fleet-table th:nth-child(5),
.ahc-profile-private-fleet-table td:nth-child(5) {
  width: 10%;
}

.ahc-profile-private-fleet-table th:nth-child(6),
.ahc-profile-private-fleet-table td:nth-child(6) {
  width: 9%;
}

.ahc-profile-private-fleet-table th:nth-child(7),
.ahc-profile-private-fleet-table td:nth-child(7) {
  width: 9%;
}

.ahc-profile-private-fleet-table th:nth-child(8),
.ahc-profile-private-fleet-table td:nth-child(8) {
  width: 9%;
  text-align: right;
}

.ahc-profile-private-fleet-table td:nth-child(3),
.ahc-profile-private-fleet-table td:nth-child(4) {
  white-space: normal;
}

.ahc-profile-private-fleet-table .ahc-button-small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 13px;
}

.ahc-profile-private-fleet-table .ahc-button-secondary {
  border-color: rgba(125, 211, 252, 0.52);
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-profile-private-fleet-table .ahc-button-secondary:hover {
  background: rgba(63, 180, 216, 0.22);
}

@media (max-width: 900px) {
  .ahc-profile-private-fleet-wrap {
    overflow-x: visible;
  }

  .ahc-profile-private-fleet-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    background: transparent;
  }

  .ahc-profile-private-fleet-table thead {
    display: none;
  }

  .ahc-profile-private-fleet-table tbody {
    display: grid;
    gap: 12px;
  }

  .ahc-profile-private-fleet-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
  }

  .ahc-profile-private-fleet-table td {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: auto !important;
    min-width: 0;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }

  .ahc-profile-private-fleet-table td::before {
    content: attr(data-label);
    color: #8fa1b4;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .ahc-profile-private-fleet-table td:nth-child(1),
  .ahc-profile-private-fleet-table td:nth-child(2) {
    background: rgba(255, 255, 255, 0.065);
  }

  .ahc-profile-private-fleet-table td:nth-child(7) {
    grid-column: 1 / -1;
    align-items: flex-start;
    border-bottom: 0;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .ahc-section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ahc-profile-private-fleet-table tr {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ahc-condition-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 900;
}

.ahc-condition-badge.is-good {
  background: #e8f7ee;
  color: #126b34;
}

.ahc-condition-badge.is-warning {
  background: #fff3cf;
  color: #8a5a00;
}

.ahc-condition-badge.is-critical {
  background: #ffe2df;
  color: #9e2018;
}

.ahc-maintenance-cell {
  display: grid;
  gap: 5px;
  min-width: 150px;
  max-width: 230px;
}

.ahc-maintenance-cell-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ahc-maintenance-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 6px;
  background: rgba(125, 211, 252, 0.12);
  color: #d8edf7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.ahc-maintenance-cell.is-ok .ahc-maintenance-pill {
  border-color: rgba(58, 184, 104, 0.38);
  background: rgba(58, 184, 104, 0.13);
  color: #bff1ce;
}

.ahc-maintenance-cell.is-monitor .ahc-maintenance-pill,
.ahc-maintenance-cell.is-soon .ahc-maintenance-pill {
  border-color: rgba(255, 196, 87, 0.42);
  background: rgba(255, 196, 87, 0.13);
  color: #ffe5aa;
}

.ahc-maintenance-cell.is-due .ahc-maintenance-pill,
.ahc-maintenance-cell.is-blocked .ahc-maintenance-pill {
  border-color: rgba(255, 116, 104, 0.45);
  background: rgba(255, 116, 104, 0.15);
  color: #ffd0cb;
}

.ahc-maintenance-next,
.ahc-maintenance-reason {
  display: block;
  color: #b8c2cf;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.ahc-maintenance-reason {
  color: #8fa1b4;
  font-weight: 750;
}

.ahc-maintenance-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 0.7fr)) minmax(220px, 1.8fr);
  gap: 8px;
  margin: 0 0 14px;
}

.ahc-maintenance-summary div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-left: 3px solid #46c1df;
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
}

.ahc-maintenance-summary span {
  display: block;
  color: #9fb1c4;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.ahc-maintenance-summary strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.ahc-maintenance-summary-next strong {
  font-size: 13px;
}

@media (max-width: 900px) {
  .ahc-maintenance-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-maintenance-summary-next {
    grid-column: 1 / -1;
  }

  .ahc-maintenance-cell {
    max-width: none;
  }
}

.ahc-profile-missions {
  padding: 0 clamp(20px, 6vw, 72px) 40px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-profile-missions + .ahc-profile-missions {
  padding-top: 0;
}

.ahc-profile-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 18px clamp(20px, 6vw, 72px) 44px;
  background: var(--ahc-paper);
  color: var(--ahc-dark-text);
}

.ahc-profile-status-grid .ahc-profile-missions {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.ahc-profile-status-grid .ahc-card,
.ahc-profile-status-grid .ahc-empty {
  width: 100%;
  height: 100%;
}

.ahc-profile-status-grid .ahc-shift-card {
  max-width: none;
}

.ahc-profile-status-grid .ahc-card {
  display: flex;
  flex-direction: column;
}

.ahc-profile-status-grid .ahc-card .ahc-actions {
  margin-top: auto;
  padding-top: 20px;
}

.ahc-profile-status-grid .ahc-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.ahc-login {
  max-width: 420px;
  margin: clamp(40px, 10vh, 96px) auto;
  padding: 24px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-login label {
  display: block;
  margin-bottom: 10px;
}

.ahc-login input[type="text"],
.ahc-login input[type="password"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ahc-dark-text);
}

.ahc-airline-shift {
  padding-top: 24px;
}

.ahc-airline-pagehead > * {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
}

.ahc-airline-pagehead p:not(.ahc-kicker) {
  width: 100%;
  max-width: none;
}

.ahc-airline-shift-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(420px, 0.78fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.ahc-airline-shift-grid {
  align-items: stretch;
}

.ahc-airline-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ahc-airline-options span {
  display: block;
  padding: 12px 14px;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  background: #f8fbfd;
  color: var(--ahc-dark-text);
}

.ahc-airline-options b {
  display: block;
  margin-bottom: 3px;
  color: var(--ahc-soft-text);
  font-size: 12px;
  text-transform: uppercase;
}

.ahc-airline-board {
  margin-top: 18px;
}

.ahc-airline-week-board {
  width: 100%;
  margin-inline: 0;
}

.ahc-airline-principles {
  margin-top: 0;
}

.ahc-airline-rotation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.ahc-airline-rotation {
  min-width: 0;
  color: var(--ahc-dark-text);
}

.ahc-airline-rotation-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  gap: 16px;
  align-items: start;
}

.ahc-airline-rotation-head strong,
.ahc-airline-active > strong {
  color: var(--ahc-dark-text);
  font-size: 26px;
}

.ahc-airline-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dce4ec;
  border-radius: 999px;
  background: #f4f7fa;
  color: var(--ahc-soft-text);
  font-size: 13px;
  font-weight: 800;
}

.ahc-airline-start {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.ahc-airline-start .ahc-button {
  width: auto;
  min-width: 220px;
}

.ahc-airline-briefing {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dce4ec;
}

.ahc-airline-briefing span {
  color: var(--ahc-soft-text);
  font-size: 15px;
}

.ahc-airline-legs {
  margin-top: 14px;
}

.ahc-airline-legs tr.is-next td {
  background: #eef8fb;
  box-shadow: inset 4px 0 0 var(--ahc-accent);
}

.ahc-airline-legs tr.is-complete td {
  background: #f3f8f5;
  color: #64748b;
}

.ahc-inline-report-form {
  display: inline-flex;
  margin: 0;
}

.ahc-inline-report-form .ahc-button {
  white-space: nowrap;
}

.ahc-shift-report-form {
  margin-top: 8px;
}

.ahc-airline-active {
  max-width: 1180px;
}

.ahc-airline-shift-layout .ahc-airline-active {
  width: 100%;
  max-width: none;
}

.ahc-airline-history {
  width: 100%;
  min-height: 100%;
}

.ahc-airline-history .ahc-table th:nth-child(1),
.ahc-airline-history .ahc-table td:nth-child(1) {
  width: 26%;
}

.ahc-airline-history .ahc-table th:nth-child(2),
.ahc-airline-history .ahc-table td:nth-child(2) {
  width: 24%;
}

.ahc-airline-history .ahc-table th:nth-child(3),
.ahc-airline-history .ahc-table td:nth-child(3) {
  width: 17%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ahc-airline-history .ahc-table th:nth-child(4),
.ahc-airline-history .ahc-table td:nth-child(4) {
  width: 12%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ahc-airline-history .ahc-table th:nth-child(5),
.ahc-airline-history .ahc-table td:nth-child(5) {
  width: 21%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ahc-airline-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.ahc-airline-history-head > strong {
  margin: 0;
  color: #f8fafc;
  font-size: 24px;
}

.ahc-airline-history-head .ahc-button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.ahc-airline-history {
  display: flex;
  flex-direction: column;
}

.ahc-airline-active-title,
.ahc-airline-history-title {
  margin-bottom: 16px;
}

.ahc-airline-active-title .ahc-kicker,
.ahc-airline-history-title .ahc-kicker {
  margin-bottom: 6px;
  color: #b8c2cf;
}

.ahc-airline-active-title h2,
.ahc-airline-history-title h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.18;
}

.ahc-airline-active-title p:not(.ahc-kicker),
.ahc-airline-history-title p:not(.ahc-kicker) {
  margin: 6px 0 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.ahc-airline-history-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 14px;
}

.ahc-airline-history-actions .ahc-button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.ahc-empty-inline {
  margin: 10px 0 0;
  color: #b8c2cf;
}

.ahc-airline-active .ahc-table-wrap,
.ahc-airline-history .ahc-table-wrap {
  border-color: rgba(125, 211, 252, 0.22);
  background: #0b1218;
}

.ahc-airline-active .ahc-table,
.ahc-airline-history .ahc-table {
  background: #101820;
  color: #f8fafc;
}

.ahc-airline-active .ahc-table th,
.ahc-airline-history .ahc-table th {
  background: #0b1218;
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.22);
}

.ahc-airline-active .ahc-table td,
.ahc-airline-history .ahc-table td {
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.10);
}

.ahc-airline-history .ahc-table th,
.ahc-airline-history .ahc-table td {
  padding: 8px 10px;
}

.ahc-airline-active .ahc-table tbody tr:nth-child(even) td,
.ahc-airline-history .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-airline-active .ahc-airline-legs tr.is-next td {
  background: rgba(63, 180, 216, 0.16);
  color: #f8fafc;
  box-shadow: inset 4px 0 0 var(--ahc-accent);
}

.ahc-airline-active .ahc-airline-legs tr.is-complete td {
  background: rgba(25, 165, 111, 0.10);
  color: #b8c2cf;
}

.ahc-airline-history-dialog {
  max-width: min(1040px, calc(100vw - 40px));
}

.ahc-airline-history-dialog .ahc-table th:nth-child(1),
.ahc-airline-history-dialog .ahc-table td:nth-child(1) {
  width: 28%;
}

.ahc-airline-history-dialog .ahc-table th:nth-child(2),
.ahc-airline-history-dialog .ahc-table td:nth-child(2) {
  width: 26%;
}

.ahc-airline-history-dialog .ahc-table th:nth-child(3),
.ahc-airline-history-dialog .ahc-table td:nth-child(3),
.ahc-airline-history-dialog .ahc-table th:nth-child(4),
.ahc-airline-history-dialog .ahc-table td:nth-child(4),
.ahc-airline-history-dialog .ahc-table th:nth-child(5),
.ahc-airline-history-dialog .ahc-table td:nth-child(5) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1120px) {
  .ahc-airline-shift-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ahc-tours-hero > * {
  width: 100%;
  max-width: none;
}

.ahc-tours-hero p:not(.ahc-kicker) {
  width: 100%;
  max-width: none;
}

.ahc-tours-events {
  padding-top: 42px;
}

.ahc-tours-events-light {
  background: #eef3f7;
}

.ahc-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.ahc-section-head h2 {
  margin-bottom: 0;
}

.ahc-section-head > span {
  color: var(--ahc-soft-text);
  font-size: 14px;
  font-weight: 800;
}

.ahc-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}

.ahc-tour-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.ahc-tour-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.18;
}

.ahc-tour-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.ahc-tour-card-head .ahc-kicker {
  margin: 0;
}

.ahc-tour-card-head span {
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  background: rgba(63, 180, 216, 0.12);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-tour-meta {
  display: grid;
  gap: 8px;
  margin: 2px 0;
}

.ahc-tour-meta span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 15px;
}

.ahc-tour-meta b {
  display: block;
  margin-bottom: 4px;
  color: #b8c2cf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-tour-detail {
  padding-top: 34px;
}

.ahc-tour-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.ahc-tour-map-card {
  min-width: 0;
}

.ahc-tour-map {
  display: block;
  width: 100%;
  min-height: 280px;
  margin-top: 12px;
}

.ahc-tour-map rect {
  fill: #0f1821;
}

.ahc-tour-map-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.ahc-tour-map-route {
  fill: none;
  stroke: var(--ahc-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ahc-tour-map-dot {
  fill: var(--ahc-warm);
  stroke: #ffffff;
  stroke-width: 2;
}

.ahc-tour-map text {
  fill: #f8fafc;
  font-size: 14px;
  font-weight: 900;
}

.ahc-tour-rules {
  margin: 16px 0 0;
  padding-left: 22px;
}

.ahc-tour-rules li + li {
  margin-top: 8px;
}

.ahc-tour-legs-card {
  min-width: 0;
}

.ahc-tour-leg-table {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .ahc-profile-head {
    grid-template-columns: 1fr;
  }

  .ahc-profile-rank-header {
    justify-self: stretch;
    max-width: none;
  }

  .ahc-profile > .ahc-grid.ahc-profile-topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-profile-main {
    grid-template-columns: 1fr;
  }

  .ahc-reward-grid {
    grid-template-columns: 1fr;
  }

  .ahc-profile-log-service {
    grid-template-columns: 1fr;
  }

  .ahc-home-promo-grid,
  .ahc-home-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-aircraft-hero-card,
  .ahc-aircraft-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .site-nav,
  .site-main,
  .ahc {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .site-brand.ahc-site-brand-logo {
    min-width: 146px;
    min-height: 50px;
  }

  .ahc-site-logo {
    width: 42px;
    height: 48px;
  }

  .ahc-hero {
    min-height: 560px;
    padding: 40px 22px;
  }

  .ahc-hero > div,
  .ahc-hero > div > p:not(.ahc-kicker) {
    width: 100%;
    max-width: 100%;
  }

  .ahc-hero > div > p:not(.ahc-kicker) {
    width: min(100%, 318px);
    max-width: min(100%, 318px);
    font-size: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ahc-hero-title {
    flex-direction: column-reverse;
    gap: 16px;
    width: 100%;
  }

  .ahc-flightdata-head,
  .ahc-flightdata-layout {
    grid-template-columns: 1fr;
  }

  .ahc-flightdata-head {
    display: grid;
  }

  .ahc-flightdata-cards {
    grid-template-columns: 1fr;
  }

  .ahc .ahc-hero-title {
    width: 100%;
    max-width: 100%;
  }

  .ahc h1 {
    font-size: 38px;
    line-height: 1;
  }

  .ahc-profile-rank-header {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 14px;
  }

  .ahc-profile-certificate-badge {
    width: 96px;
    max-width: 96px;
  }

  .ahc-profile-certificate-badge img {
    width: 96px;
    max-height: 96px;
  }

  .ahc-profile-rank-line {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .ahc-profile-rank-copy .ahc-kicker,
  .ahc-profile-rank-copy strong {
    text-align: left;
  }

  .ahc-profile-rank-copy strong {
    font-size: 19px;
  }

  .ahc-profile-rank-copy p:not(.ahc-kicker) {
    white-space: normal;
  }

  .ahc-hero-title h1 {
    white-space: normal;
  }

  .ahc .ahc-hero-title h1 {
    white-space: normal;
  }

  .ahc-hero-logo {
    width: 118px;
    min-width: 0;
    max-width: 118px;
    height: auto;
    align-self: flex-start;
    margin-bottom: 0;
  }

  .ahc-split {
    grid-template-columns: 1fr;
  }

  .ahc-home-ops-split,
  .ahc-home-news-rank {
    grid-template-columns: minmax(0, 1fr);
  }

  .ahc-home-ops-split h2 {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .ahc-flight-board-head {
    display: none;
  }

  .ahc-flight-board-row {
    grid-template-columns: 1fr;
  }

  .ahc-flight-board-route {
    grid-template-columns: 1fr;
  }

  .ahc-flight-board-route i {
    display: none;
  }

  .ahc-home-weather-grid,
  .ahc-home-promo-grid,
  .ahc-home-ranking-grid,
  .ahc-team-management-grid,
  .ahc-apply-grid,
  .ahc-apply-feature-grid,
  .ahc-home-news-rank {
    grid-template-columns: 1fr;
  }

  .ahc-apply-form-card {
    padding: 18px;
  }

  .ahc-reward-card {
    grid-template-columns: 1fr;
  }

  .ahc-reward-card img {
    max-width: 180px;
  }

  .ahc-fleet-section-head {
    grid-template-columns: 1fr;
  }

  .ahc-fleet-count {
    width: 100%;
    text-align: left;
  }

  .ahc-home-fleet-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ahc-airline-rotation-head {
    grid-template-columns: 1fr;
  }

  .ahc-section-head,
  .ahc-tour-detail-grid {
    grid-template-columns: 1fr;
  }

  .ahc-notification-strip {
    grid-template-columns: 1fr;
  }

  .ahc-profile-status-grid {
    grid-template-columns: 1fr;
  }

  .ahc-aircraft-facts,
  .ahc-maintenance-row {
    grid-template-columns: 1fr;
  }

  .ahc-maintenance-status-grid {
    grid-template-columns: 1fr;
  }

  .ahc-maintenance-row b {
    text-align: left;
  }

  .ahc-aircraft-photo {
    min-height: 240px;
  }

  .ahc-profile > .ahc-grid.ahc-profile-topbar {
    grid-template-columns: 1fr;
  }

  .ahc-fleet-jump {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .ahc-fleet-jump select {
    width: 100%;
    min-width: 0;
  }

  .ahc-service-email-form,
  .ahc-service-message {
    grid-template-columns: 1fr;
  }

  .ahc-service-message form {
    justify-self: start;
  }

  .ahc-tour-map {
    min-height: 230px;
  }

  .ahc-cert-actions {
    flex-direction: column;
  }

  .ahc-certificate {
    aspect-ratio: auto;
    min-height: 980px;
    border-radius: 8px;
  }

  .ahc-cert-brand {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 24px;
  }

  .ahc-cert-brand strong {
    font-size: 22px;
  }

  .ahc-cert-brand img {
    width: 58px;
    height: 58px;
  }

  .ahc-cert-mark {
    min-height: 80px;
    margin-top: 22px;
  }

  .ahc-cert-body h1 {
    margin-bottom: 22px;
    padding-inline: 0;
    font-size: 40px;
  }

  .ahc-cert-copy {
    font-size: 16px;
  }

  .ahc-cert-body h2 {
    font-size: 36px;
  }

  .ahc-cert-body h3 {
    font-size: 38px;
  }

  .ahc-cert-points {
    font-size: 16px;
  }

  .ahc-cert-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 24px 42px;
  }

  .ahc-cert-place,
  .ahc-cert-signature {
    min-height: 132px;
  }

  .ahc-cert-stamp {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .ahc-cert-script {
    width: 185px;
    height: 64px;
  }
}

.ahc-notification-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 8px;
}

.ahc-notification-strip article {
  border-left: 3px solid var(--ahc-cyan);
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(4, 12, 20, 0.06);
}

.ahc-notification-strip strong,
.ahc-notification-strip span {
  display: block;
}

.ahc-notification-strip strong {
  margin-bottom: 6px;
  color: var(--ahc-ink);
}

.ahc-notification-strip span {
  color: var(--ahc-muted);
}

.ahc-tour-progress {
  margin-bottom: 18px;
}

.ahc-tour-progress .ahc-rank-progress {
  max-width: 420px;
  margin: 10px 0 14px;
}

.ahc-tour-progress-table {
  margin-top: 14px;
}

.ahc-card,
.ahc-empty,
.ahc-dispatch,
.ahc-profile-overview article,
.ahc-service-panel,
.ahc-notification-strip article,
.ahc-fleet-section,
.ahc-airline-rotation,
.ahc-airline-active,
.ahc-aircraft-summary,
.ahc-aircraft-detail-card,
.ahc-maintenance-card,
.ahc-tour-card,
.ahc-event-card,
.ahc-team-management-card {
  border-color: rgba(16, 24, 32, 0.16);
  border-left: 4px solid var(--ahc-accent);
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 16px 34px rgba(4, 12, 20, 0.08);
}

.ahc-card strong,
.ahc-card h3,
.ahc-card h4,
.ahc-empty strong,
.ahc-dispatch legend,
.ahc-profile-overview strong,
.ahc-service-panel strong,
.ahc-notification-strip strong,
.ahc-fleet-section h3,
.ahc-airline-rotation h3,
.ahc-airline-rotation strong,
.ahc-airline-active strong,
.ahc-aircraft-summary strong,
.ahc-aircraft-detail-card strong,
.ahc-maintenance-card strong,
.ahc-tour-card strong,
.ahc-event-card strong,
.ahc-team-management-card h3 {
  color: #f8fafc;
}

.ahc-card p,
.ahc-card li,
.ahc-empty,
.ahc-dispatch label,
.ahc-dispatch legend,
.ahc-profile-overview span,
.ahc-service-panel p,
.ahc-notification-strip span,
.ahc-fleet-section p,
.ahc-airline-rotation p,
.ahc-airline-active p,
.ahc-aircraft-summary span,
.ahc-aircraft-detail-card span,
.ahc-maintenance-card span,
.ahc-tour-card p,
.ahc-event-card p,
.ahc-team-management-copy > p:not(.ahc-team-management-callsign) {
  color: #b8c2cf;
}

.ahc-card .ahc-mission-meta span,
.ahc-card .ahc-shift-stats span,
.ahc-card .ahc-dispatch-context-list span,
.ahc-card .ahc-dispatch-ampel,
.ahc-card .ahc-mission-brief,
.ahc-dispatch .ahc-checkgrid .ahc-check,
.ahc-airline-options span,
.ahc-aircraft-facts span,
.ahc-maintenance-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-card .ahc-mission-meta b,
.ahc-card .ahc-shift-stats b,
.ahc-card .ahc-dispatch-context-list b,
.ahc-card .ahc-dispatch-ampel span,
.ahc-card .ahc-dispatch-ampel p,
.ahc-card .ahc-dispatch-ampel li,
.ahc-card .ahc-mission-brief p,
.ahc-card .ahc-mission-brief li,
.ahc-airline-options b,
.ahc-aircraft-facts b {
  color: #b8c2cf;
}

.ahc-card .ahc-dispatch-ampel strong,
.ahc-card .ahc-mission-brief strong {
  color: #f8fafc;
}

.ahc-shift-module .ahc-route-point,
.ahc-efb-main .ahc-route-point {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.ahc-shift-module .ahc-route-point small,
.ahc-shift-module .ahc-route-arrow,
.ahc-efb-main .ahc-route-point small,
.ahc-efb-main .ahc-route-arrow {
  color: #b8c2cf;
}

.ahc-shift-module .ahc-leg-list li,
.ahc-efb-main .ahc-leg-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-shift-module .ahc-leg-list li.is-complete,
.ahc-efb-main .ahc-leg-list li.is-complete {
  border-color: rgba(25, 165, 111, 0.34);
  background: rgba(25, 165, 111, 0.10);
}

.ahc-shift-module .ahc-leg-list li.is-next,
.ahc-efb-main .ahc-leg-list li.is-next {
  border-color: rgba(63, 180, 216, 0.62);
  background: rgba(63, 180, 216, 0.12);
  box-shadow: inset 4px 0 0 var(--ahc-accent);
}

.ahc-shift-module .ahc-leg-list span,
.ahc-shift-module .ahc-leg-list small,
.ahc-efb-main .ahc-leg-list span,
.ahc-efb-main .ahc-leg-list small {
  color: #b8c2cf;
}

.ahc-card .ahc-mission-brief .ahc-leg-list li,
.ahc-card .ahc-mission-brief .ahc-brief-summary,
.ahc-card .ahc-mission-brief .ahc-brief-note {
  color: #dbeafe;
}

.ahc-card .ahc-mission-brief .ahc-leg-list li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.ahc-card .ahc-mission-brief .ahc-leg-list li.is-complete {
  border-color: rgba(25, 165, 111, 0.32);
  background: rgba(25, 165, 111, 0.10);
}

.ahc-card .ahc-mission-brief .ahc-leg-list li.is-next {
  border-color: var(--ahc-accent);
  background: rgba(63, 180, 216, 0.12);
}

.ahc-card .ahc-mission-brief .ahc-leg-list span,
.ahc-card .ahc-mission-brief .ahc-leg-list small {
  color: #b8c2cf;
}

.ahc-card .ahc-button-alt,
.ahc-service-panel .ahc-button-alt,
.ahc-airline-rotation .ahc-button-alt,
.ahc-airline-active .ahc-button-alt,
.ahc-tour-card .ahc-button-alt,
.ahc-event-card .ahc-button-alt {
  color: #f8fafc;
}

.ahc-card .ahc-button-secondary,
.ahc-service-panel .ahc-button-secondary,
.ahc-airline-rotation .ahc-button-secondary,
.ahc-airline-active .ahc-button-secondary {
  border-color: rgba(125, 211, 252, 0.52);
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-team-management-copy {
  color: #f8fafc;
}

.ahc-team-management-role {
  color: #8fa1b4;
}

.ahc-team-management-callsign {
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(63, 180, 216, 0.16);
  color: #7dd3fc;
}
/* 0.3.40 page polish: align panels, forms and operational boards */
.ahc-pagehead + .ahc-grid {
  padding-inline: clamp(20px, 6vw, 72px);
}

.ahc-pagehead + .ahc-grid .ahc-track {
  min-height: 100%;
}

.ahc-shift-page {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
}

.ahc-shift-page > .ahc-notice {
  width: min(100%, 1280px);
  margin-inline: auto;
}

@media (min-width: 1120px) {
  .ahc-shift-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-shift-page > .ahc-notice,
  .ahc-shift-page > .ahc-shift-card:not(:first-of-type):not(.ahc-shift-history) {
    grid-column: 1 / -1;
  }
}

.ahc-shift-form {
  grid-template-columns: minmax(360px, 1.7fr) minmax(180px, 0.85fr) minmax(220px, 0.95fr);
  align-items: end;
}

.ahc-shift-form .ahc-shift-category-set,
.ahc-shift-form .ahc-shift-fleet-picker,
.ahc-shift-form .ahc-button[type="submit"] {
  grid-column: 1 / -1;
}

.ahc-shift-fleet-picker {
  padding: 0;
  border: 0;
  background: transparent;
}

.ahc-shift-fleet-picker legend {
  margin-bottom: 8px;
  color: #d8e3ef;
  font-size: 13px;
  font-weight: 900;
}

.ahc-shift-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ahc-shift-fleet-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.ahc-shift-fleet-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ahc-shift-fleet-choice span {
  display: grid;
  gap: 4px;
  min-height: 70px;
  padding: 11px 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-shift-fleet-choice b {
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.15;
}

.ahc-shift-fleet-choice small {
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.ahc-shift-fleet-choice input:checked + span {
  border-color: rgba(125, 211, 252, 0.72);
  background: linear-gradient(135deg, rgba(63, 180, 216, 0.2), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18);
}

@media (max-width: 980px) {
  .ahc-shift-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .ahc-shift-fleet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ahc-shift-form label,
.ahc-dispatch label,
.ahc-filter-set legend {
  color: #d8e3ef;
}

.ahc-shift-form select,
.ahc-shift-form input,
.ahc-dispatch select,
.ahc-card select,
.ahc-aircraft-select select {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
}

.ahc-shift-form select option,
.ahc-dispatch select option,
.ahc-card select option,
.ahc-aircraft-select select option {
  color: #101820;
}

.ahc-shift-category-set {
  padding: 0;
  border: 0;
  background: transparent;
}

.ahc-checkgrid .ahc-check,
.ahc-dispatch .ahc-checkgrid .ahc-check {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
}

.ahc-checkgrid .ahc-check:has(input:checked) {
  border-color: rgba(63, 180, 216, 0.75);
  background: rgba(63, 180, 216, 0.16);
}

.ahc-mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.ahc-mission {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ahc-mission .ahc-mission-meta {
  grid-template-columns: 1fr;
}

.ahc-mission .ahc-mission-action {
  margin-top: auto;
  padding-top: 12px;
}

.ahc-mission-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: min(86vh, 920px);
  padding: 24px;
  border: 1px solid rgba(63, 180, 216, 0.4);
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: #101820;
  color: #f8fafc;
  box-shadow: 0 28px 70px rgba(4, 12, 20, 0.45);
}

.ahc-mission-dialog::backdrop {
  background: rgba(4, 12, 20, 0.68);
}

.ahc-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.ahc-dialog-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.ahc-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ahc-mission-dialog .ahc-mission-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ahc-mission-dialog .ahc-mission-brief,
.ahc-mission-dialog .ahc-dispatch-ampel {
  margin-top: 14px;
}

.ahc-airline-week-scroll {
  padding: 12px;
  border-color: rgba(16, 24, 32, 0.16) !important;
  background: #101820 !important;
}

.ahc-airline-week-table {
  border-collapse: separate !important;
  border-spacing: 8px 12px !important;
}

.ahc-airline-week-table th,
.ahc-airline-week-table td {
  border: 0 !important;
}

.ahc-airline-week-table th {
  padding: 12px 14px !important;
  border-radius: 8px !important;
  background: #0b1218 !important;
  color: #f8fafc !important;
}

.ahc-airline-week-table tbody tr td {
  color: #f8fafc;
}

.ahc-airline-week-aircraft {
  padding: 14px !important;
  border-left: 4px solid var(--ahc-accent) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.075) !important;
}

.ahc-airline-week-aircraft strong {
  color: #f8fafc !important;
}

.ahc-airline-week-aircraft span {
  color: #b8c2cf !important;
}

.ahc-airline-week-cell {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ahc-airline-week-card-shell {
  height: 100%;
}

.ahc-airline-week-card {
  display: flex;
  flex-direction: column;
  min-height: 228px;
  height: 100%;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(125, 211, 252, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ahc-airline-week-card-button {
  appearance: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ahc-airline-week-card-button:hover,
.ahc-airline-week-card-button:focus-visible {
  border-color: rgba(125, 211, 252, 0.58);
  outline: 2px solid rgba(64, 185, 223, 0.88);
  outline-offset: 2px;
  background: rgba(64, 185, 223, 0.1);
}

.ahc-airline-week-cell.is-today .ahc-airline-week-card {
  border-left-color: var(--ahc-accent);
  background: rgba(64, 185, 223, 0.12);
}

.ahc-airline-week-name {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: #f8fafc !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ahc-airline-week-route {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 70px;
  margin-top: 8px;
  overflow: hidden;
  color: #b8c2cf !important;
  font-size: 13px;
  line-height: 1.22;
}

.ahc-airline-week-route span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahc-airline-week-meta {
  min-height: 30px;
  margin-top: 10px;
}

.ahc-airline-week-meta span {
  align-items: center;
  min-height: 28px;
  border-color: rgba(125, 211, 252, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d8e3ef !important;
}

.ahc-airline-week-bonus,
.ahc-airline-week-standard {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  margin-top: 10px;
}

.ahc-airline-week-details {
  margin-top: auto !important;
  padding-top: 12px;
}

.ahc-airline-week-details.is-dialog-only {
  display: contents;
  margin: 0 !important;
  padding: 0 !important;
}

.ahc-airline-week-details .ahc-button {
  width: 100%;
  justify-content: center;
}

.ahc-airline-dialog {
  border: 1px solid rgba(64, 185, 223, 0.5) !important;
  border-radius: 8px;
  background: #101820 !important;
  color: #f8fafc !important;
  box-shadow: 0 24px 90px rgba(8, 20, 32, 0.55) !important;
}

.ahc-airline-dialog::backdrop {
  background: rgba(8, 20, 32, 0.68);
}

.ahc-airline-dialog-inner {
  background: #101820 !important;
  color: #f8fafc !important;
}

.ahc-airline-dialog .ahc-kicker,
.ahc-airline-dialog p,
.ahc-airline-dialog .ahc-muted {
  color: #b8c2cf !important;
}

.ahc-airline-dialog h3,
.ahc-airline-dialog strong {
  color: #f8fafc !important;
}

.ahc-airline-dialog-actions {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(190px, 220px);
  justify-content: stretch;
  align-items: stretch;
  gap: 10px;
}

.ahc-airline-dialog-actions form {
  display: flex;
  grid-column: 1;
  margin: 0;
}

.ahc-airline-dialog-actions > .ahc-button {
  grid-column: 3;
}

.ahc-airline-dialog-actions .ahc-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 560px) {
  .ahc-airline-dialog-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .ahc-airline-dialog-actions form,
  .ahc-airline-dialog-actions > .ahc-button {
    grid-column: auto;
  }
}

.ahc-airline-dialog .ahc-table-wrap {
  border: 1px solid rgba(125, 211, 252, 0.22) !important;
  border-radius: 8px;
  background: #0b1218 !important;
}

.ahc-airline-dialog .ahc-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #101820 !important;
  color: #f8fafc !important;
}

.ahc-airline-dialog .ahc-table th {
  background: #0b1218 !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(125, 211, 252, 0.22) !important;
}

.ahc-airline-dialog .ahc-table td {
  background: rgba(255, 255, 255, 0.045) !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ahc-airline-dialog .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075) !important;
}

.ahc-airline-dialog .ahc-table tbody tr:hover td {
  background: rgba(64, 185, 223, 0.12) !important;
}

.ahc-fleet-table,
.ahc-team-table .ahc-table,
section.ahc-table-wrap.ahc-band > .ahc-table {
  border-collapse: separate;
  border-spacing: 0;
  background: #101820;
  color: #f8fafc;
}

.ahc-fleet-table td,
.ahc-team-table .ahc-table td,
section.ahc-table-wrap.ahc-band > .ahc-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-fleet-table tbody tr:nth-child(even) td,
.ahc-team-table .ahc-table tbody tr:nth-child(even) td,
section.ahc-table-wrap.ahc-band > .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-fleet-table td small,
.ahc-team-table .ahc-table td small,
section.ahc-table-wrap.ahc-band > .ahc-table td small {
  color: #b8c2cf;
}

.ahc-fleet-table a,
.ahc-team-table .ahc-table a,
section.ahc-table-wrap.ahc-band > .ahc-table a {
  color: #7ddcff;
}

.ahc-fleet-table td:first-child strong,
.ahc-fleet-table td:nth-child(2) strong,
.ahc-fleet-table .ahc-aircraft-link,
.ahc-fleet-table .ahc-aircraft-link strong {
  color: #f8fafc;
}

.ahc-fleet-table .ahc-aircraft-link:hover,
.ahc-fleet-table .ahc-aircraft-link:hover strong {
  color: #7ddcff;
}

.ahc-fleet-table .ahc-button-small {
  background: #46c1df;
  border-color: #46c1df;
  color: #06131c;
  font-weight: 900;
}

.ahc-profile-download-secondary {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(125, 211, 252, 0.65);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.ahc-profile-download-secondary:hover,
.ahc-profile-download-secondary:focus {
  border-color: #7dd3fc;
  background: rgba(63, 180, 216, 0.2);
  color: #f8fafc;
}

.ahc-fleet-table .ahc-button-small:hover {
  background: #7ddcff;
  border-color: #7ddcff;
  color: #06131c;
}

.ahc-aircraft-detail .ahc-kicker,
.ahc-aircraft-detail .ahc-subline {
  color: #b8c2cf;
}

.ahc-aircraft-detail .ahc-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: auto;
  background: #101820;
}

.ahc-aircraft-detail .ahc-table {
  border-collapse: separate;
  border-spacing: 0;
  background: #101820;
  color: #f8fafc;
}

.ahc-aircraft-detail .ahc-table th {
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  background: #0b141c;
  color: #f8fafc;
}

.ahc-aircraft-detail .ahc-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-aircraft-detail .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-aircraft-detail .ahc-table td small,
.ahc-aircraft-detail .ahc-table .ahc-subline {
  color: #b8c2cf;
}

.ahc-aircraft-detail .ahc-table a,
.ahc-aircraft-detail .ahc-aircraft-log-table a {
  color: #7ddcff;
}

.ahc-free-flight-head {
  max-width: 1280px;
}

.ahc-free-flight {
  display: grid;
  gap: 28px;
}

.ahc-free-flight-current {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border-left: 4px solid #46c1df;
  background: #0f1922;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 16, 24, 0.12);
}

.ahc-free-flight-current span,
.ahc-free-flight-current small {
  display: block;
  color: #9eb0c4;
  font-weight: 800;
}

.ahc-free-flight-current strong {
  display: block;
  margin: 6px 0;
  font-size: 1.4rem;
}

.ahc-free-flight-section .ahc-section-head {
  align-items: center;
}

.ahc-free-flight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ahc-free-flight-actions form {
  margin: 0;
}

.ahc-free-flight-actions .ahc-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.ahc-free-flight-section {
  background: #101820;
  color: #f8fafc;
}

.ahc-free-flight-section .ahc-section-head h2,
.ahc-free-flight-section .ahc-fleet-count-inline {
  color: #f8fafc;
}

.ahc-free-flight-section .ahc-fleet-count-inline {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(255, 255, 255, 0.055);
}

.ahc-free-flight-section .ahc-table-wrap {
  overflow-x: visible;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: #0b1218;
}

.ahc-free-flight-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #101820;
  color: #f8fafc;
}

.ahc-free-flight-table th,
.ahc-free-flight-table td {
  padding: 12px 12px;
  vertical-align: middle;
}

.ahc-free-flight-table th {
  background: #0b1218;
  color: #f8fafc;
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
}

.ahc-free-flight-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-free-flight-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-free-flight-table td,
.ahc-free-flight-table strong,
.ahc-free-flight-table .ahc-aircraft-link,
.ahc-free-flight-table .ahc-aircraft-link strong {
  color: #f8fafc;
}

.ahc-free-flight-table a,
.ahc-free-flight-table .ahc-aircraft-link:hover,
.ahc-free-flight-table .ahc-aircraft-link:hover strong {
  color: #7ddcff;
}

.ahc-free-flight-table .ahc-subline {
  color: #b8c2cf;
}

.ahc-free-flight-table th:nth-child(1),
.ahc-free-flight-table td:nth-child(1) {
  width: 11%;
}

.ahc-free-flight-table th:nth-child(2),
.ahc-free-flight-table td:nth-child(2) {
  width: 12%;
}

.ahc-free-flight-table th:nth-child(3),
.ahc-free-flight-table td:nth-child(3) {
  width: 22%;
}

.ahc-free-flight-table th:nth-child(4),
.ahc-free-flight-table td:nth-child(4) {
  width: 21%;
}

.ahc-free-flight-table th:nth-child(5),
.ahc-free-flight-table td:nth-child(5) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(6),
.ahc-free-flight-table td:nth-child(6) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(7),
.ahc-free-flight-table td:nth-child(7) {
  width: 7%;
}

.ahc-free-flight-table th:nth-child(8),
.ahc-free-flight-table td:nth-child(8) {
  width: 11%;
  text-align: right;
}

.ahc-free-flight-table td:nth-child(3),
.ahc-free-flight-table td:nth-child(4) {
  white-space: normal;
}

.ahc-free-flight-table .ahc-button-small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 13px;
}

.ahc-free-flight-table .ahc-free-flight-actions {
  justify-content: flex-end;
  align-items: stretch;
  gap: 6px;
}

.ahc-free-flight-table .ahc-free-flight-actions form {
  display: flex;
}

.ahc-free-flight-table .ahc-free-flight-actions .ahc-button {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .ahc-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ahc-shift-form,
  .ahc-mission-dialog .ahc-mission-meta {
    grid-template-columns: 1fr;
  }

  .ahc-dialog-head {
    display: grid;
  }
}

@media (max-width: 720px) {
  .ahc-mission-grid {
    grid-template-columns: 1fr;
  }

  .ahc-free-flight-current {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ahc-free-flight-section .ahc-table-wrap {
    overflow-x: visible;
  }

  .ahc-free-flight-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    background: transparent;
  }

  .ahc-free-flight-table thead {
    display: none;
  }

  .ahc-free-flight-table tbody {
    display: grid;
    gap: 12px;
  }

  .ahc-free-flight-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 8px;
    background: #101820;
  }

  .ahc-free-flight-table td {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: auto !important;
    min-width: 0;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }

  .ahc-free-flight-table td::before {
    content: attr(data-label);
    color: #9eb0c4;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .ahc-free-flight-table td:nth-child(1),
  .ahc-free-flight-table td:nth-child(2) {
    background: rgba(255, 255, 255, 0.075);
  }

  .ahc-free-flight-table td:nth-child(8) {
    grid-column: 1 / -1;
    align-items: flex-start;
    border-bottom: 0;
    text-align: left;
  }

  .ahc-free-flight-table td:nth-child(8) .ahc-free-flight-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .ahc-free-flight-table tr {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    min-width: 0;
    background: #ffffff !important;
  }

  body * {
    visibility: hidden;
  }

  .ahc-certificate,
  .ahc-certificate * {
    visibility: visible;
  }

  .ahc-certificate {
    position: absolute;
    inset: 0;
    width: 210mm;
    height: 297mm;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ahc-cert-actions {
    display: none !important;
  }
}

/* 0.3.87 global design rhythm: module headings, spacing and button language */
.ahc-pagehead > .ahc-kicker {
  display: none;
}

.ahc-pagehead h1,
.ahc-pagehead p:not(.ahc-kicker) {
  width: 100%;
  max-width: none;
}

.ahc-pagehead p:not(.ahc-kicker) {
  max-width: none;
  font-size: 17px;
  line-height: 1.55;
}

.ahc-section-head,
.ahc-airline-history-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 14px;
}

.ahc-section-head h2,
.ahc-airline-history-head h2,
.ahc-profile-logbook-full .ahc-section-title-row h2,
.ahc-profile-private-fleet .ahc-section-title-row h2 {
  margin: 0;
  color: #101820;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

.ahc-section-head > span,
.ahc-airline-history-head > span {
  color: #536171;
  font-size: 13px;
  font-weight: 850;
}

.ahc-module-stack {
  min-width: 0;
  width: 100%;
}

.ahc-module-stack + .ahc-module-stack,
.ahc-free-flight-current + .ahc-module-stack,
.ahc-notice + .ahc-module-stack,
.ahc-ranking-page + .ahc-ranking-page {
  margin-top: 46px;
}

.ahc-home-ranking-history-head {
  margin-top: 46px;
}

.ahc-profile-private-fleet .ahc-section-title-row h2 {
  color: #f8fafc;
}

.ahc-home-rankings .ahc-section-head,
.ahc-home-advertising .ahc-section-head,
.ahc-ranking-page .ahc-section-head,
.ahc-tours-events .ahc-section-head {
  margin-bottom: 14px;
}

.ahc-card,
.ahc-flight-board,
.ahc-home-weather,
.ahc-home-ranking-card,
.ahc-fleet-section,
.ahc-airline-active,
.ahc-shift-card,
.ahc-tour-card,
.ahc-event-card {
  border-radius: 8px;
}

.ahc-button,
.ahc-login input[type="submit"],
.ahc-ranking-more,
.ahc-profile-efb-download a,
.ahc-profile-downloads a {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(125, 211, 252, 0.65);
  border-radius: 6px;
  background: #101820;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.ahc-button:hover,
.ahc-button:focus,
.ahc-login input[type="submit"]:hover,
.ahc-login input[type="submit"]:focus,
.ahc-ranking-more:hover,
.ahc-ranking-more:focus,
.ahc-profile-efb-download a:hover,
.ahc-profile-downloads a:hover {
  border-color: #7dd3fc;
  background: rgba(63, 180, 216, 0.16);
  color: #f8fafc;
}

.ahc-card .ahc-button,
.ahc-airline-active .ahc-button,
.ahc-shift-card .ahc-button,
.ahc-tour-card .ahc-button,
.ahc-event-card .ahc-button,
.ahc-home-ranking-card .ahc-button {
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-card .ahc-button:hover,
.ahc-airline-active .ahc-button:hover,
.ahc-shift-card .ahc-button:hover,
.ahc-tour-card .ahc-button:hover,
.ahc-event-card .ahc-button:hover,
.ahc-home-ranking-card .ahc-button:hover {
  background: rgba(63, 180, 216, 0.2);
}

.ahc-button-danger,
.ahc-card .ahc-button-danger,
.ahc-airline-active .ahc-button-danger,
.ahc-shift-card .ahc-button-danger {
  border-color: #b45309;
  background: #b45309;
  color: #ffffff;
}

.ahc-button-danger:hover,
.ahc-card .ahc-button-danger:hover,
.ahc-airline-active .ahc-button-danger:hover,
.ahc-shift-card .ahc-button-danger:hover {
  border-color: #d66b13;
  background: #d66b13;
  color: #ffffff;
}

.ahc-button-admin {
  border-color: var(--ahc-warm);
  background: var(--ahc-warm);
  color: #101820;
}

.ahc-button-disabled,
.ahc-button:disabled {
  border-color: rgba(148, 163, 184, 0.65);
  background: rgba(148, 163, 184, 0.25);
  color: #cbd5df;
}

.ahc-shift-module .ahc-card,
.ahc-free-flight-section-wrap .ahc-fleet-section {
  min-height: 100%;
}

.ahc-shift-page > .ahc-module-stack,
.ahc-airline-shift-layout > .ahc-module-stack {
  width: 100%;
  min-width: 0;
}

.ahc-shift-page > .ahc-notice + .ahc-module-stack,
.ahc-shift-page > .ahc-module-stack + .ahc-module-stack,
.ahc-airline-shift-layout > .ahc-module-stack + .ahc-module-stack {
  margin-top: 0;
}

.ahc-shift-page > .ahc-notice {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0 0 2px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-left: 4px solid var(--ahc-accent);
  border-radius: 8px;
  background: rgba(63, 180, 216, 0.1);
  color: #dbeafe;
  box-shadow: none;
}

.ahc-shift-page > .ahc-module-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ahc-shift-page > .ahc-module-stack > .ahc-section-head {
  flex: 0 0 auto;
}

.ahc-shift-page > .ahc-module-stack > .ahc-card {
  flex: 1 1 auto;
  height: 100%;
}

.ahc-shift-card > .ahc-shift-stats {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  align-items: stretch;
}

.ahc-shift-card-head {
  margin: 0 0 14px;
}

.ahc-shift-aircraft-title {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-business-shift-page .ahc-shift-card .ahc-shift-aircraft-title {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.ahc-business-shift-page .ahc-shift-card-head p {
  margin: 6px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.ahc-shift-card > .ahc-shift-stats > span {
  box-sizing: border-box;
  min-width: 0;
  min-height: 58px;
  overflow-wrap: anywhere;
  padding: 8px 8px;
  font-size: clamp(13px, 0.72vw, 16px);
}

.ahc-shift-card > .ahc-shift-stats > span b {
  margin-bottom: 4px;
  font-size: 9px;
  line-height: 1.05;
}

.ahc-shift-card > .ahc-shift-stats .ahc-fuel-badge {
  min-width: 48px;
  min-height: 28px;
  padding: 4px 7px;
}

.ahc-shift-card > .ahc-shift-stats .ahc-fuel-badge b {
  margin-bottom: 0;
  font-size: 12px;
}

.ahc-shift-card > .ahc-shift-stats .ahc-fuel-badge small {
  font-size: 8.5px;
}

@media (max-width: 760px) {
  .ahc-shift-card > .ahc-shift-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ahc-free-flight-section .ahc-section-head {
  display: none;
}

/* 0.3.87 final pass: keep page headers clean and buttons consistent */
.ahc-pagehead > h2 {
  display: none;
}

.ahc-band > h2,
.ahc-section-title-row h2 {
  margin: 0 0 14px;
  color: #101820;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

.ahc .ahc-profile-panel-title {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.15;
}

.ahc-button.ahc-button-alt,
.ahc-button.ahc-button-small,
.ahc-pagehead .ahc-button-alt,
.ahc-profile .ahc-button-alt,
.ahc-login .ahc-button-alt,
.ahc-card .ahc-button-alt,
.ahc-airline-rotation .ahc-button-alt,
.ahc-airline-active .ahc-button-alt,
.ahc-tour-card .ahc-button-alt,
.ahc-event-card .ahc-button-alt,
.ahc-fleet-table .ahc-button-small {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(125, 211, 252, 0.65);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.ahc-button.ahc-button-alt:hover,
.ahc-button.ahc-button-small:hover,
.ahc-pagehead .ahc-button-alt:hover,
.ahc-profile .ahc-button-alt:hover,
.ahc-login .ahc-button-alt:hover,
.ahc-card .ahc-button-alt:hover,
.ahc-airline-rotation .ahc-button-alt:hover,
.ahc-airline-active .ahc-button-alt:hover,
.ahc-tour-card .ahc-button-alt:hover,
.ahc-event-card .ahc-button-alt:hover,
.ahc-fleet-table .ahc-button-small:hover {
  border-color: #7dd3fc;
  background: rgba(63, 180, 216, 0.2);
  color: #f8fafc;
}

.ahc-profile-download-primary a.ahc-profile-download-secondary,
.ahc-profile-downloads a.ahc-profile-download-secondary {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(125, 211, 252, 0.65);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.ahc-profile-download-primary a.ahc-profile-download-secondary:hover,
.ahc-profile-download-primary a.ahc-profile-download-secondary:focus,
.ahc-profile-downloads a.ahc-profile-download-secondary:hover,
.ahc-profile-downloads a.ahc-profile-download-secondary:focus {
  border-color: #7dd3fc;
  background: rgba(63, 180, 216, 0.2);
  color: #f8fafc;
}

/* 0.4.8.0 fleet density pass: keep aircraft tables compact and readable */
.ahc-free-flight-table th:nth-child(1),
.ahc-free-flight-table td:nth-child(1),
.ahc-profile-private-fleet-table th:nth-child(1),
.ahc-profile-private-fleet-table td:nth-child(1) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(2),
.ahc-free-flight-table td:nth-child(2),
.ahc-profile-private-fleet-table th:nth-child(2),
.ahc-profile-private-fleet-table td:nth-child(2) {
  width: 12%;
}

.ahc-free-flight-table th:nth-child(3),
.ahc-free-flight-table td:nth-child(3),
.ahc-profile-private-fleet-table th:nth-child(3),
.ahc-profile-private-fleet-table td:nth-child(3) {
  width: 22%;
}

.ahc-free-flight-table th:nth-child(4),
.ahc-free-flight-table td:nth-child(4),
.ahc-profile-private-fleet-table th:nth-child(4),
.ahc-profile-private-fleet-table td:nth-child(4) {
  width: 22%;
}

.ahc-free-flight-table th:nth-child(5),
.ahc-free-flight-table td:nth-child(5),
.ahc-profile-private-fleet-table th:nth-child(5),
.ahc-profile-private-fleet-table td:nth-child(5) {
  width: 9%;
}

.ahc-free-flight-table th:nth-child(6),
.ahc-free-flight-table td:nth-child(6),
.ahc-profile-private-fleet-table th:nth-child(6),
.ahc-profile-private-fleet-table td:nth-child(6) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(7),
.ahc-free-flight-table td:nth-child(7),
.ahc-profile-private-fleet-table th:nth-child(7),
.ahc-profile-private-fleet-table td:nth-child(7) {
  width: 19%;
  text-align: right;
}

.ahc-free-flight-table th,
.ahc-free-flight-table td,
.ahc-profile-private-fleet-table th,
.ahc-profile-private-fleet-table td {
  padding: 11px 10px;
}

.ahc-free-flight-table th:nth-child(3),
.ahc-free-flight-table td:nth-child(3),
.ahc-profile-private-fleet-table th:nth-child(3),
.ahc-profile-private-fleet-table td:nth-child(3),
.ahc-free-flight-table th:nth-child(4),
.ahc-free-flight-table td:nth-child(4),
.ahc-profile-private-fleet-table th:nth-child(4),
.ahc-profile-private-fleet-table td:nth-child(4) {
  width: 18%;
}

.ahc-free-flight-table th:nth-child(6),
.ahc-free-flight-table td:nth-child(6),
.ahc-profile-private-fleet-table th:nth-child(6),
.ahc-profile-private-fleet-table td:nth-child(6) {
  width: 20%;
}

.ahc-free-flight-table th:nth-child(7),
.ahc-free-flight-table td:nth-child(7),
.ahc-profile-private-fleet-table th:nth-child(7),
.ahc-profile-private-fleet-table td:nth-child(7) {
  width: 16%;
}

.ahc-fleet-table th:nth-child(6),
.ahc-fleet-table td:nth-child(6) {
  min-width: 175px;
  width: 18%;
}

.ahc-profile-private-fleet-table strong,
.ahc-profile-private-fleet-table .ahc-aircraft-link strong {
  display: block;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.15;
}

.ahc-profile-private-fleet-table .ahc-subline {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
}

.ahc-free-flight-table .ahc-free-flight-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(74px, 1fr));
  justify-content: end;
  align-items: stretch;
  gap: 6px;
  max-width: 178px;
  margin-left: auto;
}

.ahc-free-flight-table .ahc-free-flight-actions form {
  display: contents;
}

.ahc-free-flight-table .ahc-free-flight-actions .ahc-button,
.ahc-profile-private-fleet-table .ahc-button-small {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1.05;
  white-space: nowrap;
}

.ahc-free-flight-table .ahc-condition-badge,
.ahc-profile-private-fleet-table .ahc-condition-badge {
  min-width: 58px;
  padding: 5px 7px;
  font-size: 13px;
}

.ahc-profile-private-fleet-table .ahc-button-small {
  max-width: 96px;
  margin-left: auto;
}

.ahc-free-flight-table .ahc-free-flight-actions .ahc-button-alt {
  grid-column: 1 / -1;
}

.ahc-free-flight-table .ahc-action-note {
  grid-column: 1 / -1;
  color: #8fa1b4;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-align: right;
}

@media (max-width: 900px) {
  .ahc-free-flight-table td:nth-child(7),
  .ahc-profile-private-fleet-table td:nth-child(7) {
    grid-column: 1 / -1;
    align-items: stretch;
    text-align: left;
  }

  .ahc-free-flight-table .ahc-free-flight-actions {
    max-width: none;
    margin-left: 0;
  }

  .ahc-profile-private-fleet-table .ahc-button-small {
    max-width: none;
    margin-left: 0;
  }

  .ahc-free-flight-table .ahc-action-note {
    text-align: left;
  }
}

/* 0.4.8.1 profile account cleanup: no horizontal account ledger scroll */
.ahc-profile-main {
  grid-template-columns: minmax(360px, 0.72fr) minmax(560px, 1.28fr);
}

.ahc-profile-summary-panel .ahc-profile-overview {
  grid-template-columns: repeat(2, minmax(124px, 1fr));
  gap: 8px;
}

.ahc-profile-summary-panel .ahc-profile-overview article,
.ahc-profile-account .ahc-profile-overview article {
  min-height: 0;
  padding: 10px 12px;
}

.ahc-profile-summary-panel .ahc-profile-overview span,
.ahc-profile-account .ahc-profile-overview span {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.1;
}

.ahc-profile-summary-panel .ahc-profile-overview strong,
.ahc-profile-account .ahc-profile-overview strong {
  font-size: 16px;
  line-height: 1.15;
}

.ahc-profile-account .ahc-profile-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.ahc-profile-account-table-wrap {
  overflow-x: visible;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: #101820;
}

.ahc-profile-account-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: #101820;
  color: #f8fafc;
  font-size: 13px;
}

.ahc-profile-account-table th,
.ahc-profile-account-table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ahc-profile-account-table th {
  background: #0b1218;
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.ahc-profile-account-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.055);
}

.ahc-profile-account-table th:nth-child(1),
.ahc-profile-account-table td:nth-child(1) {
  width: 16%;
}

.ahc-profile-account-table th:nth-child(2),
.ahc-profile-account-table td:nth-child(2) {
  width: 50%;
}

.ahc-profile-account-table th:nth-child(3),
.ahc-profile-account-table td:nth-child(3),
.ahc-profile-account-table th:nth-child(4),
.ahc-profile-account-table td:nth-child(4) {
  width: 17%;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .ahc-profile-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ahc-profile-summary-panel .ahc-profile-overview,
  .ahc-profile-account .ahc-profile-overview {
    grid-template-columns: 1fr;
  }

  .ahc-profile-account-table th,
  .ahc-profile-account-table td {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }
}

/* 0.4.8.2 airline economy dashboard: responsive ledger and flight cards */
.ahc-economy-page {
  background: #101820;
}

.ahc-economy-dashboard {
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
}

.ahc-economy-ledger-panel,
.ahc-economy-flights-panel,
.ahc-economy-balance-card,
.ahc-economy-account-list,
.ahc-economy-stat-grid,
.ahc-economy-flight-card {
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.ahc-economy-page-table-wrap {
  overflow-x: visible;
  background: rgba(9, 15, 22, 0.32);
}

.ahc-economy-ledger-table,
.ahc-economy-detail-table {
  min-width: 0;
  table-layout: fixed;
}

.ahc-economy-ledger-table th:nth-child(1),
.ahc-economy-ledger-table td:nth-child(1) {
  width: 16%;
}

.ahc-economy-ledger-table th:nth-child(2),
.ahc-economy-ledger-table td:nth-child(2) {
  width: 14%;
}

.ahc-economy-ledger-table th:nth-child(3),
.ahc-economy-ledger-table td:nth-child(3) {
  width: 50%;
}

.ahc-economy-ledger-table th:nth-child(4),
.ahc-economy-ledger-table td:nth-child(4) {
  width: 20%;
}

.ahc-economy-page-table td:last-child,
.ahc-economy-detail-table td:last-child {
  white-space: normal;
}

.ahc-economy-stat-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ahc-economy-account-list .ahc-economy-data-note {
  margin: 2px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.ahc-economy-flight-cards {
  display: grid;
  gap: 12px;
}

.ahc-economy-flight-card {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
}

.ahc-economy-flight-card summary {
  display: grid;
  grid-template-columns: 105px minmax(180px, 1.4fr) minmax(120px, 0.7fr) minmax(150px, 0.75fr) 86px;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.ahc-economy-flight-card summary::-webkit-details-marker {
  display: none;
}

.ahc-economy-flight-card[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ahc-economy-flight-card summary > span {
  min-width: 0;
  color: #f8fafc;
  font-weight: 900;
}

.ahc-economy-flight-card summary b,
.ahc-economy-flight-detail-meta b {
  display: block;
  margin-bottom: 3px;
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-economy-flight-card-main strong,
.ahc-economy-flight-card-main small,
.ahc-economy-flight-card summary small {
  overflow-wrap: anywhere;
}

.ahc-economy-flight-card summary small {
  display: block;
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.ahc-economy-detail-toggle {
  justify-self: end;
  width: 86px;
  padding: 8px 10px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.14);
  color: #f8fafc;
  text-align: center;
}

.ahc-economy-flight-detail-body {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: rgba(9, 15, 22, 0.38);
}

.ahc-economy-flight-detail-meta {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ahc-economy-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.ahc-economy-breakdown span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ahc-economy-breakdown b {
  display: block;
  margin-bottom: 3px;
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-economy-breakdown .is-revenue {
  border-color: rgba(187, 247, 208, 0.22);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
}

.ahc-economy-breakdown .is-cost {
  border-color: rgba(254, 202, 202, 0.22);
  background: rgba(239, 68, 68, 0.09);
  color: #fecaca;
}

.ahc-economy-flight-detail-body .ahc-economy-sources {
  margin: 0;
}

.ahc-economy-detail-table th:nth-child(1),
.ahc-economy-detail-table td:nth-child(1) {
  width: 46%;
}

.ahc-economy-detail-table th:nth-child(2),
.ahc-economy-detail-table td:nth-child(2) {
  width: 34%;
}

.ahc-economy-detail-table th:nth-child(3),
.ahc-economy-detail-table td:nth-child(3) {
  width: 20%;
}

@media (max-width: 1080px) {
  .ahc-economy-dashboard {
    grid-template-columns: 1fr;
  }

  .ahc-economy-flight-card summary {
    grid-template-columns: 96px minmax(0, 1fr) minmax(120px, 0.55fr) 86px;
  }

  .ahc-economy-flight-card summary > span:nth-child(4) {
    grid-column: 2 / 4;
  }

  .ahc-economy-flight-detail-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ahc-economy-stat-grid {
    grid-template-columns: 1fr;
  }

  .ahc-economy-ledger-table thead,
  .ahc-economy-detail-table thead {
    display: none;
  }

  .ahc-economy-ledger-table,
  .ahc-economy-ledger-table tbody,
  .ahc-economy-ledger-table tr,
  .ahc-economy-ledger-table td,
  .ahc-economy-detail-table,
  .ahc-economy-detail-table tbody,
  .ahc-economy-detail-table tr,
  .ahc-economy-detail-table td {
    display: block;
    width: 100%;
  }

  .ahc-economy-ledger-table td:nth-child(n),
  .ahc-economy-detail-table td:nth-child(n) {
    width: 100%;
  }

  .ahc-economy-ledger-table tr,
  .ahc-economy-detail-table tr {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ahc-economy-ledger-table td,
  .ahc-economy-detail-table td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    box-sizing: border-box;
    padding: 5px 10px;
    border-bottom: 0;
    text-align: left;
  }

  .ahc-economy-ledger-table td::before,
  .ahc-economy-detail-table td::before {
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .ahc-economy-ledger-table td:nth-child(1)::before {
    content: "Datum";
  }

  .ahc-economy-ledger-table td:nth-child(2)::before {
    content: "Art";
  }

  .ahc-economy-ledger-table td:nth-child(3)::before {
    content: "Buchung";
  }

  .ahc-economy-ledger-table td:nth-child(4)::before {
    content: "Betrag";
  }

  .ahc-economy-detail-table td:nth-child(1)::before {
    content: "Position";
  }

  .ahc-economy-detail-table td:nth-child(2)::before {
    content: "Quelle";
  }

  .ahc-economy-detail-table td:nth-child(3)::before {
    content: "Betrag";
  }

  .ahc-economy-ledger-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 10px;
  }

  .ahc-economy-ledger-table td {
    display: block;
    width: auto;
    padding: 0;
  }

  .ahc-economy-ledger-table td::before,
  .ahc-economy-detail-table td::before {
    content: none !important;
  }

  .ahc-economy-ledger-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .ahc-economy-ledger-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .ahc-economy-ledger-table td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .ahc-economy-ledger-table td:nth-child(3) small {
    display: none;
  }

  .ahc-economy-ledger-table td:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    text-align: right;
  }

  .ahc-economy-detail-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 9px 10px;
  }

  .ahc-economy-detail-table td {
    display: block;
    width: auto;
    padding: 0;
  }

  .ahc-economy-detail-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .ahc-economy-detail-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: rgba(226, 232, 240, 0.78);
    font-size: 11px;
    font-weight: 800;
  }

  .ahc-economy-detail-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    text-align: right;
  }

  .ahc-economy-flight-card summary {
    grid-template-columns: 1fr;
  }

  .ahc-economy-flight-card summary > span:nth-child(4) {
    grid-column: auto;
  }

  .ahc-economy-detail-toggle {
    justify-self: stretch;
    width: auto;
  }

  .ahc-economy-flight-detail-meta {
    grid-template-columns: 1fr;
  }
}

/* 0.4.30 business shift adopts the Economy tool surface */
.ahc-business-shift-pagehead {
  min-height: clamp(270px, 22vw, 360px);
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 46%, rgba(7, 12, 17, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.08) 0%, rgba(10, 18, 25, 0.88) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-business") center right / cover no-repeat;
}

.ahc-business-shift-pagehead > * {
  margin-right: auto;
  margin-left: auto;
}

.ahc-business-shift-pagehead .ahc-kicker {
  display: block;
  color: #7dd3fc;
}

.ahc-business-shift-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  justify-items: stretch;
  padding: clamp(34px, 4vw, 52px) clamp(14px, 1.6vw, 32px);
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-business-shift-page > * {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.ahc-business-shift-page > .ahc-notice {
  max-width: none;
  margin-bottom: 0;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-left: 4px solid #3fb4d8;
  border-radius: 8px;
  background: rgba(63, 180, 216, 0.1);
  color: #dbeafe;
}

.ahc-business-shift-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(520px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.ahc-business-shift-primary .ahc-module-stack + .ahc-module-stack {
  margin-top: 0;
}

.ahc-business-shift-page .ahc-section-head h2,
.ahc-business-shift-page .ahc-economy-section-head h2 {
  color: #f8fafc;
}

.ahc-business-shift-page .ahc-card,
.ahc-business-shift-page .ahc-empty,
.ahc-business-shift-economy {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  box-shadow: none;
}

.ahc-business-shift-page .ahc-card {
  border-left: 1px solid rgba(125, 211, 252, 0.18);
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-good {
  border-color: rgba(34, 197, 94, 0.72);
  border-left: 4px solid #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.08));
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-good span {
  color: #86efac;
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-good summary::after {
  border-color: rgba(34, 197, 94, 0.62);
  background: rgba(34, 197, 94, 0.22);
  color: #dcfce7;
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-caution {
  border-color: rgba(234, 179, 8, 0.78);
  border-left: 4px solid #eab308;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.24), rgba(234, 179, 8, 0.08));
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-caution span {
  color: #fde68a;
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-caution summary::after {
  border-color: rgba(234, 179, 8, 0.68);
  background: rgba(234, 179, 8, 0.22);
  color: #fef3c7;
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-blocked {
  border-color: rgba(239, 68, 68, 0.78);
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(239, 68, 68, 0.08));
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-blocked span {
  color: #fca5a5;
}

.ahc-business-shift-page .ahc-dispatch-ampel.is-blocked summary::after {
  border-color: rgba(239, 68, 68, 0.68);
  background: rgba(239, 68, 68, 0.22);
  color: #fee2e2;
}

.ahc-medical-start-note,
.ahc-medical-shift-banner,
.ahc-medical-waiting {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 13px 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(63, 180, 216, 0.14), rgba(215, 166, 80, 0.06));
  color: #f8fafc;
}

.ahc-medical-start-note span,
.ahc-medical-shift-banner span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-medical-start-note strong,
.ahc-medical-shift-banner strong,
.ahc-medical-waiting strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.2;
}

.ahc-medical-start-note p,
.ahc-medical-shift-banner small,
.ahc-medical-waiting p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.ahc-medical-start-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ahc-medical-start-chips em {
  padding: 5px 8px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #dff7ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.ahc-medical-waiting .ahc-button {
  justify-self: start;
  margin-top: 4px;
}

.ahc-business-shift-page .ahc-medical-context {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(63, 180, 216, 0.08);
}

.ahc-business-shift-page .ahc-medical-assignment > strong {
  display: block;
  margin-bottom: 4px;
}

.ahc-business-shift-page .ahc-medical-assignment .ahc-kicker {
  color: #7dd3fc;
}

.ahc-medical-case-overview {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-left: 4px solid #7dd3fc;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 40, 54, 0.9), rgba(18, 31, 43, 0.92));
}

.ahc-medical-case-hero {
  display: grid;
  gap: 5px;
}

.ahc-medical-case-hero span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-medical-case-hero strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
}

.ahc-medical-case-hero p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.45;
}

.ahc-medical-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.ahc-medical-case-grid span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  overflow-wrap: anywhere;
}

.ahc-medical-case-grid .is-wide {
  grid-column: 1 / -1;
}

.ahc-medical-case-grid b {
  color: #bceeff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-medical-assignment {
  display: grid;
  gap: 12px;
}

.ahc-medical-assignment > .ahc-kicker,
.ahc-medical-assignment > strong,
.ahc-medical-assignment > .ahc-mission-meta,
.ahc-medical-assignment > .ahc-medical-context {
  display: none;
}

.ahc-medical-assignment > .ahc-dispatch-ampel {
  order: 1;
  margin: 0;
}

.ahc-medical-assignment > .ahc-shift-assignment-overview {
  order: 2;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1.58fr);
  margin: 0;
}

.ahc-medical-assignment .ahc-shift-assignment-status {
  display: none;
}

.ahc-medical-assignment > .ahc-medical-dossier {
  order: 3;
}

.ahc-medical-assignment > .ahc-load-manifest {
  order: 4;
}

.ahc-medical-assignment > .ahc-leg-list {
  order: 5;
}

.ahc-medical-assignment > .ahc-small {
  order: 6;
}

.ahc-medical-dossier {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-left: 4px solid #7dd3fc;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 40, 54, 0.9), rgba(18, 31, 43, 0.94));
  color: #f8fafc;
}

.ahc-medical-dossier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ahc-medical-dossier-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ahc-medical-dossier-head span,
.ahc-medical-dossier-grid article > span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-medical-dossier-head strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
}

.ahc-medical-dossier-head p,
.ahc-medical-dossier-grid p,
.ahc-medical-dossier-grid small,
.ahc-medical-dossier-list li,
.ahc-medical-mini-letter dd {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.ahc-medical-dossier-meta,
.ahc-medical-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.ahc-medical-dossier-meta span,
.ahc-medical-dossier-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  overflow-wrap: anywhere;
}

.ahc-medical-dossier-meta b {
  display: block;
  color: #bceeff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-medical-dossier-grid .is-wide {
  grid-column: 1 / -1;
}

.ahc-medical-dossier-grid strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

.ahc-medical-mini-letter dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr);
  gap: 5px 10px;
  margin: 0;
}

.ahc-medical-mini-letter dt {
  color: #bceeff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ahc-medical-dossier-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 740px) {
  .ahc-medical-dossier-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .ahc-medical-assignment > .ahc-shift-assignment-overview,
  .ahc-medical-mini-letter dl {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ahc-medical-shift-card > .ahc-shift-stats {
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
}

.ahc-medical-shift-card > .ahc-shift-stats > span {
  min-height: 60px;
}

.ahc-business-shift-economy {
  margin-top: 0;
  padding: 18px;
}

.ahc-business-shift-economy .ahc-economy-head {
  grid-template-columns: minmax(0, 1fr);
}

.ahc-business-shift-balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.ahc-business-shift-balance span {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-business-shift-balance span.is-primary {
  grid-column: 1 / -1;
  border-color: rgba(125, 211, 252, 0.32);
  background: linear-gradient(135deg, rgba(63, 180, 216, 0.18), rgba(215, 166, 80, 0.08));
}

.ahc-business-shift-balance b {
  display: block;
  margin-bottom: 4px;
  color: #bfd0e3;
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.ahc-business-shift-balance strong {
  display: block;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ahc-business-shift-balance span.is-primary strong {
  font-size: clamp(24px, 2vw, 34px);
}

.ahc-business-shift-economy .ahc-economy-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.15;
}

.ahc-business-shift-economy .ahc-economy-head p:not(.ahc-kicker) {
  margin: 6px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.ahc-business-shift-economy .ahc-economy-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ahc-business-shift-economy .ahc-fuel-economy-panel {
  grid-template-columns: minmax(0, 1fr);
}

.ahc-business-shift-economy .ahc-economy-table-wrap {
  overflow-x: visible;
}

.ahc-business-shift-page .ahc-shift-form select,
.ahc-business-shift-page .ahc-shift-form input {
  border-color: rgba(125, 211, 252, 0.24);
  background: #202a34;
  color: #f8fafc;
  color-scheme: dark;
}

.ahc-business-shift-page .ahc-shift-form select:focus,
.ahc-business-shift-page .ahc-shift-form input:focus {
  border-color: rgba(125, 211, 252, 0.68);
  outline: 2px solid rgba(64, 185, 223, 0.28);
  outline-offset: 2px;
}

.ahc-business-shift-page .ahc-shift-form select option {
  background: #101820;
  color: #f8fafc;
}

.ahc-business-shift-economy-table {
  min-width: 0;
  table-layout: fixed;
}

.ahc-business-shift-economy-table th:nth-child(1),
.ahc-business-shift-economy-table td:nth-child(1) {
  width: 72%;
}

.ahc-business-shift-economy-table th:nth-child(2),
.ahc-business-shift-economy-table td:nth-child(2) {
  width: 28%;
}

.ahc-business-history-stack {
  grid-column: 1 / -1;
  margin-top: 28px;
}

.ahc-business-history-stack > .ahc-section-head {
  margin: 0 0 14px;
}

.ahc-business-history-stack .ahc-card {
  padding: 18px;
}

.ahc-business-history-stack .ahc-table-wrap {
  margin-top: 0;
  overflow-x: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.ahc-business-history-stack .ahc-table {
  min-width: 0;
}

@media (max-width: 1120px) {
  .ahc-business-shift-primary {
    grid-template-columns: 1fr;
  }

  .ahc-business-shift-economy {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .ahc-business-shift-page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-business-shift-balance,
  .ahc-business-shift-economy .ahc-economy-meta {
    grid-template-columns: 1fr;
  }

  .ahc-business-shift-balance span.is-primary {
    grid-column: auto;
  }

  .ahc-business-history-stack .ahc-table-wrap {
    overflow-x: auto;
  }

  .ahc-business-history-stack .ahc-table {
    min-width: 720px;
  }
}

/* 0.4.31 Economy design rollout: profile, fleet, free flight and airline shift */
.ahc-profile,
.ahc-fleet-page,
.ahc-free-flight,
.ahc-airline-shift {
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-profile {
  padding-bottom: clamp(34px, 4vw, 52px);
}

.ahc-fleet-page,
.ahc-free-flight,
.ahc-airline-shift {
  padding: clamp(34px, 4vw, 52px) clamp(18px, 5vw, 60px);
}

.ahc-fleet-pagehead,
.ahc-free-flight-head,
.ahc-airline-pagehead {
  position: relative;
  min-height: clamp(270px, 22vw, 360px);
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 46%, rgba(7, 12, 17, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.08) 0%, rgba(10, 18, 25, 0.88) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-rollout") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-profile-head {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.94) 0%, rgba(7, 12, 17, 0.82) 52%, rgba(7, 12, 17, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.08) 0%, rgba(10, 18, 25, 0.88) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-profile") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-fleet-pagehead::after,
.ahc-free-flight-head::after,
.ahc-airline-pagehead::after,
.ahc-profile-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.7), rgba(215, 166, 80, 0.12), transparent);
}

.ahc-fleet-pagehead > *,
.ahc-free-flight-head > *,
.ahc-airline-pagehead > * {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-fleet-pagehead h1,
.ahc-free-flight-head h1,
.ahc-airline-pagehead h1,
.ahc-profile-title h1 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.ahc-fleet-pagehead p,
.ahc-free-flight-head p,
.ahc-airline-pagehead p,
.ahc-profile-title p,
.ahc-profile-rank-copy p:not(.ahc-kicker),
.ahc-profile-rank-copy small {
  color: rgba(226, 232, 240, 0.84);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.ahc-profile-title .ahc-kicker,
.ahc-profile-rank-copy .ahc-kicker {
  color: #7dd3fc;
}

.ahc-profile-rank-header {
  color: #f8fafc;
}

.ahc-profile-rank-line {
  border-top-color: rgba(125, 211, 252, 0.42);
}

.ahc-profile-rank-copy strong {
  color: #f8fafc;
}

.ahc-profile-rank-header .ahc-rank-progress {
  background: rgba(255, 255, 255, 0.16);
}

.ahc-profile-main,
.ahc-profile-log-service,
.ahc-profile-status-grid,
.ahc-profile-private-fleet,
.ahc-fleet-page > h2,
.ahc-fleet-page > p,
.ahc-fleet-jump,
.ahc-fleet-sections,
.ahc-free-flight > *,
.ahc-airline-shift > * {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-profile-panel,
.ahc-profile-private-fleet,
.ahc-profile-logbook-full,
.ahc-profile-service-column .ahc-service-panel,
.ahc-profile-status-grid .ahc-profile-missions,
.ahc-profile-admin-service-bottom .ahc-service-panel,
.ahc-fleet-section,
.ahc-free-flight-section,
.ahc-free-flight-current,
.ahc-airline-rotation,
.ahc-airline-active,
.ahc-airline-history,
.ahc-airline-board {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  box-shadow: none;
}

.ahc-profile-panel,
.ahc-profile-private-fleet,
.ahc-profile-logbook-full,
.ahc-profile-status-grid .ahc-profile-missions,
.ahc-fleet-section,
.ahc-free-flight-section,
.ahc-airline-rotation,
.ahc-airline-active,
.ahc-airline-history,
.ahc-airline-board {
  border-left: 1px solid rgba(125, 211, 252, 0.18);
}

.ahc-profile-panel-title,
.ahc-profile-private-fleet h2,
.ahc-profile-logbook-full .ahc-section-title-row h2,
.ahc-profile-status-grid h2,
.ahc-fleet-page h2,
.ahc-fleet-section h3,
.ahc-free-flight-section .ahc-section-head h2,
.ahc-airline-rotation h3,
.ahc-airline-rotation strong,
.ahc-airline-active > strong,
.ahc-airline-history-head > strong {
  color: #f8fafc;
}

.ahc-profile-overview article,
.ahc-airline-options span,
.ahc-fleet-meta span,
.ahc-fleet-count,
.ahc-free-flight-current,
.ahc-maintenance-summary div {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-profile-overview span,
.ahc-profile-account .ahc-profile-overview span,
.ahc-fleet-meta span,
.ahc-fleet-count span,
.ahc-airline-options b,
.ahc-free-flight-current span,
.ahc-free-flight-current small,
.ahc-maintenance-summary span,
.ahc-fleet-section p,
.ahc-fleet-page > p,
.ahc-airline-rotation p,
.ahc-airline-active p {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-profile-overview strong,
.ahc-profile-account .ahc-profile-overview strong,
.ahc-fleet-count strong,
.ahc-maintenance-summary strong,
.ahc-free-flight-current strong {
  color: #f8fafc;
}

.ahc-profile-private-fleet-wrap,
.ahc-profile-account-table-wrap,
.ahc-profile-logbook-full .ahc-logbook-ledger,
.ahc-fleet-section .ahc-table-wrap,
.ahc-free-flight-section .ahc-table-wrap,
.ahc-airline-active .ahc-table-wrap,
.ahc-airline-history .ahc-table-wrap {
  overflow-x: visible;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: #0b1218;
}

.ahc-profile-private-fleet-table,
.ahc-profile-account-table,
.ahc-profile-logbook-full .ahc-logbook-table,
.ahc-fleet-table,
.ahc-free-flight-table,
.ahc-airline-active .ahc-table,
.ahc-airline-history .ahc-table {
  background: #101820;
  color: #f8fafc;
}

.ahc-fleet-page .ahc-fleet-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.ahc-fleet-page .ahc-fleet-table th,
.ahc-fleet-page .ahc-fleet-table td {
  overflow-wrap: anywhere;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(1),
.ahc-fleet-page .ahc-fleet-table td:nth-child(1) {
  width: 10%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(2),
.ahc-fleet-page .ahc-fleet-table td:nth-child(2) {
  width: 12%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(3),
.ahc-fleet-page .ahc-fleet-table td:nth-child(3) {
  width: 18%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(4),
.ahc-fleet-page .ahc-fleet-table td:nth-child(4),
.ahc-fleet-page .ahc-fleet-table th:nth-child(5),
.ahc-fleet-page .ahc-fleet-table td:nth-child(5) {
  width: 9%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(6),
.ahc-fleet-page .ahc-fleet-table td:nth-child(6) {
  width: 10%;
  min-width: 0;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(7),
.ahc-fleet-page .ahc-fleet-table td:nth-child(7),
.ahc-fleet-page .ahc-fleet-table th:nth-child(8),
.ahc-fleet-page .ahc-fleet-table td:nth-child(8) {
  width: 7%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(9),
.ahc-fleet-page .ahc-fleet-table td:nth-child(9) {
  width: 11%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(10),
.ahc-fleet-page .ahc-fleet-table td:nth-child(10) {
  width: 8%;
}

.ahc-profile-private-fleet-table th,
.ahc-profile-account-table th,
.ahc-profile-logbook-full .ahc-logbook-table th,
.ahc-fleet-table th,
.ahc-free-flight-table th,
.ahc-airline-active .ahc-table th,
.ahc-airline-history .ahc-table th {
  border-bottom-color: rgba(125, 211, 252, 0.22);
  background: #0b1218;
  color: #bfdbfe;
}

.ahc-profile-private-fleet-table td,
.ahc-profile-account-table td,
.ahc-profile-logbook-full .ahc-logbook-table td,
.ahc-fleet-table td,
.ahc-free-flight-table td,
.ahc-airline-active .ahc-table td,
.ahc-airline-history .ahc-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-profile-private-fleet-table tbody tr:nth-child(even) td,
.ahc-profile-account-table tbody tr:nth-child(even) td,
.ahc-profile-logbook-full .ahc-logbook-table tbody tr:nth-child(even) td,
.ahc-fleet-table tbody tr:nth-child(even) td,
.ahc-free-flight-table tbody tr:nth-child(even) td,
.ahc-airline-active .ahc-table tbody tr:nth-child(even) td,
.ahc-airline-history .ahc-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-profile-private-fleet-table strong,
.ahc-profile-private-fleet-table .ahc-aircraft-link,
.ahc-profile-private-fleet-table .ahc-aircraft-link strong,
.ahc-profile-account-table strong,
.ahc-profile-logbook-full .ahc-logbook-table strong,
.ahc-fleet-table td:first-child strong,
.ahc-fleet-table td:nth-child(2) strong,
.ahc-fleet-table .ahc-aircraft-link,
.ahc-fleet-table .ahc-aircraft-link strong,
.ahc-free-flight-table strong,
.ahc-free-flight-table .ahc-aircraft-link,
.ahc-free-flight-table .ahc-aircraft-link strong {
  color: #f8fafc;
}

.ahc-profile-private-fleet-table .ahc-subline,
.ahc-profile-account-table small,
.ahc-profile-logbook-full .ahc-logbook-table small,
.ahc-fleet-table td small,
.ahc-fleet-table .ahc-subline,
.ahc-free-flight-table .ahc-subline {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-profile-private-fleet-table a:hover,
.ahc-fleet-table a:hover,
.ahc-free-flight-table a:hover,
.ahc-profile-logbook-full .ahc-logbook-table a:hover {
  color: #7dd3fc;
}

.ahc-profile .ahc-empty,
.ahc-fleet-page .ahc-empty,
.ahc-free-flight .ahc-empty,
.ahc-airline-shift .ahc-empty,
.ahc-profile .ahc-notice,
.ahc-fleet-page .ahc-notice,
.ahc-free-flight .ahc-notice,
.ahc-airline-shift .ahc-notice {
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-left: 4px solid #3fb4d8;
  border-radius: 8px;
  background: rgba(63, 180, 216, 0.1);
  color: #dbeafe;
}

.ahc-fleet-jump select {
  border-color: rgba(125, 211, 252, 0.24);
  background: #0b1218;
  color: #f8fafc;
}

.ahc-profile .ahc-button,
.ahc-fleet-page .ahc-button,
.ahc-free-flight .ahc-button,
.ahc-airline-shift .ahc-button,
.ahc-profile .ahc-button-small,
.ahc-fleet-page .ahc-button-small,
.ahc-free-flight .ahc-button-small,
.ahc-airline-shift .ahc-button-small {
  border-color: rgba(125, 211, 252, 0.52);
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-profile .ahc-button:hover,
.ahc-fleet-page .ahc-button:hover,
.ahc-free-flight .ahc-button:hover,
.ahc-airline-shift .ahc-button:hover,
.ahc-profile .ahc-button-small:hover,
.ahc-fleet-page .ahc-button-small:hover,
.ahc-free-flight .ahc-button-small:hover,
.ahc-airline-shift .ahc-button-small:hover {
  border-color: rgba(125, 211, 252, 0.86);
  background: rgba(63, 180, 216, 0.2);
  color: #ffffff;
}

@media (max-width: 760px) {
  .ahc-fleet-page,
  .ahc-free-flight,
  .ahc-airline-shift {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-profile-head {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* 0.4.31 design rollout: remaining public pageheads, excluding logbook and certificates */
.ahc-career-pagehead,
.ahc-team-pagehead,
.ahc-apply-head,
.ahc-login-pagehead,
.ahc-missions-pagehead,
.ahc-rankings-pagehead,
.ahc-tours-hero,
.ahc-tour-detail-head,
.ahc-aircraft-detail-head {
  position: relative;
  min-height: clamp(270px, 22vw, 360px);
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 46%, rgba(7, 12, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.05) 0%, rgba(10, 18, 25, 0.86) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-pageheads") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-career-pagehead::after,
.ahc-team-pagehead::after,
.ahc-apply-head::after,
.ahc-login-pagehead::after,
.ahc-missions-pagehead::after,
.ahc-rankings-pagehead::after,
.ahc-tours-hero::after,
.ahc-tour-detail-head::after,
.ahc-aircraft-detail-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.7), rgba(215, 166, 80, 0.12), transparent);
}

.ahc-career-pagehead > *,
.ahc-team-pagehead > *,
.ahc-apply-head > *,
.ahc-login-pagehead > *,
.ahc-missions-pagehead > *,
.ahc-rankings-pagehead > *,
.ahc-tours-hero > *,
.ahc-tour-detail-head > *,
.ahc-aircraft-detail-head > * {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-career-pagehead h1,
.ahc-team-pagehead h1,
.ahc-apply-head h1,
.ahc-login-pagehead h1,
.ahc-missions-pagehead h1,
.ahc-rankings-pagehead h1,
.ahc-tours-hero h1,
.ahc-tour-detail-head h1,
.ahc-aircraft-detail-head h1 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.ahc-career-pagehead p:not(.ahc-kicker),
.ahc-team-pagehead p:not(.ahc-kicker),
.ahc-apply-head p:not(.ahc-kicker),
.ahc-login-pagehead p:not(.ahc-kicker),
.ahc-missions-pagehead p:not(.ahc-kicker),
.ahc-rankings-pagehead p:not(.ahc-kicker),
.ahc-tours-hero p:not(.ahc-kicker),
.ahc-tour-detail-head p:not(.ahc-kicker),
.ahc-aircraft-detail-head p:not(.ahc-kicker) {
  max-width: 820px;
  color: rgba(226, 232, 240, 0.84);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
}

.ahc-missions-pagehead p:not(.ahc-kicker) {
  max-width: none;
  text-align: left;
}

.ahc-aircraft-detail-head p:not(.ahc-kicker) {
  max-width: none;
  text-align: left;
}

.ahc-career-pagehead .ahc-kicker,
.ahc-team-pagehead .ahc-kicker,
.ahc-apply-head .ahc-kicker,
.ahc-login-pagehead .ahc-kicker,
.ahc-missions-pagehead .ahc-kicker,
.ahc-rankings-pagehead .ahc-kicker,
.ahc-tours-hero .ahc-kicker,
.ahc-tour-detail-head .ahc-kicker,
.ahc-aircraft-detail-head .ahc-kicker {
  color: #7dd3fc;
}

.ahc-career-pagehead {
  min-height: clamp(380px, 22vw, 430px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.98) 0%, rgba(7, 12, 17, 0.78) 43%, rgba(7, 12, 17, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.04) 0%, rgba(10, 18, 25, 0.74) 100%),
    url("images/aviator-career-hero-office-logo-sharp-20260618.webp?v=0.4.33-perf-career-logo-sharp") center top / cover no-repeat;
}

.ahc-career-pagehead > * {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-left: 0;
  margin-right: auto;
}

.ahc-career-pagehead h1 {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-left: 0;
  margin-right: auto;
  font-size: clamp(44px, 4.2vw, 72px);
  line-height: 1.04;
  overflow-wrap: normal;
  text-wrap: balance;
}

.ahc-career-pagehead p:not(.ahc-kicker) {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-left: 0;
  margin-right: auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .ahc-career-pagehead,
  .ahc-team-pagehead,
  .ahc-apply-head,
  .ahc-login-pagehead,
  .ahc-missions-pagehead,
  .ahc-rankings-pagehead,
  .ahc-tours-hero,
  .ahc-tour-detail-head,
  .ahc-aircraft-detail-head {
    min-height: 320px;
    padding-top: 64px;
    padding-bottom: 58px;
    background-position: 64% center;
  }
}

@media (max-width: 980px) {
  .ahc-career-pagehead p:not(.ahc-kicker) {
    white-space: normal;
  }
}

/* 0.4.31 homepage economy rollout: keep the approved start hero image, darken the content below */
.ahc-stats,
.ahc-home-ops-split,
.ahc-home-advertising,
.ahc-home-rankings {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.98) 0%, rgba(10, 18, 25, 1) 100%);
  color: #f8fafc;
}

.ahc-stats {
  margin: 0;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(63, 180, 216, 0.34);
}

.ahc-stats article {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-left: 4px solid #3fb4d8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.ahc-stats strong {
  color: #f8fafc;
}

.ahc-stats span {
  color: rgba(203, 213, 223, 0.82);
}

.ahc-home-ops-split {
  border-top: 1px solid rgba(125, 211, 252, 0.12);
}

.ahc-home-ops-split > div {
  min-width: 0;
}

.ahc-home-ops-split h2,
.ahc-home-advertising .ahc-section-head h2,
.ahc-home-rankings .ahc-section-head h2 {
  color: #f8fafc;
}

.ahc-home-ops-split p,
.ahc-home-advertising .ahc-section-head p,
.ahc-home-rankings .ahc-section-head p,
.ahc-home-advertising .ahc-section-head span,
.ahc-home-rankings .ahc-section-head span {
  color: rgba(203, 213, 223, 0.78);
}

.ahc-home-advertising,
.ahc-home-rankings {
  border-top: 1px solid rgba(125, 211, 252, 0.1);
}

.ahc-flight-board,
.ahc-home-weather,
.ahc-home-ranking-card {
  border-color: rgba(125, 211, 252, 0.18);
  border-left-color: #3fb4d8;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.ahc-home-promo {
  border-color: rgba(125, 211, 252, 0.18);
  box-shadow: none;
}

.ahc-home-promo-grid,
.ahc-home-ranking-grid {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-home-advertising .ahc-section-head,
.ahc-home-rankings .ahc-section-head {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-home-advertising .ahc-section-head,
.ahc-home-advertising .ahc-home-promo-grid {
  width: 100%;
  max-width: none;
}

.ahc-home-promo::before {
  z-index: 0;
}

.ahc-home-promo::after {
  z-index: 1;
}

.ahc-home-promo > * {
  position: relative;
  z-index: 2;
}

.ahc-home-rankings .ahc-section-head,
.ahc-home-rankings .ahc-home-ranking-grid,
.ahc-home-ranking-history-head {
  width: 100%;
  max-width: none;
}

@media (max-width: 760px) {
  .ahc-stats,
  .ahc-home-ops-split,
  .ahc-home-advertising,
  .ahc-home-rankings {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-stats {
    gap: 12px;
  }
}

/* 0.4.32 visual QA pass: mobile nav, dark rollout and table polish */
.ahc-mobile-menu {
  display: none;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  padding-bottom: 26px;
}

body .site-footer {
  align-items: flex-end !important;
}

.site-footer > div,
.site-footer > nav {
  display: flex;
  justify-content: flex-end;
  min-height: 52px;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer > div {
  flex-direction: column;
}

.site-footer > nav {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  font-size: inherit;
  line-height: inherit;
}

.ahc-home-mission-table th,
.ahc-home-mission-table td {
  text-align: center;
}

.ahc-home-mission-table .ahc-home-route-lines {
  justify-items: center;
  text-align: center;
}

.ahc-home-mission-table .ahc-home-route-line small {
  min-width: 0;
  margin-right: 5px;
}

.ahc-flight-board-head > *,
.ahc-flight-board-row > * {
  padding-right: 0 !important;
  padding-left: 0 !important;
  text-align: center !important;
}

.ahc-flight-board-route,
.ahc-flight-board-row > div,
.ahc-flight-board-head > span {
  justify-content: center;
}

.ahc-flight-board .ahc-actions,
.ahc-home-ranking-card .ahc-actions,
.ahc-home-fleet .ahc-actions,
.ahc-home-ops-split .ahc-actions {
  justify-content: center;
  text-align: center;
}

.ahc-career-pagehead + .ahc-grid,
.ahc-career-rewards,
.ahc-missions-pagehead + .ahc-band,
.ahc-ranking-page,
.ahc-tours-events,
.ahc-team-management-band,
section.ahc-table-wrap.ahc-band,
.ahc-logbook-page {
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-career-pagehead + .ahc-grid,
.ahc-career-rewards,
.ahc-missions-pagehead + .ahc-band,
.ahc-ranking-page,
.ahc-tours-events,
.ahc-team-management-band,
section.ahc-table-wrap.ahc-band,
.ahc-logbook-page {
  padding-right: clamp(18px, 5vw, 60px);
  padding-left: clamp(18px, 5vw, 60px);
}

.ahc-career-pagehead + .ahc-grid {
  padding-top: clamp(34px, 4vw, 52px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.ahc-career-rewards,
.ahc-missions-pagehead + .ahc-band,
.ahc-ranking-page,
.ahc-tours-events,
.ahc-team-management-band,
section.ahc-table-wrap.ahc-band,
.ahc-logbook-page {
  padding-top: clamp(30px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.ahc-career-pagehead + .ahc-grid .ahc-card,
.ahc-career-rewards .ahc-reward-card,
.ahc-missions-pagehead + .ahc-band .ahc-card,
.ahc-missions-pagehead + .ahc-band .ahc-dispatch,
.ahc-missions-pagehead + .ahc-band .ahc-filter-set,
.ahc-ranking-page .ahc-home-ranking-card,
.ahc-tours-events .ahc-tour-card,
.ahc-tours-events .ahc-event-card,
.ahc-team-management-card,
section.ahc-table-wrap.ahc-band,
.ahc-logbook-page .ahc-logbook-ledger {
  border-color: rgba(125, 211, 252, 0.18);
  border-left-color: #3fb4d8;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  box-shadow: none;
}

.ahc-career-rewards h2,
.ahc-career-rewards .ahc-reward-card strong,
.ahc-team-management-card h3,
.ahc-team-management-copy > p:not(.ahc-team-management-callsign),
.ahc-team-management-copy span,
.ahc-missions-pagehead + .ahc-band h2,
.ahc-ranking-page .ahc-section-head h2,
.ahc-ranking-page .ahc-home-ranking-card h3,
.ahc-tours-events h2,
.ahc-tours-events .ahc-tour-card h3,
.ahc-tours-events .ahc-event-card h3 {
  color: #f8fafc;
}

.ahc-career-rewards > p,
.ahc-career-rewards .ahc-reward-card p,
.ahc-career-rewards .ahc-reward-card small,
.ahc-team-management-role,
.ahc-team-management-copy > p:not(.ahc-team-management-callsign),
.ahc-ranking-page .ahc-section-head p,
.ahc-ranking-page .ahc-home-ranking-card > span,
.ahc-tours-events .ahc-section-head span,
.ahc-tours-events .ahc-tour-card p,
.ahc-tours-events .ahc-event-card p,
.ahc-missions-pagehead + .ahc-band .ahc-dispatch label,
.ahc-missions-pagehead + .ahc-band .ahc-filter-set legend {
  color: rgba(226, 232, 240, 0.74);
}

.ahc-team-org-chart::before,
.ahc-team-org-chart::after {
  display: none !important;
}

section.ahc-table-wrap.ahc-band > h2 {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
  color: #f8fafc;
}

section.ahc-table-wrap.ahc-band > .ahc-table {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

section.ahc-table-wrap.ahc-band > .ahc-table a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(125, 211, 252, 0.56);
  border-radius: 6px;
  background: rgba(63, 180, 216, 0.13);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

section.ahc-table-wrap.ahc-band > .ahc-table a:hover {
  border-color: #7dd3fc;
  background: rgba(63, 180, 216, 0.23);
  color: #ffffff;
}

.ahc-profile-select-head,
.ahc-logbook-pagehead {
  position: relative;
  min-height: clamp(270px, 22vw, 360px);
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 46%, rgba(7, 12, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.05) 0%, rgba(10, 18, 25, 0.86) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-pageheads") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-profile-select-head > *,
.ahc-logbook-pagehead > * {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-profile-select-head h1,
.ahc-logbook-pagehead h1,
.ahc-logbook-pagehead h2 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.ahc-profile-head {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  min-height: clamp(270px, 22vw, 360px);
  width: 100%;
  margin: 0;
  padding: clamp(70px, 7vw, 104px) clamp(18px, 5vw, 60px) clamp(54px, 6vw, 76px);
  border: 0;
  border-radius: 0;
  background-position: center right;
}

.ahc-profile-head > * {
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.ahc-profile {
  padding: 0 0 clamp(34px, 4vw, 52px);
}

.ahc-profile > .ahc-grid.ahc-profile-topbar,
.ahc-profile-log-service,
.ahc-profile-status-grid,
.ahc-profile-private-fleet {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-profile-main {
  margin-top: 18px;
}

.ahc-profile-panel,
.ahc-profile-private-fleet,
.ahc-profile-logbook-full,
.ahc-profile-service-column .ahc-service-panel,
.ahc-profile-status-grid .ahc-profile-missions {
  padding: 20px;
}

.ahc-profile-overview article {
  padding: 15px 16px;
}

.ahc-logbook-page .ahc-logbook-ledger,
.ahc-profile-logbook-full .ahc-logbook-ledger {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: #0b1218;
}

.ahc-logbook-ledger-band {
  border-color: rgba(125, 211, 252, 0.22);
  background: #0b1218;
  color: #bfdbfe;
}

.ahc-logbook-ledger .ahc-table-wrap {
  overflow-x: visible;
  border-color: rgba(125, 211, 252, 0.18);
}

.ahc-logbook-table {
  width: 100%;
  min-width: 0;
  max-width: none;
  table-layout: fixed;
  background: #101820;
  font-size: 11px;
}

.ahc-logbook-table col.ahc-logbook-col-number {
  width: 8%;
}

.ahc-logbook-table col.ahc-logbook-col-aircraft {
  width: 8%;
}

.ahc-logbook-table col.ahc-logbook-col-route {
  width: 15%;
}

.ahc-logbook-table col.ahc-logbook-col-block {
  width: 15%;
}

.ahc-logbook-table col.ahc-logbook-col-compact {
  width: 6.7%;
}

.ahc-logbook-table col.ahc-logbook-col-time {
  width: 5.4%;
}

.ahc-logbook-table col.ahc-logbook-col-class,
.ahc-logbook-table col.ahc-logbook-col-rating {
  width: 5%;
}

.ahc-logbook-table col.ahc-logbook-col-points {
  width: 6%;
}

.ahc-logbook-table col.ahc-logbook-col-action {
  width: 6.8%;
}

.ahc-logbook-table th,
.ahc-logbook-table td {
  padding: 8px 7px;
  border-color: rgba(255, 255, 255, 0.1);
}

.ahc-logbook-table th,
.ahc-logbook-table .ahc-logbook-group th {
  background: #0b1218;
  color: #bfdbfe;
}

.ahc-logbook-table th span,
.ahc-logbook-table td span,
.ahc-logbook-table .ahc-time-pair small {
  color: rgba(226, 232, 240, 0.68);
}

.ahc-logbook-table td,
.ahc-logbook-table .ahc-time-pair span {
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-logbook-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.075);
}

.ahc-logbook-table td strong,
.ahc-logbook-table .ahc-logbook-airport strong,
.ahc-logbook-table .ahc-logbook-time strong {
  color: #f8fafc;
  font-size: 12px;
}

.ahc-logbook-table .ahc-logbook-points small {
  color: #7dd3fc;
}

.ahc-flightdata-link {
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(63, 180, 216, 0.12);
  color: #f8fafc;
}

.ahc-flightdata-link:hover {
  background: rgba(63, 180, 216, 0.22);
  color: #ffffff;
}

.ahc-flightdata-inner {
  background: #101820;
  color: #f8fafc;
}

.ahc-flightdata-head {
  border-bottom-color: rgba(125, 211, 252, 0.18);
}

.ahc-flightdata-head h3,
.ahc-flightdata-cards strong,
.ahc-flightdata-map-fallback strong,
.ahc-flightdata-weather strong {
  color: #f8fafc;
}

.ahc-flightdata-head p:not(.ahc-kicker),
.ahc-flightdata-cards span,
.ahc-flightdata-cards small,
.ahc-flightdata-weather p,
.ahc-flightdata-note,
.ahc-flightdata-map-fallback span {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-flightdata-map,
.ahc-flightdata-cards > div,
.ahc-flightdata-weather {
  border-color: rgba(125, 211, 252, 0.18);
  border-left-color: #3fb4d8;
  background: rgba(255, 255, 255, 0.045);
}

.ahc-flightdata-map-fallback {
  background: linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(11, 18, 24, 0.96));
}

.ahc-airline-shift > .ahc-airline-week-board {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.ahc-airline-shift > .ahc-airline-shift-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.ahc-airline-shift-layout > .ahc-module-stack {
  grid-column: 1 / -1;
}

.ahc-airline-shift-layout .ahc-airline-history {
  width: 100%;
  max-width: none;
}

.ahc-airline-week-scroll {
  overflow-x: visible !important;
  padding: 10px !important;
}

.ahc-airline-week-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-spacing: 6px 10px !important;
}

.ahc-airline-week-table th,
.ahc-airline-week-table td {
  padding: 8px 6px !important;
}

.ahc-airline-week-table th:first-child,
.ahc-airline-week-aircraft {
  width: 14% !important;
  min-width: 0 !important;
  position: static !important;
}

.ahc-airline-week-card {
  min-height: 210px;
  padding: 10px;
}

.ahc-airline-week-name {
  min-height: 36px;
  font-size: 12px;
  line-height: 1.2;
}

.ahc-airline-week-route {
  min-height: 58px;
  font-size: 11px;
}

.ahc-airline-week-meta span {
  min-height: 24px;
  padding: 3px 5px;
  font-size: 10px;
}

.ahc-airline-week-bonus,
.ahc-airline-week-standard {
  display: flex !important;
  width: 100%;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  padding: 5px 7px;
  text-align: center;
  white-space: normal;
}

.ahc-airline-week-cell.has-multiple {
  display: table-cell;
  vertical-align: top;
}

.ahc-airline-week-cell.has-multiple .ahc-airline-week-card-shell {
  height: auto;
}

.ahc-airline-week-cell.has-multiple .ahc-airline-week-card-shell + .ahc-airline-week-card-shell {
  margin-top: 8px;
}

.ahc-airline-week-cell.has-multiple .ahc-airline-week-card {
  min-height: 182px;
  height: auto;
}

.ahc-airline-week-slot,
.ahc-airline-slot-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 6px;
  background: rgba(64, 185, 223, 0.12);
  color: #7dd3fc !important;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ahc-airline-dialog .ahc-airline-slot-label {
  margin: 0 0 8px;
}

.ahc-free-flight-head {
  display: block;
}

.ahc-free-flight-head > * {
  position: relative;
  z-index: 1;
}

.ahc-free-flight-section .ahc-fleet-count-inline,
.ahc-free-flight .ahc-fleet-count-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.ahc-free-flight-head {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
  padding-right: clamp(18px, 5vw, 60px);
  padding-left: clamp(18px, 5vw, 60px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 1) 0%, rgba(7, 12, 17, 0.98) 34%, rgba(7, 12, 17, 0.82) 56%, rgba(7, 12, 17, 0.42) 78%, rgba(7, 12, 17, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.06) 0%, rgba(10, 18, 25, 0.76) 100%),
    url("images/aviator-offer-islandhopper-caravan.webp?v=0.4.33-perf-free-flight-wide") center center / cover no-repeat,
    linear-gradient(180deg, #101820 0%, #0b1218 100%);
}

.ahc-free-flight-head > * {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.ahc-free-flight > .ahc-free-flight-section-wrap,
.ahc-free-flight > .ahc-free-flight-current {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.ahc-free-flight-table {
  table-layout: fixed;
}

.ahc-free-flight-table th:nth-child(1),
.ahc-free-flight-table td:nth-child(1) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(2),
.ahc-free-flight-table td:nth-child(2) {
  width: 12%;
}

.ahc-free-flight-table th:nth-child(3),
.ahc-free-flight-table td:nth-child(3),
.ahc-free-flight-table th:nth-child(4),
.ahc-free-flight-table td:nth-child(4) {
  width: 20%;
}

.ahc-free-flight-table th:nth-child(5),
.ahc-free-flight-table td:nth-child(5) {
  width: 8%;
}

.ahc-free-flight-table th:nth-child(6),
.ahc-free-flight-table td:nth-child(6) {
  width: 15%;
}

.ahc-free-flight-table th:nth-child(7),
.ahc-free-flight-table td:nth-child(7) {
  width: 17%;
  text-align: right;
}

.ahc-free-flight-table td:nth-child(6) {
  white-space: normal;
}

.ahc-free-flight-table .ahc-maintenance-cell {
  width: 100%;
  max-width: none;
  min-width: 0;
  gap: 6px;
}

.ahc-free-flight-table .ahc-maintenance-cell-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.ahc-free-flight-table .ahc-condition-badge {
  min-width: 64px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(58, 184, 104, 0.12);
  color: #d7f8df;
  font-size: 12px;
}

.ahc-free-flight-table .ahc-condition-badge.is-warning {
  background: rgba(255, 196, 87, 0.13);
  color: #ffe5aa;
}

.ahc-free-flight-table .ahc-condition-badge.is-critical {
  background: rgba(255, 116, 104, 0.15);
  color: #ffd0cb;
}

.ahc-free-flight-table .ahc-maintenance-pill {
  min-width: 0;
  width: 100%;
  min-height: 24px;
  padding: 4px 7px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
}

.ahc-free-flight-table .ahc-maintenance-next,
.ahc-free-flight-table .ahc-maintenance-reason {
  color: rgba(226, 232, 240, 0.68);
  font-size: 11px;
  line-height: 1.2;
}

.ahc-free-flight-table .ahc-maintenance-cell.is-ok .ahc-maintenance-reason {
  display: none;
}

section.ahc-team-table.ahc-band {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  box-shadow: none;
}

section.ahc-team-table.ahc-band > h2,
section.ahc-team-table.ahc-band > .ahc-table {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

section.ahc-team-table.ahc-band > .ahc-table {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
}

/* Local design pass: fleet page uses the same wide content rhythm as home/free flight. */
.ahc-fleet-page > h2,
.ahc-fleet-page > p,
.ahc-fleet-sections,
.ahc-fleet-section {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.ahc-fleet-page .ahc-fleet-section .ahc-table-wrap,
.ahc-fleet-page .ahc-fleet-table {
  width: 100%;
  max-width: none;
}

/* Local design pass: profile blocks use the shared wide page margins. */
.ahc-profile > .ahc-grid.ahc-profile-topbar,
.ahc-profile-main,
.ahc-profile-log-service,
.ahc-profile-status-grid,
.ahc-profile-private-fleet,
.ahc-profile-admin-service-bottom {
  width: auto;
  max-width: none;
  margin-right: clamp(18px, 5vw, 60px);
  margin-left: clamp(18px, 5vw, 60px);
}

.ahc-profile > .ahc-grid.ahc-profile-topbar {
  grid-template-columns:
    minmax(92px, 0.46fr)
    minmax(92px, 0.46fr)
    minmax(170px, 1fr)
    minmax(220px, 1.25fr)
    minmax(330px, 2.35fr);
}

.ahc-profile > .ahc-grid.ahc-profile-topbar .ahc-profile-topbar-rank {
  padding: 12px 14px;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar article.is-compact {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 20px;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar article.is-compact strong {
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.08;
}

.ahc-profile > .ahc-grid.ahc-profile-topbar article.is-compact span {
  font-size: 14px;
  line-height: 1.25;
}

.ahc-profile-topbar-rank .ahc-profile-rank-header {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 132px);
  gap: 14px;
  width: 100%;
  max-width: none;
  height: 100%;
  align-items: center;
  justify-self: stretch;
}

.ahc-profile-topbar-rank .ahc-profile-rank-line {
  display: block;
  padding-top: 0;
  border-top-width: 0;
}

.ahc-profile-topbar-rank .ahc-profile-rank-copy .ahc-kicker,
.ahc-profile-topbar-rank .ahc-profile-rank-copy p:not(.ahc-kicker),
.ahc-profile-topbar-rank .ahc-profile-rank-copy small {
  white-space: normal;
}

.ahc-profile-topbar-rank .ahc-profile-rank-copy .ahc-kicker {
  margin-bottom: 4px;
  font-size: 10px;
}

.ahc-profile-topbar-rank .ahc-profile-rank-copy strong {
  font-size: clamp(19px, 1.45vw, 26px);
  line-height: 1.05;
  text-align: left;
}

.ahc-profile-topbar-rank .ahc-profile-rank-copy p:not(.ahc-kicker) {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.15;
}

.ahc-profile-topbar-rank .ahc-profile-rank-header .ahc-rank-progress {
  height: 6px;
  margin-top: 7px;
}

.ahc-profile-topbar-rank .ahc-profile-rank-copy small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.2;
}

.ahc-profile-topbar-rank .ahc-profile-certificate-badge {
  width: 100%;
  max-width: 132px;
}

.ahc-profile-topbar-rank .ahc-profile-certificate-badge img {
  max-height: 94px;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .ahc-profile > .ahc-grid.ahc-profile-topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahc-profile-logbook-full .ahc-logbook-ledger {
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .ahc-profile > .ahc-grid.ahc-profile-topbar {
    grid-template-columns: 1fr;
  }

  .ahc-profile-topbar-rank .ahc-profile-rank-header {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 96px);
  }
}

.ahc-economy-account-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
}

.ahc-economy-account-list div span,
.ahc-economy-account-list div b,
.ahc-economy-account-list div small {
  min-width: 0;
}

.ahc-economy-account-list div b,
.ahc-economy-account-list div small {
  display: block;
}

.ahc-economy-account-list div strong {
  text-align: right;
  white-space: nowrap;
}

.ahc-fleet-jump {
  display: flex;
  width: min(100%, 560px);
  margin: 24px auto 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-fleet-jump label {
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ahc-fleet-jump select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 6px;
  background: #0b1218;
  color: #f8fafc;
  font-weight: 800;
}

.ahc-fleet-page .ahc-fleet-section .ahc-table-wrap {
  overflow-x: visible;
  padding: 0;
}

.ahc-fleet-page .ahc-fleet-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.ahc-fleet-page .ahc-fleet-table th,
.ahc-fleet-page .ahc-fleet-table td {
  padding: 11px 8px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(1),
.ahc-fleet-page .ahc-fleet-table td:nth-child(1) {
  width: 9%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(2),
.ahc-fleet-page .ahc-fleet-table td:nth-child(2) {
  width: 10%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(3),
.ahc-fleet-page .ahc-fleet-table td:nth-child(3) {
  width: 15%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(4),
.ahc-fleet-page .ahc-fleet-table td:nth-child(4) {
  width: 10%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(5),
.ahc-fleet-page .ahc-fleet-table td:nth-child(5) {
  width: 9%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(6),
.ahc-fleet-page .ahc-fleet-table td:nth-child(6) {
  width: 9%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(7),
.ahc-fleet-page .ahc-fleet-table td:nth-child(7),
.ahc-fleet-page .ahc-fleet-table th:nth-child(8),
.ahc-fleet-page .ahc-fleet-table td:nth-child(8) {
  width: 6%;
  text-align: center;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(9),
.ahc-fleet-page .ahc-fleet-table td:nth-child(9) {
  width: 17%;
}

.ahc-fleet-page .ahc-fleet-table th:nth-child(10),
.ahc-fleet-page .ahc-fleet-table td:nth-child(10) {
  width: 9%;
  text-align: center;
}

.ahc-fleet-page .ahc-fleet-table .ahc-button-small {
  width: 100%;
  min-width: 0;
  max-width: 112px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 8px;
  padding-left: 8px;
}

@media (max-width: 1180px) {
  .ahc-airline-week-scroll {
    overflow-x: visible !important;
  }

  .ahc-airline-week-table {
    min-width: 0 !important;
  }

  .ahc-fleet-page .ahc-fleet-section .ahc-table-wrap {
    overflow-x: auto;
  }

  .ahc-fleet-page .ahc-fleet-table {
    min-width: 980px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-nav {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    overflow: visible;
  }

  .site-nav > a {
    display: none;
  }

  .ahc-mobile-menu {
    position: relative;
    display: block;
    min-width: 154px;
  }

  .ahc-mobile-menu summary {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid rgba(125, 211, 252, 0.4);
    border-radius: 6px;
    background: rgba(63, 180, 216, 0.12);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
  }

  .ahc-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .ahc-mobile-menu summary::after {
    content: "v";
    color: #7dd3fc;
    font-size: 12px;
    line-height: 1;
  }

  .ahc-mobile-menu[open] summary::after {
    content: "^";
  }

  .ahc-mobile-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    display: grid;
    width: min(260px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.26);
    border-radius: 8px;
    background: #0b1218;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  }

  .ahc-mobile-menu-panel a {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .ahc-mobile-menu-panel a:last-child {
    border-bottom: 0;
  }

  .ahc-mobile-menu-panel a:hover,
  .ahc-mobile-menu-panel a:focus {
    background: rgba(63, 180, 216, 0.16);
    color: #ffffff;
  }

  .site-footer {
    display: grid;
    align-items: start;
    justify-content: stretch;
    text-align: left;
  }

  .site-footer > nav {
    align-items: flex-start;
  }

  .ahc-career-pagehead + .ahc-grid,
  .ahc-career-rewards,
  .ahc-missions-pagehead + .ahc-band,
  .ahc-tours-events,
  .ahc-team-management-band,
  section.ahc-table-wrap.ahc-band,
  .ahc-logbook-page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-logbook-ledger .ahc-table-wrap {
    overflow-x: auto;
  }

  .ahc-logbook-table {
    min-width: 860px;
  }

  .ahc-profile-head {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 58px;
    background-position: 64% center;
  }

  .ahc-profile-rank-header {
    justify-self: stretch;
    max-width: none;
  }

  .ahc-fleet-jump {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Local design pass: login page follows the dark Economy-style shell. */
body:has(.ahc-login-pagehead) .site-main,
body:has(.ahc-login-shell) .site-main {
  background: #0b1218;
}

.ahc-login-pagehead p:not(.ahc-kicker) {
  width: min(100%, 820px);
  max-width: 820px;
  margin-right: auto;
  margin-left: 0;
}

.ahc-login-shell {
  display: grid;
  min-height: clamp(380px, 42vh, 560px);
  margin: 0;
  padding: clamp(42px, 5vw, 72px) clamp(18px, 5vw, 60px);
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-login-shell .ahc-login {
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  box-shadow: none;
}

.ahc-login-shell .ahc-login > strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fafc;
  font-size: 24px;
  line-height: 1.18;
}

.ahc-login-shell .ahc-login .ahc-small {
  color: rgba(226, 232, 240, 0.72);
}

.ahc-login-shell .ahc-notice {
  margin: 0 0 18px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-left: 4px solid #3fb4d8;
  border-radius: 8px;
  background: rgba(63, 180, 216, 0.10);
  color: #dbeafe;
}

.ahc-login-shell .ahc-login-form {
  display: grid;
  gap: 16px;
}

.ahc-login-shell .ahc-login label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #bfd0e3;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.ahc-login-shell .ahc-login input[type="text"],
.ahc-login-shell .ahc-login input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 8px;
  background: #0b1218;
  color: #f8fafc;
  font: inherit;
}

.ahc-login-shell .ahc-login input[type="text"]:focus,
.ahc-login-shell .ahc-login input[type="password"]:focus {
  border-color: rgba(125, 211, 252, 0.78);
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 180, 216, 0.16);
}

.ahc-login-shell .ahc-prefixed-input {
  display: flex;
  min-width: 0;
  width: 100%;
}

.ahc-login-shell .ahc-prefixed-input > span {
  flex: 0 0 64px;
  min-width: 64px;
  white-space: nowrap;
}

.ahc-login-shell .ahc-prefixed-input > input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.ahc-login-shell .ahc-login label.ahc-check {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  color: rgba(226, 232, 240, 0.80);
  font-size: 14px;
  text-transform: none;
}

.ahc-login-shell .ahc-login label.ahc-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
}

.ahc-login-shell .ahc-login label.ahc-check span {
  display: inline-block;
}

.ahc-login-shell .ahc-login-form .ahc-button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .ahc-login-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ahc-login-shell .ahc-login {
    padding: 22px;
  }
}

/* Live polish: keep Business history title clear of the start/active shift card. */
.ahc-business-shift-page .ahc-business-history-stack {
  margin-top: 28px !important;
  padding-top: 12px;
}

.ahc-business-shift-page .ahc-business-history-stack > .ahc-section-head {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

/* Live polish: align Freier-Flug condition chips with the action buttons. */
.ahc-free-flight-table td[data-label="Zustand"] {
  vertical-align: middle;
}

.ahc-free-flight-table .ahc-maintenance-cell-top {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  width: auto;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.ahc-free-flight-table .ahc-condition-badge,
.ahc-free-flight-table .ahc-maintenance-pill {
  box-sizing: border-box;
  display: inline-flex;
  width: clamp(76px, 5.2vw, 92px);
  min-width: 0;
  max-width: 92px;
  min-height: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahc-free-flight-table .ahc-maintenance-pill {
  border: 1px solid rgba(58, 184, 104, 0.36);
  border-radius: 6px;
}

/* Live polish: aircraft detail pages must keep the dark design below the hero. */
body:has(.ahc-aircraft-detail-head) .site-main,
body:has(.ahc-aircraft-detail) .site-main {
  background: #0b1218;
}

.ahc-aircraft-detail.ahc-band {
  width: 100%;
  max-width: none;
  margin: 0;
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

/* Live polish: remove old light profile bands below the pilot profile header. */
.ahc-profile-status-grid,
.ahc-profile-admin-service-bottom {
  background: transparent !important;
  color: #f8fafc !important;
}

.ahc-profile-status-grid .ahc-empty,
.ahc-profile-status-grid .ahc-card {
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-left: 3px solid #3fb4d8;
  background: #101820;
  color: #f8fafc;
}

.ahc-profile-status-grid .ahc-empty,
.ahc-profile-status-grid .ahc-empty p,
.ahc-profile-status-grid .ahc-card p {
  color: rgba(226, 232, 240, 0.84);
}

.ahc-profile-admin-service-bottom .ahc-service-panel,
.ahc-profile-admin-service-bottom .ahc-service-message {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
}

.ahc-profile-admin-service-bottom .ahc-service-message-body {
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.9);
}

.ahc-profile-admin-service-bottom .ahc-service-message-body p,
.ahc-profile-admin-service-bottom .ahc-service-email-form label,
.ahc-profile-admin-service-bottom .ahc-service-email-form small {
  color: rgba(226, 232, 240, 0.78);
}

.ahc-profile-admin-service-bottom .ahc-service-email-form input[type="email"],
.ahc-profile-admin-service-bottom .ahc-service-email-form input[type="text"] {
  border-color: rgba(125, 211, 252, 0.24);
  background: #0b1218;
  color: #f8fafc;
}

.ahc-profile-admin-service-bottom .ahc-service-lamp {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(125, 211, 252, 0.12);
  color: #dbeafe;
}

/* Live polish: keep Flightdata maps clean without Leaflet zoom buttons. */
.ahc-flightdata-map-live .leaflet-control-zoom {
  display: none !important;
}

/* Live polish: logbook block times should read as table text, not nested fields. */
.ahc-logbook-table .ahc-time-pair span {
  background: transparent !important;
  box-shadow: none;
}

/* Live polish: make homepage offer imagery brighter with softer contours. */
.ahc-home-promo {
  border-color: rgba(125, 211, 252, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.ahc-home-promo::before {
  background:
    linear-gradient(180deg, rgba(6, 12, 18, 0.015), rgba(6, 12, 18, 0.58)),
    linear-gradient(90deg, rgba(6, 12, 18, 0.55), rgba(6, 12, 18, 0.02));
}

.ahc-home-promo::after {
  height: 3px;
  opacity: 0.78;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.9), rgba(125, 211, 252, 0.22), rgba(255, 255, 255, 0));
}

.ahc-home-promo span {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(63, 180, 216, 0.20);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.30);
}

.ahc-home-promo strong {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.ahc-home-promo p {
  text-shadow: 0 2px 11px rgba(0, 0, 0, 0.38);
}

.ahc-home-promo em {
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.34);
}

/* Live polish: pilot account shows latest ledger entries and aligns with the left profile blocks. */
@media (min-width: 1181px) {
  .ahc-profile-main {
    align-items: stretch;
  }

  .ahc-profile-summary-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .ahc-profile-awards-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .ahc-profile-account {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .ahc-profile-download-panel {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .ahc-profile-account-table-wrap {
    flex: 1 1 auto;
  }
}

.ahc-profile-account-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.ahc-profile-account-actions .ahc-button {
  min-width: 220px;
}

/* Live polish: keep all management cards the same compact height. */
@media (min-width: 1500px) {
  .ahc-team-management-card {
    height: 254px;
    min-height: 254px;
  }

  .ahc-team-management-photo {
    height: 254px;
    min-height: 254px;
  }

.ahc-team-management-photo img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
}

@media (max-width: 460px) {
  .ahc-team-management-card {
    height: auto;
  }

  .ahc-team-management-photo,
  .ahc-team-management-photo img {
    height: 260px;
    min-height: 260px;
    max-height: 300px;
  }
}

/* Live polish: ranking page was still emitted with the generic pagehead markup. */
.page-id-49 .site-main > .ahc-pagehead {
  position: relative;
  min-height: clamp(270px, 22vw, 360px);
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(54px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 46%, rgba(7, 12, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.05) 0%, rgba(10, 18, 25, 0.86) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.33-perf-rankings") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.page-id-49 .site-main > .ahc-pagehead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.7), rgba(215, 166, 80, 0.12), transparent);
}

.page-id-49 .site-main > .ahc-pagehead > * {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.page-id-49 .site-main > .ahc-pagehead h1 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.page-id-49 .site-main > .ahc-pagehead p:not(.ahc-kicker) {
  max-width: 820px;
  color: rgba(226, 232, 240, 0.84);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
}

.page-id-49 .site-main > .ahc-pagehead .ahc-kicker {
  color: #7dd3fc;
}

@media (max-width: 760px) {
  .page-id-49 .site-main > .ahc-pagehead {
    min-height: 320px;
    padding-top: 64px;
    padding-bottom: 58px;
    background-position: 64% center;
  }
}

.ahc-private-aircraft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 210px;
}

.ahc-private-aircraft-actions form {
  margin: 0;
}

.ahc-private-aircraft-actions .ahc-button-small {
  min-width: 92px;
  text-align: center;
}

.ahc-transfer-control {
  position: relative;
}

.ahc-transfer-control > summary {
  list-style: none;
  cursor: pointer;
}

.ahc-transfer-control > summary::-webkit-details-marker {
  display: none;
}

.ahc-transfer-control > summary.is-disabled {
  opacity: .55;
}

.ahc-transfer-control[open] > form {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(95px, 1fr) minmax(105px, 1fr) auto;
  gap: 8px;
  align-items: end;
  min-width: 360px;
  padding: 12px;
  border: 1px solid rgba(82, 198, 238, .45);
  border-radius: 8px;
  background: #101820;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .38);
}

.ahc-transfer-control label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #b9c7d6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahc-transfer-control input,
.ahc-transfer-control select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, .45);
  border-radius: 6px;
  background: #1a242d;
  color: #fff;
  font-weight: 800;
}

.ahc-transfer-control input:disabled,
.ahc-transfer-control select:disabled {
  opacity: .55;
}

.ahc-private-aircraft-actions .ahc-action-note {
  flex-basis: 100%;
  text-align: right;
}

@media (max-width: 760px) {
  .ahc-private-aircraft-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .ahc-transfer-control[open] > form {
    position: static;
    grid-template-columns: 1fr;
    min-width: min(280px, 100%);
    margin-top: 8px;
  }

  .ahc-private-aircraft-actions .ahc-action-note {
    text-align: left;
  }
}

/* Aviator Wiki */
.ahc-wiki-pagehead {
  position: relative;
  min-height: clamp(280px, 24vw, 380px);
  padding-top: clamp(74px, 7vw, 108px);
  padding-bottom: clamp(54px, 6vw, 78px);
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.96) 0%, rgba(7, 12, 17, 0.82) 48%, rgba(7, 12, 17, 0.38) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.08) 0%, rgba(10, 18, 25, 0.88) 100%),
    url("images/aviator-economy-hero-operations-20260615.webp?v=0.4.30-wiki") center right / cover no-repeat;
  color: #f8fafc;
  overflow: hidden;
}

.ahc-wiki-pagehead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 180, 216, 0.7), rgba(215, 166, 80, 0.12), transparent);
}

.ahc-wiki-pagehead > * {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.ahc-wiki-pagehead h1 {
  color: #f8fafc;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.ahc-wiki-pagehead p:not(.ahc-kicker) {
  max-width: 760px;
  color: rgba(226, 232, 240, 0.84);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.ahc-wiki-pagehead .ahc-kicker {
  color: #7dd3fc;
}

.ahc-wiki {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  padding: clamp(34px, 4vw, 52px) clamp(18px, 5vw, 60px);
  background: linear-gradient(180deg, #101820 0%, #0b1218 100%);
  color: #f8fafc;
}

.ahc-wiki > * {
  min-width: 0;
}

.ahc-wiki-nav,
.ahc-wiki-section {
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.ahc-wiki-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 16px;
}

.ahc-wiki-nav strong {
  display: block;
  margin-bottom: 10px;
  color: #f8fafc;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ahc-wiki-nav nav {
  display: grid;
  gap: 6px;
}

.ahc-wiki-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
}

.ahc-wiki-nav a:hover,
.ahc-wiki-nav a:focus {
  color: #f8fafc;
  background: rgba(125, 211, 252, 0.12);
}

.ahc-wiki-content {
  display: grid;
  gap: 16px;
}

.ahc-wiki-section {
  scroll-margin-top: 100px;
  padding: clamp(18px, 2.4vw, 28px);
}

.ahc-wiki-section .ahc-kicker {
  margin-bottom: 6px;
  color: #7dd3fc;
}

.ahc-wiki-section h2 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0;
}

.ahc-wiki-section p,
.ahc-wiki-section li {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.62;
}

.ahc-wiki-section ol,
.ahc-wiki-section ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.ahc-wiki-section li + li {
  margin-top: 7px;
}

.ahc-wiki-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ahc-wiki-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  color: #dff7ff;
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .ahc-wiki {
    grid-template-columns: 1fr;
  }

  .ahc-wiki-nav {
    position: static;
  }

  .ahc-wiki-nav nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
