:root {
  color-scheme: light dark;
  --ink: #142c27;
  --muted: #536963;
  --line: #d7e1dd;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --green: #176b4b;
  --green-dark: #0e4e37;
  --mint: #e6f1eb;
  --amber: #fff4d6;
  --amber-ink: #674600;
  --focus: #bd5a00;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.58; overflow-wrap: anywhere; }
a { color: var(--green-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: .8rem; top: -5rem; z-index: 5; display: inline-flex; min-height: 44px; align-items: center; padding: .6rem .9rem; background: var(--paper); border: 2px solid var(--focus); }
.skip-link:focus { top: .6rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar { min-height: 4.5rem; display: flex; align-items: center; gap: 1rem; padding: .65rem clamp(1rem, 4vw, 3.5rem); }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .7rem; color: #fff; background: var(--green); font-weight: 800; }
.brand strong,.brand small { display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .875rem; }
.preview-state { margin-left: auto; color: var(--muted); font-size: .875rem; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid #9ab5a8; border-radius: .55rem; color: var(--green-dark); background: var(--paper); padding: .55rem .8rem; font: inherit; font-weight: 650; }
.preview-banner { margin: 0; padding: .72rem clamp(1rem, 4vw, 3.5rem); background: var(--amber); color: var(--amber-ink); font-size: 1rem; border-top: 1px solid var(--line); }
.learn-cross-nav { display: flex; flex-wrap: wrap; gap: .2rem .65rem; padding: .25rem clamp(1rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.learn-cross-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: .2rem .35rem; }
.layout { width: min(100%, 1440px); margin: 0 auto; display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 3rem; }
.sidebar { align-self: start; position: sticky; top: 1rem; min-width: 0; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; }
.search-label { display: block; margin-bottom: .4rem; font-weight: 700; }
#guide-search { width: 100%; min-height: 44px; border: 1px solid #829991; border-radius: .45rem; padding: .55rem .65rem; color: var(--ink); background: var(--paper); font: inherit; }
.hint,.sidebar-note { color: var(--muted); font-size: .875rem; }
#nav-groups { margin-top: 1.1rem; }
.nav-group { margin: 1rem 0; }
.nav-group h2 { margin: 0 0 .4rem; color: var(--muted); font-size: .875rem; letter-spacing: .04em; }
.nav-group ul { margin: 0; padding: 0; list-style: none; }
.nav-group a { display: flex; min-height: 44px; align-items: center; padding: .4rem .5rem; border-radius: .4rem; text-decoration: none; }
.nav-group a[aria-current="page"] { background: var(--mint); color: var(--green-dark); font-weight: 700; }
main { min-width: 0; padding: clamp(.4rem, 1.3vw, 1.2rem) 0; }
article,.search-results { max-width: 54rem; margin: 0 auto; min-width: 0; }
.article-head { margin-bottom: 1rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--green); font-size: .875rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
h1 { max-width: 22ch; margin: .25rem 0 .75rem; font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { line-height: 1.2; }
.lede { max-width: 60ch; color: var(--muted); font-size: 1.125rem; }
.maturity { display: flex; align-items: flex-start; gap: .55rem; margin: .8rem 0; padding: .75rem .9rem; background: var(--mint); border-left: 4px solid var(--green); border-radius: .35rem; }
.maturity-icon { color: var(--green-dark); font-size: 1rem; line-height: 1.58; }
.guide-facts,.date-line,.content-state { margin: .4rem 0; }
.date-line { color: var(--muted); font-size: .875rem; }
.content-state { color: var(--muted); }
.status-panel,.notice,.guide-card,.article-body,.tech,.answer-card { min-width: 0; padding: 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; }
.status-panel,.notice,.answer-card { margin: 1.2rem 0; }
.status-panel h2,.notice h2,.answer-card h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.status-panel ul { margin: 0; padding-left: 1.25rem; }
.notice { border-left: 4px solid #c58a20; }
.notice p { margin: 0; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; margin-top: .8rem; }
.guide-card { display: flex; min-height: 8rem; flex-direction: column; gap: .45rem; color: inherit; text-decoration: none; }
.guide-card:hover { border-color: #81aa97; box-shadow: 0 .2rem .8rem #173e2d12; }
.card-title { margin: 0; font-size: 1.05rem; }
.card-meta { margin-top: auto; color: var(--muted); font-size: .875rem; }
.badge { display: inline-flex; min-height: 28px; align-items: center; width: fit-content; border: 1px solid #a7c3b4; border-radius: 999px; background: var(--mint); padding: .1rem .55rem; color: var(--green-dark); font-size: .875rem; font-weight: 700; }
.badge.brief { border-color: #d6c28b; background: var(--amber); color: var(--amber-ink); }
.article-body { margin: 1rem 0; }
.article-body p { margin: .2rem 0 1rem; }
.article-body ol { padding-left: 1.5rem; }
.article-body li { margin: .45rem 0; }
.reading-aid { border-left: 4px solid #8c6f27; }
.next-step { margin: 1.2rem 0; padding: 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; }
.next-step h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.control-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #9ab5a8; border-radius: .45rem; background: var(--paper); padding: .45rem .7rem; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: .18em; }
.tech { margin: 1.2rem 0; }
.tech summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; font-weight: 700; }
.tech dl { display: grid; grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr); gap: .45rem .9rem; margin: .8rem 0 0; }
.tech dt { color: var(--muted); font-weight: 650; }
.tech dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.tech p { overflow-wrap: anywhere; }
.section-heading { margin-top: 1.8rem; }
.search-results h1 { font-size: clamp(2rem, 5vw, 3rem); }
.results-count { font-size: 1.25rem; }
.search-list { margin: 0; padding: 0; list-style: none; }
.search-list li { display: grid; gap: .35rem; margin: .8rem 0; padding: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; }
.result-type { color: var(--muted); font-size: .875rem; }
.result-lead { margin: 0; }
.answer-card { border-left: 4px solid #c58a20; }
.answer-card p { margin: 0; }
.answer-field { margin: .75rem 0; }
.answer-field h3 { margin: 0 0 .2rem; font-size: 1rem; }
.empty-state { padding: 1rem; background: var(--paper); border: 1px dashed #90a69e; border-radius: .6rem; }
.search-exits { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1rem clamp(1rem, 4vw, 3.5rem); border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: .875rem; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf7f2;
    --muted: #b2c6bc;
    --line: #43584e;
    --paper: #1e2c26;
    --canvas: #111a16;
    --green: #72c49d;
    --green-dark: #a0e0bd;
    --mint: #243c31;
    --amber: #40361e;
    --amber-ink: #f3d58a;
    --focus: #ffc66e;
  }
  .brand-mark { color: #102219; }
  .control-link,.menu-toggle { color: var(--green-dark); }
  .guide-card:hover { box-shadow: 0 .2rem .8rem #0008; }
}
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; }
  .preview-state { width: 100%; order: 3; margin: -.35rem 0 0 2.9rem; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .layout { display: block; padding-top: 1rem; }
  .sidebar { position: static; margin-bottom: 1.2rem; }
  .sidebar nav[hidden] { display: none; }
  .guide-cards { grid-template-columns: 1fr; }
  .tech dl { grid-template-columns: 1fr; gap: .12rem; }
  .tech dd { margin-bottom: .5rem; }
  main { padding-top: .2rem; }
  .search-exits { align-items: stretch; flex-direction: column; }
  .search-exits .control-link { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* R44 design reference: editorial Learn home + three-column documentation shell. */
:root {
  --ink: #17251f;
  --muted: #56675e;
  --line: #d8e1db;
  --paper: #fff;
  --canvas: #f4f7f4;
  --green: #176246;
  --green-dark: #104d37;
  --mint: #e8f2ec;
  --amber: #fff5dd;
  --amber-ink: #604500;
  --focus: #bd5a00;
}
body { background: var(--canvas); }
.site-header { position: relative; z-index: 3; }
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.topbar { min-height: 4.25rem; gap: 1.4rem; padding-inline: clamp(1rem, 4vw, 4.5rem); }
.brand { flex: none; gap: .55rem; }
.brand-mark { border-radius: .45rem; background: var(--green-dark); }
.home-nav,.docs-global-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; margin-left: auto; }
.home-nav a,.docs-global-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: .35rem .6rem; border-radius: .4rem; color: var(--ink); text-decoration: none; }
.home-nav a:hover,.docs-global-nav a:hover,.docs-global-nav a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
.home-search-link,.header-action { display: inline-flex; min-height: 44px; flex: none; align-items: center; gap: .8rem; border: 1px solid #9eb5a8; border-radius: .5rem; padding: 0 .85rem; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.home-search-link span,.header-action span { font-size: 1.35rem; line-height: 1; }
.preview-state { width: auto; margin: 0; padding: .1rem .55rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); white-space: nowrap; }
.preview-banner { padding: .56rem clamp(1rem, 4vw, 4.5rem); border-top: 1px solid #e3d7b8; font-size: .9rem; }
.learn-home main { width: min(100%, 1440px); margin: 0 auto; }
.learn-hero { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(17rem,.7fr); gap: clamp(2rem,6vw,6rem); align-items: center; margin: 1.5rem clamp(1rem,4vw,4.5rem) 2.7rem; padding: clamp(1.6rem,4vw,3.6rem); border-radius: 1.1rem; background: linear-gradient(116deg,#143e30 0%,#1d6546 70%,#2b7455 100%); color: #fff; box-shadow: 0 1rem 2.8rem #163f2e1a; overflow: hidden; position: relative; }
.learn-hero::after { content: ""; position: absolute; width: 22rem; height: 22rem; right: 20%; top: -15rem; border: 1px solid #ffffff1c; border-radius: 50%; box-shadow: 0 0 0 2.6rem #ffffff08,0 0 0 5.3rem #ffffff08,0 0 0 8rem #ffffff06; pointer-events: none; }
.hero-copy,.hero-aside { position: relative; z-index: 1; }
.learn-hero .eyebrow { color: #bce4ce; }
.learn-hero h1 { max-width: 14ch; margin: .45rem 0 1rem; font-size: clamp(2.5rem,5.3vw,4.65rem); line-height: 1.01; letter-spacing: -.04em; }
.hero-lede { max-width: 61ch; margin: 0 0 1.45rem; color: #e1f1e7; font-size: clamp(1.05rem,1.5vw,1.23rem); }
.hero-search { display: flex; min-height: 3.4rem; align-items: center; gap: .6rem; max-width: 42rem; padding: .25rem; border-radius: .55rem; background: #fff; box-shadow: 0 .2rem .8rem #102f241c; }
.hero-search input { width: 100%; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.hero-search input:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; border-radius: .3rem; }
.hero-search button { min-height: 44px; flex: none; border: 0; border-radius: .4rem; padding: 0 1.2rem; background: var(--green-dark); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.search-symbol { padding-left: .7rem; color: var(--green); font-size: 1.55rem; }
.search-note { margin: .45rem 0 0; color: #d2e7da; font-size: .84rem; }
.hero-aside { padding: 1.35rem; border: 1px solid #ffffff35; border-radius: .8rem; background: #0e382b56; backdrop-filter: blur(4px); }
.hero-aside-top { display: flex; align-items: center; gap: .55rem; color: #d8f0e1; font-size: .86rem; font-weight: 700; }
.leaf-mark { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; background: #ffffff19; color: #bce4ce; font-size: 1.3rem; }
.hero-aside h2 { max-width: 17ch; margin: .7rem 0 .45rem; font-size: 1.65rem; line-height: 1.15; }
.hero-aside p { margin: 0; color: #d2e7da; }
.hero-aside > a { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; margin-top: .8rem; color: #fff; font-weight: 700; text-underline-offset: .2em; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #ffffff2c; }
.hero-stats div { display: grid; gap: .1rem; }
.hero-stats strong { font-size: 1.2rem; line-height: 1.1; }
.hero-stats span { color: #d2e7da; font-size: .75rem; }
.content-band { margin: 0 clamp(1rem,4vw,4.5rem) 3.3rem; }
.section-heading-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading-row h2,.audience-band h2 { margin: .2rem 0 0; font-size: clamp(1.65rem,3vw,2.25rem); line-height: 1.12; letter-spacing: -.025em; }
.section-heading-row .eyebrow,.audience-band .eyebrow { margin-bottom: .2rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.topic-card { min-height: 14.5rem; display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: .4rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.topic-card:hover { transform: translateY(-2px); border-color: #85a896; box-shadow: 0 .55rem 1.5rem #173e2d12; }
.topic-icon { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: .65rem; font-size: 1.35rem; }
.topic-green .topic-icon { background: #e5f0e9; color: #185c40; }
.topic-gold .topic-icon { background: #fbf1d9; color: #765400; }
.topic-blue .topic-icon { background: #e5eff4; color: #28576e; }
.topic-label,.guide-kicker { margin-top: .15rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.topic-card h3 { max-width: 24ch; margin: .05rem 0; font-size: 1.2rem; line-height: 1.2; }
.topic-card p { max-width: 47ch; margin: 0; color: var(--muted); font-size: .95rem; }
.card-arrow { position: absolute; top: 1.2rem; right: 1.2rem; color: var(--green); font-size: 1.2rem; }
.popular-band { padding: 2rem; border-radius: .9rem; background: #eaf1ec; }
.section-note { color: var(--muted); font-size: .9rem; }
.popular-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.popular-card { display: flex; min-height: 14rem; flex-direction: column; padding: 1.1rem; border: 1px solid #d6e0d9; border-radius: .7rem; background: var(--paper); }
.popular-card h3 { margin: .4rem 0; font-size: 1.18rem; line-height: 1.22; }
.popular-card h3 a { color: var(--green-dark); text-decoration-thickness: .07em; text-underline-offset: .15em; }
.popular-card p { margin: .25rem 0 1rem; color: var(--muted); font-size: .94rem; }
.status-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.badge { min-height: 26px; padding-inline: .5rem; font-size: .78rem; }
.badge-draft { border-color: #dfc88a; background: #fff5dd; color: #604500; }
.badge-planned { border-color: #b8c9d1; background: #edf3f6; color: #395a69; }
.badge-outline { border-color: #d4c99f; background: #faf7ed; color: #615a42; }
.audience-band { display: grid; grid-template-columns: minmax(14rem,.65fr) minmax(0,1.35fr); gap: 3rem; align-items: start; margin: 0 clamp(1rem,4vw,4.5rem) 3rem; padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-intro p:last-child { color: var(--muted); }
.audience-links { display: grid; gap: .4rem; }
.audience-links a { display: grid; grid-template-columns: 2rem minmax(0,1fr) 1rem; align-items: center; gap: .8rem; min-height: 66px; padding: .55rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.audience-links a > span:first-child { color: var(--green); font-size: .78rem; font-weight: 750; }
.audience-links a strong,.audience-links a small { display: block; }
.audience-links a small { margin-top: .15rem; color: var(--muted); font-size: .86rem; }
.audience-links a b { color: var(--green); font-size: 1.2rem; }
.audience-links a:hover strong { text-decoration: underline; }
.preview-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.3rem; margin: 0 clamp(1rem,4vw,4.5rem) 3rem; }
.preview-details > div { display: flex; gap: .7rem; align-items: flex-start; }
.preview-detail-icon { display: grid; width: 1.9rem; height: 1.9rem; flex: none; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 800; }
.preview-details p { margin: 0; color: var(--muted); font-size: .9rem; }
.preview-details strong { color: var(--ink); }
.site-footer { justify-content: flex-start; gap: .5rem 1.6rem; padding-inline: clamp(1rem,4vw,4.5rem); }
.site-footer a { color: var(--green-dark); }

.docs-breadcrumbs { display: flex; align-items: center; gap: .65rem; min-height: 3rem; padding: .3rem clamp(1rem,4vw,4.5rem); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .88rem; }
.docs-breadcrumbs a { color: var(--green-dark); text-decoration: none; }
.docs-breadcrumbs a:hover { text-decoration: underline; }
.docs-layout { width: min(100%, 1600px); grid-template-columns: 16rem minmax(0,1fr); gap: clamp(1.4rem,3.3vw,3.5rem); padding: 1.2rem clamp(1rem,3vw,3rem) 3rem; }
.docs-sidebar { top: 1rem; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: .25rem 1rem .75rem 0; background: transparent; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .9rem; font-weight: 750; }
.docs-sidebar .menu-toggle { display: none; }
.search-label { font-size: .92rem; }
.sidebar-search { display: flex; min-height: 44px; align-items: center; gap: .25rem; padding-left: .6rem; border: 1px solid #9aada2; border-radius: .45rem; background: var(--paper); color: var(--green); }
.sidebar-search > span { font-size: 1.25rem; }
#guide-search { min-height: 42px; padding: .45rem .45rem .45rem 0; border: 0; outline: 0; }
#guide-search:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; border-radius: .25rem; }
.docs-sidebar .hint { margin: .45rem 0 .8rem; font-size: .8rem; }
.nav-group { margin: .85rem 0; }
.nav-group h2 { margin-bottom: .25rem; font-size: .76rem; letter-spacing: .075em; text-transform: uppercase; }
.nav-group a { min-height: 38px; padding: .25rem .45rem; font-size: .9rem; }
.sidebar-home-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: .55rem; color: var(--green-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.article-columns { display: grid; grid-template-columns: minmax(0,1fr) 13rem; gap: clamp(1.1rem,2.5vw,2.5rem); align-items: start; }
.article-columns > article,.article-columns > .search-results { max-width: none; margin: 0; }
.article-columns > .search-results { grid-column: 1 / -1; }
.article-toc { position: sticky; top: 1rem; padding: .2rem 0 .8rem .9rem; border-left: 1px solid var(--line); color: var(--muted); }
.article-toc h2 { margin: 0 0 .5rem; color: var(--ink); font-size: .88rem; }
.article-toc nav { display: grid; gap: .1rem; }
.article-toc nav a { display: flex; min-height: 36px; align-items: center; padding: .25rem .45rem; border-left: 2px solid transparent; color: var(--muted); font-size: .84rem; text-decoration: none; }
.article-toc nav a:hover,.article-toc nav a[aria-current="location"] { border-color: var(--green); color: var(--green-dark); font-weight: 700; }
.toc-status { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1rem; padding: .7rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.status-marker { width: .55rem; height: .55rem; flex: none; margin-top: .35rem; border-radius: 50%; background: #bf8a21; }
.toc-status p { margin: 0; font-size: .78rem; }
.toc-status strong { color: var(--ink); }
.toc-feedback { display: inline-flex; min-height: 44px; align-items: center; gap: .3rem; color: var(--green-dark); font-size: .84rem; font-weight: 700; text-decoration: none; }
.article-head { margin: .1rem 0 1.3rem; }
.article-head .eyebrow { margin-bottom: .35rem; letter-spacing: .045em; }
.article-head h1 { max-width: 23ch; margin: .3rem 0 1rem; font-size: clamp(2.15rem,4vw,3.35rem); }
.article-head .lede { max-width: 65ch; margin: .7rem 0 1.1rem; color: var(--muted); font-size: 1.1rem; }
.guide-facts { margin: .6rem 0; color: var(--muted); font-size: .91rem; }
.date-line { display: none; }
.content-state { color: var(--muted); font-size: .91rem; }
.maturity { max-width: 68ch; margin: 1rem 0; padding: .9rem 1rem; border: 1px solid #d3e4da; border-left: 4px solid var(--green); border-radius: .55rem; background: #edf5ef; font-size: .93rem; }
.notice { margin: 1.2rem 0; padding: 1rem 1.1rem; border: 1px solid #eadbb2; border-left: 4px solid #c1891f; border-radius: .6rem; background: #fff9e9; }
.notice h2 { font-size: .95rem; }
.notice p { line-height: 1.5; }
.article-body { max-width: 70ch; margin: 1.25rem 0; padding: 0; border: 0; background: transparent; font-size: 1.03rem; line-height: 1.76; }
.article-body > p { margin: 0 0 1.1rem; }
.article-body ol { padding-left: 1.4rem; }
.article-body li { padding-left: .2rem; margin: .45rem 0; }
.answer-card { padding: 1.1rem; border-left-width: 4px; }
.answer-card h2 { margin-bottom: .8rem; }
.answer-field { padding: .7rem .8rem; border-radius: .45rem; background: #f7f8f4; }
.answer-field h3 { font-size: .85rem; letter-spacing: .045em; }
.media-section { margin: 1.5rem 0; }
.media-section > h2 { margin: 0 0 .35rem; font-size: 1.28rem; }
.media-intro { margin: 0 0 .8rem; color: var(--muted); font-size: .92rem; }
.media-warning { margin: .75rem 0; padding: .75rem .9rem; border: 1px solid #e1cf9c; border-radius: .5rem; background: var(--amber); color: var(--amber-ink); font-size: .88rem; }
.media-frame { overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: #e4e9e5; box-shadow: 0 .5rem 1.5rem #122a1d13; }
.media-frame img { display: block; width: 100%; height: auto; }
.media-caption { padding: .8rem .95rem; background: var(--paper); }
.media-caption strong { display: block; font-size: .9rem; }
.media-caption p { margin: .2rem 0 0; color: var(--muted); font-size: .84rem; }
.video-slot { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .85rem; align-items: center; margin-top: .8rem; padding: .95rem; border: 1px dashed #92a89b; border-radius: .7rem; background: var(--paper); }
.video-slot-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .55rem; background: #eaf2ed; color: var(--green-dark); font-size: 1.2rem; }
.video-slot p { margin: .15rem 0 0; color: var(--muted); font-size: .87rem; }
.video-slot strong { color: var(--ink); }
.next-step { margin-top: 1.5rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.next-step h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.tech { border-radius: .6rem; }
.tech summary { font-size: .95rem; }
.tech p { margin-bottom: .3rem; color: var(--muted); }
.empty-state { color: var(--muted); }
.search-results h1 { max-width: unset; margin-bottom: 1rem; font-size: clamp(2rem,4vw,3rem); }
.search-list li { padding: 1rem; border-radius: .65rem; }
.search-list .control-link { justify-content: flex-start; width: fit-content; border: 0; padding: 0; background: none; font-size: 1.12rem; font-weight: 750; }
.search-exits .control-link,.next-step .control-link { font-weight: 700; }

@media (max-width: 1180px) {
  .docs-layout { grid-template-columns: 14rem minmax(0,1fr); }
  .article-columns { grid-template-columns: minmax(0,1fr) 11rem; gap: 1.2rem; }
  .docs-topbar { gap: .7rem; }
  .docs-global-nav { gap: 0; }
  .docs-global-nav a { padding-inline: .4rem; font-size: .9rem; }
}
@media (max-width: 940px) {
  .article-columns { grid-template-columns: minmax(0,1fr); }
  .article-toc { position: static; grid-row: 1; border: 1px solid var(--line); border-radius: .6rem; padding: .75rem; background: var(--paper); }
  .article-toc nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toc-status,.toc-feedback { display: none; }
  .docs-layout { gap: 1.2rem; }
  .docs-sidebar { padding-right: .75rem; }
}
@media (max-width: 720px) {
  .topbar { gap: .7rem; padding-block: .55rem; }
  .home-nav { order: 4; width: 100%; margin: 0; overflow-x: auto; flex-wrap: nowrap; }
  .home-nav a { flex: none; font-size: .88rem; }
  .home-search-link { margin-left: auto; }
  .docs-topbar { flex-wrap: wrap; }
  .docs-global-nav { order: 4; width: 100%; margin: 0; overflow-x: auto; flex-wrap: nowrap; }
  .docs-global-nav a { flex: none; }
  .docs-topbar .header-action { margin-left: auto; }
  .docs-topbar .preview-state { order: 5; margin-left: auto; }
  .preview-banner { line-height: 1.45; }
  .learn-hero { grid-template-columns: minmax(0,1fr); gap: 1.3rem; margin: .9rem .8rem 2rem; padding: 1.4rem; border-radius: .75rem; }
  .learn-hero h1 { max-width: 14ch; font-size: clamp(2.25rem,11vw,3.15rem); }
  .hero-aside { padding: 1rem; }
  .hero-stats { gap: .2rem; }
  .content-band { margin: 0 .9rem 2.2rem; }
  .section-heading-row { align-items: start; }
  .section-heading-row .text-link { width: 100%; }
  .topic-grid,.popular-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 12rem; }
  .popular-band { padding: 1rem; }
  .popular-card { min-height: 12rem; }
  .audience-band { grid-template-columns: 1fr; gap: 1rem; margin: 0 .9rem 2rem; padding: 1.5rem 0; }
  .preview-details { grid-template-columns: 1fr; gap: 1rem; margin: 0 .9rem 2rem; }
  .docs-breadcrumbs { min-height: 2.7rem; padding-inline: 1rem; }
  .docs-layout { display: block; padding: .75rem .9rem 2rem; }
  .docs-sidebar { position: static; margin-bottom: 1rem; padding: .1rem 0 .6rem; border: 0; }
  .sidebar-heading { margin-bottom: .45rem; }
  .docs-sidebar .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid #9ab5a8; border-radius: .45rem; background: var(--paper); color: var(--green-dark); padding: 0 .65rem; font: inherit; font-size: .85rem; font-weight: 700; }
  .docs-sidebar nav[hidden] { display: none; }
  .nav-group ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .25rem; }
  .docs-layout main { padding: .3rem 0; }
  .article-columns { gap: .8rem; }
  .article-toc { grid-row: auto; }
  .article-toc nav { grid-template-columns: 1fr 1fr; }
  .article-toc nav a { min-height: 40px; }
  .article-head h1 { font-size: clamp(2.1rem,9vw,3rem); }
  .article-body { font-size: 1rem; }
  .tech dl { grid-template-columns: 1fr; }
  .tech dd { margin-bottom: .5rem; }
  .site-footer { justify-content: flex-start; padding: 1rem; }
}
@media (max-width: 390px) {
  .home-search-link { padding-inline: .55rem; font-size: .86rem; }
  .home-search-link span { display: none; }
  .docs-topbar .header-action { padding-inline: .55rem; font-size: .84rem; }
  .docs-topbar .preview-state { font-size: .77rem; }
  .hero-search { gap: .2rem; }
  .hero-search button { padding-inline: .7rem; }
  .topic-card,.popular-card { padding: .9rem; }
  .popular-band { padding: .8rem; }
  .article-toc nav { grid-template-columns: 1fr; }
  .media-caption { padding: .65rem; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink:#edf5ef; --muted:#b7c7bd; --line:#3f5348; --paper:#1d2b24; --canvas:#111a15; --green:#85d0a8; --green-dark:#a8e1bf; --mint:#253b30; --amber:#40361e; --amber-ink:#f2d68f; --focus:#ffd27b; }
  .learn-hero { background: linear-gradient(116deg,#102f24 0%,#164b35 70%,#205a40 100%); }
  .popular-band { background: #1b2b23; }
  .topic-green .topic-icon,.video-slot-icon { background:#243b30; color:#a8e1bf; }
  .topic-gold .topic-icon { background:#40361e; color:#f2d68f; }
  .topic-blue .topic-icon { background:#213641; color:#a9d9ee; }
  .badge-draft,.badge-outline { background:#40361e; color:#f2d68f; }
  .badge-planned { background:#213641; color:#b7d4e0; }
  .maturity { background:#20372b; border-color:#3b6149; }
  .notice,.media-warning { background:#362f1d; border-color:#645127; color:#f2d68f; }
  .answer-field { background:#202e27; }
  .media-frame { background:#24362c; }
  .docs-global-nav a:hover,.docs-global-nav a[aria-current="page"],.home-nav a:hover { background:#243b30; }
  .popular-card { border-color:var(--line); }
  .hero-search input { color:#17251f; }
  .hero-search button { background:#114d37; color:#fff; }
}
