/* Документация /docs */
.docs { padding-top: 20px; }
.docs h1 { font-size: 2rem; margin-bottom: 1rem; }
.docs-content { line-height: 1.6; }
.docs-body h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; padding-top: 70px; margin-top: -40px; }
.docs-body h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; padding-top: 70px; margin-top: -50px; }
.docs-body h4 { font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.docs-body p { margin-bottom: .9rem; }
.docs-body ul, .docs-body ol, .docs-toc ul { padding-left: 1.6rem; margin-bottom: .9rem; }
.docs-body li { margin-bottom: .3rem; }
.docs-body li > ul, .docs-body li > ol { margin: .3rem 0 0; }
.docs-body code { background: #f3f2f8; color: #4951a2; padding: 1px 4px; border-radius: 4px; font-size: .9em; }
.docs-code { background: #f3f2f8; padding: 12px; border-radius: 8px; overflow-x: auto; }
.docs-code code { background: none; padding: 0; color: #302c4f; }
.docs-table { overflow-x: auto; margin-bottom: 1rem; }
.docs-table table { margin-bottom: 0; }
.docs-table th { background: #f3f2f8; }
.docs-note { border-left: 4px solid #4951a2; background: #f3f2f8; padding: 10px 14px; border-radius: 0 8px 8px 0; margin-bottom: 1rem; }
.docs-note p:last-child, .docs-note ul:last-child { margin-bottom: 0; }
.docs-note-warning { border-color: #ec0578; background: #fdf0f6; }
.docs-note-tip { border-color: #2e9e5b; background: #eef8f2; }
.docs-img { max-width: 100%; border: 1px solid #ddd; border-radius: 6px; }
.docs-lead { font-size: 1.1rem; color: #5a5775; }
.docs-muted { color: #8a87a3; font-size: .9rem; }
.docs-breadcrumbs { font-size: .9rem; margin-bottom: .5rem; color: #8a87a3; }
.docs-toc { border: 1px solid #e3e1ee; border-radius: 8px; padding: 10px 14px; margin-bottom: 1.5rem; }
.docs-toc ul { margin: 4px 0 0; }
.docs-toc-3 { margin-left: 1rem; font-size: .95rem; }
.docs-search { margin-bottom: 10px; }
.docs-nav .list-group-item { padding: 6px 12px; border-left: none; border-right: none; }
.docs-nav-page { font-size: .9rem; padding-left: 24px !important; }
.docs-open { font-weight: bold; }
.docs-current { background: #f3f2f8; color: #4951a2; font-weight: bold; }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.docs-card, .docs-list-item { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #e3e1ee; border-radius: 10px; color: inherit; }
.docs-card:hover, .docs-list-item:hover { border-color: #4951a2; text-decoration: none; color: inherit; }
.docs-list { display: flex; flex-direction: column; gap: 8px; margin-top: 1rem; }
.docs-result { margin-bottom: 1.2rem; }
.docs-result a { font-size: 1.1rem; }
.docs-pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e3e1ee; }
.docs-updated { margin-top: 1rem; }
@media (min-width: 992px) {
	.docs-sidebar { position: sticky !important; top: 90px; max-height: calc(100vh - 100px); overflow-y: auto !important; }
}
@media (max-width: 992px) {
	.docs-sidebar { background: #fff; padding: 10px; }
}
