/* Match the restored RISE Hub palette without changing public-site content,
   navigation geometry, image proportions, or form behavior. Load last. */
:root {
  color-scheme:light;
  --navy:#082d4b;
  --navy-2:#0b5269;
  --ink:#112c40;
  --muted:#526b78;
  --paper:#f5f6f2;
  --white:#fff;
  --line:#d8e2e6;
  --teal:#007d75;
  --mint:#dff4eb;
  --wash:#edf6f3;
}
html:root body.rise-classic-theme {
  --navy:#082d4b;
  --navy-2:#0b5269;
  --ink:#112c40;
  --muted:#526b78;
  --paper:#f5f6f2;
  --line:#d8e2e6;
  --teal:#007d75;
  --mint:#dff4eb;
  --wash:#edf6f3;
  background:var(--paper)!important;
  background-image:none!important;
  color:var(--ink)!important;
  --reading-panel:#fff;
  --reading-raised:#edf6f3;
  --rise-glass:#fff;
  --rise-glass-border:#d8e2e6;
}
html:root body.rise-classic-theme main {
  background:transparent!important;
  color:var(--ink)!important;
}
html:root body.rise-classic-theme.site-refresh main :is(h1,h2,h3,h4,h5,h6,p,li,label,legend,figcaption,small,.fine,.hub-lead,.section-head,.intro-line,summary,blockquote,dt,dd),
html:root body.rise-classic-theme.site-refresh main :is(h1,h2,h3) span {
  color:var(--ink)!important;
  text-shadow:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(a.textlink,p a,li a,.rise-partner-directory a) {
  color:#075c60!important;
}
html:root body.rise-classic-theme :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #007d75!important;
  outline-offset:3px;
}
/* White reading cards; structural wrappers and nested layouts stay clear. */
html:root body.rise-classic-theme.site-refresh main>:is(section,article,.page-content,.page-hero,.page-main,.hub-main,.events-section,.program-experience,.program-types,.program-launch,.program-cta,.legal-hero),
html:root body.rise-classic-theme.site-refresh main>:where(div.wrap)>section,
html:root body.rise-classic-theme.site-refresh main>.page-content>section,
html:root body.rise-classic-theme.site-refresh main .appointment-options>.center-section {
  background:#fff!important;
  color:var(--ink)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 2px 8px #082d4b06!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh main>:is(.wrap,.page-content,.page-shell):has(>section),
html:root body.rise-classic-theme.site-refresh main>.appointment-options {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(.page-card,.card,.program,.feature-panel,.program-stage,.program-rhythm,.program-stage-copy,.program-launch-copy,.form-card,.access-audience,.access-upgrade,.center-columns>div,.hub-overview-logo,.partner-logo-carousel) {
  background:transparent!important;
  color:var(--ink)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(.rise-partner-directory a,.partner-pending,.partner-role-glass) {
  background:#fff!important;
  color:var(--ink)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 2px 8px #082d4b06!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(.rise-partner-directory a,.partner-pending,.partner-role-glass):before {display:none!important}
html:root body.rise-classic-theme.site-refresh main :is(.rise-partner-directory a,.partner-pending) :is(span,small) {color:var(--ink)!important}
html:root body.rise-classic-theme.site-refresh main .partner-logo-pending {color:var(--muted)!important;border-color:#a9c3bf!important}
html:root body.rise-classic-theme.site-refresh main .partner-role-glass[open]>summary {border-bottom-color:var(--line)!important}
/* Navy-to-teal introductions mirror the Hub's page banners. */
html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro,.legal-hero) {
  background:linear-gradient(115deg,#082d4b,#0b5269 62%,#087c74)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro,.legal-hero) :is(h1,h2,h3,h4,p,li,label,figcaption,small,span,.fine,.intro-line,.center-lead),
html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro,.legal-hero) :is(a.textlink,p a,li a) {
  color:#fff!important;
  text-shadow:none!important;
}
html:root body.rise-classic-theme.site-refresh main :is(.page-hero-inner,.hub-overview-copy,.hub-overview-logo) {background:transparent!important}
/* Teal primary actions; secondary actions and masthead controls stay light. */
html:root body.rise-classic-theme.site-refresh :is(a.action,a.button,button:not(.rise-translate__trigger),input[type=submit],input[type=button],[role=button]):not(.visual-editor-tools *) {
  background:#00766e!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #00766e!important;
  border-radius:10px;
  box-shadow:none!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  font-weight:400!important;
}
html:root body.rise-classic-theme.site-refresh :is(a.action,a.button,button,input[type=submit],input[type=button]):hover {
  background:#075c60!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html:root body.rise-classic-theme.site-refresh :is(a.button.light,a.action.secondary,a.button.secondary,.signup-close) {
  background:#fff!important;
  color:#124653!important;
  -webkit-text-fill-color:#124653!important;
  border:1px solid #bdcfce!important;
}
html:root body.rise-classic-theme.site-refresh :is(a.action,a.button,button) :is(span,small,strong,svg) {color:inherit!important;-webkit-text-fill-color:inherit!important}
html:root body.rise-classic-theme.site-refresh :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select) {
  background:#fff!important;
  color:var(--ink)!important;
  -webkit-text-fill-color:var(--ink)!important;
  border-color:#bdcfce!important;
  text-shadow:none!important;
}
html:root body.rise-classic-theme.site-refresh :is(input,textarea)::placeholder {color:#526b78!important;opacity:1}
html:root body.rise-classic-theme input:is([type=checkbox],[type=radio]) {accent-color:#007d75}
/* Preserve the centered navigation, tagline colors, and translation alignment. */
html:root body.rise-classic-theme :is(.header-line,.refresh-footer,.footer,.global-chamber-membership) {background:#fff!important;color:var(--navy)!important;border-color:var(--line)!important}
html:root body.rise-classic-theme.site-refresh .header-line .header :is(a.action,button.mobile-menu),
html:root body.rise-classic-theme.site-refresh .header :is(nav>a,nav>details>summary,.hub-entry) {
  background:#fff!important;
  color:#124653!important;
  -webkit-text-fill-color:#124653!important;
  border:1px solid #d1e0df!important;
  box-shadow:0 2px 7px #082d4b0d!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html:root body.rise-classic-theme.site-refresh .header :is(nav>a,nav>details>summary,.hub-entry,button.mobile-menu):hover {background:#edf6f3!important;color:#075c60!important}
html:root body.rise-classic-theme.site-refresh .header :is(.drop,nav.mobile-open) {background:#fff!important;border-color:var(--line)!important;box-shadow:0 12px 30px #082d4b1a!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root body.rise-classic-theme.site-refresh .header .drop a {color:var(--ink)!important;background:transparent!important}
html:root body.rise-classic-theme.site-refresh :is(.rise-translate-placement,.rise-translate__trigger) {background:transparent!important;color:#124653!important;-webkit-text-fill-color:#124653!important;text-shadow:none!important}
html:root body.rise-classic-theme.site-refresh .rise-translate__menu {background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important}
html:root body.rise-classic-theme .rise-signup-dialog {background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important}
html:root body.rise-classic-theme .rise-signup-dialog :is(h2,p,label) {color:var(--ink)!important}
html:root body.rise-classic-theme.site-refresh :is(.hub-access-disclosure>summary,.hub-access-disclosure>summary:after,.hub-overview-logo p,.hub-overview-logo span) {color:var(--ink)!important}
html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro) .hub-overview-logo :is(p,span) {color:#fff!important}
html:root body.rise-classic-theme.site-refresh .hub-help-inline,
html:root body.rise-classic-theme.site-refresh .support-card-grid>.page-card {border-color:var(--line)!important}
@media(prefers-reduced-transparency:reduce) {
  html:root body.rise-classic-theme.site-refresh main :is(article,.card,.program,.rise-partner-directory a,.center-columns>div),
  html:root body.rise-classic-theme.site-refresh main>:is(.wrap,.page-content,.center-page,.page-shell) {background:#fff!important;backdrop-filter:none!important}
  html:root body.rise-classic-theme.site-refresh main>:is(.wrap,.page-content,.page-shell):has(>section) {background:transparent!important}
}
@media(forced-colors:active) {
  html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro,.legal-hero) {background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important}
  html:root body.rise-classic-theme.site-refresh main :is(.hero,.page-hero,.center-intro,.legal-hero) :is(h1,h2,h3,p,li,figcaption,span,a) {color:CanvasText!important}
  html:root body.rise-classic-theme.site-refresh :is(a.action,a.button,button,input[type=submit],input[type=button]),
  html:root body.rise-classic-theme.site-refresh .header-line .header :is(a.action,button.mobile-menu) {background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important}
  html:root body.rise-classic-theme.site-refresh :is(input:not([type=submit]):not([type=button]),textarea,select) {background:Canvas!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;border-color:CanvasText!important}
}
