/* In-editor "Are you sure?" window (confirm-dialog.js), replacing the browser's confirm() popup. */
.csg-confirm{width:min(460px,calc(100vw - 32px));box-sizing:border-box;padding:20px;border:1px solid var(--studio-line,#dce3ef);border-radius:16px;background:var(--studio-panel,#fff);color:var(--studio-ink,#14233f);box-shadow:0 20px 70px #0f172a40}
.csg-confirm::backdrop{background:rgba(15,23,42,.45)}
.csg-confirm-title{margin:0 0 8px;font-size:18px}
.csg-confirm-message{margin:0 0 18px;line-height:1.5;white-space:pre-line;color:var(--studio-ink,#14233f)}
.csg-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.csg-confirm-actions button{margin:0;min-height:44px;padding:0 16px}
/* Solid red for deletes (more specific than the editor's outlined .danger / .balanced-studio .danger). */
dialog.csg-confirm .csg-confirm-actions button.csg-confirm-ok.danger{background:#b42318;border-color:#b42318;color:#fff;font-size:inherit;padding:0 16px;border-radius:12px}
dialog.csg-confirm .csg-confirm-actions button.csg-confirm-ok.danger:hover{background:#912018;border-color:#912018}
/* Optional list under the message (e.g. a business's offers, each with its status badge). */
.csg-confirm-message:has(+ .csg-confirm-list){margin-bottom:10px}
.csg-confirm-list{list-style:none;margin:0 0 14px;padding:0;max-height:min(46vh,360px);overflow:auto;border:1px solid var(--studio-line,#dce3ef);border-radius:12px}
.csg-confirm-item{display:flex;flex-direction:column;gap:3px;padding:10px 12px}
.csg-confirm-item+.csg-confirm-item{border-top:1px solid var(--studio-line,#dce3ef)}
.csg-confirm-item-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.csg-confirm-item-text{font-weight:600;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.csg-confirm-item-pills{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
.csg-confirm-item-note{font-size:13px;line-height:1.4;opacity:.75}
