/* Dedicated ref-support-main template only; not globally enqueued. */
.ref-site-footer a{color:#23634e;text-underline-offset:.2em}
.ref-support-main .ref-adult-correction{border:1px solid #d6e1d8;border-radius:.6rem;padding:1rem;margin:1rem 0}
.ref-support-main .ref-adult-correction summary{cursor:pointer;font-weight:700;min-height:44px}
.ref-support-main .ref-adult-correction summary:focus-visible,.ref-support-main .ref-table-scroll:focus-visible{outline:3px solid #bd711c;outline-offset:3px}
.ref-support-main{max-width:1080px;margin-inline:auto;padding:2rem 1rem 3rem}
.ref-support-main>.wp-block-post-title{max-width:760px;margin:0 auto 1.5rem;font-size:clamp(2rem,4vw,3.3rem);line-height:1.12;letter-spacing:-.035em;color:#18392f}
.ref-support-main>.wp-block-post-content{max-width:760px;margin-inline:auto;background:#fffefa;border:1px solid #d6e1d8;border-radius:1rem;padding:clamp(1rem,3vw,2rem);color:#18392f}
.ref-support-main .wp-block-post-content p,.ref-support-main .wp-block-post-content li{line-height:1.65;overflow-wrap:anywhere}
.ref-support-main .wp-block-post-content h2{font-size:1.5rem;line-height:1.25;margin-top:2rem}
.ref-support-main a{color:#23634e;text-underline-offset:.2em}
.ref-support-main a:focus-visible,.ref-site-header a:focus-visible,.ref-site-footer a:focus-visible{outline:3px solid #bd711c;outline-offset:3px}
.ref-support-main .wp-block-table{overflow-x:auto;margin:1rem 0}
.ref-support-main table{border-collapse:collapse;width:100%;min-width:420px;table-layout:fixed;font-size:.95rem}
.ref-support-main th,.ref-support-main td{border:1px solid #b4c8ba;padding:.6rem;vertical-align:top;overflow-wrap:anywhere;height:2.7rem}
.ref-support-main thead{background:#e3eee7}
@media print{.ref-support-main{max-width:none;padding:0}.ref-support-main>.wp-block-post-content{border:0;padding:0;max-width:none}.ref-support-main>.wp-block-post-title{font-size:20pt}.ref-support-main h2{break-after:avoid}.ref-support-main p,.ref-support-main li{orphans:3;widows:3}}
@media print{.ref-support-main table{min-width:0}.ref-support-main .wp-block-table{overflow:visible}}

@media screen and (max-width:480px){body.page-id-106 .ref-support-main table{min-width:0;table-layout:auto}body.page-id-106 .ref-support-main th,body.page-id-106 .ref-support-main td{padding:.35rem}}

@media print{body.page-id-106 .ref-site-header,body.page-id-106 .ref-site-footer,body.page-id-106 #wpadminbar{display:none!important}body.page-id-106{margin-top:0!important}}

@media print{body.postid-109 .ref-site-header,body.postid-109 .ref-site-footer,body.postid-109 #wpadminbar{display:none!important}body.postid-109{margin-top:0!important}}
/* Dedicated ref-support-main template only; not globally enqueued. */
.ref-site-footer a{color:#23634e;text-underline-offset:.2em}
.ref-support-main .ref-adult-correction{border:1px solid #d6e1d8;border-radius:.6rem;padding:1rem;margin:1rem 0}
.ref-support-main .ref-adult-correction summary{cursor:pointer;font-weight:700;min-height:44px}
.ref-support-main .ref-adult-correction summary:focus-visible,.ref-support-main .ref-table-scroll:focus-visible{outline:3px solid #bd711c;outline-offset:3px}
.ref-support-main{max-width:1080px;margin-inline:auto;padding:2rem 1rem 3rem}
.ref-support-main>.wp-block-post-title{max-width:760px;margin:0 auto 1.5rem;font-size:clamp(2rem,4vw,3.3rem);line-height:1.12;letter-spacing:-.035em;color:#18392f}
.ref-support-main>.wp-block-post-content{max-width:760px;margin-inline:auto;background:#fffefa;border:1px solid #d6e1d8;border-radius:1rem;padding:clamp(1rem,3vw,2rem);color:#18392f}
.ref-support-main .wp-block-post-content p,.ref-support-main .wp-block-post-content li{line-height:1.65;overflow-wrap:anywhere}
.ref-support-main .wp-block-post-content h2{font-size:1.5rem;line-height:1.25;margin-top:2rem}
.ref-support-main a{color:#23634e;text-underline-offset:.2em}
.ref-support-main a:focus-visible,.ref-site-header a:focus-visible,.ref-site-footer a:focus-visible{outline:3px solid #bd711c;outline-offset:3px}
.ref-support-main .wp-block-table{overflow-x:auto;margin:1rem 0}
.ref-support-main table{border-collapse:collapse;width:100%;min-width:420px;table-layout:fixed;font-size:.95rem}
.ref-support-main th,.ref-support-main td{border:1px solid #b4c8ba;padding:.6rem;vertical-align:top;overflow-wrap:anywhere;height:2.7rem}
.ref-support-main thead{background:#e3eee7}
@media print{.ref-support-main{max-width:none;padding:0}.ref-support-main>.wp-block-post-content{border:0;padding:0;max-width:none}.ref-support-main>.wp-block-post-title{font-size:20pt}.ref-support-main h2{break-after:avoid}.ref-support-main p,.ref-support-main li{orphans:3;widows:3}}
@media print{.ref-support-main table{min-width:0}.ref-support-main .wp-block-table{overflow:visible}}

@media screen and (max-width:480px){body.page-id-106 .ref-support-main table{min-width:0;table-layout:auto}body.page-id-106 .ref-support-main th,body.page-id-106 .ref-support-main td{padding:.35rem}}

@media print{body.page-id-106 .ref-site-header,body.page-id-106 .ref-site-footer,body.page-id-106 #wpadminbar{display:none!important}body.page-id-106{margin-top:0!important}}

/* Local candidate, not enqueued. Requires exact article template and received post-ID gate. */
.ref-article-main>.ref-article-breadcrumb,.ref-article-main>.ref-article-date{max-width:760px;margin-inline:auto;line-height:1.65;overflow-wrap:anywhere}
.ref-article-main>.ref-article-breadcrumb{margin-block:0 1rem;font-size:.95rem}
.ref-article-main>.ref-article-date{margin-block:0 1.25rem;color:#536b61;font-size:.95rem}
.ref-article-main .wp-block-post-content h3{font-size:1.2rem;line-height:1.35;overflow-wrap:anywhere}
.ref-article-main .wp-block-post-content a{overflow-wrap:anywhere}
@media print{.ref-article-main>.ref-article-breadcrumb{display:none!important}.ref-article-main>.ref-article-date{font-size:10pt;margin-bottom:.75rem}.ref-article-main .wp-block-post-content h3{break-after:avoid}.ref-article-main .wp-block-post-content a{color:inherit}}

@media print{body.post-template-ref-site6-article.postid-109 .ref-site-header,body.post-template-ref-site6-article.postid-109 .ref-site-footer,body.post-template-ref-site6-article.postid-109 #wpadminbar{display:none!important}body.post-template-ref-site6-article.postid-109{margin-top:0!important}}

/* Received private guide127: original fraction figures only. */
body.page-id-127 .ref-support-main .g15-fraction-figure{margin:1.5rem 0;max-width:100%;break-inside:avoid}
body.page-id-127 .ref-support-main .g15-fraction-figure svg{display:block;width:100%;max-width:400px;height:auto;margin:0 auto}
body.page-id-127 .ref-support-main .g15-fraction-figure figcaption{font-size:1rem;line-height:1.6;overflow-wrap:anywhere;margin-top:.5rem}
@media print{body.page-id-127 .ref-support-main .g15-fraction-figure svg{max-width:90mm}body.page-id-127 .ref-support-main .g15-fraction-figure figcaption{font-size:10pt}body.page-id-127 .ref-site-header,body.page-id-127 .ref-site-footer,body.page-id-127 #wpadminbar{display:none!important}body.page-id-127{margin-top:0!important}}

/* Private guide135: print chrome only, no screen/layout changes. */
@media print{body.page-id-135 .ref-site-header,body.page-id-135 .ref-site-footer,body.page-id-135 #wpadminbar{display:none!important}body.page-id-135{margin-top:0!important}}

/* Scoped published-guide discovery directory. */
.ref-guide-directory { margin-block: 2.5rem; }
.ref-guide-directory__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.ref-guide-directory__grade { background: #f4f7f3; border: 1px solid #d6e1d8; border-radius: .8rem; padding: 1rem; min-width: 0; }
.ref-guide-directory__grade h3 { margin-block: 0 .7rem; }
.ref-guide-directory__grade ul { padding-inline-start: 1.3rem; }
.ref-guide-directory__grade li + li { margin-top: .7rem; }
.ref-guide-directory a { overflow-wrap: anywhere; }
.ref-guide-directory a:focus-visible { outline: 3px solid #e9aa55; outline-offset: 3px; }
@media print {
  .ref-guide-directory__groups { display: block; }
  .ref-guide-directory__grade { break-inside: avoid; background: #fff; }
}

/* Candidate only: private corpus print pagination. Screen styles unchanged. */
@media print {
 body.page-template-ref-site6-support .ref-support-main,
 body.post-template-ref-site6-article .ref-support-main {font-size:11pt;line-height:1.4;}
 .ref-support-main .wp-block-post-content p,
 .ref-support-main .wp-block-post-content li {font-size:11pt;line-height:1.4;orphans:3;widows:3;}
 .ref-support-main .wp-block-post-content h2 {font-size:15pt;line-height:1.25;break-after:avoid-page;}
 .ref-support-main .wp-block-post-content h3 {font-size:12pt;line-height:1.25;break-after:avoid-page;}
 .ref-support-main .wp-block-post-content li {break-inside:avoid-page;}
 .ref-support-main .wp-block-post-content figure,
 .ref-support-main .wp-block-post-content table {break-inside:avoid-page;}
}

@media print {
 .ref-support-main {padding:0!important;}
 .ref-support-main>.wp-block-post-content {padding:0!important;margin-block-end:0!important;border:0!important;}
 .ref-support-main>.wp-block-post-content>:last-child {margin-bottom:0!important;}
}

/* Keep the two quantity headers intact on narrow screens. */
@media screen and (max-width:480px){body.page-id-106 .ref-support-main thead th{white-space:nowrap;overflow-wrap:normal;word-break:normal}}
