
/* STINNER_RISK_CHECK_CONTRAST */

/*
 * Secondary privacy/info notice.
 * Previous #7a7d84 on white was ~4.12:1.
 */
.sr-test-nav > span:nth-child(2) {
    color: #65686e !important;
}

/*
 * Appointment CTA.
 * Previous #ff7300 on white was ~2.72:1.
 */
.sr-text-link {
    color: #7c4a88 !important;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.sr-text-link:hover,
.sr-text-link:focus-visible {
    color: #542f60 !important;
    text-decoration-thickness: 0.12em;
}

/* STINNER_RISK_LINK_SPECIFICITY
 * Override the risk-check page's more specific orange CTA rule.
 */
body .stinner-risk-page a.sr-text-link {
    color: #7c4a88 !important;
    text-decoration: underline !important;
    text-underline-offset: 0.12em;
}

body .stinner-risk-page a.sr-text-link:hover,
body .stinner-risk-page a.sr-text-link:focus-visible {
    color: #542f60 !important;
    text-decoration-thickness: 0.12em;
}

/* STINNER_GLOBAL_FOCUS_VISIBLE
 *
 * Two-colour keyboard focus indicator:
 * - white inner ring remains visible on dark surfaces
 * - dark outer ring remains visible on light surfaces
 */
body a[href]:focus-visible,
body button:focus-visible,
body input:not([type="hidden"]):focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body summary:focus-visible,
body [role="button"]:focus-visible,
body [tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #1f1f1f !important;
}

/* STINNER_SKIP_LINK_STYLE */
.stinner-skip-link {
    position: fixed;
    z-index: 2147483647;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 4px;
    background: #ffffff;
    color: #1f1f1f !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    transform: translateY(-200%);
    transition: transform 120ms ease;
}

.stinner-skip-link:focus,
.stinner-skip-link:focus-visible {
    transform: translateY(0);
}
