:root{color-scheme:light}.theme-switcher{position:relative;z-index:1200;font:600 14px/1.2 Arial,sans-serif}.theme-switcher-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:142px;min-height:42px;padding:8px 12px;border:1px solid #b7cee2;border-radius:10px;background:#fff;color:#124376;box-shadow:0 3px 10px rgba(18,67,108,.08);cursor:pointer}.theme-switcher-toggle:hover{border-color:#79acd7;background:#f7fbff}.theme-switcher-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e8f3ff;color:#075fae;font-size:16px;line-height:1}.theme-switcher-current{flex:1;text-align:left;white-space:nowrap}.theme-switcher-chevron{width:12px;height:8px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}.theme-switcher-toggle[aria-expanded="true"] .theme-switcher-chevron{transform:rotate(180deg)}.theme-switcher-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:205px;padding:7px;border:1px solid #bed3e5;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(13,50,84,.2)}.theme-switcher-menu button{display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#173e65;text-align:left;cursor:pointer}.theme-choice-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#edf5fc;color:#075fae;font-size:15px}.theme-choice-check{visibility:hidden;color:#0873cb;font-size:15px;font-weight:900}.theme-switcher-menu button:hover,.theme-switcher-menu button.active{background:#e8f3ff;color:#075fae}.theme-switcher-menu button.active .theme-choice-check{visibility:visible}.theme-switcher-floating{position:fixed;right:18px;bottom:18px}.theme-switcher-public{margin-left:auto}.theme-switcher :focus-visible{outline:3px solid #f2b84b;outline-offset:2px}
html .navigation-host-v383{background:#0753a7!important}html .nav.navigation-v383{background:transparent!important;border-color:transparent!important}
html[data-theme-resolved="dark"]{color-scheme:dark}html[data-theme-resolved="dark"] body{background:#071624!important;color:#dceafa!important}html[data-theme-resolved="dark"] .site-header,html[data-theme-resolved="dark"] header{background:#091b2c!important;color:#eaf4ff!important}html[data-theme-resolved="dark"] .top-nav,html[data-theme-resolved="dark"] .main-nav,html[data-theme-resolved="dark"] nav.primary-nav{background:#0a3763!important}html[data-theme-resolved="dark"] main,html[data-theme-resolved="dark"] .page-shell,html[data-theme-resolved="dark"] .site-main{color:#dceafa}html[data-theme-resolved="dark"] h1,html[data-theme-resolved="dark"] h2,html[data-theme-resolved="dark"] h3,html[data-theme-resolved="dark"] h4{color:#f2f7fc!important}html[data-theme-resolved="dark"] p,html[data-theme-resolved="dark"] .muted,html[data-theme-resolved="dark"] .hint{color:#a9bfd2!important}html[data-theme-resolved="dark"] a{color:#69b7ff}html[data-theme-resolved="dark"] .card,html[data-theme-resolved="dark"] .box,html[data-theme-resolved="dark"] .panel,html[data-theme-resolved="dark"] .content-card,html[data-theme-resolved="dark"] .page-card,html[data-theme-resolved="dark"] .service-card,html[data-theme-resolved="dark"] .news-card,html[data-theme-resolved="dark"] .audience-card-modern,html[data-theme-resolved="dark"] .portal-service-card,html[data-theme-resolved="dark"] .cms-page-content,html[data-theme-resolved="dark"] .error-card{background:#10263a!important;border-color:#29465d!important;color:#dceafa!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important}html[data-theme-resolved="dark"] input,html[data-theme-resolved="dark"] textarea,html[data-theme-resolved="dark"] select{background:#0c2032!important;border-color:#35546c!important;color:#edf6ff!important}html[data-theme-resolved="dark"] input::placeholder,html[data-theme-resolved="dark"] textarea::placeholder{color:#8299ad!important}html[data-theme-resolved="dark"] table,html[data-theme-resolved="dark"] th,html[data-theme-resolved="dark"] td{border-color:#29465d!important}html[data-theme-resolved="dark"] th{background:#12314b!important;color:#f0f6fc!important}html[data-theme-resolved="dark"] footer,html[data-theme-resolved="dark"] .site-footer{background:#061d34!important;color:#d4e7f8!important}html[data-theme-resolved="dark"] .theme-switcher-toggle,html[data-theme-resolved="dark"] .theme-switcher-menu{background:#10263a;color:#e8f1fa;border-color:#35546c}html[data-theme-resolved="dark"] .theme-switcher-menu button{color:#dceafa}html[data-theme-resolved="dark"] .theme-switcher-menu button:hover,html[data-theme-resolved="dark"] .theme-switcher-menu button.active{background:#123c66;color:#fff}
@media(max-width:760px){.theme-switcher-current{display:none}.theme-switcher-toggle{width:42px;padding:8px}.theme-switcher-public{margin-left:6px}}

/* Complete homepage palette. Portal components use deliberately strong light
   rules, so each surface is mapped explicitly instead of globally inverted. */
html[data-theme-resolved="dark"] body.portal-home{background:linear-gradient(145deg,#06131f,#0a1c2c 56%,#071624)!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.portal-home main{background:transparent!important}
html[data-theme-resolved="dark"] body.portal-home .portal-hero{background:#0d2437!important;border-color:#294d69!important;box-shadow:0 14px 38px rgba(0,0,0,.28)!important}
html[data-theme-resolved="dark"] body.portal-home .portal-hero-copy{background:linear-gradient(110deg,#0d2437 72%,rgba(13,36,55,.35))!important}
html[data-theme-resolved="dark"] body.portal-home .portal-hero-copy h1{color:#f3f8fd!important}
html[data-theme-resolved="dark"] body.portal-home .portal-hero-copy p{color:#b5cadc!important}
html[data-theme-resolved="dark"] body.portal-home .portal-audiences a{background:#12314a!important;border-color:#355b77!important;color:#b9dcff!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-audiences a:first-child{background:#1677e8!important;border-color:#3795f1!important;color:#fff!important}
html[data-theme-resolved="dark"] body.portal-home .portal-services h2,html[data-theme-resolved="dark"] body.portal-home .section-head h2,html[data-theme-resolved="dark"] body.portal-home .home-services h2{color:#f1f6fb!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .portal-policy-card,html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-help-card,html[data-theme-resolved="dark"] body.portal-home .patient-account,html[data-theme-resolved="dark"] body.portal-home #patient-services,html[data-theme-resolved="dark"] body.portal-home .news-panel,html[data-theme-resolved="dark"] body.portal-home .portal-documents,html[data-theme-resolved="dark"] body.portal-home .home-services,html[data-theme-resolved="dark"] body.portal-home .useful-panel{background:#10263a!important;border-color:#294d69!important;box-shadow:0 12px 30px rgba(0,0,0,.2)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .portal-policy-card>strong,html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-copy h2,html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .patient-account h2{color:#eef6fd!important}
html[data-theme-resolved="dark"] body.portal-home .patient-account-subtitle,html[data-theme-resolved="dark"] body.portal-home .policy-help-copy p,html[data-theme-resolved="dark"] body.portal-home .news-four p{color:#9fb7ca!important}
html[data-theme-resolved="dark"] body.portal-home .portal-policy-card .policy-check-inline input{background:#091b2b!important;border-color:#35546c!important;color:#eaf4fd!important}
html[data-theme-resolved="dark"] body.portal-home .portal-shortcuts>a,html[data-theme-resolved="dark"] body.portal-home .useful-panel>a,html[data-theme-resolved="dark"] body.portal-home .patient-account-links a{background:#132d43!important;border-color:#31516a!important;color:#cfe7fb!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-shortcuts>a:hover,html[data-theme-resolved="dark"] body.portal-home .useful-panel>a:hover,html[data-theme-resolved="dark"] body.portal-home .patient-account-links a:hover{background:#173a56!important;border-color:#4380ad!important}
html[data-theme-resolved="dark"] body.portal-home .portal-icon,html[data-theme-resolved="dark"] body.portal-home .mini-icon{background:#153b58!important;color:#65b8ff!important}
html[data-theme-resolved="dark"] body.portal-home .portal-news-link,html[data-theme-resolved="dark"] body.portal-home .portal-document{color:#cfe7fb!important;border-color:#29465d!important}
html[data-theme-resolved="dark"] body.portal-home .portal-news-date{background:#0c2032!important;border-color:#35546c!important;color:#aac0d2!important}
html[data-theme-resolved="dark"] body.portal-home .portal-news-date strong{color:#e7f2fc!important}
html[data-theme-resolved="dark"] body.portal-home .portal-important-news{background:#162b3d!important;border-color:#755e2b!important}
html[data-theme-resolved="dark"] body.portal-home .portal-important-card{background:#10263a!important;border-color:#5d5238!important;color:#e8f1fa!important}
html[data-theme-resolved="dark"] body.portal-home .portal-important-content strong{color:#eef6fd!important}
html[data-theme-resolved="dark"] body.portal-home .audience-card-modern,html[data-theme-resolved="dark"] body.portal-home .site-section-card{background:linear-gradient(145deg,#10263a,#0d2133)!important;border-color:rgba(var(--card-rgb),.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 28px rgba(0,0,0,.22)!important}
html[data-theme-resolved="dark"] body.portal-home .audience-card-modern h2,html[data-theme-resolved="dark"] body.portal-home .site-section-card h2{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.portal-home .audience-cols a,html[data-theme-resolved="dark"] body.portal-home .site-section-links a{background:rgba(33,61,82,.82)!important;border-color:rgba(113,156,188,.18)!important;color:#c3d9ea!important}
html[data-theme-resolved="dark"] body.portal-home .audience-cols a:hover,html[data-theme-resolved="dark"] body.portal-home .site-section-links a:hover{background:#1b3b54!important;color:#fff!important}
html[data-theme-resolved="dark"] body.portal-home .audience-round,html[data-theme-resolved="dark"] body.portal-home .site-section-icon{background:#17364e!important;border-color:rgba(var(--card-rgb),.5)!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.portal-home .audience-card-modern .section-button,html[data-theme-resolved="dark"] body.portal-home .site-section-card .section-button{background:#153249!important;color:#9fd0fb!important;border-color:#3b6380!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-inner{background:#10263a!important;border-color:#294d69!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-title{color:#eef6fd!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-strip{background:#071624!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-info,html[data-theme-resolved="dark"] body.portal-home .home-contact-info span,html[data-theme-resolved="dark"] body.portal-home .home-contact-info a{color:#c9dceb!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-info{border-color:#35546c!important}
html[data-theme-resolved="dark"] body.portal-home .home-contact-info .home-contact-symbol{color:#65b8ff!important}
html[data-theme-resolved="dark"] body.portal-home .home-socials{border-color:#35546c!important}
html[data-theme-resolved="dark"] body.portal-home header .brand b{color:#6db9ff!important}
html[data-theme-resolved="dark"] body.portal-home .search-head{background:#10263a!important;border-color:#35546c!important;color:#dceafa!important}
html[data-theme-resolved="dark"] .theme-switcher-icon,html[data-theme-resolved="dark"] .theme-choice-icon{background:#183a55;color:#8dcaff}
html[data-theme-resolved="dark"] header .contact-head .contact-label,html[data-theme-resolved="dark"] header .contact-head small{color:#b2c7d8!important}html[data-theme-resolved="dark"] header .contact-head strong{color:#78c0ff!important}html[data-theme-resolved="dark"] header .a11y-head{color:#e5f1fb!important;border-color:#55728a!important;background:#10263a!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art{background:transparent!important;-webkit-mask-image:radial-gradient(ellipse 92% 112% at 68% 70%,#000 48%,transparent 82%)!important;mask-image:radial-gradient(ellipse 92% 112% at 68% 70%,#000 48%,transparent 82%)!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art img{background:transparent!important;mix-blend-mode:multiply;filter:brightness(1.22) contrast(1.08) saturate(.82)}

/* Inner-page templates and decorative-background layouts. */
html[data-theme-resolved="dark"] body.site-page.has-page-background{background:#071624!important}
html[data-theme-resolved="dark"] body.site-page.has-page-background::before,html[data-theme-resolved="dark"] body.site-page.has-page-background::after{opacity:.34!important;filter:saturate(.75) brightness(.65)}
html[data-theme-resolved="dark"] body.site-page.has-page-background main.container{background:rgba(12,32,50,.96)!important;border-color:#29465d!important;box-shadow:0 12px 34px rgba(0,0,0,.24)!important}
html[data-theme-resolved="dark"] body.site-page .page-breadcrumbs{background:#0a1c2d!important;border-color:#29465d!important;color:#9fb5c8!important}
html[data-theme-resolved="dark"] body.site-page .page-hero{background:linear-gradient(120deg,#102c43,#0d2235)!important;border-color:#29465d!important}
html[data-theme-resolved="dark"] body.site-page .page-hero h1{color:#f2f7fc!important}
html[data-theme-resolved="dark"] body.site-page .page-hero p{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page .page-hero-icon{background:#17364e!important;color:#62b4ff!important;box-shadow:0 9px 25px rgba(0,0,0,.22)!important}
html[data-theme-resolved="dark"] body.site-page .content-note,html[data-theme-resolved="dark"] body.site-page .notice,html[data-theme-resolved="dark"] body.site-page .note{background:#142d43!important;border-color:#388bcf!important;color:#c3d8e9!important}
html[data-theme-resolved="dark"] body.site-page .section-directory-card,html[data-theme-resolved="dark"] body.site-page .contact-box,html[data-theme-resolved="dark"] body.site-page .news-list article,html[data-theme-resolved="dark"] body.site-page .news-grid article,html[data-theme-resolved="dark"] body.site-page .content-grid aside,html[data-theme-resolved="dark"] body.site-page .tiles>a,html[data-theme-resolved="dark"] body.site-page .service-grid>a{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
html[data-theme-resolved="dark"] body.site-page .section-directory-card h2,html[data-theme-resolved="dark"] body.site-page .contact-box h2,html[data-theme-resolved="dark"] body.site-page .news-list h2{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .directory-list,html[data-theme-resolved="dark"] body.site-page .main-content p,html[data-theme-resolved="dark"] body.site-page .contact-box p{color:#b4c9da!important}
html[data-theme-resolved="dark"] body.site-page .cms-page-content{background:#10263a!important;border-color:#29465d!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .cms-page-content h1,html[data-theme-resolved="dark"] body.site-page .cms-page-content h2,html[data-theme-resolved="dark"] body.site-page .cms-page-content h3{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .registry-tabs button{background:#132d43!important;border-color:#35546c!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .registry-tabs .active{background:#1677e8!important;color:#fff!important}
html[data-theme-resolved="dark"] body.site-page .registry-card,html[data-theme-resolved="dark"] body.site-page .registry-year,html[data-theme-resolved="dark"] body.site-page .registry-sub{background:#10263a!important;border-color:#315069!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .registry-year-button,html[data-theme-resolved="dark"] body.site-page .registry-sub-toggle{background:#132d43!important;border-color:#35546c!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .registry-year-button:hover,html[data-theme-resolved="dark"] body.site-page .registry-sub-toggle:hover{background:#173a56!important}
html[data-theme-resolved="dark"] body.site-page .registry-year-title,html[data-theme-resolved="dark"] body.site-page .registry-sub-title{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .registry-year-info,html[data-theme-resolved="dark"] body.site-page .registry-meta,html[data-theme-resolved="dark"] body.site-page .registry-sub-meta{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page .registry-year-body,html[data-theme-resolved="dark"] body.site-page .registry-scroll{background:#0c2032!important;border-color:#29465d!important}
html[data-theme-resolved="dark"] body.site-page .registry-table{background:#0c2032!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .registry-table th{background:#17364e!important;color:#eef6fd!important;border-color:#35546c!important}
html[data-theme-resolved="dark"] body.site-page .registry-table td{background:#0f2639!important;color:#cfe0ed!important;border-color:#29465d!important}
html[data-theme-resolved="dark"] body.site-page .registry-download{background:#153b58!important;color:#8dcaff!important;border-color:#3b6380!important}

/* Shared header identity must remain readable on every legacy and current page. */
html[data-theme-resolved="dark"] body.site-page header .brand b,html[data-theme-resolved="dark"] header .brand b{color:#eef6fd!important;text-shadow:0 1px 0 rgba(0,0,0,.25)}
html[data-theme-resolved="dark"] body.site-page header .brand small,html[data-theme-resolved="dark"] header .brand small{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page header .contact-head strong,html[data-theme-resolved="dark"] header .contact-head strong{color:#78c0ff!important}
html[data-theme-resolved="dark"] body.site-page header .contact-head small,html[data-theme-resolved="dark"] body.site-page header .contact-label{color:#9fb5c8!important}
html[data-theme-resolved="dark"] body.site-page header .a11y-head,html[data-theme-resolved="dark"] body.site-page header .search-head{background:#10263a!important;border-color:#42617a!important;color:#e4f1fc!important}
html[data-theme-resolved="dark"] body.site-page header .top.container>.theme-switcher{margin-left:auto}

/* Theme selector uses the same compact arrow control as the main navigation. */
.theme-switcher-toggle{padding-right:7px!important}
.theme-switcher-chevron{box-sizing:border-box;width:25px!important;height:25px!important;padding:7px 6px;border:1px solid #a8c9e5;border-radius:7px;background:linear-gradient(180deg,#fff,#e7f2fb);color:#075ca8;filter:drop-shadow(0 2px 3px rgba(11,69,116,.14));flex:0 0 25px}
.theme-switcher-toggle[aria-expanded="true"] .theme-switcher-chevron{transform:rotate(180deg)}
html[data-theme-resolved="dark"] .theme-switcher-chevron{border-color:#456984;background:linear-gradient(180deg,#173b57,#102b42);color:#9fd2ff;filter:none}

/* Page-specific surfaces that had hard-coded light colours. */
html[data-theme-resolved="dark"] body.news-page .news-content{background:#071624!important}
html[data-theme-resolved="dark"] body.news-page .news-toolbar h2{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.news-page .news-count{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.news-page .news-card{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:0 8px 22px rgba(0,0,0,.2)!important}
html[data-theme-resolved="dark"] body.news-page .news-card h2,html[data-theme-resolved="dark"] body.news-page .news-card h2 a{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.news-page .news-meta,html[data-theme-resolved="dark"] body.news-page .news-summary,html[data-theme-resolved="dark"] body.news-page .news-body,html[data-theme-resolved="dark"] body.news-page .news-empty,html[data-theme-resolved="dark"] body.news-page .news-error{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page .contact-page .contact-card{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
html[data-theme-resolved="dark"] body.site-page .contact-page .contact-card h2,html[data-theme-resolved="dark"] body.site-page .contact-page .contact-hours b{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .contact-page .contact-card p{color:#b4c9da!important}
html[data-theme-resolved="dark"] body.site-page .contact-page .contact-hours{border-color:#315069!important}
html[data-theme-resolved="dark"] body.site-page .documents-overview h2{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .documents-overview-tile{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
html[data-theme-resolved="dark"] body.site-page .documents-overview-tile strong{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .documents-overview-tile span:last-child{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page .documents-overview-icon{background:#173a56!important;color:#78c0ff!important}
html[data-theme-resolved="dark"] body.site-page .year-block,html[data-theme-resolved="dark"] body.site-page .empty{background:#10263a!important;border-color:#315069!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .year-title,html[data-theme-resolved="dark"] body.site-page .archive-head h2,html[data-theme-resolved="dark"] body.site-page .tree summary,html[data-theme-resolved="dark"] body.site-page .file-name{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .year-meta,html[data-theme-resolved="dark"] body.site-page .archive-info,html[data-theme-resolved="dark"] body.site-page .file-size{color:#a9bfd2!important}
html[data-theme-resolved="dark"] body.site-page .year-content,html[data-theme-resolved="dark"] body.site-page .folder-body{border-color:#315069!important}
html[data-theme-resolved="dark"] body.site-page .tree summary:hover,html[data-theme-resolved="dark"] body.site-page .file-row:hover{background:#17364e!important}
html[data-theme-resolved="dark"] body.site-page .public-archive-tab{background:#132d43!important;border-color:#35546c!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .public-archive-tab.active{background:#1677e8!important;border-color:#1677e8!important;color:#fff!important}

/* The consultant is a true transparent cutout in both themes. */
body.portal-home .portal-service-grid .policy-help-art,html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art{background:transparent!important;-webkit-mask-image:none!important;mask-image:none!important}
body.portal-home .portal-service-grid .policy-help-art img,html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:right bottom!important;background:transparent!important;mix-blend-mode:normal!important;filter:none!important;transform:scale(1.03);transform-origin:right bottom}
body.portal-home .portal-service-grid .policy-help-art .policy-help-consultant{position:absolute!important;inset:0!important}
body.portal-home .portal-service-grid .policy-help-art .policy-help-consultant-light{display:block!important;object-fit:contain!important;-webkit-mask-image:none!important;mask-image:none!important}
body.portal-home .portal-service-grid .policy-help-art .policy-help-consultant-dark{display:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art .policy-help-consultant-light{display:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid .policy-help-art .policy-help-consultant-dark{display:block!important;object-fit:contain!important;-webkit-mask-image:none!important;mask-image:none!important}

/* Home page text must remain readable on ordinary desktop displays. */
body.portal-home{font-size:16px;line-height:1.5}body.portal-home .portal-service-grid :is(p,small),body.portal-home .news-panel,body.portal-home .useful-panel{font-size:14px}body.portal-home .service-strip-icons strong,body.portal-home .useful-list a,body.portal-home .audience-card-modern a{font-size:13px;line-height:1.35}body.portal-home .news-item-title,body.portal-home .audience-card-modern h2{font-size:16px;line-height:1.3}body.portal-home footer{font-size:13px}

/* Keep registry column headings in one compact sticky row. */
body.site-page .registry-scroll .registry-table{height:auto!important;min-height:0!important}
body.site-page .registry-scroll .registry-table thead,body.site-page .registry-scroll .registry-table thead tr{height:42px!important;min-height:42px!important;max-height:42px!important}
body.site-page .registry-scroll .registry-table thead th{box-sizing:border-box!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding-top:8px!important;padding-bottom:8px!important;vertical-align:middle!important}

/* v550: finish the public dark palette, including legacy/generated page tiles. */
html[data-theme-resolved="dark"] body.site-page main{color:#dceafa}
html[data-theme-resolved="dark"] body.site-page :is(.panel,.card,.legal-doc,.section-generated-pages,.section-generated-tile){background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
html[data-theme-resolved="dark"] body.site-page :is(.panel,.card,.legal-doc,.section-generated-tile) :is(h1,h2,h3,h4,strong){color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page :is(.panel,.card,.legal-doc,.section-generated-tile) :is(p,span,small,.legal-meta){color:#b4c9da!important}
html[data-theme-resolved="dark"] body.site-page :is(.legal-tab,.card>a:not(.section-button),.tiles>a:not(.section-button),.section-page .section-directory-card a,.section-generated-tile){background:#153249!important;border-color:#3b6380!important;color:#b8ddff!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.site-page :is(.legal-tab,.card>a:not(.section-button),.tiles>a:not(.section-button),.section-page .section-directory-card a,.section-generated-tile):hover{background:#1b405c!important;border-color:#5791ba!important;color:#fff!important}
html[data-theme-resolved="dark"] body.site-page .legal-tab.active{background:#1677e8!important;border-color:#1677e8!important;color:#fff!important}
html[data-theme-resolved="dark"] body.site-page [style*="background:#fff"],html[data-theme-resolved="dark"] body.site-page [style*="background: #fff"],html[data-theme-resolved="dark"] body.site-page [style*="background:white"],html[data-theme-resolved="dark"] body.site-page [style*="background: white"]{background:#10263a!important;border-color:#315069!important;color:#dceafa!important}

/* Document preview is a dark dialog; embedded office/error output stays an
   intentionally light, readable document canvas. */
html[data-theme-resolved="dark"] body.site-page .preview-dialog{background:#10263a!important;border:1px solid #35546c!important;color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .preview-head{background:#10263a!important;border-color:#35546c!important;color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .preview-close{background:#173a56!important;border:1px solid #456984!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page .preview-frame{background:#fff!important;color-scheme:light!important}

/* Registry tables must never distribute unused scroll height into the header. */
body.site-page .registry-scroll{height:auto!important;min-height:0!important}
body.site-page .registry-scroll .registry-table thead{display:table-header-group!important;height:auto!important;min-height:0!important;max-height:none!important}
body.site-page .registry-scroll .registry-table thead tr{display:table-row!important;height:42px!important;min-height:0!important;max-height:none!important}
body.site-page .registry-scroll .registry-table thead th{display:table-cell!important;height:42px!important;min-height:0!important;max-height:none!important;line-height:18px!important}
body.site-page .registry-scroll .registry-table tbody{display:table-row-group!important;height:auto!important}

/* Public navigation tiles were too small at ordinary desktop scale. */
body.portal-home .audience-cols a,body.portal-home .site-section-links a{font-size:13px!important;line-height:1.35!important}
body.portal-home .audience-card-modern h2,body.portal-home .site-section-card h2{font-size:16px!important;line-height:1.3!important}
body.portal-home .audience-card-modern .section-button,body.portal-home .site-section-card .section-button{font-size:13px!important}

/* v551: final public-page surfaces found during the full dark-theme pass. */
html[data-theme-resolved="dark"] body.site-page,html[data-theme-resolved="dark"] body.site-page main{background:#071624!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.site-page :is(.info-item,.hotline,.faq details,.fact,.section-generated-pages,.section-generated-tile){background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.site-page :is(.info-item,.hotline,.faq details,.fact,.section-generated-pages,.section-generated-tile) :is(h1,h2,h3,strong,summary){color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page :is(.info-item,.hotline,.faq details,.fact,.section-generated-pages,.section-generated-tile) :is(p,span,small){color:#b4c9da!important}
html[data-theme-resolved="dark"] body.site-page .hotline strong{color:#78c0ff!important}

/* Expert registry uses an explicit grid so an HTML table cannot distribute
   the scroll viewport's unused height into its header row. */
body.site-page #regHead,body.site-page #regBody{display:block!important;width:100%!important;height:auto!important}
body.site-page #regHead tr,body.site-page #regBody tr{display:grid!important;grid-template-columns:32% 20% 20% 28%!important;width:100%!important;height:auto!important;min-height:34px!important}
body.site-page #regHead th,body.site-page #regBody td{display:block!important;box-sizing:border-box!important;width:auto!important;height:auto!important;min-height:34px!important;max-height:none!important;padding:8px 10px!important}
body.site-page #regHead th{min-height:42px!important;line-height:26px!important}
body.site-page #regBody :is(.registry-empty,.registry-error,.registry-loading){grid-column:1/-1!important}

/* The 404 page is a complete dark canvas, not a light sheet between margins. */
html[data-theme-resolved="dark"] body.site-page .error-page{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;background:#071624!important}
html[data-theme-resolved="dark"] body.site-page .error-card{background:#10263a!important;border-color:#35546c!important;color:#dceafa!important;box-shadow:0 16px 44px rgba(0,0,0,.32)!important}
html[data-theme-resolved="dark"] body.site-page .error-code{color:#78c0ff!important}
html[data-theme-resolved="dark"] body.site-page .error-card h1{color:#f2f7fc!important}
html[data-theme-resolved="dark"] body.site-page .error-card p{color:#b8cad9!important}
html[data-theme-resolved="dark"] body.site-page .error-actions a{background:#153249!important;border-color:#4380ad!important;color:#b8ddff!important}
html[data-theme-resolved="dark"] body.site-page .error-actions a:first-child{background:#1677e8!important;border-color:#1677e8!important;color:#fff!important}

/* Site map has its own card names and must use the shared dark palette. */
html[data-theme-resolved="dark"] body.site-page .site-map-group{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.site-page .site-map-group h2{color:#edf6ff!important}
html[data-theme-resolved="dark"] body.site-page .site-map-group a{color:#8fcaff!important}
html[data-theme-resolved="dark"] body.site-page .site-map-group a:hover{color:#fff!important;text-decoration:underline}

/* The source emblem is a JPG with a white canvas. Present it as an intentional
   seal card in dark headers instead of leaving a raw white rectangle. */
html[data-theme-resolved="dark"] header .brand .logo{box-sizing:border-box!important;padding:5px!important;background:linear-gradient(145deg,#fff,#eaf3fa)!important;border:1px solid #5f7f98!important;border-radius:12px!important;box-shadow:0 7px 20px rgba(0,0,0,.3),0 0 0 3px rgba(120,192,255,.08)!important;object-fit:contain!important}

/* Service expansions keep the same dark surface as their originating cards. */
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid:has(>.policy-check-panel.show) .portal-policy-card,
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid:has(>.policy-check-panel.show) .portal-policy-card::after,
html[data-theme-resolved="dark"] body.portal-home .patient-account:has(#patient-toggle[aria-expanded="true"]),
html[data-theme-resolved="dark"] body.portal-home .patient-account:has(#patient-toggle[aria-expanded="true"])::after,
html[data-theme-resolved="dark"] body.portal-home #patient-services:not([hidden]),
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show{background:#10263a!important;border-color:#315069!important;color:#dceafa!important;box-shadow:none!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show :is(.policy-check-panel-head,.policy-check-output,.policy-result-card){background:#10263a!important;border-color:#315069!important;color:#dceafa!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show :is(h2,h3,strong){color:#edf6ff!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show :is(p,dt,dd,.policy-result-note){color:#b4c9da!important;border-color:#315069!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show :is(.policy-check-source,.policy-check-close,.policy-result-actions button,.policy-result-actions a){background:#153249!important;border-color:#456984!important;color:#b8ddff!important}
html[data-theme-resolved="dark"] body.portal-home .policy-check-output.state-found .policy-result-card{background:#102f2b!important;border-color:#2f6658!important}
html[data-theme-resolved="dark"] body.portal-home .policy-check-output.state-not_found .policy-result-card{background:#342b1b!important;border-color:#6a5931!important}
html[data-theme-resolved="dark"] body.portal-home .policy-check-output.state-error .policy-result-card{background:#382326!important;border-color:#70444b!important}
/* Preserve the light theme's single joined silhouette for expanded services. */
html[data-theme-resolved="dark"] body.portal-home .patient-account:has(#patient-toggle[aria-expanded="true"]),
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid:has(>.policy-check-panel.show) .portal-policy-card{border-bottom:0!important;border-radius:18px 18px 0 0!important;overflow:visible!important}
html[data-theme-resolved="dark"] body.portal-home #patient-services:not([hidden]){border-radius:18px 0 18px 18px!important}
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show{border-radius:0 18px 18px 18px!important}
html[data-theme-resolved="dark"] body.portal-home .patient-account:has(#patient-toggle[aria-expanded="true"])::after,
html[data-theme-resolved="dark"] body.portal-home .portal-service-grid:has(>.policy-check-panel.show) .portal-policy-card::after{display:block!important;background:#10263a!important;border-color:#315069!important}
@media(min-width:1001px){
 html[data-theme-resolved="dark"] body.portal-home .patient-account:has(#patient-toggle[aria-expanded="true"])::before{display:block!important;background:radial-gradient(circle at top left,transparent 13px,#315069 13px,#315069 14px,#10263a 14px)!important}
 html[data-theme-resolved="dark"] body.portal-home .portal-service-grid:has(>.policy-check-panel.show) .portal-policy-card::before{display:block!important;background:radial-gradient(circle at top right,transparent 13px,#315069 13px,#315069 14px,#10263a 14px)!important}
}
@media(max-width:1000px){html[data-theme-resolved="dark"] body.portal-home #patient-services:not([hidden]),html[data-theme-resolved="dark"] body.portal-home .portal-service-grid>.policy-check-panel.show{border-radius:0 0 18px 18px!important}}

/* POS is hosted externally. Never leave users behind an uncloseable blank iframe. */
.pos-connection-message{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;padding:24px;background:rgba(3,15,27,.78);box-sizing:border-box}.pos-connection-message[hidden]{display:none!important}.pos-connection-card{position:relative;width:min(520px,100%);padding:30px;border:1px solid #c9ddeb;border-radius:18px;background:#fff;color:#17334f;box-shadow:0 24px 80px rgba(0,0,0,.35);text-align:left}.pos-connection-card h2{margin:0 38px 10px 0;color:#123b67}.pos-connection-card p{margin:0;color:#536f88;line-height:1.6}.pos-connection-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:15px;border-radius:50%;background:#fff3d8;color:#9a6200;font-size:24px;font-weight:900}.pos-connection-close{position:absolute;right:15px;top:13px;width:38px;height:38px;border:1px solid #c9ddeb;border-radius:9px;background:#f3f8fc;color:#164d78;font-size:25px;cursor:pointer}.pos-connection-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.pos-connection-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #0d6bdc;border-radius:8px;background:#0d6bdc;color:#fff;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.pos-connection-actions a{background:#fff;color:#075fbd}html[data-theme-resolved="dark"] .pos-connection-card{background:#10263a;border-color:#456984;color:#dceafa}html[data-theme-resolved="dark"] .pos-connection-card h2{color:#edf6ff}html[data-theme-resolved="dark"] .pos-connection-card p{color:#b4c9da}html[data-theme-resolved="dark"] .pos-connection-close,html[data-theme-resolved="dark"] .pos-connection-actions a{background:#153249;border-color:#456984;color:#b8ddff}
