/* Each guide supplies its own working example; these are the site's reading styles. */
.pg-guide-page { min-width: 0; }
.pg-guide-hint { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 22px; }
.pg-guide-build, .pg-guide-questions, .pg-guide-fields { border-top: 1px solid var(--line); padding: 42px 0; }
.pg-guide-page h2 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); letter-spacing: -.035em; }
.pg-guide-page h3 { font-size: 1.05rem; }
.pg-guide-page pre { max-width: 100%; overflow: auto; padding: 18px; background: var(--paper-soft); border: 1px solid var(--line); font-size: .8rem; }
.pg-guide-page pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
.pg-guide-page button { font: inherit; }
.pg-guide-page button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pg-guide-page .text-button { background: none; border: 0; padding: 8px 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-size: .84rem; }
.pg-guide-page details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.pg-guide-page summary { cursor: pointer; font-weight: 600; }
.pg-guide-page details p { margin: 14px 0 0; }
.pg-guide-field-scroll { overflow: auto; }
.pg-guide-fields td, .pg-guide-fields th { overflow-wrap: anywhere; }
.pg-guide-copy-feedback { min-height: 1.5em; font-size: .8rem; }
.pg-card { position: absolute; z-index: 20; width: 340px; max-width: 100%; padding: 22px; border: 1px solid #8da6bb; border-radius: 9px; background: #fff; box-shadow: 0 12px 38px #182f4a24; color: #243b50; text-align: left; }
.pg-card[hidden] { display: none; }
.pg-card.pg-card-inline { position: relative; width: 100%; margin: 12px 0 18px; grid-column: 1 / -1; }
.pg-card h3 { margin: 0 36px 12px 0; font-size: 1.1rem; }
.pg-card p { margin: 8px 0; font-size: .85rem; line-height: 1.6; }
.pg-card pre { margin: 0; padding: 10px; font-size: .72rem; }
.pg-card-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; color: #425c72; cursor: pointer; font-size: 1.5rem !important; }
.pg-card-close:hover { background: #edf3f8; border-radius: 6px; }
.pg-chart-table { border-collapse: collapse; width: 100%; }
.pg-chart-table th, .pg-chart-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.pg-support { padding: 36px 0; }
.pg-support figure { margin: 22px 0; }
.pg-bar-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.pg-bar-list li { display: grid; grid-template-columns: minmax(100px, 30%) 1fr auto; align-items: center; gap: 12px; font-size: .8rem; }
.pg-bar-fill { display: block; height: 15px; width: var(--amount); background: #7796a8; border-radius: 2px; }
@media (max-width: 600px) {
    .pg-guide-build, .pg-guide-questions, .pg-guide-fields { padding: 30px 0; }
    .pg-guide-fields th, .pg-guide-fields td { padding: 10px 5px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pg-guide-page *, .pg-guide-page *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.pg-header { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: start; gap: 32px; padding: 42px 0 32px; }
.pg-header-art { width: 136px; padding: 12px 5px; background: #f0f4fa; border: 1px solid #dbe3ee; border-radius: 12px; color: #50647e; }
.pg-header-art .project-sketch { display: block; width: 100%; height: auto; }
.pg-header-copy { min-width: 0; }
.pg-header .eyebrow { margin: 0 0 14px; }
.pg-header h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 3.7vw, 3.4rem); line-height: 1.1; letter-spacing: -.045em; max-width: 900px; }
.pg-header .lead { max-width: 790px; margin: 0; font-size: 1rem; }
.pg-header .project-actions { margin: 24px 0 0; }
@media (max-width: 767px) {
    .pg-header { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
    .pg-header-art { width: 104px; padding: 8px 4px; }
    .pg-header h1 { font-size: 2.25rem; }
    .pg-header .project-actions { gap: 16px; }
}
