/* Страница Книги знаний хаба (/book): шапка 56 px и книга на весь остальной экран */
html, body { height: 100%; }
body.kb-page { margin: 0; display: flex; flex-direction: column; overflow: hidden; background: #010409; color: #e6edf3; font: 15px/1.6 Inter, system-ui, "Segoe UI", Roboto, sans-serif; }
.kb-brand { font-size: 15px; white-space: nowrap; }
.kb-brand b { font-weight: 700; }
.kb-brand-sub { color: #8b949e; }
.kb-wrap { flex: 1; min-height: 0; padding: 16px clamp(12px, 2vw, 24px); }
.kb-wrap > #book { height: 100%; }
.kb-loading { margin: 40px auto; color: #8b949e; text-align: center; }
@media (max-width: 767px) { body.kb-page { overflow: auto; display: block; } .kb-wrap { padding: 12px; } .kb-brand-sub { display: none; } }
