/* Compact Layout 3.8.0: deliberately scoped to the existing GeGeD module rows. */
#ggm-network-addition{max-width:1240px!important;width:calc(100% - 28px)!important;margin:10px auto!important;padding:10px 12px!important;border-radius:10px!important}
#ggm-network-addition .ggm-service-details{margin:0 0 5px}
#ggm-network-addition .ggm-service-details summary{cursor:pointer;font-weight:750;color:#142c48;font-size:12px;line-height:1.4;padding:4px 0}
#ggm-network-addition .ggm-services{padding-top:7px;margin:0 0 8px;gap:6px}
#ggm-network-addition .ggm-services a{min-height:34px;padding:6px 9px}
#ggm-network-addition .ggm-live-summary{gap:8px}
#ggm-network-addition:has(.ggm-live-inline) .ggm-live-summary{display:none!important}
.ggm-module-card{min-height:0!important;max-height:none!important;align-self:start!important;margin-block:0!important;padding-bottom:10px!important}
.ggm-module-card h2,.ggm-module-card h3{margin-top:0!important;margin-bottom:7px!important;line-height:1.3!important}
.ggm-module-card p{margin-block:5px!important;line-height:1.45!important}
.ggm-module-card [hidden],#ggm-network-addition [hidden]{display:none!important}
.ggm-compact-grid{align-items:start!important;align-content:start!important;row-gap:10px!important;column-gap:10px!important;grid-auto-rows:min-content!important}
.ggm-compact-grid > *{min-height:0!important;align-self:start!important}
.ggm-live-inline{margin-top:7px!important;padding:8px!important}
.ggm-live-inline strong{font-size:16px!important}
.ggm-map-unavailable [class*=map]:not(a):not([class*=notice]){min-height:100px!important;max-height:170px!important}
.ggm-map-unavailable iframe{max-height:170px!important}
/* Shorten empty map canvases only when data cannot load. Interactive maps are unaffected. */
.ggm-map-unavailable :is(.map-container,.map-placeholder,[class*=map-canvas]){height:140px!important;min-height:0!important;max-height:140px!important}
@media(max-width:700px){#ggm-network-addition{width:calc(100% - 16px)!important;padding:8px!important;margin:8px auto!important}.ggm-compact-grid{gap:8px!important}.ggm-module-card{padding-bottom:8px!important}}
/* Prevent oversized empty-state widgets from stretching an entire dashboard row. */
.ggm-module-card textarea{min-height:68px!important;max-height:100px!important;resize:vertical!important}
.ggm-module-card input:not([type=checkbox]):not([type=radio]){max-width:100%!important}
.ggm-module-card h1,.ggm-module-card h2{font-size:clamp(15px,1.5vw,19px)!important;line-height:1.28!important}
.ggm-module-card :is(.empty-state,.no-content,.placeholder){min-height:0!important;height:auto!important}
.ggm-module-card button,.ggm-module-card a{white-space:normal}
