/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-shell[b-bih3wjewvv] {
    --admin-ease: var(--easing-enter, cubic-bezier(0.2, 0, 0, 1));
    --admin-sidebar-width: 16rem;
    --admin-sidebar-collapsed-width: 4rem;
    --admin-topbar-height: 2.5rem;
    --admin-mobile-topbar-height: 3.5rem;
    --admin-surface: var(--color-bg-surface, #ffffff);
    --admin-fg-primary: var(--color-fg-primary, #18181b);
    --admin-fg-secondary: var(--color-fg-secondary, var(--admin-fg-primary));
    --admin-fg-tertiary: var(--color-fg-tertiary, var(--admin-fg-secondary));
    --admin-canvas: var(--color-bg-canvas, color-mix(in srgb, var(--admin-surface) 95.5%, var(--admin-fg-primary)));
    --admin-border: var(--color-border-default, color-mix(in srgb, var(--admin-fg-primary) 12%, var(--admin-surface)));
    --admin-hover-bg: var(--color-state-layer-hover, color-mix(in srgb, var(--admin-fg-primary) 6%, transparent));
    --admin-badge-bg: var(--color-bg-surface-sunken, color-mix(in srgb, var(--admin-fg-primary) 9%, var(--admin-surface)));
    --admin-divider: color-mix(in srgb, var(--admin-fg-primary) 9%, transparent);
    --admin-accent: var(--color-bg-accent, var(--brand-primary-500, #840b55));
    --admin-on-accent: var(--color-fg-on-accent, var(--brand-on-primary, #ffffff));
    --admin-avatar-bg: var(--component-avatar-1-bg, var(--admin-accent));
    --admin-avatar-fg: var(--component-avatar-1-fg, var(--admin-on-accent));
    --admin-danger: var(--color-status-danger-fg, var(--admin-fg-primary));
    display: flex;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    overflow: hidden;
    background-color: var(--admin-canvas);
    color: var(--admin-fg-primary);
    font-family: var(--brand-font-body-family, Poppins), system-ui, -apple-system, sans-serif;
}

.admin-sidebar[b-bih3wjewvv] {
    position: sticky;
    top: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: var(--admin-sidebar-width);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--admin-canvas);
    transition: width 240ms var(--admin-ease);
}

.admin-shell.sidebar-collapsed .admin-sidebar[b-bih3wjewvv] {
    width: var(--admin-sidebar-collapsed-width);
    scrollbar-width: none;
}

.admin-shell.sidebar-collapsed .admin-sidebar[b-bih3wjewvv]::-webkit-scrollbar {
    display: none;
}

.admin-sidebar-header[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    height: 3rem;
    flex-shrink: 0;
    margin: 0.5rem 0;
    padding-inline: 1rem;
    transition: padding 240ms var(--admin-ease);
}

.admin-shell.sidebar-collapsed .admin-sidebar-header[b-bih3wjewvv] {
    padding-inline: 1.125rem;
}

.admin-sidebar-divider[b-bih3wjewvv] {
    height: 1px;
    flex-shrink: 0;
    margin: 0 1rem;
    background-color: var(--admin-border);
    transition: margin 240ms var(--admin-ease);
}

.admin-shell.sidebar-collapsed .admin-sidebar-divider[b-bih3wjewvv] {
    margin: 0 0.75rem;
}

.admin-sidebar-body[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0.25rem;
}

.admin-brand[b-bih3wjewvv] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
    color: var(--admin-fg-primary);
    text-decoration: none;
    border-radius: 0.375rem;
}

.admin-brand-icon[b-bih3wjewvv] {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
    object-fit: contain;
}

.admin-brand-fallback[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
    background-color: var(--admin-accent);
    color: var(--admin-on-accent);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.admin-brand:has(.admin-brand-icon) .admin-brand-fallback[b-bih3wjewvv] {
    display: none;
}

.admin-brand-name[b-bih3wjewvv] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    letter-spacing: var(--type-label-letter-spacing, 0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 160ms var(--admin-ease);
}

.admin-shell.sidebar-collapsed .admin-sidebar .admin-brand-name[b-bih3wjewvv],
.admin-shell.sidebar-collapsed .admin-sidebar .admin-nav-label[b-bih3wjewvv] {
    opacity: 0;
    pointer-events: none;
}

.admin-shell.sidebar-collapsed .admin-sidebar .admin-brand[b-bih3wjewvv] {
    gap: 0;
}

.admin-nav[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0.75rem;
}

.admin-shell.sidebar-collapsed .admin-sidebar .admin-nav[b-bih3wjewvv] {
    padding-inline: 0.75rem;
}

.admin-nav-link[b-bih3wjewvv] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 2rem;
    padding: 0.375rem 0.5rem;
    border-radius: var(--shape-radius-control, 0.5rem);
    color: var(--admin-fg-secondary);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    text-decoration: none;
    transition: background-color 120ms var(--admin-ease), color 120ms var(--admin-ease), box-shadow 120ms var(--admin-ease), gap 240ms var(--admin-ease);
}

.admin-shell.sidebar-collapsed .admin-sidebar .admin-nav-link[b-bih3wjewvv] {
    gap: 0;
    height: 2.5rem;
    padding: 0 0.75rem;
}

.admin-nav-link:hover[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
    color: var(--admin-fg-primary);
}

.admin-nav-link.active[b-bih3wjewvv] {
    background-color: var(--admin-surface);
    color: var(--admin-fg-primary);
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 0 0 1px var(--admin-border);
}

.admin-nav[b-bih3wjewvv]  .admin-nav-icon {
    flex-shrink: 0;
}

.admin-nav-label[b-bih3wjewvv] {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 160ms var(--admin-ease);
}

.admin-main-column[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: 0.75rem;
    gap: 0.75rem;
    box-sizing: border-box;
}

.admin-topbar[b-bih3wjewvv] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: var(--admin-topbar-height);
    flex-shrink: 0;
    padding-inline: 0 1rem;
    background-color: var(--admin-canvas);
}

/* Figma spaces the 24px toggle icon 24px from the breadcrumb; the 32px button adds 4px on each side. */
.admin-topbar-left[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-topbar-right[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 0 0 auto;
    flex-shrink: 0;
}

.admin-icon-button[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    background-color: transparent;
    color: var(--admin-fg-secondary);
    cursor: pointer;
    transition: background-color 120ms var(--admin-ease), color 120ms var(--admin-ease);
}

.admin-icon-button:hover[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
    color: var(--admin-fg-primary);
}

.admin-mobile-brand[b-bih3wjewvv],
.admin-mobile-menu-trigger[b-bih3wjewvv],
.admin-breadcrumb-mobile[b-bih3wjewvv] {
    display: none;
}

.admin-breadcrumb[b-bih3wjewvv] {
    min-width: 0;
}

.admin-breadcrumb-desktop[b-bih3wjewvv] {
    flex: 1 1 auto;
}

.admin-breadcrumb-list[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin: -0.3125rem;
    padding: 0.3125rem;
    list-style: none;
    overflow: hidden;
}

.admin-breadcrumb-item[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex: 0 1 auto;
    min-width: 0;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.admin-breadcrumb-item:first-child[b-bih3wjewvv] {
    flex-shrink: 0;
}

.admin-breadcrumb-item:last-child[b-bih3wjewvv] {
    flex: 1 1 auto;
}

.admin-breadcrumb-list[b-bih3wjewvv]  .admin-breadcrumb-separator {
    flex-shrink: 0;
    color: var(--admin-fg-tertiary);
}

.admin-breadcrumb-link[b-bih3wjewvv] {
    display: block;
    min-width: 0;
    max-width: 100%;
    border-radius: 0.25rem;
    color: var(--admin-fg-secondary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-breadcrumb-link:hover[b-bih3wjewvv] {
    color: var(--admin-fg-primary);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.admin-breadcrumb-current[b-bih3wjewvv] {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: var(--admin-fg-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-bar[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding-inline: 0.75rem;
}

.admin-user-bar .admin-role-badge[b-bih3wjewvv] {
    margin-inline-start: 0.25rem;
}

.admin-user-bar .admin-user-menu[b-bih3wjewvv] {
    margin-inline-start: 0.75rem;
}

.admin-user-avatar[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background-color: var(--admin-avatar-bg);
    color: var(--admin-avatar-fg);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: 1;
}

.admin-user-name[b-bih3wjewvv] {
    max-width: 12rem;
    color: var(--admin-fg-primary);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-role-badge[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--component-badge-radius, 9999px);
    background-color: var(--admin-badge-bg);
    color: var(--admin-fg-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    white-space: nowrap;
}

.admin-user-menu[b-bih3wjewvv] {
    position: relative;
}

.admin-user-menu-trigger[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    box-sizing: border-box;
    border: var(--shape-border-default, 1px) solid var(--component-button-secondary-border, var(--admin-border));
    border-radius: var(--component-button-radius, 0.5rem);
    background-color: var(--component-button-secondary-bg, var(--admin-surface));
    color: var(--component-button-secondary-fg, var(--admin-fg-primary));
    list-style: none;
    cursor: pointer;
    transition: background-color 120ms var(--admin-ease), color 120ms var(--admin-ease), border-color 120ms var(--admin-ease);
}

.admin-user-menu-trigger[b-bih3wjewvv]::-webkit-details-marker {
    display: none;
}

.admin-user-menu-trigger:hover[b-bih3wjewvv],
.admin-user-menu[open] .admin-user-menu-trigger[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
    color: var(--admin-fg-primary);
}

.admin-user-popover[b-bih3wjewvv] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 40;
    min-width: 12.5rem;
    padding: 0.375rem;
    border: 1px solid var(--admin-border);
    border-radius: 0.625rem;
    background-color: var(--admin-surface);
    box-shadow: 0 10px 25px -5px rgba(24, 24, 27, 0.12), 0 4px 10px -6px rgba(24, 24, 27, 0.08);
}

.admin-user-menu[open] .admin-user-popover[b-bih3wjewvv] {
    animation: admin-pop-in-b-bih3wjewvv 200ms var(--admin-ease);
}

.admin-popover-item[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.625rem;
    border: 0;
    border-radius: 0.375rem;
    background-color: transparent;
    color: var(--admin-fg-primary);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 120ms var(--admin-ease);
}

.admin-popover-item:hover[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
}

.admin-popover-item-danger[b-bih3wjewvv] {
    color: var(--admin-danger);
}

.admin-popover-item-danger:hover[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
}

.admin-popover-divider[b-bih3wjewvv] {
    height: 1px;
    margin: 0.375rem 0;
    background-color: var(--admin-divider);
}

.admin-logout-form[b-bih3wjewvv] {
    margin: 0;
}

.admin-surface[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    background-color: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 0.75rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.admin-content[b-bih3wjewvv] {
    position: relative;
    flex: 1 0 auto;
    min-width: 0;
    overflow-x: auto;
    padding: var(--space-inset-2xl, 2rem);
}

/* Figma puts the US-residents disclaimer at the bottom of the content card, below the page. */
.admin-disclaimer[b-bih3wjewvv] {
    flex-shrink: 0;
    margin: 0;
    padding: var(--space-inset-md, 0.75rem) var(--space-layout-gutter, 1.5rem);
    color: var(--admin-fg-tertiary);
    font-size: 0.6875rem;
    line-height: var(--type-caption-line-height, 1rem);
    letter-spacing: 0.25px;
    overflow-wrap: anywhere;
}

.admin-footer[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--admin-fg-tertiary);
    font-size: 0.6875rem;
    line-height: var(--type-caption-line-height, 1rem);
    letter-spacing: 0.25px;
}

.admin-sidebar-footer[b-bih3wjewvv] {
    gap: var(--space-stack-md, 1rem);
    margin-top: auto;
    padding: var(--space-inset-md, 0.75rem) var(--space-layout-gutter, 1.5rem) var(--space-inset-xl, 1.5rem);
    min-width: calc(var(--admin-sidebar-width) - var(--space-layout-gutter, 1.5rem) * 2);
}

.admin-shell.sidebar-collapsed .admin-sidebar-footer[b-bih3wjewvv] {
    visibility: hidden;
}

.admin-page-footer[b-bih3wjewvv] {
    display: none;
    gap: var(--space-stack-sm, 0.5rem);
    padding: var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
}

.admin-footer-meta[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
}

.admin-legal-links[b-bih3wjewvv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-legal-links a[b-bih3wjewvv] {
    color: inherit;
    text-decoration: none;
}

.admin-legal-links a:hover[b-bih3wjewvv] {
    color: var(--admin-fg-primary);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.admin-copyright[b-bih3wjewvv],
.admin-build-info[b-bih3wjewvv] {
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-build-info[b-bih3wjewvv] {
    color: var(--admin-fg-tertiary);
}

.admin-shell :is(a, button, summary):focus-visible[b-bih3wjewvv],
.admin-shell[b-bih3wjewvv]  :is(a, button, summary):focus-visible {
    outline: 2px solid var(--admin-fg-primary);
    outline-offset: 2px;
}

.admin-mobile-drawer[b-bih3wjewvv] {
    position: fixed;
    inset: 0 auto 0 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: var(--shape-border-default, 1px) solid var(--color-border-subtle, var(--admin-border));
    width: min(20rem, 85vw);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    background-color: var(--admin-surface);
    color: var(--admin-fg-primary);
    /* Figma Elevation/Modal */
    box-shadow:
        0 var(--shadow-offset-y-4, 4px) var(--shadow-blur-8, 8px) var(--shadow-spread-000, 0) var(--color-shadow-ambient, rgba(0, 0, 0, 0.08)),
        0 var(--shadow-offset-y-16, 16px) var(--shadow-blur-48, 48px) var(--shadow-spread-neg-8, -8px) var(--color-shadow-key, rgba(0, 0, 0, 0.12));
    overflow: hidden;
}

.admin-mobile-drawer:not([open])[b-bih3wjewvv] {
    display: none;
}

/* Slide the drawer in from the left and fade the scrim, both ways, with the Figma slide-in motion tokens. Browsers
   without @starting-style or discrete transitions just open and close it without the motion. */
/* Older browsers don't let ::backdrop inherit from the dialog, so it gets the variables too. */
.admin-mobile-drawer[b-bih3wjewvv],
.admin-mobile-drawer[b-bih3wjewvv]::backdrop {
    --admin-drawer-duration: var(--pattern-slide-in-duration, 300ms);
    --admin-drawer-easing: var(--pattern-slide-in-easing, var(--easing-enter, cubic-bezier(0.2, 0, 0, 1)));
}

.admin-mobile-drawer[b-bih3wjewvv] {
    transform: translateX(-100%);
    transition:
        transform var(--admin-drawer-duration) var(--admin-drawer-easing),
        overlay var(--admin-drawer-duration) allow-discrete,
        display var(--admin-drawer-duration) allow-discrete;
}

.admin-mobile-drawer[open][b-bih3wjewvv] {
    transform: none;
}

@starting-style {
    .admin-mobile-drawer[open][b-bih3wjewvv] {
        transform: translateX(-100%);
    }
}

.admin-mobile-drawer[b-bih3wjewvv]::backdrop {
    background-color: var(--color-bg-scrim, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition:
        opacity var(--admin-drawer-duration) var(--admin-drawer-easing),
        overlay var(--admin-drawer-duration) allow-discrete,
        display var(--admin-drawer-duration) allow-discrete;
}

.admin-mobile-drawer[open][b-bih3wjewvv]::backdrop {
    opacity: 1;
}

@starting-style {
    .admin-mobile-drawer[open][b-bih3wjewvv]::backdrop {
        opacity: 0;
    }
}

.admin-mobile-drawer-panel[b-bih3wjewvv] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-sm, 0.5rem);
    height: 100%;
    box-sizing: border-box;
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
    overflow-y: auto;
}

.admin-mobile-drawer-header[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-inline-md, 0.75rem);
    height: var(--admin-mobile-topbar-height);
    flex-shrink: 0;
    padding-inline: var(--space-inset-sm, 0.5rem) var(--space-inset-xs, 0.25rem);
}

.admin-mobile-drawer-header .admin-brand[b-bih3wjewvv] {
    gap: var(--space-inline-md, 0.75rem);
}

.admin-mobile-drawer-header :is(.admin-brand-icon, .admin-brand-fallback)[b-bih3wjewvv] {
    width: 2rem;
    height: 2rem;
}

.admin-mobile-drawer-header .admin-brand-name[b-bih3wjewvv] {
    font-size: var(--type-subtitle-size, 1.125rem);
    font-weight: var(--brand-font-body-style-regular, 400);
    line-height: var(--type-subtitle-line-height, 1.75rem);
    letter-spacing: var(--type-subtitle-letter-spacing, 0);
}

.admin-mobile-drawer .admin-nav[b-bih3wjewvv] {
    padding: var(--space-inset-sm, 0.5rem) 0;
}

.admin-mobile-drawer .admin-nav-link.active[b-bih3wjewvv] {
    background-color: var(--color-bg-accent-subtle, var(--admin-hover-bg));
    color: var(--color-fg-accent, var(--admin-fg-primary));
    box-shadow: none;
}

.admin-mobile-drawer-footer[b-bih3wjewvv] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    padding: var(--space-inset-xl, 1.5rem) var(--space-inset-xs, 0.25rem) 0;
    border-top: var(--shape-border-default, 1px) solid var(--color-border-default, var(--admin-border));
}

.admin-mobile-user[b-bih3wjewvv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.admin-mobile-user .admin-user-name[b-bih3wjewvv] {
    flex: 1 1 auto;
    max-width: none;
}

.admin-mobile-logout[b-bih3wjewvv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem var(--space-inset-lg, 1rem);
    border: var(--shape-border-default, 1px) solid var(--component-button-secondary-border, var(--admin-border));
    border-radius: var(--component-button-radius, 0.5rem);
    background-color: var(--component-button-secondary-bg, var(--admin-surface));
    color: var(--component-button-secondary-fg, var(--admin-fg-primary));
    font: inherit;
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    cursor: pointer;
    transition: background-color 120ms var(--admin-ease);
}

.admin-mobile-logout:hover[b-bih3wjewvv] {
    background-color: var(--admin-hover-bg);
}

#blazor-error-ui[b-bih3wjewvv] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-bih3wjewvv] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@keyframes admin-pop-in-b-bih3wjewvv {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }

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

@media (max-width: 48rem) {
    .admin-shell[b-bih3wjewvv] {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: clip;
        overflow-y: visible;
    }

    .admin-sidebar[b-bih3wjewvv],
    .admin-sidebar-toggle[b-bih3wjewvv],
    .admin-breadcrumb-desktop[b-bih3wjewvv],
    .admin-user-bar[b-bih3wjewvv] {
        display: none;
    }

    .admin-main-column[b-bih3wjewvv] {
        height: auto;
        overflow: visible;
        padding: 0;
        gap: 0;
    }

    .admin-topbar[b-bih3wjewvv] {
        height: var(--admin-mobile-topbar-height);
        padding-inline: var(--space-inset-lg, 1rem);
        background-color: var(--admin-surface);
        border-bottom: 1px solid var(--color-border-subtle, var(--admin-border));
    }

    .admin-mobile-brand[b-bih3wjewvv],
    .admin-mobile-menu-trigger[b-bih3wjewvv] {
        display: inline-flex;
    }

    .admin-mobile-menu-trigger[b-bih3wjewvv],
    .admin-mobile-drawer-close[b-bih3wjewvv] {
        width: 2.5rem;
        height: 2.5rem;
    }

    .admin-mobile-drawer .admin-nav-link[b-bih3wjewvv] {
        min-height: 2.75rem;
    }

    .admin-breadcrumb-mobile[b-bih3wjewvv] {
        display: block;
        flex: 0 0 auto;
        padding: 0.75rem var(--space-inset-lg, 1rem);
        background-color: var(--admin-canvas);
    }

    .admin-surface[b-bih3wjewvv] {
        border: 0;
        border-radius: 0;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .admin-content[b-bih3wjewvv] {
        padding: var(--space-inset-lg, 1rem) var(--space-layout-page-margin, 1.25rem) var(--space-inset-xl, 1.25rem);
    }

    .admin-disclaimer[b-bih3wjewvv] {
        padding-inline: var(--space-layout-page-margin, 1.25rem);
    }

    .admin-shell :is(a, button, summary, input, select, textarea)[b-bih3wjewvv],
    .admin-shell[b-bih3wjewvv]  :is(a, button, summary, input, select, textarea) {
        scroll-margin-top: 4rem;
    }

    .admin-page-footer[b-bih3wjewvv] {
        display: flex;
    }

    .admin-footer .admin-legal-links a[b-bih3wjewvv] {
        display: inline-flex;
        align-items: center;
        min-width: 2.75rem;
        min-height: 2.75rem;
    }
}

@media (max-width: 24rem) {
    .admin-breadcrumb-mobile[b-bih3wjewvv] {
        padding-inline: 0.75rem;
    }

    .admin-breadcrumb-mobile .admin-breadcrumb-list[b-bih3wjewvv],
    .admin-breadcrumb-mobile .admin-breadcrumb-item[b-bih3wjewvv] {
        gap: 0.25rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 48.0625rem) and (max-width: 64rem) {
    .admin-shell[b-bih3wjewvv] {
        --admin-sidebar-width: 12.25rem;
    }

    .admin-topbar[b-bih3wjewvv] {
        gap: 0.5rem;
        padding-inline: 0.25rem;
    }

    .admin-topbar-left[b-bih3wjewvv] {
        gap: 0.5rem;
    }

    .admin-breadcrumb-desktop .admin-breadcrumb-list[b-bih3wjewvv],
    .admin-breadcrumb-desktop .admin-breadcrumb-item[b-bih3wjewvv] {
        gap: 0.25rem;
        font-size: 0.8125rem;
    }

    .admin-user-name[b-bih3wjewvv] {
        max-width: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-shell[b-bih3wjewvv],
    .admin-shell *[b-bih3wjewvv],
    .admin-shell *[b-bih3wjewvv]::before,
    .admin-shell *[b-bih3wjewvv]::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* ::backdrop isn't matched by the universal selectors above. */
    .admin-mobile-drawer[b-bih3wjewvv]::backdrop {
        transition-duration: 0.01ms !important;
    }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.sign-in-layout[b-p88wpdas25] {
    /* Map Figma theme tokens to the variables read by BlazorBlueprint. */
    --radius: var(--shape-radius-control, .5rem);
    --background: var(--color-bg-surface, #fff);
    --foreground: var(--color-fg-primary, #18181b);
    --muted-foreground: var(--color-fg-secondary, #52525c);
    --primary: var(--component-button-primary-bg, #18181b);
    --primary-foreground: var(--component-button-primary-fg, #fff);
    --secondary: var(--component-button-secondary-bg, var(--color-bg-surface, #fff));
    --secondary-foreground: var(--component-button-secondary-fg, var(--color-fg-primary, #18181b));
    --border: var(--component-input-border, var(--color-border-strong, var(--color-border-default, #9f9fa9)));
    --input: var(--component-input-border, var(--color-border-strong, var(--color-border-default, #9f9fa9)));
    --ring: var(--component-input-border-focus, var(--color-border-focus, #ddd6fe));
    --destructive: var(--color-status-danger-fg, #b32121);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    color: var(--color-fg-primary, #18181b);
    background-color: var(--color-bg-surface, #fff);
    font-family: var(--brand-font-body-family, Poppins), system-ui, sans-serif;
}

.sign-in-brand[b-p88wpdas25] {
    box-sizing: border-box;
    isolation: isolate;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    overflow: hidden;
    padding: clamp(2rem, 4.45vw, 4rem);
    background-color: var(--color-bg-accent, var(--brand-primary-500, #840b55));
    color: var(--color-fg-on-accent, var(--brand-on-primary, #fff));
}

.sign-in-brand:has(.sign-in-background)[b-p88wpdas25] {
    color: var(--color-fg-on-accent, #fff);
}

.sign-in-brand:has(.sign-in-background)[b-p88wpdas25]::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color-bg-scrim, #00000066);
    content: "";
}

.sign-in-background[b-p88wpdas25] {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sign-in-logo[b-p88wpdas25] {
    max-width: min(15rem, 100%);
    max-height: 3rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sign-in-company[b-p88wpdas25] {
    max-width: 100%;
    margin: auto 0 0;
    font-size: clamp(2rem, 4.45vw, 4rem);
    font-weight: 600;
    line-height: 1.125;
    letter-spacing: -.03125em;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.sign-in-content[b-p88wpdas25] {
    display: grid;
    grid-template-rows: 1fr auto;
    min-width: 0;
    padding-inline: clamp(1.25rem, 1.67vw, 1.5rem);
}

.sign-in-form[b-p88wpdas25] {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 25rem;
    min-width: 0;
    margin-inline: auto;
    padding-block: 1.25rem;
}

.sign-in-form[b-p88wpdas25]  h1 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.sign-in-form[b-p88wpdas25]  .sign-in-description {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.sign-in-form[b-p88wpdas25]  :is(.sign-in-heading, .sign-in-actions, .sign-in-fields) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
    min-width: 0;
}

.sign-in-form[b-p88wpdas25]  .sign-in-field {
    min-width: 0;
}

.sign-in-form[b-p88wpdas25]  .sign-in-fields {
    gap: 1.5rem;
}

.sign-in-form[b-p88wpdas25]  label {
    display: block;
    margin-block-end: .5rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}

.sign-in-form[b-p88wpdas25]  input {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 2.5rem;
    padding: .375rem .75rem;
    border: 1px solid var(--component-input-border, var(--color-border-strong, var(--color-border-default, #9f9fa9)));
    border-radius: .5rem;
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: inherit;
    font: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    box-shadow: none;
}

.sign-in-form[b-p88wpdas25]  .sign-in-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 2.5rem;
    place-items: center;
    padding: .5rem .75rem;
    border: 1px solid var(--component-button-primary-bg, #18181b);
    border-radius: .5rem;
    background-color: var(--component-button-primary-bg, #18181b);
    color: var(--component-button-primary-fg, #fff);
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    cursor: pointer;
    box-shadow: none;
}

.sign-in-form[b-p88wpdas25]  .sign-in-action-secondary {
    border-color: var(--component-button-secondary-border, var(--color-border-strong, var(--color-border-default, #9f9fa9)));
    background-color: var(--component-button-secondary-bg, var(--color-bg-surface, #fff));
    color: var(--component-button-secondary-fg, var(--color-fg-primary, #18181b));
}

.sign-in-form[b-p88wpdas25]  .sign-in-action:hover {
    text-decoration: underline;
    text-underline-offset: .18em;
}

.sign-in-layout[b-p88wpdas25]  :is(a, button, input):focus-visible {
    outline: 2px solid var(--color-fg-primary, #18181b);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--color-border-focus, #ddd6fe);
}

.sign-in-form[b-p88wpdas25]  input:focus-visible {
    box-shadow: 0 0 0 6px var(--component-input-border-focus, var(--color-border-focus, #ddd6fe));
}

.sign-in-form[b-p88wpdas25]  input::placeholder {
    color: var(--color-fg-tertiary, #71717b);
}

.sign-in-form[b-p88wpdas25]  .sign-in-alert {
    min-width: 0;
    margin-block-start: .5rem;
    border-color: var(--color-status-danger-fg, #b32121);
    background-color: transparent;
    color: var(--color-status-danger-fg, #b32121);
    overflow-wrap: anywhere;
}

.sign-in-form[b-p88wpdas25]  .sign-in-status {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: .5rem;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.sign-in-form[b-p88wpdas25]  .sign-in-status :is(.sign-in-heading, noscript) {
    width: 100%;
    min-width: 0;
}

.sign-in-form[b-p88wpdas25]  .sign-in-status h1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.5rem;
}

.sign-in-form[b-p88wpdas25]  .sign-in-status .sign-in-description {
    font-size: 1rem;
    line-height: 1.5rem;
}

.sign-in-form[b-p88wpdas25]  .sign-in-status .sign-in-action {
    margin-block-start: 1rem;
    width: 100%;
}

.sign-in-form[b-p88wpdas25]  .sign-in-action-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sign-in-form[b-p88wpdas25]  .sign-in-action-label > span {
    flex-shrink: 0;
}

.sign-in-form[b-p88wpdas25]  .sign-in-confirmation {
    display: flex;
    margin-block-end: .5rem;
    color: var(--brand-secondary-500, #ff5f67);
}

.sign-in-form[b-p88wpdas25]  .sign-in-confirmation svg {
    fill: color-mix(in srgb, currentColor 12%, transparent);
}

.sign-in-form[b-p88wpdas25]  .sign-in-denied :is(h1, .sign-in-warning) {
    color: var(--color-status-danger-fg, #a34417);
}

.sign-in-form[b-p88wpdas25]  .sign-in-warning {
    display: flex;
    margin-block-end: .5rem;
}

.sign-in-form[b-p88wpdas25]  .sign-in-warning svg {
    fill: color-mix(in srgb, currentColor 12%, transparent);
}

.sign-in-form[b-p88wpdas25]  .sign-in-denied .sign-in-help {
    margin-block-start: 1rem;
}

.sign-in-form[b-p88wpdas25]  .sign-in-help {
    color: var(--color-fg-tertiary, #71717b);
    font-size: .75rem;
    margin: 0;
    text-align: center;
    line-height: 1rem;
    overflow-wrap: anywhere;
}

.sign-in-form[b-p88wpdas25]  .sign-in-help a, .sign-in-footer a[b-p88wpdas25] {
    color: inherit;
    overflow-wrap: anywhere;
    text-underline-offset: .15em;
}

.sign-in-footer[b-p88wpdas25] {
    display: flex;
    flex-wrap: wrap;
    color: var(--color-fg-tertiary, #71717b);
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem 1.25rem;
    padding-bottom: .75rem;
    font-size: .875rem;
    line-height: 1.25rem;
}

.sign-in-footer small[b-p88wpdas25] {
    font-size: inherit;
    overflow-wrap: anywhere;
}

.sign-in-footer nav[b-p88wpdas25] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (max-width: 56.25rem) {
    .sign-in-layout[b-p88wpdas25] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .sign-in-brand[b-p88wpdas25] {
        min-height: 9.375rem;
        align-items: center;
        justify-content: center;
        gap: .75rem;
        padding: 1.25rem;
    }

    .sign-in-logo[b-p88wpdas25] {
        max-width: min(15rem, 100%);
        max-height: 2.75rem;
    }

    .sign-in-brand:has(.sign-in-logo) .sign-in-company[b-p88wpdas25] {
        display: none;
    }

    .sign-in-company[b-p88wpdas25] {
        margin: 0;
        text-align: center;
        font-size: clamp(1.375rem, 6vw, 2rem);
        line-height: 1.2;
    }

    .sign-in-content[b-p88wpdas25] {
        padding-inline: 0;
    }

    .sign-in-form[b-p88wpdas25] {
        align-content: start;
        gap: 1.25rem;
        max-width: 27.5rem;
        padding: 1.5rem 1.25rem 2rem;
    }

    .sign-in-form[b-p88wpdas25]  .sign-in-fields {
        gap: 1.25rem;
    }

    .sign-in-form[b-p88wpdas25]  h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .sign-in-form[b-p88wpdas25]  .sign-in-status h1 {
        font-size: 1.5rem;
        line-height: 2rem;
        letter-spacing: -.02em;
    }

    .sign-in-form[b-p88wpdas25]  label {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .sign-in-form[b-p88wpdas25]  input {
        min-height: 2.75rem;
    }

    .sign-in-form[b-p88wpdas25]  .sign-in-action {
        min-height: 2.75rem;
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .sign-in-footer[b-p88wpdas25] {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: .25rem;
        padding: .5rem clamp(1.25rem, 3vw, 1.5rem) calc(1rem + env(safe-area-inset-bottom, 0px));
        font-size: .75rem;
        line-height: 1rem;
    }

    .sign-in-footer nav[b-p88wpdas25] {
        gap: .75rem;
    }

    .sign-in-footer nav a[b-p88wpdas25] {
        display: inline-flex;
        align-items: center;
        min-width: 2.75rem;
        min-height: 2.75rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Build version, environment and commit; deliberately small and neutral until the FE team styles the layout. */
.build-info[b-4sihs7rw4j] {
    font-size: 0.75rem;
    opacity: 0.6;
    padding: 0.5rem 1rem;
}

/* Must stay: hides Blazor's error bar until the framework shows it after an unhandled error. */
#blazor-error-ui[b-4sihs7rw4j] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-4sihs7rw4j] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-fq4ntc3ps6],
.components-reconnect-repeated-attempt-visible[b-fq4ntc3ps6],
.components-reconnect-failed-visible[b-fq4ntc3ps6],
.components-pause-visible[b-fq4ntc3ps6],
.components-resume-failed-visible[b-fq4ntc3ps6],
.components-rejoining-animation[b-fq4ntc3ps6] {
    display: none;
}

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


#components-reconnect-modal[b-fq4ntc3ps6] {
    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-fq4ntc3ps6 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-fq4ntc3ps6 {
    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/Admin/Activity/Activities.razor.rz.scp.css */
/* Activities list cells (WAB-42). The page frame, filters, table and footer are the shared list components
   (Components/Shared/Lists); colours, type and spacing come from the Figma tokens in tokens.css and the tenant theme. */

.activities-name a[b-r964f6orju] {
    color: var(--color-fg-link, var(--color-fg-accent, #840b55));
    text-decoration: none;
}

.activities-name a:hover[b-r964f6orju] {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* The Figma focus colour; more specific than the admin shell's own focus outline, which would win otherwise. */
.activities-name.activities-name a:focus-visible[b-r964f6orju] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* The type badge, time and usage wrap rather than hide part of "SurveyMonkey", "480 min" or "10 engagements" when a tenant's
   text is larger than the design's. */
.activities-wrap.activities-wrap[b-r964f6orju] {
    white-space: normal;
    overflow-wrap: anywhere;
}

.activity-type[b-r964f6orju] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 9999px));
    background-color: var(--color-bg-surface-sunken, #e4e4e7);
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    letter-spacing: var(--type-label-sm-letter-spacing, 0);
}

/* 16px icons take the Figma icon size. */
.activity-type[b-r964f6orju]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}
/* /Components/Pages/Admin/Activity/ActivityAlert.razor.rz.scp.css */
.activity-alert[b-kz1sx3sjhh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem) var(--space-inline-md, 0.75rem);
    padding: var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.activity-alert[b-kz1sx3sjhh]  .activity-alert-icon {
    flex: none;
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
}

.activity-alert-message[b-kz1sx3sjhh] {
    flex: 1 1 16rem;
    min-width: 0;
}
/* /Components/Pages/Admin/Activity/ActivityDetails.razor.rz.scp.css */
/* The Figma "Admin view activity" page (WAB-47). The page frame, header and table are the shared list components
   (Components/Shared/Lists); colours, type and spacing come from the Figma tokens in tokens.css and the tenant theme. */

/* The Details card: a label column beside the values, 16 px between rows. */
.activity-details-card[b-qgcfjysoqn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
    padding: var(--space-inset-xl, 1.5rem);
    border: var(--shape-border-default, 1px) solid var(--component-card-border, var(--color-border-default, #e4e4e7));
    border-radius: var(--component-card-radius, var(--shape-radius-container, 1.25rem));
    background-color: var(--component-card-bg, var(--color-bg-surface, #fff));
}

.activity-details-card h2[b-qgcfjysoqn],
.activity-details-used-in h2[b-qgcfjysoqn] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-sm-size, 1.5rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-sm-line-height, 2rem);
    letter-spacing: var(--type-title-sm-letter-spacing, -0.02em);
}

.activity-details-fields[b-qgcfjysoqn] {
    display: grid;
    grid-template-columns: minmax(8rem, 12.5rem) minmax(0, 1fr);
    gap: var(--space-stack-md, 1rem) var(--space-inline-lg, 1rem);
    margin: 0;
    font-size: var(--type-body-size, 1rem);
    line-height: var(--type-body-line-height, 1.5rem);
    letter-spacing: var(--type-body-letter-spacing, 0);
}

.activity-details-fields dt[b-qgcfjysoqn] {
    color: var(--color-fg-secondary, #52525c);
}

/* Long names, links and descriptions wrap inside the card instead of widening it. */
.activity-details-fields dd[b-qgcfjysoqn] {
    min-width: 0;
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    overflow-wrap: anywhere;
}

/* The admin's line breaks show as typed. */
.activity-details-description[b-qgcfjysoqn] {
    white-space: pre-line;
}

.activity-details-size[b-qgcfjysoqn] {
    margin-left: var(--space-inline-xs, 0.25rem);
    color: var(--color-fg-secondary, #52525c);
}

/* On a phone the labels go above their values. */
@container list-page (max-width: 30rem) {
    .activity-details-fields[b-qgcfjysoqn] {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--space-stack-xs, 0.25rem);
    }

    .activity-details-fields dd + dt[b-qgcfjysoqn] {
        margin-top: var(--space-stack-sm, 0.75rem);
    }
}

/* The type badge, as on the Activities list. */
.activity-type[b-qgcfjysoqn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 9999px));
    background-color: var(--color-bg-surface-sunken, #e4e4e7);
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    letter-spacing: var(--type-label-sm-letter-spacing, 0);
    /* Top, not middle: the badge then sits on its own 24 px, and the Type row stays 24 px high like the others. */
    vertical-align: top;
}

.activity-type[b-qgcfjysoqn]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

.activity-details-used-in[b-qgcfjysoqn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
}

/* Links in the brand colour: the content link (underlined, as in the design), engagement names and "View progress". */
.activity-details-link[b-qgcfjysoqn] {
    color: var(--color-fg-link, var(--color-fg-accent, #840b55));
    text-decoration: none;
}

.activity-details-fields .activity-details-link[b-qgcfjysoqn],
.activity-details-link:hover[b-qgcfjysoqn] {
    text-decoration: underline;
    /* The Figma Body/Link Default style: underline offset 20%. */
    text-underline-offset: 0.2em;
}

/* The Figma focus colour; more specific than the admin shell's own focus outline, which would win otherwise. */
.activity-details-link.activity-details-link:focus-visible[b-qgcfjysoqn] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* An engagement's name wraps rather than hide its end, which may be all that tells two engagements apart. Doubled to win
   over the table's own ellipsis. */
.activity-details-wrap.activity-details-wrap[b-qgcfjysoqn] {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* The Figma StatusChip: 24 px high, a fill without a border. The rows come from this page (RowTemplate), so these rules
   reach them without ::deep. */
.engagement-status[b-qgcfjysoqn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 999px));
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    white-space: nowrap;
}

.engagement-status-published[b-qgcfjysoqn] {
    background-color: var(--color-status-success-bg-subtle, #ecfdf5);
    color: var(--color-status-success-fg, #047857);
}

.engagement-status-expired[b-qgcfjysoqn] {
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
}

.engagement-status-draft[b-qgcfjysoqn],
.engagement-status-archived[b-qgcfjysoqn] {
    background-color: var(--color-bg-surface-sunken, #f4f4f5);
    color: var(--color-fg-secondary, #52525b);
}

.activity-details-not-found[b-qgcfjysoqn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-sm, 0.75rem);
    align-items: flex-start;
}

.activity-details-message[b-qgcfjysoqn] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
}
/* /Components/Pages/Admin/Activity/ActivityForm.razor.rz.scp.css */
/* The Figma "Admin create activity" form (WAB-49). Colours, type, radii and spacing come from tokens.css and the tenant
   theme; the fields look like the Create participant form's. */

.activity-form[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
    min-width: 0;
}

/* The Details card beside the narrower "How each type completes" card; stacked when there's no room for both. */
.activity-form-columns[b-wivvlffm79] {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(16rem, 3fr);
    align-items: start;
    gap: var(--space-inline-lg, 1.5rem);
}

.activity-form-card[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
    padding: var(--space-inset-xl, 1.5rem);
    border: var(--shape-border-default, 1px) solid var(--component-card-border, var(--color-border-default, #e4e4e7));
    border-radius: var(--component-card-radius, var(--shape-radius-container, 1.25rem));
    background-color: var(--component-card-bg, var(--color-bg-surface, #fff));
}

.activity-form-card-header[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
}

.activity-form-card h2[b-wivvlffm79] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-sm-size, 1.5rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-sm-line-height, 2rem);
    letter-spacing: var(--type-title-sm-letter-spacing, -0.02em);
}

.activity-form-note[b-wivvlffm79],
.activity-form-hint[b-wivvlffm79] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.activity-form-grid[b-wivvlffm79] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-inline-lg, 1rem);
    row-gap: var(--space-stack-md, 1rem);
}

.activity-form-field[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

.activity-form-field-full[b-wivvlffm79] {
    grid-column: 1 / -1;
}

.activity-form-field > label[b-wivvlffm79],
.activity-form-label[b-wivvlffm79] {
    padding: 0;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.activity-form-field[b-wivvlffm79]  input:not([type="radio"]):not([type="file"]),
.activity-form-textarea[b-wivvlffm79],
.activity-form-select[b-wivvlffm79] {
    width: 100%;
    border: var(--shape-border-default, 1px) solid var(--component-input-border, var(--color-border-strong, #71717b));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
}

.activity-form-field[b-wivvlffm79]  input::placeholder,
.activity-form-textarea[b-wivvlffm79]::placeholder {
    color: var(--color-fg-tertiary, #71717b);
    opacity: 1;
}

.activity-form-field[b-wivvlffm79]  input[aria-invalid="true"],
.activity-form-textarea[aria-invalid="true"][b-wivvlffm79],
.activity-form-select[aria-invalid="true"][b-wivvlffm79] {
    border-color: var(--component-input-border-error, var(--color-status-danger-border, #c92a2a));
}

/* A field that doesn't apply (the URL while a file is the content) looks greyed out. */
.activity-form-field[b-wivvlffm79]  input:disabled,
.activity-form-textarea:disabled[b-wivvlffm79],
.activity-form-select:disabled[b-wivvlffm79] {
    background-color: var(--color-bg-disabled, #f4f4f5);
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
    opacity: 1;
}

.activity-form-textarea[b-wivvlffm79] {
    min-height: 5rem;
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    resize: vertical;
}

.activity-form-textarea:focus-visible[b-wivvlffm79],
.activity-form-select:focus-visible[b-wivvlffm79] {
    outline: 2px solid var(--component-input-border-focus, var(--color-border-focus, #2a55db));
    outline-offset: 1px;
}

.activity-form-select-wrap[b-wivvlffm79] {
    position: relative;
    display: flex;
    align-items: center;
}

.activity-form-select[b-wivvlffm79] {
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-2xl, 2rem) 0 var(--space-inset-md, 0.75rem);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.activity-form-select-wrap[b-wivvlffm79]  .activity-form-select-chevron {
    position: absolute;
    inset-inline-end: var(--space-inset-md, 0.75rem);
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    color: var(--color-fg-tertiary, #71717b);
    pointer-events: none;
}

.activity-form-error[b-wivvlffm79] {
    margin: 0;
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

/* The upload area: the whole dashed box is the file input, drawn invisible over the content. */
.activity-form-dropzone[b-wivvlffm79] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-inset-xl, 1.5rem) var(--space-inset-lg, 1rem);
    border: var(--shape-border-default, 1px) dashed var(--color-border-strong, #9f9fa9);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
    transition: border-color var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out),
        background-color var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out);
}

.activity-form-dropzone:hover:not(.is-busy, .is-disabled)[b-wivvlffm79],
.activity-form-dropzone.is-drag-over[b-wivvlffm79] {
    border-color: var(--color-border-accent, var(--color-border-focus, #840b55));
    background-color: var(--color-state-layer-hover, rgb(0 0 0 / 0.02));
}

.activity-form-dropzone:has(.activity-form-dropzone-input:focus-visible)[b-wivvlffm79] {
    border-color: var(--color-border-focus, #2a55db);
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

.activity-form-dropzone.is-busy[b-wivvlffm79] {
    opacity: 0.7;
    cursor: progress;
}

.activity-form-dropzone[b-wivvlffm79]  .activity-form-dropzone-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.activity-form-dropzone.is-busy[b-wivvlffm79]  .activity-form-dropzone-input {
    cursor: progress;
}

/* A URL is entered: the upload is closed until it's cleared (a Document has one or the other). */
.activity-form-dropzone.is-disabled[b-wivvlffm79] {
    border-color: var(--color-border-default, #e4e4e7);
    background-color: var(--color-bg-disabled, #f4f4f5);
}

.activity-form-dropzone.is-disabled .activity-form-dropzone-icon[b-wivvlffm79],
.activity-form-dropzone.is-disabled .activity-form-dropzone-title[b-wivvlffm79],
.activity-form-dropzone.is-disabled .activity-form-dropzone-button[b-wivvlffm79] {
    opacity: 0.5;
}

.activity-form-dropzone.is-disabled[b-wivvlffm79]  .activity-form-dropzone-input {
    cursor: not-allowed;
}

.activity-form-dropzone-content[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-stack-xs, 0.25rem);
    max-width: 100%;
    text-align: center;
    pointer-events: none;
}

.activity-form-dropzone-icon[b-wivvlffm79] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dimension-40, 2.5rem);
    height: var(--dimension-40, 2.5rem);
    margin-bottom: var(--space-stack-xs, 0.25rem);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface-sunken, #e4e4e7);
    color: var(--color-fg-primary, #18181b);
}

.activity-form-dropzone-title[b-wivvlffm79],
.activity-form-dropzone-meta[b-wivvlffm79] {
    margin: 0;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.activity-form-dropzone-title[b-wivvlffm79] {
    color: var(--color-fg-primary, #18181b);
    font-weight: var(--brand-font-body-style-medium, 500);
}

.activity-form-dropzone-meta[b-wivvlffm79] {
    color: var(--color-fg-secondary, #52525c);
}

.activity-form-dropzone-button[b-wivvlffm79] {
    display: inline-flex;
    align-items: center;
    height: var(--size-control-sm, 2rem);
    margin-top: var(--space-stack-sm, 0.5rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
}

/* The file that is the content: its name (a link to it once saved), its size and "Remove file". */
.activity-form-file[b-wivvlffm79] {
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    min-width: 0;
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
}

.activity-form-file-icon[b-wivvlffm79] {
    display: inline-flex;
    flex: none;
    color: var(--color-fg-secondary, #52525c);
}

.activity-form-file-meta[b-wivvlffm79] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.activity-form-file-name[b-wivvlffm79] {
    overflow: hidden;
    color: var(--color-fg-primary, #18181b);
    font-weight: var(--brand-font-body-style-medium, 500);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-form-file-size[b-wivvlffm79] {
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.activity-form-file[b-wivvlffm79]  button {
    flex: none;
}

.activity-form-link[b-wivvlffm79] {
    color: var(--color-fg-link, var(--color-fg-accent, #840b55));
    text-decoration: none;
}

.activity-form-link:hover[b-wivvlffm79] {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.activity-form-link.activity-form-link:focus-visible[b-wivvlffm79] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* "Where can it be used?": a fieldset without the browser's frame. */
.activity-form-usage[b-wivvlffm79] {
    margin: 0;
    padding: 0;
    border: 0;
    gap: var(--space-stack-sm, 0.5rem);
}

.activity-form-usage legend[b-wivvlffm79] {
    margin-bottom: var(--space-stack-sm, 0.5rem);
}

.activity-form-radio[b-wivvlffm79] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    width: fit-content;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    cursor: pointer;
}

.activity-form-radio input[b-wivvlffm79] {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    margin: 0;
    accent-color: var(--color-bg-accent, #840b55);
    cursor: pointer;
}

.activity-form-radio input:focus-visible[b-wivvlffm79] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

.activity-form-restricted[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
    padding-inline-start: var(--space-inset-xl, 1.5rem);
}

/* "How each type completes": each type's badge over what completes it. */
.activity-form-type-list[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    margin: 0;
}

.activity-form-type[b-wivvlffm79] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-stack-xs, 0.25rem);
}

.activity-form-type dt[b-wivvlffm79],
.activity-form-type dd[b-wivvlffm79] {
    margin: 0;
}

.activity-form-type dd[b-wivvlffm79] {
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

/* The type badge, as on the Activities list. */
.activity-type[b-wivvlffm79] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 9999px));
    background-color: var(--color-bg-surface-sunken, #e4e4e7);
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
}

.activity-type[b-wivvlffm79]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

.activity-form-actions[b-wivvlffm79] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-md, 0.75rem);
}

.activity-form-cancel[b-wivvlffm79] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border-radius: var(--component-button-radius, var(--shape-radius-control, 0.5rem));
    color: var(--component-button-ghost-fg, var(--color-fg-link, var(--color-fg-accent, #840b55)));
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    text-decoration: none;
}

.activity-form-cancel:hover[b-wivvlffm79] {
    background-color: var(--color-state-layer-hover, rgb(0 0 0 / 0.04));
}

.activity-form-cancel:focus-visible[b-wivvlffm79] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
}

.visually-hidden[b-wivvlffm79] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 64rem) {
    .activity-form-columns[b-wivvlffm79] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 48rem) {
    .activity-form-grid[b-wivvlffm79] {
        grid-template-columns: minmax(0, 1fr);
    }

    .activity-form-restricted[b-wivvlffm79] {
        padding-inline-start: 0;
    }

    /* 16 px text stops iOS zooming into a field on focus. */
    .activity-form-select[b-wivvlffm79],
    .activity-form-textarea[b-wivvlffm79] {
        font-size: max(var(--type-body-size, 1rem), 1rem);
        line-height: var(--type-body-line-height, 1.5rem);
    }

    .activity-form-actions[b-wivvlffm79] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .activity-form-actions[b-wivvlffm79]  button {
        width: 100%;
    }
}
/* /Components/Pages/Admin/Activity/ActivityLockedNote.razor.rz.scp.css */
/* The Figma info Alert: "Editing is locked." and why, on the info fill without a border. */
.activity-locked[b-vxipbhwjbb] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-inline-md, 0.75rem);
    padding: var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-status-info-bg-subtle, #eff6ff);
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    letter-spacing: var(--type-body-sm-letter-spacing, 0);
}

.activity-locked[b-vxipbhwjbb]  .activity-locked-icon {
    flex: none;
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    margin-top: 0.125rem;
    color: var(--color-status-info-fg, #1d4ed8);
}

.activity-locked-text[b-vxipbhwjbb] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

.activity-locked-text p[b-vxipbhwjbb] {
    margin: 0;
}

.activity-locked-title.activity-locked-title[b-vxipbhwjbb] {
    color: var(--color-status-info-fg, #1d4ed8);
    font-weight: var(--brand-font-body-style-medium, 500);
}
/* /Components/Pages/Admin/Activity/CreateActivity.razor.rz.scp.css */
/* The activity create page (WAB-44). The form is ActivityForm; this styles the loading message. */

.activity-create-message[b-jw6xqu3cg2] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
}
/* /Components/Pages/Admin/Activity/EditActivity.razor.rz.scp.css */
/* The activity edit page (WAB-49). The form is ActivityForm and the alerts ActivityAlert; this styles the page's own messages. */

.activity-edit-link[b-0o3f9m7z8q] {
    width: fit-content;
    color: var(--color-fg-link, var(--color-fg-accent, #840b55));
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.activity-edit-link.activity-edit-link:focus-visible[b-0o3f9m7z8q] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

.activity-edit-not-found[b-0o3f9m7z8q] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-stack-sm, 0.75rem);
}

.activity-edit-message[b-0o3f9m7z8q] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
}
/* /Components/Pages/Admin/Dev/MandrillEvents.razor.rz.scp.css */
.dev-header[b-s9n917dum4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.dev-header h1[b-s9n917dum4] {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.dev-intro[b-s9n917dum4] {
    max-width: 48rem;
    margin: 0.5rem 0 1rem;
    color: var(--muted-foreground, #71717a);
}

.dev-webhook[b-s9n917dum4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--muted-foreground, #71717a);
}

.dev-section[b-s9n917dum4] {
    margin: 1.5rem 0;
}

.dev-table-wrap[b-s9n917dum4] {
    overflow-x: auto;
}

.dev-table[b-s9n917dum4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.dev-table th[b-s9n917dum4],
.dev-table td[b-s9n917dum4] {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid var(--border, #e4e4e7);
    text-align: left;
    vertical-align: top;
}

.dev-table th[b-s9n917dum4] {
    color: var(--muted-foreground, #71717a);
    font-weight: 500;
}

.dev-table tbody tr:hover[b-s9n917dum4] {
    background: var(--muted, #f4f4f5);
}

.dev-nowrap[b-s9n917dum4] {
    white-space: nowrap;
}

.dev-problem[b-s9n917dum4] {
    margin-top: 0.25rem;
    max-width: 18rem;
    color: var(--muted-foreground, #71717a);
    font-size: 0.75rem;
}

.dev-address[b-s9n917dum4] {
    max-width: 16rem;
    overflow-wrap: anywhere;
}

.dev-events[b-s9n917dum4] {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 0.375rem;
}

.dev-events[b-s9n917dum4]  button {
    white-space: nowrap;
}

.dev-muted[b-s9n917dum4],
.dev-empty[b-s9n917dum4] {
    color: var(--muted-foreground, #71717a);
}
/* /Components/Pages/Admin/Dev/Seeders.razor.rz.scp.css */
.seeders-header[b-3ldto695pk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.seeders-header h1[b-3ldto695pk] {
    margin: 0;
}

.seeders-intro[b-3ldto695pk] {
    max-width: 48rem;
    color: var(--muted-foreground, #71717a);
}

.seeders-grid[b-3ldto695pk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.seeders-grid[b-3ldto695pk]  .seeder-card {
    display: flex;
    flex-direction: column;
}

.seeders-grid[b-3ldto695pk]  .seeder-footer {
    margin-top: auto;
}

.seeder-icon[b-3ldto695pk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    background: var(--muted, #f4f4f5);
    color: var(--foreground, #18181b);
}
/* /Components/Pages/Admin/Jobs.razor.rz.scp.css */
/* Plain, functional layout until the FE team styles admin pages. */

.jobs-worker[b-7ijt26txz4],
.jobs-filters[b-7ijt26txz4],
.jobs-pager[b-7ijt26txz4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.jobs-filters label[b-7ijt26txz4] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.jobs-table[b-7ijt26txz4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.jobs-table th[b-7ijt26txz4],
.jobs-table td[b-7ijt26txz4] {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

.jobs-table tr.selected[b-7ijt26txz4] {
    background: #f4f4f5;
}

.jobs-error[b-7ijt26txz4] {
    max-width: 28rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jobs-link[b-7ijt26txz4] {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.jobs-message[b-7ijt26txz4] {
    padding: 0.5rem 0.75rem;
    border-left: 3px solid #71717a;
    background: #f4f4f5;
}

[b-7ijt26txz4] .jobs-detail {
    margin-top: 1.5rem;
}

[b-7ijt26txz4] .jobs-detail dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1rem;
}

[b-7ijt26txz4] .jobs-detail dd {
    margin: 0;
}

[b-7ijt26txz4] .jobs-detail pre {
    white-space: pre-wrap;
    word-break: break-word;
    background: #f4f4f5;
    padding: 0.75rem;
    border-radius: 0.375rem;
}

[b-7ijt26txz4] .jobs-actions {
    display: flex;
    gap: 0.5rem;
}
/* /Components/Pages/Admin/Participant/CreateParticipant.razor.rz.scp.css */
/* Create participant (WAB-29). Colours, type, radii and spacing come from tokens.css and tenant theme overrides. */

.create-participant[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
    min-width: 0;
}

.create-participant-header h1[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-lg-size, 2rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-lg-line-height, 2.5rem);
    letter-spacing: var(--type-title-lg-letter-spacing, -0.02em);
}

.create-participant-alert[b-dqwspy25kw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-inline-sm, 0.5rem);
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--color-status-danger-border-subtle, #fecaca);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.create-participant-form[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
    min-width: 0;
}

.create-participant-card[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
    padding: var(--space-inset-xl, 1.5rem);
    border: var(--shape-border-default, 1px) solid var(--component-card-border, var(--color-border-default, #e4e4e7));
    border-radius: var(--component-card-radius, var(--shape-radius-container, 1.25rem));
    background-color: var(--component-card-bg, var(--color-bg-surface-raised, #fff));
}

.create-participant-card-header[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
}

.create-participant-card h2[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-sm-size, 1.5rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-sm-line-height, 2rem);
    letter-spacing: var(--type-title-sm-letter-spacing, -0.02em);
}

.create-participant-required-note[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.create-participant-grid[b-dqwspy25kw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-inline-lg, 1rem);
    row-gap: var(--space-stack-md, 1rem);
}

.create-participant-field[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

.create-participant-field-full[b-dqwspy25kw] {
    grid-column: 1 / -1;
}

.create-participant-field label[b-dqwspy25kw] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.create-participant-field[b-dqwspy25kw]  input {
    width: 100%;
    border-color: var(--component-input-border, var(--color-border-strong, #71717b));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
}

.create-participant-field[b-dqwspy25kw]  input::placeholder {
    color: var(--color-fg-tertiary, #71717b);
    opacity: 1;
}

.create-participant-field[b-dqwspy25kw]  input[aria-invalid="true"] {
    border-color: var(--component-input-border-error, var(--color-status-danger-border, #c92a2a));
}

.create-participant-select-wrap[b-dqwspy25kw] {
    position: relative;
    display: flex;
    align-items: center;
}

.create-participant-select[b-dqwspy25kw] {
    width: 100%;
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-2xl, 2rem) 0 var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--component-input-border, var(--color-border-strong, #71717b));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.create-participant-select.is-placeholder[b-dqwspy25kw] {
    color: var(--color-fg-tertiary, #71717b);
}

.create-participant-select[aria-invalid="true"][b-dqwspy25kw] {
    border-color: var(--component-input-border-error, var(--color-status-danger-border, #c92a2a));
}

.create-participant-select:focus-visible[b-dqwspy25kw] {
    outline: 2px solid var(--component-input-border-focus, var(--color-border-focus, #2a55db));
    outline-offset: 1px;
}

.create-participant-select:disabled[b-dqwspy25kw] {
    background-color: var(--color-bg-disabled, #f4f4f5);
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
}

.create-participant-select-wrap[b-dqwspy25kw]  .create-participant-select-chevron {
    position: absolute;
    inset-inline-end: var(--space-inset-md, 0.75rem);
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    color: var(--color-fg-tertiary, #71717b);
    pointer-events: none;
}

.create-participant-engagements-field[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

.create-participant-empty-engagements[b-dqwspy25kw] {
    margin: var(--space-stack-xs, 0.25rem) 0 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.create-participant-helper[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.create-participant-field-error[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.create-participant-invite[b-dqwspy25kw] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-inline-md, 0.75rem);
}

.create-participant-invite[b-dqwspy25kw]  .create-participant-checkbox {
    margin-top: 0.125rem;
    flex-shrink: 0;
    border-color: var(--component-checkbox-border, var(--color-border-strong, #9f9fa9));
    border-radius: var(--component-checkbox-radius, var(--shape-radius-small, 0.25rem));
}

.create-participant-invite[b-dqwspy25kw]  .create-participant-checkbox[data-state="checked"] {
    border-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
    background-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
    color: var(--component-checkbox-check, var(--color-fg-on-accent, #fff));
}

.create-participant-invite[b-dqwspy25kw]  .create-participant-checkbox:is(:disabled, [aria-disabled="true"]) {
    border-color: var(--color-border-default, #e4e4e7);
    background-color: var(--color-bg-disabled, #f4f4f5);
    opacity: 1;
}

.create-participant-invite[b-dqwspy25kw]  .create-participant-checkbox:focus-visible {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

.create-participant-invite-copy[b-dqwspy25kw] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

.create-participant-invite-label[b-dqwspy25kw] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    cursor: pointer;
}

.create-participant-invite-helper[b-dqwspy25kw],
.create-participant-invite-hint[b-dqwspy25kw] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.create-participant-invite.is-disabled .create-participant-invite-label[b-dqwspy25kw] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
}

.create-participant-actions[b-dqwspy25kw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-md, 0.75rem);
}

.create-participant-cancel[b-dqwspy25kw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border-radius: var(--component-button-radius, var(--shape-radius-control, 0.5rem));
    color: var(--component-button-ghost-fg, var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-500, #840b55))));
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    text-decoration: none;
}

.create-participant-cancel:hover[b-dqwspy25kw] {
    background-color: var(--color-state-layer-hover, rgb(0 0 0 / 0.04));
    text-decoration: none;
}

.create-participant-cancel:active[b-dqwspy25kw] {
    background-color: var(--color-state-layer-pressed, rgb(0 0 0 / 0.08));
}

.create-participant-cancel:focus-visible[b-dqwspy25kw] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
}

.visually-hidden[b-dqwspy25kw] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 48rem) {
    .create-participant-grid[b-dqwspy25kw] {
        grid-template-columns: minmax(0, 1fr);
    }

    .create-participant-select[b-dqwspy25kw] {
        font-size: max(var(--type-body-size, 1rem), 1rem);
        line-height: var(--type-body-line-height, 1.5rem);
    }
}
/* /Components/Pages/Admin/Participant/ParticipantEngagementPicker.razor.rz.scp.css */
/* Accessible, width-bounded engagement multi-select combobox with inline chips inside the input box. */

.engagement-picker[b-jfzsc4z5no] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.engagement-picker-control[b-jfzsc4z5no] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.engagement-picker-field[b-jfzsc4z5no] {
    position: relative;
    z-index: 41;
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: var(--size-control-md, 2.5rem);
    box-sizing: border-box;
    padding: 0.3125rem var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--component-input-border, var(--color-border-strong, #71717b));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
    cursor: text;
    transition: border-color var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out),
        box-shadow var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out);
}

.engagement-picker-field:hover:not(.is-disabled):not(.is-open):not(:focus-within)[b-jfzsc4z5no] {
    border-color: var(--color-border-strong, #71717b);
}

.engagement-picker-field.is-open:not(.is-disabled)[b-jfzsc4z5no],
.engagement-picker-field:focus-within:not(.is-disabled)[b-jfzsc4z5no] {
    border-color: var(--component-input-border-focus, var(--color-border-focus, #2a55db));
    box-shadow: 0 0 0 1px var(--component-input-border-focus, var(--color-border-focus, #2a55db));
}

.engagement-picker-field.is-invalid:not(.is-disabled)[b-jfzsc4z5no] {
    border-color: var(--component-input-border-error, var(--color-status-danger-border, #c92a2a));
}

.engagement-picker-field.is-invalid:focus-within:not(.is-disabled)[b-jfzsc4z5no] {
    box-shadow: 0 0 0 1px var(--component-input-border-error, var(--color-status-danger-border, #c92a2a));
}

.engagement-picker-field.is-disabled[b-jfzsc4z5no] {
    border-color: var(--color-border-default, #e4e4e7);
    background-color: var(--color-bg-disabled, #f4f4f5);
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
}

.engagement-picker-content[b-jfzsc4z5no] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.375rem;
}

.engagement-picker-chips[b-jfzsc4z5no] {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

.engagement-picker-chip[b-jfzsc4z5no] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.125rem 0.1875rem 0.125rem var(--space-inset-sm, 0.5rem);
    border: var(--shape-border-default, 1px) solid color-mix(in srgb, var(--color-border-strong, #a1a1aa) 35%, transparent);
    border-radius: var(--shape-radius-small, 0.25rem);
    background-color: var(--component-card-bg-sunken, var(--neutral-100, #f4f4f5));
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
}

.engagement-picker-chip-label[b-jfzsc4z5no] {
    flex: 1 1 auto;
    min-width: 0;
    padding-block: 0.125rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}

.engagement-picker-chip-remove[b-jfzsc4z5no] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: transparent;
    color: var(--color-fg-tertiary, var(--color-fg-secondary, #52525c));
    cursor: pointer;
}

.engagement-picker-chip-remove:hover:not(:disabled)[b-jfzsc4z5no] {
    background-color: var(--color-state-layer-hover, rgba(0, 0, 0, 0.06));
    color: var(--color-fg-primary, #18181b);
}

.engagement-picker-chip-remove:focus-visible[b-jfzsc4z5no] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 1px;
}

.engagement-picker-chip-remove:disabled[b-jfzsc4z5no] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
    opacity: 1;
}

.engagement-picker.is-compact-chips .engagement-picker-chip[b-jfzsc4z5no] {
    padding: 0.0625rem 0.25rem 0.0625rem var(--space-inset-sm, 0.5rem);
    border-color: transparent;
    background-color: var(--color-bg-surface-sunken, var(--neutral-200, #e4e4e7));
}

.engagement-picker.is-compact-chips .engagement-picker-chip-label[b-jfzsc4z5no] {
    padding-block: 0.0625rem;
    line-height: 1.25;
}

.engagement-picker.is-compact-chips .engagement-picker-chip-remove[b-jfzsc4z5no] {
    width: 1rem;
    height: 1rem;
}

.engagement-picker-input[b-jfzsc4z5no] {
    flex: 1 1 8rem;
    min-width: 0;
    height: 1.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    font-weight: var(--brand-font-body-style-regular, 400);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    outline: none;
}

.engagement-picker-input.has-selection:not(.is-open)[b-jfzsc4z5no] {
    flex: 1 1 0.5rem;
    min-width: 0.25rem;
}

.engagement-picker-input.has-selection:not(.is-open):not(:focus)[b-jfzsc4z5no] {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 1.5rem;
    overflow: hidden;
}

.engagement-picker-input.has-selection.is-open[b-jfzsc4z5no] {
    flex: 1 1 4rem;
    min-width: 3rem;
}

.engagement-picker-input[b-jfzsc4z5no]::placeholder {
    color: var(--color-fg-tertiary, #71717b);
    opacity: 1;
}

.engagement-picker-input:disabled[b-jfzsc4z5no] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
}

.engagement-picker-input:disabled[b-jfzsc4z5no]::placeholder {
    color: var(--color-fg-disabled, #a1a1aa);
}

.engagement-picker-chevron-toggle[b-jfzsc4z5no] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    color: var(--color-fg-tertiary, #71717b);
    cursor: pointer;
}

.engagement-picker-field.is-disabled .engagement-picker-chevron-toggle[b-jfzsc4z5no] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
}

.engagement-picker-chevron[b-jfzsc4z5no] {
    flex-shrink: 0;
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    pointer-events: none;
}

.engagement-picker-backdrop[b-jfzsc4z5no] {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: transparent;
}

.engagement-picker-popover[b-jfzsc4z5no] {
    position: absolute;
    top: calc(100% + var(--space-stack-xs, 0.25rem));
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface-raised, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
    box-shadow: var(--bb-menu-shadow);
    overflow: hidden;
}

.engagement-picker-popover[data-placement="top"][b-jfzsc4z5no] {
    top: auto;
    bottom: calc(100% + var(--space-stack-xs, 0.25rem));
}

.engagement-picker-listbox[b-jfzsc4z5no] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.125rem;
    min-height: 0;
    max-height: var(--picker-list-max-height, 15rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-inset-xs, 0.25rem);
}

.engagement-picker-option[b-jfzsc4z5no] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-inline-sm, 0.5rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: var(--space-inset-sm, 0.5rem);
    border: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: transparent;
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    font-weight: var(--brand-font-body-style-regular, 400);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    text-align: left;
    cursor: pointer;
}

.engagement-picker-option:hover[b-jfzsc4z5no] {
    background-color: var(--color-state-layer-hover, rgba(0, 0, 0, 0.04));
}

.engagement-picker-option.is-active[b-jfzsc4z5no] {
    background-color: var(--color-state-layer-hover, rgba(0, 0, 0, 0.04));
    box-shadow: inset 3px 0 0 var(--color-border-focus, #2a55db);
    outline: 1px solid var(--color-border-focus, #2a55db);
    outline-offset: -1px;
}

.engagement-picker-option:focus-visible[b-jfzsc4z5no] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: -2px;
}

.engagement-picker-check[b-jfzsc4z5no] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    border: 1px solid var(--component-checkbox-border, var(--color-border-strong, #a1a1aa));
    border-radius: var(--component-checkbox-radius, var(--shape-radius-small, 0.25rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--component-checkbox-check, var(--color-fg-on-accent, #fff));
}

.engagement-picker-check.is-checked[b-jfzsc4z5no] {
    border-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
    background-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
}

.engagement-picker-option-label[b-jfzsc4z5no] {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.engagement-picker-empty[b-jfzsc4z5no] {
    margin: 0;
    padding: var(--space-inset-md, 0.75rem);
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    text-align: center;
}

.engagement-picker-footer[b-jfzsc4z5no] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: var(--space-inline-sm, 0.5rem);
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-top: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
}

.engagement-picker-footer-btn[b-jfzsc4z5no] {
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: transparent;
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    cursor: pointer;
}

.engagement-picker-footer-btn:hover:not(:disabled)[b-jfzsc4z5no] {
    background-color: var(--color-state-layer-hover, rgba(0, 0, 0, 0.04));
}

.engagement-picker-footer-btn:disabled[b-jfzsc4z5no] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
    opacity: 1;
}

.engagement-picker-footer-btn:focus-visible[b-jfzsc4z5no] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 1px;
}

.visually-hidden[b-jfzsc4z5no] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 48rem) {
    .engagement-picker-input[b-jfzsc4z5no] {
        font-size: max(var(--type-body-size, 1rem), 1rem);
    }

    .engagement-picker-chip-remove[b-jfzsc4z5no] {
        min-width: 1.5rem;
        min-height: 1.5rem;
    }
}
/* /Components/Pages/Admin/Participant/ParticipantImport.razor.rz.scp.css */
/* Standalone /admin/participants/import surface mirroring the 640px Figma import dialog card. */

.participant-import-page[b-8ierjwmz2v] {
    display: flex;
    justify-content: center;
    padding: var(--space-stack-md, 1rem) 0;
    min-width: 0;
}

.participant-import-card[b-8ierjwmz2v] {
    width: 100%;
    max-width: 40rem;
    min-width: 0;
    padding: var(--space-inset-xl, 1.5rem);
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #d4d4d8);
    border-radius: var(--shape-radius-container, 1.25rem);
    background-color: var(--color-bg-surface-raised, var(--color-bg-surface, #fff));
    box-shadow:
        0 var(--shadow-offset-y-16, 16px) var(--shadow-blur-32, 32px) var(--shadow-spread-neg-8, -8px) var(--color-shadow-key, #0000001f),
        0 var(--shadow-offset-y-4, 4px) var(--shadow-blur-8, 8px) var(--shadow-spread-neg-4, -4px) var(--color-shadow-ambient, #00000014);
}
/* /Components/Pages/Admin/Participant/ParticipantImportFlow.razor.rz.scp.css */
/* CSV participant import dialog flow (WAB-34). Tokens come from tokens.css and tenant theme overrides. */

.import-flow[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
    width: 100%;
    min-width: 0;
}

.import-flow.is-modal[b-up1r2fznfn] {
    min-height: 0;
    max-height: 100%;
}

.import-flow-header[b-up1r2fznfn],
.import-flow[b-up1r2fznfn]  .import-flow-header {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: var(--space-stack-xs, 0.375rem);
    text-align: left;
    min-width: 0;
}

.import-flow-title[b-up1r2fznfn],
.import-flow[b-up1r2fznfn]  .import-flow-title {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-sm-size, 1.5rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-sm-line-height, 2rem);
    letter-spacing: var(--type-title-sm-letter-spacing, -0.02em);
    overflow-wrap: anywhere;
}

.import-flow-description[b-up1r2fznfn],
.import-flow[b-up1r2fznfn]  .import-flow-description {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-body-size, 1rem);
    font-weight: var(--brand-font-body-style-regular, 400);
    line-height: var(--type-body-line-height, 1.5rem);
    overflow-wrap: anywhere;
}

.import-flow-body[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
}

.import-flow.is-modal .import-flow-body[b-up1r2fznfn] {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.import-step2-body[b-up1r2fznfn] {
    gap: var(--space-stack-lg, 1.25rem);
}

/* Step 1: Drag-and-drop CSV upload zone. */
.import-dropzone[b-up1r2fznfn] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem var(--space-inset-lg, 1.5rem);
    border: var(--shape-border-default, 1px) dashed var(--color-border-strong, #9f9fa9);
    border-radius: var(--dimension-12, 0.75rem);
    background-color: var(--color-bg-surface, #fff);
    transition: border-color var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out),
        background-color var(--motion-duration-100, 100ms) var(--motion-easing-ease-out, ease-out);
}

.import-dropzone:hover:not(.is-checking)[b-up1r2fznfn],
.import-dropzone.is-drag-over[b-up1r2fznfn] {
    border-color: var(--color-border-accent, var(--color-border-focus, #840b55));
    background-color: var(--color-state-layer-hover, rgb(0 0 0 / 0.02));
}

.import-dropzone:has(.import-dropzone-input:focus-visible)[b-up1r2fznfn] {
    border-color: var(--color-border-focus, #2a55db);
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

.import-dropzone.is-checking[b-up1r2fznfn] {
    opacity: 0.7;
    cursor: progress;
}

.import-dropzone[b-up1r2fznfn]  .import-dropzone-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.import-dropzone.is-checking[b-up1r2fznfn]  .import-dropzone-input {
    cursor: progress;
}

.import-dropzone-content[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-stack-xs, 0.375rem);
    pointer-events: none;
    max-width: 100%;
}

.import-dropzone-icon[b-up1r2fznfn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dimension-48, 3rem);
    height: var(--dimension-48, 3rem);
    margin-bottom: var(--space-stack-sm, 0.5rem);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface-sunken, var(--neutral-200, #e4e4e7));
    color: var(--color-fg-primary, #18181b);
}

.import-dropzone-title[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-strong, 600);
    line-height: var(--type-label-line-height, 1.25rem);
}

.import-dropzone-meta[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.import-browse-button[b-up1r2fznfn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--size-control-sm, 2rem);
    margin-top: var(--space-stack-sm, 0.5rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--component-button-secondary-border, var(--color-border-strong, #9f9fa9));
    border-radius: var(--component-button-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-button-secondary-bg, var(--color-bg-surface, #fff));
    color: var(--component-button-secondary-fg, var(--color-fg-primary, #18181b));
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    box-shadow: 0 var(--shadow-offset-y-1, 1px) var(--shadow-blur-2, 2px) 0 var(--color-shadow-ambient, #0000000d);
}

.import-dropzone:hover:not(.is-checking) .import-browse-button[b-up1r2fznfn] {
    background-image: linear-gradient(var(--color-state-layer-hover, transparent), var(--color-state-layer-hover, transparent));
}

/* Step 1: Uploaded file pill card. */
.import-file-card[b-up1r2fznfn] {
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.625rem);
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #d4d4d8);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
    min-width: 0;
}

.import-file-icon[b-up1r2fznfn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dimension-32, 2rem);
    height: var(--dimension-32, 2rem);
    flex-shrink: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background-color: var(--color-bg-surface-sunken, var(--neutral-200, #e4e4e7));
    color: var(--color-fg-secondary, #52525c);
}

.import-file-meta[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
}

.import-file-name[b-up1r2fznfn] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: 1.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.import-file-subtext[b-up1r2fznfn] {
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.import-file-remove[b-up1r2fznfn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dimension-28, 1.75rem);
    height: var(--dimension-28, 1.75rem);
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: transparent;
    color: var(--color-fg-tertiary, var(--color-fg-secondary, #52525c));
    cursor: pointer;
}

.import-file-remove:hover:not(:disabled)[b-up1r2fznfn] {
    background-color: var(--color-state-layer-hover, rgb(0 0 0 / 0.04));
    color: var(--color-fg-primary, #18181b);
}

.import-file-remove:focus-visible[b-up1r2fznfn] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

/* Step 1: Download CSV template link. */
.import-template-link[b-up1r2fznfn] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: var(--space-inline-sm, 0.5rem);
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-md, 0.75rem);
    color: var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-900, #840b55)));
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    text-decoration: none;
}

.import-template-link:hover[b-up1r2fznfn] {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.import-template-link:focus-visible[b-up1r2fznfn] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* Step 2: Engagement selection & invite checkbox. */
.import-field[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.375rem);
    min-width: 0;
}

.import-field-label[b-up1r2fznfn] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-strong, 600);
    line-height: var(--type-label-line-height, 1.25rem);
}

.import-field-helper[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.import-field-error[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-status-danger-fg, #a62222);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.import-inline-alert[b-up1r2fznfn],
.import-details-recovery[b-up1r2fznfn] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-inline-xs, 0.25rem) var(--space-inline-sm, 0.5rem);
    color: var(--color-status-danger-fg, #a62222);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.import-details-recovery .import-error-detail[b-up1r2fznfn] {
    margin: 0;
}

.import-inline-retry[b-up1r2fznfn] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-900, #840b55)));
    font: inherit;
    font-weight: var(--brand-font-body-style-medium, 500);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.import-inline-retry:disabled[b-up1r2fznfn] {
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
    text-decoration: none;
}

.import-inline-retry:focus-visible[b-up1r2fznfn] {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

.import-invite-row[b-up1r2fznfn] {
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.625rem);
    min-width: 0;
}

.import-invite-row[b-up1r2fznfn]  [role="checkbox"] {
    flex-shrink: 0;
    border-color: var(--component-checkbox-border, var(--color-border-strong, #9f9fa9));
    border-radius: var(--component-checkbox-radius, var(--shape-radius-small, 0.25rem));
}

.import-invite-row[b-up1r2fznfn]  [role="checkbox"][data-state="checked"] {
    border-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
    background-color: var(--component-checkbox-bg-checked, var(--color-bg-accent, #840b55));
    color: var(--component-checkbox-check, var(--color-fg-on-accent, #fff));
}

.import-invite-row[b-up1r2fznfn]  [role="checkbox"]:is(:disabled, [aria-disabled="true"]) {
    border-color: var(--color-border-default, #d4d4d8);
    background-color: var(--color-bg-disabled, #f4f4f5);
    opacity: 1;
}

.import-invite-row[b-up1r2fznfn]  [role="checkbox"]:focus-visible {
    outline: 2px solid var(--color-border-focus, #2a55db);
    outline-offset: 2px;
}

.import-invite-label[b-up1r2fznfn] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-size, 1rem);
    font-weight: var(--brand-font-body-style-regular, 400);
    line-height: var(--type-body-line-height, 1.5rem);
    cursor: pointer;
}

.import-invite-row.is-disabled .import-invite-label[b-up1r2fznfn] {
    color: var(--color-fg-disabled, #d4d4d8);
    cursor: not-allowed;
}

.import-status-note[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

/* Step 3: Uploading progress bar (Figma accent progress fill). */
.import-progress-section[b-up1r2fznfn],
.import-loading[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-sm, 0.5rem);
    min-width: 0;
}

.import-progress-header[b-up1r2fznfn] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-inline-md, 0.75rem);
}

.import-progress-label[b-up1r2fznfn] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.import-progress-percent[b-up1r2fznfn] {
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    font-variant-numeric: tabular-nums;
}

.import-progress-track[b-up1r2fznfn] {
    position: relative;
    width: 100%;
    height: var(--dimension-8, 0.5rem);
    border-radius: var(--shape-radius-pill, 9999px);
    background-color: var(--color-bg-surface-sunken, var(--neutral-200, #e4e4e7));
    overflow: hidden;
}

.import-progress-fill[b-up1r2fznfn] {
    height: 100%;
    border-radius: var(--shape-radius-pill, 9999px);
    background-color: var(--color-bg-accent, var(--brand-primary-900, #840b55));
    transition: width var(--motion-duration-250, 250ms) var(--motion-easing-ease-out, ease-out);
}

.import-progress-fill.is-indeterminate[b-up1r2fznfn] {
    width: 35%;
    animation: import-progress-slide-b-up1r2fznfn 1.2s var(--motion-easing-ease-in-out, ease-in-out) infinite;
}

/* Step 4 & Step 5: Semantic status banners (Success & Error). */
.import-banner[b-up1r2fznfn] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-inline-md, 0.75rem);
    padding: var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
    border: var(--shape-border-default, 1px) solid transparent;
    border-radius: var(--shape-radius-control, 0.5rem);
    min-width: 0;
}

.import-banner-success[b-up1r2fznfn] {
    border-color: transparent;
    background-color: var(--color-status-success-bg-subtle, #ecfdf3);
    color: var(--color-status-success-fg, #027a48);
}

.import-banner-error[b-up1r2fznfn] {
    padding: var(--space-inset-lg, 1rem);
    border-color: transparent;
    background-color: var(--color-status-danger-bg-subtle, #fef1f1);
    color: var(--color-status-danger-fg, #a62222);
}

.import-banner[b-up1r2fznfn]  .import-banner-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.import-banner-content[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    flex: 1 1 auto;
    min-width: 0;
}

.import-banner-primary[b-up1r2fznfn] {
    margin: 0;
    color: inherit;
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.import-banner-secondary[b-up1r2fznfn] {
    margin: 0;
    color: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    opacity: 0.9;
}

.import-banner-heading[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-status-danger-fg, #a62222);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.import-banner-body[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    overflow-wrap: anywhere;
}

.import-error-detail[b-up1r2fznfn] {
    margin: var(--space-stack-xs, 0.25rem) 0 0;
    color: var(--color-status-danger-fg, #a62222);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
    overflow-wrap: anywhere;
}

.import-outcome-totals[b-up1r2fznfn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-stack-xs, 0.25rem) var(--space-inline-md, 0.75rem);
    margin: var(--space-stack-xs, 0.25rem) 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-caption-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-caption-line-height, 1rem);
}

/* Detailed row & invite failure list (bounded scroll so dialog stays compact). */
.import-issue-block[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    margin-top: var(--space-stack-sm, 0.5rem);
    padding-top: var(--space-stack-sm, 0.5rem);
    border-top: var(--shape-border-default, 1px) solid var(--color-status-danger-border-subtle, #fbc5c5);
    min-width: 0;
}

.import-issue-heading[b-up1r2fznfn] {
    margin: 0;
    color: var(--color-status-danger-fg, #a62222);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-strong, 600);
    line-height: var(--type-label-sm-line-height, 1rem);
}

.import-issue-list[b-up1r2fznfn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    max-height: 11rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1.125rem);
}

.import-issue-item[b-up1r2fznfn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-inline-xs, 0.25rem);
    overflow-wrap: anywhere;
}

.import-issue-location[b-up1r2fznfn] {
    font-weight: var(--brand-font-body-style-strong, 600);
}

.import-issue-link[b-up1r2fznfn] {
    color: var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-900, #840b55)));
    font-weight: var(--brand-font-body-style-medium, 500);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Footer actions: right-aligned on desktop; stacked full-width with primary on top on mobile (Figma Dialog spec). */
.import-flow-footer[b-up1r2fznfn] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: var(--space-inline-sm, 0.5rem);
}

.visually-hidden[b-up1r2fznfn] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@keyframes import-progress-slide-b-up1r2fznfn {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

@media (max-width: 48rem) {
    .import-dropzone[b-up1r2fznfn] {
        padding: var(--space-inset-xl, 1.5rem) var(--space-inset-md, 1rem);
    }

    .import-flow-footer[b-up1r2fznfn] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .import-flow-footer[b-up1r2fznfn]  button,
    .import-flow-footer[b-up1r2fznfn]  a {
        width: 100%;
    }
}

@media (max-height: 26rem) {
    .import-flow.is-modal[b-up1r2fznfn] {
        gap: var(--space-stack-md, 1rem);
    }

    .import-step2-body[b-up1r2fznfn] {
        gap: var(--space-stack-md, 1rem);
    }
}

@media (max-width: 48rem) and (max-height: 30rem) {
    .import-flow.is-modal[b-up1r2fznfn] {
        overflow-y: auto;
    }

    .import-flow.is-modal .import-flow-body[b-up1r2fznfn] {
        flex: 0 0 auto;
        overflow-y: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .import-progress-fill[b-up1r2fznfn] {
        transition: none;
    }

    .import-progress-fill.is-indeterminate[b-up1r2fznfn] {
        animation: none;
        width: 100%;
    }
}
/* /Components/Pages/Admin/Participant/ParticipantProfile.razor.rz.scp.css */
/* Participant view / manage page (WAB-30). Colours, type and spacing come from tokens.css and the tenant theme. */

.participant-profile[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
    min-width: 0;
}

.participant-profile-header[b-6ez0b1rqz7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-stack-md, 1rem);
}

.participant-profile-identity[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
    flex: 1 1 20rem;
}

.participant-profile-title-row[b-6ez0b1rqz7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-md, 0.75rem);
    min-width: 0;
}

.participant-profile-title-row h1[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-title-lg-size, 2rem);
    font-family: var(--brand-font-title-family, inherit);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-lg-line-height, 2.5rem);
    letter-spacing: var(--type-title-lg-letter-spacing, -0.02em);
    overflow-wrap: anywhere;
}

.participant-profile-meta[b-6ez0b1rqz7],
.participant-profile-affiliations[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    overflow-wrap: anywhere;
}

.participant-profile-actions[b-6ez0b1rqz7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    flex-shrink: 0;
}

.participant-profile-actions[b-6ez0b1rqz7]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
}

/* Self-contained WCAG 1.4.13 tooltip: positioned below trigger with seamless hover bridge, keyboard focus & Escape dismiss. */
.participant-tooltip-host[b-6ez0b1rqz7] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.participant-tooltip-trigger[b-6ez0b1rqz7] {
    display: inline-flex;
    border-radius: var(--component-button-radius, var(--shape-radius-control, 0.5rem));
    cursor: not-allowed;
}

.participant-tooltip-trigger:focus-visible[b-6ez0b1rqz7] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
}

.participant-tooltip-popup[b-6ez0b1rqz7] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 40;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    pointer-events: none;
}

.participant-tooltip-popup.is-open[b-6ez0b1rqz7] {
    width: max-content;
    max-width: min(17.5rem, calc(100vw - 2rem));
    height: auto;
    padding-top: 0.5rem;
    overflow: visible;
    clip-path: none;
    pointer-events: auto;
}

.participant-tooltip-bubble[b-6ez0b1rqz7] {
    position: relative;
    display: block;
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    border: 1px solid var(--color-bg-inverse, #18181b);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-inverse, #18181b);
    color: var(--color-fg-inverse, #ffffff);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
    text-align: center;
    box-shadow: var(--bb-menu-shadow);
    overflow-wrap: break-word;
}

.participant-tooltip-bubble[b-6ez0b1rqz7]::before {
    content: "";
    position: absolute;
    top: -0.25rem;
    right: 2rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-bg-inverse, #18181b);
    transform: rotate(45deg);
}

/* Status pills shared visually with Participants (WAB-28). */
.participant-status[b-6ez0b1rqz7],
.engagement-status[b-6ez0b1rqz7] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    padding: calc(var(--space-inset-xs, 0.25rem) / 2) var(--space-inset-sm, 0.5rem);
    border: var(--shape-border-default, 1px) solid transparent;
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 999px));
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    white-space: nowrap;
}

.participant-status-active[b-6ez0b1rqz7],
.engagement-status-published[b-6ez0b1rqz7] {
    border-color: var(--color-status-success-border-subtle, transparent);
    background-color: var(--color-status-success-bg-subtle, #ecfdf5);
    color: var(--color-status-success-fg, #047857);
}

.participant-status-invited[b-6ez0b1rqz7] {
    border-color: var(--color-status-info-border-subtle, transparent);
    background-color: var(--color-status-info-bg-subtle, #eff6ff);
    color: var(--color-status-info-fg, #1d4ed8);
}

.participant-status-expired[b-6ez0b1rqz7] {
    border-color: var(--color-status-warning-border-subtle, transparent);
    background-color: var(--color-status-warning-bg-subtle, #fffbeb);
    color: var(--color-status-warning-fg, #b45309);
}

.engagement-status-expired[b-6ez0b1rqz7] {
    border-color: var(--color-status-danger-border-subtle, #fecaca);
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
}

.participant-status-not-invited[b-6ez0b1rqz7],
.participant-status-deactivated[b-6ez0b1rqz7],
.engagement-status-draft[b-6ez0b1rqz7],
.engagement-status-archived[b-6ez0b1rqz7] {
    border-color: var(--color-border-default, #e4e4e7);
    background-color: var(--color-bg-surface-sunken, #f4f4f5);
    color: var(--color-fg-secondary, #52525b);
}

/* Dismissible post-create banner, load error, and not-found alert. */
.participant-profile-banner[b-6ez0b1rqz7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-inline-md, 0.75rem);
    padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid transparent;
    border-radius: var(--shape-radius-control, 0.5rem);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.participant-profile-banner-success[b-6ez0b1rqz7] {
    border-color: var(--color-status-success-border-subtle, #bbf7d0);
    background-color: var(--color-status-success-bg-subtle, #ecfdf5);
    color: var(--color-status-success-fg, #047857);
}

.participant-profile-banner-error[b-6ez0b1rqz7] {
    border-color: var(--color-status-danger-border-subtle, #fecaca);
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
}

.participant-profile-banner-content[b-6ez0b1rqz7] {
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    min-width: 0;
}

.participant-profile-banner-content[b-6ez0b1rqz7]  svg {
    flex-shrink: 0;
}

.participant-profile-banner-dismiss[b-6ez0b1rqz7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.participant-profile-banner-dismiss:hover[b-6ez0b1rqz7] {
    background-color: var(--color-state-layer-hover, rgba(0, 0, 0, 0.04));
}

.participant-profile-banner-dismiss:focus-visible[b-6ez0b1rqz7] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
}

/* Cards (Profile and Assign an engagement). */
.participant-profile-card[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    padding: var(--space-inset-xl, 1.5rem);
    border: var(--shape-border-default, 1px) solid var(--component-card-border, var(--color-border-default, #e4e4e7));
    border-radius: var(--component-card-radius, var(--shape-radius-container, 1.25rem));
    background-color: var(--component-card-bg, var(--color-bg-surface, #fff));
    min-width: 0;
}

.participant-profile-card-header[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
}

.participant-profile-card h2[b-6ez0b1rqz7],
.participant-engagements-section h2[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-sm-size, 1.5rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-sm-line-height, 2rem);
    letter-spacing: var(--type-title-sm-letter-spacing, -0.02em);
}

.participant-profile-required[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.participant-profile-form[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-lg, 1.5rem);
}

.participant-profile-grid[b-6ez0b1rqz7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-stack-md, 1rem) var(--space-inline-lg, 1rem);
}

.participant-profile-field[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.375rem);
    min-width: 0;
}

.participant-profile-field-full[b-6ez0b1rqz7] {
    grid-column: 1 / -1;
}

.participant-profile-field label[b-6ez0b1rqz7] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
}

.participant-profile-select-wrap[b-6ez0b1rqz7] {
    position: relative;
    display: flex;
    align-items: center;
}

.participant-profile-select[b-6ez0b1rqz7] {
    width: 100%;
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-2xl, 2rem) 0 var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--component-input-border, var(--color-border-strong, #71717b));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.participant-profile-select.is-placeholder[b-6ez0b1rqz7] {
    color: var(--color-fg-tertiary, #71717b);
}

.participant-profile-select-wrap[b-6ez0b1rqz7]  .participant-profile-select-chevron {
    position: absolute;
    inset-inline-end: var(--space-inset-md, 0.75rem);
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    color: var(--color-fg-tertiary, #71717b);
    pointer-events: none;
}

.participant-profile-select:disabled[b-6ez0b1rqz7] {
    background-color: var(--color-bg-disabled, #f4f4f5);
    color: var(--color-fg-disabled, #a1a1aa);
    cursor: not-allowed;
    opacity: 1;
}

.participant-profile-select:focus-visible[b-6ez0b1rqz7] {
    outline: 2px solid var(--component-input-border-focus, var(--color-border-focus, #18181b));
    outline-offset: 1px;
}

.participant-profile-field[b-6ez0b1rqz7]  input.participant-profile-input-readonly {
    background-color: var(--color-bg-disabled, #f4f4f5);
    color: var(--color-fg-secondary, #52525b);
    cursor: default;
}

.participant-profile-field[b-6ez0b1rqz7]  .participant-profile-input-error,
.participant-profile-select.participant-profile-input-error[b-6ez0b1rqz7] {
    border-color: var(--component-input-border-error, var(--color-status-danger-border, #dc2626));
}

.participant-profile-field-error[b-6ez0b1rqz7] {
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.participant-profile-hint[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-tertiary, var(--color-fg-secondary, #52525b));
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.participant-profile-form-actions[b-6ez0b1rqz7] {
    display: flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
}

/* Assign an engagement row: picker stretches full width beside Assign. */
.participant-assign-row[b-6ez0b1rqz7] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-inline-md, 0.75rem);
    min-width: 0;
}

.participant-assign-picker[b-6ez0b1rqz7] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

/* Assigned engagements table section. */
.participant-engagements-section[b-6ez0b1rqz7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-md, 1rem);
    min-width: 0;
}

.participant-engagements-card[b-6ez0b1rqz7] {
    min-width: 0;
    border: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
    overflow: hidden;
}

.participant-engagements-scroll[b-6ez0b1rqz7] {
    position: relative;
    overflow-x: auto;
}

.participant-engagements-table[b-6ez0b1rqz7] {
    width: 100%;
    min-width: 32rem;
    table-layout: fixed;
    border-collapse: collapse;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.participant-engagements-col-name[b-6ez0b1rqz7] {
    width: auto;
}

.participant-engagements-col-status[b-6ez0b1rqz7] {
    width: 9rem;
}

.participant-engagements-col-progress[b-6ez0b1rqz7] {
    width: 8.5rem;
}

.participant-engagements-col-actions[b-6ez0b1rqz7] {
    width: 3.5rem;
}

.participant-engagements-table th[b-6ez0b1rqz7] {
    padding: var(--component-cell-padding-vertical, 0.75rem) var(--component-cell-padding-side, 0.75rem);
    border-bottom: var(--shape-border-default, 1px) solid var(--color-border-default, #e4e4e7);
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    text-align: left;
    white-space: nowrap;
}

.participant-engagements-table td[b-6ez0b1rqz7] {
    padding: var(--component-cell-padding-vertical, 0.75rem) var(--component-cell-padding-side, 0.75rem);
    border-bottom: var(--shape-border-default, 1px) solid var(--color-border-subtle, #f4f4f5);
    vertical-align: middle;
}

.participant-engagements-table tbody tr:last-child td[b-6ez0b1rqz7] {
    border-bottom: 0;
}

.participant-engagement-name[b-6ez0b1rqz7] {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.participant-engagement-link[b-6ez0b1rqz7] {
    display: inline;
    color: var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-500, #840b55)));
    font-weight: var(--brand-font-body-style-medium, 500);
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.participant-engagement-link:hover[b-6ez0b1rqz7] {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.participant-engagement-link:focus-visible[b-6ez0b1rqz7],
.participant-profile-sort:focus-visible[b-6ez0b1rqz7] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

.participant-engagement-progress[b-6ez0b1rqz7] {
    white-space: nowrap;
}

.participant-profile-sort[b-6ez0b1rqz7] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.participant-profile-sort:hover[b-6ez0b1rqz7] {
    color: var(--color-fg-primary, #18181b);
}

.participant-engagements-actions-col[b-6ez0b1rqz7] {
    width: 3.5rem;
    text-align: right;
}

.participant-engagements-actions-col[b-6ez0b1rqz7]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
}

.participant-engagements-table td.participant-engagements-empty[b-6ez0b1rqz7] {
    padding: var(--space-inset-2xl, 2rem) var(--space-inset-md, 0.75rem);
    border-bottom: 0;
    text-align: center;
}

.participant-engagements-empty-title[b-6ez0b1rqz7] {
    margin: 0;
    color: var(--color-fg-secondary, #52525b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
}

.participant-engagements-empty-hint[b-6ez0b1rqz7] {
    margin: var(--space-stack-xs, 0.25rem) 0 0;
    color: var(--color-fg-tertiary, var(--color-fg-secondary, #52525b));
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
}

.visually-hidden[b-6ez0b1rqz7] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 48rem) {
    .participant-profile-header[b-6ez0b1rqz7] {
        flex-direction: column;
        align-items: stretch;
    }

    .participant-profile-identity[b-6ez0b1rqz7] {
        flex: 0 0 auto;
        width: 100%;
    }

    .participant-profile-actions[b-6ez0b1rqz7] {
        width: 100%;
    }

    .participant-tooltip-popup[b-6ez0b1rqz7] {
        right: auto;
        left: 0;
    }

    .participant-tooltip-bubble[b-6ez0b1rqz7]::before {
        right: auto;
        left: 2rem;
    }

    .participant-profile-card[b-6ez0b1rqz7] {
        padding: var(--space-inset-lg, 1rem);
    }

    .participant-profile-grid[b-6ez0b1rqz7] {
        grid-template-columns: minmax(0, 1fr);
    }

    .participant-profile-select[b-6ez0b1rqz7] {
        font-size: max(var(--type-body-size, 1rem), 1rem);
    }

    .participant-assign-row[b-6ez0b1rqz7] {
        flex-direction: column;
        align-items: stretch;
    }

    .participant-engagements-table[b-6ez0b1rqz7] {
        min-width: 28rem;
    }

    .participant-engagements-col-status[b-6ez0b1rqz7] {
        width: 7.5rem;
    }

    .participant-engagements-col-progress[b-6ez0b1rqz7] {
        width: 7.5rem;
    }

    .participant-engagements-col-actions[b-6ez0b1rqz7],
    .participant-engagements-actions-col[b-6ez0b1rqz7] {
        width: 3rem;
    }
}
/* /Components/Pages/Admin/Participant/Participants.razor.rz.scp.css */
/* Participants list cells (WAB-28). The page frame, filters, table and footer are the shared list components
   (Components/Shared/Lists); colours, type and spacing come from the Figma tokens in tokens.css and the tenant theme. */

.participants-name a[b-ag5y0cpc67] {
    color: var(--color-fg-link, var(--color-fg-accent, var(--brand-primary-500, #840b55)));
    text-decoration: none;
}

.participants-name a:hover[b-ag5y0cpc67] {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* The Figma focus colour; more specific than the admin shell's own focus outline, which would win otherwise. */
.participants-name.participants-name a:focus-visible[b-ag5y0cpc67] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* The row's Actions button sits at the end of its column, 12 px from the edge. Without left padding the 32 px button fits
   down to the table's 52rem minimum width, and the cell never draws an ellipsis. */
.participants-actions-column.participants-actions-column[b-ag5y0cpc67] {
    padding-left: 0;
    text-align: right;
    text-overflow: clip;
}

/* 16px icons take the Figma icon size. */
.participants-actions-column[b-ag5y0cpc67]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
}

/* The Figma status Badge: 24 px tall (4/8 px inset around a 16 px line), no border, a 16 px icon 4 px before the label. A
   label longer than the column ends in an ellipsis; the icon never shrinks. */
.participant-status[b-ag5y0cpc67] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    padding: var(--space-inset-xs, 0.25rem) var(--space-inset-sm, 0.5rem);
    border-radius: var(--component-badge-radius, var(--shape-radius-pill, 999px));
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    white-space: nowrap;
}

.participant-status[b-ag5y0cpc67]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

.participant-status-label[b-ag5y0cpc67] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participant-status-active[b-ag5y0cpc67] {
    background-color: var(--color-status-success-bg-subtle, #ecfdf3);
    color: var(--color-status-success-fg, #027a48);
}

.participant-status-invited[b-ag5y0cpc67] {
    background-color: var(--color-status-info-bg-subtle, #eef4ff);
    color: var(--color-status-info-fg, #2244b0);
}

.participant-status-expired[b-ag5y0cpc67] {
    background-color: var(--color-status-warning-bg-subtle, #fffbeb);
    color: var(--color-status-warning-fg, #b45309);
}

.participant-status-not-invited[b-ag5y0cpc67],
.participant-status-deactivated[b-ag5y0cpc67] {
    background-color: var(--color-bg-surface-sunken, #e4e4e7);
    color: var(--color-fg-secondary, #52525c);
}

.visually-hidden[b-ag5y0cpc67] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* /Components/Pages/Dev/GuardCheck.razor.rz.scp.css */
.dev-page[b-yl969ghz7r] {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.dev-header[b-yl969ghz7r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.dev-header h1[b-yl969ghz7r] {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.dev-intro[b-yl969ghz7r] {
    max-width: 48rem;
    margin: 0.5rem 0 1.5rem;
    color: var(--muted-foreground, #71717a);
}

.dev-calls[b-yl969ghz7r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dev-result[b-yl969ghz7r] {
    margin-top: 1rem;
}
/* /Components/Shared/Lists/DataTable.razor.rz.scp.css */
/* The Figma data table. Colours, type and spacing come from the Figma tokens in tokens.css and the tenant theme. The cells
   come from the page (RowTemplate), so their rules reach them through ::deep. */

.data-table-card[b-f1x8sx3zj6] {
    min-width: 0;
    border: var(--shape-border-default, 1px) solid var(--component-card-border, var(--color-border-default, #d4d4d8));
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-bg-surface, #fff);
    overflow: hidden;
}

.data-table-scroll[b-f1x8sx3zj6] {
    /* Contains absolutely positioned hidden labels, which otherwise widen the page on small screens. */
    position: relative;
    overflow-x: auto;
}

/* Fixed layout: each column keeps its share of the design widths (the col elements). Below 52rem the table scrolls
   sideways instead of squeezing its columns further. */
.data-table[b-f1x8sx3zj6] {
    width: 100%;
    min-width: 52rem;
    border-collapse: collapse;
    table-layout: fixed;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    letter-spacing: var(--type-body-sm-letter-spacing, 0);
}

/* Headers wrap rather than run into the next column. */
.data-table th[b-f1x8sx3zj6] {
    height: var(--size-control-md, 2.5rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border-bottom: var(--shape-border-default, 1px) solid var(--color-border-default, #d4d4d8);
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    letter-spacing: var(--type-label-sm-letter-spacing, 0);
    text-align: left;
    overflow-wrap: anywhere;
}

/* 57px rows as in the design: the cell inset around a small control's height (a badge or row button), plus the border.
   Text that doesn't fit ends in an ellipsis; a page lets a cell wrap instead where its text must show whole. */
.data-table[b-f1x8sx3zj6]  td {
    height: calc(var(--space-inset-md, 0.75rem) * 2 + var(--size-control-sm, 2rem) + var(--shape-border-default, 1px));
    padding: var(--space-inset-md, 0.75rem);
    border-bottom: var(--shape-border-default, 1px) solid var(--color-border-subtle, #f4f4f5);
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table tbody tr:last-child[b-f1x8sx3zj6]  td {
    border-bottom: 0;
}

/* Header sort: ⇅ in the tertiary colour at half opacity when unsorted; label and ↑/↓ in the primary colour when sorted. */
.data-table-sort[b-f1x8sx3zj6] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-xs, 0.25rem);
    max-width: 100%;
    padding: 0;
    text-align: left;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.data-table-sort[b-f1x8sx3zj6]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
    color: var(--color-fg-tertiary, #71717b);
    opacity: 0.5;
}

.data-table-sort:hover[b-f1x8sx3zj6],
.data-table-sort:hover[b-f1x8sx3zj6]  svg,
.data-table-sort-active[b-f1x8sx3zj6],
.data-table-sort-active[b-f1x8sx3zj6]  svg {
    color: var(--color-fg-primary, #18181b);
    opacity: 1;
}

/* The Figma focus colour; more specific than the admin shell's own focus outline, which would win otherwise. */
.data-table th .data-table-sort:focus-visible[b-f1x8sx3zj6] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    border-radius: var(--shape-radius-small, 0.25rem);
}

/* The Figma Data Table's Empty variant: one 266 px cell under the header row (its border is the only divider), the message
   centred in tertiary body-small text. */
.data-table-empty[b-f1x8sx3zj6] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 16.625rem;
    margin: 0;
    padding: var(--space-inset-md, 0.75rem);
    color: var(--color-fg-tertiary, #71717b);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    letter-spacing: var(--type-body-sm-letter-spacing, 0);
    text-align: center;
}

.data-table-placeholder[b-f1x8sx3zj6] {
    display: block;
    height: 1rem;
    border-radius: var(--shape-radius-small, 0.25rem);
    background: linear-gradient(90deg, var(--color-bg-surface-sunken, #e4e4e7), var(--color-border-subtle, #f4f4f5), var(--color-bg-surface-sunken, #e4e4e7));
    background-size: 200% 100%;
    animation: data-table-shimmer-b-f1x8sx3zj6 1.2s linear infinite;
}

.visually-hidden[b-f1x8sx3zj6] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@keyframes data-table-shimmer-b-f1x8sx3zj6 {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .data-table-placeholder[b-f1x8sx3zj6] {
        animation: none;
    }
}
/* /Components/Shared/Lists/FilterBar.razor.rz.scp.css */
/* A size container: its fields stack at full width once the bar is narrower than the design's filter row (FilterField). */
.filter-bar[b-wfplulx85h] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-inline-md, 0.75rem);
    container-type: inline-size;
}
/* /Components/Shared/Lists/FilterField.razor.rz.scp.css */
/* The Figma Input and Select: a 20 px label, 8 px, then the 40 px control (68 px in all). */
.filter-field[b-r8jalj5uw9] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-sm, 0.5rem);
}

.filter-field label[b-r8jalj5uw9] {
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-label-size, 0.875rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-line-height, 1.25rem);
    letter-spacing: var(--type-label-letter-spacing, 0);
}

/* 340 px in the design. */
.filter-field-search[b-r8jalj5uw9] {
    flex: 0 1 21.25rem;
    min-width: min(100%, 14rem);
}

/* 240 px in the design; it grows with the tenant's body text size and inset, so a ten-letter option shows whole. */
.filter-field-select[b-r8jalj5uw9] {
    flex: 0 1 max(15rem, calc(var(--type-body-size, 1rem) * 10 + var(--space-inset-md, 0.75rem) * 2 + var(--size-icon-sm, 1rem) + var(--space-inline-sm, 0.5rem)));
    min-width: min(100%, 10rem);
}

/* Narrower than the design's row (340 + 12 + 240 px), as on a phone or a tablet with the sidebar open: each field takes the
   bar's full width instead of wrapping unevenly. */
@container (max-width: 37rem) {
    .filter-field-search[b-r8jalj5uw9],
    .filter-field-select[b-r8jalj5uw9] {
        flex: 1 1 100%;
    }
}
/* /Components/Shared/Lists/ListFooter.razor.rz.scp.css */
/* The Figma "Load more row": 56 px, count on the left, "Show more" centred; grid columns, so a long count never runs under the
   button. Hovering the button or fetching its rows shades the whole row, as the design's Hover and Fetching states do. */
.list-footer[b-inwoaxqnr0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    min-height: calc(var(--size-control-sm, 2rem) + var(--space-inset-md, 0.75rem) * 2);
    padding: 0 var(--space-inset-md, 0.75rem);
    border-top: var(--shape-border-default, 1px) solid var(--color-border-subtle, #f4f4f5);
}

.list-footer:has(.list-footer-show-more:hover)[b-inwoaxqnr0],
.list-footer-fetching[b-inwoaxqnr0] {
    background-color: var(--color-state-layer-pressed, rgb(0 0 0 / 0.08));
}

.list-footer-count[b-inwoaxqnr0] {
    grid-column: 1;
    color: var(--color-fg-tertiary, #71717b);
    font-size: var(--type-caption-size, 0.75rem);
    line-height: var(--type-caption-line-height, 1rem);
    letter-spacing: var(--type-caption-letter-spacing, 0);
}

/* The design's small ghost button: "Show 10 more rows" with a caret. It keeps its colour while busy (the design's Fetching
   state); the spinner and label say it is loading. */
.list-footer-show-more[b-inwoaxqnr0] {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: var(--space-inline-sm, 0.5rem);
    height: var(--size-control-sm, 2rem);
    padding: 0 var(--space-inset-md, 0.75rem);
    border: 0;
    border-radius: var(--component-button-radius, var(--shape-radius-control, 0.5rem));
    background: none;
    color: var(--component-button-ghost-fg, var(--color-fg-accent, #840b55));
    font: inherit;
    font-size: var(--type-label-sm-size, 0.75rem);
    font-weight: var(--brand-font-body-style-medium, 500);
    line-height: var(--type-label-sm-line-height, 1rem);
    letter-spacing: var(--type-label-sm-letter-spacing, 0);
    cursor: pointer;
}

.list-footer-show-more[b-inwoaxqnr0]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

.list-footer-show-more[aria-disabled="true"][b-inwoaxqnr0] {
    cursor: progress;
}

.list-footer-show-more[b-inwoaxqnr0]  .list-footer-spinner {
    animation: list-footer-spin-b-inwoaxqnr0 1s linear infinite;
}

/* The Figma focus colour, keeping the button's own corners; more specific than the admin shell's own focus outline. */
.list-footer .list-footer-show-more:focus-visible[b-inwoaxqnr0] {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
}

@keyframes list-footer-spin-b-inwoaxqnr0 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 48rem) {
    .list-footer[b-inwoaxqnr0] {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        padding: var(--space-inset-sm, 0.5rem) var(--space-inset-md, 0.75rem);
    }

    .list-footer-count[b-inwoaxqnr0],
    .list-footer-show-more[b-inwoaxqnr0] {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .list-footer-show-more[b-inwoaxqnr0]  .list-footer-spinner {
        animation: none;
    }
}
/* /Components/Shared/Lists/ListPage.razor.rz.scp.css */
/* The Figma page content: its sections 32 px apart. A size container, so the header can lay out by the content's width
   (PageHeader), which the sidebar narrows, rather than the screen's. */
.list-page[b-gnieiq3f6b] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xl, 2rem);
    min-width: 0;
    container: list-page / inline-size;
}
/* /Components/Shared/Lists/LoadError.razor.rz.scp.css */
/* The Figma Alert, danger tone: the subtle danger background without a border, 12/16 px inset, 12 px gaps, the tone's icon
   and its message in the tone colour, and a small secondary action. */
.list-error[b-0f7y2j3vqt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-inline-md, 0.75rem);
    padding: var(--space-inset-md, 0.75rem) var(--space-inset-lg, 1rem);
    border-radius: var(--shape-radius-control, 0.5rem);
    background-color: var(--color-status-danger-bg-subtle, #fef2f2);
    color: var(--color-status-danger-fg, #b91c1c);
    font-size: var(--type-body-sm-size, 0.875rem);
    line-height: var(--type-body-sm-line-height, 1.25rem);
    letter-spacing: var(--type-body-sm-letter-spacing, 0);
}

.list-error[b-0f7y2j3vqt]  .list-error-icon {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

.list-error-message[b-0f7y2j3vqt] {
    flex: 1 1 12rem;
    font-weight: var(--brand-font-body-style-medium, 500);
}

/* The Figma focus colour, keeping the button's own corners; more specific than the admin shell's own focus outline. */
.list-error.list-error[b-0f7y2j3vqt]  button:focus-visible {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    box-shadow: none;
}
/* /Components/Shared/Lists/PageHeader.razor.rz.scp.css */
/* The Figma page header. Colours, type and spacing come from the Figma tokens in tokens.css and the tenant theme. */
.page-header[b-n4xsnc33go] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-inline-lg, 1rem);
}

.page-header-titles[b-n4xsnc33go] {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-xs, 0.25rem);
    min-width: 0;
}

/* The design's page title: title-md (32 px on a 40 px line). */
.page-header-titles h1[b-n4xsnc33go] {
    margin: 0;
    color: var(--color-fg-primary, #18181b);
    font-family: var(--brand-font-title-family, inherit);
    font-size: var(--type-title-md-size, 2rem);
    font-weight: var(--brand-font-title-style-medium, 500);
    line-height: var(--type-title-md-line-height, 2.5rem);
    letter-spacing: var(--type-title-md-letter-spacing, -0.5px);
    /* A long name with no spaces breaks rather than run past a phone's screen. */
    overflow-wrap: anywhere;
}

.page-header-titles p[b-n4xsnc33go] {
    margin: 0;
    color: var(--color-fg-secondary, #52525c);
    font-size: var(--type-body-size, 1rem);
    line-height: var(--type-body-line-height, 1.5rem);
    letter-spacing: var(--type-body-letter-spacing, 0);
}

.page-header-actions[b-n4xsnc33go] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-inline-sm, 0.5rem);
}

/* 16px icons take the Figma icon size. */
.page-header-actions[b-n4xsnc33go]  svg {
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    flex: none;
}

/* The Figma focus colour, keeping the button's own corners; more specific than the admin shell's own focus outline, which
   would win otherwise. BlazorBlueprint's focus ring is dropped so the two don't draw in the same place. */
.page-header .page-header-actions[b-n4xsnc33go]  :is(a, button):focus-visible {
    outline: 2px solid var(--color-border-focus, var(--color-fg-primary, #18181b));
    outline-offset: 2px;
    box-shadow: none;
}

/* When the buttons no longer fit beside the title they go under it, sharing the full width, so their edges line up. */
@container list-page (max-width: 40rem) {
    .page-header[b-n4xsnc33go] {
        align-items: stretch;
    }

    .page-header-actions[b-n4xsnc33go] {
        width: 100%;
    }

    .page-header-actions[b-n4xsnc33go]  > :is(a, button) {
        flex: 1 1 0;
        min-width: max-content;
    }
}
/* /Components/Shared/Lists/SearchField.razor.rz.scp.css */
.search-field-box[b-aa2q4ky0ji] {
    position: relative;
}

/* The design's magnifier, in the primary text colour. */
.search-field-box[b-aa2q4ky0ji]  .search-field-icon {
    position: absolute;
    top: 50%;
    left: var(--space-inset-md, 0.75rem);
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    transform: translateY(-50%);
    color: var(--color-fg-primary, #18181b);
    pointer-events: none;
}

/* The design's Input: body text (16/24, BlazorBlueprint's own class shrinks it to 14 px on wide screens), no shadow, and the
   same focus outline as the select beside it. */
.search-field-box[b-aa2q4ky0ji]  input {
    width: 100%;
    padding-right: var(--space-inset-md, 0.75rem);
    padding-left: calc(var(--space-inset-md, 0.75rem) + var(--size-icon-sm, 1rem) + var(--space-inline-sm, 0.5rem));
    border-color: var(--component-input-border, var(--color-border-strong, #9f9fa9));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    box-shadow: none;
    color: var(--color-fg-primary, #18181b);
    font-size: var(--type-body-size, 1rem);
    line-height: var(--type-body-line-height, 1.5rem);
    letter-spacing: var(--type-body-letter-spacing, 0);
}

.search-field-box[b-aa2q4ky0ji]  input::placeholder {
    color: var(--color-fg-tertiary, #71717b);
    opacity: 1;
}

.search-field-box[b-aa2q4ky0ji]  input:focus-visible {
    outline: 2px solid var(--component-input-border-focus, var(--color-border-focus, #18181b));
    outline-offset: 1px;
    box-shadow: none;
}

.search-field-box[b-aa2q4ky0ji]  input::-webkit-search-cancel-button {
    cursor: pointer;
}
/* /Components/Shared/Lists/SelectField.razor.rz.scp.css */
/* The design's select trigger: the native list, with its caret (secondary text colour) drawn like the search icon. */
.select-field-box[b-1zt51uopwe] {
    position: relative;
}

.select-field-box[b-1zt51uopwe]  .select-field-icon {
    position: absolute;
    top: 50%;
    right: var(--space-inset-md, 0.75rem);
    width: var(--size-icon-sm, 1rem);
    height: var(--size-icon-sm, 1rem);
    transform: translateY(-50%);
    color: var(--color-fg-secondary, #52525c);
    pointer-events: none;
}

.select-field[b-1zt51uopwe] {
    width: 100%;
    height: var(--size-control-md, 2.5rem);
    appearance: none;
    padding: 0 calc(var(--space-inset-md, 0.75rem) + var(--size-icon-sm, 1rem) + var(--space-inline-sm, 0.5rem)) 0 var(--space-inset-md, 0.75rem);
    border: var(--shape-border-default, 1px) solid var(--component-input-border, var(--color-border-strong, #9f9fa9));
    border-radius: var(--component-input-radius, var(--shape-radius-control, 0.5rem));
    background-color: var(--component-input-bg, var(--color-bg-surface, #fff));
    color: var(--color-fg-primary, #18181b);
    font: inherit;
    font-size: var(--type-body-size, 1rem);
    line-height: var(--type-body-line-height, 1.5rem);
    letter-spacing: var(--type-body-letter-spacing, 0);
    text-overflow: ellipsis;
}

.select-field:focus-visible[b-1zt51uopwe] {
    outline: 2px solid var(--component-input-border-focus, var(--color-border-focus, #18181b));
    outline-offset: 1px;
}
