/* Edition113: shared approved chapter/menu/readability system. Last stylesheet on all public routes. */
#menu-toggle{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;align-content:normal;width:72px;height:64px;padding:0;gap:6px}
#menu-toggle span{display:block;width:auto;white-space:nowrap;font-size:13px;line-height:1.2;letter-spacing:.04em;margin:0}
#menu-toggle i,#menu-toggle i:last-child{display:block;flex:none;width:24px;height:1px;margin:0;background:currentColor}
#site-menu{box-sizing:border-box;max-width:100vw}
#site-menu .menu-group{border-top:1px solid #efebd833}
#site-menu .menu-group-toggle{font-size:27px;line-height:1.5;padding:25px 0;letter-spacing:.06em;gap:12px}
#site-menu .menu-group-panel{padding-left:0}
#site-menu .menu-group-panel a{font-size:16px;line-height:1.8;padding:14px 0;min-height:44px;box-sizing:border-box}
#site-menu>.menu-booking{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:16px;line-height:1.7;padding:18px 20px;border:1px solid #efebd84d;margin-top:24px}
#site-menu .menu-utilities,#site-menu .menu-utilities button{font-size:14px;line-height:1.8}
#site-menu .menu-utilities a,#site-menu .menu-utilities button{min-height:44px;display:inline-flex;align-items:center}
#site-menu>.menu-preview-note{font-size:12px;line-height:1.9}
/* Quiet, regular page contents. Decoration numbers are removed in the shared build transform. */
.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps{gap:0 26px;border-top:1px solid #9b88584d;border-bottom:0}
.about-jumps a,.prayer-jumps a,.guide-jumps a,.story-jumps a,.timeline-jumps a,.family-jumps a,.koyasan-jumps a{font-size:15px!important;line-height:1.8;letter-spacing:.035em;padding:18px 0;min-height:52px;box-sizing:border-box;border:0;border-bottom:1px solid #9b88584d;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.page-about .about-copy p,.page-shingon .foundation-layout .reading-columns p,.page-shingon .reading-columns p,.reading-wide,.page-kobo-daishi .story-caption p,.page-kobo-timeline .timeline-list p,.page-koyasan .koyasan-copy p,.treasures-intro p:not(.sub-eyebrow),.heritage-items p,.treasure-narrative p,.prayer-section p,.guide-section p{font-size:16px}
.about-facts dt,.about-facts dd,.page-about .about-link,.page-about .about-chapter-intro,.page-about .about-copy .about-small-note,.page-about .about-copy .about-reference,.teaching-terms dd,.reading-small,.source-note p,.thumb-name,.thumb-title,.treasure-art figcaption,.gallery-help,.prayer-section p.prayer-small,.prayer-field-note,.prayer-form-footnote,.prayer-facts,.prayer-review dt,.guide-section p.guide-note,.guide-buddha-figure p.guide-reading,.guide-mantra dt,.sub-breadcrumb,.teaching-nav a,.sub-footer p,.sub-footer>a:last-child{font-size:14px;line-height:1.85}
.request-page .hint,.request-page .calendar-help,.request-page .date-status,.request-page .time-status{font-size:13px!important;line-height:1.8!important}
.request-page label,.request-page label small,.request-page .review-panel dt,.request-page .toba-table th{font-size:14px}
.service-entry p,.stay-verse,.stay-information dt,.stay-information dd,.visit-information dt,.visit-information dd,.teaching-copy p,.facility-copy p,.footer-nav,.footer-lower p{font-size:15px}
@media(max-width:700px){
 #site-menu .menu-group-toggle{font-size:24px;padding:23px 0;letter-spacing:.035em}
 #site-menu .menu-group-panel a{font-size:16px}
 #site-menu>.menu-booking{font-size:15px;padding:16px}
 .about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
 .about-jumps a,.prayer-jumps a,.guide-jumps a,.story-jumps a,.timeline-jumps a,.family-jumps a,.koyasan-jumps a{font-size:14px!important;padding:15px 0;line-height:1.8;letter-spacing:.015em}
 .about-jumps a:last-child:nth-child(odd),.prayer-jumps a:last-child:nth-child(odd),.guide-jumps a:last-child:nth-child(odd){grid-column:auto}
 .page-about .about-copy p,.page-shingon .foundation-layout .reading-columns p,.page-shingon .reading-columns p,.reading-wide,.page-kobo-daishi .story-caption p,.page-kobo-timeline .timeline-list p,.page-koyasan .koyasan-copy p,.treasures-intro p:not(.sub-eyebrow),.heritage-items p,.treasure-narrative p,.prayer-section p,.guide-section p{font-size:15px}
 .page-about .about-copy .about-small-note,.page-about .about-copy .about-reference,.guide-section p.guide-note,.prayer-section p.prayer-small{font-size:13px}
}
/* Existing about-family rules are two-class selectors: reset their inherited grid borders explicitly. */
.page-about .about-jumps{gap:0 26px;background:transparent;border-top:1px solid #aa956680;border-bottom:0}
.page-about .about-jumps a{border:0;border-bottom:1px solid #163f4333;padding:18px 0;min-height:52px;gap:12px}
.page-about .about-jumps a:nth-child(3),.page-about .about-jumps a:last-child{border-right:0}
@media(max-width:700px){.page-about .about-jumps{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.page-about .about-jumps a{padding:15px 0;min-height:52px}.page-about .about-jumps a:last-child:nth-child(odd){grid-column:auto}}

/* Edition114: every page-contents cell uses the same inset and rule; no odd last-cell span.
   Scoped important resets defeat legacy nth-child padding/borders without touching labels elsewhere. */
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(n){
 grid-column:auto!important;border:0!important;border-bottom:1px solid #8e978b70!important;
 padding:18px 0!important;box-sizing:border-box;align-self:stretch;min-width:0;
}
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a>span[aria-hidden="true"]{
 display:block;flex:0 0 16px;width:16px;text-align:center;margin-left:auto;
}
@media(max-width:700px){
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps){grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:20px!important}
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(n){padding:15px 0!important}
}
/* Edition120: page-local contents only; restored grid rules and a small gold diamond before each link. */
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps){gap:0!important;border-top:1px solid #9b9e8d!important;border-bottom:0!important}
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(n){
 grid-column:auto!important;padding:18px 14px!important;border:0!important;border-right:1px solid #9b9e8d!important;border-bottom:1px solid #9b9e8d!important;justify-content:flex-start;gap:9px;
}
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:last-child{border-right:0!important}
:is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a::before{
 content:"";display:block;flex:0 0 4px;width:4px;height:4px;background:#aa8d54;transform:rotate(45deg);pointer-events:none;
}
@media(max-width:700px){
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps){grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:0!important}
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(n){padding:15px 14px!important}
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(odd){border-right:1px solid #9b9e8d!important;padding-left:0!important}
 :is(.about-jumps,.prayer-jumps,.guide-jumps,.story-jumps,.timeline-jumps,.family-jumps,.koyasan-jumps)>a:nth-child(even){border-right:0!important;padding-right:0!important}
}
/* Edition121: remove only the final facilities link's redundant rule above the gold chapter boundary. */
.page-facilities .about-jumps>a[href="#facilities-stay"]{border-bottom:0!important}

/* E152: mobile menu stays in the page header, leaving the reading area clear while scrolling. */
@media(max-width:700px){#menu-toggle{position:absolute}}

/* About: match the dark teaching navigation without diamond markers. */
body.about-main-page .about-jumps{display:flex;flex-wrap:wrap;padding:0 7%;background:#12373b;border:0!important;gap:0!important}
body.about-main-page .about-jumps>a:nth-child(n){color:#f3eee3;font-size:12px!important;padding:23px 30px 22px 0!important;margin-right:38px;min-height:0;border:0!important;letter-spacing:.08em}
body.about-main-page .about-jumps>a::before{content:none}
body.about-main-page .about-jumps>a>span{display:none!important}
body.about-main-page .about-jumps>a:hover{background:transparent;color:#e1cc94}
/* Keep a single menu boundary without the first chapter ornament. */
body.page-funeral .about-jumps>a:nth-child(n){border-bottom:1px solid #9b9e8d!important}
body.page-funeral .about-jumps + .about-chapter{border-top:0}
@media(max-width:700px){
 body.about-main-page .about-jumps{display:grid;grid-template-columns:1fr 1fr!important}
 body.about-main-page .about-jumps>a:nth-child(n){padding:13px 12px 13px 0!important;margin:0;font-size:11px!important}
 body.page-funeral .about-jumps>a:nth-child(-n+4){border-bottom:1px solid #9b9e8d!important}
}
