:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e4d8;
  --surface: #fffdf7;
  --ink: #111827;
  --muted: #596274;
  --line: #c9ced6;
  --blue: #155eef;
  --blue-dark: #0b3ca8;
  --lime: #d8ff52;
  --orange: #ff6338;
  --shadow: 8px 8px 0 #111827;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 62%, var(--lime) 62% 82%, var(--orange) 82%);
  content: "";
}

a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
button { color: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--ink);
  background: rgba(243, 240, 232, .94);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(243, 240, 232, .985); box-shadow: 0 5px 0 rgba(17, 24, 39, .08); }

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand::before {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 9px;
  border: 2px solid var(--ink);
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
  content: "";
  transform: translateY(1px);
}

.site-header nav ul,
.site-footer ul,
.tag-list,
.proof-strip,
.value-grid ul,
.limit-note ul,
.check-list,
.more-collections ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav ul { display: flex; align-items: center; gap: 26px; }
.site-header nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-upload { display: inline-flex; min-height: 42px; padding: 6px 12px; align-items: center; border: 1px solid var(--ink); background: var(--lime); cursor: pointer; font-weight: 900; gap: 8px; }
.nav-upload small { color: var(--blue-dark); font-size: 9px; letter-spacing: .04em; }
.nav-upload:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.nav-toggle { display: none; border: 1px solid var(--ink); background: var(--lime); font-weight: 800; }

main { overflow: hidden; }
.hero,
.section,
.detail-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  min-height: 670px;
  padding: 84px 0 74px;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.detail-hero h1,
.collection-hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "PingFang SC", sans-serif;
  font-size: clamp(58px, 7.7vw, 112px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .94;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
  text-decoration: underline 7px var(--lime);
  text-underline-offset: 7px;
}
.hero-ai { display: inline-block; margin-right: -.12em; margin-left: .1em; letter-spacing: .12em; }

.hero-lead {
  max-width: 760px;
  margin: 34px 0 0;
  color: #30394a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button.primary { color: white; background: var(--blue); }
.button.secondary { background: var(--surface); }
.button.ghost { background: transparent; }
.button.full { width: 100%; }

.proof-strip {
  display: grid;
  max-width: 650px;
  margin-top: 44px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.proof-strip li { padding: 18px 18px 18px 0; border-right: 1px solid var(--ink); }
.proof-strip li + li { padding-left: 18px; }
.proof-strip li:last-child { border-right: 0; }
.proof-strip strong { display: block; font-size: 24px; line-height: 1.1; }
.proof-strip span { color: var(--muted); font-size: 13px; }

.terminal-card {
  position: relative;
  padding: 0 24px 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #e9eef9;
  box-shadow: 12px 12px 0 var(--lime);
  transform: rotate(1.2deg);
}

.terminal-card::before {
  position: absolute;
  width: 78px;
  height: 22px;
  top: -14px;
  right: 34px;
  background: rgba(255, 99, 56, .85);
  content: "";
  transform: rotate(-4deg);
}

.terminal-top {
  display: flex;
  margin: 0 -24px 22px;
  padding: 12px 16px;
  justify-content: space-between;
  border-bottom: 1px solid #4a5568;
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: .1em;
}

.terminal-card > p { color: #c8d0df; }
.terminal-card .terminal-promise { margin: 24px 0 8px; color: white; font-size: 23px; font-weight: 900; letter-spacing: -.025em; line-height: 1.25; }
.terminal-card pre,
.install-code pre,
.install-steps pre {
  overflow-x: auto;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #3c4658;
  background: #080d17;
  color: #d9ff67;
  font-size: 13px;
  line-height: 1.8;
}

.status-row { padding: 14px 0; border-top: 1px solid #3c4658; font-size: 13px; font-weight: 800; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216,255,82,.12); }
.terminal-card .terminal-note { margin: 4px 0 0; color: #8f9aae; font-size: 12px; }
.terminal-metrics { display: grid; margin: 4px 0 18px; border-top: 1px solid #3c4658; }
.terminal-metrics span { padding: 9px 0; border-bottom: 1px solid #3c4658; color: #dfe5ef; font-size: 12px; font-weight: 800; }
.terminal-metrics span::before { margin-right: 8px; color: var(--lime); content: "✓"; }

.section { padding: 100px 0; border-top: 1px solid var(--ink); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "PingFang SC", sans-serif;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.split-heading { display: flex; max-width: none; justify-content: space-between; gap: 60px; }
.split-heading > p { max-width: 440px; }

.concept-answer { max-width: 540px !important; color: #30394a !important; font-size: 18px !important; line-height: 1.75; }
.concept-answer strong { color: var(--ink); }
.chain-label { margin: 0 0 10px; color: var(--blue); font-family: Consolas, monospace; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.concept-chain { display: flex; overflow-x: auto; padding: 0 0 18px; align-items: center; gap: 12px; white-space: nowrap; }
.concept-chain span { padding: 10px 14px; border: 1px solid var(--ink); background: var(--surface); font-size: 13px; font-weight: 900; }
.concept-chain span:nth-of-type(3) { background: var(--lime); }
.concept-chain i { color: var(--blue); font-style: normal; font-weight: 900; }
.concept-pillars { margin-top: 18px; }
.concept-pillars article { min-height: 220px; }
.concept-pillars p { color: var(--muted); }
.concept-detail { display: grid; margin-top: 34px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: 1.25fr .75fr; }
.concept-detail > div { padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,253,247,.72); }
.concept-detail > div:last-child { background: var(--paper-deep); }
.concept-detail h3 { margin: 0 0 14px; font-size: 21px; }
.concept-detail p, .concept-detail li { color: var(--muted); }
.concept-detail ul { margin: 0; padding-left: 20px; }
.concept-detail li + li { margin-top: 9px; }
.concept-faq { margin-top: 34px; }

.category-grid { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(4, 1fr); }
.category-card { min-height: 230px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,253,247,.62); transition: background .2s ease; }
.category-card:hover { background: var(--lime); }
.category-card > span { color: var(--blue); font-family: Consolas, monospace; font-size: 12px; font-weight: 900; }
.category-card h3 { margin: 42px 0 14px; font-size: 21px; line-height: 1.25; }
.category-title { margin: 42px 0 14px; font-size: 21px; font-weight: 800; line-height: 1.25; }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; }
.category-card .category-title { color: var(--ink); }

.library-tools { display: grid; margin-bottom: 20px; grid-template-columns: minmax(240px, 360px) 1fr; align-items: end; gap: 22px; }
.search-box { display: grid; gap: 7px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.search-box input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; outline: 0; background: var(--surface); }
.search-box input:focus { border-color: var(--blue); box-shadow: 3px 3px 0 var(--blue); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { padding: 7px 11px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.filter-chip:is(a) { color: var(--ink); text-decoration: none; }
.filter-chip:hover, .filter-chip.is-active { color: white; background: var(--ink); }
.result-count { margin: 24px 0 12px; color: var(--muted); font-size: 13px; }

.skill-grid { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(3, 1fr); }
.skill-card { display: flex; min-height: 360px; padding: 24px; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); transition: transform .18s ease, box-shadow .18s ease; }
.skill-card:hover { z-index: 2; box-shadow: 7px 7px 0 var(--blue); transform: translate(-3px, -3px); }
.skill-card[hidden] { display: none; }
.card-kicker { display: flex; justify-content: space-between; color: var(--blue); font-family: Consolas, monospace; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.skill-card h3 { margin: 32px 0 14px; font-size: 24px; letter-spacing: -.025em; line-height: 1.25; }
.skill-card h3 a { text-decoration-thickness: 1px; }
.skill-card > p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { padding: 4px 8px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; font-weight: 700; }
.card-foot { display: flex; margin-top: auto; padding-top: 22px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 11px; }
.source-metrics { display: grid; gap: 3px; }
.source-metrics small { overflow: hidden; max-width: 180px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .03em; text-overflow: ellipsis; white-space: nowrap; }
.source-metrics > span { color: var(--ink); font-weight: 800; }
.text-action { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 900; }
.empty-state { padding: 40px; border: 1px solid var(--ink); text-align: center; }

.install { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.install-copy h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(40px, 5vw, 70px); line-height: 1; }
.install-copy > p:last-child { color: var(--muted); font-size: 17px; }
.install-links { display: grid; grid-template-columns: repeat(2, 1fr); }
.install-links article { min-height: 280px; padding: 28px; border: 1px solid var(--ink); background: var(--surface); transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.install-links article:nth-child(4n + 2), .install-links article:nth-child(4n + 3) { background: var(--paper-deep); }
.install-links article:nth-child(even) { border-left: 0; }
.install-links article:nth-child(n + 3) { border-top: 0; }
.install-links article:hover, .install-links article:focus-within { z-index: 2; background: var(--lime); box-shadow: 6px 6px 0 var(--blue); transform: translate(-2px, -2px); }
.install-links span { font-family: Impact, sans-serif; font-size: 58px; color: var(--blue); }
.install-links h3 { margin: 30px 0 12px; font-size: 23px; }
.install-title { margin: 30px 0 12px; font-size: 23px; font-weight: 800; line-height: 1.3; }
.install-links p { color: var(--muted); }
.install-links .install-title { color: var(--ink); }

.policy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.policy h2 { margin: 0; font-family: Impact, sans-serif; font-size: clamp(38px, 4.8vw, 64px); line-height: 1; }
.policy ol { margin: 0; padding: 0; list-style: none; counter-reset: policy; }
.policy li { display: grid; padding: 20px 0; border-top: 1px solid var(--ink); grid-template-columns: 180px 1fr; gap: 24px; }
.policy li:last-child { border-bottom: 1px solid var(--ink); }
.policy li strong { font-size: 17px; }
.policy li span { color: var(--muted); }

.site-footer { margin-top: 80px; padding: 60px max(20px, calc((100% - var(--max))/2)) 26px; border-top: 2px solid var(--ink); background: var(--ink); color: #e9eef9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 70px; }
.site-footer h3 { margin: 0; color: white; font-size: 18px; letter-spacing: -.01em; }
.site-footer p, .site-footer li { color: #9ea9ba; font-size: 13px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--lime); }
.machine-endpoints { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.footer-record { display: flex; margin: 42px 0 0; padding-top: 22px; align-items: center; justify-content: center; border-top: 1px solid #344054; color: #9ea9ba; text-align: center; flex-wrap: wrap; }
.footer-record a { color: #9ea9ba; }

.community-dialog { width: min(calc(100% - 36px), 600px); max-width: none; padding: 0; border: 2px solid var(--ink); border-radius: 0; background: var(--surface); color: var(--ink); box-shadow: 12px 12px 0 var(--lime); }
.community-dialog::backdrop { background: rgba(17, 24, 39, .76); backdrop-filter: blur(4px); }
.community-dialog[open] { animation: community-dialog-in .18s ease-out; }
.community-dialog-close { position: absolute; top: 14px; right: 14px; z-index: 1; min-height: 40px; padding: 7px 11px; border: 1px solid var(--ink); background: var(--lime); cursor: pointer; font-size: 12px; font-weight: 900; }
.community-dialog-close:hover, .community-dialog-close:focus-visible { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.community-dialog-body { padding: 34px 38px 30px; text-align: center; }
.community-dialog-body .eyebrow { margin: 0 86px 8px; }
.community-dialog-body h2 { margin: 0; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.04em; line-height: 1.05; }
.community-dialog-body > p:not(.eyebrow):not(.community-dialog-note) { margin: 14px auto 18px; color: var(--muted); }
.community-dialog-body img { display: block; width: min(100%, 450px); height: auto; margin: 0 auto; border: 1px solid var(--line); background: white; }
.community-dialog-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
@keyframes community-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.detail-shell { padding-top: 28px; }
.breadcrumb { padding: 18px 0; border-bottom: 1px solid var(--ink); }
.breadcrumb h3 { margin: 0; font-size: 12px; font-weight: 700; }
.breadcrumb i { padding: 0 7px; color: var(--muted); font-style: normal; }
.breadcrumb span { color: var(--muted); }

.detail-hero { display: grid; min-height: 590px; padding: 76px 0; grid-template-columns: minmax(0, 1.3fr) 410px; align-items: center; gap: 80px; }
.detail-intro, .download-panel { min-width: 0; }
.detail-hero h1 { font-size: clamp(56px, 7vw, 100px); }
.detail-lead { max-width: 780px; margin: 30px 0 14px; font-size: 23px; font-weight: 700; line-height: 1.48; }
.detail-intro > p:not(.eyebrow):not(.detail-lead) { max-width: 760px; color: var(--muted); }
.detail-intro .tag-list { margin-top: 24px; }
.answer-lead { font-weight: 750; }

.download-panel { padding: 28px; border: 2px solid var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.download-status { padding-bottom: 18px; border-bottom: 1px solid var(--ink); color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.download-status .status-dot { background: #75d617; }
.package-name { overflow: hidden; margin: 26px 0; font-family: Consolas, monospace; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.download-panel dl { margin: 0 0 22px; }
.download-panel dl div { display: flex; padding: 9px 0; justify-content: space-between; border-top: 1px solid var(--line); gap: 18px; font-size: 12px; }
.download-panel dt { color: var(--muted); }
.download-panel dd { margin: 0; text-align: right; font-weight: 800; }
.download-panel .panel-action, .download-panel .favorite-button { margin-top: 10px; }
.favorite-button[aria-pressed="true"] { background: var(--lime); }
.panel-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.floating-installer { position: fixed; top: 104px; right: 22px; z-index: 105; width: 340px; opacity: 0; pointer-events: none; transform: translateX(calc(100% + 34px)); transition: opacity .2s ease, transform .2s ease; }
.floating-installer.is-visible { opacity: 1; pointer-events: auto; transform: translateX(0); }
.floating-installer-card { padding: 20px; border: 2px solid var(--ink); background: var(--surface); box-shadow: 7px 7px 0 var(--ink); }
.floating-installer-toggle { display: none; }
.floating-installer-head { display: flex; padding-bottom: 14px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--ink); gap: 14px; }
.floating-installer-head div { min-width: 0; }
.floating-installer-head span, .floating-installer-head strong { display: block; }
.floating-installer-head span { color: var(--blue); font-family: Consolas, monospace; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.floating-installer-head strong { overflow: hidden; margin-top: 4px; text-overflow: ellipsis; white-space: nowrap; }
.floating-installer-head button { width: 32px; height: 32px; padding: 0; flex: 0 0 32px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 20px; line-height: 1; }
.floating-installer-card > p { margin: 14px 0; color: var(--muted); font-size: 12px; }
.floating-agent-list { display: grid; margin-bottom: 14px; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.floating-agent-list a { padding: 8px 7px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; font-weight: 800; text-align: center; }
.floating-agent-list a:hover, .floating-agent-list a.is-active { border-color: var(--ink); background: var(--lime); }
.floating-installer-card > .button + .button { margin-top: 8px; }
.copy-button { width: 100%; margin-top: 10px; padding: 10px; border: 1px solid var(--ink); background: var(--lime); cursor: pointer; font-weight: 900; }
.hash-value { display: block; overflow-wrap: anywhere; margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.4; }

.detail-section { padding: 86px 0; border-top: 1px solid var(--ink); }
.value-grid { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(3, 1fr); }
.value-grid article { min-height: 250px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.value-grid article:first-child { background: var(--lime); }
.value-grid h3 { margin: 0 0 28px; font-size: 20px; }
.value-grid p, .value-grid li { color: #414b5d; }
.value-grid li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.value-grid li::before { position: absolute; left: 0; color: var(--blue); content: "→"; }

.scenario-list { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; grid-template-columns: repeat(2, 1fr); }
.scenario-list li { display: grid; min-height: 170px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,253,247,.8); grid-template-columns: 50px 1fr; gap: 20px; }
.scenario-list span { color: var(--blue); font-family: Impact, sans-serif; font-size: 35px; }
.scenario-list p { margin: 4px 0 0; font-size: 18px; font-weight: 750; }
.subsection-heading { max-width: 760px; margin: 54px 0 26px; }
.subsection-heading h3 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.subsection-heading p:last-child { color: var(--muted); }

.workflow-section { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 70px; }
.workflow-section > .section-heading { grid-column: 1 / -1; }
.install-code { padding: 26px; border: 2px solid var(--ink); background: var(--ink); color: white; }
.install-code > div { display: flex; align-items: flex-start; gap: 15px; }
.install-code > div span { display: grid; flex: 0 0 28px; height: 28px; place-items: center; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 900; }
.install-code > div p { margin: 2px 0 18px; color: #c3ccda; font-size: 13px; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list > li { display: grid; padding: 20px 0; border-top: 1px solid var(--ink); grid-template-columns: 48px 1fr; gap: 20px; }
.workflow-list > li:last-child { border-bottom: 1px solid var(--ink); }
.workflow-list > li > span { color: var(--blue); font-family: Impact, sans-serif; font-size: 33px; }
.workflow-list h3 { margin: 0 0 6px; font-size: 18px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 13px; }
.limit-note { grid-column: 2; margin-top: 28px; padding: 22px; border: 1px solid var(--ink); background: #fff0e8; }
.limit-note h3 { margin-top: 0; }
.limit-note li { padding: 7px 0; font-size: 13px; }
.guide-links { display: flex; grid-column: 1 / -1; margin-top: 34px; flex-wrap: wrap; gap: 18px 28px; }
.guide-links h3 { margin: 0; font-size: 15px; }

.skill-grid.compact { grid-template-columns: repeat(3, 1fr); }
.skill-grid.compact .skill-card { min-height: 330px; }
.provenance { margin-bottom: 60px; padding: 24px; border: 1px solid var(--ink); background: var(--paper-deep); }
.provenance h3 { margin: 0 0 10px; }
.provenance p { margin: 0; color: var(--muted); font-size: 12px; }

.collection-hero { max-width: 980px; min-height: 480px; padding: 88px 0; }
.collection-hero h1 { font-size: clamp(58px, 7.5vw, 106px); }
.collection-hero > p:not(.eyebrow) { max-width: 760px; margin: 32px 0; color: #343e4e; font-size: 20px; }
.collection-hero .answer-lead { font-size: 23px; line-height: 1.55; }
.collection-status { display: inline-flex; margin-top: 8px; padding: 9px 12px; align-items: center; border: 1px solid var(--ink); background: var(--surface); font-size: 13px; font-weight: 800; }
.collection-guide ol { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; grid-template-columns: repeat(4, 1fr); }
.collection-guide > ol > li { display: flex; min-height: 210px; padding: 26px; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.collection-guide > ol > li strong, .collection-guide > ol > li span { display: block; }
.collection-guide > ol > li strong { color: var(--blue); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 42px; font-weight: 900; line-height: 1; }
.collection-guide > ol > li strong::before { display: block; margin-bottom: 8px; color: var(--muted); font-family: Consolas, monospace; font-size: 10px; letter-spacing: .14em; content: "STEP"; }
.collection-guide > ol > li span { max-width: 220px; color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.4; }
.collection-context { display: grid; margin-bottom: 24px; padding: 24px; border: 1px solid var(--ink); background: var(--paper-deep); grid-template-columns: minmax(180px, .55fr) 1fr; gap: 18px 36px; }
.collection-context h3 { margin: 0; font-size: 21px; }
.collection-context p { margin: 0; color: var(--muted); }
.collection-context ul { grid-column: 2; margin: 0; padding-left: 20px; color: var(--muted); }
.collection-matrix td { vertical-align: top; }
.collection-matrix td:nth-child(2), .collection-matrix td:nth-child(3) { min-width: 250px; }
.collection-workflows { display: grid; margin-top: 28px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(2, 1fr); }
.collection-workflows > div, .collection-workflows > article { padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.collection-workflows h3 { margin: 4px 0 10px; }
.collection-workflows p { color: var(--muted); }
.collection-workflows a { color: var(--ink); font-weight: 800; }
.agent-recommended-paths { grid-template-columns: repeat(3, 1fr); }
.agent-recommended-paths article > span { color: var(--muted); font-size: 12px; }
.collection-assets { margin-top: 24px; }
.collection-assets > div { align-content: start; padding: 26px; }
.collection-assets h3 { margin-bottom: 18px; font-size: 20px; }
.collection-assets ul { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.collection-assets li { min-height: 0; padding: 10px 11px; border: 1px solid var(--line); background: var(--surface); color: #3f495b; font-size: 14px; line-height: 1.45; }
.collection-assets li::before { margin-right: 7px; color: var(--blue); content: "→"; font-weight: 900; }

.hub-quick-actions { display: none; }
.pagination { display: flex; margin-top: 34px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { display: grid; min-width: 44px; height: 44px; padding: 0 12px; place-items: center; border: 1px solid var(--ink); background: var(--surface); font-weight: 900; }
.pagination a:hover, .pagination .is-current { background: var(--lime); }
.pagination .pagination-arrow { min-width: 86px; }
.agent-playbook { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; grid-template-columns: repeat(2, 1fr); }
.agent-playbook li { display: grid; min-height: 190px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); grid-template-columns: 48px 1fr; gap: 18px; }
.agent-playbook span { color: var(--blue); font-family: Impact, sans-serif; font-size: 32px; }
.agent-playbook h4 { margin: 4px 0 8px; font-size: 18px; }
.agent-playbook p { margin: 0; color: var(--muted); font-size: 14px; }
.agent-brief, .agent-troubleshooting { margin-top: 24px; padding: 24px; border: 1px solid var(--ink); background: var(--paper-deep); }
.agent-brief h3, .agent-troubleshooting h3 { margin: 0 0 12px; }
.agent-brief p { color: #30394a; }
.agent-brief .copy-button { max-width: 260px; }
.agent-troubleshooting ul { margin: 0; padding-left: 20px; color: var(--muted); }
.validation-task { margin-top: 24px; padding: 24px; border: 1px solid var(--ink); background: #eef4ff; }
.validation-task h3 { margin-top: 0; }
.validation-task p { margin-bottom: 0; color: var(--muted); }
.more-collections ul { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(4, 1fr); }
.more-collections li { padding: 18px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); font-size: 14px; font-weight: 800; }

.install-steps { margin: 0; padding: 0; list-style: none; }
.install-steps > li { display: grid; padding: 34px 0; border-top: 1px solid var(--ink); grid-template-columns: 90px 1fr; gap: 30px; }
.install-steps > li:last-child { border-bottom: 1px solid var(--ink); }
.install-steps > li > span { color: var(--blue); font-family: Impact, sans-serif; font-size: 48px; }
.install-steps h3 { margin: 0 0 10px; font-size: 23px; }
.install-steps p { color: var(--muted); }
.install-steps pre { max-width: 650px; }
.compat-grid { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(4, 1fr); }
.compat-grid article { min-height: 225px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.compat-grid strong { color: var(--blue); font-family: Impact, sans-serif; font-size: 46px; }
.compat-grid h3 { margin: 20px 0 8px; }
.compat-grid p { color: var(--muted); font-size: 13px; }
.check-list { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(2, 1fr); }
.check-list li { position: relative; padding: 22px 22px 22px 54px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.check-list li::before { position: absolute; left: 22px; color: var(--blue); content: "✓"; font-weight: 900; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; padding: 12px 16px; border: 1px solid var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 900; }

.install-methods { border: 2px solid var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.install-tabs { display: grid; border-bottom: 1px solid var(--ink); grid-template-columns: repeat(3, 1fr); }
.install-tab { min-height: 54px; padding: 10px 14px; border: 0; border-right: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 13px; font-weight: 900; }
.install-tab:last-child { border-right: 0; }
.install-tab:hover, .install-tab.is-active { color: white; background: var(--ink); }
.install-panel { max-width: 920px; padding: 36px; }
.install-panel[hidden] { display: none; }
.install-panel h3 { margin: 6px 0 12px; font-size: 25px; }
.install-panel > p { color: var(--muted); }
.install-panel pre { overflow-x: auto; padding: 20px; border: 1px solid #3c4658; background: var(--ink); color: var(--lime); font-size: 13px; line-height: 1.8; }
.method-label { margin: 0; color: var(--blue) !important; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.prompt-box { margin: 24px 0 14px; padding: 20px; border: 1px solid var(--ink); background: var(--paper); }
.prompt-box p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.75; }
.small-note { font-size: 12px; }
.secondary-copy { background: var(--surface); }
.agent-link-list { display: grid; margin: 22px 0; padding: 0; list-style: none; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.agent-link-list li { padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 800; }
.advanced-check { margin-top: 24px; padding: 16px; border: 1px dashed var(--line); }
.advanced-check summary { cursor: pointer; font-weight: 800; }
.advanced-check code { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }

.skill-content-tabs { border: 2px solid var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.content-tab-list { display: grid; border-bottom: 1px solid var(--ink); grid-template-columns: repeat(4, 1fr); }
.content-tab { min-height: 56px; padding: 10px 12px; border: 0; border-right: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 13px; font-weight: 900; }
.content-tab:last-child { border-right: 0; }
.content-tab span { margin-left: 4px; color: var(--muted); font-size: 11px; }
.content-tab:hover, .content-tab.is-active { color: white; background: var(--ink); }
.content-tab.is-active span { color: var(--lime); }
.content-panel { padding: 38px; }
.content-panel[hidden] { display: none; }
.editorial-summary { max-width: 920px; }
.editorial-summary h3, .agent-usage-note h3, .source-document-summary h3 { margin: 28px 0 10px; font-size: 24px; }
.editorial-summary h3:first-of-type { margin-top: 6px; }
.editorial-summary p, .agent-usage-note p, .source-document-summary p { color: #3f495b; }
.editorial-summary li, .agent-usage-note li { padding: 5px 0; color: #3f495b; }
.agent-usage-note, .source-document-summary { max-width: 920px; margin-top: 32px; padding: 24px; border: 1px solid var(--ink); background: var(--paper-deep); }
.source-document { margin-top: 42px; padding-top: 34px; border-top: 2px solid var(--ink); }
.document-note { display: flex; margin-bottom: 30px; padding: 16px 18px; align-items: baseline; justify-content: space-between; border: 1px solid var(--ink); background: var(--lime); gap: 20px; }
.document-note strong { font-size: 18px; }
.document-note span { font-size: 12px; font-weight: 700; }
.source-document > h4 { margin: 42px 0 14px; font-size: 24px; line-height: 1.25; }
.source-document > h4:first-of-type { margin-top: 0; }
.source-document p, .source-document li { color: #374153; }
.source-document pre { overflow-x: auto; padding: 18px; border: 1px solid #3c4658; background: var(--ink); color: #e8edf6; font-size: 12px; line-height: 1.7; }
.source-document code { overflow-wrap: anywhere; }
.source-document blockquote { margin: 22px 0; padding: 14px 20px; border-left: 5px solid var(--blue); background: var(--paper); }
.source-document table { width: 100%; border-collapse: collapse; font-size: 13px; }
.source-document th, .source-document td { padding: 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.source-document img { max-width: 100%; height: auto; }
.file-summary { margin-bottom: 20px; }
.file-table-wrap { overflow-x: auto; }
.file-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.file-table th, .file-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; }
.file-table th { background: var(--paper-deep); }
.file-table td:first-child { min-width: 280px; font-weight: 800; }
.file-table code { color: var(--muted); font-size: 11px; }
.empty-content { display: grid; min-height: 260px; place-content: center; text-align: center; }
.empty-content strong { font-size: 28px; }
.empty-content p { max-width: 560px; color: var(--muted); }
.history-list article { display: grid; padding: 22px; border: 1px solid var(--ink); background: var(--paper); grid-template-columns: 150px 1fr 120px; align-items: start; gap: 24px; }
.history-list article div strong, .history-list article div span { display: block; }
.history-list article div strong { color: var(--blue); font-size: 22px; }
.history-list p { margin: 0; color: #3f495b; }
.history-list time { color: var(--muted); font-size: 12px; text-align: right; }
.empty-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
.evaluation-grid { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(4, 1fr); }
.evaluation-grid article { min-height: 210px; padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.evaluation-grid article:first-child { background: var(--lime); }
.evaluation-grid article.pending { background: #fff0e8; }
.evaluation-grid strong { color: var(--blue); font-size: 12px; letter-spacing: .08em; }
.evaluation-grid h3 { margin: 24px 0 10px; font-size: 18px; }
.evaluation-grid p { color: var(--muted); font-size: 13px; }
.evaluation-note { margin-top: 24px; padding: 22px; border: 1px solid var(--ink); background: var(--paper); }
.evaluation-note h3 { margin-top: 0; }
.evaluation-note p { margin-bottom: 0; color: var(--muted); }

.source-excerpt { padding: 28px; border: 1px solid var(--ink); background: var(--surface); }
.source-excerpt h3 { margin-top: 0; }
.source-excerpt blockquote { margin: 18px 0; padding: 18px 22px; border-left: 5px solid var(--blue); background: var(--paper); color: #394356; font-size: 14px; }
.source-excerpt p { color: var(--muted); }
.source-detail-grid { display: grid; margin: 24px 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(2, 1fr); }
.source-detail-grid > div { padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.source-detail-grid h3 { margin-top: 0; }
.agent-source-grid { display: grid; margin: 24px 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(2, 1fr); }
.agent-source-grid > div { padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.agent-source-grid h3 { margin-top: 0; }
.agent-source-grid p, .agent-source-grid li { color: var(--muted); }
.capability-intersections { display: grid; margin: 24px 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); grid-template-columns: repeat(3, 1fr); }
.capability-intersections article { padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); }
.capability-intersections h3 { margin: 0 0 10px; font-size: 17px; }
.capability-intersections p { margin: 0; color: var(--muted); font-size: 13px; }
.source-method { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.source-method li { display: grid; padding: 16px 0; border-bottom: 1px solid var(--line); grid-template-columns: minmax(160px, .45fr) 1fr; gap: 24px; }
.source-method span { color: var(--muted); }
.worked-example { margin-top: 28px; padding: 24px; border: 1px solid var(--ink); background: var(--paper-deep); }
.worked-example h3 { margin-top: 4px; }
.worked-example p, .worked-example li { color: var(--muted); }
.pitfall-note { margin-top: 20px; padding: 22px; border: 1px solid var(--ink); background: #fff0e8; }
.pitfall-note h3 { margin-top: 0; }
.success-check { margin-top: 20px; padding: 22px; border: 1px solid var(--ink); background: #eef4ff; }
.success-check h3 { margin-top: 0; }
.success-check li { color: var(--muted); }
.source-basis { padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.limit-note.standalone { margin: 20px 0 0; }
.faq-list { display: grid; margin-top: 20px; border-top: 1px solid var(--ink); }
.faq-list details { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); background: var(--surface); }
.faq-list summary { padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 850; }
.faq-list details[open] summary { background: var(--lime); }
.faq-list p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.provenance { margin-top: 20px; margin-bottom: 0; }

@media (min-width: 1600px) {
  :root { --max: 1420px; }
  body { font-size: 17px; }
  .site-header nav a, .category-card p, .skill-card > p, .value-grid li, .source-excerpt blockquote { font-size: 15px; }
  .eyebrow, .search-box, .filter-chip, .card-kicker, .terminal-card .terminal-note, .small-note, .method-label { font-size: 13px; }
  .proof-strip span, .result-count, .card-foot, .site-footer p, .site-footer li, .breadcrumb h3, .download-status, .workflow-list p, .limit-note li, .provenance p, .collection-guide > ol > li span, .compat-grid p, .install-tab, .agent-link-list li { font-size: 14px; }
  .tag-list li, .download-panel dl div { font-size: 13px; }
  .terminal-top { font-size: 12px; }
  .advanced-check code, .hash-value { font-size: 11px; }
}

@media (min-width: 2200px) {
  :root { --max: 1640px; }
  body { font-size: 18px; }
  .site-header nav a, .category-card p, .skill-card > p, .value-grid li, .source-excerpt blockquote { font-size: 16px; }
  .eyebrow, .filter-chip, .card-kicker, .site-footer p, .site-footer li, .breadcrumb h3, .download-panel dl div, .install-tab { font-size: 15px; }
}

@media (max-width: 980px) {
  .site-header nav ul { gap: 18px; }
  .nav-upload { display: none; }
  .hero { grid-template-columns: 1fr; }
  .terminal-card { max-width: 620px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-grid, .skill-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .library-tools, .detail-hero, .install, .policy, .workflow-section, .concept-detail, .collection-context { grid-template-columns: 1fr; }
  .collection-context ul { grid-column: 1; }
  .detail-hero { gap: 42px; }
  .download-panel { max-width: 580px; }
  .limit-note { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .collection-guide ol, .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .more-collections ul { grid-template-columns: repeat(3, 1fr); }
  .evaluation-grid { grid-template-columns: repeat(2, 1fr); }
  .content-tab-list { overflow-x: auto; grid-template-columns: repeat(4, minmax(145px, 1fr)); }
  .floating-installer { top: auto; right: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); transform: translateY(calc(100% + 30px)); }
  .floating-installer.is-visible { transform: translateY(0); }
  .floating-installer-toggle { display: flex; width: 100%; min-height: 56px; padding: 10px 14px; align-items: center; justify-content: space-between; border: 2px solid var(--ink); background: var(--lime); box-shadow: 5px 5px 0 var(--ink); cursor: pointer; font-weight: 900; }
  .floating-installer-toggle span { font-size: 14px; }
  .floating-installer-toggle strong { font-size: 12px; }
  .floating-installer-card { position: absolute; right: 0; bottom: calc(100% + 10px); display: none; width: 100%; }
  .floating-installer.is-open .floating-installer-card { display: block; }
}

@media (max-width: 720px) {
  .header-inner { width: min(calc(100% - 28px), var(--max)); }
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-upload { display: none; }
  .site-header nav { position: absolute; inset: 68px 0 auto; display: none; border-bottom: 1px solid var(--ink); background: var(--paper); }
  .site-header nav.is-open { display: block; }
  .site-header nav ul { width: calc(100% - 28px); margin: 0 auto; padding: 18px 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero, .section, .detail-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 58px 0; }
  .hero h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-lead, .detail-lead { font-size: 18px; }
  .proof-strip strong { font-size: 19px; }
  .proof-strip li, .proof-strip li + li { padding: 14px 8px; }
  .terminal-card { box-shadow: 7px 7px 0 var(--lime); }
  .section { padding: 72px 0; }
  .split-heading { display: block; }
  .category-grid, .skill-grid, .skill-grid.compact, .value-grid, .scenario-list, .install-links, .check-list, .agent-playbook, .source-detail-grid, .agent-source-grid, .collection-workflows, .capability-intersections, .agent-recommended-paths { grid-template-columns: 1fr; }
  .source-method li { grid-template-columns: 1fr; gap: 6px; }
  .category-card { min-height: 180px; }
  .skill-card { min-height: 325px; }
  .library-tools { display: block; }
  .filter-row { margin-top: 14px; }
  .filter-chip, .install-tab { min-height: 44px; font-size: 13px; }
  .search-box { font-size: 13px; }
  .search-box input { font-size: 16px; }
  .install-links article + article { border-top: 0; border-left: 1px solid var(--ink); }
  .install-links article:nth-child(n + 2) { border-top: 0; }
  .policy { gap: 32px; }
  .policy li { grid-template-columns: 120px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid section:first-child { grid-column: auto; }
  .footer-record { display: block; }
  .footer-record span[aria-hidden="true"] { display: none; }
  .footer-record a { display: block; margin-top: 5px; }
  .community-dialog { width: min(calc(100% - 24px), 600px); box-shadow: 7px 7px 0 var(--lime); }
  .community-dialog-body { padding: 62px 18px 22px; }
  .community-dialog-body .eyebrow { margin-right: 0; margin-left: 0; }
  .detail-hero { min-height: auto; padding: 56px 0; }
  .detail-hero h1, .collection-hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .detail-hero h1, .detail-lead, .breadcrumb h3 { overflow-wrap: anywhere; word-break: break-word; }
  .detail-intro, .download-panel, .detail-section, .skill-content-tabs { max-width: 100%; min-width: 0; }
  .breadcrumb h3 { line-height: 1.8; }
  .download-panel { width: 100%; min-width: 0; padding: 28px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .download-panel dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
  .download-panel dd { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
  .scenario-list li { min-height: 140px; }
  .workflow-section { column-gap: 0; }
  .guide-links { flex-direction: column; gap: 14px; }
  .collection-guide ol, .compat-grid { grid-template-columns: 1fr; }
  .collection-guide > ol > li { min-height: 150px; padding: 22px; }
  .collection-guide > ol > li strong { font-size: 36px; }
  .collection-guide > ol > li span { max-width: none; font-size: 18px; }
  .collection-assets ul { grid-template-columns: 1fr; }
  .more-collections ul { grid-template-columns: 1fr 1fr; }
  .install-steps > li { grid-template-columns: 54px 1fr; gap: 16px; }
  .install-steps > li > span { font-size: 34px; }
  .install-tabs, .agent-link-list { grid-template-columns: 1fr; }
  .install-tab { border-right: 0; border-bottom: 1px solid var(--ink); }
  .install-tab:last-child { border-bottom: 0; }
  .install-panel { padding: 24px 18px; }
  .content-panel { padding: 26px 18px; }
  .document-note { align-items: flex-start; flex-direction: column; gap: 6px; }
  .source-document > h4 { font-size: 21px; }
  .history-list article { grid-template-columns: 1fr; gap: 10px; }
  .history-list time { text-align: left; }
  .evaluation-grid { grid-template-columns: 1fr; }
  .file-table td:first-child { min-width: 220px; }
  .copy-button, .text-action, .nav-toggle { min-height: 44px; }
  .site-footer p, .site-footer li, .breadcrumb h3, .card-foot, .small-note, .method-label, .collection-status { font-size: 13px; }
  .tag-list li { font-size: 12px; }
  .advanced-check code { font-size: 11px; }
  .floating-installer { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .floating-installer-card { max-height: min(68vh, 520px); overflow-y: auto; }
  .hub-home { padding-bottom: 86px; }
  .hub-quick-actions { position: fixed; right: 14px; bottom: 14px; left: 14px; z-index: 106; display: grid; padding: 7px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); opacity: 0; pointer-events: none; transform: translateY(calc(100% + 28px)); transition: opacity .2s ease, transform .2s ease; grid-template-columns: 1fr 1fr; gap: 7px; }
  .hub-quick-actions.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hub-quick-actions .button { min-height: 50px; padding: 7px 10px; font-size: 14px; }
  .hub-quick-actions .button.primary { border-color: var(--ink); color: var(--ink); background: var(--lime); }
  .hub-quick-actions .upload-quick { display: flex; flex-direction: column; gap: 0; }
  .hub-quick-actions small { color: var(--blue-dark); font-size: 9px; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
