* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #0a0e20; color: var(--text); font: 400 15px/1.5 var(--sans); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input, select, textarea { color: var(--text); background: var(--inset); border: 1px solid var(--border-control); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--heading); font-weight: 500; line-height: normal; }
h1 { font-size: 32px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
img { display: block; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 19.5px; }
.row { display: flex; align-items: center; gap: 8px; }
.column { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-frame { display: flex; min-height: 100svh; border: 1px solid var(--border); border-radius: 16px; overflow: clip; background: radial-gradient(ellipse 1425.5px 1272.8px at 70% 0%, #1b2350 0%, #10162d 55%, #0a0e20 100%); }
.sidebar { width: var(--sidebar-width); flex-shrink: 0; padding: 28px 14px; background: var(--sidebar); border-right: 1px solid #202a4a; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; font: 500 22px var(--heading); white-space: nowrap; }
.sidebar .brand { padding: 0 10px 28px; }
.sidebar nav { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.nav-link { display: flex; align-items: center; gap: 14px; padding: 11px 12px; min-height: 46.5px; border: 1px solid transparent; border-radius: 10px; color: #b9bfe0; }
.nav-link.active { background: var(--active); border-color: var(--active-border); color: #fff; min-height: 48.5px; }
.nav-link:hover:not(.active) { background: #151b37; }
.settings-link { margin-top: auto; text-align: left; width: 100%; }
.main { flex: 1; min-width: 0; padding: 28px 36px; display: flex; flex-direction: column; gap: 22px; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-shrink: 0; }
.topbar .subtitle { color: var(--muted); margin-top: -1px; }
.top-actions { display: flex; gap: 14px; align-items: center; }
.search { width: 340px; height: 45px; border: 1px solid var(--border-control); border-radius: 30px; display: flex; align-items: center; gap: 10px; padding: 11px 18px; }
.search input { min-width: 0; width: 100%; border: 0; background: transparent; font-size: 14px; outline: none; }
.search:focus-within { border-color: var(--accent); }
.avatar { width: 40px; height: 40px; border-radius: 20px; background: linear-gradient(135deg,#f1b0d3,#ae95f6); color: #10162d; display: grid; place-items: center; font-weight: 600; }
.mobile-menu { display: none; }
