/* Shared chrome. Print artwork and photography are deliberately unmodified. */
.core-theme-toggle{display:inline-grid!important;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:9px!important;flex:none;border:0!important;border-radius:0!important;background:transparent!important;color:inherit;cursor:pointer;order:2;margin:0;line-height:1;opacity:.45;transition:opacity .15s}
.core-theme-toggle:hover{opacity:.7}
.core-theme-toggle:focus-visible{opacity:1;outline:2px solid #aeb742;outline-offset:4px}
.core-theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.core-theme-toggle .theme-sun{display:none}
html[data-theme=dark] .core-theme-toggle .theme-sun{display:block}
html[data-theme=dark] .core-theme-toggle .theme-moon{display:none}
html[data-theme=dark]{color-scheme:dark;background:#171a16;color:#f0f1e8;--paper:#171a16;--ink:#f0f1e8;--muted:#b5bbab;--line:#424939;--bg:#171a16;--bg-raised:#22271e;--bg-inset:#292f23;--ink-soft:#c0c6b5;--ink-faint:#acb39f;--line-strong:#788169;--field:#20251d;--field-line:#68715c;--placeholder:#a1a993;--accent:#e7eb6c;--accent-bright:#f2f5a1;--accent-contrast:#252821;--danger:#ff9e9e;--ok:#8ed6a6}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.site-header,.bar,.invitation-header){background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.brand,.invitation-header>a,.flyer-studio-brand) img,
html[data-theme=dark] img[src*="/brand/core-"]:not([src*="-inverse"]):not([src*="-lime"]){filter:brightness(0) invert(1)}
html[data-theme=dark] :is(.hero,footer.footer,.site-footer){--ink:#252821;--paper:#f6f5ef;background:#252821;color:#f6f5ef}
html[data-theme=dark] :is(.button-lime,.nav-cta,.discipline-strip,.skip-link,.partner-purpose){color:#252821}
html[data-theme=dark] .site-header .nav-cta{color:#252821;border-color:#e7eb6c}
html[data-theme=dark] .site-header .nav-cta:hover{background:#f2f5a1;color:#252821}
html[data-theme=dark] .discipline-strip{background:#e7eb6c}
html[data-theme=dark] .button-dark{background:#e7eb6c;color:#252821}
html[data-theme=dark] :is(.arena,.lab,.standards-band,.expertise-section,.recognition-section,.advisor-purpose,.publication-note){background:#252c21;color:var(--ink)}
html[data-theme=dark] .arena-rm{background:#292a35}
html[data-theme=dark] .arena:hover{background:#333c29}
html[data-theme=dark] :is(.arena-description,.arena-foot,.contact-action>span){color:#c4cab8}
html[data-theme=dark] :is(.btn-primary,.auth-intro h2 em){color:#252821;border-color:#e7eb6c}
html[data-theme=dark] .btn-primary:hover{background:#f2f5a1;color:#252821}
html[data-theme=dark] .foot{background:#11140f}
html[data-theme=dark] .foot :is(a,.wrap-wide){color:#cbd0bf}
html[data-theme=dark] :is(.identity-grid input,textarea,.choice,.profile-preview,.advisor-card,.university-popover,.profile-example-dialog,.photo-upload-face){background:var(--field);color:var(--ink);border-color:var(--field-line);box-shadow:none}
html[data-theme=dark] .choice:has(input:checked){background:#303721;border-color:#aeb742}
html[data-theme=dark] :is(.small,.choice small,.form-section>p,.section-label>span,.notes-label>span,.photo-hint){color:var(--ink-soft)}
html[data-theme=dark] :is(.profile-source,.profile-example-link,.example-dialog-top button){color:var(--ink)}
html[data-theme=dark] .submit-button{background:#e7eb6c;color:#252821}
html[data-theme=dark] :is(.dash-disclosure,.dash-announcements,.dash-verification,.dash-account-popover,.dash-account-menu summary,.dash-community .eigenvalley-card,.dash-workbench){background:var(--bg-raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.dash-community .eigenvalley-card h2,.dash-community .eigenvalley-description,.dash-workbench>p,.dash-environment-coming-soon){color:var(--ink-soft)}
html[data-theme=dark] :is(.dash-providers button,.dash-verification input,.dash-verification textarea,.dash-verification select,.dash-invite-url){background:var(--field);color:var(--ink);border-color:var(--field-line)}
html[data-theme=dark] :is(.dash-receipt,.dash-provider-connected,.dash-permission-state,.dash-setting-icon){background:#303b29;color:#d4e5c5}
html[data-theme=dark] :is(.dash-disclosure summary:hover,.dash-account-popover a:hover){background:#343c2c}
html[data-theme=dark] .dash-profile{--ink:#252821;--ink-soft:#51564a;--ink-faint:#62655c;color:#252821}
html[data-theme=dark] .dash-invite-actions button:first-child{color:#252821}
html[data-theme=dark] .dash-welcome h1>span{color:#c9d570}
html[data-theme=dark] .back-to-site:hover{color:#252821}
/* The signup channel card retains its approved white treatment in both themes. */
html[data-theme=dark] .card-form .eigenvalley-card{background:#fff;color:#252821}
html[data-theme=dark] .card-form .eigenvalley-card h2{color:#252821}
html[data-theme=dark] .card-form .eigenvalley-description{color:#59604e}
@media(max-width:600px){.site-header{gap:8px!important}.site-header .core-theme-toggle{width:36px;height:36px;min-width:36px;min-height:36px;padding:7px!important}.site-header .brand img{max-width:100%;height:auto}.invitation-header{flex-wrap:wrap}.bar-inner{gap:10px!important}.bar-actions{gap:10px!important}.studio-header{flex-wrap:wrap;height:auto!important}}
@media print{.core-theme-toggle{display:none!important}}

html[data-theme=dark] :is(.partner-purpose,.ee-overview,.briefing-section,.publication-status.available){--ink:#252821;--paper:#f6f5ef;--muted:#51564a;color:#252821}
html[data-theme=dark] .partner-purpose :is(p,h2,.eyebrow){color:#252821}
html[data-theme=dark] ::selection{background:#e7eb6c;color:#252821}
html[data-theme=dark] .form-error{color:#ff9e9e}
html[data-theme=dark] :is(.dash-announcements p,.dash-verification p,.dash-verification label small,.dash-verification-note small,.dash-verification button.dash-verification-add-details){color:var(--ink-soft)}
html[data-theme=dark] .dash-verification-state{background:#343c2c;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .dash-verification-state.is-verified{background:#e7eb6c;color:#252821}
html[data-theme=dark] .dash-permission-state.is-active{background:#303b29;color:#a5dfb6}
html[data-theme=dark] :is(.dash-bottom button,.dash-account-popover button,.dash-upload-control [role=alert],.dash-verification .dash-verification-error){color:#ff9e9e}
html[data-theme=dark] .dash-account-menu{color:var(--ink)}
html[data-theme=dark] .dash-invite-actions button:hover{background:#343c2c;color:var(--ink)}

/* Exact navbar centre on desktop; mobile theme controls live inside menus. */
[data-theme-header],.bar{position:relative}
[data-theme-header]>.core-theme-toggle,.bar .core-theme-desktop{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.core-theme-menu{display:none;position:relative;order:4;flex:none}
.core-theme-menu summary{display:grid;place-items:center;width:40px;height:40px;cursor:pointer;list-style:none}
.core-theme-menu summary::-webkit-details-marker{display:none}
.core-theme-menu summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.core-theme-menu-panel{position:absolute;right:0;top:calc(100% + 8px);padding:8px;z-index:40;background:var(--paper,#f6f5ef);color:var(--ink,#252821);border:1px solid var(--line,#d6d8ca);box-shadow:0 8px 24px #0002}
.core-theme-menu-panel .core-theme-toggle{position:static;transform:none}
@media(max-width:1100px){
 .core-theme-menu{display:block}
 .bar .core-theme-desktop{display:none!important}
 .bar-actions>.back-to-site{display:none}
 .site-header #primary-nav>.core-theme-toggle{position:static;transform:none;align-self:flex-start;margin-top:12px}
}

@media(min-width:1101px){
 [data-theme-header].invitation-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:80px}
 [data-theme-header].invitation-header>span{text-align:left;max-width:100%;text-wrap:balance}
 [data-theme-header].invitation-header>a{justify-self:end}
 .overview-toolbar .overview-actions{max-width:calc(50% - 30px);flex-wrap:wrap;justify-content:flex-end}
}
@media(min-width:1001px) and (max-width:1100px){
 .site-header .menu-toggle{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;order:2;border:1px solid var(--line);background:transparent}
 .site-header .menu-toggle>span{height:1px;width:19px;background:var(--ink)}
 .site-header #primary-nav{display:none;position:absolute;top:100%;left:0;width:100%;height:auto;margin:0;padding:20px 5%;background:var(--paper);border-bottom:1px solid var(--line);align-items:stretch}
 .site-header.menu-open #primary-nav{display:flex;flex-direction:column}
 .site-header #primary-nav>a{align-self:flex-start}
}

.bar .bar-actions{display:flex;align-items:center;gap:16px}
.core-theme-menu-link{display:block;white-space:nowrap;padding:10px;font:500 12px/1.5 var(--ui, sans-serif);text-decoration:none;color:inherit}
/* Dark feature sections must not use the theme's light text token as a surface. */
html[data-theme=dark] .about-statement{--ink:#252821;--paper:#f6f5ef;background:#252821;color:#f6f5ef}
html[data-theme=dark] :is(.format-section,.standards-principles){background:#252c21;color:var(--ink)}
html[data-theme=dark] .rm-overview{background:#292a35;color:var(--ink)}
html[data-theme=dark] .document-status{background:#303721;color:var(--ink);border-color:#68715c}
html[data-theme=dark] .audience-list>a:hover{background:#293122}
html[data-theme=dark] :is(.lab-model>span,.answer-feedback,.range-labels,.plot-note){color:#c0c6b5}
html[data-theme=dark] :is(.answer-feedback.correct,.plot-note>span:first-child){color:#d0df9b}
html[data-theme=dark] .answer-options button:hover{background:#343c2c}
html[data-theme=dark] .answer-options button.selected{background:#e7eb6c;color:#252821}
html[data-theme=dark] :is(.plot-labels,.axis-label){fill:#c0c6b5}
html[data-theme=dark] .plot-grid{stroke:#525c46}
html[data-theme=dark] .target-line{stroke:#a2ad96}
html[data-theme=dark] #response-line{stroke:#d4dd64}
html[data-theme=dark] .plot-key i{background:#d4dd64}
html[data-theme=dark] .plot-key>span:nth-child(2) i{background:none;border-color:#a2ad96}
html[data-theme=dark] .volunteer-intro{--ink:#252821;--ink-soft:#51564a;--accent:#252821;--accent-bright:#414927;color:#252821}
html[data-theme=dark] :is(.volunteer-consent,.volunteer-success){background:var(--bg-raised);color:var(--ink)}
html[data-theme=dark] .volunteer-form textarea{background:var(--field);color:var(--ink)}
html[data-theme=dark] .volunteer-roles label:has(:checked){background:#303721;border-color:#aeb742}
