/* lecture.studio · brand tokens from the identity board (Sep 2026) */
/* lecture.studio · self-hosted fonts (Google Fonts variable slices, latin + latin-ext); no third-party font requests */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #151515;
  --ink-2: #404040;
  --gray: #737373;
  --line: #e5e5e5;
  --paper: #f5f5f5;
  --white: #ffffff;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --radius: 10px;
  --font-brand: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--blue); text-decoration-color: currentColor; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-brand); letter-spacing: -0.03em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--paper); padding: 0.1em 0.35em; border-radius: 5px; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.eyebrow { font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.lead { font-size: 20px; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--gray); }
.small { font-size: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-brand); font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--blue); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } .nav .btn { min-height: 38px; padding: 0 14px; font-size: 14px; } .brand { font-size: 18px; } }

/* mobile menu: a checkbox toggle like the docs sidebar, no script; the panel drops under the sticky header */
.menu-open, .menu-panel { display: none; }
@media (max-width: 720px) {
  .top .wrap { gap: 12px; }
  .nav { margin-left: auto; }
  .menu-open { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; border-radius: var(--radius); cursor: pointer; color: var(--ink); }
  .menu-open svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  .menu-open:hover, .menu-toggle:checked ~ .menu-open { background: var(--paper); }
  .menu-toggle:checked ~ .menu-panel { display: flex; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px 0 12px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.35); }
  .menu-panel a { display: block; padding: 12px 24px; font-family: var(--font-brand); font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
  .menu-panel a:hover { color: var(--blue); background: var(--paper); }
}
@media (max-width: 480px) { .top:not(.top-docs) .brand span { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); font-family: var(--font-brand); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.nav a.btn-primary { color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 80px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-copy { max-width: 720px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 900px) { .hero { padding: 56px 0 40px; } .hero .wrap { gap: 32px; } }

/* product illustration: the three-panel workspace, drawn in CSS */
.shot { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; }
.shot img, .gallery img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #1e1e1e; }
.shot figcaption, .gallery figcaption { margin-top: 10px; font-size: 13px; color: var(--gray); }
.gallery { display: flex; flex-direction: column; gap: 40px; }
.gallery figure { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.gallery figure:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.gallery figure:nth-child(even) img { order: 2; }
.gallery figcaption { margin-top: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.gallery figcaption strong { display: block; color: var(--ink); font-family: var(--font-brand); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
@media (max-width: 800px) { .gallery figure, .gallery figure:nth-child(even) { grid-template-columns: 1fr; gap: 12px; } .gallery figure:nth-child(even) img { order: 0; } }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-brand); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--gray); }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.faq { display: flex; flex-direction: column; }
.faq > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq p { color: var(--ink-2); }
@media (max-width: 720px) { .faq > div { grid-template-columns: 1fr; gap: 8px; } }
.band { background: var(--ink); color: var(--white); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #d4d4d4; }
.band a:not(.btn) { color: var(--white); }
.band .btn-primary { background: var(--white); color: var(--ink); }
.band .btn-primary:hover { background: var(--paper); }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; padding: 32px; } }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 8px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); background: var(--paper); }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; font-size: 15px; }
.spec dt { color: var(--gray); }
.spec dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; word-break: break-all; }
.steps-list { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.steps-list li::marker { font-family: var(--font-brand); font-weight: 700; color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--gray); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--blue); }
footer .tools-row { width: 100%; gap: 8px 18px; font-size: 13px; padding-top: 4px; }
footer .tools-row b { color: var(--ink); font-weight: 600; }
footer .legal { width: 100%; gap: 18px; font-size: 13px; }
footer .contact { width: 100%; font-size: 13px; }

/* blog */
.post-wrap { padding: 56px 0 72px; display: flex; flex-direction: column; gap: 48px; }
.post { max-width: 720px; }
.post h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.04em; margin: 12px 0 14px; }
.post h2 { font-size: 26px; margin: 44px 0 12px; }
.post h3 { font-size: 19px; margin: 28px 0 8px; }
.post p, .post li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.post > p:first-of-type:not(.post-meta) { color: var(--ink); }
.post p { margin: 0 0 16px; }
.post ul, .post ol { padding-left: 24px; margin: 0 0 16px; }
.post li { margin: 6px 0; }
.post li::marker { color: var(--gray); }
.post ol li::marker { font-family: var(--font-brand); font-weight: 700; color: var(--ink); }
.post strong { color: var(--ink); font-weight: 600; }
.post a { color: var(--blue); text-decoration-color: rgba(29, 78, 216, 0.35); }
.post a:hover { text-decoration-color: currentColor; }
.post pre { background: var(--ink); color: #fafafa; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.55; margin: 0 0 18px; }
.post pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.post code { font-size: 0.88em; }
.post blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--ink); background: var(--paper); border-radius: 0 8px 8px 0; }
.post blockquote p { margin: 0; }
.post table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 18px; display: block; overflow-x: auto; }
.post th, .post td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.post th { background: var(--paper); font-weight: 600; }
.post hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post img { border-radius: 8px; }
.post-meta { font-size: 14px; color: var(--gray); margin: 0 0 28px; }
.post-meta a { color: var(--gray); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--gray); }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.post-cta { max-width: 720px; background: var(--ink); color: var(--white); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-cta h2 { color: var(--white); font-size: 24px; }
.post-cta p { color: #d4d4d4; font-size: 15px; }
.post-cta .btn-primary { background: var(--white); color: var(--ink); margin-top: 6px; }
.post-cta .btn-primary:hover { background: var(--paper); }
.related { max-width: 720px; }
.related h2 { font-size: 18px; margin-bottom: 10px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.related a { color: var(--ink); }
.index-head { display: flex; flex-direction: column; gap: 10px; }
.post-list { list-style: none; padding: 0; margin: 0; max-width: 760px; display: flex; flex-direction: column; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; text-decoration: none; color: var(--ink); }
.post-list h2 { font-size: 22px; }
.post-list a:hover h2 { color: var(--blue); }
.post-list p { color: var(--ink-2); font-size: 15px; }
.post-list .post-meta { margin: 0; }

/* powered-by badge */
.powered { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font-family: var(--font-brand); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.powered img { width: 20px; height: 20px; }
.powered span { color: var(--gray); font-weight: 600; }
.powered b { color: var(--ink); font-weight: 700; }
.powered:hover { border-color: var(--ink); color: var(--ink); }
.powered.dark { background: transparent; border-color: #404040; color: #d4d4d4; }
.powered.dark span { color: #a3a3a3; }
.powered.dark b { color: #fafafa; }
.powered.dark:hover { border-color: #fafafa; }
footer .powered { height: 30px; font-size: 12px; }
footer .lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
footer .lang a { padding: 3px 12px; border-radius: 999px; font-size: 13px; line-height: 20px; }
footer .lang a[aria-current] { background: var(--ink); color: var(--white); pointer-events: none; }
footer .powered img { width: 16px; height: 16px; }

/* docs */
.top-docs .wrap { gap: 20px; }
.docs-search { position: relative; display: flex; align-items: center; flex: 1; max-width: 320px; margin: 0; }
.docs-search svg { position: absolute; left: 11px; width: 16px; height: 16px; stroke: var(--gray); fill: none; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.docs-search input { width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.docs-search input::placeholder { color: var(--gray); }
.docs-search input:focus { outline: 2px solid var(--blue); outline-offset: -1px; background: var(--white); }
.search-results { position: absolute; top: 44px; left: 0; width: min(560px, calc(100vw - 48px)); max-height: min(70vh, 520px); overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); z-index: 30; }
.search-results a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.search-results a:first-child { border-top: 0; }
.search-results a:hover, .search-results a.sel { background: var(--paper); }
.search-results b { display: block; font-family: var(--font-brand); font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.search-results small { display: block; color: var(--gray); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.search-results .none { padding: 12px 14px; color: var(--gray); font-size: 14px; }
.search-results mark { background: rgba(29, 78, 216, 0.14); color: inherit; border-radius: 2px; }
.docs { display: grid; grid-template-columns: 268px minmax(0, 1fr) 224px; width: min(1360px, 100% - 48px); margin-inline: auto; }
.docs-side { border-right: 1px solid var(--line); }
.side-nav { position: sticky; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 28px 20px 40px 0; }
.side-title { font-family: var(--font-brand); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 20px 0 6px 10px; }
.side-group:first-child .side-title { margin-top: 0; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 6px 10px; border-radius: 6px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.side-nav a:hover { background: var(--paper); color: var(--ink); }
.side-nav a[aria-current] { color: var(--blue); background: rgba(29, 78, 216, 0.08); font-weight: 600; }
.side-open { display: none; }
.docs-main { padding: 32px 40px 64px; min-width: 0; }
.doc { max-width: 760px; }
.doc .crumbs span:last-child { color: var(--ink-2); }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.04em; margin: 12px 0 10px; }
.doc-lead { font-size: 18px; color: var(--ink-2); margin: 0 0 26px; line-height: 1.5; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: 84px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; scroll-margin-top: 84px; }
.hash { margin-left: 8px; color: var(--gray); text-decoration: none; opacity: 0; font-weight: 400; }
h2:hover .hash, h3:hover .hash, .hash:focus { opacity: 1; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 24px; margin: 0 0 14px; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--gray); }
.doc ol li::marker { font-family: var(--font-brand); font-weight: 700; color: var(--ink); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--blue); text-decoration-color: rgba(29, 78, 216, 0.35); }
.doc a:hover { text-decoration-color: currentColor; }
.doc pre { background: var(--ink); color: #fafafa; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }
.doc pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.doc code { font-size: 0.88em; }
.doc kbd { display: inline-block; font-family: var(--font-text); font-size: 0.82em; line-height: 1.4; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--white); color: var(--ink); white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); font-weight: 600; color: var(--ink); }
.doc td { color: var(--ink-2); }
.doc-shot { margin: 18px 0 24px; }
.doc-shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #1e1e1e; }
.doc-shot figcaption { margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.45; }
.adm { border: 1px solid var(--line); border-left: 4px solid var(--gray); border-radius: 8px; padding: 12px 16px 2px; margin: 0 0 16px; background: var(--paper); }
.adm .adm-title { font-family: var(--font-brand); font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink); }
.adm p, .adm li { font-size: 15.5px; }
.adm-tip { border-left-color: #15803d; background: #f0fdf4; } .adm-tip .adm-title { color: #15803d; }
.adm-info { border-left-color: var(--blue); background: #eff6ff; } .adm-info .adm-title { color: var(--blue); }
.adm-warning { border-left-color: #b45309; background: #fffbeb; } .adm-warning .adm-title { color: #b45309; }
.adm-danger { border-left-color: #b91c1c; background: #fef2f2; } .adm-danger .adm-title { color: #b91c1c; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin-top: 48px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager a span { font-size: 12.5px; color: var(--gray); }
.pager a b { font-family: var(--font-brand); font-size: 15px; font-weight: 700; }
.pager-next { text-align: right; align-items: flex-end; }
.toc-in { position: sticky; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 32px 0 32px 24px; border-left: 1px solid var(--line); }
.toc-title { font-family: var(--font-brand); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.toc-in ul { list-style: none; margin: 0; padding: 0; }
.toc-in a { display: block; font-size: 13.5px; line-height: 1.4; color: var(--gray); text-decoration: none; padding: 4px 0; }
.toc-3 a { padding-left: 14px; }
.toc-in a:hover, .toc-in a.active { color: var(--blue); }
@media (max-width: 1180px) { .docs { grid-template-columns: 250px minmax(0, 1fr); } .docs-toc { display: none; } .docs-main { padding: 28px 0 56px 32px; } }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; width: min(1360px, 100% - 32px); }
  .docs-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .side-open { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-family: var(--font-brand); font-weight: 700; font-size: 14px; cursor: pointer; }
  .side-open svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
  .side-here { margin-left: auto; font-weight: 500; color: var(--gray); }
  .side-nav { display: none; position: static; max-height: none; padding: 4px 0 16px; }
  .side-toggle:checked ~ .docs-side .side-nav { display: block; }
  .docs-main { padding: 24px 0 48px; }
  .docs-search { max-width: none; }
  .top-docs .wrap { gap: 12px; }
  .top-docs .brand span { display: none; }
  .top-docs .brand { flex: none; }
  .top-docs .nav { gap: 12px; }
  .pager { grid-template-columns: 1fr; }
}
