/* ==========================================================================
   Brand stylesheet Seas for the landing page templates
   Version REF 2026-11-26 (2026-11-23 plus a lighter green for colour boxes and tiles, part 3c),
   based on Brand_Style_Seas_UPD_2026-10-30
   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. 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: #005c1e;
  --se-green-hover: #00461a;
  --se-green-active: #003310;
  --se-green-2: #2f8f3e;
  --se-dark: #00552e;
  --se-dark-2: #0a6b3c;
  --se-dark-deep: #00331c;
  --se-bright: #cdfc57;
  --se-bright-hover: #dafd85;
  --se-bright-active: #e6feae;
  --se-glow: #cdfc57;
  --se-light: #f2fed5;
  --se-light-line: #cfe6a8;
  --se-green-rgb: 0, 92, 30;
  --se-green-2-rgb: 47, 143, 62;
  --se-dark-rgb: 0, 85, 46;
  --se-dark-2-rgb: 10, 107, 60;
  --se-bright-rgb: 205, 252, 87;
  --se-glow-rgb: 205, 252, 87;
  --se-light-rgb: 242, 254, 213;
  --dm-green-surface: #15261e;   /* light theme in dark mode */
  --dm-green-card: #1b3127;      /* light card in dark mode */
}

/* ----- 2. Brand rules ----- */
img#logo-img { margin: 10px 0; }
footer#footer {
  padding: 20px 0;
  background: #00552e !important;
  max-height: none;
  height: auto;
}
footer#footer * {
  color: #cdfc57 !important;
  font-size: 15px;
}

form input[type="checkbox"]:checked {
  border: 5px solid #3dcd58 !important;
  opacity: 1 !important;
}

/* [UPD 2026-10-28] headings, bullets and markers read the --sa-* variables (see THEMES):
   dark green on light backgrounds, white / lime on dark ones.
   Fixed: a stray closing brace after the ol rule made the browser drop the ul marker rule. */
ol li::before {
  background: var(--sa-bullet, #005c1e) !important;
  color: var(--sa-bullet-text, #cdfc57) !important;
}
ul li::marker { color: var(--sa-bullet, #005c1e) !important; }
h1,
h2,
h3,
.A1 span {
  color: var(--sa-heading, #005c1e) !important;
}
img#new-overlay,
div.icons .item-wrapper img {
  filter: brightness(0) saturate(100%) invert(21%) sepia(19%) saturate(6866%) hue-rotate(125deg) brightness(93%) contrast(101%);
}

/* ==========================================================================
   THEMES [UPD 2026-10-28]
   SE Advisory Services colours, taken from the brand's older pages
   (EMAIL_Validator?brand=seas and this stylesheet):
     dark green #005c1e  buttons, headings, bullets
     footer green #00552e  used for the DARK theme and the dark form card
     lime #cdfc57  button text, accents on dark
     light #f2fed5  LIGHT theme: 25% lime on white (own choice, the old pages
                    have no light background)
   White and grey themes stay as they are.

   Why the :is(#sa#sa, *) 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 {
  --sa-green: #005c1e;
  --sa-dark: #00552e;
  --sa-lime: #cdfc57;
  --sa-light: #f2fed5;
  --sa-heading: #005c1e;
  --sa-bullet: #005c1e;
  --sa-bullet-text: #cdfc57;
  --sa-btn-bg: #005c1e;
  --sa-btn-text: #cdfc57;
  --sa-btn-hover-bg: #cdfc57;
  --sa-btn-hover-text: #005c1e;
  --sa-outline: #005c1e;
}

/* Module backgrounds (all modules use --module-bg) */
:is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa, *):has([class*="-theme--dark"]) {
  --module-bg: #00552e !important;
  --module-link: #cdfc57 !important;
}
:is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa, *):has([class*="-theme--light"]) {
  --module-bg: #f2fed5 !important;
  --module-link: #005c1e !important;
}
/* Modules with a background image behave as dark */
:is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa, *):has([class*="-bg--custom"]) {
  --module-link: #cdfc57 !important;
}

/* Text cards (05. Image + Text, older Image + Text, 07. Testimonial) */
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--dark) .fwi-text:is(#sa#sa, *),
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--dark) .fwc-text:is(#sa#sa, *),
:is(.bottom-slot, .form-columns) > table:has(.fwq-card--dark) .fwq-card:is(#sa#sa, *) {
  background-color: #00552e !important;
  --module-link: #cdfc57 !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwi-card--light) .fwi-text:is(#sa#sa, *),
:is(.bottom-slot, .form-columns) > table:has(.fwc-card--light) .fwc-text:is(#sa#sa, *),
:is(.bottom-slot, .form-columns) > table:has(.fwq-card--light) .fwq-card:is(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --module-link: #005c1e !important;
}

/* 06. Video(s) & Text: video placeholder, arrows */
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg) .fwg-media:is(#sa#sa, *) { background: #00552e !important; }
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg):is(#sa#sa, *) { --fwg-arrow-color: #005c1e !important; }
:is(.bottom-slot, .form-columns) > table:has(.fwg-cfg) .fwg-arrow:is(#sa#sa, *):hover {
  background: #f2fed5 !important;
}

/* Form card (form style "darkgreen"): footer green, lime links */
#form-column:is(#sa#sa#sa, *):has(#scForm.sc-form--darkgreen),
#scForm.sc-form--darkgreen:is(#sa#sa#sa, *) {
  background-color: #00552e !important;
}
#scForm:is(.sc-form--dark, .sc-form--darkgreen) a:not(.buttonstyles):is(#sa#sa#sa, *) { color: #cdfc57 !important; }

/* Dark backgrounds: white headings, lime bullets, lime buttons with dark
   green text, lime outline. Banner, dark theme, module with a background
   image, dark text cards, focus form with image, dark form, 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)),
.banner-lpart,
#dark-module {
  --sa-heading: #ffffff;
  --sa-bullet: #cdfc57;
  --sa-bullet-text: #005c1e;
  --sa-btn-bg: #cdfc57;
  --sa-btn-text: #005c1e;
  --sa-btn-hover-bg: #ffffff;
  --sa-btn-hover-text: #005c1e;
  --sa-outline: #cdfc57;
}
/* 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 {
  --sa-heading: #005c1e;
  --sa-bullet: #005c1e;
  --sa-bullet-text: #cdfc57;
  --sa-btn-bg: #005c1e;
  --sa-btn-text: #cdfc57;
  --sa-btn-hover-bg: #cdfc57;
  --sa-btn-hover-text: #005c1e;
  --sa-outline: #005c1e;
}

/* ==========================================================================
   BUTTONS [UPD 2026-10-28]
   As on the older SEAS pages: dark green with lime text, hover lime with
   dark green text, 25px radius, 0.4s transition. On dark backgrounds the
   colours swap (lime button, white on hover) so the button stays visible.
   Outline: dark green border and text (lime on dark), hover fills like the
   filled button. Covers .buttonstyles in every module (incl. @button_type),
   the form submit and the multi-step Next button.
   (Replaces the old a.buttonstyles / button.sc-form__submit rules, which lost
   to the 2027 module rules: white text on dark green, SE green banner/form.)
   ========================================================================== */
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#sa#sa, *) {
  border: 1.5px solid transparent !important;
  border-radius: 25px !important;
  background: var(--sa-btn-bg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--sa-btn-text) !important;
  text-decoration: none !important;
  transition: background-color .4s, color .4s, border-color .4s !important;
}
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#sa#sa, *):is(:hover, :active):not(:disabled) {
  background: var(--sa-btn-hover-bg) !important;
  color: var(--sa-btn-hover-text) !important;
}

/* Outline: .buttonstyles--outline, @button_type = outline, banner outline */
.buttonstyles.buttonstyles--outline:is(#sa#sa, *),
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--outline) .buttonstyles:is(#sa#sa, *),
:is(.bottom-slot, .header, .form-columns) > table:has(.fwb-cfg:is(.fwb-btn--outline, .fwb-btn--light)) .buttonstyles:is(#sa#sa, *) {
  background: transparent !important;
  border-color: var(--sa-outline) !important;
  color: var(--sa-outline) !important;
}
.buttonstyles.buttonstyles--outline:is(#sa#sa, *):is(:hover, :active),
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--outline) .buttonstyles:is(#sa#sa, *):is(:hover, :active),
:is(.bottom-slot, .header, .form-columns) > table:has(.fwb-cfg:is(.fwb-btn--outline, .fwb-btn--light)) .buttonstyles:is(#sa#sa, *):is(:hover, :active) {
  background: var(--sa-btn-bg) !important;
  border-color: var(--sa-btn-bg) !important;
  color: var(--sa-btn-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(#sa#sa, *) {
  background: var(--sa-btn-bg) !important;
  border-color: transparent !important;
  color: var(--sa-btn-text) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.mod-btn--normal) .buttonstyles.buttonstyles--outline:is(#sa#sa, *):is(:hover, :active) {
  background: var(--sa-btn-hover-bg) !important;
  color: var(--sa-btn-hover-text) !important;
}

/* Keyboard focus */
:is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#sa#sa, *):focus-visible {
  outline: 2px solid var(--sa-outline) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  :is(.buttonstyles, .sc-form__submit, .sc-msf-next):is(#sa#sa, *) { transition: none !important; }
}

/* ==========================================================================
   NEW MODULES: 08. Icons / Info and 15. Mosaic [UPD 2026-10-30]
   Brand colours for the two newest modules (they came after this sheet):
   - dark and light themes use the SEAS colours, like the other modules;
   - pictos and numbers: #005c1e on light backgrounds, #cdfc57 on dark ones (the
     green library pictos are recoloured with a CSS filter);
   - the gradient theme and the ovals use SEAS colours instead of the
     green preset images;
   - mosaic colour tiles: dark = #00552e, green = #1f7a33 (2026-11-26, was #005c1e), light = #f2fed5.
   ========================================================================== */
:is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa, *):has(:is(.fwn-theme--dark, .fwo-theme--dark)) {
  --module-bg: #00552e !important;
  --module-link: #cdfc57 !important;
}
:is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa, *):has(:is(.fwn-theme--light, .fwo-theme--light)) {
  --module-bg: #f2fed5 !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)) ) {
  --sa-heading: #ffffff;
  --sa-bullet: #cdfc57;
  --sa-bullet-text: #005c1e;
  --sa-btn-bg: #cdfc57;
  --sa-btn-text: #005c1e;
  --sa-btn-hover-bg: #ffffff;
  --sa-btn-hover-text: #005c1e;
  --sa-outline: #cdfc57;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg):is(#sa#sa, *) {
  --fwn-accent: #005c1e !important;
  --fwn-icon-filter: brightness(0) saturate(100%) invert(23%) sepia(83%) saturate(696%) hue-rotate(94deg) brightness(95%) contrast(101%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg.fwn-theme--dark):is(#sa#sa, *) {
  --fwn-accent: #cdfc57 !important;
  --fwn-icon-filter: brightness(0) saturate(100%) invert(81%) sepia(97%) saturate(325%) hue-rotate(18deg) brightness(102%) contrast(98%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg:is(.fwn-theme--gradient, .fwn-bg--custom)):is(#sa#sa, *) {
  --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(#sa#sa, *) {
  background-image: linear-gradient(105deg, #00552e 0%, #00552e 45%, #007a3d 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg:is(.fwn-oval--oval1, .fwn-oval--oval2)) .fwn-icon:is(#sa#sa, *)::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, #00552e 15%, #007a3d 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwn-cfg.fwn-oval--oval2) .fwn-icon:is(#sa#sa, *)::before {
  background: linear-gradient(225deg, #00552e 15%, #007a3d 100%) !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t1--dark) .fwo-grid > .fwo-tile:nth-of-type(1):is(#sa#sa, *) {
  background-color: #00552e !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(#sa#sa, *) {
  background-color: #1f7a33 !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(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --fwo-tile-text: #005c1e !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t2--dark) .fwo-grid > .fwo-tile:nth-of-type(2):is(#sa#sa, *) {
  background-color: #00552e !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(#sa#sa, *) {
  background-color: #1f7a33 !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(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --fwo-tile-text: #005c1e !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t3--dark) .fwo-grid > .fwo-tile:nth-of-type(3):is(#sa#sa, *) {
  background-color: #00552e !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(#sa#sa, *) {
  background-color: #1f7a33 !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(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --fwo-tile-text: #005c1e !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t4--dark) .fwo-grid > .fwo-tile:nth-of-type(4):is(#sa#sa, *) {
  background-color: #00552e !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(#sa#sa, *) {
  background-color: #1f7a33 !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(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --fwo-tile-text: #005c1e !important;
}
:is(.bottom-slot, .form-columns) > table:has(.fwo-cfg.fwo-t5--dark) .fwo-grid > .fwo-tile:nth-of-type(5):is(#sa#sa, *) {
  background-color: #00552e !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(#sa#sa, *) {
  background-color: #1f7a33 !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(#sa#sa, *) {
  background-color: #f2fed5 !important;
  --fwo-tile-text: #005c1e !important;
}

/* ==========================================================================
   DARK MODE [UPD 2026-10-30]
   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 SEAS colours to their "on dark" set everywhere:
   headings and text white, links, bullets, pictos and numbers #cdfc57, buttons as
   on the dark theme. The SEAS light theme becomes #15261e, light text
   cards #1b3127; the dark theme stays #00552e. The SE light green from part DM
   (links, form heading, radio buttons) is replaced by #cdfc57.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --sa-heading: #ffffff;
    --sa-bullet: #cdfc57;
    --sa-bullet-text: #005c1e;
    --sa-btn-bg: #cdfc57;
    --sa-btn-text: #005c1e;
    --sa-btn-hover-bg: #ffffff;
    --sa-btn-hover-text: #005c1e;
    --sa-outline: #cdfc57;
  }
  :is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa#sa, *):has([class*="-cfg"]:is([class*="-theme--white"], [class*="-theme--none"], [class*="-theme--grey"], [class*="-theme--light"])) {
    --module-link: #cdfc57 !important;
  }
  :is(.bottom-slot, .header, .form-columns) > table:is(#sa#sa#sa, *):has([class*="-theme--light"]) {
    --module-bg: #15261e !important;
  }
  :is(.bottom-slot, .form-columns) > table:has(.fwi-card--light) .fwi-text:is(#sa#sa#sa, *),
  :is(.bottom-slot, .form-columns) > table:has(.fwc-card--light) .fwc-text:is(#sa#sa#sa, *),
  :is(.bottom-slot, .form-columns) > table:has(.fwq-cfg:is(.fwq-card--white, .fwq-card--grey, .fwq-card--light)) .fwq-card:is(#sa#sa#sa, *) {
    background-color: #1b3127 !important;
    --module-link: #cdfc57 !important;
    --sa-heading: #ffffff;
    --sa-bullet: #cdfc57;
    --sa-bullet-text: #005c1e;
    --sa-btn-bg: #cdfc57;
    --sa-btn-text: #005c1e;
    --sa-btn-hover-bg: #ffffff;
    --sa-btn-hover-text: #005c1e;
    --sa-outline: #cdfc57;
  }
  :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(#sa#sa#sa, *) {
    --fwn-accent: #cdfc57 !important;
    --fwn-icon-filter: brightness(0) saturate(100%) invert(81%) sepia(97%) saturate(325%) hue-rotate(18deg) brightness(102%) contrast(98%) !important;
  }
  html body #form-column h3.A1 .B1:is(#sa#sa#sa, *) { color: var(--sa-heading, #ffffff) !important; }
  html body #form-column h3.A1 img#new-overlay:is(#sa#sa#sa, *),
  html body .icons img:is(#sa#sa#sa, *) {
    filter: brightness(0) saturate(100%) invert(81%) sepia(97%) saturate(325%) hue-rotate(18deg) brightness(102%) contrast(98%) !important;
  }
  html body #scForm input[type="radio"]:checked:is(#sa#sa#sa, *) {
    background-color: #cdfc57 !important;
    border-color: #cdfc57 !important;
    box-shadow: 0 0 0 5px #cdfc57 inset !important;
  }
  html body #scForm input[type="checkbox"]:checked:is(#sa#sa#sa, *) { border-color: #cdfc57 !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 { --sa-heading: #ffffff; --sa-bullet: #cdfc57; --sa-bullet-text: #005c1e; --sa-btn-bg: #cdfc57; --sa-btn-text: #005c1e; --sa-btn-hover-bg: #ffffff; --sa-btn-hover-text: #005c1e; --sa-outline: #cdfc57; }
/* 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(#sa#sa, *):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(#sa#sa, *) { position: relative; top: 1px; }
/* ----- 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(#sa#sa, *) {
  background: transparent !important;
  border-color: var(--sa-outline-border, var(--sa-outline)) !important;
  color: var(--sa-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(#sa#sa#sa#sa, *):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: Feller and Proleit 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(#sa#sa#sa#sa, *):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(#sa#sa#sa#sa, *):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. Colour boxes and tiles: a lighter green [2026-11-26, user report] -----
   The SEAS dark (#00552e, dark theme, footer) and main green (#005c1e) are almost the same colour,
   so a "dark" box next to a "green" box looked alike (12b. Boxes, 12a. Cards, 15. Mosaic, Countdown
   tiles). The "green" boxes and tiles take #1f7a33 instead: clearly lighter than the dark green,
   white text 5.4:1. Buttons, headings and the dark theme keep the brand colours. */
:is(.bottom-slot, .form-columns) > table:is(#sa#sa#sa, *):has(.fwk-cfg.fwk-t1--green) .fwk-grid > .fwk-tile:nth-of-type(1),
:is(.bottom-slot, .form-columns) > table:is(#sa#sa#sa, *):has(.fwk-cfg.fwk-t2--green) .fwk-grid > .fwk-tile:nth-of-type(2),
:is(.bottom-slot, .form-columns) > table:is(#sa#sa#sa, *):has(.fwk-cfg.fwk-t3--green) .fwk-grid > .fwk-tile:nth-of-type(3),
:is(.bottom-slot, .form-columns) > table:is(#sa#sa#sa, *):has(.fwk-cfg.fwk-t4--green) .fwk-grid > .fwk-tile:nth-of-type(4) {
  background-color: #1f7a33 !important;
}
:is(.bottom-slot, .form-columns) > table:is(#sa#sa#sa, *):has(.fwe-cfg.fwe-tile--green:not(.fwe-theme--dark, .fwe-bg--custom)) {
  --fwe-tile-bg: #1f7a33 !important;
}