body {
    font-size: 14px;
    background: #f8fafc;
}

.soft-card {
    border: 1px solid #dfe3e8;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    background: #fff;
}

.mono {
    font-family: Consolas, Monaco, "Courier New", monospace;
    word-break: break-word;
}

.pill-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.pill-on {
    background: #d1fae5;
    color: #065f46;
}

.pill-off {
    background: #e5e7eb;
    color: #374151;
}

.pill-warn {
    background: #fee2e2;
    color: #991b1b;
}

.table thead th {
    white-space: nowrap;
    font-weight: 700;
}

.table td, .table th {
    vertical-align: middle;
}

.form-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.threshold-col {
    min-width: 110px;
    white-space: normal !important;
}

.dashboard-tile {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    height: 100%;
}

.dashboard-tile h6 {
    margin-bottom: 6px;
    font-weight: 700;
}

.dashboard-tile .count {
    font-size: 24px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .container-xl,
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .soft-card {
        border-radius: 14px;
    }

    .btn {
        white-space: nowrap;
    }

    .table {
        font-size: 13px;
    }
}