#akashic-health-records-patient-portal-root .record-overlay__count {
    margin-left: 6px;
    color: var(--warning);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
#akashic-health-records-patient-portal-root .record-overlay__more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--paper);
    font-size: var(--ak-font-13);
    font-weight: 500;
    color: var(--ink-strong);
    white-space: nowrap;
    list-style: none;
}
#akashic-health-records-patient-portal-root .record-overlay__more::-webkit-details-marker {
    display: none;
}
#akashic-health-records-patient-portal-root .record-overlay__more-list {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--ak-font-12-5);
    font-weight: 400;
    color: var(--ink-muted);
}
#akashic-health-records-patient-portal-root .record-overlay__chevron {
    flex: none;
    margin-left: auto;
    color: var(--ink-muted);
    transition: transform 0.15s;
}
#akashic-health-records-patient-portal-root details[open] > .record-overlay__more .record-overlay__chevron {
    transform: rotate(180deg);
}

/* A measurement's values and its unit share one line where they fit. On a narrow overlay the unit moves below them
   rather than squeezing a blood pressure's two numbers until they clip; each number keeps a readable width. */
#akashic-health-records-patient-portal-root .record-quantity {
    flex-wrap: wrap;
}
#akashic-health-records-patient-portal-root .record-quantity__value {
    flex: 1 1 6rem;
    min-width: 6rem;
}
/* A blood pressure's single value box is hidden behind its two numbers; `.block` otherwise outranks the hidden
   attribute and leaves an empty third box in the row. */
#akashic-health-records-patient-portal-root .record-quantity__value[hidden] {
    display: none;
}
#akashic-health-records-patient-portal-root .record-quantity__unit {
    flex: 0 0 10rem;
    max-width: 100%;
}
