.platform-confirm-dialog { width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:0; overflow:auto; border:1px solid #e1eae5; border-radius:22px; background:#fff; color:#2c4939; box-shadow:0 28px 100px #092b2440; font-family:'Nunito',system-ui,sans-serif; }
.platform-confirm-dialog:not([open]) { display:none; }
.platform-confirm-dialog::backdrop { background:rgba(12,34,27,.55); backdrop-filter:blur(4px); }
.platform-confirm-content { position:relative; padding:32px; background:radial-gradient(ellipse at 0 0,#eaf6ee80,transparent 65%); }
.platform-confirm-close { position:absolute; top:13px; right:14px; display:grid; width:32px; height:32px; place-items:center; border:0; border-radius:9px; background:#f3f7f4; color:#7a8c80; font-size:1.4rem; line-height:1; cursor:pointer; }
.platform-confirm-close:hover { background:#e7efe9; color:#244e35; }
.platform-confirm-icon { display:grid; width:56px; height:56px; place-items:center; margin-bottom:22px; border:1px solid #dbece0; border-radius:17px; background:#eaf6ee; color:#31845a; font-size:1.35rem; }
.platform-confirm-eyebrow { display:block; margin-bottom:7px; color:#6e927b; font-size:.65rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.platform-confirm-dialog h2 { margin:0 0 12px; padding:0; color:#234532; font-size:1.42rem; line-height:1.3; font-weight:800; letter-spacing:-.025em; }
.platform-confirm-dialog p { margin:0; color:#788a7d; font-size:.91rem; line-height:1.75; overflow-wrap:anywhere; white-space:pre-line; }
.platform-confirm-actions { display:flex; gap:10px; margin-top:28px; }
.platform-confirm-actions button { flex:1; min-height:45px; padding:11px 15px; border:1px solid #dce7df; border-radius:10px; font:inherit; font-size:.85rem; font-weight:800; cursor:pointer; }
.platform-confirm-cancel { background:#fff; color:#66806f; }.platform-confirm-cancel:hover { background:#f3f8f5; }
.platform-confirm-actions .platform-confirm-accept { border-color:#216b49; background:#216b49; color:#fff; }.platform-confirm-accept:hover { background:#165236; }
.platform-confirm-dialog[data-tone="danger"] .platform-confirm-icon { border-color:#f3d8d3; background:#fff0ed; color:#bf6656; }.platform-confirm-dialog[data-tone="danger"] .platform-confirm-accept { border-color:#b64e43; background:#b64e43; }.platform-confirm-dialog[data-tone="danger"] .platform-confirm-accept:hover { background:#963f36; }
.platform-confirm-dialog[data-tone="warning"] .platform-confirm-icon { border-color:#f1e1bf; background:#fff6e3; color:#b9892b; }
.platform-confirm-dialog button:focus-visible { outline:3px solid #a1c8ad; outline-offset:3px; }
.platform-confirm-dialog[open] { animation:platform-confirm-enter .16s ease-out; }
@keyframes platform-confirm-enter { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@media(max-width:480px) { .platform-confirm-content { padding:28px 23px; }.platform-confirm-dialog h2 { font-size:1.25rem; } }
@media(prefers-reduced-motion:reduce) { .platform-confirm-dialog[open] { animation:none; } }
