:root {
  --ink: #11243b;
  --text: #42566e;
  --muted: #69788b;
  --line: #e0e6ed;
  --accent: #087f68;
  --accent-dark: #05614f;
  --wash: #f0f8f5;
  --header-height: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #f8fafb; color: var(--text); font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 50; padding: 10px 18px; background: #fff; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(1216px, 100% - 40px); height: 100%; margin: auto; display: flex; align-items: center; gap: 46px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.7px; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.primary-nav, .header-actions { display: flex; align-items: center; gap: 30px; }
.primary-nav a, .header-actions a { font-size: 14px; font-weight: 550; color: var(--ink); text-decoration: none; white-space: nowrap; }
.primary-nav a[aria-current] { color: var(--accent); }
.header-actions { margin-left: auto; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border: 1px solid transparent; border-radius: 7px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: #fff; }
.header-actions .button { padding: 8px 14px; color: #fff; background: var(--ink); }
.page-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); width: min(1216px, 100%); min-height: calc(100vh - var(--header-height)); margin: auto; background: #fff; border-inline: 1px solid var(--line); }
.sidebar { min-width: 0; border-right: 1px solid var(--line); }
.sidebar-inner { position: sticky; top: var(--header-height); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 30px 26px 32px 30px; scrollbar-width: thin; scrollbar-color: #dce5e3 transparent; }
.sidebar-label, .sidebar-title { margin: 0 0 14px; font-size: 12px; font-weight: 650; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.sidebar-label a { color: inherit; text-decoration: none; }
.toc-current { display: block; margin-bottom: 12px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list a { display: block; padding: 7px 12px; border-left: 2px solid transparent; color: var(--text); font-size: 14px; line-height: 1.45; text-decoration: none; }
.toc-list a:hover { color: var(--accent); background: #f7faf9; }
.toc-list a[aria-current="location"] { color: var(--accent-dark); background: var(--wash); border-left-color: var(--accent); }
.sidebar-more { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.sidebar-more a { display: block; margin: 12px 0; color: var(--text); font-size: 14px; text-decoration: none; }
.sidebar-more a:hover { color: var(--accent); }
.sidebar-more a::before { content: '↗'; margin-right: 10px; color: var(--accent); }
.sidebar-help { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fafcfb; }
.sidebar-help h3 { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.sidebar-help p, .sidebar-help a { font-size: 13px; line-height: 1.6; }
.sidebar-help p { margin: 0 0 10px; }
main { min-width: 0; padding: 26px 32px 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
h1, h2, h3 { color: var(--ink); }
h1 { margin: 0 0 18px; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.42; font-weight: 750; letter-spacing: -.65px; }
.byline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 16px; font-size: 13px; }
.byline span { display: inline-flex; align-items: center; gap: 8px; }
.byline svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.byline a { color: var(--text); text-decoration: none; }
article p { margin: 0 0 16px; }
.mobile-toc { display: none; }
.workflow-figure { margin: 28px 0 42px; }
.workflow-figure img { display: block; width: 100%; height: auto; }
.workflow-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.article-section { margin-top: 38px; }
.article-section h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.4; font-weight: 700; letter-spacing: -.4px; }
.article-section h3 { margin: 24px 0 8px; font-size: 19px; line-height: 1.45; }
.article-section ul, .article-section ol { padding-left: 24px; margin: 16px 0 22px; }
.article-section li { padding-left: 4px; margin: 10px 0; }
.article-section li::marker { color: var(--accent); font-weight: 700; }
strong { color: var(--ink); font-weight: 650; }
.note { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--wash); border-radius: 0 6px 6px 0; font-size: 15px; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 22px 0; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
caption { padding: 12px 16px; text-align: left; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--wash); color: var(--ink); font-size: 13px; font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.sample-table { min-width: 620px; }
.sample-table th:last-child, .sample-table td:last-child { text-align: right; white-space: nowrap; }
.download-links { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; font-weight: 600; }
.comparison-table th:first-child { width: 24%; }
.article-cta { padding: 26px; border: 1px solid #d8e8e1; border-radius: 10px; background: var(--wash); }
.article-cta h2 { font-size: 26px; }
.cta-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.faq-list { margin-top: 22px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 19px 35px 19px 0; color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 7px; top: 14px; color: var(--accent); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding-right: 24px; font-size: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.related-card { display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.related-card:hover { border-color: var(--accent); background: #fbfdfc; }
.related-card h3 { margin: 0 0 10px; font-size: 16px; }
.related-card p { margin-bottom: 18px; color: var(--text); font-size: 13px; }
.related-card span { margin-top: auto; font-size: 13px; font-weight: 600; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 24px; font-size: 13px; }
.footer-inner { max-width: 1152px; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text); text-decoration: none; }
@media (max-width: 1000px) {
  .page-layout { grid-template-columns: 245px minmax(0, 1fr); }
  .sidebar-inner { padding: 24px 18px; }
  .header-inner { gap: 30px; }
  .primary-nav { gap: 22px; }
  main { padding-inline: 26px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 86px; }
  .header-inner { width: calc(100% - 32px); gap: 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .primary-nav { display: none; }
  .header-actions { gap: 14px; }
  .header-actions a { font-size: 13px; }
  .header-actions .button { padding: 7px 11px; }
  .page-layout { display: block; border: 0; }
  .sidebar { display: none; }
  main { padding: 22px 22px 44px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 22px; }
  h1 { font-size: 28px; line-height: 1.3; }
  body { font-size: 16px; }
  .byline { gap: 8px 16px; font-size: 12px; }
  .mobile-toc { display: block; margin: 24px 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdfc; }
  .mobile-toc summary { padding: 13px 0; font-size: 14px; font-weight: 650; color: var(--ink); cursor: pointer; }
  .mobile-toc .toc-list { padding-bottom: 14px; }
  .mobile-toc a { padding-block: 9px; }
  .workflow-figure { margin: 24px 0 32px; }
  .workflow-figure figcaption { font-size: 11px; }
  .article-section { margin-top: 32px; }
  .article-section h2 { font-size: 23px; }
  .article-cta { padding: 22px; }
  .comparison-table { min-width: 540px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 360px) {
  .header-actions .sign-in { display: none; }
  main { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
