/* DSA CRM v11.12 — alertes RDV réduites à un compteur et une liste compacte. */
.v113-alert-stack.v112-alert-compact{
  right:18px;
  bottom:18px;
  display:flex;
  width:auto;
  max-width:calc(100vw - 24px);
  align-items:flex-end;
  flex-direction:column;
  gap:8px;
  pointer-events:none;
}
.v112-alert-count{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--dsa-bordeaux,#8b1a2f);
  color:#fff;
  box-shadow:0 8px 24px rgba(55,21,30,.24);
  cursor:pointer;
  pointer-events:auto;
  transition:transform .15s ease,box-shadow .15s ease;
}
.v112-alert-count:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(55,21,30,.29)}
.v112-alert-count span{font-size:16px;font-weight:850;line-height:1}
.v112-alert-panel{
  display:none;
  width:min(350px,calc(100vw - 24px));
  overflow:hidden;
  border:1px solid #e1d5d8;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 42px rgba(34,21,26,.18);
  pointer-events:auto;
}
.v112-alert-compact.is-open .v112-alert-panel{display:block;animation:v112PanelIn .16s ease both}
@keyframes v112PanelIn{from{opacity:0;transform:translateY(5px) scale(.985)}}
.v112-alert-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid var(--bord);background:#fbfafb}
.v112-alert-panel-head>div{display:flex;align-items:baseline;gap:7px}
.v112-alert-panel-head strong{font-size:12px;color:var(--ink)}
.v112-alert-panel-head span{font-size:9px;color:var(--ink3)}
.v112-alert-panel-head button{width:27px;height:27px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--ink3);font-size:18px;cursor:pointer}
.v112-alert-panel-head button:hover{background:var(--bg3);color:var(--ink)}
.v112-alert-list{max-height:min(440px,62vh);overflow:auto;overscroll-behavior:contain}
.v112-mini-rdv{padding:11px 12px;border-bottom:1px solid var(--bord);background:#fff}
.v112-mini-rdv:last-child{border-bottom:0}
.v112-mini-rdv-head strong{display:block;overflow:hidden;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.v112-mini-rdv-head small{display:block;margin-top:2px;font-size:8.5px;color:var(--ink3)}
.v112-mini-questions{display:grid;gap:6px;margin-top:9px}
.v112-mini-question{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v112-mini-question>strong{font-size:10px;color:var(--ink2)}
.v112-mini-question>div{display:flex;gap:4px}
.v112-mini-question button{min-width:42px;height:28px;padding:0 8px;border:1px solid var(--bord2);border-radius:8px;background:#fff;color:var(--ink2);font:700 9px Inter,Arial,sans-serif;cursor:pointer}
.v112-mini-question button:hover{border-color:var(--dsa-bordeaux,#8b1a2f);color:var(--dsa-bordeaux,#8b1a2f)}
.v112-mini-question button.yes{border-color:#78bb91;background:#eaf7ef;color:#14683b}
.v112-mini-question button.no{border-color:#df91a0;background:#fff0f2;color:#991d34}
@media(max-width:560px){.v113-alert-stack.v112-alert-compact{right:10px;bottom:10px}.v112-alert-panel{width:calc(100vw - 20px)}.v112-alert-list{max-height:58vh}}
