/* Shared appearance mapping, isolated until build integration.
 * Use dedicated tokens: legacy --arc-ink/--arc-yellow remain untouched.
 * Preserve photos, photo overlays, intentional yellow surfaces and existing layer state. */
:root[data-arc-theme="dark"]{color-scheme:dark}
:root[data-arc-theme="light"]{color-scheme:light}
:root[data-arc-theme="dark"] body{background-color:var(--arc-appearance-surface);color:var(--arc-appearance-ink)}
:root[data-arc-theme="dark"] body #siteHeader.site-header{
 --header-ink:var(--arc-appearance-ink);--header-line:var(--arc-appearance-border);
 background:var(--arc-appearance-surface)!important;border-bottom-color:var(--arc-appearance-border)!important;
}
:root[data-arc-theme="dark"] body #siteHeader.site-header .brand-words strong{
 color:var(--arc-appearance-ink)!important;-webkit-text-fill-color:var(--arc-appearance-ink)!important;
}
:root[data-arc-theme="dark"] body #siteHeader.site-header .brand-words small{
 color:var(--arc-appearance-yellow)!important;-webkit-text-fill-color:var(--arc-appearance-yellow)!important;
}
:root[data-arc-theme="dark"] body #siteHeader.site-header .header-actions :is(.circle-action,#arcChatToggle):not([aria-expanded="true"]):not(.arc-chat-minimized):not(:hover):not(:focus-visible){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
:root[data-arc-theme="dark"] body #siteHeader.site-header .hamburger i{background:var(--arc-appearance-ink)!important}
:root[data-arc-theme="dark"] body :is(.fav-panel,.arc-shared-fav-panel,.sports-panel,.board-panel,.contact-panel-v46,.v69-legal-panel,.c-drawer,.museum-faq-panel,#overlay .panel,#photoDrawer,#articleDialog,#arcChatPanel,#ar-handball-panel){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;
}
:root[data-arc-theme="dark"] body :is(.fav-panel,.arc-shared-fav-panel) :is(.fav-list li,.arc-fav-tab:not([aria-pressed="true"]),.arc-fav-copy){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;
}
:root[data-arc-theme="dark"] body :is(.fav-panel,.arc-shared-fav-panel) :is(.fav-hint,.fav-tag,.fav-overline,.arc-fav-status,.arc-fav-heading){
 color:var(--arc-appearance-muted)!important;
}
:root[data-arc-theme="dark"] body :is(.fav-panel,.arc-shared-fav-panel) :is(h2,.fav-list li a){color:var(--arc-appearance-ink)!important}
:root[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-foot,.arc-chat-compose){
 background:var(--arc-appearance-surface)!important;border-color:var(--arc-appearance-border)!important;
}
:root[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-intro h2,.arc-chat-message,.arc-chat-message-user p,textarea){
 color:var(--arc-appearance-ink)!important;
}
:root[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-intro p,.arc-chat-message-user)::before{color:var(--arc-appearance-muted)}
:root[data-arc-theme="dark"] body #arcChatPanel .arc-chat-intro p{color:var(--arc-appearance-muted)!important}
:root[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-source,.arc-chat-prompt):not(:hover):not(:focus-visible){
 color:var(--arc-appearance-accent)!important;background:transparent!important;border-color:var(--arc-appearance-border)!important;
}
:root[data-arc-theme="dark"] body #arcChatPanel .arc-chat-message-assistant::before{color:var(--arc-appearance-accent)}
/* Known page families; no global recoloring of photographic or yellow cards. */
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(#top .hero,.collections,.museum-last-word,.archive){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(#top .hero h1,.museum-last-word h2,.museum-last-word p,.museum-decade-top h3,.museum-alphabet-caption){
 color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-last-word small,.museum-decade-eyebrow,.museum-decade-top p,.museum-decade-hint,.museum-alphabet-caption span,.museum-page-status,.museum-page-dots){
 color:var(--arc-appearance-muted)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-alphabet-option,.museum-decade-option,.museum-page-nav button):not([aria-pressed="true"]):not([aria-current="page"]):not(:hover):not(:focus-visible){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
:root[data-arc-theme="dark"] body .museum-faq-item{background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important}
:root[data-arc-theme="dark"] body .museum-faq-item :is(summary,.museum-faq-answer p){color:var(--arc-appearance-ink)!important}
:root[data-arc-theme="dark"] body .museum-faq-footer-note{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body :is(.masthead,.content){background-color:var(--arc-appearance-surface);color:var(--arc-appearance-ink)}
html[data-arc-theme="dark"][data-archelaos-page="news"] body :is(.masthead-title,.masthead .lead,.masthead .overline){color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .masthead-title .outstroke{color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .masthead .overline .meta:last-child{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body :is(.search,.filter:not([aria-pressed="true"]):not(:hover):not(:focus-visible)){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .search input{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .search input::placeholder{color:var(--arc-appearance-muted)}
/* Opt-in accessibility: prose only. Do not resize icons, header or fixed geometry.
 * Legacy pixel/clamp typography still requires individual mapping and browser QA. */
:root[data-arc-readable-font="true"] body :is(main,.fav-panel,.museum-faq-panel,#articleDialog,#arcChatPanel,.v69-legal-panel){
 font-family:Arial,Helvetica,sans-serif!important;
}
:root[data-arc-text-spacing="true"] body :is(main,.fav-panel,.museum-faq-panel,#articleDialog,#arcChatPanel,.v69-legal-panel) :is(p,li,blockquote){
 line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important;overflow-wrap:anywhere;
}
:root[data-arc-text-spacing="true"] body :is(main,.museum-faq-panel,#articleDialog,#arcChatPanel,.v69-legal-panel) p{margin-bottom:2em}
:root[data-arc-underline-links="true"] body :is(main,.museum-faq-panel,#articleDialog,#arcChatPanel,.v69-legal-panel) :is(p,li,blockquote) a[href]{
 text-decoration:underline!important;text-underline-offset:.16em;
}
:root[data-arc-contrast="true"] body :is(main,#mainMenu,.fav-panel,#articleDialog,#arcChatPanel) :is(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--arc-appearance-focus)!important;outline-offset:3px!important;
}
/* Only known prose with known baseline sizing; do not use CSS zoom. */
#arcChatPanel .arc-chat-message{font-size:calc(14px * var(--arc-appearance-text-scale,1))}
#arcChatPanel .arc-chat-message-user p{font-size:calc(16px * var(--arc-appearance-text-scale,1))}
.museum-faq-panel .museum-faq-answer p{font-size:calc(13px * var(--arc-appearance-text-scale,1))}

/* Computed contrast review 2026-11-25: exact legacy components.
   Pair foreground and surface rather than recolor all body text. */
html[data-arc-theme="dark"][data-archelaos-page="museum"] .museum-intro h2{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] .why-content{background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] .why-content :is(h2,p,.eyebrow){color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] #more:not(:hover):not(:focus-visible){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] .manifesto-inner p{color:#405c4d!important}
html[data-arc-theme="dark"][data-archelaos-page="support"] .s2-kicker,
html[data-arc-theme="dark"][data-archelaos-page="contribute"] .c-hero-lede{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="photos"] body:not(:has(#heroImg)) main p{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="privacy"] :is(.p-header,.p-footer){background:var(--arc-appearance-surface)!important;border-color:var(--arc-appearance-border)!important}
html[data-arc-theme="dark"][data-archelaos-page="privacy"] :is(.p-brand,.p-nav a,.p-footer,.p-kicker,main h1,#archelaosPrivacyContent h2,#archelaosPrivacyContent h3,#archelaosPrivacyContent p,#archelaosPrivacyContent li){color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="privacy"] #archelaosPrivacyContent a{color:var(--arc-appearance-accent)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .quick-card:not(:hover):not(:focus-visible){background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .quick-card:not(:hover):not(:focus-visible) :is(strong,small,.quick-num){color:var(--arc-appearance-ink)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .quick-card:is(:hover,:focus-visible){background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .quick-card:is(:hover,:focus-visible) :is(strong,small,.quick-num){color:var(--arc-appearance-hover-ink)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .section-head .eyebrow{color:var(--arc-appearance-accent)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .press-privacy{background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-muted)!important}
:root[data-arc-theme="dark"] body:has(.press-public-form) .press-privacy a{color:var(--arc-appearance-accent)!important}
/* Retain the deliberately paper-white historical exhibit sections and improve
   their low-contrast prose; do not invert documents or photographic artwork. */
:root[data-arc-theme="dark"] body:has(.ancient-detail) main :is(.lead,.ancient-detail p,.ancient-photo-copy p,.founding-text,.explorer-top p,.explorer-source){color:#405c4d!important}
:root[data-arc-theme="dark"] .roster-caution{color:#405c4d!important}

/* Second measured contrast review: paper-white Diia exhibit copy.
   Select only the identified text, not the map, archival imagery or documents. */
:root[data-arc-theme="dark"] body:has(.ancient-detail) main :is(
 .ancient-photo-copy .license.arc-photo-credit,.document-copy p,
 .diia-makedonia-copy p,.route-stages p,.map-foot p,.map-accuracy,
 .record-footnote,.closing-history .closing-grid p
){color:#405c4d!important}

/* The exhibit owns a later, highly specific credit rule. Preserve attribution. */
html[data-arc-theme="dark"] #diiaRoot .ancient-photo-copy p.license.arc-photo-credit,
html[data-arc-theme="dark"] #diiaRoot .ancient-photo-copy p.license.arc-photo-credit a{
 color:#405c4d!important;
}

/* Shared button families: replace legacy white resting surfaces in dark mode,
   retaining active/selected states, photograph controls and the yellow hover. */
html[data-arc-theme="dark"] body :is(a.board-cta-pill,a.hero-cta,a.contact-cta,a.c-photo-cta,a.c-primary-action,a.btn,a.button,main .last-cta .cta-links>a,main .last-cta .cta-links>button,.apt-view-all):not(:focus-visible):not([aria-pressed="true"]):not([aria-expanded="true"]){
 background:var(--arc-appearance-surface-raised)!important;background-image:none!important;
 border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"] body :is(a.board-cta-pill,a.hero-cta,a.contact-cta,a.c-photo-cta,a.c-primary-action,a.btn,a.button,main .last-cta .cta-links>a,main .last-cta .cta-links>button,.apt-view-all):hover:not([aria-pressed="true"]):not([aria-expanded="true"]){
 background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
 }
}
@media(hover:none) and (pointer:coarse){
 html[data-arc-theme="dark"] body #siteHeader .header-actions .circle-action:hover:not(:focus-visible):not([aria-expanded="true"]):not(.arc-chat-minimized){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;
 }
}

/* Comprehensive dark surface pass: Museum, shared search, collection cards,
   records and editorial panels. Scope to actual UI, not artwork or photographs. */
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(#intro-section .eyebrow,.museum-intro .eyebrow,.search-heading .eyebrow,.museum-tribute-overline){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(#intro-section p,.museum-intro p,.search-note,.museum-tribute-description,.collection .detail,.collection .small,.result .summary,.result .kicker,.result .type-label){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.unified-search,.search-wrap,.museum-mobile-search-popup,.museum-tribute-launch,.museum-tribute-count,.collection,.collection-icon,.why-trigger,.result,.voice-result,.museum-event-step,.museum-updates-panel,.museum-tributes-panel,.historical-special-card,.v138-voices-panel,.form-sheet){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.collection .headline,.collection-bottom,.museum-tribute-title,.result h3,.voice-result h3,.why-trigger strong,.museum-event-step strong,.museum-tributes-panel h2,.museum-updates-panel h2,.historical-special-card h3,.v138-voices-panel h2,.v138-voices-panel h3,.panel h2,.panel-label){color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-event-step span,.museum-event-journey-note,.panel-date,.panel-kicker,.museum-tribute-count,.museum-tributes-panel p,.museum-updates-panel p,.historical-special-card p,.v138-voices-panel p){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.search-wrap input,#search,.museum-mobile-search-popup input){background:transparent!important;color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.search-wrap input,#search,.museum-mobile-search-popup input)::placeholder{color:var(--arc-appearance-muted)!important;opacity:1}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.search-wrap svg,.result .more,.museum-event-journey-heading){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-faq-open,.museum-updates-launch,.clear-search,.museum-faq-contribute,.archive-close,.museum-next-record,.v138-voices-return,.museum-page-nav button:not([aria-current="page"])):not(:focus-visible){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-faq-open,.museum-updates-launch,.clear-search,.museum-faq-contribute,.museum-tribute-launch,.collection,.why-trigger,.result,.museum-event-step):focus-visible{
 background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-tribute-launch,.collection,.why-trigger,.result,.museum-event-step):focus-visible :is(strong,span,h3,p){color:var(--arc-appearance-hover-ink)!important}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-faq-open,.museum-updates-launch,.clear-search,.museum-faq-contribute,.museum-tribute-launch,.collection,.why-trigger,.result,.museum-event-step):hover{
  background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
 }
 html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-tribute-launch,.collection,.why-trigger,.result,.museum-event-step):hover :is(strong,span,h3,p){color:var(--arc-appearance-hover-ink)!important}
}
/* Shared field controls, common panel header/footer families and CTA pills.
   Leave colored media, document pages, native checkboxes and selected states alone. */
html[data-arc-theme="dark"] body :is(.modal-header,.modal-body,.modal-bottom,.v69-panel-head,.v69-panel-inner,.form-header,.why-drawer-header,.drawer-top,.drawer-body,.reader-toolbar,.arc-chat-compose,.arc-chat-foot,.supportWaysDrawerTop,.supportWaysDrawerBody,.supportWaysDrawerFooter,.c-drawer,.fav-panel){
 background-color:var(--arc-appearance-surface)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"] body :is(.arc-chat-compose,.form-card,.c-fields,.press-public-form,.unified-search,.filters) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),textarea,select){
 background-color:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"] body :is(.arc-chat-compose,.form-card,.c-fields,.press-public-form,.unified-search,.filters) :is(input,textarea)::placeholder{color:var(--arc-appearance-muted)!important;opacity:1}
html[data-arc-theme="dark"] body :is(.s2-story-stage,.c-story-stage,.text-card,.form-summary,.press-public-forms .contact-card,.aw-modal-header,.arc-directory-item){
 background-color:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}

/* Match the exact high-specificity Museum layout selectors, including
   the separately maintained illustration overlays. Keep original image pixels. */
html[data-arc-theme="dark"] body #siteHeader.site-header .brand-morph .s2-header-page-name{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section :is(.collection,.voices-feature .collection-voices){
 background-color:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;
 box-shadow:none!important;color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .museum-cards>.collection[data-which="people"]{
 background-image:linear-gradient(90deg,rgba(27,44,35,.99),rgba(27,44,35,.94) 64%,rgba(27,44,35,.77)),url("/assets/museum-card-art/hall-laurel-track.webp")!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .museum-cards>.collection[data-which="moments"]{
 background-image:linear-gradient(90deg,rgba(27,44,35,.99),rgba(27,44,35,.94) 64%,rgba(27,44,35,.77)),url("/assets/museum-card-art/events-archive-venue.webp")!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .voices-feature>.collection-voices{
 background-image:linear-gradient(90deg,rgba(27,44,35,.99),rgba(27,44,35,.94) 64%,rgba(27,44,35,.77)),url("/assets/museum-card-art/voices-archive.webp")!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection :is(.small,.detail){
 color:var(--arc-appearance-muted)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection .headline{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection[aria-expanded="true"]{border-color:var(--arc-appearance-yellow)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top .why-area>.why-trigger{
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top .why-area .why-label strong{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top .why-area .why-label .small{color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top .why-area .why-label .why-subtitle{
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-repeat-search{
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;border-left-color:var(--arc-appearance-yellow)!important;box-shadow:0 10px 28px rgba(0,0,0,.25)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-repeat-search :is(.museum-repeat-label,input::placeholder){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-repeat-search input{background:transparent!important;color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-repeat-search svg{stroke:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-repeat-row .museum-repeat-submit:not(:focus-visible){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #siteHeader #museumMobileSearchPopup:not([hidden]){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #siteHeader #museumMobileSearchPopup :is(input,button):not(:focus-visible){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #siteHeader #museumMobileSearchPopup input::placeholder{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-tributes-panel a.historical-special-card{
 background:var(--arc-appearance-surface-raised)!important;background-image:none!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-tributes-panel a.historical-special-card strong{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body .museum-tributes-panel a.historical-special-card :is(.historical-special-overline,.historical-special-subtitle){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(#top .museum-sport-select,.museum-tributes-close,.museum-updates-close,#overlay .panel-tools #museumNextRecord):not(:focus-visible){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-updates-eyebrow,.museum-updates-date,.museum-updates-type,.museum-tributes-kicker){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body :is(.museum-updates-subtitle,.museum-updates-item-summary,.museum-updates-message,.museum-tributes-lead){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection:focus-visible{
 background:var(--arc-appearance-yellow)!important;background-image:none!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection:focus-visible :is(.small,.headline,.detail){color:var(--arc-appearance-hover-ink)!important}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection:hover{
  background:var(--arc-appearance-yellow)!important;background-image:none!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
 }
 html[data-arc-theme="dark"][data-archelaos-page="museum"] body #top #hall-section .collection:hover :is(.small,.headline,.detail){color:var(--arc-appearance-hover-ink)!important}
}

/* One consistent white scroll title throughout Dark Mode. Leave the original
   two-line identity and its yellow subline alone when not scrolled. */
html[data-arc-theme="dark"] body #siteHeader.site-header :is(.s2-header-page-name,.brand-photo-name,.arc-contact-title),
html[data-arc-theme="dark"] body #siteHeader.site-header.scrolled-brand .brand-words strong,
html[data-arc-theme="dark"] body #siteHeader.site-header .news-brand-copy strong{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
/* News uses a single animated label rather than the other page-title span.
   Align that label to the same shared left inset without moving the actions. */
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;gap:10px!important;padding-inline-start:clamp(22px,5.3vw,90px)!important;
}
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand .brand-morph{
 position:relative!important;left:auto!important;top:auto!important;transform:none!important;
 width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
}
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand .brand-words{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;gap:0!important;
 transform:none!important;opacity:1!important;overflow:hidden!important;
}
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand .news-brand-copy{
 align-items:center!important;justify-content:flex-start!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;
}
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand .news-brand-copy strong{
 text-align:left!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand .header-actions{
 grid-column:2!important;justify-self:end!important;
}
@media(max-width:760px){
 html[data-arc-appearance-preview="1"][data-archelaos-page="news"] body #siteHeader.site-header.scrolled-brand{padding-inline-start:15px!important}
}
/* The editorial ticker is independent of the homepage marquee. */
html[data-arc-theme="dark"][data-archelaos-page="news"] body .ticker{
 background:var(--arc-appearance-surface-raised)!important;
 color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .ticker-line span{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .ticker-line b{color:var(--arc-appearance-yellow)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body :is(.section-label,.section-heading>span){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .section-description{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .hero-bottom .cta:not(:focus-visible){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;border:1px solid var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="news"] body .hero-bottom .cta:focus-visible{background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;border-color:var(--arc-appearance-yellow)!important}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"][data-archelaos-page="news"] body .hero-bottom .cta:hover{background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;border-color:var(--arc-appearance-yellow)!important}
}

/* Editorial closing card is UI, not an archival document: darken the full surface. */
html[data-arc-theme="dark"][data-archelaos-page="news"] body #statement.manifesto{
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"][data-archelaos-page="news"] body #statement.manifesto h2{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body #statement.manifesto h2 span{color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body #statement.manifesto :is(p,.meta),
html[data-arc-theme="dark"][data-archelaos-page="news"] body .news-photo-note{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"][data-archelaos-page="news"] body #statement .manifesto-inner::after{color:var(--arc-appearance-ink)!important}

/* Whole-site computed surface audit: shared drawer/card controls. */
html[data-arc-theme="dark"] body :is(.sports-panel .sports-panel-place,.sports-panel .sport-news-card,.sports-panel .sport-history-trigger,.sports-panel .sports-choice:not([aria-pressed="true"]),.museum-faq-panel .museum-faq-contribute,#whyPanel .why-inner,.v138-voices-panel .v138-voices-head,.v138-voices-panel .v138-voices-search,.v138-voices-panel .v138-voice-item,#top .chip:not([aria-pressed="true"]),#articleDialog #dialog-connections,#articleDialog #dialog-connections button,#articleDialog #closeDialog,#articleDialog #arcShareToggle,#letterSubjectContext,#s2-story-next,#c-next){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
html[data-arc-theme="dark"] body :is(.sports-panel .sports-panel-place p,.sports-panel .sport-news-card strong,.v138-voices-panel .v138-voice-name,.v138-voices-panel .v138-voices-head h2,.v138-voice-article .voice-reading-title,#articleDialog #dialog-connections h3){
 color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"] body :is(.sports-panel .sports-panel-place>span,.sports-panel .sports-other-title,.sports-panel .sport-news-card time,.v138-voices-panel .v138-voices-intro,.v138-voices-panel .v138-voice-meta,.v138-voices-panel .v138-voice-meta span,.v138-voices-panel .v138-voice-excerpt,.v138-voice-article .voice-reading-context,.v138-voice-article .voice-answer,.v138-voice-article .voice-single-quote,#articleDialog #dialog-connections p){
 color:var(--arc-appearance-muted)!important;
}
html[data-arc-theme="dark"] body .v138-voices-panel .v138-voices-search::placeholder{color:var(--arc-appearance-muted)!important;opacity:1}
html[data-arc-theme="dark"] body :is(.sports-panel .sport-news-card,.sports-panel .sport-history-trigger,.sports-panel .sports-choice:not([aria-pressed="true"]),.museum-faq-panel .museum-faq-contribute,.v138-voices-panel .v138-voice-item,#top .chip:not([aria-pressed="true"]),#articleDialog #dialog-connections button,#articleDialog #closeDialog,#articleDialog #arcShareToggle,#s2-story-next,#c-next):focus-visible{
 background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
}
html[data-arc-theme="dark"] body :is(.sports-panel .sport-news-card,.v138-voices-panel .v138-voice-item):focus-visible :is(strong,time,span){color:var(--arc-appearance-hover-ink)!important}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"] body :is(.sports-panel .sport-news-card,.sports-panel .sport-history-trigger,.sports-panel .sports-choice:not([aria-pressed="true"]),.museum-faq-panel .museum-faq-contribute,.v138-voices-panel .v138-voice-item,#top .chip:not([aria-pressed="true"]),#articleDialog #dialog-connections button,#articleDialog #closeDialog,#articleDialog #arcShareToggle,#s2-story-next,#c-next):hover{
  background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
 }
 html[data-arc-theme="dark"] body :is(.sports-panel .sport-news-card,.v138-voices-panel .v138-voice-item):hover :is(strong,time,span){color:var(--arc-appearance-hover-ink)!important}
}
/* Press: the actual page has plural .press-public-forms and a press desk.
   Scope token changes to its main/drawers; don't redefine white brand ink. */
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(main,.drawer){
 --ink:var(--arc-appearance-ink);--sub:var(--arc-appearance-muted);--muted:var(--arc-appearance-muted);--line:var(--arc-appearance-border);--cloud:var(--arc-appearance-surface-raised);
}
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.hero,.contact-band,.contact-card,.museum-bridge,.feed-controls,.segmented,.press-desk,.press-public-forms,.press-public-form,.drawer,.reader-toolbar,.text-card){
 background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.hero h1,.contact-card h2,.museum-bridge h2,.section-head h2,.quick-card strong,.release-main h3,.press-desk-email,.drawer h2,.text-card h3){
 color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.hero-desc,.contact-card p,.museum-bridge p,.section-note,.release-meta,.release-lead,.quick-card small,.press-desk-label,.press-desk-meta,.press-privacy,.eyebrow){
 color:var(--arc-appearance-muted)!important;
}
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.btn-outline,.btn-subtle,.segmented button:not([aria-pressed="true"]),.press-pagination button:not([aria-current="page"]),.quick-card):not(:focus-visible){
 background:var(--arc-appearance-surface)!important;border-color:var(--arc-appearance-border)!important;color:var(--arc-appearance-ink)!important;box-shadow:none!important;
}
html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.btn-outline,.btn-subtle,.segmented button:not([aria-pressed="true"]),.press-pagination button:not([aria-current="page"]),.quick-card):focus-visible{
 background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"] body:has(.press-public-forms) :is(.btn-outline,.btn-subtle,.segmented button:not([aria-pressed="true"]),.press-pagination button:not([aria-current="page"]),.quick-card):hover:not(:disabled){
  background:var(--arc-appearance-yellow)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;
 }
 html[data-arc-theme="dark"] body:has(.press-public-forms) .quick-card:hover :is(strong,small,.quick-num){color:var(--arc-appearance-hover-ink)!important}
}
html[data-arc-theme="dark"] body:has(.press-public-forms) .quick-card:focus-visible :is(strong,small,.quick-num){color:var(--arc-appearance-hover-ink)!important}

/* Findings from the completed 60-case / 26-panel review. */
html[data-arc-theme="dark"] body #whyPanel .why-signoff{background:var(--arc-appearance-surface-raised)!important;background-image:none!important;color:var(--arc-appearance-muted)!important;border-color:var(--arc-appearance-border)!important}
html[data-arc-theme="dark"] body #whyPanel .why-signoff strong{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body #c-story-text{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"] body .letter-overture h2{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body .letter-overture h2 .letter-highlight{color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"] body:has(.press-public-forms) .draft-notice{background:var(--arc-appearance-surface-raised)!important;border-color:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body:has(.press-public-forms) .draft-notice strong{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body:has(.press-public-forms) .draft-notice p{color:var(--arc-appearance-muted)!important}
/* Dark readable ink on the intentional paper-white historical exhibit. */
html[data-arc-theme="dark"] body #diiaRoot :is(.hero p.hero-copy,.hero-side .epoch p){color:#405c4d!important}

/* Historical Assistant: actual public UI, including the Invisible Chat header. */
html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-head,.arc-chat-body,.arc-chat-foot,.arc-chat-compose){
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"] body #arcChatPanel .arc-chat-identity strong{color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-identity .arc-chat-tagline,.arc-chat-preview-note,.arc-chat-provenance,.arc-chat-reset,.arc-chat-copy){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-identity .arc-chat-heritage,.arc-chat-followups strong,.arc-chat-privacy-link,.arc-chat-inline-citation,.arc-chat-source,.arc-chat-followup){color:var(--arc-appearance-accent)!important}
html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-followup,.arc-chat-photo-thumb,.arc-chat-head button,.arc-chat-send){
 background:transparent!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"] body #arcChatPanel textarea::placeholder{color:var(--arc-appearance-muted)!important;opacity:1}
html[data-arc-theme="dark"] body.arc-chat-enabled #arcChatPanel .arc-chat-head #arcChatClose.site-close-trigger > span.site-close-x{
 color:var(--arc-appearance-ink)!important;-webkit-text-fill-color:var(--arc-appearance-ink)!important;
}
html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-head button,.arc-chat-send,.arc-chat-prompt,.arc-chat-source,.arc-chat-followup,.arc-chat-photo-thumb):focus-visible{
 background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;border-color:var(--arc-appearance-yellow)!important;
}
@media(hover:hover) and (pointer:fine){
 html[data-arc-theme="dark"] body #arcChatPanel :is(.arc-chat-head button,.arc-chat-send,.arc-chat-prompt,.arc-chat-source,.arc-chat-followup,.arc-chat-photo-thumb):hover:not(:disabled){
  background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important;border-color:var(--arc-appearance-yellow)!important;
 }
}
html[data-arc-theme="dark"] body.arc-chat-enabled #arcChatPanel .arc-chat-head #arcChatClose.site-close-trigger:is(:hover,:focus-visible) > span.site-close-x{
 color:var(--arc-appearance-hover-ink)!important;-webkit-text-fill-color:var(--arc-appearance-hover-ink)!important;
}
html[data-arc-theme="dark"] body #arcChatPanel .arc-chat-send:disabled{color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"] body #arcChatSourceDetail .arc-chat-detail-sheet{
 background:var(--arc-appearance-surface)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"] body #arcChatSourceDetail :is(h2,.arc-chat-detail-copy){color:var(--arc-appearance-ink)!important}
html[data-arc-theme="dark"] body #arcChatSourceDetail :is(.arc-chat-detail-meta,.arc-chat-detail-kicker){color:var(--arc-appearance-muted)!important}
html[data-arc-theme="dark"] body #arcChatSourceDetail :is(.arc-chat-detail-close,.arc-chat-detail-original):not(:focus-visible):not(:hover){
 background:var(--arc-appearance-surface-raised)!important;color:var(--arc-appearance-ink)!important;border-color:var(--arc-appearance-border)!important;
}
html[data-arc-theme="dark"] body #arcChatEdgeTab{background:var(--arc-appearance-yellow)!important;color:var(--arc-appearance-hover-ink)!important}
