body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f7fb;
    color: #0f172a
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain
}

.metric-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.05
}

.card-soft,
.dashboard-tile,
.table-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    padding: 1rem;
}

.dashboard-tile {
    transition: transform .18s ease, box-shadow .18s ease
}

.dashboard-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12)
}

.auth-panel {
    max-width: 1080px;
    margin: 0 auto
}

.hero-card {
    border-radius: 1.5rem;
    overflow: hidden
}

.sidebar .list-group-item {
    border: 0;
    border-radius: .85rem;
    margin-bottom: .25rem;
    color: #334155;
    font-weight: 600
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #eef2ff;
    font-size: .8rem;
    font-weight: 700
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem
}

.module-form .form-label {
    font-weight: 600
}

.table thead th {
    white-space: nowrap;
    color: #64748b;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em
}

.hero-note {
    max-width: 36rem;
    opacity: .9
}

.soft-muted {
    color: #64748b
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: #64748b
}

.badge-soft {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0
}
.risk-box.inactive {
    opacity: 0.4;
    filter: grayscale(80%);
}

.risk-box.inactive .risk-card {
    background: #e5e7eb !important;
    color: #6b7280;
}