:root {
  --lab-paper: #f6f5f2;
  --lab-white: #ffffff;
  --lab-ink: #20252b;
  --lab-muted: #66717d;
  --lab-faint: #8b959e;
  --lab-line: #e5e5e0;
  --lab-blue: #3659d9;
  --lab-blue-dark: #2948ba;
  --lab-orange: #d98757;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--lab-paper);
  color: var(--lab-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, article:focus-visible {
  outline: 3px solid rgba(54, 89, 217, .45);
  outline-offset: 3px;
}

.lab-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--lab-line); backdrop-filter: blur(18px); }
.lab-header-inner { width: min(100% - 64px, 1320px); margin-inline: auto; }
.lab-header-main { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.lab-brand { flex: none; display: flex; align-items: center; gap: 11px; min-width: 186px; color: var(--lab-ink); text-decoration: none; }
.lab-brand-mark { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: var(--lab-ink); font: 700 24px/1 Georgia, serif; letter-spacing: -.09em; padding-right: 4px; }
.lab-brand-mark span { color: var(--lab-orange); }
.lab-brand-copy { display: flex; flex-direction: column; gap: 1px; }
.lab-brand-copy strong { font-size: 15px; line-height: 1.25; letter-spacing: -.02em; }
.lab-brand-copy small { color: var(--lab-faint); font-size: 10px; letter-spacing: .055em; }
.lab-nav { display: flex; align-items: stretch; align-self: stretch; gap: 20px; white-space: nowrap; }
.lab-nav-link { position: relative; padding: 0 5px; background: none; border: 0; color: var(--lab-muted); font: inherit; font-size: 13px; font-weight: 600; transition: color .2s; text-decoration: none; }
a.lab-nav-link { display: inline-flex; align-items: center; flex: none; }
.lab-nav-link:hover, .lab-nav-link.is-active { color: var(--lab-ink); }
.lab-nav-link.is-active::after { content: ""; position: absolute; height: 3px; background: var(--lab-blue); border-radius: 3px 3px 0 0; bottom: -1px; left: 4px; right: 4px; }
.lab-header-actions { display: flex; align-items: center; gap: 8px; }
.lab-icon-button { height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 11px; border: 1px solid var(--lab-line); border-radius: 9px; background: var(--lab-white); color: var(--lab-ink); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.lab-icon-button:hover { border-color: #bac4df; background: #fafbff; }
.lab-icon-button kbd { margin-left: 10px; border: 1px solid var(--lab-line); border-radius: 4px; padding: 1px 4px; color: var(--lab-faint); font-size: 10px; }
.lab-favorites-button em { min-width: 18px; height: 18px; border-radius: 50%; background: var(--lab-blue); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 10px; }

@media (max-width: 1100px) {
  .lab-header-main { gap: 20px; }
  .lab-nav { gap: 14px; }
}
@media (max-width: 930px) {
  .lab-header-main { flex-wrap: wrap; gap: 0; }
  .lab-brand { min-height: 63px; }
  .lab-nav { order: 3; width: 100%; height: 42px; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .lab-header-actions { margin-left: auto; }
}
@media (max-width: 700px) {
  .lab-header-inner { width: min(100% - 32px, 1320px); }
  .lab-header-main { min-height: 0; }
  .lab-brand-copy small, .lab-header-search span, .lab-header-search kbd, .lab-favorites-label { display: none; }
  .lab-brand { min-width: auto; }
  .lab-brand-mark { width: 34px; height: 34px; font-size: 21px; }
  .lab-brand-copy strong { font-size: 14px; }
  .lab-icon-button { width: 36px; padding: 0; }
  .lab-favorites-button { width: auto; min-width: 36px; padding: 0 6px; }
  .lab-nav { gap: 10px; }
  .lab-nav-link { font-size: 11px; padding-inline: 3px; }
}

[hidden] { display: none !important; }
html { scroll-padding-top: 0; }
body.seo-site { line-height: 1.7; }
.seo-site a { text-decoration: none; }
.seo-site main a { color: var(--lab-blue); }
.seo-site button, .seo-site select { font: inherit; }
.seo-site svg { flex: none; }
.seo-main { width: min(100% - 64px, 1320px); margin: auto; padding: 36px 0 80px; }
.seo-main h1, .seo-main h2, .seo-main h3 { color: var(--lab-ink); letter-spacing: -.035em; }
.seo-main h1 { margin: 16px 0; font-size: clamp(30px,3.6vw,48px); line-height: 1.25; font-weight: 760; overflow-wrap: anywhere; }
.seo-main h2 { font-size: 25px; line-height: 1.4; margin: 0 0 12px; }
.seo-main h3 { font-size: 18px; line-height: 1.5; }
.seo-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--lab-blue); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.seo-eyebrow i { width: 20px; height: 2px; background: var(--lab-orange); flex: none; }
.seo-lead { color: var(--lab-muted); font-size: 15px; line-height: 1.85; max-width: 750px; }
.seo-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.seo-button { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 15px; border: 1px solid var(--lab-line); border-radius: 9px; background: white; color: var(--lab-ink) !important; font-size: 12px; font-weight: 650; }
.seo-button:hover { border-color: #b7c3e3; background: #f9faff; }
.seo-button.is-primary { background: var(--lab-blue); color: white !important; border-color: var(--lab-blue); }
.seo-button.is-primary:hover { background: var(--lab-blue-dark); }
.seo-hub-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px, .55fr); gap: 70px; padding: 40px 44px; border: 1px solid #e0e3df; border-radius: 20px; background: linear-gradient(125deg,#efeee9,#eaf0f0); }
.seo-hub-hero h1 { font-size: clamp(32px,3.8vw,50px); max-width: 750px; }
.seo-hub-hero h1 span { color: var(--lab-blue); }
.seo-hub-hero .seo-lead { margin-bottom: 0; }
.seo-hub-guide { align-self: center; padding: 26px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,255,255,.75); }
.seo-hub-guide h2 { font-size: 19px; margin: 0 0 20px; }
.seo-hub-guide ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.seo-hub-guide li { display: flex; gap: 14px; }
.seo-hub-guide li > span { color: var(--lab-orange); font: 700 22px/1.4 Georgia,serif; }
.seo-hub-guide strong { display: block; font-size: 13px; }
.seo-hub-guide p { color: var(--lab-muted); margin: 3px 0 0; font-size: 12px; line-height: 1.65; }
.seo-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 18px 0 28px; }
.seo-stats > div { background: white; padding: 18px 22px; border: 1px solid var(--lab-line); border-radius: 12px; }
.seo-stats dt { color: var(--lab-muted); font-size: 12px; }
.seo-stats dd { color: var(--lab-ink); font-size: 24px; font-weight: 740; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.seo-jump-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--lab-line); }
.seo-jump-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: white; color: var(--lab-muted); border-radius: 8px; border: 1px solid var(--lab-line); font-size: 12px; font-weight: 650; }
.seo-jump-nav a:hover { color: var(--lab-blue); border-color: #c2cdef; }
.seo-topic-section { margin-top: 42px; scroll-margin-top: 100px; }
.seo-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.seo-section-heading h2 { margin: 9px 0 6px; }
.seo-section-heading p { margin: 0; color: var(--lab-muted); font-size: 13px; line-height: 1.8; }
.seo-section-heading > a { flex: none; font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 7px; }
.seo-group-label { color: var(--lab-muted); font-size: 11px; font-weight: 700; margin: 22px 0 11px; }
.seo-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.seo-topic-card { min-width: 0; min-height: 106px; display: flex; align-items: center; gap: 14px; padding: 20px; background: white; border: 1px solid var(--lab-line); border-radius: 12px; color: var(--lab-ink) !important; transition: border-color .2s,box-shadow .2s; }
.seo-topic-card:hover { border-color: #bec9e7; box-shadow: 0 5px 18px rgba(32,37,43,.05); }
.seo-topic-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; background: #eef1f8; color: var(--lab-blue); border-radius: 10px; }
.seo-topic-card > div { min-width: 0; flex: 1; }
.seo-topic-card strong { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.seo-topic-card div small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.7; color: var(--lab-muted); margin-top: 5px; }
.seo-topic-count { flex: none; color: var(--lab-ink); font-size: 17px; font-weight: 720; text-align: right; font-variant-numeric: tabular-nums; }
.seo-topic-count small { display: block; color: var(--lab-faint); font-size: 10px; font-weight: 500; }
.seo-topic-card > svg { width: 15px; color: var(--lab-faint); }
.seo-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.seo-category-grid .seo-topic-card { min-height: 124px; padding: 18px; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.seo-category-grid .seo-topic-icon { width: 30px; height: 30px; }
.seo-category-grid .seo-topic-card > div { flex-basis: calc(100% - 40px); }
.seo-category-grid .seo-topic-count { margin-left: 40px; display: flex; align-items: baseline; gap: 5px; font-size: 14px; }
.seo-category-grid .seo-topic-card > svg { margin-left: auto; }
.seo-template-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.seo-template-card { overflow: hidden; display: flex; flex-direction: column; border-radius: 13px; border: 1px solid var(--lab-line); background: white; color: var(--lab-ink) !important; }
.seo-template-card:hover { border-color: #b7c3e3; }
.seo-template-card-cover { position: relative; aspect-ratio: 16/9; background: #eeede7; overflow: hidden; }
.seo-template-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-template-card-cover span { position: absolute; left: 13px; top: 13px; padding: 4px 8px; border-radius: 5px; color: white; background: rgba(32,37,43,.85); font-size: 10px; font-weight: 700; }
.seo-template-card-copy { flex: 1; display: flex; flex-direction: column; padding: 21px; }
.seo-template-card-copy > span { color: var(--lab-blue); font-size: 11px; font-weight: 700; }
.seo-template-card-copy h3 { font-size: 18px; margin: 9px 0; }
.seo-template-card-copy p { color: var(--lab-muted); font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.seo-template-card-copy > strong { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--lab-line); margin-top: auto; font-size: 12px; color: var(--lab-blue); }
.seo-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--lab-faint); font-size: 12px; margin: 0 0 24px; }
.seo-breadcrumb a { color: var(--lab-muted) !important; }
.seo-page-heading { margin-bottom: 28px; }
.seo-page-meta { display: flex; align-items: center; gap: 9px 18px; flex-wrap: wrap; color: var(--lab-muted); font-size: 12px; margin: 18px 0; }
.seo-badge { background: #e8edfb; color: var(--lab-blue); border-radius: 6px; padding: 5px 9px; font-size: 11px; font-weight: 650; }
.seo-guidance { padding: 22px 25px; margin: 26px 0; border: 1px solid var(--lab-line); border-radius: 12px; background: white; }
.seo-guidance h2 { font-size: 16px; margin: 0 0 9px; }
.seo-guidance p { color: var(--lab-muted); font-size: 13px; line-height: 1.85; margin: 0; }
.seo-guide { display: flex; gap: 18px; padding: 23px 26px; border: 1px solid var(--lab-line); border-radius: 12px; background: white; margin: 26px 0 35px; }
.seo-guide h2 { font-size: 17px; margin-bottom: 9px; }
.seo-guide p { color: var(--lab-muted); font-size: 13px; line-height: 1.85; margin: 0; }
.seo-guide .seo-fine-print { margin-top: 12px; font-size: 11px; color: var(--lab-faint); }
.seo-meta { display: flex; gap: 20px; color: var(--lab-muted); font-size: 12px; margin: 20px 0; }
.seo-section-heading > span { font-size: 12px; color: var(--lab-muted); }
.seo-continue { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 22px; border-top: 1px solid var(--lab-line); padding-top: 26px; margin-top: 34px; }
.seo-continue h2 { font-size: 20px; }
.seo-continue p { font-size: 13px; color: var(--lab-muted); }
.seo-continue .seo-actions { margin-top: 0; }
.seo-note { color: var(--lab-muted); font-size: 12px; line-height: 1.85; padding: 17px 20px; background: #eeefe9; border-radius: 9px; margin: 20px 0; }
.seo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.seo-card { min-width: 0; border: 1px solid var(--lab-line); border-radius: 13px; background: white; overflow: hidden; display: flex; flex-direction: column; }
.seo-card > a { display: block; background: #efeee9; }
.seo-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.seo-card[data-kind='agent_usecase'] img, .seo-card[data-kind='video_prompt'] img { aspect-ratio: 16/10; }
.seo-card-copy { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.seo-card-copy > small { color: var(--lab-blue); font-size: 11px; font-weight: 650; }
.seo-card h3 { font-size: 17px; margin: 10px 0; }
.seo-card h3 a { color: var(--lab-ink); }
.seo-card h3 a:hover { color: var(--lab-blue); }
.seo-card p { font-size: 13px; line-height: 1.8; color: var(--lab-muted); margin: 0 0 17px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.seo-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 13px; border-top: 1px solid var(--lab-line); margin-top: auto; color: var(--lab-faint); font-size: 11px; }
.seo-card-footer a { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.seo-card[data-kind='business_case'] { min-height: 265px; }
.seo-card[data-kind='business_case'] .seo-card-copy > .seo-topic-icon { margin-bottom: 15px; }
.seo-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 32px 0; }
.seo-pagination span { color: var(--lab-muted); font-size: 12px; }
.seo-pagination a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; background: white; border: 1px solid var(--lab-line); border-radius: 8px; font-size: 12px; }
.seo-reading-layout { display: grid; grid-template-columns: minmax(0,1fr) 284px; gap: 40px; align-items: start; }
.seo-reading-main { min-width: 0; }
.seo-reading-aside { min-width: 0; position: sticky; top: 96px; display: grid; gap: 18px; }
.seo-reading-aside > section, .seo-toc { background: white; padding: 22px; border: 1px solid var(--lab-line); border-radius: 13px; }
.seo-reading-aside h2, .seo-toc h2 { font-size: 17px; margin: 10px 0 15px; }
.seo-reading-aside p, .seo-reading-aside ul { font-size: 12px; color: var(--lab-muted); line-height: 1.9; }
.seo-reading-aside ul { padding-left: 18px; }
.seo-reading-aside .seo-button { width: 100%; }
.seo-summary { border-left: 3px solid var(--lab-orange); border-radius: 0 12px 12px 0; padding: 23px 27px; margin: 26px 0; background: #efece5; }
.seo-summary p { color: #4b5965; font-size: 14px; line-height: 1.9; margin: 12px 0 0; }
.seo-article { overflow-wrap: anywhere; min-width: 0; }
.seo-prose { border: 1px solid var(--lab-line); border-radius: 14px; background: white; padding: 34px 40px; color: #3b4651; font-size: 16px; line-height: 1.95; }
.seo-prose > :first-child { margin-top: 0; }
.seo-prose h1 { font-size: 28px; }
.seo-prose h2 { font-size: 23px; margin: 34px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--lab-line); line-height: 1.5; }
.seo-prose h3 { font-size: 19px; margin: 28px 0 13px; }
.seo-prose h4 { font-size: 16px; margin: 22px 0 10px; }
.seo-prose p { margin: 0 0 19px; }
.seo-prose ul, .seo-prose ol { padding-left: 24px; margin: 18px 0; }
.seo-prose li { margin: 8px 0; }
.seo-prose a { text-decoration: underline; text-underline-offset: 3px; }
.seo-prose strong { color: var(--lab-ink); }
.seo-prose blockquote { margin: 22px 0; border-left: 3px solid var(--lab-blue); padding: 15px 21px; background: #f2f5fb; border-radius: 0 9px 9px 0; }
.seo-prose img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 10px; }
.seo-prose figure { max-width: 100%; margin: 24px 0; }
.seo-prose figcaption { font-size: 12px; color: var(--lab-muted); text-align: center; }
.seo-prose pre { max-width: 100%; overflow: auto; padding: 20px; background: #f1f3f5; border-radius: 9px; font-size: 13px; white-space: pre-wrap; }
.seo-prose code { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap: anywhere; font-size: .88em; }
.seo-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 22px 0; font-size: 13px; }
.seo-prose th, .seo-prose td { border: 1px solid var(--lab-line); padding: 10px 14px; min-width: 120px; vertical-align: top; text-align: left; }
.seo-prose th { background: #f2f4f7; color: var(--lab-ink); }
.seo-prose [id], .seo-prompt-block { scroll-margin-top: 100px; }
.seo-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: min(52vh,480px); overflow-y: auto; }
.seo-toc a { display: block; padding: 5px 6px; font-size: 12px; line-height: 1.7; color: #526170 !important; border-radius: 5px; overflow-wrap: anywhere; }
.seo-toc a:hover { color: var(--lab-blue) !important; background: #f2f5fb; }
.seo-toc .is-subheading a { padding-left: 18px; font-size: 11px; color: var(--lab-muted) !important; }
.seo-sources { background: #e9edf4; padding: 25px 28px; border-radius: 13px; margin: 26px 0; overflow-wrap: anywhere; }
.seo-sources h2 { font-size: 20px; margin: 10px 0; }
.seo-sources p, .seo-sources ul { font-size: 13px; line-height: 1.85; }
.seo-sources ul { padding-left: 18px; }
.seo-sources li { margin: 8px 0; }
.seo-related { margin-top: 34px; }
.seo-related h2 { font-size: 21px; }
.seo-related .seo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.seo-template-layout { display: grid; grid-template-columns: 305px minmax(0,1fr); gap: 30px; align-items: start; }
.seo-template-overview { overflow: hidden; border-radius: 14px; background: white; border: 1px solid var(--lab-line); }
.seo-template-overview img { width: 100%; max-height: 305px; display: block; object-fit: cover; background: #efeee9; }
.seo-template-overview-copy { padding: 23px; }
.seo-template-overview h2 { font-size: 16px; margin: 24px 0 9px; }
.seo-template-overview h2:first-child { margin-top: 0; }
.seo-template-overview p, .seo-template-overview li { font-size: 12px; line-height: 1.9; color: var(--lab-muted); }
.seo-template-overview ul { padding-left: 17px; }
.seo-template-body { min-width: 0; }
.seo-template-start { display: none; }
.seo-version-nav { background: white; border: 1px solid var(--lab-line); border-radius: 12px; padding: 20px 23px; margin-bottom: 20px; }
.seo-version-nav h2 { font-size: 16px; margin-bottom: 12px; }
.seo-version-nav ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 8px; }
.seo-version-nav a { display: block; padding: 6px 9px; font-size: 11px; background: #f2f5fb; border: 1px solid #e4e9f4; border-radius: 6px; }
.seo-version-jump { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--lab-muted); margin-top: 18px; }
.seo-version-jump select { min-width: 0; max-width: 100%; flex: 1; border: 1px solid var(--lab-line); border-radius: 8px; background: #fafbfc; color: var(--lab-ink); padding: 9px 10px; font-size: 12px; }
.seo-prompt-block { margin: 0 0 22px; border: 1px solid var(--lab-line); border-radius: 12px; background: white; overflow: hidden; }
.seo-prompt-head { padding: 18px 23px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--lab-line); }
.seo-prompt-head small { color: var(--lab-blue); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.seo-prompt-head h2 { font-size: 16px; margin: 6px 0 0; }
.seo-copy-control { flex: none; display: grid; justify-items: end; gap: 6px; max-width: 170px; }
.seo-copy-control button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 11px; border: 1px solid var(--lab-line); border-radius: 8px; background: #f4f6fb; color: var(--lab-blue); font-size: 11px; font-weight: 650; white-space: nowrap; }
.seo-copy-control [data-copy-status] { color: var(--lab-muted); font-size: 10px; text-align: right; }
.seo-prompt-block pre { margin: 0; padding: 23px; max-height: 560px; overflow: auto; background: #f9fafc; color: #344e68; font: 13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.seo-template-pitfalls { padding: 24px 27px; border-radius: 12px; border: 1px solid var(--lab-line); background: white; margin: 25px 0; }
.seo-template-pitfalls h2 { font-size: 19px; }
.seo-template-pitfalls ul { color: var(--lab-muted); font-size: 13px; line-height: 1.9; padding-left: 20px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--lab-line); border-radius: 8px; background: white; font-size: 12px; }
.seo-policy { max-width: 940px; margin-inline: auto; }
.seo-footer { width: min(100% - 64px,1320px); margin: 0 auto; border-top: 1px solid var(--lab-line); padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--lab-muted); font-size: 12px; }
.seo-footer > a { color: var(--lab-ink); font-weight: 750; }
.seo-footer p { margin: 0; flex: 1; }
.seo-footer > div { display: flex; gap: 18px; }
.seo-footer div a { color: var(--lab-muted); }
@media (max-width:1100px) {
  .seo-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .seo-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seo-hub-hero { gap: 32px; padding: 30px; }
  .seo-reading-layout { gap: 26px; grid-template-columns: minmax(0,1fr) 260px; }
}
@media (max-width:930px) {
  .seo-topic-section, .seo-prose [id], .seo-prompt-block { scroll-margin-top: 130px; }
  .seo-hub-hero { grid-template-columns: 1fr; }
  .seo-hub-guide { display: none; }
  .seo-reading-layout, .seo-template-layout { grid-template-columns: minmax(0,1fr); }
  .seo-reading-aside { display: contents; }
  .seo-reading-aside .seo-toc { grid-row: 1; }
  .seo-reading-main { grid-row: 2; }
  .seo-reading-aside > section { grid-row: 3; }
  .seo-template-overview { display: grid; grid-template-columns: 220px minmax(0,1fr); }
  .seo-template-start { display: inline-flex; }
  .seo-template-overview img { height: 100%; max-height: none; }
  .seo-grid, .seo-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .seo-main { width: calc(100% - 32px); padding: 22px 0 45px; }
  .seo-hub-hero { padding: 25px 22px; border-radius: 14px; }
  .seo-hub-hero h1 { font-size: 31px; }
  .seo-lead { font-size: 13px; }
  .seo-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
  .seo-stats > div { padding: 12px 14px; }
  .seo-stats dd { font-size: 20px; }
  .seo-stats dt { font-size: 10px; }
  .seo-topic-grid, .seo-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .seo-topic-card { flex-wrap: wrap; align-items: flex-start; gap: 9px; padding: 14px; min-height: 136px; }
  .seo-topic-card > div { flex-basis: 100%; order: 2; }
  .seo-topic-card div small { font-size: 10px; }
  .seo-topic-icon { width: 28px; height: 28px; }
  .seo-topic-count { margin-left: auto; font-size: 15px; }
  .seo-topic-card > svg { display: none; }
  .seo-category-grid .seo-topic-card > div { flex-basis: 100%; }
  .seo-category-grid .seo-topic-count { margin-left: auto; display: block; }
  .seo-section-heading { display: block; margin-bottom: 17px; }
  .seo-section-heading h2 { font-size: 23px; }
  .seo-section-heading > a { margin-top: 10px; }
  .seo-page-heading h1 { font-size: 30px; }
  .seo-guidance { padding: 19px; }
  .seo-guide { padding: 19px; gap: 13px; }
  .seo-grid, .seo-template-grid, .seo-related .seo-grid { grid-template-columns: 1fr; gap: 14px; }
  .seo-template-card-cover { aspect-ratio: 16/10; }
  .seo-prose { padding: 23px 21px; font-size: 15px; }
  .seo-prose h2 { font-size: 21px; }
  .seo-summary { padding: 20px; }
  .seo-reading-aside { grid-template-columns: 1fr; }
  .seo-sources { padding: 22px; }
  .seo-template-overview { display: block; }
  .seo-template-overview img { max-height: 260px; object-fit: contain; }
  .seo-template-overview-copy { padding: 21px; }
  .seo-version-nav { padding: 20px; }
  .seo-prompt-head { flex-wrap: wrap; padding: 18px; gap: 13px; }
  .seo-copy-control { justify-items: start; max-width: none; }
  .seo-prompt-block pre { padding: 18px; font-size: 12px; max-height: 500px; }
  .seo-template-pitfalls { padding: 21px; }
  .seo-footer { width: calc(100% - 32px); padding: 22px 0; }
  .seo-footer p { flex-basis: calc(100% - 120px); }
}
