/* Docs base/desktop. Responsive and input-capability rules live in docs-mobile.css. */
html.docs-root { scroll-behavior: smooth; }
body.docs-page { --docs-header-min-height: 50px; --docs-header-height: var(--docs-header-min-height); --docs-sidebar-width: 256px; }
.docs-page [hidden] { display: none !important; }
.docs-page .public-page-shell { display: flex; flex-direction: column; }
.docs-page .public-page-shell > nftzone-header {
  position: sticky;
  top: 0;
  min-height: var(--docs-header-min-height);
}
.docs-page nftzone-footer { margin-top: auto; }
.docs-main {
  display: grid;
  grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  width: var(--public-container-width);
  margin-inline: auto;
  padding-block: 38px 68px;
  flex: 1;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--docs-header-height) + 24px);
  max-height: calc(100dvh - var(--docs-header-height) - 48px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: 16px;
  border-right: 1px solid var(--border-subtle);
}
.docs-sidebar-heading { margin-bottom: 12px; }
.docs-brand { display: flex; align-items: center; gap: 9px; color: var(--text-primary); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.docs-brand > i { color: var(--accent-violet); }
.docs-mobile-toggle { display: none; }
.docs-search { position: relative; flex: 0 0 auto; margin-bottom: 14px; }
.docs-enhanced .docs-search[hidden] { display: block !important; }
.docs-search-field { height: 30px; padding: 4px 10px; }
.docs-search-panel { position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 2; max-height: min(560px, 65dvh); overflow-y: auto; padding: 8px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface-1); }
.docs-search-panel p { padding: 6px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.docs-search-panel ul { list-style: none; }
.docs-search-panel a { display: grid; gap: 5px; padding: 12px 8px; border-radius: var(--radius-sm); color: var(--text-primary); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; text-decoration: none; }
.docs-search-panel a:hover, .docs-search-panel a:focus-visible { background: var(--bg-surface-2); }
.docs-search-panel small, .docs-search-panel a > span { color: var(--text-secondary); font-size: 11px; }
.docs-nav { overflow-y: auto; min-height: 0; scrollbar-width: thin; overscroll-behavior: contain; padding: 0 3px 12px; }
.docs-nav-group + .docs-nav-group { margin-top: 14px; }
.docs-nav-label { padding: 0 10px; margin-bottom: 4px; color: var(--text-secondary); font-size: 11px; font-weight: 700; }
.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 36px;
  min-width: 0;
  flex: 1;
  padding: 6px 9px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.docs-nav-link > i { flex: 0 0 17px; text-align: center; font-size: 14px; }
.docs-nav-link:hover { background: var(--bg-surface-2); color: var(--text-primary); }
.docs-nav-link.is-active {
  background: color-mix(in srgb, var(--accent-violet) 8%, var(--bg-base));
  color: var(--text-primary);
}
.docs-nav-link.is-active > i { color: var(--accent-violet); }
.docs-nav-document > summary { display: flex; align-items: center; list-style: none; border-radius: var(--radius-md); cursor: pointer; }
.docs-nav-document > summary::-webkit-details-marker { display: none; }
.docs-nav-document > summary > i { padding: 10px 7px; color: var(--text-secondary); font-size: 9px; }
.docs-nav-document[open] > summary > i { transform: rotate(180deg); }
.docs-nav-document .docs-nav-document { margin-left: 12px; }
.docs-nav-sections { margin: 2px 8px 6px 18px; padding-left: 12px; border-left: 1px solid var(--border-subtle); list-style: none; }
.docs-nav-sections a { display: block; padding: 5px 9px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 11px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.docs-nav-sections a:hover { color: var(--text-primary); background: var(--bg-hover); }
.docs-nav-sections a[aria-current="location"] { color: var(--accent-violet); background: color-mix(in srgb, var(--accent-violet) 8%, var(--bg-base)); }
.docs-article { width: 100%; max-width: 820px; min-width: 0; overflow-wrap: anywhere; }
.docs-document-header { padding-bottom: 32px; }
.docs-preview { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; color: var(--text-secondary); font-size: 11px; }
.docs-document-header h1 { color: var(--text-primary); font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.docs-lead { max-width: 700px; margin-top: 14px; color: var(--text-secondary); font-size: 16px; line-height: 1.75; }
.docs-updated { margin-top: 36px; text-align: right; color: var(--text-secondary); font-size: 11px; }
.docs-updated time { margin-left: 6px; font-family: var(--font-mono); }
.docs-pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.docs-pagination a { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 36px; max-width: calc(50% - 6px); padding: 7px 12px; border-radius: 11px; background: color-mix(in srgb, var(--bg-surface-2) 65%, transparent); color: var(--text-secondary); font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; transition: background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.docs-pagination a > i { flex: 0 0 auto; }
.docs-pagination a > span { min-width: 0; overflow-wrap: anywhere; }
.docs-pagination a[rel="next"] { margin-left: auto; text-align: right; }
.docs-pagination a:hover, .docs-pagination a:focus-visible { background: color-mix(in srgb, var(--accent-violet) 9%, var(--bg-surface-1)); color: var(--accent-violet); box-shadow: 0 3px 12px color-mix(in srgb, var(--accent-violet) 12%, transparent); }
.docs-anchor-alias { display: block; height: 0; }
.docs-content { color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.docs-content :is(p, ul, ol) { max-width: 78ch; }
.docs-section + .docs-section { margin-top: 40px; }
.docs-content h2 { margin-bottom: 15px; color: var(--text-primary); font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.docs-content h3 { margin-top: 24px; margin-bottom: 10px; color: var(--text-primary); font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -.015em; }
.docs-content p + p, .docs-content p + ul, .docs-content p + ol,
.docs-content ul + p, .docs-content ol + p { margin-top: 12px; }
.docs-content strong { color: var(--text-primary); font-weight: 650; }
.docs-content ul, .docs-content ol { padding-left: 23px; }
.docs-content li + li { margin-top: 7px; }
.docs-content li::marker { color: var(--accent-violet); }
.docs-content a { color: var(--accent-violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.docs-content a:hover { color: var(--text-primary); }
.docs-content code { padding: 2px 5px; border: 1px solid var(--border-subtle); border-radius: 4px; background: var(--bg-surface-2); color: var(--text-primary); font: 12px/1.6 var(--font-mono); }
.docs-callout { margin-block: 22px; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent-violet); }
.docs-callout p { margin-top: 6px; }
.docs-table-wrap { max-width: 100%; margin-block: 20px; overflow-x: auto; border-bottom: 1px solid var(--border-subtle); }
.docs-content table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; line-height: 1.7; }
.docs-content caption { padding: 12px 15px; color: var(--text-primary); text-align: left; font-weight: 700; }
.docs-content th, .docs-content td { padding: 13px 15px; border-top: 1px solid var(--border-subtle); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.docs-content thead { background: var(--bg-surface-2); }
.docs-content th { color: var(--text-primary); font-weight: 650; }
.docs-content th:first-child { width: 24%; }
.docs-content [id], #docs-title, #docs-article { scroll-margin-top: calc(var(--docs-header-height) + 24px); }
.docs-content .docs-permalink { display: inline-grid; place-items: center; width: 32px; height: 32px; vertical-align: middle; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 12px; text-decoration: none; }
.docs-permalink:hover { background: var(--bg-surface-2); }
.docs-main :is(a, summary, .docs-table-wrap):focus-visible { outline: 2px solid var(--accent-violet); outline-offset: 3px; }
.docs-content [tabindex="-1"]:focus, #docs-article:focus { outline: none; }
.docs-skip { position: fixed; left: 16px; top: 8px; z-index: 100; padding: 12px 18px; border: 2px solid var(--accent-violet); border-radius: var(--radius-md); color: var(--text-primary); background: var(--bg-surface-1); text-decoration: none; transform: translateY(-150%); }
.docs-skip:focus { transform: translateY(0); }
