/* Minimal dashboard section foundation, independent of the pending page redesign. */
section.block.dash-sec{border-top:1px solid var(--line-soft,var(--color-line,#dedbdc))}
.dashboard-demo.dash-sec{margin-top:32px;width:100%;scroll-margin-top:24px}
.dash-sec>.section-label{font-family:var(--mono,"IBM Plex Mono",monospace);font-size:.68rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--muted-warm,#8a857d);margin:0 0 30px;display:flex;align-items:center;gap:14px}
.dash-sec>.section-label::before{content:"";width:30px;height:1px;background:var(--line-hair,var(--color-line,#dedbdc));flex-shrink:0}
.dash-sec>.section-head{margin-bottom:34px}
.dash-sec>.section-head>h2{font-size:clamp(1.6rem,3.8vw,2.2rem);font-weight:800;letter-spacing:-.035em;line-height:1.16;color:var(--ink,var(--color-ink,#12141a));margin:0 0 12px}
.dash-sec>.section-head>p{font-size:1.02rem;line-height:1.64;color:var(--muted,var(--color-muted,#71767f));margin:0}
@media(max-width:760px){.dash-sec>.section-label{margin-bottom:24px}}
.dash-app .kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.dash-app .camp-period{font-size:.84rem;color:#5c6068}
@media(max-width:1100px){.dash-app .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
/* The retained baseline hero needs a CTA to exercise the approved visibility fix. */
.preview-hero-cta{margin-top:36px}
.preview-hero-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 32px;border-radius:999px;background:#6c4ce0;color:#fff;font-size:1rem;font-weight:700;text-decoration:none}
.preview-hero-cta a:focus-visible{outline:3px solid #6c4ce0;outline-offset:4px}
@media(max-width:360px) and (max-height:640px){#top:not(.hero)>.container-x{padding-top:8px}.preview-hero-cta{margin-top:28px}}

/* Keep tablet rankings together; other breakpoints retain their layout. */
@media(min-width:700px) and (max-width:1024px){
#results .results-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.results-grid .rank{min-width:0;max-width:none;padding:28px 8px 24px}
.results-grid .rank .country{overflow-wrap:normal}
}
/* Recover CTA space only on narrow, short phones. */
@media(max-width:360px) and (max-height:640px){.hero{padding-top:36px}.hero .cta-row{margin-top:28px}}
