/* Maternys Dashboard KPIs 0.2.23 FINAL — design 0.2.21 + lotus colorés */
.m-dashboard{max-width:1240px;margin:0 auto;padding:26px;background:#fff;box-sizing:border-box}
.m-dashboard *{box-sizing:border-box}
.m-dashboard .m-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
.m-dashboard .m-card{position:relative;width:100%;min-width:0;background:#fff;border:1px solid var(--m-border,#e9eef3);border-radius:18px;box-shadow:0 8px 24px rgba(26,39,60,.07);padding:28px}
.m-dashboard .m-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:#bfd885}
.m-dashboard .m-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.m-dashboard .m-card-head h3{margin:0;min-width:0}
.m-dashboard .m-card-head .m-actions{margin:0;flex:0 0 auto}
.m-dashboard .m-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.m-dashboard .m-btn{appearance:none;width:220px;min-height:46px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#54baeb;color:#fff!important;font-weight:700;line-height:1.2;text-align:center;text-decoration:none!important;white-space:nowrap;box-shadow:none;cursor:pointer}
.m-dashboard .m-btn:hover{filter:brightness(.97);color:#fff!important}
.m-dashboard .m-instats{display:block;margin:0}
.m-dashboard .m-instat{padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.m-dashboard .m-instat h5{margin:0 0 8px;font-size:.95rem;color:#2b2b2b}
.m-dashboard .m-instat .val{font-weight:700}
.m-dashboard .m-bar{display:none}
.m-dashboard #instat-videos .m-bar{display:block;height:8px;margin-top:9px;overflow:hidden;border-radius:999px;background:#f2f6fb}
.m-dashboard #instat-videos .m-bar>span{display:block;height:100%;border-radius:999px;background:#54baeb!important}
.m-dashboard #instat-temoignages h5,.m-dashboard #instat-temoignages .m-bar{display:none!important}
.m-dashboard #instat-temoignages{margin-bottom:4px}
.m-dashboard .m-eval-summary{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:.92rem;color:#6a6869}
.m-dashboard .m-eval-summary .kpi-complete,.m-dashboard .m-eval-summary .kpi-average{font-weight:700;color:#222}
.m-dashboard .m-lotus-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:24px}
.m-dashboard .m-lotus-item{text-align:center;min-width:0}
.m-dashboard .m-lotus-item img{display:block;width:62px;height:62px;object-fit:contain;margin:0 auto 8px}
.m-dashboard .m-lotus-label{font-size:.86rem;font-weight:700;color:#444;line-height:1.25}
.m-dashboard .m-lotus-score{margin-top:4px;font-size:.75rem;color:#7c7f84}
.m-dashboard .m-list{margin:14px 0 0;padding-left:1.2em;color:#6a6869}
.m-dashboard .m-list li{margin:6px 0}
.m-dashboard .m-list a{color:#1b1b1b;text-decoration:none;border-bottom:1px dotted #e9eef3}
.m-dashboard .m-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.m-dashboard .m-title{display:flex;align-items:center;gap:12px}
.m-dashboard .m-title h2{margin:0;font-size:1.6rem}
.m-dashboard .m-actionsbar{display:flex;align-items:center;gap:10px}
.m-dashboard .m-user{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:9px 16px;border:1px solid #e9eef3;border-radius:999px;background:#fff;white-space:nowrap;line-height:1.2}
.m-dashboard .m-user .muted,.m-dashboard .m-user strong{display:inline;margin:0;white-space:nowrap}
.m-dashboard .m-chipset{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.m-dashboard .m-chip{font-size:.88rem;padding:6px 10px;border-radius:999px;border:1px solid #e9eef3;background:#fff}
.m-dashboard .m-sep{display:flex;align-items:center;gap:10px;margin:6px 0 12px}
.m-dashboard .m-sep .line{height:1px;background:#e9eef3;flex:1}
.m-dashboard .muted{color:#6a6869}
/* Remove obsolete fragments left by older page versions. */
.m-dashboard #instat-noter,.m-dashboard .m-obsolete,.m-dashboard .kpi-eval-summary{display:none!important}
@media(max-width:760px){
 .m-dashboard{padding:16px}
 .m-dashboard .m-card{padding:22px 18px}
 .m-dashboard .m-card-head{align-items:flex-start;flex-direction:column;gap:12px}
 .m-dashboard .m-card-head .m-actions,.m-dashboard .m-card-head .m-btn{width:100%}
 .m-dashboard .m-btn{width:100%;white-space:normal}
 .m-dashboard .m-lotus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .m-dashboard .m-eval-summary{white-space:normal;flex-wrap:wrap}
 .m-dashboard .m-header{align-items:flex-start;flex-direction:column}
 .m-dashboard .m-actionsbar{width:100%;flex-wrap:wrap}
 .m-dashboard .m-actionsbar .m-btn,.m-dashboard .m-user{width:100%}
}
@media(min-width:761px) and (max-width:980px){.m-dashboard .m-lotus-grid{gap:10px}.m-dashboard .m-btn{width:190px}}
