:root {
  color-scheme: light;
  --bg: #f6f7f2; --surface: #fff; --ink: #202822; --muted: #667066;
  --line: #dce1d6; --accent: #caf28a; --green: #416323; --dark: #1f2923;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #608c36; outline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
input[type="search"]::-webkit-search-cancel-button { display: none; }
::selection { background: #d2efaa; color: #182316; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 50; padding: 12px 20px; background: var(--ink); color: white; }
.skip:focus { top: 12px; }
.site-header, main { max-width: 1240px; margin-inline: auto; padding-inline: 40px; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 690; letter-spacing: -.6px; white-space: nowrap; text-decoration: none; }
.brand img { border-radius: 8px; flex: none; }
.header-actions { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.header-github { text-decoration: none; color: var(--muted); }
.language-menu { position: relative; z-index: 20; }
.language-menu > summary { list-style-position: inside; white-space: nowrap; padding: 10px 0; }
.language-menu > summary::marker { font-size: 10px; }
.languages { position: absolute; right: 0; top: 100%; min-width: 164px; display: grid; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #1f29231a; }
.languages a { text-decoration: none; padding: 10px 12px; border-radius: 6px; }
.languages a:hover, .languages a[aria-current] { background: #edf3e6; color: var(--green); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 46px; padding: 11px 20px; background: white; border: 1px solid #b9c4b2; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 620; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #20321a; }
.button.small { min-height: 38px; font-size: 13px; padding: 8px 14px; background: var(--ink); border-color: var(--ink); color: white; }
.button:hover { border-color: #698650; }
.button.primary:hover { background: #bce875; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); align-items: center; gap: 58px; padding-block: 60px 64px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #608738; }
h1 { margin: 0 0 24px; font-size: clamp(40px, 4.6vw, 60px); font-weight: 640; line-height: 1.04; letter-spacing: -.055em; }
h1 span { color: var(--green); }
.intro { margin: 0; color: var(--muted); max-width: 550px; line-height: 1.75; font-size: 16px; }
.cta { display: flex; align-items: center; gap: 26px; margin-top: 28px; }
.fine { font-size: 12px; line-height: 1.7; color: var(--muted); }
.hero .fine { margin: 22px 0 0; }
.demo { min-width: 0; background: var(--dark); color: #f5f7f1; border-radius: 16px; box-shadow: 0 14px 32px #26351a0d; overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid #ffffff17; font-size: 13px; font-weight: 580; }
.demo-top select { max-width: 134px; background: #303d32; color: #e5eddf; border: 1px solid #51634f; border-radius: 6px; font-size: 11px; padding: 6px; }
.demo-code { padding: 24px 22px 18px; }
.demo-label { margin: 0 0 16px; color: #a8b6a6; font-size: 11px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 var(--mono); }
.demo pre { margin: 0 0 20px; color: #e5f4d6; font-size: 13px; line-height: 1.8; }
.copy-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 28px; }
.copy-line [role="status"] { font-size: 11px; color: inherit; }
.copy-command { background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 11px; }
.demo .copy-command { border-color: #53634d; color: #d5e6c7; }
.copy-command:hover { background: #7ea54b18; }
.demo-note { margin: 0; padding: 0 22px 22px; color: #a8b6a6; font-size: 12px; line-height: 1.6; }
.stats { display: flex; gap: 26px; padding: 14px 22px; background: #ffffff06; border-top: 1px solid #ffffff17; font-size: 11px; color: #a8b6a6; }
.stats strong { color: white; font-size: 16px; font-weight: 550; margin-right: 4px; }
.section { margin-bottom: 68px; scroll-margin-top: 28px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 9px; color: var(--muted); font-size: 10px; }
h2 { margin: 0 0 10px; font-size: 32px; font-weight: 630; letter-spacing: -.04em; line-height: 1.2; }
h3 { margin: 0; font-size: 18px; font-weight: 640; letter-spacing: -.025em; line-height: 1.4; }
.section-intro { margin: 0; color: var(--muted); font-size: 14px; }
.version { font: 11px var(--mono); color: var(--muted); text-decoration: none; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; flex-shrink: 0; }
.catalog { padding-top: 34px; border-top: 1px solid var(--line); }
.search-box { display: flex; align-items: center; gap: 10px; padding-right: 18px; border: 1px solid #bdc9b3; border-radius: 10px; background: white; box-shadow: 0 3px 8px #28371d04; }
.search-box:focus-within { border-color: #729947; box-shadow: 0 0 0 3px #a4ce792a; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; padding: 18px 20px; background: transparent; color: var(--ink); font-size: 16px; }
.search-box input::placeholder { color: #68745f; }
.search-box button { flex: none; width: 32px; height: 32px; border: 0; background: transparent; font-size: 23px; color: var(--muted); }
kbd { display: grid; place-items: center; width: 23px; height: 25px; border: 1px solid var(--line); border-radius: 4px; font: 12px var(--mono); color: #8b9586; }
.filterbar { display: flex; align-items: flex-end; gap: 16px; margin-top: 16px; }
.filterbar > label:not(.check-label) { display: grid; gap: 6px; min-width: 0; flex: 1; color: var(--muted); font-size: 11px; }
.filterbar select { min-width: 0; width: 100%; max-width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font-size: 13px; }
.check-label { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: 12px; color: var(--muted); cursor: pointer; }
.check-label input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); flex: none; }
.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 28px; font-size: 11px; }
.quick-links > span { color: var(--muted); margin-right: 2px; }
.quick-links button { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; background: #ffffff70; color: inherit; font: inherit; }
.quick-links button:hover { background: #e9f0de; border-color: #a8ba97; }
.results-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; scroll-margin-top: 24px; }
#count { font-size: 12px; color: var(--muted); }
#reset { margin-left: auto; background: transparent; border: 0; padding: 5px 0; font-size: 12px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
#active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
#active-filters button { background: #e5eddc; color: #456039; border: 0; padding: 5px 9px; border-radius: 5px; font-size: 11px; }
.search-status { margin: -4px 0 16px; color: var(--muted); font-size: 12px; }
.search-status:empty { display: none; }
.rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.row { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: white; min-height: 210px; transition: border-color .15s, box-shadow .15s; }
.row:hover, .row:focus-within { border-color: #94af76; box-shadow: 0 4px 18px #28371d09; }
.card-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 19px; font-size: 10px; line-height: 1.5; }
.category { color: var(--muted); min-width: 0; }
.badge { flex-shrink: 0; max-width: 43%; padding: 3px 7px; margin-top: -3px; border-radius: 4px; background: #edf2e7; color: #547338; font-size: 10px; }
.badge.audit, .badge.review { color: #456b86; background: #edf2f6; }
.badge.check { color: #7b5d27; background: #f5f0e4; }
.workflow-link { text-decoration: none; }
.workflow-link::after { content: ''; position: absolute; inset: 0; border-radius: 11px; }
.row h3 { font-size: 17px; line-height: 1.4; }
.row > p { margin: 10px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: #66715e; }
.card-bottom code { font: 10px var(--mono); }
.card-arrow { color: #607f44; font-size: 18px; line-height: 1; }
.body-match { font-size: 9px; line-height: 1.4; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 26px; }
.pagination button { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; background: white; padding: 8px 15px; font-size: 12px; }
.pagination span { color: var(--muted); font-size: 11px; }
.catalog-note { text-align: center; color: var(--muted); font-size: 11px; margin-top: 20px; }
.catalog-note a { display: inline-block; margin-left: 6px; color: var(--green); }
.empty { border: 1px dashed #b6c4a9; border-radius: 12px; background: #ffffff60; text-align: center; padding: 45px 24px; }
.empty p { font-size: 14px; max-width: 460px; margin: 14px auto 24px; color: var(--muted); }
.installation { padding-top: 42px; border-top: 1px solid var(--line); }
.install-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; min-width: 0; }
.install-card h3 { font-size: 22px; margin-bottom: 12px; }
.install-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.install-card pre { padding: 14px; background: #f4f6ee; border: 1px solid #e7ebdf; border-radius: 7px; margin: 20px 0 10px; font-size: 11px; }
.install-card .copy-line { margin-bottom: 14px; }
.faq { display: grid; grid-template-columns: 1fr 1.65fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { font-size: 14px; font-weight: 600; list-style-position: outside; margin-left: 18px; padding-right: 6px; }
.faq summary::marker { color: #8ca778; font-size: 12px; }
.faq p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 14px 0 0 18px; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 11px; color: var(--muted); }
footer > span { margin-right: auto; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.workflow, .policy { max-width: 820px; margin: 46px auto 64px; }
.workflow > nav:first-child { font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.workflow .eyebrow { font-size: 10px; margin-top: 30px; }
.workflow h1, .policy h1 { font-size: clamp(32px,4vw,48px); line-height: 1.12; }
.workflow .intro { max-width: none; }
.run-workflow { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 26px; margin: 32px 0; }
.run-workflow h2 { font-size: 24px; }
.run-workflow > p { font-size: 13px; color: var(--muted); }
.prompt-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.prompt-options label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.prompt-options select { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.prompt { display: block; width: 100%; resize: vertical; min-height: 140px; margin-top: 8px; padding: 16px; border: 1px solid #d3deca; border-radius: 7px; color: #38532b; background: #f5f8f0; font: 13px/1.75 var(--mono); }
.help { color: var(--muted); font-size: 11px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; font-size: 12px; }
.copy { padding: 11px 18px; border: 0; border-radius: 7px; background: var(--accent); color: #274317; font-size: 12px; font-weight: 600; }
.status { color: var(--green); font-size: 11px; }
.toc { padding: 26px 0; border-block: 1px solid var(--line); margin-bottom: 34px; }
.toc h2 { font-size: 18px; }
.toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 26px; list-style: none; padding: 0; margin-bottom: 0; font-size: 12px; }
.toc a { color: var(--green); }
#technical-instructions { font-size: 15px; line-height: 1.85; }
#technical-instructions h2 { font-size: 26px; margin: 36px 0 16px; }
#technical-instructions h3 { font-size: 19px; margin-top: 26px; }
#technical-instructions li { margin-bottom: 10px; }
#technical-instructions pre { padding: 18px; background: #eaf0e4; border-radius: 8px; }
#technical-instructions table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
#technical-instructions td, #technical-instructions th { padding: 10px 14px; border: 1px solid #c9d3c0; text-align: left; min-width: 130px; }
#technical-instructions a { color: var(--green); }
.source { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 30px; }
.related { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; }
.related li { margin-block: 10px; font-size: 13px; }
.policy p { line-height: 1.85; }
.workflow > #catalog-back { margin-top: 10px; font-size: 12px; }
.directory { margin: 46px auto 64px; }
.directory > header { max-width: 750px; margin-bottom: 32px; }
.directory h1 { font-size: clamp(32px,4vw,48px); line-height: 1.12; }
.directory .intro { max-width: none; }
.directory-topics { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 40px; }
.directory-topics ul { columns: 3 220px; list-style: none; margin: 0; padding: 0; }
.directory-topics li { break-inside: avoid; }
.directory-topics a { display: block; padding: 7px 0; color: var(--green); font-size: 12px; text-decoration: none; }
.directory-topics a:hover { text-decoration: underline; }
.directory-topics span { color: var(--muted); font: 10px var(--mono); margin-left: 4px; }
.directory-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; }
.directory-topic { border-top: 1px solid var(--line); padding-top: 24px; scroll-margin-top: 28px; }
.directory-topic h2 { font-size: 24px; }
.directory-topic > p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.directory-topic ul { list-style: none; margin: 20px 0; padding: 0; }
.directory-topic li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-block: 12px; font-size: 13px; }
.directory-topic li a { color: var(--green); }
.directory-topic li .fine { flex-shrink: 0; font-size: 10px; }
@media (max-width: 1050px) {
  .hero { gap: 30px; grid-template-columns: 1.1fr 1fr; }
  .hero h1 { font-size: 45px; }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filterbar { flex-wrap: wrap; }
  .check-label { flex-basis: 100%; min-height: 28px; }
  .faq { gap: 35px; }
}
@media (max-width: 740px) {
  .directory-list { grid-template-columns: 1fr; }
  .site-header, main { padding-inline: 24px; }
  .site-header { height: 78px; }
  .header-actions { gap: 16px; }
  .header-github { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 38px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: 46px; }
  .intro { font-size: 15px; }
  .demo-code { padding: 18px 22px; }
  .demo pre { margin-bottom: 14px; }
  .demo-note, .stats { display: none; }
  .section { margin-bottom: 44px; }
  .section-heading { align-items: flex-start; }
  h2 { font-size: 28px; }
  .installation .section-heading { flex-direction: column; gap: 14px; }
  .install-cards, .faq { grid-template-columns: 1fr; }
  .faq { gap: 20px; }
  .install-card { padding: 23px; }
  footer > span { width: 100%; margin-right: 0; }
}
@media (max-width: 480px) {
  .site-header, main { padding-inline: 18px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .site-header { gap: 12px; }
  .header-actions { gap: 12px; font-size: 11px; }
  .header-actions > .button { display: none; }
  .hero h1 { font-size: 39px; }
  .hero .eyebrow { font-size: 10px; }
  .cta { gap: 18px; }
  .cta .button { font-size: 13px; padding: 11px 15px; }
  .cta .text-link { font-size: 12px; gap: 7px; }
  .demo-top { padding: 12px 18px; }
  .demo-code { padding: 16px 18px; }
  .demo-label { font-size: 10px; margin-bottom: 12px; }
  .demo pre { font-size: 11px; }
  .catalog { padding-top: 28px; }
  .section-heading { gap: 12px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-intro { font-size: 13px; line-height: 1.7; }
  h2 { font-size: 26px; }
  .search-box input { font-size: 14px; padding: 16px; }
  .search-box kbd { display: none; }
  .search-box { padding-right: 10px; }
  .filterbar { gap: 12px; }
  .filterbar select { padding-inline: 7px; font-size: 12px; }
  .quick-links { gap: 7px; margin-bottom: 22px; }
  .quick-links > span { flex-basis: 100%; }
  .rows { grid-template-columns: 1fr; gap: 12px; }
  .row { padding: 20px; min-height: 190px; }
  .row h3 { font-size: 18px; }
  .row > p { font-size: 13px; }
  .pagination { gap: 16px; }
  .pagination button { padding: 8px 13px; }
  .catalog-note { text-align: left; }
  .prompt-options, .toc ul { grid-template-columns: 1fr; }
  .run-workflow { padding: 19px; }
  .workflow h1 { font-size: 34px; }
  footer { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
