.docs [hidden] { display: none; }
.docs-crumb { display: flex; gap: 9px; margin: 2px 0 16px; color: #6b554f; font-size: 13px; }
.docs-crumb a:hover { text-decoration: underline; }
.docs-lantern { position: absolute; z-index: -1; right: 10px; bottom: 5px; width: 25%; height: 94%; object-fit: contain; object-position: right bottom; }
.docs-body { display: grid; grid-template-columns: minmax(210px,268px) minmax(0,1fr); align-items: start; gap: clamp(17px,3vw,38px); margin-top: clamp(16px,3vw,34px); }
.docs #document-list { grid-column: 2; grid-row: 1; }
.docs-nav,.docs-section,.docs-search,.docs-empty { border: 1px solid #decfbc; border-radius: 14px; background: #fffcf7; }
.docs-nav { position: sticky; top: 18px; display: grid; padding: 8px; }
.docs-nav a { padding: 10px 12px; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.docs-nav a:hover { background: #f3eadc; color: var(--cherry); }
.docs-section { margin-top: 14px; overflow: clip; }
.docs-section h2 { padding: 14px clamp(13px,2vw,24px); background: #f3eadc; font-size: clamp(19px,2vw,27px); line-height: 1.2; letter-spacing: -.035em; }
.docs-section:target { border-color: #a55763; }
.docs-search { padding: 13px clamp(13px,2vw,24px); }
.docs-search label { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 800; }
.docs-search > div { position: relative; color: var(--cherry); }
.docs-search svg { position: absolute; left: 12px; top: 12px; pointer-events: none; }
.docs-search input { width: 100%; min-height: 44px; padding: 8px 12px 8px 40px; color: var(--ink); border: 1px solid #cdbbaa; border-radius: 8px; background: #fff; }
.docs-count:not(:empty) { margin-top: 8px; color: #705d53; font-size: 13px; }
.docs-empty { margin-top: 14px; padding: 16px; }
.docs-links { list-style: none; padding: 0 clamp(13px,2vw,24px); margin: 0; }
.docs-links li + li { border-top: 1px solid #e5d9cb; }
.docs-links a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 9px; font-size: 15px; line-height: 1.4; }
.docs-links a:hover { color: var(--cherry); text-decoration: underline; text-underline-offset: 3px; }
.docs-links a:focus-visible { outline-offset: -2px; }
.docs-links svg { color: #905f53; width: 15px; }
.docs-subtitle { margin: 0 clamp(13px,2vw,24px); padding: 12px 0 4px; border-top: 1px solid #e5d9cb; font-size: 16px; color: #752933; }
@media(max-width:740px) {
  .docs-body { grid-template-columns: 1fr; }
  .docs #document-list { grid-column: auto; grid-row: auto; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
  .docs-nav a { background: #f6eee2; }
  .docs-lantern { width: 25%; right: 5px; }
}
