/* YKHQ V5.9.10 — Light / Dark / Device mode.
   Applied last, after homepage, article, directory and booking styles.
   Only color surfaces change: media, logos and clinical images are never inverted. */

/* Accessible three-way selector, present throughout the public website. */
.ykhq-color-control {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10060;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  isolation: isolate;
}
body.bshq-v3 .ykhq-color-trigger, .ykhq-color-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #c7dcd8;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #133652 !important;
  box-shadow: 0 6px 24px rgba(8,32,51,.16);
  cursor: pointer;
  font: 750 13px/1.2 Inter,system-ui,sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.ykhq-color-trigger-icon { font-size: 21px; line-height: 1; width: 24px; text-align: center; }
.ykhq-color-menu[hidden] { display: none !important; }
.ykhq-color-menu {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 0;
  width: 210px;
  padding: 9px;
  background: #ffffff;
  color: #19354a;
  border: 1px solid #c7dcd8;
  border-radius: 17px;
  box-shadow: 0 14px 45px rgba(8,32,51,.22);
}
.ykhq-color-menu-title {
  padding: 6px 9px 10px;
  font-size: 12px;
  font-weight: 850;
  color: #536979;
}
body.bshq-v3 .ykhq-color-option, .ykhq-color-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  min-height: 43px;
  border: 0;
  border-radius: 11px !important;
  background: transparent !important;
  color: #19354a !important;
  padding: 9px 11px;
  text-align: left;
  font: 700 13px/1.3 Inter,system-ui,sans-serif;
  cursor: pointer;
}
.ykhq-color-option-icon { width: 21px; font-size: 18px; text-align: center; }
.ykhq-color-option-check { margin-left: auto; opacity: 0; font-weight: 900; color: #08745e; }
body.bshq-v3 .ykhq-color-option[aria-pressed="true"],
.ykhq-color-option[aria-pressed="true"] { background: #e4f5ee !important; }
.ykhq-color-option[aria-pressed="true"] .ykhq-color-option-check { opacity: 1; }
body.bshq-v3 .ykhq-color-option:hover,
.ykhq-color-option:hover { background: #eef5f3 !important; }
.ykhq-color-control button:focus-visible {
  outline: 3px solid #d5a64d !important;
  outline-offset: 2px;
}
@media(max-width:849px){
  .ykhq-color-control { left: 12px; bottom: calc(86px + env(safe-area-inset-bottom,0px)); }
  body.bshq-v3 .ykhq-color-trigger,.ykhq-color-trigger { width: 46px; padding: 7px; }
  .ykhq-color-trigger-label { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
}

/* Override ONLY the site's public pages; no effect on WP Admin. */
html[data-ykhq-theme="dark"] { color-scheme: dark; }
html[data-ykhq-theme="light"] { color-scheme: light; }
html[data-ykhq-theme="dark"] {
  --bshq-primary: #65d8b6;
  --bshq-navy: #eaf4ff;
  --bshq-cream: #0b1521;
  --bshq-ink: #e9f0f8;
  --bshq-gray: #afc2d0;
  --bshq-line: #35495b;
  --bshq-card: #172636;
  --bshq-shadow: 0 10px 28px rgba(0,0,0,.24);
  --bshq-shadow-strong: 0 16px 36px rgba(0,0,0,.32);
}
html[data-ykhq-theme="dark"] body.bshq-v3,
html[data-ykhq-theme="dark"] .bshq-wrapper,
html[data-ykhq-theme="dark"] .bshq-site-main,
html[data-ykhq-theme="dark"] .bshq-template-canvas,
html[data-ykhq-theme="dark"] .bshq-funnel-main {
  background: #0b1521 !important;
  color: #e8f0f8;
}
html[data-ykhq-theme="dark"] body.bshq-v3.single-post .bshq-site-main {
  background: linear-gradient(180deg,#111e2c 0%,#0b1521 280px) !important;
}
html[data-ykhq-theme="dark"] body.bshq-v3 :where(p,li,dt,dd,blockquote),
html[data-ykhq-theme="dark"] .bshq-site-main { color: #d4e0ec; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(h1,h2,h3,h4,h5,h6) { color: #edf6ff; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(a:not(.button):not(.btn):not(.bshq-btn):not(.bshq-side-btn)):hover { color: #90f0d0; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),textarea,select) {
  background: #152738 !important;
  color: #eff7ff !important;
  border-color: #4c6175 !important;
}
html[data-ykhq-theme="dark"] body.bshq-v3 input::placeholder,
html[data-ykhq-theme="dark"] body.bshq-v3 textarea::placeholder { color:#a4b5c6 !important; opacity:1; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(input,select,textarea) { accent-color:#38bc9b; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(table,th,td) { border-color:#35485a; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(th,thead) { background-color:#1a2c3b; color:#f0f7ff; }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(tr:nth-child(even)) { background-color:rgba(255,255,255,.025); }
html[data-ykhq-theme="dark"] body.bshq-v3 :where(hr) { border-color:#365065; }

/* Shared header + footer, including website-ecosystem links. */
html[data-ykhq-theme="dark"] #header.bshq-site-header,
html[data-ykhq-theme="dark"] #footer.bshq-site-footer {
  background:#111e2b !important; border-color:#304658 !important; color:#d6e2ed;
}
html[data-ykhq-theme="dark"] .bshq-brand-title,
html[data-ykhq-theme="dark"] .bshq-main-nav a,
html[data-ykhq-theme="dark"] .bshq-footer-brand b,
html[data-ykhq-theme="dark"] .bshq-footer-links a { color:#eff8ff !important; }
html[data-ykhq-theme="dark"] .bshq-brand-sub,
html[data-ykhq-theme="dark"] .bshq-footer-brand em,
html[data-ykhq-theme="dark"] .bshq-main-nav a:hover,
html[data-ykhq-theme="dark"] .bshq-main-nav a.is-active { color:#73ddbd !important; }
html[data-ykhq-theme="dark"] .ykhq-topbar { background:#08111c; }
html[data-ykhq-theme="dark"] .bshq-header-cta,
html[data-ykhq-theme="dark"] body.bshq-v3 .button.primary,
html[data-ykhq-theme="dark"] body.bshq-v3 input[type="submit"],
html[data-ykhq-theme="dark"] .bshq-side-btn,
html[data-ykhq-theme="dark"] .bshq-btn-primary {
  background:#0b715a !important; border-color:#0b715a !important; color:#fff !important;
}
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-footer-ecosystem {
  background:linear-gradient(135deg,#142738,#10202d) !important; border-color:#365064;
}
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-heading h2,
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-label { color:#eef6ff; }
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-heading p,
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-domain { color:#b7c8d7; }
html[data-ykhq-theme="dark"] #footer.bshq-site-footer a.bshq-ecosystem-item,
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-count {
  background:#1c2f3f !important; border-color:#395367; color:#d9f4eb;
}
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-arrow,
html[data-ykhq-theme="dark"] #footer.bshq-site-footer .bshq-ecosystem-kicker { color:#6ddbb9; }

/* Article detail: maintain clear, readable text and sidebars. */
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content,
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content > p:first-child,
html[data-ykhq-theme="dark"] .bshq-doctor-body li { color:#e0e9f2 !important; }
html[data-ykhq-theme="dark"] .bshq-article-title,
html[data-ykhq-theme="dark"] .bshq-side-card h3,
html[data-ykhq-theme="dark"] .bshq-article-bottom-cta h2,
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content h2,
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content h3 { color:#eaf5ff !important; }
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content a,
html[data-ykhq-theme="dark"] .bshq-related-list a,
html[data-ykhq-theme="dark"] .bshq-side-link { color:#79e3c0 !important; }
html[data-ykhq-theme="dark"] .bshq-side-card,
html[data-ykhq-theme="dark"] .bshq-related-item-v5,
html[data-ykhq-theme="dark"] .bshq-article-bottom-cta,
html[data-ykhq-theme="dark"] .bshq-related-card,
html[data-ykhq-theme="dark"] .bshq-report-card,
html[data-ykhq-theme="dark"] .bshq-saved-grid article a {
  background:#172635 !important; border-color:#385064 !important; color:#dbe9f3 !important;
}
html[data-ykhq-theme="dark"] .bshq-side-card p,
html[data-ykhq-theme="dark"] .bshq-article-bottom-cta p,
html[data-ykhq-theme="dark"] .bshq-related-item-v5 h3,
html[data-ykhq-theme="dark"] .bshq-rehab-card>p:not(.bshq-rehab-small),
html[data-ykhq-theme="dark"] .bshq-related-v5 h2 { color:#d9e6f2 !important; }
html[data-ykhq-theme="dark"] body.bshq-v3 .bshq-article-content blockquote {
  color:#e7edf5; background:#243341; border-left-color:#b68c46;
}
html[data-ykhq-theme="dark"] .bshq-doctor-photo { background:#1a2d3c; }
html[data-ykhq-theme="dark"] .bshq-rehab-card { background:linear-gradient(180deg,#182e37,#172635) !important; }
html[data-ykhq-theme="dark"] .bshq-rehab-form label { color:#d6e5ef !important; }
html[data-ykhq-theme="dark"] .bshq-rehab-small { color:#b2c4d1 !important; }
html[data-ykhq-theme="dark"] .bshq-rehab-status.is-success { background:#14362f; color:#a8efcd; }
html[data-ykhq-theme="dark"] .bshq-rehab-status.is-error { background:#472b2d; color:#ffd7d4; }
html[data-ykhq-theme="dark"] .bshq-tool-btn,
html[data-ykhq-theme="dark"] .bshq-share-panel,
html[data-ykhq-theme="dark"] .bshq-share-options a,
html[data-ykhq-theme="dark"] .bshq-share-options button,
html[data-ykhq-theme="dark"] .bshq-share-close {
  background:#192b3d !important; border-color:#425769 !important; color:#e4eff9 !important;
}
html[data-ykhq-theme="dark"] .bshq-share-panel h3,
html[data-ykhq-theme="dark"] .bshq-related-item-v5 h3 { color:#eef6ff !important; }
html[data-ykhq-theme="dark"] .bshq-mobile-bar { background:rgba(17,30,43,.97) !important; border-color:#334b60; }
html[data-ykhq-theme="dark"] .bshq-mobile-action { color:#eaf3fa; }
html[data-ykhq-theme="dark"] .bshq-mobile-action.primary { background:#0a705a; color:#fff; }

/* Homepage: preserve original teal-blue brand accents and photo styling. */
html[data-ykhq-theme="dark"] .ykhqhp {
  --n:#e9f4ff;--ink:#e3edf7;--muted:#b6c4d3;--line:#365065;--p:#77dbb9;
  color:#e2edf7;
  background:linear-gradient(180deg,#0b1521,#101c2a 44%,#0b1521) !important;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-hero-copy>p,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-mini-proof,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-eyebrow { color:#bdcddd !important; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-trust-card,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-doctor-card,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-topic,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-post,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-name-card,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-empty {
  background:#182939 !important; border-color:#355367 !important;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-doctor-card li,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-doctor-tagline,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-name-card p,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-name-card small,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-next,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-routing-note,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-knowledge-hint,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-post-body p { color:#bbc9d6 !important; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-next,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-routing-note,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-problem-filter button,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-problem-filter button b {
  background:#213346; border-color:#42586b; color:#d8e5f0;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-problem-filter button.is-active,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-problem-filter button.is-active b { background:#0c6b57; color:#fff; border-color:#0c6b57; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-btn.primary,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-small-btn,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-link.is-assessment {
  background:#0b705b !important; color:#fff !important; border-color:#0b705b !important;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-btn.secondary,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-post-more>summary,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-team-link a,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-link:not(.is-assessment) {
  background:#1b3041 !important; border-color:#4a6a75 !important; color:#8de7c6 !important;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-booking-strip,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-cta {
  background:linear-gradient(110deg,#17363b,#172636,#152d34) !important;
  border-color:#356567 !important;
}
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-cta h2,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-booking-strip h2 { color:#f0f8ff !important; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-cta p,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-backpain-link small { color:#bfd0da !important; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-topic-top em { color:#82e6c2; background:#193d39; border-color:#35695e; }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-post-placeholder,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-post-img,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-doctor-img { background:linear-gradient(125deg,#203548,#1b343a); }
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-care-flow { background:linear-gradient(135deg,#0a3344,#0b604e); }
/* Keep high-contrast white text inside the intentionally dark care section. */
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-care-copy h2,
html[data-ykhq-theme="dark"] .ykhqhp .ykhqhp-care-steps strong { color:#fff !important; }

/* Doctor directory. */
html[data-ykhq-theme="dark"] .ykhq-team {
  --team-navy:#edf5ff;--team-green:#79dcbe;--team-green-deep:#0b7159;
  --team-muted:#b6c6d5;--team-border:#3a5062;
  background:#0b1521; color:#dce9f4;
}
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-hero,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-help { background:linear-gradient(120deg,#172a39,#152b32) !important; border-color:#344b60; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-card,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-empty,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-count { background:#1a2b3a !important; border-color:#375369; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-hero-aside strong,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-card h3,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-help h2 { color:#e9f4ff !important; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-lead,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-hero-aside p,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-tagline,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-help p,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-breadcrumb,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-breadcrumb-current { color:#b5c9d9 !important; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-skills li,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-aside-mark,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-help-icon { background:#223c42 !important; border-color:#3e6764; color:#a3efd4; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-book,
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-help-cta { background:#0b7159 !important; color:#fff !important; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-profile { color:#9ae8cc !important; border-color:#437f77; }
html[data-ykhq-theme="dark"] .ykhq-team .ykhq-team-profile:hover { background:#193e3b; }

/* Site-wide callouts and ordinary WordPress blocks; keep branded CTA colors intact. */
html[data-ykhq-theme="dark"] body.bshq-v3 :where(.wp-block-quote,.wp-block-table,.wp-block-group.has-background,.bshq-card,.testimonial-box,.icb_qtrinh) {
  background-color:#172b3b !important; color:#e8f0f6 !important;
}
html[data-ykhq-theme="dark"] body.bshq-v3 :where(.wp-block-quote,.wp-block-table,.testimonial-box) :where(p,li) { color:#dae5ed !important; }

/* Dark colors for the selector itself. */
html[data-ykhq-theme="dark"] body.bshq-v3 .ykhq-color-trigger,
html[data-ykhq-theme="dark"] .ykhq-color-trigger,
html[data-ykhq-theme="dark"] .ykhq-color-menu {
  background:#1b2a3a !important; color:#ecf6ff !important; border-color:#4c6676;
}
html[data-ykhq-theme="dark"] .ykhq-color-menu-title { color:#b8c8d7; }
html[data-ykhq-theme="dark"] body.bshq-v3 .ykhq-color-option,
html[data-ykhq-theme="dark"] .ykhq-color-option { color:#e4effa !important; }
html[data-ykhq-theme="dark"] body.bshq-v3 .ykhq-color-option:hover,
html[data-ykhq-theme="dark"] body.bshq-v3 .ykhq-color-option[aria-pressed="true"],
html[data-ykhq-theme="dark"] .ykhq-color-option:hover,
html[data-ykhq-theme="dark"] .ykhq-color-option[aria-pressed="true"] { background:#2a4651 !important; }
html[data-ykhq-theme="dark"] .ykhq-color-option-check { color:#90f0c9; }
