/* Las alertas permanecen claras incluso sobre páginas oscuras. */
.cenco-alert-pending{text-align:center}.cenco-alert-pending .cenco-alert-intro{white-space:pre-line;text-align:center}.cenco-alert-pending .cenco-alert-audio{justify-content:center;flex-wrap:wrap}.cenco-alert-logo{display:block;width:173px;height:48px;object-fit:contain;margin:0 auto 24px}.cenco-alert-pending .cenco-alert-continue{display:block;margin:20px auto 0;min-width:180px;min-height:48px;background:linear-gradient(135deg,#131062,#8b0ac2);color:#fff;border:2px solid #08c6ea;box-shadow:0 7px 20px #13106235}
.cenco-alert-overlay{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:28px;background:rgba(19,16,62,.48);overflow-y:auto;font-family:Poppins,Arial,sans-serif;color:#131062;}
.cenco-alert-overlay *{box-sizing:border-box;}
.cenco-alert-card{width:100%;max-width:620px;max-height:calc(100vh - 56px);max-height:calc(100dvh - 56px);overflow-y:auto;padding:30px;border:1px solid rgba(255,255,255,.94);border-radius:26px;background:#f5f6ff;background:linear-gradient(135deg,#fff 0%,#f5efff 44%,#e8faff 100%);box-shadow:0 32px 90px rgba(11,10,46,.48),0 12px 28px rgba(19,16,98,.24),inset 0 1px 0 #fff;text-align:left;animation:cenco-alert-enter .18s ease-out;}
.cenco-alert-header{display:flex;align-items:center;gap:16px;margin-bottom:18px;}
.cenco-alert-portrait{flex:none;width:64px;height:64px;border-radius:18px;box-shadow:0 6px 18px rgba(19,16,98,.18);background:#fff;}
.cenco-alert-brand{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.035em;color:#8b0ac2;}
.cenco-alert-heading h2{margin:0;font-size:25px;line-height:1.2;font-weight:800;color:#131062;}
.cenco-alert-intro{margin:0 0 20px;font-size:15px;line-height:1.6;color:#27244b;}
.cenco-alert-options{display:grid;gap:12px;margin-bottom:20px;}
.cenco-alert-overlay button{font:inherit;cursor:pointer;}
.cenco-alert-option{display:flex;align-items:flex-start;gap:14px;width:100%;padding:17px;border:1px solid #ddd4f1;border-radius:17px;background:rgba(255,255,255,.82);color:#131062;text-align:left;box-shadow:0 5px 14px rgba(23,20,82,.09);}
.cenco-alert-option:hover{border-color:#8b0ac2;background:#fff;}
.cenco-alert-number{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#131062,#8b0ac2);color:#fff;font-size:19px;font-weight:800;}
.cenco-alert-option-copy{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5;color:#4e466b;}
.cenco-alert-option-copy strong{font-size:15px;font-weight:600;color:#131062;}
.cenco-alert-form label{display:block;margin:0 0 8px;font-size:13px;font-weight:600;color:#131062;}
.cenco-alert-entry{display:flex;gap:10px;}
.cenco-alert-choice{flex:0 0 72px;min-width:0;width:72px;padding:10px;border:1px solid #b8afd4;border-radius:12px;background:#fff;color:#131062;font:600 20px Poppins,Arial,sans-serif;text-align:center;}
.cenco-alert-continue{flex:1;padding:12px 18px;border:0;border-radius:12px;background:linear-gradient(120deg,#131062,#8b0ac2);color:#fff;font-weight:600;box-shadow:0 6px 14px rgba(139,10,194,.2);}
.cenco-alert-cancel{display:block;margin:16px auto 0;padding:8px 18px;border:0;border-radius:10px;background:transparent;color:#514870;font-size:13px;}
.cenco-alert-overlay :focus-visible{outline:3px solid #08c6ea;outline-offset:3px;}
.cenco-alert-error{margin:10px 0 0;color:#ad1740;font-size:13px;}
.cenco-alert-error[hidden]{display:none;}
@keyframes cenco-alert-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){.cenco-alert-overlay{padding:14px;}.cenco-alert-card{padding:20px;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border-radius:22px;}.cenco-alert-heading h2{font-size:21px;}.cenco-alert-option{padding:13px;gap:10px;}.cenco-alert-portrait{width:52px;height:52px;}.cenco-alert-intro{font-size:14px;}}
@media(prefers-reduced-motion:reduce){.cenco-alert-card{animation:none;}}
.cenco-alert-card.cenco-alert-pending{text-align:center}.cenco-alert-pending h2{width:100%;margin:0;text-align:center}.cenco-alert-pending .cenco-alert-audio{margin-bottom:18px}

/* Regla global CENCO: títulos de alertas en modo oscuro (30-10-2026). */
html[data-theme=dark] :is(dialog,[role="alertdialog"],[role="dialog"],.cenco-alert-card) h2{color:#08B2E7}
