/* Velvet navy-first visual alignment, 2026-08-03.
   Scoped to the affected Quiet Texas Luxury templates. */

/* Major service pages return to the site's navy canvas. */
body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) {
  background: linear-gradient(180deg, #0b1a30 0%, #07142a 52%, #0b1a30 100%) !important;
  color: #a3b1c6 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-service-main {
  background: transparent !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-section-band {
  background: #0b1e36 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-section-band--dark {
  background: #07142a !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-service-main :where(h2, h3) {
  color: #fdf8f0 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-service-main :where(p, li, dt, dd) {
  color: #a3b1c6 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-editorial-intro__body, .qtl-editorial-section__body, .qtl-timeline, .qtl-decision-list, .qtl-comparison-list) span {
  color: #a3b1c6 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-service-main a:not(.button) {
  color: #fdf8f0 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-contact-form, .qtl-consult-scheduler) a:not(.button) {
  color: #07142a !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-decision-list, .qtl-plain-list, .qtl-timeline, .qtl-comparison-list, .qtl-faq-section details) {
  border-color: rgba(201, 168, 76, 0.3) !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-faq-section details {
  background: rgba(253, 248, 240, 0.035) !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-faq-section summary {
  color: #fdf8f0 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-data-table td {
  color: #d7dfe8 !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-data-table tbody tr,
body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-data-table tbody tr:nth-child(odd),
body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-data-table tbody tr:nth-child(even) {
  background: rgba(253, 248, 240, 0.035) !important;
}

/* Forms and scheduling controls remain intentionally light. */
body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-contact-form, .qtl-consult-scheduler) {
  background: #fffdf9 !important;
  color: #07142a !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-contact-form, .qtl-consult-scheduler) :where(h2, h3, p, label, legend, .field, .form-note, .qtl-consult-status),
body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) .qtl-contact-form .form-note {
  color: #40506a !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-contact-form, .qtl-consult-scheduler) :where(h2, h3, label, legend, .field) {
  color: #07142a !important;
}

body.qtl-service-page:is(.qtl-buyer-page, .qtl-seller-page, .qtl-luxury-page) :where(.qtl-contact-form, .qtl-consult-scheduler) :where(input, select, textarea, .qtl-consult-slot) {
  background: #fffdf9 !important;
  color: #07142a !important;
}

/* Retained cream accents use dark, accessible type. */
.qtl-about .qtl-profile .qtl-profile-role,
.qtl-about .qtl-about-invitation .qtl-kicker {
  color: #765b23 !important;
}

.qtl-market-page :where(.qtl-market-snapshot, .qtl-market-monthly, .qtl-market-source) h2 {
  color: #0b1e36 !important;
}

.qtl-market-page .qtl-market-source :where(p, li) {
  color: #40506a !important;
}

/* The listings directory remains an intentional light browsing surface at every width. */
main.listings-page,
.listings-page .listings-directory,
.listings-page .listing-grid,
.listings-page .listing-disclaimer {
  background: #f5f0e8 !important;
}

.listings-page .listings-section-heading h2 {
  color: #0d1f3c !important;
}

.listings-page .listings-section-heading .section-eyebrow {
  color: #765b23 !important;
}

.listings-page .listings-section-heading > p,
.listings-page .listing-disclaimer p {
  color: #43516a !important;
}

.listings-page .listing-disclaimer a {
  color: #0d1f3c !important;
}
