/* D06: hospital photography, clinical-green editorial type, and clear everyday controls.
   Loaded by canonical site-chrome on public/customer routes; staff tools are excluded. */
@font-face { font-family: 'Uwell Editorial'; src: url('/fonts/playfair-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Uwell Sans'; src: url('/fonts/dm-sans.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
html.d06-theme {
  --font-sans: 'Uwell Sans', 'Noto Sans SC', system-ui, sans-serif;
  --font-serif: 'Uwell Editorial', 'Noto Serif SC', Georgia, serif;
  --color-teal-primary: #0a5c5a;
  --color-teal-light: #0f8b88;
  --color-teal-dark: #053332;
  --color-gold: #c7a566;
  --color-gold-hover: #af8947;
  --color-platinum: #f3f7f5;
  --color-slate-light: #d6e3df;
  --color-text-dark: #112222;
  --color-text-muted: #556666;
  --color-text-light: #f1f5f5;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 3px 12px #05333208;
  --shadow-md: 0 10px 28px #05333210;
  --shadow-lg: 0 20px 48px #0533321a;
  background: #fff;
  accent-color: var(--color-teal-primary);
  scrollbar-color: #76998e #edf4f1;
}
.d06-theme body { font-family: var(--font-sans); color: var(--color-text-dark); background: #fff; }
.d06-theme ::selection { color: #053332; background: #d0e9df; }
.d06-theme :is(input, textarea) { caret-color: #0f8b88; }
.d06-theme :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible { outline: 3px solid #0f8b88; outline-offset: 4px; }
.d06-theme :is(h1,h2,h3) { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.d06-theme p { font-weight: 400; }
.d06-theme :is(a,button) { -webkit-tap-highlight-color: #d0e9df; }
.d06-theme :is(.btn,.login-btn) { border-radius: 4px; min-height: 44px; white-space: normal; text-align: center; }
.d06-theme .btn-teal { color: #fff; background: var(--color-teal-primary); border-color: var(--color-teal-primary); }
.d06-theme .btn-teal:hover { background: #053332; border-color: #053332; }
.d06-theme :is(.container,.header-container) { max-width: 1320px; }
.d06-theme .main-header { color: var(--color-text-dark); background: #fff; border-bottom: 1px solid var(--color-slate-light); box-shadow: none; }
.d06-theme .header-container { padding-block: 12px; }
.d06-theme .main-header :is(.brand-name,.brand-sub,.logo-icon,.lang-btn,.hospital-language label) { color: var(--color-text-dark); }
.d06-theme .brand-name { font-size: 1.35rem; letter-spacing: .1em; font-family: var(--font-sans); }
.d06-theme .brand-sub { font-size: .6rem; letter-spacing: .26em; }
.d06-theme .main-header .header-actions .btn { padding: 12px 22px; font-size: .86rem; }
.d06-theme .main-header :is(.lang-btn,.nav-toggle) { border-color: var(--color-slate-light); border-radius: 4px; }
.d06-theme .main-header .nav-links a { font-family: var(--font-sans); color: var(--color-text-dark); }
.d06-theme .main-header .nav-links a:is(:hover,[aria-current=page]) { color: var(--color-teal-primary); text-decoration: underline; text-underline-offset: 6px; }
.d06-theme .main-header :is(.nav-divider,.nav-toggle span) { background: var(--color-teal-primary); }
.d06-theme .main-header .care-contact-compact { gap: 30px; padding-block: 0; background: #f3f7f5; color: #315e50; }
.d06-theme .main-header .care-contact-compact > a { font-size: .74rem; min-height: 36px; color: #315e50; }
.d06-theme .main-header .care-contact-compact > a:hover { color: #053332; }
html.d06-theme body.nav-open .main-header .header-container.nav-collapsed .nav-links { background: #fff; border-color: var(--color-slate-light); }
html.d06-theme body.nav-open .main-header .header-container.nav-collapsed .nav-links a { color: var(--color-text-dark); }
.d06-theme .main-footer { background: #053332; color: #e7f2ed; border: 0; }
.d06-theme .main-footer :is(h3,h4,.brand-name,.brand-sub,.logo-icon,a) { color: #f5f8f6; }
.d06-theme .main-footer :is(p,.footer-bottom) { color: #c4dcd3; }
.d06-theme .main-footer .care-contact { border-color: #3e675b; }
.d06-theme .footer-links ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding: 0; margin: 0; list-style: none; grid-column: 1 / -1; }
.d06-theme .footer-links ul li { margin: 0; padding: 0; }
/* Existing citations remain direct links; readable labels never replace destinations. */
.d06-theme :is(.program-note,.prog-section,.article-section,.article-sources,.article-lead,.cat-sources) a:not(.btn),
.d06-theme a.d06-source-link { color: var(--color-teal-primary); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.d06-theme :is(.program-note,.prog-section,.article-section,.article-sources,.article-lead,.cat-sources) a:not(.btn):hover,
.d06-theme a.d06-source-link:hover { color: #053332; }
.d06-theme #category-programs { display: flex; flex-direction: column; }
.d06-theme #category-programs > .cat-section-head { order: -1; }
.d06-theme #category-programs > .program-note { margin: 0 0 24px; font-size: .9375rem; }
.d06-theme #category-programs > .programs-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.d06-theme :is(.cat-coord-n,.latest-offerings .offering-number) { display: none; }
.d06-theme :is(.svc-pkg-disclaimer,.cat-status-note,.prog-hosp,.article-lead,.latest-offerings .offerings-note,.compliance-box,.ceil-caveats,.care-form) { border: 1px solid var(--color-slate-light); border-radius: 4px; }
.d06-theme .latest-offerings .offerings-note { padding: 16px 20px; }
.d06-theme .commitment-card > div[style*="position: absolute"] { display: none; }
/* Subpage openings inherit the D06 clear hierarchy, keeping each page's real content. */
.d06-theme :is(.page-hero,.hospitals-page .hospitals-hero,.drugs-hero,.details-hero,.coop-hero) {
  padding-block: calc(var(--header-height) + 44px) 44px;
  background: #eef5f1;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-slate-light);
  text-align: start;
}
.d06-theme :is(.page-hero,.drugs-hero,.details-hero,.coop-hero) h1 {
  font-family: var(--font-serif); color: var(--color-text-dark); font-weight: 500;
  font-size: clamp(2.15rem, 1.3rem + 2.5vw, 3.6rem); line-height: 1.12; max-width: 26ch; margin-block: 0 18px;
}
.d06-theme :is(.page-hero,.drugs-hero,.details-hero,.coop-hero) p { color: var(--color-text-muted); max-width: 68ch; margin-inline: 0; }
.d06-theme :is(.programs-section,.directory-section,.regulatory-pillars) { padding-block: 48px; }
.d06-theme .main-header + .programs-section,
.d06-theme main > .programs-section:first-child { padding-top: calc(var(--header-height) + 40px); }
.d06-theme :is(.section-title,.cat-section-head) { margin-bottom: 28px; }
.d06-theme :is(.section-title,.cat-section-head) h2 { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); }
.d06-theme :is(.section-title,.cat-section-head) p { max-width: 70ch; }
.d06-theme :is(.program-card,.pillar-card,.cat-program-card,.offering-card,.directory-card,.blog-card) {
  border: 1px solid var(--color-slate-light); border-radius: 5px; background: #fff; box-shadow: none;
}
.d06-theme :is(.program-card,.pillar-card,.cat-program-card,.offering-card,.directory-card,.blog-card):hover { box-shadow: none; transform: none; }
.d06-theme .program-card { padding: 26px; }
.d06-theme .program-card::after { display: none; }
.d06-theme :is(.program-name,.cat-program-card h3) { font-size: 1.5rem; }
.d06-theme :is(.program-tag,.article-tags span,.bi-tag) { color: #315e50; background: #edf5f0; border-color: #cedfd7; }
.d06-theme .svc-pkg-price { color: var(--color-teal-primary); font-variant-numeric: tabular-nums; }
.d06-theme .svc-pkg-card .btn { margin-top: auto; }
.d06-theme .svc-pkg-disclaimer { color: var(--color-text-muted); background: #edf5f0; border-radius: 4px; }
.d06-theme .programs-grid { gap: 24px; }
.d06-theme :is(.pathways-section,.cat-coordination) { background: #f3f7f5; }
.d06-theme .cat-hero { background: #eef5f1; border-bottom: 1px solid var(--color-slate-light); }
.d06-theme .cat-hero-copy h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 1.4rem + 2.3vw, 3.7rem); font-weight: 500; }
.d06-theme .cat-hero-aside { background: #fff; border: 0; border-radius: 4px; box-shadow: none; }
.d06-theme .category-source-photo img { border-radius: 3px; }
.d06-theme :is(.cat-stat,.cat-coord-item) { border-color: var(--color-slate-light); }
/* The hospital list uses facility photographs as its primary visual evidence. */
.d06-theme .hospitals-page :is(.hospitals-directory,.hospitals-coverage) { background: #fff; }
.d06-theme .hospitals-page .hospitals-region > .pillars-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 24px !important; align-items: start; }
.d06-theme .hospitals-page .hospital-card { border-radius: 5px !important; height: auto; align-self: start; }
.d06-theme .hospitals-page .hospital-card h3 { font-family: var(--font-serif); font-size: 1.45rem !important; line-height: 1.3; }
.d06-theme .hospitals-page .hospital-card[data-official-photo] > div > div:has(> img) { height: 205px !important; }
.d06-theme .hospitals-page .hospital-card-fact { display:flex; align-items:flex-start; gap:10px; margin:0 0 14px; font-size:.88rem; line-height:1.55; color:var(--color-text-muted); }
.d06-theme .hospitals-page .hospital-card-fact .uw-icon { width:19px; height:19px; flex:0 0 19px; margin-top:2px; color:var(--color-teal-primary); filter:none; }
.d06-theme .hospitals-page .hospital-card-fact strong { font-weight:500; color:var(--color-text-dark); }
.d06-theme .hospitals-page .hospital-card-bio { margin:0 0 16px; font-size:.9rem; line-height:1.6; color:var(--color-text-muted); }
.d06-theme .hospitals-page .hospital-card-location { font-size:.8rem; }
.d06-theme .hospitals-page .hospital-details-link { margin-top:12px; align-self:flex-start; }
.d06-theme .hospital-detail-main h1 { max-width: 32ch; font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.6rem); line-height: 1.15; }
.d06-theme .hospital-detail-main .hospital-gallery { margin-block: 24px 36px; }
.d06-theme .hospital-gallery img { max-height: 520px; border-radius: 4px; }
.d06-theme :is(.hospital-gallery,.category-source-photo) figcaption { color: var(--color-text-muted); }
.d06-theme .hospital-detail-main section { max-width: 76ch; }
.d06-theme .hospital-language select { border-radius: 4px; }
/* Catalogue and clinical details remain information pages, never shopping cards. */
.d06-theme .special-drugs-page .drug-group { border-color: var(--color-slate-light); }
.d06-theme .special-drugs-page .catalogue-tools { border: 1px solid var(--color-slate-light); border-radius: 5px; box-shadow: none; }
.d06-theme .special-drugs-page .drug-card h3 { font-family: var(--font-sans); }
.d06-theme .prog-detail { border-radius: 5px; box-shadow: none; overflow-wrap: anywhere; }
.d06-theme .prog-head { border-bottom-width: 1px; }
.d06-theme .prog-head:has(.specialist-portrait) { grid-template-columns: 168px minmax(0, 1fr); align-items: start; }
.specialist-portrait { margin: 0; }
.specialist-portrait img { display: block; width: 100%; height: 206px; object-fit: cover; object-position: center 22%; }
.specialist-portrait figcaption { margin-top: .55rem; font-size: .69rem; line-height: 1.5; color: var(--color-text-muted); }
.d06-theme .directory-results { display: block; }
.d06-theme #specialists .search-panel { padding: 16px; margin-bottom: 28px; border-radius: 4px; box-shadow: none; }
.d06-theme #specialists .search-inputs :is(input,select) { min-width: 0; font-size: 1rem; border-radius: 4px; padding-inline: 12px; }
.d06-theme .directory-group { margin-block: 0 48px; container: directory-list / inline-size; }
.d06-theme .directory-group:last-child { margin-bottom: 0; }
.d06-theme .directory-group-heading { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; font-size: 1.75rem; }
.d06-theme .directory-group-count { font: 400 1rem var(--font-sans); color: var(--color-text-muted); }
.d06-theme .directory-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.d06-theme .directory-group--doctor .directory-group-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.d06-theme .doc-card { border-radius: 3px; box-shadow: none; transition: border-color .2s ease; min-width: 0; }
.d06-theme .doc-card:hover { transform: none; box-shadow: none; }
.directory-photo { margin: 0; background: #f2f6f3; }
.directory-photo img { display: block; width: 100%; height: 180px; object-fit: cover; }
.directory-photo figcaption { padding: 12px 20px; font-size: .875rem; line-height: 1.5; color: #4d645a; }
.doc-card[data-directory-kind="program"] .directory-photo img { object-fit: contain; }
.d06-theme .doc-card-header { padding: 20px; background: #fff; color: var(--color-text-dark); border-bottom: 1px solid var(--color-slate-light); }
.d06-theme .doc-avatar { flex: 0 0 80px; width: 80px; height: 100px; border-radius: 3px; border: 0; background: var(--color-platinum); }
.d06-theme .doc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.d06-theme .doc-meta { min-width: 0; }
.d06-theme .doc-meta :is(h3,h4) { margin: 0 0 8px; color: var(--color-text-dark); font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.4; overflow-wrap: anywhere; }
.d06-theme .doc-title-line { color: var(--color-text-muted); font-size: .875rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.d06-theme .doc-card :is(p,li,.doc-hospital,.doc-tag,.badge-trust) { overflow-wrap: anywhere; }
.d06-theme .directory-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.d06-theme .directory-card-actions .btn { white-space: normal; min-height: 44px; }
.d06-theme .doc-card[data-directory-kind="doctor"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-header { align-items: start; gap: 20px; }
.d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-body { flex: initial; align-self: center; }
.d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-footer { grid-column: 1 / -1; justify-content: flex-end; background: #f3f7f5; }
.d06-theme .doc-card[data-directory-kind="doctor"] .badge-trust { margin-inline-end: auto; }
@container directory-list (min-width: 1060px) {
  .d06-theme .doc-card[data-directory-kind="doctor"] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(180px, .7fr); }
  .d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-footer { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; border-top: 0; border-inline-start: 1px solid var(--color-slate-light); background: #fff; }
}
@media (max-width: 1050px) {
  .d06-theme .directory-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .d06-theme .directory-group { margin-bottom: 36px; }
  .d06-theme .directory-group-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .d06-theme .doc-card[data-directory-kind="doctor"] { grid-template-columns: minmax(0, 1fr); }
  .d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-body { padding-top: 0; }
  .d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-footer { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .d06-theme #specialists { padding-inline: 18px; }
  .d06-theme .directory-card-actions { width: 100%; }
  .d06-theme .directory-card-actions .btn { flex: 1 1 140px; }
  .d06-theme .doc-card[data-directory-kind="doctor"] .doc-card-header { gap: 14px; }
  .d06-theme .doc-card[data-directory-kind="doctor"] .doc-avatar { flex-basis: 68px; width: 68px; height: 85px; }
}
.d06-theme #triageModal .modal-footer .btn-outline { color: var(--color-teal-primary); border-color: var(--color-teal-primary); background: transparent; }
.d06-theme #triageModal .modal-footer .btn-outline:hover:not(:disabled) { color: #fff; background: var(--color-teal-primary); }
.d06-theme #triageModal .modal-footer .btn-outline:disabled { opacity: .45; cursor: not-allowed; }
.d06-theme .doc-card-header h4 { line-height: 1.4; }
.d06-theme .doc-card-body { padding: 1.2rem; }
.d06-theme .doc-card-footer { padding: 1rem 1.2rem; gap: .5rem; flex-wrap: wrap; }
.d06-theme .doc-card-footer .badge-trust:empty { display: none; }
@media (max-width: 540px) {
  .d06-theme .prog-head:has(.specialist-portrait) { grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; }
  .specialist-portrait img { height: 145px; }
}
.d06-theme .prog-h { font-family: var(--font-sans); font-size: .875rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.d06-theme .prog-section :is(a,li,p) { overflow-wrap: anywhere; }
.d06-theme .treatment-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; padding-block: 40px 64px; }
.d06-theme .treatment-guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--color-slate-light); border-radius: 5px; background: #fff; }
.d06-theme .treatment-guide-card > a { height: 100%; display: flex; flex-direction: column; color: var(--color-text-dark); text-decoration: none; }
.d06-theme .treatment-guide-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.d06-theme .treatment-guide-card figure { margin: 0; }
.d06-theme .treatment-guide-card figcaption { padding: 10px 24px 0; color: var(--color-text-muted); font-size: .75rem; line-height: 1.5; }
.d06-theme .treatment-guide-card :is(h2,h3) { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; }
.d06-theme .treatment-guide-card p { color: var(--color-text-muted); font-size: .9375rem; line-height: 1.6; }
.d06-theme .treatment-guide-card > a > div { padding: 24px; flex: 1; }
.d06-theme .treatment-guide-copy > span { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; color: var(--color-teal-primary); font-size: .875rem; }
.d06-theme .treatment-directory-main .treatment-guide-grid { padding-block: 0 16px; }
.d06-theme .treatment-guide-card:hover { border-color: #709889; }
.d06-theme .treatment-guide-card a:hover :is(h2,h3) { text-decoration: underline; text-underline-offset: 5px; }
.d06-theme :is(.detail-card,.sidebar-card,.info-card) { background: #fff; border: 1px solid var(--color-slate-light); border-radius: 5px; box-shadow: none; backdrop-filter: none; }
.d06-theme :is(.detail-card,.sidebar-card,.info-card) :is(h2,h3,h4,strong) { color: var(--color-text-dark); }
.d06-theme #sciBody :is(h2,h3,h4) { color: var(--color-text-dark) !important; }
.d06-theme .comp-table :is(th,td) { color: var(--color-text-muted); border-color: var(--color-slate-light); padding: 12px; text-align: start; overflow-wrap: anywhere; }
.d06-theme .comp-table th { background: #edf5f0; color: var(--color-text-dark); }
.d06-theme :is(.detail-card,.sidebar-card,.info-card) :is(p,li,label,.review-text),
.d06-theme :is(#sciBody,#compBody,.review-text strong,.lead-paragraph,.coop-desc) { color: var(--color-text-muted) !important; }
.d06-theme :is(.detail-card,.sidebar-card,.info-card) :is(.btn-teal,.btn-teal span) { color: #fff !important; }
.d06-theme .sidebar-card { top: calc(var(--header-height) + var(--nav-extra-height, 0px) + 24px); }
.d06-theme :is(.ai-disclosure,.review-board,.compliance-banner) { border-color: var(--color-slate-light); border-radius: 4px; color: var(--color-text-muted); background: #f3f7f5; }
.d06-theme .review-board { border: 1px solid var(--color-slate-light); }
.d06-theme .review-board :is(small,span) { color: var(--color-text-muted) !important; }
.d06-theme .info-list li::before,.d06-theme .sidebar-feature-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #0f8b88; top: .55em; }
.d06-theme .info-list li { padding-left: 0; padding-inline-start: 1.25rem; }
.d06-theme .info-list li::before { left: auto; inset-inline-start: 0; }
/* Service and journey pages borrow the clinical-green field, retaining their task sequence. */
.d06-theme .concierge-page .concierge-hero { background: #053332; }
.d06-theme .concierge-page .concierge-intro h1 { font-size: clamp(2.5rem,1.5rem + 2.5vw,4rem); }
.d06-theme .concierge-page .concierge-overview { border-color: #3e675b; }
.d06-theme .concierge-page .concierge-route i { color: #d7bc89; }
.d06-theme .concierge-page .concierge-overview-note { border-color: #3e675b; color: #d3e6db; }
.d06-theme :is(.step-content,.reception-item) { border-radius: 4px; box-shadow: none; border-color: var(--color-slate-light); }
.d06-theme .timeline-step.active .step-content { background: #f3f7f5; }
.d06-theme .timeline-step .step-tag { color: var(--color-teal-primary); }
.d06-theme :is(.advantages-section,.philosophy-section) { background: #053332 !important; }
.d06-theme .compliance-disclosure-box { background: #f3f7f5 !important; border-color: var(--color-slate-light) !important; box-shadow: none !important; }
/* Journey panels keep foreground/background pairs together. The legacy dark
   timeline inherited white text when the selected step became a light panel. */
.d06-theme .journey-page .sop-section { background: #fff; color: var(--color-text-dark); padding-block: 56px; }
.d06-theme .journey-page .sop-section h2 { color: var(--color-text-dark); }
.d06-theme .journey-page .timeline-line { left: auto; inset-inline-start: 30px; background: #b6d2c5; }
.d06-theme .journey-page .step-content { min-width: 0; background: #fff; border-color: #b6d2c5; }
.d06-theme .journey-page .timeline-step.active .step-content { background: #eef5f1; border-color: #6b9785; box-shadow: none; }
.d06-theme .journey-page .step-content h3 { color: var(--color-text-dark); }
.d06-theme .journey-page .sop-section p { color: var(--color-text-muted); }
.d06-theme .journey-page .step-duration { color: #315e50; font-size: .875rem; }
.d06-theme .journey-page .step-num { background: #053332; border-color: #053332; color: #fff; box-shadow: none; }
.d06-theme .journey-page .timeline-step.active .step-num { background: #c7a566; border-color: #c7a566; color: #053332; box-shadow: none; }
.d06-theme .journey-page .step-tag { color: #0a5c5a; background: #e5f1e9; border-color: #b6d2c5; font-size: .875rem; }
.d06-theme .journey-page .reception-item { color: var(--color-text-dark); background: #f3f7f5; }
.d06-theme .journey-page .reception-num { color: #0a5c5a; }
.d06-theme .journey-page .compliance-disclosure-box :is(h3,h4) { color: var(--color-text-dark) !important; }
.d06-theme .journey-page .compliance-disclosure-box p { color: var(--color-text-muted) !important; }
.d06-theme .journey-page .compliance-disclosure-box :is(strong,i) { color: var(--color-text-dark); }
@media (max-width: 600px) {
  .d06-theme .journey-page .timeline-container { gap: 24px; }
  .d06-theme .journey-page .timeline-step { gap: 16px; }
  .d06-theme .journey-page .step-num { width: 44px; height: 44px; font-size: 1.125rem; }
  .d06-theme .journey-page .timeline-line { inset-inline-start: 21px; }
  .d06-theme .journey-page .step-content { padding: 24px 20px; }
  .d06-theme .journey-page .compliance-disclosure-box { padding: 24px 20px !important; }
}
/* Read surfaces use generous measure and actual article imagery. */
.d06-theme :is(.bi-wrap,.article-wrap) { padding-top: calc(var(--header-height) + 40px); }
.d06-theme .bi-wrap { max-width: 1320px; }
.d06-theme .bi-head { padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--color-slate-light); }
.d06-theme .bi-head h1 { font-size: clamp(2.2rem, 1.2rem + 2.5vw, 3.6rem); }
.d06-theme .blog-card-img { height: 215px; object-fit: cover; }
.d06-theme .blog-card-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.d06-theme .article-wrap { max-width: 880px; }
.d06-theme .article-wrap h1 { font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.4rem); line-height: 1.15; }
.d06-theme .article-section { margin-top: 2.5rem; }
.d06-theme .article-section h2 { font-size: 1.85rem; margin-bottom: 1rem; }
.d06-theme .article-section p { font-size: 1.0625rem; line-height: 1.8; }
.d06-theme .article-hero-img { border-radius: 4px; }
.d06-theme .article-disclaimer { border: 1px solid var(--color-slate-light); background: #f3f7f5; border-radius: 4px; }
.d06-theme .legal-main { max-width: 920px; }
.d06-theme .legal-main h1 { font-size: clamp(2rem,1.2rem + 2vw,3.3rem); }
.d06-theme .legal-section { padding-block: 24px; border-top: 1px solid var(--color-slate-light); }
/* Form behavior/consent stay owned by their existing modules. */
.d06-theme :is(.form-control,.form-group input,.form-group textarea,.form-group select,.catalogue-fields input,.catalogue-fields select,.directory-filter-field select,.directory-filter-field input,.care-form-field input,.care-form-field select,.care-form-field textarea) {
  color: var(--color-text-dark); background-color: #fff; border-color: #9cb8aa; border-radius: 4px; min-height: 46px; font-family: var(--font-sans); font-size: 1rem;
}
.d06-theme :is(input,textarea)::placeholder { color: #546f63; opacity: 1; }
.d06-theme :is(.form-control,.form-group input,.form-group textarea):focus { border-color: #0f8b88; }
.d06-theme :is(.form-group label,.form-label) { color: var(--color-text-dark); }
.d06-theme :is(.form-group input[type=checkbox],.form-group input[type=radio]) { min-height: 0; }
.d06-theme :is(.modal-card,.consent-dialog,.chat-panel) { border-radius: 8px; }
.d06-theme .chat-launcher { background: #0a5c5a; box-shadow: 0 8px 24px #05333220; }
.d06-theme .chat-launcher .uw-icon { color: #fff; }
/* Patient account surfaces are calm task interfaces within the same identity. */
html.d06-customer body:has(.login-container) { background: #eef5f1; overflow: auto; color: #053332; align-items: flex-start; }
.d06-customer .login-container { max-width: 520px; padding: 48px 24px; }
.d06-customer .login-card { background: #fff; border: 1px solid var(--color-slate-light); border-radius: 6px; box-shadow: 0 16px 48px #05333210; backdrop-filter: none; animation: none; }
.d06-customer .login-brand .brand-name { background: none; -webkit-text-fill-color: currentColor; color: #053332; font-weight: 500; }
.d06-customer .login-card h2 { color: #053332; font-family: var(--font-serif); }
.d06-customer :is(.login-desc,.login-footer,.language-control label) { color: var(--color-text-muted); }
.d06-customer .field-hint { color: var(--color-text-muted); }
.d06-customer :is(.login-footer a,.auth-tab) { color: var(--color-teal-primary); }
.d06-customer .login-btn { background: #0a5c5a; color: #fff; font-family: var(--font-sans); }
.d06-customer .login-error { background: #fff3f1; border-color: #d69b93; color: #8b3025; }
.d06-customer .language-control select { color: #053332; background: #fff; border-color: #9cb8aa; }
.d06-customer .auth-tab[aria-selected=true] { color: #0a5c5a; border-color: #0a5c5a; background: #edf5f0; }
.d06-customer .portal-page { background: #f3f7f5; }
.d06-customer .portal-grid { grid-template-columns: minmax(280px,360px) minmax(0,1fr); }
.d06-customer :is(.portal-card,.portal-chat-panel) { border-radius: 6px; box-shadow: none; }
.d06-customer .portal-card :is(h3,h4,h5) { font-family: var(--font-sans); letter-spacing: 0; font-weight: 600; }
.d06-customer .portal-card { overflow-wrap: anywhere; }
.d06-customer .portal-page-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; margin: 0 0 24px; color: var(--color-text-dark); }
.d06-customer #userGreeting { color: var(--color-text-dark) !important; }
.d06-customer .chat-tab-headers { background: #053332; border-bottom: 1px solid #d6e3df; }
.d06-customer .chat-tab-btn.active { background: #0a5c5a; }
.d06-customer .portal-chat-panel { min-width: 0; }
.d06-customer .portal-empty-action { display: none; }
.d06-customer .case-summary-card:has(#caseSymptomsText:empty) :is(.symptoms-preview,#caseIdText) { display: none; }
.d06-customer .case-summary-card:has(#caseSymptomsText:empty) .portal-empty-action { display: grid; gap: 16px; }
.d06-customer .portal-empty-action p { margin: 0; color: var(--color-text-muted); font-size: .9375rem; }
.d06-customer .portal-empty-action .btn { width: fit-content; }
.d06-customer .portal-chat-panel:has(#portalChatBody:empty) { height: auto; min-height: 0; }
.d06-customer #portalChatBody:empty { flex-grow: 0; min-height: 0; padding-block: 12px; }
.d06-customer .chat-input-area input { min-width: 0; font-size: 1rem; }
@media (max-width:1000px) {
  .d06-theme #category-programs > .programs-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .d06-theme .treatment-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .d06-theme .hospitals-page .hospitals-region > .pillars-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .d06-customer .portal-grid { grid-template-columns: minmax(0,1fr); }
  .d06-customer .portal-grid > * { width: 100%; }
}
@media (max-width:700px) {
  .d06-theme #category-programs > .programs-grid { grid-template-columns: minmax(0,1fr); }
  .d06-theme .main-footer { padding: 32px 0 24px; }
  .d06-theme .footer-grid { gap: 24px; margin-bottom: 24px; }
  .d06-theme .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .d06-theme .footer-links :is(h2,h4,h5) { grid-column: 1 / -1; margin-bottom: 8px; }
  .d06-theme :is(.footer-contacts,.footer-contact) { gap: 8px; }
  .d06-theme :is(.footer-contacts,.footer-contact) :is(p,h2,h4,h5) { margin: 0; }
  .d06-theme .footer-bottom { padding: 20px 22px 0; }
  .d06-theme .treatment-guide-grid { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 28px 44px; }
  .d06-theme .header-container { padding-block: 10px; }
  .d06-theme .brand-name { font-size: 1.08rem; }
  .d06-theme .brand-sub { font-size: .52rem; }
  .d06-theme .main-header .care-contact-compact { gap: 8px; }
  .d06-theme :is(.page-hero,.hospitals-page .hospitals-hero,.drugs-hero,.details-hero,.coop-hero) { padding-block: calc(var(--header-height) + 26px) 30px; }
  .d06-theme :is(.container,.header-container) { padding-inline: 22px; }
  .d06-theme .main-header .header-container { padding-inline: 12px; }
  .d06-theme :is(.programs-section,.directory-section,.regulatory-pillars) { padding-block: 32px; }
  .d06-theme .main-header + .programs-section,
  .d06-theme main > .programs-section:first-child { padding-top: calc(var(--header-height) + 28px); }
  .d06-theme .hospitals-page .hospitals-region > .pillars-grid { grid-template-columns: minmax(0,1fr) !important; }
  .d06-theme :is(.detail-card,.sidebar-card,.info-card,.program-card) { padding: 22px; }
  .d06-theme :is(.article-wrap,.bi-wrap) { padding-inline: 22px; }
  .d06-theme :is(.article-wrap,.bi-wrap) { padding-top: calc(var(--header-height) + 28px); }
  .d06-customer .login-container { padding: 24px 16px; }
  .d06-customer .login-card { padding: 28px 22px; }
  .d06-theme .hospital-detail-page .header-actions { flex-shrink: 1; }
  .d06-theme .hospital-language { gap: 4px; }
  .d06-theme .hospital-language select { max-width: 100px; }
}
@media (prefers-reduced-motion:reduce) {
  .d06-theme *, .d06-theme *::before, .d06-theme *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
