/* v6.1 Class Lifecycle — destructive class deletion without reskinning the mature v5.3 class UI. */
.v61-delete-class-btn{white-space:nowrap}
body.v61-delete-dialog-open{overflow:hidden!important}
.v61-delete-backdrop{position:fixed;inset:0;z-index:9995;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.38);backdrop-filter:blur(3px)}
.v61-delete-dialog{box-sizing:border-box;width:min(520px,100%);max-height:min(760px,calc(100vh - 32px));overflow:auto;background:#fff;border:1px solid #d8dee9;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.2);color:#152033}
.v61-delete-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid #e6ebf2}
.v61-delete-dialog>header span{display:block;margin-bottom:4px;color:#b42318;font-size:13px;font-weight:700;letter-spacing:.04em}
.v61-delete-dialog>header h3{margin:0;font-size:24px;line-height:1.25}
.v61-delete-close{width:38px;height:38px;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#5e6878;font-size:24px;line-height:1;cursor:pointer}
.v61-delete-body{padding:20px 24px}
.v61-delete-warning{padding:14px 16px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7}
.v61-delete-warning b{color:#9f1c15}.v61-delete-warning p{margin:5px 0 0;color:#6b7280;font-size:14px;line-height:1.55}
.v61-delete-impact{margin-top:16px}.v61-delete-loading,.v61-impact-failed{padding:18px;border:1px dashed #d6dde8;border-radius:12px;color:#778195;text-align:center}
.v61-impact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v61-impact-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #e0e6ef;border-radius:11px;background:#fbfcfe}
.v61-impact-row span{color:#667085;font-size:14px}.v61-impact-row b{font-size:18px}.v61-impact-row b.danger{color:#b42318}
.v61-impact-note{margin:12px 0 0;color:#6b7280;font-size:13px;line-height:1.65}
.v61-confirm-field{display:block;margin-top:20px}.v61-confirm-field span{display:block;margin-bottom:8px;font-size:14px;font-weight:700}
.v61-confirm-field input{box-sizing:border-box;width:100%;height:44px;padding:0 12px;border:1px solid #cfd7e4;border-radius:10px;background:#fff;font:inherit;outline:none}
.v61-confirm-field input:focus{border-color:#8fb6ec;box-shadow:0 0 0 3px rgba(36,107,206,.1)}.v61-confirm-field input:disabled{background:#f5f7fa;color:#9aa3b2}
.v61-delete-error{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#fff1f0;color:#b42318;font-size:13px;line-height:1.5}
.v61-delete-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 22px;border-top:1px solid #e6ebf2}
.v61-delete-dialog>footer button{min-height:40px;padding:0 16px;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}
.v61-cancel{border:1px solid #d5dce7;background:#fff;color:#3f4a5a}.v61-confirm-delete{border:1px solid #b42318;background:#b42318;color:#fff}
.v61-confirm-delete:disabled{border-color:#e5a8a3;background:#e5a8a3;cursor:not-allowed}
@media(max-width:640px){.v61-delete-backdrop{align-items:end;padding:0}.v61-delete-dialog{width:100%;max-height:88vh;border-radius:18px 18px 0 0;border-bottom:0}.v61-delete-dialog>header{padding:18px 18px 14px}.v61-delete-body{padding:16px 18px}.v61-delete-dialog>footer{padding:14px 18px max(18px,env(safe-area-inset-bottom))}.v61-impact-grid{grid-template-columns:1fr 1fr}.v61-delete-dialog>header h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.v61-delete-backdrop,.v61-delete-dialog,.v61-delete-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
