/* Common reading measure; each guide owner supplies its own subject and tools. */
.gsp-page { color: var(--ink); }
.gsp-page .gsp-opening { padding-block: clamp(28px, 3vw, 42px) clamp(38px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.gsp-page .gsp-opening .crumbs { margin-bottom: 32px; }
.gsp-page .gsp-opening .po-grid { align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(36px, 6vw, 84px); }
.gsp-page .gsp-opening h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); line-height: 1.06; letter-spacing: -.045em; max-width: 20ch; text-wrap: balance; margin-bottom: 26px; }
.gsp-page .gsp-opening .po-copy > .lede { font-size: 1.125rem; line-height: 1.8; max-width: 49ch; }
.gsp-page .gsp-opening .meta-note { border: 0; padding: 0; font-size: .875rem; line-height: 1.7; margin-top: 22px; max-width: 55ch; background: transparent; }
.gsp-page .gsp-subject { min-width: 0; }
.gsp-page .gsp-art { width: min(100%, 380px); margin: 0 auto 12px; color: var(--ink); }
.gsp-page .gsp-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.gsp-page .gsp-tool-index { border-top: 1px solid var(--line-2); padding: 20px 0 0; }
.gsp-page .gsp-k { font-size: .875rem; line-height: 1.6; font-weight: 650; letter-spacing: .04em; color: var(--muted); margin: 0 0 14px; }
.gsp-page .gsp-includes { font-size: 1rem; line-height: 1.8; margin: 0 0 16px; max-width: 50ch; }
.gsp-page .gsp-tool-index ul { padding: 0; margin: 0; list-style: none; }
.gsp-page .gsp-tool-index li { border-top: 1px solid var(--line); }
.gsp-page .gsp-tool-index a { display: flex; align-items: start; justify-content: space-between; gap: 24px; min-height: 54px; padding-block: 16px; text-decoration: none; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.gsp-page .gsp-tool-index a span { min-width: 0; }
.gsp-page .gsp-tool-index a .ico { width: 18px; height: 18px; margin-top: 5px; flex: none; }
.gsp-page .gsp-tool-index a:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.gsp-page .gsp-tool-index a:focus-visible { outline: 2px solid var(--focus-line); outline-offset: 4px; }
.gsp-page .gsp-reading { padding-block: clamp(40px, 5vw, 72px); }
.gsp-page .gsp-body { align-items: start; gap: clamp(30px, 4vw, 64px); }
.gsp-page .gsp-body .toc-body { padding-inline: 8px; }
.gsp-page .doc { min-width: 0; }
.gsp-page .doc-sec { padding-block: 0 44px; margin-bottom: 38px; }
.gsp-page .doc-sec + .doc-sec { padding-top: 38px; }
.gsp-page .doc-sec h2 { font-size: clamp(1.875rem, 2.6vw, 2.5rem); line-height: 1.18; letter-spacing: -.03em; }
.gsp-page .doc-sec h3 { font-size: 1.375rem; line-height: 1.4; }
.gsp-page .doc-sec p, .gsp-page .doc-sec li { font-size: 1rem; line-height: 1.85; }
.gsp-page .line-section-index { color: var(--muted); margin-bottom: 12px; font-size: .875rem; }
.gsp-page .doc-sec > .line-section-index { font-size: .875rem; line-height: 1.6; }
.gsp-page .doc-sec .ui-links { flex-wrap: wrap; gap: 12px 24px; }
.gsp-page .doc-sec .ui-links a { min-height: 44px; padding-block: 8px; }
.gsp-page .doc-sec .check-box, .gsp-page .doc-sec .guide-table { max-width: 100%; }
.gsp-page .doc-sec table { font-size: 1rem; line-height: 1.7; }
.gsp-page .doc-sec input[type="checkbox"] { flex: none; }
.gsp-page .line-worksheet-actions { flex-wrap: wrap; }
.gsp-page .guide-foot { font-size: .875rem; line-height: 1.8; }
@media (max-width: 979px) {
  .gsp-page .gsp-art { width: min(100%, 310px); }
}
@media (max-width: 679px) {
  .gsp-page .gsp-opening h1 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
  .gsp-page .gsp-opening .po-copy > .lede { font-size: 1rem; }
  .gsp-page .gsp-art { width: min(75%, 260px); margin-bottom: 16px; }
  .gsp-page .doc-sec h2 { font-size: 1.875rem; }
}
@media print {
  .gsp-page .gsp-art, .gsp-page .gsp-tool-index { display: none !important; }
  .gsp-page [data-print] { display: none !important; }
  .gsp-page .gsp-opening { padding: 0 0 20px; }
  .gsp-page .gsp-body { display: block; }
  .gsp-page .doc-sec { break-inside: auto; margin-bottom: 20px; padding-bottom: 20px; }
}

/* 29 Oct 2026: guide byline (author, review, updated date) */
.gsp-byline { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.gsp-byline .ico { flex: none; width: 17px; height: 17px; margin-top: 3px; }
.gsp-byline-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.gsp-byline-link:hover { text-decoration-color: currentColor; }
.gsp-page .gsp-opening .gsp-byline + .meta-note { margin-top: 10px; }
