.guide-page .brand { text-decoration: none; }
.guide-page .tabs a[aria-current="page"] { background: #ffffff18; border-color: #ffffff40; }
.guide-main { max-width: 1280px; margin: 0 auto; padding: 44px 32px 64px; }
.guide-intro h1 { font-size: 40px; margin: 8px 0 16px; }
.guide-intro .lede { max-width: 850px; }
.dataset-note { color: var(--muted); font-size: 14px; }
.guide-contents { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; }
.guide-contents a, .guide-main a { color: var(--teal); text-underline-offset: 3px; }
.guide-example { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.guide-example h2 { font-size: 28px; margin: 8px 0 16px; max-width: 950px; }
.guide-example h3 { font-size: 18px; margin: 24px 0 8px; }
.guide-example p { line-height: 1.65; margin: 8px 0 16px; }
.guide-example .finding { font-size: 20px; max-width: 1000px; }
.guide-chart { height: 300px; position: relative; margin: 24px 0 12px; }
.guide-chart canvas { width: 100% !important; height: 100% !important; }
.guide-table-wrap { overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.guide-table th, .guide-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.guide-table th:first-child, .guide-table td:first-child { text-align: left; }
.guide-table caption { text-align: left; font-weight: 600; margin: 12px 0 8px; }
.guide-table { display: table; min-width: 340px; }
.guide-table thead { display: table-header-group; }
.guide-table tbody { display: table-row-group; }
.guide-table tr { display: table-row; }
.guide-table th, .guide-table td { display: table-cell; width: auto; }
.guide-table td, .guide-table tbody th { white-space: nowrap; overflow-wrap: normal; }
.guide-table td::before { content: none; }
.guide-method { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
.guide-limit { border-left: 3px solid var(--gold); padding-left: 20px; }
.guide-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.guide-links a { font-weight: 600; }
.guide-footer { margin-top: 28px; color: var(--muted); line-height: 1.65; }
.guide-example .source-note { font-size: 13px; color: var(--muted); }
@media(max-width: 800px) {
  .guide-main { padding: 28px 20px 40px; }
  .guide-intro h1 { font-size: 32px; }
  .guide-example h2 { font-size: 24px; }
  .guide-method { grid-template-columns: 1fr; gap: 0; }
  .guide-example .finding { font-size: 18px; }
  .guide-chart { height: 340px; }
}
@media(max-width: 420px) {
  .guide-main { padding-left: 16px; padding-right: 16px; }
  .guide-intro h1 { font-size: 28px; }
  .guide-contents { flex-direction: column; gap: 14px; }
}
