@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --paper-deep: #eeece3;
  --surface: #fffefa;
  --ink: #232d2a;
  --body: #424d47;
  --muted: #72796d;
  --line: #dcded2;
  --line-soft: #e7e7dd;
  --green: #2b6258;
  --green-dark: #214c44;
  --green-light: #e8eee5;
  --orange: #c86f43;
  --orange-soft: #f7e9d9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, dialog { border-radius: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
svg { display: block; flex: 0 0 auto; }
button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
[hidden], .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 20px; padding: 10px 18px; color: var(--surface); background: var(--green); border-radius: 6px; }
.skip-link:focus { top: 14px; color: var(--surface); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245,243,236,.97); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1480px; margin: 0 auto; min-height: 85px; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 43px; color: var(--green); background: var(--green-light); border: 1px solid #d3decf; border-radius: 9px; }
.brand-mark svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.5px; }
.brand-subtitle { display: block; margin-top: 6px; color: var(--muted); font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 2.45px; line-height: 1; }
.header-note { font-size: 13px; color: var(--muted); }
.mobile-topics { display: none; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); background: transparent; border-radius: 6px; font-size: 13px; font-weight: 600; }
.mobile-topics svg { width: 16px; height: 16px; }

.site-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); max-width: 1480px; margin: 0 auto; }
.sidebar { position: sticky; top: 85px; align-self: start; min-height: calc(100vh - 85px); max-height: calc(100vh - 85px); overflow-y: auto; padding: 36px 22px 28px 40px; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #ced3c7 transparent; }
.sidebar-heading { margin-bottom: 24px; }
.eyebrow { font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: 1.6px; color: var(--muted); }
.sidebar-heading h2 { font: 24px/1.3 var(--serif); font-weight: 400; letter-spacing: -.45px; margin: 8px 0 0; }
.category-nav { display: flex; flex-direction: column; gap: 3px; }
.category-nav > h3, .category-group-label, .category-heading, .nav-group-title { margin: 25px 12px 8px 0; color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: 1.3px; text-transform: uppercase; }
.category-nav > h3:first-child, .category-group-label:first-child, .category-heading:first-child, .nav-group-title:first-child { margin-top: 0; }
.category-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 11px; background: transparent; border: 1px solid transparent; border-radius: 5px; font-size: 12px; line-height: 1.4; text-align: left; transition: background .15s ease, color .15s ease; }
.category-btn:hover { background: var(--paper-deep); }
.category-btn.active { color: var(--green-dark); background: var(--green-light); border-color: #d6dfd0; font-weight: 600; }
.category-btn span:first-child { min-width: 0; }
.category-btn .count, .category-count, .category-btn > span:last-child:not(:first-child) { flex: 0 0 auto; min-width: 22px; color: var(--muted); font-size: 10px; line-height: 1.8; text-align: right; font-variant-numeric: tabular-nums; }
.category-btn.active .count, .category-btn.active .category-count { color: var(--green); }
.category-btn svg { width: 15px; height: 15px; }
.topic-group { border-bottom:1px solid var(--line-soft); padding:4px 0; }
.topic-group summary { position:relative; display:flex; gap:9px; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; padding:11px 8px 11px 20px; border-radius:5px; font-size:12px; line-height:1.45; font-weight:600; }
.topic-group summary::-webkit-details-marker { display:none; }
.topic-group summary::before { content:"›"; position:absolute; left:6px; color:var(--muted); font-size:17px; transform-origin:center; }
.topic-group[open] summary::before { transform:rotate(90deg); }
.topic-group summary:hover { background:var(--paper-deep); }
.topic-group.selected summary { color:var(--green-dark); }
.topic-children { border-left:1px solid #cbd7c4; margin:2px 0 9px 11px; padding-left:8px; }
.topic-children .category-btn { padding:8px 7px; font-size:11px; }
.category-nav > .category-btn { margin-bottom:9px; }
.domain-browser { margin:4px 0 33px; padding-bottom:29px; border-bottom:1px solid var(--line); scroll-margin-top:110px; }
.learning-hub { padding:0 0 30px; margin:0 0 30px; border-bottom:1px solid var(--line); }
.learning-hub h2 { font:400 29px/1.2 var(--serif); letter-spacing:-.6px; margin:7px 0 10px; }
.learning-hub-heading { display:flex; flex-wrap:wrap; gap:15px 24px; justify-content:space-between; align-items:center; margin-bottom:19px; }
.learning-hub-heading > div:first-child { flex:1 1 360px; }
.learning-hub-heading p:not(.eyebrow) { color:var(--body); font-size:13px; margin:0; max-width:620px; }
.learning-hub-heading .eyebrow { color:var(--green); margin:0; }
.learning-hub-actions { display:flex; flex-wrap:wrap; gap:8px; }
.learn-action, .learn-secondary { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:10px 14px; min-height:40px; border:1px solid var(--green); border-radius:5px; background:var(--green); color:var(--surface); font-size:12px; line-height:1.5; }
.learn-action:hover { background:var(--green-dark); }
.learn-secondary { border-color:#b7c6ae; background:var(--surface); color:var(--green-dark); }
.learn-secondary:hover { background:var(--green-light); }
.learning-path-callout { display:grid; grid-template-columns:1.15fr 1fr; align-items:start; gap:30px; padding:25px; border:1px solid #d1dccb; border-radius:9px; background:var(--green-light); }
.learning-path-callout .eyebrow { color:var(--green); margin:0 0 10px; font-size:9px; }
.learning-path-callout h3 { font:400 29px/1.15 var(--serif); letter-spacing:-.6px; margin:0 0 12px; }
.learning-path-callout p:not(.eyebrow) { color:var(--body); font-size:13px; line-height:1.75; margin:0 0 18px; }
.path-progress-note { display:block; color:var(--muted); font-size:11px; margin-top:11px; }
.path-preview { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.path-preview li { display:flex; align-items:flex-start; gap:11px; font-size:12px; line-height:1.6; color:var(--body); }
.step-number { display:inline-grid; place-items:center; flex:0 0 26px; width:26px; height:26px; background:var(--surface); color:var(--green-dark); border-radius:50%; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; }
.starter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.starter-grid .entry-card { padding:19px 18px 16px; }
.starter-grid .entry-title { font-size:24px; }
.starter-grid .entry-category::before { padding-right:3px; }
.starter-grid .entry-meta { gap:8px; }
.starter-grid .copy-btn { font-size:10px; padding:6px 8px; }
.starter-section-heading { margin:24px 0 14px; }
.starter-section-heading h3 { font:400 23px/1.25 var(--serif); letter-spacing:-.3px; margin:0 0 5px; }
.starter-section-heading p { font-size:12px; color:var(--muted); margin:0; }
.entry-kind.kind-path { color:var(--green-dark); }
.entry-kind.kind-project { color:#96502d; }
.entry-path { background:#f0f3e9; }
.learning-progress { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 14px; margin:26px 0 20px; padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-size:12px; }
.learning-progress strong { color:var(--green-dark); font-weight:600; }
.learning-progress span { color:var(--muted); font-size:11px; }
.learning-steps { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:18px; }
.learning-step { background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:21px; }
.learning-step-heading { display:flex; align-items:center; gap:11px; margin-bottom:14px; }
.learning-step-heading .step-number { background:var(--green-light); }
.learning-step h3 { font:400 24px/1.2 var(--serif); letter-spacing:-.3px; margin:0; }
.learning-step h4 { font-size:12px; margin:19px 0 8px; }
.learning-step p, .learning-step ul { color:var(--body); font-size:13px; line-height:1.8; margin:0 0 15px; }
.learning-step ul { padding-left:20px; }
.completion-check { padding:13px 15px; border-radius:5px; background:var(--green-light); margin:17px 0; }
.completion-check strong { color:var(--green-dark); font-size:11px; font-weight:600; }
.completion-check p { margin:6px 0 0; font-size:12px; }
.step-complete { display:flex; align-items:center; gap:10px; min-height:44px; margin-top:15px; border-top:1px solid var(--line-soft); padding-top:8px; font-size:12px; color:var(--green-dark); cursor:pointer; }
.step-complete input { width:17px; height:17px; accent-color:var(--green); cursor:pointer; }
.path-project-links { display:flex; flex-direction:column; gap:9px; }
.path-project-links button { display:flex; align-items:center; gap:13px; width:100%; padding:15px; background:var(--paper); border:1px solid var(--line); border-radius:6px; text-align:left; }
.path-project-links button:hover { border-color:#a7baa0; background:var(--green-light); }
.path-project-links button > span:first-child { color:var(--green); font-size:12px; }
.path-project-links button > div { flex:1; display:flex; flex-direction:column; gap:5px; }
.path-project-links strong { font-size:14px; font-weight:600; color:var(--ink); }
.path-project-links small { color:var(--body); font-size:12px; line-height:1.6; }
.project-level { display:inline-block; background:var(--green-light); color:var(--green-dark); border-radius:4px; padding:6px 10px; font-size:11px; margin-bottom:5px; }
.project-milestones { padding-left:21px; }
.project-milestones h4 { font-size:14px; margin:17px 0 6px; }
.project-milestones li::marker { color:var(--green); }
.project-milestones .milestone-check { padding:10px 12px; background:var(--green-light); border-radius:4px; font-size:12px; }
@media(max-width:1150px) { .starter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .starter-grid .entry-card:last-child { grid-column:1/-1; } }
@media(max-width:600px) {
  .learning-hub h2 { font-size:27px; }
  .learning-path-callout { grid-template-columns:minmax(0,1fr); gap:24px; padding:20px; }
  .learning-path-callout h3 { font-size:28px; }
  .starter-grid { grid-template-columns:minmax(0,1fr); }
  .starter-grid .entry-card:last-child { grid-column:auto; }
  .starter-grid .entry-title { font-size:26px; }
  .learning-hub-actions { width:100%; }
  .learn-action, .learn-secondary { font-size:11px; padding:10px 12px; }
  .learning-step { padding:18px; }
  .learning-step h3 { font-size:23px; }
  .learning-progress { flex-direction:column; }
}
.domain-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.domain-card { display:flex; flex-direction:column; position:relative; min-width:0; text-align:left; padding:20px 19px 21px; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:8px; transition:border-color .15s,background .15s; }
.domain-card:hover { background:#f0f2e8; border-color:#a6b99b; }
.domain-card-top { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:10px; margin-bottom:11px; }
.domain-number { color:var(--green); font-variant-numeric:tabular-nums; }
.domain-card strong { font:400 24px/1.15 var(--serif); letter-spacing:-.5px; margin-bottom:10px; }
.domain-description { font-size:12px; color:var(--body); line-height:1.65; margin-bottom:16px; }
.domain-topics { margin-top:auto; font-size:10px; line-height:1.7; color:var(--green); padding-right:12px; }
.domain-card-arrow { position:absolute; bottom:17px; right:14px; color:var(--green); font-size:17px; }
.topic-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:17px; color:var(--muted); font-size:12px; }
.topic-breadcrumb button { border:0; background:none; color:var(--green); padding:3px 0; font-size:inherit; text-decoration:underline; text-underline-offset:3px; }
.subtopic-grid { display:flex; flex-wrap:wrap; gap:8px; }
.subtopic-chip { display:flex; gap:10px; justify-content:space-between; align-items:center; padding:9px 12px; border:1px solid var(--line); background:var(--surface); border-radius:5px; font-size:12px; }
.subtopic-chip span { color:var(--muted); font-size:10px; }
.subtopic-chip:hover { border-color:#a6b99b; }
.subtopic-chip.active { background:var(--green); border-color:var(--green); color:var(--surface); }
.subtopic-chip.active span { color:var(--surface); }
.search-section { scroll-margin-top:110px; }
.is-filtered .intro { padding-bottom:15px; }
.is-filtered .intro-eyebrow, .is-filtered .intro-description, .is-filtered .collection-stats { display:none; }
.is-filtered h1 { font-size:30px; letter-spacing:-.7px; margin:0 0 4px; }
.is-filtered h1 br { display:none; }
.is-filtered .search-section { margin-bottom:22px; }
@media(max-width:1150px) { .domain-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .domain-card strong { font-size:23px; } }
@media(max-width:600px) {
  .domain-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
  .domain-card { padding:18px 20px; }
  .domain-description { margin-bottom:11px; font-size:12px; }
  .domain-card strong { font-size:27px; }
  .topic-group summary { font-size:14px; padding:13px 10px 13px 23px; }
  .topic-children .category-btn { font-size:12px; padding:10px 8px; }
  .subtopic-chip { font-size:11px; padding:8px 10px; }
  .is-filtered h1 { font-size:27px; line-height:1.2; }
}
.sidebar-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.note-rule { display: block; width: 24px; height: 2px; background: var(--orange); }
.sidebar-note p { font-family: var(--serif); font-size: 17px; line-height: 1.5; margin: 15px 0 8px; color: #525c52; }
.small-note { color: var(--muted); font-size: 11px; }
.sidebar-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(24,36,30,.35); border: 0; cursor: default; }

.main-content { min-width: 0; padding: 39px 48px 0; }
.intro { padding-bottom: 27px; }
.intro-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: var(--green); font-size: 10px; letter-spacing: 1.8px; }
.intro-eyebrow > span { height: 6px; width: 6px; background: var(--orange); border-radius: 1px; }
h1 { font: 400 clamp(35px,3.4vw,52px)/1.1 var(--serif); letter-spacing: -1.8px; margin: 0 0 18px; max-width: 830px; }
.title-period { color: var(--orange); }
.intro-description { color: var(--body); max-width: 620px; margin: 0 0 18px; font-size: 14px; line-height: 1.75; }
.collection-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 19px; color: var(--muted); font-size: 11px; }
.collection-stats > span + span::before { content: ""; display: inline-block; height: 10px; width: 1px; margin-right: 19px; background: var(--line); vertical-align: -1px; }
.collection-stats strong { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }

.search-section { margin-bottom: 31px; }
.search-box { display: flex; align-items: center; gap: 13px; min-height: 61px; padding: 0 18px; background: var(--surface); border: 1px solid #bcc8b8; border-radius: 9px; box-shadow: 0 2px 3px rgba(37,46,36,.025); transition: border-color .15s ease, box-shadow .15s ease; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(43,98,88,.1); }
.search-icon { width: 21px; height: 21px; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; }
.search-box input { flex: 1; min-width: 0; height: 58px; padding: 0; background: transparent; color: var(--ink); border: 0; outline: 0; font-size: 14px; }
.search-box input:focus-visible { outline: 0; }
.search-box input::placeholder { color: #848b7e; opacity: 1; }
.search-box input::-webkit-search-cancel-button { appearance: none; }
.search-clear { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: var(--paper-deep); color: var(--muted); border-radius: 4px; }
.search-clear:hover { color: var(--ink); }
.search-clear svg { width: 15px; height: 15px; }
.search-shortcut { display: grid; place-items: center; width: 23px; height: 25px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--surface); font: 12px var(--sans); }
.scope-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-top: 13px; }
.scope-tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; }
.scope-tab svg { width: 16px; height: 16px; stroke-width: 1.45; }
.scope-tab:hover { color: var(--ink); background: var(--paper-deep); }
.scope-tab.active { background: var(--green); color: var(--surface); }
.kind-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; padding-top:12px; border-top:1px solid var(--line-soft); }
.kind-filter { border:0; background:transparent; color:var(--muted); border-radius:4px; padding:6px 9px; min-height:32px; font-size:11px; }
.kind-filter:hover { color:var(--green); background:var(--paper-deep); }
.kind-filter.active { background:var(--paper-deep); color:var(--ink); font-weight:600; }
.entry-topline { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.entry-kind.kind-prompt { color:#96502d; }
.load-more-wrap { grid-column:1/-1; text-align:center; padding:20px 0 10px; }
.load-more { border:1px solid #bfccba; background:var(--green-light); color:var(--green-dark); border-radius:6px; padding:11px 21px; font-size:12px; min-height:42px; }
.load-more:hover { background:#dfe8d9; }
.load-more-wrap p { color:var(--muted); font-size:11px; margin:9px 0 0; }
.empty-icon { display:block; font-size:36px; color:var(--green); margin-bottom:10px; }
.article-pitfall { background:var(--orange-soft); border-left:3px solid var(--orange); padding:1px 19px 5px; border-radius:0 6px 6px 0; }
.related-list small { color:var(--muted); font-size:10px; }
.article-table-wrap { overflow:auto; max-width:100%; }
body:has(.article-dialog[open]) { overflow:hidden; }
@media (max-width:600px) { .kind-filter { font-size:10px; padding:6px 8px; } }

.featured-section { padding-bottom: 29px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.section-header h2 { margin: 0; font: 400 23px/1.3 var(--serif); letter-spacing: -.45px; }
.section-kicker { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: 1.2px; }
.featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.featured-grid .entry-card { min-height: 157px; padding: 18px; background: #eeeee4; border-color: #dce0d1; }
.featured-grid .entry-card:hover { background: #e9ede0; }
.featured-grid .entry-kind { color: var(--green); }
.featured-grid .entry-title { font-size: 18px; line-height: 1.25; margin: 8px 0; }
.featured-grid .entry-summary { font-size: 12px; line-height: 1.6; -webkit-line-clamp: 2; margin-bottom: 0; }
.featured-grid .entry-meta { margin-top: 14px; font-size: 10px; }
.featured-grid .entry-category { display: none; }
.featured-grid .copy-btn { padding: 5px 8px; font-size: 10px; }
.featured-grid .copy-btn svg { width: 13px; height: 13px; }

.results-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.results-header h2 { font: 400 28px/1.25 var(--serif); letter-spacing: -.65px; margin: 0 0 7px; }
.results-header p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; max-width: 560px; }
.results-count { flex: 0 0 auto; color: var(--muted); font-size: 11px; white-space: nowrap; padding-top: 9px; font-variant-numeric: tabular-nums; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-row:has(.active-filters:empty):has(.clear-filters[hidden]) { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green-dark); border: 1px solid #d5dece; border-radius: 4px; font-size: 11px; padding: 4px 9px; margin-bottom: 15px; }
.filter-chip svg { width: 12px; height: 12px; }
.clear-filters { flex: 0 0 auto; border: 0; padding: 4px 0; background: none; color: var(--green); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 15px; }
.results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.entry-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; position: relative; padding: 22px 23px 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.entry-card:hover { border-color: #adbca4; box-shadow: 0 4px 12px rgba(36,53,35,.035); transform: translateY(-1px); }
.entry-card:focus-within { border-color: var(--green); }
.entry-card .card-open { display: block; width: 100%; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; border-radius: 2px; text-decoration: none; }
.card-open:focus-visible { outline-offset: 6px; }
.entry-kind { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 650; line-height: 1.4; letter-spacing: 1.25px; text-transform: uppercase; }
.entry-kind svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.5; }
.entry-card[data-kind="prompt"] .entry-kind, .entry-card.kind-prompt .entry-kind { color: #9d5a35; }
.entry-category { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.entry-category::before { content: "·"; padding-right: 6px; }
.entry-title { margin: 10px 0 9px; color: var(--ink); font: 400 25px/1.2 var(--serif); letter-spacing: -.55px; overflow-wrap: anywhere; }
.entry-title button { font: inherit; letter-spacing: inherit; }
.entry-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--body); font-size: 12px; line-height: 1.75; margin: 0 0 18px; }
.entry-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; line-height: 1.4; }
.entry-meta a, .entry-meta .read-link, .entry-meta .open-label { color: var(--green); font-size: 10px; text-decoration: none; }
.entry-meta .read-link::after, .entry-meta .open-label::after { content: " ↗"; margin-left: 3px; }
.copy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 6px 10px; border: 1px solid #cdd8c7; background: var(--green-light); border-radius: 4px; color: var(--green-dark); font-size: 11px; font-weight: 600; line-height: 1.4; }
.copy-btn:hover { background: #dfe8d9; border-color: #b6c6ae; }
.copy-btn svg { width: 14px; height: 14px; stroke-width: 1.5; }
.copy-btn.copied, .copy-btn[data-copied="true"] { background: var(--green); color: var(--surface); border-color: var(--green); }
mark { color: inherit; background: #f2dfa8; border-radius: 2px; padding: 0 1px; }
.empty-state { grid-column: 1/-1; padding: 52px 26px; background: var(--surface); border: 1px dashed #bdc8b5; border-radius: 8px; text-align: center; color: var(--muted); }
.empty-state h3 { margin: 0 0 10px; font: 400 28px/1.25 var(--serif); letter-spacing: -.5px; color: var(--ink); }
.empty-state p { margin: 0 auto 14px; max-width: 430px; font-size: 13px; }
.empty-state button { background: var(--green); color: var(--surface); border: 0; border-radius: 5px; padding: 9px 14px; font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 25px; padding: 30px 0 25px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { color: var(--body); font-family: var(--serif); font-size: 13px; }

.article-dialog { position: fixed; width: min(860px,calc(100% - 48px)); max-height: min(88dvh,1000px); padding: 0; background: var(--surface); color: var(--ink); border: 1px solid #d2dacd; border-radius: 15px; box-shadow: 0 24px 90px rgba(18,34,26,.2); overflow: auto; overscroll-behavior: contain; }
.article-dialog::backdrop { background: rgba(30,43,34,.46); backdrop-filter: blur(3px); }
.dialog-close { position: sticky; float: right; z-index: 5; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; margin: 18px 18px -52px 0; padding: 8px; background: var(--paper); color: var(--body); border: 1px solid var(--line); border-radius: 50%; }
.dialog-close:hover { background: var(--paper-deep); }
.dialog-close svg { width: 17px; height: 17px; }
.article-content { padding: 45px 52px 48px; }
.article-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; color: var(--green); font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 13px; }
.article-title { color: var(--ink); font: 400 clamp(31px,4vw,44px)/1.13 var(--serif); letter-spacing: -1.1px; margin: 0 24px 19px 0; overflow-wrap: anywhere; }
.article-lead { color: var(--body); font-size: 16px; line-height: 1.8; margin: 0 0 24px; }
.article-section { margin: 27px 0 0; }
.article-section h2, .article-content > h2 { margin: 27px 0 11px; font: 400 25px/1.25 var(--serif); letter-spacing: -.4px; }
.article-section h3, .article-content > h3 { font-size: 14px; line-height: 1.5; margin: 23px 0 9px; }
.article-section p, .article-content > p { color: var(--body); font-size: 14px; line-height: 1.85; margin: 0 0 15px; }
.article-section ul, .article-section ol, .article-content > ul, .article-content > ol { padding-left: 22px; color: var(--body); font-size: 14px; line-height: 1.85; margin: 11px 0 20px; }
.article-section li + li { margin-top: 7px; }
.article-section blockquote { margin: 20px 0; padding: 13px 18px; border-left: 3px solid var(--green); background: var(--green-light); color: var(--body); }
.article-section blockquote p:last-child { margin: 0; }
.article-section a { overflow-wrap: anywhere; }
.article-section table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 12px; line-height: 1.65; margin: 18px 0 24px; }
.article-section th, .article-section td { padding: 11px 13px; min-width: 130px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.article-section th { background: var(--paper-deep); color: var(--ink); font-weight: 600; }
.article-section td { color: var(--body); }
.article-content code:not(.prompt-block code) { font-family: Consolas, "Courier New", monospace; font-size: .9em; padding: 2px 4px; border-radius: 3px; background: var(--paper-deep); overflow-wrap: anywhere; }
.prompt-block, .article-section pre { display: block; position: relative; margin: 16px 0 20px; padding: 23px 24px; background: #263c34; color: #f1f1e6; border: 1px solid #263c34; border-radius: 8px; font: 12px/1.9 Consolas, "Courier New", monospace; tab-size: 2; overflow: auto; max-height: 550px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt-block code, .article-section pre code { padding: 0 !important; color: inherit !important; background: transparent !important; font: inherit !important; border-radius: 0 !important; }
.prompt-toolbar, .prompt-actions, .copy-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 16px 0 10px; color: var(--muted); font-size: 11px; }
.article-content > .copy-btn, .article-section > .copy-btn { min-height: 35px; padding: 8px 13px; }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0 !important; list-style: none; }
.related-list button, .related-list a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; color: var(--green); font-size: 12px; text-decoration: none; }
.related-list button:hover, .related-list a:hover { border-color: #afc0a6; background: var(--green-light); }
.copy-toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%,14px); max-width: calc(100% - 32px); padding: 11px 19px; border-radius: 7px; color: var(--surface); background: var(--green-dark); box-shadow: 0 5px 25px rgba(26,50,36,.16); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.copy-toast.visible, .copy-toast.show, .copy-toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.copy-toast:empty { display: none; }

@media (min-width: 1500px) {
  .site-layout { grid-template-columns: 278px minmax(0,1fr); }
  .main-content { padding-left: 60px; padding-right: 60px; }
  .sidebar { padding-left: 44px; padding-right: 25px; }
}

@media (max-width: 1150px) {
  .header-inner { padding: 0 28px; }
  .site-layout { grid-template-columns: 228px minmax(0,1fr); }
  .sidebar { padding-left: 25px; padding-right: 15px; }
  .main-content { padding: 32px 30px 0; }
  .intro-description { max-width: 540px; }
  h1 { font-size: 43px; }
  .featured-grid { gap: 10px; }
  .featured-grid .entry-card { padding: 15px; }
  .featured-grid .entry-title { font-size: 17px; }
  .entry-card { padding: 19px 19px 15px; }
  .entry-title { font-size: 23px; }
}

@media (max-width: 850px) {
  .header-inner { min-height: 74px; padding: 0 22px; }
  .header-note { display: none; }
  .mobile-topics { display: flex; z-index: 90; background: var(--paper); }
  .site-layout { display: block; }
  .sidebar { position: fixed; z-index: 80; top: 74px; left: 0; bottom: 0; width: min(325px,86vw); max-height: calc(100dvh - 74px); min-height: 0; padding: 28px 24px 30px; background: var(--paper); box-shadow: 14px 0 36px rgba(31,46,33,.1); transform: translateX(-105%); visibility: hidden; transition: transform .2s ease, visibility .2s ease; }
  .sidebar.is-open { transform: translateX(0); visibility: visible; }
  .sidebar-backdrop { top: 74px; }
  .main-content { padding: 31px 27px 0; max-width: 900px; margin: 0 auto; }
  h1 { font-size: 43px; }
  .intro-description { max-width: 600px; }
  .featured-grid .entry-title { font-size: 19px; }
  .featured-grid .entry-card { padding: 18px; }
  .category-btn { font-size: 13px; padding: 11px; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 70px; padding: 0 18px; }
  .brand-mark { width: 36px; height: 38px; border-radius: 7px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 20px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 2px; }
  .mobile-topics { min-height: 38px; padding: 8px 10px; font-size: 12px; }
  .sidebar, .sidebar-backdrop { top: 70px; }
  .sidebar { max-height: calc(100dvh - 70px); }
  .main-content { padding: 27px 18px 0; }
  .intro { padding-bottom: 23px; }
  .intro-eyebrow { font-size: 8px; letter-spacing: 1.4px; gap: 7px; margin-bottom: 13px; }
  h1 { font-size: clamp(33px,8.8vw,43px); line-height: 1.13; letter-spacing: -1.2px; margin-bottom: 15px; }
  .intro-description { font-size: 13px; line-height: 1.75; margin-bottom: 15px; }
  .collection-stats { gap: 5px 10px; font-size: 10px; }
  .collection-stats > span + span::before { margin-right: 10px; }
  .search-section { margin-bottom: 25px; }
  .search-box { gap: 10px; padding: 0 13px; min-height: 56px; border-radius: 7px; }
  .search-box input { font-size: 12px; height: 54px; }
  .search-icon { width: 18px; height: 18px; }
  .search-shortcut { display: none; }
  .scope-tabs { gap: 1px; margin-top: 11px; }
  .scope-tab { gap: 5px; padding: 7px 10px; font-size: 10px; min-height: 35px; }
  .scope-tab svg { width: 14px; height: 14px; }
  .section-header { margin-bottom: 11px; }
  .section-header h2 { font-size: 21px; }
  .section-kicker { font-size: 8px; letter-spacing: .8px; }
  .featured-section { padding-bottom: 24px; margin-bottom: 23px; }
  .featured-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: -2px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c9d1c1 transparent; }
  .featured-grid .entry-card { flex: 0 0 76%; scroll-snap-align: start; min-height: 150px; padding: 17px; }
  .featured-grid .entry-title { font-size: 22px; }
  .featured-grid .entry-summary { font-size: 12px; }
  .results-header { gap: 9px; margin-bottom: 15px; }
  .results-header h2 { font-size: 26px; }
  .results-header p { font-size: 11px; max-width: 250px; }
  .results-count { font-size: 10px; padding-top: 7px; }
  .results-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .entry-card { padding: 20px; }
  .entry-title { font-size: 26px; }
  .entry-summary { font-size: 13px; -webkit-line-clamp: 3; }
  .entry-kind { font-size: 9px; }
  .entry-category { font-size: 10px; }
  .entry-meta { font-size: 11px; }
  .copy-btn { min-height: 35px; }
  .site-footer { margin-top: 27px; padding: 23px 0; font-size: 10px; }
  .site-footer span:last-child { width: 100%; }
  .article-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 11px; }
  .article-content { padding: 36px 23px 32px; }
  .article-title { font-size: 32px; letter-spacing: -.7px; margin-right: 15px; }
  .article-lead { font-size: 14px; line-height: 1.8; }
  .article-section p, .article-content > p, .article-section ul, .article-section ol { font-size: 13px; }
  .article-section h2, .article-content > h2 { font-size: 23px; }
  .prompt-block, .article-section pre { padding: 18px; margin-left: -4px; margin-right: -4px; font-size: 11px; line-height: 1.85; max-height: none; }
  .dialog-close { top: 12px; right: 12px; width: 31px; height: 31px; margin: 12px 12px -43px 0; }
  .article-eyebrow { font-size: 9px; margin-right: 25px; }
}

.research-hub { padding:22px 24px; margin:0 0 30px; border:1px solid #cedacf; border-left:4px solid var(--green); border-radius:7px; background:#edf1e9; }
.research-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.research-heading > div { min-width:0; }
.research-heading .eyebrow { margin:0 0 7px; color:var(--green); }
.research-heading h2 { font:400 28px/1.2 var(--serif); letter-spacing:-.5px; margin:0 0 9px; }
.research-heading p:not(.eyebrow) { font-size:13px; color:var(--body); margin:0; max-width:680px; }
.research-date { color:var(--body); font-size:10px; white-space:nowrap; text-align:right; }
.research-topics { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.research-topics .learn-secondary { justify-content:space-between; text-align:left; background:var(--surface); }
.research-hub .starter-grid { margin-top:20px; }
.article-content > .article-research-note { color:var(--muted); font-size:11px; padding-bottom:14px; border-bottom:1px solid var(--line-soft); }
@media (max-width:600px) {
  .research-hub { padding:18px; margin-bottom:25px; }
  .research-heading { flex-direction:column; gap:10px; }
  .research-heading h2 { font-size:25px; }
  .research-date { text-align:left; }
  .research-date br { display:none; }
  .research-topics .learn-secondary { width:100%; }
}

.entry-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.documentation-link { padding:5px 0; min-height:32px; border:0; background:transparent; color:var(--green); font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.documentation-link:hover { color:var(--green-dark); }
.article-sources { scroll-margin-top:22px; }
.article-sources li { overflow-wrap:anywhere; }
.article-sources .documentation-date { font-size:11px; color:var(--muted); margin-top:16px; }

.video-path-shortcut { display:inline-flex; gap:7px; align-items:center; min-height:40px; margin-top:13px; padding:0; border:0; background:transparent; color:var(--green-dark); font-size:12px; text-decoration:underline; text-underline-offset:3px; text-align:left; }
.path-video-section { scroll-margin-top:22px; }
.path-videos { list-style:none; padding:0; margin:18px 0; display:flex; flex-direction:column; gap:17px; }
.video-card { padding:21px; border:1px solid #cedacf; border-left:3px solid var(--green); border-radius:7px; background:#f2f5ed; }
.video-kicker { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; justify-content:space-between; color:var(--body); font-size:10px; }
.video-kicker > span:first-child { color:var(--green-dark); font-weight:650; }
.video-card h4 { font:400 24px/1.25 var(--serif); letter-spacing:-.3px; margin:11px 0 7px; overflow-wrap:anywhere; }
.video-card p { font-size:12px; line-height:1.8; margin:10px 0; }
.video-card .video-creator { font-size:11px; color:var(--green-dark); margin:0 0 14px; }
.video-card .video-step { color:var(--green-dark); font-weight:600; font-size:11px; }
.video-practice { padding:12px 14px; background:var(--surface); border:1px solid var(--line-soft); border-radius:5px; margin:14px 0; }
.video-practice > strong { font-size:11px; color:var(--green-dark); }
.video-practice p { margin:5px 0 0; }
.video-card .video-note { font-size:11px; color:var(--body); }
.video-actions { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin-top:15px; }
.video-watch { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:9px 13px; color:var(--surface); background:var(--green); border:1px solid var(--green); border-radius:5px; font-size:12px; text-decoration:none; }
.video-watch:hover { background:var(--green-dark); color:var(--surface); }
.video-project-link { min-height:40px; border:0; padding:5px 0; background:transparent; color:var(--green-dark); font-size:11px; text-decoration:underline; text-underline-offset:3px; text-align:left; }
.path-video-section .video-selection-date { color:var(--body); font-size:10px; }
@media(max-width:600px) { .video-card { padding:17px; } .video-card h4 { font-size:22px; } .video-actions { align-items:flex-start; flex-direction:column; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .entry-card:hover { transform: none; }
}
/* The review record is readable without JavaScript and shares the site palette. */
.review-page{max-width:960px;margin:0 auto;padding:48px 24px;color:var(--body)}
.review-page h1{font-size:clamp(2.5rem,7vw,4.5rem);line-height:1.08;margin:20px 0}
.review-page h2{margin-top:44px;font-size:1.65rem}
.review-page p,.review-page li{line-height:1.7}
.review-page li+li{margin-top:12px}
.review-page a{color:var(--green);text-underline-offset:3px}
.review-page .eyebrow{margin-top:36px}
.review-lead{font-size:1.15rem}
.review-rows details{border-top:1px solid var(--line);padding:16px 0;scroll-margin-top:20px}
.review-rows summary{cursor:pointer;font-weight:600;line-height:1.6}
.review-status{font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.04em;margin-left:8px;text-transform:uppercase;color:var(--body)}
.review-rows details:target{border-left:3px solid var(--green);padding-left:16px}
.content-review-note{font-size:.86rem;line-height:1.6;color:var(--body)}
