/* Stage 6C: consistent country-module hierarchy in the frozen K12 system. */
.ci-stage6c .subnav{display:block;padding:0!important;background:#fff}
.ci-module-inner{max-width:1304px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:24px;min-width:0}
.ci-stage6c .tab{font-size:13px;padding:17px 13px 15px;color:#52667A;border-bottom:2px solid transparent}
.ci-stage6c .tab.active{border-bottom-color:#C43B36;color:#0B1D36;background:#F4F7F9}
.ci-stage6c .tab:focus:not(:focus-visible){outline:0}
.ci-stage6c .country{font-size:11px;color:#687888}.ci-stage6c .country strong{margin-left:5px;color:#173250}
.ci-stage6c main{padding-top:26px}.ci-stage6c .panel{padding-top:0}
.ci-module-intro{padding:8px 0 25px;margin-bottom:24px;border-bottom:1px solid #D9DFE6;position:relative;background:transparent}
.ci-module-intro:after{content:'';position:absolute;bottom:-1px;left:0;width:48px;height:2px;background:#C43B36}
.ci-stage6c .ci-module-intro .eyebrow{margin:0 0 11px;color:#335274;font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.ci-stage6c .ci-module-intro h2{font:600 clamp(26px,2.3vw,34px)/1.2 Manrope,sans-serif;letter-spacing:-.035em;color:#0B1D36;margin:0 0 12px;max-width:32ch}
.ci-stage6c .ci-module-intro>p:not(.eyebrow){max-width:83ch;color:#52667A;font:400 15px/1.7 Inter,sans-serif;margin:0}
.ci-stage6c .ci-strip-label{font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#52667A;margin:0 0 12px}
.ci-stage6c #ownershipCards,.ci-stage6c .fee-filter-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 20px}
.ci-stage6c .owner-card{display:flex;flex-direction:column;align-items:start;min-height:108px;padding:16px 18px;border:1px solid #D9DFE6;border-top:2px solid #335274;background:#fff;box-shadow:none;gap:3px;position:relative}
.ci-stage6c .owner-card b{font:600 27px/1.1 Manrope,sans-serif;color:#0B1D36;margin:0 0 4px}
.ci-stage6c .owner-card span{font:600 13px/1.4 Manrope,sans-serif;color:#173250;overflow-wrap:anywhere}
.ci-stage6c .owner-card em{font:400 11px/1.5 Inter,sans-serif;color:#52667A;margin-top:5px;font-style:normal}
.ci-stage6c .owner-card:hover,.ci-stage6c .owner-card.is-active{border-top-color:#C43B36;background:#F4F7F9;outline:0}
.ci-stage6c .owner-card:focus-visible{outline:2px solid #C43B36;outline-offset:2px}
.ci-stage6c .owner-card:last-child{background:#F4F7F9}
.ci-stage6c .ownership-controls{margin:22px 0 18px;padding:18px 20px;background:#F4F7F9;border:1px solid #D9DFE6;gap:12px 16px}
.ci-stage6c .ownership-controls label,.ci-stage6c .fee-viz-controls label{font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.025em;text-transform:none;color:#335274}
.ci-stage6c .ownership-controls input,.ci-stage6c .ownership-controls select{font:400 14px/1.4 Inter,sans-serif;min-height:44px;border-radius:0;background:#fff}
.ci-stage6c #ownerResultCount{font:600 12px/1.4 Manrope,sans-serif;color:#173250}.ci-stage6c #ownerChips{font-size:12px;color:#52667A}
.ci-stage6c .section-card{padding:24px;margin-bottom:20px;border:1px solid #D9DFE6}
.ci-stage6c .section-card h2{font:600 24px/1.25 Manrope,sans-serif;margin:0 0 9px}
.ci-stage6c .section-card .sub{font-size:14px;line-height:1.65;max-width:96ch;color:#52667A;margin-bottom:20px}
.ci-stage6c .analysis-table th{background:#F4F7F9;font:600 11px/1.4 Manrope,sans-serif;color:#335274;padding:12px 14px}
.ci-stage6c .analysis-table td{font-size:13px;line-height:1.65;padding:12px 14px;vertical-align:top}
.ci-stage6c .ci-fee-coverage{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;margin-top:20px;font-size:12px;color:#52667A}
.ci-fee-coverage strong{font:600 18px/1.3 Manrope,sans-serif;color:#173250;margin-right:5px}
.ci-stage6c .fee-band-note{font-size:12px;line-height:1.6;background:#F4F7F9;border-left:2px solid #335274;padding:12px 16px;margin:0 0 24px;max-width:none}
.ci-stage6c .fee-viz-controls{padding:16px;background:#F4F7F9;border:1px solid #D9DFE6}.ci-stage6c .fee-viz-controls select{font-size:13px;min-height:42px}
.ci-stage6c .fee-range-row{padding-top:14px;padding-bottom:14px}.ci-stage6c .fee-range-name{font-size:13px}.ci-stage6c .fee-range-value{font-size:12px}
.ci-topic-nav{display:flex;flex-wrap:wrap;gap:8px;margin:-5px 0 24px}
.ci-topic-nav a{font:500 12px/1.4 Manrope,sans-serif;padding:8px 11px;background:#F4F7F9;color:#173250;border:1px solid #D9DFE6;text-decoration:none}
.ci-topic-nav a:hover,.ci-topic-nav a:focus-visible{border-color:#C43B36;color:#C43B36}
.ci-stage6c .ci-topic{padding:24px 28px;border:1px solid #D9DFE6;border-top:2px solid #335274;margin:0 0 18px;scroll-margin-top:calc(var(--ci-header-height) + 80px)}
.ci-stage6c .ci-topic>h3{display:flex;align-items:baseline;gap:14px;font:600 21px/1.35 Manrope,sans-serif;margin:0 0 20px;letter-spacing:-.025em}
.ci-topic-number{font:600 12px/1.3 Manrope,sans-serif;letter-spacing:.04em;color:#687888;flex:0 0 auto}
.ci-stage6c .framework-grid{gap:22px 30px}.ci-stage6c .framework-grid>div{background:#F4F7F9;padding:18px 20px;border-top:1px solid #D9DFE6}
.ci-stage6c .framework-section h4{font:600 15px/1.4 Manrope,sans-serif;margin:0 0 9px}
.ci-stage6c .framework-section p,.ci-stage6c .framework-section li,.ci-stage6c .checks dd{font:400 14px/1.75 Inter,sans-serif;color:#25394D;max-width:100ch}
.ci-stage6c .framework-section p{margin:12px 0}.ci-stage6c .framework-grid p{margin:0}
.ci-stage6c .framework-section .source-row{margin-top:18px;padding-top:14px;border-top:1px solid #D9DFE6;display:flex;flex-wrap:wrap;gap:10px 20px}
.ci-stage6c .framework-section .source-row+.source-row{margin-top:0;padding-top:8px;border-top:0}
.ci-stage6c .framework-section .source-link{font-size:12px;line-height:1.5}
.ci-stage6c #school-approval>ol{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:14px;counter-reset:approval}
.ci-stage6c #school-approval>ol>li{counter-increment:approval;position:relative;background:#F4F7F9;padding:20px 20px 20px 52px;margin:0;max-width:none}
.ci-stage6c #school-approval>ol>li:before{content:counter(approval,decimal-leading-zero);position:absolute;top:21px;left:18px;font:600 12px/1.5 Manrope,sans-serif;color:#335274}
.ci-stage6c #school-approval>ol strong{display:block;font:600 15px/1.5 Manrope,sans-serif;margin:0 0 8px;color:#173250}
.ci-stage6c .ci-topic .decision-note{font-size:14px;line-height:1.65;background:#F4F7F9;padding:16px 18px}
.ci-stage6c .ci-topic .rule-top{align-items:start;gap:18px}.ci-stage6c .ci-topic .rule-top h3{font:600 21px/1.35 Manrope,sans-serif;margin:0 0 14px}
.ci-stage6c .checks{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.ci-stage6c .checks dt{font:600 14px/1.5 Manrope,sans-serif;margin:15px 0 5px}.ci-stage6c .checks dd{margin:0}
.ci-stage6c .method-grid{gap:16px}.ci-stage6c .method{padding:24px;border:1px solid #D9DFE6;border-top:2px solid #335274;background:#fff}
.ci-stage6c .method .n{font:600 12px/1.3 Manrope,sans-serif;color:#687888;display:block;margin-bottom:12px}
.ci-stage6c .method h3{font:600 19px/1.35 Manrope,sans-serif;margin:0 0 12px}.ci-stage6c .method p{font-size:14px;line-height:1.75;color:#52667A}
.ci-stage6c .ci-evidence-note{padding:16px 20px;margin:22px 0;font-size:12px;line-height:1.7;color:#335274;background:#F4F7F9;border-left:2px solid #335274}
.ci-stage6c .intelligence-faq{border-top:1px solid #D9DFE6;padding-top:26px;margin-top:32px}.ci-stage6c .intelligence-faq h2{font:600 24px/1.3 Manrope,sans-serif;margin-bottom:12px}.ci-stage6c .intelligence-faq>.sub{font-size:13px;line-height:1.65;color:#52667A;max-width:90ch}
.ci-stage6c .intelligence-faq summary{font-size:14px;padding:18px 40px 18px 0}.ci-stage6c .faq-answer{font-size:14px;line-height:1.75;padding:0 20px 20px 0}.ci-stage6c .faq-answer p{max-width:95ch}
@media(max-width:1050px){.ci-stage6c #ownershipCards,.ci-stage6c .fee-filter-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ci-module-inner{gap:10px}.ci-stage6c .country{display:none}}
@media(max-width:820px){.ci-module-inner{padding:0 20px}.ci-stage6c .tab{padding:14px 11px;font-size:12px}.ci-stage6c main{padding-top:22px}.ci-module-intro{padding-top:0}.ci-stage6c .ci-module-intro h2{font-size:28px}.ci-stage6c .ci-module-intro>p:not(.eyebrow){font-size:14px}.ci-stage6c #ownershipCards,.ci-stage6c .fee-filter-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ci-stage6c .owner-card{min-height:102px;padding:15px}.ci-stage6c .framework-grid,.ci-stage6c #school-approval>ol{grid-template-columns:1fr}.ci-stage6c .ci-topic{padding:20px}.ci-stage6c .ci-topic>h3,.ci-stage6c .ci-topic .rule-top h3{font-size:19px}.ci-stage6c .checks{display:block}.ci-stage6c .method-grid{grid-template-columns:1fr}.ci-topic-nav{gap:6px}.ci-topic-nav a{font-size:11px}.ci-stage6c .section-card{padding:20px}.ci-stage6c .framework-section p,.ci-stage6c .framework-section li{font-size:14px}}
@media(max-width:480px){.ci-module-inner{padding:0 14px}.ci-stage6c .owner-card em{font-size:10px}.ci-stage6c .ci-module-intro h2{font-size:26px}.ci-stage6c .framework-grid>div{padding:16px}.ci-stage6c .ci-topic{padding:18px}.ci-stage6c .method{padding:20px}.ci-stage6c .ownership-controls{padding:16px}.ci-stage6c .ci-fee-coverage{display:grid;gap:7px}.ci-stage6c .fee-band-note{padding:12px}.ci-stage6c .intelligence-faq h2{font-size:22px}}

.ci-stage6c .gm5-brand-copy small{display:block!important}.ci-stage6c .rule-top .ci-topic-number{margin-right:14px}

/* Reference-led surface hierarchy: cool grey canvas, blue anchors, functional red. */
body.ci-stage6c{background:#F1F4F7}
.ci-stage6c .subnav{background:#173250;border-bottom:0;box-shadow:none}
.ci-stage6c .tab{color:#DCE5EE;border-bottom-color:transparent;background:transparent}
.ci-stage6c .tab:hover{background:#233F5D;color:#fff}
.ci-stage6c .tab.active{background:#233F5D;color:#fff;border-bottom:3px solid #C43B36}
.ci-stage6c .tab:focus-visible{outline-color:#fff;outline-offset:-4px}
.ci-stage6c .country,.ci-stage6c .country strong{color:#DCE5EE}
.ci-stage6c main{padding-top:28px}
.ci-stage6c .ci-module-intro{background:#E8EFF5;padding:30px 32px;margin-bottom:26px;border-bottom:1px solid #D3DEE8}
.ci-stage6c .ci-module-intro:after{bottom:auto;top:0;left:32px;width:44px;height:3px}
.ci-stage6c .ci-module-intro .eyebrow{color:#C43B36;margin-bottom:13px}
.ci-stage6c .ci-module-intro h2{max-width:36ch}
.ci-stage6c .ci-module-intro>p:not(.eyebrow){color:#52667A}
.ci-stage6c .ci-fee-coverage{padding-top:16px;margin-top:18px;border-top:1px solid #CDD9E3}
.ci-stage6c .ci-strip-label{color:#173250}
.ci-stage6c .owner-card{background:#E8EFF5;border-color:#CFDAE4;border-top-color:#C43B36}
.ci-stage6c .owner-card:last-child{background:#E1E7ED;border-top-color:#335274}
.ci-stage6c .owner-card:hover,.ci-stage6c .owner-card.is-active{background:#fff;border-color:#C43B36}
.ci-stage6c .ownership-controls{background:#DDE7EF;border:1px solid #C9D6E2}
.ci-stage6c .fee-band-note{background:#E3EAF1;border-left-color:#C43B36}
.ci-stage6c .fee-viz-controls{background:#E3EAF1;border-color:#CCD8E2}
.ci-stage6c .ci-topic{background:#fff;border-color:#D2DDE7;border-top:0;overflow:hidden}
.ci-stage6c .ci-topic>h3{background:#173250;color:#fff;margin:-24px -28px 24px;padding:17px 28px;border-left:3px solid #C43B36}
.ci-stage6c .ci-topic-number{color:#C4D3E1}
.ci-stage6c .ci-topic .rule-top{background:#173250;color:#fff;margin:-24px -28px 24px;padding:17px 28px;border-left:3px solid #C43B36}
.ci-stage6c .ci-topic .rule-top h3{color:#fff;margin:0}
.ci-stage6c .ci-topic .rule-top .status-pill{background:#E8EFF5;color:#173250}
.ci-stage6c .framework-grid>div,.ci-stage6c #school-approval>ol>li{background:#EAF0F5;border-top-color:#CFDAE4}
.ci-stage6c .ci-topic .source-row{background:#F0F4F7;padding:13px 16px;border-top:1px solid #D4DFE8}
.ci-stage6c .ci-topic .source-row+.source-row{padding:0 16px 13px;background:#F0F4F7}
.ci-topic-nav a{background:#DFE8F0;border-color:#C8D5E1}
.ci-topic-nav a:hover,.ci-topic-nav a:focus-visible{background:#fff}
.ci-stage6c .method{background:#E8EFF5;border-color:#CCD8E2;border-top-color:#C43B36}
.ci-stage6c .method .n{color:#C43B36}
.ci-stage6c .method h3{color:#173250}
.ci-stage6c .ci-evidence-note{background:#DDE7EF;border-left-color:#335274}
.ci-stage6c .status-grid>div{background:#E3EAF1;border-top:2px solid #335274}
.ci-stage6c .intelligence-faq{background:#E8EFF5;border:1px solid #D2DDE7;padding:26px 28px;margin-bottom:28px}
.ci-stage6c .intelligence-faq details{background:#fff;border:1px solid #D9E2EA;margin-top:9px}
.ci-stage6c .intelligence-faq details[open]{border-left:3px solid #C43B36}
.ci-stage6c .intelligence-faq summary{padding-left:18px}.ci-stage6c .faq-answer{padding-left:18px}
.ci-stage6c .ci-related{border-top-color:#C8D5E1}.ci-stage6c .ci-related-grid a{background:#fff;border-top-color:#C43B36}
.ci-stage6c .ci-related .eyebrow{color:#C43B36}
.ci-stage6c .data-head{background:#E8EFF5}.ci-stage6c .data-card .ci-database-support{background:#E8EFF5}
@media(max-width:820px){.ci-stage6c .ci-module-intro{padding:25px 24px}.ci-stage6c .ci-module-intro:after{left:24px}.ci-stage6c .ci-topic>h3,.ci-stage6c .ci-topic .rule-top{margin:-20px -20px 20px;padding:16px 20px}.ci-stage6c .intelligence-faq{padding:22px 20px}}
@media(max-width:480px){.ci-stage6c .ci-module-intro{padding:24px 20px}.ci-stage6c .ci-module-intro:after{left:20px}.ci-stage6c .ci-topic>h3,.ci-stage6c .ci-topic .rule-top{margin:-18px -18px 18px;padding:15px 18px}.ci-stage6c .intelligence-faq{padding:20px 16px}}

/* Every module introduction uses the Tax opening-panel treatment. */
.ci-stage6c .ci-module-intro,.ci-stage6c .intro,.ci-stage6c .reg-lead{background:#173250;color:#fff;border:0;padding:28px;position:relative;overflow:hidden;box-shadow:none}
.ci-stage6c .ci-module-intro h2,.ci-stage6c .intro h1,.ci-stage6c .reg-lead h2{color:#fff;font:600 28px/1.25 Manrope,sans-serif;letter-spacing:-.025em;margin:10px 0 14px;max-width:36ch;position:relative;z-index:1}
.ci-stage6c .ci-module-intro .eyebrow,.ci-stage6c .intro .eyebrow,.ci-stage6c .reg-lead .eyebrow{color:#CBD7E3;font:600 11px/1.5 Manrope,sans-serif;letter-spacing:.11em;margin:0;position:relative;z-index:1}
.ci-stage6c .ci-module-intro>p:not(.eyebrow),.ci-stage6c .intro p,.ci-stage6c .reg-lead p{color:#E3EAF1;font:400 14px/1.7 Inter,sans-serif;max-width:100ch;margin:0;position:relative;z-index:1}
.ci-stage6c .ci-module-intro:after{content:'MY';display:block;position:absolute;left:auto;right:-6px;top:auto;bottom:-30px;width:auto;height:auto;background:none;color:rgba(255,255,255,.04);font:800 112px/1 Manrope,sans-serif;pointer-events:none}
.ci-stage6c .ci-module-intro .ci-fee-coverage{border-top-color:rgba(203,215,227,.25);color:#CBD7E3;position:relative;z-index:1}
.ci-stage6c .ci-module-intro .ci-fee-coverage strong{color:#fff}
.ci-stage6c .ci-module-intro{margin-bottom:24px}
.ci-stage6c .subnav{background:#173250!important;color:#fff;border:0;display:block;padding:0!important}
.ci-stage6c .subnav .tab{color:#DCE5EE;background:transparent}
.ci-stage6c .subnav .tab.active,.ci-stage6c .subnav .tab:hover{color:#fff;background:#233F5D}
.ci-stage6c .subnav .tab.active{border-bottom:3px solid #C43B36}
.ci-stage6c .subnav .country,.ci-stage6c .subnav .country strong{color:#DCE5EE}
@media(max-width:820px){.ci-stage6c .ci-module-intro,.ci-stage6c .intro,.ci-stage6c .reg-lead{padding:24px}.ci-stage6c .ci-module-intro h2,.ci-stage6c .intro h1,.ci-stage6c .reg-lead h2{font-size:26px}}
@media(max-width:480px){.ci-stage6c .ci-module-intro,.ci-stage6c .intro,.ci-stage6c .reg-lead{padding:22px 20px}.ci-stage6c .ci-module-intro h2,.ci-stage6c .intro h1,.ci-stage6c .reg-lead h2{font-size:24px}}

/* Mobile fixed menu must use the viewport, rather than a filtered header. */
@media(max-width:820px){.ci-stage6c .gm5-site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}.ci-stage6c .gm5-primary-nav{top:var(--ci-mobile-nav-top,76px);bottom:0;max-height:calc(100dvh - var(--ci-mobile-nav-top,76px));overflow-y:auto;overscroll-behavior:contain;z-index:101}}
.ci-page-return{display:flex;justify-content:space-between;gap:20px;padding:18px 0;margin-top:28px;border-top:1px solid #CCD5DF;font:600 14px Manrope,Arial,sans-serif}.ci-page-return a{color:#173250;text-decoration:underline;text-underline-offset:4px}.ci-page-return a:hover{color:#C43B36}.ci-page-return a:focus-visible{outline:2px solid #C43B36;outline-offset:4px}

/* Desktop hover/focus specificity must never translate a mobile submenu. */
@media(max-width:820px){
.ci-stage6c .gm5-primary-nav .gm5-mega-menu,.ci-stage6c .gm5-primary-nav .gm5-nav-group:hover .gm5-mega-menu,.ci-stage6c .gm5-primary-nav .gm5-nav-group:focus-within .gm5-mega-menu,.ci-stage6c .gm5-primary-nav .gm5-nav-group.open .gm5-mega-menu{position:static;left:auto;right:auto;top:auto;width:100%;max-width:100%;transform:none!important;transition:none;padding:0}
.ci-stage6c .gm5-primary-nav .gm5-nav-group,.ci-stage6c .gm5-primary-nav .gm5-mega-grid,.ci-stage6c .gm5-primary-nav .gm5-mega-links{min-width:0;width:100%;max-width:100%}
.ci-stage6c .gm5-primary-nav .gm5-mega-grid{grid-template-columns:minmax(0,1fr)}
.ci-stage6c .gm5-primary-nav .gm5-mega-links strong,.ci-stage6c .gm5-primary-nav .gm5-mega-links small,.ci-stage6c .gm5-primary-nav .gm5-mega-feature{overflow-wrap:anywhere}
}
.ci-back-top{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:80;min-height:44px;padding:12px 16px;background:#C43B36;color:#fff;border:1px solid #C43B36;border-radius:0;font:600 14px Manrope,Arial,sans-serif;cursor:pointer}
.ci-back-top:hover{background:#173250;border-color:#173250}.ci-back-top:focus-visible{outline:2px solid #173250;outline-offset:3px}
@media(max-width:480px){.ci-back-top{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}}
