/* Tailwind Typography — prose-slate / prose-blue (page.html) */
.cx-prose { color: #334155; font-size: 0.875rem; line-height: 1.7142857; max-width: none; }
@media (min-width: 640px) { .cx-prose { font-size: 1rem; line-height: 1.75; } }
.cx-prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; margin-bottom: 1.25em; line-height: 1.75; }
.cx-prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { display: none; color: #0f172a; font-weight: 800; font-size: 2.25rem; line-height: 1.1111111; margin-top: 0; margin-bottom: 1rem; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .cx-prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { display: block; } }
.cx-prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: #0f172a; font-weight: 900; font-size: 1.5em; margin-top: 2em; margin-bottom: 1em; line-height: 1.3333333; }
.cx-prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: #0f172a; font-weight: 800; font-size: 1.25em; margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.6; }
.cx-prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: #2563eb; text-decoration: underline; font-weight: 600; }
.cx-prose :where(a):hover:not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: #1d4ed8; }
.cx-prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: #0f172a; font-weight: 700; }
.cx-prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 500; font-style: italic; color: #64748b; border-left: 0.25rem solid #e2e8f0; quotes: "\201C""\201D""\2018""\2019"; margin-top: 1.6em; margin-bottom: 1.6em; padding-left: 1em; }
.cx-prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: disc; margin-top: 1.25em; margin-bottom: 1.25em; padding-left: 1.625em; }
.cx-prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.5em; margin-bottom: 0.5em; }
.cx-prose :where(li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.75em; margin-bottom: 0.75em; }
.cx-prose-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.cx-prose table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.cx-prose th, .cx-prose td { border: 1px solid #e2e8f0; padding: 0.75rem; text-align: left; }
.cx-prose th { background: #f8fafc; font-weight: 700; color: #0f172a; }
.cx-ext-link { display: inline-flex; align-items: center; gap: 3px; }
.cx-formula-box { margin: 1.5rem 0; background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.75rem; padding: 1.25rem 1.5rem; overflow-x: auto; }
.cx-formula-box__label { margin: 0 0 0.75rem; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #b45309; }
.cx-formula-box__math { text-align: center; font-size: 1.125rem; line-height: 1.5; overflow-x: auto; }
.cx-formula-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-top: 1rem; font-size: 0.75rem; color: #475569; }
@media (min-width: 640px) { .cx-formula-legend { grid-template-columns: repeat(4, 1fr); } }
.cx-formula-legend__item { background: #fff; border: 1px solid #fde68a; border-radius: 0.5rem; padding: 0.375rem 0.5rem; text-align: center; line-height: 1.4; }
.cx-formula-legend__key { color: #1e293b; font-weight: 700; }

.cx-code-block { margin: 1.25rem 0; padding: 1rem 1.125rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow-x: auto; font-size: 0.8125rem; line-height: 1.6; color: #334155; }
.cx-code-block code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; white-space: pre-wrap; word-break: break-word; }
.cx-prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; font-size: 0.875em; background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; border-radius: 0.375rem; padding: 0.125rem 0.35rem; }
.cx-mermaid-wrap { margin: 1.5rem 0; padding: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow-x: auto; }
.cx-mermaid-wrap .mermaid { margin: 0; font-family: Inter, system-ui, sans-serif; }
.cx-prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: decimal; margin-top: 1.25em; margin-bottom: 1.25em; padding-left: 1.625em; }
