/* Документация: дополнения к общему стилю GBS (style.css) */
body.with-side .container { max-width: none; padding: 28px 40px; }
.doc { max-width: 880px; }
.doc h1 { font-size: 1.7em; margin-bottom: 14px; }
.doc h2 { margin-top: 32px; padding-top: 6px; }
.doc p, .doc li { line-height: 1.55; }
.doc table { margin: 12px 0; }
.doc code { background: #eef1f5; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.scheme { background: #fff; border-radius: 10px; padding: 16px; margin: 16px 0; box-shadow: 0 1px 4px rgba(0,0,0,.06); overflow-x: auto; }
.scheme pre.mermaid { margin: 0; text-align: center; background: none; font-family: inherit; }
.side-sub-list { display: flex; flex-direction: column; margin: 0 0 6px 12px; border-left: 2px solid #e3e8ee; }
.side-sub-list a { padding: 4px 10px; font-size: 12.5px; color: #6b7683; line-height: 1.3; }
.side-sub-list a:hover { color: #1b6498; }
.logout-btn { background: none; color: #7b8794; padding: 0 4px; font-size: 13px; }
.logout-btn:hover { background: none; color: #b3261e; }
.inl { display: inline; margin: 0; }
button.lnk { background: none; color: #7b8794; padding: 0 6px; font-size: 12px; border: 0; }
button.lnk:hover { background: none; color: #1b6498; text-decoration: underline; }
details.thread { margin: 10px 0 18px; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 8px; padding: 8px 14px; }
details.thread > summary { cursor: pointer; font-size: 13px; color: #1b6498; font-weight: 600; }
.cmt { border-left: 3px solid #2a87c7; background: #fff; border-radius: 6px; padding: 8px 12px; margin: 10px 0; }
.cmt.done { border-left-color: #9aa5b1; opacity: .75; }
.cmt.reply { margin: 8px 0 0 18px; border-left-color: #f49739; }
.cmt-head { font-size: 12px; color: #6b7280; margin-bottom: 4px; }
.cmt-body { white-space: pre-wrap; font-size: 14px; }
.cmt-actions { margin-top: 6px; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; font-size: 12px; }
.reply-box summary { cursor: pointer; color: #1b6498; font-size: 12px; }
.reply-box form, .new-cmt { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.reply-box textarea, .new-cmt textarea { flex: 1; min-width: 200px; }
.page-disc { margin-top: 40px; border-top: 1px solid #e3e8ee; padding-top: 18px; }
.pill { margin-left: 6px; }
@media (max-width: 800px) { .sidebar { position: static; width: auto; } body.with-side .container { margin-left: 0; padding: 16px; } }
