/* NGA-HOUSING-REAL-LIFE-FIX 2026-09-07 */
body.nga-housing-page .category-detail-hero{background:#ead4cb!important}
body.nga-housing-page :is(.category-worked-example,.newsletter-card,.site-footer,.ready-to-rent-context-card){background:#88432d!important;color:#fff!important}
body.nga-housing-page .newsletter-card :is(h2,p,label),body.nga-housing-page .site-footer :is(h2,h3,p,a,li,span),body.nga-housing-page .ready-to-rent-context-card :is(h2,p,strong,span,small){color:#fff!important}
body.nga-real-life-page,body.nga-real-life-page main.real-life-page{background:#d2e2cb!important}
body.nga-real-life-page .real-life-release .real-life-hero{background:#bfd5b5!important}
body.nga-real-life-page .real-life-release :is(.real-life-pathway-section,.independent-living-framework,.real-life-resources,.real-life-newsletter){background:#d2e2cb!important}
body.nga-real-life-page .real-life-release :is(.real-life-health-gateway,.real-life-guidance){background:#bfd5b5!important}
body.nga-real-life-page .real-life-release :is(.category-pathway,.real-life-health-card){background:#e3ecdc!important}
/* NGA-CATEGORY-SYSTEM 2026-09-07 */
body.nga-money-page{--nga-accent:#126458}
body.nga-career-page,body.nga-federal-careers-page{--nga-accent:#235ba0}
body.nga-housing-page,body.nga-rent-tool-page{--nga-accent:#88432d;--nga-band:#ead4cb}
body.nga-real-life-page{--nga-accent:#286039}
body.nga-health-page{--nga-accent:#205d77}
body.nga-resources-page{--nga-accent:#653681}
body.nga-families-page{--nga-accent:#8b3653}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.site-header,.page-hero,.category-detail-hero,.real-life-hero,.resource-library-hero,.family-guide-hero){background:var(--nga-band)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) main section{border-color:var(--nga-accent)!important;box-shadow:inset 0 1px 0 var(--nga-accent)}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.card,.resource-card,.category-pathway,.category-decision-card,.resource-controls,.resource-starter-card,.family-support-answer,.category-pathway-visual,.family-guide-visual){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.button,main button,.site-header button){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.category-pathway-tab:not(.is-active),button[aria-pressed="false"],.button-ghost,.button-secondary){background:var(--nga-light)!important;color:var(--nga-accent)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.site-footer,.category-worked-example,.ready-to-rent-context-card){background:var(--nga-accent)!important;color:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.site-footer,.category-worked-example,.ready-to-rent-context-card) :is(h2,h3,p,small,label,a,span,strong,dt,dd){color:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.ready-to-rent-context-card) :is(button,.button){border:2px solid #fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(a,button,input,select,summary):focus-visible{outline:3px solid #162b36!important;outline-offset:3px;box-shadow:0 0 0 6px #fff!important}

body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) .menu-button span{background:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.category-detail-photo,.real-life-hero-visual,.real-life-pathway-visual,.category-pathway-visual,.family-guide-visual){border-color:var(--nga-accent)!important;background:var(--nga-light)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) .eyebrow{background:var(--nga-light)!important;color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.category-worked-example,.ready-to-rent-context-card) .eyebrow{background:transparent!important;color:#fff!important}

/* NGA-FULL-TINT-COVERAGE 2026-09-07 */
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content{background:var(--nga-canvas)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(section,.section){background:var(--nga-canvas)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.category-detail-hero,.page-hero,.resource-library-hero,.family-guide-hero,.section-tint,.category-decision-support,.resource-pathways,.family-support-boundaries,.health-live-resources){background:var(--nga-band)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.category-pathway,.category-pathway-panel,.category-pathway-panels,.category-pathway-panel-copy,.category-start-card,.card,.resource-card,.category-decision-card,.resource-controls,.resource-starter-card,.family-support-answer,.family-guide-principles article,.family-support-boundary-grid article){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.newsletter-card,.category-worked-example,.category-spotlight){background:var(--nga-accent)!important;color:#fff!important}

/* NGA-COLOR-IDENTITY-FIX 2026-09-07 */
body.nga-money-page,body.nga-money-page #main-content{--nga-accent:#126458!important;--nga-canvas:#c6e5d9!important;--nga-band:#add9c7!important;--nga-light:#d8eee4!important}
body.nga-career-page,body.nga-career-page #main-content{--nga-accent:#235ba0!important;--nga-canvas:#ccddf5!important;--nga-band:#b5cdef!important;--nga-light:#dce8fa!important}
body #main-content .category-spotlight :is(h1,h2,h3,p){color:#fff!important}
body #main-content .category-spotlight .button{background:var(--nga-accent)!important;color:#fff!important;border:2px solid #fff!important}
body.nga-resources-page #main-content .resource-library-hero,body.nga-resources-page .site-header{background:linear-gradient(115deg,#d8eee4 0%,#dce8fa 20%,#f5e5d7 40%,#e3ecdc 55%,#deedf0 70%,#f4e3e3 85%,#ece2f5 100%)!important}
body.nga-resources-page #main-content .resource-library-hero :is(h1,p){color:#21343d!important}

/* NGA-RELATED-PAGE-COLORS */
body:has(.native-tool-budget),body:has(.dna-quiz),html:has(link[rel="canonical"][href$="/emergency-fund-101/"]) body,html:has(link[rel="canonical"][href$="/financial-independence-in-your-20s/"]) body{--nga-accent:#126458!important;--nga-canvas:#c6e5d9!important;--nga-band:#add9c7!important;--nga-light:#d8eee4!important}
body:has(.native-tool-checklist),body:has(.native-tool-rent){--nga-accent:#88432d!important;--nga-canvas:#efd8c5!important;--nga-band:#ead4cb!important;--nga-light:#f5e5d7!important}
html:has(link[rel="canonical"][href$="/networking-strategies-that-work/"]) body,html:has(link[rel="canonical"][href$="/art-of-saying-no-work-boundaries/"]) body,html:has(link[rel="canonical"][href$="/side-hustles-that-become-careers/"]) body{--nga-accent:#235ba0!important;--nga-canvas:#ccddf5!important;--nga-band:#b5cdef!important;--nga-light:#dce8fa!important}
html:has(link[rel="canonical"][href$="/time-management-new-graduate/"]) body{--nga-accent:#286039!important;--nga-canvas:#d2e2cb!important;--nga-band:#bfd5b5!important;--nga-light:#e3ecdc!important}
body.single-post #main-content{background:var(--nga-canvas)!important}
body.single-post :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body.single-post :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body.single-post :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body.single-post :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body.single-post :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body.single-post :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body.single-post :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
body:has(.native-tool-page) #main-content{background:var(--nga-canvas)!important}
body:has(.native-tool-page) :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body:has(.native-tool-page) :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body:has(.native-tool-page) :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body:has(.native-tool-page) :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:has(.native-tool-page) :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:has(.native-tool-page) :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body:has(.native-tool-page) :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
body:has(.dna-quiz) #main-content{background:var(--nga-canvas)!important}
body:has(.dna-quiz) :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body:has(.dna-quiz) :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body:has(.dna-quiz) :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body:has(.dna-quiz) :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:has(.dna-quiz) :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:has(.dna-quiz) :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body:has(.dna-quiz) :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
/* NGA-RESOURCES-FULL-GRADIENT-V2 */
body.nga-resources-page{--nga-resource-gradient:linear-gradient(115deg,#afd9cb 0%,#b5cdee 20%,#e9c5ab 40%,#c3d7b5 55%,#b7d9e1 70%,#e7bdc9 85%,#d4bfeb 100%)}
body.nga-resources-page .site-header,body.nga-resources-page #main-content,body.nga-resources-page #main-content .resource-library-hero,body.nga-resources-page #main-content :is(.resource-starter-section,.resource-pathways,.resource-library-section){background:var(--nga-resource-gradient)!important}
body.nga-resources-page #main-content .resource-pathways{background:linear-gradient(110deg,#d4bfeb,#b7d9e1 40%,#c3d7b5 70%,#e9c5ab)!important}
body.nga-resources-page #main-content :is(.resource-controls,.resource-starter-card){background:#e2d4ef!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card{background:#e2d4ef!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n+2){background:#d0e6df!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n){background:#eddbc8!important}
/* NGA-QUIZ-CONTRAST-RELEASE-FIX */
#nga-dna{--muted:#43534f!important}
#nga-dna .dna-lead,#nga-dna .dna-progress-row{color:#43534f!important}

/* NGA-MONEY-HONEY-IDENTITY 2026-09-07
 * Money uses a warm honey-gold family so it cannot be mistaken for Career blue. */
body.nga-money-page,body.nga-money-page #main-content,
body:has(.native-tool-budget),body:has(.dna-quiz),
html:has(link[rel="canonical"][href$="/emergency-fund-101/"]) body,
html:has(link[rel="canonical"][href$="/financial-independence-in-your-20s/"]) body{
  --nga-accent:#6b4a0b!important;
  --nga-canvas:#f0dfae!important;
  --nga-band:#e3c878!important;
  --nga-light:#f7eac8!important;
}

/* r21: full-surface category color, not corner decoration.
 * Color only: preserve layout, typography, photography and interactive states. */
body { --nga-canvas:#dfd8f0; --nga-band:#d3c8eb; --nga-light:#ebe5f5; }
body.nga-money-page { --nga-canvas:#cce5df; --nga-band:#b7d9d1; --nga-light:#deeee8; }
body.nga-career-page, body.nga-federal-careers-page { --nga-canvas:#d0dff3; --nga-band:#bbd0ed; --nga-light:#e0eafa; }
body.nga-housing-page, body.nga-rent-tool-page { --nga-canvas:#efd8c5; --nga-band:#e8c8ae; --nga-light:#f5e5d7; }
body.nga-real-life-page { --nga-canvas:#d2e2cb; --nga-band:#bfd5b5; --nga-light:#e3ecdc; }
body.nga-health-page { --nga-canvas:#cce3e8; --nga-band:#b6d4dd; --nga-light:#deedf0; }
body.nga-resources-page { --nga-canvas:#dfd3ee; --nga-band:#d6c6eb; --nga-light:#ece2f5; }
body.nga-families-page { --nga-canvas:#ecd4d5; --nga-band:#e8c6ca; --nga-light:#f4e3e3; }
body.nga-about-page, body.nga-contact-page { --nga-canvas:#d2e0e9; --nga-band:#bfd2df; --nga-light:#e3ecf2; }
body, body main, body .category-detail, body .real-life-page { background-color:var(--nga-canvas) !important; }
body :is(.task-hero,.page-hero,.category-detail-hero,.resource-library-hero,.family-guide-hero) {
  background:var(--nga-band) !important;
}
body :is(.task-section,.category-detail > .section,.real-life-page > .section,
  .health-content-shell,.health-live-resources,.resource-starter-section,.resource-pathways,
  .resource-library-section,.family-guide-section,.family-support-check,.family-support-boundaries,
  .family-guide-pathways,.family-guide-conversation,.about-story,.about-method,.about-values) {
  background:var(--nga-canvas) !important;
}
body :is(.task-situations,.task-tools,.section-tint,.category-decision-support,
  .real-life-health-gateway,.real-life-guidance,.resource-pathways,.family-support-boundaries,
  .family-guide-conversation,.health-live-resources) { background:var(--nga-band) !important; }
/* Keep inner panels lighter but distinctly colored. White remains for inputs. */
body :is(.category-pathway,.pathway-shell,.category-pathway-shell,.category-start-card,
  .real-life-health-card,.resource-controls,.resource-starter-card) {
  background-color:var(--nga-light) !important;
}
/* Normal reading text remains dark; buttons, tabs and dark newsletter retain their own states. */
body :is(.section-heading,.category-detail-hero-copy,.family-guide-hero-copy,.resource-library-hero-grid > div:first-child) > :is(h1,h2,h3,p) {
  color:#21343d;
}
/* No image filters, overlays, dimensions, spacing or font declarations here. */
/* NGA-HOUSING-REAL-LIFE-FIX 2026-09-07 */
body.nga-housing-page .category-detail-hero{background:#ead4cb!important}
body.nga-housing-page :is(.category-worked-example,.newsletter-card,.site-footer,.ready-to-rent-context-card){background:#88432d!important;color:#fff!important}
body.nga-housing-page .newsletter-card :is(h2,p,label),body.nga-housing-page .site-footer :is(h2,h3,p,a,li,span),body.nga-housing-page .ready-to-rent-context-card :is(h2,p,strong,span,small){color:#fff!important}
body.nga-real-life-page,body.nga-real-life-page main.real-life-page{background:#d2e2cb!important}
body.nga-real-life-page .real-life-release .real-life-hero{background:#bfd5b5!important}
body.nga-real-life-page .real-life-release :is(.real-life-pathway-section,.independent-living-framework,.real-life-resources,.real-life-newsletter){background:#d2e2cb!important}
body.nga-real-life-page .real-life-release :is(.real-life-health-gateway,.real-life-guidance){background:#bfd5b5!important}
body.nga-real-life-page .real-life-release :is(.category-pathway,.real-life-health-card){background:#e3ecdc!important}
/* NGA-CATEGORY-SYSTEM 2026-09-07 */
body.nga-money-page{--nga-accent:#126458}
body.nga-career-page,body.nga-federal-careers-page{--nga-accent:#235ba0}
body.nga-housing-page,body.nga-rent-tool-page{--nga-accent:#88432d;--nga-band:#ead4cb}
body.nga-real-life-page{--nga-accent:#286039}
body.nga-health-page{--nga-accent:#205d77}
body.nga-resources-page{--nga-accent:#653681}
body.nga-families-page{--nga-accent:#8b3653}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.site-header,.page-hero,.category-detail-hero,.real-life-hero,.resource-library-hero,.family-guide-hero){background:var(--nga-band)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) main section{border-color:var(--nga-accent)!important;box-shadow:inset 0 1px 0 var(--nga-accent)}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.card,.resource-card,.category-pathway,.category-decision-card,.resource-controls,.resource-starter-card,.family-support-answer,.category-pathway-visual,.family-guide-visual){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.button,main button,.site-header button){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.category-pathway-tab:not(.is-active),button[aria-pressed="false"],.button-ghost,.button-secondary){background:var(--nga-light)!important;color:var(--nga-accent)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.site-footer,.category-worked-example,.ready-to-rent-context-card){background:var(--nga-accent)!important;color:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.site-footer,.category-worked-example,.ready-to-rent-context-card) :is(h2,h3,p,small,label,a,span,strong,dt,dd){color:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.ready-to-rent-context-card) :is(button,.button){border:2px solid #fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(a,button,input,select,summary):focus-visible{outline:3px solid #162b36!important;outline-offset:3px;box-shadow:0 0 0 6px #fff!important}

body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) .menu-button span{background:#fff!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.category-detail-photo,.real-life-hero-visual,.real-life-pathway-visual,.category-pathway-visual,.family-guide-visual){border-color:var(--nga-accent)!important;background:var(--nga-light)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) .eyebrow{background:var(--nga-light)!important;color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-rent-tool-page,.nga-real-life-page,.nga-health-page,.nga-resources-page,.nga-families-page) :is(.newsletter-card,.category-worked-example,.ready-to-rent-context-card) .eyebrow{background:transparent!important;color:#fff!important}

/* NGA-FULL-TINT-COVERAGE 2026-09-07 */
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content{background:var(--nga-canvas)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(section,.section){background:var(--nga-canvas)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.category-detail-hero,.page-hero,.resource-library-hero,.family-guide-hero,.section-tint,.category-decision-support,.resource-pathways,.family-support-boundaries,.health-live-resources){background:var(--nga-band)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.category-pathway,.category-pathway-panel,.category-pathway-panels,.category-pathway-panel-copy,.category-start-card,.card,.resource-card,.category-decision-card,.resource-controls,.resource-starter-card,.family-support-answer,.family-guide-principles article,.family-support-boundary-grid article){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:is(.nga-money-page,.nga-career-page,.nga-federal-careers-page,.nga-housing-page,.nga-health-page,.nga-resources-page,.nga-families-page) #main-content :is(.newsletter-card,.category-worked-example,.category-spotlight){background:var(--nga-accent)!important;color:#fff!important}

/* NGA-COLOR-IDENTITY-FIX 2026-09-07 */
body.nga-money-page,body.nga-money-page #main-content{--nga-accent:#126458!important;--nga-canvas:#c6e5d9!important;--nga-band:#add9c7!important;--nga-light:#d8eee4!important}
body.nga-career-page,body.nga-career-page #main-content{--nga-accent:#235ba0!important;--nga-canvas:#ccddf5!important;--nga-band:#b5cdef!important;--nga-light:#dce8fa!important}
body #main-content .category-spotlight :is(h1,h2,h3,p){color:#fff!important}
body #main-content .category-spotlight .button{background:var(--nga-accent)!important;color:#fff!important;border:2px solid #fff!important}
body.nga-resources-page #main-content .resource-library-hero,body.nga-resources-page .site-header{background:linear-gradient(115deg,#d8eee4 0%,#dce8fa 20%,#f5e5d7 40%,#e3ecdc 55%,#deedf0 70%,#f4e3e3 85%,#ece2f5 100%)!important}
body.nga-resources-page #main-content .resource-library-hero :is(h1,p){color:#21343d!important}

/* NGA-RELATED-PAGE-COLORS */
body:has(.native-tool-budget),body:has(.dna-quiz),html:has(link[rel="canonical"][href$="/emergency-fund-101/"]) body,html:has(link[rel="canonical"][href$="/financial-independence-in-your-20s/"]) body{--nga-accent:#126458!important;--nga-canvas:#c6e5d9!important;--nga-band:#add9c7!important;--nga-light:#d8eee4!important}
body:has(.native-tool-checklist),body:has(.native-tool-rent){--nga-accent:#88432d!important;--nga-canvas:#efd8c5!important;--nga-band:#ead4cb!important;--nga-light:#f5e5d7!important}
html:has(link[rel="canonical"][href$="/networking-strategies-that-work/"]) body,html:has(link[rel="canonical"][href$="/art-of-saying-no-work-boundaries/"]) body,html:has(link[rel="canonical"][href$="/side-hustles-that-become-careers/"]) body{--nga-accent:#235ba0!important;--nga-canvas:#ccddf5!important;--nga-band:#b5cdef!important;--nga-light:#dce8fa!important}
html:has(link[rel="canonical"][href$="/time-management-new-graduate/"]) body{--nga-accent:#286039!important;--nga-canvas:#d2e2cb!important;--nga-band:#bfd5b5!important;--nga-light:#e3ecdc!important}
body.single-post #main-content{background:var(--nga-canvas)!important}
body.single-post :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body.single-post :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body.single-post :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body.single-post :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body.single-post :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body.single-post :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body.single-post :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
body:has(.native-tool-page) #main-content{background:var(--nga-canvas)!important}
body:has(.native-tool-page) :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body:has(.native-tool-page) :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body:has(.native-tool-page) :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body:has(.native-tool-page) :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:has(.native-tool-page) :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:has(.native-tool-page) :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body:has(.native-tool-page) :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
body:has(.dna-quiz) #main-content{background:var(--nga-canvas)!important}
body:has(.dna-quiz) :is(.article-header,.native-tool-hero){background:var(--nga-band)!important}
body:has(.dna-quiz) :is(.article-header,.native-tool-hero) :is(h1,p,span){color:#21343d!important}
body:has(.dna-quiz) :is(.article-content,.native-tool-section,.article-layout){background:var(--nga-canvas)!important}
body:has(.dna-quiz) :is(.native-tool-card,.dna-panel){background:var(--nga-light)!important;border-color:var(--nga-accent)!important}
body:has(.dna-quiz) :is(.button,button[type="submit"]){background:var(--nga-accent)!important;color:#fff!important;border-color:var(--nga-accent)!important}
body:has(.dna-quiz) :is(.site-footer,.newsletter-card){background:var(--nga-accent)!important;color:#fff!important}
body:has(.dna-quiz) :is(.site-footer,.newsletter-card) :is(h2,h3,p,span,a,label,small){color:#fff!important}
/* NGA-RESOURCES-QUIET-TONAL 2026-09-10 */
body.nga-resources-page{--nga-resource-gradient:linear-gradient(135deg,#f4f1f7 0%,#edf1f5 48%,#f6f3f7 100%)}
body.nga-resources-page .site-header,body.nga-resources-page #main-content,body.nga-resources-page #main-content .resource-library-hero,body.nga-resources-page #main-content :is(.resource-starter-section,.resource-pathways,.resource-library-section){background:var(--nga-resource-gradient)!important}
body.nga-resources-page #main-content .resource-pathways{background:linear-gradient(110deg,#ece7f2,#e7edf2)!important}
body.nga-resources-page #main-content :is(.resource-controls,.resource-starter-card){background:#f0ecf4!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card{background:#f0ecf4!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n+2){background:#edf0f4!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n){background:#f2eef2!important}

/* NGA-RESOURCES-FULL-GRADIENT-V2 */
body.nga-resources-page{--nga-resource-gradient:linear-gradient(115deg,#afd9cb 0%,#b5cdee 20%,#e9c5ab 40%,#c3d7b5 55%,#b7d9e1 70%,#e7bdc9 85%,#d4bfeb 100%)}
body.nga-resources-page #main-content .resource-library-hero,body.nga-resources-page #main-content .resource-pathways{background:var(--nga-resource-gradient)!important}
body.nga-resources-page #main-content :is(.resource-controls,.resource-starter-card){background:#e2d4ef!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card{background:#e2d4ef!important;border:1px solid #806399!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n+2){background:#d0e6df!important}
body.nga-resources-page #main-content .resource-card:nth-child(3n){background:#eddbc8!important}
body.nga-resources-page #main-content .resource-pathways{background:linear-gradient(110deg,#d4bfeb,#b7d9e1 40%,#c3d7b5 70%,#e9c5ab)!important}
/* NGA-QUIZ-CONTRAST-RELEASE-FIX */
#nga-dna{--muted:#43534f!important}
#nga-dna .dna-lead,#nga-dna .dna-progress-row{color:#43534f!important}

/* NGA-MONEY-HONEY-IDENTITY 2026-09-07
 * Money uses a warm honey-gold family so it cannot be mistaken for Career blue. */
body.nga-money-page,body.nga-money-page #main-content,
body:has(.native-tool-budget),body:has(.dna-quiz),
html:has(link[rel="canonical"][href$="/emergency-fund-101/"]) body,
html:has(link[rel="canonical"][href$="/financial-independence-in-your-20s/"]) body{
  --nga-accent:#6b4a0b!important;
  --nga-canvas:#f0dfae!important;
  --nga-band:#e3c878!important;
  --nga-light:#f7eac8!important;
}

/* September 8: measured contrast correction; approved background colors unchanged. */
body.home .task-kicker{color:#953027!important}body.home .task-hero-copy>p:not(.task-kicker),body.home .task-promise{color:#354356!important}.resource-grid .resource-card>p{color:#354b58!important}

/* NGA-MONEY-CAREER-GRADIENT-RESTORE 2026-09-10
 * Restore layered page color without changing layout, type, images, cards or navigation. */
body.nga-money-page,
body.nga-money-page #main-content,
body.nga-money-page .category-detail-finance{
 background:
  radial-gradient(circle at 8% 16%,rgba(107,74,11,.16),transparent 28%),
  radial-gradient(circle at 92% 54%,rgba(235,199,109,.34),transparent 34%),
  radial-gradient(circle at 18% 86%,rgba(255,255,255,.38),transparent 26%),
  linear-gradient(180deg,#fbf4df 0%,#efd8a4 32%,#f8ebc8 63%,#e8ca86 100%)!important
}
body.nga-career-page,
body.nga-career-page #main-content,
body.nga-career-page .category-detail-career{
 background:
  radial-gradient(circle at 8% 16%,rgba(55,120,222,.26),transparent 27%),
  radial-gradient(circle at 92% 52%,rgba(108,86,199,.25),transparent 30%),
  radial-gradient(circle at 16% 86%,rgba(47,139,116,.16),transparent 25%),
  linear-gradient(180deg,#d6e5f8 0%,#cbdaf2 30%,#d9d1ef 58%,#cedbf0 78%,#cde1e4 100%)!important
}
body:is(.nga-money-page,.nga-career-page) #main-content :is(section,.section,.section-tint,.category-decision-support){background:transparent!important}
body.nga-money-page .site-header{background:linear-gradient(110deg,#fbf4df,#efd8a4 58%,#f7eac8)!important}
body.nga-money-page #main-content .category-detail-hero{
 background:
  radial-gradient(circle at 82% 18%,rgba(107,74,11,.14),transparent 32%),
  linear-gradient(145deg,#fffaf0,#efd8a4)!important
}
body.nga-career-page .site-header{background:linear-gradient(110deg,#eef5ff,#d7e4f7 55%,#e1d8ef)!important}
body.nga-career-page #main-content .category-detail-hero{
 background:
  radial-gradient(circle at 82% 18%,rgba(116,102,217,.22),transparent 32%),
  linear-gradient(145deg,#edf4ff,#d7e4f7)!important
}
body:is(.nga-money-page,.nga-career-page) #main-content :is(.newsletter-card,.category-worked-example,.category-spotlight){background:var(--nga-accent)!important}

/* NGA-PAGE-TINT-TO-WHITE-FOOTERS 2026-09-10
 * Each footer uses its page's own light color fading simply to white. */
body{--nga-footer-tint:#ebe5f5}
body.nga-money-page{--nga-footer-tint:#f7eac8}
body.nga-career-page,body.nga-federal-careers-page{--nga-footer-tint:#dce8fa}
body.nga-housing-page,body.nga-rent-tool-page{--nga-footer-tint:#f5e5d7}
body.nga-real-life-page{--nga-footer-tint:#e3ecdc}
body.nga-health-page{--nga-footer-tint:#deedf0}
body.nga-resources-page{--nga-footer-tint:#f0ecf4}
body.nga-families-page{--nga-footer-tint:#f4e3e3}
body.nga-about-page,body.nga-contact-page{--nga-footer-tint:#e3ecf2}
body.nga-tools-page{--nga-footer-tint:#eeeaf4}
html body[class] .site-footer.site-footer,
body .homepage-v15-footer {
  background:linear-gradient(120deg,var(--nga-footer-tint) 0%,#fff 100%) !important;
  background-image:linear-gradient(120deg,var(--nga-footer-tint) 0%,#fff 100%) !important;
  color:#223047 !important;
  border-top-color:rgba(24,36,61,.18) !important;
}
html body[class] .site-footer.site-footer::before,
body .homepage-v15-footer::before{display:none !important}
html body[class] .site-footer.site-footer{padding:28px 0 10px !important}
html body[class] .site-footer.site-footer .footer-grid{gap:24px !important}
html body[class] .site-footer.site-footer .footer-mission{max-width:420px !important;margin-top:10px !important;line-height:1.5 !important}
html body[class] .site-footer.site-footer .footer-grid h3{margin-bottom:0 !important;color:#18243d !important}
html body[class] .site-footer.site-footer .footer-grid>div:not(:first-child){gap:0 !important}
html body[class] .site-footer.site-footer .footer-grid a{min-height:30px !important;line-height:1.25 !important}
html body[class] .site-footer.site-footer .footer-bottom{margin-top:18px !important;padding-top:10px !important}
body .homepage-v15-footer{padding:28px 0 10px !important}
body .homepage-v15-footer-layout{gap:28px !important}
body .homepage-v15-footer-grid{gap:16px !important}
body .homepage-v15-footer-grid h2{margin-bottom:4px !important;color:#18243d !important}
body .homepage-v15-footer-grid a{min-height:28px !important;line-height:1.25 !important}
body .homepage-v15-footer-bottom{margin-top:18px !important;padding-top:10px !important}
html body[class] .site-footer.site-footer :is(h2, h3, strong),
body .homepage-v15-footer :is(h2, h3, strong),
body .homepage-v15-footer .brand-footer {
  color:#18243d !important;
}
html body[class] .site-footer.site-footer :is(p, a, li, span, small),
body .homepage-v15-footer :is(p, a, li, span, small),
body .homepage-v15-footer .brand-footer small,
body .homepage-v15-footer-brand p,
body .homepage-v15-footer-grid a,
body .homepage-v15-footer-bottom {
  color:#3f4d60 !important;
}
html body[class] .site-footer.site-footer a:hover,
html body[class] .site-footer.site-footer a:focus-visible,
body .homepage-v15-footer a:hover,
body .homepage-v15-footer a:focus-visible {
  color:#334fae !important;
}
html body[class] .site-footer.site-footer .footer-bottom,
body .homepage-v15-footer-bottom {
  border-top-color:rgba(24,36,61,.18) !important;
}
@media (max-width:480px) {
  body .homepage-v15-footer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
}


/* Health resource-card containment and spacing repair. */
body.nga-health-page .health-live-resources .resource-grid { align-items:stretch; gap:24px; }
body.nga-health-page .health-live-resources .resource-card.card { --health-resource-accent:#205d77; display:flex; min-height:430px; height:100%; flex-direction:column; overflow:hidden; padding:1.35rem; border:2px solid color-mix(in srgb,var(--health-resource-accent) 38%,#d1e2e5) !important; border-radius:20px 14px 20px 14px; box-shadow:0 14px 30px rgba(25,69,83,.12); }
body.nga-health-page .health-live-resources .resource-cover { min-height:174px; margin:-1.35rem -1.35rem 1.25rem; flex:0 0 auto; border-radius:18px 12px 0 0; }
body.nga-health-page .health-live-resources .resource-card-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
body.nga-health-page .health-live-resources .resource-card h3 { margin:0 0 12px; font-size:clamp(1.35rem,2vw,1.7rem); line-height:1.13; }
body.nga-health-page .health-live-resources .resource-card > p { flex:1; margin:0 0 22px; line-height:1.62; }
body.nga-health-page .health-live-resources .resource-card .text-link { margin-top:auto; }
@media (max-width:720px) { body.nga-health-page .health-live-resources .resource-card.card { min-height:0; } }

/* 2.9.31 owner-review visual corrections.
 * Use category color as intentional spot tint, never as a full-page wash. */
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-families-page),
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-families-page) #main-content,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-families-page) #main-content > main {
  background:#fbfaf7 !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-families-page) #main-content :is(section,.section) {
  background:transparent !important;
  box-shadow:none !important;
}

/* Home: replace ambiguous glyphs with legible subject icons and add real,
 * closely related photography to the four practical-life-skill choices. */
body.home,
body.home #main-content,
body.home .task-home {
  background:#fbfaf7 !important;
}
body.home #main-content :is(section,.task-section) {
  background:transparent !important;
  box-shadow:none !important;
}
body.home #main-content .task-hero {
  background:linear-gradient(145deg,#f6f2ff,#e5dcf7) !important;
}
body.home #main-content .task-start { background:#fff !important; }
body.home #main-content .task-situations { background:#fff8ee !important; }
body.home #main-content .task-tools { background:linear-gradient(180deg,#eff9f7,#fff 52%) !important; }
body.home #main-content .life-skills-orientation { background:#f1ecfb !important; }
body.home #main-content .task-newsletter { background:#f5f2fb !important; }
body.home .situation-grid i {
  width:48px;
  height:48px;
  min-width:48px;
  border:1px solid #d9cff7;
  background:#f1ebff;
}
body.home .situation-grid i .category-icon-svg {
  display:block;
  width:25px;
  height:25px;
  background-color:#5e43ca;
  -webkit-mask:var(--category-icon) center / contain no-repeat;
  mask:var(--category-icon) center / contain no-repeat;
}
body.home .situation-grid a {
  min-height:76px;
  padding:13px 16px;
}
body.home .life-skills-orientation-grid article {
  display:grid;
  grid-template-columns:minmax(170px,.72fr) minmax(0,1.28fr);
  gap:22px;
  align-items:center;
  overflow:hidden;
  padding:0;
  background:#fff !important;
}
body.home .life-skills-orientation-grid article > img {
  display:block;
  width:100%;
  height:190px;
  object-fit:cover;
  object-position:center;
  filter:none;
}
body.home .life-skills-orientation-grid article > div { padding:22px 22px 22px 0; }
body.home .life-skills-orientation-grid h3 { margin:0 0 9px; }

/* Money: a neutral reading canvas with warm-gold spot tints and no black or
 * dark worked-example/newsletter panels. */
body.nga-money-page #main-content .category-detail-hero {
  background:radial-gradient(circle at 84% 18%,rgba(194,137,34,.18),transparent 30%),linear-gradient(145deg,#fffaf0,#f5dfaa) !important;
}
body.nga-money-page #main-content .category-decision-support {
  background:#fff6dc !important;
}
body.nga-money-page #main-content [data-category-journey] {
  background:linear-gradient(135deg,#fffaf0,#f7e9c7) !important;
}
body.nga-money-page #main-content .topic-depth-section .category-worked-example,
body.nga-money-page #main-content .newsletter-card {
  background:linear-gradient(145deg,#fff8e7,#f2dfa9) !important;
  color:#26333d !important;
  border:1px solid #b88728 !important;
  box-shadow:0 18px 42px rgba(107,74,11,.1) !important;
}

/* Career: increase the hero tint and turn Start Here into an actionable,
 * high-value spot rather than a large empty text block. */
body.nga-career-page #main-content .category-detail-hero {
  background:radial-gradient(circle at 84% 18%,rgba(89,91,191,.24),transparent 31%),linear-gradient(145deg,#eaf3ff,#c9dcf7) !important;
}
body.nga-career-page #main-content .category-start {
  background:#eef5ff !important;
}
body.nga-career-page #main-content [data-category-journey] {
  background:linear-gradient(135deg,#f5f9ff,#e2edfc) !important;
}
body.nga-career-page #main-content .category-next-step .newsletter-card {
  background:linear-gradient(145deg,#f7faff,#dce9fb) !important;
  color:#18243d !important;
  border:1px solid #7ca5da !important;
  box-shadow:0 18px 42px rgba(35,91,160,.1) !important;
}
body.nga-career-page #main-content .category-next-step .newsletter-card :is(h2,h3,p,small,label,a,span,strong) {
  color:#18243d !important;
}
body.nga-career-page #main-content .category-next-step .newsletter-card .eyebrow {
  color:#235ba0 !important;
  background:rgba(255,255,255,.76) !important;
}
body.nga-career-page #main-content .category-next-step .newsletter-card input {
  border-color:#5d80ad !important;
  background:#fff !important;
}
.category-detail-career .category-start .shell {
  width:min(1120px,calc(100% - 40px));
  max-width:none;
  padding:clamp(28px,4vw,46px);
  border:1px solid #a9c5ec;
  border-radius:28px 14px;
  background:#fff !important;
  box-shadow:0 16px 38px rgba(35,91,160,.09);
}
.category-start-actions {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
.category-start-actions article {
  display:flex;
  gap:13px;
  padding:20px;
  border:1px solid #bdd1ec;
  border-radius:18px 10px;
  background:#eef5ff !important;
}
.category-start-actions article > span {
  display:grid;
  width:36px;
  min-width:36px;
  height:36px;
  place-items:center;
  border-radius:50%;
  background:#235ba0;
  color:#fff;
  font-size:.75rem;
  font-weight:850;
}
.category-start-actions h3 { margin:0 0 7px; font-size:1.08rem; }
.category-start-actions p { margin:0; color:#40536a; font-size:.92rem; line-height:1.55; }

/* 2.9.33: strengthen the Housing peach/coral identity while keeping neutral
 * reading breaks between the tinted bands. */
body.nga-housing-page #main-content .category-detail-hero {
  background:radial-gradient(circle at 84% 18%,rgba(174,92,51,.3),transparent 33%),linear-gradient(145deg,#ffe7d7,#e8b38f) !important;
}
body.nga-housing-page #main-content .category-decision-support {
  background:#f3d0bd !important;
  border-block:1px solid rgba(136,67,45,.2) !important;
}
body.nga-housing-page #main-content [data-category-journey] {
  background:linear-gradient(135deg,#ffe4d2,#edbea2) !important;
  border-block:1px solid rgba(136,67,45,.2) !important;
}
body.nga-housing-page #main-content .category-spotlight-section {
  background:#f4d6c5 !important;
  border-block:1px solid rgba(136,67,45,.18) !important;
}
body.nga-housing-page #main-content .section-tint:not([data-category-journey]) {
  background:linear-gradient(135deg,#f7dfd0,#efc5ad) !important;
  border-block:1px solid rgba(136,67,45,.18) !important;
}
body.nga-housing-page #main-content .category-next-step {
  background:#f2cfbc !important;
  border-block:1px solid rgba(136,67,45,.18) !important;
}
body.nga-housing-page #main-content .topic-depth-section .category-worked-example,
body.nga-housing-page #main-content .newsletter-card {
  background:linear-gradient(145deg,#ffe3d1,#eebc9f) !important;
  color:#29363e !important;
  border:1px solid #b87350 !important;
  box-shadow:0 18px 42px rgba(112,62,39,.1) !important;
}

/* Light panels need dark readable content, overriding the former global
 * white-on-accent treatment. */
body:is(.nga-money-page,.nga-housing-page) #main-content :is(.category-worked-example,.newsletter-card) :is(h2,h3,p,small,label,a,span,strong,dt,dd) {
  color:#29363e !important;
}
body:is(.nga-money-page,.nga-housing-page) #main-content :is(.category-worked-example,.newsletter-card) .eyebrow {
  color:var(--nga-accent) !important;
  background:rgba(255,255,255,.72) !important;
}
body:is(.nga-money-page,.nga-housing-page) #main-content .category-worked-example dl {
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(54,66,75,.12);
}
body:is(.nga-money-page,.nga-housing-page) #main-content .category-worked-example dl > div {
  border-bottom-color:rgba(54,66,75,.14) !important;
}
body:is(.nga-money-page,.nga-housing-page) #main-content .newsletter-card input {
  border-color:#8b7448;
  background:#fff !important;
}

/* Money, Career, and Housing: make every tabbed pathway photograph larger,
 * crisp, true-tone, and fully filled without a dark surrounding field. */
@media (min-width:1051px) {
  :is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-panel {
    grid-template-columns:minmax(0,1fr) minmax(420px,.94fr) !important;
    gap:clamp(28px,4vw,58px) !important;
    align-items:center !important;
  }
  :is(.category-detail-finance,.category-detail-career) .category-pathway-visual {
    width:min(100%,480px) !important;
    max-width:480px !important;
    height:360px !important;
    max-height:360px !important;
  }
  .category-detail-housing .category-pathway-visual {
    width:min(100%,520px) !important;
    max-width:520px !important;
    height:380px !important;
    max-height:380px !important;
  }
  .category-detail-housing #housing-pathway-panel-0 .category-pathway-visual {
    width:min(100%,550px) !important;
    max-width:550px !important;
    height:410px !important;
    max-height:410px !important;
  }
  .category-detail-housing #housing-pathway-panel-3 .category-pathway-visual {
    width:min(100%,535px) !important;
    max-width:535px !important;
    height:395px !important;
    max-height:395px !important;
  }
}
:is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual {
  overflow:hidden !important;
  padding:0 !important;
  border:1px solid color-mix(in srgb,var(--path-accent) 34%,#d9dee6) !important;
  border-radius:24px 12px !important;
  background:#fff !important;
  box-shadow:0 16px 34px rgba(26,39,57,.11) !important;
}
:is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual::before,
:is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual::after {
  display:none !important;
}
:is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual picture,
:is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
}

/* 2.9.33: strengthen the Family rose identity while preserving a neutral
 * conversation band so the page is not one continuous wash. */
body.nga-families-page #main-content .family-guide-hero {
  background:radial-gradient(circle at 84% 16%,rgba(139,54,83,.28),transparent 32%),linear-gradient(145deg,#ffe3eb,#dfa3b6) !important;
}
body.nga-families-page #main-content .family-support-check {
  background:#f4ccd8 !important;
  border-block:1px solid rgba(139,54,83,.18) !important;
}
body.nga-families-page #main-content .family-support-boundaries {
  background:#e9b8c7 !important;
  border-block:1px solid rgba(139,54,83,.2) !important;
}
body.nga-families-page #main-content .family-guide-pathways {
  background:#efc4d1 !important;
  border-block:1px solid rgba(139,54,83,.18) !important;
}
body.nga-families-page #main-content .family-guide-conversation {
  background:#fbf7f3 !important;
}
body.nga-families-page #main-content .family-guide-newsletter {
  background:#eabcca !important;
  border-block:1px solid rgba(139,54,83,.2) !important;
}
body.nga-families-page #main-content .family-guide-newsletter .newsletter-card {
  background:linear-gradient(145deg,#ffe0e9,#e5aec0) !important;
  color:#18243d !important;
  border:1px solid #b56a82 !important;
  box-shadow:0 18px 42px rgba(111,43,68,.1) !important;
}
body.nga-families-page #main-content .family-guide-newsletter .newsletter-card :is(h2,h3,p,small,label,a,span,strong) {
  color:#18243d !important;
}
body.nga-families-page #main-content .family-guide-newsletter .newsletter-card .eyebrow {
  color:#7e2447 !important;
  background:rgba(255,255,255,.76) !important;
}
body.nga-families-page #main-content .family-guide-newsletter .newsletter-card input {
  border-color:#8e5267 !important;
  background:#fff !important;
}
body.nga-families-page #main-content .final-cta {
  background:linear-gradient(135deg,#ffe0e9,#e2aabd) !important;
  color:#18243d !important;
}
body.nga-families-page #main-content .final-cta :is(h2,h3,p,span,strong) {
  color:#18243d !important;
}
.family-guide-pathway-grid-with-images > a {
  display:block;
  overflow:hidden;
  padding:0 !important;
  background:#fff !important;
}
.family-guide-pathway-grid-with-images > a > picture,
.family-guide-pathway-grid-with-images > a > picture img {
  display:block;
  width:100%;
}
.family-guide-pathway-grid-with-images > a > picture img {
  height:220px;
  object-fit:cover;
  object-position:center;
  filter:none;
  opacity:1;
}
.family-guide-pathway-grid-with-images .family-pathway-copy {
  display:grid;
  gap:.7rem;
  padding:22px;
}
html body.nga-families-page .site-footer.site-footer {
  padding:18px 0 6px !important;
}
html body.nga-families-page .site-footer.site-footer .footer-grid { gap:16px !important; }
html body.nga-families-page .site-footer.site-footer .footer-mission { margin-top:4px !important; line-height:1.4 !important; }
html body.nga-families-page .site-footer.site-footer .footer-bottom { margin-top:10px !important; padding-top:6px !important; }

@media (max-width:900px) {
  body.home .life-skills-orientation-grid article { grid-template-columns:1fr; }
  body.home .life-skills-orientation-grid article > img { height:220px; }
  body.home .life-skills-orientation-grid article > div { padding:0 22px 22px; }
  .category-start-actions { grid-template-columns:1fr; }
  :is(.category-detail-finance,.category-detail-career,.category-detail-housing) .category-pathway-visual {
    width:min(100%,680px) !important;
    max-width:680px !important;
    height:auto !important;
    max-height:none !important;
    aspect-ratio:4/3;
  }
}

/* 2.9.43 — Restore the owner-approved 2.9.40/2.9.41 photography and
   present it without cutting off faces, hands, mobility equipment, or the
   practical action that gives each image meaning. This deliberately replaces
   the broad 2.9.42 washout filter and generated-image substitutions. */
body.home #main-content :is(.task-hero,.task-card,.life-skills-orientation-grid) img,
body.nga-money-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-career-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-housing-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual,.real-life-health-card) img,
body.nga-families-page #main-content :is(.family-guide-visual,.family-guide-pathway-grid-with-images) img {
  filter:brightness(1.04) contrast(1.02) saturate(1.03) !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
}

/* The four Family pathway photographs are portrait originals. Preserve their
   1122 × 1402 framing instead of forcing them into a landscape crop. */
body.nga-families-page #main-content .family-guide-pathway-grid-with-images > a > picture {
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1122 / 1402 !important;
  overflow:hidden !important;
  background:#fff !important;
}
body.nga-families-page #main-content .family-guide-pathway-grid-with-images > a > picture img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:1122 / 1402 !important;
  object-fit:cover !important;
  object-position:center !important;
}

/* Keep primary portrait photographs at their native ratio. */
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo,
body.nga-real-life-page #main-content .real-life-hero-image,
body.nga-families-page #main-content .family-guide-visual {
  height:auto !important;
  aspect-ratio:1122 / 1402 !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo picture,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo img,
body.nga-real-life-page #main-content .real-life-hero-image picture,
body.nga-real-life-page #main-content .real-life-hero-image img,
body.nga-families-page #main-content .family-guide-visual picture,
body.nga-families-page #main-content .family-guide-visual img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:1122 / 1402 !important;
  object-fit:cover !important;
  object-position:center !important;
}

/* Pathway-stage images use several original aspect ratios. Let the source
   dimensions control the frame so none of them are zoomed or clipped. */
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual {
  width:min(100%,565px) !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual picture,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}
@media (max-width:560px) {
  body.home .situation-grid i { width:44px; height:44px; min-width:44px; }
  body.home .life-skills-orientation-grid article > img { height:auto; aspect-ratio:4/3; }
  .category-detail-career .category-start .shell { width:min(100% - 28px,1120px); padding:24px 20px; }
  .family-guide-pathway-grid-with-images > a > picture img { height:auto; aspect-ratio:4/3; }
}

/* 2.9.38 — Owner-requested page tint continuity and Housing image clarity.
   Scope is deliberately limited to Home, Career, and Housing. The approved
   Free Resources multicolor treatment, layout, copy, and image boxes remain unchanged. */
body.home {
  --nga-home-wash:linear-gradient(180deg,#fbf9ff 0%,#eee8f8 28%,#faf8fd 52%,#ebe4f6 77%,#fdfbff 100%);
  background:#f5f1fa !important;
}
body.home #main-content,
body.home #main-content > * {
  background:var(--nga-home-wash) !important;
}
body.home .site-header {
  background:linear-gradient(105deg,#f8f5fc 0%,#ece5f7 62%,#fff 100%) !important;
}

body.nga-career-page {
  --nga-career-wash:linear-gradient(180deg,#f8fbff 0%,#e3edf9 27%,#f8fbff 52%,#dfeaf7 77%,#fbfdff 100%);
  background:#edf4fb !important;
}
body.nga-career-page #main-content,
body.nga-career-page #main-content > * {
  background:var(--nga-career-wash) !important;
}
body.nga-career-page .site-header {
  background:linear-gradient(105deg,#f7fbff 0%,#ddeafb 62%,#fff 100%) !important;
}
body.nga-career-page #main-content .category-detail-hero {
  min-height:0 !important;
  padding:58px 0 !important;
  background:linear-gradient(135deg,#eef5ff 0%,#d7e6f8 62%,#f9fcff 100%) !important;
}

body.nga-housing-page {
  --nga-housing-wash:linear-gradient(180deg,#fffaf7 0%,#f5dfd2 27%,#fffaf7 52%,#f1d7c8 77%,#fffbf8 100%);
  background:#faeee7 !important;
}
body.nga-housing-page #main-content,
body.nga-housing-page #main-content > * {
  background:var(--nga-housing-wash) !important;
}
body.nga-housing-page .site-header {
  background:linear-gradient(105deg,#fff9f6 0%,#f1d8ca 62%,#fff 100%) !important;
}
body.nga-housing-page #main-content .category-detail-hero {
  background:linear-gradient(135deg,#fff5ef 0%,#f2cfbb 62%,#fff9f6 100%) !important;
}
body.nga-housing-page :is(.category-detail-photo,.category-pathway-visual) img {
  object-fit:contain !important;
  object-position:center !important;
  filter:brightness(.94) contrast(1.08) saturate(.98) !important;
  background:#ead8ce !important;
  transform:none !important;
}
body.nga-housing-page .category-detail-photo:hover img {
  transform:none !important;
}

@media (max-width:900px) {
  body.nga-career-page #main-content .category-detail-hero {
    padding:44px 0 !important;
  }
}

@media (max-width:560px) {
  body.nga-career-page #main-content .category-detail-hero h1 {
    font-size:clamp(2.55rem,12vw,3.65rem) !important;
  }
}

/* 2.9.41 — Unique page color, crisp content panels, and true-tone imagery.
   Free Resources remains the only multicolor library page. The remaining
   pages borrow its strong color-to-panel contrast without borrowing its
   palette. Image rules intentionally defeat earlier dimming and contain
   overrides so the subject fills the frame at natural color. */

/* Home: lavender field with a clearly readable white newsletter panel. */
body.home #main-content .task-newsletter {
  background:linear-gradient(135deg,#e9e0f7 0%,#f5f0fb 52%,#ddd0f1 100%) !important;
  border-block:1px solid rgba(90,61,145,.18) !important;
}
body.home #main-content .task-newsletter #nga-v2-newsletter-card {
  padding:clamp(30px,4vw,48px) !important;
  border:1px solid rgba(90,61,145,.3) !important;
  border-radius:28px 18px !important;
  background:rgba(255,255,255,.96) !important;
  box-shadow:0 20px 48px rgba(70,45,112,.14) !important;
  color:#18243d !important;
}
body.home #main-content .task-newsletter #nga-v2-newsletter-card :is(h2,h3,p,small,label,a,span,strong) {
  color:#18243d !important;
}
body.home #main-content .task-newsletter #nga-v2-newsletter-card .eyebrow {
  color:#563d88 !important;
  background:#eee6f8 !important;
}

/* White and near-white panels create the Resource-page clarity while every
   page keeps its own page color and border accent. */
body.nga-money-page #main-content :is(.category-decision-card,.category-pathway-panel,.resource-card,.article-card) {
  background:#fffdf8 !important;
  border-color:#b9821d !important;
  box-shadow:0 15px 34px rgba(113,77,11,.11) !important;
}
body.nga-career-page #main-content :is(.category-start .shell,.category-start-actions article,.category-pathway-panel,.resource-card,.article-card) {
  background:#fbfdff !important;
  border-color:#3b6fae !important;
  box-shadow:0 15px 34px rgba(35,91,160,.11) !important;
}
body.nga-housing-page #main-content :is(.category-decision-card,.category-pathway-panel,.resource-card,.article-card,.category-worked-example) {
  background:#fffaf7 !important;
  border-color:#b96542 !important;
  box-shadow:0 15px 34px rgba(120,67,43,.11) !important;
}
body.nga-real-life-page #main-content :is(.category-pathway-panel,.resource-card,.article-card,.independent-living-framework article) {
  background:#fbfefb !important;
  border-color:#3f7955 !important;
  box-shadow:0 15px 34px rgba(40,96,57,.11) !important;
}
body.nga-families-page #main-content :is(.family-guide-principles article,.family-support-answer,.family-support-boundary-grid article,.family-guide-pathway-grid-with-images > a,.family-guide-conversation li) {
  background:#fffafd !important;
  border-color:#ad526f !important;
  box-shadow:0 15px 34px rgba(126,36,71,.11) !important;
}

/* True-tone image contract: no wash, blend, opacity reduction, or decorative
   overlay on the primary Home, pathway, and Family photography. */
body.home #main-content :is(.task-hero,.task-card,.life-skills-orientation-grid) img,
body.nga-money-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-career-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-housing-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual,.real-life-health-card) img,
body.nga-families-page #main-content :is(.family-guide-visual,.family-guide-pathway-grid-with-images) img {
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
  transform:none !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content :is(.category-detail-photo,.category-pathway-visual),
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual),
body.nga-families-page #main-content :is(.family-guide-visual,.family-guide-pathway-grid-with-images > a > picture) {
  overflow:hidden !important;
  padding:0 !important;
  background:#fff !important;
}
body.nga-money-page #main-content :is(.category-detail-photo,.category-pathway-visual) {
  border:2px solid #b9821d !important;
  box-shadow:0 18px 40px rgba(113,77,11,.16) !important;
}
body.nga-career-page #main-content :is(.category-detail-photo,.category-pathway-visual) {
  border:2px solid #3b6fae !important;
  box-shadow:0 18px 40px rgba(35,91,160,.16) !important;
}
body.nga-housing-page #main-content :is(.category-detail-photo,.category-pathway-visual) {
  border:2px solid #b96542 !important;
  box-shadow:0 18px 40px rgba(120,67,43,.16) !important;
}
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual) {
  border:2px solid #3f7955 !important;
  box-shadow:0 18px 40px rgba(40,96,57,.16) !important;
}
body.nga-families-page #main-content .family-guide-visual {
  border:2px solid #ad526f !important;
  box-shadow:0 18px 40px rgba(126,36,71,.16) !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content :is(.category-detail-photo,.category-pathway-visual)::before,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content :is(.category-detail-photo,.category-pathway-visual)::after,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual)::before,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual)::after,
body.nga-families-page #main-content .family-guide-visual::before,
body.nga-families-page #main-content .family-guide-visual::after {
  display:none !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content :is(.category-detail-photo,.category-pathway-visual) picture,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual) picture,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual) img,
body.nga-families-page #main-content .family-guide-visual picture,
body.nga-families-page #main-content .family-guide-visual img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
}
body.nga-housing-page #main-content .category-detail-photo img { object-position:50% 40% !important; }
body.nga-real-life-page #main-content .real-life-hero-image img { object-position:50% 42% !important; }
body.nga-families-page #main-content .family-guide-visual img { object-position:50% 42% !important; }

@media (min-width:901px) {
  body.nga-real-life-page #main-content .real-life-hero-image {
    height:620px !important;
  }
  body.nga-real-life-page #main-content .category-pathway-visual {
    width:min(100%,520px) !important;
    height:390px !important;
  }
}

@media (max-width:900px) {
  body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-pathway-visual,
  body.nga-real-life-page #main-content .category-pathway-visual {
    height:auto !important;
    aspect-ratio:4/3 !important;
  }
  body.nga-real-life-page #main-content .real-life-hero-image,
  body.nga-families-page #main-content .family-guide-visual {
    aspect-ratio:4/5 !important;
  }
}

/* 2.9.43 final cascade guard: these rules intentionally come after the
   2.9.41 presentation layer so the restored originals remain uncropped. */
body.home #main-content :is(.task-hero,.task-card,.life-skills-orientation-grid) img,
body.nga-money-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-career-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-housing-page #main-content :is(.category-detail-photo,.category-pathway-visual) img,
body.nga-real-life-page #main-content :is(.real-life-hero-image,.category-pathway-visual,.real-life-health-card) img,
body.nga-families-page #main-content :is(.family-guide-visual,.family-guide-pathway-grid-with-images) img {
  filter:brightness(1.04) contrast(1.02) saturate(1.03) !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo,
body.nga-real-life-page #main-content .real-life-hero-image,
body.nga-families-page #main-content .family-guide-visual {
  height:auto !important;
  aspect-ratio:1122 / 1402 !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo picture,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page) #main-content .category-detail-photo img,
body.nga-real-life-page #main-content .real-life-hero-image picture,
body.nga-real-life-page #main-content .real-life-hero-image img,
body.nga-families-page #main-content .family-guide-visual picture,
body.nga-families-page #main-content .family-guide-visual img {
  height:100% !important;
  aspect-ratio:1122 / 1402 !important;
  object-fit:cover !important;
  object-position:center !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual {
  width:min(100%,565px) !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
}
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual picture,
body:is(.nga-money-page,.nga-career-page,.nga-housing-page,.nga-real-life-page) #main-content .category-pathway-visual img {
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}
