/* Magoo's confirm and notice dialogs (magoo-dialog.js). The look of the
   publishing dialogs (publishing-dialogs.css): white card with round corners,
   ink text, a red button and a quiet second one. Self-contained: no
   Bootstrap, so it reads the same on the dashboard and the business panel. */
html.magoo-dialog-open,
html.magoo-dialog-open body {
    overflow: hidden;
}
.magoo-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.5);
}
.magoo-dialog-backdrop,
.magoo-dialog-backdrop * {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
.magoo-dialog {
    width: 100%;
    max-width: 440px;
    max-height: calc(100% - 32px);
    overflow: auto;
    padding: 32px 24px 24px;
    border-radius: 24px;
    background: #fff;
    color: #0F133A;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px;
    outline: none;
}
.magoo-dialog-title {
    margin: 0 0 12px;
    color: #0F133A;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}
.magoo-dialog-message {
    margin: 0 0 24px;
    padding: 0;
    color: #0F133A;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}
.magoo-dialog-copy {
    display: block;
    width: 100%;
    margin: -8px 0 24px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    color: #0F133A;
    font-size: 15px;
    background: #f4f4f4;
}
.magoo-dialog-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.magoo-dialog-btn,
.magoo-dialog-btn-secondary {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}
.magoo-dialog-btn {
    border: 1px solid #CC0000;
    background: #CC0000;
    color: #fff;
}
.magoo-dialog-btn-secondary {
    border: 1px solid #ccc;
    background: #fff;
    color: #0F133A;
}
.magoo-dialog-btn:focus-visible,
.magoo-dialog-btn-secondary:focus-visible,
.magoo-dialog-copy:focus-visible {
    outline: 3px solid #8a8a8a;
    outline-offset: 2px;
}
/* choose(): a quiet third answer (Keep Working). */
.magoo-dialog-btn-link {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #0F133A;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}
.magoo-dialog-btn-link:focus-visible { outline: 3px solid #9a9a9a; outline-offset: 2px; }
