/* Flat-rate estimate wizard — warm tool shell matching get-a-quote */
.qs-flat-rate-page #primary,
.qs-flat-rate-page .site-main,
.qs-flat-rate-page .entry-content {
  max-width: none;
  overflow: visible;
}

.qs-frq-shell {
  background: linear-gradient(180deg, #faf7f2 0%, #f3efe8 100%);
  padding: 120px 20px 56px;
}

@media (max-width: 980px) {
  body.qs-flat-rate-page .qs-nav__get-quote-wrap {
    display: none !important;
  }
}

.qs-frq-container {
  /* Max 3 type sizes: title / body / meta — sized to match site body copy */
  --qs-frq-fs-title: 1.5rem;
  --qs-frq-fs-body: 1.05rem;
  --qs-frq-fs-meta: 0.95rem;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  font-size: var(--qs-frq-fs-body);
  font-weight: 500;
  line-height: 1.5;
  color: #0f172a;
}

.qs-frq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px);
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin: 0 0 0.85rem;
}

.qs-frq-hero__title {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.55rem;
  text-transform: none;
}

.qs-frq-hero__sub {
  margin: 0 0 0.85rem;
  font-size: var(--qs-frq-fs-body);
  color: #475569;
  font-weight: 500;
  max-width: 38rem;
}

.qs-frq-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.5rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.qs-frq-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e8e0d4;
  border-radius: 999px;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.qs-frq-stars {
  color: #f6b11a;
  letter-spacing: 0.04em;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-hero__art {
  justify-self: end;
  align-self: center;
  max-width: 280px;
  width: 100%;
  margin-top: 0;
  padding: 4px 0;
  box-sizing: border-box;
}

.qs-frq-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.qs-frq-hero__alt {
  margin: 0;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 600;
  color: #64748b;
}

.qs-frq-hero__alt a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qs-frq-access-detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-weight: 600;
  color: #334155;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-access-detail[hidden] {
  display: none !important;
}

[data-frq-dwelling][hidden] {
  display: none !important;
}

.qs-frq-card {
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 1.35rem 1.5rem 1.25rem;
}

.qs-frq {
  margin-top: 0;
}

.qs-frq-step-of {
  margin: 0 0 0.55rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

.qs-frq-welcome-back {
  display: none !important;
}

.qs-frq-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 0.35rem;
  border: 0;
  position: relative;
}

.qs-frq-steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 1.05rem;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.qs-frq-steps li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: var(--qs-frq-fs-meta);
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.qs-frq-step-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.qs-frq-step-btn:disabled {
  cursor: default;
}

.qs-frq-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
  flex: 0 0 auto;
}

.qs-frq-step-label {
  text-align: center;
  line-height: 1.2;
}

.qs-frq-steps li.is-active {
  color: #0f172a;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.qs-frq-steps li.is-active .qs-frq-step-num {
  background: #f6b11a;
  border-color: #f6b11a;
  color: #0f172a;
}

.qs-frq-steps li.is-done {
  color: #475569;
  border: 0;
}

.qs-frq-steps li.is-done .qs-frq-step-num {
  background: #0f172a;
  border-color: #0f172a;
  color: #f6b11a;
}

.qs-frq-steps li.is-done .qs-frq-step-num::after {
  content: "✓";
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-steps li.is-done .qs-frq-step-num {
  font-size: 0;
}

.qs-frq-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.qs-frq-nav__spacer {
  flex: 1;
  min-width: 0;
}

.qs-frq-nav .qs-frq-btn {
  min-width: 11rem;
}

.qs-frq-field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}

.qs-frq-inv-chooser__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.qs-frq-inv-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  padding: 1.25rem 1.15rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qs-frq-inv-choice:hover,
.qs-frq-inv-choice:focus-visible {
  border-color: #f6b11a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  outline: none;
}

.qs-frq-inv-choice__title {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
}

.qs-frq-inv-choice__desc {
  font-size: var(--qs-frq-fs-body);
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
}

.qs-frq-inv-choice__cta {
  margin-top: auto;
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.qs-frq-room-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 5.25rem;
  min-width: 0;
  padding: 0.85rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #0f172a;
}

.qs-frq-room-card:hover,
.qs-frq-room-card:focus-visible {
  border-color: #f6b11a;
  outline: none;
}

.qs-frq-room-card.is-done {
  background: #fffbeb;
  border-color: #f6b11a;
}

.qs-frq-room-card__check {
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-room-card__label {
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.25;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qs-frq-room-card__count {
  font-size: var(--qs-frq-fs-meta);
  color: #64748b;
  font-weight: 600;
}

.qs-frq-room-pick-extra {
  margin: 0 0 1rem;
}

.qs-frq-thanks {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.qs-frq-thanks__card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.25rem 1.75rem 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.qs-frq-thanks__title {
  font-size: var(--qs-frq-fs-title) !important;
  margin-bottom: 0.85rem !important;
}

.qs-frq-thanks__msg {
  margin: 0 0 1.5rem;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.5;
  color: #334155;
}

.qs-frq-thanks__cta {
  min-width: 14rem;
}

.qs-frq-dialog--light {
  max-width: 34rem;
  width: min(34rem, calc(100% - 1.5rem));
}

.qs-frq-dialog--light .qs-frq-dialog__form {
  padding: 1.6rem 1.5rem 1.5rem;
  gap: 1rem;
}

.qs-frq-dialog--light h3 {
  font-size: var(--qs-frq-fs-title);
  line-height: 1.3;
}

.qs-frq-dialog--light .qs-frq-dialog__copy {
  font-size: var(--qs-frq-fs-body);
  line-height: 1.5;
  color: #334155;
  margin: 0;
}

.qs-frq-dialog__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.qs-frq-dialog__actions .qs-frq-btn {
  width: 100%;
  min-width: 0;
}

.qs-frq-summary__stats div {
  min-height: 4.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 0.4rem;
}

.qs-frq-summary__stats strong {
  font-size: var(--qs-frq-fs-title);
}

.qs-frq-summary__stats span {
  font-size: var(--qs-frq-fs-meta);
  line-height: 1.25;
}

.qs-frq-completed-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
  font-weight: 600;
}

.qs-frq-inv-basis {
  display: none !important;
}

.qs-frq-move-plan {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.qs-frq-move-plan h3 {
  margin: 0 0 0.75rem;
  font-size: var(--qs-frq-fs-title);
}

.qs-frq-move-plan__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.qs-frq-move-plan__grid div {
  margin: 0;
}

.qs-frq-move-plan__grid dt {
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin: 0 0 0.15rem;
}

.qs-frq-move-plan__grid dd {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-move-plan__note {
  margin: 0.85rem 0 0;
  font-size: var(--qs-frq-fs-meta);
  color: #475569;
}

.qs-frq-estimate-basis {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.qs-frq-estimate-basis h3 {
  margin: 0 0 0.5rem;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-estimate-basis ul {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
}

.qs-frq-estimate-basis__edit {
  margin: 0;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-panel__title {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.qs-frq-section-title {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
  margin: 1.25rem 0 0.65rem;
}

.qs-frq-help {
  color: #475569;
  margin: 0 0 0.75rem;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.5;
}

.qs-frq-progress {
  margin: 0 0 0.5rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 700;
  color: #0f172a;
}

.qs-frq-reassure {
  margin: 0.65rem 0 0;
  width: 100%;
  text-align: center;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 600;
  color: #64748b;
}

.qs-frq-optional {
  font-weight: 500;
  color: #94a3b8;
}

.qs-frq-form,
.qs-frq-grid {
  display: grid;
  gap: 1rem;
}

.qs-frq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qs-frq-grid--step1 {
  gap: 1.15rem 1.25rem;
}

.qs-frq-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: #334155;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-field--full {
  grid-column: 1 / -1;
}

.qs-frq-field abbr {
  color: #dc2626;
  text-decoration: none;
}

.qs-frq-field input,
.qs-frq-field select,
.qs-frq-field textarea,
.qs-frq-search input {
  font-family: inherit;
  font-size: var(--qs-frq-fs-body);
  font-weight: 500;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  line-height: 1.4;
  min-height: 3rem;
  box-sizing: border-box;
}

.qs-frq-field textarea {
  min-height: 0;
}

.qs-frq-field input:focus,
.qs-frq-field select:focus,
.qs-frq-field textarea:focus,
.qs-frq-search input:focus {
  outline: 2px solid rgba(246, 177, 26, 0.45);
  border-color: #f6b11a;
}

.qs-frq-field input.is-invalid {
  border-color: #dc2626;
}

.qs-frq-field-error {
  color: #b91c1c;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 600;
}

.qs-frq-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.qs-frq-consent {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.qs-frq-consent__text {
  margin: 0 0 0.75rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
}

.qs-frq-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  font-size: var(--qs-frq-fs-body);
  color: #0f172a;
  cursor: pointer;
}

.qs-frq-check input {
  margin-top: 0.2rem;
}

.qs-frq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1.35rem;
}

.qs-frq-btn {
  border: 0;
  cursor: pointer;
  min-width: 14rem;
  min-height: 3.1rem;
  text-align: center;
  font-size: var(--qs-frq-fs-body) !important;
  font-weight: 800 !important;
}

.qs-frq-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.qs-frq-btn--ghost {
  background: #fff !important;
  color: #0f172a !important;
  border: 2px solid #f6b11a !important;
  box-shadow: none !important;
}

.qs-frq-linkbtn {
  background: none;
  border: 0;
  color: #0f172a;
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.25rem 0;
}

.qs-frq-error {
  color: #b91c1c;
  font-weight: 600;
  font-size: var(--qs-frq-fs-body);
  margin: 0.75rem 0 0;
}

.qs-frq-search--prominent {
  margin-bottom: 0.85rem;
}

.qs-frq-search--prominent input {
  min-height: 3.25rem;
  font-size: var(--qs-frq-fs-body);
  border-width: 2px;
  border-color: #f6b11a;
  background: #fffbeb;
}

.qs-frq-sticky-cta {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 40;
  margin: 1rem -0.25rem 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.qs-frq-sticky-cta__progress {
  margin: 0;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}

.qs-frq-sticky-cta .qs-frq-btn {
  min-width: 0;
  flex: 0 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.qs-frq-estimate__hero {
  text-align: left;
  margin-bottom: 1rem;
}

.qs-frq-estimate__hero-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f6b11a;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qs-frq-estimate__hero-total {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

.qs-frq-estimate__hero-sub {
  margin: 0 0 0.35rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  color: #334155;
}

.qs-frq-estimate__hero-save {
  margin: 0 0 0.85rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 700;
  color: #0f172a;
}

.qs-frq-estimate__list-alt {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  color: #475569;
}

.qs-frq-estimate__list-alt button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: #0f172a;
  text-decoration: underline;
  cursor: pointer;
}

.qs-frq-hourly__choose {
  margin-top: 0.65rem;
}

.qs-frq-inv-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.qs-frq-inv-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(240px, 300px);
  gap: 1rem;
  align-items: start;
}

.qs-frq-rooms,
.qs-frq-items,
.qs-frq-summary {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem;
}

.qs-frq-rooms__bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  background: #0f172a;
  color: #fff;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.qs-frq-rooms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 480px;
  overflow: auto;
}

.qs-frq-rooms__list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.6rem 0.65rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--qs-frq-fs-body);
  color: #0f172a;
  background: #fff;
}

.qs-frq-rooms__list li.is-active {
  background: rgba(246, 177, 26, 0.22);
  border-color: #f6b11a;
}

.qs-frq-rooms__list li.has-items .qs-frq-room-name {
  font-weight: 700;
}

.qs-frq-rooms__list li.is-boxes-room {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 0.35rem;
  background: #fff8e7;
  border: 1px solid #f0d9a0;
  box-shadow: 0 -6px 12px rgba(15, 23, 42, 0.04);
}

.qs-frq-rooms__list li.is-boxes-room.is-active {
  background: rgba(246, 177, 26, 0.28);
  border-color: #f6b11a;
}

.qs-frq-room-check {
  flex: 0 0 auto;
  width: 1rem;
  color: #16a34a;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
  line-height: 1;
}

.qs-frq-room-check--empty {
  visibility: hidden;
}

.qs-frq-room-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.qs-frq-room-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qs-frq-room-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 22px;
  display: inline-flex;
}

.qs-frq-room-icon svg {
  width: 100%;
  height: 100%;
}

.qs-frq-rooms__list .qs-frq-room-qty {
  font-size: var(--qs-frq-fs-meta);
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.qs-frq-rooms__list li.has-items .qs-frq-room-qty {
  color: #0f172a;
  font-weight: 800;
}

.qs-frq-rooms__list .qs-frq-room-del {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: var(--qs-frq-fs-title);
  line-height: 1;
  padding: 0.15rem;
}

.qs-frq-rooms__list .qs-frq-room-del:hover {
  color: #b91c1c;
}

.qs-frq-add-room {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border: 0;
  background: none;
  color: #0f172a;
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
  cursor: pointer;
}

.qs-frq-add-room__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #f6b11a;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
}

.qs-frq-items__title,
.qs-frq-summary__title {
  margin: 0 0 0.65rem;
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
}

.qs-frq-search {
  display: block;
  margin-bottom: 0.65rem;
}

.qs-frq-search input {
  width: 100%;
}

.qs-frq-item-tabs {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.qs-frq-item-tabs button {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.qs-frq-item-tabs button.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.qs-frq-cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.qs-frq-cat-filters[hidden] {
  display: none;
}

.qs-frq-cat-filters button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-weight: 650;
  font-size: var(--qs-frq-fs-meta);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.qs-frq-cat-filters button.is-active {
  background: rgba(246, 177, 26, 0.25);
  border-color: #f6b11a;
  color: #0f172a;
}

.qs-frq-item-section-title {
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.qs-frq-item-section {
  margin: 0 0 1rem;
  padding: 0.85rem 0.85rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.qs-frq-item-section--popular {
  background: #fffaf0;
  border-color: #f0d9a0;
}

.qs-frq-item-section--all {
  background: #fafafa;
  border-color: #e2e8f0;
}

.qs-frq-item-section--all .qs-frq-item-section-title {
  padding-top: 0.15rem;
  border-top: 0;
  color: #334155;
}

.qs-frq-item-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 0.25rem;
}

.qs-frq-item-grid--nested {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 0;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.qs-frq-item-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 190px;
  background: #fff;
}

.qs-frq-item-card.is-added {
  border-color: #f6b11a;
  background: #fffdf6;
}

.qs-frq-item-card__icon {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.5rem;
}

.qs-frq-item-card__icon svg {
  width: 110px;
  height: 82px;
  display: block;
}

.qs-frq-item-card__label {
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  flex: 1;
}

.qs-frq-item-card__room {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 600;
  color: #64748b;
}

.qs-frq-qty {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: center;
  gap: 0.25rem;
}

.qs-frq-qty button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 800;
  font-size: var(--qs-frq-fs-body);
  cursor: pointer;
}

.qs-frq-qty button:hover {
  border-color: #f6b11a;
  background: #fff7ea;
}

.qs-frq-qty span {
  text-align: center;
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-summary__date {
  font-weight: 800;
  font-size: var(--qs-frq-fs-body);
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.qs-frq-summary__route {
  border-left: 3px solid #f6b11a;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-summary__route strong {
  display: block;
  color: #0f172a;
}

.qs-frq-summary__route span {
  color: #64748b;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-summary__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.qs-frq-summary__stats div {
  background: #fff7ea;
  border-radius: 6px;
  padding: 0.55rem 0.25rem;
}

.qs-frq-summary__stats strong {
  display: block;
  font-size: var(--qs-frq-fs-title);
  color: #0f172a;
}

.qs-frq-summary__stats span {
  font-size: var(--qs-frq-fs-meta);
  color: #64748b;
  font-weight: 600;
}

.qs-frq-pending-banner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: #fffaf0;
  border: 1px solid #f0d9a0;
  border-radius: 8px;
  padding: 0.7rem 0.95rem;
  margin: 0 0 1.15rem;
  color: #0f172a;
}

.qs-frq-pending-banner__title {
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
  line-height: 1.3;
}

.qs-frq-pending-banner__sub {
  font-size: var(--qs-frq-fs-body);
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}

.qs-frq-includes {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
  background: #fafafa;
}

.qs-frq-includes h3 {
  margin: 0 0 0.5rem;
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-includes h3 + ul {
  margin-bottom: 1rem;
}

.qs-frq-includes ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #0f172a;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.55;
  font-weight: 500;
}

.qs-frq-includes li {
  margin-bottom: 0.4rem;
}

.qs-frq-estimate {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.35rem 1.4rem;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.5;
}

.qs-frq-estimate__total {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.qs-frq-estimate__meta,
.qs-frq-estimate__loading {
  color: #475569;
  margin: 0 0 1rem;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-unavailable {
  padding: 0.35rem 0.15rem 0.5rem;
}

.qs-frq-unavailable h3 {
  margin: 0 0 0.65rem;
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-unavailable--v3 h3 {
  color: #b45309;
}

.qs-frq-unavailable p {
  margin: 0 0 0.75rem;
  color: #334155;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.55;
}

.qs-frq-unavailable__detail {
  font-size: var(--qs-frq-fs-meta) !important;
  color: #64748b !important;
}

.qs-frq-unavailable__phone {
  font-weight: 700;
}

.qs-frq-unavailable__phone a {
  color: #0f172a;
  text-decoration: underline;
}

.qs-frq-unavailable__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.qs-frq-estimate h3 {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  margin: 1.15rem 0 0.5rem;
  color: #0f172a;
}

.qs-frq-estimate ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #0f172a;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-estimate li {
  margin-bottom: 0.35rem;
}

.qs-frq-estimate__reasons {
  color: #475569;
}

.qs-frq-thanks {
  text-align: center;
  padding: 1.5rem 0 2rem;
  max-width: none;
  margin: 0;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-thanks__ref {
  display: none;
}

.qs-frq-dialog {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  max-width: 24rem;
  width: calc(100% - 2rem);
}

#qsFrqBoxesDialog {
  max-width: 36rem;
  width: min(36rem, calc(100% - 2rem));
}

.qs-frq-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.qs-frq-dialog__form {
  padding: 1.25rem 1.4rem 1.35rem;
  display: grid;
  gap: 0.75rem;
  font-size: var(--qs-frq-fs-body);
}

#qsFrqBoxesDialog .qs-frq-dialog__form,
#qsFrqBoxesDialog #qsFrqBoxesPanel {
  gap: 0.65rem;
}

.qs-frq-dialog__form h3 {
  margin: 0;
  font-size: var(--qs-frq-fs-title);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qs-frq-mode-tabs,
.qs-frq-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.qs-frq-mode-tabs[hidden],
.qs-frq-segment[hidden] {
  display: none !important;
}

.qs-frq-mode-tabs button,
.qs-frq-segment button {
  border: 0;
  border-right: 1px solid #e2e8f0;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: var(--qs-frq-fs-body);
  padding: 0.7rem 0.75rem;
  cursor: pointer;
}

.qs-frq-mode-tabs button:last-child,
.qs-frq-segment button:last-child {
  border-right: 0;
}

.qs-frq-mode-tabs button.is-active,
.qs-frq-segment button.is-active {
  background: #0f172a;
  color: #fff;
}

.qs-frq-paste-lead {
  margin: 0 0 0.35rem;
  font-size: var(--qs-frq-fs-title);
  font-weight: 700;
  color: #0f172a;
}

.qs-frq-btn.is-blocked,
.qs-frq-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.qs-frq-boxes-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.75rem;
  align-items: stretch;
}

.qs-frq-boxes-actions .qs-frq-linkbtn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.15rem;
}

.qs-frq-boxes-actions .qs-button {
  width: 100%;
  margin: 0;
}

.qs-frq-boxes-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.qs-frq-boxes-compare > div {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  background: #f8fafc;
}

.qs-frq-boxes-compare__label {
  display: block;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.qs-frq-boxes-compare__value {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.qs-frq-boxes-compare__value.is-low {
  color: #b45309;
}

.qs-frq-boxes-note {
  margin: 0.35rem 0 0;
  font-size: var(--qs-frq-fs-meta);
  color: #64748b;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .qs-frq-boxes-actions {
    grid-template-columns: 1fr;
  }
}

.qs-frq-boxes-suggest-mid {
  margin: 0.75rem 0 0.5rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-box-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.qs-frq-box-presets button {
  min-width: 3.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-weight: 800;
  cursor: pointer;
  color: #0f172a;
}

.qs-frq-box-presets button:hover {
  border-color: #f6b11a;
  background: #fff8e7;
}

.qs-frq-parse-review {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid #e2e8f0;
}

.qs-frq-parse-impact {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-parse-warn {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #fff8e7;
  border: 1px solid #f6b11a;
  color: #92400e;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-parse-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.qs-frq-parse-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--qs-frq-fs-body);
}

.qs-frq-parse-table th,
.qs-frq-parse-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.qs-frq-parse-table th {
  font-size: var(--qs-frq-fs-meta);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.qs-frq-parse-row__warn {
  display: block;
  margin-top: 0.25rem;
  color: #b45309;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-conf-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.qs-frq-conf-badge.is-ok {
  background: #ecfdf5;
  color: #047857;
}

.qs-frq-conf-badge.is-review {
  background: #fff8e7;
  color: #b45309;
}

.qs-frq-conf-badge.is-unmatched {
  background: #fef2f2;
  color: #b91c1c;
}

.qs-frq-parse-dupes {
  margin: 0 0 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid #e2e8f0;
}

.qs-frq-parse-dupe {
  margin-bottom: 0.85rem;
}

.qs-frq-parse-dupe__actions {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-parse-list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: var(--qs-frq-fs-body);
  color: #0f172a;
}

.qs-frq-estimate__basis {
  margin: 0 0 1.15rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  color: #64748b;
}

.qs-frq-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.qs-frq-price-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.1rem 1.05rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease,
    background 0.15s ease;
}

.qs-frq-price-card:hover {
  border-color: #f6b11a;
}

.qs-frq-price-card--best {
  background: linear-gradient(180deg, #ffe9b0, #f6b11a);
  border-color: #e5a008;
}

.qs-frq-price-card--regular {
  background: #fff;
  border-color: #e2e8f0;
}

.qs-frq-price-card.is-selected {
  box-shadow: 0 0 0 3px rgba(246, 177, 26, 0.4);
}

.qs-frq-price-card--best.is-selected {
  box-shadow: 0 10px 28px rgba(246, 177, 26, 0.4), 0 0 0 3px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.qs-frq-deal-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f6b11a;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.qs-frq-price-card__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.qs-frq-price-card .qs-frq-estimate__total {
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
}

.qs-frq-price-card__rate-type {
  margin: 0;
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.qs-frq-price-card__note {
  margin: 0;
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  color: #334155;
}

.qs-frq-price-card__save {
  margin: 0.35rem 0 0.55rem;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.qs-frq-price-card__save--muted {
  color: #64748b;
  font-weight: 600;
}

.qs-frq-price-card__cta {
  display: block;
  margin-top: auto;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  text-align: center;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 800;
}

.qs-frq-price-card__cta--ghost {
  background: #fff;
  color: #0f172a;
  border: 2px solid #cbd5e1;
}

.qs-frq-price-card--best.is-selected .qs-frq-price-card__cta {
  background: #fff;
  color: #0f172a;
}

.qs-frq-hourly {
  margin: 1rem 0 0.35rem;
  padding: 1rem 1.15rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.qs-frq-hourly--quiet {
  /* keep spacing; card border replaces the old top rule */
}

.qs-frq-hourly--quiet > p:first-child {
  margin: 0 0 0.35rem;
  font-size: var(--qs-frq-fs-title);
  font-weight: 800;
  color: #0f172a;
}

.qs-frq-hourly--quiet > p:nth-child(2) {
  margin: 0 0 0.55rem;
  font-size: var(--qs-frq-fs-body);
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
}

.qs-frq-hourly .qs-frq-linkbtn {
  font-size: var(--qs-frq-fs-body);
  font-weight: 800;
}

.qs-frq-hourly__panel {
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: var(--qs-frq-fs-body);
  line-height: 1.45;
  color: #334155;
}

.qs-frq-hourly__panel p {
  margin: 0;
  font-size: inherit;
}

.qs-frq-hourly.is-selected {
  border: 2px solid #f6b11a;
  background: #fffaf0;
  box-shadow: none;
}

.qs-frq-hourly.is-selected .qs-frq-linkbtn {
  font-weight: 800;
  text-decoration: none;
  color: #0f172a;
}

@media (max-width: 640px) {
  .qs-frq-price-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .qs-frq-inv-layout {
    grid-template-columns: 1fr;
  }

  .qs-frq-item-grid {
    max-height: none;
  }

  .qs-frq-actions--mobile {
    display: none;
  }

  .qs-frq-sticky-cta:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-radius: 12px;
  }

  .qs-frq-sticky-cta__progress {
    flex: none;
    width: 100%;
    text-align: center;
    font-size: var(--qs-frq-fs-meta);
    line-height: 1.4;
  }

  .qs-frq-sticky-cta .qs-frq-btn {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .qs-frq-inv-chooser__grid {
    grid-template-columns: 1fr;
  }

  .qs-frq-move-plan__grid {
    grid-template-columns: 1fr;
  }

  .qs-frq-nav .qs-frq-btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .qs-frq-hero {
    grid-template-columns: 1fr;
  }

  .qs-frq-hero__art {
    justify-self: center;
    max-width: 220px;
    order: -1;
  }

  .qs-frq-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .qs-frq-shell {
    padding: 108px 12px 44px;
  }

  .qs-frq-card {
    padding: 1.1rem 1rem 1rem;
    border-radius: 12px;
  }

  .qs-frq-grid {
    grid-template-columns: 1fr;
  }

  .qs-frq-inv-head {
    flex-direction: column;
  }

  .qs-frq-steps {
    grid-template-columns: 1fr 1fr;
  }

  .qs-frq-step-label {
    font-size: var(--qs-frq-fs-meta);
  }

  .qs-frq-panel__title,
  .qs-frq-estimate__total {
    font-size: var(--qs-frq-fs-title);
  }

  .qs-frq-item-grid--nested {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .qs-frq-actions .qs-frq-btn {
    width: 100%;
    min-width: 0;
  }

  .qs-frq-summary__stats span {
    font-size: var(--qs-frq-fs-meta);
    line-height: 1.25;
  }

  .qs-frq-summary__stats strong {
    font-size: var(--qs-frq-fs-title);
  }

  .qs-frq-summary__route span {
    word-break: break-word;
  }
}

/* Admin / manual V3 test surfaces */
.qs-frq-pricing-model-badge {
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #b45309;
  background: #fffbeb;
  color: #92400e;
  font-size: var(--qs-frq-fs-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qs-frq-pricing-model-badge.is-warn {
  border-color: #b91c1c;
  background: #fef2f2;
  color: #991b1b;
}

.qs-frq-admin-sanity {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed #64748b;
  background: #f8fafc;
  color: #0f172a;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-admin-sanity__title {
  margin: 0 0 0.5rem;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-admin-sanity__stats {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--qs-frq-fs-meta);
  white-space: pre-wrap;
}

.qs-frq-admin-sanity__subtitle {
  margin: 0.5rem 0 0.25rem;
  font-weight: 600;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-admin-sanity__top,
.qs-frq-admin-sanity__flags {
  margin: 0;
  padding-left: 1.15rem;
}

.qs-frq-admin-sanity__room {
  color: #64748b;
  font-size: var(--qs-frq-fs-meta);
}

.qs-frq-admin-sanity__ok {
  margin: 0;
  color: #166534;
}
