
/* Super Admin — Messages reçus (Chantier 3) */
.mg-it{padding:0}
.mg-row{display:block;width:100%;text-align:left;font:inherit;color:inherit;background:transparent;border:0;padding:12px 2px;cursor:pointer;border-radius:10px}
.mg-row:hover{background:rgba(22,120,111,.06)}
.mg-row:focus-visible,.mg-txt:focus-visible{outline:2px solid var(--teal,#16786f);outline-offset:2px}
.mg-top{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.mg-meta{display:block;color:var(--muted,#5f6d76);font-size:12.5px;line-height:1.5;overflow-wrap:anywhere}
.mg-prev{display:block;margin-top:4px;font-size:13.5px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mg-st{display:inline-block;font-size:11px;font-weight:600;padding:4px 9px;border-radius:99px;white-space:nowrap}
.mg-new{background:#fdf0d5;color:#7a5200}.mg-read{background:#e6edf1;color:#33444f}.mg-answered{background:#e3f3ee;color:#0f5a52}.mg-archived{background:#eceeed;color:#59646b}
html[data-theme="dark"] .mg-new{background:#3d3217;color:#f0d28a}html[data-theme="dark"] .mg-read{background:#2b3b46;color:#d6e0e5}html[data-theme="dark"] .mg-answered{background:#14332e;color:#a8e3d5}html[data-theme="dark"] .mg-archived{background:#2a3036;color:#b3bdc3}
html[data-theme="dark"] .mg-row:hover{background:rgba(255,255,255,.05)}
.mg-det{margin:2px 0 12px;padding:12px;border-radius:12px;border:1px solid var(--line,#e5e9e8);font-size:13px;line-height:1.55}
.mg-det dl{display:grid;grid-template-columns:max-content 1fr;gap:3px 12px;margin:0 0 10px}
.mg-det dt{color:var(--muted,#5f6d76)}.mg-det dd{margin:0;overflow-wrap:anywhere}
.mg-det a{color:inherit;text-decoration:underline}
.mg-txt{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:10px;background:rgba(20,47,67,.05);font-size:14px;line-height:1.6;max-height:50vh;overflow:auto}
html[data-theme="dark"] .mg-txt{background:rgba(255,255,255,.06)}
@media (max-width:480px){.mg-det dl{grid-template-columns:1fr}.mg-det dt{margin-top:4px}}
