/* PrismTrip B2B: flight-specific components on top of ../../assets/base.css */

[hidden] {
  display: none !important;
}

/* ---------- Brand ---------- */
.brand {
  color: #fff;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand__word {
  font: 600 21px/1 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.brand__word b {
  color: var(--lavender);
  font-weight: 600;
}

/* ---------- Wallet chip (top bar) ---------- */
.wallet-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 5px 8px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-align: left;
  transition: border-color 0.3s var(--ease);
}
.wallet-chip:hover {
  border-color: #989898;
}
.wallet-chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
}
.wallet-chip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.wallet-chip__text span {
  color: var(--muted);
  font-size: 11px;
}
.wallet-chip__text strong {
  font: 600 15px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.wallet-chip__add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 13px 'Poppins', sans-serif;
}
.wallet-chip__add .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

/* ---------- Airline logo tile ---------- */
.al-logo {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--al);
  color: #fff;
  font: 600 13px/1 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}
.al-logo.sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 11px;
}

/* ---------- Search form ---------- */
.qs {
  padding: 18px 20px 20px;
}
.qs__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.qs__top .spacer {
  flex: 1;
}
.fare-type {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fare-type label {
  position: relative;
}
.fare-type input {
  position: absolute;
  opacity: 0;
}
.fare-type span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.fare-type input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.fare-type input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.qs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.qs__row + .qs__row {
  margin-top: 10px;
}
.qs__pair {
  position: relative;
  display: grid;
  grid-column: span 2;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qbox {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  min-height: 66px; /* every box, and the Search button, is the same height */
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: text;
  transition: border-color 0.3s var(--ease);
}
.qbox:hover {
  border-color: #cfcfcf;
}
.qbox:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.qbox__lab {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}
.qbox input,
.qbox select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  outline: none;
  font: 600 18px/22px 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}
.qbox input::placeholder {
  color: #a3a3a3;
  font-weight: 500;
}
/* Date boxes open PrismTrip's calendar */
.qbox--date {
  cursor: pointer;
  user-select: none;
}
.qbox--date:focus-visible,
.qbox--date[aria-expanded='true'] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: none;
}

/* ---------- Calendar popover (two months, range for round trips) ---------- */
.cal {
  position: absolute;
  z-index: 80;
  width: 660px;
  padding: 16px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-pop);
  animation: cal-in 0.25s var(--ease);
}
@keyframes cal-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.cal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cal__tab {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.cal__tab span,
.cal__head--one span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.cal__tab b,
.cal__head--one b {
  font: 600 15px 'Poppins', sans-serif;
}
.cal__tab.is-on {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.cal__arrow .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.cal__head--one {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.cal__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cal__nav {
  position: absolute;
  top: -3px;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.cal__nav:hover:not(:disabled) {
  border-color: var(--ink);
}
.cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal__nav .icon {
  width: 16px;
  height: 16px;
}
.cal__nav--prev {
  left: 0;
}
.cal__nav--next {
  right: 0;
}
.cal__title {
  display: block;
  margin-bottom: 10px;
  font: 600 15px/28px 'Poppins', sans-serif;
  text-align: center;
}
.cal__wk,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal__wk span {
  padding: 4px 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.cal__grid {
  row-gap: 2px;
}
.cal__d {
  position: relative;
  z-index: 0;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
/* the day's tile, under the number */
.cal__d::before {
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 10px;
  content: '';
  transition: background-color 0.2s var(--ease);
}
.cal__d:hover:not(:disabled)::before {
  background: var(--surface);
}
.cal__d:focus-visible {
  outline: none;
}
.cal__d:focus-visible::before {
  box-shadow: 0 0 0 2px var(--primary);
}
.cal__d:disabled {
  color: #c9c9c9;
  cursor: default;
}
.cal__d.is-today::after {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  content: '';
  transform: translateX(-50%);
}
/* range: a soft band between the two days, solid tiles on the ends */
.cal__d.is-in {
  background: var(--primary-soft);
}
.cal__d.band-r {
  background: linear-gradient(to right, transparent 50%, var(--primary-soft) 50%);
}
.cal__d.band-l {
  background: linear-gradient(to left, transparent 50%, var(--primary-soft) 50%);
}
.cal__d.band-r.band-l {
  background: none;
}
.cal__d.is-start,
.cal__d.is-end {
  color: #fff;
  font-weight: 600;
}
.cal__d.is-start::before,
.cal__d.is-end::before,
.cal__d.is-start:hover::before,
.cal__d.is-end:hover::before {
  background: var(--primary);
}
.cal__d.is-start.is-today::after,
.cal__d.is-end.is-today::after {
  background: #fff;
}
.cal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}
.cal__foot > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cal__foot > span > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.cal__foot b {
  color: var(--ink);
  font-weight: 600;
}
.cal__foot .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.cal__foot .link .icon {
  width: 15px;
  height: 15px;
}
.cal-back {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(16, 16, 16, 0.4);
  animation: cal-fade 0.25s var(--ease);
}
@keyframes cal-fade {
  from {
    opacity: 0;
  }
}
/* Phones: a bottom sheet with the months stacked */
@media (max-width: 720px) {
  .cal {
    position: fixed;
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0 !important;
    width: auto;
    max-height: 88vh;
    padding: 16px 16px 0;
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    animation: cal-up 0.35s var(--ease);
  }
  @keyframes cal-up {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
  }
  .cal__body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cal__d {
    height: 44px;
  }
  .cal__foot {
    position: sticky;
    bottom: 0;
    margin: 12px -16px 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
  }
}
.qbox__sub {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
button.qbox {
  cursor: pointer;
}
.qbox__val {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  font: 600 16px/22px 'Poppins', sans-serif;
  white-space: nowrap;
}
/* One-way: the Return box is an invitation, not a greyed-out date */
.qbox.is-off {
  border-style: dashed;
}
.qbox.is-off .qbox__val {
  color: var(--primary);
  font-size: 15px;
}
.qbox.is-off .qbox__val .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}
.qbox.is-off .qbox__sub {
  color: var(--muted);
}
.swap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s var(--ease);
}
.swap:hover {
  border-color: var(--ink);
  transform: translate(-50%, -50%) rotate(180deg);
}
.swap .icon {
  width: 16px;
  height: 16px;
}
.qs__go {
  min-width: 120px;
  height: auto;
  min-height: 66px;
  border-radius: 12px;
  font-size: 15px;
}
.qs__opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 14px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}
.qs__opts .select {
  height: 36px;
  font-size: 13px;
}
.qs__multi-add {
  margin-top: 10px;
}
.mc-leg {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) 36px;
  gap: 10px;
  align-items: center;
}
.mc-leg + .mc-leg {
  margin-top: 10px;
}
.mc-leg__n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  font: 600 12px 'Poppins', sans-serif;
}

/* Travellers popover */
.pax-wrap {
  position: relative;
}
.pax-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 320px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-pop);
  animation: drop 0.34s var(--ease);
}
.pax-pop[hidden] {
  display: none;
}
.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pax-row strong {
  display: block;
}
.pax-row span {
  color: var(--muted);
  font-size: 12px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease);
}
.stepper button:hover:not(:disabled) {
  border-color: var(--ink);
}
.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.stepper .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.stepper output {
  min-width: 18px;
  font: 600 15px 'Poppins', sans-serif;
  text-align: center;
}
.pax-pop .field {
  margin: 14px 0 12px;
}
.pax-pop .field select {
  height: 40px;
}

/* ---------- Results header & date strip ---------- */
.res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.res-head h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}
.res-head h1 .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.res-head p {
  margin-top: 2px;
  color: var(--muted);
}
.date-strip {
  display: grid;
  grid-template-columns: 40px repeat(7, minmax(0, 1fr)) 40px;
  align-items: stretch;
  overflow: hidden;
}
.date-strip > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 8px 4px;
  border-left: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.date-strip > button:first-child {
  border-left: 0;
}
.date-strip > button:hover {
  background: var(--page);
}
.date-strip span {
  color: var(--muted);
  font-size: 12px;
}
.date-strip strong {
  font: 600 14px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.date-strip .is-low strong {
  color: var(--ok);
}
.date-strip [aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.date-strip [aria-pressed='true'] span {
  color: rgba(255, 255, 255, 0.65);
}
.date-strip [aria-pressed='true'].is-low strong {
  color: var(--mint);
}
.date-strip .nav-arrow {
  color: var(--ink-2);
}

/* ---------- Results layout ---------- */
.res-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 4px;
}
.filters__head h2 {
  font-size: 17px;
}
.fsec {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.filters__head + .fsec {
  border-top: 0;
}
.fsec h3 {
  margin-bottom: 10px;
  font-size: 14px;
}
.fopt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  cursor: pointer;
}
.fopt input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  accent-color: var(--primary);
}
.fopt__name {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 8px;
}
.fopt__name em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fopt__price {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.time-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.time-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.time-tile .icon {
  color: var(--ink-2);
}
.time-tile span {
  color: var(--muted);
  font-size: 11px;
}
.time-tile[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.range {
  width: 100%;
  accent-color: var(--primary);
}
.range-lab {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.tabs--sm {
  margin-bottom: 10px;
}
.tabs--sm button {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

/* Sort cards */
.sort {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0;
  overflow: hidden;
}
.sort > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border-left: 1px solid var(--line);
  border-bottom: 3px solid transparent;
  text-align: left;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.sort > button:first-child {
  border-left: 0;
}
.sort > button:hover {
  background: var(--page);
}
.sort > button[aria-pressed='true'] {
  border-bottom-color: var(--primary);
  background: var(--primary-soft);
}
.sort span {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.sort strong {
  font: 600 17px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.sort em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.sort__view {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.view-toggle[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Streaming search progress */
.stream {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}
.stream__bar {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}
.stream__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.4s var(--ease);
}
.stream__text {
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
}
.stream.is-done .stream__bar i {
  background: var(--ok);
}

/* ---------- Flight card ---------- */
.results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fcard {
  overflow: hidden;
  animation: rise 0.7s var(--ease) backwards;
  transition:
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.fcard:hover {
  border-color: #d6d6d6;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.07);
}
.fcard__main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}
.fcard__al {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.fcard__al strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fcard__al span {
  color: var(--muted);
  font-size: 12px;
}
.leg + .leg {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.journey {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.journey__pt strong {
  display: block;
  font: 600 22px/1.15 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.journey__pt span {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.journey__pt sup {
  margin-left: 2px;
  color: var(--bad);
  font: 600 11px 'Inter', sans-serif;
}
.journey__pt--end {
  text-align: right;
}
.journey__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.journey__line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 2px;
  background: #d7d7d7;
}
.journey__line::after {
  content: '';
  position: absolute;
  right: -2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #d7d7d7;
  border-right: 2px solid #d7d7d7;
  transform: rotate(45deg);
}
.journey__line i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: #fff;
}
.journey__stops {
  font-weight: 600;
}
.journey__stops.is-direct {
  color: var(--ok);
}
.journey__stops.is-stop {
  color: var(--coral);
}
.fcard__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.fcard__price .was {
  color: var(--muted);
  font-size: 12px;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.fcard__price strong {
  font: 600 24px/1.15 'Poppins', sans-serif;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fcard__price .per {
  color: var(--muted);
  font-size: 12px;
}
.fcard__price .earn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
}
.fcard__price .btn {
  margin-top: 8px;
}
.fcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  background: #fbfbfa;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.tag .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.tag--ok {
  color: var(--ok);
}
.tag--ok .icon {
  color: var(--ok);
}
.tag--bad {
  color: var(--bad);
}
.tag--bad .icon {
  color: var(--bad);
}
.tag--warn {
  color: var(--warn);
}
.tag--warn .icon {
  color: var(--warn);
}
.fcard__foot .spacer {
  flex: 1;
}
.details-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font: 600 13px 'Poppins', sans-serif;
}
.details-btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.details-btn[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
.src {
  color: var(--muted);
  font-size: 11px;
}

/* Details panel */
.fdet {
  border-top: 1px solid var(--line);
  animation: drop 0.35s var(--ease);
}
.fdet[hidden] {
  display: none;
}
.fdet__tabs {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.fdet__tabs button {
  flex: none;
  height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.fdet__tabs button[aria-selected='true'] {
  border-color: var(--ink);
  color: var(--ink);
}
.fdet__body {
  padding: 18px 20px 20px;
}
.itin {
  display: flex;
  flex-direction: column;
}
.itin__seg {
  display: grid;
  grid-template-columns: 70px 22px minmax(0, 1fr) minmax(0, 220px);
  gap: 0 12px;
}
.itin__time {
  font: 600 15px/1.3 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.itin__time span {
  display: block;
  color: var(--muted);
  font: 400 12px 'Inter', sans-serif;
}
.itin__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.itin__rail::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  border-left: 2px dotted #cfcfcf;
}
.itin__rail i {
  position: relative;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
.itin__rail i:last-child {
  margin-top: auto;
  margin-bottom: 5px;
  background: var(--ink);
}
.itin__place strong {
  display: block;
}
.itin__place span {
  color: var(--muted);
  font-size: 12px;
}
.itin__flying {
  padding: 12px 0;
  color: var(--ink-2);
  font-size: 12px;
}
.itin__meta {
  grid-row: span 3;
  align-self: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--page);
  font-size: 12px;
}
.itin__meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0;
}
.itin__meta dt {
  color: var(--muted);
}
.itin__meta dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.layover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 12px 82px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--ink-2);
  font-size: 13px;
}
.layover .icon {
  color: var(--warn);
}
.fare-tbl {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.fare-tbl th,
.fare-tbl td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: 13px;
}
.fare-tbl th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.fare-tbl th:first-child,
.fare-tbl td:first-child {
  text-align: left;
}
.fare-tbl tfoot td {
  border-bottom: 0;
  font-weight: 600;
}
.fare-tbl .neg {
  color: var(--ok);
}
.fare-sum {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.fare-sum div {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--page);
}
.fare-sum span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.fare-sum strong {
  font: 600 17px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.fare-sum .hl {
  background: var(--ok-soft);
}
.fare-sum .hl strong {
  color: var(--ok);
}
.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rule {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.rule__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--surface);
}
.rule strong {
  display: block;
  font-size: 14px;
}
.rule p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13px;
}
.note {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

/* Skeleton */
.skel {
  height: 132px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #efefef 0, #f7f7f7 40%, #efefef 80%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Fare brand picker (drawer) ---------- */
.drawer.drawer--wide {
  width: min(560px, calc(100vw - 40px));
}
.sel-sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--page);
}
.sel-sum strong {
  display: block;
}
.sel-sum span {
  color: var(--muted);
  font-size: 12px;
}
.brands {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brandf {
  position: relative;
  display: block;
  cursor: pointer;
}
.brandf input {
  position: absolute;
  opacity: 0;
}
.brandf__box {
  display: block;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.brandf input:checked + .brandf__box {
  border-color: var(--primary);
  background: #f7f8ff;
}
.brandf input:focus-visible + .brandf__box {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.brandf__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.brandf__top strong {
  font: 600 16px 'Poppins', sans-serif;
}
.brandf__top b {
  font: 600 17px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.brandf ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.brandf li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}
.brandf li .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.brandf li.yes .icon {
  color: var(--ok);
}
.brandf li.no {
  color: var(--muted);
}
.brandf li.no .icon {
  color: var(--bad);
}
.validate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
}
.validate.is-checking {
  background: var(--primary-soft);
  color: var(--primary);
}
.spin {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Wallet drawer ---------- */
.wallet-sum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wallet-sum div {
  padding: 14px;
  border-radius: 12px;
  background: var(--page);
}
.wallet-sum span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.wallet-sum strong {
  font: 600 19px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.wallet-sum__total {
  grid-column: 1 / -1;
  background: var(--ink) !important;
  color: #fff;
}
.wallet-sum__total span {
  color: rgba(255, 255, 255, 0.6);
}
.pay-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pay-opt {
  position: relative;
  cursor: pointer;
}
.pay-opt input {
  position: absolute;
  opacity: 0;
}
.pay-opt > span {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  transition: border-color 0.3s var(--ease);
}
.pay-opt em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.pay-opt input:checked + span {
  border-color: var(--primary);
  background: #f7f8ff;
}

/* ---------- Dashboard ---------- */
.dash-search .card__head {
  padding-bottom: 0;
}
.kpi--wallet {
  background: var(--ink);
  color: #fff;
}
.kpi--wallet .kpi__label,
.kpi--wallet .kpi__foot {
  color: rgba(255, 255, 255, 0.7);
}
.kpi--wallet .kpi__icon {
  background: rgba(255, 255, 255, 0.12);
}
.credit-bar {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.credit-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--sand);
}
.holds {
  display: flex;
  flex-direction: column;
}
.hold {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.hold:first-child {
  border-top: 0;
  padding-top: 0;
}
.hold__route {
  font-weight: 600;
}
.hold__meta {
  color: var(--muted);
  font-size: 12px;
}
.hold__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.countdown.is-urgent {
  color: var(--bad);
}
.countdown.is-soon {
  color: var(--warn);
}
.countdown .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}
.route-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.route-cell strong {
  display: block;
}
.route-cell span {
  color: var(--muted);
  font-size: 12px;
}
.mono {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.top-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
}
.top-route strong {
  font-weight: 600;
}
.top-route span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.top-route .occ__track {
  grid-column: 1 / -1;
  margin-top: 0;
}
.news {
  display: flex;
  gap: 12px;
}
.news__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--tone);
}
.news strong {
  display: block;
  font-size: 14px;
}
.news p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13px;
}
.news span {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Responsive ---------- */
.filters-btn {
  display: none;
}
@media (max-width: 1280px) {
  .qs__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .qs__pair {
    grid-column: span 4;
  }
  .qs__row .pax-wrap {
    grid-column: span 1;
  }
  .qs__go {
    min-height: 66px;
  }
  .fcard__main {
    grid-template-columns: 160px minmax(0, 1fr) 190px;
  }
}
@media (max-width: 1100px) {
  .res-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: fixed;
    top: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    width: min(320px, calc(100vw - 24px));
    max-height: none;
    box-shadow: var(--shadow-pop);
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.7s var(--ease);
  }
  body.filters-open .filters {
    transform: none;
  }
  .filters-btn {
    display: inline-flex;
  }
  .fcard__main {
    grid-template-columns: minmax(0, 1fr) 190px;
  }
  .fcard__al {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1024px) {
  .wallet-chip__text span,
  .wallet-chip__add span {
    display: none;
  }
}
@media (max-width: 720px) {
  .qs__row {
    grid-template-columns: 1fr 1fr;
  }
  .qs__pair {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .swap {
    top: 50%;
    right: 14px;
    left: auto;
    transform: translateY(-50%) rotate(90deg);
  }
  .swap:hover {
    transform: translateY(-50%) rotate(270deg);
  }
  .qs__go {
    grid-column: span 2;
    min-height: 52px;
  }
  .qs__row .pax-wrap {
    grid-column: span 2;
  }
  .pax-pop {
    left: 0;
    width: auto;
  }
  .mc-leg {
    grid-template-columns: 26px 1fr 1fr;
  }
  .mc-leg > :nth-child(4) {
    grid-column: 2 / 3;
  }
  .date-strip {
    grid-template-columns: 34px repeat(5, minmax(0, 1fr)) 34px;
  }
  .date-strip > button:nth-child(2),
  .date-strip > button:nth-child(8) {
    display: none;
  }
  .sort {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sort__view {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .sort > button {
    padding: 10px 12px;
  }
  .sort strong {
    font-size: 15px;
  }
  .fcard__main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .fcard__price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .fcard__price .btn {
    margin: 0 0 0 auto;
  }
  .journey__pt strong {
    font-size: 19px;
  }
  .fcard__foot {
    padding: 10px 16px;
  }
  .itin__seg {
    grid-template-columns: 56px 22px minmax(0, 1fr);
  }
  .itin__meta {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 10px;
  }
  .layover {
    margin-left: 0;
  }
  .rules,
  .fare-sum {
    grid-template-columns: 1fr;
  }
  .pay-opts {
    grid-template-columns: 1fr;
  }
  .brandf ul {
    grid-template-columns: 1fr;
  }
  .fare-tbl-wrap {
    overflow-x: auto;
  }
  .fare-tbl {
    min-width: 520px;
  }
}

/* ---------- Notifications: bell panel and list items (agent) ---------- */
.notif-bell {
  position: relative;
}
.notif-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--bad);
  color: #fff;
  font: 700 10px/15px 'Inter', sans-serif;
  text-align: center;
}
.menu.notif-pop {
  position: fixed;
  z-index: 46;
  width: min(390px, calc(100vw - 24px));
  padding: 0;
  overflow: hidden;
}
.notif-pop__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
}
.notif-pop__head strong {
  font: 600 15px 'Poppins', sans-serif;
}
.notif-pop__head .link {
  margin-left: auto;
}
.notif-pop__head .link:disabled {
  color: var(--muted);
  cursor: default;
}
.notif-pop__list {
  max-height: min(430px, 62vh);
  overflow-y: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}
.notif-pop__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border-top: 1px solid var(--line);
  color: var(--primary);
  font: 600 13px 'Poppins', sans-serif;
}
.notif-pop__foot .icon {
  width: 15px;
  height: 15px;
}
.notif {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 34px 12px 16px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}
.notif:last-child {
  border-bottom: 0;
}
.notif:hover {
  background: #fafafa;
}
.notif.is-unread {
  background: #f7f8ff;
}
.notif.is-unread:hover {
  background: #eff1ff;
}
.notif.is-urgent {
  box-shadow: inset 3px 0 0 var(--bad);
}
.notif__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tone);
}
.notif__icon .icon {
  width: 17px;
  height: 17px;
}
.notif__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.notif__top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
/* Read and unread titles look the same; unread is shown by the tinted row and the blue dot. */
.notif__top strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.notif__top time {
  margin-left: auto;
  flex: none;
  color: var(--muted);
  font-size: 12px;
}
.notif__text {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}
.notif-pop .notif__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.notif__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--primary);
  font: 600 13px 'Poppins', sans-serif;
}
.notif__action .icon {
  width: 14px;
  height: 14px;
}
.notif__dot {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.notif.is-urgent .notif__dot {
  background: var(--bad);
}

/* Agent results: small way back to the Flights start page, and the folded search form. */
.res-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.res-back:hover {
  color: var(--ink);
}
.res-back .icon {
  width: 14px;
  height: 14px;
}
.res-form {
  animation: res-form-in 0.3s var(--ease);
}
@keyframes res-form-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Suggestion dropdown for airports and hotel destinations (replaces the browser datalist). */
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: -1px;
  z-index: 40;
  width: max(100%, 360px);
  max-height: 380px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-pop);
  cursor: default;
  animation: drop 0.3s var(--ease);
  scrollbar-width: thin;
}
.suggest__head {
  padding: 8px 10px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.suggest__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.suggest__item:hover,
.suggest__item.is-on {
  background: var(--page);
}
.suggest__item.is-on {
  box-shadow: inset 3px 0 0 var(--primary);
}
.suggest__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
}
.suggest__icon .icon {
  width: 17px;
  height: 17px;
}
.suggest__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.suggest__title {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest__sub {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest__title b,
.suggest__sub b {
  color: var(--ink);
  font-weight: 700;
}
.suggest__tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  font: 600 12px 'Poppins', sans-serif;
  white-space: nowrap;
}
.suggest__none {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13px;
}
.suggest__none .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 640px) {
  .suggest {
    width: calc(100% + 2px);
  }
}
/* The open field sits above neighbours (e.g. the hotel "3 nights" label). */
.qbox:has(> .suggest) {
  z-index: 41;
}

/* Top menu: eight products plus More. On 1280–1400px laptops tighten the spacing so More stays in view */
@media (min-width: 1241px) and (max-width: 1400px) {
  .products .prod {
    gap: 6px;
    padding: 0 10px;
  }
}

/* ---------- Empty state (shared by agent and admin) ---------- */
.emp {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 44px;
  text-align: center;
}
.emp--compact {
  padding: 24px 16px 28px;
}
.emp__art {
  width: 200px;
  height: 132px;
  margin-bottom: 14px;
}
.emp--compact .emp__art {
  width: 150px;
  height: 99px;
}
.emp-shadow {
  fill: rgba(16, 23, 48, 0.06);
}
.emp-blob {
  fill: var(--primary-soft);
}
.emp-card {
  fill: #fff;
  stroke: #dfe3ee;
  stroke-width: 1.5;
}
.emp-card--back {
  fill: #f6f7fb;
}
.emp-chip {
  fill: var(--primary-soft);
}
.emp-line {
  fill: #dfe3ee;
}
.emp-line--soft {
  fill: #eceef5;
}
.emp-spark {
  fill: none;
  stroke: #b9c3f5;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.emp-badge {
  fill: var(--primary);
  stroke: #fff;
  stroke-width: 4;
}
.emp-badge--ok {
  fill: var(--ok);
}
.emp-mark-line {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.emp__title {
  font-size: 16px;
  font-weight: 600;
}
.emp__text {
  max-width: 400px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.emp__act {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.card.emp-card-wrap {
  grid-column: 1 / -1;
}

/* Profile chip menu */
.user--btn {
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.user--btn:hover,
.user--btn[aria-expanded='true'] {
  border-color: var(--ink);
}
.user--btn .user__text {
  text-align: left;
}
.user__caret {
  width: 14px;
  height: 14px;
  margin-left: -2px;
  color: var(--muted);
}
.user-menu {
  z-index: 70;
  min-width: 210px;
}
.user-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  transition: background-color 0.2s var(--ease);
}
.user-menu a:hover {
  background: var(--surface);
}
.user-menu a .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.user-menu a.danger,
.user-menu a.danger .icon {
  color: var(--bad);
}
/* Where the name is hidden (1024px and down), the chip is just the avatar: no arrow */
@media (max-width: 1024px) {
  .user--btn .user__caret {
    display: none;
  }
  .user--btn {
    padding-right: 4px;
  }
}
