/* ============================================================================
 * Heliomath FORMS — ported from grokkoli_forms.css onto the Sunset tokens.
 *
 * PASS 1 (colour port): same selectors, same layout, same document structure as
 * grokkoli_forms.css — only the COLOURS changed. Every Grokkoli --main-* variable
 * and brand hex was mapped to the nearest Heliomath semantic token (map below).
 *
 * PASS 2a (safe cleanup, this pass): px lengths normalised to rem 1:1 — so type &
 * spacing scale with the user's font-size, with ZERO visual change at default
 * zoom. Dead/commented code and a couple of invalid declarations removed,
 * redundant shorthand collapsed, and font-weights pointed at the --font-weight-*
 * tokens. No geometry shifted. Load order: tokens -> base -> components -> forms.
 * Depends on heliomath_tokens.css; load it first.
 *
 * Kept in px on purpose (matching the tokens file's own convention that
 * structure = px, type & spacing = rem): border-radius, border widths, the
 * CSS-triangle notch borders, decorative shadows, and @media breakpoints.
 *
 * ── STILL DEFERRED TO PASS 2b ─────────────────────────────────────────────
 *   1. CLASS NAMES: legacy names kept verbatim — `.btn-grokkoli-primary`,
 *      `.btn-grokkoli-small`, `.grokkoli-gradient` consumers, etc. Renaming to
 *      the `.btn--variant` / BEM vocabulary is a separate rename pass.
 *   2. SEMANTIC TOKEN MIGRATION: lengths are rem literals, NOT yet --type-* /
 *      --space-* / --radius-* tokens. Snapping the rem literals onto the scale
 *      tokens shifts geometry (fluid sizes, 4px-grid spacing, 16px radii), so
 *      it's a redesign, not this pass.
 *
 * ── COLOUR MAP (Grokkoli -> Sunset) ───────────────────────────────────────
 *   --main-blue / -hover / -press   -> --accent-primary / -hover / -active
 *   --main-dark-blue                -> --surface-dark-alt (night panel)
 *   --main-orange (error, light)    -> --flare-active (coral; dark enough for
 *                                      small error text on beige)
 *   is-invalid borders              -> --flare (coral)
 *   --main-gold / --main-lemon      -> --flare-on-dark (peach) — the on-dark warm
 *     (accent + invalid ON DARK)       accent; as an inline LINK -> --link-on-dark
 *   --main-green / -text / -mint /  -> --accent-primary (cornflower). The token
 *     -super-light / -winter-green     documents itself as "primary / POSITIVE /
 *                                      call-to-action", so success maps here.
 *   --main-purple                   -> --accent-primary
 *   greys (dark/steel/medium/light) -> --text-muted / --gray-* / --border(-subtle)
 *   white surfaces                  -> --surface-elevated
 *   white text on dark              -> --text-on-dark(-fill)
 *
 * ⚠ CONSEQUENCE FOR ERIC'S EYE: Sunset has NO green and NO gold, so the ported
 * forms lose Grokkoli's green/lemon/gold entirely and read as cornflower +
 * coral/peach. Every place that happened is flagged inline with «was: …». If you
 * want a real error/success/warning family instead of reusing coral/cornflower,
 * that's a tokens-file decision — say the word and I'll add a status tier.
 *
 * ⚠ Frosted translucency [ rgba(255,255,255,0.x) ] on the dark auth surfaces is
 * kept verbatim — it's a structural glass effect, not a brand colour. Likewise a
 * few one-off decorative/third-party hexes (timeline gradient stop, ClassWallet
 * blue) are kept and flagged «kept».
 * ========================================================================== */

/*///////*/
/* FORMS */
/*///////*/

.form-container {
    display: inline-block;
    border-radius: 0 38px 38px 38px;
    text-align: left;
}

.confirm-subscription .form-container {
    max-width: calc(18.75rem + 3vw);
}

.form-container .field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.625rem;
    width: calc(16.25rem + 3vw);
    max-width: 90vw;
}

.form-container label {
    margin-left: 0.25rem;
    margin-bottom: 0.2rem;
}

.form-container .btn-grokkoli-primary {
    font-size: 1.25rem;
    float: right;
    margin-right: 0.125rem;
}
.confirm-subscription .form-container p {
    font-size: 0.92rem;
}

.form-container .invalid-feedback {
    margin-left: 0.125rem;
    font-size: 0.8rem;
    color: var(--flare-active);                 /* was: --main-orange */
}

.form-container .text-muted {
    margin-left: 0.125rem;
}

.form-container .form-control {
    height: calc(1.75em + 0.75rem + 0.125rem);
    padding: 0.4rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 20px;
    border: none;
}

/* Typed input, one rung heavier than the surrounding page.
 *
 * A .form-control is a LIGHT island: dark ink on a pale/white fill. But on the auth
 * pages it sits inside body.auth-page, a DARK scope, which re-points the weight ladder
 * to its on-dark rungs — so the field inherited --font-weight-regular at 200, a weight
 * chosen to stop light-on-dark text blooming. Dark ink at 16px doesn't bloom; it just
 * reads thin, which is what typed answers looked like on signup and login.
 *
 * --font-weight-medium is the fix in one line because the ladder resolves per scope:
 * inside the dark scope it is 300 (the +100 these fields needed), and on an ordinary
 * light page it is 400 — exactly what Bootstrap already gave .form-control there, so
 * the white-background forms are unchanged rather than thinned. */
.form-control {
    font-weight: var(--font-weight-medium);
}

.form-control.is-invalid {
    border: 1px solid var(--flare);             /* was: --main-orange */
    background-image: none;
}
.form-control .error {
    color: var(--flare-active);                 /* was: --main-orange */
}

.add-learner-profile .form-container .field-group {
    width: calc(240px + 3vw);
}

/* Guardian-consent attestation above "Add Learner" (educators/paraprofessionals).
   display:block has to out-specify `.form-container .field-group`'s flex above (it
   keeps that rule's width/margin) so the box can float: as a float it only shortens
   the first line of the label, letting the rest of the sentence run the full column
   width instead of sitting in a narrow second column. The label needs display:block
   too -- bootstrap's inline-block label is an atomic box that drops below a float
   rather than flowing around it. */
.form-container .field-group.consent-check {
    display: block;
}
.consent-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    float: left;
    margin: 2px 0.5rem 0 0;
}
.consent-check input[type="checkbox"].is-invalid {
    outline: 2px solid var(--flare);            /* was: --main-orange */
    outline-offset: 2px;
}
/* Overrides the margin-top .add-learner-profile .field-group > label gives every
   other field's label, which here would drop the text below the box it labels. */
.add-learner-profile .field-group.consent-check > label {
    display: block;
    font-weight: var(--font-weight-regular);
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
}
/* display:block overrides bootstrap's `.invalid-feedback{display:none}` -- the same
   override documented at the #cancellation-form rules further down this file. */
.consent-check .invalid-feedback {
    display: block;
    clear: both;
    margin-top: 0.5rem;
}
/* --text-muted (--gray-600) rather than the lighter --text-subtle/--text-caption:
   this sits on the sand card, where the extra contrast is what makes it readable.
   The bootstrap .text-muted utility is !important, so this element does not carry
   it -- the class is deliberately absent from the markup. */
.consent-check__note {
    clear: both;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-selector {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 0.125rem;
    height: 2.5rem;
}
input[type=range] {
    position: relative;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-color: var(--gray-300);          /* was: --main-medium-steel-grey */
    height: 0.25rem;
    border-radius: 2px;
    width: calc(12.8125rem + 3vw);
    margin-right: 0.9375rem;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0.875rem;
    height: 2.375rem;
    color: var(--white);
    background: linear-gradient(to bottom, var(--cornflower-soft), var(--accent-primary)); /* was: #4060d8 -> #0020b0 */
    border-radius: 7px;
}
output {
    font-weight: var(--font-weight-semibold);
    font-size: 1.25rem;
}

#id_learning_goal label, #id_learning_disabilities label, #id_accommodations label {
    align-items: flex-start;
}

#id_learning_goal, #id_learning_disabilities, #id_accommodations {
    flex-direction: column;
}

#id_learning_goal input, #id_learning_disabilities input, #id_accommodations input {
    margin-right: 0.625rem;
    margin-top: 0.3125rem;
}
@media screen and (min-width: 830px) {
    #id_learning_goal label, #id_learning_disabilities label, #id_accommodations label {
        margin-bottom: 0;
    }
}

.single-option-select-field {
    clear: both;
    list-style: none;
    margin: 0 0.25rem 0 0.625rem;
    padding: 0;
}
.pilot-inquiry-area .single-option-select-field {
    clear: both;
    list-style: none;
    margin: 0;
    padding: 0.4375rem 0.25rem 0.4375rem 0.625rem;
    border-radius: 20px;
    min-width: 6.25rem;
    background-color: rgba(255, 255, 255, 0.4);   /* frosted — kept */
    border: none;
}
.single-option-select-field label {
    display: flex;
    float: left;
    align-items: center;
    margin-top: 0.3125rem;
    margin-bottom: 0.625rem;
    margin-left: -0.3125rem;
}

.single-option-select-field li {
    margin-left: 0;
    margin-right: 0.625rem;
}
.single-option-select-field li label {
    font-weight: var(--font-weight-regular);
    font-size: 0.8125rem;
}
.single-option-select-field li input {
    margin: 0.25rem 0.625rem;
    float: left;
}


/*//////////*/
/* PAYMENTS */
/*//////////*/

.gov-reimbursement h2 {
    width: 56.25rem;
    max-width: 85vw;
}
.gov-reimbursement h4 {
    color: var(--flare-on-dark);                /* was: --main-lemon */
    margin-top: calc(0.9375rem + 2vw);
}
.gov-reimbursement p {
    opacity: 0.7;
    font-size: calc(0.8rem + 0.3vw);
}
.state-programs-area {
    display: flex;
    justify-content: center;
    width: 70vw;
    max-width: 50rem;
    text-align: left;
    margin-bottom: 3.125rem;
}
.flexible-columns {
    display: flex;
    flex-direction: column;
    margin-right: 5vw;
    width: 30vw;
    max-width: 25rem;
}
.flexible-columns:last-child {
    margin-right: 0;
}
@media screen and (max-width: 560px) {
    .state-programs-area {
        flex-direction: column;
        align-items: flex-start;
        max-width: 23.75rem;
    }
    .flexible-columns {
        margin-right: 0;
        width: 25rem;
        max-width: 70vw;
    }
}
@media screen and (min-width: 1200px) {
    .flexible-columns {
        margin-right: 3.75rem;
    }
}


.free-trial-explainer-container {
    color: var(--text-on-dark);                 /* was: white */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80vw;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.free-trial-explainer {
    display: flex;
    justify-content: center;
    max-width: 18.75rem;
}
.free-trial-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--accent-primary-fill);    /* was: --main-super-light-green */
    background-image: linear-gradient(var(--flare-on-dark), var(--flare-on-dark), var(--flare-on-dark), #091a52);
    width: 0.5rem;
    height: 20.625rem;
    border-radius: 10px;
    margin: 1.25rem 2.1875rem 1.25rem 1.875rem;
}
.free-trial-timeline-notch {
    background-color: #408090;                   /* decorative teal notch — kept */
    border: 4px solid var(--flare-on-dark);     /* was: --main-lemon */
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 11px;
    margin-bottom: 5.5rem;
}
.free-trial-text-area {
    margin-top: 1.125rem;
    text-align: left;
    width: 50vw;
    max-width: 16.25rem;
}
.free-trial-text-block {
    height: 6.875rem;
}
.free-trial-explainer-container .free-trial-text-block p {
    max-width: 12.5rem;
}
.free-trial-explainer-container h4 {
    color: var(--flare-on-dark);                /* was: --main-lemon */
    font-weight: var(--font-weight-bold);
    font-size: 1.3rem;
}
.free-trial-explainer-container p {
    font-size: calc(0.75rem + 0.3vw);
    max-width: 16.25rem;
}
@media screen and (min-width: 1300px) {
    .free-trial-explainer-container p {
        font-size: 1rem;
    }
}

.payment-details-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 31.25rem;
}
#payment-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 22.5rem;
    max-width: fit-content;
    min-width: 18.75rem;
    color: var(--text-on-dark);                 /* was: white */
}
#card-element {
    min-width: 18.75rem;
    max-width: 26.25rem;
    width: 80vw;
    padding: 1.125rem 0.9375rem;
    border: 1px solid var(--border);            /* was: --main-steel-grey */
    background-color: var(--surface-elevated);  /* was: white */
    border-radius: 25px;
    margin-bottom: 0.625rem;
}
#payment-form .btn {
    align-self: center;
    min-width: 15rem;
    max-width: 18.75rem;
    width: calc(7.8125rem + 30vw);
    margin-top: 1rem;
    margin-right: 0;
}

#payment-form .Tab--selected {
    border-color: var(--flare-on-dark);         /* was: --main-lemon */
    color: var(--flare-on-dark);                /* was: --main-lemon */
}
#payment-form .u-color-primary {
    color: var(--flare-on-dark);                /* was: --main-lemon */
}
#payment-form .error-message {
    max-width: 18.125rem;
    color: var(--flare-on-dark);                /* was: --main-lemon (error ON DARK) */
}
.subscriptions-area {
    max-width: 46.875rem;
}
.subscriptions-area .btn-grokkoli-secondary {
    font-size: 1.125rem;
}
.subscriptions-area p {
    margin: 0 1.25rem;
    min-width: 5.3125rem;
}
.settings-box {
    /* --sand-deep, NOT --surface-elevated. heliomath_system.css:753 already gives this
     * panel --sand-deep; this file disagreed with it, so which one won came down to which
     * stylesheet a given page happened to load. Both ported layers now agree.
     *
     * This changes nothing today. All three .settings-box templates -- subscription,
     * account_settings, 2fa_backup_codes -- set grokkoli_forms_css_needed, so this file
     * never loads on any of them. It is here so the two ported layers cannot contradict
     * each other when one of these pages is migrated.
     *
     * Evidence that sand is the right side of that disagreement: account_settings also
     * sets heliomath_system_css_needed, so it ALREADY renders this panel sand, while
     * subscription (on the legacy system layer) renders it white. 2fa_backup_codes has
     * not been looked at -- check it when that page is migrated. */
    background-color: var(--sand-deep);         /* was: --surface-elevated / #fff */
}
.settings-box h6 {
    font-size: 0.9375rem;
    color: var(--text-muted);                   /* was: --main-dark-grey */
    font-weight: var(--font-weight-light);
}
.product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.6rem 1rem 2rem;
    border-top: 1px solid var(--border-subtle); /* was: --main-light-grey */
    background-color: var(--surface-elevated);  /* was: white */
}
@media screen and (max-width: 560px) {
    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-cancel-pair {
        width: 100%;
        margin-top: 0.625rem;
    }
    .subscriptions-area p {
        margin: 0;
    }
}
.product-card h5 {
    margin: 0;
    width: calc(7.8125rem + 40vw);
    max-width: 28.125rem;
    font-size: 1.1rem;
    text-align: left;
}
.product-card.free-trial {
    background-color: var(--accent-primary-fill);    /* was: --main-green (positive) */
    color: var(--text-on-dark-fill);            /* was: white */
}
.product-card.free-trial h4 {
    margin-bottom: 0;
}
.classwallet-msg {
    padding: 1.6rem 1.6rem 1.6rem 2rem;
    color: var(--text-on-dark-fill);            /* was: white */
    background-color: #0056ce;                   /* ClassWallet brand blue — kept */

    /* Dark surface (partner brand blue, but dark enough to carry white text). */
    --font-weight-light:    var(--font-weight-light-on-dark);
    --font-weight-regular:  var(--font-weight-regular-on-dark);
    --font-weight-medium:   var(--font-weight-medium-on-dark);
    --font-weight-semibold: var(--font-weight-semibold-on-dark);
    --font-weight-bold:     var(--font-weight-bold-on-dark);
    font-weight: var(--font-weight-regular);   /* both halves needed — see heliomath_components.css */
}
.classwallet-msg a {
    color: #CCF6FF;                              /* ClassWallet brand tint — kept */
    opacity: 0.9;
    text-decoration: underline;
}
.classwallet-msg a:hover, .classwallet-msg a:active {
    opacity: 1;
}
.product-cancel-pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.confirm-cancellation-container, .confirm-reenabling-container {
    display: none;
    position: relative;
    background-color: var(--surface-dark-alt);  /* was: --main-dark-blue */
    padding-right: 1.6rem;
    color: var(--text-on-dark);                 /* was: white */

    /* Dark surface. */
    --font-weight-light:    var(--font-weight-light-on-dark);
    --font-weight-regular:  var(--font-weight-regular-on-dark);
    --font-weight-medium:   var(--font-weight-medium-on-dark);
    --font-weight-semibold: var(--font-weight-semibold-on-dark);
    --font-weight-bold:     var(--font-weight-bold-on-dark);
    font-weight: var(--font-weight-regular);   /* both halves needed — see heliomath_components.css */
}
.confirm-cancellation-container p, .confirm-reenabling-container p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}
.confirm-cancellation, .confirm-reenabling {
    display: flex;
    align-items: flex-end;
}
@media screen and (max-width: 660px) {
    .confirm-cancellation, .confirm-reenabling {
        flex-direction: column;
    }
}
.confirmation-form-notch {
    position: absolute;
    top: -2.5rem;
    right: 4.125rem;
    height: 0;
    width: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--surface-dark-alt);  /* was: --main-dark-blue */
    border-top: 20px solid transparent;
}
.confirm-cancellation p {
    color: var(--text-on-dark);                 /* was: rgba(255,255,255,0.9) */
    font-size: 1.1rem;
    font-weight: var(--font-weight-regular);
    line-height: unset;
    margin: 1.4rem 1.6rem 1.4rem 2rem;
}
.confirm-cancellation .btn-grokkoli-small, .confirm-reenabling .btn-grokkoli-small {
    color: var(--surface-dark-alt);             /* was: --main-dark-blue */
    border: none;
    margin-bottom: 1.6rem;
}
.confirm-cancellation .btn-grokkoli-small {
    background-color: var(--flare-on-dark);     /* was: --main-gold */
}
.confirm-cancellation .btn-grokkoli-small:hover {
    background-color: var(--flare-on-dark-hover);  /* was: --main-lemon */
}
.confirm-reenabling .btn-grokkoli-small {
    background-color: var(--btn-accent-fill);   /* true-blue button ramp (was dusk-muted; before that --main-mint-green) */
    color: var(--text-on-dark-fill) !important; /* was: --main-dark-blue */
}
.confirm-reenabling .btn-grokkoli-small:hover {
    background-color: var(--btn-accent-hover);
}

.settings-box h4 {
    font-size: calc(1.1rem + 0.5vw);
}

.plan-type {
    padding: 1.6rem 1.6rem 1.6rem 2rem;
}
.plan-type .line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
.plan-type .spacer {
    width: 2rem;
}
.plan-type h4, .plan-type h6 {
    margin-bottom: 0;
    min-width: 2.375rem;
}
.plan-type .btn-grokkoli-small {
    background-color: var(--surface-elevated);  /* was: white */
    border-color: var(--surface-elevated);      /* was: white */
    margin-top: 0.4rem;
    margin-bottom: 1.4rem;
}
#alternate-plans {
    display: none;
    position: relative;
    padding-right: 1.6rem;
}
#alternate-plans #product-selection .product-info span {
    color: var(--text-muted);                   /* was: --main-dark-grey */
    font-size: 0.9375rem;
}
#alternate-plans .btn-grokkoli-small {
    color: var(--text-on-dark-fill);            /* was: white */
    background-color: var(--btn-accent-fill);   /* true-blue button ramp (was dusk-muted; before that --main-blue) */
    border-color: var(--btn-accent-fill);
}
#alternate-plans-error,
.subscription-change-error {
    color: var(--flare-active);                 /* was: --main-orange */
    margin-bottom: 1rem;
}

/* Cancellation reason */

/* The popup is revealed by payments.js setting display:block; this holds it invisible
   for half a second first, so the checkmark on the Confirm button is seen before the
   popup takes over the screen. `both` fill is what makes the delay show the from-state
   rather than the finished one. */
@keyframes cancellation-popup-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#cancellation-form {
    animation: cancellation-popup-in 0.25s ease-out 0.5s both;
    filter: drop-shadow(10px 75px 150px #000);   /* decorative shadow — kept */
    font-family: Arial, Helvetica, sans-serif;
}
#cancellation-form h3 {
    color: var(--accent-primary);               /* was: --main-winter-green */
    font-weight: var(--font-weight-semibold);
}
#cancellation-form .btn-grokkoli-small {
    font-size: 1rem;
}
/* display:block overrides bootstrap's `.invalid-feedback{display:none}`, which otherwise
   hides these entirely. The container here is .hidden-feedback-form-container, so the
   .feedback-form-container rules in heliomath_system.css never reach this form. */
#cancellation-form .invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: var(--flare-active);                 /* was: --main-orange */
    margin-bottom: 0.625rem;
}
/* Hides the second step until the first one has saved, and the conditional "which
   program?" field until it is relevant. Plain display toggling driven by a JS class
   rather than :has(), which is above the supported browser floor. Both steps live in one
   form so all the fields serialise together; only the visible ones are being answered,
   and a hidden conditional field is cleared when it is hidden so it cannot submit a
   value against a choice it no longer belongs to. */
.cancellation-hidden {
    display: none;
}
/* Actions sit bottom-right of whichever step is showing. text-align rather than flex:
   both children are inline-block, so nothing here needs a new layout model. */
#cancellation-form .cancellation-step-actions {
    text-align: right;
    margin-top: 1.25rem;
}
#cancellation-form .cancellation-skip-step {
    display: inline-block;
    margin-right: 1.25rem;
    vertical-align: middle;
    color: var(--accent-primary);               /* was: --main-blue */
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.hidden-user-feedback-widget {
    z-index: 10;
    display: none;
    /* Absolute, with `top` set by payments.js to the current scroll position when the
       popup opens -- so it appears over the part of the page being looked at (the bug
       this replaced: a plain absolute popup opened at the top of the DOCUMENT, off screen
       for anyone cancelling the second or third learner on a phone).
       Deliberately NOT fixed with max-height + overflow: that gave the popup its own
       scrollbar, and on a short viewport the second step's Submit button ended up below
       the fold of that inner scroll. Absolute lets the popup be as tall as it likes and
       lets the ordinary page scroll reach the bottom of it -- one scrollbar, not two. */
    position: absolute;
    top: 2.25rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 31.25rem;
    width: 80vw;
    background-color: var(--surface-elevated);  /* was: #fff */
    border-radius: 20px;
    border: 1px solid var(--border-subtle);     /* was: --main-light-grey */
}

.hidden-feedback-form-container {
    padding: 1.5625rem;
}
.hidden-feedback-form-container h3 {
    font-size: calc(1.125rem + 1vw);
}
.hidden-feedback-form-container textarea.form-control {
    height: 2.5rem;
    margin-bottom: 1.25rem;
}
.hidden-feedback-form-container label {
    font-weight: var(--font-weight-bold);
    margin-top: 0.625rem;
    font-size: 1.1rem;
}
.multi-option-select-field label {
    font-weight: var(--font-weight-light);
    margin-top: 0;
    font-size: 1rem;
}

.account_settings_password_button_container {
    font-size: 1em;
    margin-left: 2em;
}
.account_settings_password_button {
    border-radius: 3em;
    width: 6em;
    border: none;
    color: var(--accent-primary);               /* was: --main-purple */
    font-weight: var(--font-weight-semibold);
}
.account_settings_password_input_container {
    justify-content: flex-end;
}
.account_settings_password_input {
    min-width: 8em !important;
    max-width: 8em !important;
}

.account_settings_description {
    font-size: 0.8em;
    padding: calc(0.5rem + 1vw) calc(1rem + 1.5vw);
    padding-bottom: 0;
    padding-top: 0;
}

.account_settings_message {
    color: var(--accent-primary);               /* was: --main-green (success) */
    font-size: 0.7em;
}

.account_settings_message_error {
    color: var(--flare-active);                 /* was: --main-orange */
}

.button_disabled {
    visibility: hidden;
}

.pronunciation-controls {
    text-align: right;
}
.pronunciation-input-group {
    justify-content: flex-end;
    gap: 0.5em;
}
.pronunciation-input {
    min-width: 8em !important;
    max-width: 10em !important;
    border-radius: 0.25rem !important;
}
.pronunciation-alphabet {
    min-width: 6em !important;
    max-width: 7em !important;
    flex: 0 0 auto;
    border-radius: 0.25rem !important;
}
.pronunciation-button-container {
    font-size: 1em;
    display: flex;
    gap: 0.5em;
}
.pronunciation-preview-btn {
    background-color: var(--gray-300);          /* was: --main-medium-steel-grey */
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 0.3125rem;
}
.pronunciation-volume-icon {
    width: 1.2em;
    height: 1.2em;
    color: var(--accent-primary);               /* was: --main-blue */
}
.pronunciation-preview-btn:hover .pronunciation-volume-icon {
    color: var(--accent-primary-hover);         /* was: --main-blue-hover */
}
.pronunciation-preview-btn:disabled .pronunciation-volume-icon {
    opacity: 0.5;
}
.pronunciation-save-btn {
    border-radius: 3em;
    width: 5em;
    border: none;
    background-color: var(--btn-accent-fill);   /* true-blue button ramp (was dusk-muted; before that --main-green) */
    color: var(--text-on-dark-fill);            /* was: #fff */
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    padding: 0.25em 0.5em;
    transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}
.pronunciation-save-btn:not(.pronunciation-save-disabled):hover {
    filter: brightness(0.93);
}
.pronunciation-save-disabled {
    background-color: var(--gray-200);          /* was: --main-medium-light-grey */
    color: var(--text-muted);                   /* was: --main-dark-grey */
    opacity: 0.6;
    cursor: default;
}
.setting-set p.pronunciation-help-text {
    font-size: 0.7em;
    color: var(--text-caption);                 /* was: #888 */
    margin-top: 0;
    margin-bottom: 0;
}
.pronunciation-error {
    font-size: 0.75em;
    color: var(--flare-active);                 /* was: #c0392b */
    margin-top: 0.25rem;
    margin-bottom: 0;
}
.setting-set .setting-option.pronunciation-setting {
    flex-direction: column;
    align-items: stretch !important;
}
.pronunciation-setting .pronunciation-controls {
    text-align: right;
    margin-top: 0.5em;
}
.pronunciation-setting .pronunciation-input-group {
    justify-content: flex-end;
}

.icon_eye {
    background-image: url("../img/eye-white.f0d480a05a97.svg");
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.icon_eye_slash {
    background-image: url("../img/eye-slash-white.7c4c4e1498a6.svg");
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.password-field-container {
    position: relative;
}
.password-toggle-icon {
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
    position: absolute;
    right: 0.5em;
    top: 2.5rem;
}

.login-password-label {
    display: flex;
    justify-content: space-between;
}

.invisible-feedback {
    visibility: hidden;
    margin-left: 0.125rem;
    font-size: 0.8rem;
    color: var(--flare-active);                 /* was: --main-orange */
    margin-top: 0.25em;
}

/* Confirmation feedback on the Confirm button itself. Added by payments.js only once the
   request has come back, not on the press: in production that call goes to Stripe and can
   take a moment, and a checkmark shown on click would be claiming something we don't yet
   know. Absolutely positioned so appearing doesn't shove the button's label sideways. */
.confirm-cancellation-btn {
    position: relative;
}
.confirm-cancellation-btn.confirmed::before {
    content: "\2713";
    position: absolute;
    left: -1.4em;
    top: 50%;
    margin-top: -0.7em;
    font-size: 1.2em;
    font-weight: 900;
    color: var(--accent-primary);
}
