.field-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.dash-filter select {
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card-bg);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

@media (max-width: 640px) {
    .dash-filter select { font-size: 16px; }
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    border-left: 3px solid var(--teal);
}

.kpi-card.warn { border-left-color: var(--warning); }

.kpi-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.kpi-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.kpi-sub {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.kpi-sub a { color: var(--teal); text-decoration: none; font-weight: 600; }

.kpi-delta {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

.kpi-delta.up { color: var(--success); }
.kpi-delta.down { color: var(--danger); }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dash-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.dash-panel.span-2 { grid-column: span 2; }

.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.panel-head h2 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.panel-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.panel-sub a { color: var(--teal); text-decoration: none; font-weight: 600; }

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { margin-bottom: 12px; }
.rank-list li:last-child { margin-bottom: 0; }

.rank-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
}

.rank-name { color: var(--text); font-weight: 500; }
.rank-value { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

.rank-bar {
    height: 6px;
    background: var(--paper);
    border-radius: 4px;
    overflow: hidden;
}

.rank-bar-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 4px;
}

.mini-table { width: 100%; border-collapse: collapse; }
.mini-table td {
    padding: 8px 4px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.mini-table tr:last-child td { border-bottom: none; }
.mini-table td.num { text-align: right; font-family: var(--font-mono); }
.mini-table td.muted { color: var(--text-muted); font-size: 12px; }

.follow-list { list-style: none; margin: 0; padding: 0; }
.follow-list li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.follow-list li:last-child { border-bottom: none; }
.follow-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 600;
    white-space: nowrap;
}
.follow-note { color: var(--text); }

@media (max-width: 900px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-panel.span-2 { grid-column: span 1; }
}
