/* BMPFast sample problems (generated by BMPTrains docs/help-drafts/methodology/make_examples.py) */
.ex-section h2 .num { color: var(--c); margin-right: .35em; }
.ex-table { border-collapse: collapse; width: 100%; max-width: var(--measure); margin: 12px 0 0; font-size: .97rem; }
.ex-table th, .ex-table td { border-bottom: 1px solid var(--rule); padding: 7px 8px; text-align: left; vertical-align: top; }
.ex-table th { font-weight: 800; color: var(--c); }
.ex-table td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex-table tr.sub td { font-weight: 800; padding-top: 14px; }
.ex-scroll { overflow-x: auto; max-width: 100%; }
.ex-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; }
.ex-steps > li { counter-increment: st; margin: 0 0 26px; }
.ex-steps > li > p:first-child::before { content: "Step " counter(st) ". "; font-weight: 800; color: var(--c); }
.ex-steps figure { margin: 10px 0 0; }
.ex-steps img, .ex-shot img { max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; display: block; }
.ex-steps figcaption, .ex-shot figcaption { font-size: .9rem; margin-top: 6px; opacity: .85; max-width: var(--measure); }
.ex-report { width: 100%; height: 520px; max-height: 70vh; border: 1px solid var(--rule); border-radius: 6px; background: #fff; margin-top: 10px; }
.ex-check { border-left: 4px solid var(--c); padding: 10px 16px; border-radius: 6px; max-width: var(--measure);
            background: color-mix(in srgb, var(--c) 7%, transparent); }
.ex-check p { margin: .4em 0; }
.ex-check code, .ex-eq { font-family: Consolas, "Courier New", monospace; font-size: .95em; }
.ex-eq { display: block; margin: 6px 0; overflow-x: auto; white-space: pre-wrap; }
.ex-files li { margin: 4px 0; }
.ex-note { font-size: .9rem; opacity: .85; max-width: var(--measure); }
.ex-ok { color: #1b7f3b; font-weight: 800; }
.ex-no { color: #b3261e; font-weight: 800; }
:root[data-theme="dark"] .ex-ok { color: #6fd08e; }
:root[data-theme="dark"] .ex-no { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ex-ok { color: #6fd08e; } :root:not([data-theme="light"]) .ex-no { color: #ff8a80; } }
.ex-item { border-top: 1px solid var(--rule); padding: 14px 0; display: grid; grid-template-columns: minmax(150px, 200px) 1fr; gap: 6px 18px; }
.ex-item h3 { margin: 0; }
.ex-item ul { margin: 0; padding-left: 1.1em; }
.ex-item li { margin: 0 0 6px; }
.ex-item li span { display: block; font-size: .92rem; opacity: .85; }
.ex-item li span.ex-links { font-size: .9rem; opacity: 1; margin-top: 2px; }
@media (max-width: 760px) { .ex-item { grid-template-columns: 1fr; } .ex-report { height: 420px; } }
.ex-toc { line-height: 1.9; }
.band .band-links { margin: 10px 0 0; font-weight: 700; }
.ex-check { color: inherit; border: 1px solid var(--rule); border-left: 4px solid var(--c); }
:root[data-theme="dark"] .ex-check { background: color-mix(in srgb, var(--c) 18%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ex-check { background: color-mix(in srgb, var(--c) 18%, transparent); } }

.ex-calc { margin: .9em 0; }
.ex-calc-title { margin: 0 0 .35em; }
.ex-calc-text { margin: .35em 0; }
table.ex-calc-eq { border-collapse: collapse; margin: .55em 0; font-variant-numeric: tabular-nums; }
table.ex-calc-eq td { padding: 1px 0; vertical-align: top; border: 0; }
table.ex-calc-eq td.ex-calc-l { text-align: right; padding-right: .5em; white-space: nowrap; }
table.ex-calc-eq td.ex-calc-r { overflow-wrap: anywhere; }
@media (max-width: 560px) { table.ex-calc-eq tr, table.ex-calc-eq td { display: block; }
                            table.ex-calc-eq td.ex-calc-l { text-align: left; } table.ex-calc-eq td.ex-calc-l:empty { display: none; }
                            table.ex-calc-eq td.ex-calc-r { padding-left: 1.2em; } }
