/* Navy color treatment only. Existing typography, spacing and layout are unchanged. */
:root {
  --qt-navy: #18345f;
  --qt-deep: #001127;
  --qt-cream: #102b4e;
  --qt-gold: #284f7c;
}
html, body, body.qt-premium-background, body:has(.qt-bounded),
body > div.min-h-screen, #root > div, #main-content > section:first-child {
  background-color: #102b4e !important;
}
body, body.qt-premium-background, main.seo-content, .qt-bounded {
  color: #f2f6fb !important;
}
nav, #mobile-menu, .qt-mobile-nav summary {
  color: #18345f !important;
}
nav, #mobile-menu {
  background-color: #fff !important;
}
nav .hover\:text-sky-500:hover, nav [style*="0.62 0.18 250"] {
  color: #284f7c !important;
}
footer, #business-owners {
  background-color: #001127 !important;
  color: #f2f6fb !important;
}
footer .text-white\/50 {
  color: #c7d5e5 !important;
}
body main a:not(.text-white), .qt-bounded a,
.qt-bounded h1, .qt-bounded h2, .qt-bounded h3 {
  color: #d5e2f1 !important;
}
main.seo-content > h1, main.qt-article-main > h1,
main.qt-article-index > h1, body > main > h1,
.qt-bounded > header h1 {
  color: #fff !important;
}
.qt-article-deck, .qt-article-byline, .qt-article-notes,
.qt-article-category, .qt-core-caption, .qt-services-page .qt-dashboard-eyebrow {
  color: #c7d5e5 !important;
}
/* Light surfaces keep navy copy rather than inheriting the page's light text. */
.qt-core-panel, .qt-core-card, .qt-core-flow > li, .qt-core-excerpt,
.qt-va, .qt-article-card, .qt-editorial-topics > a, .qt-editorial-equation span,
.qt-article-body .example, .qt-article-related a,
.qt-report, .qt-report-grid article, .qt-kpis > div, .qt-gate, .qt-flow > li,
.qt-records, .qt-dashboard-preview, section[aria-label="Contact request"],
#root .bg-white, #main-content > .bg-white, #pricing {
  color: #18345f !important;
}
body main :where(.qt-core-panel, .qt-core-card, .qt-core-flow, .qt-core-excerpt,
.qt-va, .qt-article-card, .qt-editorial-topics, .qt-editorial-equation,
.qt-article-body .example, .qt-article-related, .qt-report, .qt-report-grid article,
.qt-kpis, .qt-gate, .qt-flow, .qt-records, .qt-dashboard-preview,
section[aria-label="Contact request"], .bg-white, #pricing) a:not(.text-white),
.qt-bounded :is(.qt-report, .qt-report-grid article, .qt-gate, .qt-records) :is(h2, h3, a),
.qt-article-card .qt-article-category, .qt-article-card > p {
  color: #18345f !important;
}
/* Previously vanilla callouts are now navy with light text. */
.qt-core-gate, .qt-va-callout, .qt-va-employer,
.qt-core-payroll-split .qt-va-employer {
  background-color: #18345f !important;
  color: #f2f6fb !important;
  border-color: #506b8c !important;
}
.qt-va-employer :is(.qt-va-label, .qt-va-detail, .qt-va-icon),
body main .qt-core-gate a:not(.text-white), body main .qt-va-callout a:not(.text-white) {
  color: #f2f6fb !important;
}
.qt-va-chip, body main .qt-va a.qt-va-chip,
.qt-va-area, .qt-core-reporthead, .qt-dashboard-header {
  color: #fff !important;
}
.qt-va-chip .qt-va-chip-label, .qt-va-area .qt-va-icon,
.qt-va-area > svg, .qt-dashboard-kicker, .qt-dashboard-status {
  color: #d5e2f1 !important;
}
.qt-core-reporthead :is(h2, h3, p), .qt-dashboard-header :is(h3, p) {
  color: #f2f6fb !important;
}
body main .qt-va .qt-va-area a, body main .qt-home-reports a {
  color: #d5e2f1 !important;
}
.qt-tax-teaser .qtp-band3 {
  color: #fff !important;
}
/* Home hero: preserve the white service/contact sections below it. */
#main-content > section:first-child h1,
#main-content > section:first-child h1 + p,
#main-content > section:first-child [style*="color: oklch"] {
  color: #f2f6fb !important;
}
#main-content > section:first-child .pointer-events-none {
  color: #ffffff08 !important;
}
#main-content > section:first-child a.border-2,
#main-content > section:first-child .border-2,
#main-content > section:first-child .rounded-full.border {
  border-color: #6b88aa !important;
}
#main-content > section:first-child .text-white[href="/contact"] {
  background-color: #284f7c !important;
}
#main-content > section:first-child .qt-home-purpose {
  background-color: #18345f !important;
  border-bottom-color: #506b8c !important;
}
/* The estimator's white form cards remain readable at every wizard step. */
#root .bg-white, #root .bg-white label, #root .bg-white input,
#root .bg-white select, #root .bg-white button:not(.text-white) {
  color: #18345f !important;
}
#root > div > .py-10:first-child [style*="color: oklch(0.62"] {
  color: #d5e2f1 !important;
}
#root .text-white\/40 {
  color: #c7d5e5 !important;
}
#root .bg-white [style*="color: oklch(0.62"] {
  color: #284f7c !important;
}
body a:focus-visible, body button:focus-visible,
body input:focus-visible, body select:focus-visible,
body .qt-mobile-nav summary:focus-visible {
  outline-color: #8da9c9 !important;
}
::selection {
  background-color: #284f7c;
  color: #fff;
}

.qt-core-excerpt .qt-core-caption, .qt-core-card .qt-core-caption {
  color: #40556c !important;
}

/* Contrast for standalone article cues, navy notices and linked white cards. */
main.qt-article-main > article > .qt-va-eyebrow {
  color: #c7d5e5 !important;
}
.qt-va .qt-va-callout :is(.qt-va-label, .qt-va-detail),
body main .qt-va .qt-va-callout a.qt-va-link {
  color: #f2f6fb !important;
}
body main a.bg-white:not(.text-white) {
  color: #18345f !important;
}

/* Dedicated contact and booking actions; the inquiry form remains separate. */
.qt-mobile-contact{display:none}
.qt-book-consultation{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:6px;font-weight:700;background:#18345F;color:#fff!important;text-decoration:none}
.qt-book-consultation:hover,.qt-mobile-contact:hover{background:#001127;color:#fff!important}
.qt-book-consultation:focus-visible,.qt-mobile-contact:focus-visible{outline:3px solid #C9A227;outline-offset:3px}
.qt-book-section{margin:0 0 2rem}
.qt-book-section p{margin:12px 0 0}
@media(max-width:1100px){
 nav .qt-mobile-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;margin-left:auto;white-space:nowrap;background:#18345F;color:#fff!important;border-radius:4px;font-size:16px;font-weight:700;text-decoration:none}
}
@media(max-width:360px){nav>.container{gap:6px;padding-left:10px;padding-right:10px}nav .qt-mobile-contact{padding:6px 8px}}
