body.dashboard-unified {
  --bg:#080d1b;--surface-1:#10182b;--surface-2:#17213a;--surface-3:#202e4a;
  --text-1:#f7f9ff;--text-2:#c0cbea;--text-3:#a1b0d7;--border:#2e3b59;
  --accent:#9aaeff;--dashboard-gradient:linear-gradient(130deg,#5265e8,#7542dc);
  box-sizing:border-box;margin:0;padding:0 0 0 232px;background:var(--bg);color:var(--text-1);
  font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh;
}
[data-theme="light"] body.dashboard-unified {
  --bg:#eef2fa;--surface-1:#fff;--surface-2:#f0f3fb;--surface-3:#e3e9f6;
  --text-1:#15213a;--text-2:#364969;--text-3:#4e6182;--border:#c4cfe4;--accent:#4e49ba;
}
.dashboard-unified *, .dashboard-unified *::before, .dashboard-unified *::after{box-sizing:border-box}
.dashboard-unified [hidden]{display:none!important}
.dashboard-workspace{min-width:0;width:100%;padding:0 28px 40px}
.dashboard-unified .dashboard-workspace > :is(.container,.page,.main-content,main){width:100%;max-width:1440px;margin-left:auto;margin-right:auto}
.dashboard-unified .dashboard-workspace > :is(.container,.page){padding-left:0;padding-right:0}
.dashboard-unified .dashboard-workspace header{background:var(--surface-1);color:var(--text-1);border-color:var(--border);backdrop-filter:blur(16px)}
.dashboard-unified .dashboard-workspace > .header{position:relative;left:auto;right:auto;width:auto;margin:0 -28px 28px;padding:12px 28px}
.dashboard-unified .dashboard-workspace :is(.header-inner,header nav){max-width:none;flex-wrap:wrap}
.dashboard-unified .dashboard-workspace :is(.header-inner){padding-left:0;padding-right:0}
.dashboard-unified .dashboard-workspace :is(h1,h2,h3,h4,.card-title){color:var(--text-1)}
.dashboard-unified .dashboard-workspace :is(.subtitle,.card-desc,.description,.muted,.header-email){color:var(--text-2)}
.dashboard-unified .dashboard-workspace :is(.nav-card,.card,.stat-card,.profile-entry,.profile-gate-card,.section,.panel,.settings-card,.device-card,.form-section){background:var(--surface-1);border:1px solid var(--border);border-radius:16px;color:var(--text-1);box-shadow:0 12px 32px #00000014}
.dashboard-unified .dashboard-workspace .nav-card:hover{border-color:var(--accent);background:var(--surface-2)}
.dashboard-unified .dashboard-workspace :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){background:var(--surface-2);color:var(--text-1);border:1px solid var(--border);border-radius:9px;max-width:100%}
.dashboard-unified .dashboard-workspace input::placeholder,.dashboard-unified .dashboard-workspace textarea::placeholder{color:var(--text-3);opacity:1}
.dashboard-unified .dashboard-workspace :is(.btn-primary,button[type="submit"]:not(.btn-danger),.button-primary){background:var(--dashboard-gradient);color:#fff;border:1px solid #8b8cf0;border-radius:10px;font-weight:700}
.dashboard-unified .dashboard-workspace :is(.btn-secondary,.btn-ghost){background:var(--surface-2);color:var(--text-1);border-color:var(--border)}
.dashboard-unified .dashboard-workspace :is(th,td){border-color:var(--border)}
.dashboard-unified .dashboard-workspace :is(th,thead){background:var(--surface-2);color:var(--text-2)}
.dashboard-unified .dashboard-workspace input[type="checkbox"],.dashboard-unified .dashboard-workspace input[type="radio"]{accent-color:#6855e6}
.dashboard-unified :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dashboard-sidebar{position:fixed;inset:0 auto 0 0;width:232px;z-index:1100;overflow-y:auto;overscroll-behavior:contain;padding:22px 14px;display:flex;flex-direction:column;gap:12px;background:#0d1528;color:#f7f9ff;border-right:1px solid #2e3b59}
.dashboard-sidebar a{color:inherit;text-decoration:none}
.dashboard-brand{display:block;padding:4px 14px 18px}
.dashboard-brand img{display:block;width:148px;max-width:100%;height:auto;filter:none}
.dashboard-sidebar nav{display:grid;gap:5px}
.dashboard-sidebar .dashboard-nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#c0cbea;font-size:14px;font-weight:650;line-height:1.35}
.dashboard-sidebar .dashboard-nav-link:hover{background:#1b2742;color:#fff}
.dashboard-sidebar .dashboard-nav-link[aria-current="page"]{background:linear-gradient(130deg,#5265e844,#7542dc44);border-color:#777ee99e;color:#fff}
.dashboard-nav-icon{display:inline-grid;place-items:center;flex:0 0 20px;font-size:22px;line-height:1;color:#afaaff}
.dashboard-admin{border-top:1px solid #2e3b59;padding-top:12px}
.dashboard-admin summary{cursor:pointer;color:#c0cbea;font-size:13px;font-weight:700;padding:10px 12px}
.dashboard-account{margin-top:auto;padding:16px 12px 0;color:#a1b0d7;font-size:12px;overflow-wrap:anywhere}
.dashboard-signout,.dashboard-nav-close{background:#17213a;color:#f7f9ff;border:1px solid #3c4b6c;border-radius:9px;padding:10px 12px;font:inherit;cursor:pointer}
.dashboard-menu{display:none;position:fixed;top:12px;left:12px;z-index:1090;width:44px;height:44px;border:1px solid #8490dd;background:linear-gradient(130deg,#5265e8,#7542dc);border-radius:10px;color:#fff;font-size:24px;cursor:pointer}
.dashboard-nav-close{display:none}
.dashboard-nav-backdrop{position:fixed;inset:0;z-index:1095;background:#020610b8;backdrop-filter:blur(3px)}
.dashboard-nav-open{overflow:hidden}
@media(max-width:1050px),(pointer:coarse){
  body.dashboard-unified{padding-left:0}
  .dashboard-menu{display:block}
  .dashboard-workspace{padding:68px 20px 32px}
  .dashboard-unified .dashboard-workspace > .header{margin:0 -20px 24px;padding:12px 20px}
  .dashboard-sidebar{width:min(300px,88vw)}
  .dashboard-nav-close{display:block}
}
@media(max-width:600px){
  .dashboard-workspace{padding-left:14px;padding-right:14px}
  .dashboard-unified .dashboard-workspace > .header{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .dashboard-unified .dashboard-workspace header{flex-wrap:wrap;gap:12px}
  .dashboard-unified .dashboard-workspace .profile-gate-card{padding:20px}
}