/* Reading layout for the guide; the link hub keeps its mobile-first layout. */
.guide-shell { width: 100%; max-width: 940px; margin: auto; padding: 0 max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.guide-header { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.guide-brand { display: block; width: 84px; height: auto; flex: none; }
.guide-brand img { display: block; width: 100%; height: auto; }
.guide-home { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #c7dce7; border-radius: 9px; color: var(--blue); text-decoration: none; font-size: .8125rem; font-weight: 500; }
.guide-breadcrumb { padding: 18px 0 0; font-size: .75rem; color: var(--muted); line-height: 1.6; }
.guide-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide-breadcrumb li + li::before { content: "/"; padding-right: 8px; }
.guide-breadcrumb a { color: var(--blue); }
.guide-hero { padding: 26px 0 30px; }
.guide-eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .6875rem; letter-spacing: .15em; font-weight: 600; text-transform: uppercase; }
.guide-shell h1 { max-width: 740px; font-size: clamp(1.875rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.guide-lead { margin: 18px 0 14px; max-width: 700px; font-size: 1.0625rem; line-height: 1.65; color: #314e60; }
.guide-meta { font-size: .75rem; line-height: 1.5; color: var(--muted); }
.guide-toc { border: 1px solid #cbdfe9; border-radius: 14px; background: #eaf3f7; padding: 20px; margin: 0 0 32px; }
.guide-toc h2 { margin: 0 0 12px; font-size: 1rem; }
.guide-toc ul, .guide-toc ol { margin: 0; padding-left: 20px; }
.guide-toc a { display: inline-block; padding: 9px 0; color: #005283; font-size: .9375rem; line-height: 1.55; text-underline-offset: 3px; }
.guide-section { scroll-margin-top: 20px; margin: 0 0 34px; }
.guide-section h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(1.375rem, 3.8vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.guide-section h3 { margin: 20px 0 10px; font-size: 1.0625rem; line-height: 1.35; }
.guide-section p, .guide-section li { font-size: .9375rem; line-height: 1.75; color: #3e5564; }
.guide-section p { margin: 0 0 14px; }
.guide-section li { margin-bottom: 9px; }
.guide-section a:not(.guide-cta) { color: #005283; text-underline-offset: 3px; }
.guide-section ul, .guide-section ol { padding-left: 22px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.guide-card { padding: 21px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.guide-card h3 { margin-top: 0; }
.guide-card p:last-child { margin-bottom: 0; }
.catalog-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
.catalog-index a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 1px solid #cbdfe9; border-radius: 8px; background: #eaf3f7; font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-family { margin: 0 0 16px; scroll-margin-top: 20px; overflow-wrap: anywhere; }
.catalog-family h3 { font-size: 1.1875rem; letter-spacing: -.025em; }
.catalog-family ul { margin-block: 12px; }
.catalog-family p, .catalog-family li { font-size: .875rem; }
.guide-checklist { padding-left: 22px; }
.guide-checklist li::marker { color: var(--blue); font-weight: 700; }
.guide-table-wrap { max-width: 100%; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: .8125rem; line-height: 1.65; }
.guide-table caption { padding: 14px; text-align: left; font-weight: 600; background: #eaf3f7; }
.guide-table th { font-weight: 600; color: var(--ink); background: #eaf3f7; }
.guide-table td { color: #3e5564; vertical-align: top; }
.guide-table th, .guide-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-callout { margin: 22px 0; padding: 20px; border-left: 3px solid #008ab2; border-radius: 0 12px 12px 0; background: #eaf3f7; }
.guide-callout p:last-child { margin-bottom: 0; }
.guide-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 14px 20px; margin: 8px 0; border: 1px solid #005283; border-radius: 10px; background: #005283; color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.guide-faq details { border-top: 1px solid var(--line); padding: 0; }
.guide-faq details:last-child { border-bottom: 1px solid var(--line); }
.guide-faq summary { padding: 18px 0; cursor: pointer; font-size: .9375rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
.guide-faq summary::marker { color: var(--blue); }
.guide-faq summary:focus-visible { outline: 3px solid #047ca6; outline-offset: 3px; border-radius: 4px; }
.guide-faq details p { padding: 0 4px 12px; }
.guide-sources { border-top: 1px solid var(--line); padding-top: 24px; }
.guide-sources p, .guide-sources li { font-size: .8125rem; }
.guide-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .75rem; line-height: 1.6; }
.guide-footer p { margin: 0; }
.guide-footer a { display: inline-block; min-height: 44px; padding: 12px 6px; color: var(--blue); text-underline-offset: 3px; }
@media (min-width: 700px) {
  .guide-shell { padding-inline: 36px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-hero { padding-block: 36px; }
  .guide-table th, .guide-table td { padding: 16px; }
}
@media print {
  body { background: #fff; }
  .guide-shell { max-width: none; }
  .guide-header, .guide-toc, .guide-cta, .guide-home { display: none; }
  .guide-section { break-inside: avoid; }
}
