/* FEBRY.OPS V352 — exact active-control selectors. No palette substitutions.
   Lime background #B6FF40; dark content #090D0B (including SVG strokes).
   Normal inactive navigation remains dark. */
:root { --febry-primary-352: #B6FF40; --febry-on-primary-352: #090D0B; }
@media(max-width:900px) {
  body.cl-ms #msMobileNav button.active,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352,
  body.cl-ms #mobilePanePosting .ms-posting-switch button.selected,
  body.cl-ms #mobilePanePosting .ms-posting-switch button.febry-active-contrast-v352,
  body.cl-ms #chatView .ms-mobile-pane #sendBtn,
  body.cl-ms #chatView .ms-mobile-pane .composer .send,
  body.cl-ms #mobilePanePosting .mobile-simple-open,
  body.cl-ms #mobilePaneSchedule .febry-solid-btn,
  body.cl-ms #sdScreen .sd-mode-tabs button.current,
  body.cl-ms #sdScreen .sd-nav button.selected,
  body.cl-ms #sdScreen .sd-primary,
  body.cl-ms #sdScreen #sdAddLink,
  body.cl-ms #simplePostModal .simple-primary,
  body.cl-ms #simplePostGenerate,
  body.cl-ms #simplePostPublishNow {
    background: #B6FF40 !important;
    background-image: none !important;
    border-color: #B6FF40 !important;
    color:#090D0B !important;
    -webkit-text-fill-color:#090D0B !important;
    text-shadow: none !important;
  }
  body.cl-ms #msMobileNav button.active *,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352 *,
  body.cl-ms #mobilePanePosting .ms-posting-switch button.selected *,
  body.cl-ms #mobilePanePosting .ms-posting-switch button.febry-active-contrast-v352 *,
  body.cl-ms #chatView .ms-mobile-pane #sendBtn *,
  body.cl-ms #chatView .ms-mobile-pane .composer .send *,
  body.cl-ms #sdScreen .sd-mode-tabs button.current *,
  body.cl-ms #sdScreen .sd-nav button.selected *,
  body.cl-ms #sdScreen .sd-primary *,
  body.cl-ms #sdScreen #sdAddLink *,
  body.cl-ms #simplePostModal .simple-primary * {
    color:#090D0B !important;
    -webkit-text-fill-color:#090D0B !important;
    text-shadow: none !important;
  }
  body.cl-ms #msMobileNav button.active svg,
  body.cl-ms #msMobileNav button.active svg *,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352 svg,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352 svg *,
  body.cl-ms #chatView .ms-mobile-pane #sendBtn svg,
  body.cl-ms #chatView .ms-mobile-pane #sendBtn svg *,
  body.cl-ms #sdScreen .sd-mode-tabs button.current svg,
  body.cl-ms #sdScreen .sd-mode-tabs button.current svg *,
  body.cl-ms #sdScreen .sd-nav button.selected svg,
  body.cl-ms #sdScreen .sd-nav button.selected svg * {
    stroke: #090D0B !important;
    color:#090D0B !important;
  }
  body.cl-ms #msMobileNav button.active .nav-icon,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352 .nav-icon {
    background: rgba(9,13,11,.07) !important;
    background-image: none !important;
    border-color: rgba(9,13,11,.16) !important;
    box-shadow: none !important;
  }
  body.cl-ms #msMobileNav button.active .nav-label,
  body.cl-ms #msMobileNav button.febry-active-contrast-v352 .nav-label,
  body.cl-ms #mobilePanePosting .ms-posting-switch button.selected {
    font-weight: 850 !important;
  }
  /* Deactivated controls retain their original low-key appearance. */
  body.cl-ms #msMobileNav button:not(.active):not(.febry-active-contrast-v352),
  body.cl-ms #mobilePanePosting .ms-posting-switch button:not(.selected):not(.febry-active-contrast-v352) {
    background: #0b160e !important;
    color:#F5F9F3 !important;
    -webkit-text-fill-color:#F5F9F3 !important;
  }
}

/* V358: explicit high-contrast treatment for the Simple Post "Add URL" action.
   Browser engines may otherwise inherit light text from .btn-ghost/.btn defaults. */
body.cl-ms #simplePostModal #simplePostAddLink,
body.cl-ms #simplePostModal #simplePostAddLink:hover,
body.cl-ms #simplePostModal #simplePostAddLink:focus-visible,
body.cl-ms #simplePostModal #simplePostAddLink:disabled{
  appearance:none;
  -webkit-appearance:none;
  background:#B6FF40!important;
  background-image:none!important;
  border-color:#B6FF40!important;
  color:#090D0B !important;
  -webkit-text-fill-color:#090D0B !important;
  text-shadow:none!important;
  box-shadow:none;
  font-weight:800;
}
body.cl-ms #simplePostModal #simplePostAddLink *{
  color:#090D0B !important;
  -webkit-text-fill-color:#090D0B !important;
}
body.cl-ms #simplePostModal #simplePostAddLink:focus-visible{outline:2px solid #F5F9F3;outline-offset:3px}

/* V374: canonical single-lime token; primary foreground remains carbon on Safari/Brave.
   Existing v352 selectors keep inactive/disabled and semantic status colors intact. */
body.cl-ms{--ms-brand-lime:#B6FF40;--green:#B6FF40;--green2:#B6FF40;--lime:#B6FF40;--accent:#B6FF40;}
body.cl-admin{--ms-brand-lime:#B6FF40;--green:#B6FF40;--green2:#B6FF40;--lime:#B6FF40;--accent:#B6FF40;}
