/* Host layout only. The reusable search styles are loaded from the shared URL. */
.docs-layout { box-sizing: border-box; }
.docs-navigation { box-sizing: border-box; }
@media (max-width: 820px) {
    nav { height: auto; }
    nav > div { box-sizing: border-box; padding: 12px 16px; }
    nav .links { float: none; width: 100%; line-height: 1.8; white-space: normal; }
    nav h1 { margin: 12px 0; font-size: 22px; }
    nav h3 { display: block; margin: 0 0 12px; padding: 0; font-size: 14px; }
    .docs-layout { display: block; padding: 0 16px; }
    .docs-navigation { float: none; width: 100%; max-height: 42vh; overflow: auto; margin: 16px 0 24px; padding: 12px; border: 1px solid #d0d7de; border-radius: 8px; }
    .docs-navigation.is-searching { max-height: none; }
    .docs-layout article.aj-text { float: none; box-sizing: border-box; width: 100%; margin: 0 0 40px; overflow-wrap: anywhere; }
    .docs-layout article img { max-width: 100%; height: auto; }
    .docs-layout article pre { overflow-x: auto; }
}


html[data-theme="dark"] [data-site-search] .ss-search {
    background: #0d1117;
    border-radius: 6px;
    padding: 12px;
    --ss-text: #e6edf3;
    --ss-background: #0d1117;
    --ss-border: #30363d;
    --ss-control-border: #57606a;
    --ss-link: #79c0ff;
    --ss-muted: #b1bac4;
    --ss-highlight: #725e12;
    --ss-highlight-text: #fff;
}
