      /* Retain the original Revalorise hero centring. The support card remains
         vertically centred against the proposition as it deliberately unfolds
         between its compact and expanded states. */

      .hero-entry-body {
        padding: var(--s4);
      }

      /* The support form has two deliberate states. Email is the validation
         gate; a successful check unfolds the card to reveal the two public
         supporter fields. The card remains centrally aligned with the hero
         proposition throughout the height transition. */
      .hero-support-stage-shell {
        overflow: visible;
        transition: height 280ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      .hero-support-stage-shell.is-animating {
        overflow: hidden;
      }
      .hero-support-step[hidden] {
        display: none !important;
      }
      .hero-support-step {
        width: 100%;
      }
      /* Keep the normal field-to-action spacing identical to Get in touch.
         The feedback row sits between them only when needed, so it must not
         introduce a second grid gap while hidden. */
      .hero-entry-form {
        gap: 0;
      }
      #hero-support-status {
        margin-top: var(--s3);
      }
      #hero-support-status.is-hidden {
        margin-top: 0;
      }
      #hero-support-actions {
        margin-top: var(--s3);
      }

      /* Form feedback is revealed as part of the form rather than snapping in.
         The collapsed state compensates for the form grid gap so hidden feedback
         does not leave extra space between the field area and actions. */
      .form-message {
        display: grid !important;
        grid-template-rows: 1fr;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow: hidden;
        margin: 0;
        opacity: 1;
        transform: translateY(0);
        transition:
          grid-template-rows 170ms cubic-bezier(0.22, 1, 0.36, 1),
          margin-top 170ms cubic-bezier(0.22, 1, 0.36, 1),
          opacity 150ms ease,
          transform 170ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      .form-message.is-hidden {
        display: grid !important;
        grid-template-rows: 0fr;
        margin-top: calc(var(--s3) * -1);
        opacity: 0;
        transform: translateY(4px);
        pointer-events: none;
      }
      .form-message-clip {
        min-height: 0;
        overflow: hidden;
      }
      .form-message-surface {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        min-height: 57.6px;
        padding: 9.6px 19.2px;
        border: 1.2px solid var(--yellow-50);
        border-radius: var(--radius-sm);
        background: var(--yellow-25);
      }
      .form-message-surface p {
        margin: 0 !important;
      }

      /* Get in touch keeps the message field at its normal size. The animated
         validation row itself adds and removes height, so the dialog unfolds
         in the same way as the support form. */
      #hero-support-submit.is-sending .icon-send,
      #hero-support-submit.is-sent .icon-send {
        opacity: 0;
      }
      #hero-support-submit.is-sending .sending-dots {
        opacity: 1;
      }
      #hero-support-submit.is-sent .sending-dots {
        opacity: 0;
      }
      #hero-support-submit.is-sent .icon-sent {
        opacity: 1;
        transform: scale(1.15);
      }
      /* On successful reset, let the completed button content leave as one
         quiet unit. The compact Next state returns only near the end of the
         card contraction, avoiding a visible tick-to-arrow morph. */
      #hero-support-submit .btn-inner {
        transition: opacity 130ms ease;
      }
      #hero-support-submit.is-resetting .btn-inner {
        opacity: 0;
      }
      #hero-support-count-trigger {
        white-space: nowrap;
      }

      /* Supporter details reuses the Get in touch dimensions and spacing.
         Overflow remains visible for the integrated title list and focus rings. */
      .profile-dialog .contact-dialog-shell { overflow: visible; margin: 12px auto; }
      .profile-dialog .profile-field-stack { min-width: 0; }
      .profile-dialog .profile-name-row {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
        gap: var(--s3);
        align-items: end;
        min-width: 0;
        margin-bottom: var(--s3);
      }
      .profile-dialog .profile-field-stack > .field:not(:last-child) { margin-bottom: var(--s3); }
      .profile-dialog .profile-name-row > .field { min-width: 0; }
      /* The Specific title row is truly zero-height when hidden. Animate its
         height, opacity and the adjacent spacing using the same site easing. */
      .profile-dialog .hero-support-custom-title {
        display: grid;
        grid-template-rows: 0fr;
        margin: 0;
        min-width: 0;
        opacity: 0;
        transform: translateY(-3px);
        pointer-events: none;
        transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
                    margin-bottom 420ms cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 310ms ease 80ms,
                    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      .profile-dialog .hero-support-custom-title.is-open {
        grid-template-rows: 1fr;
        margin-bottom: var(--s3);
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
      .profile-dialog .hero-support-custom-title-inner {
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        padding: 4px;
        margin: -4px;
      }
      .profile-dialog #hero-support-custom-title:focus,
      .profile-dialog #hero-support-custom-title.field-error { outline-offset: 1px; }
      /* Keep the pop-up centred as the actual content animates, including
         when the validation banner is revealed. Overflow still scrolls on
         compact screens. The dialog is the centring grid, not the shell. */
      /* Preserve the dialog's vertical centre during animated content changes.
         On shorter desktop viewports, release the outer (not header or field)
         gutters so the expanded form and message still fit symmetrically. */
      .profile-dialog { align-items: center; overflow-anchor: none; }
      .profile-dialog .contact-dialog-shell { overflow-anchor: none; }
      @media (min-width: 721px) and (max-height: 820px) {
        .profile-dialog { padding-block: 6px; }
        .profile-dialog .contact-dialog-shell { margin-block: 2px; }
      }
      @media (min-width: 900px) {
        .profile-dialog { scrollbar-gutter: stable both-edges; }
      }
      @media (max-width: 720px) {
        .profile-dialog { align-items: safe center; }
        .profile-dialog .contact-dialog-shell { margin-block: auto; }
      }
      @media (max-width: 560px) {
        .profile-dialog .profile-name-row { grid-template-columns: minmax(0, 1fr); }
      }
      /* Progressive enhancement: the native select remains the source of truth.
         The custom choices reproduce the form controls and work with keyboard,
         pointer and touch. The native select is retained if JS is unavailable. */
      .profile-title-control { position: relative; min-width: 0; }
      .profile-title-control.is-enhanced > select {
        position: absolute; width: 1px; height: 1px;
        min-height: 0; padding: 0; opacity: 0;
        pointer-events: none;
      }
      .profile-title-trigger {
        display: flex; align-items: center; justify-content: space-between;
        gap: var(--s2); width: 100%; min-width: 0;
        box-sizing: border-box; min-height: 57.6px; height: 57.6px;
        border: var(--border); border-radius: var(--radius-sm);
        background: var(--white); color: var(--c-explanatory);
        padding: 14.4px; font: inherit; font-size: var(--fs-body);
        line-height: var(--lh-control); font-weight: var(--w-explanatory);
        text-align: left; cursor: pointer;
      }
      .profile-title-trigger[hidden] { display: none !important; }
      .profile-title-trigger .title-chevron {
        flex: 0 0 auto; width: 16.8px; height: 16.8px;
        transition: transform 220ms cubic-bezier(.22,.61,.36,1);
      }
      .profile-title-trigger[aria-expanded="true"] .title-chevron { transform: rotate(180deg); }
      .profile-title-trigger .title-selection { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .profile-title-trigger.is-placeholder .title-selection { color: var(--c-explanatory); }
      .profile-title-menu {
        position: absolute; z-index: 20; left: 0; right: 0;
        top: calc(100% + 6px);
        max-height: min(420px, calc(100dvh - 24px)); overflow-y: auto;
        border: var(--border); border-radius: var(--radius-sm);
        background: var(--white);
        box-shadow: 0 10px 28px rgba(0,0,0,.11);
        padding: 6px;
        overscroll-behavior: contain;
      }
      .profile-title-menu[hidden] { display: none !important; }
      .profile-title-menu.opens-up { top: auto; bottom: calc(100% + 6px); }
      .profile-title-option {
        display: block; width: 100%; min-height: 38px; box-sizing: border-box;
        padding: 8px 12px; background: transparent; border: 0;
        border-radius: 3px; text-align: left; color: var(--c-explanatory);
        font: inherit; font-size: var(--fs-body); cursor: pointer;
      }
      /* Pointer hover does not recolour choices. Only an active keyboard
         selection receives a discreet outline so arrow navigation stays visible. */
      .profile-title-menu.is-keyboard-navigation .profile-title-option.is-active {
        outline: 1px solid var(--c-explanatory);
        outline-offset: -2px;
      }
      .profile-title-option[aria-selected="true"] { font-weight: var(--w-l4); }
      .profile-title-trigger.field-error { border-color: var(--black) !important; }
      @media (prefers-reduced-motion: reduce) {
        .profile-title-trigger .title-chevron { transition: none; }
      }
      /* Match the Specific title reveal: the banner contributes its height
         gradually to the centred dialog instead of dropping the footer down
         in a shorter, separate animation. */
      .profile-dialog #profile-support-status {
        margin-top: var(--s3);
        transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
                    margin-top 420ms cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 310ms ease 80ms,
                    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      .profile-dialog #profile-support-status.is-hidden {
        margin-top: 0;
      }
      /* Both modal forms use the same contact-dialog-body padding at all
         viewport heights, including the action row and lower edge. On shorter
         screens the existing dialog scrolls instead of tightening one form. */
      .profile-dialog .profile-form-actions,
      .supporters-dialog .contact-actions {
        display: flex;
        align-items: center;
        gap: var(--s3);
        flex-wrap: wrap;
      }
      .profile-dialog #profile-support-submit.is-sending .icon-send,
      .profile-dialog #profile-support-submit.is-sent .icon-send { opacity: 0; }
      .profile-dialog #profile-support-submit.is-sending .sending-dots { opacity: 1; }
      .profile-dialog #profile-support-submit.is-sent .icon-sent { opacity: 1; transform: scale(1.15); }
      .profile-dialog #profile-support-submit.is-sent .sending-dots { opacity: 0; }
      .supporters-dialog .contact-dialog-shell {
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 24px);
        margin: auto;
      }
      .supporters-dialog-body {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
      }
      /* At normal desktop sizes a three-card viewport fits without cropping.
         On genuinely small displays the list yields height to the viewport. */
      .supporters-placards-scroll {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-y;
        /* Reserve a smaller inset than the gap between cards. This keeps
           the next placard outside the three-card viewport at the top,
           while allowing all three final placards to clear the bottom. */
        padding: 0 0 var(--s1);
      }
      .supporters-placards-scroll::-webkit-scrollbar { display: none; }
      .supporters-placards-scroll.has-overflow { cursor: grab; }
      .supporters-placards-scroll.is-pointer-dragging { cursor: grabbing; }
      .supporters-placards-scroll.is-pointer-dragging,
      .supporters-placards-scroll.is-pointer-dragging * { user-select: none; }
      .supporters-placards-scroll:focus-visible { outline-offset: -3.6px; }
      .supporters-placards-list {
        display: grid; grid-template-columns: minmax(0, 1fr);
        gap: var(--s2);
        will-change: auto;
      }
      .supporter-placard {
        box-sizing: border-box; min-width: 0;
        padding: var(--s2) var(--s3);
        border: var(--border); border-radius: var(--radius);
        background: var(--white);
        position: relative;
        /* Separate the name from the details using the existing spacing scale. */
        display: grid; gap: var(--s2);
        transition: box-shadow 180ms ease;
      }
      /* Match Intended deployment's index, without adding a row or
         increasing placard height. Reserve its width on the final text line. */
      .supporter-placard-index {
        position: absolute;
        right: 14.4px;
        bottom: 12px;
        font-size: 14.4px;
        line-height: 1;
        color: var(--black-50);
      }
      /* Match Intended deployment's raised affordance before dragging.
         Only activate it when measured overflow makes this list scrollable. */
      .supporters-placards-scroll.has-overflow:hover .supporter-placard,
      .supporters-placards-scroll.has-overflow.is-rail-active .supporter-placard,
      .supporters-placards-scroll.has-overflow.is-scrolling .supporter-placard {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        transition: box-shadow 120ms ease;
      }
      .supporter-placard-name {
        min-width: 0;
        margin: 0;
        font-size: var(--fs-l4);
        line-height: var(--lh-l4);
        font-weight: var(--w-l4);
        color: var(--c-assertive);
        overflow-wrap: anywhere;
      }
      .supporter-placard-details {
        display: grid;
        gap: 4.8px;
        min-width: 0;
      }
      .supporter-placard-role,
      .supporter-placard-organisation {
        margin: 0;
        font-size: var(--fs-body);
        line-height: 1.45;
        color: var(--c-explanatory);
        overflow-wrap: anywhere;
      }
      .supporter-placard-role:empty { display: none; }
      .supporter-placard-organisation {
        color: var(--c-assertive);
        padding-right: 50px;
      }
      .supporters-dialog-body .contact-actions {
        /* The shared Close link auto-margin positions it like Get in touch. */
        flex: 0 0 auto;
      }
      @media (prefers-reduced-motion: reduce) {
        .hero-support-stage-shell,
        .form-message,
        .profile-dialog .hero-support-custom-title,
        .supporter-placard { transition: none; }
        .hero-support-step.is-entering,
        .hero-support-step.is-leaving { animation: none; }
      }
