/* SEG Académie — CN-SEG-007 P3-B Option B — Contraste cartes ECUE R5.
   Correctif purement visuel : aucune URL, progression, illustration ou autorisation modifiée. */

/* Le bloc Mes ECUE est le seul grand conteneur dont le fond change. */
body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) {
  background: #E7F1F5 !important;
  border: 1px solid #D0E1E9 !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(23, 76, 104, .075) !important;
}

body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) > header,
body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) > .seg-boost-heading-description {
  background: transparent !important;
}

body.seg-boost-dashboard #p12Ecues.p12-list {
  background: transparent !important;
}

/* Cartes : blanc net, trait bleu-gris visible, légère élévation. */
body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) #p12Ecues .r286-ocean-card {
  background: #FFFFFF !important;
  border: 2px solid #BAD4DF !important;
  box-shadow: 0 9px 23px rgba(17, 70, 100, .115) !important;
}
body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) #p12Ecues .r286-ocean-card:hover {
  border-color: #73BCCA !important;
  box-shadow: 0 13px 28px rgba(9, 83, 111, .16) !important;
}

@media (max-width: 760px) {
  body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) {
    border-radius: 17px !important;
  }
  body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) #p12Ecues .r286-ocean-card {
    border: 2px solid #BAD4DF !important;
    box-shadow: 0 6px 17px rgba(17, 70, 100, .11) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.seg-boost-dashboard .p12-column > article.p12-card:has(> #p12Ecues) #p12Ecues .r286-ocean-card:hover {
    transition: none !important;
    transform: none !important;
  }
}
