/* ==========================================================================
   Brand stylesheet Proface for the landing page templates
   Version REF 2026-11-25 (new brand). Built from the Proleit sheet REF 2026-11-23 (same parts
   and the same fixes of the brand audits), with the Pro-face colours and button shape.
   PARTS  1 brand palette (tokens)  2 brand rules (headings, links, buttons,
          themes, form)  3 fixes found in the brand audits of 2026-11-16 and 2026-11-23
   The 2027 head stylesheet (REF 2026-11-16c or newer) draws every module with
   the --se-* tokens; this sheet gives them the brand colours, so new modules
   follow the brand without new rules here. Older templates ignore the tokens
   and keep using part 2.
   Load after the head stylesheet (Code Resource Brand_Style_Proface, as the other brands).
   Regenerate the RTL sheet when this file changes (RTL\RTL_generator).
   ========================================================================== */

/* ----- 1. Brand palette -----
   green  = main colour on light backgrounds (accents, lines, tags)
   dark   = dark theme and dark form card       light = light theme
   bright = accent on dark backgrounds          *-rgb = the same colours for rgba() */
:root {
  --se-green: #0051a6;
  --se-green-hover: #003f82;
  --se-green-active: #00336b;
  --se-green-2: #1668b2;
  --se-dark: #00264f;
  --se-dark-2: #003f82;
  --se-dark-deep: #001833;
  --se-bright: #f08300;
  --se-bright-hover: #f39a33;
  --se-bright-active: #f5ad5c;
  --se-glow: #1668b2;
  --se-light: #e1ebf6;
  --se-light-line: #b9cde3;
  --se-green-rgb: 0, 81, 166;
  --se-green-2-rgb: 22, 104, 178;
  --se-dark-rgb: 0, 38, 79;
  --se-dark-2-rgb: 0, 63, 130;
  --se-bright-rgb: 240, 131, 0;
  --se-glow-rgb: 22, 104, 178;
  --se-light-rgb: 225, 235, 246;
  --dm-green-surface: #14243a;   /* light theme in dark mode */
  --dm-green-card: #1b2f48;      /* light card in dark mode */
}

/* ----- 2. Brand rules ----- */
.navHeader .logo img { margin-top: 8px !important; }

/* Headings, text, links and bullets read the --pf-* variables (see THEMES): blue / dark grey
   on light backgrounds, white / orange on dark ones. Headings in Arial, as in the previous
   Proface sheet; body text keeps the template font. */
h1,
h2,
h3 {
  color: var(--pf-heading, #0051a6) !important;
}
:is(h1, h2, h3):is(#pf#pf, *) {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
}
body,
p,
ul,
li,
ol {
  color: var(--pf-text, #333333) !important;
}
ol li::before {
  background: var(--pf-bullet, #0051a6) !important;
  color: var(--pf-bullet-text, #ffffff) !important;
}
a,
a:hover {
  color: var(--pf-link, #0051a6) !important;
}
ul li::marker { color: var(--pf-bullet, #0051a6) !important; }

form input[type="checkbox"]:checked {
  border: 5px solid #0051a6 !important;
  opacity: 1 !important;
}

.option-row input[type="radio"]:checked {
  background-color: #0051a6;
  padding: 4px;
  border: 1px solid #0051a6;
  box-shadow: 0px 0px 0px 5px #0051a6 inset !important;
  opacity: 1 !important;
}

/* SEE https://angel-rs.github.io/css-color-filter-generator/ FOR COLOR CHANGES */
img#new-overlay,
.icons img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(26%) saturate(6211%) hue-rotate(198deg) brightness(90%) contrast(101%);
}
.banner-lpart * { color: #fff !important; }

/* ==========================================================================
   THEMES
   Pro-face colours (proface.com style sheets, 2026-11-25, and the previous Proface sheet):
     blue   #0051a6  headings, links, bullets, outline button text on light backgrounds
     orange #f08300  buttons (fill or border); links and bullets on dark backgrounds
     navy   #00264f  DARK theme and dark form card (derived from the blue: proface.com
                     has no dark section colour of its own)
     light  #e1ebf6  LIGHT theme (a step darker than the site's #f2f6fb, which would look
                     the same as the grey theme)
     text   #333333
   White and grey themes stay as they are.
   Contrast: orange text on white is 2.6:1 (WCAG asks 4.5:1), so on light backgrounds links
   are blue and buttons carry navy text on the orange. To get the look of the old sheet back
   (orange links, white text on orange), change --pf-link and --pf-btn-text / --pf-btn-hover-text
   below: it fails the contrast check.

   Why the :is(#pf#pf, *) part: the 2027 stylesheet uses long module selectors
   with !important. That part adds the weight of two IDs without matching
   anything extra, so these rules win without touching the shared stylesheet.
   ========================================================================== */
:root {
  --pf-heading: #0051a6;
  --pf-text: #333333;
  --pf-link: #0051a6;
  --pf-bullet: #0051a6;
  --pf-bullet-text: #ffffff;
  --pf-btn-bg: #f08300;
  --pf-btn-text: #00264f;
  --pf-btn-border: #f08300;
  --pf-btn-hover-bg: #f39a33;
  --pf-btn-hover-text: #00264f;
  --pf-outline: #0051a6;
  --pf-outline-border: #f08300;
  --pf-outline-hover-bg: #f08300;
  --pf-outline-hover-text: #00264f;
}

/* Module backgrounds (all modules use --module-bg) */
:is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf, *):has([class*="-theme--dark"]) {
  --module-bg: #00264f !important;
  --module-link: #f08300 !important;
}
:is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf, *):has([class*="-theme--light"]) {
  --module-bg: #e1ebf6 !important;
  --module-link: #0051a6 !important;
}
/* Modules with a background image behave as dark */
:is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf, *):has([class*="-bg--custom"]) {
  --module-link: #f08300 !important;
}

/* Text cards (05. Image + Text, older Image + Text, 07. Testimonial) */
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--dark) .fwi-text:is(#pf#pf, *),
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--dark) .fwc-text:is(#pf#pf, *),
:is(.bottom-slot, .form-columns) > table:has(.fwq-card--dark) .fwq-card:is(#pf#pf, *) {
  background-color: #00264f !important;
  --module-link: #f08300 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--light) .fwi-text:is(#pf#pf, *),
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--light) .fwc-text:is(#pf#pf, *),
:is(.bottom-slot, .form-columns) > table:has(.fwq-card--light) .fwq-card:is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --module-link: #0051a6 !important;
}

/* 06. Video(s) & Text: video placeholder, arrows */
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg) .fwg-media:is(#pf#pf, *) { background: #00264f !important; }
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg):is(#pf#pf, *) { --fwg-arrow-color: #0051a6 !important; }
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg) .fwg-arrow:is(#pf#pf, *):hover {
  background: #e1ebf6 !important;
}

/* Form card (form style "darkgreen"): navy, orange links */
#form-column:is(#pf#pf#pf, *):has(#scForm.sc-form--darkgreen),
#scForm.sc-form--darkgreen:is(#pf#pf#pf, *) {
  background-color: #00264f !important;
}
#scForm:is(.sc-form--dark, .sc-form--darkgreen) a:not(.buttonstyles):is(#pf#pf#pf, *) { color: #f08300 !important; }

/* Dark backgrounds: white headings and text, orange links and bullets, orange
   buttons, white outline. Banner, dark theme, module with a background image,
   dark text cards, focus form with image, dark form, the footer, old
   template's banner and dark module. */
:is(.bottom-slot, .header, .form-columns) > table:is( :has(.fwb-cfg), :has([class*="-theme--dark"]), :has([class*="-bg--custom"]), :has(.fwf-cfg.fwf-img--on:not(.fwf-theme--white, .fwf-theme--grey, .fwf-theme--light)) ),
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--dark) .fwi-text,
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--dark) .fwc-text,
:is(.bottom-slot, .form-columns) > table:has(.fwq-card--dark) .fwq-card,
#form-column:has(#scForm:is(.sc-form--dark, .sc-form--darkgreen)),
footer,
.banner-lpart,
#dark-module {
  --pf-heading: #ffffff;
  --pf-text: #ffffff;
  --pf-link: #f08300;
  --pf-bullet: #f08300;
  --pf-bullet-text: #00264f;
  --pf-btn-bg: #f08300;
  --pf-btn-text: #00264f;
  --pf-btn-border: #f08300;
  --pf-btn-hover-bg: #f39a33;
  --pf-btn-hover-text: #00264f;
  --pf-outline: #ffffff;
  --pf-outline-border: #ffffff;
  --pf-outline-hover-bg: #ffffff;
  --pf-outline-hover-text: #0051a6;
}
/* Light cards inside a dark module: back to the light colours */
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--light) .fwi-text,
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--light) .fwc-text,
:is(.bottom-slot, .form-columns) > table:has(.fwq-cfg:is(.fwq-card--white, .fwq-card--grey, .fwq-card--light)) .fwq-card {
  --pf-heading: #0051a6;
  --pf-text: #333333;
  --pf-link: #0051a6;
  --pf-bullet: #0051a6;
  --pf-bullet-text: #ffffff;
  --pf-btn-bg: #f08300;
  --pf-btn-text: #00264f;
  --pf-btn-border: #f08300;
  --pf-btn-hover-bg: #f39a33;
  --pf-btn-hover-text: #00264f;
  --pf-outline: #0051a6;
  --pf-outline-border: #f08300;
  --pf-outline-hover-bg: #f08300;
  --pf-outline-hover-text: #00264f;
}

/* ==========================================================================
   BUTTONS
   Pro-face: rounded (20px), 2px orange border.
   - filled = orange #f08300 with navy text, hover a lighter orange. The same on dark
     backgrounds (orange on navy reads well).
   - outline = 2px orange border, blue text, hover orange fill with navy text. On dark: white
     border and text, hover white fill with blue text.
   The 2027 modules choose per button (class buttonstyles--outline, @button_type).
   Covers .buttonstyles in every module, the form submit and the multi-step
   Next button.
   ========================================================================== */
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#pf#pf, *) {
  border: 2px solid var(--pf-btn-border) !important;
  border-radius: 20px !important;
  background: var(--pf-btn-bg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--pf-btn-text) !important;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, border-color .2s !important;
}
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#pf#pf, *):is(:hover, :active):not(:disabled) {
  background: var(--pf-btn-hover-bg) !important;
  border-color: var(--pf-btn-hover-bg) !important;
  color: var(--pf-btn-hover-text) !important;
}

/* Outline: .buttonstyles--outline, @button_type = outline, banner outline */
.buttonstyles.buttonstyles--outline:is(#pf#pf, *),
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--outline) .buttonstyles:is(#pf#pf, *),
:is(.bottom-slot, .header, .form-columns) > table:has(.fwb-cfg:is(.fwb-btn--outline, .fwb-btn--light)) .buttonstyles:is(#pf#pf, *) {
  background: transparent !important;
  border-color: var(--pf-outline-border) !important;
  color: var(--pf-outline) !important;
}
.buttonstyles.buttonstyles--outline:is(#pf#pf, *):is(:hover, :active),
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--outline) .buttonstyles:is(#pf#pf, *):is(:hover, :active),
:is(.bottom-slot, .header, .form-columns) > table:has(.fwb-cfg:is(.fwb-btn--outline, .fwb-btn--light)) .buttonstyles:is(#pf#pf, *):is(:hover, :active) {
  background: var(--pf-outline-hover-bg) !important;
  border-color: var(--pf-outline-border) !important;
  color: var(--pf-outline-hover-text) !important;
}

/* @button_type = normal turns outline buttons into filled ones */
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--normal) .buttonstyles.buttonstyles--outline:is(#pf#pf, *) {
  background: var(--pf-btn-bg) !important;
  border-color: var(--pf-btn-border) !important;
  color: var(--pf-btn-text) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--normal) .buttonstyles.buttonstyles--outline:is(#pf#pf, *):is(:hover, :active) {
  background: var(--pf-btn-hover-bg) !important;
  border-color: var(--pf-btn-hover-bg) !important;
  color: var(--pf-btn-hover-text) !important;
}

/* Keyboard focus */
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#pf#pf, *):focus-visible {
  outline: 2px solid var(--pf-outline) !important;
  outline-offset: 3px !important;
}

/* ==========================================================================
   NEW MODULES: 08. Icons / Info and 15. Mosaic
   Brand colours for the two newest modules (not covered by the tokens alone):
   - dark and light themes use the Pro-face colours, like the other modules;
   - pictos and numbers: #0051a6 on light backgrounds, #f08300 on dark ones (the
     green library pictos are recoloured with a CSS filter);
   - the gradient theme and the ovals use Pro-face colours instead of the
     green preset images;
   - mosaic colour tiles: dark = #00264f, green = #0051a6, light = #e1ebf6.
   ========================================================================== */
:is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf, *):has(:is(.fwn-theme--dark, .fwo-theme--dark)) {
  --module-bg: #00264f !important;
  --module-link: #f08300 !important;
}
:is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf, *):has(:is(.fwn-theme--light, .fwo-theme--light)) {
  --module-bg: #e1ebf6 !important;
}
:is(.bottom-slot, .form-columns) > table:is( :has(:is(.fwn-theme--dark, .fwo-theme--dark, .fwn-theme--gradient)), :has(:is(.fwn-bg--custom, .fwo-bg--custom)) ) {
  --pf-heading: #ffffff;
  --pf-text: #ffffff;
  --pf-link: #f08300;
  --pf-bullet: #f08300;
  --pf-bullet-text: #00264f;
  --pf-btn-bg: #f08300;
  --pf-btn-text: #00264f;
  --pf-btn-border: #f08300;
  --pf-btn-hover-bg: #f39a33;
  --pf-btn-hover-text: #00264f;
  --pf-outline: #ffffff;
  --pf-outline-border: #ffffff;
  --pf-outline-hover-bg: #ffffff;
  --pf-outline-hover-text: #0051a6;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg):is(#pf#pf, *) {
  --fwn-accent: #0051a6 !important;
  --fwn-icon-filter: brightness(0) saturate(100%) invert(23%) sepia(26%) saturate(6211%) hue-rotate(198deg) brightness(90%) contrast(101%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg.fwn-theme--dark):is(#pf#pf, *) {
  --fwn-accent: #f08300 !important;
  --fwn-icon-filter: brightness(0) saturate(100%) invert(73%) sepia(44%) saturate(7425%) hue-rotate(4deg) brightness(98%) contrast(102%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg:is(.fwn-theme--gradient, .fwn-bg--custom)):is(#pf#pf, *) {
  --fwn-accent: #ffffff !important;
  --fwn-icon-filter: brightness(0) invert(1) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg.fwn-theme--gradient.fwn-bg--none):is(#pf#pf, *) {
  background-image: linear-gradient(105deg, #00264f 0%, #00264f 45%, #0051a6 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg:is(.fwn-oval--oval1, .fwn-oval--oval2)) .fwn-icon:is(#pf#pf, *)::before {
  top: 6px !important;
  right: 10px !important;
  bottom: 6px !important;
  left: 10px !important;
  border-radius: 50% !important;
  transform: rotate(-28deg) !important;
  background: linear-gradient(45deg, #00264f 15%, #0051a6 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg.fwn-oval--oval2) .fwn-icon:is(#pf#pf, *)::before {
  background: linear-gradient(225deg, #00264f 15%, #0051a6 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t1--dark) .fwo-grid > .fwo-tile:nth-of-type(1):is(#pf#pf, *) {
  background-color: #00264f !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t1--green) .fwo-grid > .fwo-tile:nth-of-type(1):is(#pf#pf, *) {
  background-color: #0051a6 !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t1--light) .fwo-grid > .fwo-tile:nth-of-type(1):is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --fwo-tile-text: #0051a6 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t2--dark) .fwo-grid > .fwo-tile:nth-of-type(2):is(#pf#pf, *) {
  background-color: #00264f !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t2--green) .fwo-grid > .fwo-tile:nth-of-type(2):is(#pf#pf, *) {
  background-color: #0051a6 !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t2--light) .fwo-grid > .fwo-tile:nth-of-type(2):is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --fwo-tile-text: #0051a6 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t3--dark) .fwo-grid > .fwo-tile:nth-of-type(3):is(#pf#pf, *) {
  background-color: #00264f !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t3--green) .fwo-grid > .fwo-tile:nth-of-type(3):is(#pf#pf, *) {
  background-color: #0051a6 !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t3--light) .fwo-grid > .fwo-tile:nth-of-type(3):is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --fwo-tile-text: #0051a6 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t4--dark) .fwo-grid > .fwo-tile:nth-of-type(4):is(#pf#pf, *) {
  background-color: #00264f !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t4--green) .fwo-grid > .fwo-tile:nth-of-type(4):is(#pf#pf, *) {
  background-color: #0051a6 !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t4--light) .fwo-grid > .fwo-tile:nth-of-type(4):is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --fwo-tile-text: #0051a6 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t5--dark) .fwo-grid > .fwo-tile:nth-of-type(5):is(#pf#pf, *) {
  background-color: #00264f !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t5--green) .fwo-grid > .fwo-tile:nth-of-type(5):is(#pf#pf, *) {
  background-color: #0051a6 !important;
  --fwo-tile-text: #ffffff !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t5--light) .fwo-grid > .fwo-tile:nth-of-type(5):is(#pf#pf, *) {
  background-color: #e1ebf6 !important;
  --fwo-tile-text: #0051a6 !important;
}

/* ==========================================================================
   DARK MODE
   Follows the visitor's device setting, like the dark mode in the 2027
   stylesheet (part DM): the page turns #121212 and the light themes turn dark.
   This part swaps the Pro-face colours to their "on dark" set everywhere:
   headings and text white, links, bullets, pictos and numbers #f08300, buttons as
   on the dark theme. The Pro-face light theme becomes #14243a, light text
   cards #1b2f48; the dark theme stays #00264f. The SE light green from part DM
   (links, form heading, radio buttons) is replaced by #f08300.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --pf-heading: #ffffff;
    --pf-text: #ffffff;
    --pf-link: #f08300;
    --pf-bullet: #f08300;
    --pf-bullet-text: #00264f;
    --pf-btn-bg: #f08300;
    --pf-btn-text: #00264f;
    --pf-btn-border: #f08300;
    --pf-btn-hover-bg: #f39a33;
    --pf-btn-hover-text: #00264f;
    --pf-outline: #ffffff;
    --pf-outline-border: #ffffff;
    --pf-outline-hover-bg: #ffffff;
    --pf-outline-hover-text: #0051a6;
  }
  :is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf#pf, *):has([class*="-cfg"]:is([class*="-theme--white"], [class*="-theme--none"], [class*="-theme--grey"], [class*="-theme--light"])) {
    --module-link: #f08300 !important;
  }
  :is(.bottom-slot, .header, .form-columns) > table:is(#pf#pf#pf, *):has([class*="-theme--light"]) {
    --module-bg: #14243a !important;
  }
  :is(.bottom-slot, .form-columns) > table:has(.fwi-card--light) .fwi-text:is(#pf#pf#pf, *),
  :is(.bottom-slot, .form-columns) > table:has(.fwc-card--light) .fwc-text:is(#pf#pf#pf, *),
  :is(.bottom-slot, .form-columns) > table:has(.fwq-cfg:is(.fwq-card--white, .fwq-card--grey, .fwq-card--light)) .fwq-card:is(#pf#pf#pf, *) {
    background-color: #1b2f48 !important;
    --module-link: #f08300 !important;
    --pf-heading: #ffffff;
    --pf-text: #ffffff;
    --pf-link: #f08300;
    --pf-bullet: #f08300;
    --pf-bullet-text: #00264f;
    --pf-btn-bg: #f08300;
    --pf-btn-text: #00264f;
    --pf-btn-border: #f08300;
    --pf-btn-hover-bg: #f39a33;
    --pf-btn-hover-text: #00264f;
    --pf-outline: #ffffff;
    --pf-outline-border: #ffffff;
    --pf-outline-hover-bg: #ffffff;
    --pf-outline-hover-text: #0051a6;
  }
  :is(.bottom-slot, .form-columns) > table:has(.fwn-cfg:is(.fwn-theme--white, .fwn-theme--grey, .fwn-theme--light, .fwn-theme--none):not(.fwn-bg--custom)):is(#pf#pf#pf, *) {
    --fwn-accent: #f08300 !important;
    --fwn-icon-filter: brightness(0) saturate(100%) invert(73%) sepia(44%) saturate(7425%) hue-rotate(4deg) brightness(98%) contrast(102%) !important;
  }
  html body #form-column h3.A1 .B1:is(#pf#pf#pf, *) { color: var(--pf-heading, #ffffff) !important; }
  html body #form-column h3.A1 img#new-overlay:is(#pf#pf#pf, *),
  html body .icons img:is(#pf#pf#pf, *) {
    filter: brightness(0) saturate(100%) invert(73%) sepia(44%) saturate(7425%) hue-rotate(4deg) brightness(98%) contrast(102%) !important;
  }
  html body #scForm input[type="radio"]:checked:is(#pf#pf#pf, *) {
    background-color: #f08300 !important;
    border-color: #f08300 !important;
    box-shadow: 0 0 0 5px #f08300 inset !important;
  }
  html body #scForm input[type="checkbox"]:checked:is(#pf#pf#pf, *) { border-color: #f08300 !important; }
}

/* ----- 3. Fixes from the brand audit of 2026-11-16 ----- */
/* dark surfaces the older rules did not know: hero (FWM_16), the logo bar over it (2026-11-23:
   the header button used the light colours on the black bar) and the banner of FWM_17 */
div.header:has(> table .fwy-cfg) #myHeader,
.header > table:has(.fwy-cfg),
:is(.bottom-slot, .form-columns) > table:has(.fwz-cfg) .fwz-banner { --pf-heading: #ffffff; --pf-text: #ffffff; --pf-link: #f08300; --pf-bullet: #f08300; --pf-bullet-text: #00264f; --pf-btn-bg: #f08300; --pf-btn-text: #00264f; --pf-btn-border: #f08300; --pf-btn-hover-bg: #f39a33; --pf-btn-hover-text: #00264f; --pf-outline: #ffffff; --pf-outline-border: #ffffff; --pf-outline-hover-bg: #ffffff; --pf-outline-hover-text: #0051a6; }
/* oval cards and gradient themes: the snippet's green preset PNGs are dropped, so the
   gradients are drawn in the brand colours (tokens) */
:is(.bottom-slot, .form-columns) > table:is(#pf#pf, *):is(:has(.fwk-cfg), :has(.fwd-cfg)) { --fwk-gradient-1: initial; --fwk-gradient-2: initial; --fwk-gradient-3: initial; --fwd-gradient-image: initial; }
/* header text link on the middle line of this brand's button */
#myHeader .optnlBtnBlck p.header-link:is(#pf#pf, *) { position: relative; top: 2px; }
/* agenda: time and speaker name a little darker on the light theme (was 4.1:1) */
:is(.bottom-slot, .form-columns) > table:has(.fwa-cfg.fwa-theme--light) { --fwa-muted: #4a4f57; }
/* ----- 3b. Fixes from the brand check of 2026-11-23 (head stylesheet REF 2026-11-20d) ----- */
/* 01. Header, @button_type outline: drawn in the brand's outline colours. The brand's own button
   rule was stronger than the header setting, so the button stayed filled. */
div.header:has(.fwh-cfg.fwh-btn--outline) #myHeader .optnlBtnBlck .buttonstyles:is(#pf#pf, *) {
  background: transparent !important;
  border-color: var(--pf-outline-border, var(--pf-outline)) !important;
  color: var(--pf-outline) !important;
  box-shadow: none !important;
}
/* 04. Content: the glowing oval behind the white paper is an SE green picture. With a brand it is
   drawn as a ring in the brand colour instead: the main colour on light themes, the colour for
   dark backgrounds on the dark theme, with a background image and in dark mode. */
:is(.bottom-slot, .form-columns) > table:is(#pf#pf#pf#pf, *):has(.fwc-cfg.fwc-kind--content.fwc-oval--yes) .fwc-media::before {
  top: 20%;
  right: -34px;
  bottom: 20%;
  left: -34px;
  border: 5px solid var(--se-green);
  border-radius: 50% !important;   /* four IDs: some brand sheets square every ::before with three */
  background: none;
  box-shadow: 0 0 18px 1px rgba(var(--se-green-rgb), .45), inset 0 0 18px 1px rgba(var(--se-green-rgb), .45);
  transform: rotate(-32deg);
}
:is(.bottom-slot, .form-columns) > table:is(#pf#pf#pf#pf, *):has(.fwc-cfg.fwc-kind--content.fwc-oval--yes:is(.fwc-theme--dark, .fwc-bg--custom)) .fwc-media::before {
  border-color: var(--se-bright);
  box-shadow: 0 0 18px 1px rgba(var(--se-bright-rgb), .45), inset 0 0 18px 1px rgba(var(--se-bright-rgb), .45);
}
@media (prefers-color-scheme: dark) {
  :is(.bottom-slot, .form-columns) > table:is(#pf#pf#pf#pf, *):has(.fwc-cfg.fwc-kind--content.fwc-oval--yes) .fwc-media::before {
    border-color: var(--se-bright);
    box-shadow: 0 0 18px 1px rgba(var(--se-bright-rgb), .45), inset 0 0 18px 1px rgba(var(--se-bright-rgb), .45);
  }
}
/* ----- 3c. Proface only: 09. Agenda small orange text -----
   The orange is just too dark for the small day label on the day bar of the dark theme (4.0:1)
   and for the session tag in dark mode (4.4:1). Both take the lighter orange (5.6:1 and 6.1:1). */
:is(.bottom-slot, .form-columns) > table:is(#pf#pf, *):has(.fwa-cfg.fwa-theme--dark) {
  --fwa-bar-accent: var(--se-bright-active) !important;
}
@media (prefers-color-scheme: dark) {
  :is(.bottom-slot, .form-columns) > table:is(#pf#pf, *):has(.fwa-cfg) {
    --fwa-tag-text: var(--se-bright-active) !important;
  }
}