/* ============================================================
       BSR DESIGN TOKENS
       Identical token set to listing-cta-components.html.
       Distressed-specific additions are grouped at the bottom
       of this block and prefixed --bsr-dist-* for clarity.
       ============================================================ */

       :root {
        /* Brand colours */
        --bsr-navy:          #004b97;
        --bsr-navy-dark:     #003570;
        --bsr-navy-deeper:   #00254e;
        --bsr-blue:          #006bcc;
        --bsr-blue-light:    #e8f1fb;
  
        /* Red accent — urgency / distressed signal
           Named --bsr-gold-* to match the existing token namespace.
           The hex values are the red brand accent (#c0392b family). */
        --bsr-gold:          #c0392b;
        --bsr-gold-light:    #e74c3c;
        --bsr-gold-pale:     #fdf0ee;
        --bsr-gold-border:   #e8a49e;
  
        /* Neutral palette */
        --bsr-text:          #1b2733;
        --bsr-text-muted:    #56637a;
        --bsr-text-light:    #6b7280;
        --bsr-border:        #d9dee7;
        --bsr-bg-panel:      #f4f7fb;
        --bsr-bg-white:      #ffffff;
  
        /* Semantic */
        --bsr-success:       #1a7a4a;
        --bsr-success-bg:    #edf7f2;
  
        /* Typography */
        --bsr-font:          Arial, Helvetica, sans-serif;
  
        /* Radii */
        --bsr-radius-sm:     6px;
        --bsr-radius-md:     10px;
        --bsr-radius-lg:     14px;
  
        /* Shadows */
        --bsr-shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
        --bsr-shadow-md:     0 4px 18px rgba(0,75,151,0.14);
        --bsr-shadow-lg:     0 8px 32px rgba(0,0,0,0.13);
  
        /* Transitions */
        --bsr-transition:    160ms ease;
  
        /* ----------------------------------------------------------
           DISTRESSED-SPECIFIC TOKENS
           These extend the base token set without conflicting.
           ---------------------------------------------------------- */
  
        /* Alert red — slightly deeper than --bsr-gold for status badges */
        --bsr-dist-red:          #c0392b;
        --bsr-dist-red-dark:     #a93226;
        --bsr-dist-red-pale:     #fdf0ee;
        --bsr-dist-red-border:   #e8a49e;
  
        /* Alert strip — amber-red tint distinct from standard pale */
        --bsr-dist-strip-bg:     #fef8f7;
  
        /* Email input focus ring */
        --bsr-dist-input-focus:  #006bcc;
  
        /* Urgency badge background */
        --bsr-dist-badge-bg:     #c0392b;
        --bsr-dist-badge-text:   #ffffff;
      }
  
  
      .demo-section {
        max-width: 780px;
        margin: 0 auto 64px;
      }
  
      .demo-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #888;
        margin: 0 0 12px;
      }
  
      .demo-prose {
        font-family: var(--bsr-font);
        font-size: 15px;
        color: var(--bsr-text);
        line-height: 1.7;
        background: var(--bsr-bg-white);
        border: 1px solid var(--bsr-border);
        border-radius: var(--bsr-radius-lg);
        padding: 20px 24px;
      }

      .bsr-guest-listing-meta,
      .bsr-guest-listing-meta__primary,
      .bsr-guest-listing-meta__secondary {
        color: var(--bsr-text);
      }

      .bsr-guest-listing-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 6px;
        margin: 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.6;
      }

      .bsr-guest-listing-meta__primary {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
      }

      .bsr-guest-listing-meta h4 {
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        color: inherit;
        line-height: inherit;
      }

      .bsr-guest-listing-meta__primary h4 + h4::before {
        content: '|';
        display: inline-block;
        margin: 0 0.5em;
        font-weight: 400;
      }

      .bsr-guest-listing-meta__badge {
        display: inline-block;
        margin-left: 0.5em;
        background: #c0392b;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        vertical-align: middle;
      }

      @media (max-width: 680px) {
        .bsr-guest-listing-meta__primary {
          flex-direction: column;
          align-items: flex-start;
          row-gap: 6px;
        }

        .bsr-guest-listing-meta__primary h4 + h4::before {
          display: none;
        }
      }
  
      .demo-sidebar-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 24px;
        align-items: start;
      }
  
      @media (max-width: 680px) {
        .demo-sidebar-layout {
          grid-template-columns: 1fr;
        }
      }
  
  
      /* ============================================================
         SHARED BUTTON AND LINK PRIMITIVES
         Identical to listing-cta-components.html — copy only once
         into your stylesheet if both files are in use.
         ============================================================ */
  
      .bsr-btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        padding: 13px 24px;
        background: linear-gradient(135deg, var(--bsr-navy) 0%, var(--bsr-blue) 100%);
        color: #fff;
        font-family: var(--bsr-font);
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        border: none;
        border-radius: var(--bsr-radius-sm);
        cursor: pointer;
        transition: all var(--bsr-transition);
        box-shadow: 0 2px 10px rgba(0,75,151,0.25);
        letter-spacing: 0.01em;
      }
  
      .bsr-btn-primary:hover,
      .bsr-btn-primary:focus-visible {
        background: linear-gradient(135deg, var(--bsr-navy-dark) 0%, var(--bsr-navy) 100%);
        box-shadow: 0 4px 18px rgba(0,75,151,0.35);
        transform: translateY(-1px);
        color: #fff;
      }
  
      .bsr-btn-primary:focus-visible {
        outline: 3px solid var(--bsr-gold-light);
        outline-offset: 2px;
      }
  
      .bsr-btn-primary:active {
        transform: translateY(0);
      }
  
      .bsr-btn-primary--compact {
        padding: 10px 20px;
        font-size: 14px;
        width: auto;
        white-space: nowrap;
      }
  
      /* Red CTA variant — used for the primary alert signup button */
      .bsr-btn-red {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        padding: 13px 24px;
        background: linear-gradient(135deg, var(--bsr-dist-red) 0%, var(--bsr-dist-red-dark) 100%);
        color: #fff;
        font-family: var(--bsr-font);
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        border: none;
        border-radius: var(--bsr-radius-sm);
        cursor: pointer;
        transition: all var(--bsr-transition);
        box-shadow: 0 2px 10px rgba(192,57,43,0.28);
        letter-spacing: 0.01em;
      }
  
      .bsr-btn-red:hover,
      .bsr-btn-red:focus-visible {
        background: linear-gradient(135deg, var(--bsr-dist-red-dark) 0%, #8e1f15 100%);
        box-shadow: 0 4px 18px rgba(192,57,43,0.4);
        transform: translateY(-1px);
        color: #fff;
      }
  
      .bsr-btn-red:focus-visible {
        outline: 3px solid var(--bsr-dist-red);
        outline-offset: 2px;
      }
  
      .bsr-btn-red:active {
        transform: translateY(0);
      }
  
      .bsr-btn-red--compact {
        padding: 10px 20px;
        font-size: 14px;
        width: auto;
        white-space: nowrap;
      }
  
      .bsr-link-secondary {
        font-family: var(--bsr-font);
        font-size: 13px;
        color: var(--bsr-text-muted);
        text-decoration: none;
        border-bottom: 1px solid var(--bsr-border);
        transition: color var(--bsr-transition), border-color var(--bsr-transition);
      }
  
      .bsr-link-secondary:hover,
      .bsr-link-secondary:focus-visible {
        color: var(--bsr-navy);
        border-color: var(--bsr-navy);
      }
  
      .bsr-link-secondary:focus-visible {
        outline: 2px solid var(--bsr-navy);
        outline-offset: 2px;
        border-radius: 2px;
      }
  
  
      /* ============================================================
         COMPONENT A: DAILY DISTRESSED BUSINESS ALERTS — EMAIL SIGNUP
         ============================================================
  
         Usage:
           Two contexts:
           (a) .bsr-alerts-widget — sidebar placement (~300px wide).
               Drop into the sidebar column in place of or above
               the Component C membership widget.
           (b) .bsr-alerts-inline — full-width inline block,
               e.g. below the gated content panel or in the page
               footer zone of a distressed listing.
  
           The form submits to /alerts/subscribe via POST.
           Replace action URL with your own endpoint.
           On success, swap .bsr-alerts-widget__form for
           .bsr-alerts-widget__success (see HTML below).
      */
  
      /* --- Shared base for both contexts --- */
  
      .bsr-alerts-widget,
      .bsr-alerts-inline {
        font-family: var(--bsr-font);
        font-size: 15px;
        color: var(--bsr-text);
      }
  
      /* --- Sidebar variant --- */
  
      .bsr-alerts-widget {
        border: 1px solid var(--bsr-dist-red-border);
        border-top: 3px solid var(--bsr-dist-red);
        border-radius: var(--bsr-radius-lg);
        background: var(--bsr-bg-white);
        box-shadow: var(--bsr-shadow-sm);
        overflow: hidden;
      }
  
      .bsr-alerts-widget__header {
        background: linear-gradient(90deg, var(--bsr-dist-red) 0%, #a93226 100%);
        padding: 14px 18px;
        color: #fff;
        display: flex;
        align-items: flex-start;
        gap: 10px;
      }
  
      .bsr-alerts-widget__header-icon {
        flex-shrink: 0;
        margin-top: 2px;
      }
  
      .bsr-alerts-widget__header-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: rgba(255,255,255,0.85);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-alerts-widget__header-text {
        flex: 1;
        min-width: 0;
      }
  
      .bsr-alerts-widget__header-eyebrow {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        opacity: 0.8;
        margin: 0 0 2px;
      }
  
      .bsr-alerts-widget__header-title {
        margin: 0;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.3;
      }
  
      .bsr-alerts-widget__body {
        padding: 16px 18px 18px;
      }
  
      .bsr-alerts-widget__description {
        margin: 0 0 14px;
        font-size: 13px;
        line-height: 1.55;
        color: var(--bsr-text-muted);
      }
  
      /* What you'll receive — coverage list */
      .bsr-alerts-widget__coverage {
        margin: 0 0 16px;
        padding: 0;
        list-style: none;
      }
  
      .bsr-alerts-widget__coverage-item {
        display: flex;
        align-items: flex-start;
        gap: 7px;
        padding: 4px 0;
        font-size: 12px;
        color: var(--bsr-text);
        line-height: 1.4;
      }
  
      .bsr-alerts-widget__coverage-item svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        margin-top: 1px;
        fill: none;
        stroke: var(--bsr-dist-red);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      /* Email form */
      .bsr-alerts-widget__form {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
  
      .bsr-alerts-widget__field {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
  
      .bsr-alerts-widget__label {
        font-size: 12px;
        font-weight: 700;
        color: var(--bsr-text);
        letter-spacing: 0.01em;
      }
  
      .bsr-alerts-widget__label--optional {
        font-weight: 400;
        color: var(--bsr-text-light);
      }
  
      .bsr-alerts-widget__input {
        width: 100%;
        padding: 9px 11px;
        font-family: var(--bsr-font);
        font-size: 14px;
        color: var(--bsr-text);
        background: var(--bsr-bg-white);
        border: 1px solid var(--bsr-border);
        border-radius: var(--bsr-radius-sm);
        transition: border-color var(--bsr-transition), box-shadow var(--bsr-transition);
        appearance: none;
        -webkit-appearance: none;
      }
  
      .bsr-alerts-widget__input:focus {
        outline: none;
        border-color: var(--bsr-dist-input-focus);
        box-shadow: 0 0 0 3px rgba(0,107,204,0.12);
      }
  
      .bsr-alerts-widget__input::placeholder {
        color: #adb5bd;
      }
  
      .bsr-alerts-widget__submit {
        /* Extends .bsr-btn-red — defined inline via shared rule above */
        padding: 11px 16px;
        font-size: 14px;
      }
  
      .bsr-alerts-widget__submit svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
      }
  
      /* GDPR consent line */
      .bsr-alerts-widget__gdpr {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-top: 2px;
      }
  
      .bsr-alerts-widget__gdpr-checkbox {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        margin-top: 2px;
        accent-color: var(--bsr-navy);
        cursor: pointer;
      }
  
      .bsr-alerts-widget__gdpr-text {
        font-size: 11px;
        color: var(--bsr-text-light);
        line-height: 1.5;
      }
  
      .bsr-alerts-widget__gdpr-text a {
        color: var(--bsr-navy);
        text-decoration: none;
      }
  
      .bsr-alerts-widget__gdpr-text a:hover {
        text-decoration: underline;
      }
  
      /* Success state — shown after confirmed submission */
      .bsr-alerts-widget__success {
        display: none; /* JS sets display:flex on form submit */
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0 4px;
        gap: 10px;
      }
  
      .bsr-alerts-widget__success-icon {
        width: 44px;
        height: 44px;
        background: var(--bsr-success-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
  
      .bsr-alerts-widget__success-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: var(--bsr-success);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-alerts-widget__success-heading {
        margin: 0;
        font-size: 15px;
        font-weight: 800;
        color: var(--bsr-navy-dark);
      }
  
      .bsr-alerts-widget__success-text {
        margin: 0;
        font-size: 13px;
        color: var(--bsr-text-muted);
        line-height: 1.55;
      }
  
      /* Divider between widget and secondary text */
      .bsr-alerts-widget__footer {
        padding: 12px 18px 14px;
        border-top: 1px solid var(--bsr-border);
        font-size: 12px;
        text-align: center;
        color: var(--bsr-text-light);
        background: var(--bsr-bg-panel);
      }
  
      .bsr-alerts-widget__footer a {
        color: var(--bsr-navy);
        font-weight: 600;
        text-decoration: none;
      }
  
      .bsr-alerts-widget__footer a:hover {
        text-decoration: underline;
      }
  
  
      /* --- Full-width inline variant --- */
  
      .bsr-alerts-inline {
        border: 1px solid var(--bsr-dist-red-border);
        border-left: 4px solid var(--bsr-dist-red);
        border-radius: var(--bsr-radius-md);
        background: var(--bsr-dist-strip-bg);
        padding: 24px 26px 22px;
        margin: 24px 0;
      }
  
      .bsr-alerts-inline__header {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
      }
  
      .bsr-alerts-inline__header-icon {
        width: 38px;
        height: 38px;
        background: var(--bsr-dist-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
  
      .bsr-alerts-inline__header-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-alerts-inline__header-text {
        flex: 1;
      }
  
      .bsr-alerts-inline__eyebrow {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--bsr-dist-red);
        margin: 0 0 4px;
      }
  
      .bsr-alerts-inline__heading {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 800;
        color: var(--bsr-navy-dark);
        line-height: 1.3;
      }
  
      .bsr-alerts-inline__subheading {
        margin: 0;
        font-size: 13px;
        color: var(--bsr-text-muted);
        line-height: 1.5;
      }
  
      /* Coverage pills in inline variant */
      .bsr-alerts-inline__coverage {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
      }
  
      .bsr-alerts-inline__coverage-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 11px 4px 8px;
        background: var(--bsr-bg-white);
        border: 1px solid var(--bsr-dist-red-border);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        color: var(--bsr-dist-red-dark);
      }
  
      .bsr-alerts-inline__coverage-pill svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: var(--bsr-dist-red);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
      }
  
      /* Form row — horizontal on wider screens */
      .bsr-alerts-inline__form {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
  
      .bsr-alerts-inline__form-row {
        display: flex;
        gap: 10px;
        align-items: flex-end;
        flex-wrap: wrap;
      }
  
      .bsr-alerts-inline__field {
        flex: 1;
        min-width: 180px;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
  
      .bsr-alerts-inline__label {
        font-size: 12px;
        font-weight: 700;
        color: var(--bsr-text);
      }
  
      .bsr-alerts-inline__label--optional {
        font-weight: 400;
        color: var(--bsr-text-light);
      }
  
      .bsr-alerts-inline__input {
        width: 100%;
        padding: 10px 13px;
        font-family: var(--bsr-font);
        font-size: 14px;
        color: var(--bsr-text);
        background: var(--bsr-bg-white);
        border: 1px solid var(--bsr-border);
        border-radius: var(--bsr-radius-sm);
        transition: border-color var(--bsr-transition), box-shadow var(--bsr-transition);
        appearance: none;
        -webkit-appearance: none;
      }
  
      .bsr-alerts-inline__input:focus {
        outline: none;
        border-color: var(--bsr-dist-input-focus);
        box-shadow: 0 0 0 3px rgba(0,107,204,0.12);
      }
  
      .bsr-alerts-inline__input::placeholder {
        color: #adb5bd;
      }
  
      .bsr-alerts-inline__submit {
        /* Extends .bsr-btn-red */
        flex-shrink: 0;
        width: auto;
        padding: 10px 22px;
        font-size: 14px;
        white-space: nowrap;
        align-self: flex-end;
      }
  
      .bsr-alerts-inline__submit svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
      }
  
      .bsr-alerts-inline__gdpr {
        display: flex;
        align-items: flex-start;
        gap: 8px;
      }
  
      .bsr-alerts-inline__gdpr-checkbox {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        margin-top: 2px;
        accent-color: var(--bsr-navy);
        cursor: pointer;
      }
  
      .bsr-alerts-inline__gdpr-text {
        font-size: 11px;
        color: var(--bsr-text-light);
        line-height: 1.5;
      }
  
      .bsr-alerts-inline__gdpr-text a {
        color: var(--bsr-navy);
        text-decoration: none;
      }
  
      .bsr-alerts-inline__gdpr-text a:hover {
        text-decoration: underline;
      }
  
      /* Success state */
      .bsr-alerts-inline__success {
        display: none;
        align-items: center;
        gap: 14px;
        padding: 12px 0 4px;
      }
  
      .bsr-alerts-inline__success-icon {
        width: 42px;
        height: 42px;
        background: var(--bsr-success-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
  
      .bsr-alerts-inline__success-icon svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: var(--bsr-success);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-alerts-inline__success-text {
        flex: 1;
      }
  
      .bsr-alerts-inline__success-heading {
        margin: 0 0 3px;
        font-size: 15px;
        font-weight: 800;
        color: var(--bsr-navy-dark);
      }
  
      .bsr-alerts-inline__success-body {
        margin: 0;
        font-size: 13px;
        color: var(--bsr-text-muted);
        line-height: 1.5;
      }
  
      @media (max-width: 560px) {
        .bsr-alerts-inline {
          padding: 18px 16px 16px;
        }
  
        .bsr-alerts-inline__form-row {
          flex-direction: column;
        }
  
        .bsr-alerts-inline__submit {
          width: 100%;
          text-align: center;
          justify-content: center;
        }
      }
  
  
      /* ============================================================
         COMPONENT B: INLINE GATE STRIP — ADMINISTRATION PAGES
         ============================================================
  
         Usage:
           Insert directly after the public header (status badge,
           sector/activity, turnover labels) and before the first
           gated field. Equivalent to Component 2 in the for-sale
           file but copy-tuned for the insolvency practitioner context.
      */
  
      .bsr-admin-strip {
        border: 1px solid var(--bsr-dist-red-border);
        border-left: 4px solid var(--bsr-dist-red);
        border-radius: var(--bsr-radius-md);
        background: var(--bsr-dist-strip-bg);
        padding: 18px 22px;
        margin: 20px 0;
        display: flex;
        align-items: flex-start;
        gap: 18px;
      }
  
      @media (max-width: 560px) {
        .bsr-admin-strip {
          flex-direction: column;
          gap: 16px;
        }
      }
  
      /* Administration status badge — top-left label */
      .bsr-admin-strip__status {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: var(--bsr-dist-badge-bg);
        color: var(--bsr-dist-badge-text);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: 3px 9px;
        border-radius: 20px;
        margin-bottom: 8px;
      }
  
      .bsr-admin-strip__status svg {
        width: 10px;
        height: 10px;
        fill: none;
        stroke: rgba(255,255,255,0.9);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-admin-strip__body {
        flex: 1;
        min-width: 0;
      }
  
      .bsr-admin-strip__eyebrow {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--bsr-dist-red);
        margin: 0 0 5px;
      }
  
      .bsr-admin-strip__heading {
        margin: 0 0 10px;
        font-size: 16px;
        font-weight: 700;
        color: var(--bsr-navy-dark);
        line-height: 1.35;
      }
  
      .bsr-admin-strip__benefits {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 18px;
      }
  
      .bsr-admin-strip__benefit {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--bsr-text);
        white-space: nowrap;
      }
  
      .bsr-admin-strip__benefit svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        fill: none;
        stroke: var(--bsr-success);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-admin-strip__actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        flex-shrink: 0;
      }
  
      @media (max-width: 560px) {
        .bsr-admin-strip__actions {
          align-items: flex-start;
          width: 100%;
        }
  
        .bsr-admin-strip__actions .bsr-btn-primary--compact {
          width: 100%;
          max-width: 280px;
          justify-content: center;
        }
      }
  
  
      /* ============================================================
         COMPONENT C: SIDEBAR CTA WIDGET — ADMINISTRATION PAGES
         ============================================================
  
         Usage:
           Replaces the existing regional search filter (currently the
           only sidebar element on administration pages). Drop directly
           into the sidebar column as the primary widget.
  
           The blurred preview shows a fictional insolvency practitioner
           contact card — do not use real IP data here, only placeholder
           content. The real data is served to authenticated members only.
  
           Component A (email alerts widget) can be stacked below this
           widget for a two-widget sidebar.
      */
  
      .bsr-admin-sidebar {
        border: 1px solid var(--bsr-border);
        border-radius: var(--bsr-radius-lg);
        background: var(--bsr-bg-white);
        box-shadow: var(--bsr-shadow-sm);
        overflow: hidden;
        font-family: var(--bsr-font);
        font-size: 15px;
        color: var(--bsr-text);
      }
  
      /* Header — blue gradient matches the standard sidebar CTA header */
      .bsr-admin-sidebar__header {
        background: linear-gradient(90deg, var(--bsr-navy) 0%, var(--bsr-blue) 100%);
        padding: 14px 18px;
        color: #fff;
      }
  
      .bsr-admin-sidebar__header-eyebrow {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        opacity: 0.75;
        margin: 0 0 3px;
      }
  
      .bsr-admin-sidebar__header-title {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.3;
      }
  
      /* Administration status pill — inside header */
      .bsr-admin-sidebar__admin-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: rgba(192,57,43,0.85);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: 3px 9px;
        border-radius: 20px;
        margin-top: 7px;
      }
  
      .bsr-admin-sidebar__admin-pill svg {
        width: 9px;
        height: 9px;
        fill: none;
        stroke: rgba(255,255,255,0.9);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-admin-sidebar__body {
        padding: 18px;
      }
  
      /* Blurred IP contact preview */
      .bsr-admin-sidebar__locked-preview {
        background: var(--bsr-bg-panel);
        border: 1px solid var(--bsr-border);
        border-radius: var(--bsr-radius-md);
        padding: 12px 14px;
        margin: 0 0 16px;
        position: relative;
        overflow: hidden;
      }
  
      .bsr-admin-sidebar__preview-heading {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--bsr-text-muted);
        margin: 0 0 8px;
      }
  
      .bsr-admin-sidebar__locked-row {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 0;
        font-size: 13px;
        color: var(--bsr-text-muted);
        border-top: 1px solid var(--bsr-border);
      }
  
      .bsr-admin-sidebar__locked-row:first-of-type {
        border-top: none;
      }
  
      .bsr-admin-sidebar__locked-row svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        fill: none;
        stroke: var(--bsr-text-light);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      /* Blur fake data */
      .bsr-admin-sidebar__locked-value {
        filter: blur(4px);
        user-select: none;
        pointer-events: none;
        color: var(--bsr-text);
        font-weight: 600;
        letter-spacing: 0.03em;
      }
  
      /* Lock badge */
      .bsr-admin-sidebar__lock-badge {
        position: absolute;
        top: 8px;
        right: 10px;
        background: var(--bsr-dist-red);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 3px 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
      }
  
      .bsr-admin-sidebar__lock-badge svg {
        width: 10px;
        height: 10px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      /* Benefits list */
      .bsr-admin-sidebar__benefits {
        margin: 0 0 16px;
        padding: 0;
        list-style: none;
      }
  
      .bsr-admin-sidebar__benefit {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 5px 0;
        font-size: 13px;
        line-height: 1.45;
        color: var(--bsr-text);
        border-top: 1px solid var(--bsr-border);
      }
  
      .bsr-admin-sidebar__benefit:first-child {
        border-top: none;
      }
  
      .bsr-admin-sidebar__benefit svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        margin-top: 2px;
        fill: none;
        stroke: var(--bsr-success);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      /* CTA area */
      .bsr-admin-sidebar__cta-wrap {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
  
      .bsr-admin-sidebar__cta-wrap .bsr-btn-primary {
        font-size: 14px;
        padding: 12px 20px;
      }
  
      .bsr-admin-sidebar__secondary-text {
        text-align: center;
        font-size: 12px;
        color: var(--bsr-text-light);
      }
  
      .bsr-admin-sidebar__secondary-text a {
        color: var(--bsr-navy);
        text-decoration: none;
        font-weight: 600;
      }
  
      .bsr-admin-sidebar__secondary-text a:hover {
        text-decoration: underline;
      }
  
      .bsr-admin-sidebar__divider {
        height: 1px;
        background: var(--bsr-border);
        margin: 4px 0 14px;
      }

      /* Daily alerts secondary link inside sidebar */
      .bsr-admin-sidebar__alerts-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        background: var(--bsr-dist-red-pale);
        border: 1px solid var(--bsr-dist-red-border);
        border-radius: var(--bsr-radius-sm);
        text-decoration: none;
        transition: background var(--bsr-transition), border-color var(--bsr-transition);
      }
  
      .bsr-admin-sidebar__alerts-link:hover,
      .bsr-admin-sidebar__alerts-link:focus-visible {
        background: #fce8e6;
        border-color: var(--bsr-dist-red);
      }
  
      .bsr-admin-sidebar__alerts-link:focus-visible {
        outline: 2px solid var(--bsr-dist-red);
        outline-offset: 2px;
        border-radius: var(--bsr-radius-sm);
      }
  
      .bsr-admin-sidebar__alerts-link-icon {
        flex-shrink: 0;
      }
  
      .bsr-admin-sidebar__alerts-link-icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: var(--bsr-dist-red);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
  
      .bsr-admin-sidebar__alerts-link-text {
        flex: 1;
        font-size: 12px;
        line-height: 1.4;
      }
  
      .bsr-admin-sidebar__alerts-link-heading {
        display: block;
        font-weight: 700;
        color: var(--bsr-dist-red-dark);
        margin-bottom: 1px;
      }
  
      .bsr-admin-sidebar__alerts-link-sub {
        display: block;
        color: var(--bsr-text-muted);
        font-size: 11px;
      }
  
      .bsr-admin-sidebar__alerts-link-arrow {
        flex-shrink: 0;
      }
  
      .bsr-admin-sidebar__alerts-link-arrow svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: var(--bsr-dist-red);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      @media (min-width: 681px) {
        .bsr-admin-sidebar__divider,
        .bsr-admin-sidebar__alerts-link {
          display: none;
        }
      }
  
  
      /* ============================================================
         COMPONENT D: MOBILE STICKY BAR — DISTRESSED / ADMINISTRATION
         ============================================================
  
         Usage:
           Place immediately before </body>.
           Identical structural pattern to Component 4 in the for-sale
           file; copy is tuned for the administration/insolvency context.
           The JS block at the bottom of this file handles dismiss and
           IntersectionObserver behaviour.
  
           The bar top border uses --bsr-dist-red instead of --bsr-navy
           to signal the urgency context on distressed pages.
      */
  
      .bsr-dist-mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9000;
        background: var(--bsr-bg-white);
        border-top: 3px solid var(--bsr-dist-red);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.14);
        padding: 12px 16px 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        transition: transform 0.3s ease;
      }
  
      .bsr-dist-mobile-bar.is-hidden {
        transform: translateY(100%);
      }
  
      @media (min-width: 768px) {
        .bsr-dist-mobile-bar {
          display: none;
        }
      }
  
      .bsr-dist-mobile-bar__text {
        flex: 1;
        min-width: 0;
      }
  
      .bsr-dist-mobile-bar__eyebrow {
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--bsr-dist-red);
        margin-bottom: 1px;
      }
  
      .bsr-dist-mobile-bar__heading {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--bsr-navy-dark);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
  
      .bsr-dist-mobile-bar__actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
      }
  
      .bsr-dist-mobile-bar__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        background: linear-gradient(135deg, var(--bsr-navy) 0%, var(--bsr-blue) 100%);
        color: #fff;
        font-family: var(--bsr-font);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        border-radius: var(--bsr-radius-sm);
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,75,151,0.28);
        transition: all var(--bsr-transition);
      }
  
      .bsr-dist-mobile-bar__cta:hover,
      .bsr-dist-mobile-bar__cta:focus-visible {
        background: linear-gradient(135deg, var(--bsr-navy-dark) 0%, var(--bsr-navy) 100%);
        box-shadow: 0 4px 14px rgba(0,75,151,0.38);
        color: #fff;
      }
  
      .bsr-dist-mobile-bar__cta:focus-visible {
        outline: 3px solid var(--bsr-dist-red);
        outline-offset: 2px;
      }
  
      .bsr-dist-mobile-bar__dismiss {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: var(--bsr-text-light);
        display: flex;
        align-items: center;
        transition: color var(--bsr-transition);
        border-radius: 4px;
      }
  
      .bsr-dist-mobile-bar__dismiss:hover {
        color: var(--bsr-text);
      }
  
      .bsr-dist-mobile-bar__dismiss:focus-visible {
        outline: 2px solid var(--bsr-navy);
        outline-offset: 2px;
      }
  
      .bsr-dist-mobile-bar__dismiss svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
      }