:root {
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --ink: #1f2928;
  --muted: #6f7770;
  --line: #dcd8cc;
  --orange: #e66d3d;
  --green: #237a68;
  --blue: #3d6d87;
  --yellow: #f1c96b;
  --focus: #2f63ff;
  --error: #a44232;
  --shadow: 0 8px 28px rgba(31, 41, 40, .07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
button, input, select { font: inherit; }
button { color: inherit; }
.site-header { display: flex; align-items: center; gap: 34px; max-width: 1240px; margin: 0 auto; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--yellow); font-size: 12px; letter-spacing: .02em; }
.site-header nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.site-header nav a:hover, .site-header nav .nav-active { color: var(--ink); }
.site-header nav .nav-active { font-weight: 700; }
.header-source { margin-left: auto; color: var(--muted); font-size: 13px; }
.site-main { max-width: 1240px; margin: 0 auto; padding: 32px 28px 80px; }
.hero-store { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 28px; min-height: 420px; padding: 58px 54px; background: var(--ink); color: #fffdf8; }
.kicker { margin: 0 0 12px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hero-copy h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--yellow); font-style: normal; }
.hero-lede { max-width: 620px; margin: 26px 0 28px; color: #cbd5cc; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: #f1844e; color: #fff; }
.button-quiet { border-color: #64736d; color: #dfe8df; }
.button-quiet:hover { border-color: #fff; color: #fff; }
.hero-panel { align-self: end; padding: 22px; border-left: 1px solid #59655e; }
.panel-label, .filter-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.hero-panel .panel-label { color: var(--yellow); }
.hero-panel strong { display: block; margin: 12px 0 6px; font-size: 27px; }
.hero-panel p { margin: 0; color: #aebbb1; }
.hero-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.hero-tools span { padding: 5px 8px; border: 1px solid #59655e; color: #dfe8df; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.signal-line { display: flex; align-items: end; gap: 5px; height: 52px; margin-top: 26px; }
.signal-line span { display: block; width: 12px; background: var(--green); }
.signal-line span:nth-child(1) { height: 19px; }.signal-line span:nth-child(2) { height: 32px; }.signal-line span:nth-child(3) { height: 24px; }.signal-line span:nth-child(4) { height: 46px; background: var(--yellow); }.signal-line span:nth-child(5) { height: 31px; }.signal-line span:nth-child(6) { height: 42px; background: var(--orange); }.signal-line span:nth-child(7) { height: 29px; }.signal-line span:nth-child(8) { height: 51px; background: var(--yellow); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.stats-row div { display: flex; align-items: baseline; gap: 9px; padding: 21px 22px; border-right: 1px solid var(--line); }.stats-row div:last-child { border-right: 0; }.stats-row strong { font-size: 25px; }.stats-row span { color: var(--muted); font-size: 12px; }
.spotlight { padding: 68px 0 38px; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.section-heading h2, .directory-toolbar h2, .method-band h2, .detail-media h2, .detail-context h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }.section-heading > p { max-width: 340px; margin: 0; color: var(--muted); font-size: 13px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spotlight-item { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 14px; background: var(--surface); }.spotlight-item > img, .spotlight-item > .cover-initial { flex: 0 0 58px; width: 58px; height: 58px; }.spotlight-item img { object-fit: cover; }.spotlight-item > span:last-child { min-width: 0; }.spotlight-item strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.spotlight-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.directory-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 36px; padding-top: 44px; border-top: 1px solid var(--line); }.filters { position: sticky; top: 18px; align-self: start; }.filter-mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 13px; font-weight: 800; }.text-button { padding: 0; border: 0; background: transparent; color: var(--orange); cursor: pointer; font-size: 12px; }.filter-group { margin-bottom: 28px; }.filter-label { margin: 0 0 9px; }.filter-option { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-align: left; }.filter-option:hover, .filter-option.is-selected { background: #e8e3d7; color: var(--ink); }.filter-option.is-selected { font-weight: 700; }.filter-option em { color: #9a9e96; font-size: 11px; font-style: normal; }.filter-note { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }.filter-note strong { color: var(--ink); }.filter-note p { margin: 7px 0 0; }
.directory-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; }.directory-toolbar h2 { font-size: 30px; }.directory-toolbar p:not(.kicker) { margin: 4px 0 0; color: var(--muted); font-size: 13px; }.toolbar-controls { display: flex; gap: 9px; align-items: center; }.search-field { display: flex; align-items: center; gap: 7px; min-width: 285px; height: 39px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); }.search-field span { color: var(--muted); font-size: 19px; }.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }.search-field kbd { color: var(--muted); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }.sort-field { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }.sort-field select { height: 39px; padding: 0 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 12px; }.platform-summary { display: flex; flex-wrap: wrap; gap: 15px; margin: 23px 0 14px; color: var(--muted); font-size: 11px; }.platform-summary b { color: var(--ink); }.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.skill-card { min-width: 0; border: 1px solid var(--line); background: var(--surface); transition: transform .16s ease, box-shadow .16s ease; }.skill-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }.card-cover { position: relative; display: grid; place-items: center; aspect-ratio: 1.7; overflow: hidden; background: #e8e3d7; color: var(--green); }.card-cover img { width: 100%; height: 100%; object-fit: cover; }.cover-initial { display: grid; place-items: center; width: 100%; height: 100%; background: #dde9de; color: var(--green); font-size: 32px; font-weight: 800; }.cover-type { position: absolute; right: 9px; bottom: 8px; padding: 3px 6px; background: rgba(31, 41, 40, .8); color: #fff; font-size: 10px; }.card-body { padding: 15px; }.card-meta { display: flex; gap: 8px; overflow: hidden; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }.card-meta span + span { padding-left: 8px; border-left: 1px solid var(--line); color: var(--muted); }.skill-card h3 { min-height: 42px; margin: 8px 0 5px; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }.card-description { display: -webkit-box; height: 45px; margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.card-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: var(--muted); font-size: 11px; }.card-footer > span:first-child { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.card-metrics { display: flex; gap: 6px; color: var(--green); white-space: nowrap; }.card-metrics span { display: inline; }.muted { color: var(--muted); }.no-results { padding: 50px 0; color: var(--muted); text-align: center; }
.method-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin-top: 90px; padding: 32px 0; border-top: 1px solid var(--line); }.method-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.method-items p { display: flex; flex-direction: column; gap: 10px; margin: 0; color: var(--muted); font-size: 12px; }.method-items strong { color: var(--orange); font-size: 17px; }.method-items span { max-width: 150px; }.method-items code, .install-panel code { color: var(--green); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.market-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 44px; padding: 56px 0 34px; }.market-copy h2 { max-width: 720px; margin: 0; font-size: 36px; line-height: 1.08; }.market-copy > p:not(.kicker) { max-width: 700px; margin: 15px 0 0; color: var(--muted); line-height: 1.6; }.market-role-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; border: 1px solid var(--line); background: var(--line); }.market-role-map article { min-width: 0; padding: 16px; background: var(--surface); }.market-role-map span, .market-agent-ask > span { color: var(--orange); font: 800 9px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }.market-role-map strong { display: block; margin-top: 8px; font-size: 14px; }.market-role-map p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.market-outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }.market-outcomes span { padding: 5px 9px; border: 1px solid var(--line); background: var(--surface); color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .04em; }.market-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; }.market-links .button-quiet { border-color: var(--green); color: var(--green); }.market-links .button-quiet:hover { background: #e9f0ea; color: var(--green); }.market-text-link { color: var(--green); font-size: 12px; font-weight: 750; }.market-action-stack { display: grid; align-self: center; gap: 12px; }.market-install { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }.market-install > span { grid-column: 1 / -1; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; }.market-install code { min-width: 0; padding: 17px 14px; overflow-wrap: anywhere; color: var(--green); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }.market-install button, .market-agent-ask button { min-width: 68px; border: 0; border-left: 1px solid var(--line); background: var(--green); color: #fff; cursor: pointer; font-size: 11px; font-weight: 750; }.market-install button:hover, .market-agent-ask button:hover { background: #195f51; }.market-install button:focus-visible, .market-agent-ask button:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }.copy-install[aria-busy="true"] { cursor: wait; opacity: .78; }.copy-install[data-copy-state="error"] { background: var(--error); }.market-install-footer { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; border-top: 1px solid var(--line); }.market-install-footer small { color: var(--muted); line-height: 1.45; }.market-install-footer a { flex: 0 0 auto; color: var(--green); font-size: 11px; font-weight: 800; }.market-agent-ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--line); background: #edf3ee; }.market-agent-ask > span { grid-column: 1 / -1; padding: 11px 14px 0; }.market-agent-ask p { min-width: 0; margin: 0; padding: 10px 14px 13px; color: var(--ink); font-size: 12px; line-height: 1.5; }.market-agent-ask small { grid-column: 1 / -1; padding: 9px 14px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.45; }.market-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 8px; padding: 0; border: 1px solid var(--line); background: var(--surface); list-style: none; }.market-flow li { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }.market-flow li:last-child { border-right: 0; }.market-flow span { color: var(--orange); font-size: 11px; font-weight: 850; }.market-flow strong { display: block; margin-top: 10px; font-size: 14px; }.market-flow p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-catalog-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: end; gap: 54px; padding: 52px 0 38px; }.market-catalog-hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 68px); line-height: 1; letter-spacing: -.055em; }.market-catalog-hero > div > p:not(.kicker) { max-width: 700px; margin: 20px 0 24px; color: var(--muted); font-size: 16px; }.market-button-quiet { border-color: var(--green); color: var(--green); }.market-button-quiet:hover { background: #e9f0ea; color: var(--green); }.market-catalog-stats { border-top: 1px solid var(--line); }.market-page .directory-layout { margin-top: 48px; }.market-page .filter-note a { color: var(--green); }.market-plugin-card h3 { min-height: 0; overflow-wrap: anywhere; }.market-plugin-card .card-description { height: 63px; -webkit-line-clamp: 3; }.market-plugin-id { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 13px 0 9px; color: var(--muted); font-size: 10px; }.market-plugin-id code { min-width: 0; overflow: hidden; color: var(--ink); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }.market-plugin-proof { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 11px; color: var(--muted); font-size: 10px; }.market-plugin-proof strong { color: var(--ink); }.claim-verified { color: var(--green); font-weight: 800; }.claim-unverified { color: var(--muted); }.market-plugin-sources { min-width: 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.market-catalog-grid .install-command { margin-top: 9px; padding: 9px; border: 1px solid var(--line); background: #faf7ef; }.market-catalog-grid .install-command code { font-size: 10px; }
.market-agent-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 9px; background: #edf3ee; }.market-agent-action span { color: var(--green); font: 800 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; }.market-agent-action .card-use { flex: 0 0 auto; }
.market-card-links { display: inline-flex; flex: 0 0 auto; gap: 3px; }
.market-detail-main .detail-heading h1 { overflow-wrap: anywhere; }
.market-detail-description-en { max-width: 760px; margin: -14px 0 28px; color: var(--muted); font-size: 13px; }
.market-detail-install { display: grid; gap: 12px; }
.market-detail-share { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; margin-top: 60px; padding-top: 27px; border-top: 1px solid var(--line); }
.market-detail-share h2 { margin: 0; font-size: 27px; }
.market-detail-share p:not(.kicker) { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.market-share-tools { display: grid; min-width: 0; gap: 10px; }
.market-share-tools > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.market-share-tools code { min-width: 0; padding: 12px; overflow: hidden; color: var(--green); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.market-share-tools button { min-width: 86px; border: 0; border-left: 1px solid var(--line); background: var(--green); color: #fff; cursor: pointer; font-size: 11px; font-weight: 750; }
.market-share-tools img { display: block; width: 184px; height: 28px; }
.market-claim-note { margin-top: 12px; }
.market-detail-main .detail-context > div { min-width: 0; }
.market-related { margin-top: 60px; padding-top: 27px; border-top: 1px solid var(--line); }
.market-related .section-heading > a { color: var(--green); font-size: 12px; font-weight: 750; }
.market-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.market-related-item { display: grid; min-width: 0; gap: 7px; padding: 16px; background: var(--surface); }
.market-related-item span { color: var(--orange); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.market-related-item strong { overflow-wrap: anywhere; font-size: 13px; }
.market-related-item code { overflow: hidden; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .market-detail-share { grid-template-columns: 1fr; gap: 18px; }.market-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .market-card-links { flex-wrap: wrap; justify-content: flex-end; }.market-detail-main .detail-heading h1 { font-size: 30px; line-height: 1.08; }.market-share-tools > div { grid-template-columns: 1fr; }.market-share-tools button { min-height: 38px; border-top: 1px solid var(--line); border-left: 0; }.market-related-grid { grid-template-columns: 1fr; } }
.guide-section { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 42px; }.guide-primary h2 { max-width: 680px; margin: 0; font-size: 30px; }.guide-steps { margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }.guide-steps li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }.guide-steps strong { color: var(--ink); }.guide-steps span { color: var(--muted); line-height: 1.55; }.guide-steps a, .guide-aside a { color: var(--green); }.guide-aside { display: flex; flex-direction: column; align-self: start; border-top: 2px solid var(--ink); }.guide-aside .filter-label { padding: 15px 0 9px; }.guide-aside a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 750; }.guide-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border: 1px solid var(--line); background: var(--surface); }.guide-rules p { min-width: 0; margin: 0; padding: 18px; border-right: 1px solid var(--line); }.guide-rules p:last-child { border-right: 0; }.guide-rules strong, .guide-rules span { display: block; }.guide-rules span { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.agent-handoff { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }.agent-handoff-copy { min-width: 0; }.agent-handoff-copy .filter-label { margin-bottom: 6px; color: var(--orange); }.agent-handoff-copy strong, .agent-handoff-copy span, .agent-handoff-copy code { display: block; }.agent-handoff-copy strong { font-size: 15px; }.agent-handoff-copy span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }.agent-handoff-copy code { margin-top: 10px; overflow: hidden; color: var(--green); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }.agent-handoff-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 9px; min-width: 132px; }.agent-handoff-actions a { color: var(--green); font-size: 11px; font-weight: 800; text-align: center; }.agent-handoff-button { min-width: 132px; min-height: 40px; padding: 0 14px; border: 1px solid var(--green); background: var(--green); color: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }.agent-handoff-button:hover { border-color: var(--ink); background: var(--ink); }.agent-handoff-button:active { transform: translateY(1px); }.agent-handoff-button:focus-visible, .agent-handoff-actions a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }.agent-handoff-button:disabled { cursor: wait; }.agent-handoff-button[data-copy-state="error"] { border-color: var(--error); background: var(--error); }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }.site-footer strong { color: var(--ink); }.site-footer p { max-width: 260px; margin: 6px 0 0; }.site-footer > div:nth-child(2) { display: flex; gap: 16px; align-items: start; }.site-footer a:hover { color: var(--orange); }.footer-note { justify-self: end; text-align: right; }
.detail-main { padding-top: 24px; }.breadcrumbs { display: flex; gap: 8px; margin-bottom: 34px; color: var(--muted); font-size: 12px; }.detail-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }.detail-heading h1 { max-width: 850px; margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -.05em; }.detail-author { margin: 14px 0 0; color: var(--muted); }.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 42px; padding-top: 38px; }.detail-primary, .detail-sidebar { min-width: 0; }.detail-description { max-width: 760px; margin: 0 0 25px; font-size: 19px; line-height: 1.5; }.install-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; min-width: 0; padding: 15px 17px; border: 1px solid var(--line); background: var(--surface); }.install-panel .filter-label { min-width: 0; }.install-panel .detail-footnote { grid-column: 1 / -1; margin: 0; }.detail-media { margin-top: 55px; }.detail-media .section-heading > span { color: var(--muted); font-size: 11px; }.media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.media-item { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--surface); }.media-item > a, .media-frame { display: block; aspect-ratio: 1.35; overflow: hidden; background: #e8e3d7; }.media-item img, .media-video-player { width: 100%; height: 100%; border: 0; object-fit: cover; }.media-item figcaption { display: flex; flex-direction: column; gap: 4px; padding: 8px 9px; color: var(--muted); font-size: 10px; line-height: 1.4; }.media-item figcaption a { color: var(--green); font-weight: 700; }.media-source-link { display: grid !important; place-items: center; padding: 16px; color: var(--green); font-size: 12px; font-weight: 750; text-align: center; }.empty-media { padding: 44px 0; border-top: 1px solid var(--line); color: var(--muted); }.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.metric-grid div { display: flex; flex-direction: column; gap: 3px; padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }.metric-grid strong { font-size: 18px; }.metric-grid span { color: var(--muted); font-size: 10px; }.evidence-panel { margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); }.evidence-panel dl { margin: 12px 0 0; }.evidence-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 11px; }.evidence-panel dt { color: var(--muted); }.evidence-panel dd { margin: 0; text-align: right; }.break-link { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--green); font-size: 12px; }.detail-context { display: grid; grid-template-columns: 220px 1fr; gap: 36px; margin-top: 60px; padding-top: 27px; border-top: 1px solid var(--line); }.detail-context > p { max-width: 700px; margin: 0; color: var(--muted); }.detail-context ul { margin: 0; padding-left: 18px; }.detail-context li { margin-bottom: 7px; font-size: 12px; }.detail-footnote { margin: 60px 0 0; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .hero-store { grid-template-columns: 1fr; padding: 40px 30px; }.hero-panel { align-self: auto; padding: 20px 0 0; border-top: 1px solid #59655e; border-left: 0; }.market-band { grid-template-columns: 1fr; }.guide-section { grid-template-columns: 1fr; }.guide-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }.guide-rules p:nth-child(2) { border-right: 0; }.guide-rules p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.directory-layout { grid-template-columns: 1fr; }.filters { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }.filter-mobile-head, .filter-note { grid-column: 1 / -1; margin: 0; }.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.method-band { grid-template-columns: 1fr; }.detail-grid { grid-template-columns: 1fr; }.detail-sidebar { order: -1; }.detail-context { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 640px) { .site-header { flex-wrap: wrap; gap: 18px; padding: 16px 18px; }.site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; }.header-source { margin-left: auto; }.site-main { padding: 18px 18px 55px; }.hero-store { min-height: 0; gap: 18px; padding: 27px 23px 24px; }.hero-copy h1 { font-size: 40px; }.hero-lede { margin: 16px 0 19px; font-size: 14px; }.hero-panel { padding-top: 15px; }.hero-panel strong { margin: 8px 0 4px; font-size: 23px; }.signal-line { display: none; }.stats-row { grid-template-columns: repeat(2, 1fr); }.stats-row div { min-width: 0; flex-wrap: wrap; gap: 3px 6px; padding: 16px 12px; }.stats-row strong { font-size: 22px; overflow-wrap: anywhere; }.stats-row span { font-size: 11px; }.stats-row div:nth-child(2) { border-right: 0; }.stats-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.market-band { gap: 28px; padding: 42px 0; }.market-copy h2 { font-size: 29px; }.market-links { align-items: stretch; flex-direction: column; }.market-links .button { width: 100%; }.guide-section { gap: 36px; }.guide-primary h2 { font-size: 26px; }.agent-handoff { grid-template-columns: 1fr; }.agent-handoff-actions { flex-direction: row; justify-content: start; align-items: center; }.guide-steps li { grid-template-columns: 1fr; gap: 7px; }.guide-rules { grid-template-columns: 1fr; }.guide-rules p { border-right: 0; border-bottom: 1px solid var(--line); }.guide-rules p:last-child { border-bottom: 0; }.spotlight { padding-top: 48px; }.section-heading, .directory-toolbar { align-items: start; flex-direction: column; }.spotlight-grid { grid-template-columns: 1fr; }.filters { display: block; }.filter-group { margin-bottom: 20px; }.toolbar-controls { flex-direction: column; align-items: stretch; width: 100%; }.search-field { min-width: 0; }.sort-field { justify-content: space-between; }.sort-field select { flex: 1; }.catalog-grid { grid-template-columns: 1fr; }.method-items { grid-template-columns: 1fr; }.site-footer { grid-template-columns: 1fr; padding: 24px 18px; }.site-footer > div:nth-child(2) { flex-wrap: wrap; }.footer-note { justify-self: start; text-align: left; }.detail-heading { align-items: start; flex-direction: column; }.detail-heading h1 { font-size: 39px; }.detail-grid { gap: 27px; }.install-panel { grid-template-columns: 1fr; align-items: start; }.media-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .market-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }.market-flow li:nth-child(2) { border-right: 0; }.market-flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .market-band { padding-bottom: 28px; }.market-install-footer { align-items: start; flex-direction: column; gap: 8px; }.market-flow { grid-template-columns: 1fr; }.market-flow li, .market-flow li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }.market-flow li:last-child { border-bottom: 0; } }

/* The home directory is a visual shelf, while the hot tables stay comparison-first. */
.hot-signals { padding: 62px 0 28px; }
.hot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.signal-panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.signal-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 19px 20px 15px; border-bottom: 1px solid var(--line); }
.signal-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.signal-heading > p { max-width: 210px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: right; }
.signal-scroll { overflow-x: auto; }
.signal-table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; }
.signal-table th, .signal-table td { padding: 12px 13px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 12px; }
.signal-table th { color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.signal-table tr:last-child td { border-bottom: 0; }
.signal-rank { width: 42px; color: var(--orange); font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.signal-title { display: block; overflow: hidden; color: var(--ink); font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.signal-title:hover { color: var(--orange); }
.signal-table small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.signal-count { width: 104px; white-space: nowrap; }
.signal-count strong { color: var(--green); font-size: 13px; }
.signal-metrics { min-width: 230px; }
.signal-metrics span { display: block; color: var(--green); line-height: 1.45; }
.signal-source { min-width: 116px; }
.signal-source a { color: var(--green); font-weight: 750; white-space: nowrap; }
.signal-action { width: 63px; text-align: right; }
.table-action, .card-use, .card-view { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 9px; border: 1px solid var(--line); background: transparent; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 750; white-space: nowrap; }
.table-action:hover, .card-use:hover, .card-use:focus-visible, .card-view:hover { border-color: var(--green); background: #e9f0ea; color: var(--green); }
.signal-empty { padding: 32px 15px !important; color: var(--muted); text-align: center; }
.card-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.card-view { border-color: transparent; color: var(--muted); }
.card-use { border-color: var(--green); transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease; }
.card-use:hover, .card-use:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(35, 122, 104, .2); }
.card-use:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.card-use:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(35, 122, 104, .14); }
@media (prefers-reduced-motion: reduce) { .card-use { transition: none; }.card-use:hover, .card-use:focus-visible, .card-use:active { transform: none; } }
.install-command { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; }
.install-command code { min-width: 0; overflow: hidden; color: var(--green); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.install-command .copy-install { flex: 0 0 auto; min-height: 30px; padding: 0 10px; border: 1px solid var(--green); background: var(--green); color: #fff; cursor: pointer; font-size: 11px; font-weight: 750; }
.source-entry { color: var(--green); font-size: 12px; }
.catalog-grid { display: block; column-width: 250px; column-gap: 14px; }
.catalog-grid .skill-card { display: inline-block; width: 100%; margin: 0 0 14px; break-inside: avoid; }
.card-cover { aspect-ratio: 1.55; }
.hero-store { min-height: 330px; }
@media (max-width: 900px) { .hot-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hot-signals { padding-top: 48px; }.signal-heading { align-items: start; flex-direction: column; }.signal-heading > p { max-width: none; text-align: left; }.catalog-grid { column-width: 100%; }.hero-store { min-height: 0; } }
.table-main { padding-top: 24px; }.page-intro { max-width: 760px; padding: 34px 0 28px; border-bottom: 1px solid var(--line); }.page-intro h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.05em; }.page-intro p:not(.kicker) { margin: 18px 0 0; color: var(--muted); font-size: 16px; }.table-section, .category-shelf { margin-top: 36px; }.table-caption { margin-bottom: 12px; color: var(--muted); font-size: 12px; }.table-caption strong { color: var(--ink); font-size: 18px; }.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }.data-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 12px; }.data-table th { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }.data-table tr:last-child td { border-bottom: 0; }.data-table td:first-child { white-space: nowrap; color: var(--muted); }.data-table a { color: var(--green); }.category-shelf .section-heading > span { color: var(--muted); font-size: 12px; }.category-shelf .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.timeline-intro { max-width: 940px; }
.timeline-intro .timeline-method { max-width: 820px; padding-left: 16px; border-left: 2px solid var(--orange); font-size: 12px !important; line-height: 1.55; }
.timeline-browser { margin-top: 28px; border: 1px solid var(--line); background: var(--surface); }
.timeline-sort { display: inline-flex; margin: -1px 0 0 -1px; border: 1px solid var(--ink); background: var(--surface); }
.timeline-sort button { min-height: 42px; padding: 0 20px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 750; }
.timeline-sort button:last-child { border-right: 0; }
.timeline-sort button:hover, .timeline-sort button.is-selected { background: var(--ink); color: var(--surface); }
.timeline-sort button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.timeline-filters { display: grid; grid-template-columns: minmax(230px, 2fr) repeat(3, minmax(130px, 1fr)) auto; gap: 12px; padding: 18px; border-top: 1px solid var(--line); }
.timeline-filters > label:not(.search-field):not(.timeline-check) { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.timeline-filters select { width: 100%; min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 12px; letter-spacing: 0; text-transform: none; }
.timeline-search { min-width: 0; min-height: 42px; align-self: end; background: var(--paper); }
.timeline-check { display: flex; align-items: center; align-self: end; gap: 8px; min-height: 42px; color: var(--ink); font-size: 11px; font-weight: 750; white-space: nowrap; }
.timeline-check input { width: 16px; height: 16px; accent-color: var(--green); }
.timeline-status { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-status p { margin: 0; }
.timeline-status strong { color: var(--ink); font-size: 14px; }
.timeline-trending { margin-top: 38px; }
.timeline-trending .section-heading > span { max-width: 300px; color: var(--muted); font-size: 11px; text-align: right; }
.timeline-trend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.timeline-trend-card { min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.timeline-trend-card > p { margin: 0 0 8px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.timeline-trend-card h3 { min-height: 38px; margin: 0 0 14px; font-size: 14px; line-height: 1.35; }
.timeline-trend-card h3 a { display: -webkit-box; overflow: hidden; color: var(--ink); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.timeline-trend-card h3 a:hover { color: var(--orange); }
.timeline-empty-trend { grid-column: 1 / -1; margin: 0; padding: 22px; border: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.timeline-results { margin-top: 30px; }
.timeline-table { min-width: 1060px; table-layout: fixed; }
.timeline-table thead th { padding: 0; }
.timeline-table-sort { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 12px 14px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-weight: 800; letter-spacing: inherit; text-align: left; text-transform: inherit; }
.timeline-table-sort::after { content: "↕"; color: var(--muted); font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-table-sort:hover { background: var(--paper); color: var(--green); }
.timeline-table-sort:active { transform: translateY(1px); }
.timeline-table-sort:focus-visible { position: relative; outline: 3px solid var(--orange); outline-offset: -3px; }
.timeline-table-sort.is-selected { background: var(--paper); color: var(--ink); }
.timeline-table-sort.is-selected[data-sort-direction="asc"]::after { content: "↑"; color: var(--green); }
.timeline-table-sort.is-selected[data-sort-direction="desc"]::after { content: "↓"; color: var(--green); }
.timeline-table th:nth-child(1), .timeline-table td:nth-child(1) { width: 70px; }
.timeline-table th:nth-child(2), .timeline-table td:nth-child(2) { width: 128px; }
.timeline-table th:nth-child(3), .timeline-table td:nth-child(3) { width: 118px; }
.timeline-table th:nth-child(4), .timeline-table td:nth-child(4) { width: 34%; }
.timeline-table th:nth-child(5), .timeline-table td:nth-child(5) { width: 260px; }
.timeline-table td:nth-child(4) > a { display: block; overflow: hidden; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.timeline-table td:nth-child(4) > small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.timeline-rank { color: var(--orange) !important; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-trend-signal { display: grid; gap: 2px; }
.timeline-trend-signal strong { color: var(--green); font-size: 12px; }
.timeline-trend-signal > span { color: var(--ink); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-trend-signal small, .timeline-no-trend { color: var(--muted); font-size: 10px; }
.timeline-more { display: block; min-height: 40px; margin: 16px auto 0; padding: 0 22px; border: 1px solid var(--green); background: transparent; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 750; }
.timeline-more:hover { background: var(--green); color: #fff; }
.timeline-more[hidden] { display: none; }

@media (max-width: 980px) {
  .timeline-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-search { grid-column: 1 / -1; }
  .timeline-trend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .timeline-sort { display: grid; grid-template-columns: repeat(3, 1fr); width: calc(100% + 2px); }
  .timeline-sort button { padding: 0 10px; }
  .timeline-filters { grid-template-columns: 1fr; padding: 14px; }
  .timeline-search { grid-column: auto; }
  .timeline-status { align-items: start; flex-direction: column; }
  .timeline-trending .section-heading > span { max-width: none; text-align: left; }
  .timeline-trend-grid { grid-template-columns: 1fr; }
}

.fork-page .fork-intro { max-width: 880px; }
.fork-page .fork-intro h1 { font-size: 48px; letter-spacing: 0; overflow-wrap: anywhere; }
.fork-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); background: var(--surface); }
.fork-stats div { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--line); }
.fork-stats div:last-child { border-right: 0; }
.fork-stats strong, .fork-stats span { display: block; letter-spacing: 0; }
.fork-stats strong { font-size: 24px; }
.fork-stats span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.fork-browser { margin-top: 34px; }
.fork-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.fork-toolbar .search-field { flex: 1 1 340px; max-width: 520px; }
.fork-modes { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.fork-modes button { min-height: 38px; padding: 0 13px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.fork-modes button:last-child { border-right: 0; }
.fork-modes button:hover, .fork-modes button.is-selected { background: var(--ink); color: var(--surface); }
.fork-table { min-width: 980px; table-layout: fixed; }
.fork-table th:nth-child(1), .fork-table td:nth-child(1) { width: 72px; }
.fork-table th:nth-child(2), .fork-table td:nth-child(2) { width: 42%; }
.fork-table th:nth-child(3), .fork-table td:nth-child(3), .fork-table th:nth-child(4), .fork-table td:nth-child(4), .fork-table th:nth-child(5), .fork-table td:nth-child(5), .fork-table th:nth-child(6), .fork-table td:nth-child(6) { width: 78px; }
.fork-table th:nth-child(7), .fork-table td:nth-child(7) { width: 86px; }
.fork-table th:nth-child(8), .fork-table td:nth-child(8) { width: 92px; }
.fork-table td:nth-child(2) { overflow-wrap: anywhere; }
.fork-table td:nth-child(2) > a { display: block; font-weight: 750; }
.fork-table td:nth-child(2) small { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--muted); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fork-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; letter-spacing: 0; }
.fork-status::before { width: 7px; height: 7px; background: var(--muted); content: ""; }
.fork-status-audited { color: var(--green); }
.fork-status-audited::before { background: var(--green); }
.fork-status-pending::before { background: var(--yellow); }
.fork-inspect, .fork-pagination button { min-height: 30px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: var(--green); cursor: pointer; font-size: 11px; font-weight: 750; letter-spacing: 0; }
.fork-inspect:hover, .fork-pagination button:hover:not(:disabled) { border-color: var(--green); background: #e9f0ea; }
.fork-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.fork-pagination span { min-width: 76px; color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.fork-pagination button:disabled { cursor: default; opacity: .4; }
.fork-dossier { scroll-margin-top: 20px; margin-top: 48px; padding-top: 30px; border-top: 2px solid var(--ink); }
.fork-dossier-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.fork-dossier h2 { max-width: 800px; margin: 0; font-size: 30px; letter-spacing: 0; overflow-wrap: anywhere; }
.fork-summary { max-width: 900px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.fork-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; border: 1px solid var(--line); background: var(--surface); }
.fork-facts div { min-width: 0; padding: 15px 16px; border-right: 1px solid var(--line); }
.fork-facts div:last-child { border-right: 0; }
.fork-facts dt { color: var(--muted); font-size: 10px; letter-spacing: 0; text-transform: uppercase; }
.fork-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 750; }
.fork-evidence-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 28px; margin-top: 28px; }
.fork-evidence-grid > section { min-width: 0; }
.fork-evidence-grid h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: 0; }
.fork-evidence-grid .data-table { min-width: 620px; }
.fork-commits { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.fork-commits li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fork-commits a { min-width: 0; overflow-wrap: anywhere; }
.fork-commits time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.fork-empty { margin: 0; padding: 18px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
@media (max-width: 800px) {
  .fork-page .fork-intro h1 { font-size: 36px; }
  .fork-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fork-stats div:nth-child(2) { border-right: 0; }
  .fork-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fork-toolbar { align-items: stretch; flex-direction: column; }
  .fork-toolbar .search-field { flex-basis: auto; max-width: none; }
  .fork-modes { overflow-x: auto; }
  .fork-modes button { flex: 0 0 auto; }
  .fork-dossier-head { align-items: start; flex-direction: column; }
  .fork-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fork-facts div:nth-child(2) { border-right: 0; }
  .fork-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fork-evidence-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .market-catalog-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header nav { justify-content: flex-start; gap: 18px; overflow-x: auto; padding-bottom: 3px; }
  .site-header nav a { flex: 0 0 auto; }
  .market-role-map { grid-template-columns: 1fr; }
  .market-catalog-hero { gap: 28px; padding: 32px 0 24px; }
  .market-catalog-hero h1 { font-size: 40px; }
}

.hero-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 660px; margin-top: 30px; border: 1px solid #64736d; background: #fffdf8; }
.hero-search input { min-width: 0; min-height: 48px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button { min-width: 128px; border: 0; border-left: 1px solid #64736d; background: var(--orange); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.hero-search button:hover { background: #f1844e; }
.hero-search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-copy .hero-actions { margin-top: 12px; }
.market-guide[data-market-lang="zh"] [data-copy-lang="en"],
.market-guide[data-market-lang="en"] [data-copy-lang="zh"] { display: none !important; }
.market-install-guide { display: block; padding: 58px 0 44px; }
.market-guide-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.market-guide-head h2, .market-demo-head h2 { margin: 0; font-size: 36px; line-height: 1.08; }
.market-language { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--ink); background: var(--surface); }
.market-language button { min-width: 62px; min-height: 38px; padding: 0 13px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.market-language button:last-child { border-right: 0; }
.market-language button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.market-language button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.install-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.install-route { display: grid; align-content: start; min-width: 0; min-height: 330px; padding: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.install-route-agent { background: #edf3ee; }
.install-route-label { display: flex; align-items: center; gap: 12px; }
.install-route-label > span { display: grid; place-items: center; width: 32px; height: 32px; background: var(--orange); color: #fff; font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.install-route-label strong { font-size: 21px; }
.install-route > p { min-height: 48px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; }
.route-copy, .route-prompt { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 92px; border: 1px solid var(--line); background: var(--paper); }
.route-copy code { min-width: 0; padding: 18px; overflow-wrap: anywhere; color: var(--green); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.route-prompt p { min-width: 0; margin: 0; padding: 15px 18px; color: var(--ink); font-size: 12px; line-height: 1.55; }
.route-copy button, .route-prompt button { min-width: 110px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: var(--green); color: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
.route-copy button:hover, .route-prompt button:hover { background: #195f51; }
.route-copy button:focus-visible, .route-prompt button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.route-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: auto 0 0; padding: 18px 0 0; list-style: none; counter-reset: route-step; }
.route-steps li { min-width: 0; padding: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.4; counter-increment: route-step; }
.route-steps li::before { display: block; margin-bottom: 5px; color: var(--orange); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; content: "0" counter(route-step); }
.market-install-guide .market-links { margin-top: 18px; }
.market-install-guide .market-links .button { color: #fff; }
.market-demo { padding: 48px 0 60px; border-top: 1px solid var(--line); }
.market-demo-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.market-demo-head > p { max-width: 330px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.chat-frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.chat-frame { min-width: 0; min-height: 350px; margin: 0; border: 1px solid var(--ink); background: var(--surface); }
.chat-frame-bar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 14px; border-bottom: 1px solid var(--ink); background: var(--ink); color: var(--surface); }
.chat-frame-bar span, .chat-frame-bar strong { font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.chat-frame-bar span { color: var(--yellow); }
.chat-frame-body { display: grid; align-content: start; gap: 10px; padding: 18px; }
.chat-role { margin: 0; color: var(--muted); font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.chat-message { margin: 0; padding: 13px 14px; font-size: 12px; line-height: 1.55; }
.chat-message-user { margin-left: 28px; background: var(--ink); color: var(--surface); }
.chat-message-agent { margin-right: 20px; border-left: 3px solid var(--green); background: #edf3ee; }
.chat-frame h3 { margin: 0; font-size: 24px; }
.chat-description { min-height: 54px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.chat-proof { margin: 0; border-top: 1px solid var(--line); }
.chat-proof div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.chat-proof dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.chat-proof dd { margin: 0; overflow-wrap: anywhere; color: var(--green); font: 10px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.chat-command { margin: 0; padding: 12px; overflow-wrap: anywhere; background: #f0ece2; color: var(--green); font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.chat-status { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.chat-status > span[aria-hidden="true"] { width: 8px; height: 8px; background: var(--yellow); }
.chat-status-ready > span[aria-hidden="true"] { background: var(--green); }
@media (max-width: 1100px) {
  .chat-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .install-route-grid { grid-template-columns: 1fr; }
  .install-route { min-height: 0; }
  .chat-frame { min-height: 0; }
}
@media (max-width: 640px) {
  .market-guide-head, .market-demo-head { align-items: start; flex-direction: column; }
  .market-guide-head h2, .market-demo-head h2 { font-size: 29px; }
  .market-demo-head > p { max-width: none; text-align: left; }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search button { min-height: 44px; border-top: 1px solid #64736d; border-left: 0; }
  .route-copy, .route-prompt { grid-template-columns: 1fr; }
  .route-copy button, .route-prompt button { min-height: 44px; border-top: 1px solid var(--line); border-left: 0; }
  .route-steps { grid-template-columns: 1fr; }
  .route-steps li { border-top: 1px solid var(--line); border-left: 0; }
  .chat-frames { grid-template-columns: 1fr; }
}
