/* Keep wide technical content inside the page instead of widening the viewport. */
body[data-slmar-docs] .docs-main{min-width:0;flex:1}
body[data-slmar-docs] .docs-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
body[data-slmar-docs] .docs-content img{max-width:100%;height:auto}
body[data-slmar-page] pre{max-width:100%;overflow-x:auto}
body[data-slmar-page] :not(pre)>code{overflow-wrap:anywhere}
@media(max-width:1100px){body[data-slmar-page] table{display:block;max-width:100%;overflow-x:auto}}
body[data-slmar-docs] .feature-card{min-width:0}
@media(max-width:768px){
 body[data-slmar-docs] .docs-header-content{gap:12px}
 body[data-slmar-docs] .docs-logo{min-width:0;max-width:60%;font-size:17px}
 body[data-slmar-docs] .docs-logo span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-slmar-docs] .back-to-main{font-size:11px;white-space:nowrap;padding:7px 9px}
 body[data-slmar-docs] .docs-cta a{font-size:11px;padding:7px 9px}
}

/* ---- Site layout tokens and shared footer (2026-09-12) ---- */
:root{--slmar-container:1180px;--slmar-gutter:24px;--slmar-measure:720px}
.slmar-container{max-width:var(--slmar-container);margin-inline:auto;padding-inline:var(--slmar-gutter)}
.slmar-prose{max-width:var(--slmar-measure)}
footer.slmar-footer{display:block;border-top:1px solid #1e2e40;background:transparent;margin:0;padding:2.25rem 0 2.75rem;font-family:'Work Sans',system-ui,sans-serif;font-size:.875rem;line-height:1.5;color:#485e72;text-align:left}
footer.slmar-footer .slmar-footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 2rem;max-width:var(--slmar-container);margin:0 auto;padding:0 var(--slmar-gutter)}
footer.slmar-footer .slmar-footer-inner>*{display:block}
footer.slmar-footer p{margin:0;font-size:.875rem;line-height:1.5;color:#485e72;text-align:left}
footer.slmar-footer strong{font-family:'Bitter',Georgia,serif;font-weight:700;font-size:1rem;color:#c8d4df;border:0;padding:0}
footer.slmar-footer a{color:#6b7f92;text-decoration:none;border:0}
footer.slmar-footer a:hover{color:#c4963e}
footer.slmar-footer .slmar-footer-extra{margin-top:.4rem;font-size:.8rem;color:#485e72;max-width:720px}
footer.slmar-footer .slmar-footer-links{white-space:nowrap}
@media(max-width:768px){footer.slmar-footer .slmar-footer-inner{padding:0 20px;flex-direction:column}footer.slmar-footer .slmar-footer-links{white-space:normal}}
/* YouTube facade (videos) */
.yt-facade{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;background:#05080c;cursor:pointer;display:block}
.yt-facade img{width:100%;height:100%;object-fit:cover;display:block;opacity:.8;transition:opacity .2s}
.yt-facade:hover img{opacity:1}
.yt-facade .yt-play{position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:rgba(196,150,62,.94);border-radius:12px}
.yt-facade .yt-play::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-38%,-50%);border-style:solid;border-width:10px 0 10px 18px;border-color:transparent transparent transparent #0c1118}
.yt-facade:focus-visible{outline:2px solid #dbb164;outline-offset:2px}
