.theme-switch{position:relative;display:inline-block;font-size:12px;line-height:1.5;color:#475569;z-index:60;text-align:left}.theme-switch>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;white-space:nowrap;border:1px solid #cbd5e1;border-radius:7px;padding:7px 10px;background:#fff;color:#475569;min-height:34px}.theme-switch>summary::-webkit-details-marker{display:none}.theme-switch>summary:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.theme-options{position:absolute;right:0;top:calc(100% + 7px);min-width:150px;padding:6px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 10px 30px #0f172a24;display:grid;gap:3px}.theme-options button{font:inherit;display:block;width:100%;min-height:38px;padding:8px 12px;text-align:left;border:0;border-radius:6px;background:transparent;color:#334155;cursor:pointer}.theme-options button:hover,.theme-options button:focus-visible{background:#eff6ff;color:#1d4ed8}.theme-options button[aria-pressed=true]{background:#dbeafe;color:#1d4ed8;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:16px}.portal-topbar .theme-switch>summary{background:transparent;color:#d9e7fb;border-color:#536c90;padding:4px 9px;min-height:30px}.portal-topbar>div{align-items:center;gap:10px}#user-tools .theme-switch{vertical-align:middle;margin-right:10px}#user-tools .theme-options button{font-size:12px}
html[data-theme=dark]{color-scheme:dark;--ink:#eef4ff;--text:#d0dbeb;--muted:#a6b5cb;--blue:#78adff;--blue-dark:#94bfff;--blue-light:#1d3352;--paper:#101827;--line:#344258;--white:#192436;--primary:#3479ea;--secondary:#2359ad;--accent:#233c60;--primary-fg:#fff;--body-fg:#d0dbeb;--body-bg:#101827;--body-quiet-color:#a6b5cb;--body-loud-color:#eef4ff;--darkened-bg:#152033;--selected-bg:#243751;--selected-row:#253c5b;--border-color:#344258;--hairline-color:#344258;--link-fg:#9ac1ff;--link-hover-color:#c4dbff;--header-bg:#192436;--header-color:#d0dbeb;--header-link-color:#9ac1ff;--breadcrumbs-bg:#152033;--breadcrumbs-fg:#a6b5cb;--breadcrumbs-link-fg:#b9d2f6;--close-button-bg:#344258;--object-tools-bg:#2359ad;--object-tools-fg:#fff}
html[data-theme=dark] body{background:#101827!important;color:#d0dbeb!important}
html[data-theme=dark] :is(.site-header,.panel,.meeting-card,.news-card,.portal-service,.portal-stats,.hero-info-card,.portal-expert,.account-dropdown,.image-recommendations>a,.theme-options,.theme-switch>summary,.module,.inline-group,.submit-row,.console-panel,.console-sidebar,.quick-action-bar,.schema-editor,.gopanel,.commerce-console .module){background:#192436!important;border-color:#344258!important;color:#d0dbeb!important}
html[data-theme=dark] :is(h1,h2,h3,h4,.brand,.footer-brand,.section-heading h1,.registration-card h2,.hero-info-card strong,.portal-stats strong,.form-field>label,.aligned label,.form-row label,.console-panel strong,.workspace-heading h1){color:#eef4ff!important}
html[data-theme=dark] :is(p,.muted,.help,.help-tooltip,.eyebrow,.registration-details,.registration-card>p,.main-nav>a,.language-switch,.theme-options button,.theme-switch>summary,.list-link,small,.workspace-heading p,.console-subtitle){color:#aebdd1}
html[data-theme=dark] :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#111d2e!important;border-color:#435571!important;color:#e1eafb!important;color-scheme:dark}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#91a4bd!important;opacity:1}
html[data-theme=dark] :is(input,select,textarea):focus{outline-color:#78adff!important;border-color:#78adff!important}
html[data-theme=dark] :is(.notice,.ticket,.tag,.captcha-trigger,.checkin-symbol,.quick-action-bar>a,.schema-add,.account-menu>summary,.live-navigation a,.share-tools button){background:#203752!important;border-color:#435b7e!important;color:#c0d9ff!important}
html[data-theme=dark] :is(a,.list-link,.text-button){color:#9ac1ff}html[data-theme=dark] :is(a:hover,.main-nav>a.active){color:#c4dbff}
html[data-theme=dark] :is(.button,.nav-login,.console-button,input[type=submit],input[type=button],.object-tools a){background:#2868ce!important;color:#fff!important;border-color:#477fce!important}
html[data-theme=dark] :is(.button.secondary,.console-button.secondary,.theme-options button[aria-pressed=true]){background:#243c5c!important;color:#c0d9ff!important;border-color:#435b7e!important}
html[data-theme=dark] .theme-options button{background:transparent;color:#d0dbeb}html[data-theme=dark] .theme-options button:hover{background:#243c5c;color:#fff}
html[data-theme=dark] :is(.medical-hero,.closing,.portal-experts){background:#152238!important;border-color:#344258!important}html[data-theme=dark] .medical-hero-photo:before{background:#203752}html[data-theme=dark] .card-cover:not(:has(img)){background:#203752!important}
html[data-theme=dark] :is(.portal-topbar,.portal-live-band){background:#0c1422!important;color:#c0d9ff!important}
html[data-theme=dark] :is(footer,.portal-stats>div,.registration-actions,.list-link,.live-comment,.calendar td,.calendar th,.form-row,.operations-filters,.workspace-tabs,.sidebar-divider){border-color:#344258!important}
html[data-theme=dark] :is(.calendar td,.calendar-day,.calendar th,.calendar-header,.calendar-agenda,.calendar-card,.calendar-empty,.calendar-legend,.calendar-toolbar){background:#192436!important;color:#d0dbeb!important}
html[data-theme=dark] :is(.calendar td.today,.calendar-event,.calendar-day.is-today,.calendar-agenda-item){background:#243c5c!important;color:#c0d9ff!important}
html[data-theme=dark] :is(.prose blockquote,.prose pre,.captcha-modal){background:#192436!important;color:#d0dbeb!important;border-color:#435571!important}html[data-theme=dark] .captcha-modal button{background:#243c5c!important;color:#c0d9ff!important}
html[data-theme=dark] :is(.message,.messagelist li.success){background:#163d34!important;color:#b5f0d4!important;border-color:#2b735a!important}html[data-theme=dark] :is(.message.error,.errornote,.messagelist li.error){background:#482a32!important;color:#ffccd3!important;border-color:#985264!important}
html[data-theme=dark] :is(.errorlist,.required){color:#ffb2bf!important}html[data-theme=dark] :is(.ops-health.warn strong,.console-status.waiting){color:#ffd18b!important}
html[data-theme=dark] :is(#header,#branding,.breadcrumbs,#changelist .paginator,#changelist-filter,#changelist .actions,#toolbar,.console-topbar,.workspace-heading,.operations-tabs){background:#192436!important;color:#d0dbeb!important;border-color:#344258!important}
html[data-theme=dark] :is(#changelist table thead th,table thead th,.selector h2,.selector .selector-filter,#changelist-filter h2,.module h2,.module caption,.inline-group h2,.operations-table th){background:#24334a!important;color:#c0d1e8!important;border-color:#435571!important}
html[data-theme=dark] :is(#changelist table tbody tr:nth-child(odd),.operations-table tbody tr:nth-child(odd)){background:#192436!important}
html[data-theme=dark] :is(#changelist table tbody tr:nth-child(even),.operations-table tbody tr:nth-child(even)){background:#152033!important}
html[data-theme=dark] :is(td,th,.operations-table td){border-color:#344258!important;color:#d0dbeb}
html[data-theme=dark] :is(.sidebar-item,.sidebar-section>summary,.sidebar-overview,.admin-top-link,.admin-password,.admin-greeting,#user-tools a){color:#b9c9df!important}
html[data-theme=dark] :is(.sidebar-item.active,.sidebar-overview.active,.sidebar-section>summary:hover,.sidebar-item:hover){background:#243c5c!important;color:#d8e8ff!important}
html[data-theme=dark] :is(.select2-container--admin-autocomplete .select2-selection,.select2-dropdown,.ql-toolbar,.ql-container){background:#192436!important;color:#d0dbeb!important;border-color:#435571!important}
html[data-theme=dark] .select2-results__option--highlighted{background:#2868ce!important;color:white!important}html[data-theme=dark] .ql-stroke{stroke:#bfd0e8!important}html[data-theme=dark] .ql-fill{fill:#bfd0e8!important}
html[data-theme=dark] body.login #container{background:#192436;border-color:#344258}html[data-theme=dark] :is(.theme-switch>summary,.theme-options){border-color:#435571!important}html[data-theme=dark] .theme-switch>summary{color:#d0dbeb!important}
@media(max-width:700px){.topbar-actions{gap:9px}.theme-switch{font-size:11px}.theme-switch>summary{padding:6px 8px}.portal-topbar>div{flex-wrap:wrap}.topbar-actions{margin-left:auto}#user-tools .theme-switch{margin-right:5px}.theme-options{min-width:145px}}
@media print{.theme-switch{display:none!important}html[data-theme=dark] body{background:white!important;color:#111!important}html[data-theme=dark] :is(.panel,.invitation-paper,.prose,h1,h2,h3,p){background:white!important;color:#111!important;border-color:#aaa!important}}
html[data-theme=dark] :is(.filters,.month-panel,.agenda-panel,.overview-metric,.overview-date,.sidebar-search,.expert-action){background:#192436!important;color:#d0dbeb!important;border-color:#344258!important}
html[data-theme=dark] :is(.overview-table td,.operations-table td){background:inherit!important}
html[data-theme=dark] :is(.overview-metric strong,.admin-brand,.admin-greeting strong,.month-toolbar strong,.agenda-date strong,.medical-hero-copy h1 span){color:#9fc7ff!important}
html[data-theme=dark] :is(.sidebar-overview.selected,.sidebar-item.selected,.compact-calendar .has-event>a,.month-summary,.agenda-heading>span,.overview-metric>span,.todo-item>b){background:#243c5c!important;color:#c0d9ff!important}
html[data-theme=dark] :is(.compact-calendar td,.compact-calendar td a,.compact-calendar td span){background:transparent;color:#b9c9df}
html[data-theme=dark] :is(.month-toolbar>a,.calendar-hint a){background:#243c5c!important;color:#c0d9ff!important;border-color:#435571!important}
html[data-theme=dark] :is(.help,.help-tooltip,.overview-date,.overview-metric small){color:#aebdd1!important}
html[data-theme=dark] .expert-action.delete{background:#482a32!important;color:#ffccd3!important;border-color:#985264!important}
html[data-theme=dark] .admin-brand>span:not(.admin-brand-mark){color:#eef4ff!important}
html[data-theme=dark] .overview-metric>.metric-label{background:transparent!important;color:#aebdd1!important}
html[data-theme=dark] .metric-label>span{background:#243c5c!important;color:#c0d9ff!important}
html[data-theme=dark] :is(.agenda-heading,.agenda-day,.agenda-event+.agenda-event,.overview-table td,.todo-item,.sidebar-divider){border-color:#344258!important}
html[data-theme=dark] .sidebar-divider{background:#344258!important}
@media(max-width:700px){.portal-topbar>div>span.topbar-actions{display:flex}.portal-topbar>div{row-gap:8px}.topbar-actions>a{white-space:nowrap}}

html[data-theme=dark] :is(.expert-sort-note,.expert-drag-handle,.expert-sort-chosen td){background:#243c5c!important;color:#c0d9ff!important;border-color:#435571!important}
.login-theme-switch{padding:12px 18px 12px 0}.login-theme-switch .theme-switch>summary{font-size:11px;padding:6px 8px}.login #header{flex-wrap:wrap}.login #branding{border:0!important}
/* Shared nested surfaces and semantic badges must follow the active theme too. */
html[data-theme=dark] .search{background:#111d2e!important;border-color:#435571!important}
html[data-theme=dark] .search input{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme=dark] .search input:focus{outline:0!important}
html[data-theme=dark] .search:focus-within{border-color:#78adff!important;box-shadow:0 0 0 3px #78adff26}
html[data-theme=dark] .search>span{color:#a9bfdc!important}
html[data-theme=dark] :is(.cover-category,.card-cover:has(.uploaded-cover) .cover-category){background:#172d4bf0!important;border-color:#54739a!important;color:#d7e7ff!important}
html[data-theme=dark] :is(.status-pill,.console-status){background:#28384d!important;color:#c1cede!important;border-color:#435571!important}
html[data-theme=dark] :is(.status-pill.open,.status-pill.approved,.console-status.open,.console-status.approved){background:#213f65!important;color:#c1dcff!important}
html[data-theme=dark] :is(.status-pill.pending,.console-status.pending){background:#49361c!important;color:#ffdda5!important}
html[data-theme=dark] :is(.status-pill.live,.console-status.live){background:#4b2437!important;color:#ffbed0!important}
html[data-theme=dark] :is(.status-pill.replay,.console-status.replay){background:#343054!important;color:#d5ccff!important}
html[data-theme=dark] :is(.status-pill.rejected,.status-pill.cancelled,.console-status.rejected,.console-status.cancelled){background:#263244!important;color:#b5c1d3!important}
html[data-theme=dark] :is(.expert-avatar-placeholder,.hero-info-card>span,.live-thumbnail,.module-group-icon,.operations-empty>span){background:#243c5c!important;color:#c0d9ff!important}
html[data-theme=dark] :is(.card-bottom,.card-meta,.expert-card,.portal-services,.portal-expert-note){border-color:#344258!important}
html[data-theme=dark] .card-cover:before,html[data-theme=dark] .card-cover:after{border-color:#789cc855!important}
html[data-theme=dark] .portal-service>span{background:#243c5c!important;color:#c0d9ff!important}
