/* Twipp dialogs (v0.21): WCAG 2.2 AA colours, 44px targets, safe focus styles. */
#twipp-dialog.twipp-dialog{width:min(92vw,460px);max-width:460px;border:1px solid #e3e1db;border-radius:20px;padding:0;background:#fff;color:#0a1a3e;box-shadow:0 24px 70px #0a1a3e33}
#twipp-dialog.twipp-dialog::backdrop{background:#0a1a3ea6;backdrop-filter:blur(3px)}
.twipp-dialog-card{padding:24px 26px 22px}
.twipp-dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.twipp-dialog-symbol{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:20px}
.twipp-dialog-symbol.verified{background:#e8f4ec;color:#1d6b3a}
.twipp-dialog-symbol.info{background:#eef0f6;color:#0a1a3e}
.twipp-dialog-symbol.warning{background:#fff1e6;color:#9a3a07}
.twipp-dialog-close{width:44px;height:44px;border-radius:50%;border:0;background:#f3f2ee;color:#2b3651;font-size:24px;line-height:1;cursor:pointer}
.twipp-dialog-card h2{font-size:21px;line-height:1.25;letter-spacing:-.02em;margin:0 0 10px}
.twipp-dialog-card p{font-size:15px;line-height:1.6;color:#4a5469;margin:0;white-space:pre-line}
.twipp-dialog-form{margin-top:16px;display:grid;gap:8px}
.twipp-dialog-form label{font-weight:650;font-size:14px}
.twipp-dialog-form input{min-height:48px;border:1px solid #9aa2b4;border-radius:10px;padding:0 14px;font-size:20px;letter-spacing:.12em}
.twipp-dialog-error{color:#a3271d!important;font-weight:600}
.twipp-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
.twipp-dialog-actions button{min-height:44px;min-width:44px;border:0;border-radius:10px;padding:10px 18px;font-weight:650;font-size:15px;cursor:pointer}
.twipp-dialog-accept{background:#0a1a3e;color:#fff}
.twipp-dialog-accept:hover{background:#1d2f57}
.twipp-dialog-accept.danger{background:#a3271d}
.twipp-dialog-cancel{background:#eef0f6;color:#0a1a3e}
#twipp-dialog button:focus-visible,#twipp-dialog input:focus-visible{outline:3px solid #f26b1d;outline-offset:2px}
@media(max-width:480px){.twipp-dialog-card{padding:20px 18px 18px}.twipp-dialog-card h2{font-size:19px}.twipp-dialog-actions button{flex:1 1 auto}}
/* v0.22 countdown check: a large, calm number while the answer buttons are locked. */
.twipp-dialog-timer{min-width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#0a1a3e;color:#fff;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.twipp-dialog-card p.twipp-dialog-wait{margin-top:14px;font-weight:650;color:#0a1a3e}
.twipp-dialog-card:focus{outline:none}
.twipp-dialog-actions button:disabled{cursor:not-allowed;opacity:.55}
#twipp-dialog .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
