/* Documents Légal / Illégal / Événement : sélection multiple et fenêtre de suppression */
.sdoc-card { position: relative; }
.sdoc-card .sd-box { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--border2); background: var(--bg1); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; opacity: 0; transition: opacity .12s, background .12s; cursor: pointer; z-index: 2; }
.sdoc-card:hover .sd-box, .sdoc-grid.selecting .sd-box, .sdoc-card.selected .sd-box { opacity: 1; }
.sdoc-card.selected { border-color: var(--accent); background: rgba(201,162,39,.08); box-shadow: 0 0 0 1px var(--accent) inset; }
.sdoc-card.selected .sd-box { background: var(--accent); border-color: var(--accent); }
.sdoc-grid.selecting .sdoc-card { user-select: none; }
.sd-tip { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.sd-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin: 0 0 12px; background: var(--bg2); border: 1px solid var(--accent); border-radius: 12px; box-shadow: var(--shadow); }
.sd-count { font-weight: 700; }
.sd-dialog { width: min(560px, 95vw); }
.sd-head { display: flex; gap: 14px; align-items: flex-start; }
.sd-icon { font-size: 30px; line-height: 1; }
.sd-list { max-height: 260px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--bg1); }
.sd-item { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--border); }
.sd-item:first-child { border-top: 0; }
.sd-item-ic { font-size: 20px; width: 28px; text-align: center; flex-shrink: 0; }
.sd-item-main { display: flex; flex-direction: column; min-width: 0; }
.sd-item-main strong { word-break: break-word; }
.sd-warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(237,66,69,.1); color: var(--err); font-size: 13px; }
.sd-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13.5px; }
.sd-check input { width: auto; margin-top: 3px; }
