hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

/* ---------- Layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); background: var(--sidebar-bg); color: var(--sidebar-text);
  position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 50;
  transition: transform .22s ease;
}
.sidebar .brand {
  display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px;
  color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
}
.brand-badge {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: grid; place-items: center; font-size: 15px; color: #fff;
}
.sidebar nav { flex: 1; overflow-y: auto; padding: 6px 10px 10px; }
.nav-section { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #5d6b85; padding: 14px 10px 5px; }
.nav-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: var(--sidebar-text); font-weight: 500; font-size: 13.5px; cursor: pointer; margin: 1px 0;
  border: none; background: none; width: 100%; text-align: left; text-decoration: none;
}
.nav-link:hover { background: #182238; color: #d0d5dd; text-decoration: none; }
.nav-link.active { background: var(--sidebar-active); color: #fff; box-shadow: inset 2px 0 0 var(--primary); }
.nav-link .ico { width: 18px; text-align: center; flex: none; font-size: 14px; opacity: .95; }
.sidebar .foot { padding: 12px 14px; border-top: 1px solid #1c2740; font-size: 12px; }
.foot .user-line { color: #d0d5dd; display: flex; align-items: center; gap: 8px; }
.foot button { margin-top: 8px; }

.main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(244,246,250,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; gap: 14px; padding: 13px 26px; border-bottom: 1px solid var(--border);
}
===who uses class main?===
static/attachments.html:12:<main id="content">
static/campaigns.html:41:<main id="content">
static/gmail-accounts.html:18:<main id="content">
static/index.html:12:  <div class="main">
static/index.html:19:    <div class="content" id="content">
