/* Practical knowledge articles. Existing catalog/audit styles stay separate. */
.rmg-layout{grid-template-areas:"article toc";align-items:start}
.rmg-toc{grid-area:toc;max-height:calc(100vh - 124px);overflow-y:auto}
.rmg-toc a{color:#d9d4df;text-decoration:none;line-height:1.5}
.rmg-toc a:hover,.rmg-toc a:focus-visible{color:#ffad7c;text-decoration:underline}
.rmg-toc .rmg-next{display:block;margin-top:22px;padding-top:16px;border-top:1px solid #443b57;color:#ffad7c;font-weight:750}
.rmg-article{grid-area:article;min-width:0}
.rmg-article a{color:#ffb281;text-underline-offset:3px;overflow-wrap:anywhere}
.rmg-article .rmg-review{color:#b2a8c0;font-size:12px;line-height:1.6}
.rmg-section{margin-top:32px;scroll-margin-top:110px}
.rmg-section h2{margin:0 0 15px;color:#fff;font-size:24px;line-height:1.3;letter-spacing:-.3px}
.rmg-article ul{padding-left:22px;margin:12px 0 22px}
.rmg-article li{margin:10px 0;color:#d9d4df;font-size:15px;line-height:1.7}
.rmg-article li::marker{color:#ffad7c}
.rmg-article :not(pre)>code{padding:2px 5px;border-radius:4px;background:#30293f;color:#ffd0ae;font:13px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.rmg-code{margin:18px 0 22px;border:1px solid #4a405d;border-radius:10px;overflow:hidden;background:#11101a}
.rmg-code figcaption{padding:9px 14px;border-bottom:1px solid #3a324b;background:#272136;color:#bfb4cc;font:12px/1.5 system-ui,sans-serif}
.rmg-code pre{margin:0;padding:17px;overflow:auto;max-width:100%;color:#d3f6dd;font:14px/1.7 ui-monospace,Consolas,monospace;tab-size:2}
.rmg-note{margin:18px 0 24px;padding:16px 18px;border-left:3px solid #ff9b61;border-radius:0 8px 8px 0;background:#2b2130;color:#e8d7d2;font-size:14px;line-height:1.7}
.rmg-table{max-width:100%;overflow-x:auto;margin:18px 0 24px;border:1px solid #443a57;border-radius:10px}
.rmg-table table{width:100%;border-collapse:collapse;table-layout:fixed}
.rmg-table th,.rmg-table td{padding:14px;text-align:left;vertical-align:top;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.rmg-table th{background:#2d253d;color:#fff;font-weight:750}
.rmg-table td{color:#d9d4df;border-top:1px solid #3d344e}
.rmg-table th:first-child,.rmg-table td:first-child{width:35%}
.rmg-sources{padding-top:24px;border-top:1px solid #443a57}
.rmg-sources li{font-size:13px}
.rmg-more{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px;padding:20px;border:1px solid #5b4651;border-radius:10px;background:#2b202d}
.rmg-more strong{flex-basis:100%;color:#fff}
.rmg-more a{font-size:14px}
@media(max-width:1050px){.rmg-layout{grid-template-areas:"toc" "article";grid-template-columns:minmax(0,1fr)}.rmg-toc{max-height:none;position:static}.rmg-toc ol{columns:2;column-gap:28px}.rmg-toc li{break-inside:avoid}}
@media(max-width:680px){.rmg-toc ol{columns:1}.rmg-section h2{font-size:22px}.rmg-article li{font-size:14px}.rmg-table th,.rmg-table td{padding:10px;font-size:13px}.rmg-table th:first-child,.rmg-table td:first-child{width:42%}.rmg-code pre{font-size:12px;padding:12px}.rmg-note{padding:14px}.rmg-more{padding:15px}}
