.cx-shell { display: grid; grid-template-columns: var(--cx-sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.cx-sidebar { position: sticky; top: 0; z-index: 30; height: 100vh; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; border-right: 1px solid var(--cx-border); background: rgba(6, 17, 38, .70); backdrop-filter: blur(var(--cx-effect-blur)); }
.cx-brand { display: flex; align-items: center; gap: 11px; padding: 0 7px; color: var(--cx-text); }
.cx-brand img { width: 35px; height: 40px; }
.cx-brand strong { font-size: 20px; font-weight: 750; letter-spacing: -.04em; }
.cx-brand small { display: block; color: var(--cx-brand-300); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.cx-nav { display: grid; gap: 5px; }
.cx-nav a { min-height: 43px; padding: 9px 12px; border-radius: 12px; display: flex; align-items: center; gap: 11px; color: var(--cx-text-muted); text-decoration: none; font-size: 13px; transition: background var(--cx-duration-fast) var(--cx-ease), color var(--cx-duration-fast) var(--cx-ease); }
.cx-nav a:hover { color: var(--cx-text); background: var(--cx-surface-hover); }
.cx-nav a[aria-current="page"] { color: var(--cx-text); background: linear-gradient(110deg, rgba(159,175,202,.18), rgba(49,84,143,.18)); box-shadow: inset 0 0 0 1px rgba(159,175,202,.23), 0 8px 24px rgba(3,9,23,.16); }
.cx-sidebar-foot { margin-top: auto; border-top: 1px solid var(--cx-border); padding-top: 15px; color: var(--cx-text-muted); font-size: 11px; }
.cx-workspace { min-width: 0; }
.cx-topbar { position: sticky; top: 0; z-index: 25; min-height: 64px; padding: 0 26px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--cx-border); background: rgba(7,16,31,.64); backdrop-filter: blur(var(--cx-effect-blur)); }
.cx-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cx-content { width: min(100%, var(--cx-content-max)); margin-inline: auto; padding: 30px 30px 72px; }
.cx-page-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.cx-eyebrow { color: var(--cx-brand-300); font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.cx-sync { display: inline-flex; align-items: center; gap: 7px; color: var(--cx-success); font-size: 11px; }
.cx-sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cx-success); box-shadow: 0 0 15px var(--cx-success); }

@media (max-width: 780px) {
  :root { --cx-sidebar-width: 74px; }
  .cx-brand { justify-content: center; padding: 0; }
  .cx-brand > div, .cx-nav a span:not(.cx-nav-icon), .cx-sidebar-foot > div { display: none; }
  .cx-nav a { justify-content: center; padding-inline: 0; }
  .cx-content { padding: 24px 16px 60px; }
  .cx-topbar { padding-inline: 16px; }
  .cx-page-header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .cx-shell { display: block; }
  .cx-sidebar { position: relative; height: auto; padding: 10px 14px; flex-direction: row; align-items: center; }
  .cx-brand > div { display: block; }
  .cx-nav, .cx-sidebar-foot { display: none; }
}
