@font-face { font-family: "Instrument Sans"; src: url("/brand/fonts/instrument-sans-latin-variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/brand/fonts/ibm-plex-mono-latin-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { color-scheme: light; --ink: #142639; --muted: #56667a; --line: #e6eaf0; --blue: #235bc2; --teal: #08796a; --header-height: 124px; font-family: "Instrument Sans", system-ui, sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); min-width: 320px; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: #164494; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 20; transform: translateY(-180%); padding: 12px 18px; background: var(--ink); border-radius: 8px; color: #fff; }
.skip-link:focus { transform: none; color: #fff; }
.docs-header { background: rgba(255,255,255,.98); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.docs-header-top { max-width: 1700px; height: 74px; padding: 0 34px; display: flex; align-items: center; gap: 20px; margin: auto; }
.docs-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 25px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); flex-shrink: 0; }
.docs-brand img { object-fit: contain; }
.brand-label { color: var(--muted); letter-spacing: 0; font-size: 11px; font-weight: 500; border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; margin-left: 4px; }
.version-label, .locale-link { font-size: 12px; color: var(--muted); text-decoration: none; flex-shrink: 0; }
.version-label { margin-left: 12px; padding-left: 22px; border-left: 1px solid var(--line); }
.locale-link { display: inline-flex; align-items: center; min-height: 40px; }
.docs-search { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9fb; padding: 0 12px; height: 40px; width: min(100%, 410px); margin: 0 auto; color: #69788b; }
.docs-search input { border: 0; outline: none; background: transparent; color: var(--ink); font-size: 13px; width: 100%; min-width: 0; padding: 8px 0; }
.docs-search:focus-within { border-color: #7d9bbe; box-shadow: 0 0 0 2px #edf3fa; }
.docs-search input:focus-visible { outline: none; }
.docs-search kbd { white-space: nowrap; font: 11px "Instrument Sans", sans-serif; padding: 3px 5px; border: 1px solid #dde3eb; border-radius: 4px; }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-actions a { font-size: 13px; font-weight: 550; text-decoration: none; color: #41526a; }
.header-actions .signup-link { color: white; padding: 11px 16px; background: var(--blue); border-radius: 8px; display: inline-flex; align-items: center; gap: 16px; transition: background .15s; }
.header-actions .signup-link:hover { background: #1a4ba7; }
.docs-tabs { display: flex; gap: 30px; max-width: 1700px; margin: auto; height: 49px; padding: 0 34px; }
.docs-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 0 1px; white-space: nowrap; color: var(--muted); font-size: 13px; text-decoration: none; }
.docs-tabs .tab-active { color: var(--ink); border-bottom: 2px solid var(--blue); font-weight: 600; }
.docs-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr) 224px; max-width: 1700px; margin: auto; }
.docs-sidebar { border-right: 1px solid var(--line); background: #fcfcfd; position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 28px 20px 32px; }
.docs-nav-group { margin-bottom: 28px; }
.docs-nav-heading { display: block; font-size: 11px; letter-spacing: .02em; font-weight: 600; margin: 0 12px 11px; color: #384c63; }
.docs-nav-group a { min-height: 38px; color: var(--muted); padding: 9px 12px; display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.55; border-radius: 7px; text-decoration: none; margin: 2px 0; transition: background .15s, color .15s; }
.docs-nav-group a:hover { background: #f1f5f9; color: var(--blue); }
.docs-nav-group a[aria-current="page"] { color: #2056b8; background: #edf3fe; font-weight: 600; }
.nav-dot { width: 4px; height: 4px; background: #8ba0b4; border-radius: 50%; flex-shrink: 0; }
.nav-method { font: 8px "IBM Plex Mono", monospace; min-width: 26px; color: #08796a; }
.sidebar-resources { border-top: 1px solid var(--line); padding: 15px 12px 0; display: grid; gap: 5px; }
.sidebar-resources a { color: var(--muted); text-decoration: none; font-size: 11px; display: flex; justify-content: space-between; padding: 10px 0; }
.docs-content { min-width: 0; padding: 38px 48px 40px; max-width: 950px; }
.docs-breadcrumb { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #63748b; margin: 0 0 34px; }
.docs-breadcrumb a { text-decoration: none; color: var(--muted); }
.article-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.article-kicker { display: block; color: var(--teal); font-size: 12px; font-weight: 550; margin-bottom: 12px; }
h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.18; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 630px; }
.page-actions { display: flex; flex-shrink: 0; align-items: center; border: 1px solid var(--line); border-radius: 7px; margin-top: 28px; }
.page-actions button, .page-actions a { min-height: 34px; padding: 8px 10px; border: 0; background: #fff; color: var(--muted); font-size: 10px; text-decoration: none; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.page-actions button { border-radius: 7px 0 0 7px; }
.page-actions a { border-left: 1px solid var(--line); border-radius: 0 7px 7px 0; font-family: "IBM Plex Mono", monospace; }
.page-actions button:hover, .page-actions a:hover { color: var(--blue); background: #f7f9fc; }
.article-description { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 20px 0 44px; max-width: 680px; }
.docs-section { margin: 38px 0; }
.docs-section h2 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 18px; scroll-margin-top: 155px; overflow-wrap: anywhere; }
.heading-anchor { font-size: 16px; color: var(--muted); margin-left: 10px; text-decoration: none; opacity: 0; }
.docs-section h2:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.docs-section p, .docs-section li { font-size: 14px; line-height: 1.85; color: #465b70; }
.docs-section p { margin: 0 0 18px; }
.docs-section ul { padding-left: 22px; }
.docs-section li { margin: 10px 0; }
.docs-callout { display: flex; gap: 12px; border: 1px solid #d9e9e6; background: #f4faf8; border-radius: 9px; padding: 18px; margin: 24px 0; }
.docs-callout p { font-size: 13px; color: #345d57; margin: 0; }
.callout-icon { display: inline-flex; justify-content: center; align-items: center; border: 1.5px solid #08796a; color: var(--teal); border-radius: 50%; width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; font-size: 11px; font-weight: 600; }
.docs-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.docs-link-grid a { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 18px; text-decoration: none; font-size: 13px; font-weight: 550; transition: border-color .15s, background .15s; }
.docs-link-grid a:hover { border-color: #b6cbed; background: #f9fbff; }
.docs-code { border: 1px solid #dbe2ea; border-radius: 10px; overflow: hidden; margin: 22px 0; }
.docs-code-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #f4f7fa; border-bottom: 1px solid #dbe2ea; font-family: "IBM Plex Mono", monospace; font-size: 10px; color: #596d82; }
.docs-code-header button { background: transparent; color: #526478; font: 11px "Instrument Sans", sans-serif; border: 0; padding: 4px; display: flex; gap: 7px; align-items: center; min-height: 26px; }
.docs-code-header button:hover { color: var(--blue); }
.docs-code pre { margin: 0; padding: 22px 18px; background: #122335; color: #dbe7f6; overflow-x: auto; font: 11px/1.85 "IBM Plex Mono", monospace; tab-size: 2; }
.docs-code code { font: inherit; }
.code-string { color: #98e1cc; }
.code-keyword { color: #a4c6ff; }
.code-number { color: #f4d197; }
.docs-table-wrap { border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 11px; line-height: 1.65; }
thead { background: #f6f8fa; }
th { color: #354c64; font-weight: 600; text-align: left; }
th, td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
td { color: #4b5f74; }
td:first-child { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: #214f92; }
tr:last-child td { border-bottom: 0; }
.docs-toc { position: sticky; top: var(--header-height); height: fit-content; max-height: calc(100vh - var(--header-height)); overflow-y: auto; padding: 84px 24px 30px 6px; }
.toc-label { font-size: 12px; font-weight: 600; color: #43566a; display: block; margin-bottom: 14px; }
.docs-toc nav { display: grid; gap: 1px; border-left: 1px solid var(--line); }
.docs-toc nav a { text-decoration: none; color: var(--muted); font-size: 11px; line-height: 1.6; padding: 9px 14px; border-left: 2px solid transparent; margin-left: -1px; }
.docs-toc nav a:hover { color: var(--blue); border-left-color: var(--blue); }
.docs-build-card { background: #f7fafc; border: 1px solid #e0e8ef; border-radius: 10px; padding: 20px 16px; margin-top: 34px; }
.docs-build-card h2 { font-size: 17px; letter-spacing: -.02em; margin: 12px 0; }
.docs-build-card p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.docs-build-card a { font-size: 12px; font-weight: 600; text-decoration: none; }
.docs-pager { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 30px; margin-top: 55px; }
.docs-pager a { display: flex; flex-direction: column; gap: 9px; text-decoration: none; border: 1px solid var(--line); border-radius: 9px; padding: 18px; }
.docs-pager a > span { font-size: 11px; color: var(--muted); }
.docs-pager strong { font-weight: 550; font-size: 13px; }
.docs-article-footer { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.docs-article-footer a { font-size: 12px; }
.docs-search-results { position: absolute; inset: calc(100% + 8px) 0 auto; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 8px 28px #14263914; max-height: min(65vh, 460px); overflow-y: auto; padding: 8px; min-width: 270px; }
.docs-search-results a { display: block; padding: 12px; text-decoration: none; border-radius: 5px; }
.docs-search-results a:hover { background: #f1f6ff; }
.docs-search-results strong { display: block; font-size: 13px; margin-bottom: 5px; }
.docs-search-results p { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 0; padding: 8px; }
.docs-search-results a p { padding: 0; }
.docs-feedback { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); border-radius: 8px; font-size: 13px; background: #142639; color: #fff; z-index: 15; box-shadow: 0 4px 16px #14263920; }
.docs-feedback:not(:empty) { padding: 12px 18px; }
.docs-mobile-navigation, .mobile-toc { display: none; }
@media (max-width: 1200px) { .docs-layout { grid-template-columns: 240px minmax(0,1fr); } .docs-toc { display: none; } .docs-content { padding: 38px 44px; max-width: 850px; } .mobile-toc { display: block; border-block: 1px solid var(--line); padding: 14px 0; margin: 28px 0; font-size: 12px; } .mobile-toc summary { cursor: pointer; color: var(--muted); } .mobile-toc nav { display: grid; gap: 12px; padding: 18px 0 5px; } .mobile-toc nav a { text-decoration: none; } .header-actions { gap: 12px; } .docs-header-top { gap: 15px; } }
@media (max-width: 850px) { :root { --header-height: 164px; } .docs-header-top { height: 113px; padding: 12px 22px; flex-wrap: wrap; gap: 12px; } .docs-brand { font-size: 23px; } .version-label { display: none; } .locale-link { margin-left: auto; font-size: 11px; } .header-actions > a:first-child { display: none; } .header-actions .signup-link { padding: 9px 12px; font-size: 11px; } .docs-search { width: 100%; max-width: none; order: 3; height: 36px; } .docs-tabs { padding-inline: 22px; height: 49px; overflow-x: auto; gap: 24px; scrollbar-width: none; } .docs-tabs a { font-size: 12px; } .docs-layout { display: block; } .docs-sidebar { display: none; } .docs-mobile-navigation { display: block; background: #fcfcfd; border-bottom: 1px solid var(--line); } .docs-mobile-navigation summary { display: flex; justify-content: space-between; font-size: 12px; padding: 17px 22px; cursor: pointer; color: #465b70; list-style: none; } .docs-mobile-navigation summary::-webkit-details-marker { display: none; } .docs-mobile-navigation nav { padding: 12px 20px; max-height: 65vh; overflow: auto; border-top: 1px solid var(--line); } .docs-mobile-navigation .docs-nav-group a { min-height: 42px; font-size: 13px; } .docs-content { padding: 28px 22px 40px; max-width: none; } .docs-breadcrumb { margin-bottom: 28px; } .article-header { flex-direction: column; gap: 16px; } .article-header h1 { font-size: 32px; max-width: 580px; } .page-actions { margin-top: 0; } .article-description { font-size: 16px; line-height: 1.7; margin: 22px 0 30px; } .docs-section h2 { font-size: 22px; scroll-margin-top: 190px; } .heading-anchor { opacity: 1; } }
@media (max-width: 480px) { .docs-header-top { padding-inline: 18px; } .brand-label { display: none; } .header-actions .signup-link { gap: 8px; } .docs-content { padding-inline: 20px; } .docs-link-grid { grid-template-columns: 1fr; } .docs-link-grid a { padding: 16px; } .docs-code pre { font-size: 10px; padding: 18px 14px; } .docs-section p, .docs-section li { font-size: 14px; } .docs-pager { gap: 10px; } .docs-pager a { padding: 14px; } .docs-pager strong { font-size: 12px; } .docs-table-wrap { max-width: 100%; } .docs-table-wrap table { min-width: 430px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
