.app{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr}
.sidebar{height:100vh;position:sticky;top:0;background:var(--betooth-deep);color:var(--text-on-dark);padding:var(--space-6) var(--space-5);display:flex;flex-direction:column;gap:var(--space-7);z-index:30}
.content{min-width:0}
.topbar{height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;padding:0 var(--space-7);border-bottom:1px solid var(--line);background:var(--topbar-background);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}
main{padding:var(--space-7);min-height:calc(100vh - var(--topbar-height));outline:none}
.page{max-width:var(--content-max);margin:0 auto}
.module-page{max-width:900px;margin:var(--space-9) auto}
.hero{min-height:560px;border-radius:var(--radius-2xl);padding:clamp(36px,4vw,52px);background:linear-gradient(145deg,var(--brand-deep),var(--brand-deep-raised));color:var(--text-on-dark);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:var(--space-7);overflow:hidden;box-shadow:var(--shadow-sm)}
.hero-copy{align-self:center}
.hero h1,.hero h2,.hero h3{color:var(--text-on-dark)}
.hero-visual{position:relative;display:grid;place-items:center;min-height:420px}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-4);margin-top:var(--space-5)}
.dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--space-5);margin-bottom:var(--space-6)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-3);margin-bottom:var(--space-4)}
.dashboard-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:var(--space-4)}
.dashboard-grid>*{min-width:0}
.dashboard-side{display:grid;gap:var(--space-4);align-content:start}
.wide-panel{align-self:start}

