:root{
    --bg:#eef3f8;
    --panel:#ffffff;
    --ink:#111827;
    --muted:#6b7280;
    --blue:#0057B8;
    --blue-dark:#003f88;
    --green:#16a34a;
    --red:#dc2626;
    --orange:#f59e0b;
    --purple:#7c3aed;
    --border:#e5e7eb;
    --shadow:0 12px 30px rgba(15,23,42,.10);
    --radius:18px;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    min-height:100vh;
    display:flex;
    background:var(--bg);
    color:var(--ink);
    font-family:Inter,Segoe UI,Arial,sans-serif;
}

.sidebar{
    width:285px;
    min-height:100vh;
    background:linear-gradient(180deg,#0f172a,#111827);
    color:white;
    display:flex;
    flex-direction:column;
    box-shadow:8px 0 30px rgba(0,0,0,.25);
}

.brand{
    padding:32px 30px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.brand-main{
    font-size:38px;
    font-weight:950;
    letter-spacing:-1.5px;
}

.brand-sub{
    margin-top:6px;
    color:#60a5fa;
    font-size:18px;
    font-weight:800;
}

.nav{
    padding:18px 0;
}

.nav-group{
    margin-bottom:16px;
}

.nav-label{
    padding:0 30px 10px;
    color:#64748b;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:900;
}

.nav-item{
    display:block;
    padding:14px 30px;
    color:white;
    text-decoration:none;
    font-size:16px;
    font-weight:700;
    transition:.18s ease;
}

.nav-item:hover{
    background:rgba(255,255,255,.08);
}

.nav-item.active{
    background:var(--blue);
}

.nav-item.disabled{
    opacity:.45;
    cursor:not-allowed;
}

.app{
    flex:1;
    padding:34px;
    overflow:auto;
}

.topbar{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
}

.topbar h1{
    font-size:44px;
    line-height:1;
    font-weight:950;
    letter-spacing:-1px;
}

.topbar p{
    margin-top:9px;
    color:var(--muted);
    font-size:17px;
    font-weight:700;
}

.search{
    width:min(480px,38vw);
    height:54px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:0 18px;
    font-size:16px;
    outline:none;
    background:white;
    box-shadow:0 8px 22px rgba(15,23,42,.07);
}

.search:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 4px rgba(0,87,184,.14);
}

@media(max-width:900px){
    body{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        min-height:auto;
    }

    .app{
        padding:18px;
    }

    .topbar{
        flex-direction:column;
    }

    .search{
        width:100%;
    }
}