/* Guide pilot only: a reading column, not a stack of cards. */
.guide-article { max-width: 780px; margin-inline: auto; color: var(--text-soft); }
.guide-article h1 { margin: 0 0 18px; font-size: clamp(1.875rem, 4vw, 2.625rem); line-height: 1.16; font-weight: 680; }
.guide-article h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 650; }
.guide-article h3 { font-size: 1.125rem; font-weight: 650; }
.guide-article p, .guide-article li { line-height: 1.75; }
.guide-article a { text-decoration: underline; text-underline-offset: 3px; }
.guide-article .guide-unit { white-space: nowrap; }
.guide-header .guide-answer { margin-bottom: 14px; color: var(--text); font-size: 1.0625rem; line-height: 1.65; }
.guide-article .guide-note { color: var(--text-muted); font-size: .8125rem; line-height: 1.6; }
.guide-header .guide-note span { display: block; margin-top: 8px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.guide-toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.guide-article > section { padding-top: 30px; scroll-margin-top: 80px; }
.guide-levels { margin: 20px 0; }
.guide-levels > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--border); }
.guide-levels dt { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; font-size: .9375rem; }
.guide-levels dd { margin: 0; font-size: .9375rem; line-height: 1.55; }
.guide-steps { padding-left: 23px; }
.guide-steps li + li { margin-top: 14px; }
.guide-example { margin: 22px 0; padding: 18px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.guide-example figcaption { margin-bottom: 18px; color: var(--text); }
.guide-example figcaption span { display: block; margin-top: 6px; color: var(--text-muted); font-size: .8125rem; line-height: 1.6; }
.guide-example .guide-example__value { display: flex; align-items: baseline; gap: 8px; margin-block: 12px; color: var(--text); font-size: 1.875rem; font-weight: 650; }
.guide-example__value span { font-size: .875rem; font-weight: 400; }
.guide-article .guide-cost-table { margin-bottom: 16px; }
.guide-cost-table th, .guide-cost-table td { padding: 12px 4px; overflow-wrap: normal; }
.guide-cost-table th:last-child, .guide-cost-table td:last-child { text-align: right; }
.guide-article .guide-link { display: flex; align-items: center; min-height: 44px; padding-block: 10px; line-height: 1.5; }
.guide-next { margin-top: 24px; border-top: 1px solid var(--border); }
@media (min-width: 768px) {
  .guide-article > section { padding-top: 38px; }
  .guide-example { padding: 24px; }
}

/* Shared additions for the remaining guides and the independent comparison page. */
.guide-article[data-guide-standard] table, .contract-page table { margin-block: 18px; table-layout: fixed; }
.guide-article[data-guide-standard] table th, .guide-article[data-guide-standard] table td, .contract-page table th, .contract-page table td { overflow-wrap: normal; hyphens: auto; vertical-align: top; padding: 12px 5px; }
.guide-article[data-guide-standard] caption, .contract-page caption { text-align: left; margin-bottom: 12px; color: var(--text); font-weight: 600; }
.guide-sources { margin-top: 26px; border-top: 1px solid var(--border); }
.guide-month-chart { margin: 24px 0; }
.guide-month-chart figcaption span { display: block; margin-top: 8px; font-size: .8125rem; color: var(--text-muted); }
.guide-month-list { list-style: none; margin: 20px 0; padding: 0; }
.guide-month-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding-block: 14px; border-bottom: 1px solid var(--border); }
.guide-month-list a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-month-list strong { font-size: .9375rem; font-weight: 600; }
.guide-month-list svg, .guide-month-list .guide-note { grid-column: 1 / -1; }
.guide-month-list svg { width: 100%; height: 12px; }
.guide-history-bar { fill: var(--accent); }
.guide-zero { stroke: var(--text-muted); stroke-width: 1; }
.contract-inputs { display: grid; grid-template-columns: 1fr; gap: 16px; margin-block: 20px; }
.contract-inputs label { display: flex; flex-direction: column; gap: 7px; color: var(--text); font-size: .875rem; font-weight: 600; }
.contract-inputs input, .contract-inputs select { font-size: 1rem; font-weight: 400; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.contract-calculator { padding: 20px 16px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.contract-results th, .contract-results td { font-size: .8125rem; }
.contract-page .contract-results td { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.contract-page .contract-total td { font-weight: 650; font-size: 1rem; color: var(--text); }
.contract-method summary { display: flex; align-items: center; min-height: 48px; color: var(--accent); }
.contract-method p { font-size: .875rem; }
.guide-situations { margin-block: 20px; }
.guide-situations div { padding-block: 16px; border-bottom: 1px solid var(--border); }
.guide-situations dt { color: var(--text); font-weight: 600; margin-bottom: 8px; }
.guide-situations dd { margin: 0; }
@media (min-width: 600px) { .contract-inputs { grid-template-columns: 1fr 1fr; } .contract-inputs label:first-child { grid-column: 1 / -1; } .contract-calculator { padding: 26px; } }
