:root {
    --sidebar-w: 220px;
}

body {
    background: #f1f5f9;
}

.layout {
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: #1e293b;
}

.sidebar .nav-link {
    color: #cbd5e1;
    border-radius: .375rem;
    margin-bottom: 2px;
    padding: .5rem .9rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #334155;
    color: #fff;
}

.sidebar-brand {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    border-bottom: 1px solid #334155;
    letter-spacing: 2px;
}

.content {
    max-width: 1440px;
}

.topbar {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sidebar-foot {
    color: #94a3b8;
}

.sidebar-foot a {
    color: #cbd5e1;
}

.sidebar-foot a:hover {
    color: #fff;
}

.break-all {
    word-break: break-all;
}

.param-table td:first-child {
    width: 200px;
    font-weight: 600;
    color: #475569;
}

.stat-card .stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.macro-checkbox .form-check-input {
    margin-top: .35rem;
}
