body {
    background: #f8fafc;
    color: #1f2933;
}

.site-header {
    background: #0f172a;
    color: #fff;
    padding: 1px 0 0 0;
}

.site-header .nav-link {
    color: #e2e8f0;
}

.site-header .nav-link:hover {
    color: #fff;
}

.table th,
.table td {
    text-align: right;
}

.table th:first-child,
.table td:first-child {
    text-align: left;
}

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

.dashboard-table {
    min-width: 980px;
    margin-bottom: 0;
}

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

.list-table {
    min-width: 900px;
    margin-bottom: 0;
}

.group-separator {
    border-left: 3px solid #94a3b8 !important;
}

.group-header {
    text-align: center;
    font-weight: 600;
    color: #1e293b;
}

.closing-safe {
    font-weight: 600;
}

.negative {
    background: #ffe4e6 !important;
    color: #9f1239 !important;
    font-weight: 600 !important;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #334155;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-line {
    display: inline-block;
    width: 32px;
    height: 0;
    border-top: 3px solid #2563eb;
}

.legend-safe {
    border-style: solid;
    border-color: #2563eb;
}

.legend-expected {
    border-style: dashed;
    border-color: #10b981;
}

.legend-high {
    border-style: dotted;
    border-color: #f97316;
}
