:root {
    --app-bg: #f3f7fb;
    --app-card: #ffffff;
    --app-border: #d9e2ec;
    --app-primary: #1f4e79;
    --app-primary-dark: #173a5b;
    --app-muted: #5f6c7b;
}

body.app-body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--app-bg);
    color: #1f2933;
}

.app-container {
    max-width: 1700px;
}

.app-navbar {
    background: #fff;
}

.btn-app-primary {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

.btn-app-primary:hover {
    background: var(--app-primary-dark);
    border-color: var(--app-primary-dark);
    color: #fff;
}

.page-header,
.toolbar-card,
.kpi-card,
.status-card,
.table-card,
.chart-card,
.section-card,
.notice-card {
    background: var(--app-card);
    border: 1px solid var(--app-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
}

.page-header {
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
}

.page-subtitle {
    margin: .25rem 0 0;
    color: var(--app-muted);
}

.toolbar-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.kpi-card,
.status-card,
.chart-card {
    padding: 1rem;
    height: 100%;
}

.kpi-label,
.status-card-title {
    color: var(--app-muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.kpi-value,
.status-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: .25rem;
}

.kpi-meta,
.kpi-footer,
.status-card-subtitle,
.status-card-meta,
.status-card-footer {
    color: var(--app-muted);
    font-size: .88rem;
}

.table-card {
    margin: 1rem 0;
    overflow: hidden;
}

.app-table thead th {
    background: #eef3f8;
    white-space: nowrap;
}

.table-empty {
    color: var(--app-muted);
    text-align: center;
}

.section-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    margin: 0;
    font-size: 1.1rem;
}

.section-subtitle {
    color: var(--app-muted);
    font-size: .9rem;
}

.notice-card {
    padding: .9rem 1rem;
    margin-bottom: .75rem;
}

.notice-card-warning {
    background: #fff8e6;
    border-color: #f5dd9f;
}

.notice-card-info {
    background: #edf4ff;
    border-color: #c8dffc;
}

.notice-card-title {
    font-weight: 700;
}

.chart-title {
    font-weight: 600;
    margin-bottom: .5rem;
}

.chart-box {
    min-height: 260px;
}

.text-muted-app {
    color: var(--app-muted);
}

.sport-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.sport-separator {
    border-right: 2px solid #dee2e6;
}
