.docs-v3 { --docs-panel: #151b28; --docs-border: #29354b; --docs-muted: #a6b3c8; color: #e9eef7; color-scheme: dark; }
.docs-v3 .fdoc-hero, .docs-v3 .hero-card { background: linear-gradient(140deg, #1a2340, #141b2a 66%); border: 1px solid #344263; box-shadow: none; }
.docs-v3 .fdoc-hero h1, .docs-v3 .hero-card h1 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -.035em; }
.docs-v3 .fdoc-search, .docs-v3 #dashboardDocsSearch { max-width: none; min-height: 46px; border-color: #3a4962; background: #0d1421; color: #f5f7fc; }
.docs-v3 .fdoc-search:focus, .docs-v3 #dashboardDocsSearch:focus { outline: 2px solid #8b7cf8; outline-offset: 2px; }
.docs-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.docs-shortcut { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 11px 13px; border: 1px solid var(--docs-border); border-radius: 10px; background: var(--docs-panel); color: #dce5f3; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.docs-shortcut span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs-shortcut:hover, .docs-shortcut:focus-visible { border-color: #8b7cf8; background: #222943; }
.docs-layout { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 22px; align-items: start; }
.docs-layout > div:last-child { min-width: 0; scroll-margin-top: 84px; }
.docs-nav { position: sticky; top: 78px; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #485570 #111722; background: #111722; border: 1px solid var(--docs-border); border-radius: 14px; padding: 14px 10px; }
.docs-nav-heading { display: flex; flex-direction: column; gap: 2px; padding: 3px 10px 12px; border-bottom: 1px solid var(--docs-border); margin-bottom: 6px; }
.docs-nav-heading strong { color: #fff; font-size: 14px; }
.docs-nav-heading span { color: var(--docs-muted); font-size: 11px; }
.docs-nav-group { border-bottom: 1px solid #242e40; }
.docs-nav-group:last-child { border-bottom: 0; }
.docs-nav-group summary { display: flex; align-items: center; gap: 9px; padding: 10px 7px; border-radius: 8px; color: #d6e0f0; font-size: 12px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.docs-nav-group summary::-webkit-details-marker { display: none; }
.docs-nav-group summary:hover { background: #202a3c; }
.docs-nav-group summary:focus-visible { outline: 2px solid #8b7cf8; outline-offset: 2px; }
.docs-nav-group summary > span:nth-child(2) { flex: 1; }
.docs-nav-icon { font-size: 17px; }
.docs-nav-group summary small { color: #9dabc0; font-size: 10px; }
.docs-nav-links { display: grid; gap: 2px; margin: 0 0 7px 25px; padding-left: 9px; border-left: 1px solid #3a4962; }
.docs-nav-link { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 7px; background: transparent; color: #aebbd0; font: inherit; font-size: 11px; line-height: 1.4; text-align: left; cursor: pointer; }
.docs-nav-link:hover, .docs-nav-link:focus-visible { background: #222b3c; color: #fff; }
.docs-nav-link.active { background: #2d3151; color: #fff; font-weight: 700; }
.docs-v3 .fdoc-article { min-width: 0; padding: 0; background: var(--docs-panel); border: 1px solid var(--docs-border); border-radius: 14px; overflow: hidden; box-shadow: none; }
.docs-breadcrumb { padding: 14px 22px; border-bottom: 1px solid var(--docs-border); background: #111825; color: var(--docs-muted); font-size: 11px; line-height: 1.45; }
.docs-breadcrumb span { margin: 0 7px; color: #687a96; }
.docs-article-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 24px 25px; border-bottom: 1px solid var(--docs-border); }
.docs-article-heading h2 { margin: 8px 0 7px; color: #fff; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; }
.docs-article-heading p { margin: 0; max-width: 65ch; color: var(--docs-muted); font-size: 13px; line-height: 1.6; }
.docs-topic-label { display: inline-block; padding: 4px 8px; border-radius: 6px; color: #c5c1ff; background: #302c4d; font-size: 10px; font-weight: 800; }
.docs-module-link { flex: none; max-width: 180px; padding: 8px 10px; border: 1px solid #6659ca; border-radius: 8px; background: #302c56; color: #eeeaff; font: inherit; font-size: 10px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.docs-module-link:hover, .docs-module-link:focus-visible { background: #473d79; color: #fff; }
.docs-article-body { padding: 22px 25px 28px; color: #d6e0ef; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.docs-article-body > :first-child, .docs-article-body .docs-guide > :first-child { margin-top: 0; }
.docs-article-body p { margin: 0 0 14px; }
.docs-article-body a { color: #b9b2ff; text-underline-offset: 2px; }
.docs-article-body h4 { margin: 23px 0 10px; color: #fff; font-size: 15px; }
.docs-article-body ul, .docs-article-body ol { padding-left: 22px; margin: 10px 0 18px; }
.docs-article-body li { margin: 6px 0; }
.docs-article-body .fdoc-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.docs-article-body .fdoc-box { padding: 16px; background: #111825; border-color: var(--docs-border); }
.docs-article-body .fdoc-table { display: block; max-width: 100%; overflow-x: auto; background: #101725; }
.docs-article-body .fdoc-table th, .docs-article-body .fdoc-table td { min-width: 130px; border-color: #2b3850; }
.docs-article-body .fdoc-code { max-width: 100%; overflow-x: auto; }
.docs-guide-intro { color: #dce6f7; font-size: 14px; }
.docs-steps { counter-reset: docs-step; list-style: none; padding: 0 !important; }
.docs-steps li { position: relative; padding: 10px 12px 10px 46px; margin: 0 0 8px !important; border: 1px solid #2c3950; border-radius: 9px; background: #111a29; }
.docs-steps li::before { counter-increment: docs-step; content: counter(docs-step); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #5647a9; color: #fff; font-size: 11px; font-weight: 800; }
.docs-article-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 22px; border-top: 1px solid var(--docs-border); }
.docs-article-footer button { min-width: 0; padding: 11px 13px; border: 1px solid var(--docs-border); border-radius: 9px; background: #111825; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.docs-article-footer button:last-child { text-align: right; }
.docs-article-footer button:hover { border-color: #8b7cf8; }
.docs-article-footer small { display: block; margin-bottom: 4px; color: var(--docs-muted); font-size: 10px; }
.docs-article-footer strong { display: block; font-size: 11px; line-height: 1.4; }
.docs-results-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: #e7ecf7; font-size: 15px; font-weight: 800; }
.docs-results-heading strong { padding: 3px 8px; border-radius: 7px; background: #302c56; color: #d8d3ff; font-size: 12px; }
.docs-results { display: grid; gap: 9px; }
.docs-result { position: relative; display: grid; gap: 5px; width: 100%; padding: 15px 37px 15px 16px; border: 1px solid var(--docs-border); border-radius: 10px; background: var(--docs-panel); color: var(--docs-muted); font: inherit; font-size: 11px; line-height: 1.5; text-align: left; cursor: pointer; }
.docs-result:hover, .docs-result:focus-visible { border-color: #8b7cf8; background: #1b2537; }
.docs-result-section { color: #b8b4ff; font-size: 10px; font-weight: 700; }
.docs-result strong { color: #fff; font-size: 13px; }
.docs-result b { position: absolute; top: 15px; right: 16px; color: #bbb4ff; }
.docs-empty { padding: 25px; border: 1px solid var(--docs-border); border-radius: 10px; background: var(--docs-panel); color: var(--docs-muted); }
.docs-v3 .fdoc-command-table-wrap { overflow-x: auto; }
@media (max-width: 1080px) { .docs-layout { grid-template-columns: minmax(195px, 245px) minmax(0, 1fr); gap: 14px; } .docs-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: 285px; } .docs-article-heading { flex-direction: column; padding: 18px; } .docs-article-body { padding: 18px; } .docs-breadcrumb { padding: 12px 18px; } .docs-article-footer { padding: 14px 18px; } .docs-shortcuts { gap: 7px; } }
