.legal-links button{border:0;background:none;color:var(--brand,#a6663c);text-decoration:underline;cursor:pointer;font:inherit;padding:4px}
.legal-notice,.legal-consent{font-size:14px;line-height:1.7;padding:14px;border:1px solid var(--line,#ddd0bd);border-radius:12px;margin:16px 0;background:#fffaf1;color:#654b35}
.legal-consent p{margin:8px 0}.legal-consent button{font:inherit;cursor:pointer}.legal-reset{border:0;background:none;text-decoration:underline;color:inherit}
#auth-register button[type=submit]:disabled{opacity:.5;cursor:not-allowed}
.legal-dialog{width:min(760px,calc(100vw - 28px));max-height:90vh;max-height:90dvh;padding:0;border:1px solid #dfd2c0;border-radius:18px;color:#30271e;background:#fffdf9}
.legal-dialog::backdrop{background:rgba(25,20,15,.58)}
.legal-dialog[open]{display:flex;flex-direction:column}.legal-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e8dfd4;gap:12px}
.legal-dialog h2{margin:0;font-size:24px}.legal-dialog header button{padding:8px 12px;cursor:pointer}
.legal-document{overflow:auto;padding:18px 24px;line-height:1.85;min-height:0;overscroll-behavior:contain}.legal-document h3{font-size:18px;margin:20px 0 8px}.legal-document p{margin:0 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}
.legal-dialog footer{padding:14px 22px;border-top:1px solid #e8dfd4;background:#faf5ec}.legal-dialog footer p{font-size:13px;margin:0 0 8px}.legal-dialog footer button{padding:12px 18px;border:0;border-radius:9px;background:#a6663c;color:#fff;font:inherit;cursor:pointer}.legal-dialog footer button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:500px){.legal-document{padding:12px 16px}.legal-dialog header,.legal-dialog footer{padding:12px 16px}.legal-dialog h2{font-size:21px}}
