* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

.nexus-shell {
    display: flex;
    min-height: 100vh;
}

.nexus-sidebar {
    width: 260px;
    background: #020617;
    padding: 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.nexus-sidebar h2 {
    margin: 0;
    color: #ffffff;
}

.nexus-sidebar p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.nexus-sidebar nav a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 13px 15px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.nexus-sidebar nav a:hover,
.nexus-sidebar nav a.active {
    background: #2563eb;
    color: #ffffff;
}

.nexus-main {
    flex: 1;
    padding: 35px;
}

.nexus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.nexus-header h1 {
    margin: 0;
    font-size: 34px;
}

.nexus-header p {
    color: #94a3b8;
}

button {
    background: #2563eb;
    color: #ffffff;
    border: 0;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

button.secondary {
    background: #334155;
}

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.card,
.panel {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.card span {
    display: block;
    color: #94a3b8;
    margin-bottom: 12px;
}

.card strong {
    display: block;
    font-size: 42px;
    color: #ffffff;
}

.card small {
    color: #64748b;
}

.card.warning strong {
    color: #facc15;
}

.panel h2 {
    margin-top: 0;
}

.panel p {
    color: #cbd5e1;
    max-width: 750px;
    line-height: 1.7;
}

.actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

@media (max-width: 900px) {
    .nexus-shell {
        flex-direction: column;
    }

    .nexus-sidebar {
        width: 100%;
    }

    .nexus-grid {
        grid-template-columns: 1fr;
    }

    .nexus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #020617;
    color: #ffffff;
}

table {
    border-collapse: collapse;
    color: #e5e7eb;
}

th {
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

td {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

select {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #020617;
    color: #ffffff;
}