/* Stock confirmations/messages share the VAAPP review language; custom editors opt out automatically. */
body .swal2-popup.staar-dialog {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    width: min(640px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #dbe4ef !important;
    border-radius: 22px !important;
    background: #fff;
    color: #243753;
    box-shadow: 0 24px 70px #10244729 !important;
    font-family: inherit;
    text-align: left;
}
body .swal2-popup.staar-dialog .swal2-icon {
    flex-shrink: 0;
    margin: 24px 28px 0 !important;
    font-size: 10px;
}
body .staar-dialog .swal2-icon .swal2-icon-content { font-size: 2.8em !important; }
body .swal2-popup.staar-dialog .swal2-title {
    flex-shrink: 0;
    margin: 0;
    padding: 22px 28px 0 !important;
    color: #172c4d !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left;
    overflow-wrap: anywhere;
}
body .swal2-popup.staar-dialog .swal2-html-container {
    flex: 1 1 auto;
    min-height: 0;
    margin: 12px 0 0 !important;
    padding: 0 28px 24px !important;
    overflow-y: auto;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    text-align: left;
    overflow-wrap: anywhere;
}
body .staar-dialog .swal2-actions {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    margin: 0 !important;
    padding: 18px 28px !important;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
body .swal2-popup.staar-dialog .swal2-actions button {
    margin: 0 !important;
    min-height: 40px;
    padding: 10px 18px !important;
    border: 1px solid #cbd5e1;
    border-radius: 9px !important;
    box-shadow: none !important;
    line-height: 1.4;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: normal;
}
body .staar-dialog .swal2-confirm { background: #2563eb; color: #fff; border-color: #2563eb !important; }
body .staar-dialog .swal2-cancel { background: #fff !important; color: #475569 !important; }
body .staar-dialog .swal2-deny { background: #b91c1c; color: #fff; }
body .staar-dialog .swal2-actions button:focus-visible,
body .staar-dialog .swal2-input:focus-visible,
body .staar-dialog .swal2-select:focus-visible,
body .staar-dialog .swal2-textarea:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
body .staar-dialog .swal2-input,
body .staar-dialog .swal2-select,
body .staar-dialog .swal2-textarea { margin: 12px 28px 20px; border: 1px solid #ced9e6; border-radius: 8px; font-size: 14px; color: #243753; }
body .staar-dialog .swal2-validation-message { margin: 0; padding: 12px 28px; font-size: 13px; }
body .staar-dialog .swal2-footer { margin: 0; padding: 14px 28px; font-size: 12px; color: #64748b; }
@media (max-width: 600px) {
    body .swal2-popup.staar-dialog .swal2-title { padding: 18px 18px 0 !important; font-size: 20px !important; }
    body .swal2-popup.staar-dialog .swal2-icon { margin: 20px 18px 0 !important; }
    body .swal2-popup.staar-dialog .swal2-html-container { padding: 0 18px 20px !important; }
    body .staar-dialog .swal2-actions { padding: 14px 18px !important; flex-wrap: wrap; }
    body .staar-dialog .swal2-actions button { flex: 1 1 120px; }
    body .staar-dialog .swal2-input, body .staar-dialog .swal2-select, body .staar-dialog .swal2-textarea { margin-left: 18px; margin-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    body .swal2-popup.staar-dialog, body .staar-dialog * { animation: none !important; transition: none !important; }
}

body .swal2-popup.staar-dialog .swal2-actions .staar-alert-confirm { background: #2563eb !important; border-color: #2563eb !important; }
