/* SEG Académie — CN-SEG-007 / P3-B — Cartes ECUE R2.
   Présentation uniquement : les règles de droits, progression, ECUE et URLs restent en JS. */
body.seg-boost-dashboard #p12Ecues.p12-list{
  gap:clamp(14px,1.4vw,22px)!important;
  align-items:stretch!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid #d6e8ee!important;
  border-radius:21px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fff 72%,#f8fcfd 100%)!important;
  box-shadow:0 8px 24px rgba(18,78,108,.09)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card::after{
  display:none!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card:hover{
  border-color:#8bd0da!important;
  box-shadow:0 14px 30px rgba(9,93,116,.15)!important;
  transform:translateY(-2px)!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card > .seg-p3b-ecue-cover{
  display:block!important;
  width:calc(100% + 32px)!important;
  height:auto!important;
  aspect-ratio:840 / 460!important;
  min-height:0!important;
  max-height:234px!important;
  margin:-16px -16px 4px!important;
  border:0!important;
  border-bottom:1px solid #cfe5ed!important;
  border-radius:20px 20px 0 0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  background:linear-gradient(120deg,#0a779a,#25c3bd)!important;
  flex:0 0 auto!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card > .seg-p3b-ecue-cover > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-name{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:4px 0 5px!important;
  margin:0!important;
  min-height:74px!important;
  border:0!important;
  background:transparent!important;
  white-space:normal!important;
  overflow:visible!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-name::before{
  display:none!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-name b{
  display:block!important;
  font-size:clamp(16px,1.22vw,19px)!important;
  font-weight:850!important;
  line-height:1.37!important;
  letter-spacing:-.012em!important;
  color:#133e57!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-meta{
  display:inline-block!important;
  max-width:100%!important;
  color:#477385!important;
  background:#ecf7f8!important;
  border:1px solid #d6eced!important;
  border-radius:9px!important;
  padding:5px 9px!important;
  line-height:1.45!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:11.5px!important;
  font-weight:630!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card > div:has(> .p12-bar){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:8px 12px!important;
  min-width:0!important;
  padding:12px 13px!important;
  margin:0!important;
  border:1px solid #e0edf0!important;
  border-radius:13px!important;
  background:#f6fbfc!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card > div:has(> .p12-bar)::before{
  content:"Progression"!important;
  display:block!important;
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  color:#5d7c89!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-percent{
  grid-column:2!important;
  grid-row:1!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.3!important;
  color:#087a91!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-bar{
  grid-column:1/-1!important;
  grid-row:2!important;
  min-width:0!important;
  height:7px!important;
  margin:0!important;
  border-radius:99px!important;
  background:#dfedf0!important;
  overflow:hidden!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-bar i{
  background:linear-gradient(90deg,#12acae,#0a80b2)!important;
  border-radius:99px!important;
  height:100%!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
  min-width:0!important;
  margin-top:auto!important;
  padding:13px 0 0!important;
  border-top:1px solid #e0edf0!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .r279-ecue-action{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  grid-column:auto!important;
  grid-row:auto!important;
  min-width:0!important;
  width:100%!important;
  min-height:67px!important;
  padding:9px 5px!important;
  border-radius:12px!important;
  font-size:11.5px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  box-shadow:none!important;
  transition:background-color .15s ease,border-color .15s ease,transform .15s ease!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .r279-ecue-action::before{
  display:block!important;
  margin:0 0 5px!important;
  font-size:20px!important;
  line-height:1!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-synth{
  background:#eaf7fa!important;
  color:#0d698b!important;
  border:1px solid #bbe1e8!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-synth::before{
  content:"📖"!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-td{
  background:#eff4ff!important;
  color:#245eaa!important;
  border:1px solid #d1ddf7!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-exam{
  background:#0b4974!important;
  color:#fff!important;
  border:1px solid #0b4974!important;
  font-weight:850!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-agenda{
  grid-column:1/-1!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  min-height:40px!important;
  padding:8px 11px!important;
  gap:8px!important;
  color:#397184!important;
  background:#f7fbfc!important;
  border:1px solid #dbeaf0!important;
  font-size:11.5px!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-agenda::before{
  margin:0!important;
  font-size:16px!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > a:hover:not([aria-disabled="true"]){
  border-color:#1796ae!important;
  transform:translateY(-1px)!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > a[aria-disabled="true"]{
  opacity:.48!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card a:focus-visible{
  outline:3px solid #d99c2a!important;
  outline-offset:3px!important;
}
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r1569-merge-note,
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r32367-ecue-restricted,
body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-general-ref{
  grid-column:1/-1!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:1199px){
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card > .seg-p3b-ecue-cover{max-height:266px!important;}
}
@media(max-width:760px){
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card{
    padding:13px!important;
    gap:10px!important;
    border-radius:17px!important;
  }
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card > .seg-p3b-ecue-cover{
    width:calc(100% + 26px)!important;
    margin:-13px -13px 3px!important;
    border-radius:16px 16px 0 0!important;
    max-height:218px!important;
  }
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-name{min-height:0!important;}
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .r276-name b{font-size:16px!important;}
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .r279-ecue-action{
    min-height:64px!important;
    font-size:11px!important;
    padding:8px 4px!important;
  }
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .seg-boost-action-agenda{
    min-height:40px!important;
  }
}
@media(max-width:380px){
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links{gap:5px!important;}
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card .p12-ecue-direct-links > .r279-ecue-action{
    min-height:69px!important;
    font-size:10.7px!important;
    padding:7px 3px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card,
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card:hover,
  body.seg-boost-dashboard #p12Ecues .r286-ocean-card a{
    transition:none!important;
    transform:none!important;
  }
}
