.eaq-ultimo,
.eaq-historial {
    --eaq-accent: #6dba16;
    --eaq-border: rgba(0, 0, 0, 0.12);
    --eaq-bg: rgba(0, 0, 0, 0.03);
    max-width: 720px;
    margin: 0 auto;
}

.eaq-empty {
    padding: 1.5em;
    text-align: center;
    border: 1px dashed var(--eaq-border);
    border-radius: 10px;
}

.eaq-card {
    border: 1px solid var(--eaq-border);
    border-radius: 12px;
    padding: 1.1em 1.2em;
    margin-bottom: 1em;
    background: var(--eaq-bg);
}

.eaq-card--destacado {
    border-color: var(--eaq-accent);
    border-width: 2px;
    background: color-mix(in srgb, var(--eaq-accent) 8%, transparent);
}

.eaq-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5em;
    margin-bottom: 0.8em;
}

.eaq-card__modalidad {
    font-weight: 700;
    font-size: 1.1em;
}

.eaq-card__meta {
    opacity: 0.75;
    font-size: 0.9em;
}

.eaq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5em;
}

.eaq-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.4em 0.2em;
}

.eaq-num__pos {
    font-size: 0.7em;
    opacity: 0.6;
}

.eaq-num__val {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.eaq-otros__titulo {
    margin: 1.2em 0 0.6em;
    font-size: 1em;
    opacity: 0.85;
}

.eaq-fuente {
    font-size: 0.8em;
    opacity: 0.6;
    margin-top: 1em;
}

.eaq-historial__item {
    border: 1px solid var(--eaq-border);
    border-radius: 10px;
    padding: 0.8em 1em;
    margin-bottom: 0.6em;
}

.eaq-historial__item summary {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5em;
}

.eaq-historial__item[open] summary {
    margin-bottom: 0.8em;
}

.eaq-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    justify-content: center;
    margin-top: 1em;
}

.eaq-pagination a,
.eaq-pagination span {
    padding: 0.4em 0.7em;
    border: 1px solid var(--eaq-border);
    border-radius: 6px;
    text-decoration: none;
}

.eaq-pagination .current {
    background: var(--eaq-accent);
    border-color: var(--eaq-accent);
    color: #fff;
}
