.eafc-gmm .eafc-gmm__badge[data-state="ready"],
.eafc-gmm .eafc-gmm__badge[data-state="inside"],
.eafc-gmm .eafc-gmm__check-summary[data-state="complete"] {
    color: var(--eafc-gmm-color-text);
    background: var(--eafc-gmm-color-state-ready);
    border-color: var(--eafc-gmm-color-accent);
}

.eafc-gmm .eafc-gmm__badge[data-state="loading"],
.eafc-gmm .eafc-gmm__badge[data-state="reference"] {
    color: var(--eafc-gmm-color-info);
    border-color: var(--eafc-gmm-color-info);
}

.eafc-gmm .eafc-gmm__badge[data-state="pending"],
.eafc-gmm .eafc-gmm__badge[data-state="outside"],
.eafc-gmm .eafc-gmm__badge[data-state="weekend"] {
    color: var(--eafc-gmm-color-warning);
    border-color: var(--eafc-gmm-color-warning);
}

.eafc-gmm .eafc-gmm__badge[data-state="error"],
.eafc-gmm .eafc-gmm__notice--warning {
    color: var(--eafc-gmm-color-danger);
    border-color: var(--eafc-gmm-color-danger);
}

.eafc-gmm .eafc-gmm__button:hover,
.eafc-gmm .eafc-gmm__choice:hover,
.eafc-gmm .eafc-gmm__symbol-button:hover,
.eafc-gmm .eafc-gmm__nav a:hover,
.eafc-gmm .eafc-gmm__link-grid a:hover {
    color: var(--eafc-gmm-color-text);
    background: var(--eafc-gmm-color-interactive-hover);
    border-color: var(--eafc-gmm-color-accent);
}

.eafc-gmm button:disabled {
    cursor: wait;
    opacity: 0.82;
}

.eafc-gmm a:focus-visible,
.eafc-gmm button:focus-visible,
.eafc-gmm select:focus-visible,
.eafc-gmm summary:focus-visible {
    outline: 3px solid var(--eafc-gmm-color-focus);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .eafc-gmm *,
    .eafc-gmm *::before,
    .eafc-gmm *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .eafc-gmm,
    .eafc-gmm .eafc-gmm__hero,
    .eafc-gmm .eafc-gmm__panel,
    .eafc-gmm .eafc-gmm__card,
    .eafc-gmm .eafc-gmm__button,
    .eafc-gmm .eafc-gmm__badge,
    .eafc-gmm .eafc-gmm__choice,
    .eafc-gmm .eafc-gmm__symbol-button,
    .eafc-gmm .eafc-gmm__check-row {
        color: CanvasText;
        background: Canvas;
        border-color: CanvasText;
        forced-color-adjust: auto;
    }

    .eafc-gmm a:focus-visible,
    .eafc-gmm button:focus-visible,
    .eafc-gmm select:focus-visible,
    .eafc-gmm summary:focus-visible {
        outline-color: Highlight;
    }
}
