:root{--ode-header-bg:#c3d4e6;--ode-header-text:#24566e;--ode-footer-bg:#24566e;--ode-footer-text:#e3edf5;--ode-text:#173f54;--ode-heading:#173f54;--ode-focus:#24566e;--ode-gold-accent:#d5aa50;--ode-gold-ink:#765012;--ode-gold-wash:#fff7e4;--ode-gold-line:#e3c784;--ode-gold-card:#fffcf4;--ode-gold-button-ink:#173f54;--ode-red-accent:#f15d54;--ode-red-ink:#a52b25;--ode-red-wash:#fff1ef;--ode-red-line:#f6b5af;--ode-red-card:#fff9f8;--ode-red-button-ink:#173f54;--ode-blue-accent:#24566e;--ode-blue-ink:#173f54;--ode-blue-wash:#edf3f8;--ode-blue-line:#a7bfd3;--ode-blue-card:#f7fafc;--ode-blue-button-ink:#ffffff;}

/* One coherent accent per complete section. */
html body main :is(#ode-theme-priority,.ode-section-theme) {--section-accent:var(--ode-gold-accent,#d5aa50);--section-ink:var(--ode-gold-ink,#765012);--section-wash:var(--ode-gold-wash,#fff7e4);--section-line:var(--ode-gold-line,#e3c784);--section-card:var(--ode-gold-card,#fffcf4);--section-button-ink:var(--ode-gold-button-ink,#173f54);--gold:var(--section-accent);--teal:var(--section-ink);--teal-light:var(--section-line);background:var(--section-wash)!important;background-image:none!important;color:var(--section-text,#173f54)!important;border-color:var(--section-line)!important;border-top:5px solid var(--section-accent)!important;;--section-text:var(--ode-text,#173f54);--section-heading:var(--ode-heading,#173f54);--section-link:var(--section-ink);--section-button:var(--section-accent);--section-hover:var(--section-ink);--section-hover-text:#ffffff}
html body main :is(#ode-theme-priority,.ode-section-theme)[data-section-theme="red"]{--section-accent:var(--ode-red-accent,#f15d54);--section-ink:var(--ode-red-ink,#a52b25);--section-wash:var(--ode-red-wash,#fff1ef);--section-line:var(--ode-red-line,#f6b5af);--section-card:var(--ode-red-card,#fff9f8);--section-button-ink:var(--ode-red-button-ink,#173f54);;--section-text:var(--ode-text,#173f54);--section-heading:var(--ode-heading,#173f54);--section-link:var(--section-ink);--section-button:var(--section-accent);--section-hover:var(--section-ink);--section-hover-text:#ffffff}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(h1,h2,h3,h4,p,li,dt,dd,label,legend,figcaption){color:var(--section-text,#173f54)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is([class*="-card"],.hero-aside,.mini-card,.panel,.card,.feature-card,.person-card,.np-card,.spark-card,.spark-video-card,.spark-feature,.spark-proposal,.spark-note,.spark-empty,.ode-abstract-callout,.ode-redesign-image,.ode-host-band,.topic,.science-quote,.sp-event,.sp-research-card,.abstract-card,.account-card,.sample-card,.rec-card,.wx-card,.ode-reg-card,.np-feature,.callout,.notice,.info-card,.contact-card,.participate-card){background:var(--section-card)!important;background-image:none!important;border-color:var(--section-line)!important;border-top-color:var(--section-accent)!important;color:var(--section-text,#173f54)!important;box-shadow:0 8px 24px #173f540a!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.eyebrow,.spark-kicker,.spark-label,.spark-duration,.session-number,.panel-link,.ode-guidelines,.text-link,.sp-time,.np-kicker,.stat-number,.stat strong){color:var(--section-ink)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.topic,.pill,.pill-soft,.spark-status,.ode-abstract-deadline,.science-quote,.session,.panel>h3,.spark-video-meta){border-color:var(--section-line)!important;background:var(--section-card)!important;color:var(--section-text,#173f54)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.primary-button,.btn-primary,.button-primary,.spark-button,.np-button,.sp-button,.btn-gold,button[type="submit"],a.button,a.btn){background:var(--section-accent)!important;background-image:none!important;border-color:var(--section-accent)!important;color:var(--section-button-ink)!important;box-shadow:none!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.outline-button,.btn-outline,.spark-button.secondary,.button-secondary){background:var(--section-card)!important;border-color:var(--section-accent)!important;color:var(--section-ink)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.primary-button,.btn-primary,.spark-button,.np-button,.sp-button):hover{filter:brightness(.94)}
html body main :is(#ode-theme-priority,.ode-section-theme) :focus-visible{outline:3px solid #24566e!important;outline-offset:4px}
html body main :is(#ode-theme-priority,.ode-section-theme).shell{padding-left:28px!important;padding-right:28px!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(input,select,textarea){background:#fff!important;color:var(--section-text,#173f54)!important;border-color:var(--section-line)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .ode-abstract-callout :is(h2,p,span,strong,a){color:var(--section-text,#173f54)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .ode-abstract-callout .primary-button{color:var(--section-button-ink)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .spark-feature *,html body main :is(#ode-theme-priority,.ode-section-theme) .spark-proposal *{color:var(--section-text,#173f54)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .spark-proposal .spark-button{color:var(--section-button-ink)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .scientific-grid>.panel>h3{border-bottom-color:var(--section-line)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .ode-redesign-image figcaption{background:var(--section-card)!important;color:var(--section-text,#173f54)!important}
@media(max-width:650px){html body main :is(#ode-theme-priority,.ode-section-theme).shell{padding-left:20px!important;padding-right:20px!important}}

html body main :is(#ode-theme-priority,.ode-section-theme)[data-section-theme="blue"]{--section-accent:var(--ode-blue-accent,#24566e);--section-ink:var(--ode-blue-ink,#173f54);--section-wash:var(--ode-blue-wash,#edf3f8);--section-line:var(--ode-blue-line,#a7bfd3);--section-card:var(--ode-blue-card,#f7fafc);--section-button-ink:var(--ode-blue-button-ink,#fff);--section-text:var(--ode-text,#173f54);--section-heading:var(--ode-heading,#173f54);--section-link:var(--section-ink);--section-button:var(--section-accent);--section-hover:var(--section-ink);--section-hover-text:#ffffff}

/* Site-wide controls; inline individual edits take precedence. */
body .site-header{background:var(--ode-header-bg,#c3d4e6)!important}
body .site-header :is(.site-nav>a,.nav>a,.nav-menu>summary,.nav summary){color:var(--ode-header-text,#24566e)!important}
body :is(.site-footer,footer){background:var(--ode-footer-bg,#24566e)!important}
body :is(.site-footer,footer) :is(p,h2,h3,a,span,small){color:var(--ode-footer-text,#e3edf5)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(h1,h2,h3,h4,h5,h6){color:var(--section-heading,#173f54)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) a:not([class*="button"]):not(.btn):not(.mini-card){color:var(--section-link,var(--section-ink))!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.primary-button,.btn-primary,.button-primary,.spark-button,.np-button,.sp-button,.btn-gold,button[type="submit"],a.button,a.btn){background:var(--section-button,var(--section-accent))!important;color:var(--section-button-ink)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.primary-button,.btn-primary,.button-primary,.spark-button,.np-button,.sp-button,.btn-gold,button[type="submit"],a.button,a.btn):hover{background:var(--section-hover,var(--section-ink))!important;color:var(--section-hover-text,#fff)!important;filter:none!important}
html body main :is(#ode-theme-priority,.ode-section-theme) a:not([class*="button"]):not(.btn):not(.btn-primary):not(.btn-gold):hover{color:var(--section-hover,var(--section-ink))!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :focus-visible{outline-color:var(--ode-focus,#24566e)!important}

html body main :is(#ode-theme-priority,.ode-section-theme) .ode-abstract-callout h2{color:var(--section-heading,#173f54)!important}

/* Contained section backgrounds and matching page navigation accents. */
/* 20261129 width alignment: Program and Spark do not use the floating section
   rail. Match its 208px desktop gutter so their section edges agree with the
   other public pages and editor previews. An enabled rail already owns it. */
@media screen and (min-width:1280px){
 html body:is([data-ode-page="program"],[data-ode-page="ode-spark"],.spark-page):not(.onp-enabled)>:is(main,footer.site-footer){margin-right:208px!important;width:auto!important;min-width:0}
}
/* Program's old intro width subtracted 76px before adding the shared padding.
   Use one inset, matching its schedule and the other pages' content shells. */
html body main.sp-main>.sp-intro>.sp-container{box-sizing:border-box;width:100%!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important;padding-left:26px!important;padding-right:26px!important}
/* Spark uses the same 1220px shell and gutters as the shared page containers. */
html body main.spark-main>section>.container{box-sizing:border-box;width:100%!important;max-width:1220px!important;padding-left:26px!important;padding-right:26px!important}
@media(max-width:650px){
 html body main.sp-main>.sp-intro>.sp-container,html body main.sp-main>.sp-container,html body main.spark-main>section>.container{padding-left:20px!important;padding-right:20px!important}
}
html body main{box-sizing:border-box!important;padding-left:20px!important;padding-right:20px!important;min-width:0!important}
html body main>.ode-section-theme,html body main .ode-section-theme,html body main>section,html body main>div,html body main>article{box-sizing:border-box!important;max-width:1220px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important}
body{--page-accent:var(--ode-gold-accent,#d5aa50);--page-wash:var(--ode-gold-wash,#fff7e4);--page-ink:var(--ode-gold-ink,#765012)}
body[data-ode-default-palette="red"]{--page-accent:var(--ode-red-accent,#f15d54);--page-wash:var(--ode-red-wash,#fff1ef);--page-ink:var(--ode-red-ink,#a52b25)}
html body #onp-panel .onp-section-link.onp-active{background:var(--page-wash)!important;color:var(--page-ink)!important}
html body #onp-panel .onp-section-link.onp-active .onp-dot{background:var(--page-accent)!important}
html body #onp-panel{border-top-color:var(--page-accent)!important}
html body header.site-header #main-nav.site-nav>a.is-active:after,html body header.site-header #main-nav.site-nav>a[aria-current="page"]:after{background:var(--page-accent)!important}
@media(max-width:650px){html body main{padding-left:12px!important;padding-right:12px!important}}

/* APPROVED FOOTER UPDATE 20261126 */
/* Consistent footer breathing room on every page. */
html body footer.site-footer{box-sizing:border-box!important;padding-left:clamp(24px,3vw,48px)!important;padding-right:clamp(24px,3vw,48px)!important;}
html body footer.site-footer>.container,html body footer.site-footer>.footer-shell{box-sizing:border-box!important;width:100%!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;min-width:0!important;}
html body footer.site-footer .cms-footer-grid{gap:clamp(24px,3vw,48px)!important;}
html body footer.site-footer :is(.cms-footer-grid>div,.ode-social-intro,.footer-bottom>span){min-width:0;overflow-wrap:anywhere;}
html body footer.site-footer .footer-bottom{gap:20px!important;flex-wrap:wrap!important;}
@media(max-width:650px){html body footer.site-footer{padding-left:24px!important;padding-right:24px!important;}html body footer.site-footer .cms-footer-grid{grid-template-columns:1fr!important;gap:28px!important;}html body footer.site-footer .ode-social-band{flex-direction:column!important;align-items:stretch!important;}html body footer.site-footer .ode-social-links{flex-wrap:wrap!important;}html body footer.site-footer .footer-bottom{flex-direction:column!important;align-items:flex-start!important;}}

/* Shared social colors stay independent of each page accent. */
html body footer.site-footer .ode-social-band{background:#173e52!important;border-color:#b78b3e!important;}
html body footer.site-footer .ode-social-intro h3{color:#f1d492!important;}
html body footer.site-footer .ode-social-intro p{color:#dbe9ef!important;}
html body footer.site-footer .ode-social-link{background:#204d63!important;border-color:#9d824c!important;color:#f5dda7!important;}
html body footer.site-footer .ode-social-link svg{color:#f5dda7!important;}
html body footer.site-footer .ode-social-link span{color:#ffffff!important;}
html body footer.site-footer .ode-social-link small{color:#d7e5ed!important;}
html body footer.site-footer .ode-social-link:hover,html body footer.site-footer .ode-social-link:focus-visible{background:#2b5c73!important;border-color:#f1d492!important;outline-color:#f1d492!important;}

/* Display correction: retain readable dark panels and use the selected accent. */
html body main :is(#ode-theme-priority,.ode-section-theme) .np-cta.np-cta,
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources{background:var(--ode-footer-bg,#173e52)!important;color:#fff!important}
html body main :is(#ode-theme-priority,.ode-section-theme) :is(.np-cta.np-cta,.wx-resources.wx-resources) :is(h2,h3,h4,p,span,strong,li,small){color:#fff!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .np-cta.np-cta a[href^="mailto:"]{color:var(--section-accent)!important;text-decoration:underline!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .np-cta.np-cta a.np-button{background:var(--section-accent)!important;color:var(--section-button-ink,#173f54)!important;border-color:var(--section-accent)!important;background-image:none!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .np-cta.np-cta a.np-button:hover{filter:brightness(.95)}
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources a{color:#fff!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources .eyebrow{color:var(--section-accent)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources .eyebrow::before{background:var(--section-accent)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources a:hover{color:var(--section-accent)!important}
html body main :is(#ode-theme-priority,.ode-section-theme) .wx-resources.wx-resources .wx-note{border-color:var(--section-accent)!important}
/* Current dropdown page and its parent remain identifiable on desktop/mobile. */
html body header.site-header .nav-menu.is-active>summary{box-shadow:inset 0 -3px 0 var(--page-accent,#d5aa50)!important}
html body header.site-header .nav-menu .dropdown a[aria-current="page"]{background:var(--page-accent,#d5aa50)!important;color:#173f54!important;font-weight:800!important;border-radius:5px;box-shadow:inset 4px 0 0 #fff!important}
html body[data-ode-page="abstracts"] main .abstract-type{height:auto!important;min-height:0!important;display:flex;flex-direction:column}
html body[data-ode-page="abstracts"] main .abstract-type>.sample-abstract-link{margin-top:auto}

/* 20261129: light About callout, square portraits, responsive speaker grid. */
html body main #onp-cms-about-5.split-cta{color:var(--section-text,#173f54)!important}
html body main #onp-cms-about-5.split-cta h2{color:var(--section-heading,#173f54)!important}
html body main #onp-cms-about-5.split-cta p{color:var(--section-text,#173f54)!important}
html body main #onp-cms-about-5.split-cta .outline-button{color:var(--section-link,#765012)!important;border-color:var(--section-accent,#d5aa50)!important}
html body main [data-cms-speakers]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch}
html body main [data-cms-speakers] .person-card{min-width:0;display:flex;flex-direction:column}
html body main [data-cms-speakers] .person-art{width:min(160px,calc(100% - 40px));height:auto!important;aspect-ratio:1/1;margin:24px auto 0;border-radius:12px;overflow:hidden;background:#edf4f6}
html body main [data-cms-speakers] .person-art:before{display:none}
html body main [data-cms-speakers] .cms-photo{display:block;width:100%!important;height:100%!important;aspect-ratio:1/1;object-fit:contain!important;position:static}
html body main [data-cms-speakers] .person-content{padding:24px;overflow-wrap:anywhere}
html body main .cms-member-portrait,html body main .cms-portrait-placeholder{height:auto!important;aspect-ratio:1/1;object-fit:cover}
html body header.site-header .brand.ode-image-brand img{display:block;width:clamp(220px,28vw,390px)!important;height:auto!important;max-width:100%;object-fit:contain}
html body footer .brand.ode-image-brand img{display:block;width:260px!important;height:auto!important;max-width:100%;object-fit:contain}
@media(max-width:1000px){html body main [data-cms-speakers]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html body main [data-cms-speakers]{grid-template-columns:1fr!important}}

/* R2: coherent page accent, preserving the Home mixed theme and element overrides. */
body[data-ode-default-palette="gold"]{--page-accent:var(--ode-gold-accent);--page-wash:var(--ode-gold-wash);--page-ink:var(--ode-gold-ink)}
body[data-ode-default-palette="red"]{--page-accent:var(--ode-red-accent);--page-wash:var(--ode-red-wash);--page-ink:var(--ode-red-ink)}
