:root {
  color-scheme: light;
  --navy-950: #061522;
  --navy-900: #0a1d2e;
  --navy-800: #102b43;
  --navy-700: #173b59;
  --ink: #132333;
  --muted: #66727c;
  --muted-light: #94a0aa;
  --ivory: #f5f2e9;
  --paper: #fffefb;
  --white: #ffffff;
  --gold: #d2aa50;
  --gold-dark: #a87b20;
  --gold-soft: #f5ead0;
  --line: #dfe3e4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --success: #277451;
  --success-soft: #e4f3eb;
  --warning: #986a11;
  --warning-soft: #f9efda;
  --danger: #a1423f;
  --danger-soft: #f7e9e7;
  --info: #37658a;
  --info-soft: #e8f0f6;
  --shadow-sm: 0 8px 24px rgba(6, 21, 34, 0.07);
  --shadow-lg: 0 22px 70px rgba(6, 21, 34, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --sidebar-width: 270px;
  --content-max: 1500px;
  --font-sans: Inter, Avenir Next, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ivory);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body[data-ops-menu-open="true"] {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(210, 170, 80, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--navy-950);
  background: var(--gold);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ops-shell {
  min-height: 100vh;
}

.ops-sidebar {
  position: fixed;
  z-index: 90;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  overflow-y: auto;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 5%, rgba(210, 170, 80, 0.18), transparent 29%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950) 68%);
  box-shadow: 8px 0 30px rgba(6, 21, 34, 0.1);
}

.ops-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 3px 4px 22px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}

.ops-brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 170, 80, 0.82);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 25px;
}

.ops-brand__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.ops-brand__sub {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ops-nav {
  display: grid;
  gap: 5px;
  margin-top: 24px;
}

.ops-nav__label {
  margin: 18px 11px 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ops-nav__link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 150ms ease;
}

.ops-nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.ops-nav__link[aria-current="page"] {
  border-color: rgba(210, 170, 80, 0.25);
  color: var(--white);
  background: rgba(210, 170, 80, 0.13);
}

.ops-nav__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 17px;
}

.ops-sidebar__footer {
  margin-top: auto;
  padding-top: 24px;
}

.ops-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ops-user__avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.ops-user__meta {
  min-width: 0;
  flex: 1;
}

.ops-user__name,
.ops-user__role {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-user__name {
  font-size: 12px;
  font-weight: 700;
}

.ops-user__role {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.ops-logout {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  cursor: pointer;
}

.ops-logout:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.ops-main {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.ops-topbar {
  position: sticky;
  z-index: 70;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(20px, 3vw, 44px);
  border-bottom: 1px solid rgba(19, 35, 51, 0.08);
  background: rgba(245, 242, 233, 0.91);
  backdrop-filter: blur(18px);
}

.ops-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  background: var(--paper);
  cursor: pointer;
}

.ops-topbar__title {
  min-width: 0;
  flex: 1;
}

.ops-topbar__eyebrow {
  display: block;
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ops-topbar__heading {
  display: block;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ops-content {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: clamp(24px, 3vw, 46px);
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.page-heading__eyebrow,
.section-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-heading h1,
.section-title,
.auth-title,
.detail-title {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.03;
}

.page-heading h1 {
  font-size: clamp(35px, 4vw, 54px);
}

.page-heading p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-title {
  font-size: clamp(25px, 2.5vw, 34px);
}

.section-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--gold {
  color: var(--navy-950);
  background: var(--gold);
  box-shadow: 0 9px 22px rgba(168, 123, 32, 0.16);
}

.button--gold:hover {
  background: #ddb65b;
}

.button--navy {
  color: var(--white);
  background: var(--navy-900);
}

.button--outline {
  border-color: var(--line);
  color: var(--navy-900);
  background: var(--paper);
}

.button--danger {
  border-color: rgba(161, 66, 63, 0.24);
  color: var(--danger);
  background: var(--danger-soft);
}

.button--quiet {
  min-height: 38px;
  padding-inline: 11px;
  color: var(--navy-700);
  background: transparent;
}

.button--full {
  width: 100%;
}

.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.48;
  pointer-events: none;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(19, 35, 51, 0.08);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.kpi-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  top: -34px;
  right: -28px;
  border: 1px solid rgba(210, 170, 80, 0.28);
  border-radius: 50%;
}

.kpi-card--dark {
  border-color: transparent;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.kpi-card__label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kpi-card--dark .kpi-card__label {
  color: rgba(255, 255, 255, 0.57);
}

.kpi-card__value {
  display: block;
  margin-top: 12px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.kpi-card--dark .kpi-card__value {
  color: var(--white);
}

.kpi-card__note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.kpi-card--dark .kpi-card__note {
  color: rgba(255, 255, 255, 0.55);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.panel {
  border: 1px solid rgba(19, 35, 51, 0.09);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.panel--dark {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.panel--dark .panel__header {
  border-bottom-color: var(--line-dark);
}

.panel__body {
  padding: 24px;
}

.panel__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}

.panel--dark .section-title {
  color: var(--white);
}

.panel--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.58);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--muted);
  background: #faf9f5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background 140ms ease;
}

.data-table tbody tr:hover {
  background: #fbfaf6;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-primary {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 750;
}

.table-secondary {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.table-link {
  color: var(--navy-800);
  font-weight: 750;
  text-decoration-color: rgba(168, 123, 32, 0.55);
  text-underline-offset: 3px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--info);
  background: var(--info-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--new,
.status--received {
  color: var(--info);
  background: var(--info-soft);
}

.status--reviewing,
.status--quoted,
.status--options-ready {
  color: var(--warning);
  background: var(--warning-soft);
}

.status--confirmed,
.status--approved,
.status--completed {
  color: var(--success);
  background: var(--success-soft);
}

.status--cancelled,
.status--declined {
  color: var(--danger);
  background: var(--danger-soft);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.55fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(19, 35, 51, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 251, 0.72);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--navy-800);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-hint {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.field-hint--below {
  display: block;
  margin-top: 5px;
}

.field--spaced {
  margin-top: 14px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #ccd3d6;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.input,
.select {
  min-height: 46px;
  padding: 10px 12px;
}

.textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(210, 170, 80, 0.18);
}

.input[readonly],
.textarea[readonly] {
  color: var(--muted);
  background: #f4f4f1;
}

.field-error {
  display: block;
  margin-top: 5px;
  color: var(--danger);
  font-size: 11px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.form-actions--start {
  justify-content: flex-start;
}

.spaced-top {
  margin-top: 22px;
}

.flush-top {
  margin-top: 0;
}

.section-subtitle--spaced {
  margin-top: 14px;
}

.prewrap-note {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-size: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.detail-grid--spaced {
  margin-top: 22px;
}

.detail-stack,
.side-stack {
  display: grid;
  gap: 20px;
}

.request-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(210, 170, 80, 0.24), transparent 28%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-lg);
}

.request-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -145px;
  bottom: -175px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.request-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.request-hero__ref {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-title {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
}

.request-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.request-hero__meta strong {
  color: var(--white);
  font-weight: 700;
}

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

.fact {
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.fact__label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fact__value {
  display: block;
  margin-top: 6px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.fact--contact-first {
  padding: 0 0 14px;
  border: 0;
}

.fact--contact-next {
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.quote-price {
  margin: 12px 0 6px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
}

.quote-price--light {
  color: var(--white);
}

.quote-price__prefix {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-rule--spaced {
  margin-top: 20px;
}

.pricing-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.pricing-list div:last-child {
  border-bottom: 0;
}

.pricing-list strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 18px;
  white-space: nowrap;
}

.pricing-heading {
  align-items: center;
}

.pricing-heading__meta {
  min-width: 210px;
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
}

.pricing-heading__meta small {
  color: var(--muted-light);
}

.pricing-version {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(210, 170, 80, 0.34);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(245, 234, 208, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pricing-settings {
  display: grid;
  gap: 20px;
}

.pricing-group {
  position: relative;
  overflow: hidden;
}

.pricing-group::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

.pricing-group--air-taxi::before {
  background: var(--info);
}

.pricing-group--international::before {
  background: var(--navy-700);
}

.pricing-group--jet-levels::before {
  background: linear-gradient(var(--gold), var(--navy-700));
}

.pricing-group__header {
  align-items: flex-start;
}

.pricing-group__header > div {
  max-width: 760px;
}

.pricing-group__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-group__count {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #f8f7f2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-fields {
  display: grid;
}

.pricing-field {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.pricing-field__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.pricing-field__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 170, 80, 0.32);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 15px;
}

.pricing-group--air-taxi .pricing-field__mark {
  border-color: rgba(55, 101, 138, 0.25);
  color: var(--info);
  background: var(--info-soft);
}

.pricing-group--international .pricing-field__mark {
  border-color: rgba(23, 59, 89, 0.2);
  color: var(--navy-700);
  background: #e9eef2;
}

.pricing-field__identity label,
.pricing-field__identity strong,
.pricing-field__identity small {
  display: block;
}

.pricing-field__identity label {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.pricing-field__identity strong {
  margin-top: 4px;
  color: var(--navy-700);
  font-size: 11px;
}

.pricing-field__identity small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.pricing-field__control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.currency-input {
  position: relative;
  display: block;
}

.currency-input__symbol {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 19px;
  transform: translateY(-52%);
  pointer-events: none;
}

.currency-input__field {
  padding-left: 34px;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 750;
}

.currency-input__field[readonly] {
  color: var(--muted);
  background: #f4f4f1;
}

.pricing-field__formatted {
  min-width: 86px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 18px;
  text-align: right;
  white-space: nowrap;
}

.pricing-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 20px 24px;
  padding: 15px 18px;
  border: 1px solid rgba(210, 170, 80, 0.28);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(245, 234, 208, 0.68), rgba(232, 240, 246, 0.58));
}

.pricing-formula span {
  min-width: 0;
}

.pricing-formula b,
.pricing-formula small {
  display: block;
}

.pricing-formula b {
  color: var(--navy-900);
  font-size: 11px;
}

.pricing-formula small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.pricing-formula i {
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: normal;
}

.pricing-fields--surcharges {
  border-top: 1px solid var(--line);
}

.pricing-fields--surcharges .pricing-field:first-child {
  border-top: 0;
}

.pricing-field--fixed {
  background: rgba(232, 240, 246, 0.42);
}

.pricing-field--surcharge .pricing-field__mark {
  color: var(--navy-700);
  background: #edf1f4;
  border-color: rgba(23, 59, 89, 0.18);
  font-family: var(--font-display);
  font-size: 19px;
}

.pricing-field--fixed .pricing-field__mark {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(39, 116, 81, 0.2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.currency-input__symbol--plus {
  left: 10px;
  font-size: 16px;
}

.currency-input__field--plus {
  padding-left: 39px;
}

.currency-input__field--fixed {
  color: var(--success) !important;
  background: var(--success-soft) !important;
  border-color: rgba(39, 116, 81, 0.2);
}

.pricing-category-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 0 24px 22px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  background: #f7f6f1;
  font-size: 10px;
}

.pricing-category-note > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
}

.pricing-category-note p {
  margin: 0;
}

.pricing-category-note strong {
  color: var(--navy-800);
}

.pricing-savebar {
  position: sticky;
  z-index: 25;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(210, 170, 80, 0.24);
  border-radius: var(--radius-md);
  color: var(--white);
  background: rgba(6, 21, 34, 0.96);
  box-shadow: 0 18px 50px rgba(6, 21, 34, 0.26);
  backdrop-filter: blur(18px);
}

.pricing-savebar__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 170, 80, 0.38);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(210, 170, 80, 0.1);
  font-size: 15px;
}

.pricing-savebar__copy {
  min-width: 0;
}

.pricing-savebar__copy strong,
.pricing-savebar__copy span {
  display: block;
}

.pricing-savebar__copy strong {
  font-size: 12px;
}

.pricing-savebar__copy span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.pricing-savebar__button {
  min-width: 150px;
}

.route-heading {
  align-items: center;
}

.route-kpi-grid {
  margin-bottom: 22px;
}

.route-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(410px, 0.82fr);
  align-items: start;
  gap: 20px;
}

.route-list {
  display: grid;
  gap: 0;
}

.route-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 1fr) minmax(190px, 0.42fr) auto;
  align-items: center;
  gap: 18px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 140ms ease, box-shadow 140ms ease;
}

.route-card:last-child {
  border-bottom: 0;
}

.route-card:hover,
.route-card--selected {
  background: #fbfaf6;
}

.route-card--selected {
  box-shadow: inset 4px 0 var(--gold);
}

.route-card--inactive {
  background: #f7f6f3;
}

.route-card__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.route-code-pair {
  min-height: 49px;
  display: flex !important;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(210, 170, 80, 0.35);
  border-radius: 13px;
  color: var(--gold-dark);
  background: var(--gold-soft);
}

.route-code-pair b {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.route-code-pair i {
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: normal;
}

.route-card--inactive .route-code-pair {
  border-color: var(--line);
  color: var(--muted);
  background: #ececea;
}

.route-card__identity strong,
.route-card__identity span {
  display: block;
}

.route-card__identity strong {
  overflow: hidden;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-card__identity strong span {
  display: inline;
  color: var(--gold-dark);
}

.route-card__identity div > span {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-card__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.route-card__prices span,
.route-card__prices small,
.route-card__prices strong {
  display: block;
}

.route-card__prices span {
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.route-card__prices small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.route-card__prices strong {
  margin-top: 3px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.route-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-700);
  background: #f4f4f1;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.route-card__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -6px;
}

.route-card__actions .button {
  min-height: 35px;
  padding: 7px 11px;
  font-size: 10px;
}

.route-editor {
  position: sticky;
  top: 96px;
}

.route-form {
  display: grid;
  gap: 18px;
}

.route-endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.airport-picker {
  position: relative;
}

.airport-picker__search {
  position: relative;
}

.airport-picker__search > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  color: var(--gold-dark);
  font-size: 18px;
  transform: translateY(-52%);
  pointer-events: none;
}

.airport-picker__search .input {
  padding-left: 36px;
}

.airport-picker__results {
  position: absolute;
  z-index: 45;
  top: 75px;
  right: 0;
  left: 0;
  max-height: 292px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.airport-picker__results[hidden],
.airport-selection[hidden],
.route-return-price[hidden] {
  display: none !important;
}

.airport-result {
  width: 100%;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.airport-result:hover,
.airport-result:focus-visible,
.airport-result[aria-selected="true"] {
  outline: 0;
  background: var(--gold-soft);
}

.airport-result__code {
  display: grid;
  place-items: center;
  min-height: 35px;
  border: 1px solid rgba(210, 170, 80, 0.35);
  border-radius: 9px;
  color: var(--gold-dark);
  background: var(--paper);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.airport-result__copy,
.airport-result__copy strong,
.airport-result__copy small {
  min-width: 0;
  display: block;
}

.airport-result__copy strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airport-result__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airport-selection {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(39, 116, 81, 0.2);
  border-radius: 11px;
  background: var(--success-soft);
}

.airport-selection__code {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 9px;
  color: var(--white);
  background: var(--success);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.airport-selection__copy,
.airport-selection__copy strong,
.airport-selection__copy small {
  min-width: 0;
  display: block;
}

.airport-selection__copy strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airport-selection__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airport-selection button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.airport-picker__status--error {
  color: var(--danger);
}

.route-pair-rule {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(55, 101, 138, 0.16);
  border-radius: 11px;
  color: var(--muted);
  background: var(--info-soft);
  font-size: 10px;
}

.route-pair-rule > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--info);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
}

.route-pair-rule p {
  margin: 0;
}

.route-pair-rule--error {
  border-color: rgba(161, 66, 63, 0.2);
  color: var(--danger);
  background: var(--danger-soft);
}

.route-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.route-return-policy {
  min-width: 0;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.route-return-price {
  grid-column: 1 / -1;
}

.route-return-policy legend {
  margin-bottom: 7px;
  color: var(--navy-800);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-return-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.route-return-options label {
  position: relative;
  min-width: 0;
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.route-return-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-return-options span {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f7f2;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.route-return-options input:checked + span {
  border-color: rgba(210, 170, 80, 0.62);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(210, 170, 80, 0.2);
}

.route-return-options input:focus-visible + span {
  outline: 3px solid rgba(210, 170, 80, 0.7);
  outline-offset: 2px;
}

.route-return-options strong,
.route-return-options small {
  display: block;
}

.route-return-options strong {
  color: var(--navy-900);
  font-size: 10px;
}

.route-return-options small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.route-active-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f7f2;
  cursor: pointer;
}

.route-active-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--success);
}

.route-active-toggle strong,
.route-active-toggle small {
  display: block;
}

.route-active-toggle strong {
  color: var(--navy-900);
  font-size: 11px;
}

.route-active-toggle small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.quote-rule {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: var(--gold-soft);
  font-size: 12px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 13px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  padding-bottom: 22px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__dot {
  z-index: 1;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-item__body {
  min-width: 0;
  padding-top: 2px;
}

.timeline-item__title {
  display: block;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 750;
}

.timeline-item__meta,
.timeline-item__text {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.message-list {
  display: grid;
  gap: 12px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 3px;
}

.message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 3px;
  background: #f0f2f2;
}

.message--outbound,
.message--ops {
  margin-left: auto;
  border-radius: 14px 14px 3px 14px;
  background: var(--gold-soft);
}

.message__author {
  display: block;
  color: var(--navy-800);
  font-size: 10px;
  font-weight: 800;
}

.message__body {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  white-space: pre-wrap;
}

.message__date {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.confirmation-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(39, 116, 81, 0.25);
  background: linear-gradient(150deg, #fbfffc, var(--success-soft));
}

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-list--spaced {
  margin-top: 22px;
}

.offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf6;
}

.offer-card__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(140px, 0.55fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
}

.offer-card__title {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

.offer-card__meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.offer-card__price {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 27px;
  text-align: right;
}

.offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.offer-card__editor {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.offer-card__editor--new {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.offer-status {
  display: inline-flex;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.confirmation-card::after {
  content: "✓";
  position: absolute;
  right: 18px;
  top: 7px;
  color: rgba(39, 116, 81, 0.1);
  font-family: var(--font-display);
  font-size: 86px;
}

.confirmation-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.confirmation-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
}

.confirmation-list dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.confirmation-list dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 12px;
}

.alert--success {
  border-color: rgba(39, 116, 81, 0.22);
  color: var(--success);
  background: var(--success-soft);
}

.alert--error {
  border-color: rgba(161, 66, 63, 0.22);
  color: var(--danger);
  background: var(--danger-soft);
}

.alert--warning {
  border-color: rgba(152, 106, 17, 0.22);
  color: var(--warning);
  background: var(--warning-soft);
}

.empty-state {
  padding: 52px 24px;
  text-align: center;
}

.empty-state--compact {
  padding-block: 32px;
}

.panel--approval {
  border-color: rgba(210, 170, 80, 0.52);
}

.empty-state__mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 23px;
}

.empty-state h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
}

.empty-state p {
  max-width: 480px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pagination__meta {
  color: var(--muted);
  font-size: 11px;
}

.pagination__actions {
  display: flex;
  gap: 7px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  color: var(--white);
  background: var(--navy-950);
}

.auth-story {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 6vw, 78px);
  background:
    radial-gradient(circle at 75% 20%, rgba(210, 170, 80, 0.25), transparent 27%),
    linear-gradient(160deg, var(--navy-700), var(--navy-950) 70%);
}

.auth-story::before,
.auth-story::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.auth-story::before {
  width: 430px;
  height: 430px;
  top: 25%;
  right: -250px;
}

.auth-story::after {
  width: 250px;
  height: 250px;
  top: 36%;
  right: -138px;
  background: rgba(210, 170, 80, 0.07);
}

.auth-story__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.auth-story__eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.auth-story__title {
  margin: 18px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 500;
  line-height: 0.96;
}

.auth-story__body {
  max-width: 500px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.auth-story__foot {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form-side {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  color: var(--ink);
  background: var(--ivory);
}

.auth-card {
  width: min(100%, 510px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(19, 35, 51, 0.09);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.auth-card__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 27px;
}

.auth-title {
  font-size: clamp(35px, 5vw, 48px);
}

.auth-copy {
  margin: 12px 0 27px;
  color: var(--muted);
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: var(--gold-soft);
  font-size: 11px;
}

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 16px;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  border: 0;
  background: rgba(6, 21, 34, 0.58);
  cursor: pointer;
}

.danger-zone {
  border-color: rgba(161, 66, 63, 0.22);
}

.danger-zone .panel__header {
  border-bottom-color: rgba(161, 66, 63, 0.16);
}

.inline-form {
  display: inline;
}

.demo-reference-list {
  display: grid;
  gap: 10px;
}

.demo-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  background: #fbfaf6;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.demo-reference strong {
  color: var(--gold-dark);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

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

  .dashboard-grid,
  .detail-grid,
  .route-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-editor {
    position: static;
  }

  .side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(140px, 0.6fr));
  }

  .filters .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .ops-sidebar {
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .ops-shell[data-menu-open="true"] .ops-sidebar {
    transform: translateX(0);
  }

  .ops-shell[data-menu-open="true"] .drawer-backdrop {
    display: block;
  }

  .ops-main {
    margin-left: 0;
  }

  .ops-menu-button {
    display: grid;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 42vh;
  }

  .auth-form-side {
    min-height: 58vh;
  }
}

@media (max-width: 700px) {
  .ops-topbar {
    min-height: 68px;
    padding-inline: 15px;
  }

  .ops-topbar__actions .button span {
    display: none;
  }

  .ops-content {
    padding: 22px 15px 36px;
  }

  .page-heading {
    display: block;
  }

  .page-heading__actions {
    margin-top: 18px;
  }

  .pricing-heading__meta {
    justify-items: start;
    margin-top: 16px;
  }

  .kpi-grid,
  .side-stack,
  .form-grid,
  .form-grid--three {
    grid-template-columns: 1fr;
  }

  .kpi-card {
    min-height: 136px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters .button {
    grid-column: auto;
  }

  .panel__header,
  .panel__body {
    padding: 19px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
  }

  .data-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table td {
    display: grid;
    grid-template-columns: minmax(95px, 0.45fr) minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact:nth-child(odd) {
    border-right: 0;
  }

  .request-hero__top {
    display: grid;
  }

  .confirmation-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .offer-card__summary {
    grid-template-columns: 1fr;
  }

  .offer-card__price {
    text-align: left;
  }

  .offer-card__actions {
    justify-content: flex-start;
  }

  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-story {
    min-height: 360px;
    padding: 30px 24px;
  }

  .auth-form-side {
    padding: 22px 15px 36px;
  }

  .auth-card {
    padding: 27px 20px;
    border-radius: 19px;
  }

  .pricing-group__header {
    gap: 13px;
  }

  .pricing-group__actions {
    width: 100%;
    justify-content: space-between;
  }

  .pricing-field {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
  }

  .pricing-field__control {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pricing-formula {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 18px;
  }

  .pricing-formula i {
    padding-left: 3px;
    font-size: 18px;
  }

  .pricing-category-note {
    margin: 0 18px 18px;
  }

  .route-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 17px 18px;
  }

  .route-card__identity {
    grid-template-columns: 1fr;
  }

  .route-code-pair {
    width: max-content;
  }

  .route-card__prices {
    max-width: 320px;
  }

  .route-card__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .route-card__actions {
    justify-content: flex-start;
    margin-top: 0;
  }

  .route-endpoint-grid,
  .route-price-grid,
  .route-return-options {
    grid-template-columns: 1fr;
  }

  .route-return-policy {
    grid-column: auto;
  }

  .pricing-savebar {
    position: static;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pricing-savebar__button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
:root { --notification-gold: #a8844a; }
.ops-notifications { position: relative; }
.ops-notifications__bell { display: grid; place-items: center; position: relative; width: 44px; height: 44px; border: 1px solid #d9dce2; border-radius: 50%; color: #152336; background: #fff; cursor: pointer; }
.ops-notifications__bell:hover, .ops-notifications__bell[aria-expanded="true"] { border-color: var(--notification-gold); background: #fcfaf5; }
.ops-notifications__count { position: absolute; right: -4px; top: -5px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border: 2px solid #fff; border-radius: 20px; color: #fff; background: #9a3d32; font-size: 10px; font-weight: 700; }
.ops-notifications__count[hidden], .ops-notifications__panel[hidden] { display: none; }
.ops-notifications__panel { position: absolute; z-index: 80; right: 0; top: 55px; width: min(390px, calc(100vw - 28px)); border: 1px solid #ded8cb; border-radius: 18px; background: #fff; box-shadow: 0 18px 58px #14243726; overflow: hidden; }
.ops-notifications__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 20px 10px; }
.ops-notifications__heading h2 { margin: 4px 0 0; font-size: 21px; color: #152336; }
.ops-notifications__heading .section-eyebrow { font-size: 9px; letter-spacing: 1.7px; }
.ops-notifications__sound { flex: none; border: 1px solid #ded3bf; border-radius: 16px; padding: 8px 12px; background: #faf7f0; color: #6f542d; font: inherit; font-size: 12px; cursor: pointer; }
.ops-notifications__sound[aria-pressed="true"] { background: #152336; border-color: #152336; color: #fff; }
.ops-notifications__hint { margin: 0; padding: 0 20px 15px; color: #727985; font-size: 12px; line-height: 1.5; }
.ops-notifications__list { max-height: min(440px, 60vh); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid #efeeea; }
.ops-notifications__item { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; border-bottom: 1px solid #efeeea; text-decoration: none; color: #243348; background: #fff; }
.ops-notifications__item:hover { background: #f8f7f4; }
.ops-notifications__item.is-unread { box-shadow: inset 3px 0 var(--notification-gold); background: #fcfaf6; }
.ops-notifications__item strong { font-size: 14px; }
.ops-notifications__item span { font-size: 13px; line-height: 1.5; color: #596272; }
.ops-notifications__item small { color: #87909b; font-size: 10px; }
.ops-notifications__empty { padding: 25px 20px; margin: 0; color: #727985; line-height: 1.6; font-size: 13px; }
.ops-notification-toasts { position: fixed; z-index: 90; top: 92px; right: 24px; display: flex; flex-direction: column; gap: 10px; width: min(370px, calc(100vw - 32px)); pointer-events: none; }
.ops-notification-toast { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid #b2996a; border-radius: 15px; color: #fff; text-decoration: none; background: #142336; box-shadow: 0 15px 40px #14243733; pointer-events: auto; }
.ops-notification-toast strong { font-size: 15px; color: #f5dfb6; }
.ops-notification-toast span { font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) {
  .ops-notifications__panel { position: fixed; right: 14px; top: 78px; }
  .ops-notification-toasts { right: 16px; top: 84px; }
  .ops-topbar__actions { gap: 9px; }
}
