/* Qom Hockey v4.25 — charcoal dark design system
   Shared public/admin tokens and explicit interaction states. Loaded after v4.24.
   Dark-only rules: light-mode styles and persisted content remain untouched. */
html[data-theme="dark"] {
  color-scheme:dark;
  --dm-bg:#1D1F20;
  --dm-panel:#202425;
  --dm-raised:#292e2d;
  --dm-hover:#333b37;
  --dm-border:#414b46;
  --dm-border-strong:#66736c;
  --dm-text:#eef3ef;
  --dm-subtext:#d3ddd5;
  --dm-muted:#b3c0b7;
  --dm-link:#8ad1a8;
  --dm-green:#51a97e;
  --dm-green-hover:#66be94;
  --dm-red:#ef7a80;
  --dm-ring:#9bd7b4;
  --bg:#1D1F20;
  --surface:#202425;
  --surface-2:#292e2d;
  --surface-3:#333b37;
  --border:#414b46;
  --border-strong:#66736c;
  --ink:#eef3ef;
  --ink-2:#d3ddd5;
  --muted:#b3c0b7;
  --brand:#51a97e;
  --brand-700:#3b9169;
  --brand-900:#2a644a;
  --qh-ink:#eef3ef;
  --qh-muted:#b3c0b7;
  --qh-line:#414b46;
  --qh-soft:#292e2d;
  --qh-blue:#51a97e;
  --qh-dark:#1D1F20;
  --qh-navy:#202425;
  --qv-ink:#eef3ef;
  --qv-muted:#b3c0b7;
  --qv-blue:#51a97e;
  --qv-line:#414b46;
}
html[data-theme="dark"] body:is(.public-site,.admin-body){
  --bg:#1D1F20!important;--surface:#202425!important;
  --surface-2:#292e2d!important;--surface-3:#333b37!important;
  --border:#414b46!important;--border-strong:#66736c!important;
  --ink:#eef3ef!important;--ink-2:#d3ddd5!important;
  --muted:#b3c0b7!important;--brand:#51a97e!important;
  --qh-ink:#eef3ef!important;--qh-muted:#b3c0b7!important;
  --qh-line:#414b46!important;--qh-soft:#292e2d!important;
  --qh-blue:#51a97e!important;--qv-ink:#eef3ef!important;
  --qv-muted:#b3c0b7!important;--qv-blue:#51a97e!important;
  --qv-line:#414b46!important;
  color:var(--dm-text)!important;background:var(--dm-bg)!important;
  accent-color:var(--dm-green);color-scheme:dark;
}
/* Never let an interactive item switch to a white/light surface in dark mode. */
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(a,button,summary,[role=button],input,select,textarea){
  -webkit-tap-highlight-color:transparent;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease,transform .2s cubic-bezier(.2,.7,.2,1)!important;
}
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(a,button,summary,[role=button],input,select,textarea):focus-visible{
  outline:2px solid var(--dm-ring)!important;outline-offset:3px!important;
}
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(input,textarea,select){color-scheme:dark!important;accent-color:var(--dm-green)!important}
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(input,textarea,select)::placeholder{color:#adbab0!important;opacity:1}
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(.muted,.help,.helper-text,.hint,.form-help){color:var(--dm-muted)!important}

/* ═══════════════════ Public site / header ═══════════════════ */
html[data-theme="dark"] body.public-site :is(main,#main-content,.site-shell,.page-shell){background:var(--dm-bg)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.site-header,.site-header.vf-site-header,.vf-footer,.site-footer,.vf-footer-main){
 background:var(--dm-panel)!important;background-image:none!important;
 border-color:var(--dm-border)!important;color:var(--dm-text)!important
}
html[data-theme="dark"] body.public-site :is(.vf-nav,.desktop-nav,.vf-nav-submenu,.vf-mobile-menu,.mobile-menu,.vf-mobile-menu-foot,.mobile-menu-head){
 background:var(--dm-raised)!important;background-image:none!important;
 border-color:var(--dm-border)!important;color:var(--dm-text)!important
}
html[data-theme="dark"] body.public-site :is(.vf-brand .brand-copy strong,.vf-brand .brand-copy small,.vf-mobile-menu strong,.mobile-menu-brand strong){color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.vf-nav,.desktop-nav) :is(a,.vf-nav-menu>a){
 color:var(--dm-subtext)!important;background:transparent!important;border-color:transparent!important
}
html[data-theme="dark"] body.public-site :is(.vf-nav,.desktop-nav) :is(a,.vf-nav-menu>a):hover,
html[data-theme="dark"] body.public-site :is(.vf-nav,.desktop-nav) :is(a,.vf-nav-menu>a):focus-visible{
 color:#fff!important;background:var(--dm-hover)!important;border-color:var(--dm-border)!important
}
html[data-theme="dark"] body.public-site :is(.vf-nav,.desktop-nav) :is(a.active,a[aria-current=page]){
 background:#3a4b40!important;color:#f3fff6!important;border-color:#5e9978!important
}
html[data-theme="dark"] body.public-site .vf-nav-submenu a:hover{background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.public-site :is(.header-actions,.vf-header-actions) :is(.icon-btn,.mh-header-signup,.vf-header-signup,.btn-ghost){
 background:var(--dm-raised)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important
}
html[data-theme="dark"] body.public-site :is(.header-actions,.vf-header-actions) :is(.icon-btn,.mh-header-signup,.vf-header-signup,.btn-ghost):hover{
 background:var(--dm-hover)!important;border-color:var(--dm-border-strong)!important;color:#fff!important
}
html[data-theme="dark"] body.public-site :is(.vf-login-button,.btn-primary){background:#327b59!important;color:#fff!important;border-color:#419c72!important}
html[data-theme="dark"] body.public-site :is(.vf-login-button,.btn-primary):hover{background:#408e68!important;color:#fff!important;border-color:#7ac5a0!important}
html[data-theme="dark"] body.public-site :is(.vf-mobile-menu,.mobile-menu) nav>a{color:var(--dm-text)!important;border-color:var(--dm-border)!important;background:transparent!important}
html[data-theme="dark"] body.public-site :is(.vf-mobile-menu,.mobile-menu) nav>a:hover,
html[data-theme="dark"] body.public-site :is(.vf-mobile-menu,.mobile-menu) nav>a.active{background:var(--dm-hover)!important;color:#fff!important}

/* Public home: charcoal rhythm between sections. Images retain their original hues. */
html[data-theme="dark"] body.public-home .qv-hero{background:linear-gradient(125deg,#1D1F20,#252b29 55%,#202425)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-hero-copy :is(h1,h2){color:#f6faf7!important}
html[data-theme="dark"] body.public-home .qv-hero-copy>p,
html[data-theme="dark"] body.public-home :is(.qv-hero-kicker,.qv-hero-meta small){color:var(--dm-subtext)!important}
html[data-theme="dark"] body.public-home :is(.qv-hero-meta,.qv-hero-meta>span){border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-ticker{background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-ticker :is(.qv-ticker-title,.qv-ticker-all){color:var(--dm-link)!important}
html[data-theme="dark"] body.public-home .qv-ticker-items a{color:var(--dm-subtext)!important}
html[data-theme="dark"] body.public-home .qv-ticker-items a:hover{color:#fff!important}
html[data-theme="dark"] body.public-home .qh-routebar{background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home :is(.qh-routebar-title,.qh-routebar-grid>a){border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qh-routebar-grid>a:hover{background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.public-home .qh-routebar-title span,
html[data-theme="dark"] body.public-home .qh-routebar-grid>a small{color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-home .qv-access{background:var(--dm-bg)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-access-grid{background:var(--dm-panel)!important;border-color:var(--dm-border)!important;box-shadow:none!important}
html[data-theme="dark"] body.public-home .qv-access-grid>a{background:transparent!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-access-grid>a:hover{background:var(--dm-hover)!important;border-color:var(--dm-border-strong)!important;color:#fff!important}
html[data-theme="dark"] body.public-home .qv-access-grid>a :is(strong,small){color:inherit!important}
html[data-theme="dark"] body.public-home .qv-access-grid>a small{color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-home .qv-access-icon{background:#303e35!important;color:#c1edcf!important;border-color:#456e55!important}
/* The screenshot's white news block and near-white headline came from unpaired legacy rules. */
html[data-theme="dark"] body.public-home .qv-news-section{background:var(--dm-bg)!important;background-image:none!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home :is(.qv-section-head,.qv-section-head h2,.qv-section-head h3){color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-section-head>div>span{color:var(--dm-red)!important}
html[data-theme="dark"] body.public-home .qv-section-head p{color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-home .qv-section-head>a{color:var(--dm-link)!important}
html[data-theme="dark"] body.public-home .qv-editorial{background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-editorial-stream{background:var(--dm-panel)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-stream-item{background:transparent!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-stream-item:hover{background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.public-home .qv-stream-copy strong{color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-stream-copy :is(small,em){color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-home :is(.qv-stream-no,.qv-stream-arrow){color:var(--dm-link)!important}
html[data-theme="dark"] body.public-home .qv-stream-arrow{background:var(--dm-raised)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-editorial-lead{background:#191d1c!important}
html[data-theme="dark"] body.public-home .qv-editorial-overlay{background:linear-gradient(0deg,rgba(12,16,14,.96),rgba(12,16,14,.38) 70%,transparent)!important}
html[data-theme="dark"] body.public-home .qv-editorial-copy :is(h3,p,span,time){color:#fff!important}
html[data-theme="dark"] body.public-home .qv-pulse{background:linear-gradient(115deg,#202425,#292f2b)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-pulse :is(.qv-pulse-intro,.qv-pulse-stats>div){border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-pulse :is(h2,strong){color:#f2f8f3!important}
html[data-theme="dark"] body.public-home .qv-pulse :is(p,span){color:var(--dm-subtext)!important}
html[data-theme="dark"] body.public-home .qv-pulse-mark{opacity:.075!important}
html[data-theme="dark"] body.public-home .qv-people-section{background:var(--dm-bg)!important}
html[data-theme="dark"] body.public-home .qv-roster{background:var(--dm-border)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-roster-item{background:var(--dm-panel)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-roster-item:hover{background:var(--dm-hover)!important}
html[data-theme="dark"] body.public-home .qv-roster-copy :is(strong,em){color:var(--dm-text)!important}
html[data-theme="dark"] body.public-home .qv-roster-copy small{color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-home .qv-final-strip{background:#26332b!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-home .qv-final-strip :is(h2,strong,span){color:var(--dm-text)!important}

/* Archive, membership, article, forms and miscellaneous public pages. */
html[data-theme="dark"] body.public-site :is(.page-hero,.qh22-article-hero,.search-page-hero){background:var(--dm-panel)!important;background-image:none!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.page-hero,.qh22-article-hero,.archive-toolbar,.region-detail-hero) :is(h1,h2,h3){color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.page-hero,.qh22-article-hero,.archive-toolbar) :is(p,small){color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-site :is(.news-card,.person-card,.regional-card,.search-result,.article-main,.article-aside,.aside-card,.profile-side,.profile-content,.card,.form-card,.contact-info,.qh22-article-main,.qh22-related-card,.qh22-shortcuts,.qh22-article-noimage,.qh22-no-photo,.qh22-mini-empty,.content-link-card,.content-callout,.content-quote,.pagination a,.pagination span){
 background:var(--dm-panel)!important;background-image:none!important;
 color:var(--dm-text)!important;border-color:var(--dm-border)!important;
}
html[data-theme="dark"] body.public-site :is(.news-card,.person-card,.regional-card,.search-result,.qh22-related-card,.content-link-card,.pagination a):hover{
 background:var(--dm-hover)!important;color:#fff!important;border-color:var(--dm-border-strong)!important
}
html[data-theme="dark"] body.public-site :is(.news-card,.person-card,.regional-card,.search-result,.article-main,.article-aside,.qh22-related-card,.profile-side,.profile-content) :is(h1,h2,h3,h4,strong){color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.news-card,.person-card,.regional-card,.search-result,.article-main,.article-aside,.qh22-related-card) :is(p,small,time,.news-meta,.content-paragraph){color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-site :is(.news-media-placeholder,.qh22-mini-empty,.qh22-no-photo,.qh22-article-noimage,.qh22-editorial-empty){background:var(--dm-raised)!important;color:var(--dm-subtext)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-site :is(.mh-auth-wrap,.mh-page,.mh-intro-panel){background:var(--dm-bg)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.mh-form-card,.mh-feature,.mh-record,.mh-dash-stats>div,.mh-small-stats>div,.mh-nav a:not(.is-active),.mh-welcome,.mh-inline-editor[open]){background:var(--dm-panel)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-site .mh-nav a:not(.is-active):hover{background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.public-site :is(.field input,.field select,.field textarea,.form-grid input,.form-grid select,.form-grid textarea,.mh-fields input,.mh-fields select,.mh-fields textarea,.site-search-form input){background:var(--dm-raised)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.site-search-form,.qh22-consent,.search-result-icon){background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site .qh22-lightbox{background:var(--dm-bg)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-site :is(.qh22-lightbox-toolbar,.qh22-lightbox-hint,.qh22-lightbox-stage){background:var(--dm-panel)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-site .qh22-lightbox-actions button{background:var(--dm-raised)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.public-site .qh22-lightbox-actions button:hover{background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.public-site :is(.site-footer,.vf-footer) :is(a,p,small){color:var(--dm-muted)!important}
html[data-theme="dark"] body.public-site :is(.site-footer,.vf-footer) :is(h2,strong){color:var(--dm-text)!important}
html[data-theme="dark"] body.public-site :is(.site-footer,.vf-footer) a:hover{color:var(--dm-link)!important}

/* ═══════════════════ Admin dashboard and editor ═══════════════════ */
html[data-theme="dark"] body.admin-body :is(.admin-shell,.admin-workspace,.admin-content,#adminMain,.flash-stack,.wizard-shell,.settings-shell){background:var(--dm-bg)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body :is(.admin-sidebar,.admin-topbar){background:var(--dm-panel)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav-search,.admin-topbar-actions .icon-btn,.admin-demo-panel,.admin-nav-dashboard,.admin-nav-group>summary){background:var(--dm-raised)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav-dashboard,.admin-nav-group>summary,.admin-nav-sub>a){transition:background-color .17s ease,color .17s ease,border-color .17s ease!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav-dashboard,.admin-nav-group>summary,.admin-nav-sub>a):hover{background:var(--dm-hover)!important;color:#fff!important;border-color:var(--dm-border-strong)!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav-dashboard.active,.admin-nav-group.current>summary,.admin-nav-sub>a.active){background:#36463c!important;color:#e9fff0!important;border-color:#51916a!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav a,.admin-nav summary,.admin-nav small,.admin-sidebar-footer a,.admin-brand small){color:var(--dm-subtext)!important}
html[data-theme="dark"] body.admin-body :is(.admin-nav a.active,.admin-nav-sub>a.active) :is(strong,small){color:#e9fff0!important}
html[data-theme="dark"] body.admin-body .admin-page-intro :is(h1,h2,h3){color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body .admin-page-intro p{color:var(--dm-muted)!important}
html[data-theme="dark"] body.admin-body :is(.focus-card,.admin-hub-card,.quick-admin,.metric,.subtle-card,.panel,.wizard-card,.wizard-card-head,.wizard-summary,.settings-stage,.settings-hub-card,.setting-switch,.table-wrap,.data-table,.toolbar,.admin-demo-panel,.dashboard-pulse,.admin-activity-list,.admin-area-tabs,.admin-stepper,.media-card,.media-copy,.admin-content .card,.region-admin-card,.qh23-metric,.qh23-chart-card,.qh23-chart,.qh23-comment-admin,.qh23-calendar-popover,.qh23-file-control){
 background:var(--dm-panel)!important;background-image:none!important;
 color:var(--dm-text)!important;border-color:var(--dm-border)!important;
}
html[data-theme="dark"] body.admin-body :is(.focus-card,.admin-hub-card,.quick-admin,.admin-activity-list>a,.settings-stage-cards>a,.settings-hub-card,.region-admin-card,.media-card):hover{
 background:var(--dm-hover)!important;background-image:none!important;
 color:var(--dm-text)!important;border-color:var(--dm-border-strong)!important
}
/* Explicitly avoid the white hover card seen in the screenshot. */
html[data-theme="dark"] body.admin-body .admin-focus-grid>a.focus-card,
html[data-theme="dark"] body.admin-body .admin-focus-grid>a.focus-card:hover,
html[data-theme="dark"] body.admin-body .admin-focus-grid>a.focus-card:focus-visible{
 background-color:var(--dm-panel)!important;color:var(--dm-text)!important;
 border-color:var(--dm-border)!important;box-shadow:none!important
}
html[data-theme="dark"] body.admin-body .admin-focus-grid>a.focus-card:hover,
html[data-theme="dark"] body.admin-body .admin-focus-grid>a.focus-card:focus-visible{
 background-color:var(--dm-hover)!important;border-color:var(--dm-border-strong)!important
}
html[data-theme="dark"] body.admin-body .focus-card :is(strong,h2,h3),
html[data-theme="dark"] body.admin-body :is(.admin-activity-list,.panel,.admin-hub-card) :is(h2,h3,strong){color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body .focus-card :is(small,.focus-number),
html[data-theme="dark"] body.admin-body :is(.admin-activity-list,.panel) :is(p,small){color:var(--dm-muted)!important}
html[data-theme="dark"] body.admin-body .focus-card em{color:var(--dm-link)!important}
html[data-theme="dark"] body.admin-body .focus-icon{background:#31493a!important;color:#a4e5bd!important;border-color:#456f54!important}
html[data-theme="dark"] body.admin-body .focus-icon.red{background:#482e31!important;color:#ffbbc0!important;border-color:#6b4649!important}
html[data-theme="dark"] body.admin-body .dashboard-pulse>div,
html[data-theme="dark"] body.admin-body .admin-activity-list>a{background:transparent!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body .admin-activity-list>a:hover{background:var(--dm-hover)!important}
html[data-theme="dark"] body.admin-body .dashboard-pulse strong{color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body .panel-head{background:var(--dm-panel)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body .panel-head :is(h2,h3,strong){color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body :is(.admin-step,.data-table th,.data-table td,.editor-toolbar,.editor-title-wrap,.block-head,.qh-dialog-head,.qh-dialog-actions,.settings-stage-nav,.settings-stage-cards>a,.admin-area-tabs a){
 background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important
}
html[data-theme="dark"] body.admin-body :is(.data-table tbody tr:hover td,.admin-step:hover,.admin-area-tabs a:hover,.settings-stage-cards>a:hover,.block-library>button:hover,.block-editor .editor-block:hover){background:var(--dm-hover)!important;color:#fff!important}
html[data-theme="dark"] body.admin-body :is(.data-table th,.data-table td) :is(a,strong,small){color:var(--dm-subtext)!important}
html[data-theme="dark"] body.admin-body :is(.data-table,.data-table th,.data-table td,.data-table tr,.data-table tbody,.data-table thead){border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body :is(.wizard-card,.settings-stage,.qh-dialog,.block-inserter-dialog,.block-library>button,.admin-area-tabs,.admin-stepper,.settings-stage-nav,.media-card,.qh24-media-dialog){background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body :is(.qh-dialog-body,.qh-dialog-head,.qh-dialog-actions,.block-inserter-head,.block-library>button,.qh24-media-detail,.qh24-media-header,.qh24-media-footer){background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body :is(.field input:not([type=checkbox]),.field textarea,.field select,.form-grid input:not([type=checkbox]),.form-grid select,.form-grid textarea,.filter-bar input,.filter-bar select,.editor-title,.editor-block input,.editor-block select,.editor-block textarea,.admin-nav-search input,.search-form input,.qh24-media-search input,.qh24-media-metadata input,.qh24-media-metadata textarea){
 background:var(--dm-raised)!important;color:var(--dm-text)!important;
 border-color:var(--dm-border)!important;
}
html[data-theme="dark"] body.admin-body :is(.admin-content h1,.admin-content h2,.admin-content h3,.admin-content h4,.admin-content h5,.admin-content strong,.admin-content label,.admin-content th,.admin-topbar h1){color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body :is(.admin-content p,.admin-content small,.admin-content .help,.admin-content .muted,.admin-content .wizard-card-head p,.admin-topbar small,.data-table small){color:var(--dm-muted)!important}
html[data-theme="dark"] body.admin-body :is(.btn-ghost,.admin-topbar-actions .btn-ghost,.table-actions .btn,.icon-btn){background:var(--dm-raised)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body :is(.btn-ghost,.admin-topbar-actions .btn-ghost,.table-actions .btn,.icon-btn):hover{background:var(--dm-hover)!important;color:#fff!important;border-color:var(--dm-border-strong)!important}
html[data-theme="dark"] body.admin-body .btn-primary{background:#326f53!important;color:#fff!important;border-color:#49946f!important}
html[data-theme="dark"] body.admin-body .btn-primary:hover{background:#438b68!important;color:#fff!important;border-color:#80c4a0!important}
html[data-theme="dark"] body.admin-body .btn-danger{background:#653638!important;color:#ffe1e1!important;border-color:#90575b!important}
html[data-theme="dark"] body.admin-body .btn-danger:hover{background:#7a4549!important;color:#fff!important}
html[data-theme="dark"] body.admin-body .qh24-check-row{background:var(--dm-panel)!important;border-color:var(--dm-border)!important;color:var(--dm-text)!important}
html[data-theme="dark"] body.admin-body .qh24-check-row:hover{background:var(--dm-hover)!important;border-color:var(--dm-border-strong)!important}
html[data-theme="dark"] body.admin-body .qh24-switch-ui{background:#4c5751!important;border-color:#6b756f!important}
html[data-theme="dark"] body.admin-body .qh24-check-row>input:checked+.qh24-switch-ui{background:#368c64!important;border-color:#78c89a!important}
html[data-theme="dark"] body.admin-body :is(.qh24-media-dialog,.qh24-media-collection,.qh24-media-upload,.qh24-media-header,.qh24-media-footer,.qh24-media-tabs){background:var(--dm-panel)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body :is(.qh24-media-detail,.qh24-dropzone,.qh24-media-item){background:var(--dm-raised)!important;color:var(--dm-text)!important;border-color:var(--dm-border)!important}
html[data-theme="dark"] body.admin-body .qh24-media-item:hover{background:var(--dm-hover)!important;border-color:var(--dm-border-strong)!important}
html[data-theme="dark"] body.admin-body .qh24-media-tabs button.active{color:#b6f0c9!important;border-bottom-color:var(--dm-green)!important}
/* Lower motion; hover is interruptible and reversed from the current frame. */
html[data-theme="dark"] body:is(.public-site,.admin-body) :is(.focus-card,.admin-hub-card,.news-card,.person-card,.regional-card,.qv-access-grid>a,.qv-stream-item,.qh-routebar-grid>a,.qv-roster-item){
 transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .2s cubic-bezier(.2,.7,.2,1)!important;
}
html[data-theme="dark"] body.admin-body :is(.focus-card,.admin-hub-card,.admin-activity-list>a):hover{transform:translateY(-1px)!important}
@media(max-width:760px){
 html[data-theme="dark"] body:is(.public-site,.admin-body) :is(.focus-card,.admin-hub-card,.news-card,.person-card,.regional-card,.qv-stream-item){transform:none!important}
 html[data-theme="dark"] body.public-home .qv-news-section{padding-block:40px!important}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="dark"] body:is(.public-site,.admin-body) :is(a,button,summary,[role=button],.focus-card,.admin-hub-card,.news-card,.person-card,.regional-card,.qv-stream-item){transition:none!important;animation:none!important;transform:none!important}
}
