/* t830 super-admin « Qui est connecté ». Overlay only — no Payments or other layout changes. */
.lbm-se-bd[hidden],.lbm-se-chip[hidden],.lbm-se-panel[hidden]{display:none !important;}
.lbm-se-chip{position:fixed;top:auto;right:16px;bottom:16px;z-index:45;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:4px 10px 4px 8px;box-shadow:0 4px 16px rgba(15,23,42,.12);max-width:min(280px,calc(100vw - 24px));cursor:default;color:#0f172a;font:inherit;}
.lbm-se-chip[hidden]{display:none;}

.lbm-se-open{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;font:inherit;padding:0;cursor:pointer;min-width:0;}
.lbm-se-open:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:999px;}

.lbm-se-chip:hover,.lbm-se-chip:focus{border-color:#2563eb;background:#eff6ff;outline:none;}
.lbm-se-dot{width:8px;height:8px;border-radius:999px;background:#94a3b8;flex-shrink:0;}
.lbm-se-chip[data-online] .lbm-se-dot{background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.18);}
.lbm-se-chip-label{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lbm-se-chip-count{font-size:12px;font-weight:600;color:#166534;background:#dcfce7;border-radius:999px;padding:2px 8px;white-space:nowrap;}
.lbm-se-chip-count[data-zero]{color:#475569;background:#f1f5f9;}

.lbm-se-bd{position:fixed;inset:0;z-index:80;background:rgba(15,23,42,.55);display:flex;align-items:flex-start;justify-content:center;padding:72px 16px 16px;}
.lbm-se-bd[hidden]{display:none;}
.lbm-se-modal{background:#fff;border-radius:16px;width:min(560px,100%);max-height:min(85vh,720px);overflow:auto;box-shadow:0 20px 50px rgba(15,23,42,.25);padding:24px;}
.lbm-se-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px;}
.lbm-se-modal h2{margin:0;font-size:22px;line-height:1.25;font-weight:700;color:#0f172a;}
.lbm-se-sub{margin:0 0 16px;font-size:14px;color:#475569;}
.lbm-se-close{height:36px;width:36px;border:0;border-radius:8px;background:#f1f5f9;color:#0f172a;font-size:20px;line-height:1;cursor:pointer;flex-shrink:0;}
.lbm-se-close:hover{background:#e2e8f0;}
.lbm-se-refresh{height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e3a8a;font-size:12px;font-weight:600;cursor:pointer;}
.lbm-se-refresh:hover{background:#eff6ff;border-color:#2563eb;}
.lbm-se-err{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fef2f2;color:#991b1b;font-size:14px;}
.lbm-se-err[hidden]{display:none !important;}
.lbm-se-empty{margin:0;padding:16px;border:1px dashed #cbd5e1;border-radius:12px;color:#475569;font-size:14px;text-align:center;}
.lbm-se-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;}
.lbm-se-row{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;}
.lbm-se-row[data-online]{border-color:#bbf7d0;background:#f0fdf4;}
.lbm-se-av{width:36px;height:36px;border-radius:999px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0;}
.lbm-se-row[data-online] .lbm-se-av{background:#15803d;}
.lbm-se-body{min-width:0;flex:1;}
.lbm-se-name{display:inline;font-weight:600;font-size:15px;color:#0f172a;}
.lbm-se-role{display:block;font-size:12px;color:#64748b;margin-top:1px;}
.lbm-se-op{display:block;font-size:13px;color:#1e3a8a;margin-top:4px;font-weight:600;}
.lbm-se-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px;font-size:12px;color:#475569;}
.lbm-se-badge{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:11px;padding:2px 8px;border-radius:999px;background:#dcfce7;color:#166534;white-space:nowrap;}
.lbm-se-badge[data-off]{background:#f1f5f9;color:#475569;font-weight:600;}
.lbm-se-poste{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:700;vertical-align:middle;}

/* Personnel page section (injected). */
.lbm-se-panel{margin:0 0 20px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;}
.lbm-se-panel h2{margin:0 0 4px;font-size:18px;font-weight:700;color:#0f172a;}
.lbm-se-panel .lbm-se-sub{margin:0 0 12px;}
.lbm-se-panel .lbm-se-list{margin:0;}

.lbm-se-min{
  height:24px;width:24px;border:0;border-radius:999px;background:transparent;color:#475569;
  font-size:11px;line-height:1;cursor:pointer;flex-shrink:0;padding:0;
}
.lbm-se-min:hover,.lbm-se-min:focus-visible{background:#e2e8f0;color:#0f172a;outline:none;}
.lbm-se-min:focus-visible{outline:2px solid #2563eb;outline-offset:1px;}
.lbm-se-chip.lbm-se-min{padding:4px 6px 4px 8px;max-width:none;}
.lbm-se-chip.lbm-se-min .lbm-se-chip-label{display:none;}
.lbm-se-chip.lbm-se-min .lbm-se-min{transform:none;}

@media (max-width:767px){
  .lbm-se-chip{top:auto;right:8px;bottom:calc(84px + env(safe-area-inset-bottom, 0px));}
  .lbm-se-bd{padding:16px 12px 72px;align-items:center;}
  .lbm-se-modal{padding:20px 16px;border-radius:16px;}
  .lbm-se-panel{margin:12px 0 16px;padding:14px;}
}
