:root {
  color-scheme: light;
  --page: #f7f8fa;
  --surface: #ffffff;
  --surface-muted: #f1f3f6;
  --sidebar: #fbfcfd;
  --text: #202633;
  --muted: #707a89;
  --unreferenced: #8b94a2;
  --border: #e3e7ed;
  --accent: #5067d8;
  --accent-soft: #edf0ff;
  --code: #36445a;
  --shadow: 0 8px 28px rgb(30 41 59 / 5%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 15px; line-height: 1.65; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.layout { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 3; display: flex; flex-direction: column; width: 286px; padding: 24px 16px 14px; background: var(--sidebar); border-right: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 6px 29px; color: var(--text); font-size: 16px; font-weight: 750; line-height: 1.2; }
.brand:hover { text-decoration: none; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.brand-logo { flex: 0 0 auto; height: 36px; max-width: 120px; object-fit: contain; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #6479e4, #4457c1); color: white; font-family: ui-monospace, monospace; font-size: 22px; }
.search-label { margin: 0 7px 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; outline: none; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; }
.search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sidebar-nav { flex: 1 1 120px; min-height: 120px; margin-top: 13px; overflow-y: auto; overflow-x: hidden; }
.nav-heading { position: sticky; z-index: 2; display: flex; width: 100%; align-items: center; height: 33px; margin: 0 -4px; padding: 0 8px; border: 0; background: var(--sidebar); color: var(--muted); font: inherit; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-align: left; text-transform: uppercase; cursor: pointer; }
.nav-heading:hover { background: var(--surface-muted); }
.elements-heading { top: 0; }
.element-nav { margin: 2px -4px 0; }
.element-nav, .type-nav, .local-nav { display: flex; flex-direction: column; }
.nav-link { display: flex; align-items: center; gap: 9px; margin: 2px 0; padding: 7px 9px; border-radius: 7px; color: #515b6c; font-size: 13px; }
.nav-link[hidden] { display: none; }
.nav-link:hover { background: var(--surface-muted); text-decoration: none; }
.nav-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.nav-icon { display: grid; width: 19px; height: 19px; flex: 0 0 19px; place-items: center; border: 1px solid #dce1ef; border-radius: 5px; background: white; color: #67738b; font-family: ui-monospace, monospace; font-size: 10px; }
.active .nav-icon { border-color: #d6dcff; color: var(--accent); }
.nav-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type-nav-heading { top: 0; bottom: 0; margin-top: 10px; border-top: 1px solid var(--border); }
.has-elements-heading .type-nav-heading { top: 33px; }
.type-nav { margin: 2px -4px 0; }
.local-nav-heading { top: 66px; bottom: 0; margin-top: 10px; border-top: 1px solid var(--border); }
.sidebar-nav:has(.local-nav-heading) .type-nav-heading { bottom: 33px; }
.local-nav { margin: 2px -4px 0; }
.local-link .nav-text { display: flex; min-width: 0; flex-direction: column; line-height: 1.3; }
.nav-context { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; }
.detail-tree > li[id] { scroll-margin-top: 90px; }
.detail-tree > li:target > .detail-tree-row { margin-left: -6px; padding-left: 6px; border-radius: 6px; background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.count { float: right; color: #9aa2af; }
.nav-heading .count { margin-left: auto; }
.type-link { margin-left: 5px; }
.sidebar-footer { margin-top: auto; padding: 14px 6px 0; border-top: 1px solid var(--border); color: #929aa7; font-size: 11px; }
.main { min-height: 100vh; margin-left: 286px; }
.topbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; min-height: 57px; padding: 0 clamp(24px, 5vw, 72px); border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 91%); backdrop-filter: blur(12px); color: var(--muted); font-size: 12px; }
.topbar a { color: var(--muted); }
.breadcrumbs { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.breadcrumbs ol { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.breadcrumbs li { display: flex; min-width: 0; flex: 0 1 auto; }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: #b9c0ca; }
.breadcrumbs li > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs .breadcrumb-section, .breadcrumbs .breadcrumb-more { flex-shrink: 0; }
.breadcrumbs .breadcrumb-ancestor { flex-shrink: 1; min-width: 4.5em; }
.breadcrumbs .breadcrumb-current { flex-shrink: 0; max-width: 50%; color: var(--text); font-weight: 600; }
.breadcrumbs .breadcrumb-collapsed { display: none; }
.breadcrumbs.expanded .breadcrumb-collapsed { display: flex; }
.breadcrumbs.expanded .breadcrumb-more { display: none; }
.breadcrumbs.expanded { padding: 10px 0; }
.breadcrumbs.expanded ol { flex-wrap: wrap; row-gap: 4px; }
.breadcrumbs.expanded li { flex-shrink: 0; max-width: 100%; }
.breadcrumb-expand { padding: 0 6px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); color: var(--muted); font: inherit; line-height: 1.4; cursor: pointer; }
.breadcrumb-expand:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .breadcrumbs .breadcrumb-ancestor:not(:nth-last-child(2)), .breadcrumbs .breadcrumb-more { display: none; } }
#all-elements, #all-types, #source-files { scroll-margin-top: 80px; }
.source-tree { max-height: 560px; overflow: auto; padding: 0 18px 14px; }
.source-tree .source-directory { font-weight: 600; }
.source-tree .source-file { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.source-tree .source-file-unreferenced, .source-tree-legend .source-file-unreferenced { color: var(--unreferenced); font-style: italic; }
.source-tree .source-file-unreferenced:hover { color: var(--accent); }
.generated-time { white-space: nowrap; }
.source-tree-legend { margin: 0 18px 10px; color: var(--muted); font-size: 12px; }
.unreferenced-badge { padding: 1px 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-muted); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.7; text-transform: uppercase; white-space: nowrap; }
.content { width: min(1120px, 100%); margin: 0 auto; padding: 43px clamp(24px, 5vw, 72px) 28px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: clamp(32px, 4vw, 43px); letter-spacing: -.045em; line-height: 1.17; }
h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
h3 { margin: 5px 0 9px; font-size: 18px; letter-spacing: -.02em; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.lead { max-width: 620px; margin: 13px 0 20px; color: var(--muted); font-size: 17px; }
.qualified-name { margin: 0 0 22px; color: var(--muted); }
code { border-radius: 4px; background: var(--surface-muted); color: var(--code); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; padding: 2px 5px; }
.documentation { margin: 15px 0 0; color: #414b5b; overflow-wrap: anywhere; }
.documentation > :first-child { margin-top: 0; }
.documentation > :last-child { margin-bottom: 0; }
.documentation p { margin-bottom: 10px; }
.documentation ul, .documentation ol { padding-left: 24px; }
.documentation table { width: auto; margin: 12px 0; }
.documentation pre { overflow: auto; padding: 12px; border-radius: 7px; background: #f0f2f6; }
.documentation code { background: #eef0f5; }
.documentation a.tm { color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
.documentation a.tm:hover { color: var(--accent); text-decoration-style: solid; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stats span, .count-pill { padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; }
.stats strong { margin-right: 4px; color: var(--text); }
.section-block { margin-top: 43px; }
.compact-section { margin-top: 29px; }
.compact-section h2 { font-size: 17px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.count-pill { padding: 2px 9px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 13px; }
.element-card { display: flex; min-height: 172px; flex-direction: column; padding: 17px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.element-card:hover { transform: translateY(-2px); border-color: #bbc5fa; text-decoration: none; }
.card-kicker { color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.card-description { display: -webkit-box; overflow: hidden; margin-bottom: 12px; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-description p { margin: 0; }
.namespace-label { display: block; overflow: hidden; margin-top: auto; color: #8a93a1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.type-list { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.type-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.type-row:last-child { border-bottom: 0; }
.type-row .namespace-label { max-width: 36%; margin: 0 0 0 auto; }
.type-badge, .use-badge { padding: 2px 7px; border-radius: 5px; background: var(--surface-muted); color: var(--muted); font-size: 10px; font-weight: 650; }
.row-arrow { color: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px 12px; background: #f7f8fa; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
td { max-width: 360px; padding: 12px; border-top: 1px solid var(--border); vertical-align: top; font-size: 13px; }
.sub-label { margin-top: 4px; color: #929aa7; font-size: 10px; overflow-wrap: anywhere; }
.compact-doc { margin: 0; font-size: 13px; }
.compact-doc p { margin: 0 0 5px; }
.use-badge.required { background: #fff0ec; color: #bd4b37; }
.muted, .empty-nav { color: var(--muted); }
.empty-nav { padding: 4px 9px; font-size: 12px; }
.empty-state { padding: 22px; border: 1px dashed #cfd5df; border-radius: 10px; color: var(--muted); text-align: center; }
.detail-empty { margin-top: 28px; }
.notice { margin-bottom: 23px; padding: 12px 15px; border: 1px solid #f1d9a9; border-radius: 9px; background: #fff9ec; color: #765b25; font-size: 12px; }
.notice ul { margin: 6px 0 0; padding-left: 20px; overflow-wrap: anywhere; }
.page-footer { margin-top: 55px; padding-top: 14px; border-top: 1px solid var(--border); color: #9aa2af; font-size: 11px; }
.schema-tree { padding: 20px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.element-tree, .element-tree-children { margin: 0; padding: 0; list-style: none; }
.tree-item { margin: 4px 0; }
.tree-branch > summary { display: flex; align-items: center; gap: 10px; min-height: 34px; cursor: pointer; }
.tree-name { color: var(--text); font-weight: 650; }
.tree-occurs { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }
.tree-type { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tree-page-link { margin-left: auto; font-size: 11px; }
.source-link { color: var(--accent); font-size: 11px; font-weight: 550; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
h1 .source-link { font-size: 11px; font-weight: 500; letter-spacing: 0; vertical-align: middle; }
.source-path { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; white-space: nowrap; }
a.source-path:hover { color: var(--accent); }
p.source-location { margin: -12px 0 22px; color: var(--muted); font-size: 12.5px; }
h1 + p.source-location { margin-top: 0; }
p.source-location code { font-size: .95em; }
p.source-location .source-link { margin-left: 8px; font-size: 12px; }
p.transmodel-concept { margin: -14px 0 22px; color: var(--muted); font-size: 12.5px; }
p.transmodel-concept a { margin-left: 4px; font-weight: 600; letter-spacing: .02em; }
p.transmodel-concept a::after { content: " \2197"; font-weight: 400; }
.element-tree-children { margin: 4px 0 8px 8px; padding-left: 21px; border-left: 1px solid var(--border); }
.tree-leaf { display: flex; align-items: center; gap: 10px; min-height: 31px; padding-left: 24px; }
.tree-branch > summary { list-style: none; }
.tree-branch > summary::-webkit-details-marker { display: none; }
.tree-branch > summary::before { flex: 0 0 14px; color: var(--muted); font-size: 10px; text-align: center; content: "▶"; transition: transform .12s; }
.tree-branch[open] > summary::before { transform: rotate(90deg); }
.tree-lazy > summary { min-height: 31px; }
.all-elements { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.all-elements > summary { padding: 13px 16px; color: var(--text); cursor: pointer; font-weight: 650; }
.global-element-list { display: grid; max-height: 480px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 18px; overflow: auto; margin: 0; padding: 0 18px 18px; list-style: none; }
.global-element-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.global-element-list li span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.detail-schema-tree { padding: 15px 18px; }
.detail-tree { margin: 0; padding-left: 20px; list-style: none; }
.detail-tree > li { position: relative; margin: 4px 0; padding-left: 14px; border-left: 1px solid var(--border); }
.detail-tree > li::before { position: absolute; top: 15px; left: 0; width: 10px; border-top: 1px solid var(--border); content: ""; }
.detail-tree-row { display: flex; min-height: 32px; align-items: center; gap: 9px; }
.detail-tree-row .tree-name { font-size: 13px; }
.detail-tree-row .tree-name code { font-size: inherit; }
.detail-tree-row a.tree-name code { color: var(--accent); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 2px; }
.detail-tree-type { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.detail-tree-doc { margin: 0 0 8px 4px; font-size: 12px; }
.tree-kind-badge { padding: 1px 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-muted); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.7; text-transform: uppercase; }

.tree-kind-badge.kind-group { border-color: #2f9e6e; background: #e7f7ef; color: #1c7a51; }
.tree-kind-badge.kind-choice { border-color: #d99a3d; background: #fdf3e2; color: #a5670f; }
.tree-kind-badge.kind-sequence { border-color: #5067d8; background: #edf0ff; color: #5067d8; }
.tree-kind-badge.kind-all { border-color: #bd4b37; background: #fff0ec; color: #bd4b37; }
.tree-kind-badge.kind-substitutes { border-color: #8b5cc7; background: #f4edfc; color: #6d3fb0; }
.tree-kind-badge.kind-inherited { border-color: #9aa2af; background: var(--surface-muted); color: var(--muted); }
.detail-tree > li.tree-inherited { border-left-style: dotted; }
.inherited-block > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 32px; color: var(--muted); font-size: 13px; cursor: pointer; list-style: none; }
.inherited-block > summary::-webkit-details-marker { display: none; }
.inherited-block > summary::before { flex: 0 0 14px; color: var(--muted); font-size: 10px; text-align: center; content: "\25B6"; transition: transform .12s; }
.inherited-block[open] > summary::before { transform: rotate(90deg); }
.inherited-from code { color: var(--accent); }
.inherited-count { color: #9aa2af; font-size: 11px; }
.detail-tree > li.tree-own-heading { margin: 14px 0 2px; padding-left: 0; border-left: 0; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.detail-tree > li.tree-own-heading::before { display: none; }
.inherited-toggle { padding: 3px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.inherited-toggle:hover, .inherited-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.inherited-attributes { margin-top: 14px; padding: 4px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.inherited-attributes[open] { padding-bottom: 14px; }
.inherited-attributes .table-wrap { margin-top: 8px; }
.type-reference a code, .related-links a code, .detail-tree-type a code, .enumeration-value a code, td a code, .restriction-list a code, .compact-section > p > a code { color: var(--accent); }
.type-reference a:hover code, .related-links a:hover code, .detail-tree-type a:hover code, .enumeration-value a:hover code, td a:hover code { text-decoration: underline; text-underline-offset: 2px; }
.sidebar-toggle { display: none; }
.tree-kind-badge.kind-choice { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tree-kind-badge.kind-key, .tree-kind-badge.kind-unique { border-color: #2f9e6e; background: #e7f7ef; color: #1c7a51; }
.tree-kind-badge.kind-keyref { border-color: #d99a3d; background: #fdf3e2; color: #a5670f; }
.identity-constraint-row td { vertical-align: top; }
.identity-constraint-name { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.identity-constraint-fields code { display: inline-block; margin: 1px 0; }
.tree-structural > .detail-tree-structural-row .tree-name code { color: var(--muted); font-weight: 650; }
.detail-tree > li.tree-structural { border-left-style: dashed; }
.related-links { padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.related-links h2 { margin-bottom: 9px; font-size: 16px; }
.related-links p { margin: 5px 0; color: var(--muted); font-size: 13px; }
.enumeration-values { margin-top: 12px; }
.enumeration-value { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.enumeration-value:last-child { border-bottom: 0; }
.enumeration-value code { font-size: 14px; }
.enumeration-value > .source-link { margin-top: 3px; }
.enumeration-value .documentation { font-size: 13px; color: var(--muted); }
.enumeration-value.used-element { align-items: center; }
.abstract-badge { padding: 1px 7px; border: 1px solid #d99a3d; border-radius: 999px; background: #fdf3e2; color: #a5670f; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.7; text-transform: uppercase; white-space: nowrap; }
.tree-default { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; white-space: nowrap; }
.restriction-list { margin: 0; padding: 0; list-style: none; }
.restriction-list li { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.restriction-list li:last-child { border-bottom: 0; }
.restriction-label { min-width: 150px; color: var(--muted); }

@media (max-width: 780px) {
  .sidebar { position: relative; width: 100%; height: auto; max-height: 70vh; padding: 14px 16px 10px; overflow-y: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .brand { margin-bottom: 0; margin-right: 96px; }
  .sidebar-toggle { position: absolute; top: 16px; right: 16px; display: block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
  .sidebar:not(.open) .search-label, .sidebar:not(.open) .search, .sidebar:not(.open) .sidebar-nav, .sidebar:not(.open) .variant-switcher { display: none; }
  .sidebar.open .brand { margin-bottom: 15px; }
  p.source-location code, .source-path { white-space: normal; overflow-wrap: anywhere; }
  .detail-tree-row { flex-wrap: wrap; row-gap: 2px; }
  .detail-tree { padding-left: 6px; }
  .detail-tree-type { white-space: normal; overflow-wrap: anywhere; }
  .sidebar-nav { flex-basis: 145px; max-height: 260px; }
  .sidebar-footer { display: none; }
  .main { margin-left: 0; }
  .topbar { min-height: 48px; padding-inline: 20px; }
  .content { padding: 30px 20px 22px; }
}
.source-code { --gutter: calc(6ch + 26px); border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.source-code .highlight { background: transparent; }
.source-code pre { counter-reset: line; margin: 0; padding: 14px 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.source-code pre > span[id], .example-chunk > span[id] { counter-increment: line; display: block; padding: 0 18px 0 var(--gutter); text-indent: calc(-1 * var(--gutter)); background-image: linear-gradient(var(--border), var(--border)); background-position: calc(6ch + 10px) 0; background-size: 1px 100%; background-repeat: no-repeat; scroll-margin-top: 90px; }
.source-code pre > span[id]:target, .example-chunk > span.example-target { background-color: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.source-code pre > span[id]::before, .example-chunk > span[id]::before { content: counter(line); display: inline-block; box-sizing: border-box; width: calc(6ch + 10px); margin-right: 16px; padding: 0 10px 0 0; color: var(--muted); text-align: right; text-indent: 0; cursor: pointer; }
.source-code pre > span[id]:hover::before, .example-chunk > span[id]:hover::before { color: var(--accent); }
.example-chunk { content-visibility: auto; }
.example-code a.example-link { text-decoration: underline dotted 1px; text-underline-offset: 3px; }
.example-code a.example-link:hover { text-decoration-style: solid; }
.example-usages summary { cursor: pointer; color: var(--muted); }
.example-usages ul { margin: 10px 0 0; padding-left: 20px; }
.example-usages li { margin: 3px 0; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #11151d; --surface: #181e29; --surface-muted: #222a38; --sidebar: #141923; --text: #e7eaf0; --muted: #a0a9b8; --unreferenced: #626b7a; --border: #2b3341; --accent: #9aa9ff; --accent-soft: #252d4a; --code: #d3dcf2; --shadow: 0 8px 28px rgb(0 0 0 / 12%); }
  .nav-link { color: #c0c7d3; }
  .nav-icon { border-color: var(--border); background: var(--surface); color: var(--muted); }
  .topbar { background: rgb(24 30 41 / 92%); }
  .documentation { color: #cbd1dc; }
  .documentation pre, .documentation code { background: #222a38; }
  th { background: #1d2430; }
  .notice { border-color: #65512b; background: #292316; color: #e7ce8d; }
  .use-badge.required { background: #472822; color: #ffad99; }
  .abstract-badge { border-color: #8a5a1c; background: #2e2412; color: #e7ce8d; }
  .tree-kind-badge.kind-key, .tree-kind-badge.kind-unique { border-color: #2f9e6e; background: #113325; color: #7fe0af; }
  .tree-kind-badge.kind-keyref { border-color: #8a5a1c; background: #2e2412; color: #e7ce8d; }
  .tree-kind-badge.kind-substitutes { border-color: #8b5cc7; background: #2a1f3d; color: #cdb3f5; }
}
.variant-switcher { width: 100%; margin: 0 0 14px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; }
.variant-note { margin-bottom: 23px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-muted); color: var(--muted); font-size: 13px; }
.content a.outside-variant, .content a.outside-variant code { color: var(--muted); }
.variant-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.variant-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
