.legal-dialog{width:min(820px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce1e9;border-radius:18px;color:#1d2025;background:#fff}.legal-dialog::backdrop{background:#17233299}.legal-dialog-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 36px)}.legal-dialog footer,.legal-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;flex-shrink:0}.legal-dialog header{border-bottom:1px solid #e2e6ec}.legal-dialog h2{font-size:1.3rem;margin:0}.legal-dialog header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;color:inherit;background:#f1f3f6;cursor:pointer;flex-shrink:0}.legal-dialog-content{padding:24px;overflow:auto;overscroll-behavior:contain}.legal-dialog-content h2{margin:28px 0 12px}.legal-dialog footer{border-top:1px solid #e2e6ec;font-size:.85rem;flex-wrap:wrap}.legal-dialog :focus-visible{outline:3px solid #075fca;outline-offset:4px}@media(max-width:480px){.legal-dialog footer,.legal-dialog header,.legal-dialog-content{padding:16px}.legal-dialog h2{font-size:1.1rem}}