.dm-legal-backbar { position: sticky; top: 0; z-index: 10; padding: 12px 20px; background: #f7f8fa; border-bottom: 1px solid #e5e7eb; }
.dm-legal-backbar a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: #fff; color: #1c2333; border: 1px solid #d5dae2; border-radius: 999px; text-decoration: none; font-weight: 700; }
.dm-legal-dialog { padding: 0; width: min(900px, calc(100vw - 24px)); height: min(900px, calc(100dvh - 24px)); max-width: none; max-height: none; border: 1px solid #e5e7eb; border-radius: 16px; background: #f7f8fa; overflow: hidden; }
.dm-legal-dialog[open] { display: flex; flex-direction: column; }
.dm-legal-dialog::backdrop { background: #10182899; }
.dm-legal-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.dm-legal-toolbar button { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #d5dae2; border-radius: 999px; background: #fff; color: #1c2333; font: 700 15px 'Manrope', sans-serif; cursor: pointer; }
.dm-legal-toolbar button:last-child { font-size: var(--dm-text-28); line-height: 1; }
.dm-legal-dialog iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; }
.dm-legal-toolbar button:focus,.dm-legal-backbar a:focus { outline: none; }
.dm-legal-toolbar button:focus-visible,.dm-legal-backbar a:focus-visible { background: #eef0f4; }
@media(max-width:600px) { .dm-legal-dialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; margin: 0; } }
