/* Tableau de bord — lecture premium, claire et immédiatement actionnable. */
#dashboardView{max-width:1720px;margin:0 auto}
#dashboardView .dashboard-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 19px;padding:4px 0 17px;border-bottom:1px solid #e3ece7}
#dashboardView .dashboard-title:after{display:none}
#dashboardView .dashboard-title .eyebrow{display:block;margin:0 0 7px;color:#0b9368;font-size:11px;font-weight:800;letter-spacing:1.35px}
#dashboardView .dashboard-title h1{font-size:31px;letter-spacing:-1.25px;line-height:1.08}
#dashboardView .dashboard-title>div>p:last-child{max-width:720px;margin-top:7px;color:#66766e;font-size:14px;line-height:1.48}
#dashboardView .dashboard-title:before{content:'Vue globale';display:inline-flex;align-items:center;gap:7px;order:2;margin-bottom:2px;padding:8px 11px;border:1px solid #d6ebe0;border-radius:999px;background:#f4fcf7;color:#087f5b;font-size:11px;font-weight:800;white-space:nowrap}
#dashboardView .dashboard-title:before{box-shadow:inset 0 0 0 3px #fff}

#dashboardView .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 14px}
#dashboardView .dashboard-kpi{min-height:166px;padding:17px 18px 15px;border:1px solid #deebe4;border-radius:16px;background:linear-gradient(145deg,#fff 8%,#f6fcf8 100%);box-shadow:0 8px 24px rgba(21,65,43,.055);isolation:isolate}
#dashboardView .dashboard-kpi:before{content:'';position:absolute;inset:0 auto 0 0;width:4px;border-radius:16px 0 0 16px;background:#0eaa78}
#dashboardView .dashboard-kpi:after{width:118px;height:118px;right:-45px;bottom:-61px;background:radial-gradient(circle,#ddf7e9 0%,rgba(221,247,233,0) 70%)}
#dashboardView .dashboard-kpi:nth-child(2):before{background:#2b9fdb}
#dashboardView .dashboard-kpi:nth-child(2) .dashboard-kpi-icon{background:#e5f4fc;color:#197daa}
#dashboardView .dashboard-kpi:nth-child(3):before{background:#d09231}
#dashboardView .dashboard-kpi:nth-child(3) .dashboard-kpi-icon{background:#fff4dd;color:#a66808}
#dashboardView .dashboard-kpi:nth-child(4):before{background:#0eaa78}
#dashboardView .dashboard-kpi-icon{width:38px;height:38px;border-radius:12px;background:#def7e9;color:#05875e;font-size:17px}
#dashboardView .dashboard-kpi-rate{padding:5px 8px;border:1px solid #e0ebe5;border-radius:999px;background:rgba(255,255,255,.72);color:#65766d;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.35px;text-transform:uppercase}
#dashboardView .dashboard-kpi span{margin-top:15px;color:#617168;font-size:12px;font-weight:700}
#dashboardView .dashboard-kpi strong{font-size:31px;line-height:1.05;letter-spacing:-1.25px}
#dashboardView .dashboard-kpi small{position:relative;margin-top:8px;padding-top:8px;border-top:1px solid #e7efea;color:#798780;font-size:11px;line-height:1.3}

#dashboardView .dashboard-layout{grid-template-columns:minmax(0,1.55fr) minmax(330px,.9fr);gap:14px;align-items:stretch;margin:0}
#dashboardView .dashboard-panel{min-width:0;padding:19px;border:1px solid #deebe4;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(21,65,43,.045)}
#dashboardView .panel-heading{padding-bottom:13px;border-bottom:1px solid #edf2ef}
#dashboardView .panel-heading h2{font-size:18px;letter-spacing:-.55px}
#dashboardView .panel-heading p{margin-top:4px;color:#78867f;font-size:12px;line-height:1.42}

#dashboardView .status-results{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:14px}
#dashboardView .status-card{min-height:108px;padding:11px 10px;border:1px solid #e5ece8;border-radius:12px;background:#fbfdfc}
#dashboardView .status-card:hover{transform:none;border-color:#d6e8de;background:#f8fcfa}
#dashboardView .status-card i{height:5px;margin-bottom:11px;border-radius:99px}
#dashboardView .status-card span{min-height:30px;color:#617168;font-size:10px;font-weight:700;line-height:1.28}
#dashboardView .status-card strong{margin-top:3px;color:#183229;font-size:24px;line-height:1;letter-spacing:-.8px}
#dashboardView .status-card small{margin-top:5px;color:#89978f;font-size:10px}

#dashboardView .inline-details{margin-top:15px;padding-top:14px}
#dashboardView .inline-details-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
#dashboardView .inline-details-title strong{color:#254236;font-size:12px}
#dashboardView .inline-details-title span{font-size:10px}
#dashboardView .metrics-table{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;margin-top:8px}
#dashboardView .metric-line{min-height:39px;padding:8px 0;font-size:11px}
#dashboardView .metric-line span{color:#697971}
#dashboardView .metric-line strong{color:#0b805b;font-size:13px}

#dashboardView .dashboard-layout>article:last-child{display:flex;flex-direction:column;background:linear-gradient(155deg,#fff 0%,#f3fcf7 100%)}
#dashboardView .single-account-stats{gap:9px;margin-top:14px}
#dashboardView .single-account-stats>div{padding:15px 8px;border-color:#d8ece2;border-radius:13px;background:rgba(255,255,255,.82);box-shadow:0 3px 10px rgba(21,65,43,.025)}
#dashboardView .single-account-stats span{color:#617168;font-size:12px}
#dashboardView .single-account-stats strong{margin-top:7px;color:#087f5b;font-size:27px;letter-spacing:-.9px}
#dashboardView .single-account-note{margin:14px 0 0;padding-top:12px;border-top:1px solid #dcece3;color:#73827a;font-size:12px;line-height:1.4}

@media(max-width:1120px){
  #dashboardView .dashboard-layout{grid-template-columns:1fr}
  #dashboardView .dashboard-layout>article:last-child{min-height:0}
  #dashboardView .status-results{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  #dashboardView .dashboard-title{align-items:flex-start;flex-direction:column;gap:11px}
  #dashboardView .dashboard-title:before{order:initial}
  #dashboardView .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  #dashboardView .status-results{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  #dashboardView .dashboard-title h1{font-size:27px}
  #dashboardView .dashboard-title>div>p:last-child{font-size:13px}
  #dashboardView .dashboard-kpis{gap:9px}
  #dashboardView .dashboard-kpi{min-height:150px;padding:14px 15px}
  #dashboardView .dashboard-kpi strong{font-size:27px}
  #dashboardView .dashboard-kpi small{font-size:10px}
  #dashboardView .dashboard-panel{padding:15px}
  #dashboardView .status-results{grid-template-columns:repeat(2,minmax(0,1fr))}
  #dashboardView .metrics-table{grid-template-columns:repeat(2,minmax(0,1fr))}
}
