.rfp-form__card {
  background: var(--wa-color-surface-raised);
  border: 1px solid var(--wa-color-surface-border);
  border-radius: var(--wa-border-radius-l);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.rfp-form__card h2 { margin: 0 0 0.75rem; font-size: 1rem; }
.rfp-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.rfp-form__field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.75rem; }
.rfp-form__field label { font-size: 0.85rem; font-weight: 600; }
.rfp-form__hint { color: var(--wa-color-text-quiet); font-size: 0.8rem; }
.rfp-form__warning {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
  color: var(--wa-color-warning-on-quiet);
  font-size: 0.8rem;
  line-height: 1.35;
}
.rfp-form__warning[hidden] { display: none; }
.rfp-form__warning i {
  flex: none;
  margin-top: 0.1rem;
  color: var(--wa-color-warning-60);
}
.rfp-form input.rfp-form__input--warning {
  border-color: var(--wa-color-warning-border-normal);
}
.rfp-form__conflict-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: var(--wa-space-m);
  background: var(--wa-color-warning-fill-quiet);
  border: 1px solid var(--wa-color-warning-border-normal);
  border-radius: var(--wa-border-radius-m);
  color: var(--wa-color-text-normal);
  font-size: 0.9rem;
}
.rfp-form__conflict-summary[hidden] { display: none; }
.rfp-form__conflict-summary > i {
  flex: none;
  margin-top: 0.15rem;
  color: var(--wa-color-warning-60);
}
.rfp-form__conflict-summary-body { min-width: 0; }
.rfp-form__conflict-summary-body ul {
  margin: 0.35rem 0 0.5rem 1.25rem;
  padding: 0;
}
.rfp-form__conflict-summary-body p { margin: 0; }
/* HMS-840 — the Create RFP event line is context, not a control: plain text
   where a field would sit, so nothing about it invites editing. */
.rfp-form__event { margin: 0; }
.rfp-form__hotel { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; }
.rfp-form__footer { display: flex; gap: 0.75rem; justify-content: flex-end; }
.rfp-form__cancel { align-self: center; color: var(--wa-color-text-quiet); }
@media (max-width: 480px) { .rfp-form__footer { flex-wrap: wrap; } }

.rfp-form__hotel-list {
  max-height: 16rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--wa-color-neutral-20);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
}

@media (max-width: 640px) {
  .rfp-form__hotel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* RFP form page (new) — previously unstyled classes. */

/* 1. Page container. */
.rfp-form-page {
  max-width: 56rem;
}

/* 2. Page title + subtitle. */
.rfp-form-page__title {
  margin: 0;
  font-size: 1.5rem;
}
.rfp-form-page__sub {
  color: var(--wa-color-text-quiet);
  margin: 0.25rem 0 var(--wa-space-l);
}

/* 3. Validation errors banner. */
.rfp-form__errors {
  background: var(--wa-color-danger-fill-quiet);
  border: 1px solid var(--wa-color-danger-border-normal);
  border-radius: var(--wa-border-radius-m);
  padding: var(--wa-space-m);
  margin-bottom: var(--wa-space-l);
  color: var(--wa-color-danger-on-quiet);
}
.rfp-form__errors ul {
  margin: 0.25rem 0 0;
}

/* 4. Submit button (primary + secondary). */
.rfp-form__submit {
  background: var(--wa-color-brand-fill-loud);
  color: var(--wa-color-brand-on-loud);
  border: none;
  border-radius: var(--wa-border-radius-m);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.rfp-form__submit--secondary {
  background: transparent;
  color: var(--wa-color-text-normal);
  border: 1px solid var(--wa-color-surface-border);
  border-radius: var(--wa-border-radius-m);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
}

/* HMS-350 — room-type chips, concession checkboxes, and the non-<label> field
   label used above them (Figma 600:31806). */
.rfp-form__label {
  font-size: 0.85rem;
  font-weight: 600;
}
.rfp-form__fieldset { border: 0; padding: 0; margin: 0 0 0.75rem; }
.rfp-form__fieldset legend.rfp-form__label { padding: 0; }

.rfp-form__fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 0.75rem;
}

.rfp-form__fieldset legend.rfp-form__label {
  padding: 0;
}

.rfp-form__room-types-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0 0.65rem;
}

.rfp-form__room-types-toolbar .rfp-form__hint {
  margin: 0;
}

.rfp-form__add-category {
  flex: none;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--wa-color-brand-60);
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-brand-fill-loud);
  box-shadow: var(--wa-shadow-s);
  color: var(--wa-color-brand-on-loud);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.rfp-form__add-category:hover {
  background: var(--wa-color-brand-60);
}

.rfp-form__room-types-panel {
  overflow: hidden;
  margin-top: 0.65rem;
  border: 1px solid var(--wa-color-surface-border);
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-surface-raised);
}

.rfp-form__room-types-scroll {
  max-height: 21rem;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.rfp-form__room-types-scroll::-webkit-scrollbar {
  width: 0.65rem;
}

.rfp-form__room-types-scroll::-webkit-scrollbar-track {
  background: var(--wa-color-neutral-fill-quiet);
}

.rfp-form__room-types-scroll::-webkit-scrollbar-thumb {
  border: 2px solid var(--wa-color-neutral-fill-quiet);
  border-radius: 999px;
  background: var(--wa-color-neutral-border-normal);
}

.rfp-form__room-types-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.rfp-form__room-types-table th,
.rfp-form__room-types-table td {
  padding: 0.5rem 0.85rem;
  text-align: left;
}

.rfp-form__room-types-table th:first-child {
  width: calc(100% - 11.5rem);
}

.rfp-form__room-types-table th:last-child {
  width: 11.5rem;
}

.rfp-form__room-types-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--wa-color-neutral-fill-quiet);
  color: var(--wa-color-text-quiet);
  font-size: 0.78rem;
  font-weight: 700;
}

.rfp-form__room-types-table tbody td {
  border-top: 1px solid var(--wa-color-surface-border);
  vertical-align: top;
}

.rfp-form__room-main {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 11.5rem;
  gap: 0.85rem;
  min-height: 2.25rem;
}

.rfp-form__room-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.rfp-form__room-checkbox {
  flex: none;
  margin: 0.2rem 0 0;
}

.rfp-form__room-type-name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
  cursor: pointer;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked) {
  background: var(--wa-color-brand-fill-quiet);
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked) .rfp-form__room-type-name {
  font-weight: 650;
}

.rfp-form__room-type-row--flash td {
  animation: rfp-form-room-flash 2.4s ease-out;
}

@keyframes rfp-form-room-flash {
  0%, 55% { box-shadow: inset 0 0 0 2px var(--wa-color-brand-60); }
  100% { box-shadow: inset 0 0 0 0 var(--wa-color-brand-60); }
}

.rfp-form__room-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  min-width: 0;
  white-space: nowrap;
}

.rfp-form__room-qty {
  box-sizing: border-box;
  display: none;
  width: 5.5rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid var(--wa-color-neutral-20);
  border-radius: var(--wa-border-radius-m);
  font-size: 0.9rem;
}

.rfp-form__room-qty--missing,
.rfp-form__night-input--missing {
  border-color: var(--wa-color-danger-border-loud);
  background: var(--wa-color-danger-fill-quiet);
}

.rfp-form__room-qty-summary {
  display: none;
  color: var(--wa-color-text-quiet);
  font-size: 0.8rem;
  font-weight: 650;
}

.rfp-form__room-qty-dash {
  display: inline-block;
  color: var(--wa-color-text-quiet);
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked) .rfp-form__room-qty-dash {
  display: none;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked) .rfp-form__room-qty {
  display: inline-block;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked):has(.rfp-form__room-mode:checked) .rfp-form__room-qty {
  display: none;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked):has(.rfp-form__room-mode:checked) .rfp-form__room-qty-summary {
  display: inline-block;
}

.rfp-form__room-controls .form-validation__error {
  flex: 0 0 100%;
  font-size: 0.75rem;
  text-align: right;
  white-space: normal;
}

.rfp-form__nightly-grid {
  display: none;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
  max-width: none;
  overflow-x: auto;
  padding: 0.1rem 0 0.25rem;
  width: 100%;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked):has(.rfp-form__room-mode:checked) .rfp-form__nightly-grid {
  display: flex;
}

.rfp-form__nightly-grid[hidden] {
  display: none !important;
}

.rfp-form__night-field {
  flex: 0 0 4.1rem;
}

.rfp-form__room-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid var(--wa-color-surface-border);
  background: var(--wa-color-surface-raised);
  font-size: 0.9rem;
}

.rfp-form__room-status {
  flex: none;
  max-width: 65%;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
}

.rfp-form__room-status--warning {
  background: var(--wa-color-warning-fill-quiet);
  color: var(--wa-color-warning-on-quiet);
}

.rfp-form__room-status--success {
  background: var(--wa-color-success-fill-quiet);
  color: var(--wa-color-success-on-quiet);
}

.rfp-form__room-status[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .rfp-form__room-types-toolbar,
  .rfp-form__room-total-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .rfp-form__room-status {
    max-width: 100%;
  }

  .rfp-form__room-main {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .rfp-form__room-controls {
    justify-content: flex-start;
    padding-left: 1.55rem;
  }
}

.rfp-form__concession-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--wa-space-xs) var(--wa-space-m);
  margin-top: var(--wa-space-s);
}

.rfp-form__field label.rfp-form__concession {
  display: flex;
  align-items: center;
  gap: var(--wa-space-xs);
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
}

.rfp-form__concession input[type="checkbox"] {
  flex: 0 0 auto;
  width: var(--wa-form-control-toggle-size);
  height: var(--wa-form-control-toggle-size);
  margin: 0;
}

/* HMS-708 — validate-all: summary banner (mirrors .rfp-form__errors) and
   invalid-field highlight for the controller's validate-all--invalid class. */
.validate-all__banner {
  background: var(--wa-color-danger-fill-quiet);
  border: 1px solid var(--wa-color-danger-border-normal);
  border-radius: var(--wa-border-radius-m);
  padding: var(--wa-space-m);
  margin-bottom: var(--wa-space-l);
  color: var(--wa-color-danger-on-quiet);
}

/* wa-select's visible border lives on its `combobox` shadow part (there is no
   `base` part), so the part selector must name it — without this the select is
   marked invalid in the DOM but shows no red border. */
.rfp-form .validate-all--invalid,
.rfp-form .validate-all--invalid::part(combobox) {
  border-color: var(--wa-color-danger-border-loud) !important;
}

/* HMS-708 — red asterisk on every label whose field contains a [required]
   control (:has covers the Deadline cell, which holds both a required date
   input and a required wa-select), plus the manually-classed Invite Hotels
   heading whose requirement only applies to Send RFP. */
.rfp-form__required::after {
  content: " *";
  color: var(--wa-color-danger-fill-loud);
}

.rfp-form__required-marker {
  color: var(--wa-color-danger-fill-loud);
}

/* HMS-708 — the group error line a validate-all group fills and unhides. */
.validate-all__group-error {
  color: var(--wa-color-danger-on-quiet);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

/* HMS-708 — invalid group styling: red border on the hotel picker field and
   the emails text input inside a marked group. */
.rfp-form .validate-all--invalid-group .rfp-form__hotel-field,
.rfp-form .validate-all--invalid-group input[name="emails"] {
  border-color: var(--wa-color-danger-border-loud) !important;
}

/* HMS-1708 — server-side field errors (QA retest): a rejected save paints
   the failing control danger-red via the same --wa-form-control-border-color
   token the wa-input field--invalid hook sets (HMS-1466), and prints the
   attribute's full message in red under the field. wa-select's visible
   border lives on its combobox part, same as the validate-all rule above. */
.rfp-form input.field--invalid,
.rfp-form select.field--invalid,
.rfp-form textarea.field--invalid {
  --wa-form-control-border-color: var(--wa-color-danger-border-loud);
}

.rfp-form wa-select.field--invalid::part(combobox) {
  border-color: var(--wa-color-danger-border-loud);
}

/* HMS-708 — the Deadline time wa-select has only an aria-label (the visible
   "Deadline" label covers it), but `required` makes Web Awesome draw a lone
   asterisk in its empty label slot. Hide that label row. */
.rfp-form wa-select[aria-label]::part(form-control-label) {
  display: none;
}

.rfp-form__newcat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

.rfp-form__newcat[hidden] {
  display: none;
}

.rfp-form__newcat-name {
  width: 14rem;
  max-width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--wa-color-neutral-20);
  border-radius: var(--wa-border-radius-m);
  font-size: 0.85rem;
}

.rfp-form__newcat-add,
.rfp-form__newcat-cancel {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--wa-color-neutral-20);
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-surface-raised);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--wa-color-text-normal);
}

.rfp-form__newcat-add {
  border-color: var(--wa-color-brand-60);
  background: var(--wa-color-brand-fill-loud);
  color: var(--wa-color-brand-on-loud);
}

.rfp-form__newcat-add:disabled {
  border-color: var(--wa-color-neutral-border-normal);
  background: var(--wa-color-neutral-fill-normal);
  color: var(--wa-color-text-quiet);
  cursor: not-allowed;
}

.rfp-form__newcat-error {
  margin: 0 0 0.5rem;
  color: var(--wa-color-danger-on-quiet);
  font-size: 0.85rem;
}

.rfp-form__newcat-error[hidden] {
  display: none;
}

.rfp-form .validate-all--invalid-group .rfp-form__room-types-panel {
  border-color: var(--wa-color-danger-border-loud);
}

/* `.rfp-form__hotel` is display:flex on the Send RFP form (show page), which
   beats the UA [hidden] rule — keep the explicit hide for any filtered row. */
.rfp-form__hotel[hidden] {
  display: none;
}

/* HMS-1726 — Invite Hotels picker: selected hotels render as removable
   chips above a compact search field that opens a single-column dropdown.
   The real hotel_ids[] checkboxes live inside the option rows and still
   submit while the panel is hidden; without JS the options list simply
   stays visible as a plain checkbox list. flex/grid beat the UA [hidden]
   rule, so the chips row and filtered-out options need explicit hides —
   the same fix `.rfp-form__newcat[hidden]` uses above. */
.rfp-form__hotel-chips[hidden],
.rfp-form__hotel-option[hidden] {
  display: none;
}

.rfp-form__hotel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.rfp-form__hotel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 16rem;
  padding: 0.25rem 0.375rem 0.25rem 0.625rem;
  border: 1px solid var(--wa-color-brand-80);
  border-radius: 999px;
  background: var(--wa-color-brand-95);
  font-size: 0.85rem;
}

.rfp-form__hotel-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfp-form__hotel-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--wa-color-brand-60);
  font-size: 0.7rem;
  cursor: pointer;
}

.rfp-form__hotel-chip-x:hover {
  background: var(--wa-color-brand-90);
  color: var(--wa-color-brand-50);
}

.rfp-form__hotel-more {
  padding: 0.25rem 0.625rem;
  border: 1px dashed var(--wa-color-neutral-20);
  border-radius: 999px;
  background: none;
  color: var(--wa-color-text-quiet);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.rfp-form__hotel-more:hover {
  border-color: var(--wa-color-neutral-60);
  color: var(--wa-color-text-normal);
}

.rfp-form__hotel-picker {
  margin-bottom: 0.5rem;
}

.rfp-form__hotel-field {
  overflow: hidden;
  border: 1px solid var(--wa-color-neutral-20);
  border-radius: 0.375rem;
}

.rfp-form__hotel-field:focus-within {
  border-color: var(--wa-color-brand-60);
}

.rfp-form__hotel-search {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.375rem 0.375rem 0 0;
  background: transparent;
  font-size: 0.9rem;
}

/* The field's :focus-within border is the focus indicator; the input's own
   outline would be clipped by the field's overflow:hidden anyway. */
.rfp-form__hotel-search:focus {
  outline: none;
}

.rfp-form__hotel-options {
  max-height: 16rem;
  overflow-y: auto;
}

.rfp-form__hotel-options:not([hidden]) {
  border-top: 1px solid var(--wa-color-neutral-20);
}

.rfp-form__hotel-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.rfp-form__hotel-option:hover {
  background: var(--wa-color-neutral-fill-quiet);
}

.rfp-form__hotel-option input[type="checkbox"] {
  flex: none;
  margin: 0;
}

.rfp-form__hotel-option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* HMS-1726 — contact-email badges: a quiet green "Contact email" and a
   neutral "No contact email" replace the old yellow warning pill, so the
   row reads name -> status without the pill shouting. */
.rfp-form__hotel-badge {
  flex: none;
  padding: 0.1rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.rfp-form__hotel-badge--ok {
  background: var(--wa-color-green-95);
  color: var(--wa-color-green-20);
}

.rfp-form__hotel-badge--none {
  background: var(--wa-color-neutral-95);
  color: var(--wa-color-neutral-60);
}

@media (max-width: 480px) {
  .rfp-form__hotel-option:not([hidden]):has(input[type="checkbox"]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .rfp-form__hotel-option-name {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.rfp-form__hotel-empty {
  margin: 0;
  padding: 0.75rem;
}

/* HMS-1878 — a past response deadline is a send-blocking warning, not a
   quiet hint: amber callout copy with an icon, plus an amber border on both
   halves of the split Deadline control. Saving the draft remains allowed. */
.rfp-form__deadline-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin: 0.25rem 0 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--wa-color-warning-border-normal);
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-warning-fill-quiet);
  color: var(--wa-color-warning-on-quiet);
  font-size: 0.8rem;
  line-height: 1.35;
}

.rfp-form__deadline-warning[hidden] {
  display: none;
}

.rfp-form__deadline-warning .fa-triangle-exclamation {
  flex: none;
  margin-top: 0.1rem;
}

.rfp-form input.rfp-form__deadline-control--warning {
  --wa-form-control-border-color: var(--wa-color-warning-border-normal);
  border-color: var(--wa-color-warning-border-normal);
}

.rfp-form wa-select.rfp-form__deadline-control--warning::part(combobox) {
  border-color: var(--wa-color-warning-border-normal);
}

/* HMS-1879 — readable date entry: the typed input stays dominant while a
   compact calendar button opens the Web Awesome picker in a popup. */
.rfp-form__date-control {
  width: 100%;
}

.rfp-form__date-input-wrap {
  position: relative;
  width: 100%;
}

.rfp-form__date-input-wrap input {
  width: 100%;
  padding-right: 2.25rem;
}

.rfp-form__date-button {
  position: absolute;
  inset-inline-end: 0.375rem;
  top: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--wa-border-radius-s);
  background: transparent;
  color: var(--wa-color-text-quiet);
  cursor: pointer;
}

.rfp-form__date-button:hover {
  color: var(--wa-color-text-normal);
  background: var(--wa-color-neutral-fill-quiet);
}

.rfp-form__date-button:focus-visible {
  outline: var(--wa-focus-ring);
  outline-offset: 1px;
}

.rfp-form__date-panel {
  overflow: auto;
  width: min(22rem, calc(100vw - 1rem));
  max-height: var(--auto-size-available-height, 24rem);
  padding: var(--wa-space-xs);
  background: var(--wa-color-surface-raised);
  border: 1px solid var(--wa-color-surface-border);
  border-radius: var(--wa-border-radius-m);
  box-shadow: var(--wa-shadow-l);
}

.rfp-form__date-panel wa-date-picker {
  width: 100%;
}

.rfp-form__duplicates {
  align-items: center;
  margin-bottom: var(--wa-space-s);
  padding: var(--wa-space-xs) 1em;
}

.rfp-form__duplicates p {
  margin: 0;
}

/* HMS-1949 — vary-by-night quantity grid. */
.rfp-form__vary-toggle {
  align-items: center;
  display: none;
  font-size: 0.75rem;
  gap: 0.3rem;
  margin-top: 0;
  white-space: nowrap;
}

.rfp-form__room-type-row:has(.rfp-form__room-checkbox:checked) .rfp-form__vary-toggle {
  display: inline-flex;
}

.hotel-bid-form__vary-toggle,
.rfps-admin__vary-toggle {
  align-items: center;
  display: flex;
  font-size: 0.78rem;
  gap: 0.3rem;
  margin-top: 0.3rem;
  white-space: nowrap;
}

.hotel-bid-form__nightly-grid,
.rfps-admin__nightly-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
  max-width: 13rem;
}

.hotel-bid-form__nightly-grid[hidden],
.rfps-admin__nightly-grid[hidden] {
  display: none;
}

.rfp-form__night-field,
.hotel-bid-form__night-field,
.rfps-admin__night-field {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  gap: 0.15rem;
  width: 3.6rem;
}

.rfp-form__night-field {
  width: 4.1rem;
}

.rfp-form__night-field input,
.hotel-bid-form__night-field input,
.rfps-admin__night-field input {
  box-sizing: border-box;
  width: 100%;
}

.rfp-form__vary-toggle input[type="checkbox"] {
  accent-color: var(--wa-color-brand-600);
  appearance: auto;
  flex: 0 0 auto;
  height: 1rem;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 1rem;
}
