.booking-heading {
  margin-bottom: 25px;
}
.booking-heading h1 {
  font: 760 35px/1.2 var(--ds-font);
  letter-spacing: -1px;
  margin: 0;
}
.booking-heading p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ds-muted);
  margin: 9px 0 0;
}
.booking-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.booking-counts > div {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  padding: 15px;
}
.booking-counts small {
  font-size: 12px;
  color: var(--ds-muted);
}
.booking-counts strong {
  display: block;
  font-size: 28px;
  margin-top: 6px;
}
.booking-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 17px;
}
.booking-filters label:not(.ds-multi-option) {
  font: 680 12px/1.4 var(--ds-font);
  color: var(--ds-muted);
}
.booking-filters input:not([type='checkbox']),
.booking-filters select {
  width: 100%;
  min-height: 43px;
  padding: 11px;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  background: var(--ds-paper);
  color: var(--ds-ink);
  font: 400 14px/1.4 var(--ds-font);
}
.booking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--ds-line);
  text-decoration: none;
}
.booking-row:last-child {
  border: 0;
}
.booking-row-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: var(--ds-action-soft);
  border-radius: 11px;
  color: var(--ds-action);
}
.booking-row-main {
  flex: 1;
  min-width: 0;
}
.booking-row-main > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.booking-row-main strong {
  font-size: 15px;
}
.booking-row-main small {
  font-size: 12px;
  color: var(--ds-muted);
}
.booking-row-main .booking-row-dates {
  display: block;
  font-size: 13px;
  color: var(--ds-muted);
  margin: 6px 0;
  line-height: 1.5;
}
.booking-state[data-state='pending'] {
  color: var(--ds-dashboard-pill-ink);
}
.booking-state[data-state='cancelled'],
.booking-state[data-state='rejected'] {
  color: var(--ds-danger);
}
.booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 16px;
  font-size: 13px;
}
.booking-empty {
  padding: 35px 12px;
  text-align: center;
}
.booking-shell .request-card {
  border-radius: 19px;
}
.request-stay-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr);
  padding: 15px;
  border-radius: 16px;
  background: var(--ds-dashboard-free);
  margin: 20px 0 16px;
}
.request-stay-part {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 11px 6px 5px;
}
.request-stay-part + .request-stay-part {
  border-left: 1px solid var(--ds-line);
  padding-left: 18px;
}
.request-stay-part .stay-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-action-soft);
  color: var(--ds-action);
}
.request-stay-part small {
  display: block;
  font-size: 11px;
  color: var(--ds-muted);
  margin-bottom: 5px;
}
.request-stay-part strong {
  font-size: 15px;
  display: block;
}
.request-stay-part .stay-sub {
  font-size: 12px;
  color: var(--ds-muted);
  margin-top: 4px;
  display: block;
}
.request-guest-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 0;
  border-top: 1px solid var(--ds-line);
  text-decoration: none;
}
.request-guest-link .stay-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-action-soft);
  color: var(--ds-action);
  flex-shrink: 0;
}
.request-guest-link strong,
.request-guest-link small {
  display: block;
}
.request-guest-link strong {
  font-size: 15px;
}
.request-guest-link small {
  font-size: 12px;
  margin-top: 4px;
  color: var(--ds-action);
}
.request-guest-link > .ds-icon {
  margin-left: auto;
}
.request-big-price {
  font-size: 38px;
  font-weight: 770;
  letter-spacing: -1.2px;
  margin: 5px 0 18px;
}
.request-money-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--ds-line);
  padding-top: 18px;
}
.request-money-grid small {
  display: block;
  font-size: 12px;
  color: var(--ds-muted);
  margin-bottom: 6px;
}
.request-money-grid strong {
  font-size: 20px;
}
.request-money-grid .received {
  color: var(--ds-accent);
}
.request-payment-progress {
  width: 100%;
  height: 7px;
  accent-color: var(--ds-accent);
  margin-top: 17px;
}
.request-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.request-times > div {
  padding: 14px;
  background: var(--ds-dashboard-free);
  border-radius: 11px;
}
.request-times small {
  display: block;
  font-size: 12px;
  color: var(--ds-muted);
  margin-bottom: 7px;
}
.request-guest-summary {
  font-size: 13px;
  color: var(--ds-muted);
  margin: 4px 0 0;
}
.request-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.request-section-heading .ds-icon {
  color: var(--ds-action);
}
@media (max-width: 760px) {
  .booking-heading h1 {
    font-size: 28px;
  }
  .booking-counts > div {
    padding: 10px;
  }
  .booking-counts small {
    font-size: 10px;
  }
  .booking-counts strong {
    font-size: 24px;
  }
  .booking-filters {
    grid-template-columns: 1fr;
  }
  .booking-row {
    gap: 10px;
  }
  .booking-row-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .booking-row-main strong {
    font-size: 14px;
  }
  .request-stay-summary {
    padding: 11px;
    margin: 15px 0 12px;
  }
  .request-stay-part {
    gap: 7px;
    padding: 5px;
    align-items: flex-start;
  }
  .request-stay-part + .request-stay-part {
    padding-left: 10px;
  }
  .request-stay-part .stay-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }
  .request-stay-part .stay-icon .ds-icon {
    width: 16px;
    height: 16px;
  }
  .request-stay-part small {
    font-size: 10px;
  }
  .request-stay-part strong {
    font-size: 12px;
  }
  .request-stay-part .stay-sub {
    font-size: 11px;
  }
  .request-big-price {
    font-size: 32px;
  }
  .request-money-grid strong {
    font-size: 18px;
  }
  .request-guest-link strong {
    font-size: 14px;
  }
  .request-guest-link small {
    font-size: 12px;
    line-height: 1.5;
  }
}
/* Flow02 v1.2 uses the supplied wider content grid. Shared header stays canonical. */
.request-shell .overview-body {
  max-width: 1190px;
}
.request-shell .request-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}
.request-heading h1 {
  font-size: 35px;
}
.request-card h2 {
  font-size: 19px;
}
.request-property-name {
  font-size: 17px;
  display: block;
  margin-bottom: 4px;
}
.request-big-price {
  overflow-wrap: anywhere;
}
.request-payment-progress::-webkit-progress-bar {
  background: var(--ds-line);
  border-radius: 8px;
}
.request-payment-progress::-webkit-progress-value {
  background: var(--ds-accent);
  border-radius: 8px;
}
.request-payment-progress::-moz-progress-bar {
  background: var(--ds-accent);
  border-radius: 8px;
}
@media (max-width: 760px) {
  .request-shell .request-grid {
    grid-template-columns: 1fr;
  }
  .request-heading h1 {
    font-size: 28px;
  }
  .request-card h2 {
    font-size: 17px;
  }
  .request-heading .request-return {
    flex-shrink: 0;
    max-width: 140px;
  }
}
.booking-state[data-state='proposed'],
.booking-state[data-state='agreed'] {
  color: var(--ds-accent);
}
.request-payment-progress {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  border: 0;
  border-radius: 8px;
  background: var(--ds-line);
}

.booking-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.booking-create {
  background: var(--ds-action);
  color: var(--ds-paper);
  border-color: var(--ds-action);
  white-space: nowrap;
  text-decoration: none;
}
.booking-source {
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .booking-list-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .booking-create {
    text-align: center;
  }
}
.booking-filters > div {
  min-width: 0;
}
.booking-filters .ds-label {
  font: 680 12px/1.4 var(--ds-font);
  color: var(--ds-muted);
}
.booking-filters .ds-select {
  min-height: 44px;
}
.booking-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--ds-muted);
}
.booking-filter-actions .ds-button {
  min-height: 44px;
  font-size: 12px;
}
.booking-filter-actions .ds-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.booking-filter-toggle {
  display: none;
}
.booking-filter-sheet {
  box-sizing: border-box;
  border: 1px solid var(--ds-line);
  background: var(--ds-paper);
  color: var(--ds-ink);
  border-radius: var(--ds-radius-control);
  padding: 0;
  width: min(480px, 100%);
  max-height: 90dvh;
  overflow: auto;
  font: 14px/1.5 var(--ds-font);
}
.booking-filter-sheet::backdrop {
  background: rgb(0 0 0 / 0.35);
}
.booking-filter-sheet header,
.booking-filter-sheet footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--ds-paper);
}
.booking-filter-sheet header {
  border-bottom: 1px solid var(--ds-line);
}
.booking-filter-sheet h2 {
  margin: 0;
  font-size: 20px;
}
.booking-filter-sheet header .ds-button {
  min-width: 44px;
  min-height: 44px;
}
.booking-filter-sheet-body {
  display: grid;
  gap: 18px;
  padding: 20px 16px;
}
.booking-filter-sheet footer {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--ds-line);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.booking-filter-sheet footer .ds-button {
  min-height: 44px;
}
.booking-filter-sheet [data-apply] {
  flex: 1;
}
.booking-filter-sheet [data-reset]:disabled {
  opacity: 0.45;
}
@media (max-width: 760px) {
  .booking-filters {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-bottom: 8px;
  }
  .booking-filters > [data-filter-slot],
  .booking-filter-actions {
    display: none;
  }
  .booking-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
  .booking-filter-toggle > span:first-child {
    font-size: 24px;
    line-height: 1;
  }
  .booking-filter-toggle [data-filter-badge]:not(:empty) {
    background: var(--ds-action);
    color: var(--ds-paper);
    border-radius: 99px;
    min-width: 18px;
    padding: 2px;
    font-size: 11px;
  }
  .booking-filter-sheet {
    position: fixed;
    inset: auto 0 0;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    animation: booking-filter-in var(--ds-motion-fast) ease-out;
  }
}
@keyframes booking-filter-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-filter-sheet {
    animation: none;
  }
}
