.pace-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.result-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-elevated);
    box-shadow: var(--shadow-soft);
}

.result-label {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.result-value {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 700;
    color: var(--text-color);
}

.result-summary {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.08), rgba(88, 101, 242, 0.03));
    border: 1px solid rgba(88, 101, 242, 0.18);
}

.result-summary-title {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
}

.result-summary-text {
    margin: 0;
    color: var(--text-muted);
}

.result-table-card {
    margin-top: 1.5rem;
}

.table-scroll {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.info-table td:last-child {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.field-with-select {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.field-with-select label {
    grid-column: 1 / -1;
}

.field-with-select input,
.field-with-select select {
    width: 100%;
}

@media (max-width: 640px) {
    .field-with-select {
        grid-template-columns: 1fr;
    }

    .result-card {
        padding: 0.95rem 1rem;
    }

    .info-table th,
    .info-table td {
        padding: 0.8rem 0.75rem;
    }
}
