.legal-modal{width:min(850px,calc(100vw - 32px));max-width:850px;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:16px;background:#fff;color:#183447;box-shadow:0 24px 80px #0005;overflow:hidden;font-family:inherit}
.legal-modal::backdrop{background:rgba(8,29,43,.65)}
.legal-modal[open]{display:flex;flex-direction:column}
.legal-modal header{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #dae4ea;flex-shrink:0}
.legal-modal #legal-modal-title{font-size:1.25rem;line-height:1.4;margin:0;color:#183447}
.legal-modal [data-legal-close]{cursor:pointer;font:inherit}
.legal-modal header button{border:0;background:transparent;color:#183447;font-size:28px;line-height:1;padding:0 5px;min-width:36px;min-height:36px}
.legal-modal-body{overflow:auto;overscroll-behavior:contain;padding:24px 26px;min-height:0}
.legal-modal-text{font-size:15.5px;line-height:1.85;text-align:left;overflow-wrap:anywhere}
.legal-modal .legal-modal-text p{margin:0 0 1.2em;font-size:inherit;line-height:inherit;color:#294557}
.legal-modal .legal-modal-text h3{display:flex;align-items:baseline;gap:10px;margin:2rem 0 1rem;padding-top:1.5rem;border-top:1px solid #dce7ed;font-size:1.15rem;font-weight:700;line-height:1.4;color:#075f82}
.legal-modal .legal-section-number{flex-shrink:0;font-weight:700;color:#075f82}
.legal-modal .legal-modal-text .legal-document-version{margin:0 0 1.8rem;padding:12px 16px;background:#f1f6f9;border-radius:8px;font-size:13px;color:#536b7c;line-height:1.6}
.legal-modal .legal-modal-text ul{margin:0 0 1.5rem;padding-left:1.5rem;list-style:disc}
.legal-modal .legal-modal-text li{padding-left:4px;margin:0 0 .7rem;line-height:1.85;color:#294557}
.legal-modal footer{padding:16px 26px;border-top:1px solid #dae4ea;display:flex;justify-content:flex-end;flex-shrink:0}
.legal-modal footer button{border:0;border-radius:8px;background:#075f82;color:white;padding:11px 18px}
.legal-modal button:focus-visible,.legal-modal-body:focus-visible{outline:3px solid #42a7d8;outline-offset:3px}
@media(max-width:600px){.legal-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.legal-modal header,.legal-modal footer{padding:16px}.legal-modal-body{padding:18px}.legal-modal footer button{width:100%}}
