/* Version 26 — reliable custom language selector backed by Google Translate */
:root{--brand-blue:#0033a0;--brand-blue-dark:#001f66;--brand-gold:#f0c14b}
.rfos-publication>h2::after,.rfos-publication>h2:after{content:none!important;display:none!important;width:0!important;height:0!important;background:none!important}
.VIpgJd-ZVi9od-aZ2wEe,.VIpgJd-ZVi9od-aZ2wEe-OiiCO,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf{display:none!important;visibility:hidden!important;pointer-events:none!important}
.rfos-site-header{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;translate:none!important}
.rfos-site-header .header-inner{display:grid!important;visibility:visible!important;opacity:1!important}
.rfos-site-header .brand-emblem{background:#fff url("logo.jpeg") center/cover no-repeat!important;visibility:visible!important;opacity:1!important;content-visibility:visible!important}
*{box-sizing:border-box}html,body{width:100%;max-width:100%;overflow-x:hidden}html{scrollbar-gutter:stable}body{top:0!important;margin-top:0!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
header{position:sticky!important;top:0!important;z-index:1000!important;padding:0 0 8px!important;color:#fff!important;background:var(--brand-blue-dark)!important;border:0!important;box-shadow:0 3px 12px rgba(0,0,0,.18)!important}.header-inner{width:100%!important;max-width:1280px!important;min-height:92px!important;margin:0 auto!important;padding:10px 20px!important;display:grid!important;grid-template-columns:minmax(360px,1fr) minmax(0,auto) auto!important;align-items:center!important;gap:16px!important;background:var(--brand-blue)!important}.logo-area{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;max-width:100%!important;color:#fff!important;text-decoration:none!important;overflow:visible!important}.brand-emblem{display:block!important;width:72px!important;height:72px!important;flex:0 0 72px!important;object-fit:cover!important;border:3px solid rgba(255,255,255,.78)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 9px rgba(0,0,0,.24)!important}.brand-title-image{display:block!important;width:min(500px,36vw)!important;height:auto!important;max-height:52px!important;object-fit:contain!important;object-position:left center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}#mainNavigation{display:flex!important;align-items:center!important;justify-content:flex-end!important;align-content:center!important;flex-wrap:wrap!important;gap:4px 6px!important;min-width:0!important}#mainNavigation a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 9px!important;border-radius:5px!important;color:#fff!important;font-size:.86rem!important;line-height:1.15!important;font-weight:650!important;white-space:nowrap!important;text-decoration:none!important}#mainNavigation a:hover,#mainNavigation a.active{color:var(--brand-gold)!important;background:rgba(255,255,255,.14)!important}.language-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:46px!important;height:42px!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:9px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;font:inherit!important;font-weight:700!important;cursor:pointer!important;grid-column:3!important;grid-row:1!important}.language-globe{font-size:21px!important;line-height:1!important}.language-button-text{font-size:13px!important}.menu-toggle{grid-column:3!important;grid-row:1!important}
.translate-row{display:none!important;position:fixed!important;top:102px!important;left:50%!important;transform:translateX(-50%)!important;z-index:1400!important;width:min(320px,calc(100% - 24px))!important;margin:0!important;padding:10px!important;background:var(--brand-blue-dark)!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:11px!important;box-shadow:0 10px 28px rgba(0,0,0,.3)!important}.translate-row.open{display:flex!important;align-items:center!important;justify-content:center!important}.translate-box{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}.site-language-select{display:block!important;width:100%!important;min-height:46px!important;padding:9px 42px 9px 13px!important;border:1px solid #d8dce6!important;border-radius:8px!important;background:#fff!important;color:#111!important;font:600 16px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;cursor:pointer!important}.google-engine-host{position:absolute!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.goog-te-banner-frame,.goog-te-banner-frame.skiptranslate,iframe.goog-te-banner-frame,#goog-gt-tt,.goog-te-balloon-frame,.goog-tooltip,.goog-tooltip:hover,.goog-text-highlight,.goog-te-spinner-pos{display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important}.goog-text-highlight{background:transparent!important;box-shadow:none!important}header,.header-inner,#mainNavigation,#mainNavigation a,.translate-row,.translate-box,.logo-area,.brand-emblem,.brand-title-image,.menu-toggle,.language-toggle{transition:none!important;animation:none!important}footer .footer-brand{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;margin:0 0 3px!important}.footer-brand-image{display:block!important;width:min(520px,76vw)!important;height:auto!important;max-height:48px!important;object-fit:contain!important;border:0!important;background:transparent!important}.official-brand-text{white-space:nowrap!important;margin-right:.18em!important}
@media(max-width:1120px) and (min-width:721px){.header-inner{grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;gap:7px 12px!important}.logo-area{grid-column:1!important;grid-row:1!important}.brand-title-image{width:min(470px,56vw)!important}.brand-emblem{width:66px!important;height:66px!important;flex-basis:66px!important}.language-toggle{grid-column:2!important;grid-row:1!important}#mainNavigation{grid-column:1/-1!important;grid-row:2!important;width:100%!important;justify-content:center!important}}
@media(max-width:720px){header{padding-bottom:7px!important}.header-inner{min-height:82px!important;padding:8px 12px!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important}.logo-area{grid-column:1!important;grid-row:1!important;max-width:100%!important;gap:9px!important}.brand-emblem{width:58px!important;height:58px!important;flex-basis:58px!important}.brand-title-image{width:calc(100vw - 145px)!important;max-height:48px!important}.menu-toggle{display:block!important;grid-column:2!important;grid-row:1!important;width:54px!important;height:50px!important;flex:0 0 54px!important;margin:0!important}#mainNavigation{display:none!important;position:absolute!important;left:0!important;right:0!important;top:82px!important;width:100%!important;max-height:calc(100vh - 82px)!important;padding:9px 12px 12px!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;overflow-y:auto!important;background:var(--brand-blue)!important;border-bottom:7px solid var(--brand-blue-dark)!important}#mainNavigation.open{display:flex!important}#mainNavigation a{width:100%!important;min-height:46px!important;justify-content:flex-start!important;padding:12px 14px!important;font-size:1rem!important;background:rgba(255,255,255,.08)!important}.language-toggle{position:fixed!important;right:18px!important;bottom:92px!important;z-index:1350!important;width:54px!important;height:54px!important;min-width:54px!important;padding:0!important;border-radius:50%!important;background:var(--brand-blue)!important;box-shadow:0 7px 20px rgba(0,0,0,.28)!important;grid-column:auto!important;grid-row:auto!important}.language-button-text{display:none!important}.language-globe{font-size:25px!important}.translate-row{top:auto!important;bottom:154px!important;width:min(310px,calc(100% - 24px))!important}}
@media(max-width:390px){.header-inner{min-height:76px!important;padding:7px 8px!important;gap:6px!important}.logo-area{gap:6px!important}.brand-emblem{width:48px!important;height:48px!important;flex-basis:48px!important}.brand-title-image{width:calc(100vw - 118px)!important;max-height:40px!important}.menu-toggle{width:48px!important;height:46px!important}#mainNavigation{top:76px!important;max-height:calc(100vh - 76px)!important}.language-toggle{right:12px!important;bottom:82px!important;width:50px!important;height:50px!important;min-width:50px!important}.translate-row{bottom:140px!important;width:calc(100% - 20px)!important;padding:8px!important}.page-header{padding-left:12px!important;padding-right:12px!important}.page-header h1{font-size:clamp(1.75rem,9vw,2.25rem)!important}.page-header p{font-size:1rem!important}}

/* Version 27: keep the complete header stable and remove Google's page-covering chrome */
header.notranslate,
header.notranslate * {
  translate: no;
}
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-spinner-pos {
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  border:0!important;
  box-shadow:none!important;
}
body { top:0!important; position:static!important; }
html { margin-top:0!important; }
/* Translation must never resize or clip the protected brand and navigation. */
header .logo-area,
header .brand-emblem,
header .brand-title-image,
header #mainNavigation,
header #mainNavigation a,
header .language-toggle,
header .menu-toggle {
  transform:none!important;
  zoom:1!important;
}


/* Version 3.8 — compact-phone navigation reliability */
@media (max-width:720px){
  #mainNavigation{
    position:fixed!important;
    inset:82px 0 0 0!important;
    width:100vw!important;
    height:calc(100dvh - 82px)!important;
    max-height:none!important;
    padding:10px 12px calc(110px + env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    box-sizing:border-box!important;
  }
  #mainNavigation.open{display:flex!important}
  #mainNavigation a,#mainNavigation a *{
    color:#fff!important;
    opacity:1!important;
    visibility:visible!important;
    -webkit-text-fill-color:#fff!important;
  }
  #mainNavigation a.active,#mainNavigation a.active *{
    color:var(--brand-gold)!important;
    -webkit-text-fill-color:var(--brand-gold)!important;
  }
}
@media (max-width:390px){
  #mainNavigation{
    inset:76px 0 0 0!important;
    height:calc(100dvh - 76px)!important;
    padding:8px 9px calc(100px + env(safe-area-inset-bottom))!important;
    gap:4px!important;
  }
  #mainNavigation a{min-height:43px!important;padding:10px 12px!important;font-size:.96rem!important}
}

/* Version 3.14 — real menu text stays visible and can be translated. */
@media (max-width:720px){
  #mainNavigation a .nav-label{
    display:block!important;
    color:inherit!important;
    opacity:1!important;
    visibility:visible!important;
    -webkit-text-fill-color:currentColor!important;
    font:inherit!important;
    white-space:normal!important;
  }
  #mainNavigation a::before{content:none!important;display:none!important}
}
@media (max-width:390px){
  #mainNavigation{display:none!important;grid-template-columns:1fr!important}
  #mainNavigation.open{display:flex!important}
  #mainNavigation a{width:100%!important;min-width:0!important}
}

/* RFOS v3.59 — single-column mobile navigation, including older iOS/Android. */
@media (max-width:720px){
  html.rfos-menu-open,
  body.rfos-menu-open{overflow:hidden!important;height:100%!important}
  #mainNavigation{
    display:none!important;
    position:fixed!important;
    top:82px!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    inset:auto 0 0 0!important;
    width:100%!important;
    width:100vw!important;
    height:calc(100vh - 82px)!important;
    max-height:calc(100vh - 82px)!important;
    padding:10px 12px 110px!important;
    padding-bottom:calc(110px + env(safe-area-inset-bottom))!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    align-content:stretch!important;
    justify-content:flex-start!important;
    gap:5px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    background:var(--brand-blue)!important;
    box-sizing:border-box!important;
  }
  #mainNavigation.open{display:flex!important}
  #mainNavigation a{
    display:flex!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:46px!important;
    margin:0!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }
  #mainNavigation a .nav-label{width:100%!important;text-align:left!important}
  body.rfos-menu-open .language-toggle,
  body.rfos-menu-open #rfosInstallApp{display:none!important}
}
@supports (height:100dvh){
  @media (max-width:720px){
    #mainNavigation{height:calc(100dvh - 82px)!important;max-height:calc(100dvh - 82px)!important}
  }
}
@media (max-width:390px){
  #mainNavigation{
    top:76px!important;
    height:calc(100vh - 76px)!important;
    max-height:calc(100vh - 76px)!important;
    padding:8px 9px 100px!important;
    padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;
  }
}
@supports (height:100dvh){
  @media (max-width:390px){
    #mainNavigation{height:calc(100dvh - 76px)!important;max-height:calc(100dvh - 76px)!important}
  }
}

/* RFOS 3.12: keep visual spacing around the protected organisation name after translation. */
.official-brand-text[data-official-brand="text"]{
  display:inline;
  white-space:nowrap;
  margin-inline:.08em;
}
/* Do not apply text spacing to header/footer image wordmarks. */
.brand-lockup .official-brand-text,
.site-brand .official-brand-text,
footer .official-brand-text{margin-inline:0;}

.rfos-protected-name{display:inline!important;white-space:normal!important;margin-inline:.08em!important}

/* RFOS 3.43 visual identity: gold main hero titles only */
.page-header > h1 { color: var(--brand-gold, #f0c14b) !important; }
.page-header > p { color: #fff !important; }
/* Highlight panels use the RFOS blue / gold / white language. */
.message.rfos-brand-panel { background:linear-gradient(135deg,var(--brand-blue-dark,#001f63),var(--brand-blue,#062d71),#0d4ca6)!important;color:#fff!important;border:0!important;border-radius:15px!important;padding:32px 28px!important;box-shadow:0 8px 26px rgba(0,51,160,.18)!important;text-align:center!important; }
.message.rfos-brand-panel .rfos-section-heading { color:var(--brand-gold,#f0c14b)!important; padding-bottom:0!important; margin-bottom:12px!important; }
.message.rfos-brand-panel .rfos-section-heading::after { display:none!important; }
.message.rfos-brand-panel p { color:#fff!important; max-width:900px; margin:0 auto; }
.rfos-support-cta{max-width:1100px;margin:38px auto 28px;padding:32px 28px;border-radius:16px;background:linear-gradient(135deg,var(--brand-blue-dark,#001f63),var(--brand-blue,#062d71),#0d4ca6);color:#fff;text-align:center;box-shadow:0 10px 30px rgba(0,31,91,.2)}
.rfos-support-cta h2{margin:0 0 10px;color:var(--brand-gold,#f0c14b);font-size:clamp(1.45rem,3vw,2rem)}
.rfos-support-cta p{max-width:760px;margin:0 auto 18px;color:#fff;line-height:1.65}
.rfos-support-cta a{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border:2px solid var(--brand-gold,#f0c14b);border-radius:10px;background:var(--brand-gold,#f0c14b);color:var(--brand-blue-dark,#001f63)!important;text-decoration:none;font-weight:850}
.rfos-support-cta a:hover,.rfos-support-cta a:focus-visible{background:transparent;color:var(--brand-gold,#f0c14b)!important}
@media(max-width:720px){.rfos-support-cta{margin:28px 14px 22px;padding:26px 18px}}


/* RFOS v3.46 — final restrained visual system.
   Only long horizontal emphasis panels use the RFOS royal-blue treatment.
   Ordinary cards and reading surfaces keep their original light design. */
.rfos-horizontal-panel{
  background:linear-gradient(135deg,#002b87 0%,#0047cc 100%)!important;
  color:#fff!important;
  border:0!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(0,43,135,.18)!important;
}
.rfos-horizontal-panel h1,
.rfos-horizontal-panel h2,
.rfos-horizontal-panel h3,
.rfos-horizontal-panel h4,
.rfos-horizontal-panel cite,
.rfos-horizontal-panel .quote-author,
.rfos-horizontal-panel .quote-date{
  color:#f0c14b!important;
}
.rfos-horizontal-panel p,
.rfos-horizontal-panel blockquote,
.rfos-horizontal-panel li,
.rfos-horizontal-panel small,
.rfos-horizontal-panel span{
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.rfos-horizontal-panel .rfos-section-heading{
  color:#f0c14b!important;
}
.rfos-horizontal-panel .rfos-section-heading::after{
  display:none!important;
}
.scripture.rfos-horizontal-panel blockquote,
.founder-quote.rfos-horizontal-panel blockquote{
  color:#fff!important;
  opacity:1!important;
}
.scripture.rfos-horizontal-panel cite,
.founder-quote.rfos-horizontal-panel .quote-author,
.founder-quote.rfos-horizontal-panel .quote-date{
  color:#f0c14b!important;
  opacity:1!important;
}

/* Compact support panel: same royal-blue family, gold title/button, white details. */
.rfos-support-cta{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(980px,calc(100% - 40px))!important;
  max-width:980px!important;
  min-height:108px!important;
  margin:24px auto 30px!important;
  padding:18px 28px!important;
  box-sizing:border-box!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#002b87 0%,#0047cc 100%)!important;
  border:0!important;
  color:#fff!important;
  text-align:center!important;
  box-shadow:0 10px 28px rgba(0,43,135,.20)!important;
  clear:both!important;
}
.rfos-support-cta h2{
  margin:0 0 5px!important;
  color:#f0c14b!important;
  font-size:clamp(1.15rem,2.2vw,1.55rem)!important;
  line-height:1.15!important;
}
.rfos-support-cta p{
  max-width:820px!important;
  margin:0 auto 10px!important;
  color:#fff!important;
  font-size:clamp(.92rem,1.4vw,1.02rem)!important;
  line-height:1.42!important;
}
.rfos-support-cta p strong{color:#fff!important;font-weight:800!important}
.rfos-support-cta a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:220px!important;
  min-height:44px!important;
  margin:0 auto!important;
  padding:10px 28px!important;
  border:2px solid #f0c14b!important;
  border-radius:8px!important;
  background:#f0c14b!important;
  color:#002b87!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
  font-weight:900!important;
}
.rfos-support-cta a:hover,.rfos-support-cta a:focus-visible{
  background:#fff!important;
  color:#002b87!important;
}
@media(max-width:720px){
  .rfos-support-cta{
    width:calc(100% - 28px)!important;
    margin:20px auto 24px!important;
    padding:16px!important;
    min-height:0!important;
  }
  .rfos-support-cta a{width:min(100%,300px)!important;min-width:0!important}
}
.header-inner{min-height:84px!important;padding-top:6px!important;padding-bottom:6px!important}
@media(max-width:720px){.header-inner{min-height:76px!important;padding-top:5px!important;padding-bottom:5px!important}#mainNavigation{top:76px!important;max-height:calc(100vh - 76px)!important}}

/* v4.0.2: keep the protected wordmark inside its own column so Home remains clear. */
@media(min-width:1121px){
  .header-inner{grid-template-columns:minmax(300px,430px) minmax(0,1fr) auto!important;gap:10px!important}
  .logo-area{max-width:430px!important;overflow:hidden!important;position:relative!important;z-index:1!important}
  .brand-title-image{width:min(340px,26vw)!important;max-width:340px!important}
  #mainNavigation{position:relative!important;z-index:2!important;min-width:0!important;gap:3px!important}
  #mainNavigation a{padding-left:7px!important;padding-right:7px!important;font-size:.82rem!important}
}

/* The visitor can choose either dependable light mode or high-contrast dark mode. */
.rfos-theme-toggle{position:fixed;right:18px;bottom:24px;z-index:1340;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;height:46px;padding:8px 14px;border:2px solid #f1bd2a;border-radius:999px;background:#062d71;color:#fff;font:700 .88rem/1 system-ui,sans-serif;box-shadow:0 7px 20px rgba(0,0,0,.22);cursor:pointer}
.rfos-theme-toggle:hover,.rfos-theme-toggle:focus-visible{background:#0d4ca6;color:#ffe082;outline:3px solid rgba(241,189,42,.35);outline-offset:2px}
html[data-rfos-theme="dark"]{color-scheme:dark}
html[data-rfos-theme="dark"] body{background:#07111f!important;color:#eef4ff!important}
html[data-rfos-theme="dark"] main,
html[data-rfos-theme="dark"] .section,
html[data-rfos-theme="dark"] .content-section{background:#07111f!important;color:#eef4ff!important}
html[data-rfos-theme="dark"] .rfos-publication,
html[data-rfos-theme="dark"] .content-card,
html[data-rfos-theme="dark"] .timeline,
html[data-rfos-theme="dark"] .rfos-stage,
html[data-rfos-theme="dark"] .rfos-discovery-panel,
html[data-rfos-theme="dark"] .rfos-empty,
html[data-rfos-theme="dark"] .form-card{background:#111e31!important;color:#eef4ff!important;border-color:#3f526e!important}
html[data-rfos-theme="dark"] .rfos-publication h2,
html[data-rfos-theme="dark"] .rfos-publication h3,
html[data-rfos-theme="dark"] .rfos-publication p,
html[data-rfos-theme="dark"] .rfos-publication li,
html[data-rfos-theme="dark"] .rfos-publication .rfos-meta,
html[data-rfos-theme="dark"] .rfos-body,
html[data-rfos-theme="dark"] .rfos-body p,
html[data-rfos-theme="dark"] .rfos-body li,
html[data-rfos-theme="dark"] .content-card p,
html[data-rfos-theme="dark"] .timeline p,
html[data-rfos-theme="dark"] .media-note{color:#e8effa!important;opacity:1!important}
html[data-rfos-theme="dark"] .rfos-publication figcaption{color:#c9d5e7!important;background:#0c1728!important}
html[data-rfos-theme="dark"] .rfos-awareness-box,
html[data-rfos-theme="dark"] .rfos-panel-body,
html[data-rfos-theme="dark"] .rfos-stage-body{background:#15243a!important;color:#eef4ff!important}
html[data-rfos-theme="dark"] .rfos-select,
html[data-rfos-theme="dark"] input,
html[data-rfos-theme="dark"] textarea,
html[data-rfos-theme="dark"] select{background:#0c1829!important;color:#fff!important;border-color:#60728c!important}
@media(max-width:720px){.rfos-theme-toggle{right:18px;bottom:24px;min-width:54px;width:54px;height:54px;padding:0;border-radius:50%;font-size:0}.rfos-theme-toggle .rfos-theme-icon{font-size:24px}.language-toggle{bottom:92px!important}}

/* v4.0.3 — one complete, readable light/dark theme on every public page. */
html[data-rfos-theme="light"]{color-scheme:light;--rfos-page:#f4f7fb;--rfos-surface:#fff;--rfos-surface-2:#f7f9fd;--rfos-text:#263143;--rfos-muted:#536071;--rfos-heading:#062d71;--rfos-border:#d5deec;--rfos-input:#fff}
html[data-rfos-theme="dark"]{color-scheme:dark;--rfos-page:#07111f;--rfos-surface:#15243a;--rfos-surface-2:#1b2e49;--rfos-text:#f4f7fc;--rfos-muted:#d3deed;--rfos-heading:#8db8ff;--rfos-border:#607896;--rfos-input:#0d1a2c}
html[data-rfos-theme] body,
html[data-rfos-theme] main,
html[data-rfos-theme] .section,
html[data-rfos-theme] .content-section{background:var(--rfos-page)!important;color:var(--rfos-text)!important}
html[data-rfos-theme] :is(.rfos-publication,.content-card,.v3-section,.v3-card,.timeline,.journey,.form-card,.about-card,.contact-card,.aware-card,.space-card,.account-card,.entertainment-card,.social-section,.support-principles,.support-stage,.support-privacy-gate,.supporter-subscription-box,.rfos-stage,.rfos-discovery-panel,.rfos-stage-body,.rfos-panel-body,.rfos-empty,.rfos-global-search-results,.rfos-search-result,.rfos-founder-note,.rfos-awareness-box,.rfos-challenge-welcome,.rfos-answer,.rfos-learning-break,.rfos-result,.bank-row,.protected-copy-row,.selected-files,.recipient-verification){background:var(--rfos-surface)!important;color:var(--rfos-text)!important;border-color:var(--rfos-border)!important}
html[data-rfos-theme] :is(.rfos-awareness-box,.v3-card,.rfos-answer,.bank-row,.protected-copy-row,.rfos-search-result,.rfos-founder-note){box-shadow:0 7px 20px rgba(0,0,0,.12)}
html[data-rfos-theme] :is(.rfos-publication h2,.rfos-publication h3,.rfos-awareness-box h3,.rfos-founder-note strong,.rfos-managed-heading,.rfos-section-heading,.content-card h2,.content-card h3,.about-card h2,.about-card h3,.contact-card h2,.aware-card h2,.space-card h2,.space-card h3,.entertainment-card h3,.social-section h2,.v3-section h2,.v3-section h3,.journey-date,.rfos-challenge-welcome h3,.rfos-question,.rfos-discovery-panel h3,.rfos-stage-body h3,.supporter-subscription-box h2){color:var(--rfos-heading)!important}
html[data-rfos-theme] :is(.rfos-publication p,.rfos-publication li,.rfos-body,.rfos-body p,.rfos-body li,.rfos-meta,.rfos-awareness-box p,.rfos-founder-note p,.content-card p,.content-card li,.about-card p,.about-card li,.contact-card p,.contact-card li,.aware-card p,.space-card p,.entertainment-card p,.social-section p,.support-principles li,.timeline p,.journey p,.v3-lead,.v3-help,.rfos-challenge-welcome p,.rfos-search-count,.rfos-search-empty,.media-note,.file-picker small,.protected-copy-row span){color:var(--rfos-text)!important;opacity:1!important}
html[data-rfos-theme] :is(input,textarea,select,.rfos-select,.update-tools input,.v3-field input,.v3-field textarea,.v3-field select,.newsletter-email-field input){background:var(--rfos-input)!important;color:var(--rfos-text)!important;border-color:var(--rfos-border)!important}
html[data-rfos-theme] :is(input,textarea)::placeholder{color:var(--rfos-muted)!important;opacity:1}
html[data-rfos-theme] :is(.rfos-mini-action,.support-tab,.amount-choice,.v3-btn.secondary){background:var(--rfos-surface-2)!important;color:var(--rfos-heading)!important;border-color:var(--rfos-border)!important}
html[data-rfos-theme] .rfos-awareness-tone,
html[data-rfos-theme] :is(.rfos-question-tag,.rfos-story-tag,.rfos-challenge-values span,.support-review){background:var(--rfos-surface-2)!important;color:var(--rfos-heading)!important;border-color:var(--rfos-border)!important}
html[data-rfos-theme] .rfos-image-figure figcaption{color:var(--rfos-muted)!important}
html[data-rfos-theme="dark"] .rfos-founder-note{border-left-color:#4d8ff0!important;background:#192d49!important}
html[data-rfos-theme="dark"] .rfos-founder-note p{color:#f1f5fb!important}
html[data-rfos-theme="dark"] .rfos-mini-action{background:#203653!important;color:#f5f8fd!important;border-color:#7188a5!important}
html[data-rfos-theme="dark"] :is(.rfos-awareness-box,.aware-card){background:#1c304d!important;border-color:#6c83a0!important;border-top-color:#4d8ff0!important;box-shadow:0 8px 22px rgba(0,0,0,.3)!important}
html[data-rfos-theme="dark"] :is(.rfos-awareness-box,.aware-card) h2,
html[data-rfos-theme="dark"] :is(.rfos-awareness-box,.aware-card) h3{color:#c4d9ff!important}
html[data-rfos-theme="dark"] :is(.rfos-awareness-box,.aware-card) p{color:#f8faff!important}
html[data-rfos-theme="dark"] :is(.about-card,.contact-card,.space-card,.account-card,.entertainment-card,.v3-section,.v3-card,.content-card,.rfos-stage-body,.rfos-panel-body){background:#182a43!important;border-color:#667f9e!important;box-shadow:0 8px 22px rgba(0,0,0,.26)!important}
html[data-rfos-theme="dark"] :is(.about-card,.contact-card,.space-card,.account-card,.entertainment-card,.v3-section,.v3-card,.content-card,.rfos-stage-body,.rfos-panel-body) :is(p,li,small,label){color:#f4f7fc!important;opacity:1!important}
html[data-rfos-theme="dark"] .rfos-news-card:not(.rfos-open){background:linear-gradient(120deg,#15243a,#1b2e49)!important}
html[data-rfos-theme="dark"] .rfos-news-card:not(.rfos-open)>.rfos-meta{color:#d3deed!important}
html[data-rfos-theme="dark"] .rfos-global-search-results{box-shadow:0 14px 34px rgba(0,0,0,.38)}
html[data-rfos-theme="dark"] .rfos-search-result:hover,
html[data-rfos-theme="dark"] .rfos-search-result:focus-visible{background:#223a5c!important}
html[data-rfos-theme="dark"] .journey-item:before{border-color:#15243a!important}
html[data-rfos-theme="dark"] .rfos-theme-toggle{background:#f3f6fb;color:#062d71;border-color:#d4a72c}
html[data-rfos-theme="dark"] .rfos-theme-toggle:hover,
html[data-rfos-theme="dark"] .rfos-theme-toggle:focus-visible{background:#fff;color:#062d71}
/* Brand banners and photographic quote cards intentionally keep RFOS/image colours in both modes. */
html[data-rfos-theme] :is(.page-header,.rfos-quotes-intro,.newsletter-box,.rfos-stage-hero,.rfos-discovery-head,.rfos-panel-head,.support-session-bar){color:#fff!important}

/* v4.0.6 — final cross-page theme contract.
   Every ordinary reading surface follows the selected theme. Branded blue/gold
   banners, media and quote artwork deliberately retain their RFOS colours. */
html[data-rfos-theme] :is(
  .about-card,.message-card,.mission-link,.purpose-card,.purpose-grid,
  .values,.values-section,.values-grid,.value-card,.commitment,
  .journey,.journey-item,.founder-profile,.message-body,.signature,
  .social-intro,.published-spaces,.spaces-list,.social-section,.account-section,
  .contact-card,.v3-section,.v3-card,.form-card,.file-picker,.audio-picker,
  .audio-choice-panel,.selected-files,.recipient-verification,
  .entertainment-intro,.entertainment-grid,.entertainment-card,.entertainment-content,
  .media-note,.rfos-knowledge-layout,.rfos-discovery-grid,.rfos-stage,
  .rfos-stage-body,.rfos-panel-body,.rfos-founder-note,.rfos-awareness-box,
  .support-principles,.support-stage,.support-privacy-gate,.supporter-subscription-box
){
  background:var(--rfos-surface)!important;
  color:var(--rfos-text)!important;
  border-color:var(--rfos-border)!important;
}
html[data-rfos-theme] :is(
  .mission-link,.journey-item,.founder-profile,.signature,.space-card,.account-card,
  .file-picker,.audio-picker,.audio-choice-panel,.selected-files,.media-note,
  .rfos-founder-note,.rfos-awareness-box,.value-card
){background:var(--rfos-surface-2)!important}
html[data-rfos-theme] :is(
  .about-card,.message-card,.mission-link,.purpose-card,.value-card,.commitment,
  .journey,.journey-item,.founder-profile,.message-body,.signature,
  .social-intro,.published-spaces,.spaces-list,.social-section,.account-section,
  .contact-card,.v3-section,.v3-card,.form-card,.file-picker,.audio-picker,
  .audio-choice-panel,.selected-files,.entertainment-intro,.entertainment-card,
  .entertainment-content,.media-note,.rfos-stage,.rfos-stage-body,.rfos-panel-body,
  .rfos-founder-note,.rfos-awareness-box
) :is(p,li,small,label,blockquote,cite){
  color:var(--rfos-text)!important;
  opacity:1!important;
}
html[data-rfos-theme] :is(
  .about-card,.message-card,.mission-link,.purpose-card,.value-card,.commitment,
  .journey,.founder-profile,.message-body,.social-intro,.published-spaces,
  .social-section,.account-section,.contact-card,.v3-section,.v3-card,
  .entertainment-intro,.entertainment-card,.rfos-stage-body,.rfos-founder-note
) :is(h1,h2,h3,h4,strong,.journey-date){color:var(--rfos-heading)!important}

/* Founder notes and ordinary action buttons must not become white islands. */
html[data-rfos-theme="dark"] .rfos-founder-note,
html[data-rfos-theme="dark"] :is(.message-card,.mission-link,.purpose-card,.value-card,
  .contact-card,.social-intro,.published-spaces,.social-section,.account-section,
  .form-card,.file-picker,.audio-picker,.audio-choice-panel){
  background:#182a43!important;
  color:#f4f7fc!important;
  border-color:#667f9e!important;
}
html[data-rfos-theme="dark"] .rfos-founder-note :is(p,em,cite,span){
  color:#f4f7fc!important;
  opacity:1!important;
}
html[data-rfos-theme="dark"] :is(.mission-link,.contact-card,.social-intro,
  .published-spaces,.social-section,.account-section,.form-card) a:not(.rfos-horizontal-panel a){
  color:#b8d2ff;
}
html[data-rfos-theme="dark"] :is(button,.v3-btn,.rfos-mini-action):not(.rfos-theme-toggle){
  border-color:#7188a5;
}
html[data-rfos-theme="light"] :is(.rfos-founder-note,.message-card,.mission-link,
  .purpose-card,.value-card,.contact-card,.social-intro,.published-spaces,
  .social-section,.account-section,.form-card,.file-picker,.audio-picker,
  .audio-choice-panel){box-shadow:0 7px 20px rgba(18,42,75,.09)}

/* Theme-sensitive loading canvas prevents a white-to-dark flash before rendering. */
html[data-rfos-theme="dark"]{background:#07111f}
html[data-rfos-theme="light"]{background:#f4f7fb}

/* v4.0.8 — consistent RFOS light/dark palette and single-line navigation. */
:root{--brand-gold:#d4af37!important;--gold:#d4af37!important}
.header-inner{max-width:1440px!important;grid-template-columns:minmax(330px,1fr) minmax(0,auto) auto!important}
#mainNavigation{flex-wrap:nowrap!important;gap:3px!important}
#mainNavigation a{font-size:.94rem!important;font-weight:750!important;padding:9px 8px!important;white-space:nowrap!important}
.language-button-text{font-size:.9rem!important;white-space:nowrap!important}
.page-header>h1,.rfos-support-cta h2{color:#d4af37!important;-webkit-text-fill-color:#d4af37!important}

html[data-rfos-theme="dark"]{
  --rfos-page:#07111f;--rfos-surface:#14263d;--rfos-surface-2:#1b304c;
  --rfos-text:#f4f7fc;--rfos-muted:#cbd7e8;--rfos-heading:#e8eef8;
  --rfos-border:#66809f;--rfos-input:#0c1a2d;
}
html[data-rfos-theme="dark"] :is(
  .message,.mission,.purpose,.timeline,.published-spaces,.spaces-list,.space-card,
  .support-card,.support-box,.contact-section,.contact-form,.contact-info,
  .rfos-challenge-card,.rfos-question-card,.rfos-feedback,.rfos-result-card,
  .rfos-story-card,.rfos-story-list,.rfos-story-reader,.rfos-knowledge-layout,
  .rfos-discovery-grid,.rfos-stage,.rfos-stage-body,.rfos-panel-body,
  .about-card,.message-card,.mission-link,.value-card,.content-card,.form-card
){background:var(--rfos-surface)!important;color:var(--rfos-text)!important;border-color:var(--rfos-border)!important}
html[data-rfos-theme="dark"] :is(
  .message,.mission,.purpose,.timeline,.published-spaces,.spaces-list,.space-card,
  .support-card,.support-box,.contact-section,.contact-form,.contact-info,
  .rfos-challenge-card,.rfos-question-card,.rfos-feedback,.rfos-result-card,
  .rfos-story-card,.rfos-story-list,.rfos-story-reader,.about-card,.message-card,
  .mission-link,.value-card,.content-card,.form-card
) :is(h1,h2,h3,h4,p,li,label,small,strong,span){color:var(--rfos-text)!important;opacity:1!important}
html[data-rfos-theme="dark"] :is(input,textarea,select,option){background:#0c1a2d!important;color:#fff!important;border-color:#7188a5!important}
html[data-rfos-theme="dark"] :is(.rfos-feedback,.rfos-learning-break){background:#1b304c!important;color:#fff!important;border-color:#d4af37!important}
html[data-rfos-theme="dark"] :is(.rfos-feedback,.rfos-learning-break) :is(p,strong,span){color:#fff!important}
html[data-rfos-theme] :is(button,.v3-btn,.rfos-btn,.rfos-next,.amount-choice){border-color:#d4af37!important}
html[data-rfos-theme] :is(.gold,.v3-btn.primary,.rfos-next,.rfos-primary-action){background:#d4af37!important;color:#061f4f!important;-webkit-text-fill-color:#061f4f!important}
html[data-rfos-theme="dark"] :is(.social-links a,.contact-links a,.account-card a){background:#1b304c!important;color:#fff!important;border-color:#7188a5!important}

@media (max-width:1180px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto!important}
  .menu-toggle{display:block!important;grid-column:2!important}
  #mainNavigation{position:fixed!important;inset:92px 0 auto 0!important;display:none!important;flex-direction:column!important;align-items:stretch!important;background:#0033a0!important;padding:16px 20px!important;max-height:calc(100vh - 92px)!important;overflow:auto!important}
  #mainNavigation.open{display:flex!important}
  #mainNavigation a{font-size:1rem!important;justify-content:flex-start!important}
  .language-toggle{grid-column:2!important;margin-right:56px!important}
}

/* v4.0.8: protected controls remain visible and translated wrappers cannot
   intercept clicks. Awareness editorial cards remain visually independent. */
.rfos-site-header,.rfos-site-header .header-inner,.rfos-site-header .logo-area,
.rfos-site-header .brand-emblem,.rfos-site-header .brand-title-image,
.rfos-site-header .language-toggle{visibility:visible!important;opacity:1!important}
.rfos-site-header .logo-area,.rfos-site-header .language-toggle,.rfos-theme-toggle,
.rfos-hub-button,.rfos-answer{pointer-events:auto!important}
.rfos-awareness-boxes{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;gap:22px!important}
.rfos-awareness-box{min-height:250px!important;border-radius:18px!important;padding:28px 22px!important;box-shadow:0 9px 26px rgba(0,31,91,.11)!important}
.rfos-publication.rfos-awareness{background:transparent!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important;overflow:visible!important}
.rfos-publication.rfos-awareness>h2,.rfos-publication.rfos-awareness>.rfos-meta,
.rfos-publication.rfos-awareness>.rfos-awareness-tone,.rfos-publication.rfos-awareness>.rfos-body,
.rfos-publication.rfos-awareness>.rfos-image-wrap,.rfos-publication.rfos-awareness>.rfos-engagement,
.rfos-publication.rfos-awareness>.rfos-founder-note{margin-left:auto!important;margin-right:auto!important;width:min(100%,1100px)!important}
html[data-rfos-theme="dark"] .rfos-awareness-box{background:#182d49!important;color:#f4f7fc!important;border-color:#6f87a6!important;border-top-color:#4d8ff0!important}
html[data-rfos-theme="dark"] .rfos-awareness-box :is(h3,p){color:#f4f7fc!important}
html[data-rfos-theme="dark"] body{background:#07111f!important;color:#f4f7fc!important}
html[data-rfos-theme="dark"] :is(main,.page-shell,.content-shell){background:#07111f!important;color:#f4f7fc!important}
html[data-rfos-theme="dark"] :is(.intro,.published-space-card,.legal-card,.founder-quote,.message,.vision,.commitment,.purpose-card,.value-card,.account-section){background:#182a43!important;color:#f4f7fc!important;border-color:#6f87a6!important}
html[data-rfos-theme="dark"] :is(.intro,.published-space-card,.legal-card,.founder-quote,.message,.vision,.commitment,.purpose-card,.value-card,.account-section) :is(h1,h2,h3,h4,p,li,strong,small,span){color:#f4f7fc!important;opacity:1!important}
html[data-rfos-theme="dark"] :is(.rfos-horizontal-panel,.page-header,header,footer){color:#fff!important}
html[data-rfos-theme="dark"] :is(.rfos-horizontal-panel,.page-header) :is(h1,h2,h3){color:#d4af37!important;-webkit-text-fill-color:#d4af37!important}

/* v4.0.9 — deterministic protected header, interactive discovery controls,
   and a complete theme contract without recolouring branded/media artwork. */
.rfos-site-header{min-height:92px!important;contain:layout style!important}
.rfos-site-header,.rfos-site-header *{animation:none!important}
.rfos-stage-hero p,.rfos-panel-title small{color:#ffe082!important;-webkit-text-fill-color:#ffe082!important}
.rfos-hub-button,.rfos-answer,#newChallenge,#stageStartChallenge,#nextQuestion,#resumeQuiz,#playAgain{position:relative!important;z-index:5!important;pointer-events:auto!important;touch-action:manipulation!important}
html[data-rfos-theme="dark"] :is(.rfos-challenge-welcome,.rfos-question-card,.rfos-story-reader,.rfos-story-list,.rfos-feedback,.rfos-learning-break){background:#182a43!important;color:#f4f7fc!important;border-color:#6f87a6!important}
html[data-rfos-theme="dark"] :is(.rfos-challenge-welcome,.rfos-question-card,.rfos-story-reader,.rfos-story-list,.rfos-feedback,.rfos-learning-break) :is(h1,h2,h3,h4,p,li,small,strong,span){color:#f4f7fc!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
html[data-rfos-theme="dark"] .rfos-challenge-values span{background:#233b5d!important;color:#dbe8ff!important}
html[data-rfos-theme="dark"] .rfos-answer{background:#14263d!important;color:#fff!important;border-color:#7188a5!important}
html[data-rfos-theme="dark"] .rfos-answer:hover{background:#203a5d!important}
html[data-rfos-theme="dark"] :is(.page-header,.rfos-stage-hero,.rfos-panel-title,.rfos-discovery-head,.rfos-horizontal-panel,.rfos-support-cta){background-color:#0033a0!important}
html[data-rfos-theme="dark"] :is(.page-header,.rfos-stage-hero,.rfos-panel-title,.rfos-discovery-head,.rfos-horizontal-panel,.rfos-support-cta) :is(p,span,small,strong){color:#fff!important;-webkit-text-fill-color:currentColor!important}
html[data-rfos-theme="dark"] :is(.page-header,.rfos-stage-hero,.rfos-panel-title,.rfos-discovery-head,.rfos-horizontal-panel,.rfos-support-cta) :is(h1,h2,h3){color:#d4af37!important;-webkit-text-fill-color:#d4af37!important}
