body.dialog-open { overflow: hidden; }
.confirmation-dialog {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(var(--viewport-height, 100dvh) - 32px);
  padding: 28px;
  overflow: auto;
  border: 1px solid #e4e8e3;
  border-radius: 20px;
  background: #fff;
  color: #303a34;
  box-shadow: 0 24px 80px #17261e30;
  text-align: start;
}
.confirmation-dialog::backdrop { background: #18271f66; backdrop-filter: blur(3px); }
.confirmation-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: #fff4e0; color: #a66b13; }
.confirmation-icon svg { width: 25px; height: 25px; }
.confirmation-dialog h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.6; }
.confirmation-dialog p { margin: 0; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.confirmation-dialog .confirmation-hint { margin-top: 14px; color: #778278; font-size: 12px; }
.confirmation-actions { display: flex; gap: 10px; margin-top: 26px; }
.confirmation-actions button { flex: 1; min-height: 46px; padding: 10px 16px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.confirmation-cancel { border: 1px solid #d9dfd9; background: #f6f8f5; color: #435249; }
.confirmation-cancel:hover { background: #edf1eb; }
.confirmation-accept { border: 1px solid #b84037; background: #b84037; color: #fff; }
.confirmation-accept:hover { background: #a3332c; border-color: #a3332c; }
.confirmation-actions button:focus-visible { outline: 3px solid #82a38b; outline-offset: 3px; }
.confirmation-dialog[data-kind="notice"] .confirmation-accept { border-color: #3b7450; background: #3b7450; }
:root[data-theme="dark"] .confirmation-dialog { background: #202a23; color: #dce5de; border-color: #36483b; }
:root[data-theme="dark"] .confirmation-dialog::backdrop { background: #070e0a99; }
:root[data-theme="dark"] .confirmation-icon { background: #44371d; color: #edc27b; }
:root[data-theme="dark"] .confirmation-dialog .confirmation-hint { color: #a1b2a6; }
:root[data-theme="dark"] .confirmation-cancel { background: #29372e; color: #dce5de; border-color: #46584b; }
:root[data-theme="dark"] .confirmation-cancel:hover { background: #34463a; }
@media (max-width: 640px) {
  .confirmation-dialog { padding: 24px; border-radius: 18px; }
  .confirmation-dialog h2 { font-size: 18px; }
  .confirmation-actions button { min-height: 48px; }
}
