:root {
  --white: #ffffff;
  --blue-950: #001f6c;
  --blue-900: #032b87;
  --blue-700: #066dff;
  --blue-600: #087cff;
  --blue-soft: rgba(255, 255, 255, 0.16);
  --text-soft: rgba(255, 255, 255, 0.82);
  --card-text: #0c1424;
  --card-muted: #8a94a4;
  --card-line: #d9dee8;
  --success: #20c66b;
  --success-border: #16a96a;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--blue-950);
  color: var(--white);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
}

body.is-agent-loading {
  overflow: hidden;
}

.agent-loading-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(8, 124, 255, 0.24), transparent 34%),
    rgba(0, 18, 72, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.agent-loading-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.agent-loading-dialog {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 30px 28px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.96));
  color: #0b1733;
  box-shadow: 0 34px 90px rgba(0, 9, 48, 0.38);
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms ease;
}

.agent-loading-popup.is-visible .agent-loading-dialog {
  transform: translateY(0) scale(1);
}

.agent-loading-orbit {
  position: relative;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(8, 124, 255, 0.18);
  border-top-color: #087cff;
  border-radius: 50%;
  animation: agent-loading-spin 1.1s linear infinite;
}

.agent-loading-orbit::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px dashed rgba(0, 31, 108, 0.22);
  border-radius: 50%;
}

.agent-loading-plane {
  position: absolute;
  right: -1px;
  top: 16px;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: #066dff;
  transform: rotate(-24deg);
  box-shadow: 0 10px 20px rgba(6, 109, 255, 0.24);
}

.agent-loading-plane::before,
.agent-loading-plane::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: #066dff;
}

.agent-loading-plane::before {
  top: -6px;
  transform: rotate(44deg);
}

.agent-loading-plane::after {
  top: 7px;
  transform: rotate(-44deg);
}

.agent-loading-copy {
  display: grid;
  gap: 5px;
  text-align: center;
}

.agent-loading-kicker {
  color: #066dff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.agent-loading-copy strong {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.agent-loading-copy p {
  margin: 0;
  color: #53627a;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.agent-loading-steps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.agent-loading-step {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #8a94a4;
  font-size: 11px;
  font-weight: 800;
}

.agent-loading-step small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.agent-loading-step.is-active,
.agent-loading-step.is-complete {
  color: #0b1733;
}

.step-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 31, 72, 0.08);
}

.agent-loading-step.is-active .step-icon,
.agent-loading-step.is-complete .step-icon {
  border-color: rgba(8, 124, 255, 0.28);
  background: #eef6ff;
}

.step-icon::before,
.step-icon::after {
  content: "";
  position: absolute;
}

.step-icon-route::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.step-icon-route::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.step-icon-fare::before {
  width: 17px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.step-icon-fare::after {
  width: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.step-icon-seat::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-bottom-width: 6px;
  border-radius: 4px 4px 7px 7px;
}

.step-icon-seat::after {
  width: 23px;
  height: 2px;
  bottom: 8px;
  background: currentColor;
}

.step-icon-ready::before {
  width: 18px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.agent-loading-progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8f5;
}

.agent-loading-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20c66b, #087cff);
  animation: agent-loading-progress 1.25s ease-in-out infinite;
}

@keyframes agent-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes agent-loading-progress {
  0% {
    transform: translateX(-105%);
  }
  55% {
    transform: translateX(80%);
  }
  100% {
    transform: translateX(245%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-loading-popup,
  .agent-loading-dialog {
    transition: none;
  }

  .agent-loading-orbit,
  .agent-loading-progress span {
    animation-duration: 2.4s;
  }
}

@media (max-width: 760px) {
  .agent-status-ribbon {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.agent-login-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 38px 50px 26px;
  overflow: hidden;
  isolation: isolate;
}

.agent-login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 47, 130, 0.68), rgba(0, 29, 118, 0.9) 52%, rgba(0, 18, 87, 0.98)),
    url("../images/agent-login-mountains.webp") left center / cover no-repeat;
}

.agent-login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 64% 48%, rgba(0, 126, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(0, 65, 155, 0.18), rgba(0, 31, 108, 0.55));
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
}

.agent-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.agent-brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-orbit {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.brand-orbit::before,
.brand-orbit::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.brand-orbit::before {
  width: 11px;
  height: 2px;
  right: -5px;
  top: 4px;
  transform: rotate(24deg);
}

.brand-orbit::after {
  width: 5px;
  height: 5px;
  right: -8px;
  top: 2px;
  border-radius: 50%;
}

.brand-plane {
  position: absolute;
  right: 6px;
  top: 9px;
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  transform: rotate(-26deg);
}

.brand-plane::before,
.brand-plane::after {
  content: "";
  position: absolute;
  left: 5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.brand-plane::before {
  top: -4px;
  transform: rotate(46deg);
}

.brand-plane::after {
  top: 4px;
  transform: rotate(-46deg);
}

.agent-brand-text strong,
.agent-brand-text small {
  display: block;
  letter-spacing: 0;
}

.agent-brand-text strong {
  font-size: 28px;
  line-height: 0.95;
  font-weight: 900;
}

.agent-brand-text small {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.agent-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link-button,
.nav-outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.nav-outline-button {
  min-width: 166px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-button:hover,
.nav-outline-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.agent-login-shell {
  width: min(1180px, 100%);
  margin: 72px auto 28px;
  display: grid;
  grid-template-columns: minmax(360px, 600px) minmax(310px, 420px);
  justify-content: center;
  align-items: center;
  gap: clamp(48px, 8vw, 126px);
}

.login-column {
  display: grid;
  justify-items: center;
}

.login-kicker {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.login-column h1 {
  margin: 0 0 34px;
  color: var(--text-soft);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}

.login-card {
  width: min(100%, 520px);
  display: grid;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 75px rgba(0, 21, 82, 0.3);
  padding: 32px 32px 28px;
  color: var(--card-text);
}

.login-notice {
  border: 1px solid rgba(8, 124, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 124, 255, 0.08);
  color: #075fc2;
  padding: 11px 13px;
  font-weight: 700;
}

.signup-alert {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(201, 43, 43, 0.28);
  border-radius: 8px;
  background: #fff4f4;
  color: #8f1f1f;
  padding: 13px 14px;
  box-shadow: 0 10px 28px rgba(201, 43, 43, 0.08);
}

.signup-alert[hidden] {
  display: none;
}

.signup-alert strong {
  color: #681717;
  font-size: 14px;
  line-height: 1.25;
}

.signup-alert span {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.agent-status-ribbon {
  width: min(760px, 100%);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #172033;
  padding: 12px 14px;
  box-shadow: 0 16px 42px rgba(0, 24, 88, 0.18);
}

.agent-status-ribbon-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #fff7e6;
  color: #a15c00;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
}

.agent-status-ribbon-chip.is-approved {
  background: #e9f8ef;
  color: #087443;
}

.agent-status-ribbon strong {
  font-size: 14px;
  font-weight: 900;
}

.agent-status-ribbon p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.agent-remark-dismiss {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  color: #344154;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.agent-remark-dismiss:hover,
.agent-remark-dismiss:focus-visible {
  background: rgba(15, 23, 42, 0.14);
  color: #0f172a;
  outline: none;
}

.agent-profile-section.agent-approval-summary {
  position: relative;
  padding-right: 44px;
}

.agent-profile-section.agent-approval-summary .agent-remark-dismiss {
  position: absolute;
  top: 0;
  right: 0;
}

.input-wrap {
  position: relative;
  display: block;
}

.input-wrap input {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--card-text);
  padding: 0 58px 0 64px;
  outline: none;
  font-size: 17px;
  box-shadow: 0 2px 12px rgba(9, 25, 53, 0.04) inset;
}

.input-wrap input::placeholder {
  color: #8f96a3;
}

.input-wrap input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(8, 124, 255, 0.12);
}

.input-icon {
  position: absolute;
  left: 23px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
}

.user-icon::before,
.user-icon::after,
.lock-icon::before,
.lock-icon::after {
  content: "";
  position: absolute;
  border: 2px solid var(--blue-600);
}

.user-icon::before {
  left: 7px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.user-icon::after {
  left: 3px;
  bottom: 1px;
  width: 15px;
  height: 10px;
  border-radius: 10px 10px 4px 4px;
}

.lock-icon::before {
  left: 5px;
  top: 1px;
  width: 12px;
  height: 12px;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.lock-icon::after {
  left: 3px;
  bottom: 2px;
  width: 16px;
  height: 12px;
  border-radius: 3px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transform: translateY(-50%);
}

.password-toggle span {
  position: absolute;
  left: 9px;
  top: 15px;
  width: 21px;
  height: 12px;
  border: 2px solid var(--blue-600);
  border-radius: 999px;
}

.password-toggle span::before,
.password-toggle span::after {
  content: "";
  position: absolute;
}

.password-toggle span::before {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-600);
}

.password-toggle span::after {
  left: -3px;
  top: 4px;
  width: 27px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-600);
  transform: rotate(44deg);
}

.password-toggle.is-visible span::after {
  display: none;
}

.signin-button {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #0c82ff, #006af1);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 112, 255, 0.26);
  font-size: 18px;
  font-weight: 800;
}

.forgot-link,
.signup-prompt button,
.signup-prompt a {
  color: #006df5;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.forgot-link {
  justify-self: center;
}

.or-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  color: #111827;
}

.or-divider::before,
.or-divider::after {
  content: "";
  height: 1px;
  background: #e1e5ec;
}

.signup-prompt {
  margin: 0;
  text-align: center;
  color: var(--card-text);
  font-size: 18px;
}

.signup-prompt button,
.signup-prompt a {
  border: 0;
  background: transparent;
  padding: 0 0 0 12px;
}

.signup-prompt button::after,
.signup-prompt a::after {
  content: ">";
  display: inline-block;
  margin-left: 8px;
}

.environment-card {
  width: min(100%, 420px);
  min-height: 82px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--success-border);
  border-radius: 12px;
  background: rgba(0, 163, 120, 0.1);
  color: var(--white);
  padding: 15px 24px;
}

.environment-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
}

.environment-card strong,
.environment-card small {
  display: block;
}

.environment-card strong {
  color: #38e58a;
  font-size: 20px;
  line-height: 1.15;
}

.environment-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.feature-list {
  display: grid;
  gap: 50px;
}

.feature-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.feature-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  background: var(--blue-soft);
  box-shadow: 0 12px 30px rgba(0, 23, 80, 0.12);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.plane-feature::before {
  left: 18px;
  top: 28px;
  width: 29px;
  height: 5px;
  border-radius: 99px;
  transform: rotate(-32deg);
}

.plane-feature::after {
  left: 29px;
  top: 19px;
  width: 11px;
  height: 24px;
  clip-path: polygon(0 0, 100% 44%, 0 100%, 24% 52%);
  transform: rotate(-32deg);
}

.hotel-feature::before {
  left: 21px;
  top: 18px;
  width: 22px;
  height: 30px;
  border-radius: 2px;
}

.hotel-feature::after {
  left: 26px;
  top: 23px;
  width: 4px;
  height: 4px;
  box-shadow: 8px 0 0 var(--blue-soft), 0 8px 0 var(--blue-soft), 8px 8px 0 var(--blue-soft), 0 16px 0 var(--blue-soft), 8px 16px 0 var(--blue-soft);
}

.booking-feature::before {
  left: 18px;
  top: 24px;
  width: 28px;
  height: 20px;
  border-radius: 4px;
}

.booking-feature::after {
  left: 22px;
  top: 20px;
  width: 20px;
  height: 5px;
  border-radius: 99px;
}

.report-feature::before {
  left: 19px;
  bottom: 18px;
  width: 6px;
  height: 15px;
}

.report-feature::after {
  left: 30px;
  bottom: 18px;
  width: 6px;
  height: 24px;
  box-shadow: 11px -9px 0 var(--white);
}

.feature-item h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.58;
}

.agent-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.footer-links a,
.footer-links button {
  min-height: 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0 24px;
  font-size: 16px;
}

.footer-links a:last-child {
  border-right: 0;
}

.agent-footer p {
  margin: 0;
  font-size: 16px;
}

.agent-dialog {
  width: min(760px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--card-text);
  padding: 0;
  box-shadow: 0 24px 75px rgba(0, 21, 82, 0.3);
}

.agent-dialog::backdrop {
  background: rgba(0, 21, 88, 0.72);
  backdrop-filter: blur(8px);
}

.agent-dialog form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.agent-signup-form {
  gap: 20px;
}

.agent-dialog h2,
.agent-dialog p {
  margin: 0;
}

.agent-dialog label {
  display: grid;
  gap: 8px;
  color: var(--card-muted);
  font-weight: 800;
}

.agent-dialog input {
  min-height: 48px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  padding: 0 12px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--card-text);
}

.agent-signup-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(90deg, rgba(0, 31, 108, 0.92), rgba(0, 31, 108, 0.7)),
    url("../images/agent-login-mountains.webp") left center / cover no-repeat;
  color: var(--white);
  padding: 34px clamp(18px, 5vw, 58px) 46px;
}

.signup-page-header {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.signup-page-shell {
  width: min(1180px, 100%);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 760px);
  align-items: start;
  gap: clamp(24px, 5vw, 58px);
}

.signup-side-panel {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 22px;
  padding-top: 16px;
}

.signup-side-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-side-panel h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.signup-side-list {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.signup-side-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-left: 3px solid #38e58a;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  font-weight: 800;
}

.signup-page-card {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--card-text);
  box-shadow: 0 24px 75px rgba(0, 21, 82, 0.3);
  padding: clamp(20px, 3vw, 32px);
}

.signup-heading {
  display: grid;
  gap: 4px;
  padding-right: 40px;
}

.signup-heading p {
  color: #006df5;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-heading h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.signup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-steps li {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: #f7f9fd;
  color: #67758a;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.signup-steps li span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6edf7;
  color: #5d6c81;
  font-size: 12px;
}

.signup-steps li.is-active,
.signup-steps li.is-complete {
  border-color: rgba(0, 109, 245, 0.3);
  background: #eaf4ff;
  color: #005fd6;
}

.signup-steps li.is-active span,
.signup-steps li.is-complete span {
  background: #006df5;
  color: #fff;
}

.signup-panel {
  display: none;
}

.signup-panel.is-active {
  display: block;
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-field {
  display: grid;
  gap: 7px;
  color: #344154;
  font-size: 13px;
  font-weight: 900;
}

.signup-field.is-wide {
  grid-column: 1 / -1;
}

.signup-field sup,
.document-upload sup {
  color: #df2437;
}

.signup-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  background: #fff;
  color: #0c1424;
  padding: 0 12px;
  outline: none;
}

.signup-field input:focus,
.document-upload:focus-within {
  border-color: #087cff;
  box-shadow: 0 0 0 4px rgba(8, 124, 255, 0.12);
}

.signup-field input.input-validation-error {
  border-color: #d33d3d;
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(211, 61, 61, 0.1);
}

.signup-field span[data-valmsg-for],
.field-validation-error {
  color: #c92b2b;
  font-size: 11px;
  line-height: 1.35;
}

.validation-summary-valid {
  display: none;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.document-upload {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px dashed #aeb9c9;
  border-radius: 8px;
  background: #f9fbff;
  color: #344154;
  padding: 16px;
}

.document-upload.has-preview {
  align-content: start;
}

.document-upload.is-required {
  background: #f6faff;
}

.document-upload span {
  font-size: 12px;
  font-weight: 900;
}

.document-upload strong {
  color: #006df5;
  font-size: 14px;
}

.document-upload input {
  width: 100%;
  color: #5d6c81;
  font-size: 12px;
}

.document-preview {
  width: 100%;
  min-height: 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background:
    linear-gradient(45deg, #eef3fb 25%, transparent 25%),
    linear-gradient(-45deg, #eef3fb 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef3fb 75%),
    linear-gradient(-45deg, transparent 75%, #eef3fb 75%),
    #ffffff;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.document-preview[hidden] {
  display: none;
}

.document-preview img {
  width: 100%;
  height: 118px;
  display: block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
}

.document-file-badge {
  max-width: calc(100% - 22px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  background: #eaf4ff;
  color: #006df5;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signup-review-note {
  margin-top: 14px !important;
  border: 1px solid rgba(255, 194, 26, 0.36);
  border-radius: 8px;
  background: rgba(255, 194, 26, 0.12);
  color: #6f4d00;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 800;
}

.signup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.signup-actions .signin-button {
  min-width: 156px;
  min-height: 48px;
  font-size: 15px;
}

.signup-secondary {
  min-width: 96px;
  min-height: 48px;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  background: #fff;
  color: #344154;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .agent-login-page {
    padding: 28px;
  }

  .agent-login-shell {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .feature-list {
    width: min(100%, 520px);
    margin: 0 auto;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .agent-login-page {
    min-height: 100svh;
    padding: 18px 16px 20px;
    overflow-y: auto;
  }

  .agent-header {
    display: grid;
    gap: 18px;
    justify-items: center;
  }

  .agent-brand-mark {
    width: 42px;
    height: 42px;
  }

  .agent-brand-text strong {
    font-size: 23px;
  }

  .agent-brand-text small {
    font-size: 11px;
  }

  .agent-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-link-button,
  .nav-outline-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .agent-login-shell {
    margin-top: 30px;
    gap: 28px;
  }

  .login-kicker {
    font-size: 34px;
  }

  .login-column h1 {
    margin-bottom: 24px;
    text-align: center;
    font-size: 18px;
  }

  .login-card {
    gap: 16px;
    padding: 22px 18px;
  }

  .input-wrap input {
    min-height: 54px;
    padding-left: 52px;
    padding-right: 52px;
    font-size: 16px;
  }

  .input-icon {
    left: 18px;
  }

  .password-toggle {
    right: 8px;
  }

  .signin-button {
    min-height: 54px;
    font-size: 16px;
  }

  .forgot-link,
  .signup-prompt,
  .signup-prompt button {
    font-size: 16px;
  }

  .or-divider {
    margin-top: 10px;
  }

  .feature-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .feature-item h2 {
    font-size: 18px;
  }

  .feature-item p {
    font-size: 15px;
  }

  .footer-links {
    gap: 8px 12px;
  }

  .footer-links a,
  .footer-links button {
    min-height: 24px;
    border-right: 0;
    padding: 0;
    font-size: 13px;
  }

  .agent-footer {
    gap: 12px;
    text-align: center;
  }

  .agent-footer p {
    font-size: 13px;
  }

  .agent-signup-page {
    padding: 18px 16px 28px;
  }

  .signup-page-shell {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .signup-side-panel {
    position: static;
    padding-top: 0;
  }

  .signup-side-panel h1 {
    font-size: 34px;
  }

  .signup-side-list {
    grid-template-columns: 1fr;
  }

  .agent-dialog {
    width: min(100%, calc(100% - 20px));
    max-height: calc(100svh - 20px);
    overflow-y: auto;
  }

  .agent-dialog form {
    padding: 22px 16px;
  }

  .signup-heading h2 {
    font-size: 23px;
  }

  .signup-steps {
    grid-template-columns: 1fr;
  }

  .signup-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .signup-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signup-actions .signin-button,
  .signup-secondary {
    width: 100%;
  }
}

.agent-dashboard-page {
  min-height: 100vh;
  background: #f3f7fd;
  color: #0b2142;
}

.dashboard-nav {
  height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(24px, 6vw, 88px);
  background: linear-gradient(90deg, #061d42, #021331);
  box-shadow: 0 8px 30px rgba(1, 18, 48, 0.24);
  color: var(--white);
  position: relative;
  z-index: 5;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  text-decoration: none;
}

.dashboard-brand-mark {
  width: 43px;
  height: 43px;
}

.dashboard-brand .agent-brand-text strong {
  font-size: 27px;
}

.dashboard-brand .agent-brand-text strong::first-letter {
  color: var(--white);
}

.dashboard-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-menu a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  color: var(--white);
  padding: 0 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-menu a.is-active {
  background: linear-gradient(180deg, #137eff, #0864ea);
  box-shadow: 0 11px 24px rgba(0, 100, 255, 0.28);
}

.dashboard-menu span {
  border-radius: 4px;
  background: #22c768;
  color: #fff;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 900;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: end;
}

.currency-button,
.round-action,
.profile-button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
}

.currency-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 10px;
}

.flag-us {
  position: relative;
  width: 24px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  background: repeating-linear-gradient(180deg, #df2036 0 2px, #fff 2px 4px);
  overflow: hidden;
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 8px;
  background: #1f4aa8;
}

.round-action {
  width: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 22px;
}

.notification-action {
  position: relative;
  border: 0;
}

.notification-action span {
  position: absolute;
  left: 12px;
  top: 11px;
  width: 16px;
  height: 19px;
  border: 2px solid var(--white);
  border-radius: 12px 12px 6px 6px;
}

.notification-action span::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
}

.notification-action strong {
  position: absolute;
  right: 0;
  top: 0;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ef273c;
  color: #fff;
  font-size: 12px;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.flight-hero {
  min-height: 560px;
  position: relative;
  display: grid;
  align-content: start;
  padding: 30px clamp(24px, 9vw, 150px) 0;
  background:
    linear-gradient(90deg, rgba(2, 13, 32, 0.86) 0%, rgba(5, 31, 63, 0.62) 42%, rgba(5, 45, 78, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 12, 28, 0.2) 0%, rgba(2, 12, 28, 0.08) 48%, rgba(3, 13, 29, 0.88) 100%),
    url("../images/agent-dashboard-city-night.png") center 44% / cover no-repeat;
  color: var(--white);
  isolation: isolate;
  overflow: visible;
}

.flight-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 199, 119, 0.22), transparent 24%),
    linear-gradient(180deg, transparent 62%, rgba(243, 247, 253, 0.98) 96%);
  pointer-events: none;
}

.hero-copy,
.flight-search-card {
  position: relative;
  z-index: 1;
}

.dashboard-approval-notice {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto 22px;
  border: 2px solid rgba(255, 194, 26, 0.82);
  border-radius: 8px;
  background: rgba(255, 246, 213, 0.96);
  color: #17213a;
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(2, 15, 38, 0.34);
}

.dashboard-approval-notice strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.dashboard-approval-notice p {
  max-width: 820px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.dashboard-approval-notice small,
.agent-approval-modal small {
  display: block;
  color: #536276;
  font-size: 14px;
  line-height: 1.45;
}

.dashboard-approval-notice small {
  margin-top: 8px;
  text-align: center;
}

.agent-approval-modal {
  width: min(430px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  color: #122640;
}

.agent-approval-modal::backdrop {
  background: rgba(2, 13, 32, 0.58);
  backdrop-filter: blur(6px);
}

.agent-approval-modal form {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 194, 26, 0.48);
  border-radius: 8px;
  background: #ffffff;
  padding: 34px 30px 28px;
  box-shadow: 0 28px 80px rgba(2, 13, 32, 0.32);
  text-align: center;
}

.agent-approval-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5fb;
  color: #536276;
  font-size: 20px;
  cursor: pointer;
}

.agent-approval-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffc21a;
  color: #122640;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 194, 26, 0.38);
}

.agent-approval-modal h2 {
  margin: 4px 0 0;
  color: #0b2142;
  font-size: 24px;
  line-height: 1.15;
}

.agent-approval-modal p {
  margin: 0;
  color: #344154;
  font-size: 16px;
  line-height: 1.55;
}

.agent-approval-modal small {
  max-width: 330px;
}

.agent-approval-button {
  min-width: 116px;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: #0864ea;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 0 0 30px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 11ch;
}

.hero-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.flight-search-card {
  width: min(1180px, 100%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(4, 18, 46, 0.34);
  overflow: hidden;
}

.flight-search-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid #e4e9f2;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.search-product-tabs,
.trip-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-product-tabs button,
.trip-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #eef3fa;
  color: #41516a;
  font-size: 14px;
  font-weight: 900;
  padding: 0 16px;
  cursor: pointer;
}

.search-product-tabs button:not(:disabled):hover,
.trip-tabs button:hover {
  background: #dfe8f6;
}

.search-product-tabs button.is-active,
.trip-tabs button.is-active {
  background: #0a67e8;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(10, 103, 232, 0.23);
}

.search-product-tabs button:not(.is-active) {
  color: #6b7688;
}

.search-product-tabs button:disabled {
  cursor: default;
  opacity: 0.72;
}

.flight-search-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #e4e9f2;
  background: #fbfcff;
}

.flight-search-steps li {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  padding: 0 20px;
  color: #526077;
  font-size: 13px;
  font-weight: 900;
}

.flight-search-steps li + li {
  border-left: 1px solid #e4e9f2;
}

.flight-search-steps span,
.flight-search-panel-title span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0a67e8;
  font-size: 12px;
  font-weight: 900;
}

.flight-search-form {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(250px, 0.9fr) minmax(300px, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 0;
  border-radius: 0;
  background: #ffffff;
  color: #121926;
  padding: 16px;
}

.flight-search-form.is-round-trip {
  grid-template-columns: minmax(320px, 1.45fr) minmax(250px, 0.9fr) minmax(300px, 1fr);
}

.flight-search-panel {
  display: grid;
  gap: 12px;
  align-self: stretch;
  min-width: 0;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.route-panel {
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
}

.dates-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flight-search-form.is-one-way .dates-panel {
  grid-template-columns: 1fr;
}

.travelers-panel {
  grid-template-columns: minmax(0, 1.25fr) minmax(130px, 0.75fr);
}

.flight-search-panel-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d2c42;
  font-size: 13px;
  font-weight: 900;
}

.search-cell {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  min-height: 74px;
  min-width: 0;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fbfcff;
  padding: 12px 14px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.search-cell:focus-within {
  border-color: #0a67e8;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(10, 103, 232, 0.12);
}

.search-cell small {
  color: #767f8d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-cell input,
.search-cell select {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  color: #121926;
  font-size: 15px;
  font-weight: 800;
  background: transparent;
}

.search-cell select {
  appearance: none;
  min-height: 27px;
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, #607086 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #607086 50%, transparent 50%) calc(100% - 8px) 50% / 7px 7px no-repeat;
  padding-right: 24px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.search-cell input::placeholder {
  color: #737d8d;
}

.search-cell option {
  color: #121926;
}

.traveler-stepper {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(36px, 1fr));
  gap: 6px;
}

.traveler-stepper span {
  display: grid;
  gap: 3px;
}

.traveler-stepper em {
  color: #7a8494;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.traveler-stepper input {
  min-height: 30px;
  border: 1px solid #d7deea;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 4px;
  text-align: center;
}

.pin-icon,
.calendar-icon,
.traveler-icon,
.airline-icon {
  position: relative;
  grid-row: 1 / span 2;
  align-self: center;
  width: 24px;
  height: 24px;
}

.pin-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 12px;
  height: 16px;
  border: 2px solid #777e8a;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #777e8a;
}

.calendar-icon::before {
  content: "";
  position: absolute;
  inset: 5px 3px 3px;
  border: 2px solid #777e8a;
  border-radius: 3px;
}

.calendar-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  height: 2px;
  background: #777e8a;
}

.traveler-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid #777e8a;
  border-radius: 50%;
}

.traveler-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 16px;
  height: 9px;
  border: 2px solid #777e8a;
  border-radius: 12px 12px 3px 3px;
}

.airline-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #777e8a;
  transform: rotate(-24deg);
}

.airline-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 3px;
  width: 8px;
  height: 17px;
  background: #777e8a;
  clip-path: polygon(0 0, 100% 45%, 0 100%, 28% 52%);
  transform: rotate(-24deg);
}

.swap-button {
  position: relative;
  align-self: end;
  width: 44px;
  min-height: 74px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.swap-button:hover {
  background: #dfeeff;
  transform: translateY(-1px);
}

.swap-button::before,
.swap-button::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #0a67e8;
}

.swap-button::before {
  top: 29px;
}

.swap-button::after {
  top: 43px;
}

.flight-search-action {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  background: #f5f8fd;
  padding: 12px 14px;
}

.flight-search-action p {
  margin: 0;
  color: #44536a;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 170px;
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #0b79ff, #045bd7);
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(6, 105, 238, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(6, 105, 238, 0.34);
}

.dashboard-search-button span {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  vertical-align: -3px;
}

.dashboard-search-button span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
  transform: rotate(45deg);
}

.flight-hero {
  min-height: 560px;
  padding: 18px clamp(12px, 4vw, 58px) 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(18, 69, 119, 0.18) 0%, rgba(18, 69, 119, 0.04) 54%, rgba(243, 247, 253, 0.98) 100%),
    url("../images/agent-dashboard-city-night.png") center 36% / cover no-repeat;
  overflow: visible;
}

.flight-hero::after {
  background: linear-gradient(180deg, transparent 60%, rgba(243, 247, 253, 0.96) 100%);
}

.sasto-flight-card {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1240px;
  margin-top: 4px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sasto-trip-tabs {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 4px;
  align-items: end;
}

.sasto-trip-tabs button {
  min-height: 42px;
  border: 1px solid rgba(209, 219, 232, 0.98);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
  box-shadow: 0 -1px 8px rgba(8, 36, 71, 0.08);
}

.sasto-trip-tabs button:hover {
  background: #ffffff;
}

.sasto-trip-tabs button.is-active {
  min-height: 46px;
  border-color: #d61f32;
  background: #d61f32;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(159, 27, 38, 0.22);
}

.sasto-flight-form,
.sasto-flight-form.is-round-trip,
.sasto-flight-form.is-one-way {
  position: relative;
  z-index: 60;
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  overflow: visible;
}

.sasto-search-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) 52px minmax(230px, 1.25fr) minmax(166px, 0.85fr) minmax(188px, 0.92fr) 64px;
  align-items: stretch;
  width: 100%;
  min-height: 70px;
  background: #ffffff;
  border: 1px solid rgba(197, 208, 224, 0.96);
  box-shadow: 0 12px 28px rgba(16, 43, 78, 0.18);
  overflow: visible;
}

.sasto-stage-button {
  position: relative;
  display: none !important;
  place-items: center;
  min-height: 70px;
  border: 0;
  border-right: 1px solid #d7deea;
  background: #365c9a;
  color: #ffffff;
  cursor: pointer;
}

.sasto-stage-button:hover {
  background: #284f8c;
}

.sasto-stage-button .calendar-icon,
.sasto-stage-button .traveler-icon {
  grid-row: auto;
}

.sasto-stage-button .calendar-icon::before,
.sasto-stage-button .traveler-icon::before,
.sasto-stage-button .traveler-icon::after {
  border-color: #ffffff;
}

.sasto-stage-button .calendar-icon::after {
  background: #ffffff;
}

.sasto-flight-form.is-one-way .sasto-search-strip {
  grid-template-columns: minmax(230px, 1.25fr) 52px minmax(230px, 1.25fr) minmax(166px, 0.85fr) minmax(188px, 0.92fr) 64px;
}

.sasto-flight-form.is-round-trip .sasto-search-strip,
.sasto-flight-form.is-round-trip .sasto-search-strip.has-travelers {
  grid-template-columns: minmax(178px, 1.12fr) 48px minmax(178px, 1.12fr) minmax(142px, 0.8fr) minmax(142px, 0.8fr) minmax(166px, 0.86fr) 64px;
}

.sasto-search-strip > [hidden] {
  display: none !important;
}

.sasto-field {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-right: 1px solid #d7deea;
  background: #ffffff;
  padding: 0 12px;
}

.sasto-swap-button {
  grid-column: auto;
}

.sasto-field.is-open,
.sasto-field:focus-within {
  z-index: 120;
}

.sasto-field:focus-within {
  box-shadow: inset 0 -2px 0 #2f64ad;
}

.sasto-field input,
.sasto-field select,
.sasto-field button[data-traveler-toggle] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #273243;
  font-size: 14px;
}

.sasto-field input::placeholder {
  color: #8a93a3;
}

.plane-field-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.plane-field-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 20px;
  height: 4px;
  border-radius: 99px;
  background: #365c9a;
  transform: rotate(-18deg);
}

.plane-field-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 3px;
  width: 9px;
  height: 18px;
  background: #365c9a;
  clip-path: polygon(0 0, 100% 46%, 0 100%, 28% 52%);
  transform: rotate(-18deg);
}

.airport-suggest-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: -1px;
  z-index: 10000;
  width: min(500px, calc(100vw - 24px));
  max-height: 352px;
  overflow: auto;
  display: none;
  border-right: 5px solid #d61f32;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 43, 78, 0.22);
}

.airport-field.is-open .airport-suggest-panel {
  display: block;
}

.airport-suggest-panel button {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-content: center;
  gap: 2px 12px;
  border: 0;
  border-bottom: 1px solid #d8dce4;
  background: #ffffff;
  color: #000000;
  padding: 7px 16px 7px 20px;
  text-align: left;
  cursor: pointer;
}

.airport-suggest-panel button:hover,
.airport-suggest-panel button:focus {
  background: #f5f8fd;
}

.airport-suggest-empty {
  display: block;
  padding: 12px 16px 12px 20px;
  color: #788394;
  font-size: 13px;
}

.airport-suggest-panel strong {
  font-size: 14px;
}

.airport-suggest-panel small {
  grid-column: 1;
  color: #000000;
  font-size: 14px;
}

.airport-suggest-panel b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  font-size: 14px;
}

.sasto-swap-button {
  align-self: stretch;
  width: auto;
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid #d7deea;
  border-radius: 0;
  background: #ffffff;
}

.sasto-swap-button::before,
.sasto-swap-button::after {
  content: none;
}

.sasto-swap-button svg {
  width: 24px;
  height: 24px;
  stroke: #365c9a;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.18s ease, stroke 0.18s ease;
}

.sasto-swap-button:hover svg {
  stroke: #d61f32;
  transform: rotate(180deg);
}

.date-field .calendar-icon,
.traveler-field .traveler-icon {
  grid-row: auto;
}

.date-field.is-open {
  z-index: 130;
}

.date-field input[readonly] {
  cursor: pointer;
}

.date-field .flatpickr-input[readonly] {
  cursor: pointer;
}

.flatpickr-calendar {
  z-index: 10020;
  border: 1px solid #d6deeb;
  border-radius: 6px;
  box-shadow: 0 22px 44px rgba(16, 43, 78, 0.24);
  font-family: "Instrument Sans", sans-serif;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  border-bottom-color: #ffffff;
}

.flatpickr-months .flatpickr-month {
  color: #31558f;
  fill: #31558f;
}

.flatpickr-current-month {
  font-weight: 800;
}

.flatpickr-weekday {
  color: #31558f;
  font-weight: 800;
}

.flatpickr-day {
  border-radius: 4px;
}

.flatpickr-day.today {
  border-color: #315ca5;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  border-color: #315ca5;
  background: #315ca5;
  color: #ffffff;
}

.traveler-field {
  padding-right: 0;
}

.traveler-field button[data-traveler-toggle] {
  height: 100%;
  text-align: left;
  cursor: pointer;
}

.traveler-popover {
  position: absolute;
  top: calc(100% + 1px);
  right: -1px;
  z-index: 10010;
  width: min(390px, calc(100vw - 24px));
  display: none;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 34px rgba(16, 43, 78, 0.24);
}

.traveler-field.is-open .traveler-popover {
  display: grid;
  gap: 14px;
}

.traveler-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6ebf3;
}

.traveler-popover-head strong {
  color: #20365c;
  font-size: 15px;
  font-weight: 800;
}

.traveler-popover-head span {
  color: #758196;
  font-size: 12px;
  text-align: right;
}

.nationality-select {
  display: grid;
  gap: 7px;
}

.nationality-select span,
.cabin-radio-group legend {
  color: #47566f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nationality-select select {
  min-height: 44px;
  border: 1px solid #d7deea;
  border-radius: 6px;
  background: #f8fafc;
  color: #273243;
  padding: 0 36px 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.traveler-counts {
  display: grid;
  gap: 8px;
}

.traveler-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid #e6ebf3;
  border-radius: 7px;
  background: #ffffff;
  padding: 7px 8px 7px 12px;
}

.traveler-stepper {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
}

.traveler-stepper button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #315ca5;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.traveler-stepper button:hover,
.traveler-stepper button:focus {
  background: #eaf1fb;
  color: #d61f32;
}

.traveler-stepper input {
  width: 34px;
  border: 0;
  background: transparent;
  color: #20365c;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  -moz-appearance: textfield;
}

.traveler-stepper input::-webkit-outer-spin-button,
.traveler-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.traveler-row > span {
  display: grid;
  gap: 2px;
  color: #25324a;
  font-size: 14px;
  font-weight: 800;
}

.traveler-row small {
  color: #737d8d;
  font-size: 12px;
  font-weight: 600;
}

.traveler-popover p {
  margin: 4px 0 2px;
  border-radius: 4px;
  background: #d9f0ff;
  color: #2f6f96;
  padding: 9px 10px;
  font-size: 12px;
}

.cabin-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  color: #687386;
  font-size: 13px;
}

.cabin-radio-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.cabin-radio-group label {
  position: relative;
  min-height: 38px;
  display: grid;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.cabin-radio-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cabin-radio-group label span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #ffffff;
  color: #47566f;
  padding: 0 12px;
}

.cabin-radio-group input:checked + span {
  border-color: #315ca5;
  background: #315ca5;
  color: #ffffff;
}

.sasto-search-button {
  justify-self: stretch;
  align-self: stretch;
  grid-column: auto;
  min-width: 0;
  min-height: 70px;
  border-radius: 0;
  background: #d61f32;
  box-shadow: none;
}

.sasto-search-button:hover {
  background: #bd1728;
  transform: none;
  box-shadow: none;
}

.sasto-search-button span {
  width: 22px;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.sasto-search-button span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 7px;
  border-radius: 99px;
  background: #ffffff;
  transform: rotate(-36deg);
}

.sasto-search-button span::after {
  right: 2px;
  bottom: 3px;
  width: 12px;
  height: 22px;
  border-radius: 0;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 45%, 0 100%, 28% 52%);
  transform: rotate(-36deg);
}

.deals-section {
  position: relative;
  z-index: 1;
  padding: 12px clamp(24px, 6vw, 122px) 16px;
}

.deals-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
  text-align: center;
}

.deals-heading h2,
.deals-heading p {
  margin: 0;
}

.deals-heading h2 {
  font-size: 22px;
  color: #07234f;
}

.deals-heading p {
  margin-top: 4px;
  color: #4a5870;
  font-size: 18px;
}

.deals-heading button {
  min-height: 40px;
  border: 1px solid #c4d4ea;
  border-radius: 7px;
  background: #fff;
  color: #0059d5;
  font-weight: 800;
  padding: 0 18px;
}

.deal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
}

.deal-card {
  min-height: 236px;
  border-radius: 8px;
  overflow: hidden;
  padding: 26px 32px;
  box-shadow: 0 16px 34px rgba(9, 30, 66, 0.16);
}

.deal-card-light {
  position: relative;
  background:
    radial-gradient(circle at 78% 31%, rgba(255, 208, 0, 0.9) 0 9%, transparent 10%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 216, 0.7)),
    url("../images/agent-dashboard-city.webp") center / cover no-repeat;
  color: #050912;
}

.deal-card-light::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -96px;
  width: 420px;
  height: 210px;
  border-radius: 50% 0 0 0;
  background: #ffd500;
  transform: rotate(-8deg);
}

.partner-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.partner-dot {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffe000;
  color: #000;
  font-size: 15px;
  font-weight: 900;
}

.deal-card h3,
.deal-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.deal-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.deal-card p {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 800;
}

.deal-card button {
  position: relative;
  z-index: 1;
  min-height: 42px;
  margin-top: 22px;
  border: 0;
  border-radius: 5px;
  background: #075fcb;
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
}

.deal-card-blue {
  background:
    linear-gradient(90deg, rgba(0, 35, 100, 0.9), rgba(0, 75, 161, 0.36)),
    url("../images/agent-dashboard-city.webp") center / cover no-repeat;
  color: #fff;
}

.deal-card-blue small {
  display: block;
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 800;
}

.deal-card-blue span {
  display: block;
  margin-top: 18px;
  font-size: 17px;
}

.deal-card-blue button {
  background: #fff;
  color: #005dec;
}

.dashboard-footer {
  background: linear-gradient(90deg, #06234e, #031637);
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(135px, 0.75fr)) minmax(260px, 1fr);
  gap: 44px;
  padding: 28px clamp(24px, 6vw, 122px) 24px;
}

.footer-brand {
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand p,
.newsletter-box p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-row a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b7bff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.footer-column,
.newsletter-box {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h4,
.newsletter-box h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.newsletter-box {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.newsletter-box form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  min-height: 42px;
}

.newsletter-box input {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px 0 0 7px;
  background: rgba(0,0,0,0.12);
  color: #fff;
  padding: 0 14px;
}

.newsletter-box button {
  border: 0;
  border-radius: 0 7px 7px 0;
  background: #086fff;
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(24px, 14vw, 250px);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-bottom a,
.footer-bottom button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 1200px) {
  .dashboard-nav {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .dashboard-menu,
  .dashboard-actions {
    flex-wrap: wrap;
    justify-content: start;
  }

  .flight-hero {
    padding-left: 28px;
    padding-right: 28px;
  }

  .flight-search-form,
  .flight-search-form.is-round-trip {
    grid-template-columns: 1fr;
  }

  .route-panel {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  }

  .dates-panel,
  .travelers-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .newsletter-box {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .dashboard-nav,
  .deals-section,
  .footer-content,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .flight-hero {
    min-height: auto;
    padding: 22px 18px 44px;
    background-position: 58% center;
  }

  .dashboard-brand .agent-brand-text strong {
    font-size: 22px;
  }

  .dashboard-brand .agent-brand-text small {
    font-size: 11px;
  }

  .dashboard-brand-mark {
    width: 38px;
    height: 38px;
  }

  .dashboard-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .dashboard-menu a {
    min-height: 40px;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
    text-align: center;
  }

  .dashboard-menu a:first-child {
    grid-column: 1 / -1;
  }

  .dashboard-actions {
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .currency-button,
  .round-action,
  .profile-button {
    min-height: 38px;
  }

  .profile-button {
    justify-content: end;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-approval-notice {
    margin-bottom: 18px;
    padding: 16px;
  }

  .agent-status-ribbon {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .agent-status-ribbon-chip,
  .agent-status-ribbon strong,
  .agent-status-ribbon p {
    grid-column: 1;
  }

  .agent-status-ribbon .agent-remark-dismiss {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-eyebrow {
    min-height: 28px;
    font-size: 11px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .trip-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .trip-tabs button {
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
  }

  .flight-search-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .search-product-tabs,
  .trip-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .trip-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flight-search-steps {
    display: none;
  }

  .flight-search-form,
  .flight-search-form.is-round-trip,
  .deal-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .flight-search-form {
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .route-panel,
  .dates-panel,
  .travelers-panel {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .flight-search-panel-title {
    font-size: 12px;
  }

  .search-cell {
    min-height: 76px;
    padding: 12px;
  }

  .search-cell input,
  .search-cell select {
    font-size: 15px;
  }

  .swap-button {
    justify-self: center;
    width: 48px;
    min-height: 42px;
    transform: rotate(90deg);
  }

  .swap-button:hover {
    transform: rotate(90deg) translateX(-1px);
  }

  .swap-button::before {
    top: 14px;
  }

  .swap-button::after {
    top: 27px;
  }

  .flight-search-action {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .flight-search-action p {
    text-align: center;
  }

  .dashboard-search-button {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .deals-heading {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .deals-heading h2 {
    font-size: 20px;
  }

  .deals-heading p {
    font-size: 15px;
  }

  .deals-heading button {
    justify-self: start;
  }

  .deal-card {
    min-height: 220px;
    padding: 22px 20px;
  }

  .deal-card h3 {
    font-size: 28px;
  }

  .deal-card p,
  .deal-card-blue small,
  .deal-card-blue span {
    font-size: 15px;
  }

  .newsletter-box form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newsletter-box input,
  .newsletter-box button {
    min-height: 42px;
    border-radius: 7px;
  }

  .footer-bottom,
  .footer-bottom div {
    display: grid;
    justify-items: start;
  }

  .footer-bottom {
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .footer-bottom div {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .agent-nav {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dashboard-actions {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }

  .profile-button {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: 32px;
  }

  .trip-tabs button {
    font-size: 13px;
  }

  .search-product-tabs button,
  .trip-tabs button {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }

  .traveler-stepper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .sasto-search-strip,
  .sasto-flight-form.is-one-way .sasto-search-strip {
    grid-template-columns: minmax(142px, 1.05fr) 46px minmax(142px, 1.05fr) minmax(118px, 0.78fr) minmax(136px, 0.82fr) 60px;
  }

  .sasto-flight-form.is-round-trip .sasto-search-strip,
  .sasto-flight-form.is-round-trip .sasto-search-strip.has-travelers {
    grid-template-columns: minmax(120px, 1fr) 44px minmax(120px, 1fr) minmax(108px, 0.74fr) minmax(108px, 0.74fr) minmax(124px, 0.8fr) 58px;
  }

  .sasto-field,
  .sasto-swap-button,
  .sasto-stage-button,
  .sasto-search-button {
    min-height: 62px;
  }

  .sasto-field {
    padding: 0 9px;
  }

  .sasto-field input,
  .sasto-field select,
  .sasto-field button[data-traveler-toggle] {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .sasto-flight-card {
    margin-top: 0;
  }

  .sasto-trip-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .sasto-trip-tabs button,
  .sasto-trip-tabs button.is-active {
    min-height: 42px;
    padding: 0 8px;
    font-size: 13px;
  }

  .sasto-search-strip,
  .sasto-flight-form.is-one-way .sasto-search-strip,
  .sasto-flight-form.is-round-trip .sasto-search-strip,
  .sasto-flight-form.is-round-trip .sasto-search-strip.has-travelers {
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 12px 24px rgba(16, 43, 78, 0.16);
  }

  .sasto-field,
  .sasto-search-strip > .date-field,
  .sasto-search-strip > .traveler-field,
  .sasto-search-strip > .sasto-search-button {
    grid-column: auto;
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid #d7deea;
  }

  .sasto-flight-form.is-round-trip .sasto-search-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sasto-flight-form.is-round-trip .airport-field,
  .sasto-flight-form.is-round-trip .destination-field,
  .sasto-flight-form.is-round-trip .traveler-field,
  .sasto-flight-form.is-round-trip .sasto-search-button {
    grid-column: 1 / -1;
  }

  .sasto-flight-form.is-round-trip .date-field {
    grid-column: auto;
    min-width: 0;
  }

  .sasto-swap-button {
    grid-column: 1 / -1;
    justify-self: center;
    width: 46px;
    min-height: 40px;
    margin: -1px 0;
    border: 1px solid #d7deea;
    border-radius: 4px;
    transform: rotate(90deg);
    z-index: 3;
  }

  .sasto-swap-button:hover {
    transform: rotate(90deg);
  }

  .airport-suggest-panel,
  .traveler-popover {
    position: static;
    width: 100%;
    max-height: 300px;
    grid-column: 1 / -1;
    box-shadow: none;
  }

  .airport-field.is-open {
    align-items: start;
    padding-top: 16px;
  }

  .airport-field.is-open .airport-suggest-panel {
    margin: 12px -12px 0;
    width: calc(100% + 24px);
  }

  .traveler-field.is-open {
    padding-top: 14px;
    align-items: start;
  }

  .traveler-field.is-open .traveler-popover {
    margin: 12px -12px 0;
    width: calc(100% + 24px);
  }

  .traveler-popover {
    right: auto;
    max-height: none;
    border-radius: 0 0 8px 8px;
    border-right: 0;
    border-left: 0;
    padding: 14px 12px 16px;
    background: #f8fafc;
  }

  .traveler-popover-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
  }

  .traveler-popover-head span {
    text-align: left;
  }

  .nationality-select select {
    min-height: 48px;
    background: #ffffff;
    font-size: 14px;
  }

  .traveler-counts {
    gap: 10px;
  }

  .traveler-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 9px 10px 9px 13px;
    background: #ffffff;
  }

  .cabin-radio-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .cabin-radio-group label span {
    min-height: 42px;
  }

  .traveler-stepper {
    grid-template-columns: 36px 40px 36px;
  }

  .traveler-stepper button {
    width: 36px;
    height: 36px;
  }

  .traveler-stepper input {
    width: 40px;
  }
}

@media (max-width: 520px) {
  .sasto-flight-form.is-round-trip .date-field {
    grid-column: 1 / -1;
  }

  .traveler-popover {
    padding-bottom: 18px;
  }

  .traveler-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .traveler-stepper {
    justify-self: stretch;
    grid-template-columns: 42px minmax(42px, 1fr) 42px;
  }

  .traveler-stepper button {
    width: 42px;
    height: 40px;
  }

  .traveler-stepper input {
    width: 100%;
  }
}

.order-management-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 69px 1fr 77px;
  overflow-x: hidden;
  background: #f4f6fb;
  color: #1e2b3f;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
}

.agent-flight-results {
  min-height: 100vh;
  background: #f3f6fb;
  color: #1f2d44;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
}

.flight-search-results-section {
  min-height: calc(100vh - 72px);
  padding: 20px 0 40px;
  background: #f8f9fa;
}

.agent-results-container {
  width: min(100% - 32px, 1440px);
  margin: 0 auto;
}

.agent-flight-alert,
.flight-results-header,
.flight-filters-card,
.flight-result-card,
.agent-results-footer-summary,
.agent-no-flights {
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(19, 37, 66, 0.08);
}

.agent-flight-alert {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  border-color: #f0b7bf;
  background: #fff3f4;
  color: #931f2d;
  padding: 14px 16px;
}

.flight-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 20px;
}

.flight-results-header h3 {
  margin: 0 0 6px;
  color: #26364d;
  font-size: 22px;
}

.flight-results-header p {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  color: #66748a;
  font-size: 13px;
  font-weight: 700;
}

.agent-outline-button,
.agent-primary-button,
.agent-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.agent-outline-button {
  border: 1px solid #0d6efd;
  background: #ffffff;
  color: #0d6efd;
}

.agent-primary-button {
  border: 1px solid #0d6efd;
  background: #0d6efd;
  color: #ffffff;
}

.agent-link-button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: #0d6efd;
  padding: 0;
}

.agent-main-flight-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.agent-result-insight-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 4px;
  margin-bottom: 12px;
}

.agent-result-insight-strip button {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #ffffff;
  color: #1d2c42;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.agent-result-insight-strip button:hover,
.agent-result-insight-strip button:focus-visible {
  border-bottom-color: #0d6efd;
  background: #f8fbff;
}

.agent-result-insight-strip strong {
  font-size: 12px;
  font-weight: 900;
}

.agent-result-insight-strip span {
  color: #b42318;
  font-size: 11px;
  font-weight: 800;
}

.agent-result-insight-strip .shortcut-arrow {
  color: #22c55e;
  font-size: 13px;
  font-weight: 900;
}

.agent-airline-cheapest-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
}

.agent-airline-cheapest-head {
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  color: #1f2d44;
}

.agent-airline-cheapest-head strong {
  font-size: 13px;
  font-weight: 900;
}

.agent-airline-cheapest-head span {
  color: #66748a;
  font-size: 11px;
  font-weight: 800;
}

.agent-airline-cheapest-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.agent-airline-rate-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2d44;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.agent-airline-rate-card:hover,
.agent-airline-rate-card:focus-visible {
  border-color: #0d6efd;
  box-shadow: 0 6px 14px rgba(13, 110, 253, 0.12);
  outline: 0;
}

.agent-airline-rate-card img,
.agent-airline-rate-card .airline-logo-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}

.agent-airline-rate-card span:not(.airline-logo-placeholder) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.agent-airline-rate-card strong,
.agent-airline-rate-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-airline-rate-card strong {
  font-size: 12px;
  font-weight: 900;
}

.agent-airline-rate-card small {
  color: #b42318;
  font-size: 12px;
  font-weight: 900;
}

.flight-filters-card {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 108px);
  overflow: hidden;
}

.agent-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  background: #f8f9fa;
  padding: 14px 16px;
}

.flight-filters-card.is-filter-open {
  overflow: auto;
}

.flight-filters-card.is-filter-open .agent-filter-head {
  border-bottom: 1px solid #e9ecef;
}

.agent-filter-body[hidden] {
  display: none;
}

.agent-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-filter-head h5 {
  margin: 0;
  color: #26364d;
  font-size: 16px;
}

.agent-filter-head button {
  border: 0;
  background: transparent;
  color: #0d6efd;
  font-weight: 800;
  cursor: pointer;
}

.flight-filters-card .agent-filter-head [data-agent-clear-flight-filters] {
  display: none;
}

.flight-filters-card.is-filter-open .agent-filter-head [data-agent-clear-flight-filters] {
  display: inline-flex;
}

.filter-section {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 16px;
}

.filter-section:last-child {
  border-bottom: 0;
}

.filter-title {
  margin: 0 0 2px;
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.filter-section label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #435066;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.agent-mobile-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #0d6efd;
  border-radius: 6px;
  background: #0d6efd;
  color: #ffffff;
  padding: 0 13px;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.agent-mobile-filter-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.agent-mobile-filter-icon::before,
.agent-mobile-filter-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.16s ease;
}

.agent-mobile-filter-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.agent-mobile-filter-toggle[aria-expanded="true"] .agent-mobile-filter-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.agent-mobile-filter-toggle[aria-expanded="true"] .agent-mobile-filter-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.agent-price-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.agent-price-filter input,
.agent-modify-flight-form input,
.agent-modify-flight-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d7deea;
  border-radius: 6px;
  background: #ffffff;
  color: #1d2c42;
  padding: 9px 10px;
  font: inherit;
}

.main-flight-results-list {
  display: grid;
  gap: 14px;
}

.flight-result-card {
  position: relative;
  overflow: visible;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.flight-result-card:hover {
  box-shadow: 0 6px 16px rgba(19, 37, 66, 0.12);
  transform: translateY(-1px);
}

.flight-result-card.is-highlighted {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2), 0 10px 28px rgba(19, 37, 66, 0.18);
}

.flight-result-card.d-none {
  display: none;
}

.agent-main-flight-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(300px, 1.5fr) minmax(190px, 0.9fr) minmax(170px, 0.75fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.agent-main-airline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.airline-logo-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #315ca5);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.agent-airline-logo-img {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid #e1e7f0;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 4px;
}

.agent-main-airline strong,
.time-large,
.price-amount {
  color: #26364d;
}

.agent-main-airline small,
.flight-leg small,
.agent-main-details,
.agent-flight-expanded {
  color: #66748a;
}

.agent-main-route {
  display: grid;
  grid-template-columns: minmax(80px, 0.8fr) minmax(120px, 1fr) minmax(80px, 0.8fr);
  align-items: center;
  gap: 12px;
}

.agent-summary-routes {
  display: grid;
  gap: 8px;
}

.agent-main-route-return {
  border-top: 1px dashed #d7deea;
  padding-top: 8px;
}

.agent-main-route-return .flight-leg {
  background: #f3f8ff;
}

.flight-leg {
  display: grid;
  gap: 3px;
  border-radius: 6px;
  background: #f8f9fa;
  padding: 12px;
}

.time-large {
  font-size: 20px;
}

.airport-code {
  color: #536179;
  font-size: 14px;
  font-weight: 900;
}

.agent-route-path {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.agent-route-path i {
  display: block;
  width: 100%;
  border-top: 2px dashed #cfd7e4;
}

.agent-route-path em {
  font-style: normal;
}

.agent-main-details {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}

.agent-fare-rules-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: fit-content;
  border: 0;
  background: transparent;
  color: #b42318;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.agent-fare-rules-button:hover,
.agent-fare-rules-button:focus-visible {
  color: #0f4ea8;
}

.fare-rules-document-icon {
  position: relative;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.fare-rules-document-icon::before,
.fare-rules-document-icon::after {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: currentColor;
  content: "";
}

.fare-rules-document-icon::before {
  top: 4px;
}

.fare-rules-document-icon::after {
  top: 9px;
}

.flight-price-section {
  display: grid;
  justify-items: stretch;
  gap: 9px;
}

.price-amount-wrapper {
  position: relative;
  justify-self: end;
}

.price-amount {
  font-size: 28px;
  font-weight: 900;
  text-align: right;
}

.price-amount .currency {
  font-size: 16px;
}

.price-breakdown-popover {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  min-width: 230px;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.15);
  padding: 11px 12px;
  color: #40506a;
}

.price-breakdown-popover span,
.price-breakdown-popover b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.price-amount-wrapper:hover .price-breakdown-popover,
.price-amount-wrapper:focus-within .price-breakdown-popover {
  display: block;
}

.agent-flight-expanded {
  display: grid;
  gap: 12px;
  border-top: 1px solid #e9ecef;
  background: #fbfcfe;
  padding: 14px 18px;
  font-size: 13px;
}

.agent-flight-expanded[hidden] {
  display: none;
}

.agent-flight-detail-slice {
  display: grid;
  gap: 8px;
  border-top: 1px dashed #cfd7e4;
  padding-top: 10px;
}

.agent-flight-detail-slice:first-child {
  border-top: 0;
  padding-top: 0;
}

.agent-flight-detail-slice h4,
.agent-fare-rules-panel h4 {
  margin: 0;
  color: #0f4ea8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.agent-flight-segment-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 1.2fr) minmax(210px, 1.1fr);
  gap: 12px;
  align-items: center;
  border-left: 4px solid #1bbf6b;
  background: #ffffff;
  padding: 10px 12px;
}

.agent-detail-carrier {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.agent-detail-carrier img,
.agent-detail-carrier > span:first-child,
.agent-modal-carrier-logo,
.agent-modal-carrier-placeholder {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #e1e7f0;
  border-radius: 50%;
  background: #ffffff;
}

.agent-detail-carrier img,
.agent-modal-carrier-logo {
  display: block;
  object-fit: contain;
  padding: 4px;
}

.agent-detail-carrier > span:first-child,
.agent-modal-carrier-placeholder {
  display: grid;
  place-items: center;
  background: #315ca5;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.agent-detail-carrier > span:last-child {
  min-width: 0;
}

.agent-flight-segment-row span:nth-child(n + 4) {
  color: #40506a;
  font-size: 12px;
  font-weight: 900;
}

.agent-flight-stop-row {
  border: 1px dashed #b9c4d6;
  border-left: 4px solid #1bbf6b;
  background: #f7fafc;
  color: #1d2c42;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.agent-fare-rules-panel {
  display: grid;
  gap: 8px;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: 6px;
  background: #fff7ed;
  padding: 12px 14px;
}

.agent-fare-rules-panel.is-highlighted {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.agent-fare-rules-panel p {
  margin: 0;
  color: #7c2d12;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.fare-rules-view-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  border: 0;
  border-radius: 6px;
  background: #0f4ea8;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  vertical-align: baseline;
}

.fare-rules-view-more:hover,
.fare-rules-view-more:focus-visible {
  background: #0b3a7c;
}

.fare-rules-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}

.fare-rules-icon::before,
.fare-rules-icon::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.fare-rules-icon::before {
  top: 6px;
  left: 1px;
  width: 12px;
  height: 2px;
}

.fare-rules-icon::after {
  top: 1px;
  left: 6px;
  width: 2px;
  height: 12px;
}

.fare-rules-view-more[aria-expanded="true"] .fare-rules-icon::after {
  display: none;
}

.agent-flight-details-modal {
  width: min(980px, calc(100% - 28px));
  max-height: min(820px, calc(100vh - 36px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(10, 18, 34, 0.35);
}

.agent-flight-details-modal::backdrop {
  background: rgba(18, 29, 48, 0.64);
}

.agent-flight-details-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e9ecef;
  background: #ffffff;
  padding: 16px 18px;
}

.agent-flight-details-modal-head h5 {
  margin: 0;
  color: #26364d;
  font-size: 18px;
  font-weight: 900;
}

.agent-flight-details-modal-head button {
  border: 0;
  background: transparent;
  color: #637083;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.agent-flight-details-modal-body {
  max-height: calc(min(820px, 100vh - 36px) - 58px);
  overflow: auto;
  background: #f4f7fb;
  padding: 18px;
}

.agent-details-loading,
.agent-details-error {
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  color: #536179;
  font-weight: 800;
  text-align: center;
}

.agent-details-error {
  color: #b42318;
}

.agent-modal-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px;
}

.agent-modal-detail-title strong {
  color: #26364d;
  font-size: 18px;
  font-weight: 900;
}

.agent-modal-detail-title small {
  color: #64748b;
}

.agent-modal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.agent-modal-summary-grid div,
.agent-modal-detail-section {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.agent-modal-summary-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-modal-summary-grid strong {
  display: block;
  margin-top: 4px;
  color: #1d2c42;
  font-size: 16px;
  font-weight: 900;
}

.agent-modal-detail-section {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.agent-modal-detail-section h6 {
  margin: 0;
  color: #0f4ea8;
  font-size: 14px;
  font-weight: 900;
}

.agent-modal-segment-card {
  display: grid;
  gap: 10px;
  border: 1px solid #e9eef5;
  border-left: 4px solid #1bbf6b;
  border-radius: 6px;
  background: #fbfcfe;
  padding: 12px;
}

.agent-modal-carrier-line {
  display: grid;
  grid-template-columns: 34px minmax(0, auto);
  align-items: center;
  column-gap: 9px;
  row-gap: 2px;
}

.agent-modal-carrier-line > span:last-child {
  grid-column: 2;
}

.agent-modal-segment-card strong,
.agent-modal-segment-card b {
  color: #1d2c42;
  font-weight: 900;
}

.agent-modal-segment-card span,
.agent-modal-segment-card small {
  display: block;
  color: #536179;
  font-weight: 700;
}

.agent-modal-segment-card .agent-modal-carrier-placeholder {
  display: grid;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.agent-modal-segment-times,
.agent-modal-segment-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.agent-modal-segment-times {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  text-align: center;
}

.agent-modal-connection {
  border: 1px dashed #b9c4d6;
  border-radius: 6px;
  background: #f7fafc;
  color: #1d2c42;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.agent-modal-fare-rules {
  border-color: #fed7aa;
  border-left: 4px solid #f97316;
  background: #fff7ed;
}

.agent-modal-fare-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.agent-modal-fare-facts span {
  border: 1px solid #fed7aa;
  border-radius: 6px;
  background: #ffffff;
  color: #7c2d12;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}

.fare-rules-box {
  color: #7c2d12;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.agent-results-footer-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
}

.agent-results-footer-summary div {
  display: grid;
  gap: 3px;
}

.agent-results-footer-summary small {
  color: #718096;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-no-flights {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 46px 18px;
  text-align: center;
}

.agent-no-flights h4,
.agent-no-flights p {
  margin: 0;
}

.agent-no-flights-icon {
  width: 42px;
  height: 42px;
  border: 3px solid #d7deea;
  border-radius: 50%;
}

.agent-no-flights div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.flight-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(18, 29, 48, 0.72);
  padding: 20px;
}

.flight-search-overlay[hidden] {
  display: none;
}

.flight-search-overlay-inner {
  width: min(100%, 520px);
  border-radius: 10px;
  background: #ffffff;
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.flight-search-overlay-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border: 3px solid #e9ecef;
  border-top-color: #0d6efd;
  border-radius: 50%;
  animation: flight-spin 0.9s linear infinite;
}

@keyframes flight-spin {
  to {
    transform: rotate(360deg);
  }
}

.flight-search-overlay-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.flight-search-overlay-route div {
  border-radius: 8px;
  background: #f4f7fb;
  padding: 12px;
}

.flight-search-overlay-route small {
  display: block;
  color: #748096;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-flight-modal {
  width: min(960px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 36px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(10, 18, 34, 0.35);
}

.agent-flight-modal::backdrop {
  background: rgba(18, 29, 48, 0.64);
}

.agent-modify-flight-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.agent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e9ecef;
  margin: -18px -18px 0;
  padding: 16px 18px;
}

.agent-modal-header h5 {
  margin: 0;
  color: #26364d;
  font-size: 18px;
}

.agent-modal-header button {
  border: 0;
  background: transparent;
  color: #637083;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.agent-trip-buttons,
.agent-cabin-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-trip-buttons label,
.agent-cabin-buttons label {
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #ffffff;
  color: #42516a;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.agent-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 14px;
}

.agent-modal-grid label,
.agent-passenger-grid label {
  position: relative;
  display: grid;
  gap: 6px;
  color: #435066;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-modal-grid label:nth-of-type(n + 3) {
  grid-column: span 1;
}

.agent-swap-modal-airports {
  align-self: end;
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #eef5ff;
  color: #0d6efd;
  font-weight: 900;
  cursor: pointer;
}

.airport-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 34, 64, 0.14);
}

.airport-item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  color: #25334a;
  cursor: pointer;
}

.airport-item:hover,
.airport-item.active {
  background: #eef5ff;
}

.agent-traveller-panel {
  display: grid;
  gap: 12px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 14px;
}

.agent-passenger-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 10px;
}

.agent-field-error {
  color: #c72b3c;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.agent-modal-submit {
  justify-self: end;
  min-width: 180px;
}

.flight-results-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  border-bottom: 1px solid #dce4ef;
  background: rgba(255, 255, 255, 0.94);
  padding: 0 32px;
  backdrop-filter: blur(14px);
}

.flight-results-back,
.flight-results-empty a,
.agent-flight-price button {
  border: 0;
  border-radius: 6px;
  background: #d61f32;
  color: #ffffff;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.flight-results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: 34px 32px 24px;
  background: #ffffff;
  border-bottom: 1px solid #dce4ef;
}

.flight-results-hero span {
  color: #d61f32;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flight-results-hero h1 {
  margin: 6px 0;
  color: #20365c;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.95;
}

.flight-results-hero p {
  margin: 0;
  color: #5d6a7f;
  font-weight: 700;
}

.flight-results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.flight-results-meta span {
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  background: #f7f9fd;
  color: #31558f;
  padding: 8px 11px;
}

.flight-results-modify {
  padding: 18px 32px 6px;
  background: #ffffff;
  border-bottom: 1px solid #dce4ef;
}

.flight-results-modify .sasto-flight-card {
  margin: 0 auto;
}

.flight-results-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 32px 40px;
}

.flight-results-summary,
.flight-results-empty,
.agent-flight-card {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 43, 78, 0.08);
}

.flight-results-summary {
  align-self: start;
  padding: 18px;
}

.flight-results-summary > strong,
.flight-results-empty strong {
  color: #20365c;
  font-size: 17px;
}

.flight-results-summary dl {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
}

.flight-results-summary div {
  display: grid;
  gap: 3px;
}

.flight-results-summary dt {
  color: #78859a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-results-summary dd {
  margin: 0;
  color: #273243;
  font-size: 13px;
  font-weight: 800;
}

.flight-results-list {
  display: grid;
  gap: 14px;
}

.agent-flight-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(250px, 1.35fr) minmax(140px, 0.75fr) minmax(150px, 0.7fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.agent-flight-carrier {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-flight-carrier > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #315ca5;
  color: #ffffff;
  font-weight: 900;
}

.agent-flight-carrier strong,
.agent-flight-route strong,
.agent-flight-price strong {
  color: #20365c;
}

.agent-flight-carrier small,
.agent-flight-route small,
.agent-flight-price small {
  display: block;
  color: #758196;
  font-size: 12px;
}

.agent-flight-route {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.agent-flight-line {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 32px;
}

.agent-flight-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #cbd6e6;
}

.agent-flight-line span {
  position: relative;
  border-radius: 999px;
  background: #ffffff;
  color: #31558f;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 900;
}

.agent-flight-detail {
  display: grid;
  gap: 4px;
  color: #5c687c;
  font-size: 12px;
  font-weight: 700;
}

.agent-flight-price {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.agent-flight-price strong {
  font-size: 20px;
}

.flight-results-empty {
  max-width: 760px;
  margin: 36px auto;
  padding: 28px;
  text-align: center;
}

.flight-results-empty p {
  color: #5d6a7f;
}

@media (max-width: 980px) {
  .agent-main-flight-layout {
    grid-template-columns: 1fr;
  }

  .flight-filters-card {
    position: static;
    max-height: none;
    overflow: hidden;
  }

  .flight-filters-card .agent-filter-head [data-agent-clear-flight-filters] {
    display: none;
  }

  .flight-filters-card.is-filter-open,
  .flight-filters-card.is-mobile-open {
    overflow: visible;
  }

  .flight-filters-card.is-filter-open .agent-filter-head,
  .flight-filters-card.is-mobile-open .agent-filter-head {
    border-bottom: 1px solid #e9ecef;
  }

  .flight-filters-card.is-filter-open .agent-filter-head [data-agent-clear-flight-filters],
  .flight-filters-card.is-mobile-open .agent-filter-head [data-agent-clear-flight-filters] {
    display: inline-flex;
  }

  .agent-mobile-filter-toggle {
    min-height: 46px;
    border-radius: 999px;
    padding: 0 17px;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.28);
  }

  .agent-main-flight-card {
    grid-template-columns: 1fr;
  }

  .agent-result-insight-strip {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .agent-airline-cheapest-strip {
    grid-template-columns: 1fr;
  }

  .agent-airline-cheapest-list {
    grid-auto-columns: minmax(190px, 76vw);
  }

  .agent-main-route {
    grid-template-columns: 1fr;
  }

  .flight-price-section {
    justify-items: stretch;
  }

  .price-amount-wrapper {
    justify-self: stretch;
    width: 100%;
  }

  .price-amount {
    text-align: left;
  }

  .price-breakdown-popover {
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(100%, calc(100vw - 64px));
    min-width: 0;
    max-width: none;
    padding: 14px 15px;
    box-shadow: 0 14px 32px rgba(13, 110, 253, 0.2);
  }

  .price-breakdown-popover strong {
    display: block;
    color: #1f2d44;
    font-size: 15px;
    font-weight: 900;
  }

  .price-breakdown-popover span,
  .price-breakdown-popover b {
    margin-top: 7px;
    color: #40506a;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .price-breakdown-popover b {
    color: #b42318;
    font-weight: 900;
  }

  .agent-flight-segment-row {
    grid-template-columns: 1fr;
  }

  .agent-modal-detail-title {
    align-items: flex-start;
  }

  .agent-passenger-grid,
  .agent-modal-grid {
    grid-template-columns: 1fr;
  }

  .agent-modal-summary-grid,
  .agent-modal-fare-facts,
  .agent-modal-segment-meta {
    grid-template-columns: 1fr;
  }

  .agent-swap-modal-airports {
    width: 100%;
  }

  .flight-results-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .agent-flight-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .agent-flight-price {
    justify-items: stretch;
  }
}

@media (max-width: 640px) {
  .flight-results-topbar,
  .flight-results-modify,
  .flight-results-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .flight-results-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .flight-results-hero {
    grid-template-columns: 1fr;
  }

  .flight-results-meta {
    justify-content: flex-start;
  }

  .agent-flight-route {
    grid-template-columns: 1fr;
  }

  .agent-flight-line {
    justify-items: start;
  }
}

.order-topbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  min-width: 0;
  height: 69px;
  background: #202020;
  color: #fff;
  padding: 0 32px;
}

.pkfare-brand {
  position: relative;
  width: 148px;
  min-height: 40px;
  display: inline-grid;
  align-content: center;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.pkfare-brand strong {
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.pkfare-brand small {
  margin-top: 2px;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.78);
}

.pkfare-brand > span {
  position: absolute;
  right: -3px;
  top: 11px;
  width: 11px;
  height: 28px;
  background: #03d6a4;
  transform: skew(33deg) rotate(-43deg);
}

.pkfare-brand > span::before,
.pkfare-brand > span::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 10px;
  height: 5px;
  background: #008dff;
}

.pkfare-brand > span::before {
  top: 10px;
  transform: skew(-8deg) rotate(88deg);
}

.pkfare-brand > span::after {
  top: 20px;
  transform: skew(-8deg) rotate(88deg);
}

.order-primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 38px;
}

.order-primary-nav a {
  min-height: 34px;
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  padding: 0 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.order-primary-nav a.is-active {
  min-width: 157px;
  background: #0877f7;
}

.order-mobile-drawer-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.order-mobile-drawer-button span {
  width: 16px;
  height: 11px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.order-mobile-drawer-button span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.order-top-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.order-currency-button,
.order-help-button,
.order-bell-button,
.order-profile-button {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.order-currency-button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 0 9px;
  font-size: 13px;
}

.order-help-button {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 17px;
  line-height: 24px;
}

.order-bell-button {
  position: relative;
  width: 30px;
  height: 34px;
}

.order-bell-button span {
  position: absolute;
  left: 7px;
  top: 10px;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 12px 12px 5px 5px;
}

.order-bell-button span::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.order-bell-button strong {
  position: absolute;
  right: -7px;
  top: 3px;
  min-width: 24px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ff7900;
  color: #fff;
  font-size: 11px;
}

.order-profile-wrap {
  position: relative;
}

.order-profile-button {
  max-width: 116px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.order-profile-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-profile-button i {
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-2px);
}

.order-profile-menu {
  position: absolute;
  right: 0;
  top: 31px;
  width: 154px;
  display: grid;
  padding: 5px 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.order-profile-wrap:not(.is-open) .order-profile-menu {
  display: none;
}

.order-profile-wrap .order-profile-menu {
  display: grid;
}

.order-profile-menu a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
  padding: 0 8px;
  text-decoration: none;
  font-size: 12px;
}

.order-profile-menu a:focus-visible,
.order-mobile-drawer-button:focus-visible,
.order-sidebar-close:focus-visible,
.order-dashboard-button:focus-visible,
.order-module-button:focus-visible,
.order-module-links a:focus-visible,
.order-primary-nav a:focus-visible,
.order-footer a:focus-visible,
.agent-profile-tabs a:focus-visible {
  outline: 2px solid #3ba2ff;
  outline-offset: 2px;
}

.order-profile-menu a:hover {
  background: #f3f6fb;
}

.order-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
}

.order-drawer-scrim,
.order-sidebar-close {
  display: none;
}

.order-sidebar {
  min-width: 0;
  border-right: 1px solid #d8deea;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
  color: #667186;
  padding-bottom: 18px;
}

.order-sidebar-heading {
  min-height: 99px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 0;
  border-bottom: 1px solid #d8deea;
  padding: 0 24px;
}

.order-sidebar-heading span {
  color: #8a96aa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.order-sidebar h1 {
  margin: 0;
  color: #263241;
  font-size: 18px;
  font-weight: 800;
}

.order-side-stack {
  display: grid;
  gap: 12px;
  padding: 16px 14px 0;
}

.order-dashboard-card {
  position: relative;
  width: calc(100% - 28px);
  margin: 18px 14px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(30, 50, 76, 0.06);
}

.order-dashboard-button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #10213f;
  padding: 11px 12px;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.order-dashboard-button::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.order-dashboard-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #0877f7 0%, #075fc7 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 119, 247, 0.22);
}

.order-dashboard-icon i {
  width: 17px;
  height: 17px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.order-dashboard-icon i {
  border-radius: 3px;
  background:
    linear-gradient(#fff 0 0) left top / 7px 7px no-repeat,
    linear-gradient(#fff 0 0) right top / 7px 7px no-repeat,
    linear-gradient(#fff 0 0) left bottom / 7px 7px no-repeat,
    linear-gradient(#fff 0 0) right bottom / 7px 7px no-repeat;
}

.order-dashboard-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-dashboard-button strong {
  font-size: 14px;
  font-weight: 900;
}

.order-dashboard-button small {
  color: #62728b;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-dashboard-button:hover,
.order-dashboard-card.is-active .order-dashboard-button {
  border-color: #bad8ff;
  background: linear-gradient(135deg, #f7fbff 0%, #e8f3ff 100%);
  box-shadow: 0 14px 28px rgba(8, 119, 247, 0.13);
}

.order-dashboard-button:hover {
  transform: translateY(-1px);
}

.order-dashboard-card.is-active .order-dashboard-button::before {
  background: #0877f7;
}

.order-dashboard-card.is-active .order-dashboard-button strong {
  color: #075fc7;
}

.order-dashboard-button[aria-expanded="true"] .order-module-chevron::before {
  transform: rotate(-45deg);
}

.order-dashboard-button[aria-expanded="true"] .order-module-chevron::after {
  transform: rotate(45deg);
}

.order-module-card {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

.order-module-card.is-active {
  border-color: #9dc8ff;
  box-shadow: 0 12px 26px rgba(8, 119, 247, 0.11);
}

.order-module-button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: #fff;
  color: #263241;
  padding: 12px 14px;
  text-align: left;
}

.order-module-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef5ff;
  color: #075fc7;
  font-size: 11px;
  font-weight: 900;
}

.order-module-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-module-copy strong {
  color: #263241;
  font-size: 14px;
  font-weight: 800;
}

.order-module-copy small {
  color: #7b8798;
  font-size: 11px;
  line-height: 1.35;
}

.order-module-chevron {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: #8b98ab;
  position: relative;
  flex: 0 0 18px;
}

.order-module-chevron::before,
.order-module-chevron::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.order-module-chevron::before {
  left: 2px;
  transform: rotate(45deg);
}

.order-module-chevron::after {
  right: 2px;
  transform: rotate(-45deg);
}

.order-module-button[aria-expanded="true"] .order-module-chevron::before {
  transform: rotate(-45deg);
}

.order-module-button[aria-expanded="true"] .order-module-chevron::after {
  transform: rotate(45deg);
}

.order-module-links {
  display: grid;
  padding: 4px 8px 10px 60px;
}

.order-module-links[hidden] {
  display: none;
}

.order-module-links a {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: #647187;
  padding: 0 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.order-module-links a:hover {
  background: #f1f5fa;
  color: #263241;
}

.order-module-links a.is-active {
  background: #e9f3ff;
  color: #075fc7;
  box-shadow: inset 3px 0 0 #0877f7;
}

.order-side-utility {
  display: grid;
  gap: 4px;
  padding: 18px 24px 0;
}

.order-side-utility span {
  margin: 5px 0 8px;
  color: #536983;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-side-utility a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  color: #10213f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.order-side-utility a:hover {
  background: #eef5ff;
}

.order-side-utility i {
  width: 28px;
  color: #2c4668;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.order-workspace {
  min-width: 0;
  padding: 48px 32px 47px;
}

.order-view[hidden] {
  display: none;
}

.order-dashboard-view {
  padding-top: 32px;
  background: #f7faff;
}

.management-hero {
  position: relative;
  min-height: 146px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  margin: -32px -32px 0;
  padding: 36px 36px 28px;
  border-bottom: 1px solid #dfe8f3;
  background: #eff7ff;
}

.management-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.management-hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  bottom: 0;
  z-index: 1;
  width: min(1020px, 76%);
  height: 100%;
  pointer-events: none;
}

.management-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 38%;
  background: linear-gradient(90deg, #eff7ff 0%, rgba(239, 247, 255, 0.82) 38%, rgba(239, 247, 255, 0) 100%);
}

.management-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

.management-hero h2 {
  margin: 0;
  color: #071631;
  font-size: 25px;
  font-weight: 900;
}

.management-hero p {
  margin: 10px 0 0;
  color: #31435f;
  font-size: 15px;
}

.management-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  transform: translateY(-1px);
}

.management-kpi-card,
.management-panel {
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

.management-kpi-card {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px;
}

.management-kpi-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.kpi-blue .management-kpi-icon { background: #0877f7; }
.kpi-green .management-kpi-icon { background: #0aa66a; }
.kpi-orange .management-kpi-icon { background: #fb8500; }
.kpi-violet .management-kpi-icon { background: #6d3de5; }
.kpi-red .management-kpi-icon { background: #ef3038; }

.management-kpi-card small {
  color: #43536c;
  font-size: 13px;
  font-weight: 800;
}

.management-kpi-card strong {
  display: block;
  margin-top: 5px;
  color: #071631;
  font-size: 23px;
  font-weight: 900;
}

.management-kpi-card em {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.trend-up { color: #089b67; }
.trend-down { color: #ef3038; }

.management-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  gap: 14px;
  margin-top: 14px;
}

.management-panel {
  min-width: 0;
  padding: 18px;
}

.management-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.management-panel-head h3 {
  margin: 0;
  color: #10213f;
  font-size: 16px;
  font-weight: 900;
}

.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-overview-card {
  min-height: 176px;
  display: grid;
  gap: 12px;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.service-overview-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-overview-card header span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.service-flight header span { background: #e7f2ff; color: #0877f7; }
.service-hotel header span { background: #e8f8f1; color: #0aa66a; }
.service-visa header span { background: #f1ecff; color: #6d3de5; }
.service-vehicle header span { background: #fff1df; color: #fb8500; }

.service-overview-card small,
.service-overview-card dt {
  color: #40516b;
  font-size: 12px;
  font-weight: 800;
}

.service-overview-card strong {
  display: block;
  margin-top: 2px;
  color: #071631;
  font-size: 20px;
  font-weight: 900;
}

.service-overview-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding-top: 9px;
  border-top: 1px solid #e3e9f1;
}

.service-overview-card dd {
  margin: 4px 0 0;
  color: #071631;
  font-size: 12px;
  font-weight: 900;
}

.service-overview-card > i {
  height: 28px;
  display: block;
  border-radius: 4px;
  background: linear-gradient(135deg, transparent 0 20%, currentColor 20% 24%, transparent 24% 42%, currentColor 42% 46%, transparent 46% 63%, currentColor 63% 67%, transparent 67%);
  opacity: 0.45;
}

.service-flight > i { color: #0877f7; }
.service-hotel > i { color: #0aa66a; }
.service-visa > i { color: #6d3de5; }
.service-vehicle > i { color: #fb8500; }

.status-overview-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
}

.status-donut {
  width: 158px;
  height: 158px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: conic-gradient(#0877f7 0 56%, #0aa66a 56% 78%, #fb8500 78% 94%, #ef3038 94% 100%);
  position: relative;
}

.status-donut::before {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: #fff;
}

.status-donut strong,
.status-donut span {
  position: relative;
  z-index: 1;
}

.status-donut strong {
  color: #071631;
  font-size: 26px;
  font-weight: 900;
}

.status-donut span {
  color: #40516b;
  font-size: 13px;
}

.status-legend {
  display: grid;
  gap: 20px;
}

.status-legend span {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #243650;
  font-size: 13px;
}

.status-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-confirmed { background: #0877f7; }
.legend-ticketed { background: #0aa66a; }
.legend-pending { background: #fb8500; }
.legend-cancelled { background: #ef3038; }

.recent-orders-panel {
  margin-top: 14px;
}

.order-outline-button {
  min-height: 36px;
  border: 1px solid #c9d6e7;
  border-radius: 6px;
  background: #fff;
  color: #0877f7;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
}

.order-service-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border-radius: 5px;
  background: #eaf4ff;
  color: #0877f7;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.order-service-label.is-hotels { background: #e8f8f1; color: #0aa66a; }
.order-service-label.is-visa { background: #f1ecff; color: #6d3de5; }
.order-service-label.is-vehicles { background: #fff1df; color: #fb8500; }

.order-table td strong {
  display: block;
  color: #10213f;
  font-size: 12px;
}

.order-table td small {
  display: block;
  margin-top: 2px;
  color: #52637c;
}

.order-view-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  border: 1px solid #d8e2ef;
  border-radius: 6px;
  background: #fff;
  color: #0877f7;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.order-filter-form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(280px, 1.25fr) minmax(170px, 1fr);
  gap: 24px 16px;
  align-items: start;
}

.order-filter-form input,
.order-filter-form select,
.order-filter-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  border: 1px solid #d3d8e1;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  padding: 0 9px;
  font-size: 13px;
  outline: none;
}

.order-filter-form textarea {
  height: 33px;
  resize: none;
  padding-top: 7px;
}

.order-filter-form input::placeholder,
.order-filter-form textarea::placeholder,
.order-filter-form select {
  color: #a4aab4;
}

.date-range {
  min-height: 32px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  border: 1px solid #d3d8e1;
  border-radius: 4px;
  background: #fff;
}

.date-range input {
  border: 0;
  text-align: center;
  color: #111;
}

.date-range span {
  color: #111;
  text-align: center;
  font-size: 13px;
}

.order-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 32px;
}

.advanced-search-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #006cff;
  padding: 0 10px;
  font-size: 12px;
}

.advanced-search-button span {
  position: relative;
  width: 21px;
  height: 21px;
}

.advanced-search-button span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 17px;
  height: 18px;
  border: 1.7px solid #006cff;
  clip-path: polygon(0 0, 100% 0, 62% 44%, 62% 100%, 38% 100%, 38% 44%);
}

.advanced-search-button span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 9px;
  width: 12px;
  height: 1px;
  background: #006cff;
}

.order-reset-button,
.order-search-button {
  min-height: 32px;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 13px;
}

.order-reset-button {
  border: 1px solid #d6dbe4;
  background: #fff;
  color: #374151;
}

.order-search-button {
  min-width: 76px;
  border: 0;
  background: #0877f7;
  color: #fff;
  font-weight: 800;
}

.order-divider {
  height: 1px;
  margin: 34px 0 17px;
  background: #dde2eb;
}

.order-results-panel {
  min-height: 500px;
  display: grid;
  align-content: start;
  gap: 18px;
  background: #fff;
  padding: 24px;
}

.order-results-summary {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #718096;
  font-size: 13px;
}

.order-results-summary strong {
  color: #0f172a;
  font-size: 18px;
}

.order-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e1e6ef;
  -webkit-overflow-scrolling: touch;
}

.order-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: #1f2937;
  font-size: 13px;
}

.order-table th,
.order-table td {
  border-bottom: 1px solid #e6ebf3;
  padding: 13px 12px;
  text-align: left;
  white-space: nowrap;
}

.order-table th {
  background: #f6f8fc;
  color: #66758c;
  font-weight: 900;
}

.order-table tr:last-child td {
  border-bottom: 0;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 4px;
  background: #eaf4ff;
  color: #006cff;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.order-status-pill.is-warning {
  background: #fff4e4;
  color: #b75b00;
}

.order-status-pill.is-info {
  background: #e7f2ff;
  color: #0877f7;
}

.order-status-pill.is-danger {
  background: #fff0f0;
  color: #c92b2b;
}

.markup-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #dde5ef;
  padding-bottom: 18px;
}

.markup-workspace-head span,
.agent-markup-form label span,
.agent-markup-control > span {
  display: block;
  color: #53657e;
  font-size: 12px;
  font-weight: 900;
}

.markup-workspace-head h2 {
  margin: 4px 0 0;
  color: #071631;
  font-size: 24px;
  font-weight: 900;
}

.markup-workspace-head strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #e8f8f1;
  color: #08724d;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.agent-markup-notice {
  margin-bottom: 14px;
  border: 1px solid #bfe5d4;
  border-radius: 6px;
  background: #f0fbf6;
  color: #08724d;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.agent-markup-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.agent-markup-form {
  display: grid;
  gap: 14px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
}

.agent-markup-form label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.agent-markup-control {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.agent-markup-form input,
.agent-markup-form select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid #d3d8e1;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  padding: 0 9px;
  font-size: 13px;
}

.agent-checkbox-select {
  position: relative;
  min-width: 0;
}

.agent-checkbox-select-button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #cbd7e6;
  border-radius: 6px;
  background: #fff;
  color: #10213f;
  padding: 5px 8px;
  text-align: left;
}

.agent-checkbox-select-button i {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #33506e;
}

.agent-checkbox-select-button[aria-expanded="true"] {
  border-color: #6da8dc;
  box-shadow: 0 0 0 3px rgba(8, 119, 247, 0.12);
}

.agent-checkbox-select-button [data-checkbox-select-chips] {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.agent-checkbox-chip,
.agent-checkbox-placeholder {
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background: #2f638f;
  color: #fff;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.agent-checkbox-placeholder {
  background: transparent;
  color: #8a97a8;
  padding: 0 2px;
}

.agent-checkbox-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

.agent-checkbox-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #d2dbe8;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.agent-checkbox-select-filter {
  margin-bottom: 8px;
}

.agent-checkbox-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  min-height: 28px;
  color: #10213f;
  font-size: 13px;
  font-weight: 700;
}

.agent-checkbox-option[hidden] {
  display: none !important;
}

.agent-checkbox-option input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: #2f638f;
}

.agent-checkbox-option span {
  display: inline;
  color: #10213f;
  font-size: 13px;
  font-weight: 700;
}

.agent-markup-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.agent-markup-value-grid {
  grid-template-columns: minmax(0, 1fr);
}

.agent-markup-value-grid input[name="MarkupValue"] {
  min-height: 42px;
  font-size: 15px;
}

.agent-markup-toggle {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  min-height: 34px;
  border: 1px solid #dce4ee;
  border-radius: 6px;
  background: #f8fbff;
  padding: 0 10px;
}

.agent-markup-toggle input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: #0877f7;
}

.agent-markup-submit {
  width: 100%;
  min-height: 38px;
}

.agent-markup-rules {
  min-height: 520px;
}

.agent-markup-table {
  min-width: 920px;
}

.agent-markup-table form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.agent-markup-clickable-row {
  cursor: pointer;
}

.agent-markup-clickable-row:hover td,
.agent-markup-clickable-row:focus td {
  background: #f8fbff;
}

.agent-markup-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.65fr) minmax(140px, 0.75fr) minmax(150px, 0.8fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.agent-markup-filter-form input,
.agent-markup-filter-form select {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d3d8e1;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  padding: 0 9px;
  font-size: 13px;
}

.agent-markup-reset,
.agent-markup-back,
.agent-markup-pagination .order-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.agent-markup-page-size {
  color: #53657e;
  font-size: 12px;
  font-weight: 900;
}

.agent-markup-results-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #53657e;
  font-size: 13px;
  font-weight: 800;
}

.agent-markup-results-summary strong {
  color: #0f172a;
  font-size: 18px;
}

.agent-markup-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.agent-markup-pagination span {
  color: #53657e;
  font-size: 13px;
  font-weight: 800;
}

.agent-markup-pagination .is-disabled {
  pointer-events: none;
  opacity: 0.48;
}

.agent-markup-detail-view {
  display: block;
}

.agent-markup-detail-panel {
  max-width: 960px;
}

.agent-markup-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.agent-markup-detail-grid div {
  border-top: 1px solid #e6ebf3;
  padding: 16px;
}

.agent-markup-detail-grid dt {
  color: #53657e;
  font-size: 12px;
  font-weight: 900;
}

.agent-markup-detail-grid dd {
  margin: 5px 0 0;
  color: #10213f;
  font-size: 15px;
  font-weight: 800;
}

.agent-markup-empty {
  min-height: 360px;
}

.empty-order-state {
  min-height: 390px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  color: #b9c1d0;
}

.empty-order-state strong {
  font-size: 20px;
  font-weight: 800;
}

.empty-doc-icon {
  position: relative;
  width: 89px;
  height: 80px;
}

.empty-doc-icon::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 2px;
  width: 58px;
  height: 73px;
  border: 4px solid #b9c1d0;
  border-radius: 6px;
}

.empty-doc-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 12px;
  border: 4px solid #b9c1d0;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
}

.empty-doc-icon i {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 40px;
  height: 40px;
  border: 4px solid #b9c1d0;
  border-radius: 50%;
  background: #fff;
}

.empty-doc-icon i::before,
.empty-doc-icon i::after {
  content: "";
  position: absolute;
  left: -31px;
  height: 3px;
  background: #b9c1d0;
}

.empty-doc-icon i::before {
  top: -28px;
  width: 25px;
  box-shadow: 0 11px 0 #b9c1d0, 0 22px 0 #b9c1d0, 0 33px 0 #b9c1d0;
}

.empty-doc-icon i::after {
  right: -10px;
  left: auto;
  bottom: -7px;
  width: 21px;
  transform: rotate(45deg);
}

.order-assistant-close {
  position: fixed;
  right: 309px;
  bottom: 86px;
  z-index: 20;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 22px;
  box-shadow: 0 12px 36px rgba(7, 16, 32, 0.12);
}

.order-assistant-popover {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 19;
  width: 280px;
  min-height: 64px;
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 18px 38px rgba(7, 16, 32, 0.1);
}

.order-assistant-popover p {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.order-chat-button {
  position: fixed;
  right: 19px;
  bottom: 16px;
  z-index: 20;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #19b8ca;
}

.order-chat-button span {
  position: absolute;
  left: 19px;
  top: 22px;
  width: 29px;
  height: 18px;
  border-radius: 999px;
  background: #222;
}

.order-chat-button span::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: #222;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.order-view[hidden],
.order-advanced-field[hidden],
.order-table-wrap[hidden],
.order-toast[hidden] {
  display: none !important;
}

.order-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 40;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  border-radius: 4px;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 42px rgba(9, 16, 32, 0.22);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 800;
}

.agent-profile-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.agent-profile-page {
  min-width: 0;
  background: #f0f0f0;
  color: #111827;
  padding: 24px clamp(18px, 5vw, 82px) 48px;
}

.agent-profile-page h1 {
  margin: 0 0 18px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.agent-profile-tabs {
  min-height: 292px;
  display: grid;
  align-content: start;
  background: #fff;
}

.agent-profile-tabs a {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-left: 4px solid transparent;
  color: #1f2937;
  padding: 0 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.agent-profile-tabs a.is-active,
.agent-profile-tabs a:hover {
  border-left-color: #0877f7;
  background: #eaf4ff;
  color: #006cff;
}

.agent-profile-panel {
  background: #fff;
  padding: 28px 34px 22px;
}

.agent-profile-section {
  display: block;
  margin: 0;
  border-bottom: 1px solid #dde2eb;
  padding: 0 0 28px;
}

.agent-profile-section + .agent-profile-section {
  padding-top: 28px;
}

.agent-profile-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.agent-profile-section h2 {
  margin: 0 0 28px;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.agent-readonly-field,
.agent-profile-field,
.agent-contact-row {
  max-width: 390px;
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
}

.agent-readonly-field span,
.agent-profile-field span,
.agent-contact-row span {
  color: #202b3c;
  font-size: 10px;
  font-weight: 800;
}

.agent-readonly-field strong,
.agent-contact-row strong {
  color: #006cff;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.agent-profile-field sup {
  color: #d91d1d;
  font-size: 9px;
}

.agent-profile-field input {
  width: 100%;
  min-height: 28px;
  border: 1px solid #aeb7c4;
  border-radius: 0;
  color: #111827;
  padding: 4px 8px;
  font-size: 12px;
  outline: none;
}

.agent-profile-field input:focus {
  border-color: #0877f7;
  box-shadow: 0 0 0 2px rgba(8, 119, 247, 0.13);
}

.agent-save-button {
  min-width: 66px;
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  background: #aeb4bd;
  color: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
}

.agent-save-button:hover,
.agent-save-button:focus {
  background: #87909c;
}

.agent-contact-row em {
  color: #00a870;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.agent-contact-row i {
  color: #006cff;
  font-style: normal;
  font-size: 12px;
}

.distribution-workspace {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 38px;
  padding: 47px 56px 82px;
  background: #f0f0f0;
  color: #111827;
}

.distribution-sidebar h1 {
  margin: 0 0 27px;
  color: #111;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}

.distribution-sidebar nav {
  min-height: 355px;
  display: grid;
  align-content: start;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.distribution-sidebar a {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-right: 3px solid transparent;
  color: #111;
  padding: 0 26px;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.distribution-sidebar a.is-active,
.distribution-sidebar a:hover {
  border-right-color: #0877f7;
  background: #eaf4ff;
  color: #006cff;
}

.distribution-panel {
  min-width: 0;
  min-height: 595px;
  background: #fff;
  padding: 39px 39px 80px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.distribution-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 288px)) minmax(150px, 1fr);
  gap: 32px 66px;
  align-items: end;
}

.distribution-filter-form label {
  display: grid;
  gap: 12px;
}

.distribution-filter-form span {
  color: #111;
  font-size: 14px;
}

.distribution-filter-form input,
.distribution-filter-form select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #111;
  padding: 0 10px;
  font-size: 14px;
  outline: none;
}

.distribution-filter-form select {
  appearance: auto;
}

.distribution-search-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.distribution-search-button,
.distribution-clear-button,
.distribution-status-tabs button {
  min-height: 36px;
  border-radius: 4px;
  padding: 0 18px;
  font-size: 14px;
}

.distribution-search-button,
.distribution-status-tabs button.is-active {
  border: 0;
  background: #0877f7;
  color: #fff;
}

.distribution-clear-button,
.distribution-status-tabs button {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
}

.distribution-status-tabs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 94px 0 14px;
}

.distribution-status-tabs button:not(.is-active) {
  color: #b6bcc6;
}

.distribution-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid #e5e7eb;
}

.distribution-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  color: #111;
  font-size: 13px;
}

.distribution-table th,
.distribution-table td {
  height: 56px;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #eef1f5;
  padding: 0 16px;
  text-align: left;
  white-space: nowrap;
}

.distribution-table th:last-child,
.distribution-table td:last-child {
  border-right: 0;
}

.distribution-table th {
  background: #fbfcfe;
  font-weight: 900;
}

.distribution-check {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 3px;
  background: #d7d9dc;
}

.distribution-empty-state {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #b7bec8;
  border-bottom: 1px solid #e5e7eb;
}

.distribution-empty-state[hidden] {
  display: none !important;
}

.distribution-empty-state strong {
  font-size: 13px;
  font-weight: 500;
}

.distribution-empty-icon {
  position: relative;
  width: 56px;
  height: 40px;
  border: 1px solid #d6d9de;
  border-radius: 4px 4px 11px 11px;
  background: #fff;
  box-shadow: 12px 8px 0 rgba(15, 23, 42, 0.03);
}

.distribution-empty-icon::before {
  content: "";
  position: absolute;
  left: 13px;
  top: -13px;
  width: 28px;
  height: 18px;
  border: 1px solid #d6d9de;
  border-bottom: 0;
  background: #fff;
  clip-path: polygon(0 100%, 24% 0, 76% 0, 100% 100%);
}

.distribution-empty-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 11px;
  width: 20px;
  height: 7px;
  border: 1px solid #d6d9de;
  border-radius: 0 0 4px 4px;
}

.distribution-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 4px;
  background: #eaf4ff;
  color: #006cff;
  padding: 0 8px;
  font-weight: 900;
}

.distribution-action-button {
  min-height: 28px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #006cff;
  padding: 0 10px;
  font-weight: 800;
}

.order-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 34px;
  min-height: 77px;
  background: #202020;
  padding: 0 36px;
}

.footer-pkfare-brand {
  width: 152px;
}

.order-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}

.order-footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1400px) {
  .order-topbar {
    grid-template-columns: auto 1fr auto;
    padding-left: 32px;
  }

  .order-top-actions {
    min-width: 0;
  }

  .order-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .management-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .order-management-page {
    grid-template-rows: auto 1fr auto;
  }

  .order-topbar {
    grid-template-columns: auto auto 1fr;
    height: auto;
    gap: 13px;
    padding: 16px;
  }

  .order-mobile-drawer-button {
    display: inline-flex;
  }

  .order-primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .order-top-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
  }

  .order-shell {
    display: block;
  }

  .order-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: min(336px, 88vw);
    overflow-y: auto;
    border-right: 1px solid #d7dce5;
    border-bottom: 0;
    padding-bottom: 14px;
    box-shadow: 20px 0 45px rgba(15, 23, 42, 0.2);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  .order-management-page.is-sidebar-open .order-sidebar {
    transform: translateX(0);
  }

  .order-drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    border: 0;
    background: rgba(15, 23, 42, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .order-management-page.is-sidebar-open .order-drawer-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .order-drawer-scrim[hidden] {
    display: none;
  }

  .order-sidebar-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    background: #fff;
    color: #23324b;
    font-size: 14px;
    font-weight: 900;
  }

  .order-sidebar-heading {
    min-height: 64px;
    padding: 0 18px;
  }

  .order-dashboard-card {
    width: calc(100% - 36px);
    margin: 14px 18px 0;
  }

  .order-side-stack {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 18px 0;
  }

  .order-module-card.is-active {
    grid-column: auto;
  }

  .order-module-links {
    padding-left: 54px;
  }

  .order-side-utility {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px 0;
  }

  .order-side-utility span {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .order-side-utility a {
    min-height: 40px;
    border: 1px solid #e0e7f0;
    background: #fff;
    padding: 0 10px;
  }

  .management-hero {
    margin: -22px -18px 0;
    padding: 24px 18px;
  }

  .management-hero-copy {
    max-width: 390px;
  }

  .management-hero-visual {
    width: 70%;
  }

  .management-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .management-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .service-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-workspace {
    padding: 22px 18px 28px;
  }

  .order-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-markup-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-markup-layout {
    grid-template-columns: 1fr;
  }

  .order-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .order-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .agent-loading-popup {
    padding: 14px;
  }

  .agent-loading-dialog {
    gap: 15px;
    padding: 24px 16px 22px;
  }

  .agent-loading-copy strong {
    font-size: 21px;
  }

  .agent-loading-steps {
    gap: 6px;
  }

  .step-icon {
    width: 34px;
    height: 34px;
  }

  .order-primary-nav a,
  .order-primary-nav a.is-active {
    width: 100%;
    min-width: 0;
  }

  .order-topbar {
    grid-template-columns: 1fr auto;
  }

  .order-mobile-drawer-button {
    justify-self: end;
  }

  .order-primary-nav {
    grid-column: 1 / -1;
    justify-content: stretch;
    width: 100%;
  }

  .order-top-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    width: 100%;
  }

  .order-profile-wrap {
    grid-column: 1 / -1;
  }

  .order-profile-button {
    max-width: none;
    width: 100%;
    min-height: 36px;
    justify-content: space-between;
  }

  .order-profile-menu {
    left: 0;
    right: auto;
    width: min(260px, calc(100vw - 32px));
  }

  .order-filter-form,
  .agent-markup-filter-form,
  .agent-markup-field-grid,
  .order-side-stack {
    grid-template-columns: 1fr;
  }

  .agent-markup-detail-grid {
    grid-template-columns: 1fr;
  }

  .agent-markup-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .markup-workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-sidebar-heading {
    min-height: 70px;
  }

  .order-sidebar h1 {
    font-size: 17px;
  }

  .order-dashboard-card {
    width: calc(100% - 28px);
    min-height: 56px;
    margin: 12px 14px 0;
  }

  .order-module-button {
    min-height: 58px;
  }

  .order-module-card.is-active {
    grid-column: auto;
  }

  .order-side-utility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 14px 0;
  }

  .management-hero {
    flex-direction: column;
    min-height: 178px;
    padding: 22px 16px;
  }

  .management-hero-copy {
    max-width: 100%;
  }

  .management-hero h2 {
    max-width: 250px;
    font-size: 22px;
    line-height: 1.16;
  }

  .management-hero p {
    max-width: 245px;
    font-size: 13px;
  }

  .management-hero-visual {
    inset: auto 0 0 auto;
    width: 100%;
    height: 118px;
    opacity: 0.78;
  }

  .management-hero-visual::before {
    width: 72%;
    background: linear-gradient(90deg, #eff7ff 0%, rgba(239, 247, 255, 0.88) 42%, rgba(239, 247, 255, 0) 100%);
  }

  .management-kpi-grid,
  .service-overview-grid,
  .status-overview-body {
    grid-template-columns: 1fr;
  }

  .status-donut {
    justify-self: center;
  }

  .management-kpi-card {
    min-height: 100px;
    padding: 15px;
  }

  .management-kpi-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .management-kpi-card strong {
    font-size: 20px;
  }

  .management-panel {
    padding: 15px;
  }

  .management-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .order-outline-button {
    width: 100%;
  }

  .order-filter-actions {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .advanced-search-button,
  .order-reset-button,
  .order-search-button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .date-range {
    grid-template-columns: 1fr 24px 1fr;
  }

  .order-results-panel {
    min-height: 330px;
  }

  .order-results-panel {
    padding: 18px 12px;
  }

  .order-table {
    min-width: 860px;
  }

  .order-footer {
    gap: 12px;
  }

  .order-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .empty-order-state {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .agent-profile-layout {
    grid-template-columns: 1fr;
  }

  .agent-profile-tabs {
    min-height: 0;
    display: flex;
    overflow-x: auto;
  }

  .agent-profile-tabs a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
  }

  .agent-profile-tabs a.is-active,
  .agent-profile-tabs a:hover {
    border-left-color: transparent;
    border-bottom-color: #0877f7;
  }

  .agent-profile-panel {
    padding: 22px 18px;
  }

  .agent-readonly-field,
  .agent-profile-field,
  .agent-contact-row {
    max-width: none;
  }

  .distribution-workspace {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 38px;
  }

  .distribution-sidebar h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .distribution-sidebar nav {
    min-height: 0;
  }

  .distribution-panel {
    min-height: 0;
    padding: 22px 16px 34px;
  }

  .distribution-filter-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .distribution-search-actions {
    justify-content: stretch;
  }

  .distribution-search-button,
  .distribution-clear-button {
    flex: 1 1 0;
  }

  .distribution-status-tabs {
    flex-wrap: wrap;
    margin-top: 34px;
  }

  .order-assistant-close,
  .order-assistant-popover {
    display: none;
  }
}
