.resource-article-page { background: #fff; }
.resource-article-page main { font-weight: 500; }
.guide-skip { position: fixed; top: -80px; left: 24px; z-index: 2000; background: #fff; padding: 12px 20px; border: 2px solid var(--blue-700); border-radius: 6px; }
.guide-skip:focus { top: 12px; }
.guide-hero { background: linear-gradient(110deg, #eef5fb, #f7fafc); border-bottom: 1px solid var(--slate-200); padding: 30px 0 52px; }
.guide-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 13px; margin-bottom: 38px; }
.guide-breadcrumb li + li::before { content: '/'; color: var(--slate-400); margin-right: 8px; }
.guide-breadcrumb a { color: var(--slate-600); }
.guide-eyebrow { color: var(--blue-700); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.guide-hero h1 { max-width: 1100px; margin: 16px 0 22px; text-wrap: balance; font-size: clamp(32px, 3.7vw, 48px); line-height: 1.16; }
.guide-deck { max-width: 790px; font-size: 16px; line-height: 1.7; }
.guide-byline { margin-top: 26px; font-size: 13px; color: var(--slate-500); }
.guide-byline span { margin-inline: 10px; }
.guide-layout { display: grid; max-width: 1068px; grid-template-columns: 220px minmax(0, 760px); gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 40px; }
.guide-sidebar { position: sticky; top: 110px; }
.guide-toc { border-left: 2px solid var(--slate-200); padding-left: 20px; }
.guide-toc summary { color: var(--navy-900); font-size: 14px; font-weight: 500; line-height: 24px; min-height: 44px; padding: 10px 0; cursor: pointer; list-style-position: inside; }
.guide-toc-links { padding-top: 8px; }
.guide-toc ol { list-style: none; display: grid; gap: 4px; }
.guide-toc a { font-size: 14px; color: var(--slate-600); display: block; min-height: 40px; padding: 8px 0; line-height: 1.5; }
.guide-toc a:hover { color: var(--blue-700); }
.guide-toc .guide-toc-back { margin-top: 12px; color: var(--blue-700); font-weight: 500; }
.guide-content { min-width: 0; font-size: 16px; line-height: 1.7; }
.guide-content section, .guide-content { scroll-margin-top: 110px; }
.guide-content section + section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--slate-200); }
.guide-content h2 { font-size: 28px; margin-bottom: 16px; }
.guide-content h3 { font-size: 19px; margin: 26px 0 10px; }
.guide-content p + p, .guide-content ul + p, .guide-content ol + p { margin-top: 16px; }
.guide-content ul, .guide-content ol { padding-left: 24px; margin-top: 16px; }
.guide-content li + li { margin-top: 10px; }
.guide-content strong { color: var(--navy-900); font-weight: 700; }
.guide-content a:not(.guide-contact) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a8cde5; }
.guide-summary { padding: 24px 28px; background: #f0f7fc; border-left: 3px solid var(--blue-700); border-radius: 0 8px 8px 0; margin-bottom: 40px; }
.guide-summary > p + p { margin-top: 10px; color: var(--navy-900); }
.guide-table-wrap { max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid var(--slate-200); border-radius: 8px; }
.guide-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.65; }
.guide-table-wrap th, .guide-table-wrap td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--slate-200); }
.guide-table-wrap thead { background: #edf4fa; color: var(--navy-900); }
.guide-table-wrap tbody th { width: 24%; background: var(--slate-50); color: var(--navy-900); }
.guide-table-wrap tbody tr:last-child > * { border-bottom: 0; }
.guide-formula { padding: 22px 26px; margin: 20px 0; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; }
.guide-formula strong { display: block; font-size: 24px; letter-spacing: .04em; }
.guide-formula span { display: block; font-size: 13px; margin-top: 8px; }
.guide-content .guide-project { padding: 28px; border: 1px solid #c9e0ef; border-top: 3px solid var(--blue-700); border-radius: 10px; background: var(--slate-50); }
.guide-project h2 { margin-top: 12px; }
.guide-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 24px; padding: 14px 24px; color: #fff; background: linear-gradient(135deg, #1670f5 0%, #1e9bf0 35%, #22c3d6 70%, #4fd992 100%); border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.guide-contact:hover { color: #fff; box-shadow: 0 4px 12px rgba(0,119,200,.2); }
.guide-product-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 13px; }
.guide-related { background: var(--slate-50); padding: 48px 0 60px; border-top: 1px solid var(--slate-200); }
.guide-related h2 { margin: 12px 0 26px; font-size: 28px; }
.guide-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-related-grid > a { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; }
.guide-related-grid strong { font-size: 20px; line-height: 1.4; color: var(--navy-900); }
.guide-related-grid > a > span:first-child { color: var(--slate-500); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.guide-link-label { margin-top: auto; font-size: 14px; font-weight: 700; }
.guide-related-grid > a:hover { border-color: var(--blue-700); }
.resource-article-page main a:focus-visible, .guide-table-wrap:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 4px; }
@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .guide-hero { padding: 24px 0 36px; }
  .guide-breadcrumb ol { margin-bottom: 26px; }
  .guide-deck { font-size: 16px; }
  .guide-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 40px; }
  .guide-sidebar { position: static; }
  .guide-toc { padding: 12px 16px; border: 1px solid var(--slate-200); border-radius: 8px; }
  .guide-toc ol { gap: 10px; }
  .guide-content h2 { font-size: 25px; }
  .guide-summary { padding: 16px; margin-bottom: 28px; }
  .guide-content .guide-project { padding: 22px; }
  .guide-contact { width: 100%; }
  .guide-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-related { padding: 36px 0 40px; }
}

.resource-article-page .guide-hero h1,
.resource-article-page .guide-content h2,
.resource-article-page .guide-content h3,
.resource-article-page .guide-related h2 { font-weight: 500; }
