/* ==========================================================================
   BOOKING APPLET — styles
   Generated from 'Book an Event Applet/BookanEvent.html'.
   Scoped entirely under #silkroad-quote, so it cannot leak into the rest
   of the site. Re-generate rather than hand-editing.
   ========================================================================== */
/* =========================================================================
   BRAND TOKENS — tweak here to re-theme the entire applet
   ========================================================================= */
  /* When the form scrolls itself back into view between steps, stop it landing
     underneath the fixed header. scroll-margin-top is the modern way to do
     this — scrollIntoView respects it, so no JS offset maths is needed. */
  #silkroad-quote {
    scroll-margin-top: calc(var(--header-h) + 16px);
  }

  #silkroad-quote {
    /* ---- Colours: the same five brand values used across the site --------
       These deliberately mirror the tokens in styles.css. The applet keeps
       its own copy so it stays self-contained and portable — if you change
       a brand colour, change it in BOTH files.
       -------------------------------------------------------------------- */
    --sr-white: #FFFFFF;
    --sr-grey: #EEEDEB;
    --sr-cream: #FFF9E9;
    --sr-green: #4D5347;
    --sr-black: #000000;

    /* Aliases used throughout the applet */
    --sr-bg: var(--sr-white);
    --sr-ink: var(--sr-black);

    /* Derived shades — no sixth colour, just darkened or partial opacity */
    --sr-green-dark: #3A3F36;             /* sage at 76% — hover / active   */
    --sr-green-soft: var(--sr-grey);      /* tinted backgrounds             */
    --sr-cream-soft: #FFFCF4;             /* cream lightened toward white   */
    --sr-subtle: #F7F6F4;                 /* grey lightened toward white    */
    --sr-muted: rgba(0, 0, 0, .62);
    --sr-line: rgba(0, 0, 0, .13);
    --sr-line-strong: rgba(0, 0, 0, .26);

    /* Functional, not brand: validation errors must read as errors, so this
       stays a distinct red rather than a palette colour. */
    --sr-error: #b4432f;

    /* ---- Type ----------------------------------------------------------
       Body switched from Inter to Epilogue so the form's labels, inputs and
       help text match the rest of the site. Inter was never actually loaded
       here — it was silently falling back to the system UI font.

       The display face is still Georgia, which is how the applet was
       originally designed: a serif on "Let's plan your coffee bar." reads as
       a considered, human question rather than a form header. It is the one
       place on the site that isn't Oswald or Epilogue. Say the word if you'd
       rather it matched — change the line below to var(--sr-font-body) for
       Epilogue, or to 'Oswald' for the site heading face.
       ------------------------------------------------------------------ */
    --sr-font-body: 'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --sr-font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;

    /* Scale */
    --sr-radius: 12px;
    --sr-radius-sm: 8px;
    --sr-radius-lg: 16px;

    /* Fluid spacing */
    --sr-pad: clamp(20px, 3vw, 32px);
    --sr-gap: clamp(14px, 2vw, 20px);

    /* Elevation */
    --sr-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);

    /* Animation */
    --sr-easing: cubic-bezier(.2, .8, .2, 1);
  }

  /* =========================================================================
   SQUARESPACE ISOLATION — neutralise common theme overrides inside the applet
   ========================================================================= */
  #silkroad-quote h1,
  #silkroad-quote h2,
  #silkroad-quote h3,
  #silkroad-quote h4,
  #silkroad-quote h5,
  #silkroad-quote h6 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: unset;
    line-height: unset;
    font-weight: unset;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
  }

  #silkroad-quote p {
    margin: 0;
    padding: 0;
    font-size: unset;
    line-height: unset;
    color: inherit;
  }

  #silkroad-quote span,
  #silkroad-quote small,
  #silkroad-quote strong {
    margin: 0;
    padding: 0;
    font-size: unset;
    font-weight: unset;
    color: inherit;
  }

  #silkroad-quote label {
    display: block;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: unset;
    color: inherit;
    cursor: default;
  }

  #silkroad-quote input,
  #silkroad-quote select,
  #silkroad-quote textarea {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    color: inherit;
    background: none;
    -webkit-appearance: none;
    appearance: none;
  }

  #silkroad-quote button {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    font: inherit;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  #silkroad-quote a {
    color: inherit;
    text-decoration: none;
    border: none;
  }

  #silkroad-quote svg {
    display: block;
  }

  /* =========================================================================
   RESET (scoped)
   ========================================================================= */
  #silkroad-quote,
  #silkroad-quote *,
  #silkroad-quote *::before,
  #silkroad-quote *::after {
    box-sizing: border-box;
  }

  #silkroad-quote {
    font-family: var(--sr-font-body);
    color: var(--sr-ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  #silkroad-quote [hidden] {
    display: none !important;
  }

  #silkroad-quote button {
    font-family: inherit;
  }

  .sr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  /* =========================================================================
   SHELL — dynamic width
   ========================================================================= */
  .sr-shell {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    background: var(--sr-bg);
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius-lg);
    box-shadow: var(--sr-shadow);
    overflow: hidden;
  }

  /* =========================================================================
   HEADER / PROGRESS
   ========================================================================= */
  .sr-header {
    padding: var(--sr-pad);
    padding-bottom: 0;
  }

  .sr-header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .sr-header-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sr-green);
  }

  .sr-header-meta {
    font-size: 13px;
    color: var(--sr-muted);
  }

  .sr-progress {
    height: 4px;
    background: var(--sr-green-soft);
    border-radius: 999px;
    overflow: hidden;
  }

  .sr-progress-fill {
    height: 100%;
    width: 12.5%;
    background: var(--sr-green);
    border-radius: 999px;
    transition: width .45s var(--sr-easing);
  }

  /* =========================================================================
   STEP CONTAINER
   ========================================================================= */
  #sr-form {
    position: relative;
  }

  .sr-step {
    padding: var(--sr-pad);
    animation: srFade .35s var(--sr-easing) both;
  }

  @keyframes srFade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  /* =========================================================================
   TITLES & HELP
   ========================================================================= */
  .sr-title {
    font-family: var(--sr-font-display) !important;
    font-weight: 700 !important;
    font-size: clamp(22px, 3vw, 28px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em !important;
    margin: 4px 0 8px 0 !important;
    color: var(--sr-ink) !important;
    text-transform: none !important;
  }

  .sr-sub {
    margin: 0 0 24px 0 !important;
    font-size: 15px !important;
    color: var(--sr-muted) !important;
    line-height: 1.55 !important;
  }

  #silkroad-quote .sr-help {
    margin: 24px 0 0 0;
    padding: 14px 16px;
    background: var(--sr-cream-soft);
    border: 1px solid var(--sr-cream);
    border-radius: var(--sr-radius-sm);
    font-size: 13px;
    color: var(--sr-ink);
    line-height: 1.45;
  }

  #silkroad-quote .sr-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--sr-muted);
    line-height: 1.4;
  }

  #silkroad-quote .sr-fine {
    font-size: 12px;
    color: var(--sr-muted);
    margin: 12px 0 0 !important;
    text-align: center;
  }

  #silkroad-quote .sr-optional {
    color: var(--sr-muted);
    font-weight: 400;
    font-size: 13px;
  }

  /* =========================================================================
   LAYOUT ROWS
   ========================================================================= */
  #silkroad-quote .sr-row {
    display: grid;
    gap: var(--sr-gap);
    grid-template-columns: 1fr;
    margin-bottom: var(--sr-gap);
  }

  @media (min-width: 520px) {
    #silkroad-quote .sr-row {
      grid-template-columns: 1fr 1fr;
    }
  }

  #silkroad-quote .sr-group {
    display: block;
    margin-bottom: var(--sr-gap);
  }

  #silkroad-quote .sr-row .sr-group {
    margin-bottom: 0;
  }

  .sr-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--sr-ink) !important;
    margin-bottom: 8px !important;
  }

  /* =========================================================================
   INPUTS
   ========================================================================= */
  .sr-input,
  .sr-textarea,
  .sr-select {
    width: 100%;
    font: inherit !important;
    font-size: 16px !important;
    /* 16px prevents iOS zoom */
    color: var(--sr-ink) !important;
    background: var(--sr-bg) !important;
    border: 1px solid var(--sr-line) !important;
    border-radius: var(--sr-radius-sm) !important;
    padding: 12px 14px !important;
    outline: none;
    box-shadow: none !important;
    transition: border-color .15s var(--sr-easing), box-shadow .15s var(--sr-easing);
  }

  .sr-input::placeholder {
    /* Black at 55%. Anything lighter (42% was the first try) drops under the
       4.5:1 WCAG AA floor against a white field. This clears it at 4.7:1 and
       is still visibly lighter than typed input, which is pure black. */
    color: rgba(0, 0, 0, .55);
  }

  .sr-input:hover {
    border-color: var(--sr-line-strong) !important;
  }

  .sr-input:focus,
  .sr-select:focus,
  .sr-textarea:focus {
    border-color: var(--sr-green) !important;
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .15) !important;
  }

  .sr-textarea {
    resize: vertical;
    min-height: 90px;
  }

  .sr-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236a7060' stroke-width='2' stroke-linecap='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-color: var(--sr-bg) !important;
    cursor: pointer;
  }

  .sr-time {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
  }

  /* Error state */
  .sr-step.sr-show-errors .sr-input:invalid,
  .sr-step.sr-show-errors .sr-select:invalid {
    border-color: var(--sr-error) !important;
    box-shadow: 0 0 0 3px rgba(180, 67, 47, .12) !important;
  }

  /* =========================================================================
   STEPPERS (+ / − controls)
   ========================================================================= */
  #silkroad-quote .sr-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--sr-line);
    border-radius: 999px;
    padding: 4px;
    background: var(--sr-bg);
    transition: border-color .15s var(--sr-easing);
  }

  #silkroad-quote .sr-stepper:focus-within {
    border-color: var(--sr-green);
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .15);
  }

  .sr-step-btn {
    width: 36px;
    height: 36px;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--sr-ink) !important;
    font-size: 20px !important;
    line-height: 1;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background .15s var(--sr-easing), transform .08s;
  }

  .sr-step-btn:hover {
    background: var(--sr-green-soft) !important;
  }

  .sr-step-btn:active {
    transform: scale(.92);
  }

  .sr-num {
    width: 56px;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--sr-ink) !important;
    outline: none;
    -moz-appearance: textfield;
  }

  .sr-num::-webkit-outer-spin-button,
  .sr-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  #silkroad-quote .sr-unit {
    font-size: 13px;
    color: var(--sr-muted);
    padding: 0 10px 0 4px;
  }

  /* Hour chips — one-tap selection for service hours */
  #silkroad-quote .sr-hour-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
  }

  #silkroad-quote .sr-hour-chip {
    position: relative;
    cursor: pointer;
  }

  #silkroad-quote .sr-hour-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  #silkroad-quote .sr-hour-chip span {
    display: inline-block !important;
    padding: 10px 18px !important;
    border: 1px solid var(--sr-line) !important;
    border-radius: 999px !important;
    background: var(--sr-bg) !important;
    color: var(--sr-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all .15s var(--sr-easing);
    white-space: nowrap;
  }

  #silkroad-quote .sr-hour-chip:hover span {
    border-color: var(--sr-line-strong) !important;
    background: var(--sr-subtle) !important;
  }

  #silkroad-quote .sr-hour-chip input:checked~span {
    background: var(--sr-green) !important;
    border-color: var(--sr-green) !important;
    color: #fff !important;
  }

  #silkroad-quote .sr-hour-chip input:focus-visible~span {
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .2);
  }

  /* Contextual hint below a stepper */
  #silkroad-quote .sr-stepper-hint {
    display: block;
    margin-top: 8px;
    padding: 14px 16px;
    background: var(--sr-cream-soft);
    border: 1px solid var(--sr-cream);
    border-radius: var(--sr-radius-sm);
    font-size: 13px !important;
    color: var(--sr-ink);
    line-height: 1.45;
    animation: srFade .25s var(--sr-easing) both;
  }



  /* =========================================================================
   ADD-ON UNAVAILABLE NOTE (step 6)
   ========================================================================= */
  .sr-addon-note {
    padding: 12px 14px;
    margin-top: 4px;
    background: var(--sr-cream-soft);
    border: 1px dashed var(--sr-cream);
    border-radius: var(--sr-radius-sm);
    font-size: 13px;
    color: var(--sr-muted);
    line-height: 1.45;
  }

  /* =========================================================================
   RECOMMENDATION NOTE (step 5)
   ========================================================================= */
  .sr-rec-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: var(--sr-green-soft);
    border: 1px solid rgba(77, 83, 71, .2);
    border-radius: var(--sr-radius-sm);
    font-size: 13px;
    color: var(--sr-ink);
    line-height: 1.5;
    animation: srFade .4s var(--sr-easing) both;
  }

  .sr-rec-note::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: var(--sr-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sr-option.sr-recommended {
    border-color: var(--sr-green);
    box-shadow: 0 0 0 1px var(--sr-green);
  }

  #silkroad-quote .sr-rec-badge {
    display: inline-block;
    width: fit-content;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 4px 12px 4px 14px;
    /* Left padding slightly larger to visually center text with letter-spacing */
    margin: 0 0 8px 0 !important;
    border-radius: 999px;
    background: var(--sr-green);
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em;
    line-height: 1.4;
  }

  /* =========================================================================
   CARD OPTIONS (radio / checkbox cards)
   ========================================================================= */
  .sr-options {
    display: grid;
    gap: 10px;
  }

  #silkroad-quote .sr-option {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    background: var(--sr-bg);
    cursor: pointer;
    transition: border-color .15s var(--sr-easing), background .15s var(--sr-easing), transform .08s;
  }

  #silkroad-quote .sr-option:hover {
    border-color: var(--sr-line-strong);
    background: var(--sr-subtle);
  }

  #silkroad-quote .sr-option:active {
    transform: scale(.998);
  }

  #silkroad-quote .sr-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .sr-option-body {
    display: block;
  }

  .sr-option-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--sr-ink) !important;
  }

  .sr-option-text {
    display: block;
    margin-top: 4px !important;
    font-size: 13px !important;
    color: var(--sr-muted) !important;
    line-height: 1.45;
  }

  .sr-price {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--sr-green) !important;
    white-space: nowrap;
  }

  #silkroad-quote .sr-badge {
    display: inline-block;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--sr-cream);
    color: var(--sr-ink) !important;
    letter-spacing: .02em;
  }

  /* Mark (radio circle / checkbox square) */
  .sr-option-mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--sr-line-strong);
    background: var(--sr-bg);
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s var(--sr-easing), background .15s var(--sr-easing);
  }

  .sr-option-mark-square {
    border-radius: 5px;
    border-width: 2px;
  }

  #silkroad-quote .sr-option input:checked~.sr-option-mark {
    border-color: var(--sr-green);
    background: var(--sr-green);
  }

  #silkroad-quote .sr-option input:checked~.sr-option-mark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
  }

  .sr-option-mark:not(.sr-option-mark-square)::after {
    top: 4px !important;
    left: 7px !important;
  }

  #silkroad-quote .sr-option:has(input:checked) {
    border-color: var(--sr-green);
    background: rgba(77, 83, 71, .04);
  }

  #silkroad-quote .sr-option input:focus-visible~.sr-option-mark {
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .2);
  }

  /* =========================================================================
   CHIPS (event type)
   ========================================================================= */
  .sr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  #silkroad-quote .sr-chip {
    position: relative;
    cursor: pointer;
  }

  #silkroad-quote .sr-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  #silkroad-quote .sr-chip span {
    display: inline-block !important;
    padding: 10px 16px !important;
    border: 1px solid var(--sr-line) !important;
    border-radius: 999px !important;
    background: var(--sr-bg) !important;
    color: var(--sr-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all .15s var(--sr-easing);
  }

  #silkroad-quote .sr-chip:hover span {
    border-color: var(--sr-line-strong) !important;
    background: var(--sr-subtle) !important;
  }

  #silkroad-quote .sr-chip input:checked~span {
    background: var(--sr-green) !important;
    border-color: var(--sr-green) !important;
    color: #fff !important;
  }

  #silkroad-quote .sr-chip input:focus-visible~span {
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .2);
  }

  /* =========================================================================
   NAV & BUTTONS
   ========================================================================= */
  .sr-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--sr-line);
  }

  .sr-nav-end {
    justify-content: flex-end;
  }

  .sr-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    cursor: pointer;
    transition: background .15s var(--sr-easing), border-color .15s var(--sr-easing), color .15s var(--sr-easing), transform .06s;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  .sr-btn:active {
    transform: translateY(1px);
  }

  .sr-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 83, 71, .25);
  }

  .sr-btn-primary {
    background: var(--sr-green) !important;
    color: #fff !important;
    border-color: var(--sr-green) !important;
  }

  .sr-btn-primary:hover {
    background: var(--sr-green-dark) !important;
    border-color: var(--sr-green-dark) !important;
  }

  .sr-btn-ghost {
    background: transparent !important;
    color: var(--sr-ink) !important;
    border-color: var(--sr-line) !important;
  }

  .sr-btn-ghost:hover {
    background: var(--sr-subtle) !important;
    border-color: var(--sr-line-strong) !important;
  }

  .sr-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
  }

  /* =========================================================================
   REVIEW SUMMARY (step 8)
   ========================================================================= */
  .sr-summary {
    margin-top: 18px;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius-sm);
    background: var(--sr-subtle);
  }

  .sr-summary summary {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--sr-green) !important;
    list-style: none;
    user-select: none;
  }

  .sr-summary summary::-webkit-details-marker {
    display: none;
  }

  .sr-summary summary::before {
    content: "\203A";
    display: inline-block;
    margin-right: 8px;
    transition: transform .2s var(--sr-easing);
  }

  .sr-summary[open] summary::before {
    transform: rotate(90deg);
  }

  .sr-summary dl {
    margin: 0;
    padding: 4px 14px 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 8px;
    font-size: 13px;
  }

  .sr-summary dt {
    color: var(--sr-muted);
    font-weight: 500;
  }

  .sr-summary dd {
    margin: 0 !important;
    color: var(--sr-ink);
    font-weight: 500;
  }

  /* =========================================================================
   SUCCESS STATE
   ========================================================================= */
  .sr-done {
    text-align: center;
    padding-top: clamp(36px, 7vw, 56px);
    padding-bottom: clamp(36px, 7vw, 56px);
  }

  /* Wrapper animates in with a scale+fade */
  .sr-check-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    animation: srCheckPop .5s var(--sr-easing) both;
  }

  @keyframes srCheckPop {
    0% {
      opacity: 0;
      transform: scale(.5);
    }

    70% {
      transform: scale(1.12);
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .sr-check-svg {
    width: 80px;
    height: 80px;
    display: block;
  }

  /* Animated circle stroke */
  .sr-check-circle {
    stroke: var(--sr-green);
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: srCircleDraw .6s .1s var(--sr-easing) forwards;
  }

  @keyframes srCircleDraw {
    to {
      stroke-dashoffset: 0;
    }
  }

  /* Animated tick */
  .sr-check-tick {
    stroke: var(--sr-green);
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: srTickDraw .4s .65s ease forwards;
  }

  @keyframes srTickDraw {
    to {
      stroke-dashoffset: 0;
    }
  }

  /* Title & subtitle fade up after the check */
  .sr-done-title {
    animation: srFadeUp .4s .8s var(--sr-easing) both;
  }

  .sr-done-sub {
    animation: srFadeUp .4s .95s var(--sr-easing) both;
  }

  @keyframes srFadeUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  /* =========================================================================
   FIELD-LEVEL VALIDATION ERRORS
   ========================================================================= */
  .sr-error-msg {
    display: none;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--sr-error) !important;
    margin-top: 6px !important;
    line-height: 1.4;
  }
  .sr-error-msg.sr-error-visible {
    display: block !important;
    animation: srFade .2s var(--sr-easing) both;
  }
  .sr-input-error {
    border-color: var(--sr-error) !important;
    box-shadow: 0 0 0 3px rgba(180, 67, 47, .12) !important;
  }

  /* Inline submit-error banner (replaces alert()) */
  #sr-submit-error {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(180, 67, 47, .07);
    border: 1px solid rgba(180, 67, 47, .3);
    border-radius: var(--sr-radius-sm);
    font-size: 13px !important;
    color: var(--sr-error) !important;
    line-height: 1.5;
    text-align: center;
  }
  #sr-submit-error.sr-error-visible {
    display: block !important;
    animation: srFade .2s var(--sr-easing) both;
  }

  /* =========================================================================
   MOTION PREFERENCES
   ========================================================================= */
  @media (prefers-reduced-motion: reduce) {

    .sr-step,
    .sr-progress-fill,
    .sr-btn,
    .sr-chip span,
    .sr-option,
    .sr-check-wrap,
    .sr-check-circle,
    .sr-check-tick,
    .sr-done-title,
    .sr-done-sub {
      animation: none !important;
      transition: none !important;
    }
  }

