.pontum-counts {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.pontum-timeline,
.pontum-garden {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.pontum-timeline {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}

.pontum-garden {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.pontum-pulse,
.pontum-card {
    border: 1px solid #a9b9ae;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.pontum-pulse:first-child {
    border-color: #35624d;
    background: #e6eee8;
}

.pontum-pulse span {
    display: block;
    font-size: 0.9em;
}

.pontum-card h3,
.pontum-card p {
    margin: 0 0 0.4rem;
}

.pontum-type {
    color: #35624d;
    font-weight: 600;
}

.pontum-flows {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
}

.pontum-flows li {
    overflow-wrap: anywhere;
    background: #e6eee8;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.88em;
}

.pontum-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
    .pontum-updated {
        animation: pontum-pulse 850ms ease-out;
    }

    @keyframes pontum-pulse {
        from { background: #d9e9de; }
    }
}

.pontum-state {
    padding: 0.55rem 0;
    border-top: 1px solid #d1dcd4;
    font-size: 0.9em;
}

.pontum-state h2 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.pontum-state p {
    margin: 0;
}

.pontum-state details {
    margin-top: 0.3rem;
    color: #35624d;
}

.pontum-state summary {
    cursor: pointer;
}

.pontum-state details ol {
    margin-top: 0.4rem;
}

.pontum-state ol {
    display: grid;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pontum-state li,
.pontum-latest:not([hidden]) {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.7rem;
}

.pontum-event-pulse {
    color: #35624d;
    font-size: 0.88em;
    font-weight: 650;
    white-space: nowrap;
}

.pontum-map {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1.5rem;
    border-radius: 0.75rem;
    background: #10271f;
}

.pontum-details {
    margin-top: 1rem;
    border-top: 1px solid #a9b9ae;
    padding-top: 0.7rem;
}

.pontum-details summary {
    cursor: pointer;
}

.pontum-details h2 {
    font-size: 1.2rem;
}

.pontum-details .pontum-counts {
    font-weight: 400;
}

.pontum-overview {
    margin: 0 0 1.75rem;
}

.pontum-overview .pontum-map {
    margin-bottom: 0.5rem;
}

.pontum-formation {
    background: #091d17;
}

.pontum {
    --pontum-origin: #f3d291;
    --pontum-communicante: #8bd5b1;
    --pontum-structurante: #edc28b;
    --pontum-exploratrice: #dca9cc;
    --pontum-extra-exploration: #b4c9e9;
}

.pontum-key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    list-style: none;
    padding: 0;
}

.pontum-key li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pontum-key li::before {
    content: "";
    width: 0.76rem;
    height: 0.76rem;
    border-radius: 50%;
    border: 1px solid #486257;
    background: var(--swatch);
}

.pontum-key-origin { --swatch: var(--pontum-origin); }
.pontum-key-communicante { --swatch: var(--pontum-communicante); }
.pontum-key-structurante { --swatch: var(--pontum-structurante); }
.pontum-key-exploratrice { --swatch: var(--pontum-exploratrice); }
.pontum-key-extra-exploration { --swatch: var(--pontum-extra-exploration); }

.pontum-isolates:not([hidden]) {
    display: block;
    opacity: 0.78;
    margin-top: 0.25rem;
}
