.auto-delete-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #d9e4f2;border-radius:22px;background:#fff;color:#172d46;box-shadow:0 18px 70px #14325430;overflow:auto}
.auto-delete-dialog::backdrop{background:#10243b55}
.auto-delete-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.auto-delete-header h2{font-size:23px;margin:0 0 6px}.auto-delete-header p{margin:0;color:#688099;overflow-wrap:anywhere}
.auto-delete-close{border:0;background:transparent;color:inherit;font:28px/1 system-ui;cursor:pointer;min-width:36px;min-height:36px;border-radius:10px}
.auto-delete-summary{display:block;font-size:15px;margin-bottom:8px}.auto-delete-help{font-size:13px;line-height:1.5;color:#63768e}
.auto-delete-choices{border:0;padding:0;margin:18px 0}.auto-delete-choices legend{font-size:13px;font-weight:600;color:#617c99;margin-bottom:8px}
.auto-delete-choices label{display:flex;align-items:center;gap:12px;padding:13px 10px;border-radius:10px;cursor:pointer}.auto-delete-choices label:has(input:checked){background:#eaf2ff;color:#236bd2}
.auto-delete-choices input{accent-color:#3379d8;width:18px;height:18px;margin:0}.auto-delete-choices:disabled label{cursor:default;opacity:.6}
.auto-delete-pending{padding:14px;background:#edf4ff;border-radius:14px;margin-bottom:16px}.auto-delete-pending p{font-size:13px;line-height:1.45;margin-bottom:12px}
.auto-delete-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.auto-delete-actions button{min-height:40px}
.auto-delete-status{font-size:13px;line-height:1.5;min-height:20px;color:#3471a9}.auto-delete-status.error{color:#b7423e}
.auto-delete-dialog [hidden]{display:none!important}.auto-delete-dialog button:focus-visible,.auto-delete-dialog input:focus-visible{outline:2px solid #377fe0;outline-offset:3px}
.theme-dark .auto-delete-dialog,[data-theme="dark"] .auto-delete-dialog{background:#192637;color:#e6effb;border-color:#35465d}.theme-dark .auto-delete-pending,[data-theme="dark"] .auto-delete-pending{background:#233954}
@media(max-width:400px){.auto-delete-dialog{padding:18px}.auto-delete-header h2{font-size:21px}.auto-delete-actions button{flex:1}}
.message-system-notice { display: flex; justify-content: center; margin: 10px 0; text-align: center; }
.message-system-notice > span { max-width: min(100%, 440px); padding: 8px 14px; border-radius: 16px; background: var(--surface, #fff); color: var(--text-muted, #66788c); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
