.guests-flow {
  padding-bottom: 85px;
}
.guest-tabs,
.guest-actions,
.guest-options,
.guest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.guest-tabs {
  justify-content: flex-start;
  margin-bottom: 24px;
}
.guest-tabs a {
  padding: 10px 16px;
  border-radius: 10px;
}
.guest-tabs [aria-current] {
  background: var(--ds-action-soft);
  color: var(--ds-ink);
  font-weight: 600;
}
.guest-heading {
  margin-bottom: 24px;
}
.guest-heading h1 {
  margin: 0;
}
.guest-heading p {
  color: var(--ds-muted);
}
.guest-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
}
.guest-filters label,
.guest-options label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.guests-flow input:not([type='checkbox']),
.guests-flow select,
.guest-editor input,
.guest-editor textarea {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  background: white;
  color: inherit;
  font: inherit;
}
.guest-options {
  margin: 18px 0;
}
.guest-row {
  display: grid;
  grid-template-columns: 44px 1.5fr 1fr 1fr 16px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-top: 1px solid var(--ds-line);
  color: inherit;
  text-decoration: none;
}
.guest-row:hover {
  background: var(--ds-canvas);
}
.guest-row small {
  display: block;
  color: var(--ds-muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.guest-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ds-soft);
  color: var(--ds-ink);
  font-weight: 700;
}
.guest-profile {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: start;
}
.guest-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.guest-history {
  display: grid;
  gap: 6px;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  color: inherit;
  text-decoration: none;
}
.guest-empty {
  text-align: center;
  padding: 40px 16px;
}
.guest-editor {
  max-width: 580px;
  width: calc(100% - 28px);
  max-height: 90dvh;
  overflow: auto;
}
.guests-flow :focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.guest-profile .request-card {
  min-width: 0;
}
.guest-profile p {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .guest-filters,
  .guest-profile {
    grid-template-columns: 1fr;
  }
  .guest-row {
    grid-template-columns: 40px 1fr 20px;
    gap: 10px;
  }
  .guest-row > span:nth-child(3),
  .guest-row > span:nth-child(4) {
    display: none;
  }
  .guest-heading {
    align-items: flex-start;
  }
  .guest-options {
    align-items: flex-end;
  }
  .guest-editor {
    padding: 18px;
  }
  .guest-heading h1 {
    font-size: 29px;
  }
}

.guest-options label:has([type='checkbox']) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.guest-options input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--ds-action);
}

.guest-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.guest-counts > div {
  display: grid;
  gap: 8px;
  background: white;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  padding: 18px;
}
.guest-counts small {
  color: var(--ds-muted);
}
.guest-counts strong {
  font-size: 26px;
}
@media (max-width: 700px) {
  .guest-counts {
    gap: 7px;
  }
  .guest-counts > div {
    padding: 12px 9px;
  }
  .guest-counts small {
    font-size: 11px;
  }
}

/* Reuse Flow02 filters and shared DS controls. */
.guests-flow .guest-list-options {
  justify-content: space-between;
  align-items: center;
}
.guest-list-options > [data-sort-slot] {
  width: 220px;
  min-width: 0;
}
.guests-flow .ds-multi-option {
  display: flex;
  align-items: center;
}
.guests-flow .booking-filter-sheet .ds-multi-option {
  font-size: 14px;
}
.guests-flow .ds-multi-option input[type='checkbox'] {
  width: 16px;
  height: 16px;
  padding: 0;
}
.guests-flow .booking-filters .ds-label {
  font: 680 12px/1.4 var(--ds-font);
}
/* Card header with the «…» actions menu (01.11.2026). */
.guest-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ds-space-3);
}
.guest-card-head h2 {
  margin: 0;
}
