/* ==========================================================================
   MigraSpace — rede.css
   A REDE SOCIAL COM A MARCA DO JORNAL (outubro de 2026)

   Camada final, carregada DEPOIS de tokens/style/theme e só nas páginas da
   plataforma (não no jornal, que tem o jornal.css, nem no painel admin).
   O <body> destas páginas leva a classe .ms-rede (ver partials/head.php).

   Linguagem: papel creme, tinta quase preta, um só vermelho (#FF3B1F),
   cantos retos, filete de 2px e sombra "carimbada" (deslocada, sem desfoque).
   Letras: Archivo (condensada a 62% nos títulos), Newsreader nas chamadas,
   JetBrains Mono nos rótulos e números de serviço.

   1. Tokens       — a maior parte do site segue sozinha a partir daqui.
   2. Base         — letra, títulos, ligações.
   3. Estrutura    — barra de navegação, barra lateral, topo das páginas.
   4. Componentes  — botões, chips, cartões, prazos, etiquetas.
   5. Páginas      — ajustes por secção.
   6. Telemóvel

   PORQUÊ O PREFIXO COMPRIDO
   O theme.css usa seletores como "html:not(#ms) body:not(#ms) .x" com
   !important — isso conta como dois IDs. Para esta camada ter a última
   palavra sem caçar regra a regra, todas as regras daqui começam por
   "html:not(#ms):not(#rd) body.ms-rede:not(#rd)", que conta como três IDs.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */

/* Bandeiras e emojis: a JetBrains Mono tem desenho próprio para as letras
   regionais (os pares que formam as bandeiras) e mostrava-as como quadrados.
   Esta família só cobre os intervalos de emoji e manda-os sempre para a letra
   de emoji do sistema; o resto do texto continua na letra da marca. */
@font-face{font-family:'RD Emoji';src:local('Apple Color Emoji'),local('Segoe UI Emoji'),local('Noto Color Emoji'),local('Twemoji Mozilla');unicode-range:U+1F1E6-1F1FF,U+1F300-1FAFF,U+2600-27BF,U+2B50,U+FE0F,U+200D}

html:not(#ms):not(#rd) body.ms-rede:not(#rd){
  --rd-papel:#F3EFE7; --rd-papel-2:#EBE5D9; --rd-papel-3:#E2DACB;
  --rd-tinta:#121115; --rd-tinta-2:#3A3840; --rd-tinta-3:#5A5762;
  --rd-filete:#D9D2C5;
  --rd-verm:#FF3B1F; --rd-verm-esc:#C8240C; --rd-verm-claro:#FFE9E3;
  --rd-sombra:4px 4px 0 var(--rd-tinta);
  --rd-sombra-g:6px 6px 0 var(--rd-tinta);
  --rd-sombra-v:4px 4px 0 var(--rd-verm);
  --rd-cond:'RD Emoji','Archivo','Mona Sans',Arial,sans-serif;
  --rd-serif:'RD Emoji','Newsreader',Georgia,serif;
  --rd-mono:'RD Emoji','JetBrains Mono',ui-monospace,Menlo,monospace;

  --ms-50:#F3EFE7;  --ms-50-rgb:243 239 231;
  --ms-25:#F8F5EF;  --ms-25-rgb:248 245 239;
  --ms-100:#EBE5D9; --ms-100-rgb:235 229 217;
  --ms-150:#E2DACB; --ms-150-rgb:226 218 203;
  --ms-200:#D9D2C5; --ms-200-rgb:217 210 197;
  --ms-250:#C9C1B2; --ms-250-rgb:201 193 178;
  --ms-600:#5A5762; --ms-600-rgb:90 87 98;
  --ms-700:#3A3840; --ms-700-rgb:58 56 64;
  --ms-900:#1E1C22; --ms-900-rgb:30 28 34;
  --ms-950:#121115; --ms-950-rgb:18 17 21;
  --ms-1000:#121115;--ms-1000-rgb:18 17 21;

  --ms-ui-bg:var(--rd-papel);
  --ms-ui-surface:#FFFFFF;
  --ms-ui-surface-2:var(--rd-papel-2);
  --ms-ui-surface-3:var(--rd-papel-3);
  --ms-ui-border:var(--rd-tinta);
  --ms-ui-border-soft:var(--rd-filete);
  --ms-ui-border-strong:var(--rd-tinta);
  --ms-ui-text:var(--rd-tinta);
  --ms-ui-text-2:var(--rd-tinta-2);
  --ms-ui-text-3:var(--rd-tinta-3);
  --ms-ui-accent:var(--rd-verm);
  --ms-ui-accent-hover:var(--rd-verm-esc);
  --ms-ui-accent-soft:var(--rd-verm-claro);
  --ms-ui-accent-line:var(--rd-verm);
  --ms-ui-accent-ink:#FFFFFF;

  --ms-shadow-xs:none;
  --ms-shadow-sm:var(--rd-sombra);
  --ms-shadow-md:var(--rd-sombra);
  --ms-shadow-lg:var(--rd-sombra-g);
  --ms-shadow-focus:0 0 0 3px var(--rd-verm);

  --ms-radius-xs:0; --ms-radius-sm:0; --ms-radius-md:0;
  --ms-radius-lg:0; --ms-radius-xl:0;

  --font-app:'RD Emoji','Archivo','Mona Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --font-display:'Archivo','Mona Sans',Arial,sans-serif;
  --ms-font-marca:'Archivo','Mona Sans',Arial,sans-serif;

  background:var(--rd-papel) !important;
  color:var(--rd-tinta) !important;
  font-family:var(--font-app) !important;
}

/* 2. BASE ------------------------------------------------------------------ */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) ::selection{background:var(--rd-verm);color:#fff}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .site-shell{background:var(--rd-papel) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) a:focus-visible,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) button:focus-visible{outline:3px solid var(--rd-verm) !important;outline-offset:2px}

/* Títulos de secção: condensados, pesados, em caixa alta. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h1,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h2{
  font-family:var(--rd-cond) !important;
  font-stretch:62% !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:0 !important;
  line-height:.88 !important;
  color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h3{
  font-family:var(--rd-cond) !important;
  font-stretch:72% !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:0 !important;
  line-height:.98 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h2{font-size:clamp(28px,2.9vw,44px) !important;overflow-wrap:break-word}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h3{font-size:clamp(19px,1.6vw,24px) !important}

/* Rótulos pequenos: mono, caixa alta. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .page-kicker,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .micro-label,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-card-kicker,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .alltype-kicker,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-nav-label,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-source,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-news-source,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-source,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-topic-category{
  font-family:var(--rd-mono) !important;
  font-size:11px !important;
  font-weight:700 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .page-kicker,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .micro-label{
  display:inline-block;
  background:var(--rd-verm) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:0 !important;
  padding:4px 8px !important;
}

/* 3. ESTRUTURA ------------------------------------------------------------- */

/* Barra de navegação global */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav{
  background:var(--rd-papel) !important;
  border-bottom:3px solid var(--rd-tinta) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-brand{gap:10px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-brand .brand-mark,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand .brand-mark{
  width:40px !important;height:40px !important;min-width:40px;
  padding:0 !important;
  background:#fff !important;
  border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;
  box-shadow:3px 3px 0 var(--rd-verm) !important;
  display:grid !important;place-items:center;overflow:hidden;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-mark img{width:100%;height:100%;display:block;object-fit:contain}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-title{
  display:flex !important;align-items:baseline;gap:0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark span,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-title strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-title small{
  font-family:var(--rd-cond) !important;
  font-stretch:62% !important;
  font-weight:900 !important;
  font-size:30px !important;
  line-height:.8 !important;
  letter-spacing:0 !important;
  text-transform:uppercase !important;
  color:var(--rd-tinta) !important;
  opacity:1 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-search{
  background:#fff !important;
  border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-search input{font-family:var(--rd-serif) !important;font-size:16px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link{
  border-radius:0 !important;
  color:var(--rd-tinta) !important;
  border-bottom:4px solid transparent !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-label{
  font-stretch:75% !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:.02em !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link.is-active{
  border-bottom-color:var(--rd-verm) !important;
  background:transparent !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link.is-active::after,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link.is-active::before{background:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-badge,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .notification-dot,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .counter{background:var(--rd-verm) !important;color:#fff !important;border-radius:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-chip,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .lang-chip,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .icon-button,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-me,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .user-chip{
  background:#fff !important;
  border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-chip strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .lang-chip-code{font-weight:800 !important;text-transform:uppercase}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-av,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-av{border-radius:0 !important;border:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-av.is-letter,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-av.is-letter{background:var(--rd-papel-3) !important;color:var(--rd-tinta) !important;font-weight:900 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-menu,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .desktop-notification-panel{
  background:#fff !important;border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;box-shadow:var(--rd-sombra-g) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-cta{background:var(--rd-verm) !important;color:#fff !important;border-radius:0 !important;font-weight:800 !important;text-transform:uppercase}

/* Barra lateral */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .sidebar{
  background:var(--rd-papel) !important;
  border-right:3px solid var(--rd-tinta) !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-link{
  border-radius:0 !important;
  font-weight:700 !important;
  color:var(--rd-tinta) !important;
  border-left:4px solid transparent !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-link:hover{background:var(--rd-papel-2) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-link.active{
  background:var(--rd-tinta) !important;
  color:#fff !important;
  border-left-color:var(--rd-verm) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-link.active *{color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-nav-label{color:var(--rd-verm-esc) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .impact-box,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .profile-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .admin-session-card{
  background:#fff !important;border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;box-shadow:var(--rd-sombra) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta{background:var(--rd-tinta) !important;color:#fff !important;box-shadow:var(--rd-sombra-v) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta *{color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mini-progress{border-radius:0 !important;background:var(--rd-papel-2) !important;border:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mini-progress *{border-radius:0 !important;background:var(--rd-verm) !important}

/* Topo de cada página (kicker + título + descrição) */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .topbar{
  border-bottom:3px solid var(--rd-tinta) !important;
  padding-bottom:18px !important;
  margin-bottom:26px !important;
  background:transparent !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .topbar h1{
  font-size:clamp(46px,6vw,92px) !important;
  line-height:.84 !important;
  margin:10px 0 0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .topbar .hello p,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .section-head p{
  font-family:var(--rd-serif) !important;
  font-size:18px !important;
  line-height:1.45 !important;
  color:var(--rd-tinta-2) !important;
}

/* Sombras difusas: fora. A casa só usa a sombra "carimbada" (deslocada e
   sem desfoque). Esta regra vem ANTES dos componentes, que repõem a sombra
   dura onde ela faz sentido — com a mesma força, ganha quem vem depois. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main,.sidebar,.mobile-top) *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main,.sidebar,.mobile-top) *::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main,.sidebar,.mobile-top) *::after{box-shadow:none !important;text-shadow:none !important;filter:none !important;backdrop-filter:none !important}

/* 4. COMPONENTES ----------------------------------------------------------- */

/* Botões */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) button.button,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .btn{
  border-radius:0 !important;
  font-family:var(--rd-cond) !important;
  font-weight:800 !important;
  font-stretch:85% !important;
  text-transform:uppercase !important;
  letter-spacing:.01em !important;
  border:2px solid var(--rd-tinta) !important;
  transition:transform .12s ease, box-shadow .12s ease !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button-primary,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button.button-primary{
  background:var(--rd-verm) !important;color:#fff !important;
  box-shadow:var(--rd-sombra) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button-primary:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button-outline,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button-white{
  background:#fff !important;color:var(--rd-tinta) !important;box-shadow:var(--rd-sombra) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .button-dark,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .community-join-btn,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-details-button{
  background:var(--rd-tinta) !important;color:#fff !important;border-radius:0 !important;
}

/* Chips de filtro: uma régua com divisórias, o ativo a negro. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .filter-chip,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-filter,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-tabs a,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-tabs button{
  border-radius:0 !important;
  border:2px solid var(--rd-tinta) !important;
  background:#fff !important;
  color:var(--rd-tinta) !important;
  font-weight:800 !important;
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.03em !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .filter-chip.active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-filter.active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-filter.is-active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .pill.active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-tabs .active{
  background:var(--rd-tinta) !important;color:#fff !important;
}

/* Etiquetas */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .blue-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .green-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-source-pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-code-pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-update-pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-card-badge,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-country-badge,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-country,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-status-tag{
  border-radius:0 !important;
  font-family:var(--rd-cond) !important;
  font-weight:800 !important;
  font-size:11px !important;
  letter-spacing:.07em !important;
  text-transform:uppercase !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .blue-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-country,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-country-badge,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-card-badge{background:var(--rd-verm) !important;color:#fff !important;border:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .green-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-source-pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-tag{background:var(--rd-tinta) !important;color:#fff !important;border:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-code-pill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .study-status-tag,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-update-pill{background:transparent !important;color:var(--rd-tinta) !important;border:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-country-badge *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-card-badge *{color:#fff !important}

/* Cartões: branco, filete negro, sombra carimbada. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .content-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .panel,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .social-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-update-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .forum-post-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .type-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .alltype-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .list-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-content-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-agenda-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-job-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-source-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .community-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-news-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-new,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-viz-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .training-data-item,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .form-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-detail-panel,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-countdown-panel,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-hero,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-summary,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .trend-insight-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-filterbar,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .deadline-list,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .image-card,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .profile-summary,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .share-publication-card{
  background:#fff !important;
  border:2px solid var(--rd-tinta) !important;
  border-radius:0 !important;
  box-shadow:var(--rd-sombra) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .training-data-item{box-shadow:none !important;border-width:1px !important;border-color:var(--rd-filete) !important;background:var(--rd-papel) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .section-block{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding-left:0 !important;padding-right:0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .section-head{
  border-bottom:4px solid var(--rd-tinta) !important;
  padding-bottom:12px !important;
  margin-bottom:20px !important;
  align-items:flex-end !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .section-head h2{margin-top:8px !important}

/* Imagens dentro de cartões: cantos retos e filete. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .content-card img,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-card img,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-inline-image,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-news-image,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-card-media,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-card-cover,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .photo-card img{border-radius:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .photo-card img{filter:grayscale(1) contrast(1.08) !important}

/* A letra grande dos cartões de tipo vira o "número de capa". */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .big-letter,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .alltype-large-letter{
  font-family:var(--rd-cond) !important;
  font-stretch:62% !important;
  font-weight:900 !important;
  color:var(--rd-verm) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .card-link,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .alltype-arrow{font-weight:800 !important;text-transform:uppercase !important;color:var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .card-link:hover{color:var(--rd-verm-esc) !important}

/* Barras de prazo */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-deadline-track,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-mini-progress,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-bar-track{
  height:10px !important;
  border-radius:0 !important;
  border:2px solid var(--rd-tinta) !important;
  background:var(--rd-papel) !important;
  overflow:hidden;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-deadline-track *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-mini-progress *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-bar-fill{border-radius:0 !important;background:var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-deadline-head,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-card-deadline{font-family:var(--rd-mono) !important;font-size:11px !important;text-transform:uppercase !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-deadline-head strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-card-deadline strong{color:var(--rd-verm-esc) !important}

/* Alerta documental das vagas e avisos */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-equality-alert,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .semantic-alert-panel,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .alert-live-panel{
  border-radius:0 !important;
  border:0 !important;
  border-left:6px solid var(--rd-verm) !important;
  background:var(--rd-verm-claro) !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .job-equality-alert-icon{background:var(--rd-verm) !important;color:#fff !important;border-radius:0 !important}

/* Datas da agenda */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-date-badge{
  border-radius:0 !important;
  border:2px solid var(--rd-tinta) !important;
  background:var(--rd-papel) !important;
  color:var(--rd-tinta) !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-date-badge strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-date-badge b{
  font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-agenda-card:first-child .event-date-badge{background:var(--rd-verm) !important;color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-agenda-card:first-child .event-date-badge *{color:#fff !important}

/* Ações dos cartões (salvar / partilhar / comentar) */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-icon-action,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .save-btn,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .profile-share-btn,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-like,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-link-share-btn,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-more-copy-btn,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-comment-toggle{border-radius:0 !important}

/* Avatares */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .avatar,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .system-avatar,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-forum-avatar,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-comment-av{border-radius:0 !important;border:2px solid var(--rd-tinta) !important}

/* Campos */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="text"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="search"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="email"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="password"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="url"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="tel"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="number"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input[type="date"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) select,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) textarea,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .search-box{
  border-radius:0 !important;
  border:2px solid var(--rd-tinta) !important;
  background:#fff !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-search input,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .search-box input{border:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input:focus,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) select:focus,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) textarea:focus{outline:none !important;box-shadow:3px 3px 0 var(--rd-verm) !important}

/* Números grandes */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-new strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .community-stat strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-bar-value,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-topic-interest strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-donut-center strong{
  font-family:var(--rd-cond) !important;
  font-stretch:62% !important;
  font-weight:900 !important;
  letter-spacing:0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-line-path{stroke:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-line-dot{fill:var(--rd-verm) !important}

/* Selos de verificação seguem com as suas cores próprias. */

/* 5. PÁGINAS --------------------------------------------------------------- */

/* Heróis das secções (Radar, Estudos, Tendências, Estatísticas, Eventos).
   Todos têm a mesma forma: um bloco de texto e, ao lado, um cartão de
   números. O bloco fica em tinta negra com o disco vermelho da marca; o
   cartão fica branco, como um recorte colado por cima. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard{
  background:var(--rd-tinta) !important;
  color:#fff !important;
  border:2px solid var(--rd-tinta) !important;
  box-shadow:6px 6px 0 var(--rd-verm) !important;
  position:relative;overflow:hidden;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard::before{
  content:"" !important;display:block !important;position:absolute;right:-110px;bottom:-170px;
  width:380px;height:380px;border-radius:50% !important;background:var(--rd-verm) !important;
  pointer-events:none;z-index:0;opacity:1 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > *{position:relative;z-index:1}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :first-child :is(h1,h2,h3,p,strong,small,li),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :first-child :is(h1,h2,h3,p,strong,small,li),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :first-child :is(h1,h2,h3,p,strong,small,li),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :first-child :is(h1,h2,h3,p,strong,small,li),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :first-child :is(h1,h2,h3,p,strong,small,li),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :first-child > span:not(.micro-label),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :first-child > span:not(.micro-label),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :first-child > span:not(.micro-label),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :first-child > span:not(.micro-label),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :first-child > span:not(.micro-label){color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :first-child h2,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :first-child h2,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :first-child h2,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :first-child h2,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :first-child h2{
  color:#fff !important;font-size:clamp(36px,4.2vw,64px) !important;line-height:.86 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :first-child p,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :first-child p,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :first-child p,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :first-child p,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :first-child p{font-family:var(--rd-serif) !important;color:#E4DFE8 !important;font-size:18px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero .migration-trends-eyebrow,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero .migration-trends-eyebrow,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero .migration-trends-eyebrow,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new .migration-trends-eyebrow,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard .migration-trends-eyebrow{
  display:inline-block;background:var(--rd-verm) !important;color:#fff !important;
  font-family:var(--rd-mono) !important;font-size:11px !important;font-weight:700 !important;
  text-transform:uppercase !important;letter-spacing:.05em !important;padding:4px 8px !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero .button-outline,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero .button-outline,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero .button-outline,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new .button-outline,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard .button-outline{box-shadow:none !important;border-color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :last-child:not(:first-child),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :last-child:not(:first-child),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :last-child:not(:first-child),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :last-child:not(:first-child),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :last-child:not(:first-child){
  background:#fff !important;color:var(--rd-tinta) !important;
  border:2px solid var(--rd-tinta) !important;box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :last-child:not(:first-child) *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :last-child:not(:first-child) *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :last-child:not(:first-child) *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :last-child:not(:first-child) *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :last-child:not(:first-child) *{color:var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :last-child:not(:first-child) :is(strong,b),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :last-child:not(:first-child) :is(strong,b),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :last-child:not(:first-child) :is(strong,b),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :last-child:not(:first-child) :is(strong,b),
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :last-child:not(:first-child) :is(strong,b){
  font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
  letter-spacing:0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-stats b,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard-stats strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-count strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-legal-count strong{
  display:block;font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
  font-size:56px !important;line-height:.86 !important;color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-stats span:first-child b,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard-stats span:first-child strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-count strong{color:var(--rd-verm-esc) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-country-switch a,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-period-switch a{border:2px solid var(--rd-tinta) !important;background:#fff !important;font-weight:800 !important;text-transform:uppercase;font-size:12px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-country-switch a.active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-period-switch a.active{background:var(--rd-tinta) !important;color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .live-dot span,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-status-line span{background:var(--rd-verm) !important}

html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero .legal-note{
  background:transparent !important;border:0 !important;border-left:4px solid var(--rd-verm) !important;
  color:#E4DFE8 !important;font-family:var(--rd-mono) !important;font-size:12px !important;padding:4px 0 4px 12px !important;
}

/* O separador ativo dentro do cartão branco do herói continua a negro. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :last-child:not(:first-child) .active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-hero > :last-child:not(:first-child) .active *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :last-child:not(:first-child) .active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .studies-hero > :last-child:not(:first-child) .active *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :last-child:not(:first-child) .active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-trends-hero > :last-child:not(:first-child) .active *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :last-child:not(:first-child) .active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-new > :last-child:not(:first-child) .active *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :last-child:not(:first-child) .active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard > :last-child:not(:first-child) .active *{color:#fff !important}

/* Cartões em destaque (o primeiro número de uma grelha de indicadores). */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card.featured,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stat-card.featured{background:var(--rd-tinta) !important;box-shadow:var(--rd-sombra-v) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card.featured *,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stat-card.featured *{color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card.featured strong,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stat-card.featured strong{color:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-kpi-card strong{font-size:clamp(30px,2.9vw,46px) !important;line-height:.9 !important;overflow-wrap:anywhere}

/* Estatísticas: o número é o protagonista do cartão. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-new > strong{display:block;font-size:clamp(36px,3.3vw,54px) !important;line-height:.86 !important;margin:6px 0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-new h3{font-size:18px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-new:nth-of-type(3n+1) > strong{color:var(--rd-verm-esc) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-kpi-icon{background:transparent !important;border:0 !important}

/* Comunidades */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .community-card .community-emoji{font-size:40px !important;background:none !important;border:0 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .community-card-stats strong{color:var(--rd-verm-esc) !important;font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;font-size:40px !important}

/* Tendências: barra do tópico mais procurado em vermelho */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-topic-row{border-radius:0 !important;border-color:var(--rd-filete) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-topic-row:first-child .stats-bar-fill,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-bar-row:first-child .stats-bar-fill{background:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-topic-growth.down{color:var(--rd-tinta-2) !important}

/* Notícias do Radar */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-news-card h3{font-size:22px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-news-image{border-bottom:2px solid var(--rd-tinta) !important}

/* Feed: cartões de atualização */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-card-footer{border-top:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-header{border-bottom:0 !important}

/* Rodapé */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .site-footer{
  background:var(--rd-tinta) !important;color:#fff !important;
  border-top:4px solid var(--rd-verm) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .site-footer a{color:#fff !important}

/* 6. TELEMÓVEL ------------------------------------------------------------- */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-top{
  background:var(--rd-papel) !important;
  border-bottom:3px solid var(--rd-tinta) !important;
  box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-search-bar{
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;background:#fff !important;box-shadow:var(--rd-sombra) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-search-go{border-radius:0 !important;background:var(--rd-verm) !important;color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav{
  background:var(--rd-tinta) !important;
  border:0 !important;border-top:3px solid var(--rd-verm) !important;
  border-radius:0 !important;box-shadow:none !important;
  left:0 !important;right:0 !important;bottom:0 !important;width:auto !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a{color:#BDB8C2 !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;font-weight:800 !important;text-transform:uppercase;font-size:10px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a svg{stroke:currentColor !important;color:inherit !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a.active,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a[aria-current="page"]{color:#fff !important;box-shadow:inset 0 3px 0 var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a.mobile-feed-link{background:var(--rd-verm) !important;color:#fff !important;border:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-bottom-nav a.mobile-feed-link *{color:#fff !important;stroke:#fff !important}
@media (max-width:760px){
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mobile-top .brand-title{display:none !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard-stats,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-stats{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:0 !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard-stats > *,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-stats > *{padding:10px !important;border:0 !important;border-right:1px solid var(--rd-filete) !important;box-shadow:none !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .event-dashboard-stats strong,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .radar-stats b,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .stats-hero-count strong{font-size:40px !important}

  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .topbar h1{font-size:clamp(42px,13vw,64px) !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .main h2{font-size:clamp(28px,8.4vw,38px) !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark strong,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark span,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-title strong,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .brand-title small{font-size:26px !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .content-card,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .post-card,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .social-card,
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-update-card{box-shadow:3px 3px 0 var(--rd-tinta) !important}
}

/* Ajustes da barra de navegação: a pesquisa cede lugar aos destinos. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-search{flex:0 1 clamp(200px,18vw,300px) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-nav{gap:2px !important}

/* Cantos retos em tudo o que é da plataforma. Ficam de fora só os elementos
   que são redondos por natureza: selos de verificação, gráficos circulares,
   pontos de notificação e bandeiras redondas. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main,.sidebar,.ms-gnav,.mobile-top) *:not(.verified-symbol):not(.verified-symbol *):not(.stats-donut):not(.stats-donut *):not(.stats-line-dot):not(.stats-line-dot-halo):not(.dot):not(.notification-dot):not(.flag-round):not(.feed-country-flag):not(circle){border-radius:0 !important}

/* ==========================================================================
   RONDA 2 (06/10/2026) — capas, imagens, botões e caixas a vazar
   ========================================================================== */

/* Barra lateral: sem filete à direita (os cartões com sombra batiam nele) e
   com folga para a sombra carimbada caber dentro da coluna. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .sidebar{border-right:0 !important;padding-right:12px !important;box-sizing:border-box}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .sidebar :is(.impact-box,.mentor-cta,.profile-card,.profile-summary){margin-right:6px !important;width:auto !important;max-width:calc(100% - 6px) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta .button,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta a.button{background:var(--rd-verm) !important;color:#fff !important;border:2px solid #fff !important;box-shadow:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .mentor-cta .button *{color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .impact-box{margin-top:14px !important}

/* Capas de perfil (perfil público, página da publicação, cartão lateral,
   o meu perfil). O desenho vem dos SVG em assets/img/covers/; aqui só se
   tira o arredondado, o brilho e se põe o filete negro por baixo. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.profile-cover,.share-publication-cover,.ms-pcard-cover,.cover-strip){
  background-image:var(--cover,url('/assets/img/covers/noite.svg?v=2610')) !important;
  background-size:cover !important;background-position:right center !important;
  background-color:var(--rd-tinta) !important;
  border:0 !important;border-bottom:3px solid var(--rd-tinta) !important;
  border-radius:0 !important;box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.profile-cover,.share-publication-cover,.ms-pcard-cover,.cover-strip)::before,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.profile-cover,.share-publication-cover,.ms-pcard-cover,.cover-strip)::after{display:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .share-publication-card{padding-top:0 !important;overflow:hidden}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .share-publication-cover{margin:0 !important;width:100% !important}

/* Fotografias de perfil: quadradas, com filete e sombra vermelha. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main-avatar,.profile-avatar,.share-publication-author > img,.ms-pcard-avatar,.ms-pcard-av,.profile-composer-top > img,.ms-person img){
  border-radius:0 !important;
  border:3px solid var(--rd-tinta) !important;
  background:var(--rd-papel-3) !important;
  box-shadow:4px 4px 0 var(--rd-verm) !important;
  object-fit:cover;
}

/* Bandeiras como capa dos cartões (vagas, bolsas, formações): em vez da
   bandeira esticada a ocupar o topo, um bloco de tinta com o disco vermelho
   e a bandeira colada como um recorte. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media){
  position:relative !important;display:block !important;
  height:118px !important;min-height:0 !important;
  background:var(--rd-tinta) !important;overflow:hidden !important;
  border:0 !important;border-bottom:2px solid var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media)::before{
  content:"" !important;display:block !important;position:absolute;
  right:-46px;top:-70px;width:220px;height:220px;border-radius:50% !important;
  background:var(--rd-verm) !important;opacity:1 !important;z-index:0;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media)::after{display:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media) img{
  position:absolute !important;inset:auto !important;left:20px !important;top:24px !important;
  width:96px !important;height:64px !important;max-width:none !important;min-height:0 !important;max-height:none !important;
  object-fit:cover !important;z-index:1;
  border:3px solid var(--rd-papel) !important;
  transform:rotate(-3deg);
  box-shadow:4px 4px 0 var(--rd-verm) !important;
  opacity:1 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .country-card-emoji{display:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media) :is(.country-card-badge,.scholarship-country){
  position:absolute !important;left:auto !important;top:auto !important;right:16px !important;bottom:14px !important;z-index:2;
  background:var(--rd-papel) !important;color:var(--rd-tinta) !important;
  font-size:12px !important;padding:5px 9px !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.country-card-cover,.scholarship-card-media) :is(.country-card-badge,.scholarship-country) *{color:var(--rd-tinta) !important}

/* Página de detalhe (vaga, bolsa, estudo): o painel da bandeira. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-flag{
  position:relative !important;overflow:hidden !important;
  background:var(--rd-tinta) !important;
  display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-end !important;
  gap:16px;padding:28px !important;min-height:260px;
  border-left:2px solid var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-flag::before{
  content:"" !important;display:block !important;position:absolute;right:-90px;top:-90px;
  width:320px;height:320px;border-radius:50% !important;background:var(--rd-verm) !important;opacity:1 !important;z-index:0;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-flag::after{display:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-flag img{
  position:relative !important;inset:auto !important;z-index:1;
  width:150px !important;height:100px !important;min-height:0 !important;max-height:none !important;object-fit:cover !important;flex:none !important;
  border:4px solid var(--rd-papel) !important;transform:rotate(-3deg);
  box-shadow:5px 5px 0 var(--rd-verm) !important;opacity:1 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-flag strong{
  position:relative;z-index:1;color:var(--rd-papel) !important;
  font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
  font-size:56px !important;line-height:.85 !important;text-transform:uppercase;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-chips span{
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;background:#fff !important;
  color:var(--rd-tinta) !important;font-weight:800 !important;font-size:11px !important;
  text-transform:uppercase;letter-spacing:.06em;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-chips span:first-child{background:var(--rd-verm) !important;color:#fff !important;border-color:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-institution{font-weight:800 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-detail-lead{font-family:var(--rd-serif) !important;font-size:18px !important;color:var(--rd-tinta-2) !important}

/* Fotografias das notícias e publicações: filete negro e cantos retos. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.feed-inline-image,.radar-news-image,.post-card .post-media img,.image-card img){border:2px solid var(--rd-tinta) !important;border-radius:0 !important}

/* Botões: um só desenho. Primário vermelho; secundário branco; ambos com
   filete, sem arredondado, e a sombra carimbada que "afunda" ao carregar. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.main,.sidebar,.ms-gnav,.public-shell) :is(.button,button.button,a.button,.btn,.community-join-btn,.scholarship-details-button,.ms-person-cta,.profile-share-btn-inline,.save-btn-detail){
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;
  font-family:var(--rd-cond) !important;font-weight:800 !important;font-stretch:85% !important;
  text-transform:uppercase !important;letter-spacing:.01em !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.button-primary,.community-join-btn,.ms-person-cta):active{transform:translate(3px,3px) !important;box-shadow:1px 1px 0 var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.ms-icon-action,.save-btn,.profile-share-btn,.ms-like,.ms-link-share-btn,.ms-more-copy-btn,.ms-comment-toggle){
  border:2px solid var(--rd-tinta) !important;background:#fff !important;color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.ms-icon-action,.save-btn,.profile-share-btn,.ms-like):hover{background:var(--rd-papel-2) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.save-btn,.ms-like)[aria-pressed="true"],
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-like.is-liked{background:var(--rd-verm) !important;color:#fff !important}

/* O botão "Atualizar" do feed (vive fora do .main, no corpo da página). */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-refresh{
  border-radius:0 !important;background:var(--rd-tinta) !important;color:#fff !important;
  border:2px solid var(--rd-tinta) !important;box-shadow:4px 4px 0 var(--rd-verm) !important;
  font-family:var(--rd-cond) !important;font-weight:800 !important;text-transform:uppercase !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-refresh *{color:#fff !important;stroke:#fff !important}

/* Etiquetas de tipo das publicações (Atualização, Partilha...) */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.share-publication-type,[class*="ms-tipo-"],.profile-repost-embed-tag){
  border-radius:0 !important;background:var(--rd-tinta) !important;color:#fff !important;border:0 !important;
  font-family:var(--rd-mono) !important;font-size:11px !important;font-weight:700 !important;
  text-transform:uppercase !important;letter-spacing:.05em !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .profile-repost-embed{border:2px solid var(--rd-tinta) !important;background:var(--rd-papel) !important;border-radius:0 !important}

/* Etiquetas soltas (país, cidade, seguidores...) nos perfis e cartões. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.tag-list .tag,.main .tag){
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;background:#fff !important;
  color:var(--rd-tinta) !important;font-family:var(--rd-cond) !important;font-weight:800 !important;
  font-size:11px !important;text-transform:uppercase !important;letter-spacing:.05em !important;
}
/* Caixa do prazo dentro das fichas */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .scholarship-deadline{background:#fff !important;border:2px solid var(--rd-tinta) !important;border-radius:0 !important}

/* ==========================================================================
   RODAPÉ DA REDE (.rd-ft) — ver partials/footer.php
   ========================================================================== */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .site-footer.rd-ft{
  display:block !important;
  background:var(--rd-tinta) !important;color:var(--rd-papel) !important;
  border:0 !important;border-top:6px solid var(--rd-verm) !important;border-radius:0 !important;
  box-shadow:none !important;margin:56px 0 0 !important;padding:0 !important;
  width:auto !important;max-width:none !important;grid-column:1 / -1 !important;
  overflow:hidden;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft *{box-sizing:border-box}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-in{max-width:1360px;margin:0 auto;padding:44px clamp(16px,3vw,32px) 0}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-top{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;
  padding-bottom:32px;border-bottom:2px solid rgb(243 239 231 / .22);
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-marca{display:flex !important;align-items:center;gap:18px;color:var(--rd-papel) !important;text-decoration:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-marca img{width:64px;height:64px;border:3px solid var(--rd-papel);box-shadow:5px 5px 0 var(--rd-verm);background:#fff}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-marca span{
  font-family:var(--rd-serif) !important;font-size:clamp(20px,2vw,28px) !important;line-height:1.2;max-width:22ch;color:var(--rd-papel) !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cta{display:flex;flex-wrap:wrap;gap:12px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-btn{
  display:inline-block;font-family:var(--rd-cond) !important;font-stretch:85%;font-weight:800 !important;
  font-size:14px !important;text-transform:uppercase;letter-spacing:.02em;text-decoration:none !important;
  padding:13px 18px;background:var(--rd-verm) !important;color:#fff !important;
  border:2px solid var(--rd-verm);box-shadow:4px 4px 0 var(--rd-papel);
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-btn.is-line{background:transparent !important;border-color:var(--rd-papel);box-shadow:none}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-btn:hover{transform:translate(-1px,-1px)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;padding:34px 0 38px;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols h2{
  margin:0 0 14px !important;padding:0 0 8px !important;border-bottom:3px solid var(--rd-verm) !important;
  font-family:var(--rd-mono) !important;font-size:12px !important;font-weight:700 !important;
  letter-spacing:.08em !important;text-transform:uppercase !important;color:var(--rd-papel) !important;
  font-stretch:100% !important;line-height:1.2 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols ul{list-style:none !important;margin:0 !important;padding:0 !important;display:flex;flex-direction:column;gap:9px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols a{
  color:#D9D4DD !important;text-decoration:none !important;font-weight:600 !important;font-size:15px !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols a:hover{color:#fff !important;box-shadow:inset 0 -2px 0 var(--rd-verm)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-base{border-top:2px solid rgb(243 239 231 / .22);padding:18px 0 22px;position:relative}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-nome{
  display:block;font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
  text-transform:uppercase;line-height:.78;letter-spacing:-.01em;
  font-size:clamp(64px,15.5vw,236px);color:var(--rd-papel);white-space:nowrap;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal{
  display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:16px;
  font-family:var(--rd-mono) !important;font-size:12px !important;text-transform:uppercase;letter-spacing:.05em;color:#BDB8C2;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal a{color:#BDB8C2 !important;text-decoration:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal a:hover{color:#fff !important}
/* O tema antigo pinta "qualquer link do rodapé" de papel no hover (body .site-footer a:hover).
   No rodapé escuro isso apagava a marca e os links. Aqui o hover é só cor e sublinhado. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft :is(.rd-ft-marca,.rd-ft-cols a,.rd-ft-legal a):is(:hover,:focus-visible){background:transparent !important;border-color:transparent !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft .rd-ft-marca:is(:hover,:focus-visible) span{color:#fff !important;text-decoration:underline !important;text-decoration-color:var(--rd-verm) !important;text-decoration-thickness:3px !important;text-underline-offset:6px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft .rd-ft-marca:is(:hover,:focus-visible) img{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--rd-verm)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft .rd-ft-btn:not(.is-line):is(:hover,:focus-visible){background:var(--rd-verm) !important;color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft .rd-ft-btn.is-line:is(:hover,:focus-visible){background:var(--rd-papel) !important;color:var(--rd-tinta) !important;border-color:var(--rd-papel) !important}
@media (max-width:1100px){
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:760px){
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .site-footer.rd-ft{margin-top:32px !important;padding-bottom:84px !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-marca img{width:52px;height:52px}
}

/* Fila de ações das publicações (curtir, comentar, partilhar...): cada botão
   com o seu filete e espaço entre eles; a fila não encosta no fundo da caixa. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-icon-row{
  gap:8px !important;row-gap:8px !important;padding:14px 0 16px !important;margin:0 !important;align-items:center !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-icon-row > *{min-height:42px !important;height:42px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .share-publication-body{padding-bottom:6px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.post-card,.social-card,.feed-update-card) > .ms-icon-row:last-child,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.feed-card-footer,.post-actions){padding-bottom:16px !important}
/* Hashtags e etiquetas pequenas das publicações */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-chips > *{
  border-radius:0 !important;background:transparent !important;border:1px solid var(--rd-tinta) !important;
  color:var(--rd-tinta) !important;font-family:var(--rd-mono) !important;font-size:12px !important;
}

/* ==========================================================================
   PAINEL ADMIN (.ms-admin) — outubro de 2026
   O admin herda tudo o que está acima (tokens, barra lateral, cartões,
   botões, campos). Aqui ficam só as peças que existem lá: indicadores,
   tabelas, avisos, formulários longos, e os painéis com estilo próprio
   (editorial, Gemini, Social Media Studio, capas).
   ========================================================================== */
html:not(#ms):not(#rd) body.ms-admin:not(#rd){
  --ad-blue:var(--rd-verm);--ad-blue-dark:var(--rd-verm-esc);--ad-ink:var(--rd-tinta);--ad-line:var(--rd-filete);--ad-sub:var(--rd-tinta-2);
  --line:var(--rd-tinta);--line-2:var(--rd-filete);--navy:var(--rd-tinta);--muted:var(--rd-tinta-3);
}
/* Cartões e painéis próprios do admin */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.admin-card,.gemini-kpi,.gemini-panel,.gemini-module,.gemini-table-wrap,.ed-card,.ed-item,.ss-card,.ss-panel,.admin-import-card,.migration-admin-card,.stats-admin-card,.mentor-review-card,.admin-session-card,.blog-posts-kpi,.capas-card,.admin-toolbar,.admin-bulk-toolbar){
  background:#fff !important;border:2px solid var(--rd-tinta) !important;border-radius:0 !important;
  box-shadow:var(--rd-sombra) !important;color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .admin-toolbar,
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .admin-bulk-toolbar{box-shadow:none !important}
/* Indicadores: o número grande, condensado */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.metric,.gemini-kpi,.ed-card,.blog-posts-kpi){border-radius:0 !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .metric{background:#fff !important;border:2px solid var(--rd-tinta) !important;box-shadow:var(--rd-sombra) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.metric strong,.gemini-kpi strong,.ed-card b,.blog-posts-kpi strong,.admin-user-metrics strong){
  font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;
  font-size:clamp(34px,3vw,52px) !important;line-height:.9 !important;letter-spacing:0 !important;color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .gemini-kpi.is-hoje{background:var(--rd-tinta) !important;box-shadow:var(--rd-sombra-v) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .gemini-kpi.is-hoje *{color:#fff !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .gemini-kpi.is-hoje strong{color:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.metric small,.metric span,.gemini-kpi span,.gemini-kpi small,.ed-card span,.ed-card small){
  font-family:var(--rd-mono) !important;font-size:11px !important;text-transform:uppercase;letter-spacing:.04em;color:var(--rd-tinta-2) !important;
}
/* Tabelas: cabeçalho a tinta, linhas com filete fino */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.admin-table,.ss-table,.ed-table,.gemini-admin table,.main table){border-collapse:collapse !important;border-spacing:0 !important;width:100%}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main table th{
  background:var(--rd-tinta) !important;color:#fff !important;font-family:var(--rd-mono) !important;font-size:11px !important;
  font-weight:700 !important;text-transform:uppercase !important;letter-spacing:.05em !important;padding:10px 12px !important;border:0 !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main table td{
  background:#fff !important;border:0 !important;border-bottom:1px solid var(--rd-filete) !important;padding:11px 12px !important;color:var(--rd-tinta) !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main table tr:hover td{background:var(--rd-papel) !important}
/* Etiquetas de estado */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.gemini-status,.approval-pill,.ss-pill,.ed-pill,.ed-tag,.publi-badge,.admin-session-badge,.pill){
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;background:#fff !important;color:var(--rd-tinta) !important;
  font-family:var(--rd-cond) !important;font-weight:800 !important;font-size:11px !important;text-transform:uppercase !important;letter-spacing:.05em !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.gemini-status.ok,.approval-pill.is-approved,.flash-ok){background:#E5F2EA !important;border-color:#1F6B40 !important;color:#1F6B40 !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.gemini-status.warn,.approval-pill.is-pending){background:#F8EED8 !important;border-color:#7A5310 !important;color:#7A5310 !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.gemini-status.bad,.ed-bad){background:var(--rd-verm-claro) !important;border-color:var(--rd-verm-esc) !important;color:var(--rd-verm-esc) !important}
/* Avisos */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.flash,.flash-message,.admin-inline-note,.ss-warn,.ss-hint){
  border-radius:0 !important;border:0 !important;border-left:6px solid var(--rd-tinta) !important;background:#fff !important;color:var(--rd-tinta) !important;box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.flash.ok,.flash-ok){border-left-color:#1F6B40 !important;background:#E5F2EA !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.flash.error,.flash-error,.ss-warn){border-left-color:var(--rd-verm) !important;background:var(--rd-verm-claro) !important}
/* Formulários */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main label{color:var(--rd-tinta) !important;font-weight:700 !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
  border-radius:0 !important;border:2px solid var(--rd-tinta) !important;background:#fff !important;color:var(--rd-tinta) !important;
  -webkit-text-fill-color:var(--rd-tinta) !important;box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main :is(input,select,textarea):focus{box-shadow:3px 3px 0 var(--rd-verm) !important;outline:none !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main input[type=checkbox],
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main input[type=radio]{accent-color:var(--rd-verm)}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main code,
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .ed-code{background:var(--rd-papel-2) !important;border:1px solid var(--rd-filete) !important;border-radius:0 !important;color:var(--rd-tinta) !important;font-family:var(--rd-mono) !important}
/* Botões de perigo */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.danger-button,.button-danger-solid){background:var(--rd-tinta) !important;color:#fff !important;border-color:var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.danger-button,.button-danger-solid):hover{background:var(--rd-verm-esc) !important}
/* Barra lateral do admin: rótulos e o cartão da sessão */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .admin-sidebar{background:var(--rd-papel) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .admin-session-card{box-shadow:none !important}
/* Topo das páginas do admin (há páginas com o h1 dentro de .topbar sem .hello) */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) .main > .topbar h1{font-size:clamp(40px,4.6vw,72px) !important}
/* Painel editorial e Social Media Studio: barras de progresso */
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.ed-bar,.ss-bar){border-radius:0 !important;background:var(--rd-papel-2) !important;border:2px solid var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-admin:not(#rd) :is(.ed-bar,.ss-bar) > *{border-radius:0 !important;background:var(--rd-verm) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-link.active :is(svg,svg *){stroke:#fff !important;color:#fff !important}

/* Entrar / criar conta: o painel da esquerda em tinta com o disco vermelho. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual{
  background:var(--rd-tinta) !important;color:#fff !important;border-radius:0 !important;
  border:2px solid var(--rd-tinta) !important;position:relative;overflow:hidden;box-shadow:none !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual::before{
  content:"" !important;position:absolute;right:-120px;bottom:-140px;width:420px;height:420px;border-radius:50%;
  background:var(--rd-verm) !important;opacity:1 !important;display:block !important;z-index:0;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual > *{position:relative;z-index:1}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual :is(h1,h2,p){color:#fff !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual h1{
  font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;text-transform:uppercase !important;
  font-size:clamp(48px,6vw,96px) !important;line-height:.86 !important;letter-spacing:0 !important;
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual p{font-family:var(--rd-serif) !important;font-size:20px !important;color:#E4DFE8 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) :is(.public-card,.auth-grid){border-radius:0 !important;box-shadow:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .public-card{border:0 !important;background:transparent !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .form-card h1,
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .form-card h2{font-family:var(--rd-cond) !important;font-stretch:62% !important;font-weight:900 !important;text-transform:uppercase !important;font-size:44px !important;line-height:.9 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #fff inset !important}

/* Rodapé: seletor de aparência (papel/noite/auto) e botão da edição em PDF. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal .ms-tema{margin-left:auto;color:#F3EFE7}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal .ms-tema a{color:#F3EFE7 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft-legal .ms-tema a.is-on{background:#F3EFE7 !important;color:#121115 !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .rd-ft .rd-ft-btn.rd-ft-pdf::before{content:"";display:inline-block;width:11px;height:13px;margin-right:9px;vertical-align:-1px;background:linear-gradient(#FF3B1F 0 3px,transparent 3px 5px,currentColor 5px 6px,transparent 6px 8px,currentColor 8px 9px,transparent 9px 11px,currentColor 11px 12px,transparent 12px);border:1.5px solid currentColor}
/* Navegação de topo: o seletor fica compacto, só ícones. */
/* Aparência no menu da conta (a barra de topo não tem espaço para mais um controlo). */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-tema{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-top:2px solid var(--rd-tinta)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-tema > span{font-family:var(--rd-mono) !important;font-size:11px !important;text-transform:uppercase;letter-spacing:.06em;color:var(--rd-tinta-3)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-tema .ms-tema{color:var(--rd-tinta)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-tema .ms-tema a{min-height:30px;padding:0 7px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-account-tema .ms-tema a span{display:none}

/* Barra de topo: os links têm a largura de que precisam; quem encolhe é a busca.
   (Antes a navegação ficava com menos espaço do que o texto pedia e os itens
   transbordavam por cima da busca e do seletor de país.) */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-nav{flex:0 0 auto !important;min-width:max-content}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-search{flex:1 1 220px !important;min-width:150px !important;max-width:340px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-tools{flex:0 0 auto !important;gap:8px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-tools .country-chip{min-width:0 !important;width:auto !important;padding-left:10px !important;padding-right:8px !important;gap:8px !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link{min-width:0 !important;padding-left:10px !important;padding-right:10px !important}
@media (max-width:1440px){
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark{font-size:30px !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-me-txt{display:none !important}
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-link{padding-left:7px !important;padding-right:7px !important}
}
@media (max-width:1280px){
  html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-gnav-wordmark{display:none !important}
}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-tema{display:flex;flex-direction:column;gap:8px;margin:18px 0 6px;padding:14px 0 0;border-top:2px solid var(--rd-tinta)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-tema > span{font-family:var(--rd-mono) !important;font-size:11px !important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--rd-verm-esc)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-tema .ms-tema{color:var(--rd-tinta);align-self:flex-start}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .side-tema .ms-tema a{min-height:36px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .migration-live-badge{white-space:nowrap;flex-shrink:0}

/* ── Ranking do feed: ordem, "Porque estou a ver isto?" e "Não me interessa" ── */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-ordem{display:flex;align-items:center;gap:0;margin:-4px 0 18px;font-family:var(--rd-mono) !important;font-size:11px !important;text-transform:uppercase;letter-spacing:.06em}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-ordem-r{color:var(--rd-tinta-3);margin-right:10px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-ordem a{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:2px solid var(--rd-tinta);color:var(--rd-tinta) !important;text-decoration:none !important;background:transparent !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-ordem a + a{border-left:0}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-feed-ordem a.is-on{background:var(--rd-tinta) !important;color:var(--rd-papel) !important;box-shadow:inset 0 -3px 0 var(--rd-verm)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque{position:relative;display:inline-block}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque > summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid var(--rd-tinta);background:var(--rd-papel);color:var(--rd-tinta);cursor:pointer}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque > summary::-webkit-details-marker{display:none}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque[open] > summary{background:var(--rd-tinta);color:var(--rd-papel)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:min(290px,80vw);background:var(--ms-ui-surface,#fff);border:2px solid var(--rd-tinta);box-shadow:5px 5px 0 var(--rd-verm);padding:14px;display:flex;flex-direction:column;gap:10px;text-align:left}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop strong{font-family:var(--rd-mono) !important;font-size:11px !important;text-transform:uppercase;letter-spacing:.07em;color:var(--rd-verm-esc) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop ul{margin:0;padding:0 0 0 16px;display:flex;flex-direction:column;gap:5px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop li{font-size:14px !important;line-height:1.35;color:var(--rd-tinta) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop .feed-ocultar{min-height:40px;border:2px solid var(--rd-tinta);background:transparent;color:var(--rd-tinta);font-family:var(--rd-cond) !important;font-weight:800;text-transform:uppercase;font-size:13px !important;cursor:pointer}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop .feed-ocultar:hover{background:var(--rd-verm);border-color:var(--rd-verm);color:#fff}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop .feed-porque-mais{font-size:12px !important;color:var(--rd-tinta-3) !important;text-decoration:underline !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .is-feed-oculto > :not(.feed-oculto-aviso){display:none !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-oculto-aviso{margin:0;padding:6px 0;font-family:var(--rd-mono) !important;font-size:12px !important;text-transform:uppercase;letter-spacing:.05em;color:var(--rd-tinta-3) !important}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop .feed-copiar{min-height:36px;border:0;border-top:1px solid var(--rd-filete);background:transparent;color:var(--rd-tinta);font-family:var(--rd-cond) !important;font-weight:700;font-size:13px !important;text-align:left;padding:8px 0 0;cursor:pointer}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .feed-porque-pop .feed-copiar:hover{color:var(--rd-verm-esc)}
/* Interesses no perfil (alimentam o ranking do feed). */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesses{border:0;margin:0;padding:0}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesses legend{font-weight:700;margin-bottom:8px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesses legend small{display:block;font-weight:400;color:var(--rd-tinta-3)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesses-g{display:flex;flex-wrap:wrap;gap:8px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesse{position:relative;display:inline-flex;cursor:pointer}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesse input{position:absolute;opacity:0;width:1px;height:1px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesse span{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:2px solid var(--rd-tinta);background:var(--ms-ui-surface,#fff);color:var(--rd-tinta);font-weight:700;font-size:14px}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesse input:checked + span{background:var(--rd-tinta);color:var(--rd-papel);box-shadow:inset 0 -3px 0 var(--rd-verm)}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .ms-interesse input:focus-visible + span{outline:3px solid var(--rd-verm);outline-offset:2px}
/* Modo privado: aviso no login para quem veio de uma página fechada. */
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual .auth-privado{margin-top:18px;padding:12px 14px;border:2px solid var(--rd-papel);font-size:15px !important;line-height:1.4}
html:not(#ms):not(#rd) body.ms-rede:not(#rd) .auth-visual .auth-privado a{color:var(--rd-papel) !important;text-decoration:underline !important}
