/* Scoped to Atlas only: normal document flow prevents footer overlap after dynamic map rendering. */
body.matamet-family--atlas :is(#page,#inner-wrap,#primary,#main,.site-main,.page-shell,.entry-content,.immes-atlas-app-mount,.immes-atlas-home-mount){min-width:0;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
body.matamet-family--atlas :is(.site-main,.page-shell,.entry-content,.immes-atlas-app-mount,.immes-atlas-home-mount){position:relative!important;inset:auto!important;float:none!important;clear:both;}
body.matamet-family--atlas .site-footer{position:relative!important;inset:auto!important;z-index:0!important;clear:both!important;transform:none!important;opacity:1!important;margin-top:36px!important;}
body.matamet-family--atlas #main{display:flow-root!important;z-index:1;}
body.matamet-family--atlas :is(#immes-atlas-app,#immes-atlas-home,.iav2-article){display:flow-root;max-width:100%;isolation:isolate;}
body.matamet-family--atlas :is(#iav2-main,.iav2-app-article,.iav2-article-grid,.iav2-analysis-grid){min-width:0;height:auto!important;max-height:none!important;position:relative;}
body.matamet-family--atlas :is(.iav2-map,.iav2-map-wrap,.iav2-map-stage,.iav2-map-canvas){position:relative;min-width:0;max-width:100%;isolation:isolate;}
body.matamet-family--atlas .iav2-map-legend{max-width:calc(100% - 20px);font-size:12px;line-height:1.4;}
body.matamet-family--atlas .mmae-legend{margin:6px 0 0;font-size:11px;line-height:1.4;color:#485e60;}
body.matamet-family--atlas :is(.iav2-article,.iav2-app-article) h1{font-size:clamp(28px,3.1vw,46px)!important;line-height:1.12!important;overflow-wrap:normal;}
body.matamet-family--atlas :is(.iav2-article,.iav2-app-article) h2{font-size:clamp(21px,2.1vw,31px)!important;line-height:1.22!important;}
body.matamet-family--atlas :is(.iav2-article,.iav2-app-article) h3{font-size:clamp(17px,1.5vw,22px)!important;line-height:1.3!important;}
body.matamet-family--atlas :is(.iav2-article,.iav2-app-article) p{font-size:14px!important;line-height:1.65!important;}
body.matamet-family--atlas :is(.iav2-article-grid,.iav2-analysis-grid) > *{min-width:0;overflow-wrap:break-word;}
body.matamet-family--atlas :is(.iav2-article,.iav2-app-article) table{max-width:100%;font-size:12px;}
.mmae-evidence,.mmae-home-note{box-sizing:border-box;margin:26px auto 0;max-width:1180px;padding:20px 22px;border-top:2px solid #16434a;background:#fffdf8;color:#172b2d;font-size:14px;line-height:1.6;}
.mmae-evidence h2{font-size:24px!important;line-height:1.2;margin:4px 0 16px;}.mmae-evidence h3{font-size:16px!important;line-height:1.35;margin:16px 0 4px;}.mmae-evidence p{margin:5px 0 12px;font-size:14px!important;line-height:1.6!important;}.mmae-kicker{color:#486567;text-transform:uppercase;letter-spacing:.075em;font-size:11px!important;font-weight:600;margin:0 0 5px!important;}.mmae-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #d8d2c7;margin-bottom:10px;}.mmae-stats>div{min-width:0;padding:12px;border-right:1px solid #d8d2c7;}.mmae-stats>div:last-child{border:0;}.mmae-stats strong{display:block;font-size:24px;line-height:1.1;color:#16434a;font-variant-numeric:tabular-nums;}.mmae-stats span{display:block;font-size:12px;margin-top:4px;}.mmae-meta{color:#59696b!important;font-size:12px!important;}.mmae-sources{list-style:none;margin:0 0 12px!important;padding:0!important;}.mmae-sources li{padding:9px 0;border-bottom:1px solid #ddd7cc;}.mmae-sources small{display:block;font-size:12px;color:#59696b;}.mmae-evidence a,.mmae-home-note a{color:#16434a;text-decoration:underline;text-underline-offset:2px;}.mmae-evidence summary{font-weight:600;cursor:pointer;padding:8px 0;}.mmae-table-wrap{overflow-x:auto;max-width:100%;}.mmae-table-wrap table{width:100%;border-collapse:collapse;min-width:480px;font-size:12px;}.mmae-table-wrap th,.mmae-table-wrap td{padding:8px;border-bottom:1px solid #ddd7cc;text-align:left;}.mmae-home-note{margin-top:16px;}
@media(max-width:760px){body.matamet-family--atlas :is(.iav2-article-grid,.iav2-analysis-grid){display:block!important;}body.matamet-family--atlas :is(.iav2-article-grid,.iav2-analysis-grid) aside{position:static!important;}body.matamet-family--atlas .iav2-map-legend{position:relative!important;inset:auto!important;width:auto!important;margin:8px 0!important;}body.matamet-family--atlas .iav2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.matamet-family--atlas :is(.iav2-article,.iav2-app-article){padding-inline:12px!important;} .mmae-evidence,.mmae-home-note{padding:14px 12px;margin-top:18px;}.mmae-stats>div{padding:8px 6px;}.mmae-stats strong{font-size:20px;}.mmae-stats span{font-size:11px;}}
