/* SEG R1617.1-S — Design System Étudiant Océan V2.
   Additive student-dashboard-only visual styling. No auth, progress, routing or data changes.
   Source: R1617.1 unified editor visual identity. WCAG focus/contrast retained. */
:root{
  --seg-v2-navy:#103c55;
  --seg-v2-deep:#113b56;
  --seg-v2-teal:#147b83;
  --seg-v2-teal-dark:#0f636a;
  --seg-v2-bg:#f2f6f9;
  --seg-v2-card:#ffffff;
  --seg-v2-border:#dce6ed;
  --seg-v2-text:#19354a;
  --seg-v2-muted:#607889;
  --seg-v2-focus:#67bbc0;
  --seg-v2-soft:#eaf5f6;
}
body.seg-boost-dashboard.seg-r396-learn,
body.seg-r396-info.seg-v2-student-preview{
  background:var(--seg-v2-bg)!important;color:var(--seg-v2-text)!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}
body.seg-boost-dashboard.seg-r396-learn .p12-top,
body.seg-r396-info.seg-v2-student-preview .p12-top{
  background:var(--seg-v2-navy)!important;
  color:#fff!important;border-bottom:1px solid #275b73!important;
  box-shadow:0 3px 16px rgba(16,60,85,.16)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-brand b,
body.seg-boost-dashboard.seg-r396-learn .p12-brand small,
body.seg-r396-info.seg-v2-student-preview .p12-brand b,
body.seg-r396-info.seg-v2-student-preview .p12-brand small{
  color:#fff!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-user,
body.seg-boost-dashboard.seg-r396-learn .p12-user b,
body.seg-boost-dashboard.seg-r396-learn .p12-user small,
body.seg-r396-info.seg-v2-student-preview .p12-user,
body.seg-r396-info.seg-v2-student-preview .p12-user b,
body.seg-r396-info.seg-v2-student-preview .p12-user small{
  color:#fff!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-avatar,
body.seg-r396-info.seg-v2-student-preview .p12-avatar{
  background:#d6f2ef!important;border:2px solid #7bcbd1!important;color:#103c55!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-search,
body.seg-r396-info.seg-v2-student-preview .p12-search{
  background:#1b5069!important;color:#e6f4f6!important;border:1px solid #47768b!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-side,
body.seg-r396-info.seg-v2-student-preview .p12-side{
  background:#fff!important;border-right:1px solid var(--seg-v2-border)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-side a,
body.seg-r396-info.seg-v2-student-preview .p12-side a{
  color:var(--seg-v2-deep)!important;border-radius:10px!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-side a.active,
body.seg-boost-dashboard.seg-r396-learn .p12-side a[aria-current="page"],
body.seg-r396-info.seg-v2-student-preview .p12-side a.active{
  color:#0e4c53!important;background:var(--seg-v2-soft)!important;
  box-shadow:inset 3px 0 0 var(--seg-v2-teal)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-main,
body.seg-r396-info.seg-v2-student-preview .p12-main{
  background:transparent!important;color:var(--seg-v2-text)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium,
body.seg-r396-info.seg-v2-student-preview .p12-head{
  background:linear-gradient(118deg,#103c55,#147b83)!important;
  border:1px solid #245f72!important;border-radius:16px!important;
  color:#fff!important;box-shadow:0 8px 24px rgba(16,60,85,.11)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium h1,
body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium p,
body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium strong,
body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium small,
body.seg-r396-info.seg-v2-student-preview .p12-head h1,
body.seg-r396-info.seg-v2-student-preview .p12-head p{
  color:#fff!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-card,
body.seg-boost-dashboard.seg-r396-learn #p12Ecues .r286-ocean-card,
body.seg-r396-info.seg-v2-student-preview .p12-card{
  background:#fff!important;border:1px solid var(--seg-v2-border)!important;
  border-radius:14px!important;box-shadow:0 3px 15px rgba(16,60,85,.055)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-card h2,
body.seg-boost-dashboard.seg-r396-learn #p12Ecues .r276-name b,
body.seg-r396-info.seg-v2-student-preview .p12-card h2{
  color:var(--seg-v2-deep)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-card a:not([aria-disabled="true"]),
body.seg-boost-dashboard.seg-r396-learn #p12Ecues a:not([aria-disabled="true"]),
body.seg-r396-info.seg-v2-student-preview .p12-card a{
  color:#096b73;
}
body.seg-boost-dashboard.seg-r396-learn .p12-card a:hover:not([aria-disabled="true"]),
body.seg-r396-info.seg-v2-student-preview .p12-card a:hover{
  color:#074e56;
}
body.seg-boost-dashboard.seg-r396-learn #p12ResumeCta,
body.seg-boost-dashboard.seg-r396-learn .p12-quick a,
body.seg-boost-dashboard.seg-r396-learn .p12-homework-tabs button.active,
body.seg-r396-info.seg-v2-student-preview .p12-quick a{
  background:#147b83!important;color:#fff!important;border-color:#147b83!important;
  border-radius:9px!important;
}
body.seg-boost-dashboard.seg-r396-learn #p12Ecues .p12-bar i,
body.seg-boost-dashboard.seg-r396-learn .p12-progress i{
  background:#147b83!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-kpis article,
body.seg-r396-info.seg-v2-student-preview .p12-kpis article{
  background:#fff!important;color:var(--seg-v2-deep)!important;border:1px solid var(--seg-v2-border)!important;
  border-radius:12px!important;box-shadow:0 2px 10px rgba(16,60,85,.05)!important;
}
body.seg-boost-dashboard.seg-r396-learn .p12-kpis article strong,
body.seg-r396-info.seg-v2-student-preview .p12-kpis article strong{
  color:#103c55!important;
}
body.seg-boost-dashboard.seg-r396-learn :is(a,button,input,select,textarea):focus-visible,
body.seg-r396-info.seg-v2-student-preview :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid var(--seg-v2-focus)!important;outline-offset:3px!important;
}
body.seg-boost-dashboard.seg-r396-learn [aria-disabled="true"],
body.seg-boost-dashboard.seg-r396-learn :disabled{
  cursor:not-allowed;
}
@media(max-width:760px){
 body.seg-boost-dashboard.seg-r396-learn .p12-head.r273-welcome.r282-welcome.r287-premium,
 body.seg-r396-info.seg-v2-student-preview .p12-head{
   border-radius:12px!important;
 }
 body.seg-boost-dashboard.seg-r396-learn .p12-card,
 body.seg-r396-info.seg-v2-student-preview .p12-card{
   border-radius:12px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.seg-boost-dashboard.seg-r396-learn *,
 body.seg-r396-info.seg-v2-student-preview *{scroll-behavior:auto!important}
}

/* R1617.1-S correction : priorities of legacy premium skin on the ACTUAL dashboard.
   Color-only: no display, position, dimensions, ordering, visibility or HTML edits. */
html body.seg-boost-dashboard.seg-r396-premium.seg-r396-learn header.p12-top {
 background:#103c55!important;
 background-color:#103c55!important;
 color:#fff!important;
 border-bottom-color:#275b73!important;
}
html body.seg-boost-dashboard.seg-r396-premium.seg-r396-learn header.p12-top :is(a,b,small,label,span) { color:#fff!important; }
html body.seg-boost-dashboard.seg-r396-premium.seg-r396-learn .p12-card {
 background-color:#fff!important;
 border-color:#dce6ed!important;
}
html body.seg-boost-dashboard.seg-r396-premium.seg-r396-learn .p12-main {
 background-color:transparent!important;
}
