/* /Components/Layout/CheckoutLayout.razor.rz.scp.css */
/* Tokens, not the literals #f5f7fb / #fff / #e6e9f0 these were: this layout carries the one-time-code
   and set-password sign-in pages as well as checkout, and a hardcoded light shell under a dark card is
   the same break /account/login had. --swan-surface is the header's card-matching colour (see app.css). */
.checkout-shell[b-togvomfq9n] {
    min-height: 100vh;
    background: var(--bs-body-bg);
    display: flex;
    flex-direction: column;
}

.checkout-header[b-togvomfq9n] {
    background: var(--swan-surface);
    border-bottom: 1px solid var(--swan-surface-line);
    padding: 1rem 1.5rem;
}

.checkout-brand[b-togvomfq9n] {
    display: inline-block;
}

.checkout-logo[b-togvomfq9n] {
    height: 32px;
    width: auto;
}

.checkout-main[b-togvomfq9n] {
    flex: 1 1 auto;
    padding: 2rem 1rem 3rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Enlarge the hamburger's tap target for touch, without moving the icon or its layout box.
   The theme fixes .sidebar-toggle at 26x26; an invisible ::after overlay expands the
   clickable area to a comfortable ~46px and clicks on it still fire the anchor. */
.sidebar-toggle[b-7znrdmzein] {
    position: relative;
}

.sidebar-toggle[b-7znrdmzein]::after {
    content: "";
    position: absolute;
    inset: -0.6rem;
}

/* The user menu that used to live in this bar (avatar chip, dropdown, sign-out) moved to the
   sidebar's footer band — its styles moved with it, into NavMenu.razor.css. */

.wrapper[b-7znrdmzein] {
    min-height: 100vh;
    display: flex;
}

.main[b-7znrdmzein] {
    width: 100%;
}

.content[b-7znrdmzein] {
    /* Token, not the literal #f5f7fb it used to be, so the page ground follows the colour mode.
       --bs-body-bg and not --bs-tertiary-bg: tertiary is #3e4555 in AppStack's dark build, LIGHTER
       than the #293042 cards sitting on it, which inverted the elevation — every card read as a hole
       in the page. body-bg is #f7f9fc / #202634, i.e. what AppStack's own demo grounds a page with. */
    background: var(--bs-body-bg);
    /* No min-height: the theme already gives .main `display: flex; flex-direction: column; min-height: 100vh`
       and .content `flex: 1`, so the ground fills the viewport below the top bar on its own. The
       calc(100vh - 56px) that used to be here guessed the bar at 56px when it measures 63px, which left
       every short page with a few pixels of pointless scroll. */
}

/* #blazor-error-ui now lives in the global wwwroot/app.css — see the comment there. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ---------- Brand ---------- */
.sidebar-brand[b-xf20ew5jmf] {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

.sidebar-logo[b-xf20ew5jmf] {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ---------- Section headers ---------- */
/* Turn the theme's plain header into an understated, upper-cased section label. */
.sidebar-header[b-xf20ew5jmf] {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(233, 236, 239, 0.4);
    padding: 1.4rem 1.625rem 0.4rem;
    margin-top: 0;
}

/* ---------- Links ---------- */
/* Flex keeps the icon and label vertically centred and the labels aligned in a column. */
.sidebar-link[b-xf20ew5jmf],
a.sidebar-link[b-xf20ew5jmf] {
    display: flex;
    align-items: center;
    transition: color 100ms ease-in-out, background-color 100ms ease-in-out;
}

/* Size the inline feather SVGs and give them consistent spacing next to the label. */
.sidebar-link .feather[b-xf20ew5jmf] {
    width: 18px;
    height: 18px;
    margin-right: 0.7rem;
    flex-shrink: 0;
}

/* Whole-row hover feedback (the theme only shifts the text colour). */
.sidebar-link:hover[b-xf20ew5jmf] {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Group toggles behave like links but carry no href. The dropdown caret and its
   rotation are drawn by the AppStack theme's [data-bs-toggle=collapse]:before rule. */
.sidebar-toggle-link[b-xf20ew5jmf] {
    cursor: pointer;
}

/* An expanded group reads as lightly "on" so its heading stands out from collapsed peers. */
.sidebar-toggle-link:not(.collapsed)[b-xf20ew5jmf] {
    color: rgba(233, 236, 239, 0.85);
}

/* ---------- Active states ---------- */
/* Blazor's NavLink stamps `.active` on the <a>, not the <li>, so the theme's
   `.sidebar-item.active` rules never fire — we key off the link itself.
   The accent bar is an inset box-shadow so it never nudges the label sideways. */
.sidebar-link.active[b-xf20ew5jmf] {
    color: #fff;
    background-color: rgba(74, 136, 235, 0.15);
    box-shadow: inset 3px 0 0 #4a88eb;
}

.sidebar-link.active .feather[b-xf20ew5jmf] {
    color: #6ea8fe;
}

.sidebar-dropdown .sidebar-link.active[b-xf20ew5jmf] {
    color: #fff;
    background-color: rgba(74, 136, 235, 0.12);
    box-shadow: inset 3px 0 0 #4a88eb;
}

/* ---------- Layout ---------- */
/* Three bands: the brand, the scrolling link list, and the profile footer — only the middle one moves,
   so the logo and the profile stay put while the links scroll under them.

   position: sticky is what keeps the profile reachable. The document is the scroll region here (.main only
   sets min-height), so a plain 100vh sidebar would scroll off the top of a long admin grid and take the
   footer with it. align-self overrides .wrapper's align-items: stretch, which would otherwise size the nav
   to the whole document height and defeat the 100vh outright.

   overflow: visible is insurance, not decoration: the footer's profile menu opens upward past the sidebar's
   bottom edge, and a scroll container here would clip it (and could not be escaped with position: fixed
   either). The scrollbar belongs to .sidebar-content below. */
.sidebar[b-xf20ew5jmf] {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* The brand band contributes its own height and nothing more. */
.sidebar-brand[b-xf20ew5jmf] {
    flex: 0 0 auto;
}

/* The menu band: takes whatever height the brand and the footer leave, and scrolls inside it.
   flex-grow gives the band its height; min-height: 0 lets it shrink below its content, so a long admin menu
   scrolls here instead of spilling over the footer (.sidebar above is deliberately overflow: visible).
   The scrolling is the browser's own. It used to be SimpleBar from the AppStack bundle, which the admin pages
   no longer load. The thin, translucent scrollbar keeps the native one from showing as a light-grey bar on
   the dark sidebar. */
.sidebar-content[b-xf20ew5jmf] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(233, 236, 239, 0.25) transparent;
}

.sidebar-nav[b-xf20ew5jmf] {
    padding-bottom: 1.5rem;
}

/* ---------- Profile footer ---------- */
/* flex: 0 0 auto is the load-bearing part here: the band contributes its own height and nothing more, so a
   long link list can never squeeze it away. The palette is the sidebar's own (the ground stays dark in both
   colour modes — see the note in wwwroot/app.css) rather than a new one: to the user this row is the same
   kind of thing as a nav row, and a footer with its own colours would read as a different control. */
.sidebar-footer[b-xf20ew5jmf] {
    flex: 0 0 auto;
    border-top: 1px solid rgba(233, 236, 239, 0.12);
    padding: 0.375rem 0;
}

/* Matches a .sidebar-link's box: same horizontal padding, full width, no underline, and an explicit colour
   to out-specify Bootstrap's anchor colour. The band holds two of these — the colour-mode switch and the
   profile — one an <a> authored here and one a <button> rendered by the ThemeToggle child component, hence
   ::deep: a child component's root element never carries this component's scope attribute, so a plain
   .sidebar-footer-row would style the profile row and silently skip the switch.

   These out-specify app.css's own .theme-toggle chrome (0,3,0 against 0,1,0), which is what makes the button
   take the row's padding and colour; what it keeps from there is background: none, border: 0 and the
   focus-visible ring. */
.sidebar-footer[b-xf20ew5jmf]  .sidebar-footer-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 1.625rem;
    font-size: 0.85rem;
    color: rgba(233, 236, 239, 0.85);
    text-decoration: none;
    cursor: pointer;
    transition: color 100ms ease-in-out, background-color 100ms ease-in-out;
}

.sidebar-footer[b-xf20ew5jmf]  .sidebar-footer-row:hover,
.sidebar-footer[b-xf20ew5jmf]  .sidebar-footer-row:focus,
.sidebar-footer[b-xf20ew5jmf]  .sidebar-footer-row[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.04);
    color: #fff;
}

/* The caret sits at the far right of the row rather than tight against the name. */
.sidebar-footer[b-xf20ew5jmf]  .sidebar-footer-row.dropdown-toggle::after {
    margin-left: auto;
    color: rgba(233, 236, 239, 0.45);
}

/* min-width: 0 is what lets the two labels below ellipsise at all — a flex item's default min-width: auto
   refuses to shrink past its content, so the row would overflow the sidebar instead. */
.sidebar-footer-label[b-xf20ew5jmf] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.user-avatar[b-xf20ew5jmf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a88eb, #3b60d1);
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1;
    flex-shrink: 0;
}

/* An account name is arbitrary text and the sidebar's width is fixed, so both lines truncate rather than
   wrap; the full value stays available as the row's native tooltip and in the menu's header. */
.user-name[b-xf20ew5jmf],
.user-role[b-xf20ew5jmf] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-name[b-xf20ew5jmf] {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.25;
}

.user-role[b-xf20ew5jmf] {
    font-size: 0.72rem;
    line-height: 1.25;
    color: rgba(233, 236, 239, 0.45);
}

/* No positioning rules for the upward-opening menu: the .dropup wrapper is enough, because the theme already
   ships .dropup .dropdown-menu[data-bs-popper] { bottom: 100%; top: auto }.

   The border is explicit because it is the ONLY thing separating the menu from its ground in dark mode —
   AppStack sets --bs-dropdown-bg to #293042 there, the same colour as the sidebar the menu opens over, and
   blanks --bs-dropdown-box-shadow. --bs-border-color resolves per mode (#dee6ed / #545968), so one rule
   reads correctly against both a white menu and a dark one. The shadow is cast UPWARD to match the
   direction the menu opens. */
.sidebar-footer .dropdown-menu[b-xf20ew5jmf] {
    min-width: 15rem;
    padding: 0.4rem 0;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.sidebar-footer .dropdown-header[b-xf20ew5jmf] {
    padding: 0.5rem 1.1rem;
    line-height: 1.3;
}

.sidebar-footer .dropdown-item[b-xf20ew5jmf] {
    padding: 0.5rem 1.1rem;
}

/* ::deep because the svg is rendered by the FeatherIcon child component, so it never carries this
   component's scope attribute — without it the selector silently matches nothing and the theme's global
   .feather (18px) stands. Same reason as the ::deep rules in Dashboard.razor.css. */
.sidebar-footer .dropdown-item[b-xf20ew5jmf]  .feather {
    width: 16px;
    height: 16px;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-oue7sv9dqs],
.components-reconnect-repeated-attempt-visible[b-oue7sv9dqs],
.components-reconnect-failed-visible[b-oue7sv9dqs],
.components-pause-visible[b-oue7sv9dqs],
.components-resume-failed-visible[b-oue7sv9dqs],
.components-rejoining-animation[b-oue7sv9dqs] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-retrying[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-failed[b-oue7sv9dqs],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-oue7sv9dqs] {
    display: block;
}


#components-reconnect-modal[b-oue7sv9dqs] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-oue7sv9dqs 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-oue7sv9dqs 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-oue7sv9dqs 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-oue7sv9dqs]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-oue7sv9dqs 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-oue7sv9dqs {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-oue7sv9dqs {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-oue7sv9dqs {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-oue7sv9dqs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-oue7sv9dqs] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-oue7sv9dqs] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-oue7sv9dqs] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-oue7sv9dqs] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-oue7sv9dqs] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-oue7sv9dqs] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-oue7sv9dqs 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-oue7sv9dqs] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-oue7sv9dqs {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Account/LoginCode.razor.rz.scp.css */
.otp-inputs[b-t61rtjuqc0] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.otp-box[b-t61rtjuqc0] {
    width: 3rem;
    height: 3.5rem;
    padding: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.otp-box:focus[b-t61rtjuqc0] {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

@media (max-width: 360px) {
    .otp-inputs[b-t61rtjuqc0] {
        gap: 0.35rem;
    }

    .otp-box[b-t61rtjuqc0] {
        width: 2.5rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}
/* /Components/Pages/Account/PaymentMethods.razor.rz.scp.css */
/* feather icons in the action buttons (Add Card / Remove card) are rendered by the <FeatherIcon>
   child component, so the <svg> carries that component's scope, not this page's — reach it via
   ::deep. Sizing lives here (not as an inline style) so the markup stays clean. */
.btn[b-dptwhnyu02]  svg.feather {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}
/* /Components/Pages/Admin/AuditLogs.razor.rz.scp.css */
/* Audit Log — a categorised, colour-coded event feed.
   Every colour is derived from a single per-event --cat custom property, so one hue drives the
   accent bar, the icon chip and the detail tag in lockstep. Surfaces use Bootstrap theme variables
   (--bs-*) so the page tracks the AppStack light/dark themes without a second stylesheet. */

/* ---- Header ------------------------------------------------------------------------------------ */

.audit-head[b-s3in12wmsi] {
    margin-bottom: 1rem;
}

.audit-head h1[b-s3in12wmsi] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.audit-sub[b-s3in12wmsi] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.9rem;
    max-width: 85ch;
}

.audit-loading[b-s3in12wmsi] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ---- Toolbar ----------------------------------------------------------------------------------- */

.audit-toolbar[b-s3in12wmsi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.audit-search[b-s3in12wmsi] {
    position: relative;
    flex: 1 1 260px;
    min-width: 220px;
}

.audit-search[b-s3in12wmsi]  .audit-search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--bs-secondary-color, #6c757d);
    pointer-events: none;
    z-index: 2;
}

.audit-search .form-control[b-s3in12wmsi] {
    padding-left: 2.2rem;
    border-radius: 8px;
}

.audit-entity-select[b-s3in12wmsi] {
    flex: 0 1 190px;
    border-radius: 8px;
}

.audit-sensitive[b-s3in12wmsi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.audit-sensitive .form-check-input[b-s3in12wmsi] {
    margin: 0;
    cursor: pointer;
}

.audit-sensitive[b-s3in12wmsi]  .audit-sensitive-icon {
    width: 14px;
    height: 14px;
    color: #e0564f;
}

.audit-clear[b-s3in12wmsi] {
    padding: 0.1rem 0.25rem;
    font-size: 0.82rem;
    text-decoration: none;
}

.audit-result-line[b-s3in12wmsi] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

/* ---- Empty state ------------------------------------------------------------------------------- */

.audit-empty[b-s3in12wmsi] {
    text-align: center;
    padding: 3.5rem 1rem;
    border: 1px dashed var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.audit-empty[b-s3in12wmsi]  .audit-empty-icon {
    width: 28px;
    height: 28px;
    color: var(--bs-secondary-color, #adb5bd);
    margin-bottom: 0.5rem;
}

/* ---- Day divider ------------------------------------------------------------------------------- */

/* Dividers sit inside the bordered feed card, so inset them to match the row's left padding
   instead of running flush to the card edge. */
.day-divider[b-s3in12wmsi] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.1rem 0 0.4rem;
    padding: 0 1.15rem;
}

.day-divider:first-child[b-s3in12wmsi] {
    margin-top: 0.7rem;
}

.day-divider span[b-s3in12wmsi] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

.day-divider[b-s3in12wmsi]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bs-border-color, #e9ecef);
}

/* ---- Feed & event rows ------------------------------------------------------------------------- */

.audit-feed[b-s3in12wmsi] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.event[b-s3in12wmsi] {
    position: relative;
    border-top: 1px solid var(--bs-border-color, #eef0f2);
}

.event:first-child[b-s3in12wmsi] {
    border-top: none;
}

/* The category accent runs the full height of the row on the left edge. */
.event[b-s3in12wmsi]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--cat);
    opacity: 0;
    transition: opacity .12s ease;
}

.event:hover[b-s3in12wmsi]::before,
.event.is-open[b-s3in12wmsi]::before {
    opacity: 1;
}

.event-row[b-s3in12wmsi] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 1.15rem;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    transition: background-color .12s ease;
}

.event-row:hover[b-s3in12wmsi] {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.event.is-open .event-row[b-s3in12wmsi] {
    background: color-mix(in srgb, var(--cat) 6%, var(--bs-body-bg));
}

.event-row:focus-visible[b-s3in12wmsi] {
    outline: 2px solid var(--bs-primary, #3b7ddd);
    outline-offset: -2px;
}

.event-icon[b-s3in12wmsi] {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cat) 14%, transparent);
}

.event-icon[b-s3in12wmsi]  .feather {
    width: 17px;
    height: 17px;
    color: var(--cat);
}

.event-main[b-s3in12wmsi] {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.event-title[b-s3in12wmsi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-body-color, #212529);
    line-height: 1.25;
}

.event-title[b-s3in12wmsi]  .event-flag {
    width: 13px;
    height: 13px;
    color: #e0564f;
}

.event-type[b-s3in12wmsi] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #8a929b);
    font-family: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;
}

.event-entity[b-s3in12wmsi] {
    flex: 1.5 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.event-entity-type[b-s3in12wmsi] {
    font-size: 0.82rem;
    color: var(--bs-body-color, #495057);
}

.event-entity-name[b-s3in12wmsi] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-body-color, #212529);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-entity-id[b-s3in12wmsi],
.event-actor-mono[b-s3in12wmsi] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #8a929b);
    font-family: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-actor[b-s3in12wmsi] {
    flex: 1.2 1 0;
    min-width: 0;
    font-size: 0.8rem;
}

/* A resolved actor reads as an email in the body face; an unresolved id stays monospace (above). */
.event-actor-email[b-s3in12wmsi] {
    display: block;
    color: var(--bs-body-color, #495057);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-actor-system[b-s3in12wmsi] {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #adb5bd);
}

.event-time[b-s3in12wmsi] {
    flex: none;
    width: 78px;
    text-align: right;
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.event-caret[b-s3in12wmsi] {
    flex: none;
    display: inline-flex;
    color: var(--bs-secondary-color, #adb5bd);
}

.event-caret[b-s3in12wmsi]  .feather {
    width: 16px;
    height: 16px;
    transition: transform .15s ease;
}

.event-caret.is-open[b-s3in12wmsi]  .feather {
    transform: rotate(180deg);
}

/* ---- Expanded detail --------------------------------------------------------------------------- */

.event-detail[b-s3in12wmsi] {
    padding: 0.25rem 1rem 1rem 3.1rem;
    background: color-mix(in srgb, var(--cat) 4%, var(--bs-body-bg));
    border-top: 1px dashed var(--bs-border-color, #e9ecef);
}

.event-detail-grid[b-s3in12wmsi] {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.35rem 1rem;
    margin: 0.75rem 0 1rem;
    font-size: 0.83rem;
}

.event-detail-grid dt[b-s3in12wmsi] {
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.event-detail-grid dd[b-s3in12wmsi] {
    margin: 0;
    color: var(--bs-body-color, #212529);
    word-break: break-word;
}

.event-detail-grid code[b-s3in12wmsi] {
    font-size: 0.78rem;
    color: var(--bs-body-color, #495057);
}

.cat-tag[b-s3in12wmsi] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--cat) 14%, transparent);
    color: color-mix(in srgb, var(--cat) 78%, var(--bs-body-color));
}

.cat-tag-dot[b-s3in12wmsi] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cat);
}

.event-open[b-s3in12wmsi] {
    margin-left: 0.5rem;
    font-weight: 600;
}

.json-head[b-s3in12wmsi] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.35rem;
}

/* The recorded details as a plain list; the stored JSON is one click away underneath. */
.event-facts[b-s3in12wmsi] {
    display: grid;
    grid-template-columns: minmax(130px, max-content) minmax(0, 1fr);
    gap: 0.3rem 1rem;
    margin: 0 0 0.6rem;
    font-size: 0.83rem;
}

.event-facts dt[b-s3in12wmsi] {
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.event-facts dd[b-s3in12wmsi] {
    margin: 0;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.event-raw summary[b-s3in12wmsi] {
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.35rem;
}

.json-view[b-s3in12wmsi] {
    margin: 0;
    padding: 0.85rem 1rem;
    background: var(--bs-dark, #1c2331);
    color: #e6edf3;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    font-family: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;
    max-height: 360px;
    overflow: auto;
    white-space: pre;
}

.json-empty[b-s3in12wmsi] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* While a filter/page change is in flight, the current results stay visible but dimmed and inert. */
.audit-feed.is-loading[b-s3in12wmsi] {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity .1s ease;
}

/* ---- Pager ------------------------------------------------------------------------------------- */

.audit-pager[b-s3in12wmsi] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
}

.page-btn[b-s3in12wmsi],
.page-num[b-s3in12wmsi] {
    min-width: 34px;
    height: 34px;
    padding: 0 0.6rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #495057);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

.page-btn:hover:not(:disabled)[b-s3in12wmsi],
.page-num:hover:not(.is-current)[b-s3in12wmsi] {
    border-color: var(--bs-primary, #3b7ddd);
    color: var(--bs-primary, #3b7ddd);
}

.page-btn:disabled[b-s3in12wmsi] {
    opacity: 0.45;
    cursor: default;
}

.page-num.is-current[b-s3in12wmsi] {
    background: var(--bs-primary, #3b7ddd);
    border-color: var(--bs-primary, #3b7ddd);
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.page-gap[b-s3in12wmsi] {
    padding: 0 0.15rem;
    color: var(--bs-secondary-color, #6c757d);
}

.page-btn:focus-visible[b-s3in12wmsi],
.page-num:focus-visible[b-s3in12wmsi] {
    outline: 2px solid var(--bs-primary, #3b7ddd);
    outline-offset: 1px;
}

/* ---- Responsive -------------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .event-actor[b-s3in12wmsi] { display: none; }
}

@media (max-width: 860px) {
    .event-entity[b-s3in12wmsi] { display: none; }
    .event-detail[b-s3in12wmsi] { padding-left: 1rem; }
}

@media (max-width: 560px) {
    .event-time[b-s3in12wmsi] { display: none; }
    .event-detail-grid[b-s3in12wmsi] { grid-template-columns: 1fr; gap: 0.1rem 0; }
    .event-detail-grid dt[b-s3in12wmsi] { margin-top: 0.5rem; }
}

/* A name followed by its id: Razor drops the space between the two elements, so put it back. */
.event-detail-grid dd > * + code[b-s3in12wmsi],
.event-detail-grid dd > * + span[b-s3in12wmsi] {
    margin-left: 0.45rem;
}
/* /Components/Pages/Admin/CardAttempts.razor.rz.scp.css */
/* Card attempts — the quiet-list conventions of the Alert log (WebhookLog.razor.css), plus a row of stat tiles.
   Colours follow wwwroot/app.css. */

.ca-head[b-p0oiu4jkov] { margin-bottom: 0.75rem; }
.ca-head h1[b-p0oiu4jkov] { font-weight: 700; letter-spacing: -0.01em; }
.ca-sub[b-p0oiu4jkov] { color: var(--bs-secondary-color); font-size: 0.9rem; max-width: 80ch; }

.ca-limits[b-p0oiu4jkov] { font-size: 0.88rem; margin: 0 0 1rem; }
.ca-off[b-p0oiu4jkov] { color: var(--swan-warn-ink); }
.ca-you[b-p0oiu4jkov] { display: block; margin-top: 0.25rem; color: var(--bs-secondary-color); font-size: 0.82rem; }

.ca-stats[b-p0oiu4jkov] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ca-stat[b-p0oiu4jkov] {
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: var(--swan-surface);
    padding: 0.75rem 1rem;
}

.ca-stat-label[b-p0oiu4jkov] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.ca-stat-value[b-p0oiu4jkov] { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ca-stat-note[b-p0oiu4jkov] { font-size: 0.8rem; color: var(--bs-secondary-color); }
.ca-warn[b-p0oiu4jkov] { color: var(--swan-warn-ink); }
.ca-bad[b-p0oiu4jkov] { color: var(--swan-bad-ink); }

.ca-section[b-p0oiu4jkov] { font-size: 1rem; font-weight: 700; margin: 0 0 0.6rem; }
.ca-card + .ca-section[b-p0oiu4jkov], .ca-empty + .ca-section[b-p0oiu4jkov], p + .ca-section[b-p0oiu4jkov] { margin-top: 1.5rem; }

.ca-toolbar[b-p0oiu4jkov] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.ca-search[b-p0oiu4jkov] { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 0; }

.ca-search[b-p0oiu4jkov]  .ca-search-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.ca-search .form-control[b-p0oiu4jkov] { padding-left: 2rem; }

.quiet-btn[b-p0oiu4jkov] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-p0oiu4jkov] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.ca-empty[b-p0oiu4jkov] {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

.ca-card[b-p0oiu4jkov] { overflow: hidden; }

[b-p0oiu4jkov] .ca-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.ca-table td[b-p0oiu4jkov] { vertical-align: middle; padding-top: 0.5rem; padding-bottom: 0.5rem; font-size: 0.88rem; }

.ca-link[b-p0oiu4jkov] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--swan-accent-ink);
    font: inherit;
    text-align: left;
}

.ca-link:hover[b-p0oiu4jkov], .ca-link:focus-visible[b-p0oiu4jkov] { text-decoration: underline; }

.ca-muted[b-p0oiu4jkov] { color: var(--bs-secondary-color); font-size: 0.85rem; }
.ca-num[b-p0oiu4jkov] { font-variant-numeric: tabular-nums; }

.ca-reason[b-p0oiu4jkov] {
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-secondary-color);
}

.ca-st[b-p0oiu4jkov] { font-weight: 600; font-size: 0.82rem; }
.ca-st--ok[b-p0oiu4jkov] { color: var(--swan-ok-ink); }
.ca-st--warn[b-p0oiu4jkov] { color: var(--swan-warn-ink); }
.ca-st--bad[b-p0oiu4jkov] { color: var(--swan-bad-ink); }
.ca-st--idle[b-p0oiu4jkov] { color: var(--bs-secondary-color); }

.ca-cleared[b-p0oiu4jkov] {
    margin-left: 0.35rem;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    padding: 0 0.4rem;
}

@media (max-width: 640px) {
    .ca-reason[b-p0oiu4jkov] { display: none; }
}
/* /Components/Pages/Admin/Carts.razor.rz.scp.css */
/* Carts: bills sent to checkout, and where each one stands. Same structure as Transactions (tabs, search,
   one row per item, details in place) and the same state words and dot shapes, so the two pages read alike.
   Colours come from the --swan-* tokens in app.css, which carry their own dark-mode values. */

.ct-head[b-5e0q7mi2kp] {
    margin-bottom: 1rem;
}

.ct-sub[b-5e0q7mi2kp] {
    max-width: 72ch;
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* ---- Toolbar --------------------------------------------------------------------------------- */
.ct-toolbar[b-5e0q7mi2kp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.875rem;
}

.ct-search[b-5e0q7mi2kp] {
    position: relative;
    flex: 1 1 18rem;
    max-width: 30rem;
    margin: 0;
}

.ct-search[b-5e0q7mi2kp]  svg {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--bs-secondary-color, #6c757d);
    pointer-events: none;
}

.ct-search input[b-5e0q7mi2kp] {
    padding-left: 2rem;
}

/* ---- Table ----------------------------------------------------------------------------------- */
.ct-card[b-5e0q7mi2kp] {
    overflow: hidden;
}

.ct-table th[b-5e0q7mi2kp] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
    padding: 0.7rem 1rem;
}

.ct-table td[b-5e0q7mi2kp] {
    padding: 0.75rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid var(--swan-surface-line);
}

.ct-row:hover > td[b-5e0q7mi2kp] {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.ct-row.is-open > td[b-5e0q7mi2kp] {
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-bottom-color: transparent;
}

.ct-empty[b-5e0q7mi2kp] {
    text-align: center;
    padding: 2.5rem 1rem !important;
    color: var(--bs-secondary-color, #6c757d);
}

.ct-bill[b-5e0q7mi2kp] {
    font-weight: 600;
    font-size: 0.9rem;
}

.ct-bill-sub[b-5e0q7mi2kp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.35rem;
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.1rem;
}

.ct-payer[b-5e0q7mi2kp] {
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

.ct-amount[b-5e0q7mi2kp] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ct-when[b-5e0q7mi2kp] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* State: words plus a dot whose shape carries the meaning too (filled, hollow, square, ring). */
.ct-state[b-5e0q7mi2kp] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ct-state[b-5e0q7mi2kp]::before {
    content: "";
    flex: none;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: currentColor;
}

.ct-state--done[b-5e0q7mi2kp] { color: var(--swan-ok-ink); }
.ct-state--wait[b-5e0q7mi2kp] { color: var(--swan-warn-ink); }
.ct-state--wait[b-5e0q7mi2kp]::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.ct-state--warn[b-5e0q7mi2kp] { color: var(--swan-warn-ink); }
.ct-state--warn[b-5e0q7mi2kp]::before { border-radius: 2px; }
.ct-state--bad[b-5e0q7mi2kp] { color: var(--swan-bad-ink); }
.ct-state--bad[b-5e0q7mi2kp]::before { border-radius: 2px; }
.ct-state--off[b-5e0q7mi2kp] { color: var(--bs-secondary-color, #6c757d); }
.ct-state--off[b-5e0q7mi2kp]::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; opacity: 0.7; }

.ct-state-sub[b-5e0q7mi2kp] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.15rem;
    max-width: 26rem;
}

/* ---- Details toggle -------------------------------------------------------------------------- */
.ct-toggle[b-5e0q7mi2kp] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 32px;
    padding: 0 0.6rem;
    border-radius: 0.45rem;
    border: 1px solid var(--swan-surface-line);
    background: transparent;
    color: var(--bs-body-color);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.ct-toggle:hover[b-5e0q7mi2kp],
.ct-toggle.is-open[b-5e0q7mi2kp] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
}

.ct-toggle:focus-visible[b-5e0q7mi2kp] {
    outline: 2px solid var(--swan-accent-ink);
    outline-offset: 2px;
}

.ct-toggle[b-5e0q7mi2kp]  svg {
    width: 15px;
    height: 15px;
    transition: transform 0.18s ease;
}

.ct-toggle.is-open[b-5e0q7mi2kp]  svg {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .ct-toggle[b-5e0q7mi2kp]  svg { transition: none; }
}

/* ---- Detail panel ---------------------------------------------------------------------------- */
.ct-detail-row > td[b-5e0q7mi2kp] {
    background: var(--bs-tertiary-bg, #f8f9fa);
    padding: 0.25rem 1rem 1.25rem;
}

.ct-detail[b-5e0q7mi2kp] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
    gap: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.5rem;
    background: var(--swan-surface);
}

.ct-detail-main[b-5e0q7mi2kp] {
    min-width: 0;
}

.ct-detail-title[b-5e0q7mi2kp] {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.ct-items[b-5e0q7mi2kp] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ct-items li[b-5e0q7mi2kp] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--swan-surface-line);
}

.ct-items li:last-child[b-5e0q7mi2kp] {
    border-bottom: 0;
}

.ct-item-main[b-5e0q7mi2kp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ct-item-name[b-5e0q7mi2kp] {
    font-size: 0.875rem;
    font-weight: 500;
}

.ct-item-sub[b-5e0q7mi2kp] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ct-item-ref[b-5e0q7mi2kp] {
    display: block;
    color: var(--bs-body-color);
}

.ct-item-amount[b-5e0q7mi2kp] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-size: 0.875rem;
}

.ct-facts[b-5e0q7mi2kp] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border-left: 1px solid var(--swan-surface-line);
    padding-left: 1.5rem;
}

.ct-facts dt[b-5e0q7mi2kp] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.ct-facts dd[b-5e0q7mi2kp] {
    margin: 0;
    font-size: 0.875rem;
}

.ct-wrap[b-5e0q7mi2kp] {
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

.ct-note[b-5e0q7mi2kp] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ct-detail-foot[b-5e0q7mi2kp] {
    grid-column: 1 / -1;
    border-top: 1px solid var(--swan-surface-line);
    padding-top: 0.75rem;
}

.ct-warn[b-5e0q7mi2kp] {
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.8rem;
    border-radius: 0.45rem;
    background: var(--swan-bad-tint);
    border: 1px solid var(--swan-bad-line);
    color: var(--swan-bad-ink);
    font-size: 0.8125rem;
}

.ct-footer[b-5e0q7mi2kp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

@media (max-width: 991.98px) {
    .ct-detail[b-5e0q7mi2kp] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-facts[b-5e0q7mi2kp] {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--swan-surface-line);
        padding-top: 0.75rem;
    }
}
/* /Components/Pages/Admin/Dashboard.razor.rz.scp.css */
/* Chart and tile colours. One series, so one hue: AppStack's primary, measured against each card surface
   (4.1:1 light, 4.4:1 dark — above the 3:1 a graphical mark needs). Text never takes the bar colour. */
.dash-chart[b-dpzqupku8z],
.dash-tiles[b-dpzqupku8z] {
    --dash-bar: #3b7ddd;
    --dash-bar-hover: #2a62b8;
    --dash-grid: var(--swan-surface-line);
}

html[data-bs-theme="dark"] .dash-chart[b-dpzqupku8z] {
    --dash-bar: #5b95f0;
    --dash-bar-hover: #86b2f7;
}

/* Header --------------------------------------------------------------------- */
.dash-head[b-dpzqupku8z] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
}

.dash-sub[b-dpzqupku8z] {
    color: var(--bs-secondary-color);
    font-size: .875rem;
}

.dash-refresh[b-dpzqupku8z]  .feather {
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
}

.dash-section-title[b-dpzqupku8z] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

/* All clear ------------------------------------------------------------------ */
.dash-clear[b-dpzqupku8z] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem .875rem;
    border-radius: .375rem;
    background: var(--swan-ok-tint);
    color: var(--swan-ok-ink);
    font-weight: 500;
}

.dash-clear[b-dpzqupku8z]  .feather {
    width: 1.125rem;
    height: 1.125rem;
}

/* Needs attention ------------------------------------------------------------ */
.dash-attn[b-dpzqupku8z] {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.dash-attn__item[b-dpzqupku8z] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem .875rem;
    border-radius: .375rem;
    border: 1px solid var(--swan-surface-line);
    border-left-width: 4px;
    color: inherit;
    text-decoration: none;
    transition: background-color .12s ease;
}

.dash-attn__item:hover[b-dpzqupku8z],
.dash-attn__item:focus-visible[b-dpzqupku8z] {
    background-color: var(--bs-tertiary-bg);
    color: inherit;
}

.dash-attn__item--bad[b-dpzqupku8z] { border-left-color: var(--bs-danger); }
.dash-attn__item--warn[b-dpzqupku8z] { border-left-color: var(--bs-warning); }
.dash-attn__item--info[b-dpzqupku8z] { border-left-color: var(--bs-info); }

.dash-attn__icon[b-dpzqupku8z] {
    display: inline-flex;
    flex: none;
}

.dash-attn__item--bad .dash-attn__icon[b-dpzqupku8z] { color: var(--swan-bad-ink); }
.dash-attn__item--warn .dash-attn__icon[b-dpzqupku8z] { color: var(--swan-warn-ink); }
.dash-attn__item--info .dash-attn__icon[b-dpzqupku8z] { color: var(--swan-info-ink); }

.dash-attn__icon[b-dpzqupku8z]  .feather {
    width: 1.25rem;
    height: 1.25rem;
}

.dash-attn__text[b-dpzqupku8z] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-attn__label[b-dpzqupku8z] {
    font-weight: 600;
}

.dash-attn__detail[b-dpzqupku8z] {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
}

.dash-attn__chev[b-dpzqupku8z] {
    display: inline-flex;
    color: var(--bs-secondary-color);
}

.dash-attn__chev[b-dpzqupku8z]  .feather {
    width: 1rem;
    height: 1rem;
}

/* The site-wide dark-mode rule paints every content link blue (see app.css, specificity 0,4,2). These links
   are whole cards and rows, so they keep the body ink; the extra :not()s only lift the specificity past it. */
html[data-bs-theme] .dash-tile:not(.btn):not(.sidebar-link)[b-dpzqupku8z],
html[data-bs-theme] .dash-attn__item:not(.btn):not(.sidebar-link)[b-dpzqupku8z],
html[data-bs-theme] .dash-recent__row:not(.btn):not(.sidebar-link)[b-dpzqupku8z] {
    color: var(--bs-body-color);
}

/* Tiles ---------------------------------------------------------------------- */
/* Six tracks: the three money tiles take two each (one row of three), LG Admin's two extra tiles take three
   each (one row of two). Wide screens fit all five in a row. AuthorizeView renders no wrapper, so its tiles
   sit directly in the grid. */
.dash-tiles[b-dpzqupku8z] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.dash-tile[b-dpzqupku8z] { grid-column: span 2; }
.dash-tile:nth-child(n + 4)[b-dpzqupku8z] { grid-column: span 3; }

@media (min-width: 1400px) {
    .dash-tiles[b-dpzqupku8z] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .dash-tile[b-dpzqupku8z],
    .dash-tile:nth-child(n + 4)[b-dpzqupku8z] { grid-column: span 1; }
}

@media (max-width: 575.98px) {
    .dash-tiles[b-dpzqupku8z] { grid-template-columns: minmax(0, 1fr); }
    .dash-tile[b-dpzqupku8z],
    .dash-tile:nth-child(n + 4)[b-dpzqupku8z] { grid-column: auto; }
}

.dash-tile[b-dpzqupku8z] {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    padding: 1rem 1.125rem;
    margin: 0;
    color: inherit;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}

.dash-tile:hover[b-dpzqupku8z],
.dash-tile:focus-visible[b-dpzqupku8z] {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
    color: inherit;
}

.dash-tile__label[b-dpzqupku8z] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.dash-tile__value[b-dpzqupku8z] {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.dash-tile__delta[b-dpzqupku8z],
.dash-tile__note[b-dpzqupku8z] {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.dash-tile__delta[b-dpzqupku8z]  .feather {
    width: .875rem;
    height: .875rem;
}

.dash-tile__note--warn[b-dpzqupku8z] {
    color: var(--swan-warn-ink);
    font-weight: 500;
}

/* Chart ---------------------------------------------------------------------- */
.dash-chart-head[b-dpzqupku8z] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.dash-chart-total[b-dpzqupku8z] {
    font-size: .875rem;
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
}

.dash-chart-empty[b-dpzqupku8z] {
    color: var(--bs-secondary-color);
    padding: 1.5rem 0;
    text-align: center;
}

.dash-chart[b-dpzqupku8z] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .5rem;
}

.dash-chart__axis[b-dpzqupku8z] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 12rem;
    font-size: .6875rem;
    color: var(--bs-secondary-color);
    text-align: right;
    font-variant-numeric: tabular-nums;
    /* Each label sits on its gridline rather than under it. */
    margin: -.4rem 0;
}

.dash-chart__plot[b-dpzqupku8z] {
    position: relative;
    min-width: 0;
}

.dash-chart__grid[b-dpzqupku8z] {
    position: absolute;
    inset: 0 0 auto 0;
    height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.dash-chart__grid i[b-dpzqupku8z] {
    display: block;
    border-top: 1px solid var(--dash-grid);
}

.dash-chart__bars[b-dpzqupku8z] {
    position: relative;
    height: 12rem;
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 2px;
    align-items: end;
}

.dash-bar[b-dpzqupku8z] {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    outline: none;
    cursor: default;
}

/* The fill is narrower than its column so bars stay thin; the column itself is the hover target. */
.dash-bar__fill[b-dpzqupku8z] {
    width: min(100%, 2.25rem);
    min-height: 2px;
    background: var(--dash-bar);
    border-radius: 4px 4px 0 0;
    transition: background-color .1s ease;
}

.dash-bar__fill--zero[b-dpzqupku8z] {
    background: var(--dash-grid);
}

.dash-bar:hover .dash-bar__fill[b-dpzqupku8z],
.dash-bar:focus-visible .dash-bar__fill[b-dpzqupku8z] {
    background: var(--dash-bar-hover);
}

.dash-bar:focus-visible[b-dpzqupku8z] {
    box-shadow: inset 0 0 0 2px var(--bs-focus-ring-color, rgba(59, 125, 221, .5));
    border-radius: 4px;
}

/* The tip lives inside the fill and sits just above its top edge, so it never covers the bar it describes. */
.dash-bar__fill[b-dpzqupku8z] {
    position: relative;
}

.dash-bar__tip[b-dpzqupku8z] {
    position: absolute;
    bottom: calc(100% + .375rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: none;
    flex-direction: column;
    gap: .125rem;
    padding: .375rem .625rem;
    border-radius: .375rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--swan-surface-line);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15);
    font-size: .75rem;
    white-space: nowrap;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}

/* Edge bars anchor their tip inward so it can't run off the card. */
.dash-bar:first-child .dash-bar__tip[b-dpzqupku8z],
.dash-bar:nth-child(2) .dash-bar__tip[b-dpzqupku8z] {
    left: 0;
    transform: none;
}

.dash-bar:last-child .dash-bar__tip[b-dpzqupku8z],
.dash-bar:nth-last-child(2) .dash-bar__tip[b-dpzqupku8z] {
    left: auto;
    right: 0;
    transform: none;
}

.dash-bar:hover .dash-bar__tip[b-dpzqupku8z],
.dash-bar:focus-visible .dash-bar__tip[b-dpzqupku8z] {
    display: flex;
}

.dash-bar__tip-failed[b-dpzqupku8z] {
    color: var(--swan-warn-ink);
}

.dash-chart__x[b-dpzqupku8z] {
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 2px;
    margin-top: .375rem;
    font-size: .6875rem;
    color: var(--bs-secondary-color);
}

.dash-chart__x span[b-dpzqupku8z] {
    text-align: center;
    white-space: nowrap;
    overflow: visible;
}

.dash-table[b-dpzqupku8z] {
    margin-top: .75rem;
    font-size: .8125rem;
}

.dash-table summary[b-dpzqupku8z] {
    color: var(--bs-secondary-color);
    cursor: pointer;
    width: max-content;
}

.dash-table table[b-dpzqupku8z] {
    margin-top: .5rem;
    font-variant-numeric: tabular-nums;
}

/* Latest payments ------------------------------------------------------------ */
.dash-more[b-dpzqupku8z] {
    font-size: .875rem;
}

.dash-recent[b-dpzqupku8z] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dash-recent li + li[b-dpzqupku8z] {
    border-top: 1px solid var(--swan-surface-line);
}

.dash-recent__row[b-dpzqupku8z] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 6.5rem 7.5rem;
    align-items: center;
    gap: .75rem;
    padding: .625rem 1.25rem;
    color: inherit;
    text-decoration: none;
}

.dash-recent__row:hover[b-dpzqupku8z],
.dash-recent__row:focus-visible[b-dpzqupku8z] {
    background: var(--bs-tertiary-bg);
    color: inherit;
}

.dash-recent__main[b-dpzqupku8z] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-recent__who[b-dpzqupku8z] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-recent__payer[b-dpzqupku8z] {
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-recent__amount[b-dpzqupku8z] {
    text-align: right;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.dash-recent__when[b-dpzqupku8z] {
    text-align: right;
    font-size: .8125rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.dash-pill[b-dpzqupku8z] {
    font-size: .75rem;
    font-weight: 600;
    padding: .125rem .5rem;
    border-radius: 1rem;
    border: 1px solid transparent;
}

.dash-pill--ok[b-dpzqupku8z] { background: var(--swan-ok-tint); color: var(--swan-ok-ink); border-color: var(--swan-ok-line); }
.dash-pill--bad[b-dpzqupku8z] { background: var(--swan-bad-tint); color: var(--swan-bad-ink); border-color: var(--swan-bad-line); }
.dash-pill--warn[b-dpzqupku8z] { background: var(--swan-warn-tint); color: var(--swan-warn-ink); border-color: var(--swan-warn-line); }
.dash-pill--idle[b-dpzqupku8z] { background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); border-color: var(--swan-surface-line); }

@media (max-width: 575.98px) {
    .dash-recent__row[b-dpzqupku8z] {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: .625rem 1rem;
    }

    .dash-recent__when[b-dpzqupku8z] {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: -.5rem;
    }
}
/* /Components/Pages/Admin/EmailLog.razor.rz.scp.css */
/* Delivery log — the same quiet-list conventions as the Alert log: one table, what happened said in words plus
   tone, the email itself opened in place. The one strong element is the health line at the top, which answers
   "is mail going out?" before anyone has to read a row. Colours follow wwwroot/app.css. */

.el-head[b-5hh4oaelgv] { margin-bottom: 1rem; }
.el-head h1[b-5hh4oaelgv] { font-weight: 700; letter-spacing: -0.01em; }
.el-sub[b-5hh4oaelgv] { color: var(--bs-secondary-color); font-size: 0.9rem; max-width: 80ch; }

/* ---- Health ---------------------------------------------------------------------------------------- */

.el-health[b-5hh4oaelgv] {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--swan-surface-line);
    border-left-width: 4px;
    border-radius: 0.55rem;
    background: var(--swan-surface);
}

.el-health[b-5hh4oaelgv]  svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 0.15rem;
}

.el-health-line[b-5hh4oaelgv] {
    font-weight: 600;
    max-width: 75ch;
}

.el-health-more[b-5hh4oaelgv] {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    color: var(--bs-secondary-color);
    max-width: 80ch;
}

.el-health--ok[b-5hh4oaelgv] { border-left-color: var(--swan-ok-line); }
.el-health--ok[b-5hh4oaelgv]  svg { color: var(--swan-ok-ink); }
.el-health--info[b-5hh4oaelgv] { border-left-color: var(--swan-info-line); }
.el-health--info[b-5hh4oaelgv]  svg { color: var(--swan-info-ink); }
.el-health--warn[b-5hh4oaelgv] { border-left-color: var(--swan-warn-line); }
.el-health--warn[b-5hh4oaelgv]  svg { color: var(--swan-warn-ink); }
.el-health--bad[b-5hh4oaelgv] { border-left-color: var(--swan-bad-line); }
.el-health--bad[b-5hh4oaelgv]  svg,
.el-health--bad .el-health-line[b-5hh4oaelgv] { color: var(--swan-bad-ink); }

/* ---- Toolbar --------------------------------------------------------------------------------------- */

.el-toolbar[b-5hh4oaelgv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.el-search[b-5hh4oaelgv] { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 0; }

.el-search[b-5hh4oaelgv]  .el-search-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.el-search .form-control[b-5hh4oaelgv] { padding-left: 2rem; }
.el-template[b-5hh4oaelgv] { flex: 0 1 220px; width: auto; }

.el-toolbar-end[b-5hh4oaelgv] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.el-toolbar-end[b-5hh4oaelgv]  svg {
    width: 14px;
    height: 14px;
}

.quiet-btn[b-5hh4oaelgv] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-5hh4oaelgv] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.el-empty[b-5hh4oaelgv] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

/* ---- List ------------------------------------------------------------------------------------------ */

.el-card[b-5hh4oaelgv] { overflow: hidden; }

[b-5hh4oaelgv] .el-table thead th {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.el-table td[b-5hh4oaelgv] { vertical-align: top; padding-top: 0.6rem; padding-bottom: 0.6rem; font-size: 0.88rem; }
.el-row[b-5hh4oaelgv] { cursor: pointer; }
.el-row:hover > td[b-5hh4oaelgv], .el-row--open > td[b-5hh4oaelgv] { background: var(--bs-tertiary-bg); }

.el-open[b-5hh4oaelgv] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--bs-body-color);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

.el-open:hover[b-5hh4oaelgv], .el-open:focus-visible[b-5hh4oaelgv] { color: var(--swan-accent-ink); text-decoration: underline; }

.el-to[b-5hh4oaelgv] { overflow-wrap: anywhere; min-width: 12rem; }

.el-name[b-5hh4oaelgv] { display: block; font-weight: 600; }

.el-subject[b-5hh4oaelgv] {
    display: block;
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
    max-width: 26rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.el-st[b-5hh4oaelgv] { display: block; font-weight: 600; white-space: nowrap; }
.el-st--ok[b-5hh4oaelgv] { color: var(--swan-ok-ink); }
.el-st--info[b-5hh4oaelgv] { color: var(--swan-info-ink); }
.el-st--warn[b-5hh4oaelgv] { color: var(--swan-warn-ink); }
.el-st--bad[b-5hh4oaelgv] { color: var(--swan-bad-ink); }
.el-st--idle[b-5hh4oaelgv] { color: var(--bs-secondary-color); }

.el-why[b-5hh4oaelgv] {
    display: block;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
}

.el-muted[b-5hh4oaelgv] { color: var(--bs-secondary-color); font-size: 0.85rem; }

/* ---- Opened row ------------------------------------------------------------------------------------ */

.el-detail-row > td[b-5hh4oaelgv] { background: var(--bs-tertiary-bg); padding: 0 0.75rem 0.9rem; }

.el-detail[b-5hh4oaelgv] {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--swan-surface);
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.el-dl[b-5hh4oaelgv] {
    display: grid;
    grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
    gap: 0.3rem 1rem;
    margin: 0;
    font-size: 0.85rem;
}

.el-dl dt[b-5hh4oaelgv] { font-weight: 600; }
.el-dl dd[b-5hh4oaelgv] { margin: 0; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.el-error-full[b-5hh4oaelgv] { color: var(--swan-bad-ink); }

.el-nobody[b-5hh4oaelgv] {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    background: var(--bs-tertiary-bg);
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    max-width: 80ch;
}

/* The stored message, rendered inside a script-less sandbox. */
.email-body[b-5hh4oaelgv] {
    width: 100%;
    max-width: 720px;
    height: 460px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    display: block;
    /* The stored HTML is authored for a white ground, so the sandbox stays light in both colour modes —
       darkening the frame would misrepresent what the recipient actually received. */
    background: #f3f4f6;
    color-scheme: light only;
}

.el-actions[b-5hh4oaelgv] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }
.el-link[b-5hh4oaelgv] { font-size: 0.85rem; margin-left: auto; }

@media (max-width: 640px) {
    .el-why[b-5hh4oaelgv], .el-subject[b-5hh4oaelgv] { white-space: normal; }
    .el-toolbar-end[b-5hh4oaelgv] { margin-left: 0; }
    .el-link[b-5hh4oaelgv] { margin-left: 0; }
}
/* /Components/Pages/Admin/EmailTemplates.razor.rz.scp.css */
/* Templates — editor on the left, the email itself on the right. The preview is the one loud thing on the page:
   a light sheet with its subject line above it, the way a mail app shows a message, redrawn a moment after each
   edit. Everything else is quiet form. Colours follow wwwroot/app.css. */

.et-head[b-tdbu1jm96z] { margin-bottom: 1rem; }
.et-head h1[b-tdbu1jm96z] { font-weight: 700; letter-spacing: -0.01em; }
.et-sub[b-tdbu1jm96z] { color: var(--bs-secondary-color); font-size: 0.9rem; max-width: 80ch; }

/* The shared frame is a different kind of thing from the four emails, so it sits apart in the same strip. */
.et-tab-gap[b-tdbu1jm96z] {
    width: 1px;
    align-self: stretch;
    margin: 0.2rem 0.35rem;
    background: var(--swan-tab-track-line);
}

.et-layout[b-tdbu1jm96z] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (min-width: 1200px) {
    .et-layout[b-tdbu1jm96z] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.25rem;
    }

    .et-preview[b-tdbu1jm96z] {
        position: sticky;
        top: 1rem;
    }
}

/* ---- Editor ---------------------------------------------------------------------------------------- */

.et-card[b-tdbu1jm96z] { margin-bottom: 1rem; }

.et-when.is-on[b-tdbu1jm96z] { border-left: 4px solid var(--swan-ok-line); }
.et-when.is-off[b-tdbu1jm96z] { border-left: 4px solid var(--swan-warn-line); }

.et-when-text[b-tdbu1jm96z] {
    font-size: 0.92rem;
    max-width: 70ch;
}

.et-when .form-check-label[b-tdbu1jm96z],
.et-card .form-switch .form-check-label[b-tdbu1jm96z] {
    font-weight: 600;
}

.et-label[b-tdbu1jm96z] {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.et-code[b-tdbu1jm96z] {
    font-family: var(--bs-font-monospace);
    font-size: 0.8rem;
    line-height: 1.5;
    tab-size: 2;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

.et-help[b-tdbu1jm96z] {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
    max-width: 70ch;
}

.et-meta[b-tdbu1jm96z] {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

.et-meta a[b-tdbu1jm96z] { margin-left: 0.25rem; }

.et-warn[b-tdbu1jm96z] {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--swan-warn-ink);
    max-width: 70ch;
}

.et-warn[b-tdbu1jm96z]  svg {
    width: 14px;
    height: 14px;
    flex: none;
    transform: translateY(2px);
}

.et-tokens[b-tdbu1jm96z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.et-tokens-label[b-tdbu1jm96z] {
    flex-basis: 100%;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

.et-token[b-tdbu1jm96z] {
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.35rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    font-family: var(--bs-font-monospace);
    font-size: 0.78rem;
    cursor: pointer;
}

.et-token:hover[b-tdbu1jm96z] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
}

.et-token:focus-visible[b-tdbu1jm96z] {
    outline: 2px solid var(--swan-tab-on-bg);
    outline-offset: 2px;
}

.et-test[b-tdbu1jm96z] { max-width: 28rem; }

.et-grid[b-tdbu1jm96z] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}

.et-colour[b-tdbu1jm96z] {
    display: flex;
    gap: 0.5rem;
}

.et-colour .form-control-color[b-tdbu1jm96z] {
    flex: none;
    width: 3rem;
}

.et-restore[b-tdbu1jm96z] {
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    background: transparent;
    color: var(--bs-body-color);
}

.et-restore:hover[b-tdbu1jm96z] {
    border-color: var(--swan-warn-line);
    color: var(--swan-warn-ink);
    background: transparent;
}

.et-problem[b-tdbu1jm96z] {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--swan-bad-ink);
}

/* ---- Preview --------------------------------------------------------------------------------------- */

.et-preview-card[b-tdbu1jm96z] { overflow: hidden; }

.et-preview-bar[b-tdbu1jm96z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--swan-surface-line);
}

.et-preview-title[b-tdbu1jm96z] {
    font-weight: 650;
}

.et-preview-with[b-tdbu1jm96z] {
    width: auto;
    max-width: 14rem;
}

.et-envelope[b-tdbu1jm96z] {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid var(--swan-surface-line);
    font-size: 0.88rem;
}

.et-envelope-label[b-tdbu1jm96z] {
    flex: none;
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
}

.et-envelope-subject[b-tdbu1jm96z] {
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* The stage stays light in both colour modes: this is what lands in the recipient's inbox, and a dark frame
   around light email HTML would misrepresent it. */
.et-stage[b-tdbu1jm96z] {
    display: flex;
    justify-content: center;
    background: #e9ecf1;
}

.email-preview[b-tdbu1jm96z] {
    width: 100%;
    height: min(640px, 70vh);
    border: 0;
    display: block;
    background: #f3f4f6;
    color-scheme: light only;
}

.et-stage.is-phone[b-tdbu1jm96z] {
    padding: 0.75rem 0;
}

.et-stage.is-phone .email-preview[b-tdbu1jm96z] {
    width: 375px;
    max-width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 1px #cfd5df;
}

/* A short field (the footer) reads better wrapped than scrolled sideways. */
.et-code--wrap[b-tdbu1jm96z] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Admin/FeeSettings.razor.rz.scp.css */
/* Fees — the schedule on the left, what it charges on the right. The one loud thing on the page is the price
   table: money in tabular figures, a changed cell tinted with the old amount struck beside it, so an edit's
   effect is read in dollars before anything is saved. Everything else stays quiet. Colours from wwwroot/app.css. */

.fs-head[b-dvloxnz9c4] {
    margin-bottom: 1rem;
}

.fs-head h1[b-dvloxnz9c4] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fs-sub[b-dvloxnz9c4] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    max-width: 80ch;
}

.fs-meta[b-dvloxnz9c4] {
    margin-top: 0.15rem;
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
}

.fs-meta a[b-dvloxnz9c4] {
    margin-left: 0.25rem;
}

/* Form left, preview right. The preview is the narrower of the two: it holds a three-column table and short
   notes, while the form needs room for a label, a control and a sentence of help on one row. */
.fs-layout[b-dvloxnz9c4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (min-width: 1200px) {
    .fs-layout[b-dvloxnz9c4] {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 1.25rem;
    }

    .fs-preview[b-dvloxnz9c4] {
        position: sticky;
        top: 1rem;
    }
}

@media (min-width: 1500px) {
    .fs-layout[b-dvloxnz9c4] {
        grid-template-columns: minmax(0, 1fr) 400px;
    }
}

.fs-main > .card[b-dvloxnz9c4] {
    margin-bottom: 1rem;
}

/* ---- The on/off switch ---------------------------------------------------------------------------- */

.fs-switch .form-check-label[b-dvloxnz9c4] {
    font-weight: 600;
    font-size: 1rem;
}

.fs-switch.is-on[b-dvloxnz9c4] {
    border-left: 4px solid var(--swan-ok-line);
}

.fs-switch.is-off[b-dvloxnz9c4] {
    border-left: 4px solid var(--swan-warn-line);
}

.fs-switch .fs-note[b-dvloxnz9c4],
.fs-switch .fs-warn[b-dvloxnz9c4] {
    margin-top: 0.35rem;
    padding-left: 2.5em;
}

/* ---- Field groups ---------------------------------------------------------------------------------
   One row per setting: its name on the left, then the control with its help underneath. Every control starts
   on the same line down the card, so the page reads as a list rather than a scatter of boxes and notes. */

.fs-group-title[b-dvloxnz9c4],
.fs-preview-title[b-dvloxnz9c4] {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.85rem;
}

.fs-field[b-dvloxnz9c4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--swan-surface-line);
}

.fs-group-title + .fs-field[b-dvloxnz9c4] {
    border-top: 0;
    padding-top: 0;
}

.fs-field:last-child[b-dvloxnz9c4] {
    padding-bottom: 0;
}

.fs-field > label[b-dvloxnz9c4] {
    font-weight: 600;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .fs-field[b-dvloxnz9c4] {
        grid-template-columns: 11rem minmax(0, 1fr);
        column-gap: 1.25rem;
        row-gap: 0.35rem;
        align-items: start;
    }

    /* Level with the text inside the control beside it. */
    .fs-field > label[b-dvloxnz9c4] {
        padding-top: 0.45rem;
    }

    .fs-field > :not(label)[b-dvloxnz9c4],
    .fs-field[b-dvloxnz9c4]  .fs-error {
        grid-column: 2;
    }
}

.fs-input[b-dvloxnz9c4] {
    width: 9rem;
}

.fs-input--short[b-dvloxnz9c4] {
    width: 4.75rem;
}

.fs-input--pct[b-dvloxnz9c4] {
    width: 7rem;
}

.fs-input--wide[b-dvloxnz9c4] {
    width: min(24rem, 100%);
}

.fs-input input[b-dvloxnz9c4] {
    font-variant-numeric: tabular-nums;
}

/* A setting said as a sentence over two lines: each line is one clause, so it never breaks mid-phrase. */
.fs-lines[b-dvloxnz9c4] {
    display: grid;
    gap: 0.45rem;
}

.fs-pair[b-dvloxnz9c4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    font-size: 0.9rem;
}

.fs-help[b-dvloxnz9c4] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
    max-width: 60ch;
}

.fs-help--warn[b-dvloxnz9c4] {
    color: var(--swan-warn-ink);
}

[b-dvloxnz9c4] .fs-error {
    font-size: 0.82rem;
    color: var(--swan-bad-ink);
}

.fs-note[b-dvloxnz9c4] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.fs-warn[b-dvloxnz9c4] {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    font-size: 0.85rem;
    color: var(--swan-warn-ink);
}

.fs-warn[b-dvloxnz9c4]  svg {
    width: 14px;
    height: 14px;
    flex: none;
    transform: translateY(2px);
}

.fs-more[b-dvloxnz9c4] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--swan-surface-line);
}

.fs-more summary[b-dvloxnz9c4] {
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

/* ---- The price table ------------------------------------------------------------------------------ */

.fs-preview > .card[b-dvloxnz9c4] {
    margin-bottom: 1rem;
}

.fs-sites[b-dvloxnz9c4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.fs-table[b-dvloxnz9c4] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.85rem;
}

.fs-table th[b-dvloxnz9c4],
.fs-table td[b-dvloxnz9c4] {
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid var(--swan-surface-line);
    text-align: right;
    vertical-align: baseline;
}

.fs-table thead th[b-dvloxnz9c4] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    border-bottom-width: 2px;
}

.fs-table th:first-child[b-dvloxnz9c4] {
    text-align: left;
    padding-left: 0;
}

.fs-table tbody th[b-dvloxnz9c4] {
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.fs-fee[b-dvloxnz9c4] {
    font-size: 1.05rem;
    font-weight: 650;
}

.fs-table td.is-changed[b-dvloxnz9c4] {
    background: var(--swan-info-tint);
    box-shadow: inset 3px 0 0 var(--swan-info-line);
}

.fs-was[b-dvloxnz9c4] {
    display: block;
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

.fs-tag[b-dvloxnz9c4] {
    display: block;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
}

/* The muted grey is translucent, and on the tint it blends to about 3.9:1. The tint's own ink is solid. */
.fs-table td.is-changed .fs-was[b-dvloxnz9c4],
.fs-table td.is-changed .fs-tag[b-dvloxnz9c4] {
    color: var(--swan-info-ink);
}

.fs-try[b-dvloxnz9c4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.fs-try .input-group[b-dvloxnz9c4] {
    width: 9rem;
}

.fs-quote[b-dvloxnz9c4] {
    margin: 0 0 0.75rem;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid var(--swan-surface-line);
    background: var(--bs-tertiary-bg);
    border-radius: 0 0.4rem 0.4rem 0;
    font-size: 0.85rem;
    line-height: 1.55;
}
/* /Components/Pages/Admin/Payments.razor.rz.scp.css */
/* Payment Transactions grid — readable, high-contrast refinement of the AppStack table.

   The AppStack theme's default text tokens are too faint for a data-dense admin grid:
   --bs-body-color is #6c757d and --bs-secondary-color is a *translucent* grey
   (hsla(208,7%,46%,.75)) that measures ~3:1 on white — below the WCAG AA 4.5:1 bar.
   So instead of borrowing those, this page defines its own solid ink scale (all >= AA
   on its ground) and routes every text element through it.

   EVERY colour on this page must resolve through a --pt-* token declared below, with no literal left in
   a rule. That is what lets the dark block at the foot of this file re-ground the whole page by
   redefining ~25 values — and it is also why the dark overrides are token-only: a `::deep` selector
   prefixed with `html[data-bs-theme=dark]` would have Blazor's scope attribute rewritten onto <html>
   instead of .pt-page, and silently match nothing. */

.pt-page[b-amringejda] {
    /* Ink scale — contrast measured on --pt-surface */
    --pt-ink: #1b2333;        /* primary text — ~14:1 */
    --pt-ink-2: #414b5c;      /* secondary text — ~8.3:1 */
    --pt-ink-3: #566072;      /* labels / de-emphasized — ~5.7:1 */
    --pt-line: #e3e8f0;       /* hairline dividers */
    --pt-line-strong: #cfd7e3;
    --pt-surface: #ffffff;
    --pt-surface-alt: #f5f8fc; /* zebra + expanded rows */
    --pt-hover: #eaf1fe;       /* row hover */
    --pt-accent: #2f6fed;      /* interactive / sort accent */
    --pt-on-accent: #ffffff;   /* text on an accent/danger fill */

    /* Table furniture */
    --pt-head-bg: #eef2f8;
    --pt-head-hover-bg: #e6edf9;
    --pt-highlight-bg: #fff3d6; /* the just-acted-on row */
    --pt-highlight-edge: #e5a54b;
    --pt-chip-bg: #e7edf6;

    /* Status pills — deeper text + border tones than the theme's subtle defaults, so labels stay legible */
    --pt-ok-bg: #d6efe0;       --pt-ok-ink: #17542e;       --pt-ok-line: #a9dcbd;
    --pt-info-bg: #d3e8f6;     --pt-info-ink: #0c405a;     --pt-info-line: #a4d1ea;
    --pt-warn-bg: #fbe9cf;     --pt-warn-ink: #6e4a15;     --pt-warn-line: #f2ca8f;
    --pt-bad-bg: #f7dad9;      --pt-bad-ink: #7c211f;      --pt-bad-line: #eeb1af;
    --pt-neutral-bg: #e5e8ec;  --pt-neutral-ink: #33393f;  --pt-neutral-line: #c9cfd6;

    /* Destructive action */
    --pt-danger: #c0392b;
    --pt-danger-hover: #a12f22;

    /* Callouts */
    --pt-info-ink-strong: #08324a;
    --pt-note-bg: #eef4ff;
    --pt-note-line: #cfe0ff;
}

/* Beat Bootstrap's .text-muted (which is !important) with a readable tone
   everywhere inside this page — the single biggest legibility win. */
.pt-page .text-muted[b-amringejda] {
    color: var(--pt-ink-3) !important;
}

/* ---- Header ---------------------------------------------------------------------------------- */
.pt-head[b-amringejda] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
}

.pt-sub[b-amringejda] {
    font-size: .875rem;
    color: var(--pt-ink-3);
}

.pt-head-actions[b-amringejda] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

[b-amringejda] .pt-panel-title {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--pt-ink);
    margin: 0 0 .75rem;
}

/* ---- Toolbar --------------------------------------------------------------------------------- */
.pt-toolbar[b-amringejda] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: .875rem;
}

.pt-search[b-amringejda] {
    position: relative;
    flex: 1 1 18rem;
    max-width: 30rem;
    margin: 0;
}

.pt-search[b-amringejda]  svg {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--pt-ink-3);
    pointer-events: none;
}

.pt-search input[b-amringejda] {
    padding-left: 2rem;
}

.pt-dates[b-amringejda] {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.pt-dates input[b-amringejda] {
    width: 9.5rem;
}

.pt-dates-to[b-amringejda] {
    font-size: .8125rem;
    color: var(--pt-ink-3);
}

/* ---- Table ----------------------------------------------------------------------------------- */
[b-amringejda] .pt-card {
    border: 1px solid var(--pt-line);
    box-shadow: none;
    overflow: hidden;
}

[b-amringejda] .pt-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

[b-amringejda] .pt-table thead th {
    background: var(--pt-head-bg);
    border-bottom: 1px solid var(--pt-line-strong);
    font-size: .75rem;
    font-weight: 600;
    color: var(--pt-ink-2);
    padding: .7rem 1rem;
    white-space: nowrap;
    user-select: none;
}

[b-amringejda] .pt-table thead th.sortable {
    cursor: pointer;
}

[b-amringejda] .pt-table thead th.sortable:hover {
    color: var(--pt-accent);
    background: var(--pt-head-hover-bg);
}

[b-amringejda] .pt-table thead th .sort-caret {
    color: var(--pt-accent);
    font-size: .7rem;
    margin-left: .25rem;
}

[b-amringejda] .pt-table td {
    padding: .8rem 1rem;
    vertical-align: top;
    color: var(--pt-ink-2);
    border-bottom: 1px solid var(--pt-line);
    background: var(--pt-surface);
}

[b-amringejda] .pt-table tbody tr.pt-row:hover > td {
    background: var(--pt-hover);
}

[b-amringejda] .pt-table tbody tr.pt-row.is-open > td {
    background: var(--pt-surface-alt);
    border-bottom-color: transparent;
}

[b-amringejda] .pt-table tbody tr.pt-row.pt-row--highlight > td {
    background: var(--pt-highlight-bg);
}

[b-amringejda] .pt-table tbody tr.pt-row.pt-row--highlight > td:first-child {
    box-shadow: inset 4px 0 0 var(--pt-highlight-edge);
}

[b-amringejda] .pt-empty {
    text-align: center;
    padding: 2.5rem 1rem !important;
    color: var(--pt-ink-2) !important;
}

/* ---- Cells ----------------------------------------------------------------------------------- */
[b-amringejda] .pt-merchant {
    font-weight: 600;
    color: var(--pt-ink);
    font-size: .9rem;
    line-height: 1.35;
}

[b-amringejda] .pt-shopper {
    font-size: .8125rem;
    color: var(--pt-ink-2);
    margin-top: .1rem;
}

[b-amringejda] .pt-source-app {
    font-size: .75rem;
    color: var(--pt-ink-3);
    margin-top: .1rem;
}

[b-amringejda] .pt-amount {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: .9375rem;
    color: var(--pt-ink);
    white-space: nowrap;
}

[b-amringejda] .pt-fee {
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
    color: var(--pt-ink-3);
    margin-top: .1rem;
    white-space: nowrap;
}

[b-amringejda] .pt-paymethod {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8125rem;
    color: var(--pt-ink-2);
    white-space: nowrap;
}

[b-amringejda] .pt-paymethod svg {
    color: var(--pt-ink-3);
    width: 15px;
    height: 15px;
    flex: none;
}

[b-amringejda] .pt-gwref {
    font-family: var(--bs-font-monospace);
    font-size: .75rem;
    color: var(--pt-ink-3);
}

[b-amringejda] .pt-timestamp {
    font-size: .8125rem;
    color: var(--pt-ink-2);
    white-space: nowrap;
}

/* Small lines under the trail: a warning, the processor's decline reason, a return fee collected. */
[b-amringejda] .pt-note {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .35rem;
    font-size: .75rem;
    color: var(--pt-ink-3);
    max-width: 26rem;
}

[b-amringejda] .pt-note svg {
    width: 13px;
    height: 13px;
    flex: none;
}

[b-amringejda] .pt-note--bad {
    color: var(--pt-bad-ink);
    font-weight: 500;
}

[b-amringejda] .pt-note--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- The money trail ------------------------------------------------------------------------- *
   The one memorable thing on this page. Each step is a dot and a label joined by a short rule, so a
   payment reads left to right the way its money moved. The dot's SHAPE carries the state as well as its
   colour: filled = happened, hollow ring = still waiting, square = went wrong, ring with a centre =
   money given back. */
[b-amringejda] .pt-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

[b-amringejda] .pt-step {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--pt-ink);
}

[b-amringejda] .pt-step + .pt-step::before {
    content: "";
    display: inline-block;
    width: 1.1rem;
    height: 0;
    margin: 0 .35rem;
    border-top: 1.5px solid var(--pt-line-strong);
}

[b-amringejda] .pt-step-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    flex: none;
    background: var(--pt-ok-ink);
}

[b-amringejda] .pt-step-date {
    font-weight: 400;
    font-size: .75rem;
    color: var(--pt-ink-3);
    font-variant-numeric: tabular-nums;
}

[b-amringejda] .pt-step--done .pt-step-label { color: var(--pt-ok-ink); }

[b-amringejda] .pt-step--wait .pt-step-dot {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--pt-warn-ink);
}
[b-amringejda] .pt-step--wait .pt-step-label { color: var(--pt-warn-ink); }

[b-amringejda] .pt-step--bad .pt-step-dot {
    border-radius: 2px;
    background: var(--pt-bad-ink);
}
[b-amringejda] .pt-step--bad .pt-step-label { color: var(--pt-bad-ink); }

[b-amringejda] .pt-step--back .pt-step-dot {
    background: var(--pt-info-ink);
    box-shadow: 0 0 0 2px var(--pt-surface), 0 0 0 3.5px var(--pt-info-ink);
    width: .45rem;
    height: .45rem;
    margin: 0 .1rem;
}
[b-amringejda] .pt-step--back .pt-step-label { color: var(--pt-info-ink); }

/* ---- Buttons --------------------------------------------------------------------------------- */
[b-amringejda] .pt-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

[b-amringejda] .pt-reverse-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 32px;
    padding: 0 .75rem;
    border-radius: .45rem;
    border: 1px solid var(--pt-danger);
    background: transparent;
    color: var(--pt-bad-ink);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

[b-amringejda] .pt-reverse-btn svg {
    width: 14px;
    height: 14px;
}

[b-amringejda] .pt-reverse-btn:hover {
    background: var(--pt-danger);
    color: var(--pt-on-accent);
}

[b-amringejda] .pt-reverse-btn:focus-visible,
[b-amringejda] .pt-toggle-btn:focus-visible,
[b-amringejda] .pt-copy-btn:focus-visible {
    outline: 2px solid var(--pt-accent);
    outline-offset: 2px;
}

[b-amringejda] .pt-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    height: 32px;
    padding: 0 .6rem;
    border-radius: .45rem;
    border: 1px solid var(--pt-line-strong);
    background: var(--pt-surface);
    color: var(--pt-ink-2);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

[b-amringejda] .pt-toggle-btn svg {
    width: 15px;
    height: 15px;
}

[b-amringejda] .pt-toggle-btn:hover {
    border-color: var(--pt-accent);
    color: var(--pt-accent);
}

[b-amringejda] .pt-toggle-btn--active {
    border-color: var(--pt-accent);
    color: var(--pt-accent);
    background: var(--pt-surface);
}

[b-amringejda] .pt-toggle-btn--chevron svg {
    transition: transform .18s ease;
}

[b-amringejda] .pt-toggle-btn--chevron.pt-toggle-btn--active svg {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    [b-amringejda] .pt-toggle-btn--chevron svg { transition: none; }
}

[b-amringejda] .pt-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: .35rem;
    border: 1px solid var(--pt-line-strong);
    background: var(--pt-surface);
    color: var(--pt-ink-3);
}

[b-amringejda] .pt-copy-btn svg {
    width: 14px;
    height: 14px;
}

[b-amringejda] .pt-copy-btn:hover {
    border-color: var(--pt-accent);
    color: var(--pt-accent);
}

/* ---- Detail panel ---------------------------------------------------------------------------- */
[b-amringejda] tr.pt-detail-row > td {
    background: var(--pt-surface-alt);
    padding: .25rem 1rem 1.25rem;
}

[b-amringejda] .pt-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem);
    gap: 1.5rem;
    background: var(--pt-surface);
    border: 1px solid var(--pt-line);
    border-radius: .5rem;
    padding: 1.1rem 1.25rem;
}

[b-amringejda] .pt-detail--reversal {
    grid-template-columns: minmax(0, 1fr);
}

[b-amringejda] .pt-detail-main {
    min-width: 0;
}

[b-amringejda] .pt-detail-side {
    border-left: 1px solid var(--pt-line);
    padding-left: 1.5rem;
    min-width: 0;
}

[b-amringejda] .pt-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .25rem 0 0 1.6rem;
}

[b-amringejda] .pt-detail-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pt-line);
}

/* Timeline: the trail again, vertically, with when and who. */
[b-amringejda] .pt-timeline {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

[b-amringejda] .pt-tl {
    position: relative;
    display: flex;
    gap: .85rem;
    padding-bottom: .9rem;
}

[b-amringejda] .pt-tl:last-child {
    padding-bottom: 0;
}

[b-amringejda] .pt-tl:not(:last-child)::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: 1.05rem;
    bottom: .1rem;
    border-left: 1.5px solid var(--pt-line-strong);
}

[b-amringejda] .pt-tl-dot {
    flex: none;
    width: .65rem;
    height: .65rem;
    margin-top: .35rem;
    border-radius: 50%;
    background: var(--pt-ok-ink);
}

[b-amringejda] .pt-tl--wait .pt-tl-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--pt-warn-ink); }
[b-amringejda] .pt-tl--bad .pt-tl-dot { border-radius: 2px; background: var(--pt-bad-ink); }
[b-amringejda] .pt-tl--back .pt-tl-dot { background: var(--pt-info-ink); }

[b-amringejda] .pt-tl-body {
    min-width: 0;
}

[b-amringejda] .pt-tl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .6rem;
    font-size: .875rem;
    color: var(--pt-ink);
}

[b-amringejda] .pt-tl--wait .pt-tl-head strong { color: var(--pt-warn-ink); }
[b-amringejda] .pt-tl--bad .pt-tl-head strong { color: var(--pt-bad-ink); }
[b-amringejda] .pt-tl--back .pt-tl-head strong { color: var(--pt-info-ink); }

[b-amringejda] .pt-tl-at {
    font-size: .8125rem;
    color: var(--pt-ink-3);
    font-variant-numeric: tabular-nums;
}

[b-amringejda] .pt-tl-note {
    font-size: .8125rem;
    color: var(--pt-ink-2);
    margin-top: .1rem;
    overflow-wrap: anywhere;
}

/* Facts: label over value, read top to bottom. */
[b-amringejda] .pt-facts {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

[b-amringejda] .pt-facts--row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .9rem 2.5rem;
}

[b-amringejda] .pt-fact dt {
    font-size: .75rem;
    font-weight: 600;
    color: var(--pt-ink-3);
    margin-bottom: .15rem;
}

[b-amringejda] .pt-fact dd {
    margin: 0;
    font-size: .875rem;
    color: var(--pt-ink);
}

[b-amringejda] .pt-fact--id dd {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

[b-amringejda] .pt-fact--id .font-monospace,
[b-amringejda] .pt-fact-wrap {
    font-size: .8125rem;
    word-break: break-all;
}

[b-amringejda] .pt-detail-idactions {
    display: inline-flex;
    gap: .3rem;
    flex: none;
}

/* Line items */
[b-amringejda] .pt-lineitems + .pt-lineitems {
    margin-top: .75rem;
}

[b-amringejda] .pt-lineitems-merchant {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--pt-ink-2);
    margin-bottom: .25rem;
}

[b-amringejda] .pt-lineitem-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

[b-amringejda] .pt-lineitem {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem 0;
    border-bottom: 1px dashed var(--pt-line);
    font-size: .8125rem;
    color: var(--pt-ink-2);
}

[b-amringejda] .pt-lineitem:last-child {
    border-bottom: 0;
}

[b-amringejda] .pt-lineitem-amt {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--pt-ink);
}

[b-amringejda] .pt-lineitem-ref {
    display: block;
    margin-top: .1rem;
    font-size: .75rem;
    color: var(--pt-ink);
}

[b-amringejda] .pt-return-fee-note {
    margin-top: 1rem;
    background: var(--pt-info-bg);
    border: 1px solid var(--pt-info-line);
    border-radius: .45rem;
    padding: .75rem 1rem;
    font-size: .8125rem;
    color: var(--pt-info-ink);
}

[b-amringejda] .pt-return-fee-note strong {
    color: var(--pt-info-ink-strong);
}

/* Inline forms: open inside the payment, under everything else, spanning both columns. */
[b-amringejda] .pt-inline-form {
    grid-column: 1 / -1;
    border-top: 1px solid var(--pt-line);
    padding-top: 1.1rem;
    max-width: 46rem;
}

[b-amringejda] .pt-inline-form .form-label,
[b-amringejda] .pt-inline-form .form-check-label,
[b-amringejda] .pt-inline-form p {
    color: var(--pt-ink-2);
}

[b-amringejda] .pt-inline-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin: .75rem 0 .25rem;
}

[b-amringejda] .pt-inline-amount {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--pt-ink-2);
}

[b-amringejda] .pt-inline-amount input {
    width: 7rem;
}

[b-amringejda] .pt-fee-return {
    background: var(--pt-note-bg);
    border: 1px solid var(--pt-note-line);
    border-radius: .5rem;
    padding: .75rem .9rem;
}

[b-amringejda] .pt-fee-return-note {
    font-size: .8125rem;
    color: var(--pt-ink-2);
    margin-top: .35rem;
    padding-left: 1.6rem;
    line-height: 1.5;
}

[b-amringejda] .pt-fee-return-note strong {
    color: var(--pt-ink);
}

/* Status pills, now only for fee states inside the detail panel. */
[b-amringejda] .pt-pill {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    line-height: 1.1;
    white-space: nowrap;
}

[b-amringejda] .pt-pill--success { background: var(--pt-ok-bg); color: var(--pt-ok-ink); border-color: var(--pt-ok-line); }
[b-amringejda] .pt-pill--warning { background: var(--pt-warn-bg); color: var(--pt-warn-ink); border-color: var(--pt-warn-line); }
[b-amringejda] .pt-pill--danger  { background: var(--pt-bad-bg); color: var(--pt-bad-ink); border-color: var(--pt-bad-line); }
[b-amringejda] .pt-pill--secondary { background: var(--pt-neutral-bg); color: var(--pt-neutral-ink); border-color: var(--pt-neutral-line); }

/* ---- Split payments: one row per site ----------------------------------------------------------- */
[b-amringejda] tr.pt-child-row > td {
    background: var(--pt-surface-alt);
    border-bottom: 0;
    padding-top: .45rem;
    padding-bottom: .45rem;
    vertical-align: middle;
}

[b-amringejda] tr.pt-child-row--last > td {
    padding-bottom: .9rem;
}

[b-amringejda] .pt-child-merchant {
    position: relative;
    padding-left: 2.1rem !important;
}

[b-amringejda] .pt-child-merchant::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: -.5rem;
    bottom: 50%;
    width: .6rem;
    border-left: 1.5px solid var(--pt-line-strong);
    border-bottom: 1.5px solid var(--pt-line-strong);
    border-bottom-left-radius: 6px;
}

[b-amringejda] .pt-child-name {
    font-weight: 600;
    color: var(--pt-ink);
    font-size: .85rem;
}

[b-amringejda] .pt-child-merchant-sub {
    display: block;
    font-size: .75rem;
    color: var(--pt-ink-3);
}

/* ---- Footer ---------------------------------------------------------------------------------- */
[b-amringejda] .pt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    color: var(--pt-ink-2);
}

/* ---- Narrow screens -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    [b-amringejda] .pt-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    [b-amringejda] .pt-detail-side {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--pt-line);
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .pt-dates[b-amringejda] { width: 100%; }
    .pt-dates input[b-amringejda] { flex: 1 1 0; width: auto; }
}

/* ==========================================================================================
   Dark ground
   ==========================================================================================
   Token-only, for the reason given at the top of this file: a `::deep` rule prefixed with
   html[data-bs-theme="dark"] would get Blazor's scope attribute rewritten onto <html> and match
   nothing. Redefining the scale on .pt-page re-grounds every rule above it at once.

   Not an inversion of the light values — the ink scale is re-measured against the dark surface, and
   the pill fills move to low-saturation tints (a light pill fill on a dark row glares and pulls the
   eye away from the amounts, which are what this grid is read for). */
html[data-bs-theme="dark"] .pt-page[b-amringejda] {
    --pt-ink: #e8edf5;         /* primary text — ~13:1 on --pt-surface */
    --pt-ink-2: #b3bdcc;       /* secondary text — ~8:1 */
    --pt-ink-3: #8e99a9;       /* labels / de-emphasized — ~5:1 */
    --pt-line: #2b3441;
    --pt-line-strong: #3c4757;
    --pt-surface: #1a212b;
    --pt-surface-alt: #202836;
    --pt-hover: #263346;
    --pt-accent: #6ea8fe;      /* lifted so it still reads as interactive on the dark ground */
    --pt-on-accent: #10161d;   /* dark text on a light accent fill */

    --pt-head-bg: #202836;
    --pt-head-hover-bg: #26303f;
    --pt-highlight-bg: #3a2f13;
    --pt-highlight-edge: #e5a54b;
    --pt-chip-bg: #2b3441;

    --pt-ok-bg: #14321f;       --pt-ok-ink: #7ddba4;       --pt-ok-line: #245c37;
    --pt-info-bg: #12303f;     --pt-info-ink: #7fc8ec;     --pt-info-line: #245b74;
    --pt-warn-bg: #37290f;     --pt-warn-ink: #e6b566;     --pt-warn-line: #6b4f1c;
    --pt-bad-bg: #3a1a19;      --pt-bad-ink: #f09b96;      --pt-bad-line: #6d2e2b;
    --pt-neutral-bg: #262c35;  --pt-neutral-ink: #b6bdc7;  --pt-neutral-line: #3d4551;

    --pt-danger: #c94436;
    --pt-danger-hover: #de5344;

    --pt-info-ink-strong: #aadcf6;
    --pt-note-bg: #172232;
    --pt-note-line: #2a3b52;
}
/* /Components/Pages/Admin/ReconcileSettings.razor.rz.scp.css */
/* Reconciliation — status first (is the deposit check working, when does it run next), then the schedule.
   The one drawn thing is the day strip: the viewer's today as a bar, shaded where the job may run, ticked
   where it will, with a marker for now. It is what turns "RunWindowStartHourUtc = 2" into something a person
   can check at a glance. Colours from wwwroot/app.css. */

.rc-head[b-lqygtff679] {
    margin-bottom: 1rem;
}

.rc-head h1[b-lqygtff679] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rc-sub[b-lqygtff679] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    max-width: 80ch;
}

.rc-meta[b-lqygtff679] {
    margin-top: 0.15rem;
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
}

.rc-meta a[b-lqygtff679] {
    margin-left: 0.25rem;
}

/* ---- Status --------------------------------------------------------------------------------------- */

.rc-status[b-lqygtff679] {
    margin-bottom: 1rem;
    border-left: 4px solid var(--swan-surface-line);
}

.rc-status--ok[b-lqygtff679] { border-left-color: var(--swan-ok-line); }
.rc-status--warn[b-lqygtff679] { border-left-color: var(--swan-warn-line); }
.rc-status--bad[b-lqygtff679] { border-left-color: var(--swan-bad-line); }
.rc-status--info[b-lqygtff679] { border-left-color: var(--swan-info-line); }

.rc-status-top[b-lqygtff679] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.rc-status-line[b-lqygtff679] {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    font-size: 1.05rem;
    font-weight: 600;
    max-width: 70ch;
}

.rc-status-line[b-lqygtff679]  svg {
    width: 18px;
    height: 18px;
    flex: none;
    transform: translateY(3px);
}

.rc-status--ok .rc-status-line[b-lqygtff679]  svg { color: var(--swan-ok-ink); }
.rc-status--warn .rc-status-line[b-lqygtff679]  svg { color: var(--swan-warn-ink); }
.rc-status--bad .rc-status-line[b-lqygtff679] { color: var(--swan-bad-ink); }
.rc-status--info .rc-status-line[b-lqygtff679]  svg { color: var(--swan-info-ink); }

.rc-facts[b-lqygtff679] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem 1.5rem;
    margin: 1rem 0 0;
}

.rc-facts dt[b-lqygtff679] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.rc-facts dd[b-lqygtff679] {
    margin: 0;
    font-size: 0.92rem;
}

.rc-outcome[b-lqygtff679] {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

.rc-warn[b-lqygtff679],
.rc-run[b-lqygtff679] {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    font-size: 0.86rem;
}

.rc-warn[b-lqygtff679] { color: var(--swan-warn-ink); }

.rc-warn[b-lqygtff679]  svg,
.rc-run[b-lqygtff679]  svg {
    width: 14px;
    height: 14px;
    flex: none;
    transform: translateY(2px);
}

.rc-run[b-lqygtff679] {
    margin-top: 0.85rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.45rem;
    border: 1px solid;
}

.rc-run a[b-lqygtff679] {
    margin-left: 0.25rem;
}

.rc-run--ok[b-lqygtff679] {
    background: var(--swan-ok-tint);
    border-color: var(--swan-ok-line);
    color: var(--swan-ok-ink);
}

.rc-run--bad[b-lqygtff679] {
    background: var(--swan-bad-tint);
    border-color: var(--swan-bad-line);
    color: var(--swan-bad-ink);
}

/* ---- Groups and rows ------------------------------------------------------------------------------ */

.rc-group[b-lqygtff679] {
    margin-bottom: 1rem;
}

.rc-group-title[b-lqygtff679] {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.85rem;
}

.rc-switch[b-lqygtff679] {
    margin-bottom: 0.5rem;
}

.rc-switch .form-check-label[b-lqygtff679] {
    font-weight: 600;
}

.rc-row[b-lqygtff679] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--swan-surface-line);
}

.rc-group-title + .rc-row[b-lqygtff679] {
    border-top: 0;
    padding-top: 0;
}

.rc-row > label[b-lqygtff679],
.rc-label[b-lqygtff679] {
    font-weight: 600;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .rc-row[b-lqygtff679] {
        grid-template-columns: 9rem minmax(0, 1fr);
        align-items: center;
        column-gap: 1rem;
    }

    .rc-row > .rc-help[b-lqygtff679],
    .rc-row[b-lqygtff679]  .rc-error {
        grid-column: 2;
    }

    .rc-row > .rc-label[b-lqygtff679] {
        align-self: start;
        padding-top: 0.15rem;
    }
}

.rc-pair[b-lqygtff679] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rc-input[b-lqygtff679] {
    width: 11rem;
}

.rc-input input[b-lqygtff679] {
    font-variant-numeric: tabular-nums;
}

.rc-hours .form-check[b-lqygtff679] {
    margin-bottom: 0.25rem;
}

.rc-between[b-lqygtff679] {
    margin: 0.35rem 0 0 1.5rem;
}

.rc-between .form-select[b-lqygtff679] {
    width: auto;
    min-width: 12rem;
}

.rc-help[b-lqygtff679] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
    max-width: 65ch;
}

.rc-help--warn[b-lqygtff679] {
    color: var(--swan-warn-ink);
}

[b-lqygtff679] .rc-error {
    font-size: 0.82rem;
    color: var(--swan-bad-ink);
}

/* ---- Day strip ------------------------------------------------------------------------------------ */

.rc-day[b-lqygtff679] {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--swan-surface-line);
}

.rc-day-caption[b-lqygtff679] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
}

.rc-strip[b-lqygtff679] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(48, 1fr);
    height: 2.25rem;
    border-radius: 0.45rem;
    overflow: hidden;
    background: var(--bs-tertiary-bg);
    box-shadow: inset 0 0 0 1px var(--swan-surface-line);
}

/* The info tint alone sat too close to the bar's ground in dark mode, so the open hours get their own
   stronger fill; the ticks (info ink) still read clearly on top of it in both themes. */
.rc-strip[b-lqygtff679] {
    --rc-open: #b9d8ef;
}

html[data-bs-theme="dark"] .rc-strip[b-lqygtff679] {
    --rc-open: #245b74;
}

.rc-cell.is-open[b-lqygtff679] {
    background: var(--rc-open);
}

/* A faint rule every three hours, so the eye can count along the bar. */
.rc-cell:nth-child(6n)[b-lqygtff679] {
    box-shadow: inset -1px 0 0 var(--swan-surface-line);
}

.rc-tick[b-lqygtff679] {
    position: absolute;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--swan-info-ink);
}

.rc-now[b-lqygtff679] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: var(--swan-warn-ink);
}

.rc-now span[b-lqygtff679] {
    position: absolute;
    top: 0.1rem;
    left: 4px;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--swan-warn-ink);
}

.rc-scale[b-lqygtff679] {
    position: relative;
    height: 1.2rem;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
}

.rc-scale span[b-lqygtff679] {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

.rc-scale span:first-child[b-lqygtff679] {
    transform: none;
}

.rc-scale span:last-child[b-lqygtff679] {
    transform: translateX(-100%);
}

.rc-legend[b-lqygtff679] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

.rc-key[b-lqygtff679] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 0.2rem;
}

.rc-key + .rc-key[b-lqygtff679],
.rc-legend .rc-key--tick[b-lqygtff679] {
    margin-left: 0.75rem;
}

.rc-key--open[b-lqygtff679] {
    background: var(--swan-info-tint);
    box-shadow: inset 0 0 0 1px var(--swan-info-line);
}

.rc-key--tick[b-lqygtff679] {
    width: 3px;
    background: var(--swan-info-ink);
}

/* ---- Returns choice ------------------------------------------------------------------------------- */

.rc-choices[b-lqygtff679] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.rc-choice[b-lqygtff679] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.55rem;
    cursor: pointer;
}

.rc-choice .form-check-input[b-lqygtff679] {
    flex: none;
    margin-top: 0.2rem;
}

.rc-choice.is-chosen[b-lqygtff679] {
    border-color: var(--swan-tab-on-bg);
    box-shadow: inset 0 0 0 1px var(--swan-tab-on-bg);
}

.rc-choice-body[b-lqygtff679] {
    display: grid;
    gap: 0.25rem;
    font-size: 0.86rem;
}

.rc-choice-body span[b-lqygtff679] {
    color: var(--bs-secondary-color);
}
/* /Components/Pages/Admin/Reversals.razor.rz.scp.css */
/* Reversals — operational console. Follows the same token conventions as the Users/audit-log redesign
   (--bs-* theme variables, so the page tracks the AppStack light theme without a second stylesheet) and
   reuses their pager chrome verbatim. */

/* ---- Header ------------------------------------------------------------------------------------ */

.rev-head[b-ken6edjt1k] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.rev-head h1[b-ken6edjt1k] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rev-head[b-ken6edjt1k]  .rev-head-icon {
    width: 24px;
    height: 24px;
    color: var(--bs-primary, #3b7ddd);
    opacity: 0.9;
}

.rev-sub[b-ken6edjt1k] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.9rem;
    max-width: 44rem;
}

.rev-sub a[b-ken6edjt1k] {
    text-decoration: none;
}

.rev-stats[b-ken6edjt1k] {
    display: flex;
    gap: 1.5rem;
}

.rev-stat[b-ken6edjt1k] {
    text-align: right;
    line-height: 1.15;
}

.rev-stat-value[b-ken6edjt1k] {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.rev-stat-value--warn[b-ken6edjt1k] { color: var(--swan-warn-ink); }

.rev-stat-label[b-ken6edjt1k] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #6c757d);
}

.rev-loading[b-ken6edjt1k] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ---- Toolbar ----------------------------------------------------------------------------------- */

.rev-toolbar[b-ken6edjt1k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.rev-search[b-ken6edjt1k] {
    position: relative;
    flex: 1 1 240px;
    min-width: 200px;
}

.rev-search[b-ken6edjt1k]  .rev-search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--bs-secondary-color, #6c757d);
    pointer-events: none;
    z-index: 2;
}

.rev-search .form-control[b-ken6edjt1k] {
    padding-left: 2.2rem;
    border-radius: 8px;
}

.rev-filter-select[b-ken6edjt1k] {
    flex: 0 1 180px;
    border-radius: 8px;
}

.rev-date[b-ken6edjt1k] {
    flex: 0 1 150px;
    border-radius: 8px;
}

.rev-clear[b-ken6edjt1k] {
    padding: 0.1rem 0.25rem;
    font-size: 0.82rem;
    text-decoration: none;
}

.rev-result-line[b-ken6edjt1k] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

/* ---- Empty state --------------------------------------------------------------------------------- */

.rev-empty[b-ken6edjt1k] {
    text-align: center;
    padding: 3.5rem 1rem;
    border: 1px dashed var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.rev-empty[b-ken6edjt1k]  .rev-empty-icon {
    width: 28px;
    height: 28px;
    color: var(--bs-secondary-color, #adb5bd);
    margin-bottom: 0.5rem;
}

/* ---- Table --------------------------------------------------------------------------------------- */

.rev-table-card[b-ken6edjt1k] {
    overflow: hidden;
    transition: opacity .1s ease;
}

.rev-table-card.is-loading[b-ken6edjt1k] {
    opacity: 0.5;
    pointer-events: none;
}

[b-ken6edjt1k] .rev-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

[b-ken6edjt1k] .rev-table td {
    vertical-align: middle;
}

.rev-merchant[b-ken6edjt1k] {
    font-weight: 600;
}

.rev-payer[b-ken6edjt1k] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

.rev-amount[b-ken6edjt1k] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rev-feeback[b-ken6edjt1k] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rev-when[b-ken6edjt1k] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

.rev-by[b-ken6edjt1k] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
}

.rev-payer[b-ken6edjt1k],
.rev-reason[b-ken6edjt1k] {
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rev-reason[b-ken6edjt1k] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.85rem;
}

.rev-fee-cell[b-ken6edjt1k] {
    white-space: nowrap;
}

.rev-fee-amount[b-ken6edjt1k] {
    font-variant-numeric: tabular-nums;
}

/* ---- Fee-status pill ----------------------------------------------------------------------------- */

.fee-pill[b-ken6edjt1k] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    margin-top: 0.15rem;
}

.fee-pill--outstanding[b-ken6edjt1k] {
    background: color-mix(in srgb, #d9820a 16%, transparent);
    color: var(--swan-warn-ink);
}

.fee-pill--paid[b-ken6edjt1k] {
    background: color-mix(in srgb, #1f9d6b 14%, transparent);
    color: var(--swan-ok-ink);
}

.fee-pill--waived[b-ken6edjt1k] {
    background: var(--bs-tertiary-bg, #f1f3f5);
    color: var(--bs-secondary-color, #6c757d);
}

/* ---- Type badge ---------------------------------------------------------------------------------- */

.rev-type[b-ken6edjt1k] {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.rev-type--ach[b-ken6edjt1k] {
    background: color-mix(in srgb, #7b61c9 13%, transparent);
    color: var(--swan-info-ink);
}

.rev-type--card[b-ken6edjt1k] {
    background: var(--bs-tertiary-bg, #f1f3f5);
    color: var(--bs-secondary-color, #495057);
}

/* ---- Row actions --------------------------------------------------------------------------------- */

.rev-actions[b-ken6edjt1k] {
    white-space: nowrap;
}

.rev-actions-row[b-ken6edjt1k] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rev-view[b-ken6edjt1k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--bs-secondary-color, #adb5bd);
    transition: background-color .12s ease, color .12s ease;
}

.rev-view:hover[b-ken6edjt1k] {
    background: var(--bs-tertiary-bg, #f1f3f5);
    color: var(--bs-primary, #3b7ddd);
}

.rev-actions[b-ken6edjt1k]  .rev-view-chevron {
    width: 16px;
    height: 16px;
}

.confirm-inline[b-ken6edjt1k] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
}

.confirm-inline-q[b-ken6edjt1k] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-body-color, #212529);
}

/* ---- Pager (shared chrome with the users/audit-log redesign) ------------------------------------- */

.rev-pager[b-ken6edjt1k] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
}

.page-btn[b-ken6edjt1k],
.page-num[b-ken6edjt1k] {
    min-width: 34px;
    height: 34px;
    padding: 0 0.6rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #495057);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

.page-btn:hover:not(:disabled)[b-ken6edjt1k],
.page-num:hover:not(.is-current)[b-ken6edjt1k] {
    border-color: var(--bs-primary, #3b7ddd);
    color: var(--bs-primary, #3b7ddd);
}

.page-btn:disabled[b-ken6edjt1k] {
    opacity: 0.45;
    cursor: default;
}

.page-num.is-current[b-ken6edjt1k] {
    background: var(--bs-primary, #3b7ddd);
    border-color: var(--bs-primary, #3b7ddd);
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.page-gap[b-ken6edjt1k] {
    padding: 0 0.15rem;
    color: var(--bs-secondary-color, #6c757d);
}

.page-btn:focus-visible[b-ken6edjt1k],
.page-num:focus-visible[b-ken6edjt1k] {
    outline: 2px solid var(--bs-primary, #3b7ddd);
    outline-offset: 1px;
}

/* ---- Responsive: shed lower-priority columns as width shrinks ------------------------------------- */

@media (max-width: 1100px) {
    .rev-table th:nth-child(8)[b-ken6edjt1k],
    [b-ken6edjt1k] .rev-table td:nth-child(8) { display: none; } /* Reason */
}

@media (max-width: 920px) {
    .rev-table th:nth-child(9)[b-ken6edjt1k],
    [b-ken6edjt1k] .rev-table td:nth-child(9) { display: none; } /* By */
}

@media (max-width: 780px) {
    .rev-table th:nth-child(5)[b-ken6edjt1k],
    [b-ken6edjt1k] .rev-table td:nth-child(5) { display: none; } /* Fee returned */
}
/* /Components/Pages/Admin/SiteDetail.razor.rz.scp.css */
/* Site detail — the full record of one site: what it needs to take payments (or the evidence that it does),
   its policy, its identity, and the destructive actions, each in its own card. Colours follow wwwroot/app.css. */

.sd-head[b-g9eze2xf3g] {
    margin-bottom: 1rem;
}

.sd-head h1[b-g9eze2xf3g] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sd-status[b-g9eze2xf3g] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.sd-status[b-g9eze2xf3g]  svg {
    width: 13px;
    height: 13px;
}

.sd-status--live[b-g9eze2xf3g] { color: var(--swan-ok-ink); }
.sd-status--off[b-g9eze2xf3g] { color: var(--bs-secondary-color); }

.sd-status--needs[b-g9eze2xf3g] {
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    border: 1px solid var(--swan-warn-line);
    background: var(--swan-warn-tint);
    color: var(--swan-warn-ink);
}

.sd-sub[b-g9eze2xf3g] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
}

.sd-warn[b-g9eze2xf3g] {
    color: var(--swan-warn-ink);
    font-size: 0.9rem;
}

.sd-empty[b-g9eze2xf3g] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

.sd-card[b-g9eze2xf3g] {
    margin-bottom: 1rem;
}

.sd-card-title[b-g9eze2xf3g] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin-bottom: 0.75rem;
}

.sd-note[b-g9eze2xf3g] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
    max-width: 75ch;
}

.sd-evidence[b-g9eze2xf3g] {
    font-size: 0.9rem;
}

.sd-evidence[b-g9eze2xf3g]  svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

.sd-evidence--bad[b-g9eze2xf3g] {
    color: var(--swan-bad-ink);
    font-weight: 600;
}

.sd-check[b-g9eze2xf3g] {
    font-size: 0.88rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.sd-check[b-g9eze2xf3g]  svg {
    width: 14px;
    height: 14px;
    flex: none;
    transform: translateY(2px);
}

.sd-check--accepted[b-g9eze2xf3g] { color: var(--swan-ok-ink); }
.sd-check--rejected[b-g9eze2xf3g] { color: var(--swan-bad-ink); font-weight: 600; }
.sd-check--inconclusive[b-g9eze2xf3g] { color: var(--bs-secondary-color); }

.sd-grid[b-g9eze2xf3g] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1rem;
}

.sd-grid .form-label[b-g9eze2xf3g],
.sd-changeid .form-label[b-g9eze2xf3g] {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.sd-actions[b-g9eze2xf3g] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.sd-result[b-g9eze2xf3g] {
    font-size: 0.85rem;
    color: var(--swan-ok-ink);
}

.sd-replace[b-g9eze2xf3g] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bs-border-color);
}

.sd-siteid[b-g9eze2xf3g] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
}

.sd-label[b-g9eze2xf3g] {
    font-size: 0.8rem;
    font-weight: 600;
}

.sd-changeid[b-g9eze2xf3g] {
    flex-basis: 100%;
    max-width: 420px;
}

.quiet-btn[b-g9eze2xf3g] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-g9eze2xf3g] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.sd-danger[b-g9eze2xf3g] {
    border-color: var(--swan-bad-line);
}

.sd-danger .sd-card-title[b-g9eze2xf3g] {
    color: var(--swan-bad-ink);
}

.sd-danger-row[b-g9eze2xf3g] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.sd-danger-row:last-of-type[b-g9eze2xf3g] {
    border-bottom: 0;
}
/* /Components/Pages/Admin/Sites.razor.rz.scp.css */
/* Sites — an operated screen, worked top to bottom. A backlog of sites without credentials is the
   normal state during rollout, so it is said once (a count and one sentence) and the rows stay quiet: a row
   only speaks when it differs from its neighbours. Colour is spent on problems and on the one primary action.

   Colours come from two places, both of which follow the colour mode: --bs-* for chrome and the vivid solid
   marks, and --swan-*-ink / -tint for semantic TEXT and fills. Bootstrap's own *-text-emphasis / *-bg-subtle
   families are deliberately absent — AppStack's dark build leaves them at light-ground values, so they render
   near-black on the dark page. See the palette in wwwroot/app.css. */

/* ---- header ---- */

.sr-head[b-zgywk9vuo9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.sr-head h1[b-zgywk9vuo9] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sr-sub[b-zgywk9vuo9],
.sr-counts[b-zgywk9vuo9] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.sr-counts[b-zgywk9vuo9] {
    font-variant-numeric: tabular-nums;
}

/* ---- app cards ---- */
/* One card per app: live count, a bar, one health line. The card is a toggle filter (aria-pressed), so the
   selected one is filled the same way as a selected tab. */

.sr-apps[b-zgywk9vuo9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sr-app[b-zgywk9vuo9] {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.6rem;
    background: var(--swan-surface);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.sr-app:hover[b-zgywk9vuo9] {
    border-color: var(--swan-tab-on-bg);
}

.sr-app.is-selected[b-zgywk9vuo9] {
    border-color: var(--swan-tab-on-bg);
    box-shadow: inset 0 0 0 1px var(--swan-tab-on-bg), 0 1px 3px rgba(15, 26, 43, 0.12);
}

.sr-app-pick[b-zgywk9vuo9] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem 0.7rem;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    border-radius: 0.6rem;
}

.sr-app-pick:focus-visible[b-zgywk9vuo9] {
    outline: 2px solid var(--swan-tab-on-bg);
    outline-offset: 2px;
}

.sr-app-top[b-zgywk9vuo9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    min-width: 0;
}

.sr-app-name[b-zgywk9vuo9] {
    font-weight: 600;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.sr-app.is-selected .sr-app-name[b-zgywk9vuo9] {
    color: var(--swan-accent-ink);
}

.sr-app-progress[b-zgywk9vuo9] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
}

.sr-app-bar[b-zgywk9vuo9] {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: var(--swan-tab-track);
    overflow: hidden;
}

.sr-app-bar > span[b-zgywk9vuo9] {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--swan-ok-ink);
}

.sr-app-health[b-zgywk9vuo9] {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-top: 0.1rem;
}

.sr-app-health[b-zgywk9vuo9]  svg {
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 0.1rem;
}

.sr-app-health--ok[b-zgywk9vuo9]   { color: var(--swan-ok-ink); font-weight: 500; }
.sr-app-health--idle[b-zgywk9vuo9] { color: var(--bs-secondary-color); }
.sr-app-health--warn[b-zgywk9vuo9] { color: var(--swan-warn-ink); font-weight: 600; }
.sr-app-health--bad[b-zgywk9vuo9]  { color: var(--swan-bad-ink); font-weight: 600; }
.sr-app-health--off[b-zgywk9vuo9]  { color: var(--bs-secondary-color); }

/* Pushed to the card's foot, so every card's link lines up whatever its health text says. */
.sr-app-pick[b-zgywk9vuo9] {
    flex: 1 1 auto;
}

.sr-app-more[b-zgywk9vuo9] {
    align-self: flex-start;
    margin: 0 0.9rem 0.7rem;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.sr-app--disabled .sr-app-name[b-zgywk9vuo9],
.sr-app--disabled .sr-app-bar[b-zgywk9vuo9] {
    opacity: 0.6;
}

.sr-disabled-tag[b-zgywk9vuo9] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex: none;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
}

.sr-disabled-tag[b-zgywk9vuo9]  svg {
    width: 11px;
    height: 11px;
}

.sr-explain[b-zgywk9vuo9] {
    max-width: 75ch;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.75rem;
}

/* ---- toolbar ---- */

.sr-toolbar[b-zgywk9vuo9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.sr-search[b-zgywk9vuo9] {
    position: relative;
    flex: 1 1 240px;
    min-width: 0;
    max-width: 360px;
}

.sr-search[b-zgywk9vuo9]  .sr-search-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.sr-search .form-control[b-zgywk9vuo9] {
    padding-left: 2rem;
}

.sr-app-select[b-zgywk9vuo9] {
    flex: 0 1 200px;
    width: auto;
}

.sr-clear[b-zgywk9vuo9] {
    text-decoration: none;
}

.sr-toolbar-end[b-zgywk9vuo9] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}

.quiet-btn[b-zgywk9vuo9] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-zgywk9vuo9] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.sr-queue-hint[b-zgywk9vuo9] {
    font-size: 0.85rem;
    color: var(--swan-warn-ink);
    margin-bottom: 0.6rem;
}

.sr-queue-summary[b-zgywk9vuo9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--swan-ok-ink);
    margin-bottom: 0.6rem;
}

.btn-close-sm[b-zgywk9vuo9] {
    width: 0.6rem;
    height: 0.6rem;
    background-size: 0.6rem;
}

/* ---- empty states ---- */

.sr-empty[b-zgywk9vuo9] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

/* ---- table ---- */

.sr-table-card[b-zgywk9vuo9] {
    overflow: hidden;
}

[b-zgywk9vuo9] .sr-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    vertical-align: middle;
}

.sr-sort[b-zgywk9vuo9] {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.sr-sort:hover[b-zgywk9vuo9] {
    color: var(--bs-body-color);
}

.sr-table td[b-zgywk9vuo9] {
    vertical-align: middle;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.sr-row[b-zgywk9vuo9] {
    cursor: pointer;
}

.sr-row:hover > td[b-zgywk9vuo9] {
    background: var(--bs-tertiary-bg);
}

.sr-row--open > td[b-zgywk9vuo9] {
    background: var(--bs-tertiary-bg);
    border-bottom-color: transparent;
}

/* The site name is the row's control: keyboard users reach the editor through it; the row click is a
   convenience for the mouse. Looks like the name, not a link, because every row is one. */
.sr-name[b-zgywk9vuo9] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--bs-body-color);
    font-weight: 600;
    text-align: left;
}

.sr-name:hover[b-zgywk9vuo9],
.sr-name:focus-visible[b-zgywk9vuo9] {
    color: var(--swan-accent-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sr-subline[b-zgywk9vuo9] {
    font-size: 0.74rem;
    color: var(--bs-secondary-color);
}

.sr-id-narrow[b-zgywk9vuo9] {
    display: none;
    font-family: var(--bs-font-monospace);
}

.sr-muted[b-zgywk9vuo9] {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    white-space: nowrap;
}

.sr-editor-row > td[b-zgywk9vuo9] {
    background: var(--bs-tertiary-bg);
    padding: 0 0.75rem 0.9rem;
}

/* ---- status labels (All view): icon + text, at most one coloured mark per row ---- */

.st[b-zgywk9vuo9] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.st[b-zgywk9vuo9]  svg {
    width: 13px;
    height: 13px;
}

.st--live[b-zgywk9vuo9] {
    color: var(--swan-ok-ink);
}

.st--disabled[b-zgywk9vuo9] {
    color: var(--bs-secondary-color);
}

.st--needs[b-zgywk9vuo9] {
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    border: 1px solid var(--swan-warn-line);
    background: var(--swan-warn-tint);
    color: var(--swan-warn-ink);
}

/* ---- narrow widths: hide what can be dropped, never scroll the page sideways ---- */

@media (max-width: 860px) {
    .col-app[b-zgywk9vuo9],
    .col-added[b-zgywk9vuo9] {
        display: none;
    }
}

@media (max-width: 640px) {
    .col-id[b-zgywk9vuo9] {
        display: none;
    }

    .sr-id-narrow[b-zgywk9vuo9] {
        display: block;
    }

    .sr-toolbar-end[b-zgywk9vuo9] {
        margin-left: 0;
    }

}
/* /Components/Pages/Admin/Tools/Diagnostics.razor.rz.scp.css */
/* System Health — one sentence that answers the question, then a plain list: what needs someone, what isn't set
   up here, what is working. The verdict is the one strong element; each row is a mark, a name and a sentence, with
   the fix and the way there kept beside it. Colours follow wwwroot/app.css. */

.sh-head[b-44b6f0wx6u] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
}

.sh-head h1[b-44b6f0wx6u] { font-weight: 700; letter-spacing: -0.01em; }

.sh-sub[b-44b6f0wx6u] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    max-width: 80ch;
}

.sh-wait[b-44b6f0wx6u] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 2rem 1rem;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.sh-wait-error[b-44b6f0wx6u] { color: var(--swan-bad-ink); }

/* ---- Verdict --------------------------------------------------------------------------------------- */

.sh-verdict[b-44b6f0wx6u] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--swan-surface-line);
    border-left-width: 5px;
    border-radius: 0.6rem;
    background: var(--swan-surface);
}

.sh-verdict[b-44b6f0wx6u]  svg {
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 0.15rem;
}

.sh-verdict-line[b-44b6f0wx6u] {
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.35;
    max-width: 60ch;
}

.sh-verdict-when[b-44b6f0wx6u] {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

.sh-verdict--ok[b-44b6f0wx6u] { border-left-color: var(--swan-ok-line); }
.sh-verdict--ok[b-44b6f0wx6u]  svg { color: var(--swan-ok-ink); }
.sh-verdict--idle[b-44b6f0wx6u] { border-left-color: var(--swan-info-line); }
.sh-verdict--idle[b-44b6f0wx6u]  svg { color: var(--swan-info-ink); }
.sh-verdict--warn[b-44b6f0wx6u] { border-left-color: var(--swan-warn-line); }
.sh-verdict--warn[b-44b6f0wx6u]  svg { color: var(--swan-warn-ink); }
.sh-verdict--bad[b-44b6f0wx6u] { border-left-color: var(--swan-bad-line); }
.sh-verdict--bad[b-44b6f0wx6u]  svg,
.sh-verdict--bad .sh-verdict-line[b-44b6f0wx6u] { color: var(--swan-bad-ink); }

/* ---- Groups and rows ------------------------------------------------------------------------------- */

.sh-group[b-44b6f0wx6u] { margin-bottom: 1.75rem; }

.sh-group-title[b-44b6f0wx6u] {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.6rem;
}

.sh-list[b-44b6f0wx6u] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.6rem;
    background: var(--swan-surface);
    overflow: hidden;
}

.sh-item[b-44b6f0wx6u] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--swan-surface-line);
}

.sh-item:first-child[b-44b6f0wx6u] { border-top: 0; }

@media (min-width: 768px) {
    .sh-item[b-44b6f0wx6u] { grid-template-columns: auto minmax(0, 1fr) auto; }
}

.sh-mark[b-44b6f0wx6u]  svg {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
}

.sh-item--ok .sh-mark[b-44b6f0wx6u] { color: var(--swan-ok-ink); }
.sh-item--idle .sh-mark[b-44b6f0wx6u] { color: var(--bs-secondary-color); }
.sh-item--warn .sh-mark[b-44b6f0wx6u] { color: var(--swan-warn-ink); }
.sh-item--bad .sh-mark[b-44b6f0wx6u] { color: var(--swan-bad-ink); }

.sh-name[b-44b6f0wx6u] { font-weight: 600; }

.sh-summary[b-44b6f0wx6u] {
    font-size: 0.9rem;
    max-width: 75ch;
}

.sh-item--bad .sh-summary[b-44b6f0wx6u] { color: var(--swan-bad-ink); }

.sh-detail[b-44b6f0wx6u] {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    overflow-wrap: anywhere;
    max-width: 90ch;
}

.sh-fix[b-44b6f0wx6u] {
    margin-top: 0.3rem;
    font-size: 0.86rem;
    color: var(--bs-secondary-color);
    max-width: 75ch;
}

.sh-side[b-44b6f0wx6u] {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.9rem;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .sh-side[b-44b6f0wx6u] {
        grid-column: 3;
        justify-content: flex-end;
        align-self: start;
        min-width: 9rem;
    }
}

.sh-ms[b-44b6f0wx6u] {
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sh-link[b-44b6f0wx6u] { white-space: nowrap; }

/* ---- This server ----------------------------------------------------------------------------------- */

.sh-host[b-44b6f0wx6u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem 1.5rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--swan-surface-line);
    border-radius: 0.6rem;
    background: var(--swan-surface);
}

.sh-host dt[b-44b6f0wx6u] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.sh-host dd[b-44b6f0wx6u] {
    margin: 0;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.sh-mono[b-44b6f0wx6u] {
    font-family: var(--bs-font-monospace);
    font-size: 0.82rem;
}

/* ---- Clear cached data ----------------------------------------------------------------------------- */

.sh-clear fieldset[b-44b6f0wx6u] {
    margin: 0;
    min-width: 0;
}

.sh-legend[b-44b6f0wx6u] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.sh-legend--warn[b-44b6f0wx6u] {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--swan-surface-line);
    color: var(--swan-warn-ink);
}

.sh-check[b-44b6f0wx6u] {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.3rem 0;
    cursor: pointer;
}

.sh-check .form-check-input[b-44b6f0wx6u] {
    flex: none;
    margin-top: 0.2rem;
}

.sh-check > span[b-44b6f0wx6u] {
    display: grid;
    gap: 0.05rem;
    font-size: 0.9rem;
}

.sh-check > span > span[b-44b6f0wx6u] {
    font-size: 0.84rem;
    color: var(--bs-secondary-color);
    max-width: 75ch;
}

.sh-clear-actions[b-44b6f0wx6u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.9rem;
    margin-top: 0.9rem;
}

.sh-clear-warn[b-44b6f0wx6u] {
    font-size: 0.85rem;
    color: var(--swan-warn-ink);
}
/* /Components/Pages/Admin/TrustedAppDetail.razor.rz.scp.css */
/* Trusted app detail — the UserDetail shape: header with the object's name and status, tabs, stacked cards.
   Overview answers "is this app done and healthy?"; Configuration holds one card per thing that can change,
   each saving only its own fields. Colours follow wwwroot/app.css. */

.td-head[b-56278zqnj3] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.td-identity[b-56278zqnj3] {
    min-width: 0;
}

.td-identity h1[b-56278zqnj3] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.td-status[b-56278zqnj3] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--swan-ok-ink);
}

.td-status--off[b-56278zqnj3] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--bs-secondary-color);
}

.td-status--off[b-56278zqnj3]  svg {
    width: 13px;
    height: 13px;
}

.td-sub[b-56278zqnj3] {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    word-break: break-all;
}

.td-sub code[b-56278zqnj3] {
    color: var(--bs-secondary-color);
    background: none;
}

.td-actions[b-56278zqnj3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quiet-btn[b-56278zqnj3] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.quiet-btn:hover[b-56278zqnj3] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.quiet-btn[b-56278zqnj3]  svg {
    width: 14px;
    height: 14px;
}

.td-confirm[b-56278zqnj3] {
    max-width: 75ch;
}

.td-empty[b-56278zqnj3] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

/* ---- overview ---- */

.td-progress[b-56278zqnj3] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.td-progress-text[b-56278zqnj3] {
    font-variant-numeric: tabular-nums;
}

.td-link[b-56278zqnj3] {
    color: var(--swan-accent-ink);
    text-decoration: none;
    font-size: 0.9rem;
}

.td-link:hover[b-56278zqnj3] {
    text-decoration: underline;
}

.td-card[b-56278zqnj3] {
    margin-bottom: 1rem;
}

.td-card-title[b-56278zqnj3] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin-bottom: 0.75rem;
}

.td-optional[b-56278zqnj3] {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--bs-secondary-color);
}

.td-note[b-56278zqnj3] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    max-width: 75ch;
}

.td-rows[b-56278zqnj3] {
    display: grid;
    grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
    gap: 0.55rem 1.25rem;
    margin: 0 0 0.75rem;
}

.td-rows dt[b-56278zqnj3] {
    font-weight: 600;
    font-size: 0.85rem;
}

.td-rows dd[b-56278zqnj3] {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.td-detail[b-56278zqnj3] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    margin-top: 0.15rem;
    overflow-wrap: anywhere;
}

/* ---- configuration ---- */

.td-grid[b-56278zqnj3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.td-span[b-56278zqnj3] {
    grid-column: 1 / -1;
}

.td-grid .form-label[b-56278zqnj3] {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.td-card-actions[b-56278zqnj3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.td-result[b-56278zqnj3] {
    font-size: 0.85rem;
    color: var(--swan-ok-ink);
}

.td-secret-state[b-56278zqnj3],
.td-reg-state[b-56278zqnj3] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

.td-secret-state[b-56278zqnj3] {
    margin-left: 0.4rem;
}

.td-reg-state[b-56278zqnj3] {
    font-weight: 600;
    color: var(--bs-body-color);
}

@media (max-width: 640px) {
    .td-rows[b-56278zqnj3] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.15rem;
    }

    .td-rows dd[b-56278zqnj3] {
        margin-bottom: 0.5rem;
    }

    .td-grid[b-56278zqnj3] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Admin/TrustedAppNew.razor.rz.scp.css */
.tn[b-p8itfcxck0] {
    max-width: 640px;
}

.tn h1[b-p8itfcxck0] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tn-sub[b-p8itfcxck0] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/TrustedApps.razor.rz.scp.css */
/* Trusted Apps list — same structure as the Users list: header, one table, a row opens the detail page. */

.ta-head[b-043wdvni1z] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.ta-head h1[b-043wdvni1z] {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ta-sub[b-043wdvni1z] {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    max-width: 70ch;
}

.ta-empty[b-043wdvni1z] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

.ta-table-card[b-043wdvni1z] {
    overflow: hidden;
}

[b-043wdvni1z] .ta-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.ta-table td[b-043wdvni1z] {
    vertical-align: middle;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.ta-row[b-043wdvni1z] {
    cursor: pointer;
}

.ta-name[b-043wdvni1z] {
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
}

.ta-name:hover[b-043wdvni1z],
.ta-name:focus-visible[b-043wdvni1z] {
    color: var(--swan-accent-ink);
    text-decoration: underline;
}

.ta-issuer[b-043wdvni1z] {
    font-family: var(--bs-font-monospace);
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    word-break: break-all;
}

.ta-num[b-043wdvni1z] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ta-health-label[b-043wdvni1z] {
    display: block;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
}

.ta-active[b-043wdvni1z] {
    font-size: 0.85rem;
}

.ta-disabled[b-043wdvni1z] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.ta-disabled[b-043wdvni1z]  svg {
    width: 13px;
    height: 13px;
}

.ta-row[b-043wdvni1z]  .ta-chevron {
    width: 16px;
    height: 16px;
    color: var(--bs-secondary-color);
}
/* /Components/Pages/Admin/UserDetail.razor.rz.scp.css */
/* User detail. One person, read the way an operator asks about them: their standing with money first (the
   sentence under the name), what they've paid on the left, the account itself on the right. Colours come
   from the shared --swan-* tokens in app.css, which already carry their own dark-mode values. */

/* ---- Empty / loading states ---------------------------------------------------------------------- */

.user-empty[b-0l4m5lddqb] {
    text-align: center;
    padding: 3.5rem 1rem;
    border: 1px dashed var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.user-empty[b-0l4m5lddqb]  .user-empty-icon {
    width: 28px;
    height: 28px;
    color: var(--bs-secondary-color, #adb5bd);
    margin-bottom: 0.5rem;
}

.user-loading[b-0l4m5lddqb] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ---- Header ------------------------------------------------------------------------------------ */

.user-detail-head[b-0l4m5lddqb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.user-detail-identity[b-0l4m5lddqb] {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
}

.min-w-0[b-0l4m5lddqb] { min-width: 0; }

.user-avatar-lg[b-0l4m5lddqb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    background: #3b7ddd;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* Staff wear a ring, the same mark as on the Users list. */
.user-avatar-lg--staff[b-0l4m5lddqb] {
    background: transparent;
    color: var(--swan-accent-ink);
    box-shadow: inset 0 0 0 2.5px var(--swan-accent-ink);
}

.ud-email[b-0l4m5lddqb] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.ud-chips[b-0l4m5lddqb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.ud-chip[b-0l4m5lddqb] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
}

.ud-chip--role[b-0l4m5lddqb] { background: var(--swan-info-tint); color: var(--swan-info-ink); }
.ud-chip--bad[b-0l4m5lddqb]  { background: var(--swan-bad-tint); color: var(--swan-bad-ink); box-shadow: inset 0 0 0 1px var(--swan-bad-line); }
.ud-chip--off[b-0l4m5lddqb]  { background: var(--bs-tertiary-bg, #f1f3f5); color: var(--bs-secondary-color, #6c757d); box-shadow: inset 0 0 0 1px var(--swan-surface-line); }

.user-actions[b-0l4m5lddqb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.confirm-inline[b-0l4m5lddqb] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--bs-body-color, #495057);
    background: var(--bs-tertiary-bg, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
}

/* ---- The standing sentence ------------------------------------------------------------------------ */
/* Set larger than body text and kept to a reading measure: it is the answer, so it reads like one. */
.ud-story[b-0l4m5lddqb] {
    max-width: 62ch;
    margin: 0 0 1.5rem calc(52px + 0.9rem);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--bs-emphasis-color, var(--bs-body-color));
}

.ud-story-flag[b-0l4m5lddqb] {
    font-weight: 600;
}

/* Razor drops the whitespace between these spans, so the gap is set here. */
.ud-story-flag[b-0l4m5lddqb] { margin-right: 0.3em; }

.ud-story-owed[b-0l4m5lddqb] {
    display: inline;
    margin-left: 0.3em;
    color: var(--swan-warn-ink);
    font-weight: 500;
}

.ud-story-owed[b-0l4m5lddqb]  svg {
    width: 15px;
    height: 15px;
    vertical-align: -2px;
}

/* ---- Two-column layout ----------------------------------------------------------------------------- */

.ud-layout[b-0l4m5lddqb] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    gap: 1rem;
    align-items: start;
}

.ud-main[b-0l4m5lddqb] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.ud-card[b-0l4m5lddqb] {
    margin: 0;
    padding: 1rem 1.25rem;
}

.ud-card-head[b-0l4m5lddqb] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.ud-title[b-0l4m5lddqb] {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
}

.ud-subtitle[b-0l4m5lddqb] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    margin: 1.25rem 0 0.4rem;
}

.ud-more[b-0l4m5lddqb] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

.ud-empty[b-0l4m5lddqb],
.ud-note[b-0l4m5lddqb] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ud-empty[b-0l4m5lddqb] { margin: 0.25rem 0 0; }

/* Rows: payments, carts, activity */
.ud-list[b-0l4m5lddqb] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ud-list li + li[b-0l4m5lddqb],
.ud-list li + li.ud-row[b-0l4m5lddqb] {
    border-top: 1px solid var(--swan-surface-line);
}

.ud-row[b-0l4m5lddqb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
}

a.ud-row:hover[b-0l4m5lddqb],
a.ud-row:focus-visible[b-0l4m5lddqb] {
    background: var(--bs-tertiary-bg, #f8f9fa);
    color: inherit;
}

/* The site-wide dark link rule (app.css) would paint these whole rows blue; they keep the body ink. */
html[data-bs-theme] a.ud-row:not(.btn):not(.sidebar-link)[b-0l4m5lddqb] {
    color: var(--bs-body-color);
}

.ud-row-main[b-0l4m5lddqb] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1 1 auto;
}

.ud-row-title[b-0l4m5lddqb] {
    font-size: 0.875rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ud-row-sub[b-0l4m5lddqb] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

.ud-row-amount[b-0l4m5lddqb] {
    flex: none;
    min-width: 5.5rem;
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
}

/* Payment state, with the same words and dot shapes as the Transactions money trail. */
.ud-state[b-0l4m5lddqb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: none;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ud-state[b-0l4m5lddqb]::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: currentColor;
}

.ud-state--done[b-0l4m5lddqb] { color: var(--swan-ok-ink); }
.ud-state--back[b-0l4m5lddqb] { color: var(--swan-info-ink); }
.ud-state--bad[b-0l4m5lddqb]  { color: var(--swan-bad-ink); }
.ud-state--bad[b-0l4m5lddqb]::before { border-radius: 2px; }
.ud-state--wait[b-0l4m5lddqb] { color: var(--swan-warn-ink); }
.ud-state--wait[b-0l4m5lddqb]::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }

.ud-table[b-0l4m5lddqb] {
    font-size: 0.8125rem;
}

.ud-table th[b-0l4m5lddqb] {
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.ud-table td[b-0l4m5lddqb] {
    font-variant-numeric: tabular-nums;
}

/* ---- Side column: the account ------------------------------------------------------------------- */

.ud-side[b-0l4m5lddqb] {
    margin: 0;
    padding: 0.25rem 1.25rem;
}

.ud-side-section[b-0l4m5lddqb] {
    padding: 1rem 0;
}

.ud-side-section + .ud-side-section[b-0l4m5lddqb] {
    border-top: 1px solid var(--swan-surface-line);
}

.ud-side-section .ud-title[b-0l4m5lddqb] {
    margin-bottom: 0.6rem;
}

.ud-facts[b-0l4m5lddqb] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ud-facts dt[b-0l4m5lddqb] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.ud-facts dd[b-0l4m5lddqb] {
    margin: 0;
    font-size: 0.875rem;
}

.ud-wrap[b-0l4m5lddqb] {
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

.ud-bad[b-0l4m5lddqb] {
    color: var(--swan-bad-ink);
    font-weight: 600;
}

/* ---- Roles --------------------------------------------------------------------------------------- */

.role-toggle-list[b-0l4m5lddqb] {
    display: flex;
    flex-direction: column;
}

.role-toggle-row[b-0l4m5lddqb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
}

.role-toggle-row + .role-toggle-row[b-0l4m5lddqb] {
    border-top: 1px solid var(--swan-surface-line);
}

.role-toggle-name[b-0l4m5lddqb] {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
    cursor: pointer;
}

/* ---- Saved payment methods ---------------------------------------------------------------------- */

.pm-list[b-0l4m5lddqb] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.pm-row[b-0l4m5lddqb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.875rem;
}

.pm-label[b-0l4m5lddqb] {
    font-weight: 500;
}

/* ---- Narrow screens ---------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .ud-layout[b-0l4m5lddqb] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ud-story[b-0l4m5lddqb] {
        margin-left: 0;
    }
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
/* Users — list page. Follows the same token conventions as the audit-log redesign (--bs-* theme
   variables, so the page tracks the AppStack light theme without a second stylesheet) and reuses its
   pager chrome verbatim. */

/* ---- Header ------------------------------------------------------------------------------------ */

.user-head[b-kt5sauwwzm] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.user-sub[b-kt5sauwwzm] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.875rem;
}

.user-loading[b-kt5sauwwzm] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* ---- Toolbar ----------------------------------------------------------------------------------- */

.user-toolbar[b-kt5sauwwzm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.user-search[b-kt5sauwwzm] {
    position: relative;
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 30rem;
}

.user-search[b-kt5sauwwzm]  .user-search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--bs-secondary-color, #6c757d);
    pointer-events: none;
    z-index: 2;
}

.user-search .form-control[b-kt5sauwwzm] {
    padding-left: 2.2rem;
    border-radius: 8px;
}

.user-filter-select[b-kt5sauwwzm] {
    flex: 0 1 190px;
    border-radius: 8px;
}

.user-clear[b-kt5sauwwzm] {
    padding: 0.1rem 0.25rem;
    font-size: 0.82rem;
    text-decoration: none;
}

.user-result-line[b-kt5sauwwzm] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

/* ---- Empty state --------------------------------------------------------------------------------- */

.user-empty[b-kt5sauwwzm] {
    text-align: center;
    padding: 3.5rem 1rem;
    border: 1px dashed var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8f9fa);
}


/* ---- Table --------------------------------------------------------------------------------------- */

.user-table-card[b-kt5sauwwzm] {
    overflow: hidden;
    transition: opacity .1s ease;
}

.user-table-card.is-loading[b-kt5sauwwzm] {
    opacity: 0.5;
    pointer-events: none;
}

[b-kt5sauwwzm] .user-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

[b-kt5sauwwzm] .user-table td {
    vertical-align: middle;
}

[b-kt5sauwwzm] .user-row {
    cursor: pointer;
}

/* A disabled account stays findable but reads as switched off. */
[b-kt5sauwwzm] .user-row--off .user-avatar-sm,
[b-kt5sauwwzm] .user-row--off .user-cell-name {
    opacity: 0.6;
}

.user-cell[b-kt5sauwwzm] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.user-avatar-sm[b-kt5sauwwzm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: #3b7ddd;
    color: #fff;
    font-weight: 600;
    font-size: 0.72rem;
}

/* Staff wear a ring, so the two kinds of account tell apart at a glance in the Everyone tab. */
.user-avatar-sm--staff[b-kt5sauwwzm] {
    background: transparent;
    color: var(--swan-accent-ink);
    box-shadow: inset 0 0 0 2px var(--swan-accent-ink);
}

.user-cell-text[b-kt5sauwwzm] {
    min-width: 0;
}

.user-cell-name[b-kt5sauwwzm] {
    font-weight: 600;
    color: var(--bs-emphasis-color, var(--bs-body-color));
    font-size: 0.9rem;
    text-decoration: none;
}

.user-cell-name:hover[b-kt5sauwwzm],
.user-cell-name:focus-visible[b-kt5sauwwzm] {
    text-decoration: underline;
}

.user-cell-email[b-kt5sauwwzm] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

.user-cell-roles[b-kt5sauwwzm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.user-chip[b-kt5sauwwzm] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: var(--swan-info-tint);
    color: var(--swan-info-ink);
}

.user-chip--off[b-kt5sauwwzm] {
    background: var(--bs-tertiary-bg, #f1f3f5);
    color: var(--bs-secondary-color, #6c757d);
    box-shadow: inset 0 0 0 1px var(--swan-surface-line);
}

.user-source[b-kt5sauwwzm] {
    font-size: 0.8125rem;
}

.user-paid[b-kt5sauwwzm] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.user-paid-count[b-kt5sauwwzm] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
}

.user-date[b-kt5sauwwzm] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

.user-none[b-kt5sauwwzm] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* ---- Pager (shared chrome with the audit-log redesign) ------------------------------------------- */

.user-pager[b-kt5sauwwzm] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
}

.page-btn[b-kt5sauwwzm],
.page-num[b-kt5sauwwzm] {
    min-width: 34px;
    height: 34px;
    padding: 0 0.6rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #495057);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

.page-btn:hover:not(:disabled)[b-kt5sauwwzm],
.page-num:hover:not(.is-current)[b-kt5sauwwzm] {
    border-color: var(--bs-primary, #3b7ddd);
    color: var(--bs-primary, #3b7ddd);
}

.page-btn:disabled[b-kt5sauwwzm] {
    opacity: 0.45;
    cursor: default;
}

.page-num.is-current[b-kt5sauwwzm] {
    background: var(--bs-primary, #3b7ddd);
    border-color: var(--bs-primary, #3b7ddd);
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.page-gap[b-kt5sauwwzm] {
    padding: 0 0.15rem;
    color: var(--bs-secondary-color, #6c757d);
}

.page-btn:focus-visible[b-kt5sauwwzm],
.page-num:focus-visible[b-kt5sauwwzm] {
    outline: 2px solid var(--bs-primary, #3b7ddd);
    outline-offset: 1px;
}

/* ---- Responsive ------------------------------------------------------------------------------- */

@media (max-width: 860px) {
    .user-table th:nth-child(2)[b-kt5sauwwzm],
    [b-kt5sauwwzm] .user-table td:nth-child(2) { display: none; }
}

@media (max-width: 640px) {
    .user-table th:nth-child(5)[b-kt5sauwwzm],
    [b-kt5sauwwzm] .user-table td:nth-child(5) { display: none; }
}

/* ---- Add user dialog ----------------------------------------------------------------------------- */

.add-user-intro[b-kt5sauwwzm] {
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6c757d);
    max-width: 60ch;
}

.add-user-optional[b-kt5sauwwzm] {
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* The one choice with a consequence outside SwanPay (an email lands in their inbox), set apart from the
   fields, and its help text says what happens either way. */
.add-user-welcome[b-kt5sauwwzm] {
    padding: 0.75rem 0.9rem;
    border-radius: 0.5rem;
    background: var(--swan-info-tint);
    border: 1px solid var(--swan-info-line);
}

.add-user-welcome .add-user-help[b-kt5sauwwzm] {
    padding-left: 1.6rem;
}

.add-user-help[b-kt5sauwwzm] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Pages/Admin/WebhookLog.razor.rz.scp.css */
/* Payment alerts log — same quiet-list conventions as Sites: one table, status in words plus tone, detail
   opened in place. Colours follow wwwroot/app.css. */

.wl-head[b-31pcik3s42] { margin-bottom: 1rem; }
.wl-head h1[b-31pcik3s42] { font-weight: 700; letter-spacing: -0.01em; }
.wl-sub[b-31pcik3s42] { color: var(--bs-secondary-color); font-size: 0.9rem; max-width: 80ch; }

.wl-toolbar[b-31pcik3s42] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.wl-search[b-31pcik3s42] { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 0; }

.wl-search[b-31pcik3s42]  .wl-search-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.wl-search .form-control[b-31pcik3s42] { padding-left: 2rem; }
.wl-app[b-31pcik3s42] { flex: 0 1 220px; width: auto; }

.quiet-btn[b-31pcik3s42] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-31pcik3s42] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

.wl-empty[b-31pcik3s42] {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
}

.wl-card[b-31pcik3s42] { overflow: hidden; }

[b-31pcik3s42] .wl-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.wl-table td[b-31pcik3s42] { vertical-align: middle; padding-top: 0.55rem; padding-bottom: 0.55rem; font-size: 0.88rem; }
.wl-row[b-31pcik3s42] { cursor: pointer; }
.wl-row:hover > td[b-31pcik3s42], .wl-row--open > td[b-31pcik3s42] { background: var(--bs-tertiary-bg); }

.wl-open[b-31pcik3s42] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--bs-body-color);
    font-weight: 600;
}

.wl-open:hover[b-31pcik3s42], .wl-open:focus-visible[b-31pcik3s42] { color: var(--swan-accent-ink); text-decoration: underline; }

.wl-muted[b-31pcik3s42] { color: var(--bs-secondary-color); font-size: 0.85rem; }
.wl-num[b-31pcik3s42] { font-variant-numeric: tabular-nums; }

.wl-error[b-31pcik3s42] {
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-secondary-color);
}

.wl-st[b-31pcik3s42] { font-weight: 600; font-size: 0.82rem; }
.wl-st--ok[b-31pcik3s42] { color: var(--swan-ok-ink); }
.wl-st--warn[b-31pcik3s42] { color: var(--swan-warn-ink); }
.wl-st--bad[b-31pcik3s42] { color: var(--swan-bad-ink); }
.wl-st--idle[b-31pcik3s42] { color: var(--bs-secondary-color); }

.wl-detail-row > td[b-31pcik3s42] { background: var(--bs-tertiary-bg); padding: 0 0.75rem 0.9rem; }

.wl-detail[b-31pcik3s42] {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--swan-surface);
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.wl-dl[b-31pcik3s42] {
    display: grid;
    grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
    gap: 0.3rem 1rem;
    margin: 0;
    font-size: 0.85rem;
}

.wl-dl dt[b-31pcik3s42] { font-weight: 600; }
.wl-dl dd[b-31pcik3s42] { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.wl-error-full[b-31pcik3s42] { color: var(--swan-bad-ink); }

.wl-payload[b-31pcik3s42] {
    max-height: 20rem;
    overflow: auto;
    font-size: 0.78rem;
    padding: 0.6rem;
    margin: 0.4rem 0 0;
    border-radius: 6px;
    background: var(--bs-tertiary-bg);
}

.wl-actions[b-31pcik3s42] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

@media (max-width: 640px) {
    .wl-error[b-31pcik3s42] { display: none; }
}
/* /Components/Pages/Checkout/Checkout.razor.rz.scp.css */
/* ============================================================
   Checkout — refined, trustworthy fintech.
   A clear numbered 3-step flow (Contact → Payment → Review),
   payment methods as selectable tiles, strong typographic
   hierarchy, and a single-column-until-desktop layout.

   Guidance applied (Baymard / Stripe / Shopify / WCAG):
   - body text ≥ 16px, helper text ≥ 14px, line-height ≥ 1.4
   - high-contrast ink for headings; muted slate for support
   - 48px input height & tap targets (also stops iOS zoom)
   - icons are rendered by the <FeatherIcon> child component, so the
     <svg> carries that component's scope, not this one — reach it
     via ::deep (NOT feather.replace, which mutates the DOM out from
     under Blazor and breaks diffing of any toggled subtree).

   EVERY colour below must resolve through a token declared on .co-wrap, with no literal left in a
   rule. CheckoutLayout's shell follows the colour mode (--bs-body-bg), so a hardcoded light palette
   here put near-black ink and white cards on a #202634 ground — the page title vanished outright.
   Routing everything through tokens is what lets the dark block at the foot of this file re-ground
   the page by redefining values, and it is also why those overrides are token-only: a `::deep`
   selector prefixed with html[data-bs-theme=dark] would have Blazor's scope attribute rewritten
   onto <html> instead of .co-wrap, and silently match nothing.
   ============================================================ */

.co-wrap[b-6znz5uzw1u] {
    /* Design tokens — defined here so they cascade to every
       descendant, including ::deep child-component content. */
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #5b6b81;
    --faint: #94a3b8;
    --line: #e7ecf3;
    --line-strong: #d3dce8;
    --line-hover: #b9c6d8;
    --surface: #ffffff;
    --surface-sunken: #f7f8fa;   /* an unselectable tile */
    --field: #ffffff;            /* input / tile ground (recessed from the card in dark) */
    --placeholder: #aab4c2;
    --hover: #fafcfe;
    --brand: #1b6ec2;
    --brand-ink: #155a9c;
    --brand-deep: #0b4f8a;
    --on-brand: #ffffff;         /* ink on a solid --brand fill (the Default pill) */
    --tint: #f1f7fd;
    --tint-2: #e4eefb;
    --tint-soft: #fbfdff;        /* the dashed new-card well */
    --tab-active: rgba(27, 110, 194, .06);
    --danger: #d62d2d;
    --danger-tint: #fdf1f1;
    --danger-line: #f3cccc;
    --danger-ink: #8f2020;
    --danger-ink-2: #9a4444;
    --warn-ink: #9a3412;
    --success: #0e9f6e;
    --on-success: #ffffff;       /* the check inside the done badge */
    --disabled-bg: #e8edf3;
    --disabled-ink: #9aa6b4;
    --badge-bg: #0f172a;         /* quantity dot — deliberately the highest-contrast mark on the card */
    --badge-ink: #ffffff;
    --avatar-bg: linear-gradient(150deg, var(--tint-2), #d5e4f8);
    --avatar-line: #cfe0f6;
    --summary-bg: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    --focus-ring: 0 0 0 3px rgba(27, 110, 194, .16);
    --focus-ring-strong: 0 0 0 3px rgba(27, 110, 194, .18);
    --focus-ring-danger: 0 0 0 3px rgba(214, 45, 45, .14);
    --pay-btn-bg: linear-gradient(180deg, #2079cf 0%, var(--brand) 55%, var(--brand-ink) 100%);
    --pay-btn-ink: #ffffff;
    --pay-btn-shadow: 0 6px 18px -8px rgba(27, 110, 194, .7), 0 1px 2px rgba(15, 23, 42, .12);
    --pay-btn-shadow-hover: 0 10px 24px -8px rgba(27, 110, 194, .8), 0 1px 2px rgba(15, 23, 42, .12);
    --radius: 16px;
    --radius-sm: 11px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -16px rgba(15, 23, 42, .18);

    max-width: 1080px;
    margin: 0 auto;
    color: var(--ink-2);
    -webkit-font-smoothing: antialiased;
}

/* ---- Page header ---- */
.co-head[b-6znz5uzw1u] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.co-title[b-6znz5uzw1u] {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.co-secure[b-6znz5uzw1u] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted);
}

.co-secure[b-6znz5uzw1u]  svg.feather {
    width: 15px;
    height: 15px;
    color: var(--success);
}

/* ============================================================
   Step cards
   ============================================================ */
.co-steps[b-6znz5uzw1u] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.co-step[b-6znz5uzw1u] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.co-step.is-open[b-6znz5uzw1u] {
    border-color: var(--line-strong);
}

/* Step header (the clickable summary bar) */
.co-step-head[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 1.05rem 1.25rem;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}

.co-step-head--static[b-6znz5uzw1u] {
    cursor: default;
}

.co-step-head:hover:not(.co-step-head--static)[b-6znz5uzw1u] {
    background: var(--hover);
}

/* Numbered badge — turns into a green check once the step is satisfied */
.co-step-num[b-6znz5uzw1u] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tint-2);
    color: var(--brand-ink);
    font-size: 0.95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.co-step-num.is-done[b-6znz5uzw1u] {
    background: var(--success);
    color: var(--on-success);
}

.co-step-num.is-done[b-6znz5uzw1u]  svg.feather {
    width: 1em;
    height: 1em;
    stroke-width: 3;
}

.co-step-heading[b-6znz5uzw1u] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.co-step-title[b-6znz5uzw1u] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.co-step-value[b-6znz5uzw1u] {
    font-size: 0.92rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-step-tail[b-6znz5uzw1u] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.co-step-edit[b-6znz5uzw1u] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
}

/* CSS chevron — crisp at any size, rotates on open */
.co-caret[b-6znz5uzw1u] {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--faint);
    border-bottom: 2px solid var(--faint);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease, border-color .18s ease;
}

.co-step.is-open .co-caret[b-6znz5uzw1u] {
    transform: translateY(2px) rotate(-135deg);
    border-color: var(--brand);
}

/* Step body */
.co-step-body[b-6znz5uzw1u] {
    padding: 0.35rem 1.25rem 1.4rem;
    animation: co-reveal-b-6znz5uzw1u .22s ease;
}

.co-field[b-6znz5uzw1u] {
    margin-bottom: 0.25rem;
}

/* ---- Form fields (reach child-component inputs via ::deep) ---- */
.co-step-body[b-6znz5uzw1u]  .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 0.4rem;
}

.co-step-body[b-6znz5uzw1u]  .form-control,
.co-step-body[b-6znz5uzw1u]  .form-select {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.7rem 0.9rem;
    min-height: 48px;
    color: var(--ink);
    background-color: var(--field);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.co-step-body[b-6znz5uzw1u]  .form-control::placeholder {
    color: var(--placeholder);
}

.co-step-body[b-6znz5uzw1u]  .form-control:focus,
.co-step-body[b-6znz5uzw1u]  .form-select:focus {
    border-color: var(--brand);
    box-shadow: var(--focus-ring);
}

.co-step-body[b-6znz5uzw1u]  .form-control.is-invalid {
    border-color: var(--danger);
}

.co-step-body[b-6znz5uzw1u]  .form-control.is-invalid:focus {
    box-shadow: var(--focus-ring-danger);
}

/* Card-number brand chip (rendered by CardNumberField) */
.co-step-body[b-6znz5uzw1u]  .input-group-text {
    border: 1.5px solid var(--line-strong);
    border-left: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--tint);
    color: var(--brand-ink);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.co-step-body[b-6znz5uzw1u]  .input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Helper / hint text */
.co-hint[b-6znz5uzw1u] {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0.5rem 0 0;
}

.co-hint--switch[b-6znz5uzw1u] {
    margin-top: 0.9rem;
}

.co-step-body a[b-6znz5uzw1u] {
    color: var(--brand-ink);
    font-weight: 600;
}

/* Inline text-button styled as a link (guest switch, policy links, set default) */
.co-linkbtn[b-6znz5uzw1u] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.co-linkbtn:hover:not(:disabled)[b-6znz5uzw1u] {
    color: var(--brand-deep);
}

.co-linkbtn:disabled[b-6znz5uzw1u] {
    color: var(--faint);
    cursor: default;
    text-decoration: none;
}

/* ---- Inline notes (info / error) ---- */
.co-note[b-6znz5uzw1u] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.5;
}

.co-note[b-6znz5uzw1u]  svg.feather {
    flex: none;
    margin-top: 0.1rem;
    width: 1.05em;
    height: 1.05em;
}

.co-note--info[b-6znz5uzw1u] {
    background: var(--tint);
    border: 1px solid var(--tint-2);
    color: var(--ink-2);
}

.co-note--info[b-6znz5uzw1u]  svg.feather {
    color: var(--brand);
}

.co-note--error[b-6znz5uzw1u] {
    background: var(--danger-tint);
    border: 1px solid var(--danger-line);
    color: var(--danger-ink);
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.co-note--error[b-6znz5uzw1u]  svg.feather {
    color: var(--danger);
}

.co-note-title[b-6znz5uzw1u] {
    font-weight: 600;
}

.co-note-sub[b-6znz5uzw1u] {
    margin-top: 0.2rem;
    color: var(--danger-ink-2);
}

.co-note-link[b-6znz5uzw1u] {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.875rem;
}

/* Sign-in note shown while the contact step is collapsed: it renders outside the (absent) step
   body, so this wrapper carries the step's horizontal padding itself. */
.co-step-tailnote[b-6znz5uzw1u] {
    padding: 0 1.25rem 1.15rem;
}

.co-step-tailnote .co-note[b-6znz5uzw1u] {
    margin-top: 0;
}

/* ============================================================
   Payment method tiles
   ============================================================ */
.co-pay-list[b-6znz5uzw1u] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.co-pay[b-6znz5uzw1u] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--field);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.co-pay:hover[b-6znz5uzw1u] {
    border-color: var(--line-hover);
}

.co-pay.is-selected[b-6znz5uzw1u] {
    border-color: var(--brand);
    background: var(--tint);
    box-shadow: 0 0 0 1px var(--brand) inset;
}

.co-pay:focus-within[b-6znz5uzw1u] {
    box-shadow: var(--focus-ring-strong);
}

/* ACH turned off for this cart: the saved bank account stays visible for context but can't be
   selected (radio disabled). Dashed, muted, and un-hoverable so it reads as unavailable. */
.co-pay.is-disabled[b-6znz5uzw1u],
.co-pay.is-disabled:hover[b-6znz5uzw1u] {
    cursor: not-allowed;
    background: var(--surface-sunken);
    border-color: var(--line-strong);
    border-style: dashed;
    box-shadow: none;
}

.co-pay.is-disabled .co-pay-name[b-6znz5uzw1u],
.co-pay.is-disabled .co-pay-mark[b-6znz5uzw1u],
.co-pay.is-disabled[b-6znz5uzw1u]  svg.feather {
    opacity: 0.55;
}

.co-pay-sub--warn[b-6znz5uzw1u] {
    color: var(--warn-ink);
    font-weight: 500;
}

/* Real radio kept for accessibility, visually replaced by .co-pay-mark */
.co-pay-radio[b-6znz5uzw1u] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.co-pay-mark[b-6znz5uzw1u] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--line-strong);
    background: var(--field);
    transition: border-color .15s ease;
}

.co-pay.is-selected .co-pay-mark[b-6znz5uzw1u] {
    border-color: var(--brand);
    background: radial-gradient(circle at center, var(--brand) 0 6px, var(--field) 7px);
}

.co-pay[b-6znz5uzw1u]  svg.feather {
    width: 22px;
    height: 22px;
    color: var(--muted);
    flex: none;
}

.co-pay.is-selected[b-6znz5uzw1u]  svg.feather {
    color: var(--brand-ink);
}

.co-pay-info[b-6znz5uzw1u] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    flex: 1 1 auto;
    min-width: 0;
}

.co-pay-line[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.co-pay-name[b-6znz5uzw1u] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.co-pay-sub[b-6znz5uzw1u] {
    font-size: 0.85rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.co-tag[b-6znz5uzw1u] {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--brand);
    color: var(--on-brand);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.co-pay-actions[b-6znz5uzw1u] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.co-pay-actions .co-linkbtn[b-6znz5uzw1u] {
    font-size: 0.85rem;
    white-space: nowrap;
}

.co-iconbtn[b-6znz5uzw1u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--faint);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.co-iconbtn:hover:not(:disabled)[b-6znz5uzw1u] {
    background: var(--danger-tint);
}

.co-iconbtn--danger:hover:not(:disabled)[b-6znz5uzw1u] {
    color: var(--danger);
}

.co-iconbtn:disabled[b-6znz5uzw1u] {
    opacity: 0.45;
    cursor: default;
}

.co-iconbtn[b-6znz5uzw1u]  svg.feather {
    width: 18px;
    height: 18px;
    color: inherit;
}

/* New-card fields revealed under the tiles */
.co-newcard[b-6znz5uzw1u] {
    margin-top: 0.9rem;
    padding: 1rem 1rem 0.4rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--tint-soft);
}

.co-newcard--bare[b-6znz5uzw1u] {
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Card vs. bank-account (ACH) selector shown above the new-method fields */
.co-method-tabs[b-6znz5uzw1u] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.co-method-tab[b-6znz5uzw1u] {
    flex: 1 1 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--field);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.co-method-tab.is-active[b-6znz5uzw1u] {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--tab-active);
}

.co-ach-help[b-6znz5uzw1u] {
    background: none;
    border: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--brand);
    text-decoration: underline;
    cursor: pointer;
}

/* ============================================================
   Step 3 — Review & pay
   ============================================================ */
.co-step--pay[b-6znz5uzw1u] {
    border-color: var(--line-strong);
}

.co-terms[b-6znz5uzw1u] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink-2);
    cursor: pointer;
}

.co-terms[b-6znz5uzw1u]  .form-check-input {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.12rem;
    border: 1.5px solid var(--line-strong);
    cursor: pointer;
}

.co-terms[b-6znz5uzw1u]  .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.co-terms[b-6znz5uzw1u]  .form-check-input:focus {
    box-shadow: var(--focus-ring-strong);
    border-color: var(--brand);
}

/* The big pay action */
.co-pay-btn[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--pay-btn-ink);
    background: var(--pay-btn-bg);
    box-shadow: var(--pay-btn-shadow);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}

.co-pay-btn:hover:not(:disabled)[b-6znz5uzw1u] {
    box-shadow: var(--pay-btn-shadow-hover);
    transform: translateY(-1px);
}

.co-pay-btn:active:not(:disabled)[b-6znz5uzw1u] {
    transform: translateY(0);
}

.co-pay-btn:disabled[b-6znz5uzw1u] {
    background: var(--disabled-bg);
    color: var(--disabled-ink);
    box-shadow: none;
    cursor: not-allowed;
}

.co-pay-btn[b-6znz5uzw1u]  svg.feather {
    width: 1.05em;
    height: 1.05em;
}

.co-payfoot[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.co-payfoot[b-6znz5uzw1u]  svg.feather {
    width: 0.95em;
    height: 0.95em;
    color: var(--success);
}

/* ============================================================
   Order summary
   ============================================================ */
.summary-panel[b-6znz5uzw1u] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.summary-panel--mobile[b-6znz5uzw1u] {
    padding: 1.1rem 1.25rem;
}

.summary-sticky[b-6znz5uzw1u] {
    position: sticky;
    top: 1.5rem;
    background: var(--summary-bg);
}

.summary-heading[b-6znz5uzw1u] {
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* Line items */
.summary-item[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.summary-item:has(+ .summary-subtotal)[b-6znz5uzw1u] {
    border-bottom: 0;
}

.summary-item-media[b-6znz5uzw1u] {
    position: relative;
    flex: 0 0 auto;
}

.summary-item-avatar[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--avatar-bg);
    border: 1px solid var(--avatar-line);
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.summary-item-qtybadge[b-6znz5uzw1u] {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--badge-bg);
    color: var(--badge-ink);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid var(--surface);
}

.summary-item-info[b-6znz5uzw1u] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.summary-item-name[b-6znz5uzw1u] {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

.summary-item-desc[b-6znz5uzw1u] {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
    margin-top: 0.1rem;
}

.summary-item-qty[b-6znz5uzw1u] {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.summary-item-total[b-6znz5uzw1u] {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Vendor group breakout (multi-vendor carts) */
.summary-group-header[b-6znz5uzw1u] {
    margin-top: 0.6rem;
    padding-bottom: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand);
}

.summary-group-subtotal[b-6znz5uzw1u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 0.85rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid var(--line);
}

/* The last item in a vendor group sits above its subtotal, not the divider. */
.summary-item:has(+ .summary-group-subtotal)[b-6znz5uzw1u] {
    border-bottom: 0;
}

/* The final group's subtotal butts against the overall Subtotal row (which draws its own top border). */
.summary-group-subtotal:has(+ .summary-subtotal)[b-6znz5uzw1u] {
    border-bottom: 0;
}

/* Subtotal / fee rows */
.summary-subtotal[b-6znz5uzw1u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.summary-fee[b-6znz5uzw1u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.summary-fee-info[b-6znz5uzw1u] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

.summary-fee-info:hover[b-6znz5uzw1u] {
    color: var(--brand);
}

.summary-fee-info[b-6znz5uzw1u]  svg.feather {
    width: 13px;
    height: 13px;
    color: var(--faint);
}

/* Total */
.summary-total[b-6znz5uzw1u] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.7rem;
    padding-top: 0.9rem;
    border-top: 2px solid var(--line-strong);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.summary-total span:last-child[b-6znz5uzw1u] {
    font-size: 1.5rem;
    color: var(--brand-ink);
    letter-spacing: -0.01em;
}

/* Trust line at the foot of the summary */
.summary-secure[b-6znz5uzw1u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.2rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--muted);
}

.summary-secure[b-6znz5uzw1u]  svg.feather {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* ---- Mobile/tablet collapsible summary header ---- */
.summary-toggle[b-6znz5uzw1u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--brand-ink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.summary-toggle-label[b-6znz5uzw1u] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-toggle[b-6znz5uzw1u]  svg.feather {
    width: 18px;
    height: 18px;
    color: var(--brand);
}

.summary-caret[b-6znz5uzw1u] {
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}

.summary-caret.is-open[b-6znz5uzw1u] {
    transform: translateY(2px) rotate(-135deg);
}

.summary-toggle-total[b-6znz5uzw1u] {
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.summary-panel--mobile .summary-content[b-6znz5uzw1u] {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

/* ---- Default Bootstrap alert fallbacks (no-cart / not-found states) ---- */
.co-wrap > .alert[b-6znz5uzw1u] {
    border-radius: var(--radius-sm);
}

/* ============================================================
   Dark ground
   ============================================================
   Token-only, for the reason given at the top of this file. Not an inversion of the light values:
   the ink scale is re-measured against the dark card (#293042, the same --swan-surface the layout's
   header bar uses, so the chrome and the cards stay one surface), and the fields recess BELOW the
   card rather than sitting white on it — a white input on a dark card is the single loudest thing on
   the page and pulls the eye off the amounts.

   The blue also has to move. #1b6ec2 measures ~3:1 on the dark card, so `--brand` lifts to #6ea8fe
   (matching --swan-accent-ink in app.css) and the --brand-ink/--brand-deep "more emphasis" steps go
   LIGHTER instead of darker, since emphasis on a dark ground means more luminance, not less. The pay
   button keeps white-on-blue: it is the one element that should still read as a solid, saturated
   action, so its gradient is defined outright rather than derived from --brand. */
html[data-bs-theme="dark"] .co-wrap[b-6znz5uzw1u] {
    --ink: #e9eef7;              /* primary text — ~12:1 on --surface */
    --ink-2: #c9d2df;            /* body / labels — ~8.5:1 */
    --muted: #9aa7b8;            /* helper + summary rows — ~5.2:1 */
    --faint: #6f7b8c;            /* carets, idle icon buttons */
    --line: #363f52;
    --line-strong: #464f63;
    --line-hover: #5a6478;
    --surface: #293042;          /* = AppStack dark's --bs-card-bg */
    --surface-sunken: #232937;
    --field: #1f2634;
    --placeholder: #6f7b8c;
    --hover: #2f3749;
    --brand: #6ea8fe;
    --brand-ink: #9cc3ff;
    --brand-deep: #c2d9ff;
    --on-brand: #10192a;         /* dark ink on the light-blue pill */
    --tint: #22304a;
    --tint-2: #2c3d5c;
    --tint-soft: #232b3c;
    --tab-active: rgba(110, 168, 254, .16);
    --danger: #f3766f;
    --danger-tint: #351d1c;
    --danger-line: #6d322e;
    --danger-ink: #f7a49e;
    --danger-ink-2: #d5928c;
    --warn-ink: #e6b566;
    --success: #3ddc97;
    --on-success: #0c2b1e;       /* the check reads as a cut-out, not white-on-mint */
    --disabled-bg: #2f3749;
    --disabled-ink: #79808f;
    --badge-bg: #e9eef7;         /* the dot inverts with the ground and stays the loudest mark */
    --badge-ink: #16202e;
    --avatar-bg: linear-gradient(150deg, #2f4162, #26375a);
    --avatar-line: #3a4f76;
    --summary-bg: linear-gradient(180deg, #2c3448 0%, #272e3e 100%);
    --focus-ring: 0 0 0 3px rgba(110, 168, 254, .28);
    --focus-ring-strong: 0 0 0 3px rgba(110, 168, 254, .32);
    --focus-ring-danger: 0 0 0 3px rgba(243, 118, 111, .26);
    --pay-btn-bg: linear-gradient(180deg, #4f93f7 0%, #3b7fe3 55%, #2f6ecb 100%);
    --pay-btn-ink: #ffffff;
    --pay-btn-shadow: 0 6px 18px -8px rgba(0, 0, 0, .8), 0 1px 2px rgba(0, 0, 0, .4);
    --pay-btn-shadow-hover: 0 10px 24px -8px rgba(0, 0, 0, .9), 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -16px rgba(0, 0, 0, .7);
}

/* ============================================================
   Motion — staggered entrance, disabled for reduced-motion
   ============================================================ */
@keyframes co-reveal-b-6znz5uzw1u {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes co-rise-b-6znz5uzw1u {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.co-step[b-6znz5uzw1u],
.summary-sticky[b-6znz5uzw1u] {
    animation: co-rise-b-6znz5uzw1u .4s cubic-bezier(.22, 1, .36, 1) both;
}

.co-steps .co-step:nth-child(1)[b-6znz5uzw1u] { animation-delay: .02s; }
.co-steps .co-step:nth-child(2)[b-6znz5uzw1u] { animation-delay: .08s; }
.co-steps .co-step:nth-child(3)[b-6znz5uzw1u] { animation-delay: .14s; }
.summary-sticky[b-6znz5uzw1u] { animation-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
    .co-step[b-6znz5uzw1u],
    .summary-sticky[b-6znz5uzw1u],
    .co-step-body[b-6znz5uzw1u] {
        animation: none;
    }

    .co-caret[b-6znz5uzw1u],
    .summary-caret[b-6znz5uzw1u],
    .co-pay-btn[b-6znz5uzw1u],
    .co-step[b-6znz5uzw1u],
    .co-pay[b-6znz5uzw1u] {
        transition: none;
    }
}
/* /Components/Pages/Checkout/CheckoutResult.razor.rz.scp.css */
/* Result + account-setup cards — match the checkout's readable type scale and contrast.

   Same rule as Checkout.razor.css: every colour resolves through a token on .cr-wrap, because
   CheckoutLayout's ground follows the colour mode. The literals these replaced (#111827 headings,
   #1f2937 table cells) were invisible on the dark card. */
.cr-wrap[b-iwgwyrr2vc] {
    --ink: #111827;
    --ink-2: #1f2937;
    --muted: #475569;
    --faint: #64748b;
    --line: #e2e8f0;
    --shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

html[data-bs-theme="dark"] .cr-wrap[b-iwgwyrr2vc] {
    --ink: #e9eef7;
    --ink-2: #d5dce7;
    --muted: #a9b4c4;
    --faint: #9aa7b8;
    --line: #363f52;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.card[b-iwgwyrr2vc] {
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.card-body h2[b-iwgwyrr2vc] {
    color: var(--ink);
}

/* Lead text under the status icon */
.card-body > p.text-muted[b-iwgwyrr2vc] {
    font-size: 1.05rem;
    color: var(--muted) !important;
}

/* Detail table: 16px rows, higher-contrast labels than the default muted gray */
.table[b-iwgwyrr2vc] {
    font-size: 1rem;
}

.table th[b-iwgwyrr2vc],
.table td[b-iwgwyrr2vc] {
    padding: 0.6rem 0.25rem;
    vertical-align: middle;
}

.table th.text-muted[b-iwgwyrr2vc] {
    color: var(--muted) !important;
    font-weight: 500;
}

.table td[b-iwgwyrr2vc] {
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}

/* "Save your details for next time" prompt */
.card-body h3[b-iwgwyrr2vc] {
    color: var(--ink);
}

.card-body p.small[b-iwgwyrr2vc] {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--faint);
}

/* The status icon is a FeatherIcon (inline SVG). The old <i data-feather> needed feather.replace() from the
   admin bundle, which checkout pages no longer load. ::deep because the <svg> belongs to the child component. */
.result-icon[b-iwgwyrr2vc]  svg {
    width: 56px;
    height: 56px;
}
/* /Components/Shared/AddSiteDialog.razor.rz.scp.css */
/* Add-site dialog. Three questions in sequence rather than two columns of equal-weight boxes: hairlines mark
   where one question ends, and the only optional group is collapsed so an empty form shows what is actually
   required. Colours follow the conventions in wwwroot/app.css (--swan-*-ink for semantic text). */

.form-rule[b-qwsmum5qb7] {
    margin: 1.25rem 0;
    border-top: 1px solid var(--bs-border-color);
    opacity: 1; /* Bootstrap's <hr> is a 0.25-opacity currentColor rule — invisible on the dark card. */
}

.req[b-qwsmum5qb7] {
    color: var(--swan-warn-ink);
    font-weight: 600;
}

.quiet-btn[b-qwsmum5qb7] {
    border: 1px solid var(--bs-border-color);
    background-color: transparent;
    color: var(--bs-body-color);
}

.quiet-btn:hover[b-qwsmum5qb7] {
    border-color: var(--swan-accent-ink);
    color: var(--swan-accent-ink);
    background-color: transparent;
}

/* Reads as a control, not a heading: the caption carries the reason it is safe to leave shut. */
.disclosure[b-qwsmum5qb7] {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bs-body-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.disclosure:hover[b-qwsmum5qb7] {
    color: var(--swan-accent-ink);
}

.disclosure-caret[b-qwsmum5qb7] {
    font-family: var(--bs-font-monospace);
    width: 0.9rem;
    flex: none;
    color: var(--bs-secondary-color);
}

.disclosure-note[b-qwsmum5qb7] {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

/* Indented under the disclosure so the three fields read as its contents. */
.credential-group[b-qwsmum5qb7] {
    margin: 0.9rem 0 0 0.9rem;
    padding-left: 0.9rem;
    border-left: 2px solid var(--bs-border-color);
}

/* Two lines, only once a source is chosen — the boundary matters at the moment of copying, not before. */
.copy-note[b-qwsmum5qb7] {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--bs-secondary-color);
}

.copy-note .mark[b-qwsmum5qb7] {
    font-family: var(--bs-font-monospace);
    flex: none;
}

.copy-note-yes .mark[b-qwsmum5qb7] {
    color: var(--bs-success);
}

.copy-note-no .mark[b-qwsmum5qb7] {
    color: var(--swan-warn-ink);
}
/* /Components/Shared/CopyableId.razor.rz.scp.css */
.cid[b-wp6zbezeur] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.cid-text[b-wp6zbezeur] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #6c757d);
    background: none;
    padding: 0;
}

/* A full id (36 characters for a GUID) is wider than a phone; let it break rather than push its container. */
.cid--full[b-wp6zbezeur] {
    white-space: normal;
    min-width: 0;
}

.cid--full .cid-text[b-wp6zbezeur] {
    word-break: break-all;
}

.cid-copy[b-wp6zbezeur] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: var(--bs-secondary-color, #6c757d);
    opacity: 0.7;
}

.cid-copy:hover[b-wp6zbezeur],
.cid-copy:focus-visible[b-wp6zbezeur] {
    opacity: 1;
    background: var(--bs-tertiary-bg, #f1f3f5);
}

.cid-copy[b-wp6zbezeur]  svg {
    width: 13px;
    height: 13px;
}
/* /Components/Shared/Hint.razor.rz.scp.css */
/* Hover/focus hint glyph + description bubble. The bubble commits to an inverted fill so it reads as a
   distinct floating layer over the page — which means it flips with the colour mode (dark ink on a light
   page, light paper on a dark one) rather than being dark in both. */

.pt-hint[b-vt7t3rlikj] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.3rem;
    color: var(--bs-secondary-color); /* faint until hovered — present but never shouting */
    cursor: help;
    vertical-align: middle;
    border-radius: 50%;
    outline: none;
    transition: color .12s ease;
}

.pt-hint[b-vt7t3rlikj]  svg {
    width: 13px;
    height: 13px;
}

.pt-hint:hover[b-vt7t3rlikj],
.pt-hint:focus-visible[b-vt7t3rlikj] {
    color: var(--bs-primary);
}

.pt-hint:focus-visible[b-vt7t3rlikj] {
    box-shadow: 0 0 0 0.15rem rgba(47, 111, 237, .25);
}

/* ---- Bubble ---- */
.pt-hint-bubble[b-vt7t3rlikj] {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    z-index: 50;
    width: max-content;
    max-width: 250px;
    padding: 0.55rem 0.7rem;
    border-radius: 0.5rem;
    background: var(--bs-emphasis-color);
    color: var(--bs-body-bg);
    font-family: var(--bs-font-sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.45;
    /* Headers set uppercase / tracking / nowrap — reset all of it inside the bubble. */
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    text-align: left;
    box-shadow: 0 8px 24px rgba(27, 35, 51, .28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease;
}

.pt-hint:hover .pt-hint-bubble[b-vt7t3rlikj],
.pt-hint:focus-visible .pt-hint-bubble[b-vt7t3rlikj] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Upward-pointing caret, tucked under the top edge of the bubble. */
.pt-hint-bubble[b-vt7t3rlikj]::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--bs-emphasis-color);
}

/* ---- Edge-aware placement ---- */
.pt-hint--start .pt-hint-bubble[b-vt7t3rlikj] {
    left: 0;
    transform: translateY(-4px);
}
.pt-hint--start:hover .pt-hint-bubble[b-vt7t3rlikj],
.pt-hint--start:focus-visible .pt-hint-bubble[b-vt7t3rlikj] {
    transform: translateY(0);
}
.pt-hint--start .pt-hint-bubble[b-vt7t3rlikj]::before {
    left: 9px;
    transform: none;
}

.pt-hint--end .pt-hint-bubble[b-vt7t3rlikj] {
    left: auto;
    right: 0;
    transform: translateY(-4px);
}
.pt-hint--end:hover .pt-hint-bubble[b-vt7t3rlikj],
.pt-hint--end:focus-visible .pt-hint-bubble[b-vt7t3rlikj] {
    transform: translateY(0);
}
.pt-hint--end .pt-hint-bubble[b-vt7t3rlikj]::before {
    left: auto;
    right: 9px;
    transform: none;
}
/* /Components/Shared/RecordActivity.razor.rz.scp.css */
.ra-card[b-1cup66b9m0] {
    margin-bottom: 1rem;
}

.ra-title[b-1cup66b9m0] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
}

.ra-empty[b-1cup66b9m0],
.ra-more[b-1cup66b9m0] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.ra-list[b-1cup66b9m0] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ra-row[b-1cup66b9m0] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    padding: 0.45rem 0;
    border-top: 1px solid var(--bs-border-color);
}

.ra-row:first-child[b-1cup66b9m0] {
    border-top: 0;
}

.ra-main[b-1cup66b9m0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ra-label[b-1cup66b9m0] {
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ra-sensitive[b-1cup66b9m0] {
    display: inline-flex;
    color: var(--bs-secondary-color);
}

.ra-sensitive[b-1cup66b9m0]  svg {
    width: 12px;
    height: 12px;
}

.ra-actor[b-1cup66b9m0] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    overflow-wrap: anywhere;
}

.ra-when[b-1cup66b9m0] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ra-more[b-1cup66b9m0] {
    margin-top: 0.5rem;
}
/* /Components/Shared/SignalValue.razor.rz.scp.css */
.sig[b-oivyz1abso] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
}

.sig[b-oivyz1abso]  svg {
    width: 13px;
    height: 13px;
    flex: none;
}

.sig--ok[b-oivyz1abso] {
    color: var(--bs-body-color);
}

.sig--ok[b-oivyz1abso]  svg {
    color: var(--swan-ok-ink);
}

.sig--idle[b-oivyz1abso] {
    color: var(--bs-secondary-color);
}

.sig--warn[b-oivyz1abso] {
    color: var(--swan-warn-ink);
    font-weight: 600;
}

.sig--bad[b-oivyz1abso] {
    color: var(--swan-bad-ink);
    font-weight: 600;
}
/* /Components/Shared/SiteSetupEditor.razor.rz.scp.css */
/* Inline site setup editor. Sits in a table row under the site it edits, so it borrows the row's width and
   keeps its own chrome light: one accent border says "this row is open", nothing else competes. Colours
   follow wwwroot/app.css (--swan-*-ink for semantic text; no *-bg-subtle, which stays light in dark mode). */

.setup[b-syhm1jefyp] {
    border: 1px solid var(--swan-accent-ink);
    border-radius: 8px;
    background: var(--swan-surface);
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* On the site's own page the editor sits inside a card, so it drops its own border. */
.setup--embedded[b-syhm1jefyp] {
    border: 0;
    padding: 0;
    background: none;
}

.setup-open[b-syhm1jefyp] {
    margin-left: auto;
}

.setup-head[b-syhm1jefyp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.setup-heading[b-syhm1jefyp] {
    min-width: 0;
}

.setup-title[b-syhm1jefyp] {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.setup-app[b-syhm1jefyp] {
    font-weight: 400;
    color: var(--bs-secondary-color);
}

.setup-id[b-syhm1jefyp] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    word-break: break-all;
}

.setup-progress[b-syhm1jefyp] {
    flex: none;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    color: var(--bs-secondary-color);
}

.setup-grid[b-syhm1jefyp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 1.5rem;
}

.setup-section[b-syhm1jefyp] {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.setup-section legend[b-syhm1jefyp] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
    float: none;
    width: auto;
    padding: 0;
}

.setup-field[b-syhm1jefyp] {
    margin-bottom: 0.6rem;
}

.setup-field .form-label[b-syhm1jefyp] {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.setup-radios[b-syhm1jefyp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.setup-hint[b-syhm1jefyp] {
    font-size: 0.76rem;
    color: var(--swan-warn-ink);
    margin-top: 0.2rem;
}

.setup-note[b-syhm1jefyp] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

.setup-alert[b-syhm1jefyp] {
    margin: 0;
}

.setup-actions[b-syhm1jefyp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.setup-actions .btn-link[b-syhm1jefyp] {
    text-decoration: none;
}

.setup-result[b-syhm1jefyp] {
    margin: 0;
    padding-top: 0.6rem;
    border-top: 1px solid var(--bs-border-color);
    font-size: 0.8rem;
    color: var(--swan-ok-ink);
}

/* The processor rejected the login just entered: the one result line that must not read as success. */
.setup-result--warn[b-syhm1jefyp] {
    color: var(--swan-bad-ink);
    font-weight: 600;
}

/* The previous site's line, at the top while working down the queue: context, not news. */
.setup-result--previous[b-syhm1jefyp] {
    padding-top: 0;
    padding-bottom: 0.6rem;
    border-top: 0;
    border-bottom: 1px solid var(--bs-border-color);
}
