.aam-topbar-user-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
#dueAlertsBtn { position:relative; display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:10px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--gold); }
#dueAlertsBtn svg { width:21px; height:21px; }
#dueAlertsBadge:not([hidden]) { position:absolute; top:-6px; right:-6px; display:grid; place-items:center; min-width:21px; height:21px; padding:0 5px; border:2px solid var(--canvas); border-radius:20px; color:#191321; background:var(--gold); font-size:11px; font-weight:700; line-height:1; }
#dueAlertsModal { padding:0; width:min(740px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; }
.due-alerts-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:24px 24px 16px; }
.due-alerts-head h2 { margin:4px 0 8px; font-size:1.35rem; }
.due-alerts-head p,.due-alerts-note { margin:0; color:var(--muted); font-size:.85rem; line-height:1.55; }
.due-alerts-eyebrow { color:var(--gold); font-size:.7rem; font-weight:600; letter-spacing:.12em; }
.due-alerts-head>.btn { flex-shrink:0; min-height:44px; min-width:44px; }
.due-alerts-toolbar { padding:0 24px 16px; border-bottom:1px solid var(--border); }
.due-alerts-filters { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 12px; }
.due-alerts-filters button { min-height:42px; padding:9px 12px; border:1px solid var(--border); border-radius:8px; color:var(--muted); background:var(--surface-raised); font-size:.82rem; }
.due-alerts-filters button[aria-pressed="true"] { color:var(--gold); border-color:var(--gold); background:var(--surface-raised); }
.due-alerts-context { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
#dueAlertsRange { color:var(--muted); font-size:.85rem; }
#dueAlertsResult { padding:16px 24px 0; color:var(--muted); font-size:.85rem; }
#dueAlertsList { display:grid; gap:12px; padding:16px 24px 24px; }
.due-alert-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; border:1px solid var(--border); border-left:3px solid var(--gold); border-radius:10px; background:var(--surface-raised); }
.due-alert-info { min-width:0; }
.due-alert-row h3 { margin:8px 0 6px; font-size:1rem; line-height:1.4; overflow-wrap:anywhere; }
.due-alert-row p { margin:0; color:var(--muted); font-size:.8rem; }
.due-alert-state { display:block; color:var(--gold); font-size:.8rem; font-weight:600; }
.due-alert-overdue { border-left-color:#e39baa; }
.due-alert-overdue .due-alert-state { color:#f0b4c0; }
.due-alert-today { border-left-color:var(--gold); }
.due-alert-upcoming { border-left-color:#b7a2d7; }
.due-alert-upcoming .due-alert-state { color:#cbb7e7; }
.due-alert-values { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:12px; color:var(--muted); font-size:.78rem; line-height:1.5; }
.due-alert-row>.btn { flex-shrink:0; min-height:44px; }
.due-alerts-empty { margin:0; padding:24px 0; color:var(--muted); line-height:1.6; }
.due-alerts-foot { padding:0 24px 24px; color:var(--muted); font-size:.78rem; line-height:1.5; }
#homeDueAlerts { margin-top:16px; min-height:44px; }
@media(max-width:600px) {
  .aam-topbar-user-actions { gap:8px; }
  #dueAlertsBtn { min-width:42px; min-height:42px; padding:9px; }
  .due-alerts-head { padding:20px 16px 12px; gap:12px; }
  .due-alerts-toolbar { padding:0 16px 12px; }
  .due-alerts-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #dueAlertsResult { padding:16px 16px 0; }
  #dueAlertsList { padding:12px 16px 20px; }
  .due-alert-row { align-items:stretch; flex-direction:column; padding:16px; gap:14px; }
  .due-alert-row>.btn { width:100%; }
  .due-alerts-foot { padding:0 16px 20px; }
}

/* v75: mensagens individuais na central de vencimentos. */
.due-alert-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; flex-shrink:0; }
.due-alert-actions .btn { min-height:44px; white-space:normal; }
.due-alert-actions .due-alert-send:disabled { cursor:not-allowed; opacity:.56; }
@media(max-width:600px) {
  .due-alert-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .due-alert-actions .btn { width:100%; }
}
@media(max-width:380px) {
  .due-alert-actions { grid-template-columns:minmax(0,1fr); }
}
