/* Markdown document center. The content is intentionally independent from
   marketing page sections so long-form technical pages remain readable. */
.doc-page { background: #f6f8f7; min-height: 70vh; padding-bottom: 96px; }
.doc-hero { background: #102b28; color: #f4fbf8; overflow: hidden; }
.doc-hero-inner { min-height: 286px; display: flex; align-items: center; justify-content: space-between; gap: 36px; position: relative; }
.doc-hero .eq-eyebrow { color: #79d1a2; letter-spacing: .18em; margin: 0 0 18px; }
.doc-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.035em; }
.doc-hero p:not(.eq-eyebrow):not(.doc-kicker) { color: #b9d0c8; font-size: 1.08rem; line-height: 1.8; max-width: 680px; margin: 16px 0 0; }
.doc-kicker { display: flex; gap: 10px; align-items: center; color: #b9d0c8; margin: 0 0 16px; }
.doc-kicker a { color: #79d1a2; text-decoration: none; }
.doc-hero-mark { color: rgba(121, 209, 162, .16); font: 800 clamp(3rem, 10vw, 8rem)/.9 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.09em; user-select: none; }
.doc-hero-mark span { color: #79d1a2; }
.doc-container { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 46px; padding-top: 48px; }
.doc-sidebar { align-self: start; max-height: calc(100vh - 126px); overflow-y: auto; position: sticky; top: 94px; padding: 8px 8px 20px 0; scrollbar-color: #b8d6c7 transparent; scrollbar-width: thin; }
.doc-sidebar-title, .doc-toc-title { color: #5b726a; font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 14px; }
.doc-sidebar-home, .doc-sidebar-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 7px; color: #47615a; text-decoration: none; font-size: .94rem; transition: background .2s, color .2s; }
.doc-sidebar-home:hover, .doc-sidebar-link:hover, .doc-sidebar-home.active, .doc-sidebar-link.active { background: #dfeee7; color: #176247; }
.doc-sidebar-link small { color: #98aaa3; font-size: .7rem; white-space: nowrap; }
.doc-sidebar-link.active small { color: #4f9877; }
.doc-main { min-width: 0; }
.doc-index-intro { border-bottom: 1px solid #dce7e2; padding: 4px 0 26px; }
.doc-index-count { color: #4f9877; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.doc-index-intro h2 { margin: 12px 0 8px; color: #173c34; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.doc-index-intro p { color: #698079; line-height: 1.8; margin: 0; max-width: 680px; }
.doc-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 26px; }
.doc-card { background: #fff; border: 1px solid #e0ebe5; border-radius: 12px; color: inherit; display: block; min-height: 210px; padding: 24px; position: relative; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.doc-card:hover { border-color: #79d1a2; box-shadow: 0 14px 35px rgba(31, 82, 64, .1); transform: translateY(-2px); }
.doc-card-arrow { color: #5cb889; font-size: 1.4rem; position: absolute; right: 22px; top: 19px; }
.doc-card-label { color: #74a28d; font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.doc-card h3 { color: #1c463a; font-size: 1.35rem; margin: 28px 0 8px; }
.doc-card p { color: #6e817a; font-size: .91rem; line-height: 1.7; margin: 0; }
.doc-card-meta { color: #9aaba4; display: block; font-size: .74rem; margin-top: 20px; }
.doc-empty { color: #71847d; padding: 28px 0; }
.doc-meta-row { align-items: center; border-bottom: 1px solid #dce7e2; color: #8a9b95; display: flex; font-size: .78rem; justify-content: space-between; padding: 4px 0 20px; }
.doc-meta-row a { color: #398665; text-decoration: none; }
.doc-reading-layout { display: block; padding-top: 30px; }
.doc-toc { border-top: 1px solid #d5e4dc; margin-top: 24px; padding-top: 18px; }
.doc-toc a { border-left: 2px solid transparent; color: #7c9189; display: block; font-size: .79rem; line-height: 1.45; margin-left: -1px; padding: 5px 8px 5px 13px; text-decoration: none; }
.doc-toc a:hover { border-left-color: #62bf8d; color: #287456; }
.doc-toc-level-3 { padding-left: 23px !important; }
.doc-markdown { color: #334e45; font-size: 1rem; line-height: 1.85; min-width: 0; }
.doc-markdown h1, .doc-markdown h2, .doc-markdown h3, .doc-markdown h4, .doc-markdown h5, .doc-markdown h6 { color: #173c34; line-height: 1.3; scroll-margin-top: 100px; }
.doc-markdown h1 { border-bottom: 2px solid #a9d0bb; font-size: 2.3rem; margin: 0 0 28px; padding-bottom: 14px; }
.doc-markdown h2 { border-bottom: 1px solid #dce7e2; font-size: 1.65rem; margin: 48px 0 16px; padding-bottom: 9px; }
.doc-markdown h3 { font-size: 1.22rem; margin: 30px 0 10px; }
.doc-markdown h4, .doc-markdown h5, .doc-markdown h6 { font-size: 1rem; margin: 24px 0 7px; }
.doc-markdown p { margin: 0 0 16px; }
.doc-markdown a { color: #267d57; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-markdown ul, .doc-markdown ol { margin: 0 0 20px; padding-left: 1.55rem; }
.doc-markdown li { margin: 5px 0; padding-left: 3px; }
.doc-markdown li input { accent-color: #2b9a68; margin-right: 7px; }
.doc-markdown blockquote { background: #edf7f1; border-left: 4px solid #72c69a; color: #4c6e60; margin: 20px 0; padding: 13px 18px; }
.doc-markdown blockquote p:last-child { margin-bottom: 0; }
.doc-markdown code { background: #edf2ef; border-radius: 4px; color: #1f6b4e; font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; padding: .16em .35em; }
.doc-markdown .doc-code { background: #122522; border-radius: 9px; color: #d9f2e5; margin: 22px 0; overflow-x: auto; padding: 19px 21px; }
.doc-markdown .doc-code code { background: transparent; color: inherit; display: block; font-size: .86rem; line-height: 1.7; padding: 0; white-space: pre; }
.doc-markdown .doc-table-wrap { margin: 22px 0; overflow-x: auto; }
.doc-markdown table { border-collapse: collapse; min-width: 100%; text-align: left; }
.doc-markdown th, .doc-markdown td { border: 1px solid #d9e7df; padding: 9px 12px; vertical-align: top; }
.doc-markdown th { background: #edf6f1; color: #245744; font-weight: 700; }
.doc-markdown td { background: #fff; }
.doc-markdown hr { border: 0; border-top: 1px solid #dce7e2; margin: 32px 0; }
.doc-markdown img { border: 1px solid #dce7e2; border-radius: 8px; display: block; height: auto; margin: 18px 0; max-width: 100%; }
@media (max-width: 900px) {
    .doc-container { gap: 28px; grid-template-columns: 210px minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .doc-hero-inner { min-height: 230px; }
    .doc-hero-mark { display: none; }
    .doc-container, .doc-reading-layout { display: block; }
    .doc-sidebar { background: #fff; border: 1px solid #e0ebe5; border-radius: 9px; margin-bottom: 28px; max-height: none; overflow: visible; padding: 16px; position: static; }
    .doc-sidebar-title { margin-bottom: 7px; }
    .doc-toc { border-top: 1px solid #d5e4dc; margin-bottom: 0; padding: 16px 0 0; }
    .doc-toc a { border-left: 0; padding: 4px 4px; }
    .doc-toc-level-3 { padding-left: 16px !important; }
    .doc-card-grid { grid-template-columns: 1fr; }
    .doc-meta-row { gap: 12px; }
}
