.delete-confirmation {
  width: min(400px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  box-sizing: border-box; padding: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: 22px;
  background: var(--composer-card-solid); color: var(--text); box-shadow: var(--shadow-floating);
}
.delete-confirmation::backdrop { background: var(--overlay); backdrop-filter: blur(4px); }
.delete-confirmation-content { padding: 26px; }
.delete-confirmation-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  margin-bottom: 18px; border-radius: 14px; color: var(--danger-text); background: var(--danger-soft);
}
.delete-confirmation-icon svg { width: 24px; height: 24px; }
.delete-confirmation h2 { margin: 0; font-size: calc(18px + var(--app-font-increase, 1pt)); line-height: 1.45; letter-spacing: -0.035em; word-break: keep-all; }
.delete-confirmation p { margin: 10px 0 24px; color: var(--muted); font-size: calc(13px + var(--app-font-increase, 1pt)); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; white-space: pre-line; }
.delete-confirmation footer { display: flex; justify-content: flex-end; gap: 8px; }
.delete-confirmation-preference, .delete-preference-row {
  display: flex; align-items: center; gap: 8px; color: var(--text); font-size: calc(12px + var(--app-font-increase, 1pt));
  line-height: 1.5; cursor: pointer;
}
.delete-confirmation-preference { margin: 0 0 22px; color: var(--muted); }
.delete-confirmation-preference input, .delete-preference-row input {
  appearance: auto; width: 16px; height: 16px; min-height: 0; flex: 0 0 16px; margin: 0;
  accent-color: var(--accent);
}
.delete-preference-help { margin: 10px 0 0; font-size: calc(12px + var(--app-font-increase, 1pt)); color: var(--muted); line-height: 1.6; }
.delete-confirmation button {
  min-width: 88px; min-height: 42px; padding: 10px 16px;
  border: 1px solid var(--line-strong); border-radius: 11px;
  background: var(--surface-subtle); color: var(--text); font: inherit;
  font-size: calc(13px + var(--app-font-increase, 1pt)); font-weight: 600; cursor: pointer;
}
.delete-confirmation [data-action="delete"] { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger-text); }
.delete-confirmation button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.delete-confirmation button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .delete-confirmation button:hover { border-color: var(--muted); }
  .delete-confirmation [data-action="delete"]:hover { border-color: var(--danger); }
}
@media (prefers-reduced-motion: reduce) { .delete-confirmation button:active { transform: none; } }
