/* WattAtlas v1.14.8 – Atlas layout repair + public header cleanup. */
body:not(.page-admin)>.topline{display:none!important}

/* Desktop: map and layer rail are one visual workspace. The previous fixed
   445px map height left a large dead area below the map when the layer rail
   was taller. Stretch both columns to the same minimum height instead. */
@media (min-width:1181px){
 .page-atlas .atlas-recovery .atlas-body.map-workspace{
  display:grid!important;
  grid-template-columns:minmax(0,2.35fr) minmax(290px,.75fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  min-height:590px!important;
 }
 .page-atlas .atlas-recovery .map-area{
  height:auto!important;
  min-height:590px!important;
  max-height:none!important;
  align-self:stretch!important;
 }
 .page-atlas .atlas-recovery .layers-panel{
  height:auto!important;
  min-height:590px!important;
  align-self:stretch!important;
 }
 .page-atlas .atlas-recovery .map-area>svg,
 .page-atlas .atlas-recovery .map-area>.map-tiles,
 .page-atlas .atlas-recovery .map-area>.map-labels{height:100%!important}
 .page-atlas .atlas-recovery .atlas-toolbar{
  grid-template-columns:minmax(340px,1fr) auto auto auto auto!important;
 }
}
@media (min-width:761px) and (max-width:1180px){
 .page-atlas .atlas-recovery .map-area{height:500px!important;min-height:500px!important}
}

/* The analysis row should follow the map workspace directly, without a
   synthetic fixed-height white gutter. */
.page-atlas .atlas-recovery .atlas-body.map-workspace+*{margin-top:0!important}

/* v1.14.8 source/status language: prepared is not the same as active. */
.source-pipeline-note{font-size:.82rem;color:#536b7c}

/* v1.14.8 HF1 – restore lower Atlas content accidentally hidden by the compact v1.14.4 recovery layer. */
.page-atlas .atlas-national-facts{display:grid!important;margin-top:18px!important;margin-bottom:16px!important}
.page-atlas .feature-shortcuts{display:flex!important;margin-top:0!important;margin-bottom:20px!important}
@media(max-width:700px){.page-atlas .feature-shortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-atlas .feature-shortcuts a:last-child{grid-column:1/-1!important}}
