.legal-section{border:1px solid var(--border);border-radius:10px;padding:16px;margin:12px 0;display:flex;flex-direction:column;gap:9px}.legal-section h3{font-size:16px;margin:0}.legal-section p{margin:0}.legal-text{white-space:pre-wrap;overflow-wrap:anywhere}.legal-section small{color:var(--text-secondary)}.legal-section button{align-self:flex-start}.legal-editor{position:fixed;inset:0;margin:auto!important;width:min(700px,calc(100vw - 28px));max-height:calc(100dvh - 36px);overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--bg-card);color:var(--text-primary);padding:22px;box-sizing:border-box}.legal-editor::backdrop{background:rgba(15,23,42,.5)}.legal-editor h2{font-size:20px;margin:0 0 15px}.legal-editor form{display:flex;flex-direction:column;gap:12px}.legal-editor label{display:flex;flex-direction:column;gap:6px}.legal-editor input,.legal-editor textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg-app);color:var(--text-primary);font:inherit}.legal-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
