@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #243632;
  --muted: #5b6b65;
  --green: #216450;
  --green-dark: #164737;
  --soft: #edf3ed;
  --paper: #ffffff;
  --page: #f7f8f4;
  --line: #dfe5dc;
  --warm: #f1eee5;
  --focus: #97530d;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; }
body, input, button, select { font: inherit; }
a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
button, input, select { color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
img, video, svg { max-width: 100%; }
img, video { height: auto; }
img { vertical-align: middle; }
svg.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
button svg { pointer-events: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #d4e8d7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: .5rem; left: .5rem; padding: .75rem 1rem; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; color: white; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 12px; font: 700 27px/1 Georgia, serif; letter-spacing: -.07em; padding-bottom: 5px; }
.brand-name { font-weight: 700; letter-spacing: -.04em; font-size: 22px; line-height: 1.2; }
.brand-sub { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); margin-top: 5px; }
.header-nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.header-nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding-block: 12px; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--green); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border-radius: 9px; background: var(--green); color: white; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; }
.button:hover { color: white; background: var(--green-dark); }
.button.secondary { background: white; color: var(--green); border: 1px solid var(--line); }
.button.secondary:hover { border-color: var(--green); background: var(--soft); }
.header-contact { margin-left: 4px; }
.mobile-menu-button { display: none; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 9px; align-items: center; margin: 0 0 20px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: #639476; border-radius: 50%; }
.hero { padding: 64px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 64px; align-items: center; }
h1, h2, h3 { text-wrap: pretty; }
.hero h1 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.13; letter-spacing: -.055em; font-weight: 600; margin: 0 0 18px; max-width: 750px; }
.hero .version { display: inline-block; color: var(--green); font-size: 13px; font-weight: 600; background: #e5eee3; padding: 5px 10px; border-radius: 5px; margin-bottom: 20px; }
.hero-description { font-size: 17px; color: var(--muted); max-width: 650px; margin: 0; line-height: 1.75; }
.quick-panel { align-self: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.quick-panel h2 { font-size: 13px; font-weight: 600; margin: 0 0 14px; }
.quick-panel ul { padding: 0; margin: 0; list-style: none; }
.quick-panel li + li { border-top: 1px solid var(--line); }
.quick-panel a { text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; font-size: 14px; }
.quick-panel a:hover { color: var(--green); }
.quick-panel a span:last-child { color: #81978a; }
.quick-note { font-size: 12px; color: var(--muted); margin: 17px 0 0; }
.search-area { margin-top: 32px; }
.search-form { display: flex; align-items: center; gap: 14px; border: 1px solid #cbd7c9; background: white; border-radius: 12px; padding: 8px 8px 8px 20px; box-shadow: 0 4px 16px #23342a05; }
.search-form:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
.search-form .icon { color: var(--green); }
.search-form input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 0; outline: none; font-size: 16px; }
.search-form input::placeholder { color: #6a776f; opacity: 1; }
.search-form button { min-width: 112px; }
.search-hints { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 13px; }
.search-hints a { color: var(--muted); }
.section-heading { display: flex; align-items: baseline; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.035em; margin: 0; font-weight: 600; }
.section-heading p { font-size: 13px; color: var(--muted); margin: 0; }
.catalog-section { padding: 12px 0 52px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.category-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; position: relative; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.category-card:hover { border-color: #7e9d86; transform: translateY(-2px); color: var(--ink); }
.category-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.category-icon { width: 42px; height: 42px; border: 1px solid #dce6d8; background: #f0f5ec; border-radius: 11px; display: grid; place-items: center; color: var(--green); }
.category-count { font-size: 11px; color: var(--muted); }
.category-card h3 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 7px; }
.category-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; max-width: 95%; }
.category-arrow { position: absolute; right: 22px; bottom: 21px; font-size: 18px; color: #4f7d66; }
.about-section { padding: 46px 0 60px; border-top: 1px solid var(--line); background: var(--paper); }
.about-section > .wrap { max-width: 1000px; }
.about-section .prose { max-width: none; }
.site-footer { border-top: 1px solid var(--line); padding: 35px 0; background: var(--page); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.footer-name { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer-inner p { margin: 7px 0 0; color: var(--muted); font-size: 12px; max-width: 420px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; }
.footer-links a { padding: 6px 0; }
.page-top { padding-top: 22px; }
.breadcrumbs { margin: 0 0 28px; font-size: 12px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; gap: 10px; align-items: baseline; }
.breadcrumbs li + li::before { content: "/"; color: #87988c; }
.breadcrumbs a { color: var(--muted); }
.document-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr) 198px; gap: 34px; align-items: start; padding-bottom: 65px; }
.document-layout.section-layout { grid-template-columns: 216px minmax(0, 1fr); }
.sidebar { font-size: 13px; }
.sidebar-title { font-size: 10px; letter-spacing: .12em; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.sidebar summary { font-size: 10px; letter-spacing: .1em; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-block: 12px; cursor: pointer; min-height: 44px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a { text-decoration: none; display: flex; align-items: center; gap: 11px; color: var(--muted); padding: 11px 12px; border-radius: 8px; min-height: 44px; }
.sidebar a .icon { width: 17px; height: 17px; }
.sidebar a:hover { background: #edf1e9; color: var(--green); }
.sidebar a[aria-current], .sidebar a.is-active { background: #e5eddf; color: var(--green-dark); font-weight: 600; }
.sidebar-context { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 19px; }
.sidebar-context a { padding: 8px 10px; line-height: 1.5; }
.sidebar-context .sidebar-title { margin-left: 12px; margin-bottom: 8px; }
.reading-area { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.reading-area h1 { font-size: clamp(27px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.04em; margin: 0 0 18px; font-weight: 600; overflow-wrap: anywhere; }
.article-intro { font-size: 16px; line-height: 1.75; color: var(--muted); margin-bottom: 22px; }
.article-meta { color: var(--muted); font-size: 11px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.copy-button { color: var(--green); padding: 8px 0; background: none; min-height: 36px; font-size: 11px; }
.article-label { margin-bottom: 13px; font-size: 10px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; color: var(--green); }
.prose { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 23px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; margin: 36px 0 17px; }
.prose h3 { font-size: 18px; line-height: 1.45; font-weight: 600; letter-spacing: -.015em; margin: 26px 0 13px; }
.prose h4, .prose h5, .prose h6 { font-size: 16px; margin: 24px 0 12px; }
.prose ul, .prose ol { padding-left: 23px; margin: 12px 0 23px; }
.prose li { margin-bottom: 8px; padding-left: 3px; }
.prose li > ul, .prose li > ol { margin-block: 8px; }
.prose strong, .prose b { font-weight: 600; }
.prose figure { margin: 28px 0; }
.prose img { display: block; border: 1px solid var(--line); border-radius: 8px; max-width: 100%; height: auto; margin: 20px auto; background: #f4f5f1; }
.prose figure a { display: block; }
.prose figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 18px; background: #f3f5f0; border-radius: 8px; font-size: 13px; }
.prose code { font-family: Consolas, "Liberation Mono", monospace; font-size: .9em; }
.prose blockquote { margin-inline: 0; padding: 12px 18px; border-left: 3px solid #7f9d82; background: var(--soft); }
.prose .text-emphasis { text-decoration: underline; text-underline-offset: .2em; }
.table-scroll { overflow-x: auto; margin: 24px 0; max-width: 100%; }
.prose table { border-collapse: collapse; font-size: 14px; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; }
.prose .feature-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin-block: 25px; }
.prose .feature-list li { padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 13px; line-height: 1.6; }
.prose .feature-list a { text-decoration: none; }
.prose .feature-list img { height: 130px; object-fit: contain; margin: 0 0 12px; }
.prose .feature-list p { margin: 0; }
.toc { position: sticky; top: 24px; font-size: 12px; max-height: calc(100vh - 48px); overflow-y: auto; }
.toc summary { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding-block: 8px; cursor: pointer; }
.toc ul { list-style: none; border-left: 1px solid var(--line); padding-left: 13px; margin: 12px 0; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 7px 0; line-height: 1.5; min-height: 32px; }
.toc a:hover { color: var(--green); }
.toc .sub { padding-left: 9px; font-size: 11px; }
.related { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 24px; }
.related h2 { font-size: 18px; margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-block: 9px; }
.related a { font-size: 14px; }
.section-intro { font-size: 16px; color: var(--muted); line-height: 1.8; margin: 0 0 25px; }
.section-list { list-style: none; padding: 0; margin: 20px 0 0; }
.section-list > li { border-top: 1px solid var(--line); }
.section-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 20px; text-decoration: none; color: var(--ink); padding: 21px 2px; }
.section-list a:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.section-list strong { font-size: 17px; font-weight: 600; }
.section-list small { font-size: 13px; color: var(--muted); line-height: 1.7; grid-column: 1; }
.section-list .count { font-size: 11px; color: var(--muted); }
.search-page { padding: 45px 0 65px; max-width: 900px; }
.search-page h1 { font-size: 36px; line-height: 1.25; letter-spacing: -.04em; margin: 0 0 20px; }
.search-page .search-form { margin-bottom: 22px; }
.search-controls { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
.search-controls label { font-size: 13px; color: var(--muted); }
.search-controls select { min-height: 44px; max-width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 14px; }
.search-status { color: var(--muted); font-size: 13px; margin: 25px 0; }
.search-result { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; margin: 13px 0; }
.search-result h2 { font-size: 19px; line-height: 1.4; margin: 7px 0; }
.search-result h2 a { color: var(--ink); text-decoration: none; }
.search-result h2 a:hover { color: var(--green); text-decoration: underline; }
.search-result .result-section { font-size: 11px; color: var(--green); }
.search-result p { font-size: 14px; color: var(--muted); margin: 9px 0 0; line-height: 1.7; }
.empty-results { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.preview-note { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding: 8px 0; background: #f0f2eb; }
@media (min-width: 1500px) { .document-layout { grid-template-columns: 230px minmax(0, 1fr) 208px; gap: 36px; } }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { gap: 20px; }
  .header-nav { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; }
  .document-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
  .document-layout .toc { grid-column: 2; grid-row: 1; position: static; max-height: none; background: var(--soft); border-radius: 10px; padding: 9px 15px; }
  .document-layout .reading-area { grid-column: 2; grid-row: 2; }
  .document-layout .sidebar { grid-row: 1 / span 2; }
  .document-layout.section-layout .reading-area { grid-row: 1; }
  .toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .reading-area { padding: 28px; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 78px; flex-wrap: wrap; padding-block: 15px; gap: 14px; }
  .header-nav { width: 100%; order: 3; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 5px; }
  .header-contact { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .quick-panel { display: none; }
  .hero h1 { max-width: 650px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-layout, .document-layout.section-layout { display: flex; flex-direction: column; gap: 20px; }
  .document-layout .sidebar { width: 100%; }
  .sidebar > details { background: var(--soft); border-radius: 10px; padding-inline: 14px; }
  .sidebar > details > nav { padding-bottom: 10px; }
  .sidebar > details > nav > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .sidebar a { padding: 8px; font-size: 12px; gap: 7px; }
  .sidebar-context { display: none; }
  .sidebar-title { margin-bottom: 8px; }
  .document-layout .toc { width: 100%; order: 1; }
  .document-layout .reading-area { width: 100%; order: 2; }
  .section-heading { align-items: start; }
  .section-heading p { max-width: 200px; text-align: right; }
  .prose .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 23px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 9px; }
  .header-contact { font-size: 12px; min-height: 40px; padding: 9px 11px; gap: 6px; }
  .header-contact .icon { width: 15px; }
  .header-nav a { font-size: 12px; padding-block: 8px; }
  .hero { padding-top: 32px; padding-bottom: 30px; }
  .eyebrow { font-size: 9px; letter-spacing: .09em; margin-bottom: 16px; }
  .hero h1 { font-size: 36px; line-height: 1.15; }
  .hero-description { font-size: 15px; }
  .search-area { margin-top: 25px; }
  .search-form { gap: 9px; padding: 6px 6px 6px 12px; }
  .search-form input { font-size: 14px; padding-block: 12px; }
  .search-form .icon { width: 18px; }
  .search-form button { min-width: 74px; font-size: 12px; padding-inline: 12px; }
  .search-hints { font-size: 11px; gap: 5px 12px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading p { font-size: 11px; max-width: 145px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card { padding: 20px; }
  .category-top { margin-bottom: 14px; }
  .category-card p { max-width: 95%; }
  .about-section { padding-block: 32px; }
  .prose .feature-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { font-size: 12px; }
  .breadcrumbs { margin-bottom: 18px; font-size: 11px; }
  .sidebar > details > nav > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar a { font-size: 12px; }
  .reading-area { padding: 23px 20px; }
  .reading-area h1 { font-size: 29px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .prose h2 { font-size: 22px; }
  .toc ul { grid-template-columns: 1fr; }
  .article-meta { gap: 8px 15px; }
  .article-intro, .section-intro { font-size: 15px; }
  .section-list strong { font-size: 16px; }
  .section-list small { font-size: 13px; }
  .search-page { padding-top: 30px; }
  .search-page h1 { font-size: 30px; }
  .search-result { padding: 20px; }
  .search-controls { align-items: start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { color: #000; background: white; }
  .site-header, .site-footer, .sidebar, .toc, .preview-note, .copy-button, .skip-link { display: none !important; }
  .wrap { width: 100%; }
  .document-layout { display: block; }
  .reading-area { padding: 0; border: 0; }
  .prose { font-size: 11pt; }
  .prose a { color: inherit; }
  .prose img { max-height: 22cm; object-fit: contain; }
  h1, h2, h3 { break-after: avoid; }
  figure, tr { break-inside: avoid; }
}
