/* Working cabinets and the two customer surfaces use local theme tokens. */
:where(.work-cabinet-refresh,.customer-bookings-refresh,.customer-menu-refresh) {
  --cabinet-ink: #101d37;
  --cabinet-muted: #455a77;
  --cabinet-line: #dbe5f2;
  --cabinet-surface: #fff;
  --cabinet-soft: #f0f6fd;
  --cabinet-blue: #0756cc;
  --cabinet-action: linear-gradient(135deg, #0879ed, #144bc4);
  --cabinet-shadow: 0 8px 26px #173b7310;
}
body:is(.work-cabinet-refresh,.customer-bookings-refresh) {
  color: var(--cabinet-ink);
  background: radial-gradient(ellipse at 95% 0, #d7e8ff, transparent 36rem), #f2f7fd;
}
.work-cabinet-refresh :is(.vector-header,.bottom-nav) {
  color: var(--cabinet-ink);
  background: #f9fcffef;
  border-color: var(--cabinet-line);
  box-shadow: var(--cabinet-shadow);
}
.work-cabinet-refresh .vector-header {
  gap: 10px;
}
.work-cabinet-refresh .vector-brand-mark {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 15px;
}
.work-cabinet-refresh .header-icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--cabinet-surface);
  color: var(--cabinet-ink);
  border: 1px solid var(--cabinet-line);
  border-radius: 15px;
}
.work-cabinet-refresh .header-icon-button.active {
  background: var(--cabinet-action);
  color: #fff;
}
.work-cabinet-refresh .role-ribbon {
  color: var(--cabinet-muted);
  background: transparent;
  border: 0;
}
.work-cabinet-refresh :is(.surface-card,.booking-disclosure,.booking-detail-card,.metric-card,.accounting-tile,.hotel-listing-card,.provider-row),
.customer-bookings-refresh :is(.booking-detail-card,.closed-bookings,.customer-hotel-reservation) {
  color: var(--cabinet-ink);
  background: var(--cabinet-surface);
  border: 1px solid var(--cabinet-line);
  border-radius: 20px;
  box-shadow: var(--cabinet-shadow);
  min-width: 0;
}
.work-cabinet-refresh .vector-main :is(h1,h2,h3,h4,dd),
.customer-bookings-refresh :is(h1,h2,h3) {
  color: var(--cabinet-ink);
  overflow-wrap: anywhere;
}
.work-cabinet-refresh .vector-main :is(p,small,label,dd),
.customer-bookings-refresh .booking-detail-card :is(small,strong,blockquote) {
  overflow-wrap: anywhere;
}
.work-cabinet-refresh .vector-main :is(label > span,.muted,.section-head small,.metric-card > small,.metric-card > p),
.customer-bookings-refresh .booking-detail-card :is(small,.booking-provider-name) {
  color: var(--cabinet-muted);
}
.work-cabinet-refresh .vector-main :is(input,select,textarea):not([type=checkbox],[type=radio],[type=range],[type=color]) {
  min-width: 0;
  max-width: 100%;
  border-color: #c5d4e8;
  background-color: #fff;
}
.work-cabinet-refresh :is(.primary-button,.bottom-nav button.active),
.customer-bookings-refresh .primary-button {
  background: var(--cabinet-action);
  color: #fff;
  border-color: transparent;
}
.work-cabinet-refresh .bottom-nav button,
.customer-bookings-refresh .bottom-nav button {
  min-width: 0;
}
.work-cabinet-refresh .bottom-nav small,
.customer-bookings-refresh .bottom-nav small {
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.work-cabinet-refresh .secondary-button,
.customer-bookings-refresh :is(.secondary-button,.customer-hotel-reservation) {
  background: var(--cabinet-soft);
  border-color: var(--cabinet-line);
  color: var(--cabinet-ink);
}
.work-cabinet-refresh :is(.primary-button,.secondary-button,.danger-button),
.customer-bookings-refresh :is(.primary-button,.secondary-button) {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.work-cabinet-refresh :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible,
.customer-bookings-refresh :is(button,a,summary):focus-visible,
.customer-menu-refresh :is(button,a):focus-visible {
  outline: 2px solid #005cc7;
  outline-offset: 2px;
}
.work-cabinet-refresh .metric-grid-four {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
.work-cabinet-refresh .metric-card,
.work-cabinet-refresh .accounting-tile {
  min-height: 112px;
  gap: 4px;
  padding: 14px;
}
.work-cabinet-refresh .metric-card > strong {
  margin: 0;
  font-size: clamp(1.27rem,3vw,1.65rem);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.work-cabinet-refresh .metric-card .metric-icon {
  border-radius: 12px;
}
.work-cabinet-refresh .metric-card > small,
.work-cabinet-refresh .metric-card > p {
  font-size: .82rem;
}
.work-cabinet-refresh .hotel-dashboard-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 128px;
  margin-bottom: 14px;
  padding: clamp(16px,4vw,26px);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg,#093872,#177ccd 74%,#338fc5);
}
.work-cabinet-refresh .hotel-dashboard-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.work-cabinet-refresh .hotel-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#051c43ed,#092c6a66);
}
.work-cabinet-refresh .hotel-dashboard-hero h2 {
  margin: 2px 0;
  color: inherit;
  font-size: clamp(1.15rem,4vw,1.65rem);
}
.work-cabinet-refresh .hotel-recent-row,
.work-cabinet-refresh .hotel-booking-row > summary,
.customer-bookings-refresh .customer-hotel-reservation {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  justify-items: start;
  gap: 8px 14px;
  padding: 13px;
  text-align: left;
  min-width: 0;
  width: 100%;
}
.work-cabinet-refresh .hotel-recent-row > span,
.work-cabinet-refresh .hotel-booking-title,
.customer-bookings-refresh .customer-hotel-reservation > :is(.customer-hotel-name,.customer-hotel-dates,.customer-hotel-summary) {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.work-cabinet-refresh .hotel-booking-row > summary .status-pill,
.customer-bookings-refresh .customer-hotel-reservation .status-pill {
  justify-self: start;
  white-space: normal;
}
.work-cabinet-refresh .hotel-booking-amount,
.customer-bookings-refresh .customer-hotel-amount {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  justify-self: end;
}
.work-cabinet-refresh .hotel-listing-card {
  overflow: hidden;
}
.work-cabinet-refresh .hotel-listing-card-media {
  background: #e9f3ff;
  border-radius: 15px;
}
.work-cabinet-refresh .hotel-listing-card-body {
  min-width: 0;
}
.work-cabinet-refresh .hotel-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-block: 6px;
}
.work-cabinet-refresh .hotel-listing-meta > span {
  padding: 3px 8px;
  border-radius: 9px;
  background: #edf4fe;
  color: var(--cabinet-muted);
  font-size: .82rem;
}
.work-cabinet-refresh .hotel-stats {
  gap: 10px;
}
.work-cabinet-refresh .hotel-stats > div {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--cabinet-line);
  border-radius: 14px;
  background: var(--cabinet-soft);
}
.work-cabinet-refresh .hotel-stats dd {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.work-cabinet-refresh .hotel-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
  color: var(--cabinet-muted);
}
.work-cabinet-refresh .hotel-calendar-legend li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .83rem;
}
.work-cabinet-refresh .hotel-calendar-legend li::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--state-bg);
  border: 1px solid currentColor;
}
.work-cabinet-refresh :is(.hotel-segment,.hotel-free,.hotel-calendar-legend li) {
  --state-bg: #e7eef7;
  --state-text: #304664;
  color: var(--state-text);
}
.work-cabinet-refresh :is(.hotel-segment,.hotel-free) {
  background: var(--state-bg);
  border: 1px solid color-mix(in srgb,var(--state-text) 20%, transparent);
  border-radius: 9px;
  min-height: 44px;
  width: 100%;
}
.work-cabinet-refresh :is(.hotel-free,.legend-free) { --state-bg:#dcf5e8; --state-text:#126045; }
.work-cabinet-refresh :is(.kind-booking,.legend-booking) { --state-bg:#d8ebff; --state-text:#134f94; }
.work-cabinet-refresh :is(.kind-pending,.kind-hold,.legend-pending) { --state-bg:#fff0dc; --state-text:#75440d; }
.work-cabinet-refresh :is(.kind-proposal,.legend-proposal) { --state-bg:#ede6ff; --state-text:#553191; }
.work-cabinet-refresh :is(.kind-block,.kind-external,.legend-block,.legend-external) { --state-bg:#f3e6eb; --state-text:#743355; }
.work-cabinet-refresh .hotel-calendar-scroll {
  max-width: 100%;
  border: 1px solid var(--cabinet-line);
  border-radius: 15px;
  overscroll-behavior-inline: contain;
}
.work-cabinet-refresh .hotel-calendar-table :is(th,td) {
  background-color: #fff;
  border-color: var(--cabinet-line);
}
.work-cabinet-refresh .hotel-calendar-table th {
  background-color: #f2f7fd;
}
.work-cabinet-refresh .hotel-calendar-table th small {
  display: block;
  color: var(--cabinet-muted);
  font-weight: 500;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 3px 3px 8px;
  scroll-padding: 3px;
  overscroll-behavior-inline: contain;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button {
  flex: 1 0 auto;
  min-height: 48px;
  height: auto;
  padding: 7px 11px;
  gap: 8px;
  border-radius: 13px;
  background: #f9fcff;
  border: 1px solid var(--cabinet-line);
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button span {
  color: #334a6b;
  font-size: .85rem;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button strong {
  width: auto;
  min-width: 26px;
  height: auto;
  min-height: 25px;
  padding: 2px 5px;
  border-radius: 8px;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button.active {
  background: var(--cabinet-action);
  border-color: transparent;
  color: #fff;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button.active span {
  color: #fff;
}
:is(.work-cabinet-refresh,.customer-bookings-refresh) .booking-tab-grid button.active strong {
  background: #fff;
  color: #114cae;
}
.customer-bookings-refresh .booking-detail-card {
  overflow: hidden;
  padding: clamp(13px,3.5vw,20px);
}
.customer-bookings-refresh .customer-reservation-image {
  display: block;
  width: 100%;
  aspect-ratio: 3/1.15;
  max-height: 230px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 13px;
}
.customer-bookings-refresh .booking-detail-card :is(.booking-schedule-highlight,.booking-facts > span,.booking-finance,.provider-comment) {
  border-color: var(--cabinet-line);
  background-color: var(--cabinet-soft);
  border-radius: 12px;
}
.customer-bookings-refresh .booking-detail-card :is(.booking-facts,.booking-finance) {
  min-width: 0;
}
.customer-bookings-refresh .customer-hotel-reservations {
  display: grid;
  gap: 10px;
  margin-block: 16px;
}
.customer-bookings-refresh .customer-hotel-reservation {
  min-height: 78px;
  background: #fff;
}
.customer-bookings-refresh .customer-hotel-reservation > .customer-hotel-amount {
  align-self: end;
}
.customer-menu-refresh :is(.side-menu,aside.side-menu) {
  width: min(400px,94vw);
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) 14px;
  color: var(--cabinet-ink);
  background: linear-gradient(154deg,#d7ecff 1%,#f8fbff 26%);
  border-color: var(--cabinet-line);
}
.customer-menu-refresh .side-menu-shade {
  background: #091b37a1;
}
.customer-menu-refresh .side-menu > header {
  align-items: center;
  padding: 0 0 11px;
}
.customer-menu-refresh .side-menu > header :is(button,a) {
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--cabinet-ink);
  background: #ffffffdf;
}
.customer-menu-refresh .side-menu .customer-menu-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.customer-menu-refresh .customer-menu-brand img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  background: white;
  border-radius: 13px;
}
.customer-menu-refresh .customer-menu-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  min-height: 50px;
  text-align: left;
  border: 0;
  border-radius: 13px;
  color: var(--cabinet-ink);
  background: #edf6ff;
}
.customer-menu-refresh .customer-menu-profile img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.customer-menu-refresh .customer-menu-profile span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.customer-menu-refresh .side-menu .side-menu-links {
  overflow: visible;
  flex: none;
  gap: 3px;
  padding: 9px 0;
}
.customer-menu-refresh .side-menu :is(.side-menu-links,.side-menu-footer) :is(button,a) {
  min-height: 44px;
  padding: 5px 8px;
  color: var(--cabinet-ink);
  background: transparent;
  border: 0;
  font-size: .92rem;
  line-height: 1.26;
  overflow-wrap: anywhere;
}
.customer-menu-refresh .side-menu :is(.side-menu-links,.side-menu-footer) :is(button,a):is(:hover,:focus-visible,.active) {
  background: #e8f2ff;
}
.customer-menu-refresh :is(.side-menu-links,.side-menu-footer) svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 7px;
  border-radius: 10px;
  background: #e1effd;
  color: #1455ad;
}
.customer-menu-refresh .side-menu-footer {
  margin-top: 7px;
  padding-top: 6px;
}
@media (max-width: 700px) {
  .work-cabinet-refresh .metric-grid-four {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 360px) {
  .work-cabinet-refresh .header-actions { gap: 5px; }
  .work-cabinet-refresh .vector-brand-mark { width: 44px; height: 44px; }
  .work-cabinet-refresh .vector-brand { gap: 6px; }
  .work-cabinet-refresh .hotel-booking-row > summary,
  .customer-bookings-refresh .customer-hotel-reservation {
    grid-template-columns: minmax(0,1fr);
  }
  .work-cabinet-refresh .hotel-booking-amount,
  .customer-bookings-refresh .customer-hotel-amount { justify-self: start; }
}
.customer-bookings-refresh .customer-hotel-reservation {
  grid-template-columns: minmax(0,1fr) auto;
}
.customer-bookings-refresh .customer-hotel-name strong {
  font-size: 1.1rem;
  line-height: 1.25;
}
.customer-bookings-refresh .customer-hotel-reservation .status-pill {
  justify-self: end;
  max-width: 12em;
  font-size: .75rem;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}
.customer-bookings-refresh .customer-hotel-reservation .customer-hotel-dates {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.customer-bookings-refresh .customer-hotel-dates > span {
  display: grid;
  gap: 2px;
  min-width: 82px;
}
.customer-bookings-refresh :is(.customer-hotel-name,.customer-hotel-dates,.customer-hotel-summary) small {
  color: var(--cabinet-muted);
}
.customer-bookings-refresh .customer-hotel-amount {
  justify-self: end;
  align-self: end;
}
.work-cabinet-refresh .hotel-booking-aside {
  display: grid;
  gap: 5px;
  justify-items: end;
}
@media (max-width: 360px) {
  .customer-bookings-refresh .customer-hotel-reservation .status-pill { max-width: 10em; }
  .work-cabinet-refresh .hotel-booking-aside {
    justify-items: start;
  }
}
.work-cabinet-refresh .booking-summary {
  padding: 12px 14px;
}
.work-cabinet-refresh .booking-summary-toggle {
  min-height: 44px;
  gap: 4px;
}
.work-cabinet-refresh .booking-summary-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.work-cabinet-refresh .booking-summary-meta strong {
  color: var(--cabinet-ink);
  white-space: nowrap;
}
.work-cabinet-refresh .hotel-booking-row {
  padding: 0;
}
.work-cabinet-refresh .hotel-booking-row[open] {
  padding: 0 13px 13px;
}
.work-cabinet-refresh .hotel-booking-row[open] > summary {
  padding-inline: 0;
  border-bottom: 1px solid var(--cabinet-line);
}
.customer-bookings-refresh .booking-service-switch {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--cabinet-line);
  border-radius: 18px;
  background: var(--cabinet-surface);
}
.customer-bookings-refresh .booking-service-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 40px;
  padding-inline: 12px;
  border-radius: 14px;
  font-weight: 700;
}
.customer-bookings-refresh .booking-service-switch a[aria-current=page] {
  background: var(--cabinet-action);
  color: #fff;
}
.customer-bookings-refresh .customer-hotel-return {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}
