/* Full document reading uses the same type, palette and source policies as the app. */
.seo-page .topbar{max-width:1440px;margin:auto;padding:16px 32px}.seo-page .brand{color:inherit;text-decoration:none}.seo-page .aa-language-menu a{display:block;padding:10px 16px;color:var(--ink);text-decoration:none}.seo-page .aa-language-menu a[aria-current=page]{font-weight:700;background:var(--paper-deep,#eee9df)}
.seo-page main{max-width:1250px;margin:0 auto;padding:24px 32px 64px}.seo-search{display:flex;gap:8px;max-width:580px;margin:20px 0}.seo-search input{flex:1;min-width:0;border:1px solid var(--line);padding:12px;font:inherit;background:var(--paper,#fff)}.seo-search button{background:var(--red,#2e5a88);border:0;color:white;padding:10px 16px;font:inherit;cursor:pointer}.seo-page .reader-breadcrumb{margin-bottom:24px;flex-wrap:wrap;overflow-wrap:anywhere}.seo-page .reader-view{padding:0}.seo-page .reader-intro h1,.seo-page .seo-title{font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.45}.seo-page .teaching-toolbar{position:static;background:none;padding:0;margin-bottom:24px;box-shadow:none}.seo-page .teaching-back{display:inline-block;text-decoration:none}.seo-page .teaching-article h1{font:inherit;font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.5}.seo-page .teaching-reading{max-width:none;border:0;padding:0;background:none}.seo-page .teaching-layout{padding:0}.seo-page .reader-toc-disclosure{margin-top:18px}.seo-page .reader-toc a{white-space:normal}.seo-page .reader-actions button{font:inherit;cursor:pointer}.seo-page .related-card{text-decoration:none}.seo-page .teaching-body p,.seo-page .detail-section p,.seo-page .letter-body{white-space:pre-line}.seo-page .seo-glossary{max-width:780px;padding:28px}.seo-page .seo-glossary h1{margin:12px 0;font:inherit;font-size:2rem;font-weight:600}.seo-page .seo-glossary h1 small{display:block;font-size:1.1rem;margin-top:8px}.seo-page .seo-glossary p{font-size:1.1rem;line-height:1.95}.seo-page .seo-collection{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.seo-page .seo-collection li{border:1px solid var(--line);background:var(--paper,#fff);padding:20px;border-radius:4px;min-width:0}.seo-page .seo-collection a{color:inherit;font-size:1.12rem;font-weight:600;line-height:1.65;text-decoration:underline;text-underline-offset:4px}.seo-page .seo-collection p{line-height:1.8;margin-bottom:0}.seo-directory{display:flex;gap:12px 24px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--line);margin-top:32px}.seo-directory a{color:var(--red,#2e5a88);font-weight:600}.seo-page footer{max-width:1250px;margin:auto}.seo-page [id]{scroll-margin-top:24px}.knowledge-card[href]{text-decoration:none;color:inherit;cursor:pointer;display:block}.glossary-card h4 a{color:inherit;text-underline-offset:4px}
@media(max-width:900px){.seo-page main{padding:20px 18px 40px}.seo-page .seo-collection{grid-template-columns:1fr}.seo-page .reader-layout{display:flex;flex-direction:column}.seo-page .reader-intro{order:0}.seo-page .reader-aside{order:1;position:static;width:100%}.seo-page .reader-article{order:2;min-width:0}.seo-page .teaching-layout{display:flex;flex-direction:column}.seo-page .teaching-outline{order:-1;width:100%;position:static}.seo-page .teaching-article{padding:20px 0;min-width:0}.seo-page .seo-glossary{padding:20px}.seo-page .reader-intro h1{font-size:1.7rem}.seo-page .reader-aside .reader-date,.seo-page .reader-aside .reader-level{display:none}}

.seo-page .teaching-reading .detail-section h2,.seo-page .teaching-reading .approved-method h2{font-family:Georgia,"Noto Serif JP",serif;font-weight:400;font-size:26px;line-height:1.6;margin:0 0 15px;scroll-margin-top:24px}.seo-page .teaching-reading .approved-method h2{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
@media(max-width:900px){.seo-page .teaching-reading .detail-section h2,.seo-page .teaching-reading .approved-method h2{font-size:23px}}

@media(max-width:900px){.seo-page .topbar{padding:12px 18px}}
