#guestRegionButton small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

html:has(.guestRegionDialog[open]) { overflow: hidden; }

.guestRegionDialog {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  max-height: min(680px, calc(100dvh - 24px));
  border: 0;
  border-radius: 16px;
  padding: 0;
  color: #16324c;
}
.guestRegionDialog::backdrop { background: #11182799; }
.guestRegionLayout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: inherit;
  background: #fff;
}
.guestRegionDialog header, .guestRegionDialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
}
.guestRegionDialog h2 { margin: 0; font-size: 18px; }
.guestRegionOptions {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 12px;
}
.guestRegionOptions > p { margin: 0 0 12px; font-size: 13px; }
.guestRegionOptions fieldset { margin: 0 0 12px; border: 0; padding: 0; min-width: 0; }
.guestRegionOptions legend { margin-bottom: 4px; font-weight: 700; }
.guestRegionOptions fieldset > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.guestRegionOptions label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #cbd9e8;
  border-radius: 8px;
  cursor: pointer;
}
.guestRegionOptions label:has(input:checked) { background: #e6f2ff; border-color: #086ad8; }
.guestRegionOptions input { margin: 0; width: 18px; height: 18px; flex: none; accent-color: #086ad8; }
.guestRegionDialog footer { border-top: 1px solid #e0e8f0; }
.guestRegionDialog button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid #bdccdc;
  padding: 6px 12px;
  background: #fff;
  color: #16324c;
  font: inherit;
  cursor: pointer;
}
.guestRegionDialog [data-region-apply] { flex: 1; border-color: #086ad8; background: #086ad8; color: #fff; font-weight: 700; }
.guestRegionDialog :focus-visible { outline: 2px solid #0754aa; outline-offset: 2px; }
