@charset "UTF-8";
/* ===========================================================================
   THE SOCIAL-PROOF ALERTS — enrolments and reviews
   ---------------------------------------------------------------------------
   includes/recent-enrollments.php renders one fixed toast that custom.js
   fills from a feed every 25 seconds, alternating an enrolment with a real
   Google review. Both are LIVE files; this is an override.

   MEASURED BEFORE TOUCHING ANYTHING (scratchpad/toastprobe.mjs forces the
   toast open in both states, because it ships `hidden` and is invisible to an
   ordinary screenshot):

     enrolment   2 off-palette values — the border and the icon disc were
                 #e5f2f0, the old mint
     review      19 — the ENTIRE review state was still gold: icon disc
                 #f6efe2, icon #b8924e, the five stars #c9a96e and the left
                 edge #c9a96e

   The generated palette remap had reached the name and the tick but nothing
   else, which is why the review alert in particular still looked like the old
   theme.

   TELLING THE TWO APART WITHOUT A SECOND COLOUR. They used to differ by hue —
   green for an enrolment, gold for a review. Both are red now, so the
   difference is carried by WEIGHT instead: an enrolment is a red tick on a
   red tint, a review is a white star on solid red, which is also the louder
   of the two and should be. The glyphs were always different; now they do the
   work.
   =========================================================================== */

/* -- the card ------------------------------------------------------------- */
.ryp-enrol-toast {
    border-color: #e4dcd7;                    /* was #e5f2f0, mint */
    border-left-color: var(--ryp-red);        /* was #1b7061 */
}

/* -- the enrolment state -------------------------------------------------- */
.ryp-enrol-icon {
    background: var(--ryp-red-tint);          /* was #e5f2f0 */
    color: var(--ryp-red-ink);                /* was #1b7061 */
}

.ryp-enrol-close:focus-visible {
    outline-color: var(--ryp-red);            /* was #c9a96e */
}

/* -- the review state ----------------------------------------------------- */
.ryp-enrol-toast.is-review {
    border-left-color: var(--ryp-red-deep);   /* was #c9a96e */
}

/* A filled disc, not a tint: white on #de2a1d measures 4.8:1, and a solid
   mark is what separates a review from an enrolment now that both are red. */
.ryp-enrol-toast.is-review .ryp-enrol-icon {
    background: var(--ryp-red);               /* was #f6efe2 */
    color: #fff;                              /* was #b8924e */
}

.ryp-enrol-toast.is-review .ryp-review-stars {
    color: var(--ryp-red);                    /* was #c9a96e */
}
