/* Справка в контексте */
html:not([data-kb-help]) .kb-q { display: none !important; }
.kb-q { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a8a86; font-size: 14px; line-height: 1; cursor: pointer; vertical-align: middle; }
.kb-q:hover, .kb-q.is-on { color: #0d6efd; background: #eef4ff; }

.kb-help { position: fixed; top: 52px; right: 0; bottom: 0; z-index: 3000; width: 460px; max-width: 100vw; display: flex; flex-direction: column; background: var(--pl-work, #fff); border-left: 1px solid var(--pl-line, #e4e2da); box-shadow: -10px 0 30px rgba(0, 0, 0, .12); transform: translateX(100%); visibility: hidden; transition: transform .18s ease, visibility 0s linear .18s; }
.kb-help.vis { transform: none; visibility: visible; transition: transform .18s ease; }
.kb-help-h { flex-shrink: 0; display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 8px 0 10px; border-bottom: 1px solid var(--pl-line, #e4e2da); background: var(--pl-head, #f8f8f7); }
.kb-help-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding-left: 4px; font-size: 12.5px; font-weight: 600; color: #555; }
.kb-help-btn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 0; border-radius: 6px; background: transparent; color: #777; font-size: 14px; cursor: pointer; text-decoration: none; }
.kb-help-btn:hover { background: #efede7; color: #333; }
.kb-help-btn[hidden] { display: none; }
.kb-help-b { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 20px 32px; }
.kb-help-msg { padding: 40px 10px; text-align: center; color: #999; font-size: 13px; }

.kb-help .art { max-width: none; }
.kb-help .art h1 { font-size: 20px; }
.kb-help .a-sum { font-size: 14.5px; }
.kb-help .a-meta { margin-top: 10px; padding-bottom: 12px; }
.kb-help .body { font-size: 14px; line-height: 1.6; }
.kb-help .body h2 { margin: 24px 0 8px; font-size: 16.5px; }
.kb-help .body h3 { margin: 18px 0 6px; font-size: 14.5px; }
.kb-help .stage { padding-left: 44px; margin-top: 22px; }
.kb-help .stage-n { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; }
.kb-help .stage::before { left: 15.5px; top: 38px; }
