.flash-stack:has(.flash-dialog) { position: static; max-width: none; }
.flash-dialog { width: min(460px, calc(100vw - 32px)); margin: auto; padding: 0; border: 1px solid #b8c8d5; border-radius: 10px; color: var(--navy); background: #fff; box-shadow: 0 22px 60px #122c4f40; }
.flash-dialog::backdrop { background: #0b263c80; }
.flash-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid #d8e2e9; background: #f3f7f9; }
.flash-dialog-close { min-width: 34px; min-height: 34px; border: 1px solid #94aebe; border-radius: 5px; color: var(--navy); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.flash-dialog-content { display: grid; gap: 10px; padding: 18px; }
.flash-dialog-content .flash { margin: 0; border-radius: 5px; }
.flash-dialog-content .flash.success { background: #e8f5ec; color: #165b32; }
.flash-dialog-content .flash.warning { background: #fff6df; color: #74530a; }
