/*
 * Accreditation Advantage — Methods (supporting page).
 * Loads AFTER assets/css/accreditation-advantage.css and reuses its tokens
 * (--navy, --teal, --teal-br, etc.) and primitives (.wrap, .hero, .eyebrow,
 * .section-title, .body, .footer-band, .aa-methods-btn).
 * Everything here is scoped under .accreditation-advantage.aa-methods-page.
 */

/* ---------- Hero ---------- */
.accreditation-advantage.aa-methods-page .m-hero{min-height:0}
.accreditation-advantage.aa-methods-page .m-hero .wrap{max-width:1180px;padding-top:40px;padding-bottom:58px}
.accreditation-advantage.aa-methods-page .m-hero .big{font-size:66px}
.accreditation-advantage.aa-methods-page .m-hero .sub{max-width:600px}
.accreditation-advantage.aa-methods-page .m-back{display:inline-flex;align-items:center;gap:7px;color:#bcd2df;text-decoration:none;font-size:14px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;margin-bottom:20px;transition:color .15s ease}
.accreditation-advantage.aa-methods-page .m-back:hover{color:#fff}
.accreditation-advantage.aa-methods-page .m-back span{font-size:18px;line-height:1}

/* ---------- Body shell + 2-column grid ---------- */
.accreditation-advantage.aa-methods-page .m-shell{background:#fff;padding:0 0 20px}
.accreditation-advantage.aa-methods-page .m-grid{max-width:1180px;display:grid;grid-template-columns:230px 1fr;gap:52px;align-items:start;padding-top:26px;padding-bottom:20px}

/* ---------- Sticky Table of Contents ---------- */
.accreditation-advantage.aa-methods-page .m-toc{position:sticky;top:16px}
.accreditation-advantage.aa-methods-page .m-toc-inner{border-left:2px solid var(--line)}
.accreditation-advantage.aa-methods-page .m-toc-label{font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);padding:0 0 12px 18px}
.accreditation-advantage.aa-methods-page .m-toc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.accreditation-advantage.aa-methods-page .m-toc li{margin:0}
.accreditation-advantage.aa-methods-page .m-toc a{display:block;padding:7px 0 7px 18px;margin-left:-2px;border-left:2px solid transparent;color:#4a5257;text-decoration:none;font-size:14.5px;line-height:1.35;transition:color .15s ease,border-color .15s ease}
.accreditation-advantage.aa-methods-page .m-toc a:hover{color:var(--teal)}
.accreditation-advantage.aa-methods-page .m-toc a.active{color:var(--navy);font-weight:700;border-left-color:var(--teal)}

/* ---------- Content typography ---------- */
.accreditation-advantage.aa-methods-page .m-content{min-width:0}
.accreditation-advantage.aa-methods-page .m-content .m-section{padding:22px 0 34px;border-top:1px solid #edeff1}
.accreditation-advantage.aa-methods-page .m-content .m-section:first-child{border-top:none;padding-top:6px}
.accreditation-advantage.aa-methods-page .m-content .eyebrow{margin-bottom:14px}
.accreditation-advantage.aa-methods-page .m-content h2.section-title{font-size:30px;margin:6px 0 18px;max-width:none}
.accreditation-advantage.aa-methods-page .m-content .body{max-width:none;font-size:16.5px;color:var(--muted);margin-bottom:14px}
.accreditation-advantage.aa-methods-page .m-content .m-subhead{font-family:'Source Serif 4',Georgia,serif;color:var(--navy);font-weight:600;font-size:21px;line-height:1.25;margin:30px 0 12px}
.accreditation-advantage.aa-methods-page .m-content .m-note{font-size:13.5px;font-style:italic;color:#6b7378;margin:-4px 0 18px}

/* Lists */
.accreditation-advantage.aa-methods-page .m-list{list-style:none;margin:2px 0 20px;padding:0;display:flex;flex-direction:column;gap:11px}
.accreditation-advantage.aa-methods-page .m-list li{position:relative;padding-left:22px;font-size:16px;color:#4a5257;line-height:1.5}
.accreditation-advantage.aa-methods-page .m-list li::before{content:"\25B8";position:absolute;left:0;top:1px;color:var(--teal);font-size:15px}
.accreditation-advantage.aa-methods-page .m-measure-list{list-style:none;margin:4px 0 20px;padding:0;display:flex;flex-direction:column;gap:9px}
.accreditation-advantage.aa-methods-page .m-measure-list li{position:relative;padding-left:18px;font-size:15px;color:#3a4247;font-weight:600;line-height:1.35}
.accreditation-advantage.aa-methods-page .m-measure-list li::before{content:"";position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--teal)}

/* ---------- Expandable "click a measure" accordion ---------- */
.accreditation-advantage.aa-methods-page .mx-accordion{margin:8px 0 26px;border:1px solid #e2e5e7;border-radius:6px;overflow:hidden}
.accreditation-advantage.aa-methods-page .mx-item{border-top:1px solid #e2e5e7}
.accreditation-advantage.aa-methods-page .mx-item:first-child{border-top:none}
.accreditation-advantage.aa-methods-page .mx-head{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:#fff;border:none;border-left:3px solid transparent;padding:16px 22px;font-family:'Source Serif 4',Georgia,serif;font-size:18px;font-weight:600;color:var(--navy);cursor:pointer;transition:background .15s ease,border-color .15s ease}
.accreditation-advantage.aa-methods-page .mx-head:hover{background:#f4f6f7;border-left-color:var(--teal)}
.accreditation-advantage.aa-methods-page .mx-head:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.accreditation-advantage.aa-methods-page .mx-item.open .mx-head{background:var(--navy);color:#fff;border-left-color:var(--teal-br)}
.accreditation-advantage.aa-methods-page .mx-title{flex:1;line-height:1.3}
.accreditation-advantage.aa-methods-page .mx-meta{font-family:'Source Sans 3',sans-serif;font-size:12.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--steel)}
.accreditation-advantage.aa-methods-page .mx-item.open .mx-meta{color:#9fb8c4}
.accreditation-advantage.aa-methods-page .mx-chev{flex:0 0 auto;font-size:24px;line-height:1;color:var(--teal);transition:transform .22s ease}
.accreditation-advantage.aa-methods-page .mx-item.open .mx-chev{transform:rotate(90deg);color:var(--teal-br)}
.accreditation-advantage.aa-methods-page .mx-panel{padding:6px 22px 24px;background:#fbfcfc}

/* Metric grid inside the calculations accordion */
.accreditation-advantage.aa-methods-page .mx-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:12px 0 4px}
.accreditation-advantage.aa-methods-page .mx-metric{padding:4px 22px}
.accreditation-advantage.aa-methods-page .mx-metric+.mx-metric{border-left:1px solid #e2e5e7}
.accreditation-advantage.aa-methods-page .mx-metric dt{font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--steel);margin-bottom:8px;line-height:1.3}
.accreditation-advantage.aa-methods-page .mx-metric dd{margin:0;font-family:'Source Serif 4',Georgia,serif;font-size:16px;font-weight:600;color:var(--navy);line-height:1.2}
.accreditation-advantage.aa-methods-page .mx-metric dd .mx-sub{display:block;margin-top:4px;font-family:inherit;font-size:12px;font-weight:400;color:var(--steel);line-height:1.3}
.accreditation-advantage.aa-methods-page .mx-metric--muted{margin-bottom:1.25rem}
.accreditation-advantage.aa-methods-page .mx-metric--muted dd .mx-desc{font-family:inherit;font-size:12px;font-weight:400;color:var(--steel)}

.accreditation-advantage.aa-methods-page .mx-toolbar{display:flex;justify-content:flex-end;margin:0 0 8px}
.accreditation-advantage.aa-methods-page .mx-toggle-all{background:none;border:1px solid var(--line);border-radius:20px;padding:5px 14px;font-size:13px;font-weight:600;letter-spacing:.3px;color:var(--steel);cursor:pointer;line-height:1.3}
.accreditation-advantage.aa-methods-page .mx-toggle-all:hover{border-color:var(--teal);color:var(--navy)}
.accreditation-advantage.aa-methods-page .mx-toggle-all:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
/* Totals bar under the calculations accordion */
.accreditation-advantage.aa-methods-page .mx-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px;background:var(--beige);border-radius:6px;padding:18px 24px;margin:-16px 0 26px}
.accreditation-advantage.aa-methods-page .mx-total-label{font-family:'Source Serif 4',Georgia,serif;font-weight:700;font-size:18px;color:var(--navy)}
.accreditation-advantage.aa-methods-page .mx-total-item{font-size:14.5px;color:#3a4247}
.accreditation-advantage.aa-methods-page .mx-total-item em{font-style:normal;font-weight:700;color:var(--steel);letter-spacing:.3px}

/* ---------- Data tables ---------- */
.accreditation-advantage.aa-methods-page .m-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:4px 0 24px;border:1px solid var(--line);border-radius:6px}
.accreditation-advantage.aa-methods-page .m-table{width:100%;border-collapse:collapse;font-size:13.5px;background:#fff}
.accreditation-advantage.aa-methods-page .m-table caption{text-align:left;font-weight:700;color:var(--navy);padding:12px 14px;font-size:14px}
.accreditation-advantage.aa-methods-page .m-table thead th{position:sticky;top:0;background:var(--navy);color:#fff;text-align:left;font-family:'Source Sans 3',sans-serif;font-weight:600;font-size:12.5px;letter-spacing:.3px;padding:11px 14px;white-space:nowrap;z-index:1}
.accreditation-advantage.aa-methods-page .m-table tbody td{padding:9px 14px;border-bottom:1px solid #edeff1;color:#3f484d;vertical-align:top;line-height:1.45}
.accreditation-advantage.aa-methods-page .m-table tbody tr:nth-child(even) td{background:#f7f8f9}
.accreditation-advantage.aa-methods-page .m-table tbody tr:hover td{background:#eef4f5}
.accreditation-advantage.aa-methods-page .m-table .m-subrow th{background:#dfe4e7;color:var(--navy);text-align:left;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:7px 14px}
.accreditation-advantage.aa-methods-page .mx-inputs{font-size:13px}
.accreditation-advantage.aa-methods-page .mx-inputs thead th{background:#3a5468}
.accreditation-advantage.aa-methods-page .m-data td:first-child{white-space:nowrap;color:var(--steel);font-weight:600}

/* Collapsible MY-year groups inside the appendix data tables */
.accreditation-advantage.aa-methods-page .m-grouped .m-subrow th{padding:0}
.accreditation-advantage.aa-methods-page .m-yeartoggle{width:100%;display:flex;align-items:center;gap:12px;background:#dfe4e7;border:none;padding:9px 14px;font-family:'Source Sans 3',sans-serif;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--navy);cursor:pointer;transition:background .15s ease}
.accreditation-advantage.aa-methods-page .m-yeartoggle:hover{background:#d3dade}
.accreditation-advantage.aa-methods-page .m-yeartoggle:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.accreditation-advantage.aa-methods-page .m-yeartoggle>span:first-child{flex:1;text-align:left}
.accreditation-advantage.aa-methods-page .m-yearcount{font-weight:600;letter-spacing:.5px;color:var(--steel);text-transform:none}
.accreditation-advantage.aa-methods-page .m-yeartoggle .mx-chev{font-size:20px;line-height:1;color:var(--teal);transition:transform .2s ease}
.accreditation-advantage.aa-methods-page .m-yeargroup.open .m-yeartoggle .mx-chev{transform:rotate(90deg);color:var(--teal-br)}
.accreditation-advantage.aa-methods-page .m-yeargroup:not(.open) tr:not(.m-subrow){display:none}

/* Whole-table collapsible wrappers (Model Statistics / Regression / Post-Hoc) */
.accreditation-advantage.aa-methods-page .m-collap{margin:14px 0 22px}
.accreditation-advantage.aa-methods-page .m-collap-head{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:#fff;border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:6px;padding:15px 20px;cursor:pointer;transition:background .15s ease}
.accreditation-advantage.aa-methods-page .m-collap-head:hover{background:#f4f6f7}
.accreditation-advantage.aa-methods-page .m-collap-head:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.accreditation-advantage.aa-methods-page .m-collap.open .m-collap-head{border-radius:6px 6px 0 0;background:var(--navy);border-color:var(--navy);border-left-color:var(--teal-br)}
.accreditation-advantage.aa-methods-page .m-collap-title{flex:1;font-family:'Source Serif 4',Georgia,serif;font-size:19px;font-weight:600;color:var(--navy)}
.accreditation-advantage.aa-methods-page .m-collap.open .m-collap-title{color:#fff}
.accreditation-advantage.aa-methods-page .m-collap-meta{font-family:'Source Sans 3',sans-serif;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--steel)}
.accreditation-advantage.aa-methods-page .m-collap.open .m-collap-meta{color:#9fb8c4}
.accreditation-advantage.aa-methods-page .m-collap-head .mx-chev{font-size:24px;line-height:1;color:var(--teal);transition:transform .22s ease}
.accreditation-advantage.aa-methods-page .m-collap.open .m-collap-head .mx-chev{transform:rotate(90deg);color:var(--teal-br)}
.accreditation-advantage.aa-methods-page .m-collap-panel{border:1px solid var(--line);border-top:none;border-radius:0 0 6px 6px;padding:16px 18px}
.accreditation-advantage.aa-methods-page .m-collap-panel .m-tablewrap{margin:0}
.accreditation-advantage.aa-methods-page .m-collap-panel .m-note{margin:12px 2px 0}

/* Status pills (Summary of Inputs) */
.accreditation-advantage.aa-methods-page .st-pill{display:inline-block;font-family:'Source Sans 3',sans-serif;font-size:10.5px;font-weight:700;letter-spacing:.6px;padding:3px 9px;border-radius:20px;white-space:nowrap;text-transform:uppercase}
.accreditation-advantage.aa-methods-page .st-src{background:#d7ecec;color:#0f6d78}
.accreditation-advantage.aa-methods-page .st-cav{background:#fbe6cf;color:#8a5a12}
.accreditation-advantage.aa-methods-page .st-nq{background:#e5e7e9;color:#5b6469}

/* ---------- References ---------- */
.accreditation-advantage.aa-methods-page .m-refs{margin-top:6px}
.accreditation-advantage.aa-methods-page .m-ref-head{font-family:'Source Serif 4',Georgia,serif;color:var(--navy);font-weight:600;font-size:19px;margin:28px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--teal)}
.accreditation-advantage.aa-methods-page .m-ref{font-size:14px;line-height:1.55;color:#4a5257;padding:9px 0 9px 20px;border-bottom:1px solid #edeff1;position:relative;word-break:break-word}
.accreditation-advantage.aa-methods-page .m-ref::before{content:"";position:absolute;left:0;top:16px;width:7px;height:7px;border-radius:50%;background:#c7d0d5}
.accreditation-advantage.aa-methods-page .m-ref a{color:var(--teal);text-decoration:none;word-break:break-all}
.accreditation-advantage.aa-methods-page .m-ref a:hover{text-decoration:underline;color:var(--teal-br)}

/* ---------- Footer band spacing ---------- */
.accreditation-advantage.aa-methods-page .footer-band.aa-methods{padding:56px 40px}

/* ---------- Responsive ---------- */
@media(max-width:960px){
  .accreditation-advantage.aa-methods-page .m-grid{grid-template-columns:1fr;gap:18px}
  .accreditation-advantage.aa-methods-page .m-toc{position:static}
  .accreditation-advantage.aa-methods-page .m-toc-inner{border-left:none;border-bottom:1px solid var(--line);padding-bottom:8px}
  .accreditation-advantage.aa-methods-page .m-toc-label{padding-left:0}
  .accreditation-advantage.aa-methods-page .m-toc nav ul{flex-direction:row;flex-wrap:wrap;gap:2px 6px}
  .accreditation-advantage.aa-methods-page .m-toc a{padding:6px 12px;border-left:none;border:1px solid var(--line);border-radius:20px;font-size:13px}
  .accreditation-advantage.aa-methods-page .m-toc a.active{border-color:var(--teal)}
}
@media(max-width:860px){
  .accreditation-advantage.aa-methods-page .m-hero .big{font-size:48px}
  .accreditation-advantage.aa-methods-page .mx-metrics{grid-template-columns:1fr 1fr;gap:14px 0}
  .accreditation-advantage.aa-methods-page .mx-metric{padding:4px 16px}
  .accreditation-advantage.aa-methods-page .mx-metric:nth-child(odd){border-left:none}
  .accreditation-advantage.aa-methods-page .m-measure-list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .accreditation-advantage.aa-methods-page .mx-chev{transition:none}
}

/* ---- Becky methods edits (2026-09) ---- */
/* Chart figure (distribution matching) */
.accreditation-advantage.aa-methods-page .m-fig{margin:12px 0 24px}
.accreditation-advantage.aa-methods-page .m-fig svg{width:100%;height:auto;display:block}
/* Remove bullet before the References intro paragraph */
.accreditation-advantage.aa-methods-page .m-ref.m-ref-lead{padding-left:0}
.accreditation-advantage.aa-methods-page .m-ref.m-ref-lead::before{display:none}
/* Wide data table (Post-Hoc Pairwise) — let all columns fit so the Mean columns are not cut off */
.accreditation-advantage.aa-methods-page .m-data-wide td:first-child{white-space:normal;min-width:150px}
.accreditation-advantage.aa-methods-page .m-data-wide thead th{white-space:normal}
.accreditation-advantage.aa-methods-page .m-data-wide th,
.accreditation-advantage.aa-methods-page .m-data-wide td{padding-left:10px;padding-right:10px}
/* Numbered marker (instead of disc) for the linked Data Source reference; offset so the footnote anchor is not hidden under the sticky header */
.accreditation-advantage.aa-methods-page .m-ref.m-ref-num{scroll-margin-top:100px}
.accreditation-advantage.aa-methods-page .m-ref.m-ref-num::before{content:"1.";left:0;top:9px;width:auto;height:auto;background:none;border-radius:0;color:var(--steel);font-weight:700;font-size:13.5px}
.accreditation-advantage.aa-methods-page .m-ref.m-ref-num:target{background:#f2f8f9}
