/* SPA native — auth layout (login without AppShell chrome) */
.auth-layout__lang {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
}

/* Outlet width for auth forms is owned by login.css (.login-shell). */

.app-shell--auth .main-area {
  grid-column: 1 / -1;
}

.app-shell--auth #app-outlet {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ── SPA bootstrap loader (#app-boot) ───────────────────────────────────── */
html.spa-booting #app-root {
  visibility: hidden;
}

.app-boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef5f9 0%, #e3eef4 55%, #dce8f0 100%);
  font-family: Inter, 'Plus Jakarta Sans', system-ui, sans-serif;
}

.app-boot__panel {
  text-align: center;
  padding: 2rem 2.5rem;
  max-width: 22rem;
}

.app-boot__panel.spa-route-loading__panel {
  gap: 1rem;
  padding: 1.5rem;
}

.app-boot__message {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
}

/* Legacy text brand (kept for error panel / older markup) */
.app-boot__brand {
  margin: 0 0 1.5rem;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.app-boot__spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto;
  border: 3px solid rgba(21, 146, 179, 0.22);
  border-top-color: #1592b3;
  border-radius: 50%;
  animation: tairs-boot-spin 0.75s linear infinite;
}

@keyframes app-boot-spin {
  to {
    transform: rotate(360deg);
  }
}

.app-boot--error .app-boot__panel--error {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  max-width: 26rem;
}

.app-boot__error-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: #0f172a;
}

.app-boot__error-body {
  margin: 0 0 1.25rem;
  color: #475569;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.app-boot__retry {
  padding: 0.65rem 1.25rem;
  border: 0;
  border-radius: 8px;
  background: #1592b3;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.app-boot__retry:hover {
  background: #0e7490;
}

/* Legacy skeleton boot (unused in SPA bootstrap; kept for reference) */
.spa-boot-loader {
  min-height: 100vh;
  width: 100%;
  font-family: Inter, sans-serif;
}

.spa-boot-loader--auth {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.spa-boot-loader__bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, #0c4a6e 0%, #1592b3 45%, #0e7490 100%);
  z-index: 0;
}

.spa-boot-loader__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1;
}

.spa-boot-loader__card {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100% - 2rem));
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
}

.spa-boot-loader__logo {
  width: 120px;
  height: 36px;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
}

.spa-boot-loader__line {
  height: 14px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.spa-boot-loader__line--short {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.spa-boot-loader__field {
  height: 44px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.spa-boot-loader__btn {
  height: 44px;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.spa-boot-loader--app {
  display: grid;
  grid-template-columns: var(--sidebar-width, 260px) 1fr;
  min-height: 100vh;
  background: var(--color-bg, #eef5f9);
}

.spa-boot-loader__sidebar {
  min-height: 100vh;
  background: var(--color-bg-sidebar, #0f172a);
  opacity: 0.85;
}

.spa-boot-loader__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spa-boot-loader__navbar {
  height: 56px;
  flex-shrink: 0;
  background: var(--color-bg-card, #fff);
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.spa-boot-loader__outlet {
  flex: 1;
  padding: 1.5rem;
}

.spa-boot-loader__grid {
  height: 200px;
  border-radius: 12px;
  margin-top: 1rem;
}

.skeleton-block,
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.2) 0%,
    rgba(148, 163, 184, 0.35) 50%,
    rgba(148, 163, 184, 0.2) 100%
  );
  background-size: 200% 100%;
  animation: spa-boot-shimmer 1.2s ease-in-out infinite;
}

@keyframes spa-boot-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.spa-boot-fatal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #eef5f9;
  font-family: Inter, sans-serif;
}

.spa-boot-fatal__card {
  max-width: 420px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.spa-boot-fatal__card h1 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #0f172a;
}

.spa-boot-fatal__card p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.5;
}

.spa-boot-fatal__btn {
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #1592b3;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .spa-boot-loader--app {
    grid-template-columns: 1fr;
  }

  .spa-boot-loader__sidebar {
    display: none;
  }
}

/* Route transition overlay — covers main area while SPA swaps modules */
.main-area {
  position: relative;
}

.spa-route-loading {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 243, 247, 0.92);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.spa-route-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.spa-route-loading.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.spa-route-loading__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.spa-route-loading__logo-wrap {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.spa-route-loading__logo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.spa-route-loading__ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(21, 146, 179, 0.2);
  border-top-color: #1592b3;
  border-radius: 50%;
  animation: tairs-boot-spin 0.75s linear infinite;
}

.spa-route-loading__label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
}

@keyframes tairs-boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spa-route-loading__ring {
    animation-duration: 1.25s;
  }
}

/* ── Airlines form (create / edit) ─────────────────────────────────────────── */
.airline-form-page__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0;
  container-type: inline-size;
  container-name: airline-form-page;
}

.airline-form-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.airline-form-page .airline-form-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.airline-form-page__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.airline-form-page__title {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary, #15303f);
}

.airline-form-page__subtitle {
  margin: 8px 0 0;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted, #5a7282);
}

.airline-form-page__back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Map panel (Leaflet) — airline form; reusable styles for other modules later */
.airline-form-map-panel,
.airline-map-card {
  min-width: 0;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(20, 50, 80, 0.1);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 40, 60, 0.06);
}

.airline-map-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  margin-top: 20px;
}

.airline-map-card__spacer {
  flex: 1 1 auto;
  min-height: 0;
}

.airline-map-card__summary {
  margin-top: 16px;
  flex-shrink: 0;
}

.airline-form-map-panel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
}

.airline-form-map-panel__desc {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7282);
  line-height: 1.45;
}

.airline-form-map-panel__body {
  flex-shrink: 0;
}

.airline-form-map-panel__stage {
  position: relative;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  width: 100%;
}

.airline-form-map-panel__state {
  display: none;
  position: absolute;
  inset: 0;
  box-sizing: border-box;
}

.airline-form-map-panel__state.is-active:not([hidden]) {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.airline-form-map-panel__state--map.is-active:not([hidden]) {
  display: block;
}

.airline-form-map-panel__state .airline-form-map-panel__empty {
  flex: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.airline-form-map-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  border-radius: 8px;
  border: 1px dashed rgba(20, 50, 80, 0.14);
  background: rgba(20, 50, 80, 0.03);
}

.airline-form-map-panel__empty--muted {
  border-style: solid;
  border-color: rgba(20, 50, 80, 0.08);
}

.airline-form-map-panel__empty--warn {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.15);
}

.airline-form-map-panel__empty-icon {
  font-size: 1.75rem;
  color: #7a929f;
  margin-bottom: 12px;
}

.airline-form-map-panel__empty-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
}

.airline-form-map-panel__empty-text {
  margin: 8px 0 0;
  max-width: 16rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted, #5a7282);
}

.airline-form-map-panel__map-wrap {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(20, 50, 80, 0.12);
}

.airline-form-map-panel__canvas {
  height: 100%;
  width: 100%;
  min-height: 0;
  max-height: 400px;
  background: rgba(20, 50, 80, 0.04);
}

.airline-form-map-panel__canvas .leaflet-container,
.airline-form-map-panel__canvas .gm-style,
.airline-form-map-panel__canvas > div {
  font-family: inherit;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.airline-form-map-panel__summary {
  padding-top: 16px;
  border-top: 1px solid rgba(20, 50, 80, 0.08);
}

.airline-form-map-panel__summary-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
}

.airline-form-map-panel__summary-meta {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7282);
}

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

.airline-form-map-panel__coord dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5a7282;
}

.airline-form-map-panel__coord dd {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary, #15303f);
}

.airline-form-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  flex: 1;
  padding: 30px 32px 28px;
  border-radius: 10px;
  border: 1px solid rgba(20, 50, 80, 0.1);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 40, 60, 0.06);
}

.airline-form-card__header {
  margin: 0;
}

.airline-form-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
}

.airline-form-card__desc {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted, #5a7282);
  line-height: 1.45;
}

.airline-form-card__divider {
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid rgba(20, 50, 80, 0.08);
}

.airline-form-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3d5566;
  letter-spacing: 0.01em;
}

.airline-form-label__req {
  margin-left: 2px;
  font-weight: 600;
  color: #8a9baa;
}

.airline-form-control {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-primary, #15303f);
  background: #fff;
  border: 1px solid rgba(20, 50, 80, 0.18);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.airline-form-control::placeholder {
  color: #9aadb8;
}

.airline-form-control:hover:not(:disabled):not([readonly]) {
  border-color: rgba(21, 146, 179, 0.45);
}

.airline-form-control:focus {
  outline: none;
  border-color: #1592b3;
  box-shadow: 0 0 0 3px rgba(21, 146, 179, 0.22);
}

.airline-form-control--readonly,
.airline-form-field input.airline-form-control[readonly] {
  background: rgba(20, 50, 80, 0.05);
  border-color: rgba(20, 50, 80, 0.12);
  color: #2a4555;
  cursor: default;
}

.airline-form-readonly-wrap {
  position: relative;
}

.airline-form-readonly-wrap .airline-form-control {
  padding-left: 38px;
}

.airline-form-readonly-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: #7a929f;
  pointer-events: none;
}

.airline-form-select-wrap {
  position: relative;
}

.airline-form-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #5a7282;
  border-bottom: 2px solid #5a7282;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.airline-form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  cursor: pointer;
}

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

/* Identity step — mockup rows: name|franchise 50/50, stars|rooms+option 50/50, group */
.hotel-form-page .hotel-form-identity {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
  max-width: none;
}

.hotel-form-page .hotel-form-identity__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
}

.hotel-form-page .hotel-form-identity__mid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: end;
}

.hotel-form-page .hotel-form-identity__mid-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: end;
  min-width: 0;
}

.hotel-form-page .hotel-form-identity__status {
  min-width: 0;
}

.hotel-form-page .hotel-form-identity .airline-form-hint,
.hotel-form-page .hotel-form-identity .field-hint {
  display: none;
}

.hotel-form-page .airline-form-label__req {
  margin-left: 0.2em;
  color: #dc2626;
  font-weight: 700;
}

.hotel-form-page .hotel-form-franchise-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #0e7490;
  border-radius: 8px;
  background: #fff;
  color: #0e7490;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hotel-form-page .hotel-form-franchise-add:hover,
.hotel-form-page .hotel-form-franchise-add:focus-visible {
  background: rgba(14, 116, 144, 0.1);
  outline: none;
}

.hotel-form-page .hotel-form-franchise-add:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0e7490;
}

.airline-form-grid--coords {
  margin-top: 20px;
}

.airline-form-field {
  min-width: 0;
}

.airline-form-field .modern-combobox {
  position: relative;
}

.airline-form-field .modern-combobox__list {
  z-index: 40;
}

.airline-form-card__body {
  overflow: visible;
}

.airline-form-hint,
.field-hint {
  margin: 8px 0 0;
  min-height: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7282);
  line-height: 1.4;
}

.airline-form-handler-inherit {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--border, #cfd8e3) 80%, transparent);
  border-radius: var(--radius-sm, 6px);
  background: color-mix(in srgb, var(--surface-2, #f5f8fb) 88%, transparent);
}

.airline-form-handler-inherit__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text, inherit);
}

.airline-form-handler-inherit .airline-form-hint {
  margin-top: 0.35rem;
  min-height: 0;
}

.airline-form-handler-inherit__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 0.65rem;
}

.airline-form-handler-inherit__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}

.airline-form-handler-inherit__option input {
  margin: 0;
}

.airline-form-error.field-error {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--danger, #b42318);
}

.airline-form-field--invalid .airline-form-control,
.airline-form-field--invalid .airline-form-select {
  border-color: var(--danger, #b42318);
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.25);
}

.airline-form-location {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 50, 80, 0.08);
}

.airline-form-location__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
  text-transform: none;
  letter-spacing: normal;
}

.airline-form-location__desc {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7282);
  line-height: 1.45;
}

.airline-airport-lookup {
  margin-top: 16px;
  margin-bottom: 0;
  min-height: 3.25rem;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(20, 50, 80, 0.03);
  border: 1px solid rgba(20, 50, 80, 0.08);
  font-size: 0.875rem;
  line-height: 1.45;
}

.airline-airport-lookup[data-state='found'] {
  background: rgba(21, 146, 179, 0.07);
  border-color: rgba(21, 146, 179, 0.2);
}

.airline-airport-lookup[data-state='not-found'] {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.2);
}

.airline-airport-lookup__idle,
.airline-airport-lookup__loading,
.airline-airport-lookup__not-found {
  margin: 0;
  color: var(--text-muted, #5a7282);
}

.airline-airport-lookup__found-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0e7490;
}

.airline-airport-lookup__found-head .fa-circle-check {
  color: #16a34a;
  font-size: 0.875rem;
}

.airline-airport-lookup__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
}

.airline-airport-lookup__meta {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7282);
}

.airline-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 50, 80, 0.08);
}

.airline-form-actions__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Hotel form — stacked cards + location/map row (same grid idea as airlines) */
.hotel-form-page.page-content {
  padding: 0;
}

.hotel-form-page .airline-form-page__inner {
  max-width: none;
  width: 100%;
}

.hotel-form-page .cp-breadcrumb {
  margin-bottom: 0.35rem;
}

.hotel-form-page .airline-form-page__header {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  gap: 10px 16px;
}

.hotel-form-page .airline-form-page__title {
  font-size: 1.375rem;
}

.hotel-form-page .airline-form-page__subtitle {
  margin-top: 0;
  font-size: 0.875rem;
}

.hotel-form-page .hotel-form-shell {
  height: auto;
  min-height: 0;
  width: 100%;
  max-width: none;
}

.hotel-form-page .hotel-form-stack {
  gap: 14px;
}

.hotel-form-page .hotel-form-stack .airline-form-card {
  padding: 18px 20px 16px;
}

.hotel-form-page .airline-form-card__divider {
  margin: 12px 0 0;
}

.hotel-form-page .airline-form-grid {
  margin-top: 14px;
  gap: 12px 16px;
}

.hotel-form-page .hotel-form-franchise-field__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.hotel-form-page .hotel-form-franchise-field__select {
  flex: 1 1 12rem;
  min-width: 0;
}

.hotel-form-page .hotel-form-franchise-field__controls > .btn {
  flex-shrink: 0;
  align-self: flex-end;
  min-height: 42px;
}

.hotel-franchise-create-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  text-align: left;
}

.hotel-franchise-create-form .airline-form-label {
  margin-bottom: 4px;
}

.hotel-form-page .hotel-form-location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.hotel-form-page .hotel-form-location-layout > .airline-form-card {
  height: auto;
  flex: none;
  min-height: 100%;
}

/* Airports card body fills the card's full height so chips use available space */
.hotel-form-page .hotel-form-location-layout > .airline-form-card .airline-form-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Chips fill remaining body height with a subtle background */
.hotel-form-page .hotel-form-location-layout > .airline-form-card .airline-airports-chips {
  flex: 1;
  min-height: 52px;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(20, 50, 80, 0.026);
  border: 1px solid rgba(20, 50, 80, 0.08);
  border-radius: 8px;
  overflow-y: auto;
  align-content: flex-start;
}

/* Count badge appended to the airports section title */
.airline-chips-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 1px 7px;
  margin-left: 8px;
  border-radius: 10px;
  background: rgba(21, 146, 179, 0.12);
  color: #0e7490;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}

.hotel-form-page .hotel-form-location-layout .airline-form-map-panel {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

.hotel-form-page .hotel-form-location-layout .airline-map-card__content {
  height: auto;
  flex: 1;
  min-height: 0;
}

.hotel-form-page .hotel-form-location-layout .airline-map-card__spacer {
  display: none;
}

/* Hotel location — fill remaining main-area; no page scroll; map above save bar */
html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))),
html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) body,
html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) .app-shell,
html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) .main-area {
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) .app-shell,
html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) .main-area {
  min-height: 0;
}

html:has(.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden]))) #app-outlet.page-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden])) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden])) .airline-form-page__inner,
.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden])) .hotel-form-shell,
.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden])) .hotel-form-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.hotel-form-page:has(:is(#hotel-form-section-location, #transport-form-section-location):not([hidden])) .hotel-form-stack {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  padding-bottom: 0;
}

.hotel-form-page .hotel-form-location-layout:has(.hotel-location-stage),
.hotel-form-page .hotel-form-location-layout:has(.hotel-maps-picker) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: stretch;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  min-width: 0;
}

.hotel-location-stage {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 16rem;
  overflow: hidden;
  border-radius: 10px;
}

.hotel-location-stage .hotel-maps-picker {
  position: absolute;
  inset: 0;
  flex: none;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
}

.hotel-location-stage .hotel-maps-picker[hidden] {
  display: none !important;
}

.hotel-form-page .hotel-form-location-fields[hidden] {
  display: none !important;
}

.hotel-location-stage .hotel-form-location-fields {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
}

/* Hotel edit: form above map, both visible (no map/fields sub-wizard). */
.hotel-location-stage--stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
  min-height: 0;
  border-radius: 0;
}

.hotel-location-stage--stacked .hotel-form-location-fields {
  position: relative;
  inset: auto;
  z-index: 1;
  flex: 0 0 auto;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(20, 50, 80, 0.1);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 40, 60, 0.06);
}

.hotel-location-stage--stacked .hotel-location-fields-panel {
  min-height: 0;
  padding: 18px 20px 16px;
}

.hotel-location-stage--stacked .hotel-maps-picker {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: 100%;
  height: min(28rem, 55vh);
  min-height: 18rem;
  border: 1px solid rgba(20, 50, 80, 0.1);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 40, 60, 0.06);
  overflow: hidden;
}

.hotel-location-stage--stacked .hotel-location-dots {
  display: none !important;
}

.hotel-location-fields-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 24px 72px;
  box-sizing: border-box;
}

.hotel-location-fields-panel__header {
  margin-bottom: 16px;
}

.hotel-location-fields-panel__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
}

.hotel-location-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 12px;
}

.hotel-location-row {
  display: grid;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.hotel-location-row--address {
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
}

.hotel-location-row--iata {
  grid-template-columns: minmax(0, 30%) minmax(0, 70%);
  align-items: start;
}

.hotel-location-airport-result__spacer {
  display: block;
}

@media (max-width: 720px) {
  .hotel-location-fields-grid,
  .hotel-location-row--address,
  .hotel-location-row--iata {
    grid-template-columns: minmax(0, 1fr);
  }

  .hotel-location-airport-result__spacer {
    display: none;
  }
}

.hotel-location-status-card {
  margin-top: 0;
  padding: 12px 14px;
  border: 1px solid rgba(20, 50, 80, 0.1);
  border-radius: 8px;
  background: rgba(20, 50, 80, 0.026);
}

.hotel-form-page .hotel-location-row--iata .hotel-location-status-card {
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  min-height: 44px;
}

.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='idle'],
.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='loading'],
.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='not-found'] {
  display: flex;
  align-items: center;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  overflow: hidden;
}

.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='idle'] .airline-airport-lookup__idle,
.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='loading'] .airline-airport-lookup__loading,
.hotel-form-page .hotel-location-row--iata .hotel-location-status-card[data-state='not-found'] .airline-airport-lookup__not-found {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-location-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  transform: translateX(-50%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.18);
}

.hotel-location-dots__item {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #dadce0;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.hotel-location-dots__item.is-active {
  width: 28px;
  background: #0e7490;
}

.hotel-location-pane-btn {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  right: 60px;
  bottom: 24px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
  color: #5f6368;
  cursor: pointer;
}

.hotel-location-pane-btn:hover,
.hotel-location-pane-btn:focus-visible {
  color: #202124;
  background: #f8f9fa;
}

.hotel-location-pane-btn:focus-visible {
  outline: 2px solid #0e7490;
  outline-offset: 2px;
}

.hotel-location-pane-btn[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .hotel-location-fields-grid {
    grid-template-columns: 1fr;
  }

  .hotel-location-pane-btn {
    right: 56px;
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-location-dots__item {
    transition: none;
  }
}

.hotel-maps-picker {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 16rem;
  overflow: hidden;
  background: #e8eaed;
  border-radius: 10px;
}

.hotel-maps-picker__stage,
.hotel-maps-picker__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hotel-maps-picker__error {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.92);
}

.hotel-maps-picker__error[hidden] {
  display: none;
}

.hotel-maps-picker__skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #e8eaed 0%,
    #f1f3f4 40%,
    #e8eaed 80%
  );
  background-size: 200% 100%;
  animation: spa-boot-shimmer 1.2s ease-in-out infinite;
}

.hotel-maps-picker__skeleton[hidden] {
  display: none;
}

.hotel-maps-picker__error-card {
  max-width: 22rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: #3c4043;
}

.hotel-maps-picker__error-title {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.hotel-maps-picker__error-text {
  margin: 0;
  font-size: 0.875rem;
  color: #5f6368;
}

.hotel-maps-sheet {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  width: 400px;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.3),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
  overflow: hidden;
}

.hotel-maps-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 6px 0 16px;
  flex-shrink: 0;
}

.hotel-maps-search__icon {
  color: #9aa0a6;
  font-size: 0.95rem;
}

.hotel-maps-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  color: #202124;
}

.hotel-maps-search__input::placeholder {
  color: #80868b;
}

.hotel-maps-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
}

.hotel-maps-search__clear:hover {
  background: #f1f3f4;
}

.hotel-maps-search__clear[hidden] {
  display: none;
}

.hotel-maps-suggestions {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border-top: 1px solid #e8eaed;
  max-height: 22rem;
  overflow-y: auto;
}

.hotel-maps-suggestions[hidden],
.hotel-maps-empty[hidden],
.hotel-maps-loading[hidden],
.hotel-maps-place[hidden] {
  display: none;
}

.hotel-maps-sheet:has(.hotel-maps-place:not([hidden])) .hotel-maps-empty {
  display: none;
}

.hotel-maps-suggestions__item.is-active,
.hotel-maps-suggestions__btn:hover {
  background: #f1f3f4;
}

.hotel-maps-suggestions__item.is-selected .hotel-maps-suggestions__btn {
  background: #e8f0fe;
}

.hotel-maps-suggestions__item.is-selected .hotel-maps-suggestions__btn > .fa-location-dot {
  color: #1a73e8;
}

.hotel-maps-suggestions__btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.hotel-maps-suggestions__btn > .fa-location-dot {
  margin-top: 3px;
  color: #70757a;
}

.hotel-maps-suggestions__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hotel-maps-suggestions__main {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #202124;
}

.hotel-maps-suggestions__secondary {
  font-size: 0.8125rem;
  color: #70757a;
}

.hotel-maps-empty,
.hotel-maps-loading {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #e8eaed;
  font-size: 0.875rem;
  color: #5f6368;
}

.hotel-maps-place {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid #e8eaed;
}

.hotel-maps-sheet.is-collapsed .hotel-maps-place,
.hotel-maps-sheet.is-collapsed .hotel-maps-suggestions,
.hotel-maps-sheet.is-collapsed .hotel-maps-empty,
.hotel-maps-sheet.is-collapsed .hotel-maps-loading {
  display: none;
}

.hotel-maps-place__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8eaed;
  overflow: hidden;
}

.hotel-maps-place__photo-wrap[hidden] {
  display: none;
}

.hotel-maps-place__photo-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #e8eaed 0%,
    #f1f3f4 40%,
    #e8eaed 80%
  );
  background-size: 200% 100%;
  animation: spa-boot-shimmer 1.2s ease-in-out infinite;
}

.hotel-maps-place__photo-skeleton[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hotel-maps-picker__skeleton,
  .hotel-maps-place__photo-skeleton {
    animation: none;
    background: #e8eaed;
  }
}

.hotel-maps-place__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-maps-place__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}

.hotel-maps-place__name {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #202124;
}

.hotel-maps-place__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.875rem;
  color: #70757a;
}

.hotel-maps-place__rating-num {
  font-weight: 500;
  color: #3c4043;
}

.hotel-maps-stars {
  position: relative;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
}

.hotel-maps-stars__track {
  color: #dadce0;
}

.hotel-maps-stars__fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc04;
}

.hotel-maps-place__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #3c4043;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hotel-maps-place__address {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #5f6368;
}

.hotel-maps-place__desc[hidden],
.hotel-maps-place__address[hidden] {
  display: none;
}

.hotel-maps-place__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 0;
  border-radius: 24px;
  background: #0e7490;
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.hotel-maps-place__cta:hover {
  background: #0b627a;
}

.hotel-maps-sheet__collapse {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 48px;
  transform: translate(100%, -50%);
  border: 0;
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.3);
  color: #5f6368;
  cursor: pointer;
}

.hotel-maps-sheet__collapse[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .hotel-maps-sheet {
    left: 8px;
    right: 8px;
    width: auto;
    max-height: min(62%, calc(100% - 16px));
  }

  .hotel-maps-sheet__collapse {
    display: none;
  }
}

.hotel-form-page .hotel-form-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
  padding-bottom: 1.5rem;
}

.hotel-form-page .hotel-form-stack .airline-form-card {
  height: auto;
  flex: none;
}

.hotel-form-page .airline-form-field--wide {
  grid-column: 1 / -1;
}

.hotel-form-page textarea.airline-form-control--textarea,
.hotel-form-page .airline-form-control--textarea {
  height: auto;
  min-height: 88px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.45;
}

.hotel-form-page input[type='date'].airline-form-control,
.hotel-form-page input[type='time'].airline-form-control {
  padding-right: 10px;
}

.hotel-form-page .hotel-form-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 24px;
}

.hotel-form-page .hotel-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-primary, #15303f);
  cursor: pointer;
}

.hotel-form-page .hotel-form-check input {
  width: 1rem;
  height: 1rem;
  accent-color: #1592b3;
}

.hotel-form-page .hotel-form-checks--inline {
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 12px 24px;
  margin-top: 0;
}

.hotel-form-page .hotel-form-group-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.hotel-form-page .hotel-form-group-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hotel-form-page .hotel-form-group-chip__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid #c5d0d6;
  background: #fff;
  color: #9aadb8;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hotel-form-page .hotel-form-group-chip:hover .hotel-form-group-chip__letter {
  border-color: rgba(14, 116, 144, 0.55);
  color: #0e7490;
  background: rgba(14, 116, 144, 0.1);
}

.hotel-form-page .hotel-form-group-chip:has(.hotel-form-group-chip__input:checked) .hotel-form-group-chip__letter,
.hotel-form-page .hotel-form-group-chip:has(.hotel-form-group-chip__input:focus-visible) .hotel-form-group-chip__letter {
  border-color: #0e7490;
  color: #0e7490;
  background: rgba(14, 116, 144, 0.1);
}

.hotel-form-page .hotel-form-group-chip:has(.hotel-form-group-chip__input:focus-visible) .hotel-form-group-chip__letter {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(14, 116, 144, 0.45);
}

.hotel-form-page .hotel-form-group-chip__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hotel-form-page .hotel-form-contact-note {
  margin: 18px 0 0;
}

.hotel-form-page .hotel-form-multi__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hotel-form-page .hotel-form-multi__rows:empty {
  display: none;
}

.hotel-form-page .hotel-form-multi__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotel-form-page .hotel-form-multi__row .airline-form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.hotel-form-page .hotel-form-multi__remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #7a929f;
}

.hotel-form-page .hotel-form-multi__remove[hidden] {
  display: none;
}

.hotel-form-page .hotel-form-multi__remove:hover:not(:disabled) {
  color: #d94060;
}

.hotel-form-page .hotel-form-contact-intro {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted, #5a7282);
  overflow-wrap: anywhere;
  word-break: normal;
}

.hotel-form-page .hotel-form-multi__add {
  align-self: flex-start;
  margin-top: 8px;
}

.hotel-form-page .hotel-form-multi__rows:empty + .hotel-form-multi__add {
  margin-top: 0;
}

/* Contact: independent columns so email height never pushes website; optional sits below. */
.hotel-form-page .hotel-form-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hotel-form-page .hotel-form-contact-grid {
  align-items: start;
}

.hotel-form-page .hotel-form-contact-grid__main,
.hotel-form-page .hotel-form-contact-grid__email {
  min-width: 0;
}

.hotel-form-page .hotel-form-contact-grid__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-form-page .hotel-form-contact-optional {
  width: calc((100% - 16px) / 2);
  max-width: 100%;
  margin-top: 28px;
  padding-top: 8px;
}

.hotel-form-page .hotel-form-actions {
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.hotel-form-page .hotel-form-actions__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.hotel-form-page .hotel-form-season-rates {
  margin-top: 0;
}

.hotel-form-page {
  --hotel-form-app-header: 4.75rem;
  --hotel-form-rail-offset: 4.25rem;
  --hotel-form-stepper-teal: #0e7490;
  --hotel-form-stepper-muted: #9aadb8;
  --hotel-form-stepper-line: #d5dee3;
}

.hotel-form-page .hotel-form-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  /* Keep last fields clear of the sticky save bar (focus-not-obscured). */
  padding-bottom: 4.75rem;
}

/* Shared horizontal section tabs (airlines / transport / hotels) */
.hotel-form-page .hotel-form-rail {
  position: static;
  top: auto;
  z-index: 12;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 2px;
  padding: 0 0 4px;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid rgba(20, 50, 80, 0.12);
}

.hotel-form-page .hotel-form-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--text-primary, #15303f);
  text-decoration: none;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.hotel-form-page .hotel-form-rail__link:hover,
.hotel-form-page .hotel-form-rail__link:focus-visible {
  background: rgba(21, 146, 179, 0.08);
  outline: none;
}

.hotel-form-page .hotel-form-rail__link:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0e7490;
}

.hotel-form-page .hotel-form-rail__link.is-active {
  background: rgba(21, 146, 179, 0.12);
  font-weight: 600;
  box-shadow: inset 0 -3px 0 #0e7490;
}

/* Hotel create/edit — reference-style label-over-dot stepper */
.hotel-form-page .hotel-form-rail:has(.hotel-form-rail__track) {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  flex-wrap: nowrap;
  /* Top padding doubled from 4px; card-like shell matches identity section */
  padding: 8px 20px 16px;
  border-radius: 10px;
  border: 1px solid rgba(20, 50, 80, 0.1);
  border-bottom: 1px solid rgba(20, 50, 80, 0.1);
  box-shadow: 0 1px 3px rgba(15, 40, 60, 0.06);
}

.hotel-form-page .hotel-form-rail__track {
  --hotel-form-marker-size: 12px;
  --hotel-form-line-inset: calc(100% / (2 * var(--hotel-form-step-count, 7)));
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  min-width: 100%;
  width: max-content;
  gap: 0;
  isolation: isolate;
}

/* Continuous baseline through marker centers (equal-width steps) */
.hotel-form-page .hotel-form-rail__track::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: var(--hotel-form-line-inset);
  right: var(--hotel-form-line-inset);
  bottom: calc(var(--hotel-form-marker-size) / 2 - 1px);
  height: 2px;
  background: var(--hotel-form-stepper-line);
  pointer-events: none;
}

/* Progress fill up to the active step */
.hotel-form-page .hotel-form-rail__track::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: var(--hotel-form-line-inset);
  bottom: calc(var(--hotel-form-marker-size) / 2 - 1px);
  height: 2px;
  width: calc(
    (100% - 2 * var(--hotel-form-line-inset)) *
      (var(--hotel-form-step-passed, 0) / max(var(--hotel-form-step-count, 7) - 1, 1))
  );
  max-width: calc(100% - 2 * var(--hotel-form-line-inset));
  background: var(--hotel-form-stepper-teal);
  pointer-events: none;
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 6.5rem;
  max-width: none;
  min-height: 44px;
  padding: 4px 10px 0;
  border-radius: 0;
  background: transparent;
  color: var(--hotel-form-stepper-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: color 0.15s ease;
}

/* Per-step connector lines removed — track ::before/::after own the line */
.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link:not(:last-child)::after {
  content: none;
}

.hotel-form-page .hotel-form-rail__label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-form-page .hotel-form-rail__marker {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--hotel-form-marker-size, 12px);
  height: var(--hotel-form-marker-size, 12px);
  flex-shrink: 0;
  border-radius: 999px;
  border: 2px solid var(--hotel-form-stepper-line);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link:hover,
.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link:focus-visible {
  color: var(--hotel-form-stepper-teal);
  outline: none;
  background: transparent;
  box-shadow: none;
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link:focus-visible .hotel-form-rail__marker {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(14, 116, 144, 0.45);
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link.is-complete .hotel-form-rail__marker {
  border-color: var(--hotel-form-stepper-teal);
  background: var(--hotel-form-stepper-teal);
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link.is-active {
  color: var(--hotel-form-stepper-teal);
  font-weight: 700;
  background: transparent;
  box-shadow: none;
}

.hotel-form-page .hotel-form-rail__track .hotel-form-rail__link.is-active .hotel-form-rail__marker {
  border-color: var(--hotel-form-stepper-teal);
  background: #fff;
}

.hotel-form-page .hotel-form-rates-stack,
.hotel-form-page .transport-supplier-stack {
  display: grid;
  gap: 1.25rem;
}

.hotel-form-page .transport-supplier-stack .airline-form-card__desc {
  margin-top: 0;
}

.hotel-form-page .transport-supplier-stack > .airline-form-card > .airline-form-card__header {
  margin-bottom: 1rem;
}

.hotel-form-page .hotel-form-meals-block {
  margin-bottom: 0;
}

.hotel-form-page .hotel-form-rates__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hotel-form-page .hotel-form-rates__heading {
  min-width: 0;
  flex: 1 1 auto;
}

.hotel-form-page .hotel-form-rates__heading .airline-form-card__desc,
.hotel-form-page [data-hotel-food-rates] .airline-form-card__desc {
  margin-top: 0;
}

.hotel-form-page #hotel-form-section-amenities .airline-form-card__desc,
.hotel-form-page #hotel-form-section-policies .airline-form-card__desc,
.hotel-form-page #hotel-form-section-notes .airline-form-card__desc,
.hotel-form-page #hotel-form-section-contact .airline-form-card__desc,
.hotel-form-page #hotel-form-crm-contacts-section .airline-form-card__desc,
.hotel-form-page #transport-form-section-contact .airline-form-card__desc {
  margin-top: 0;
}

.hotel-form-page #hotel-form-section-contact .hotel-form-contact-intro,
.hotel-form-page #transport-form-section-contact .hotel-form-contact-intro {
  margin: 0;
}

.hotel-form-page #hotel-form-crm-contacts-section > .airline-form-card__header {
  margin-bottom: 14px;
}

.hotel-form-page #hotel-form-section-contracts .airline-form-card__desc,
.transport-form-page #transport-form-section-contracts .airline-form-card__desc {
  margin-top: 0;
}

.hotel-form-page #hotel-form-section-contracts .airline-form-card__desc + .airline-form-card__desc,
.transport-form-page #transport-form-section-contracts .airline-form-card__desc + .airline-form-card__desc {
  margin-top: 0.25rem;
}

.hotel-form-page #hotel-form-section-contracts > .airline-form-card__header,
.transport-form-page #transport-form-section-contracts > .airline-form-card__header {
  margin-bottom: 1rem;
}

.hotel-form-page #hotel-form-section-notes > .airline-form-card__header {
  margin-bottom: 1rem;
}

.hotel-form-page [data-hotel-food-rates] > .airline-form-card__header {
  margin-bottom: 1rem;
}

.hotel-form-page .hotel-form-rates-currency {
  width: 11rem;
  min-width: 11rem;
  margin: 0;
  flex: 0 0 11rem;
}

.hotel-form-page .hotel-form-rates-currency .airline-form-label {
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.hotel-form-page .hotel-form-rates-currency .airline-form-select-wrap,
.hotel-form-page .hotel-form-rates-currency .airline-form-control {
  width: 100%;
}

.hotel-form-page .hotel-form-rates-currency .airline-form-control {
  min-height: 38px;
  padding: 0.45rem 2.1rem 0.45rem 0.75rem;
  font-size: 0.88rem;
}

.hotel-form-page .hotel-form-meals-block__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hotel-form-page .hotel-form-meals-block__header .airline-form-label {
  margin: 0;
}

.hotel-form-page .hotel-all-inclusive-switch {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.hotel-form-page .hotel-all-inclusive-switch__track {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #9aa7b8;
  box-shadow: inset 0 0 0 1px rgba(20, 40, 70, 0.08);
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.hotel-form-page .hotel-all-inclusive-switch.is-on .hotel-all-inclusive-switch__track {
  background: var(--color-primary, #1592b3);
  box-shadow: inset 0 0 0 1px rgba(15, 106, 134, 0.18);
}

.hotel-form-page .hotel-all-inclusive-switch__knob {
  position: absolute;
  top: 50%;
  left: 0.16rem;
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 40, 70, 0.28);
  transform: translateY(-50%);
  transition:
    left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.hotel-form-page .hotel-all-inclusive-switch.is-on .hotel-all-inclusive-switch__knob {
  left: calc(100% - 1.38rem);
  box-shadow: 0 2px 6px rgba(15, 106, 134, 0.28);
}

.hotel-form-page .hotel-form-meals-options {
  display: grid;
  gap: 0.85rem;
}

.hotel-form-page .hotel-form-meal-prices {
  display: grid;
  grid-template-columns: 11rem repeat(3, minmax(0, 1fr));
  gap: 0.75rem 0.85rem;
  align-items: start;
}

.hotel-form-page .hotel-form-rates-currency--food {
  width: auto;
  min-width: 0;
  flex: none;
  max-width: none;
}

.hotel-form-page .hotel-form-meal-price {
  min-width: 0;
}

.hotel-form-page .hotel-form-meal-price[hidden] {
  display: none !important;
}

.hotel-form-page .currency-money-field[data-shared-currency='1'] .currency-money-field__row {
  display: block;
}

.hotel-form-page .currency-money-field__affix {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 0.75rem 0 0.65rem;
  border: 1px solid var(--color-border, rgba(20, 50, 80, 0.18));
  border-radius: var(--radius-md, 8px);
  background: #fff;
}

.hotel-form-page .currency-money-field__affix:focus-within {
  border-color: var(--color-primary, #1592b3);
  box-shadow: 0 0 0 3px rgba(21, 146, 179, 0.15);
}

.hotel-form-page .currency-money-field__affix .currency-money-field__amount {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.45rem 0;
  min-height: 0;
}

.hotel-form-page .currency-money-field__affix .currency-money-field__amount:focus {
  outline: none;
  box-shadow: none;
}

.hotel-form-page .currency-money-field__code {
  flex: 0 0 auto;
  color: var(--color-text-muted, #5b6b7c);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hotel-form-page .hotel-form-meals-block + .hotel-form-amenities {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .hotel-form-page .hotel-form-rates__header {
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-form-page .hotel-form-rates-currency {
    width: 11rem;
    min-width: 11rem;
    flex-basis: 11rem;
    align-self: flex-end;
  }

  .hotel-form-page .hotel-form-meal-prices {
    grid-template-columns: 1fr;
  }
}

.hotel-form-page .hotel-form-stack > [data-hotel-panel][hidden],
.hotel-form-page .hotel-form-stack > .airline-form-card[hidden],
.hotel-form-page .hotel-form-stack > .hotel-form-location-layout[hidden],
.hotel-form-page .hotel-form-stack > .hotel-form-rates-stack[hidden],
.hotel-form-page .hotel-form-stack > .transport-supplier-stack[hidden] {
  display: none !important;
}

.hotel-form-page [data-hotel-panel] {
  scroll-margin-top: 0.75rem;
}

html:has(.hotel-form-page) {
  --hotel-form-app-header: 4.75rem;
  scroll-padding-bottom: 5.5rem;
}

.hotel-form-page .hotel-form-sticky-bar {
  position: fixed;
  left: var(--sidebar-width, 260px);
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: auto;
  box-sizing: border-box;
  padding: 12px 1.5rem max(12px, env(safe-area-inset-bottom));
  margin: 0;
  background: #fff;
  border-top: 1px solid rgba(20, 50, 80, 0.12);
  transition: left var(--transition-base, 0.2s ease);
}

@media (min-width: 1281px) {
  html[data-sidebar-collapsed='1'] .hotel-form-page .hotel-form-sticky-bar {
    left: var(--sidebar-collapsed-width, 72px);
  }
}

@media (max-width: 1280px) {
  .hotel-form-page .hotel-form-sticky-bar,
  html[data-sidebar-collapsed='1'] .hotel-form-page .hotel-form-sticky-bar {
    left: 0;
  }
}

.hotel-form-page .hotel-form-sticky-bar__end {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  min-width: 0;
}

.hotel-form-page .hotel-form-sticky-bar__cancel {
  min-height: 42px;
  border: 1px solid rgba(20, 50, 80, 0.18);
  background: #fff;
  flex: 0 0 auto;
}

.hotel-form-page .hotel-form-sticky-bar .airline-form-actions__submit {
  flex: 0 1 auto;
  white-space: nowrap;
}

.hotel-form-page .hotel-form-sticky-bar__next {
  flex: 0 0 auto;
  min-height: 42px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hotel-form-page .hotel-form-sticky-bar__prev {
  flex: 0 0 auto;
  min-height: 42px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hotel-form-page .hotel-form-sticky-bar__next[hidden],
.hotel-form-page .hotel-form-sticky-bar__prev[hidden] {
  display: none !important;
}

.hotel-form-page .hotel-form-error-summary {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  border-radius: 8px;
  background: rgba(180, 35, 24, 0.06);
}

.hotel-form-page .hotel-form-error-summary:focus {
  outline: 2px solid #0e7490;
  outline-offset: 2px;
}

.hotel-form-page .hotel-form-error-summary__title {
  margin: 0 0 6px;
  font-size: 1rem;
}

.hotel-form-page .hotel-form-error-summary__intro {
  margin: 0 0 8px;
  font-size: 0.875rem;
}

.hotel-form-page .hotel-form-error-summary__list {
  margin: 0;
  padding-left: 1.25rem;
}

.hotel-form-page .hotel-form-country-combobox {
  position: relative;
}

.hotel-form-page .hotel-form-country-combobox .modern-combobox__control {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  padding: 0 10px 0 14px;
  background: #fff;
  border: 1px solid rgba(20, 50, 80, 0.18);
  border-radius: 8px;
}

.hotel-form-page .hotel-form-country-combobox .modern-combobox__control:focus-within {
  border-color: #1592b3;
  box-shadow: 0 0 0 3px rgba(21, 146, 179, 0.22);
}

.hotel-form-page .hotel-form-country-combobox .modern-combobox__input {
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.hotel-form-page .hotel-form-country-combobox .modern-combobox__list {
  z-index: 40;
  max-height: min(18rem, 45vh);
}

.hotel-form-page .hotel-form-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.hotel-form-page .hotel-form-stars__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c5d0d6;
  cursor: pointer;
  transition: color 0.15s ease;
}

.hotel-form-page .hotel-form-stars__icon {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
  fill: currentColor;
}

.hotel-form-page .hotel-form-stars__btn.is-on {
  color: #0e7490;
}

.hotel-form-page .hotel-form-stars__btn.is-half .hotel-form-stars__icon {
  fill: #c5d0d6;
  background: linear-gradient(90deg, #0e7490 50%, #c5d0d6 50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l2.95 6.55 7.15.7-5.4 4.8 1.65 7-6.35-3.7-6.35 3.7 1.65-7-5.4-4.8 7.15-.7L12 1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l2.95 6.55 7.15.7-5.4 4.8 1.65 7-6.35-3.7-6.35 3.7 1.65-7-5.4-4.8 7.15-.7L12 1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hotel-form-page .hotel-form-stars__btn.is-half .hotel-form-stars__icon path {
  fill: none;
}

.hotel-form-page .hotel-form-stars__btn:focus-visible {
  outline: 2px solid #0e7490;
  outline-offset: 2px;
}

.hotel-form-page .hotel-form-stars__input {
  position: absolute;
  width: 1px;
  height: 1px;
}

.hotel-form-page .hotel-form-coords-advanced {
  margin-top: 4px;
}

.hotel-form-page .hotel-form-coords-advanced summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary, #15303f);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.hotel-form-page .hotel-form-coords-advanced summary::-webkit-details-marker {
  display: none;
}

.hotel-form-page .hotel-form-coords-advanced summary::marker {
  content: none;
}

.hotel-form-page .hotel-form-coords-advanced__icon {
  flex-shrink: 0;
  width: 0.75rem;
  font-size: 0.75rem;
  color: #0e7490;
  transition: transform 0.15s ease;
}

.hotel-form-page .hotel-form-coords-advanced[open] > summary .hotel-form-coords-advanced__icon {
  transform: rotate(90deg);
}

.hotel-form-page .hotel-form-coords-advanced__grid {
  margin-top: 12px;
}

.hotel-form-page .hotel-form-map-nudge {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  grid-template-areas:
    '. n .'
    'w . e'
    '. s .';
  gap: 8px;
  margin-top: 10px;
  justify-content: start;
}

.hotel-form-page .hotel-form-map-nudge__btn[data-map-nudge='n'] {
  grid-area: n;
}

.hotel-form-page .hotel-form-map-nudge__btn[data-map-nudge='w'] {
  grid-area: w;
}

.hotel-form-page .hotel-form-map-nudge__btn[data-map-nudge='s'] {
  grid-area: s;
}

.hotel-form-page .hotel-form-map-nudge__btn[data-map-nudge='e'] {
  grid-area: e;
}

.hotel-form-page .hotel-form-map-nudge__btn {
  min-width: 44px;
  min-height: 44px;
}

.hotel-form-page .hotel-form-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 16px;
}

.hotel-form-page .hotel-form-amenity-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(20, 50, 80, 0.16);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.9375rem;
}

.hotel-form-page .hotel-form-amenity-tile:has(input:focus-visible) {
  outline: 2px solid #0e7490;
  outline-offset: 2px;
}

.hotel-form-page .hotel-form-amenity-tile input:focus {
  outline: none;
}

.airline-form-control--iata,
input[data-iata-input],
input[name='iata'],
input[name='iata_airlines'],
input[name^='iata_'],
#agreement-iata {
  text-transform: uppercase;
}

.hotel-form-page .airline-form-control--iata {
  max-width: 8rem;
}

.hotel-form-page .hotel-location-row--iata .airline-form-control--iata {
  max-width: none;
  width: 100%;
}

.hotel-form-page .hotel-form-amenity-tile:has(input:checked) {
  border-color: #1592b3;
  background: rgba(21, 146, 179, 0.08);
}

.hotel-form-page .hotel-form-amenity-tile input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #1592b3;
}

.hotel-form-page .hotel-form-amenity-tile i {
  width: 1.1rem;
  color: #0e7490;
}

.hotel-form-page .hotel-form-rates-table-wrap {
  overflow-x: auto;
}

.hotel-form-page .hotel-form-rates-table {
  width: 100%;
  border-collapse: collapse;
}

.hotel-form-page .hotel-form-rates-table th,
.hotel-form-page .hotel-form-rates-table td {
  padding: 8px 6px;
  vertical-align: top;
  text-align: left;
}

.hotel-form-page .hotel-form-rates-table__money .airline-form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hotel-form-page .currency-money-field [data-action="save"] {
  display: none;
}

.hotel-form-page .hotel-form-season-rates__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.35rem 1.35rem;
  margin: 1rem 0 1.15rem;
  padding: 0 1rem;
  overflow-x: auto;
  background: #f4f6f8;
  border-radius: 10px;
  box-shadow: none;
  border: 1px solid rgba(20, 50, 80, 0.04);
}

.hotel-form-page .hotel-form-season-rates__tab {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.9rem 0.1rem;
  color: #3d5566;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    font-weight 0.2s ease;
}

.hotel-form-page .hotel-form-season-rates__tab:hover {
  color: #15303f;
}

.hotel-form-page .hotel-form-season-rates__tab.is-active {
  color: #15303f;
  font-weight: 700;
  border-bottom-color: var(--color-primary, #1592b3);
}

.hotel-form-page .hotel-form-season-rates__tab:focus-visible {
  outline: 2px solid var(--color-primary, #1592b3);
  outline-offset: 2px;
}

.hotel-form-page .hotel-form-season-rates__panel[hidden] {
  display: none !important;
}

.hotel-form-page .hotel-form-season-panel__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.hotel-form-page .hotel-form-room-price {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.hotel-form-page .hotel-form-room-price__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hotel-form-page .hotel-form-room-price__row {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: end;
}

.hotel-form-page .hotel-form-room-price__index {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 2.35rem;
  color: var(--color-text-muted);
  text-align: center;
}

.hotel-form-page .hotel-form-room-price__field {
  min-width: 0;
}

.hotel-form-page .hotel-form-room-price__add {
  align-self: flex-start;
  margin-left: 1.45rem;
}

.hotel-form-page .hotel-form-room-price__remove[hidden] {
  display: none;
}

.hotel-form-page .hotel-form-season-panel__dates {
  margin-top: 0.25rem;
}

@media (max-width: 700px) {
  .hotel-form-page .hotel-form-season-panel__prices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hotel-form-page .hotel-form-rail {
    position: static;
    gap: 8px;
  }

  .hotel-form-page .hotel-form-amenities {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-form-page .hotel-form-rail__link,
  .hotel-form-page .hotel-form-stars__btn,
  .hotel-form-page .hotel-form-amenity-tile,
  .hotel-form-page .hotel-form-sticky-bar,
  .hotel-form-page .hotel-form-coords-advanced__icon {
    transition: none;
  }
}

.procurements-page--catalog .hotel-detail-season-rates .detail-tabs {
  margin-top: 0.25rem;
}

.hotel-form-page .hotel-form-actions__delete {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .hotel-form-page .hotel-form-checks {
    grid-template-columns: 1fr;
  }

  .hotel-form-page .hotel-form-location-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hotel-form-page .hotel-form-location-layout .airline-form-map-panel {
    order: 2;
  }

  .airline-form-page__layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .airline-form-page .airline-form-shell,
  .airline-form-card,
  .airline-form-map-panel,
  .airline-map-card {
    height: auto;
    flex: none;
  }

  .airline-form-card {
    display: block;
  }

  .airline-form-actions {
    margin-top: 28px;
  }

  .airline-map-card__spacer {
    display: none;
  }

  .airline-map-card__content {
    height: auto;
    flex: none;
  }

  .airline-form-map-panel__stage {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }

  .airline-form-map-panel__canvas {
    max-height: 360px;
  }
}

@container airline-form-page (max-width: 920px) {
  .airline-form-page__layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .airline-form-page .airline-form-shell,
  .airline-form-card,
  .airline-form-map-panel,
  .airline-map-card {
    height: auto;
    flex: none;
  }

  .airline-map-card__spacer {
    display: none;
  }
}

@media (max-width: 768px) {
  .airline-form-page__layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .airline-form-page .airline-form-shell,
  .airline-form-card,
  .airline-form-map-panel,
  .airline-map-card {
    height: auto;
    flex: none;
  }

  .airline-form-card {
    display: block;
  }

  .airline-form-actions {
    margin-top: 28px;
  }

  .airline-map-card__spacer {
    display: none;
  }

  .airline-form-map-panel {
    padding: 16px;
  }

  .airline-form-map-panel__stage {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }

  .airline-form-map-panel__canvas {
    max-height: 320px;
  }

  .airline-form-page__header {
    margin-bottom: 16px;
  }

  .airline-form-page__back {
    width: 100%;
    justify-content: center;
  }

  .airline-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hotel-form-page .hotel-form-contact-grid__main,
  .hotel-form-page .hotel-form-contact-grid__email {
    display: contents;
  }

  .hotel-form-page .hotel-form-contact-grid [data-multi-value='phone'] {
    order: 1;
  }

  .hotel-form-page .hotel-form-contact-grid [data-multi-value='email'] {
    order: 2;
  }

  .hotel-form-page .hotel-form-contact-grid [data-multi-value='website'] {
    order: 3;
  }

  .hotel-form-page .hotel-form-contact-optional {
    width: 100%;
  }

  .hotel-form-page .hotel-form-identity__top,
  .hotel-form-page .hotel-form-identity__mid,
  .hotel-form-page .hotel-form-identity__mid-fields {
    grid-template-columns: 1fr;
  }

  .hotel-form-page .hotel-form-sticky-bar,
  html[data-sidebar-collapsed='1'] .hotel-form-page .hotel-form-sticky-bar {
    left: 0;
  }

  .airline-form-card {
    padding: 16px;
  }

  .airline-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .airline-form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hotel-form-page .hotel-form-sticky-bar.airline-form-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  }

  .hotel-form-page .hotel-form-sticky-bar.airline-form-actions .btn {
    width: auto;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
  }

  .hotel-form-page .hotel-form-sticky-bar__end {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hotel-form-page .hotel-form-sticky-bar__cancel {
    min-height: 38px;
  }
}

/* Airline airport chips (detail + form) */
.airline-airports-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.airline-airport-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light, #dde1e6);
  background: var(--surface-secondary, #f4f5f7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.airline-airport-chip:hover {
  background: var(--surface-hover, #e8eaed);
  border-color: var(--primary, #3b82f6);
}

.airline-airport-chip--active {
  background: var(--primary, #3b82f6);
  color: #fff;
  border-color: var(--primary, #3b82f6);
  box-shadow: 0 1px 4px rgba(59, 130, 246, 0.3);
}

.airline-airport-chip--form {
  cursor: default;
  padding: 0;
  gap: 0;
}

.airline-airport-chip__select {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.airline-airport-chip--form.airline-airport-chip--active .airline-airport-chip__select {
  color: inherit;
}

.airline-airport-chip--pending {
  border-style: dashed;
}

.airline-airport-chip--form .airline-airport-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 2px;
  margin-left: 2px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 0.75rem;
}

.airline-airport-chip__remove:hover {
  opacity: 1;
  color: var(--danger, #ef4444);
}

.airline-airports-form-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.airline-countries-form-row .modern-combobox {
  flex: 1 1 auto;
  min-width: 0;
}

.airline-form-field--countries .airline-countries-chips {
  margin-top: 0.65rem;
}

.airline-country-chip {
  gap: 8px;
  padding-left: 10px;
}

.airline-country-chip__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.airline-country-chip__flag img {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
}

.airline-country-chip__flag--empty {
  color: var(--text-muted, #6b7280);
  font-size: 0.75rem;
  box-shadow: none;
}

.airline-airports-form-row .airline-form-control--iata {
  max-width: 140px;
}

.airline-airports-list {
  margin-top: 8px;
}


/* hotel franchise create modal */
.hotel-franchise-create-modal.modal {
  align-items: center;
  padding: 0.75rem;
}

.hotel-franchise-create-dialog.app-dialog__dialog,
#hotel-franchise-create-modal .app-dialog__dialog {
  width: min(440px, 100%);
  max-height: min(92vh, calc(100dvh - 1.5rem));
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.hotel-franchise-create-dialog__body,
#hotel-franchise-create-modal .hotel-franchise-create-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding-bottom: 0.5rem;
}

.hotel-franchise-create-dialog__footer,
#hotel-franchise-create-modal .hotel-franchise-create-dialog__footer {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: inherit;
  border-top: 1px solid var(--color-border, rgba(148, 163, 184, 0.25));
  margin-top: 0;
}

.hotel-franchise-create-form .hotel-franchise-country-combobox {
  position: relative;
  z-index: 5;
}

.hotel-franchise-create-form .hotel-franchise-country-combobox .modern-combobox__list {
  z-index: 50;
  max-height: min(18rem, 45vh);
}

.hotel-franchise-create-form .modern-combobox__control {
  background: var(--color-bg-input, #fff);
}

.hotel-franchise-country-flag {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hotel-franchise-country-flag__img,
.hotel-franchise-country-option__flag .hotel-franchise-country-flag__img {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.hotel-franchise-country-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hotel-franchise-country-option__flag {
  width: 1.35rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotel-franchise-country-option__label {
  min-width: 0;
}

.operator-activity-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.operator-activity-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.operator-activity-page__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.operator-activity-page__subtitle {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted, #64748b);
}

.operator-activity-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.operator-activity-panel__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.operator-activity-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem 0;
}

.operator-activity-list-toolbar__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted, #64748b);
}

.operator-activity-view-toggle__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.operator-activity-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
}

.operator-activity-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.operator-activity-toolbar__label {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.operator-activity-toolbar__search {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 360px;
}

.operator-activity-toolbar__control {
  position: relative;
  display: flex;
  align-items: center;
}

.operator-activity-toolbar__control > i {
  position: absolute;
  left: 0.85rem;
  color: #94a3b8;
  font-size: 0.8125rem;
  pointer-events: none;
}

.operator-activity-toolbar__select {
  width: 100%;
  min-height: 2.75rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.65rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center;
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.65rem 2.25rem 0.65rem 2.15rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.operator-activity-toolbar__select:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
}

.operator-activity-toolbar__dates {
  flex: 0 1 auto;
}

.operator-activity-toolbar__modules {
  flex: 0 1 auto;
  min-width: 0;
}

.operator-activity-toolbar__module-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-height: 2.75rem;
}

.operator-activity-toolbar__actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.operator-activity-toolbar__actions-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.operator-activity-toolbar__clear-field {
  flex: 0 0 auto;
  margin-left: auto;
}

.operator-activity-toolbar__label--spacer {
  visibility: hidden;
  user-select: none;
}

.operator-activity-toolbar__clear {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  color: #334155;
  border-radius: 0.65rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.operator-activity-toolbar__clear:hover {
  border-color: rgba(45, 122, 120, 0.45);
  color: #2d7a78;
}

.operator-activity-toolbar__clear:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
}

.operator-activity-toolbar__dates-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.operator-activity-toolbar__date {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.65rem;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.4;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  min-width: 9.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.operator-activity-toolbar__date:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
}

.operator-activity-toolbar__dates-sep {
  color: #94a3b8;
}

.operator-activity-toolbar__export-field {
  min-width: 11rem;
}

.operator-activity-toolbar__export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-sizing: border-box;
}

.operator-activity-toolbar__export:hover {
  transform: none;
}

.operator-activity-toolbar__export:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.file-preview-modal__footer .btn-primary[data-file-preview-download] {
  margin-right: auto;
}

@media (max-width: 720px) {
  .operator-activity-toolbar {
    align-items: stretch;
  }

  .operator-activity-toolbar__actions {
    margin-left: 0;
    width: 100%;
  }

  .operator-activity-toolbar__actions-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .operator-activity-toolbar__clear-field {
    margin-left: 0;
    width: 100%;
  }

  .operator-activity-toolbar__clear,
  .operator-activity-toolbar__export {
    width: 100%;
  }
}

.operator-activity-volume {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.15rem 1.15rem;
}

.operator-activity-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 360px);
  gap: 1rem;
  align-items: stretch;
}

.operator-activity-ranking {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem 1.15rem;
  /* Match volume card height: do not grow the overview row when the list is long. */
  height: 0;
  min-height: 100%;
  overflow: hidden;
}

.operator-activity-ranking__header {
  flex: 0 0 auto;
  margin-bottom: 0.25rem;
}

.operator-activity-ranking__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
}

.operator-activity-ranking__subtitle {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted, #64748b);
  font-size: 0.8125rem;
}

.operator-activity-ranking__list {
  list-style: none;
  margin: 0;
  padding: 0 0.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 122, 120, 0.45) rgba(148, 163, 184, 0.12);
}

.operator-activity-ranking__list::-webkit-scrollbar {
  width: 0.5rem;
}

.operator-activity-ranking__list::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.12);
  border-radius: 999px;
}

.operator-activity-ranking__list::-webkit-scrollbar-thumb {
  background: rgba(45, 122, 120, 0.45);
  border-radius: 999px;
}

.operator-activity-ranking__list::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 122, 120, 0.65);
}

#operator-activity-ranking-empty {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#operator-activity-ranking-empty[hidden] {
  display: none !important;
}

.operator-activity-ranking__item {
  display: grid;
  grid-template-columns: 1.5rem 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.5rem;
  border: 1px solid transparent;
  border-bottom-color: rgba(148, 163, 184, 0.2);
  cursor: pointer;
  border-radius: 0.55rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.operator-activity-ranking__item:last-child {
  border-bottom-color: transparent;
}

.operator-activity-ranking__item:hover,
.operator-activity-ranking__item.is-selected {
  background: rgba(45, 122, 120, 0.06);
}

.operator-activity-ranking__item:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
  background: rgba(45, 122, 120, 0.08);
}

.operator-activity-ranking__rank {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
}

.operator-activity-ranking__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #94a3b8;
}

.operator-activity-ranking__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.operator-activity-ranking__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.operator-activity-ranking__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.operator-activity-ranking__count {
  font-size: 0.875rem;
  color: #334155;
  flex-shrink: 0;
}

.operator-activity-ranking__bar {
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.operator-activity-ranking__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #94a3b8;
}

.operator-activity-ranking__item.tone-1 .operator-activity-ranking__rank,
.operator-activity-ranking__item.tone-1 .operator-activity-ranking__count {
  color: #2d7a78;
}

.operator-activity-ranking__item.tone-1 .operator-activity-ranking__avatar,
.operator-activity-ranking__item.tone-1 .operator-activity-ranking__bar-fill {
  background: #2d7a78;
}

.operator-activity-ranking__item.tone-2 .operator-activity-ranking__rank,
.operator-activity-ranking__item.tone-2 .operator-activity-ranking__count {
  color: #1e3a5f;
}

.operator-activity-ranking__item.tone-2 .operator-activity-ranking__avatar,
.operator-activity-ranking__item.tone-2 .operator-activity-ranking__bar-fill {
  background: #1e3a5f;
}

.operator-activity-ranking__item.tone-3 .operator-activity-ranking__rank,
.operator-activity-ranking__item.tone-3 .operator-activity-ranking__count {
  color: #d97706;
}

.operator-activity-ranking__item.tone-3 .operator-activity-ranking__avatar,
.operator-activity-ranking__item.tone-3 .operator-activity-ranking__bar-fill {
  background: #d97706;
}

.operator-activity-ranking__item.tone-rest .operator-activity-ranking__avatar,
.operator-activity-ranking__item.tone-rest .operator-activity-ranking__bar-fill {
  background: #94a3b8;
}

@media (max-width: 1100px) {
  .operator-activity-overview {
    grid-template-columns: 1fr;
  }

  .operator-activity-ranking {
    height: auto;
    min-height: 0;
    max-height: min(24rem, 55vh);
  }
}

.operator-activity-volume__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.operator-activity-volume__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.operator-activity-volume__range {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted, #64748b);
  font-size: 0.875rem;
}

.operator-activity-volume__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.operator-activity-volume__preset {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.08);
  color: var(--color-text, #0f172a);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.operator-activity-volume__preset:hover {
  border-color: rgba(45, 122, 120, 0.45);
}

.operator-activity-volume__preset:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
}

.operator-activity-volume__preset.is-active {
  border-color: #2d7a78;
  color: #2d7a78;
  background: rgba(45, 122, 120, 0.08);
}

.operator-activity-volume__chart-wrap {
  position: relative;
  height: 280px;
  min-height: 280px;
}

.operator-activity-volume__chart-wrap[aria-busy='true']::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.08) 0%,
    rgba(148, 163, 184, 0.16) 50%,
    rgba(148, 163, 184, 0.08) 100%
  );
  background-size: 200% 100%;
  animation: operator-activity-shimmer 1.2s ease-in-out infinite;
  pointer-events: none;
}

.operator-activity-volume__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text-muted, #64748b);
  font-size: 0.875rem;
}

.operator-activity-volume__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.operator-activity-volume__legend-line {
  width: 1.5rem;
  height: 0.2rem;
  border-radius: 999px;
  background: #2d7a78;
}

.operator-activity-volume__total {
  color: var(--color-text, #0f172a);
  font-size: 0.9375rem;
}

.operator-activity-panel__section-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.operator-activity-modules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.operator-activity-modules__label {
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
}

.operator-activity-modules__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-primary, #2563eb);
  font-size: 0.8rem;
  font-weight: 600;
}

.operator-activity-panel__list {
  padding: 1rem 1.15rem 1.15rem;
}

.operator-activity-panel.is-busy {
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.operator-activity-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
}

.operator-activity-empty-state > i {
  font-size: 1.35rem;
  color: #94a3b8;
}

.operator-activity-empty-state > p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.operator-activity-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.operator-activity-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.operator-activity-table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.operator-activity-table th {
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.operator-activity-table th:last-child,
.operator-activity-table td:last-child {
  width: 12.5rem;
  text-align: right;
}

.operator-activity-table td {
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  vertical-align: middle;
}

.operator-activity-table tbody tr:last-child td {
  border-bottom: none;
}

.operator-activity-table__row--clickable {
  cursor: pointer;
  transition: background 0.2s ease;
}

.operator-activity-table__row--clickable:hover td {
  background: rgba(45, 122, 120, 0.04);
}

.operator-activity-table__row--clickable:focus-visible td {
  background: rgba(45, 122, 120, 0.08);
  outline: none;
}

.operator-activity-table__row--clickable:focus-visible td:first-child {
  box-shadow: inset 3px 0 0 #2d7a78;
}

.operator-activity-table__activity {
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-activity-table__datetime {
  color: #94a3b8;
  font-size: 0.875rem;
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
}

.operator-activity-table__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 0;
  max-width: 14rem;
  margin-left: auto;
}

.operator-activity-table__actor {
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-activity-table__when {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.3;
  white-space: nowrap;
}

.operator-activity-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.operator-activity-pagination__info {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.operator-activity-pagination__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.operator-activity-pagination__btn {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.operator-activity-pagination__btn:hover:not(:disabled):not(.is-active) {
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
}

.operator-activity-pagination__btn:focus-visible {
  outline: none;
  border-color: rgba(45, 122, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.18);
}

.operator-activity-pagination__btn.is-active {
  background: #2d7a78;
  color: #fff;
}

.operator-activity-pagination__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.operator-activity-pagination__ellipsis {
  color: #94a3b8;
  padding: 0 0.2rem;
  font-size: 0.875rem;
}

.operator-activity-hint {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.operator-activity-access-denied {
  padding: 1.25rem 1.35rem;
}

.operator-activity-access-denied__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.operator-activity-access-denied__text {
  margin: 0;
  color: var(--color-text-muted, #64748b);
  line-height: 1.5;
}

@keyframes operator-activity-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.operator-activity-preview-modal {
  z-index: 1200;
}

.operator-activity-export-options-modal {
  z-index: 1250;
}

.operator-activity-export-options-modal__dialog {
  width: min(440px, calc(100vw - 2rem));
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.operator-activity-export-options-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.operator-activity-export-options-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  color: #15303f;
}

.operator-activity-export-options-modal__body {
  padding: 1rem 1.2rem 0.5rem;
  overflow: auto;
}

.operator-activity-export-options-modal__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.45;
}

.operator-activity-export-options-modal__form {
  display: grid;
  gap: 0.85rem;
}

.operator-activity-export-options-modal__field {
  display: grid;
  gap: 0.35rem;
}

.operator-activity-export-options-modal__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.operator-activity-export-options-modal__select {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.55rem;
  background: #fff;
  color: #15303f;
  font-size: 0.92rem;
}

.operator-activity-export-options-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.operator-activity-preview-modal__dialog {
  width: min(520px, calc(100vw - 2rem));
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.operator-activity-preview-modal__dialog--email {
  width: min(720px, calc(100vw - 2rem));
}

.operator-activity-preview-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.operator-activity-preview-modal__heading {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.operator-activity-preview-modal__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 122, 120, 0.1);
  color: #2d7a78;
  flex: 0 0 auto;
}

.operator-activity-preview-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.operator-activity-preview-modal__subtitle {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.45;
  word-break: break-word;
}

.operator-activity-preview-modal__close {
  flex: 0 0 auto;
}

.operator-activity-preview-modal__body {
  padding: 1rem 1.2rem;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
}

.operator-activity-preview-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
}

.operator-activity-preview-modal__meta dt {
  margin: 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.operator-activity-preview-modal__meta dd {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-word;
}

.operator-activity-preview-modal__email-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.85rem;
  background: #fff;
  overflow: hidden;
}

.operator-activity-preview-modal__email-subject {
  margin: 0;
  padding: 0.9rem 1rem 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.operator-activity-preview-modal__email-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem 0.75rem;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.operator-activity-preview-modal__email-body {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  min-height: 8rem;
  max-height: 22rem;
  overflow: auto;
  padding: 0.35rem 0.15rem 0.75rem;
}

.operator-activity-preview-modal__email-body .inbox-detail__html-frame {
  width: 100%;
  border: 0;
  background: transparent;
  display: block;
}

.operator-activity-preview-modal__email-plain {
  margin: 0.75rem 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #334155;
}

.operator-activity-preview-modal__loading,
.operator-activity-preview-modal__empty {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
}

.operator-activity-preview-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0.9rem 1.2rem 1.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

@media (max-width: 640px) {
  .operator-activity-preview-modal__meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .operator-activity-ranking__item,
  .operator-activity-volume__preset,
  .operator-activity-toolbar__select,
  .operator-activity-toolbar__date,
  .operator-activity-toolbar__clear,
  .operator-activity-pagination__btn,
  .operator-activity-table__row--clickable,
  .operator-activity-panel.is-busy {
    transition: none;
  }

  .operator-activity-volume__chart-wrap[aria-busy='true']::after {
    animation: none;
    background: rgba(148, 163, 184, 0.12);
  }
}

/* Edit-authorization push (bottom-right; separate from E-Mails / toast-root) */
.edit-auth-push-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100050;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.65rem;
  width: min(22.5rem, calc(100vw - 1.5rem));
  pointer-events: none;
}

.edit-auth-push {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 0.85rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(21, 146, 179, 0.28);
  box-shadow: 0 18px 42px rgba(15, 40, 60, 0.2);
  color: #15303f;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.edit-auth-push--visible {
  opacity: 1;
  transform: translateY(0);
}

.edit-auth-push--leaving {
  opacity: 0;
  transform: translateY(0.55rem);
}

.edit-auth-push--approved {
  border-color: rgba(34, 197, 94, 0.42);
  box-shadow: 0 18px 42px rgba(15, 40, 60, 0.18), 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.edit-auth-push--rejected {
  border-color: rgba(239, 68, 68, 0.42);
  box-shadow: 0 18px 42px rgba(15, 40, 60, 0.18), 0 0 0 1px rgba(239, 68, 68, 0.08);
}

.edit-auth-push--pt.edit-auth-push--approved .edit-auth-push__title {
  color: #15803d;
}

.edit-auth-push--pt.edit-auth-push--rejected .edit-auth-push__title {
  color: #b91c1c;
}

.edit-auth-push__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(21, 146, 179, 0.12);
  color: #1592b3;
  flex-shrink: 0;
}

.edit-auth-push--approved .edit-auth-push__icon {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.edit-auth-push--rejected .edit-auth-push__icon {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.edit-auth-push__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.edit-auth-push__message {
  margin: 0.28rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #475569;
}

.edit-auth-push__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.edit-auth-push__close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 0;
}

.edit-auth-push__close:hover {
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}

/* Review modal must sit above bottom-right push cards */
#edit-authorization-modal.edit-authorization-modal.modal {
  z-index: 100100;
}

/* Nested confirm/prompt opened from review modal */
#confirm-modal.app-dialog.modal {
  z-index: 100200;
}

.edit-authorization-modal__dialog {
  width: min(480px, 100%);
}

.edit-authorization-modal__content {
  text-align: left;
}

.edit-authorization-modal__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0.75rem;
  padding: 0;
}

.edit-authorization-modal__meta > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.edit-authorization-modal__meta dt {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.edit-authorization-modal__meta dd {
  margin: 0;
  color: #15303f;
  font-size: 0.9rem;
  word-break: break-word;
}

.app-dialog__field {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.app-dialog__field textarea.app-dialog__input {
  resize: vertical;
  min-height: 4.5rem;
  font-weight: 400;
}

.procurement-transfer-accept-modes {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(20, 60, 90, 0.12);
  border-radius: 0.65rem;
  display: grid;
  gap: 0.65rem;
}

.procurement-transfer-accept-modes legend {
  padding: 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #64748b;
}

.procurement-transfer-accept-modes__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  cursor: pointer;
}

.procurement-transfer-accept-modes__option strong {
  display: block;
  font-size: 0.9rem;
  color: #15303f;
}

.procurement-transfer-accept-modes__option small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 400;
}

.procurement-transfer-history {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.procurement-transfer-history__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 50, 0.35);
}

.procurement-transfer-history__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.procurement-transfer-history--open .procurement-transfer-history__panel {
  transform: translateX(0);
}

.procurement-transfer-history__head,
.procurement-transfer-history__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(20, 60, 90, 0.1);
}

.procurement-transfer-history__foot {
  border-bottom: 0;
  border-top: 1px solid rgba(20, 60, 90, 0.1);
  justify-content: flex-end;
}

.procurement-transfer-history__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.procurement-transfer-history__subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.procurement-transfer-history__body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.1rem;
}

.procurement-transfer-history__body .timeline-item__message {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #334155;
}

@media (prefers-reduced-motion: reduce) {
  .edit-auth-push {
    transition: none;
  }
}


/* Transport supplier form — fleet tags, policy, tariffs, annex */
.transport-tariffs-currency {
  margin: 0;
}
.transport-fleet__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.transport-fleet-preset {
  border: 1px solid var(--border-color, #d0d5dd);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.transport-fleet-preset:hover {
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
}
.transport-fleet__add-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.transport-fleet__add-row .airline-form-control {
  flex: 1;
}
.transport-fleet__tag {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.transport-fleet__tag-label {
  font-weight: 600;
}
.transport-fleet__tag-actions {
  display: flex;
  gap: 0.25rem;
}
.transport-fleet__thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.transport-fleet__thumb {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border-color, #e5e7eb);
  color: inherit;
  text-decoration: none;
}
.transport-fleet__thumb--pending {
  opacity: 0.7;
}
.transport-fleet__empty {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.75;
}
.transport-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.transport-policy__current {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.transport-policy__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.transport-tariffs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.transport-tariffs__rows {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.transport-tariffs__head,
.transport-tariff-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
}
.transport-tariffs__head {
  margin-bottom: 0.15rem;
}
.transport-tariffs__col {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #5a7282);
}
.transport-tariff-row__range {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.transport-tariff-row__view,
.transport-tariff-row__edit {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.transport-tariff-row__view[hidden],
.transport-tariff-row__edit[hidden] {
  display: none !important;
}
.transport-tariff-row__badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 7.25rem;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 22%, #d8dee6);
  background: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 8%, #fff);
  color: var(--hotel-form-stepper-teal, #0e7490);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.transport-tariff-row__badge-label {
  flex: 1 1 auto;
  text-align: center;
}
.transport-tariff-row__badge-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  opacity: 0.85;
  transition:
    opacity 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.transport-tariff-row__badge:not(.transport-tariff-row__badge--editing):hover:not(:disabled),
.transport-tariff-row__badge:not(.transport-tariff-row__badge--editing):focus-visible:not(:disabled) {
  border-color: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 45%, #d8dee6);
  background: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 16%, #fff);
  color: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 86%, #000);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 16%, transparent);
  outline: none;
}
.transport-tariff-row__badge:not(.transport-tariff-row__badge--editing):hover:not(:disabled) .transport-tariff-row__badge-icon,
.transport-tariff-row__badge:not(.transport-tariff-row__badge--editing):focus-visible:not(:disabled) .transport-tariff-row__badge-icon {
  opacity: 1;
  color: var(--hotel-form-stepper-teal, #0e7490);
  transform: scale(1.08);
}
.transport-tariff-row__badge:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.transport-tariff-row__badge--editing {
  cursor: default;
  padding: 0.35rem 0.45rem 0.35rem 0.65rem;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 28%, #d8dee6);
  background: #fff;
  color: var(--hotel-form-stepper-teal, #0e7490);
}
.transport-tariff-row__badge-fields {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
}
.transport-tariff-row__pax {
  width: 2.6rem;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0.1rem;
  border: 0;
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 8%, #fff);
  color: inherit;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.transport-tariff-row__pax::-webkit-outer-spin-button,
.transport-tariff-row__pax::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.transport-tariff-row__pax:focus {
  outline: none;
  background: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 8%, #fff);
}
.transport-tariff-row__pax:disabled {
  opacity: 0.65;
}
.transport-tariff-row__sep,
.transport-tariff-row__unit {
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0.9;
}
.transport-tariff-row__badge-save {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.transport-tariff-row__badge-save .transport-tariff-row__badge-icon {
  opacity: 0.9;
}
.transport-tariff-row__badge-save:hover:not(:disabled),
.transport-tariff-row__badge-save:focus-visible:not(:disabled),
.transport-tariff-row__badge-save.is-active:not(:disabled) {
  background: color-mix(in srgb, var(--hotel-form-stepper-teal, #0e7490) 12%, #fff);
  color: var(--hotel-form-stepper-teal, #0e7490);
  outline: none;
}
.transport-tariff-row__badge-save:hover:not(:disabled) .transport-tariff-row__badge-icon,
.transport-tariff-row__badge-save:focus-visible:not(:disabled) .transport-tariff-row__badge-icon,
.transport-tariff-row__badge-save.is-active:not(:disabled) .transport-tariff-row__badge-icon {
  opacity: 1;
  color: var(--hotel-form-stepper-teal, #0e7490);
  transform: scale(1.08);
}
.transport-tariff-row__badge-save:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.transport-tariff-row__badge[data-tooltip],
.transport-tariff-row__badge-save[data-tooltip] {
  position: relative;
}
.transport-tariff-row__badge[data-tooltip]::before,
.transport-tariff-row__badge-save[data-tooltip]::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.15rem);
  transform: translateX(-50%);
  z-index: 21;
  border: 5px solid transparent;
  border-top-color: #1f2937;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.transport-tariff-row__badge[data-tooltip]::after,
.transport-tariff-row__badge-save[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  transform: translateX(-50%);
  z-index: 20;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  background: #1f2937;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}
.transport-tariff-row__badge[data-tooltip]:hover::before,
.transport-tariff-row__badge[data-tooltip]:focus-visible::before,
.transport-tariff-row__badge[data-tooltip]:hover::after,
.transport-tariff-row__badge[data-tooltip]:focus-visible::after,
.transport-tariff-row__badge-save[data-tooltip]:hover::before,
.transport-tariff-row__badge-save[data-tooltip]:focus-visible::before,
.transport-tariff-row__badge-save[data-tooltip]:hover::after,
.transport-tariff-row__badge-save[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}
.transport-tariff-row__price-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.transport-tariff-row__price {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 16rem;
}
.transport-tariff-row__price .currency-money-field__usd {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}
.transport-tariff-row__action-btn {
  flex-shrink: 0;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.55rem;
  color: var(--text-muted, #5a7282);
  border: 1px solid color-mix(in srgb, var(--text-muted, #5a7282) 35%, #fff);
  background: #fff;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.transport-tariff-row__action-btn i {
  transition: color 0.15s ease, transform 0.15s ease;
}
.transport-tariff-row__remove:hover:not(:disabled),
.transport-tariff-row__remove:focus-visible:not(:disabled) {
  color: #b42318;
  border-color: color-mix(in srgb, #b42318 45%, #fff);
  background: color-mix(in srgb, #b42318 8%, #fff);
  outline: none;
}
.transport-tariff-row__action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.transport-tariffs__footer {
  margin-top: 0.35rem;
}
.transport-tariffs__footer [data-tariff-add]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .transport-tariffs__head,
  .transport-tariff-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .transport-tariffs__col--price {
    display: none;
  }
  .transport-tariff-row__range {
    justify-self: start;
  }
  .transport-tariff-row__price {
    max-width: none;
  }
}
.transport-annex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.transport-annex__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.file-preview-modal {
  z-index: 1300;
}

.file-preview-modal__dialog {
  width: min(960px, calc(100vw - 2rem));
  max-height: min(92vh, calc(100dvh - 2rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.file-preview-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.file-preview-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  word-break: break-word;
}

.file-preview-modal__body {
  flex: 1 1 auto;
  min-height: min(60vh, 28rem);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #fff;
}

.file-preview-modal__status {
  margin: auto;
  padding: 1.5rem;
  color: #334155;
  text-align: center;
}

.file-preview-modal__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(60vh, 28rem);
  padding: 2rem 1.5rem;
  background: #fff;
}

.file-preview-modal__loading .app-loading {
  margin: 0 auto;
}

.file-preview-modal__frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: min(70vh, 40rem);
  border: 0;
  background: #fff;
}

.file-preview-modal__pdf {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: min(70vh, 40rem);
}

.file-preview-modal__pdf-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-height: min(78vh, 48rem);
  overflow: auto;
  padding: 0.5rem;
  background: #f1f5f9;
}

.file-preview-modal__pdf-page {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.file-preview-modal__image {
  display: block;
  max-width: 100%;
  max-height: min(75vh, 44rem);
  margin: auto;
  object-fit: contain;
}

.file-preview-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.file-preview-modal__open-link {
  color: #2563eb;
  font-size: 0.875rem;
  text-decoration: underline;
}

.file-preview-modal__open-link:hover {
  color: #1d4ed8;
}

@media (prefers-reduced-motion: reduce) {
  .file-preview-modal,
  .file-preview-modal .modal__dialog {
    transition: none;
  }
}

/* Fixed procurement-transfer dock — bottom-right; lifts above wizard sticky bars. */
.pt-dock {
  position: fixed;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  z-index: 100060;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
  transition: bottom 0.2s ease;
}

@media (max-width: 1280px) {
  .pt-dock {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Hotel / transport / airline create-edit sticky footer — keep FAB clear of the bar. */
body:has(.hotel-form-sticky-bar) .pt-dock,
#app-root:has(.hotel-form-sticky-bar) .pt-dock {
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

body:has(.hotel-form-sticky-bar) .pt-dock__panel,
#app-root:has(.hotel-form-sticky-bar) .pt-dock__panel {
  max-height: min(28rem, calc(100vh - 11rem));
}

.pt-dock__fab {
  pointer-events: auto;
  position: relative;
  width: 3.35rem;
  height: 3.35rem;
  border: none;
  border-radius: 999px;
  background: var(--color-primary, #1592b3);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 40, 60, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pt-dock__fab:hover {
  filter: brightness(1.05);
}

.pt-dock__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  border: 2px solid #fff;
}

.pt-dock__panel {
  pointer-events: auto;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(28rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 40, 60, 0.22);
  border: 1px solid rgba(21, 146, 179, 0.22);
  background: #fff;
}

.pt-dock__head,
.pt-dock__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.pt-dock__head {
  border-bottom: 1px solid rgba(15, 40, 60, 0.08);
}

.pt-dock__foot {
  border-top: 1px solid rgba(15, 40, 60, 0.08);
}

.pt-dock__head h3 {
  margin: 0;
  font-size: 1rem;
  color: #15303f;
}

.pt-dock__subtitle,
.pt-dock__hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.pt-dock__head-main {
  min-width: 0;
  flex: 1;
}

.pt-dock__filter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: #475569;
}

.pt-dock__filter select {
  width: 100%;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(15, 40, 60, 0.16);
  border-radius: 0.35rem;
  background: #fff;
  color: #15303f;
  font-size: 0.82rem;
}

.pt-dock__minimize {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.pt-dock__minimize:hover {
  background: rgba(148, 163, 184, 0.15);
}

.pt-dock__body {
  padding: 0.75rem 1rem;
  overflow: auto;
  flex: 1;
}

.pt-dock__empty-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #15303f;
}

.pt-dock__empty-text {
  margin: 0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.pt-dock__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 40, 60, 0.08);
}

.pt-dock__item:last-child {
  border-bottom: none;
}

.pt-dock__item-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.pt-dock__item-main strong {
  color: #15303f;
  font-size: 0.92rem;
}

.pt-dock__item-main span {
  font-size: 0.8rem;
  color: #64748b;
}

.pt-dock__item-note {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.pt-dock__section {
  margin: 0 0 0.75rem;
}

.pt-dock__section:last-child {
  margin-bottom: 0;
}

.pt-dock__section-title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.pt-dock__item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.pt-dock__status {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pt-dock__status--rejected {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.12);
}

.pt-dock__status--approved {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
}

.pt-dock__status--pending {
  color: #92400e;
  background: rgba(245, 158, 11, 0.16);
}

.pt-dock__item--history .pt-dock__item-main span {
  display: block;
}

.pt-dock__item--clickable {
  cursor: pointer;
  border-radius: 0.35rem;
  margin: 0 -0.35rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  transition: background 0.12s ease;
}

.pt-dock__item--clickable:hover,
.pt-dock__item--clickable:focus-visible {
  background: rgba(21, 146, 179, 0.08);
  outline: none;
}

.pt-dock__item-chevron {
  color: #94a3b8;
  align-self: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pt-detail-catalog-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pt-detail-catalog-link:hover {
  color: #115e59;
}

.inbox-detail__bounce {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(185, 28, 28, 0.45);
  border-radius: 0.4rem;
  background: rgba(254, 226, 226, 0.85);
  color: #7f1d1d;
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Push toasts stay bottom-right; dock FAB is on the left so no need to lift above it. */
.edit-auth-push-root {
  bottom: 1rem;
}

/* Catalog entity change history (hotel / airline / transport detail) */
.catalog-history-list-host {
  min-height: 4rem;
}

.catalog-history-timeline {
  max-height: min(70vh, 36rem);
  overflow: auto;
  padding-right: 0.35rem;
}

.catalog-history-type {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.catalog-history-type--created {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.catalog-history-type--updated {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.catalog-history-type--deleted {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.catalog-history-actor {
  margin: 0.35rem 0 0;
  color: #334155;
}

.catalog-history-fields-summary {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.catalog-history-summary {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: #64748b;
}

.catalog-history-no-detail {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
}

.catalog-history-changes-wrap {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.catalog-history-changes-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.catalog-history-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.catalog-history-change {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.84rem;
  color: #334155;
}

.catalog-history-change__field {
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

.catalog-history-change__values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.catalog-history-change__from,
.catalog-history-change__to {
  word-break: break-word;
  max-width: 100%;
}

.catalog-history-change__from {
  text-decoration: line-through;
  color: #64748b;
}

.catalog-history-change__to {
  font-weight: 600;
  color: #0f172a;
}

.catalog-history-change i {
  font-size: 0.7rem;
  color: #64748b;
}

@media (max-width: 720px) {
  .catalog-history-change {
    grid-template-columns: 1fr;
  }
}
