/* Preserve the identity; make controls and editorial openings easier to use. */
html { scroll-padding-top: calc(var(--site-header-height, 125px) + 12px); }
.article-body h2[id], .article-body h3[id], .reader-section-anchor { scroll-margin-top: 0; }
.article-toc ol{counter-reset:contents;list-style:none;padding-left:0}
.article-toc li { margin: 0; counter-increment:contents; }
.article-toc li.toc-subsection { padding-left:0; }
.article-toc li.toc-subsection a { padding-left:1.2rem; }
.article-toc li a { display: flex; gap:.4rem; padding: .6rem .5rem; min-height: 44px; line-height: 1.45; border-radius: 6px; }
.article-toc li a::before{content:counter(contents) ".";flex:0 0 1.5rem;font-variant-numeric:tabular-nums}
.article-toc li a:hover, .article-toc li a:focus-visible { background: var(--brand-teal-light,#e6f4f1); outline-offset: 2px; }
.search-results a { display: block; }
.search-result-meta { font-size: .8rem; color: var(--text-muted); }
.tool-picker { margin: 1.5rem 0; padding: 1.2rem; background: var(--surface,#fff); border: 1px solid var(--border-subtle,#e2e8f0); border-radius: 12px; }
.tool-picker select { width: 100%; max-width: 650px; margin-top: .6rem; min-height: 48px; }
.tool-hero{padding:36px 0 20px}.tool-hero+[data-reliability-picker]{padding-top:0}
.tool-panel[hidden] { display: none !important; }
.tool-panel[id]{scroll-margin-top:0}
.compact-method { margin-top: 1.3rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.compact-method summary { cursor: pointer; padding: .6rem 0; font-weight: 600; }
.projection-controls, .business-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.business-cost-grid .field { min-width: 0; }
.business-cost-grid select { margin-top: .4rem; }
.business-method, .source-review-note { color: var(--text-muted); font-size: .85rem; line-height: 1.6; }
.source-review-note { margin: .5rem 0 1rem; }
.business-flow { margin-top: 1rem; width: 100%; font-variant-numeric: tabular-nums; }
.business-flow th { text-align: left; font-weight: 500; }
.business-flow td { text-align: right; }
.business-flow th,.business-flow td { padding: .4rem; border-bottom: 1px solid var(--border-subtle); }
.dispatch-consent { display: flex; align-items: flex-start; gap: .6rem; width: 100%; font-size: .88rem; }
.dispatch-consent input { width: 18px; min-width: 18px; margin-top: .2rem; }
.capture-status[data-state="error"] { color: #b42318; }
.capture-status[data-state="accepted"] { color: var(--brand-teal,#0d5c56); }
.form-message.is-error,.capture-status.is-error{color:#b42318}.form-message.is-accepted,.capture-status.is-accepted{color:var(--brand-teal,#0d5c56)}.dispatch-privacy{display:block;width:100%;line-height:1.5;margin-top:.5rem}
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-theme="dark"] .capture-status[data-state="error"] { color: #fca5a5; }
[data-theme="dark"] .is-error{color:#fca5a5}
[data-theme="dark"] .article-toc li a:hover { background: #163b37; }
@media(max-width:700px){
  .guide-hero { padding: 22px 0 16px; }
  .guide-hero h1 { font-size: 1.85rem; line-height: 1.2; margin-top: .8rem; }
  .guide-hero .breadcrumb-current { display: none; }
  .guide-hero .breadcrumbs, .guide-hero .breadcrumb { margin-bottom: .6rem; }
  .guide-layout { padding-top: 8px; }
  .article-body > .short-answer { margin-bottom: 1rem; }
  .article-body > .article-toc { margin: 0 0 1.2rem; padding: .8rem; }
  .article-body > .article-toc ol { max-height: none; }
  .projection-controls, .business-cost-grid { grid-template-columns: 1fr; }
}
 .search-results{list-style:none;padding:0}.search-results a{display:grid;gap:.3rem}.search-result-meta{font-size:.8rem;color:var(--text-muted,#475569)}
