.legal-tabs,.legal-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.legal-tabs button[aria-selected=true]{background:#2563eb;color:#fff}.legal-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px}.legal-fields label,.legal-section label{display:block}.legal-fields input,.legal-section input,.legal-section textarea{box-sizing:border-box;width:100%;margin-top:8px;padding:10px;border:1px solid #8885;border-radius:6px;background:var(--bg-card,#fff);color:inherit;font:inherit}.legal-section{border:1px solid #8884;border-radius:8px;padding:16px;margin:16px 0}.legal-section textarea{min-height:180px;resize:vertical;line-height:1.7}.legal-section-head{display:flex;align-items:center;gap:10px}.legal-section-head label{flex:1}.legal-publish-bar{position:sticky;bottom:0;padding:16px;background:var(--bg-card,#fff);border:1px solid #8884;border-radius:8px;box-shadow:0 -4px 12px #0001}.legal-publish-bar p{margin:8px 0;line-height:1.6}.legal-publish-bar .legal-actions{margin-bottom:0}.legal-doc-dialog{width:min(880px,94vw);max-height:88vh;overflow:auto;border:1px solid #8885;border-radius:12px;padding:24px;background:var(--bg-card,#fff);color:inherit}.legal-doc-dialog::backdrop{background:#0008}.legal-doc-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.legal-doc-dialog header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-24px;padding:12px 0;background:var(--bg-card,#fff)}.legal-doc-hash{font-size:12px;overflow-wrap:anywhere}.legal-status{min-height:24px;color:#168056}.legal-status.error{color:#c73535}#legalCenterPanel input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:6px}.legal-record-filters{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.legal-record-filters input,.legal-record-filters select{padding:8px;background:transparent;color:inherit;border:1px solid #8885;border-radius:6px}@media(max-width:720px){.legal-fields{grid-template-columns:1fr}.legal-section-head{flex-wrap:wrap}}
