/* Shared deletion confirmation: filled red with a darker hold progress overlay. */
.confirm-modal .modal-foot:has(.hold-delete),.dialog-actions:has(.hold-delete){display:flex;flex-wrap:nowrap;gap:18px;align-items:stretch}
.confirm-modal .modal-foot:has(.hold-delete)>.modal-cancel,.dialog-actions:has(.hold-delete)>button:not(.hold-delete){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;height:56px;min-height:56px;margin:0;padding:10px 16px;line-height:1.4;border-radius:10px}
html:root #modal-root .modal.confirm-modal .modal-foot .hold-delete,html:root .settings-dialog .dialog-actions button.hold-delete,html.app-night:root .settings-dialog .dialog-actions button.hold-delete,html:root #admin-account-cloud-backups .settings-dialog .dialog-actions button.hold-delete{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:1.2 1 0;min-width:0;height:56px;min-height:56px;margin:0;padding:10px 12px;border:1px solid #ff3047!important;border-radius:10px;background:#ff233d!important;background-image:linear-gradient(180deg,#ff4559,#ff0b24)!important;color:#fff!important;font-size:16px;font-weight:700;line-height:1.4;white-space:nowrap;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;box-shadow:0 3px 8px #ef233633!important}
.hold-delete::before{content:"";position:absolute;inset:0 auto 0 0;z-index:-1;width:calc(var(--hold-delete-progress,0)*100%);background:#b90925;pointer-events:none}
.hold-delete::after{content:"";order:-1;flex:0 0 20px;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6l1 2h4a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2h4l1-2ZM5 8h14l-1 12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 8Zm4 2v9h2v-9H9Zm4 0v9h2v-9h-2Z'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
html:root #modal-root .modal.confirm-modal .modal-foot .hold-delete:not(:disabled):hover,html:root .settings-dialog .dialog-actions .hold-delete:not(:disabled):hover{filter:brightness(.96)}
.hold-delete:focus-visible{outline:2px solid #EF4444;outline-offset:3px}
.hold-delete:disabled{cursor:wait}
.hold-delete-hint{color:var(--muted,#94a3b8);font-size:12px;margin:12px 0 0}
@media(max-width:420px){.confirm-modal .modal-foot:has(.hold-delete),.dialog-actions:has(.hold-delete){gap:12px}.confirm-modal .modal-foot:has(.hold-delete)>.modal-cancel,.dialog-actions:has(.hold-delete)>button:not(.hold-delete){flex:0 0 72px}}
