/* doc-body.css — THE ONE LOOK for a director-uploaded Word document (tournament rules, parent waiver).
 * Used by every place that shows that HTML: tournament_public.html (Rules), and in interest_hub.html the
 * Global Settings card, the event override card, the effective-rules panel and the View modal.
 * The HTML itself always comes from IhDocxDoc.previewHtml (public/js/ih-docx-doc.js) under the shared
 * allowlist (public/js/doc-html-policy.js): no style/class/id can arrive with it, so this class is the
 * only styling it gets. Tables admitted 2026-10-12 (T-261012-32). */
.doc-body { font-size:14px; line-height:1.6; color:#334155; overflow-x:auto; max-width:100%; min-width:0; overflow-wrap:break-word; }
.doc-body > :first-child { margin-top:0; }
.doc-body p { margin:0 0 8px; }
.doc-body h1, .doc-body h2, .doc-body h3, .doc-body h4 { color:#0f172a; line-height:1.3; margin:16px 0 8px; }
.doc-body h1 { font-size:20px; }
.doc-body h2 { font-size:17px; }
.doc-body h3 { font-size:15px; }
.doc-body h4 { font-size:14px; }
.doc-body ul, .doc-body ol { margin:0 0 8px; padding-left:22px; }
.doc-body li { margin:2px 0; }
.doc-body li > p { margin:0; }
.doc-body table { width:100%; border-collapse:collapse; margin:8px 0 12px; font-size:14px; }
.doc-body caption { text-align:left; font-weight:700; padding:0 0 6px; }
.doc-body th, .doc-body td { border:1px solid #cbd5e1; padding:8px; text-align:left; vertical-align:top; color:#334155; font-size:14px; letter-spacing:normal; }
.doc-body th { background:#e2e8f0; color:#0f172a; font-weight:700; }
.doc-body th > p, .doc-body td > p { margin:0; }
.doc-body th > p + p, .doc-body td > p + p { margin-top:6px; }
