.app-shell{
  max-width:1440px; margin:0 auto;
  display:grid; grid-template-columns:260px 1fr;
  gap:24px; align-items:start;
}
.sidebar{
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:24px 16px;
  display:flex; flex-direction:column; gap:24px;
  position:sticky; top:24px; min-height:85vh;
}
.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 6px;}
.brand-mark{font-size:28px;background:var(--primary-soft);
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;}
.brand-mark.small{font-size:24px;width:38px;height:38px;border-radius:12px;}
.sidebar-brand strong{font-size:1.1rem;display:block;}
.sidebar-brand span{font-size:.72rem;color:var(--text-soft);}

.nav-menu{display:flex;flex-direction:column;gap:4px;}
.nav-link{display:flex;align-items:center;gap:12px;padding:11px 14px;
  border-radius:14px;color:var(--text-soft);text-decoration:none;
  font-weight:500;font-size:.92rem;transition:all .15s;}
.nav-link:hover{background:#f0f5fa;color:var(--text);}
.nav-link.active{background:var(--primary-soft);color:var(--primary);font-weight:600;}

.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding-top:18px;}
.user-chip{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:0 6px;}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--primary-soft);
  color:var(--primary);display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:1.1rem;}
.user-chip strong{font-size:.9rem;display:block;}
.user-chip span{font-size:.72rem;color:var(--text-soft);}
.logout-btn{width:100%;background:transparent;border:1px solid var(--border);
  padding:10px;border-radius:14px;cursor:pointer;font-weight:500;
  color:var(--text-soft);}
.logout-btn:hover{background:#fce9e9;border-color:#f4c9c9;color:#9a4545;}

.main-content{display:flex;flex-direction:column;gap:24px;}
.topbar{display:flex;justify-content:space-between;align-items:center;
  background:var(--surface);border-radius:var(--radius);
  padding:20px 26px;box-shadow:var(--shadow);}
.eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.8px;
  color:var(--text-soft);font-weight:600;margin-bottom:4px;}
.topbar h1{font-size:1.7rem;font-weight:700;color:var(--text);}

@media(max-width:900px){
  .app-shell{grid-template-columns:1fr;}
  .sidebar{position:static;min-height:auto;}
}