/* The app's own "are you sure?" box (core/static/core/confirm.js), on staff and student pages alike.
   The yes button is red: it's the one that charges, emails, refunds or removes something. */
dialog.ask { border: 0; border-radius: var(--radius); padding: 22px; max-width: min(420px, calc(100vw - 32px)); color: var(--ink); background: var(--card); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
dialog.ask::backdrop { background: color-mix(in srgb, var(--brand-deep) 35%, transparent); }
.ask-text { margin: 0 0 18px; font-size: 16px; line-height: 1.45; white-space: pre-line; }
.ask-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ask-acts button { margin: 0; padding: 11px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.ask-acts .ask-yes { background: var(--bad, var(--expired-ink)); border-color: var(--bad, var(--expired-ink)); color: #fff; }
.ask-acts button:focus { outline: none; } .ask-acts button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
