* { box-sizing: border-box; }
body.docs-public { margin: 0; color: #1c1c1c;
    font-family: "Open Sans", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; }
#docs-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 20px; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0;
    background: #fff; z-index: 30; }
#docs-topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
#docs-topbar .brand img { height: 28px; width: auto; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar-links > a { color: #1c1c1c; text-decoration: none; font-weight: 600; font-size: 14px; }
.topbar-links > a:hover { color: #7c3aed; }
#nav-toggle { display: none; background: #fff; border: 1px solid #d8d8d8; border-radius: 4px;
    padding: 7px 12px; cursor: pointer; font: inherit; }
.postman { position: relative; }
#postman-btn { background: #7c3aed; color: #fff; border: 0; border-radius: 4px;
    padding: 8px 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
#postman-menu { position: absolute; right: 0; top: 110%; background: #fff;
    border: 1px solid #e0e0e0; border-radius: 6px; padding: 8px; min-width: 190px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12); display: grid; gap: 6px; z-index: 40; }
#postman-menu a, #postman-menu button { display: block; width: 100%; text-align: left;
    padding: 6px 8px; border: 0; background: none; cursor: pointer; color: #1c1c1c;
    text-decoration: none; border-radius: 4px; font: inherit; font-size: 14px; }
#postman-menu a:hover, #postman-menu button:hover { background: #f3f0fb; }
#postman-menu[hidden] { display: none; }
#docs-layout { display: grid; grid-template-columns: 280px 1fr; align-items: start; }
#docs-sidebar { position: sticky; top: 49px; height: calc(100vh - 49px); overflow: auto;
    border-right: 1px solid #eee; padding: 14px 0; }
#docs-filter { display: block; width: calc(100% - 28px); margin: 0 14px 12px; padding: 6px 10px;
    border: 1px solid #d8d8d8; border-radius: 4px; font: inherit; font-size: 12px; }
#docs-filter:focus { outline: 2px solid #7c3aed; outline-offset: 1px; }
#docs-nav a { display: flex; gap: 8px; align-items: center; padding: 5px 16px 5px 26px;
    font-size: 12.5px; color: #1c1c1c; text-decoration: none; }
#docs-nav a.nav-intro { padding-left: 16px; font-weight: 600; }
#docs-nav a:hover { background: #f7f5fc; }
#docs-nav a.active { background: #f3f0fb; color: #7c3aed; font-weight: 600;
    border-right: 2px solid #7c3aed; }
.nav-group-title { padding: 11px 16px 4px; font-weight: 700; font-size: 11px;
    text-transform: uppercase; letter-spacing: .04em; color: #777; }
#docs-nav a.hidden, .nav-group.hidden { display: none; }
.badge { font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 3px; color: #fff; flex: none; }
.badge.get { background: #2c9e4b; } .badge.post { background: #e08a00; }
.badge.delete { background: #cc3b3b; } .badge.put { background: #1f78c2; }
section.endpoint { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0; border-bottom: 1px solid #e9e9e9; scroll-margin-top: 49px; }
section.endpoint .endpoint-doc { padding: 28px 32px; min-width: 0; font-size: 13.5px; }
.endpoint-doc p, .endpoint-doc li { font-size: 13.5px; }
.endpoint-doc h1 { font-size: 21px; margin-top: 0; }
.endpoint-doc h2 { font-size: 17px; margin-top: 0; display: flex; align-items: center; gap: 8px; }
.endpoint-doc h3 { font-size: 14px; }
.endpoint-doc h4 { font-size: 13px; margin: 18px 0 6px; }
.endpoint-url code { background: #f6f4fb; padding: 4px 8px; border-radius: 4px; font-size: 13px; }
.auth-note { font-size: 13px; color: #555; }
.endpoint-doc table { border-collapse: collapse; width: 100%; margin: 10px 0 16px; }
.endpoint-doc th, .endpoint-doc td { border: 1px solid #e6e6e6; padding: 6px 10px;
    text-align: left; font-size: 13px; vertical-align: top; }
.endpoint-doc th { background: #fafafa; }
.endpoint-doc code, .endpoint-code code { font-family: "SFMono-Regular", Menlo, Consolas, monospace; }
.endpoint-doc pre { background: #f6f8fa; padding: 12px; border-radius: 6px; overflow: auto; font-size: 13px; }
.endpoint-doc a { color: #7c3aed; }
section.endpoint .endpoint-code { background: #1f2228; color: #e6e6e6; padding: 26px 24px; min-width: 0; }
.endpoint-code .panel-head { display: flex; justify-content: space-between; align-items: center;
    gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; font-size: 13px; }
.lang-tabs, .resp-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-tab, .resp-tab, .endpoint-code .copy { background: #2c2f36; color: #e6e6e6;
    border: 1px solid #3a3d44; border-radius: 4px; padding: 3px 10px; cursor: pointer;
    font-size: 12px; font-family: inherit; }
.lang-tab.active { border-color: #a78bfa; color: #fff; }
.resp-tab.active { border-color: #a78bfa; color: #fff; }
.resp-tab.ok { border-left: 3px solid #2c9e4b; }
.resp-tab.err { border-left: 3px solid #cc3b3b; }
.endpoint-code pre { background: #15171c; padding: 14px; border-radius: 6px; overflow: auto;
    font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.endpoint-code pre.snippet, .endpoint-code pre.resp { display: none; }
.endpoint-code pre.snippet.active, .endpoint-code pre.resp.active { display: block; }
.j-key { color: #9cdcfe; } .j-str { color: #ce9178; } .j-num { color: #b5cea8; } .j-bool { color: #569cd6; }
.c-str { color: #ce9178; } .c-num { color: #b5cea8; } .c-kw { color: #569cd6; }
.fetch-error { color: #cc3b3b; padding: 28px; }
#docs-footer { display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-top: 1px solid #e6e6e6; font-size: 13px; }
#docs-footer a { color: #7c3aed; }
#docs-footer .cta { font-weight: 700; text-decoration: none; }
.docs-embed #docs-layout { grid-template-columns: 250px 1fr; }
.docs-embed #docs-sidebar { top: 0; height: auto; max-height: 80vh; }
@media (max-width: 900px) {
    #docs-layout { display: block; }
    #nav-toggle { display: inline-block; }
    #docs-sidebar { display: none; position: fixed; top: 49px; left: 0; bottom: 0; width: 280px;
        background: #fff; z-index: 50; border-right: 1px solid #ddd;
        box-shadow: 2px 0 12px rgba(0,0,0,.15); }
    body.nav-open #docs-sidebar { display: block; }
    section.endpoint { display: block; }
}
@media print {
    #docs-sidebar, #docs-topbar, #docs-footer, .lang-tabs, .resp-tabs, .copy { display: none; }
    #docs-layout { display: block; }
    section.endpoint { display: block; }
    .endpoint-code pre.snippet, .endpoint-code pre.resp { display: block; }
}
