/* Status */
.status-msg {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--text-muted);
    padding: .75rem 1rem;
    background: var(--surface-2);
    border-radius: 8px;
}

.status-msg.error {
    color: var(--red);
    background: rgba(224,85,85,.1);
}

.status-msg.info {
    color: var(--text-muted);
    background: var(--surface-2);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Results */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.stat-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.stat-card .label {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.stat-card .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

/* History row link */
.row-link {
    color: var(--text);
}
.row-link:hover {
    color: var(--accent);
}

