/* Public-page dark surfaces. Removing the header include fully disables this theme. */
body.af-dark-page{
 --af-surface:#1b1e21;--af-surface-raised:#24292e;--af-line:#3c4249;--af-text:#e6e9ed;--af-muted-text:#afb7c0;
 --bs-body-bg:#111315;--bs-body-bg-rgb:17,19,21;--bs-body-color:#e6e9ed;--bs-body-color-rgb:230,233,237;
 --bs-secondary-bg:#1b1e21;--bs-secondary-bg-rgb:27,30,33;--bs-tertiary-bg:#24292e;--bs-tertiary-bg-rgb:36,41,46;
 --bs-border-color:#3c4249;--bs-secondary-color:#afb7c0;--bs-secondary-color-rgb:175,183,192;
 --bs-heading-color:#f0f2f4;--bs-emphasis-color:#f0f2f4;--bs-emphasis-color-rgb:240,242,244;
 --bs-link-color:#ff8b8f;--bs-link-hover-color:#ffb4b7;
 background:#111315!important;color:var(--af-text)!important;color-scheme:dark;
}
/* Shared Bootstrap and legacy surfaces. Intentional graphics and maps are not filtered. */
.af-dark-page :is(.card,.card-body,.card-header,.card-footer,.list-group-item,.modal-content,.accordion-item,.accordion-button,.dropdown-menu,.offcanvas,.quickBox,.card-custom,.card-custom-gear,.result-box,.af-toc,.next-post-box,.af-related-card,.af-faq-question,.af-faq-answer,.af-comment,.af-share-copy,.af-toolstrip,.af-toolstrip__pill){
 background-color:var(--af-surface)!important;color:var(--af-text)!important;border-color:var(--af-line)!important;
}
.af-dark-page :is(.bg-white,.bg-light){background-color:var(--af-surface)!important;color:var(--af-text)!important}
.af-dark-page :is(.text-dark,.text-black){color:var(--af-text)!important}
.af-dark-page :is(.text-muted,.text-secondary,.result-label,.af-related-card__meta,.af-comment__date,.af-comment-form__note){color:var(--af-muted-text)!important}
.af-dark-page :is(.text-danger,.text-primary-fire,.section-title){color:#ff858b!important}
.af-dark-page .text-primary{color:#8dbaff!important}
.af-dark-page :is(h1,h2,h3,h4,h5,h6){color:#f0f2f4!important}
.af-dark-page :is(.form-control,.form-select,.input-group-text,.af-comment-form input,.af-comment-form textarea){background-color:#161a1e!important;color:var(--af-text)!important;border-color:#56606a!important}
.af-dark-page :is(.form-control,.af-comment-form input,.af-comment-form textarea)::placeholder{color:#9faab5;opacity:1}
.af-dark-page :is(.form-control,.form-select):focus{border-color:#cbdc75!important;box-shadow:0 0 0 .2rem #cbdc7526}
.af-dark-page :is(.result-value,.af-related-card__title,.af-faq-question,.af-comment__name,.af-comment__text,.af-comment-form label,.quickBox h3){color:var(--af-text)!important}
.af-dark-page .btn-light{--bs-btn-bg:#343b42;--bs-btn-color:#f0f2f4;--bs-btn-border-color:#626c76;--bs-btn-hover-bg:#454e57;--bs-btn-hover-color:#fff}
.af-dark-page .btn-outline-secondary{--bs-btn-color:#c4ccd4;--bs-btn-border-color:#66717c}
.af-dark-page .btn-outline-dark{--bs-btn-color:#dce2e8;--bs-btn-border-color:#7d8791;--bs-btn-hover-bg:#394149;--bs-btn-hover-border-color:#7d8791;--bs-btn-hover-color:#fff}
.af-dark-page .btn-outline-danger{--bs-btn-color:#ff9297;--bs-btn-border-color:#b94e55;--bs-btn-hover-bg:#b9313c;--bs-btn-hover-color:#fff}
.af-dark-page .table{--bs-table-color:#e6e9ed;--bs-table-bg:#1b1e21;--bs-table-border-color:#424a52;--bs-table-striped-bg:#242a30;--bs-table-striped-color:#e6e9ed;--bs-table-hover-bg:#303840;--bs-table-hover-color:#fff}
.af-dark-page .table-light{--bs-table-bg:#293139;--bs-table-color:#f0f2f4;--bs-table-border-color:#56606a}
.af-dark-page .breadcrumb{--bs-breadcrumb-divider-color:#a6b0b9;--bs-breadcrumb-item-active-color:#b6bfc7}
/* Tools hub already has dark cards but formerly used light-page headings. */
.af-dark-page main.container :is(.hub-sh h2,#faq>h2){color:#f0f2f4!important}
.af-dark-page main.container .hub-sh{border-color:#3c4249!important}
.af-dark-page main.container .hub-sh span{color:#b3bdc6!important}
.af-dark-page :is(.definition-box,.quick-ref-pill){background:#342124!important;border-color:#805055!important;color:#ffd9dc!important}
.af-dark-page .definition-box strong{color:#ffd9dc!important}
/* Hazmat library uses its own light cards rather than Bootstrap cards. */
.af-dark-page :is(.haz-search,.haz-card,.haz-library-card,.haz-class,.check-card,.haz-kbd,.haz-mini-links a,.haz-cta,.un-chip){background:#1b1e21!important;border-color:#434b53!important;color:#e6e9ed!important}
.af-dark-page :is(.haz-card .t,.haz-card .d,.haz-library-card p,.haz-sub,.check-card li){color:#b8c2cb!important}
.af-dark-page :is(.haz-mini-links a,.haz-cta,.un-chip):hover{background:#303841!important;color:#fff!important}
.af-dark-page .warn-bar{background:#362d1b;color:#f6d99b;border-left-color:#e8ad46}
.af-dark-page .by-class-row{border-color:#3c4249}
/* Editorial and related-content chrome. Embedded colored callouts retain their palettes. */
.af-dark-page article.af-post-content{background:#111315!important;color:#dce2e8!important}
.af-dark-page :is(.af-toolstrip__label,.af-post-meta,.post-meta){color:#b1bdc8!important}
.af-dark-page .af-related-card__thumb{background:#252b31}
.af-dark-page .af-post-content :is(p,li,td,th){color:inherit}
/* Keep physical printouts, generated forms and maps in their original palettes. */
@media print{
 body.af-dark-page{background:#fff!important;color:#111!important;color-scheme:light;--bs-body-bg:#fff;--bs-body-color:#111}
 .af-dark-page :is(.card,.card-body,.result-box,article.af-post-content){background:#fff!important;color:#111!important;border-color:#bbb!important}
 .af-dark-page :is(h1,h2,h3,h4,h5,h6){color:#111!important}
}
.af-dark-page .leaflet-popup-content-wrapper{background:#fff;color:#222;color-scheme:light}
.af-dark-page :is(.leaflet-popup-content,.ics-document) :is(h1,h2,h3,h4,h5,h6){color:#111!important}
.af-dark-page .ics-document{background:#fff!important;color:#111!important;color-scheme:light}
/* Template-specific surfaces found during page checks. */
.af-dark-page{--g-border:#3c4249;--g-muted:#afb7c0;--g-text:#e6e9ed;--g-bg:#1b1e21;--g-bg2:#24292e}
.af-dark-page :is(.box,.seo-block,.af-content-card,.afp-quicklink,.afp-quicklink .go){background:#1b1e21!important;border-color:#434b53!important;color:#e6e9ed!important}
.af-dark-page :is(.af-content-card__title,.afp-quicklink .t){color:#edf1f5!important}
.af-dark-page :is(.af-content-card__meta,.af-content-card__metric,.afp-hero p,.afp-quicklink .d){color:#afb9c3!important}
.af-dark-page :is(.af-toc a,.next-label,.next-post-cta){color:#ff9297!important}
.af-dark-page .un-chip strong{color:inherit!important}
.af-dark-page :is(.glo-badge,.gcat-badge,.gl-badge,.gterm-badge){color:#ffb981}
.af-dark-page #ics-app{color:#dce3ea}
.af-dark-page #ics-app :is(.ics-card,.ics-note,.ics-guide-grid article,.ics-input-table tr){background:#1b1e21!important;border-color:#46515d!important;color:#dce3ea}
.af-dark-page #ics-app :is(input:not([type=checkbox]),select,textarea){background:#151a20;color:#e6e9ed;border-color:#5f7082}
.af-dark-page #ics-app :is(.ics-small,summary){color:#b3c1cf}
.af-dark-page #ics-app a{color:#9dc8ff}
.af-dark-page #ics-app :is(button:not(.ics-primary):not(.ics-print),.ics-file-button){background:#293746;color:#d8e9fa;border-color:#62778b}
.af-dark-page #ics-app .ics-document{color:#111!important;background:#fff!important}
.af-dark-page #ics-app .ics-document :is(h1,h2,h3,h4,h5,h6){color:#111!important}
/* Neutral inline reading panels and author bylines; colored safety callouts are left intact. */
.af-dark-page .af-post-content [style*="background:#f8fafc"],
.af-dark-page .af-post-content [style*="background: #f8fafc"],
.af-dark-page .af-post-content [style*="background:#fff;"],
.af-dark-page .af-post-content [style*="background: #fff;"],
.af-dark-page .af-post-content [style*="background:#f9fafb"],
.af-dark-page .af-post-content [style*="background: #f9fafb"],
.af-dark-page [style*="background:#fff3f3"]{background:#20262c!important;color:#dce3ea!important;border-color:#4c5661!important}
/* Secondary panels, reference tables and tool editors. */
.af-dark-page{--fpp-card:#1b1e21;--fpp-muted:#afb7c0;--fpp-border:#434b53;--fpp-soft:#24292e}
.af-dark-page :is(.fpp-surface,.fpp-surface .head,.fpp-check,.af-toc a,.ff-example,.breadcrumb,.syn-chip){background:#1b1e21!important;border-color:#434b53!important;color:#e6e9ed!important}
.af-dark-page :is(.fpp-tile .t-title,.chem-table td,.seo-block p,.by-class-row a,.glo-btn.secondary,.gcat-btn.secondary,.gl-btn.secondary,.gterm-btn.secondary,.breadcrumb span,.afv-hero p){color:#cbd4dd!important}
.af-dark-page .af-post-content a:not(.btn){color:#ff9ba0!important}
.af-dark-page #ics-app .ics-input-table :is(th,td){background:#252f39;color:#e0e7ee;border-color:#56616d}
.af-dark-page #salary-app{color:#dce3ea}
.af-dark-page #salary-app :is(.ssc-card,.ssc-side,.ssc-summary){background:#1b1e21;border-color:#47525e}
.af-dark-page #salary-app .ssc-note{background:#352d1f;color:#e9d5b4}
.af-dark-page #salary-app :is(.ssc-muted,.ssc-help,.ssc-metrics dt,caption){color:#b4c1ce}
.af-dark-page #salary-app :is(input,select){background:#171d24;color:#e6e9ed;border-color:#67798b}
.af-dark-page #salary-app :is(input:disabled,th,tbody tr:nth-child(even)){background:#26303b;color:#dce3ea}
.af-dark-page #salary-app a{color:#ff9ba0}
.af-dark-page #salary-app button.ssc-secondary{background:#27313b;color:#ffc3c6}
.af-dark-page #salary-app :is(.ssc-table-wrap,.ssc-metrics div,td,details){border-color:#47525e}
.af-dark-page [style*="background:#f8fafc"],
.af-dark-page [style*="background: #f8fafc"],
.af-dark-page [style*="background:#f1f5f9"],
.af-dark-page [style*="background: #f1f5f9"]{background:#242c34!important;color:#dce3ea!important;border-color:#48545f!important}
.af-dark-page :is(.note,.alert) :is(h1,h2,h3,h4){color:inherit!important}
.af-dark-page .cs-hint strong{color:#cbd4dd}
.af-dark-page [style*="background:#fff3f3"] a{color:#ff9ba0!important}
.af-dark-page .af-share-wa{color:#082e16}
.af-dark-page .breadcrumb a{color:#ff9ba0!important}
/* Article authors historically embedded light-theme colors in their content.
   Normalize the reading layer as a whole, rather than matching individual hex strings.
   Structural layout, semantic HTML, images and embedded media remain unchanged. */
@media screen {
 body.af-dark-page article.af-post-content {
    --article-text:#dce3ea;
    --article-muted:#b5c0cb;
    --article-panel:#20272e;
    --article-border:#4a5662;
    background:#111315!important;
    color:var(--article-text)!important;
 }
 body.af-dark-page article.af-post-content :is(div,section,article,aside,header,footer,p,ul,ol,li,dl,dt,dd,a,span,strong,b,em,i,small,mark,blockquote,details,summary,figure,figcaption,table,thead,tbody,tfoot,tr,th,td,h1,h2,h3,h4,h5,h6) {
    color:var(--article-text)!important;
    background-color:transparent!important;
    background-image:none!important;
    border-color:var(--article-border)!important;
 }
 body.af-dark-page article.af-post-content :is(h1,h2,h3,h4,h5,h6) {color:#f2f5f7!important}
 body.af-dark-page article.af-post-content :is(a,a span,a strong,a em) {color:#ffa9ae!important}
 body.af-dark-page article.af-post-content a {text-decoration:underline;text-underline-offset:3px}
 body.af-dark-page article.af-post-content a:hover {color:#ffd1d4!important}
 body.af-dark-page article.af-post-content :is(.af-muted,.af-img-caption,figcaption,small) {color:var(--article-muted)!important}
 body.af-dark-page article.af-post-content :is(.af-callout,.af-toc,.af-stat-box,.af-scba-card,.af-state-card,.af-card,.af-qa,.af-note,.af-warn,.af-safe,.af-framework,blockquote,details) {
    background-color:var(--article-panel)!important;
 }
 body.af-dark-page article.af-post-content :is(.af-callout,.af-warn) {border-left-color:#ff8e96!important}
 body.af-dark-page article.af-post-content :is(.af-callout.orange,.af-note) {border-left-color:#f3c578!important}
 body.af-dark-page article.af-post-content :is(.af-callout.green,.af-safe) {border-left-color:#a4d9a7!important}
 body.af-dark-page article.af-post-content .af-callout.blue {border-left-color:#95c7ff!important}
 body.af-dark-page article.af-post-content table {background-color:#1b2229!important;color:var(--article-text)!important}
 body.af-dark-page article.af-post-content th {background-color:#2b3540!important;color:#f2f5f7!important}
 body.af-dark-page article.af-post-content tbody tr:nth-child(even) {background-color:#222b34!important}
 body.af-dark-page article.af-post-content tbody tr:hover {background-color:#303b46!important}
 body.af-dark-page article.af-post-content :is(code,pre,kbd) {background:#232d37!important;color:#f3d6a0!important;border-color:var(--article-border)!important}
 body.af-dark-page article.af-post-content hr {border-color:#687684!important;opacity:.65}
 body.af-dark-page article.af-post-content :is(.af-check,.af-safe,.green .af-check) {color:#b0e2af!important}
 body.af-dark-page article.af-post-content :is(.af-x,.red .af-x) {color:#ffb0b5!important}
 body.af-dark-page article.af-post-content :is(.af-step-num,.af-acronym-letter) {background:#35432a!important;color:#e2f59f!important}
 body.af-dark-page article.af-post-content :is(a.af-btn,a.btn) {background:#303b46!important;color:#fff!important;border-color:#778999!important}
 body.af-dark-page article.af-post-content :is(a.af-btn,a.btn) :is(span,strong) {color:inherit!important}
}
/* Readability repairs for the full tool catalogue. */
@media screen {
 body.af-dark-page {
  --burn-muted:#b7c1cd;--burn-muted2:#aeb9c7;--cpat-muted:#b7c1cd;--cpat-muted2:#aeb9c7;
  --occ-muted:#b7c1cd;--occ-muted2:#aeb9c7;--smk-muted:#b7c1cd;--smk-muted2:#aeb9c7;
  --knot-muted:#b7c1cd;--knot-muted2:#aeb9c7;
 }
 body.af-dark-page :is(.bfi-card,.ma-card,.ot-card,.pdp-chip,.pdp-breakdown,.pcg-output-card,.quick-link,.af-definition-box,.ts-example,.hydranT-visual-box,.hydrant-visual-box,.fc-result-card,.fc-result-card.highlight,.foam-tab,.ot-stat) {
  background:#202830!important;color:#e2e8ef!important;border-color:#52616e!important;
 }
 body.af-dark-page :is(.bfi-card,.ma-card,.ot-card) :is(p,li,label,summary){color:#c5d0dc!important}
 body.af-dark-page :is(.ma-card,.ot-card,.bfi-card) :is(input,select,textarea){background:#151c23!important;color:#e2e8ef!important;border-color:#6b7d8f!important}
 body.af-dark-page .ot-card :is(th,td){color:#d4deea!important;background:#202830!important;border-color:#566572!important}
 body.af-dark-page .af-definition-box :is(p,strong,span,a){color:inherit!important}
 body.af-dark-page .af-definition-box a{color:#ffa9ae!important}
 body.af-dark-page main.container :is(.hubpg-section-h,.hubpg-sec,.hubpg-sec-body) :is(h2,h3,p,li){color:#e2e8ef!important}
 body.af-dark-page :is(.hubpg-stat-lbl,.hub-stat span,.hubpg-tc-cta,.hubpg-rel-cta,.hubpg-tc-desc,.hubpg-section-h span,.hubpg-sec-sub,.ff-display-label,.ff-display-method,.diag-caption,.gpm-display,.ml-field-head,.ml-field-head span,.ml-form-card .form-label,.ml-form-card .form-label span,.rc-sub,.cs-hint,.form-text,.ems-cnt.z,.hf-cnt.z,.knot-sec,.st-num,.tip-sec){color:#b9c5d1!important}
 body.af-dark-page :is(.sfc-title,.st-pulse,.fpp-tile .t-cta){color:#ffabb0!important}
 body.af-dark-page :is(.ml-form-card,.ml-message-card) [style*="color:#6b7280"]{color:#b9c5d1!important}
 body.af-dark-page :is(.pdp-chip,.pdp-breakdown) :is(.ch-label,.ch-value,.bdw-label,.bdw-value,span){color:#e2e8ef!important}
 body.af-dark-page :is(.foam-tab.active,.fc-result-card.highlight) :is(span,div){color:#f1f5f8!important}
 body.af-dark-page .foam-tab.active{background:#67330f!important;border-color:#efb180!important}
 body.af-dark-page .ratio-pill.active{background:#8e3d09!important;color:#fff!important}
 body.af-dark-page .badge.bg-warning.text-dark{color:#151515!important}
 body.af-dark-page .table-warning{--bs-table-bg:#3a311d;--bs-table-color:#f2ddb0;--bs-table-border-color:#8b7955}
 body.af-dark-page .table-danger{--bs-table-bg:#40232b;--bs-table-color:#ffd4d9;--bs-table-border-color:#8d5864}
 body.af-dark-page .table-success{--bs-table-bg:#213b2c;--bs-table-color:#d0eddb;--bs-table-border-color:#5d836d}
 body.af-dark-page :is(.tool-disclaimer,.tool-disclaimer a){background:#342b19!important;color:#f4deb3!important}
 body.af-dark-page :is(.fss-page,.wra-page){color:#dce5ef}
 body.af-dark-page :is(.fss-page,.wra-page) :is(p,li,summary,.fss-faq-body,.wra-faq-body,.fss-hero-meta,.wra-hero-meta){color:#c1ccd8!important}
 body.af-dark-page :is(.fss-page,.wra-page) :is(.fss-eyebrow,.wra-eyebrow,a){color:#ffbb91!important}
 body.af-dark-page :is(.fss-page,.wra-page) :is(.fss-guide,.wra-guide,.fss-sources a,.wra-sources a){background:#202830!important;border-color:#566675!important}
 body.af-dark-page #salary-app a.ssc-button{color:#fff!important}
 body.af-dark-page :is(.afp-search button,.afv-search button,.afp-pill.active,.af-content-card__cat,.af-wf-btn,.af-wildfire-strip .af-badge,.fss-form button,.pdp-btn-primary,.pcg-btn-primary,.afc-action-primary,.run-btn-primary,.act-btn-primary,.qa-primary,.btn-hf-search){background:#b32c38!important;color:#fff!important}
 body.af-dark-page :is(.afp-pill.active,.af-content-card__cat) span{color:#fff!important}
 body.af-dark-page :is(.bfi-btn,.bfi-print-btn,.btn-ems-srch){background:#085c85!important;color:#fff!important}
 body.af-dark-page .btn-srch{background:#91400c!important;color:#fff!important}
 body.af-dark-page :is(.unit-toggle,.body-view-toggle,.mode-tabs) button.active,
 body.af-dark-page :is(.cat-tab.is-active,.step-num){background:#b32c38!important;color:#fff!important}
 body.af-dark-page :is(.leaflet-control-attribution,.leaflet-control-attribution a){background:#f5f5f5!important;color:#15445b!important}
 body.af-dark-page .leaflet-control-attribution span{color:#333!important}
 body.af-dark-page :is(.cs-wa,.af-share-wa),
 body.af-dark-page a[style*="background:#25d366"],body.af-dark-page a[style*="background:#25D366"]{color:#092e18!important}
 body.af-dark-page a[style*="background:#1d9bf0"]{background:#075882!important;color:#fff!important}
 body.af-dark-page a[style*="background:#1877f2"]{background:#115ec1!important;color:#fff!important}
 body.af-dark-page :is(.by-class-num,.haz-badge)[style*="background:#FF6600"]{color:#181005!important}
 body.af-dark-page :is(.by-class-num,.haz-badge)[style*="background:#777777"]{color:#fff!important;background:#686868!important}
 body.af-dark-page .glo-wrap summary span[style*="background:#ff5e00"]{color:#17100a!important}
 body.af-dark-page main [style*="background:#f0f9ff"],
 body.af-dark-page main [style*="background:#f0f4f8"],
 body.af-dark-page main [style*="background:#fff7ed"],
 body.af-dark-page main [style*="background:#fff5f5"]{background:#202830!important;color:#e2e8ef!important;border-color:#566675!important}
 body.af-dark-page main code{background:#27333f!important;color:#f2d49a!important}
 body.af-dark-page :is(.bfi-doc-header,.bfi-doc-meta) :is(h2,h3,strong){color:#111!important}
}
@media screen {
 body.af-dark-page {
  --color-background-primary:#1b2229;--color-background-secondary:#242e38;--color-background-tertiary:#303c48;
  --color-text-primary:#e2e8ef;--color-text-secondary:#bbc7d3;--color-text-tertiary:#aebdcb;
  --color-border-primary:#718293;--color-border-secondary:#596b7c;--color-border-tertiary:#465665;
 }
 body.af-dark-page :is(.fss-info,.wra-info,.wra-emergency-note,.pdp-result-card,.example-box,.bdw-row.total,.ml-short-card,.ml-checklist-box,.ml-share-card){background:#222c36!important;color:#e2e8ef!important;border-color:#5b6d7d!important}
 body.af-dark-page :is(.bfi-faq .a,.ma-table td,.ma-table strong,.ot-stat .sl,.ot-stat .sv,.hf-use-card p,.hf-uc p,.hf-result-count.is-zero,.is-desc,.ml-btn-ghost,.ml-radio-label,.ml-form-card [style*="color:#6b7280"]){color:#bfccd9!important}
 body.af-dark-page :is(.bfc-title,.sbc-title,.ofc-title,.day-label){color:#ffabb0!important}
 body.af-dark-page main a[style*="color:var(--burn-red)"],
 body.af-dark-page main a[style*="color:var(--cpat-red)"],
 body.af-dark-page main a[style*="color:var(--occ-red)"],
 body.af-dark-page main a[style*="color:var(--smk-red)"]{color:#ffabb0!important}
 body.af-dark-page :is(.ml-btn-primary,.week-badge,.step-dot,.es-bullet,.cat-filter button.active){background:#a82c37!important;color:#fff!important}
 body.af-dark-page .is-num{background:#1c4f9c!important;color:#fff!important}
 body.af-dark-page .btn-outline-primary{--bs-btn-color:#a7cfff;--bs-btn-border-color:#6b9cd4;--bs-btn-hover-bg:#254b78}
 body.af-dark-page .btn-outline-success{--bs-btn-color:#b0dfc3;--bs-btn-border-color:#71a889;--bs-btn-hover-bg:#235a3a}
 body.af-dark-page .hubpg-tc-badge{background:#344454!important;color:#f0f4f8!important}
 body.af-dark-page :is(.hub-feat,.hub-tools) [style*="background:#d97706"],
 body.af-dark-page main [style*="background:#d97706"][style*="color:#fff"]{background:#80500d!important;color:#fff!important}
 body.af-dark-page :is(.hub-feat,.hub-tools) [style*="background:#ea580c"],
 body.af-dark-page main [style*="background:#f97316"][style*="color:#fff"]{background:#933b0b!important;color:#fff!important}
 body.af-dark-page main [style*="background:#059669"][style*="color:#fff"]{background:#076345!important;color:#fff!important}
 body.af-dark-page .hub-tools [style*="background:#f59e0b"]{background:#79500c!important;color:#fff!important}
 body.af-dark-page .hub-tools [style*="background:#0ea5e9"]{background:#075c81!important;color:#fff!important}
 body.af-dark-page main [style*="color:#888"],
 body.af-dark-page .haz-hero [style*="color:rgba(255,255,255,.4)"],
 body.af-dark-page .hub-sh+p{color:#b9c7d4!important}
 body.af-dark-page .check-card [style*="color:#1565C0"]{color:#9acbff!important}
 body.af-dark-page .check-card [style*="color:#c62828"]{color:#ffb0b5!important}
 body.af-dark-page [style*="background:#fd7e14"] :is(h3,div){color:#211206!important;opacity:1!important}
 body.af-dark-page #bfi-output{background:#fff;color:#17212b;padding:16px;border-radius:8px}
 body.af-dark-page #bfi-output :is(h2,h3,p,strong,td,th){color:#17212b!important}
 body.af-dark-page #bfi-output .bfi-print-bar{background:#e8f0f7;color:#17212b}
}
@media screen {
 body.af-dark-page :is(.checklist-head,.fss-guide-cta,.wra-guide-cta){color:#ffbe98!important}
 body.af-dark-page :is(.fss-guide,.wra-guide) :is(span,strong){color:#c5d3e0!important}
 body.af-dark-page :is(.fss-guide,.wra-guide) :is(.fss-guide-cta,.wra-guide-cta){color:#ffbe98!important}
 body.af-dark-page .ot-bar-labels span{color:#c5d3e0!important}
 body.af-dark-page .ma-table :is(th,td){background:#202b35!important;color:#dce6ef!important;border-color:#586a7b!important}
 body.af-dark-page .ma-table tr:nth-child(even) td{background:#2a3744!important}
 body.af-dark-page [style*="background-color:#fd7e14"],
 body.af-dark-page [style*="background-color:#fd7e14"] :is(h3,div,span,strong){color:#211206!important;opacity:1!important}
 body.af-dark-page main.container>section>p{color:#c0cedb!important}
 body.af-dark-page .hub-cats .cc span{color:#c0cedb!important}
}
@media screen {
 body.af-dark-page .ma-faq .a{color:#c5d3e0!important}
 body.af-dark-page main.container #fireground>p,
 body.af-dark-page main.container>p[style*="color:#6b7280"],
 body.af-dark-page .hub-soon .sc span{color:#c0cedb!important}
}
@media screen {
 body.af-dark-page .ma-result{background:linear-gradient(135deg,#30281f,#222c36)!important;color:#e2e8ef!important}
 body.af-dark-page .ma-stat{background:#202b35!important;border-color:#607080!important}
 body.af-dark-page .ma-stat .sv{color:#ffd0a5!important}
 body.af-dark-page .ma-stat .sl{color:#becbd8!important}
}
@media screen {
 body.af-dark-page .pcg-table :is(th,td){color:#dfe8f1!important;border-color:#586a7b!important}
 body.af-dark-page .pcg-table td{background:transparent!important}
 body.af-dark-page .pcg-table tbody tr{background:#202b35!important}
 body.af-dark-page .pcg-table tbody tr:nth-child(even){background:#2a3744!important}
 body.af-dark-page .pcg-table .td-np{color:#add5ff!important}
 body.af-dark-page .pcg-table .td-fla{color:#ffafb8!important}
 body.af-dark-page .pcg-table .td-fls{color:#f5cd8e!important}
 body.af-dark-page .pcg-table .td-app{color:#d2b5ff!important}
 body.af-dark-page .pcg-table .td-elev{color:#a8dfb8!important}
 body.af-dark-page .pcg-table .td-suggest{background:#37472c!important;color:#e7f5ad!important}
 body.af-dark-page .bfi-pill.fail{color:#991622}
 body.af-dark-page .bfi-pill.na{color:#4b5563}
 body.af-dark-page .bfi-sec.occ{background:#075b80;color:#fff}
 body.af-dark-page :is(.rg-card,.rg-item-card,.hzx-card,.hzx-item-card,.rg-cta,.hzx-cta){background:#202b35!important;color:#dce6ef!important;border-color:#586a7b!important}
 body.af-dark-page :is(.rg-prose,.hzx-prose,.rg-item-card,.hzx-item-card) :is(p,li,div,span,strong){color:#c5d3e0!important}
 body.af-dark-page :is(.rg-cta,.hzx-cta){color:#b0d5ff!important}
 body.af-dark-page .nfpa-toc{--af-red:#92323c}
}
@media screen {
 body.af-dark-page :is(.rg-group-badge,.hzx-badge,.it-badge){background:#344454!important;color:#f4f7fa!important}
 body.af-dark-page :is(.it-card,.it-item-card,.it-cta,.it-author-card,.it-chip,.source-list a,.info-card,.un-search-widget){background:#202b35!important;color:#dce6ef!important;border-color:#586a7b!important}
 body.af-dark-page :is(.it-prose,.it-item-card,.it-author-card,.info-card) :is(p,li,div,span,strong){color:#c5d3e0!important}
 body.af-dark-page :is(.it-cta,.it-author-card a,.it-val,.un-name){color:#c0dcf6!important}
}
@media screen {
 body.af-dark-page :is(.it-review-box,.ex-pill){background:#273744!important;color:#dce8f3!important;border-color:#60768a!important}
 body.af-dark-page .it-label{color:#b8c9d8}
}
