:root { --sb-bg: #0f1e3d; --sb-w: 240px; --accent: #1e6fff; }
body { background: #f3f6fb; font-size: .925rem; }
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sb-w); background: var(--sb-bg); color: #c9d4ea; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1040; transition: transform .2s; }
.sidebar .brand { padding: 1.1rem 1.2rem; font-weight: 700; color: #fff; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand i { color: #4fa3ff; }
.sidebar .nav-link { color: #c9d4ea; padding: .6rem 1.2rem; border-left: 3px solid transparent; }
.sidebar .nav-link i { width: 1.4rem; display: inline-block; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.sidebar .nav-link.active { background: rgba(30,111,255,.18); color: #fff; border-left-color: var(--accent); }
.content { flex: 1; min-width: 0; }
.topbar { background: #fff; border-bottom: 1px solid #e3e8f0; padding: .75rem 1.25rem; display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 1000; }
.page { padding: 1.25rem; }
.card { border: 1px solid #e3e8f0; border-radius: .6rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; font-weight: 600; }
.stat { display: flex; align-items: center; gap: .9rem; }
.stat .ic { width: 46px; height: 46px; border-radius: .6rem; display: grid; place-items: center; font-size: 1.35rem; }
.stat .num { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.stat .lbl { color: #6b7a90; font-size: .8rem; }
.logo-thumb { width: 42px; height: 30px; object-fit: contain; background: #eef2f8; border-radius: 4px; }
.table td, .table th { vertical-align: middle; }
.copy-box { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; }
.auth-wrap { max-width: 400px; margin: 8vh auto; padding: 0 1rem; }
.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: 0; transform: translateX(-100%); }
  body.sb-open .sidebar { transform: translateX(0); }
  body.sb-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1030; }
  .page { padding: .8rem; }
}
.table a.text-reset { text-decoration: none; }
