/* V9.16 · el dialog nativo pertenece a top layer, aun con otros dialog abiertos. */
.mc-error-dialog{border:0;outline:0;padding:0;width:min(calc(100% - 24px),540px);max-width:540px;max-height:min(90dvh,700px);border-radius:20px;background:#fff;color:#123047;box-shadow:0 28px 80px rgba(3,23,35,.42);overflow:auto}
.mc-error-dialog::backdrop{background:rgba(8,25,37,.69);backdrop-filter:blur(3px)}
.mc-error-head{background:#fff4f2;display:flex;align-items:center;gap:13px;border-bottom:1px solid #f1c8c4;padding:20px 20px 17px}
.mc-error-symbol{display:grid;place-items:center;border:2px solid #a63a42;border-radius:50%;width:43px;height:43px;flex:none;color:#9d2632;font-size:22px;font-weight:900}
.mc-error-head h2{margin:0;color:#79272d;font-size:1.23rem;line-height:1.3}
.mc-error-head p{margin:3px 0 0;color:#784951;font-size:.9rem}
.mc-error-body{padding:18px 20px 22px}
.mc-error-message{margin:0 0 16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:650}
.mc-error-details{padding:13px 14px;background:#f3f7f8;border:1px solid #dce7e8;border-radius:12px;margin-bottom:12px;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.mc-error-details dt{font-size:.78rem;color:#546d79;margin:0}
.mc-error-details dd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;font-size:.86rem;font-weight:700;margin:0 0 4px}
.mc-error-help{font-size:.84rem;line-height:1.55;color:#516875;margin:0 0 16px}
.mc-error-actions{display:flex;flex-wrap:wrap;gap:9px}
.mc-error-actions .btn{min-height:48px;justify-content:center;flex:1 1 160px;text-decoration:none;text-align:center}
.mc-error-actions .btn-outline{background:#fff}
@media(max-width:540px){.mc-error-dialog{max-height:92dvh}.mc-error-head{padding:18px 16px}.mc-error-body{padding:16px}.mc-error-actions{display:grid;grid-template-columns:1fr}.mc-error-actions .btn{width:100%}}
