:root {
    --np-navy: #061a3f;
    --np-blue: #0057ff;
    --np-red: #e30613;
    --np-bg: #f4f7fb;
    --np-card: #ffffff;
    --np-text: #172033;
    --np-muted: #64748b;
    --np-border: #e5eaf1;
    --np-shadow: 0 14px 35px rgba(6, 26, 63, 0.10);
    --np-radius: 18px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(0,87,255,.08), transparent 35%),
        var(--np-bg);
    color: var(--np-text);
}

.np-shell {
    max-width: 1350px;
    margin: 0 auto;
    padding: 28px 22px 50px;
}

.np-topbar {
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px);
    border: 1px solid var(--np-border);
    border-radius: 24px;
    box-shadow: var(--np-shadow);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.np-logo {
    height: 64px;
    width: auto;
}

.np-page-title {
    background: linear-gradient(135deg, var(--np-navy), var(--np-blue));
    color: #fff;
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--np-shadow);
    margin-bottom: 28px;
}

.np-page-title h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.np-page-title p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 17px;
}

.np-card {
    background: var(--np-card);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow);
    padding: 26px;
    margin-bottom: 24px;
}

.np-card h2,
.np-card h3 {
    margin-top: 0;
    color: var(--np-navy);
}

.np-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.np-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.np-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.np-stat {
    background: #fff;
    border: 1px solid var(--np-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--np-shadow);
}

.np-stat span {
    color: var(--np-muted);
    font-weight: 700;
    font-size: 14px;
}

.np-stat strong {
    display: block;
    color: var(--np-navy);
    font-size: 42px;
    margin-top: 8px;
}

.np-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn,
.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: .18s ease;
}

.btn.primary,
.np-btn-primary {
    background: var(--np-blue);
    color: #fff;
}

.btn.primary:hover,
.np-btn-primary:hover {
    background: var(--np-navy);
    transform: translateY(-1px);
}

.np-btn-light {
    background: #eef4ff;
    color: var(--np-blue);
}

.np-btn-danger {
    background: #fee2e2;
    color: #991b1b;
}

.np-btn-danger:hover {
    background: var(--np-red);
    color: #fff;
}

.np-input,
input,
select,
textarea {
    border-radius: 14px !important;
    border: 1px solid var(--np-border) !important;
}

.np-table {
    width: 100%;
    border-collapse: collapse;
}

.np-table th {
    background: #f8fafc;
    color: var(--np-muted);
    text-align: left;
    padding: 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.np-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--np-border);
}

.np-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.np-badge-blue {
    background: #eef4ff;
    color: var(--np-blue);
}

.np-badge-red {
    background: #fee2e2;
    color: #991b1b;
}

.np-badge-green {
    background: #dcfce7;
    color: #166534;
}

.np-muted {
    color: var(--np-muted);
}

.np-empty {
    background: #f8fafc;
    border: 1px dashed var(--np-border);
    color: var(--np-muted);
    border-radius: 16px;
    padding: 22px;
}

@media(max-width: 1000px) {
    .np-grid-4,
    .np-grid-3,
    .np-grid-2 {
        grid-template-columns: 1fr;
    }

    .np-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .np-table {
        display: block;
        overflow-x: auto;
    }
}