/*
 * 안내서 3종 — 목록(02) · 문서 상세(03) · 검색 결과(04)  (H2, docs/homepage-plan.md §2)
 * shell.css 위에 얹는다. 토큰은 shell.css의 것을 쓴다.
 *
 * ★갈래 색(--sec · --sec-soft)은 안내서 7갈래 구분에만 쓴다(§1.1). 값의 정본은
 *   scripts/gen_manual_html.py의 SECTIONS이고, 페이지가 인라인 변수로 넘긴다.
 * ★안내 상자 색(주의 · 법 · 팁 …)은 본문 서식의 **기능 색**이라 여기에만 둔다(홈페이지 다른 곳으로 번지지 않는다).
 * ★좌측 색 띠를 쓰지 않는다(§1.1) — 안내 상자는 상단 2px 선, 목차의 "지금 읽는 절"은 표시선(띠가 아니라 커서).
 */

/* ── 공통 ───────────────────────────────────────────────────────────────── */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs a {
  color: var(--sub);
}
.crumbs a:hover {
  color: var(--title);
}

.chip--pill {
  height: 32px;
  padding: 0 14px;
  border-color: #E5E1DB;
  font-size: 13px;
}
/* 시안 02 · 04 — 필터 칩의 선택은 어두운 알약(틴트가 아니다) */
.chip--pill[aria-pressed="true"] {
  border-color: var(--dark);
  box-shadow: none;
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px 0 22px;
  border: 1px solid #E5E1DB;
  border-radius: 28px;
  background: var(--surface);
  color: var(--sub);
}
.search-pill:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.5px var(--primary);
  background: #fff;
}
.search-pill input,
.docs-search input,
.search-big input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--title);
  font: inherit;
}
.search-pill input {
  font-size: 15px;
}
.search-pill input::placeholder,
.docs-search input::placeholder,
.search-big input::placeholder {
  color: var(--faint);
}
.search-pill kbd,
.docs-search kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--sub);
  font: inherit;
  font-size: 11.5px;
}
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ── 02 목록 ────────────────────────────────────────────────────────────── */
.manual-head {
  padding-block: 48px 30px;
}
.manual-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 40px;
  margin-top: 14px;
}
.manual-head__text {
  flex: 1 1 420px;
}
.manual-head__text .t-lead {
  margin-top: 12px;
  max-width: 560px;
}
.manual-stats {
  display: flex;
  gap: 30px;
  margin: 0;
  padding-bottom: 6px;
}
.manual-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.manual-stats dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.manual-stats dt {
  font-size: 12px;
  color: var(--sub);
}
.manual-head .search-pill {
  margin-top: 26px;
}
.manual-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.manual-filters__label {
  margin-right: 4px;
  font-size: 12.5px;
  color: var(--faint);
}
.manual-filters__sep {
  width: 1px;
  height: 18px;
  margin: 0 6px;
  background: #E5E1DB;
}

.manual-body {
  padding-bottom: 44px;
}
.manual-lane {
  margin: 34px 0 -8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.manual-lane:first-child {
  margin-top: 0;
}
.manual-sec {
  padding-top: 30px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.manual-sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--dark);
}
.manual-sec__head .num {
  font-size: 13px;
  font-weight: 800;
}
.manual-sec__head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.manual-sec__desc {
  font-size: 13.5px;
  color: var(--sub);
}
.manual-sec__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--faint);
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}
.manual-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--title);
  transition: background-color 0.15s;
}
.manual-card:hover {
  background: #FAF8F5;
  color: var(--title);
}
.manual-card b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.manual-card:hover b {
  color: var(--primary);
}
.manual-card__x {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.manual-card__m {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--faint);
}
.manual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.manual-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border: 1px solid #E5E1DB;
  border-radius: 999px;
  color: var(--text-strong);
  font-size: 14px;
}
.manual-chip:hover {
  border-color: var(--line-faint);
  background: var(--surface);
  color: var(--title);
}
.manual-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--sub);
}

/* ── 03 문서 상세 — 상단바 ─────────────────────────────────────────────── */
.site-header--docs .docs-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  padding-inline: clamp(16px, 2.7vw, 32px);
}
.site-header--docs .brand {
  margin-right: 0;
  font-size: 14px;
}
.docs-crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-right: auto;
  font-size: 13px;
  color: var(--sub);
  white-space: nowrap;
}
.docs-crumb a {
  color: var(--sub);
}
.docs-crumb a:hover {
  color: var(--title);
}
.docs-crumb__sep {
  color: var(--line-faint);
}
.docs-crumb b {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--title);
  font-weight: 600;
}
.docs-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 230px;
  height: 34px;
  padding: 0 8px 0 14px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: var(--surface);
  color: var(--faint);
}
.docs-search:focus-within {
  border-color: var(--primary);
  background: #fff;
}
.docs-search input {
  font-size: 13px;
}
.docs-search kbd {
  width: 18px;
  height: 18px;
  font-size: 10.5px;
}
.docs-progress {
  height: 3px;
  background: var(--line-soft);
}
.docs-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
}

/* ── 03 문서 상세 — 3단 ───────────────────────────────────────────────── */
.docs-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1440px;
  margin-inline: auto;
}
.docs-nav {
  position: sticky;
  top: 63px;
  width: 250px;
  flex-shrink: 0;
  max-height: calc(100vh - 63px);
  overflow-y: auto;
  padding: 24px 20px;
  border-right: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.docs-filter {
  width: 100%;
  height: 34px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: var(--surface);
  color: var(--title);
  font: inherit;
  font-size: 12.5px;
}
.docs-filter:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.docs-filter::placeholder {
  color: var(--faint);
}
.docs-lane {
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.docs-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.docs-group > summary::-webkit-details-marker {
  display: none;
}
.docs-group > summary::after {
  content: "▸";
  margin-left: auto;
  font-size: 10px;
  color: var(--line-faint);
}
.docs-group[open] > summary {
  color: var(--title);
  font-weight: 700;
}
.docs-group[open] > summary::after {
  content: "▾";
  color: var(--faint);
}
.docs-group > summary:hover {
  background: var(--surface);
}
.docs-group .num {
  width: 17px;
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
}
.docs-group ul {
  list-style: none;
  margin: 2px 0 6px;
  padding: 0;
}
.docs-group li a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px 5px 27px;
  border-radius: 15px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.docs-group li a:hover {
  background: var(--surface);
  color: var(--title);
}
.docs-group li a.is-cur {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.doc {
  flex: 1;
  min-width: 0;
  max-width: 820px;
  padding: 40px clamp(20px, 3.7vw, 44px) 52px;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.doc-sec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 11px 0 9px;
  border-radius: 12px;
  background: var(--sec-soft);
  color: var(--title);
  font-size: 12px;
  font-weight: 600;
}
.doc-sec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sec);
}
.doc-aud {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #E5E1DB;
  border-radius: 12px;
  color: var(--sub);
  font-size: 12px;
}
.doc-time {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--faint);
}
.doc-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

/* 본문 서식 — 앱 안내서와 같은 마크업(scripts/gen_manual_html.py)에 홈페이지 톤을 입힌다 */
.doc-body {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-strong);
}
.doc-body > p:first-child {
  font-size: 16.5px;
}
.doc-body h2 {
  margin: 44px 0 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--title);
  scroll-margin-top: 84px;
}
.doc-body h3 {
  margin: 32px 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--title);
  scroll-margin-top: 84px;
}
.doc-body h4 {
  margin: 22px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-strong);
}
.doc-body .anchor {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--faint);
  opacity: 0;
}
.doc-body h2:hover .anchor,
.doc-body h3:hover .anchor,
.doc-body .anchor:focus {
  opacity: 1;
}
.doc-body p {
  margin: 14px 0;
}
.doc-body b,
.doc-body strong {
  color: var(--title);
}
.doc-body a {
  text-decoration: underline;
  text-decoration-color: rgba(79, 70, 229, 0.35);
  text-underline-offset: 3px;
}
.doc-body a.anchor {
  text-decoration: none;
}
.doc-body em {
  padding: 0 4px;
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  font-style: normal;
}
.doc-body ul,
.doc-body ol {
  padding-left: 22px;
}
.doc-body li {
  margin: 6px 0;
}
.doc-body ol > li::marker {
  color: var(--primary);
  font-weight: 700;
}
.doc-body code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--title);
  font-family: "Cascadia Mono", Consolas, "D2Coding", monospace;
  font-size: 13px;
}
.doc-body pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--dark);
  color: #E7E5E4;
  font-size: 13px;
  line-height: 1.7;
}
.doc-body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}
.doc-body hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
/* 표 — 넓으면 표만 가로로 밀린다(본문은 가로로 넘치지 않는다) */
.doc-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.doc-body th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--title);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.doc-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.doc-body tr:last-child td {
  border-bottom: 0;
}

/* 안내 상자 — 상단 2px 선(시안 03 "알아 두실 것") */
.doc-body blockquote {
  margin: 24px 0;
  padding: 16px 22px 18px;
  border-top: 2px solid var(--line-faint);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-strong);
}
.doc-body blockquote p {
  margin: 6px 0;
}
.doc-body blockquote.cal {
  --cal: #4F46E5;
  --cal-bg: #F7F7FF;
  --cal-ink: #312A9E;
  border-top-color: var(--cal);
  background: var(--cal-bg);
}
.doc-body .cal-h {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cal-ink);
}
.doc-body .cal-warn { --cal: #B45309; --cal-bg: #FFFBEB; --cal-ink: #92400E; }
.doc-body .cal-law  { --cal: #7C3AED; --cal-bg: #F5F3FF; --cal-ink: #5B21B6; }
.doc-body .cal-tip  { --cal: #0F766E; --cal-bg: #F0FDFA; --cal-ink: #115E59; }
.doc-body .cal-key  { --cal: #4F46E5; --cal-bg: #F7F7FF; --cal-ink: #312A9E; }
.doc-body .cal-lock,
.doc-body .cal-note,
.doc-body .cal-ask  { --cal: #0369A1; --cal-bg: #F0F9FF; --cal-ink: #075985; }

/* 화면 · 영상 */
.doc-body .mico {
  flex-shrink: 0;
  margin-right: 7px;
}
.doc-body .shot-fig,
.doc-body .vid-fig {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid #E5E1DB;
  border-radius: 4px;
}
.doc-body .shot-fig img {
  display: block;
  width: 100%;
  height: auto;
}
.doc-body .shot-fig figcaption,
.doc-body .vid-fig figcaption {
  display: flex;
  align-items: baseline;
  padding: 11px 14px;
  border-top: 1px solid #E5E1DB;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.6;
}
.doc-body .vid-frame {
  position: relative;
  padding-top: 56.25%;
}
.doc-body .vid-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.doc-body .ph {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px dashed var(--line-faint);
  border-radius: 4px;
  background: var(--surface);
  color: var(--sub);
  font-size: 13px;
}
.doc-body .ph-shot {
  display: flex;
  align-items: flex-start;
}
.doc-body .ph b {
  color: var(--text-strong);
}
.doc-body .phid {
  display: inline-block;
  margin-left: 8px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-size: 11px;
  font-style: normal;
  color: var(--faint);
}
.doc-body .ph-video {
  border-style: solid;
  border-color: transparent;
  border-top: 2px solid var(--primary);
  background: var(--tint);
}
.doc-body .ph-video .vhead {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--on-tint);
}
.doc-body .ph-video .vtitle {
  margin: 4px 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--title);
}
.doc-body .vcovers {
  margin: 4px 0 0;
  padding-left: 20px;
  font-size: 13px;
}
.doc-body .vlen {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
}
.doc-body .xref {
  border-bottom: 1px dotted var(--faint);
  color: var(--text);
}

.doc-pager {
  display: flex;
  gap: 12px;
  margin-top: 44px;
}
.doc-pager a {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid #E5E1DB;
  border-radius: 4px;
  color: var(--title);
}
.doc-pager a:hover {
  border-color: var(--primary);
  color: var(--title);
}
.doc-pager span {
  font-size: 12px;
  color: var(--faint);
}
.doc-pager b {
  font-size: 15px;
  font-weight: 700;
}
.doc-pager__next {
  align-items: flex-end;
  text-align: right;
}
.doc-pager__prev:only-child {
  flex: 0 1 50%;
}
.doc-pager__next:only-child {
  flex: 0 1 50%;
  margin-left: auto;
}

.docs-toc {
  position: sticky;
  top: 63px;
  width: 212px;
  flex-shrink: 0;
  max-height: calc(100vh - 63px);
  overflow-y: auto;
  padding: 40px 22px;
  border-left: 1px solid var(--line-soft);
}
.docs-toc__title,
.docs-recent__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.docs-toc__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 11px;
}
.docs-toc__links a {
  padding: 3px 0 3px 10px;
  border-left: 2px solid transparent;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.docs-toc__links a.is-h3 {
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--sub);
}
.docs-toc__links a:hover {
  color: var(--title);
}
.docs-toc__links a.is-on {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.docs-recent {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.docs-recent ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
}
.docs-recent a {
  color: var(--text);
  font-size: 13px;
}
.docs-recent a:hover {
  color: var(--primary);
}

/* ── 04 검색 결과 ───────────────────────────────────────────────────────── */
.search-page {
  padding-block: 44px 40px;
}
.search-big {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 14px 0 24px;
  border: 1px solid var(--primary);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 0 0.5px var(--primary);
  color: var(--primary);
}
.search-big input {
  font-size: 16.5px;
}
.search-big__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--faint);
  font-size: 18px;
  cursor: pointer;
}
.search-big__clear:hover {
  background: var(--surface);
  color: var(--title);
}
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.search-bar__count {
  margin-right: auto;
  font-size: 13.5px;
  color: var(--text);
}
.search-bar__count b {
  color: var(--title);
}
.sresults {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sres {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--title);
}
.sres:hover {
  color: var(--title);
}
.sres:hover .sres__head b {
  color: var(--primary);
}
.sres__bar {
  width: 3px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--sec);
}
.sres__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sres__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.sres__head b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sres__sec {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: 11px;
  background: var(--sec-soft);
  color: var(--title);
  font-size: 11.5px;
  font-weight: 600;
}
.sres__snip {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}
.sres mark {
  padding: 1px 3px;
  border-radius: 2px;
  background: #FFF3BF;
  color: var(--title);
  font-weight: 700;
}
.sres__meta {
  font-size: 12.5px;
  color: var(--faint);
}
.search-none {
  padding: 56px 0;
  text-align: center;
}
.search-none p {
  color: var(--text);
}
.search-none .search-none__links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ── 좁은 화면 ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .docs-toc {
    display: none;
  }
}
@media (max-width: 960px) {
  .manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  /* 좁은 화면에서는 좌측 목차를 접는다 — 목록(/manual)과 이전·다음으로 오간다 */
  .docs-nav {
    display: none;
  }
  .docs-crumb a,
  .docs-crumb__sep {
    display: none;
  }
  .docs-search {
    width: 150px;
  }
  .docs-search kbd {
    display: none;
  }
}
@media (max-width: 560px) {
  .manual-grid {
    grid-template-columns: 1fr;
  }
  .manual-stats {
    gap: 22px;
  }
  .manual-head .search-pill kbd {
    display: none;
  }
  .doc-time {
    width: 100%;
    margin-left: 0;
  }
  .doc-pager {
    flex-direction: column;
  }
  .doc-pager__prev:only-child,
  .doc-pager__next:only-child {
    flex-basis: auto;
  }
  .docs-search {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .docs-search:focus-within {
    width: 150px;
    padding: 0 8px 0 14px;
  }
  .docs-search input {
    width: 0;
  }
  .docs-search:focus-within input {
    width: auto;
  }
  .sres {
    gap: 14px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .docs-nav,
  .docs-toc,
  .doc-pager {
    display: none !important;
  }
  .doc {
    max-width: none;
    padding: 0;
  }
}
