/* /Components/Layout/AppLayout.razor.rz.scp.css */
.public-shell[b-2mnlztxbks] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-text);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8hcxyhgqqf],
.components-reconnect-repeated-attempt-visible[b-8hcxyhgqqf],
.components-reconnect-failed-visible[b-8hcxyhgqqf],
.components-pause-visible[b-8hcxyhgqqf],
.components-resume-failed-visible[b-8hcxyhgqqf],
.components-rejoining-animation[b-8hcxyhgqqf] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Account/Account.razor.rz.scp.css */
.acc-section-title[b-fqewzk9tdm] {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--space-3);
    color: var(--color-text);
}

.acc-grid[b-fqewzk9tdm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
    margin: 0;
}

.acc-field[b-fqewzk9tdm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.acc-field dt[b-fqewzk9tdm] {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.acc-field dd[b-fqewzk9tdm] {
    margin: 0;
    font-size: var(--font-size-base);
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

.acc-empty[b-fqewzk9tdm] {
    margin: 0;
    padding: var(--space-3) var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
    background: var(--color-surface-sunken);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
}

.acc-badge-list[b-fqewzk9tdm] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
/* /Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
.page-header[b-i4uo751npv] {
    margin-bottom: 16px;
}

.page-header h1[b-i4uo751npv] {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--font-display);
    color: var(--color-text);
}

.page-header p[b-i4uo751npv] {
    margin: 4px 0 0;
    color: var(--color-text-muted);
    font-size: 13.5px;
}

.graph-legend[b-i4uo751npv] {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.graph-legend li[b-i4uo751npv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-strong);
}

.legend-swatch[b-i4uo751npv] {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-swatch--system[b-i4uo751npv] {
    background: #eef2ff;
    border: 1.5px solid #6366f1;
}

.legend-swatch--seller[b-i4uo751npv] {
    background: rgba(16, 185, 129, 0.08);
    border: 1.5px solid #10b981;
}

.legend-swatch--profile[b-i4uo751npv] {
    background: #fefce8;
    border: 1.5px dashed #eab308;
}

.legend-swatch--topPromoter[b-i4uo751npv] {
    background: #fdf2f8;
    border: 1.5px solid #ec4899;
}

.dashboard-empty[b-i4uo751npv] {
    margin: 40px auto;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

.connections-graph[b-i4uo751npv] {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 500px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
}

.connections-graph[b-i4uo751npv]  .graph-tooltip {
    position: absolute;
    z-index: 50;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    max-width: 280px;
}

.connections-graph[b-i4uo751npv]  .graph-tooltip-title {
    color: #fca5a5;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(252, 165, 165, 0.35);
    padding-bottom: 4px;
}

.connections-graph:active[b-i4uo751npv] {
    cursor: grabbing;
}

[b-i4uo751npv] svg .tdl-api-rect {
    fill: rgba(15, 23, 42, 0.03);
    stroke: rgba(15, 23, 42, 0.35);
    stroke-width: 1.2;
    stroke-dasharray: 5 4;
}

/* Solid catalog label strips on the right edge of each band. */
[b-i4uo751npv] svg .band-strip--eventim {
    fill: #10b981;
}

[b-i4uo751npv] svg .band-strip--middleware {
    fill: #6366f1;
}

[b-i4uo751npv] svg .band-strip-label {
    fill: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .tdl-api-label {
    fill: rgba(15, 23, 42, 0.45);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .tdl-middleware-rect {
    fill: rgba(15, 23, 42, 0.03);
    stroke: rgba(15, 23, 42, 0.35);
    stroke-width: 1.2;
    stroke-dasharray: 5 4;
}

[b-i4uo751npv] svg .tdl-middleware-label {
    fill: rgba(15, 23, 42, 0.45);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .group-rect {
    fill: rgba(16, 185, 129, 0.05);
    stroke: rgba(16, 185, 129, 0.6);
    stroke-width: 1.2;
}

[b-i4uo751npv] svg .group-rect--stale {
    fill: rgba(220, 38, 38, 0.07);
    stroke: #dc2626;
    stroke-width: 1.8;
}

[b-i4uo751npv] svg .group-stale-badge {
    cursor: help;
}

[b-i4uo751npv] svg .group-stale-badge circle {
    fill: #dc2626;
    stroke: #ffffff;
    stroke-width: 1.5;
}

[b-i4uo751npv] svg .group-stale-badge text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 800;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .group-label {
    fill: #065f46;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .node-rect {
    stroke-width: 1.5;
    transition: filter 0.15s ease;
}

[b-i4uo751npv] svg .node-rect:hover {
    filter: brightness(0.95);
}

[b-i4uo751npv] svg .node-rect--system {
    fill: #eef2ff;
    stroke: #6366f1;
}

[b-i4uo751npv] svg .node-rect--profile {
    fill: #fefce8;
    stroke: #eab308;
    stroke-dasharray: 5 4;
    transition: fill 0.15s ease, stroke-width 0.15s ease;
}

/* Highlight the whole clickable profile box on hover (parity with the
   seller credential boxes in the TDL API band). */
[b-i4uo751npv] svg .node--clickable:hover .node-rect--profile {
    fill: #fef08a;
    stroke-width: 2.4;
}

[b-i4uo751npv] svg .node-rect--topPromoter {
    fill: #fdf2f8;
    stroke: #ec4899;
}

[b-i4uo751npv] svg .node-label--topPromoter {
    fill: #831843;
}

[b-i4uo751npv] svg .node-label {
    font-size: 12.5px;
    font-weight: 500;
    fill: var(--color-text-strong);
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .cloud {
    fill: #f1f5f9;
    stroke: #94a3b8;
    stroke-width: 0.7;
}

[b-i4uo751npv] svg .edge {
    fill: none;
    stroke: #cbd5e1;
    stroke-width: 1.5;
    opacity: 0.85;
}

[b-i4uo751npv] svg .edge--api-to-middleware {
    stroke-dasharray: 6 4;
    stroke: rgba(15, 23, 42, 0.35);
    opacity: 0.9;
}

[b-i4uo751npv] svg .halo-line {
    stroke: #ec4899;
    stroke-width: 1.5;
    opacity: 0.55;
    pointer-events: none;
}

[b-i4uo751npv] svg .halo-promoter-rect {
    fill: #fdf2f8;
    stroke: #ec4899;
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 10px rgba(236, 72, 153, 0.25));
}

[b-i4uo751npv] svg .halo-promoter-rect--more {
    fill: #fce7f3;
    stroke: #ec4899;
    stroke-dasharray: 4 3;
}

[b-i4uo751npv] svg .halo-promoter-label {
    font-size: 12px;
    font-weight: 500;
    fill: #831843;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .halo-promoter-label--more {
    font-style: italic;
    fill: #be185d;
}

[b-i4uo751npv] svg .halo-line--system {
    stroke: #6366f1;
}

[b-i4uo751npv] svg .halo-promoter-rect--system {
    fill: #eef2ff;
    stroke: #6366f1;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.25));
}

[b-i4uo751npv] svg .halo-promoter-rect--system.halo-promoter-rect--more {
    fill: #e0e7ff;
    stroke-dasharray: 4 3;
}

[b-i4uo751npv] svg .halo-promoter-label--system {
    fill: #312e81;
}

[b-i4uo751npv] svg .halo-promoter-label--system.halo-promoter-label--more {
    fill: #4338ca;
}

[b-i4uo751npv] svg .profile-icon-bg--system {
    fill: #eef2ff;
    stroke: #6366f1;
    stroke-width: 1.2;
    transition: filter 0.15s ease;
}

[b-i4uo751npv] svg .profile-icon--system:hover .profile-icon-bg--system {
    filter: brightness(0.95);
}

[b-i4uo751npv] svg .profile-icon-glyph--system {
    fill: #4338ca;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .profile-icon-bg--promoter {
    fill: #fdf2f8;
    stroke: #ec4899;
    stroke-width: 1.2;
    transition: filter 0.15s ease;
}

[b-i4uo751npv] svg .profile-icon--promoter:hover .profile-icon-bg--promoter {
    filter: brightness(0.95);
}

[b-i4uo751npv] svg .profile-icon-glyph--promoter {
    fill: #be185d;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .credential-rect {
    fill: rgba(16, 185, 129, 0.08);
    stroke: #10b981;
    stroke-width: 1.2;
    transition: fill 0.15s ease, stroke-width 0.15s ease;
}

[b-i4uo751npv] svg .credential-box--clickable:hover .credential-rect {
    fill: rgba(16, 185, 129, 0.18);
    stroke-width: 1.8;
}

[b-i4uo751npv] svg .credential-name {
    fill: #065f46;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .credential-line-label {
    fill: rgba(15, 23, 42, 0.55);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .credential-line-value {
    fill: #0f172a;
    font-size: 11.5px;
    font-weight: 500;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .edge--credential {
    stroke: #10b981;
    stroke-width: 1.4;
    opacity: 0.85;
}

/* Last catalog-sync pill on the credential edge: a "Last synchronization" label with the
   date below it (same type scale as the credential boxes). Date turns red when stale (> 2h). */
[b-i4uo751npv] svg .credential-sync-bg {
    fill: color-mix(in srgb, #10b981 14%, var(--color-surface));
    stroke: #10b981;
    stroke-width: 1.2;
}

[b-i4uo751npv] svg .credential-sync-label {
    fill: var(--color-text-muted);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .credential-sync-value {
    fill: var(--color-text-strong);
    font-size: 11.5px;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
}

[b-i4uo751npv] svg .credential-sync-icon {
    fill: none;
    stroke: #10b981;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[b-i4uo751npv] svg .credential-sync--stale .credential-sync-icon {
    stroke: #dc2626;
}

[b-i4uo751npv] svg .credential-sync--stale .credential-sync-value {
    fill: #dc2626;
}

[b-i4uo751npv] svg .credential-sync--stale .credential-sync-bg {
    fill: color-mix(in srgb, #dc2626 12%, var(--color-surface));
    stroke: #dc2626;
}

/* ───────────────────────────────────────────────────────────────
   Dark-mode overrides for the connections graph.
   The graph hardcodes slate-tinted colors (rgba(15,23,42,...)) that
   become invisible on the dark surface. Here we re-tone them with
   light-tinted equivalents (rgba(255,255,255,...)). Brand-colored
   nodes (system / promoter / etc.) keep their hues but get slightly
   darkened backgrounds so the colored text remains legible.
   ─────────────────────────────────────────────────────────────── */
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .tdl-api-rect,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .tdl-middleware-rect {
    fill: #1a2334;
    stroke: #5a606d;
}

[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .tdl-api-label,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .tdl-middleware-label {
    fill: #9599a1;
}

[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .credential-line-label {
    fill: #acb0b6;
}

[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .credential-line-value {
    fill: #f1f5f9;
}

[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .edge {
    stroke: #475569;
}

[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .edge--api-to-middleware {
    stroke: #65696f;
}

/* Brand-colored nodes: solid darkened tints so saturated text colors
   keep enough contrast against the dark surface (no transparency). */
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .node-rect--system {
    fill: #232b55;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .node-rect--profile {
    fill: #333328;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .node--clickable:hover .node-rect--profile {
    fill: #4d4d30;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .node-rect--topPromoter,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-rect {
    fill: #3a2441;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-rect--more {
    fill: #292039;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-rect--system {
    fill: #232b55;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-rect--system.halo-promoter-rect--more {
    fill: #1d2545;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .credential-rect {
    fill: #123b3f;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .profile-icon-bg--system {
    fill: #252c59;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .profile-icon-bg--promoter {
    fill: #432646;
}

/* Brand-colored TEXT — lighten saturated colors so they pop on the dark
   tinted backgrounds (e.g. #831843 dark pink → #fbcfe8 light pink). */
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .node-label--topPromoter,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-label {
    fill: #fbcfe8;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-label--more {
    fill: #f9a8d4;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .halo-promoter-label--system,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .profile-icon-glyph--system {
    fill: #c7d2fe;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .profile-icon-glyph--promoter {
    fill: #fbcfe8;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .group-label,
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .credential-name {
    fill: #86efac;
}
/* Cloud / group rects */
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .cloud {
    fill: #1a2436;
    stroke: #64748b;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .group-rect {
    fill: #132c36;
    stroke: #10b981;
}
[data-theme="dark"] .connections-graph[b-i4uo751npv]  svg .group-rect--stale {
    fill: #311e2d;
}

/* /Components/Pages/ExternalSellers/ExternalSellers.razor.rz.scp.css */
.es-stale[b-h8avgpm0w9] {
    color: var(--color-danger-fg, #b91c1c);
    font-weight: 600;
}

/* Profiles modal — fixed size */
.pf-modal[b-h8avgpm0w9] {
    width: min(720px, 95vw);
    height: min(640px, 90vh);
    max-width: none;
    max-height: none;
}

.pf-modal form[b-h8avgpm0w9] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.pf-modal[b-h8avgpm0w9]  .tk-modal-header,
.pf-modal[b-h8avgpm0w9]  .tk-modal-footer {
    flex-shrink: 0;
}

.pf-modal[b-h8avgpm0w9]  .tk-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

/* pf-transfer picker rules moved to app.css for reuse across pages. */
/* /Components/Pages/Help/Help.razor.rz.scp.css */
.help-content[b-8pgemtqc8q] {
    padding: 28px 32px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--color-text);
    max-width: 920px;
}

.help-content[b-8pgemtqc8q]  h1 {
    font-size: 24px;
    margin: 0 0 16px;
}

.help-content[b-8pgemtqc8q]  h2 {
    font-size: 19px;
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.help-content[b-8pgemtqc8q]  h3 {
    font-size: 16px;
    margin: 22px 0 8px;
}

.help-content[b-8pgemtqc8q]  p,
.help-content[b-8pgemtqc8q]  ul,
.help-content[b-8pgemtqc8q]  ol {
    margin: 0 0 12px;
}

.help-content[b-8pgemtqc8q]  ul,
.help-content[b-8pgemtqc8q]  ol {
    padding-left: 22px;
}

.help-content[b-8pgemtqc8q]  li {
    margin: 4px 0;
}

.help-content[b-8pgemtqc8q]  code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    background: rgba(15, 23, 42, 0.06);
    padding: 1px 6px;
    border-radius: 4px;
}

.help-content[b-8pgemtqc8q]  pre {
    background: rgba(15, 23, 42, 0.06);
    padding: 12px 14px;
    border-radius: 6px;
    overflow-x: auto;
}

.help-content[b-8pgemtqc8q]  pre code {
    background: transparent;
    padding: 0;
}

.help-content[b-8pgemtqc8q]  table {
    border-collapse: collapse;
    margin: 12px 0 18px;
    width: 100%;
}

.help-content[b-8pgemtqc8q]  th,
.help-content[b-8pgemtqc8q]  td {
    border: 1px solid var(--color-border, #e5e7eb);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}

.help-content[b-8pgemtqc8q]  th {
    background: rgba(15, 23, 42, 0.04);
    font-weight: 600;
}

.help-content[b-8pgemtqc8q]  blockquote {
    margin: 12px 0;
    padding: 8px 14px;
    border-left: 3px solid var(--color-border, #e5e7eb);
    color: var(--color-text-muted);
    background: rgba(15, 23, 42, 0.03);
}

.help-content[b-8pgemtqc8q]  a {
    color: var(--color-primary, #2563eb);
    text-decoration: underline;
}
/* /Components/Pages/Home.razor.rz.scp.css */
[b-wutyfxw51p] .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--color-bg) 85%, transparent);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--color-border);
}

[b-wutyfxw51p] .topbar-inner {
    max-width: var(--layout-container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

[b-wutyfxw51p] .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
}

[b-wutyfxw51p] .brand-mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
}

[b-wutyfxw51p] .brand-mark svg {
    width: 18px;
    height: 18px;
}

[b-wutyfxw51p] .brand-name {
    font-size: 15px;
}

[b-wutyfxw51p] .topbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

[b-wutyfxw51p] .topbar-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

[b-wutyfxw51p] .topbar-nav a:hover {
    color: var(--color-text);
}

[b-wutyfxw51p] .topbar-nav .btn-sign-in {
    margin-left: 4px;
}

@media (max-width: 720px) {
    [b-wutyfxw51p] .topbar-nav a:not(.btn-sign-in) {
        display: none;
    }
}

/* Hero */
.hero[b-wutyfxw51p] {
    padding: 96px 24px 80px;
    background:
        radial-gradient(1200px 500px at 80% -10%, color-mix(in srgb, var(--color-primary) 14%, transparent), transparent 60%),
        radial-gradient(900px 400px at -10% 20%, color-mix(in srgb, var(--color-info) 10%, transparent), transparent 60%);
}

.hero-inner[b-wutyfxw51p] {
    max-width: var(--layout-container-max);
    margin: 0 auto;
}

.eyebrow[b-wutyfxw51p] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 999px;
}

.eyebrow .dot[b-wutyfxw51p] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success) 22%, transparent);
}

.hero h1[b-wutyfxw51p] {
    margin: 24px 0 18px;
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--color-text);
}

.hero h1 .accent[b-wutyfxw51p] {
    color: var(--color-primary);
}

.hero .lead[b-wutyfxw51p] {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0;
}

.cta-row[b-wutyfxw51p] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-stats[b-wutyfxw51p] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 56px 0 0;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.hero-stats > div[b-wutyfxw51p] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats dt[b-wutyfxw51p] {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stats dd[b-wutyfxw51p] {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

@media (max-width: 720px) {
    .hero[b-wutyfxw51p] {
        padding: 56px 20px 48px;
    }

    .hero-stats[b-wutyfxw51p] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sections */
.section-inner[b-wutyfxw51p] {
    max-width: var(--layout-container-max);
    margin: 0 auto;
    padding: 80px 24px;
}

.section-head[b-wutyfxw51p] {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head--left[b-wutyfxw51p] {
    text-align: left;
    margin: 0 0 40px;
}

.section-head .kicker[b-wutyfxw51p],
.kicker[b-wutyfxw51p] {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-head h2[b-wutyfxw51p] {
    font-size: clamp(28px, 3.4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text);
    margin: 0 0 12px;
}

.section-head p[b-wutyfxw51p] {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Features */
.features[b-wutyfxw51p] {
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.feature-grid[b-wutyfxw51p] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card[b-wutyfxw51p] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover[b-wutyfxw51p] {
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon[b-wutyfxw51p] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    margin-bottom: 18px;
}

.feature-icon svg[b-wutyfxw51p] {
    width: 20px;
    height: 20px;
}

.feature-card h3[b-wutyfxw51p] {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.feature-card p[b-wutyfxw51p] {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 960px) {
    .feature-grid[b-wutyfxw51p] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid[b-wutyfxw51p] {
        grid-template-columns: 1fr;
    }
}

/* Workflow */
.workflow-inner[b-wutyfxw51p] {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.steps[b-wutyfxw51p] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.steps li[b-wutyfxw51p] {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
}

.steps li:last-child[b-wutyfxw51p] {
    border-bottom: 1px solid var(--color-border);
}

.step-num[b-wutyfxw51p] {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.04em;
    padding-top: 4px;
}

.steps h3[b-wutyfxw51p] {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.steps p[b-wutyfxw51p] {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .workflow-inner[b-wutyfxw51p] {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* CTA band */
.cta-band[b-wutyfxw51p] {
    background: var(--color-text);
    color: #fff;
}

.cta-band-inner[b-wutyfxw51p] {
    max-width: var(--layout-container-max);
    margin: 0 auto;
    padding: 56px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band .kicker[b-wutyfxw51p] {
    color: color-mix(in srgb, var(--color-primary) 70%, #fff 30%);
}

.cta-band h2[b-wutyfxw51p] {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
    color: #fff;
}

/* Footer */
.site-footer[b-wutyfxw51p] {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-inner[b-wutyfxw51p] {
    max-width: var(--layout-container-max);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 13px;
}

.footer-meta[b-wutyfxw51p] {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.status-pill[b-wutyfxw51p] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-success) 12%, transparent);
    color: var(--color-success);
    font-weight: 500;
}

.status-dot[b-wutyfxw51p] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
}
/* /Components/Pages/Login/Login.razor.rz.scp.css */
.auth-page[b-eeevyvopc3] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 56px;
    background: linear-gradient(135deg, #313a46 0%, #127bc8 55%, #35b8e0 100%);
}

.brand[b-eeevyvopc3] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.brand-mark[b-eeevyvopc3] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
}

.brand-mark svg[b-eeevyvopc3] {
    width: 18px;
    height: 18px;
}

.brand-name[b-eeevyvopc3] {
    font-size: 15px;
}

.auth-card[b-eeevyvopc3] {
    width: 100%;
    max-width: 420px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        0 12px 24px -8px rgba(0, 0, 0, 0.35),
        0 40px 80px -20px rgba(0, 0, 0, 0.55);
    padding: 32px;
}

.auth-head[b-eeevyvopc3] {
    margin-bottom: 24px;
    text-align: center;
}

.auth-logo[b-eeevyvopc3] {
    display: block;
    margin: -16px -16px 24px;
    width: calc(100% + 32px);
    max-width: none;
    height: auto;
}

.auth-head h1[b-eeevyvopc3] {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
    margin: 0 0 6px;
    text-transform: uppercase;
    text-align: center;
}

.auth-head p[b-eeevyvopc3] {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.auth-alert[b-eeevyvopc3] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-danger) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-danger) 35%, transparent);
    color: color-mix(in srgb, var(--color-danger) 80%, var(--color-text));
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.auth-alert svg[b-eeevyvopc3] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-form[b-eeevyvopc3] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field[b-eeevyvopc3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label-row[b-eeevyvopc3] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.field label[b-eeevyvopc3] {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
}

.forgot-link[b-eeevyvopc3] {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover[b-eeevyvopc3] {
    text-decoration: underline;
}

.field input[type="email"][b-eeevyvopc3],
.field input[type="text"][b-eeevyvopc3],
.field input[type="password"][b-eeevyvopc3],
.field select.platform-select[b-eeevyvopc3] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 140ms ease, box-shadow 140ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.field select.platform-select[b-eeevyvopc3] {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    font-weight: 600;
}

.field select.platform-select:focus[b-eeevyvopc3] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.field select.platform-select.platform-select--staging[b-eeevyvopc3] {
    border-color: #f59e0b;
    color: #b45309;
    background-color: color-mix(in srgb, #f59e0b 10%, var(--color-surface));
}

.field select.platform-select.platform-select--prod[b-eeevyvopc3] {
    border-color: #dc2626;
    color: #991b1b;
    background-color: color-mix(in srgb, #dc2626 10%, var(--color-surface));
}

.field input[b-eeevyvopc3]::placeholder {
    color: color-mix(in srgb, var(--color-text-muted) 75%, transparent);
}

.field input:focus[b-eeevyvopc3] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.field input:disabled[b-eeevyvopc3] {
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.field--invalid input[b-eeevyvopc3] {
    border-color: var(--color-danger);
}

.field--invalid input:focus[b-eeevyvopc3] {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-danger) 22%, transparent);
}

.field-error[b-eeevyvopc3] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--color-danger);
}

.password-input[b-eeevyvopc3] {
    position: relative;
}

.password-input input[b-eeevyvopc3] {
    padding-right: 44px;
}

.password-toggle[b-eeevyvopc3] {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--color-text-muted);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}

.password-toggle:hover[b-eeevyvopc3] {
    background: var(--color-surface-alt);
    color: var(--color-text);
}

.password-toggle:focus-visible[b-eeevyvopc3] {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.password-toggle svg[b-eeevyvopc3] {
    width: 18px;
    height: 18px;
}

.field-row[b-eeevyvopc3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkbox[b-eeevyvopc3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.checkbox input[b-eeevyvopc3] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
    margin: 0;
}

.btn-block[b-eeevyvopc3] {
    width: 100%;
    height: 46px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner[b-eeevyvopc3] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, #fff 60%, transparent);
    border-top-color: #fff;
    animation: spin-b-eeevyvopc3 700ms linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .spinner[b-eeevyvopc3] {
        animation-duration: 1.6s;
    }
}

.auth-powered[b-eeevyvopc3] {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.auth-powered img[b-eeevyvopc3] {
    height: 105px;
    width: auto;
    opacity: 0.85;
}

.auth-foot[b-eeevyvopc3] {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

.auth-foot a[b-eeevyvopc3] {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.auth-foot a:hover[b-eeevyvopc3] {
    text-decoration: underline;
}

.back-home[b-eeevyvopc3] {
    margin: 24px 0 0;
    font-size: 13px;
}

.back-home a[b-eeevyvopc3] {
    color: var(--color-text-muted);
    text-decoration: none;
}

.back-home a:hover[b-eeevyvopc3] {
    color: var(--color-text);
}

@media (max-width: 480px) {
    .auth-card[b-eeevyvopc3] {
        padding: 24px;
        border-radius: 14px;
    }
}
/* /Components/Pages/MwCatalog/MwCatalog.razor.rz.scp.css */
/* Catalog-specific styles live in wwwroot/app.css (global) because modal / list
   markup now lives in child components under CatalogParts/, which are outside
   this file's scoped CSS reach. */
/* /Components/Pages/Orders/OrdersParts/OrdersList.razor.rz.scp.css */
.db-table tfoot td[b-8awgv47mx8] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: var(--color-surface-sunken);
    border-top: 2px solid var(--color-accent, cornflowerblue);
    padding: 12px 16px;
    font-weight: 700;
}
/* /Components/Pages/Reporting/Reporting.razor.rz.scp.css */
.db-table tfoot td[b-oj851heo09] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: var(--color-surface-sunken);
    border-top: 2px solid var(--color-accent, cornflowerblue);
    padding: 12px 16px;
    font-weight: 700;
}
/* /Components/Pages/TdlCatalog/TdlCatalog.razor.rz.scp.css */
/* TDL Catalog-specific styles live in wwwroot/app.css (global) because modal /
   list markup now lives in child components under TdlCatalogParts/, which are
   outside this file's scoped CSS reach. */
/* /Components/Pages/Users/Users.razor.rz.scp.css */
/* User management — modal form + checklists */

.usr-modal[b-fvcvsyedw2] {
    width: min(720px, 95vw);
    height: min(720px, 92vh);
    max-width: none;
    max-height: none;
}

.usr-modal form[b-fvcvsyedw2] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.usr-modal[b-fvcvsyedw2]  .tk-modal-header,
.usr-modal[b-fvcvsyedw2]  .tk-modal-footer {
    flex-shrink: 0;
}

.usr-modal[b-fvcvsyedw2]  .tk-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

.usr-modal[b-fvcvsyedw2]  .pf-tab-panel.pf-transfer {
    flex: 1;
    min-height: 280px;
}

.usr-form-grid[b-fvcvsyedw2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 560px) {
    .usr-form-grid[b-fvcvsyedw2] {
        grid-template-columns: 1fr;
    }
}

.usr-active[b-fvcvsyedw2] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-base);
    color: var(--color-text);
    cursor: pointer;
    user-select: none;
}

.usr-active input[type="checkbox"][b-fvcvsyedw2] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
    margin: 0;
}

/* /Components/Shared/BusyOverlay.razor.rz.scp.css */
.tk-busy[b-uw3wgycyvz] {
    position: relative;
}

.tk-busy.is-busy[b-uw3wgycyvz] {
    min-height: 200px;
}

.tk-busy-content[b-uw3wgycyvz] {
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.tk-busy.is-busy .tk-busy-content[b-uw3wgycyvz] {
    opacity: 0.35;
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

/* Full-area translucent veil so the "searching" state is unmistakable. */
.tk-busy-veil[b-uw3wgycyvz] {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 72px;
    background: color-mix(in srgb, var(--color-surface) 62%, transparent);
    backdrop-filter: blur(1px);
    animation: tk-busy-fade-b-uw3wgycyvz 0.15s ease;
}

.tk-busy-spinner[b-uw3wgycyvz] {
    width: 42px;
    height: 42px;
    border-width: 4px;
}

.tk-busy-label[b-uw3wgycyvz] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-strong);
    letter-spacing: 0.01em;
}

@keyframes tk-busy-fade-b-uw3wgycyvz {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .tk-busy-content[b-uw3wgycyvz] {
        transition: none;
    }

    .tk-busy.is-busy .tk-busy-content[b-uw3wgycyvz] {
        filter: none;
    }

    .tk-busy-veil[b-uw3wgycyvz] {
        animation: none;
    }
}
/* /Components/Shared/ComboBox.razor.rz.scp.css */
.cb[b-pdp6fnsk6b] {
    position: relative;
    width: 100%;
}

.cb-trigger[b-pdp6fnsk6b] {
    width: 100%;
    box-sizing: border-box;
    gap: 6px;
}

.cb-input[b-pdp6fnsk6b] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: var(--color-text);
}

.cb-input[b-pdp6fnsk6b]::placeholder {
    color: var(--color-text-subtle);
}

.cb-clear[b-pdp6fnsk6b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-subtle);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cb-clear:hover[b-pdp6fnsk6b] {
    background: var(--color-border);
    color: var(--color-text);
}

.cb-clear svg[b-pdp6fnsk6b] {
    width: 15px;
    height: 15px;
}

.cb-caret[b-pdp6fnsk6b] {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--color-text-subtle);
    transition: transform var(--transition-fast);
}

.cb.is-open .cb-caret[b-pdp6fnsk6b] {
    transform: rotate(180deg);
}

.cb-backdrop[b-pdp6fnsk6b] {
    position: fixed;
    inset: 0;
    z-index: 1090;
}

.cb-panel[b-pdp6fnsk6b] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1100;
    width: auto;
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    animation: cb-pop-b-pdp6fnsk6b 0.12s ease;
}

.cb-option[b-pdp6fnsk6b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--color-text);
    cursor: pointer;
}

.cb-option-label[b-pdp6fnsk6b] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cb-option:hover[b-pdp6fnsk6b] {
    background: var(--color-border-subtle);
}

.cb-option.is-highlight[b-pdp6fnsk6b] {
    background: var(--color-primary-bg-soft);
}

.cb-option.is-selected[b-pdp6fnsk6b] {
    font-weight: 600;
    color: var(--color-text-strong);
}

.cb-check[b-pdp6fnsk6b] {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--color-primary);
}

.cb-empty[b-pdp6fnsk6b] {
    padding: 10px;
    font-size: 13px;
    color: var(--color-text-subtle);
    text-align: center;
}

@keyframes cb-pop-b-pdp6fnsk6b {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cb-panel[b-pdp6fnsk6b] { animation: none; }
    .cb-caret[b-pdp6fnsk6b] { transition: none; }
}
/* /Components/Shared/ExportMenu.razor.rz.scp.css */
.tk-export[b-2hnjdbs7m3] {
    position: relative;
    display: inline-flex;
}

.tk-export-trigger[b-2hnjdbs7m3] {
    gap: 6px;
}

.tk-export-caret[b-2hnjdbs7m3] {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.tk-export-backdrop[b-2hnjdbs7m3] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.tk-export-menu[b-2hnjdbs7m3] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 41;
    min-width: 170px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    animation: tk-export-pop-b-2hnjdbs7m3 0.12s ease;
}

.tk-export-item[b-2hnjdbs7m3] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.tk-export-item:hover[b-2hnjdbs7m3] {
    background: var(--color-border-subtle);
}

.tk-export-item svg[b-2hnjdbs7m3] {
    width: 16px;
    height: 16px;
    color: var(--color-text-subtle);
}

@keyframes tk-export-pop-b-2hnjdbs7m3 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .tk-export-menu[b-2hnjdbs7m3] {
        animation: none;
    }
}
/* /Components/Shared/Filters/ActiveFiltersBar.razor.rz.scp.css */
.afbar[b-48z9jrb2tk] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

/* Toggle button */
.afbar-toggle[b-48z9jrb2tk] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.afbar-toggle:hover[b-48z9jrb2tk] {
    background: var(--color-primary-bg-soft);
    border-color: var(--color-primary-border-soft);
}

.afbar-toggle.is-active[b-48z9jrb2tk] {
    background: var(--color-primary-bg-soft);
    border-color: var(--color-primary);
    color: var(--color-text-strong);
}

.afbar-toggle svg[b-48z9jrb2tk] {
    width: 16px;
    height: 16px;
}

.afbar-badge[b-48z9jrb2tk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.afbar-dirty[b-48z9jrb2tk] {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-warning);
    border: 2px solid var(--color-surface);
}

/* Pills */
.afbar-pills[b-48z9jrb2tk] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.afbar-pill[b-48z9jrb2tk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-border-subtle);
    font-size: 12.5px;
    color: var(--color-text);
}

.afbar-pill-label[b-48z9jrb2tk] {
    font-weight: 600;
    color: var(--color-text-muted);
}

.afbar-pill-label[b-48z9jrb2tk]::after {
    content: ":";
    margin-left: 1px;
}

.afbar-pill-value[b-48z9jrb2tk] {
    font-weight: 600;
    color: var(--color-text-strong);
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Locked (required) pill: no remove control, more marked styling. */
.afbar-pill.is-locked[b-48z9jrb2tk] {
    padding-right: 12px;
    background: var(--color-primary-bg-soft);
    border-color: var(--color-primary-border-soft);
}

.afbar-pill-lock[b-48z9jrb2tk] {
    width: 13px;
    height: 13px;
    color: var(--color-primary);
}

.afbar-pill-remove[b-48z9jrb2tk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-subtle);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.afbar-pill-remove:hover[b-48z9jrb2tk] {
    background: var(--color-danger-bg-subtle);
    color: var(--color-danger-fg);
}

.afbar-pill-remove svg[b-48z9jrb2tk] {
    width: 12px;
    height: 12px;
}
/* /Components/Shared/Filters/FilterDrawer.razor.rz.scp.css */
/* ── Desktop (default): the drawer pushes the results by animating its width.
   The inner panel keeps a fixed width so its content does not reflow while sliding. ── */
/* NB: intentionally NOT position:sticky — sticky would create a stacking context that
   traps descendant fixed overlays (the session-picker modal, the date popup) below the
   results grid. Keeping it a plain in-flow box lets those overlays reach the root layer. */
.fdrawer[b-x6wcpu0mdu] {
    position: relative;
    flex: 0 0 auto;
    align-self: flex-start;
    width: 320px;
    overflow: hidden;
    transition: width var(--transition-slow);
}

.fdrawer.is-closed[b-x6wcpu0mdu] {
    width: 0;
}

.fdrawer-panel[b-x6wcpu0mdu] {
    display: flex;
    flex-direction: column;
    width: 320px;
    max-height: calc(100dvh - 24px);
    box-sizing: border-box;
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    box-shadow: var(--shadow-xs);
    outline: none;
    visibility: visible;
}

/* Keep the collapsed panel out of the tab order once the slide finishes. */
.fdrawer.is-closed .fdrawer-panel[b-x6wcpu0mdu] {
    visibility: hidden;
    transition: visibility 0s linear var(--transition-slow);
}

.fdrawer-backdrop[b-x6wcpu0mdu] {
    display: none;
}

/* Header */
.fdrawer-header[b-x6wcpu0mdu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.fdrawer-title[b-x6wcpu0mdu] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-strong);
}

.fdrawer-close[b-x6wcpu0mdu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-subtle);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.fdrawer-close:hover[b-x6wcpu0mdu] {
    background: var(--color-border-subtle);
    color: var(--color-text);
}

.fdrawer-close svg[b-x6wcpu0mdu] {
    width: 18px;
    height: 18px;
}

/* Body — fields stack vertically, one per line. */
.fdrawer-body[b-x6wcpu0mdu] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.fdrawer-help[b-x6wcpu0mdu] {
    margin: 0;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--color-text-muted);
    background: var(--color-primary-bg-soft);
    border: 1px solid var(--color-primary-border-soft);
    border-radius: 8px;
}

.fdrawer-validation[b-x6wcpu0mdu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--color-danger-fg);
    background: var(--color-danger-bg-subtle);
    border: 1px solid var(--color-danger-border);
    border-radius: 8px;
}

.fdrawer-validation svg[b-x6wcpu0mdu] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

/* Footer */
.fdrawer-footer[b-x6wcpu0mdu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid var(--color-border-subtle);
}

.fdrawer-footer .tk-pill[b-x6wcpu0mdu] {
    justify-content: center;
}

/* ── Overlay mode (< 1024px): the drawer slides over the results with a backdrop
   instead of pushing them. ── */
@media (max-width: 1023px) {
    .fdrawer[b-x6wcpu0mdu] {
        position: absolute;
        inset: 0;
        width: auto;
        overflow: visible;
        z-index: 30;
        pointer-events: none;
        transition: none;
    }

    .fdrawer.is-open[b-x6wcpu0mdu] {
        pointer-events: auto;
    }

    .fdrawer-panel[b-x6wcpu0mdu] {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        width: min(340px, 85vw);
        height: auto;
        max-height: none;
        border-radius: 0 8px 8px 0;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }

    .fdrawer.is-open .fdrawer-panel[b-x6wcpu0mdu] {
        transform: translateX(0);
        visibility: visible;
        transition: transform var(--transition-base), visibility 0s linear 0s;
    }

    .fdrawer.is-closed .fdrawer-panel[b-x6wcpu0mdu] {
        visibility: hidden;
        transition: transform var(--transition-base), visibility 0s linear var(--transition-base);
    }

    .fdrawer-backdrop[b-x6wcpu0mdu] {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    .fdrawer.is-open .fdrawer-backdrop[b-x6wcpu0mdu] {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fdrawer[b-x6wcpu0mdu],
    .fdrawer-panel[b-x6wcpu0mdu],
    .fdrawer-backdrop[b-x6wcpu0mdu] {
        transition: none;
    }
}
