/* Borrow the DMV panel's data hierarchy and warm edges for registry coverage. */
.home-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px;align-items:stretch;}
.home-overview-grid #rowArea{grid-column:1 / -1;}
.home-zone-panel.service-zone-card{display:flex;flex-direction:column;aspect-ratio:auto;overflow:hidden;border-radius:16px;border-color:rgb(var(--gold) / .22);background:rgb(var(--surface));}
.home-zone-panel.hidden{display:none;}
.home-zone-heading{padding:20px 20px 16px;}
.home-zone-heading h3{font-size:16px;font-weight:700;letter-spacing:-.02em;color:rgb(var(--ink));}
.home-zone-heading p{margin-top:4px;font-size:12px;color:rgb(var(--n-500));}
.home-zone-viewport{position:relative;flex:1;min-height:300px;border-top:1px solid rgb(var(--ink) / .07);border-bottom:1px solid rgb(var(--ink) / .07);}
.home-zone-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;}
.home-zone-footer p{max-width:150px;font-size:11px;line-height:1.5;color:rgb(var(--n-500));}
.home-zone-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;font-weight:600;color:rgb(var(--gold-ink));white-space:nowrap;}
.home-zone-link:hover{text-decoration:underline;text-underline-offset:4px;}
.home-growth-panel{display:flex;flex-direction:column;min-width:0;border:1px solid rgb(var(--gold) / .3);border-radius:16px;padding:24px;background:linear-gradient(120deg,rgb(var(--gold) / .08),transparent 65%),rgb(var(--surface));}
.home-growth-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid rgb(var(--ink) / .08);}
.home-growth-identity{display:flex;align-items:center;gap:16px;flex:1;min-width:0;}
.home-growth-car{display:block;width:132px;height:auto;flex-shrink:0;}
.home-growth-heading h3{font-size:20px;line-height:1.35;letter-spacing:-.02em;color:rgb(var(--ink));}
.home-growth-heading h3 span{color:rgb(var(--gold-ink));}
.home-growth-body{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,3fr);gap:20px;flex:1;margin-top:24px;}
.home-growth-stats{display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding-right:16px;border-right:1px solid rgb(var(--ink) / .08);}
.home-growth-stat{min-width:0;}
.home-growth-stat > div:nth-child(2){font-size:28px;margin-top:4px;font-variant-numeric:tabular-nums;}
.home-growth-stat:first-child > div:nth-child(2){color:rgb(var(--gold-ink));}
.home-growth-stat:nth-child(2) > div:nth-child(2){color:rgb(var(--ok-ink));}
.home-growth-stat > div{white-space:normal;overflow:visible;}
.home-growth-plot{height:100%;min-height:280px;min-width:0;}
.home-growth-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:12px;border-top:1px solid rgb(var(--ink) / .08);}
.home-growth-footer p{font-size:11px;line-height:1.5;color:rgb(var(--n-500));}
.home-growth-footer a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;font-weight:600;white-space:nowrap;color:rgb(var(--gold-ink));}
.home-growth-footer a:hover{text-decoration:underline;text-underline-offset:4px;}
.home-growth-footer svg{width:14px;height:14px;}
@media(max-width:1199px){
 .home-growth-heading{flex-direction:column;gap:12px;}
 .home-growth-identity{width:100%;justify-content:space-between;}
 .home-growth-body{grid-template-columns:minmax(0,1fr);}
 .home-growth-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border:0;padding:0;}
 .home-growth-stat > div:nth-child(2){font-size:24px;}
}
@media(max-width:767px){
 .home-overview-grid{grid-template-columns:minmax(0,1fr);gap:20px;}
 .home-zone-viewport{min-height:280px;}
 .home-growth-panel{padding:20px 16px;}
 .home-growth-heading h3{font-size:18px;}
 .home-growth-identity{gap:12px;}
 .home-growth-car{width:100px;}
 .home-growth-body{margin-top:20px;gap:20px;}
 .home-growth-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
 .home-growth-plot{min-height:260px;}
 .home-growth-footer{align-items:flex-start;gap:12px;}
 .home-growth-footer p{max-width:55%;}
}

/* Keep the original minimap proportions; chart content fits that row height. */
.home-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.home-zone-panel.service-zone-card{aspect-ratio:1 / .92;align-self:start;}
.home-zone-heading{padding:12px 16px;}
.home-zone-viewport{min-height:0;}
.home-zone-footer{padding:6px 12px;}
.home-zone-link{min-height:32px;}
.home-growth-panel{contain:size;min-height:0;padding:16px;}
.home-growth-heading{padding-bottom:10px;gap:8px;}
.home-growth-heading h3{font-size:18px;}
.home-growth-car{width:80px;}
.home-growth-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-height:0;margin-top:12px;gap:10px;}
.home-growth-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:0;border:0;}
.home-growth-stat > div:nth-child(2){font-size:22px;line-height:1.15;margin-top:2px;}
.home-growth-plot{min-height:0;}
.home-growth-footer{margin-top:8px;padding-top:6px;gap:10px;}
.home-growth-footer a{min-height:32px;font-size:11px;}
.home-growth-footer p{font-size:10px;}
@media(min-width:1280px){
 .home-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
 .home-growth-panel{grid-column:span 2;}
 .home-growth-stats{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:767px){
 .home-overview-grid{grid-template-columns:minmax(0,1fr);}
 .home-growth-panel{contain:none;}
 .home-growth-plot{height:240px;min-height:240px;}
}

/* The registry count and static Cybercab form one illustrated summary tile. */
.home-growth-featured{position:relative;min-height:76px;padding:10px 12px;border:1px solid rgb(var(--gold) / .25);border-radius:12px;background:linear-gradient(110deg,rgb(var(--gold) / .12),transparent);overflow:hidden;}
.home-growth-featured > div{position:relative;z-index:1;max-width:52%;}
.home-growth-featured .home-growth-car{position:absolute;right:-8px;bottom:-8px;width:58%;height:auto;pointer-events:none;}
.home-growth-stat:not(.home-growth-featured) > div:nth-child(2){font-size:20px;}
@media(min-width:1280px){
 .home-growth-body{grid-template-columns:210px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:16px;}
 .home-growth-stats{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 12px;}
 .home-growth-featured{grid-column:1 / -1;}
 .home-growth-stat:last-child{grid-column:1 / -1;}
}
@media(min-width:768px) and (max-width:1279px){
 .home-growth-stats{align-items:center;}
}
@media(max-width:767px){
 .home-growth-featured{padding:8px;min-height:70px;}
 .home-growth-featured > div{max-width:55%;}
 .home-growth-featured > div:last-of-type{display:none;}
 .home-growth-featured .home-growth-car{width:56%;right:-6px;bottom:0;}
 .home-growth-stats{align-items:center;}
}

/* Both minimaps fill their cards, with matching floating labels and links. */
.home-zone-panel .home-zone-viewport{position:absolute;inset:0;border:0;}
.home-zone-panel .home-zone-heading{position:absolute;z-index:2;top:12px;left:12px;padding:8px 12px;border-radius:8px;background:rgb(var(--surface) / .94);pointer-events:none;}
.home-zone-panel .home-zone-heading h3{font-size:13px;}
.home-zone-panel .home-zone-heading p{font-size:10px;margin-top:2px;}
.home-zone-panel .home-zone-footer{position:absolute;z-index:2;left:12px;bottom:12px;padding:0;}
.home-zone-panel .home-zone-footer p{display:none;}
.home-zone-panel .home-zone-link{min-height:40px;padding:0 12px;border-radius:8px;background:rgb(var(--surface) / .94);}
/* 768-1023px: side by side, the fleet panel's height was tied to the narrow map
   card and its plot disappeared under the stat tiles. Stacked full width here
   (as on phones): a 16:9 map, then the fleet panel at its natural height. */
@media(min-width:768px) and (max-width:1023px){
 .home-overview-grid{grid-template-columns:minmax(0,1fr);}
 .home-zone-panel.service-zone-card{aspect-ratio:16 / 9;}
 .home-growth-panel{contain:none;}
 .home-growth-plot{height:260px;min-height:260px;}
 .home-growth-stats{grid-template-columns:repeat(4,minmax(0,1fr));}
}
/* 1024px and up: the fleet panel used to take its height from the map card
   beside it (~330px), too short for its tiles, controls and plot. The row now
   has a minimum height and the map card stretches to match it. */
@media(min-width:1024px){
 .home-zone-panel.service-zone-card{aspect-ratio:auto;align-self:stretch;}
 .home-growth-panel{min-height:580px;}
}
@media(min-width:1280px){
 .home-growth-panel{min-height:480px;}
}
