/* White paper, clear type, and the same deep blue used in the source tutorials. */
:root {
  --paper: #fff;
  --surface: #f7f9fa;
  --ink: #192d3a;
  --body: #3c4854;
  --muted: #697681;
  --accent: #185c76;
  --accent-dark: #10475d;
  --line: #e2e7eb;
  --soft-line: #edf0f2;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --page: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 16px/1.85 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
svg { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--ink); font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
p { margin: 0 0 1.25em; }
::selection { background: #e0edf4; color: #123e53; }
:focus-visible { outline: 3px solid #3a819e; outline-offset: 4px; }
.container, .header-inner, .footer-inner, .footer-bottom { width: min(var(--page), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; padding: 10px 18px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fffffffa; border-bottom: 1px solid var(--line); }
.header-inner { height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 31px; height: 35px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.15; letter-spacing: -.7px; }
.brand-text small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 1.3px; }
.primary-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 13px; }
.primary-nav a { position: relative; padding: 28px 0; color: #46515c; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; color: var(--muted); font-size: 12px; }
.search-trigger svg { width: 16px; height: 16px; }
.search-trigger kbd { font: 11px/18px var(--mono); background: #fff; border: 1px solid var(--line); border-radius: 3px; min-width: 18px; text-align: center; margin-left: 7px; }
.search-trigger:hover { color: var(--accent); border-color: #b3c8d3; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 85px; padding: 64px 0 66px; }
.eyebrow { margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .06em; }
.hero-title { font-size: 54px; font-weight: 600; line-height: 1.22; letter-spacing: -2px; margin-bottom: 22px; }
.hero-title em { display: inline-block; color: #334b5c; font-size: .76em; font-style: normal; font-weight: 500; letter-spacing: -1px; margin-top: 8px; }
.hero-description { font-size: 15px; color: var(--muted); line-height: 1.95; margin-bottom: 26px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 11px 19px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.6; transition: background .15s; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-secondary { background: #fff; border-color: var(--line); color: var(--body); }
.button-secondary:hover { color: var(--accent); background: var(--surface); border-color: #bbced8; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-index { border-left: 1px solid var(--line); padding-left: 34px; }
.index-heading { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.quick-grid { display: flex; flex-direction: column; }
.quick-card { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.quick-card:last-child { border: 0; padding-bottom: 0; }
.quick-number { font: 11px/1.5 var(--mono); color: #89949c; align-self: flex-start; padding-top: 4px; }
.quick-card>div { flex: 1; }
.quick-card h2 { font-size: 16px; margin: 0 0 3px; }
.quick-card p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; }
.quick-card .arrow { color: var(--accent); font-size: 18px; transition: transform .15s; }
.quick-card:hover h2 { color: var(--accent); }
.quick-card:hover .arrow { transform: translateX(3px); }
.section { margin-bottom: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: 26px; margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-note { color: var(--muted); font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.topic-card { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 22px 21px 17px; transition: border-color .15s, background .15s; }
.topic-card:hover { border-color: #a5c0cd; background: #fafcfd; }
.topic-number { display: block; color: #8b969f; font: 11px/1.5 var(--mono); margin-bottom: 15px; }
.topic-card h3 { font-size: 18px; margin-bottom: 9px; }
.topic-card p { font-size: 13px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; min-height: 49px; }
.topic-count { display: flex; justify-content: space-between; border-top: 1px solid var(--soft-line); padding-top: 12px; font-size: 12px; color: var(--muted); }
.topic-count span { color: var(--accent); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 50px; }
.article-list { border-top: 1px solid var(--line); }
.article-row { display: flex; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 23px 0; }
.row-index { color: #8e99a1; font: 11px/1.5 var(--mono); padding-top: 6px; min-width: 20px; }
.row-main { min-width: 0; flex: 1; }
.row-cover { width: 112px; height: auto; flex-shrink: 0; align-self: center; object-fit: contain; background: #fff; }
.tag { color: var(--accent); font-size: 12px; display: inline-block; line-height: 1.5; margin-bottom: 7px; }
.article-row h3 { font-size: 18px; line-height: 1.65; margin-bottom: 8px; font-weight: 550; }
.article-row:hover h3 { color: var(--accent); }
.article-row p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #7f8b94; }
.row-arrow { color: #8a9aa5; align-self: center; font-size: 18px; }
.sidebar-box { border: 1px solid var(--line); border-radius: 8px; padding: 23px; margin-bottom: 18px; }
.sidebar-box .eyebrow { font-size: 12px; margin-bottom: 9px; }
.sidebar-box h3 { font-size: 17px; line-height: 1.7; margin-bottom: 19px; }
.sidebar-box>p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-bottom: 16px; }
.sidebar-note { background: var(--surface); border-color: var(--surface); }
.sidebar-note h3 { font-size: 15px; margin-bottom: 9px; }
.steps { padding: 0; margin: 0 0 22px; list-style: none; display: flex; flex-direction: column; gap: 19px; }
.step { display: flex; align-items: flex-start; gap: 11px; }
.step>span { border: 1px solid var(--line); border-radius: 50%; width: 21px; height: 21px; flex-shrink: 0; text-align: center; color: #6b7a86; font: 11px/19px var(--mono); margin-top: 2px; }
.step b { color: #344856; font-size: 13px; font-weight: 550; }
.step p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 3px 0 0; }
.home-guide { border-top: 1px solid var(--line); padding-top: 34px; }
.home-guide>.section-heading { margin-bottom: 36px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: #84919a; font-size: 12px; padding: 26px 0 34px; line-height: 1.7; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb>span:last-child { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 52px; max-width: 1060px; margin-inline: auto; }
.article-toc { position: sticky; top: 112px; align-self: start; font-size: 13px; max-height: calc(100dvh - 145px); overflow: auto; scrollbar-width: thin; padding-top: 5px; }
.article-toc>strong { color: #425563; font-size: 13px; font-weight: 550; display: block; margin-bottom: 15px; }
.article-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc-link { padding: 7px 13px; border-left: 2px solid transparent; margin-left: -1px; color: #75818c; line-height: 1.7; }
.toc-link:hover, .toc-link.is-active { border-color: var(--accent); color: var(--accent); }
.article-toc>.text-link { margin: 23px 0 0 13px; font-size: 12px; }
.article-main { min-width: 0; max-width: 818px; padding-bottom: 10px; }
.article-header { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.article-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #7b8791; margin-bottom: 15px; }
.article-kicker .tag { margin-bottom: 0; }
.article-kicker>span+span { padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.3; }
.article-header>h1, .article-header>h2 { font-size: 34px; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 19px; overflow-wrap: anywhere; }
.article-description { font-size: 15px; line-height: 1.95; color: var(--muted); margin-bottom: 21px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #7a8791; font-size: 12px; }
.mobile-toc { display: none; }
.prose { color: var(--body); font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.prose>:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.5em; }
.prose h2 { margin: 44px 0 19px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 24px; line-height: 1.6; scroll-margin-top: 104px; }
.prose h3 { font-size: 20px; margin: 33px 0 16px; scroll-margin-top: 104px; }
.prose h4 { font-size: 17px; margin: 28px 0 13px; }
.prose h5, .prose h6 { font-size: 16px; margin: 24px 0 12px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: #c4d6df; text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.5em; margin: 0 0 1.5em; }
.prose li { padding-left: 3px; margin-bottom: .6em; }
.prose li::marker { color: #7c8c97; }
.prose li p { margin-bottom: .6em; }
.prose strong, .prose b { color: #2e4554; font-weight: 600; }
.prose blockquote { margin: 27px 0; background: var(--surface); border-left: 3px solid #b4c7d3; padding: 18px 23px; color: #576b78; font-size: 15px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { display: block; width: auto; height: auto; max-width: 100%; margin: 30px auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.prose a.article-image-link { position: relative; display: block; width: fit-content; max-width: 100%; margin: 30px auto 35px; border: 1px solid #dce3e8; border-radius: 7px; overflow: hidden; background: #fff; cursor: zoom-in; text-decoration: none; line-height: 0; }
.prose a.article-image-link img { display: block; margin: 0; width: auto; height: auto; border: 0; border-radius: 0; }
.article-image-link:hover { border-color: #a7bdcb; }
.image-zoom-hint { position: absolute; bottom: 9px; right: 9px; border: 1px solid var(--line); border-radius: 4px; background: #ffffffed; padding: 4px 8px; font-size: 11px; line-height: 1.6; color: #426174; opacity: 0; transition: opacity .15s; }
.image-zoom-hint::before { content: attr(data-label); }
.article-image-link:hover .image-zoom-hint, .article-image-link:focus-visible .image-zoom-hint { opacity: 1; }
.prose a.article-image-link.is-banner { max-width: 480px; border-color: transparent; border-radius: 0; margin: 26px auto 32px; }
.prose figure { max-width: 100%; margin: 28px 0; scroll-margin-top: 104px; }
.prose figure .article-image-link { margin: 0 auto; }
.prose figcaption { color: var(--muted); font-size: 12px; text-align: center; margin-top: 12px; }
.prose .image-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 18px; margin: 30px 0; }
.prose .image-gallery figure { min-width: 0; margin: 0; }
.prose .image-gallery .article-image-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 240px; padding: 10px; }
.prose .image-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.table-wrap, .table-scroll { overflow-x: auto; max-width: 100%; margin: 28px 0; border: 1px solid var(--line); border-radius: 6px; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.prose table { border-collapse: collapse; width: 100%; font-size: 13px; line-height: 1.8; font-variant-numeric: tabular-nums; text-align: left; }
.prose th { color: #3e5665; font-weight: 550; background: #f5f7f9; }
.prose th, .prose td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--soft-line); padding: 12px 14px; min-width: 90px; }
.prose th:first-child, .prose td:first-child { overflow-wrap: normal; word-break: normal; }
.prose tr:last-child td { border-bottom: 0; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose td p:last-child { margin-bottom: 0; }
.table-caption { color: var(--muted); font-size: 12px; margin-bottom: -15px!important; }
.prose pre { max-width: 100%; overflow: auto; padding: 19px 22px; border: 1px solid var(--line); border-radius: 6px; background: #f6f8fa; color: #354d5e; font-size: 13px; line-height: 1.8; white-space: pre; }
.prose code { font: .84em/1.7 var(--mono); border-radius: 3px; background: #f0f3f6; padding: .16em .38em; }
.prose pre code { background: transparent; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.prose::after { display: block; clear: both; content: ""; }
.article-source { border-top: 1px solid var(--line); margin-top: 37px; padding-top: 23px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.article-source summary { cursor: pointer; font-size: 14px; color: var(--body); }
.article-source[open] summary { margin-bottom: 14px; }
.article-source ul { padding-left: 18px; margin-bottom: 15px; }
.article-source a { color: var(--accent); text-decoration: underline; text-decoration-color: #c4d6df; text-underline-offset: 3px; }
.article-source p { font-size: 12px; }
.related-section { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-section .section-heading { margin-bottom: 20px; }
.related-section h2 { font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.related-card { border: 1px solid var(--line); border-radius: 7px; padding: 19px; }
.related-card:hover { border-color: #a9c0cd; }
.related-card h3 { font-size: 15px; line-height: 1.7; margin-bottom: 13px; }
.related-card .text-link { font-size: 12px; }
.page-intro { max-width: 800px; padding: 18px 0 34px; }
.page-intro h1 { font-size: 36px; line-height: 1.4; margin-bottom: 17px; }
.page-intro>p { color: var(--muted); font-size: 15px; }
.page-intro .eyebrow { font-size: 12px; margin-bottom: 11px; }
.page-intro>.prose { margin-top: 23px; font-size: 14px; color: #667581; }
.page-intro>.prose p:last-child { margin-bottom: 0; }
.collection-layout { padding-bottom: 30px; }
.standalone { max-width: 800px; margin: 15px auto 65px; }
.standalone>h1 { font-size: 36px; margin-bottom: 25px; }
.site-footer { margin-top: 70px; background: #fafbfc; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 60px; padding: 35px 0 32px; }
.site-footer .brand-text { font-size: 18px; }
.site-footer .brand-mark { width: 27px; height: 31px; }
.site-footer .brand-text small { font-size: 11px; letter-spacing: 0; }
.footer-inner>div:first-child>p { font-size: 12px; line-height: 1.9; color: #7a8791; margin: 17px 0 0; max-width: 410px; }
.footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 70px; }
.footer-links>div { display: flex; flex-direction: column; gap: 8px; font-size: 12px; min-width: 90px; color: #6c7984; }
.footer-links b { font-size: 13px; color: #405563; margin-bottom: 7px; font-weight: 550; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 17px 0 22px; display: flex; justify-content: space-between; gap: 20px; color: #8a959e; font-size: 11px; }
.error-page { padding: 70px 0 80px; margin-inline: auto; }
.error-page .button { margin-right: 13px; margin-top: 15px; }
.error-page .search-trigger { padding: 11px 19px; }
/* Search stays quiet until requested. */
dialog#search-dialog { width: min(660px,calc(100% - 32px)); max-height: calc(100dvh - 70px); padding: 0; margin: 8vh auto auto; background: #fff; color: var(--body); border: 1px solid #c9d3da; border-radius: 10px; box-shadow: 0 24px 90px #1b31482b; }
dialog::backdrop { background: #1f293763; }
.search-panel { padding: 25px; }
.search-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
.search-header label { color: var(--ink); font-size: 15px; font-weight: 550; }
.search-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); line-height: 1; font-size: 19px; }
#search-input { width: 100%; border: 1px solid #cbd5dd; border-radius: 5px; padding: 12px 14px; background: #fff; color: var(--ink); font-size: 15px; }
#search-input::placeholder { color: #929da6; font-size: 13px; }
#search-results { max-height: 58dvh; overflow-y: auto; margin-top: 16px; scrollbar-width: thin; }
.search-empty { color: var(--muted); padding: 22px 5px; font-size: 13px; text-align: center; }
.search-result { display: block; padding: 16px 9px; border-bottom: 1px solid var(--line); }
.search-result:hover { background: var(--surface); }
.search-result h3 { font-size: 16px; line-height: 1.65; margin: 0 0 7px; }
.search-result p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 0; }
/* Images remain unaltered; a white viewer makes their small interface text readable. */
.image-dialog { width: min(1440px,calc(100% - 64px)); max-height: calc(100dvh - 64px); margin: auto; padding: 0; overflow: auto; background: #fff; color: var(--body); border: 1px solid #cdd7de; border-radius: 9px; box-shadow: 0 24px 90px #142d4133; }
.image-dialog-toolbar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 18px; background: #fffffff5; border-bottom: 1px solid var(--line); z-index: 1; }
.image-dialog-title { margin: 0; font-size: 13px; color: #536775; overflow-wrap: anywhere; }
.image-dialog-close { flex-shrink: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; min-width: 32px; height: 32px; font-size: 21px; line-height: 1; }
.image-dialog-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.image-dialog-zoom { border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #506b7c; height: 32px; padding: 0 10px; font-size: 12px; }
.image-dialog-image { display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto; background: #fff; cursor: zoom-in; }
.image-dialog.is-zoomed .image-dialog-image { max-width: none; cursor: zoom-out; }
.image-dialog-caption { padding: 12px 20px; border-top: 1px solid var(--line); margin: 0; color: #7c8893; font-size: 12px; text-align: center; }
@media(min-width:1440px) { :root { --page: 1180px; } .hero { gap: 110px; } }
@media(max-width:1100px) {
  .container,.header-inner,.footer-inner,.footer-bottom { width: calc(100% - 56px); }
  .header-inner { gap: 22px; }.primary-nav { gap: 18px; }.search-trigger kbd { display: none; }
  .hero { gap: 45px; }.hero-title { font-size: 49px; }.content-layout { gap: 32px; grid-template-columns: minmax(0,1fr) 245px; }
  .article-layout { grid-template-columns: 165px minmax(0,1fr); gap: 38px; }.article-header>h1,.article-header>h2 { font-size: 32px; }
  .topic-card { padding-inline: 17px; }.footer-links { gap: 40px; }
}
@media(max-width:850px) {
  .primary-nav { gap: 15px; font-size: 12px; }.brand-text { font-size: 18px; }.search-trigger span { display: none; }.search-trigger { padding: 8px; }
  .hero { grid-template-columns: 1.1fr 1fr; gap: 30px; padding: 47px 0 50px; }.hero-title { font-size: 41px; }.hero-index { padding-left: 24px; }
  .hero-description { font-size: 14px; }.quick-card { gap: 10px; }.quick-card h2 { font-size: 15px; }.quick-card p { font-size: 12px; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }.topic-card p { min-height: 0; }
  .content-layout { grid-template-columns: minmax(0,1fr) 222px; gap: 26px; }.sidebar-box { padding: 19px; }
  .article-layout { display: block; max-width: 780px; }.article-toc { display: none; }
  .mobile-toc { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; margin: 0 0 24px; font-size: 13px; }
  .mobile-toc summary { display: flex; justify-content: space-between; cursor: pointer; color: #4a6272; list-style: none; }
  .mobile-toc summary::-webkit-details-marker { display: none; }.mobile-toc[open] summary { margin-bottom: 12px; }
  .mobile-toc nav { display: flex; flex-direction: column; padding-top: 8px; border-top: 1px solid var(--line); }.mobile-toc .toc-link { padding-left: 0; border: 0; }
  .related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.related-card { padding: 16px; }
}
@media(max-width:640px) {
  html { scroll-padding-top: 88px; }
  .container,.header-inner,.footer-inner,.footer-bottom { width: calc(100% - 36px); }
  .header-inner { height: 68px; gap: 17px; }.brand-mark { width: 27px; height: 31px; }.brand-text { font-size: 18px; }.brand-text small { font-size: 10px; letter-spacing: .7px; }
  .search-trigger { margin-left: auto; border: 0; background: #fff; padding: 5px; }.search-trigger svg { width: 18px; height: 18px; }
  .menu-toggle { display: block; width: 26px; padding: 3px 0; border: 0; background: transparent; font-size: 18px; }
  .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 6px 18px 15px; background: #fff; border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }.primary-nav a { padding: 12px 0; font-size: 14px; }.primary-nav a[aria-current="page"]::after { display: none; }
  .hero { display: block; padding: 37px 0 42px; }.hero-title { font-size: 43px; letter-spacing: -1.5px; margin-bottom: 20px; }.hero-title em { font-size: .72em; margin-top: 7px; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 15px; }.hero-description { font-size: 14px; line-height: 1.9; margin-bottom: 23px; }.hero-description br { display: none; }
  .hero-actions { gap: 22px; }.button { padding: 11px 17px; font-size: 13px; }.hero-actions .text-link { font-size: 12px; }
  .hero-index { border-left: 0; border-top: 1px solid var(--line); padding: 23px 0 0; margin-top: 29px; }.index-heading { font-size: 12px; margin-bottom: 3px; }
  .quick-card { padding: 15px 0; gap: 13px; }.quick-card h2 { font-size: 15px; }.quick-card p { font-size: 13px; }
  .section { margin-bottom: 43px; }.section-heading { gap: 12px; margin-bottom: 21px; }.section-heading h2 { font-size: 23px; }.section-note { font-size: 12px; max-width: 125px; text-align: right; }
  .topic-grid { gap: 12px; }.topic-card { padding: 19px 16px 15px; }.topic-number { margin-bottom: 12px; }.topic-card h3 { font-size: 16px; line-height: 1.6; }.topic-card p { font-size: 13px; line-height: 1.8; min-height: 69px; margin-bottom: 17px; }.topic-count { font-size: 12px; padding-top: 11px; }
  .content-layout { display: block; }.article-row { padding: 22px 0; gap: 12px; }.row-index { min-width: 16px; font-size: 10px; }.article-row h3 { font-size: 17px; line-height: 1.7; }.article-row p { font-size: 13px; }.row-meta { font-size: 12px; gap: 12px; }.tag { font-size: 12px; }.row-arrow { font-size: 16px; }
  .row-cover { width: 76px; }
  .sidebar { margin-top: 28px; }.sidebar-box { padding: 22px; margin-bottom: 15px; }.sidebar-box h3 { font-size: 17px; }.sidebar-box .steps { display: flex; gap: 16px; }.sidebar-note { display: none; }
  .home-guide { padding-top: 26px; }.home-guide>.section-heading { margin-bottom: 27px; }
  .breadcrumb { font-size: 11px; padding: 21px 0 27px; gap: 7px; }.breadcrumb>span:last-child { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .article-header { margin-bottom: 23px; padding-bottom: 24px; }.article-header>h1,.article-header>h2 { font-size: 28px; line-height: 1.55; letter-spacing: -.5px; margin-bottom: 17px; }.article-description { font-size: 14px; line-height: 1.9; }.article-meta { font-size: 12px; gap: 13px; }
  .prose { font-size: 15px; line-height: 1.95; }.prose h2 { font-size: 22px; line-height: 1.6; margin: 35px 0 17px; }.prose h3 { font-size: 19px; margin: 28px 0 14px; }.prose h4 { font-size: 17px; }.prose ul,.prose ol { padding-left: 1.3em; }
  .prose a.article-image-link { margin: 25px auto 29px; border-radius: 5px; }.prose a.article-image-link.is-banner { max-width: 100%; margin: 23px auto 26px; }.image-zoom-hint { opacity: 1; font-size: 10px; padding: 2px 6px; bottom: 5px; right: 5px; }
  .prose .image-gallery { grid-template-columns: 1fr; gap: 24px; margin: 26px 0; }.prose .image-gallery .article-image-link { margin: 0 auto; height: auto; padding: 8px; }.prose .image-gallery img { max-height: 420px; }
  .table-wrap,.table-scroll { margin: 24px 0; }.prose table { font-size: 12px; }.prose th,.prose td { min-width: 95px; padding: 10px 12px; }.table-caption { font-size: 11px; }.prose pre { font-size: 12px; padding: 16px; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }.related-card { padding: 18px; }.related-card h3 { font-size: 16px; }.related-card .text-link { font-size: 12px; }.related-section h2 { font-size: 21px; }
  .page-intro { padding: 10px 0 29px; }.page-intro h1 { font-size: 30px; }.page-intro>p { font-size: 14px; }.page-intro>.prose { font-size: 14px; }.standalone { margin-top: 8px; }.standalone>h1 { font-size: 30px; }
  .site-footer { margin-top: 46px; }.footer-inner { display: block; padding: 29px 0; }.footer-links { margin-top: 27px; gap: 30px; max-width: 320px; }.footer-inner>div:first-child>p { font-size: 12px; }.footer-bottom { flex-direction: column; gap: 7px; padding: 17px 0 22px; font-size: 11px; }
  .search-panel { padding: 20px; }dialog#search-dialog { margin-top: 24px; max-height: calc(100dvh - 48px); }#search-results { max-height: calc(100dvh - 225px); }.search-result h3 { font-size: 15px; }.search-result p { font-size: 12px; }
  .image-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 32px); border-radius: 6px; }.image-dialog-toolbar { gap: 12px; padding: 10px 12px; }.image-dialog-title { font-size: 12px; }.image-dialog-caption { font-size: 11px; }
}
@media(max-width:360px) { .hero-title { font-size: 39px; }.topic-card { padding: 17px 13px 14px; }.hero-actions { gap: 16px; }.section-note { max-width: 100px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; }*,*::before,*::after { animation: none!important; transition: none!important; } }
@media print {
  body { background: #fff; font-size: 11pt; }.site-header,.site-footer,.article-toc,.mobile-toc,.related-section,.sidebar,.search-trigger,.breadcrumb,.image-zoom-hint { display: none!important; }
  .container { width: 100%; }.article-layout { display: block; max-width: none; }.article-main { max-width: none; }.prose { font-size: 11pt; }.prose h2,.prose h3 { break-after: avoid; }.prose a.article-image-link { break-inside: avoid; }.prose img { max-height: 180mm; object-fit: contain; }.table-wrap,.table-scroll { overflow: visible; }.prose table { font-size: 9pt; }
}
