/* Knowstand の公開ページ。
   --brand はサイトごとの色（ページの <style> で入る）。ほかの色はここから作る。
   明るい色・暗い色は light-dark() で持ち、<html data-theme> で切り替える。 */
:root {
  --brand: #2563eb;
  color-scheme: light dark;

  --bg: light-dark(#fbfbfc, #0d0f12);
  --surface: light-dark(#ffffff, #15181d);
  --surface-2: light-dark(#f3f4f6, #1b1f25);
  --text: light-dark(#13161b, #eceef2);
  --muted: light-dark(#5a6372, #98a1ae);
  --line: light-dark(#e5e7eb, #262b33);
  --line-strong: light-dark(#d3d7dd, #353b45);
  /* 文字に使うサイトの色。地の色に対して読める濃さに寄せる */
  --accent: light-dark(color-mix(in oklab, var(--brand) 76%, #000), color-mix(in oklab, var(--brand) 62%, #fff));
  --brand-soft: light-dark(color-mix(in oklab, var(--brand) 9%, #fff), color-mix(in oklab, var(--brand) 18%, #15181d));
  --brand-line: color-mix(in oklab, var(--brand) 45%, var(--line));
  --warn-bg: light-dark(#fff8e1, #2a2412);
  --warn-line: light-dark(#f6dc8c, #5c4d16);
  --shadow: 0 1px 2px light-dark(rgb(15 23 42 / .05), rgb(0 0 0 / .4)), 0 8px 24px -12px light-dark(rgb(15 23 42 / .12), rgb(0 0 0 / .6));
  --shadow-pop: 0 24px 64px -16px light-dark(rgb(15 23 42 / .28), rgb(0 0 0 / .8));

  --radius: 14px;
  --radius-s: 9px;
  --header-h: 60px;
  --font: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

@view-transition { navigation: auto; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  position: relative;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; padding-block: 28px 80px; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; }
/* 見出しは文節の切れ目で折り返す（対応するブラウザだけ） */
h1, h2, h3, strong { word-break: auto-phrase; }
h1, h2, h3 { font-feature-settings: "palt"; letter-spacing: .01em; }
svg.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in oklab, var(--brand) 28%, transparent); }
mark { background: color-mix(in oklab, var(--brand) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
kbd {
  font: 500 11px/1 var(--mono); color: var(--muted); padding: 4px 6px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap;
}
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 20px; }
.wrap.wide { max-width: 1280px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ヘッダー：上に貼りつく、すりガラス */
.site-header {
  position: sticky; top: 0; z-index: 20; view-transition-name: site-header;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.site-name { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.site-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-name img { height: 28px; width: auto; }
.site-mark {
  width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase;
  background: linear-gradient(140deg, var(--brand), color-mix(in oklab, var(--brand) 70%, #000));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25);
}
.search-trigger {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; min-width: 220px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted);
  font-size: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.search-trigger:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.search-trigger kbd { margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; cursor: pointer;
  border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); font-size: 17px;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .moon { display: block; } }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
html:not(.js) .theme-toggle, html:not(.js) kbd { display: none; }

/* トップ：色のにじみと点の格子 */
.home::before, .home::after { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; pointer-events: none; }
.home::before {
  height: 620px;
  background:
    radial-gradient(55% 75% at 12% 0%, color-mix(in oklab, var(--brand) 20%, transparent), transparent 70%),
    radial-gradient(45% 65% at 88% 8%, color-mix(in oklab, var(--brand) 10%, transparent), transparent 70%);
  background:
    radial-gradient(55% 75% at 12% 0%, color-mix(in oklab, var(--brand) 20%, transparent), transparent 70%),
    radial-gradient(45% 65% at 88% 8%, oklch(from var(--brand) l c calc(h + 55) / .13), transparent 70%);
}
.home::after {
  height: 460px;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--text) 16%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent); mask-image: linear-gradient(to bottom, #000 10%, transparent);
}
.hero { display: grid; gap: 40px; align-items: end; padding: 56px 0 24px; }
.hero.has-popular { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.hero h1 { margin: 0; font-size: clamp(32px, 5.2vw, 54px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.hero .lead { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

.search { position: relative; display: flex; align-items: center; margin-top: 28px; max-width: 560px; }
.search > .i { position: absolute; left: 18px; font-size: 19px; color: var(--muted); pointer-events: none; }
.search input {
  flex: 1; min-width: 0; height: 58px; padding: 0 110px 0 50px; font: inherit; font-size: 17px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:hover { border-color: var(--brand-line); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent), var(--shadow); }
.search kbd, .search button { position: absolute; right: 10px; }
.search kbd { right: 16px; pointer-events: none; }
.search button {
  height: 40px; padding: 0 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 0; border-radius: 10px; background: var(--brand); color: #fff;
}
html.js .search.opens-palette button { display: none; }
html.js .search.opens-palette input { cursor: pointer; padding-right: 80px; }
.search:not(.opens-palette) kbd { display: none; }

.popular {
  padding: 20px 22px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.popular ol { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: n; }
.popular li { counter-increment: n; border-top: 1px solid var(--line); }
.popular li:first-child { border-top: 0; }
.popular a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.5; }
.popular a::before { content: counter(n, decimal-leading-zero); font: 500 12px var(--mono); color: var(--accent); }
.popular a:hover { color: var(--accent); }

.section-title { margin: 56px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.collection-card {
  display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.collection-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.collection-head { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.collection-head:hover strong { color: var(--accent); }
.collection-head .text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.collection-head strong { font-size: 17px; }
.collection-head .count { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); padding: 3px 9px; border-radius: 99px; background: var(--surface-2); white-space: nowrap; }
.tile { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--accent); font-size: 20px; }
.tile img { width: 26px; height: 26px; object-fit: contain; }
.desc { color: var(--muted); font-size: 14px; }
.peek { list-style: none; margin: 4px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line); }
.peek a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.5;
}
.peek a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peek a .i { margin-left: auto; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.peek a:hover { background: var(--surface-2); }
.peek a:hover .i { opacity: 1; transform: none; }
.more { margin-top: auto; padding: 10px 12px 8px; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more:hover { text-decoration: underline; }

/* 一覧 */
.article-list { list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.article-list li + li { border-top: 1px solid var(--line); }
.article-list a { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 9px; text-decoration: none; color: var(--text); }
.article-list .text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.6; }
.article-list strong { font-size: 16px; }
.article-list .i { color: var(--muted); transition: transform .15s, color .15s; }
.article-list a:hover { background: var(--surface-2); }
.article-list a:hover strong { color: var(--accent); }
.article-list a:hover .i { transform: translateX(3px); color: var(--accent); }
.article-list .group { font-size: 12px; color: var(--muted); margin-bottom: 2px; }

/* 見出しまわり */
.breadcrumbs { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .i { font-size: 12px; opacity: .6; }
.page-head { margin: 18px 0 28px; }
.page-head.with-tile { display: flex; gap: 18px; align-items: center; }
.page-head.with-tile .tile { width: 56px; height: 56px; border-radius: 16px; }
.page-head.with-tile .tile img { width: 32px; height: 32px; }
.page-head h1 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; margin: 0; font-weight: 800; text-wrap: balance; }
.page-head p { margin: 8px 0 0; color: var(--muted); }
.meta { font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); padding: 32px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.narrow { max-width: 760px; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--text); font-size: 14px; text-decoration: none; }
.chips a:hover { border-color: var(--brand-line); color: var(--accent); }

/* 記事：左に同じカテゴリの記事、まん中に本文、右に目次 */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 30; background: var(--brand);
  transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root);
}
@keyframes progress { to { transform: scaleX(1); } }
@supports not (animation-timeline: scroll()) { .progress { display: none; } }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 220px; gap: 48px; align-items: start; }
.article-layout.no-toc { grid-template-columns: 230px minmax(0, 1fr); }
.article { min-width: 0; max-width: 740px; width: 100%; margin-inline: auto; }
.side-nav, .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; font-size: 14px; scrollbar-width: thin; }
.side-nav .eyebrow a { color: inherit; text-decoration: none; }
.side-nav .eyebrow a:hover { color: var(--text); }
.side-nav ul, .toc ul { list-style: none; margin: 10px 0 0; padding: 0; }
.side-nav li a {
  display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px; line-height: 1.5;
  color: var(--muted); text-decoration: none;
}
.side-nav li a:hover { color: var(--text); background: var(--surface-2); }
.side-nav li a[aria-current] { color: var(--accent); background: var(--brand-soft); font-weight: 600; }
.toc ul { border-left: 1px solid var(--line); }
.toc li a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin: 0 0 0 -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; line-height: 1.5;
  color: var(--muted); text-decoration: none; transition: color .15s, border-color .15s;
}
.toc .toc-l3 a { padding-left: 26px; font-size: 13px; }
.toc li a:hover { color: var(--text); }
.toc li a[aria-current] { color: var(--accent); border-left-color: var(--brand); font-weight: 600; }
.toc-inline { display: none; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-size: 14px; }
.toc-inline summary { padding: 12px 16px; font-weight: 700; cursor: pointer; }
.toc-inline ul { margin: 0 16px 14px; }
@media (max-width: 1180px) {
  .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr) 220px; }
  .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
  .side-nav { display: none; }
}
@media (max-width: 860px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-layout > .toc { display: none; }
  .toc-inline { display: block; }
}

.article-body { font-size: 16.5px; line-height: 1.9; overflow-wrap: anywhere; }
.article-body h2 { font-size: 23px; line-height: 1.45; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body h3 { font-size: 18px; line-height: 1.6; margin: 36px 0 10px; }
.article-body h4 { font-size: 16px; margin: 28px 0 8px; }
.article-body p { margin: 0 0 14px; }
.article-body .align-right { text-align: right; }
.article-body .align-center { text-align: center; }
.article-body figure { margin: 20px 0 28px; }
.article-body figure img { display: block; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
html.js .article-body figure img { cursor: zoom-in; }
.article-body .align-right:has(+ hr), .article-body figure + .align-right { font-size: 13px; color: var(--muted); margin-top: -16px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin: 0 0 16px; }
.article-body li { margin: 4px 0; }
.article-body li::marker { color: var(--accent); }
.article-body li p { margin: 0; }
.callout { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-s); padding: 14px 18px; margin: 20px 0; }
.callout p:last-child, .note p:last-child { margin-bottom: 0; }
.note { background: var(--brand-soft); border: 1px solid color-mix(in oklab, var(--brand) 22%, var(--line)); border-radius: var(--radius-s); padding: 14px 18px; margin: 20px 0; font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius-s); }
.article-body table { border-collapse: collapse; min-width: 100%; font-size: 15px; }
.article-body td, .article-body th { border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 10px 14px; vertical-align: top; text-align: left; }
.article-body tr:first-child > * { border-top: 0; }
.article-body tr > *:first-child { border-left: 0; }
.article-body tr:nth-child(odd) td { background: var(--surface-2); }
.attachments { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.attachments li { margin: 0; }
.attachments li:has(> a:only-of-type):not(:has(video)) {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface);
}
.attachments li:has(> a:only-of-type):not(:has(video))::before { content: "↓"; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--brand-soft); color: var(--accent); font-weight: 700; }
.attachments a { font-weight: 600; text-decoration: none; }
.attachments a:hover { text-decoration: underline; }
.attachments video { display: block; width: 100%; border-radius: 10px; margin-bottom: 6px; background: #000; }
.attachments .size { color: var(--muted); font-size: 13px; margin-left: auto; white-space: nowrap; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.pager a:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.pager .next { grid-column: 2; text-align: right; }
.pager small { color: var(--muted); font-size: 12px; }
.pager strong { font-size: 15px; }

/* 検索パレット（⌘K） */
dialog { color: var(--text); }
.palette {
  width: min(640px, calc(100vw - 24px)); max-height: min(560px, calc(100dvh - 24px)); margin: 12vh auto auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-pop); overflow: hidden;
}
.palette[open] { display: flex; flex-direction: column; animation: pop .16s ease-out; }
.palette::backdrop, .lightbox::backdrop { background: light-dark(rgb(15 20 30 / .35), rgb(0 0 0 / .6)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.palette-form { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette-form > .i { font-size: 18px; color: var(--muted); }
.palette-form input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 17px; -webkit-appearance: none; appearance: none; }
.palette-form input::-webkit-search-cancel-button { display: none; }
.palette-form button { border: 0; background: none; padding: 0; cursor: pointer; }
.palette-results { overflow-y: auto; padding: 8px; min-height: 96px; }
.palette-label { margin: 0; padding: 8px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.palette-empty { margin: 0; padding: 28px 12px; text-align: center; color: var(--muted); font-size: 15px; }
.palette-item { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; line-height: 1.5; scroll-margin: 8px; }
.palette-item .group { font-size: 11px; color: var(--muted); }
.palette-item strong { font-size: 15px; }
.palette-item .snip { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-item[aria-selected="true"] { background: var(--brand-soft); }
.palette-item[aria-selected="true"] strong { color: var(--accent); }
.palette-foot { display: flex; gap: 16px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 12px; color: var(--muted); }
.palette-foot span { display: inline-flex; align-items: center; gap: 5px; }
.palette-foot .brand { margin-left: auto; opacity: .8; }

/* 画像の拡大 */
.lightbox { padding: 0; border: 0; background: none; max-width: 96vw; max-height: 96dvh; cursor: zoom-out; }
.lightbox img { display: block; max-width: 96vw; max-height: 96dvh; border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); }

/* フッター */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding-block: 24px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.powered { display: inline-flex; align-items: center; gap: 6px; }
.powered b { color: var(--text); font-weight: 700; letter-spacing: .01em; }

@media (max-width: 760px) {
  .hero, .hero.has-popular { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; }
  .section-title { margin-top: 40px; }
  .search-trigger { min-width: 0; width: 36px; padding: 0; justify-content: center; border-color: transparent; background: none; font-size: 17px; }
  .search-trigger span, .search-trigger kbd, .search kbd, .palette-foot span { display: none; }
  .search input { height: 54px; font-size: 16px; }
  html.js .search.opens-palette input { padding-right: 16px; }
  .palette { margin-top: 12px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 21px; margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  @view-transition { navigation: none; }
}
@media print {
  .site-header, .site-footer, .side-nav, .toc, .toc-inline, .pager, .progress { display: none !important; }
  .article-layout { display: block; }
}
