﻿/* share.css is loaded on every page, so scope the body-scroll override to the
   share page only (matched by its content) — otherwise we'd re-enable scrolling
   app-wide and break the main fixed-layout shell (site.css: body overflow hidden). */
body:has(.kb-share),
body:has(.kb-share__missing) {
    overflow: auto !important;
}

.kb-share {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 96px;
    color: #1f2330;
    font-family: "Open Sans", system-ui, sans-serif;
    line-height: 1.6;
}

.kb-share__title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 24px;
    color: #0b0f2f;
}

.kb-share__body {
    font-size: 1rem;
}

.kb-share__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.kb-share__body pre {
    background: #0b0f2f;
    color: #e8ecff;
    padding: 16px;
    border-radius: 8px;
    overflow: auto;
}

.kb-share__body code {
    font-family: "Cascadia Code", "Consolas", monospace;
}

.kb-share__body table {
    border-collapse: collapse;
    width: 100%;
}

.kb-share__body th,
.kb-share__body td {
    border: 1px solid #d7dbe7;
    padding: 8px 12px;
}

.kb-share__missing {
    max-width: 560px;
    margin: 96px auto;
    text-align: center;
    color: #6b7280;
    font-family: "Open Sans", system-ui, sans-serif;
}

.kb-share__missing h1 {
    color: #0b0f2f;
    font-size: 1.5rem;
}
