/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Dark Mode Main Layout */
.page[b-eblvmuccol] {
    display: flex;
    height: 100vh;
    position: relative;
    background: var(--bg-page);
}

.sidebar[b-eblvmuccol] {
    width: 240px;
    height: 100vh;
    transition: all 0.3s ease;
    z-index: 1000;
    background: var(--bg-chrome);
    border-right: 1px solid var(--border);
}

.sidebar.collapsed[b-eblvmuccol] {
    width: 70px;
}

/* Mobile sidebar overlay */
.sidebar-overlay[b-eblvmuccol] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    display: none;
    backdrop-filter: blur(4px);
}

main[b-eblvmuccol] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-page);
}

/* Phone-only top bar. Sits BELOW the drawer and its overlay in z-order: the drawer is the thing
   the user asked for when they tapped ☰, so nothing in the page chrome may cover it. */
.mobile-header[b-eblvmuccol] {
    display: none;
    background: var(--bg-chrome);
    color: var(--text);
    padding: 0.5rem 0.75rem;
    padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 900;
    min-height: 52px;
    flex-shrink: 0;
}

/* The brand image is a wide banner (logo + wordmark). Unsized it renders at its natural pixel
   width, which on a phone is the whole viewport — the giant tiger. Pin it to the bar height. */
.mobile-logo[b-eblvmuccol] {
    height: 30px;
    width: auto;
    max-width: 60vw;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.mobile-menu-btn[b-eblvmuccol] {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.25rem;
    /* 44px square: the one control every phone user hits first, so it gets a full touch target */
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.mobile-menu-btn:hover[b-eblvmuccol] {
    background: var(--border-strong);
    color: var(--brand-light);
}

.mobile-brand[b-eblvmuccol] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}

.mobile-brand .brand-icon[b-eblvmuccol] {
    font-size: 1.25rem;
    line-height: 1;
}

.main-content[b-eblvmuccol] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-page);
}

.content-wrapper[b-eblvmuccol] {
    flex: 1;
    padding: var(--space-6) var(--space-8) var(--space-12);
    overflow-y: auto;
    background: var(--bg-page);
}

/* Responsive styles */
@media (max-width: 992px) {
    .page[b-eblvmuccol] {
        flex-direction: column;
        /* 100vh on a phone includes the space under the browser chrome, so the bottom of the
           page was unreachable behind the address bar. dvh tracks the visible area. */
        height: 100dvh;
    }

    main[b-eblvmuccol] {
        height: 100dvh;
    }

    .sidebar[b-eblvmuccol] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100dvh;
        width: min(300px, 86vw);
        z-index: 1001;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        box-shadow: none;
        /* Scroll the drawer, not the page behind it */
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar.open[b-eblvmuccol] {
        transform: translateX(0);
        box-shadow: var(--shadow-xl);
    }

    /* On mobile the sidebar is a drawer; ignore desktop collapse */
    .sidebar.collapsed[b-eblvmuccol] {
        width: min(300px, 86vw);
    }

    .sidebar-overlay[b-eblvmuccol] {
        display: block;
    }

    .mobile-header[b-eblvmuccol] {
        display: flex;
    }

    main[b-eblvmuccol] {
        width: 100%;
        margin-left: 0;
    }

    .content-wrapper[b-eblvmuccol] {
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .content-wrapper[b-eblvmuccol] {
        padding: 0.5rem;
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .mobile-brand[b-eblvmuccol] {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar[b-eblvmuccol] {
        transition: none;
    }
}
/* /Components/Layout/MonitorLayout.razor.rz.scp.css */
/* The kiosk layout: no sidebar, the brand surface edge to edge, for a TV on the wall. */
.monitor-page[b-5bft6yjrwp] {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: var(--space-5) var(--space-6);
    background: var(--bg-page);
    color: var(--text);
}

@media (max-width: 640px) {
    .monitor-page[b-5bft6yjrwp] {
        padding: var(--space-3) var(--space-4);
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.app-nav[b-g589khu4tq] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height: 100%;
    padding: var(--space-4) var(--space-3);
    background: var(--bg-chrome);
    color: var(--text-secondary);
    overflow-x: hidden;
    overflow-y: auto;
}

.app-nav-head[b-g589khu4tq] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-2);
}

.app-nav-brand[b-g589khu4tq] {
    display: block;
    flex: 1;
    min-width: 0;
}

.app-nav-brand img[b-g589khu4tq] {
    display: block;
    width: 100%;
    max-width: 168px;
    height: auto;
}

.app-nav-version[b-g589khu4tq] {
    margin-top: calc(-1 * var(--space-2));
    padding: 0 var(--space-3);
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.app-nav-icon-btn[b-g589khu4tq] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
}

.app-nav-icon-btn:hover[b-g589khu4tq] {
    background: var(--bg-card);
    color: var(--text);
}

.app-nav-close[b-g589khu4tq] {
    display: none;
}

.app-nav-sections[b-g589khu4tq] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-4);
}

.app-nav-section[b-g589khu4tq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-nav-section-title[b-g589khu4tq] {
    padding: 0 var(--space-3) var(--space-1);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-nav-link[b-g589khu4tq] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.5rem;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
}

.app-nav-link:hover[b-g589khu4tq] {
    background: var(--bg-card);
    color: var(--text);
}

.app-nav-link .bi[b-g589khu4tq] {
    width: 1.25rem;
    font-size: 1.05rem;
    text-align: center;
}

.app-nav-link.is-active[b-g589khu4tq] {
    background: var(--brand-tint);
    color: var(--brand-light);
    font-weight: 600;
}

.app-nav-link:focus-visible[b-g589khu4tq],
.app-nav-icon-btn:focus-visible[b-g589khu4tq],
.app-nav-user-link:focus-visible[b-g589khu4tq] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.app-nav-text[b-g589khu4tq] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-nav-user[b-g589khu4tq] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
}

.app-nav-user-link[b-g589khu4tq] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    padding: var(--space-1);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
}

.app-nav-user-link:hover[b-g589khu4tq] {
    background: var(--bg-card);
}

.app-nav-user-info[b-g589khu4tq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-nav-user-name[b-g589khu4tq] {
    overflow: hidden;
    font-size: var(--text-sm);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-nav-user-role[b-g589khu4tq] {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* Collapsed: icons only, badges as corner dots, search hidden. */
.app-nav.collapsed[b-g589khu4tq] {
    padding: var(--space-4) var(--space-2);
}

.app-nav.collapsed .app-nav-brand[b-g589khu4tq],
.app-nav.collapsed .app-nav-version[b-g589khu4tq],
.app-nav.collapsed .app-nav-section-title[b-g589khu4tq],
.app-nav.collapsed .app-nav-text[b-g589khu4tq],
.app-nav.collapsed .app-nav-user-info[b-g589khu4tq],
.app-nav.collapsed[b-g589khu4tq]  .app-search {
    display: none;
}

.app-nav.collapsed .app-nav-head[b-g589khu4tq] {
    justify-content: center;
    padding: 0;
}

.app-nav.collapsed .app-nav-link[b-g589khu4tq] {
    position: relative;
    justify-content: center;
    padding: 0;
}

.app-nav.collapsed .app-nav-badge[b-g589khu4tq] {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.6rem;
}

.app-nav.collapsed .app-nav-user[b-g589khu4tq] {
    flex-direction: column;
}

@media (max-width: 992px) {
    .app-nav-collapse[b-g589khu4tq] {
        display: none;
    }

    .app-nav-close[b-g589khu4tq] {
        display: inline-flex;
    }
}
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
/* The sidebar's graphite, lifted toward the card tone at the top. */
.public-page[b-btkaejk8f1] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-4);
    background: radial-gradient(ellipse at top, var(--bg-card) 0%, var(--bg-page) 45%, var(--bg-chrome) 100%);
    color: var(--text);
}

.public-content[b-btkaejk8f1] {
    width: 100%;
    max-width: 1000px;
}

/* Phones: the player starts at the top instead of floating in the middle of a tall screen. */
@media (max-width: 576px) {
    .public-page[b-btkaejk8f1] {
        align-items: flex-start;
        padding: var(--space-2);
    }
}
/* /Components/Pages/Account/AccountSettings.razor.rz.scp.css */
.ac-avatar-row[b-i3swqvqn7k] {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.ac-avatar-actions[b-i3swqvqn7k] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
}
/* /Components/Pages/Account/ChangePassword.razor.rz.scp.css */
.cp-column[b-xgw01tsavn] {
    width: 100%;
    max-width: 28rem;
}

.cp-form[b-xgw01tsavn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: 0;
}

.cp-submit[b-xgw01tsavn] {
    width: 100%;
}

/* Phones: 16px inputs so iOS does not zoom on focus, and a full-height submit. */
@media (max-width: 576px) {
    .cp-form .ui-input[b-xgw01tsavn] {
        min-height: 2.875rem;
        font-size: 1rem;
    }

    .cp-submit[b-xgw01tsavn] {
        min-height: 2.875rem;
    }
}
/* /Components/Pages/Account/Login.razor.rz.scp.css */
/* Static SSR on the empty layout: the page draws its own full-screen backdrop. */
.login-page[b-1j3634rass] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-4);
    background: var(--bg-chrome);
}

.login-card[b-1j3634rass] {
    position: relative;
    width: 100%;
    max-width: 23.75rem;
    padding: var(--space-10) var(--space-8) var(--space-8);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

/* The logo's gradient as a thin band along the top of the card. */
.login-card[b-1j3634rass]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--brand-gradient);
}

.login-logo[b-1j3634rass] {
    height: 3rem;
    margin-bottom: var(--space-4);
}

.login-card h1[b-1j3634rass] {
    margin: 0 0 var(--space-1);
    color: var(--text);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

.login-subtitle[b-1j3634rass] {
    margin: 0 0 var(--space-6);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.login-fields[b-1j3634rass] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    text-align: left;
}

.login-submit[b-1j3634rass] {
    width: 100%;
    min-height: 2.75rem;
    margin-top: var(--space-1);
    font-size: var(--text-sm);
}

/* Phones: 16px inputs (anything smaller makes iOS zoom the page on focus) and a full-height
   tap target on the one button that matters. */
@media (max-width: 576px) {
    .login-card[b-1j3634rass] {
        padding: var(--space-8) var(--space-5) var(--space-6);
    }

    .login-fields[b-1j3634rass]  .ui-input {
        min-height: 2.875rem;
        font-size: 1rem;
    }

    .login-submit[b-1j3634rass] {
        min-height: 2.875rem;
        font-size: 1rem;
    }
}
/* /Components/Pages/Account/ManageAccounts.razor.rz.scp.css */
.ma-user[b-3llqenlqjo] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.ma-actions[b-3llqenlqjo] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
}

.ma-reset[b-3llqenlqjo] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.ma-reset .ui-input[b-3llqenlqjo] {
    min-height: 1.875rem;
    max-width: 11rem;
    padding: 0.25rem 0.5rem;
    font-size: var(--text-xs);
}
/* /Components/Pages/Admin/ApiTraffic.razor.rz.scp.css */
.traffic-path[b-pd07751ua0] {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .traffic-path[b-pd07751ua0] {
        max-width: none;
    }
}
/* /Components/Pages/Admin/CardsPurchased.razor.rz.scp.css */
/* Only what is this page's own: the source totals beside their swatches, the expandable trade legs and the
   top-three trophies. Tokens only. */

.cp-card-filter[b-ao34jacjrh] {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 420px;
}

.cp-chart[b-ao34jacjrh] {
    min-height: 320px;
}

.cp-figure[b-ao34jacjrh] {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-2);
    font-variant-numeric: tabular-nums;
}

.cp-figure > .ui-swatch[b-ao34jacjrh] {
    align-self: center;
}

.cp-strong[b-ao34jacjrh] {
    color: var(--text);
    font-weight: 600;
}

.cp-expander-col[b-ao34jacjrh] {
    width: 2.25rem;
}

.cp-legs-row > td[b-ao34jacjrh] {
    padding: 0;
    background: var(--bg-sunken);
}

.cp-legs[b-ao34jacjrh] {
    font-size: 0.75rem;
}

.cp-party[b-ao34jacjrh] {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-legs-note[b-ao34jacjrh] {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: 0.6875rem;
}

.cp-rank-1[b-ao34jacjrh] {
    color: var(--warning);
}

.cp-rank-2[b-ao34jacjrh] {
    color: var(--text-secondary);
}

.cp-rank-3[b-ao34jacjrh] {
    color: var(--brand-deep);
}

@media (max-width: 768px) {
    .cp-card-filter[b-ao34jacjrh] {
        flex: 1 1 100%;
        max-width: none;
    }
}
/* /Components/Pages/Assets/Cashflow.razor.rz.scp.css */
/*
 * Cashflow's own visuals: the headline and its bridge bars, the flow diagram and trend chart
 * (SVG drawn by js/cashflow.js), and the bar rows. Everything generic is the ui kit. Tokens only.
 */

/* ============ Headline ============ */

.cf-hero[b-nqputkroxl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.cf-hero-label[b-nqputkroxl] {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.cf-hero-value[b-nqputkroxl] {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cf-hero-value.is-up[b-nqputkroxl] {
    background-image: linear-gradient(120deg, var(--success-text), var(--success) 60%, var(--brand-light));
}

.cf-hero-value.is-down[b-nqputkroxl] {
    background-image: linear-gradient(120deg, var(--danger-text), var(--danger) 60%, var(--warning));
}

.cf-hero-sub[b-nqputkroxl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.cf-hero > .ui-muted[b-nqputkroxl] {
    margin: var(--space-2) 0 0;
    text-align: left;
}

/* The one whole-desk figure for the period, above the counterparty view it frames. */
.cf-hero-worth[b-nqputkroxl] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0 0 0.9rem;
    margin-bottom: 0.5rem;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cf-hero-worth:hover .cf-hero-worth-value[b-nqputkroxl] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cf-hero-worth:focus-visible[b-nqputkroxl] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.cf-hero-worth-label[b-nqputkroxl] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cf-hero-worth-value[b-nqputkroxl] {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

/* ============ Bridge bars under the headline ============ */
/* Diverging from a centre axis: negative terms run left, positive right, so the shape of
   the headline reads at a glance without needing a full chart. */

.cf-bridge[b-nqputkroxl] {
    width: 100%;
    max-width: 380px;
    margin-top: var(--space-4);
    text-align: left;
}

.cf-bridge-row[b-nqputkroxl] {
    display: grid;
    grid-template-columns: 116px 1fr 62px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.cf-bridge-label[b-nqputkroxl] {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cf-bridge-track[b-nqputkroxl] {
    position: relative;
    display: block;
    height: 6px;
    background: var(--bg-sunken);
    border-radius: 3px;
}

.cf-bridge-axis[b-nqputkroxl] {
    position: absolute;
    left: 50%;
    top: -3px;
    bottom: -3px;
    width: 1px;
    background: var(--border-strong);
}

.cf-bridge-fill[b-nqputkroxl] {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 3px;
    min-width: 2px;
}

.cf-bridge-fill.is-pos[b-nqputkroxl] {
    left: 50%;
    background: var(--success);
}

.cf-bridge-fill.is-neg[b-nqputkroxl] {
    right: 50%;
    background: var(--danger);
}

.cf-bridge-row.is-total .cf-bridge-label[b-nqputkroxl] {
    color: var(--text);
    font-weight: 700;
}

.cf-bridge-row.is-total .cf-bridge-track[b-nqputkroxl] {
    height: 9px;
}

.cf-bridge-row.is-total .cf-bridge-fill[b-nqputkroxl] {
    background: var(--brand);
}

.cf-bridge-value[b-nqputkroxl] {
    font-size: 0.78rem;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cf-bridge-row.is-total .cf-bridge-value[b-nqputkroxl] {
    font-size: 0.85rem;
}

/* ============ KPI sparklines ============ */

.cf-spark[b-nqputkroxl] {
    display: block;
    margin-top: var(--space-2);
}

.cf-spark polyline[b-nqputkroxl] {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}

.cf-spark .is-up[b-nqputkroxl] {
    stroke: var(--success);
}

.cf-spark .is-down[b-nqputkroxl] {
    stroke: var(--danger);
}

/* ============ Tables: credit adjustments, the open day ============ */

.cf-adjustment td[b-nqputkroxl] {
    opacity: 0.75;
}

.cf-day-detail > td[b-nqputkroxl] {
    background: var(--bg-sunken);
    box-shadow: inset 3px 0 0 var(--brand);
    padding: var(--space-2) var(--space-3) var(--space-3);
}

.cf-owed[b-nqputkroxl] {
    margin-top: var(--space-4);
}

.cf-credit-summary[b-nqputkroxl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    text-align: center;
}

.cf-credit-summary .ui-muted[b-nqputkroxl] {
    margin: 0;
}

.ui-muted[b-nqputkroxl] {
    margin: var(--space-3) 0 0;
}

.ui-muted .bi[b-nqputkroxl] {
    margin-right: 0.25rem;
}

/* ============ Flow diagram (SVG from js/cashflow.js) ============ */

[b-nqputkroxl] .cf-flow-svg {
    display: block;
    overflow: visible;
}

[b-nqputkroxl] .cf-flow-label {
    fill: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

[b-nqputkroxl] .cf-flow-value {
    fill: var(--text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

[b-nqputkroxl] .cf-flow-desk-label {
    fill: var(--brand-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

[b-nqputkroxl] .cf-flow-ribbon {
    transition: fill-opacity 0.18s ease;
}

[b-nqputkroxl] .cf-flow-ribbon:hover {
    fill-opacity: 0.55;
}

/* ============ Stat detail modal ============ */

.cf-modal-value[b-nqputkroxl] {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

[b-nqputkroxl] .cf-trend-svg {
    display: block;
    width: 100%;
}

[b-nqputkroxl] .cf-trend-axis {
    fill: var(--text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

[b-nqputkroxl] .cf-trend-axis.is-cumulative {
    fill: var(--info);
}

[b-nqputkroxl] .cf-trend-bar {
    transition: fill-opacity 0.15s ease;
}

[b-nqputkroxl] .cf-trend-bar:hover {
    fill-opacity: 1;
}

/* ============ Horizontal bars (turnover, customer credit) ============ */

.cf-hbar-row[b-nqputkroxl] {
    display: grid;
    grid-template-columns: 190px 1fr 110px;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.cf-hbar-label[b-nqputkroxl] {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: right;
}

.cf-hbar-track[b-nqputkroxl] {
    height: 14px;
    background: var(--bg-sunken);
    border-radius: 7px;
    overflow: hidden;
}

.cf-hbar-fill[b-nqputkroxl] {
    height: 100%;
    border-radius: 7px;
}

.cf-hbar-fill.is-full[b-nqputkroxl] {
    width: 100%;
}

.cf-hbar-fill.is-good[b-nqputkroxl] {
    background: var(--success);
}

.cf-hbar-fill.is-warn[b-nqputkroxl] {
    background: var(--warning);
}

.cf-hbar-fill.is-neutral[b-nqputkroxl] {
    background: var(--text-muted);
}

.cf-hbar-value[b-nqputkroxl] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.cf-turnover[b-nqputkroxl] {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: var(--space-5);
}

/* ============ Collection valuation rows ============ */

.cf-val-row[b-nqputkroxl] {
    display: grid;
    grid-template-columns: 260px 1fr 110px 96px;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.cf-val-label[b-nqputkroxl] {
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
}

.cf-val-note[b-nqputkroxl] {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cf-val-track[b-nqputkroxl] {
    display: block;
    height: 22px;
    background: var(--bg-sunken);
    border-radius: 6px;
    overflow: hidden;
}

.cf-val-fill[b-nqputkroxl] {
    display: block;
    height: 100%;
    border-radius: 6px;
    transform-origin: left;
}

.cf-val-fill.is-cost[b-nqputkroxl] {
    background: var(--text-muted);
}

.cf-val-fill.is-buy[b-nqputkroxl] {
    background: var(--warning);
}

.cf-val-fill.is-sell[b-nqputkroxl] {
    background: var(--success);
}

.cf-val-amount[b-nqputkroxl] {
    text-align: right;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.cf-val-delta[b-nqputkroxl] {
    text-align: right;
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .cf-val-row[b-nqputkroxl] {
        grid-template-columns: 1fr 90px 80px;
    }

    .cf-val-track[b-nqputkroxl] {
        display: none;
    }
}

/* ============ Age bands: fresh stock cool, stale stock hot ============ */

.cf-age-row[b-nqputkroxl] {
    display: grid;
    grid-template-columns: 108px 1fr 96px 92px;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
}

.cf-age-head[b-nqputkroxl] {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cf-age-label[b-nqputkroxl] {
    color: var(--text-secondary);
    text-align: right;
}

.cf-age-track[b-nqputkroxl] {
    position: relative;
    height: 20px;
    background: var(--bg-sunken);
    border-radius: 6px;
    overflow: hidden;
}

.cf-age-fill[b-nqputkroxl] {
    height: 100%;
    border-radius: 6px;
    transform-origin: left;
}

.cf-age-fill.is-fresh[b-nqputkroxl] {
    background: var(--success);
}

.cf-age-fill.is-recent[b-nqputkroxl] {
    background: var(--chart-5);
}

.cf-age-fill.is-aging[b-nqputkroxl] {
    background: var(--warning);
}

.cf-age-fill.is-stale[b-nqputkroxl] {
    background: var(--brand-deep);
}

.cf-age-fill.is-dead[b-nqputkroxl] {
    background: var(--danger);
}

.cf-age-value[b-nqputkroxl] {
    font-weight: 600;
    color: var(--text);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cf-age-head .cf-age-value[b-nqputkroxl],
.cf-age-head .cf-age-label[b-nqputkroxl] {
    color: inherit;
    font-weight: inherit;
}

.cf-age-unrealized[b-nqputkroxl] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ============ Motion (respects reduced motion) ============ */

@media (prefers-reduced-motion: no-preference) {
    .cf-hbar-fill[b-nqputkroxl],
    .cf-val-fill[b-nqputkroxl],
    .cf-age-fill[b-nqputkroxl] {
        animation: cf-grow-x-b-nqputkroxl 0.9s ease-out;
        transform-origin: left;
    }

    .cf-spark[b-nqputkroxl] {
        animation: cf-fade-in-b-nqputkroxl 1s ease-out;
    }
}

@keyframes cf-fade-in-b-nqputkroxl {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cf-grow-x-b-nqputkroxl {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Phones. The headline is 60px type, and the bar/valuation/age rows are grids with fixed
   pixel label and value columns adding up to ~300px before the bar itself — wider than a
   phone. Shrink the type and let the label sit above the bar. */
@media (max-width: 576px) {
    .cf-hero-value[b-nqputkroxl] {
        font-size: 2.25rem;
    }

    .cf-modal-value[b-nqputkroxl] {
        font-size: 1.6rem;
    }

    .cf-hero-worth-value[b-nqputkroxl] {
        font-size: 1.2rem;
    }

    .cf-hbar-row[b-nqputkroxl] {
        grid-template-columns: 1fr 90px;
    }

    .cf-hbar-row > :first-child[b-nqputkroxl] {
        grid-column: 1 / -1;
        text-align: left;
    }

    .cf-bridge[b-nqputkroxl] {
        max-width: none;
    }

    .cf-bridge-row[b-nqputkroxl] {
        grid-template-columns: 90px 1fr 56px;
    }

    .cf-age-row[b-nqputkroxl] {
        grid-template-columns: 1fr 80px 72px;
    }

    .cf-age-row > :first-child[b-nqputkroxl] {
        grid-column: 1 / -1;
        text-align: left;
    }

    .cf-val-row[b-nqputkroxl] {
        grid-template-columns: 1fr 80px 70px;
    }

    .cf-turnover[b-nqputkroxl] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/BotMessages/BotMessages.razor.rz.scp.css */
.bm-help[b-jn6y29giaz] {
    margin: 0 0 var(--space-2);
}

.bm-selection[b-jn6y29giaz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    margin-bottom: var(--space-3);
}

.bm-bulk-fields[b-jn6y29giaz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--space-3);
}

.bm-actions[b-jn6y29giaz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.bm-card-head[b-jn6y29giaz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.bm-card-status[b-jn6y29giaz] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 400;
}

.bm-label[b-jn6y29giaz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bm-count[b-jn6y29giaz] {
    font-size: var(--text-xs);
}

.bm-chains[b-jn6y29giaz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* One chain: its disclosure header over its four bots, in one bordered box. */
.bm-chain[b-jn6y29giaz] {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.bm-chain > .ui-cards[b-jn6y29giaz] {
    padding: var(--space-3);
}
/* /Components/Pages/Cardbot/Distributions.razor.rz.scp.css */
/* Only what the kit has no pattern for: the chart's headline figure and the series toggles. Tokens only. */

.dv-headline[b-ymaivs4dj7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-2) var(--space-6);
    margin-bottom: var(--space-3);
}

.dv-headline-label[b-ymaivs4dj7] {
    color: var(--text-muted);
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dv-headline-value[b-ymaivs4dj7] {
    color: var(--text);
    font-size: 2.1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.dv-headline-value span[b-ymaivs4dj7] {
    color: var(--text-muted);
    font-size: var(--text-base);
    font-weight: 400;
}

.dv-series[b-ymaivs4dj7] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.dv-series:hover[b-ymaivs4dj7] {
    color: var(--text);
}

.dv-series:focus-visible[b-ymaivs4dj7] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.dv-series.is-on[b-ymaivs4dj7] {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    color: var(--text);
}

/* A series that is off keeps its swatch, faded. */
.dv-series:not(.is-on) .ui-swatch[b-ymaivs4dj7] {
    opacity: 0.35;
}

.dv-totals[b-ymaivs4dj7] {
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.dv-totals .dv-headline[b-ymaivs4dj7] {
    margin-bottom: 0;
}

.dv-filter-value[b-ymaivs4dj7] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* Holds the chart's height while ApexCharts is rebuilt (new @key), so the page does not jump up on every toggle. */
.dv-chart[b-ymaivs4dj7] {
    min-height: 340px;
    margin: var(--space-2) calc(-1 * var(--space-2)) 0;
}

/* The table stands in for the chart, so it is the chart's height. */
.dv-table[b-ymaivs4dj7] {
    max-height: 340px;
}

.dv-now[b-ymaivs4dj7] {
    margin-bottom: var(--space-3);
}

.dv-fields[b-ymaivs4dj7] {
    margin: var(--space-4) 0 0;
}

@media (max-width: 640px) {
    .dv-headline-value[b-ymaivs4dj7] {
        font-size: 1.6rem;
    }
}
/* /Components/Pages/ControlCenter/ControlCenter.razor.rz.scp.css */
/*
 * Control Center is built from the ui kit; these are the few things that are its own. Tokens only.
 */

.cc-vm-name[b-s2rp08dc80] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-weight: 500;
}

/* The pin select: grey is the balancer's choice, yellow an operator's pin. */
.cc-pin-cell[b-s2rp08dc80] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.cc-pin[b-s2rp08dc80] {
    min-width: 9rem;
}

.cc-pin.is-pinned[b-s2rp08dc80] {
    background: var(--warning-tint);
    border-color: var(--warning);
    color: var(--warning-text);
}

/* The filter bar stands on its own above two tables, not on top of one. */
.cc-filterbar[b-s2rp08dc80] {
    border-bottom: 0;
}

/* Progress toasts update in place, which ToastService cannot do; they sit bottom-right, clear of
   ToastHost's corner. */
.cc-operations[b-s2rp08dc80] {
    top: auto;
    bottom: var(--space-4);
}
/* /Components/Pages/ControlCenter/VmConsole.razor.rz.scp.css */
/* A full-viewport canvas. Fixed to the viewport, it leaves nothing in the body's flow, so the
   page cannot scroll and the body's own background never shows. */
.vnc-page[b-pesclx2avd] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-chrome);
}

.vnc-bar[b-pesclx2avd] {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    padding: 0.4rem var(--space-3);
    background: var(--bg-chrome);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: var(--text-sm);
}

.vnc-name[b-pesclx2avd] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-semibold);
}

.vnc-node[b-pesclx2avd] {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.vnc-actions[b-pesclx2avd] {
    display: flex;
    gap: var(--space-2);
    margin-left: auto;
}

.vnc-container[b-pesclx2avd] {
    flex: 1 1 auto;
    min-height: 0;
    background: var(--bg-chrome);
}

/* noVNC writes the remote cursor into the canvas' inline style (and `none` when the guest
   hides it). An !important stylesheet rule is what outranks an inline style, so this is how
   the operator's own pointer stays on top. The canvas is noVNC's, hence ::deep. */
.vnc-container.vnc-local-cursor[b-pesclx2avd]  canvas {
    cursor: default !important;
}
/* /Components/Pages/ControlCenter/VMViewerModal.razor.rz.scp.css */
/* The live screen: as large as the dialog allows, letterboxed on the sunken surface. */
.vm-viewer-stage[b-qc9g0e9rju] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vm-viewer-stage img[b-qc9g0e9rju] {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
}
/* /Components/Pages/Diagnostics/TradeDiagnostics.razor.rz.scp.css */
/* Throughput: the live occupancy bars and the clickable donut cards are this page's own; everything
   else is the ui kit. */

/* The per-load wrapper adds no box: its panels sit in the page's own column and gap. */
.td-sections[b-lmzu94i6bv] {
    display: contents;
}

/* ---------- Live strip ---------- */

.td-live-grid[b-lmzu94i6bv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.td-live-tile[b-lmzu94i6bv] {
    padding: 0.7rem 0.85rem;
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* A fleet with zero free bots is the thing worth noticing at a glance. */
.td-live-tile.is-saturated[b-lmzu94i6bv] {
    border-color: var(--danger);
    box-shadow: inset 0 0 0 1px var(--danger);
}

.td-live-name[b-lmzu94i6bv] {
    margin-bottom: var(--space-2);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: var(--font-semibold);
}

.td-live-bar[b-lmzu94i6bv] {
    display: flex;
    height: 6px;
    margin-bottom: var(--space-2);
    overflow: hidden;
    background: var(--bg-card-hover);
    border-radius: 3px;
}

.td-seg[b-lmzu94i6bv] {
    display: block;
    height: 100%;
}

.td-seg.is-busy[b-lmzu94i6bv] { background: var(--success); }
.td-seg.is-free[b-lmzu94i6bv] { background: var(--border-strong); }
.td-seg.is-blocked[b-lmzu94i6bv] { background: var(--warning); }

.td-live-counts[b-lmzu94i6bv] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.td-blocked[b-lmzu94i6bv] {
    color: var(--warning-text);
}

/* ---------- Donut cards ---------- */

.td-donut-grid[b-lmzu94i6bv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
}

.td-donut-card[b-lmzu94i6bv] {
    display: flex;
    flex-direction: column;
    padding: 0.85rem;
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.td-donut-card:hover[b-lmzu94i6bv] {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.td-donut-card:focus-visible[b-lmzu94i6bv] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.td-donut-card.is-selected[b-lmzu94i6bv] {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.td-donut-head[b-lmzu94i6bv] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.td-donut-title[b-lmzu94i6bv] {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: var(--font-semibold);
}

.td-donut-legend[b-lmzu94i6bv] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: var(--space-2);
}

.td-legend-row[b-lmzu94i6bv] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.td-legend-dot[b-lmzu94i6bv] {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.td-legend-label[b-lmzu94i6bv] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-legend-pct[b-lmzu94i6bv] {
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-weight: var(--font-semibold);
}

/* ---------- Drill-down ---------- */

.td-drilldown[b-lmzu94i6bv] {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.td-drill-head[b-lmzu94i6bv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.td-drill-head h3[b-lmzu94i6bv] {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: var(--font-semibold);
}

/* ---------- Trade timing ---------- */

.td-h3[b-lmzu94i6bv] {
    margin: 0 0 var(--space-2);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: var(--font-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .td-donut-card[b-lmzu94i6bv] { transition: none; }
}
/* /Components/Pages/GoatUpdater/ScraperQueuePanel.razor.rz.scp.css */
.queue-legend[b-qv0ury6fe8] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: var(--space-3);
}

/* Each key is the tint of its rows; outlined, so "never" (no tint) still shows. */
.queue-legend > .ui-swatch[b-qv0ury6fe8] {
    border: 1px solid var(--border);
    border-radius: 0;
}

/* The set being scraped right now also stands out by weight, not only by its tint. */
tr.is-info td[b-qv0ury6fe8] {
    font-weight: var(--font-semibold);
}
/* /Components/Pages/Inventory/Inventory.razor.rz.scp.css */
.stock-chain-name[b-v60ex66vvy] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-weight: 600;
}

.stock-chain-name > .bi[b-v60ex66vvy] {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.stock-modal-action[b-v60ex66vvy] {
    margin-top: var(--space-3);
}
/* /Components/Pages/Inventory/InventoryRow.razor.rz.scp.css */
.is-indented > td:first-child[b-183qonf4g0] {
    padding-left: 2.25rem;
}

.stock-bot[b-183qonf4g0] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
/* /Components/Pages/Monitoring/StatusWallGrid.razor.rz.scp.css */
/* The Status wall honeycomb, after Manatraders' live_monitor.scss. Each hexagon spans 3 columns and
   2 rows of a CSS grid; every second one shifts up a row so they interlock, 9 to a row. */

.status-wall[b-7o8cr11vos] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.status-wall-bar[b-7o8cr11vos] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.status-wall-logo[b-7o8cr11vos] {
    width: 12rem;
    height: auto;
}

.status-wall.is-kiosk .status-wall-logo[b-7o8cr11vos] {
    width: 15rem;
}

.hex-grid__list[b-7o8cr11vos] {
    --counter: 1;
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, 1fr 2fr) 1fr;
    gap: 0.35rem 0.7rem;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    list-style-type: none;
}

.hex-grid__item[b-7o8cr11vos] {
    position: relative;
    grid-column: 1 / span 3;
    grid-row: calc(var(--counter) + var(--counter)) / span 2;
    height: 0;
    padding-bottom: 90%;
    filter: drop-shadow(var(--shadow-md));
}

/* Columns */
.hex-grid__item:nth-of-type(9n + 1)[b-7o8cr11vos] { grid-column: 1 / span 3; }
.hex-grid__item:nth-of-type(9n + 2)[b-7o8cr11vos] { grid-column: 3 / span 3; grid-row: calc(var(--counter) + var(--counter) - 1) / span 2; }
.hex-grid__item:nth-of-type(9n + 3)[b-7o8cr11vos] { grid-column: 5 / span 3; }
.hex-grid__item:nth-of-type(9n + 4)[b-7o8cr11vos] { grid-column: 7 / span 3; grid-row: calc(var(--counter) + var(--counter) - 1) / span 2; }
.hex-grid__item:nth-of-type(9n + 5)[b-7o8cr11vos] { grid-column: 9 / span 3; }
.hex-grid__item:nth-of-type(9n + 6)[b-7o8cr11vos] { grid-column: 11 / span 3; grid-row: calc(var(--counter) + var(--counter) - 1) / span 2; }
.hex-grid__item:nth-of-type(9n + 7)[b-7o8cr11vos] { grid-column: 13 / span 3; }
.hex-grid__item:nth-of-type(9n + 8)[b-7o8cr11vos] { grid-column: 15 / span 3; grid-row: calc(var(--counter) + var(--counter) - 1) / span 2; }
.hex-grid__item:nth-of-type(9n + 9)[b-7o8cr11vos] { grid-column: 17 / span 3; }

/* Rows */
.hex-grid__item:nth-of-type(n + 10)[b-7o8cr11vos] { --counter: 2; }
.hex-grid__item:nth-of-type(n + 19)[b-7o8cr11vos] { --counter: 3; }
.hex-grid__item:nth-of-type(n + 28)[b-7o8cr11vos] { --counter: 4; }
.hex-grid__item:nth-of-type(n + 37)[b-7o8cr11vos] { --counter: 5; }
.hex-grid__item:nth-of-type(n + 46)[b-7o8cr11vos] { --counter: 6; }
.hex-grid__item:nth-of-type(n + 55)[b-7o8cr11vos] { --counter: 7; }
.hex-grid__item:nth-of-type(n + 64)[b-7o8cr11vos] { --counter: 8; }
.hex-grid__item:nth-of-type(n + 73)[b-7o8cr11vos] { --counter: 9; }
.hex-grid__item:nth-of-type(n + 82)[b-7o8cr11vos] { --counter: 10; }
.hex-grid__item:nth-of-type(n + 91)[b-7o8cr11vos] { --counter: 11; }
.hex-grid__item:nth-of-type(n + 100)[b-7o8cr11vos] { --counter: 12; }
.hex-grid__item:nth-of-type(n + 109)[b-7o8cr11vos] { --counter: 13; }
.hex-grid__item:nth-of-type(n + 118)[b-7o8cr11vos] { --counter: 14; }
.hex-grid__item:nth-of-type(n + 127)[b-7o8cr11vos] { --counter: 15; }
.hex-grid__item:nth-of-type(n + 136)[b-7o8cr11vos] { --counter: 16; }
.hex-grid__item:nth-of-type(n + 145)[b-7o8cr11vos] { --counter: 17; }
.hex-grid__item:nth-of-type(n + 154)[b-7o8cr11vos] { --counter: 18; }
.hex-grid__item:nth-of-type(n + 163)[b-7o8cr11vos] { --counter: 19; }
.hex-grid__item:nth-of-type(n + 172)[b-7o8cr11vos] { --counter: 20; }
.hex-grid__item:nth-of-type(n + 181)[b-7o8cr11vos] { --counter: 21; }

.hex-grid__content[b-7o8cr11vos] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.4rem 17%;
    border: 0;
    clip-path: polygon(75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%, 25% 0);
    background: var(--bg-card-hover);
    color: var(--on-brand);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.hex-grid__content:hover[b-7o8cr11vos] {
    transform: scale(1.04);
}

.hex-grid__content:focus-visible[b-7o8cr11vos] {
    outline: 3px solid var(--text);
    outline-offset: -6px;
}

/* Status fills carry the dark brand text, as on every other status fill in the kit. */
.hex-grid__content.level-ok[b-7o8cr11vos] { background: var(--success); }
.hex-grid__content.level-warning[b-7o8cr11vos] { background: var(--warning); }
.hex-grid__content.level-critical[b-7o8cr11vos] { background: var(--danger); }
.hex-grid__content.level-unknown[b-7o8cr11vos] { background: var(--text-muted); }

.hex-grid__content.level-disabled[b-7o8cr11vos] {
    background: var(--bg-card-hover);
    color: var(--text-muted);
}

.hex-grid__title[b-7o8cr11vos],
.hex-grid__value[b-7o8cr11vos] {
    font-size: 0.72rem;
    line-height: 1.12;
    word-break: break-word;
}

.hex-grid__title[b-7o8cr11vos] {
    font-weight: var(--font-semibold);
}

.status-wall.is-kiosk .hex-grid__title[b-7o8cr11vos],
.status-wall.is-kiosk .hex-grid__value[b-7o8cr11vos] {
    font-size: 0.85rem;
}

.status-wall-value[b-7o8cr11vos] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--text-secondary);
}

.status-wall-value strong[b-7o8cr11vos] {
    color: var(--text);
}

.status-wall-details[b-7o8cr11vos] {
    max-height: 50vh;
    margin: 0;
    padding-left: 1.1rem;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.status-wall-details li[b-7o8cr11vos] {
    padding: 0.2rem 0;
}

/* A phone cannot fit nine hexagons across; the wall becomes a plain two-column list of tiles. */
@media (max-width: 640px) {
    .hex-grid__list[b-7o8cr11vos] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-2);
    }

    .hex-grid__list > .hex-grid__item:nth-of-type(n)[b-7o8cr11vos] {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        padding-bottom: 0;
        filter: none;
    }

    .hex-grid__content[b-7o8cr11vos] {
        position: static;
        min-height: 4.5rem;
        padding: var(--space-2) var(--space-3);
        clip-path: none;
        border-radius: var(--radius-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hex-grid__content[b-7o8cr11vos] { transition: none; }
}
/* /Components/Pages/Performance/CardPerformance.razor.rz.scp.css */
/* Legend swatches: the same colours ChartDefaults hands the series. */
.perf-legend[b-zlb9mwlx1o] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.perf-legend-item[b-zlb9mwlx1o] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.perf-legend-item b[b-zlb9mwlx1o] {
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.perf-swatch[b-zlb9mwlx1o] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.perf-swatch.is-buy[b-zlb9mwlx1o] { background: var(--success); }
.perf-swatch.is-sell[b-zlb9mwlx1o] { background: var(--danger); }
.perf-swatch.is-cost[b-zlb9mwlx1o] { width: 16px; height: 0; border-top: 2px dashed var(--chart-7); border-radius: 0; }
.perf-swatch.is-bought[b-zlb9mwlx1o] { background: var(--info); border: 2px solid var(--bg-card); border-radius: 50%; width: 11px; height: 11px; }
.perf-swatch.is-sold[b-zlb9mwlx1o] { background: var(--warning); border: 2px solid var(--bg-card); border-radius: 50%; width: 11px; height: 11px; }

/* Ledger: a coloured edge says buy or sell before the badge is read. */
.perf-buy td:first-child[b-zlb9mwlx1o] { box-shadow: inset 3px 0 0 var(--success); }
.perf-sell td:first-child[b-zlb9mwlx1o] { box-shadow: inset 3px 0 0 var(--info); }

.perf-date[b-zlb9mwlx1o] {
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.perf-user[b-zlb9mwlx1o] {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The sell price formula, written out with its GoatBots terms and the percentile highlighted. */
.perf-formula-head[b-zlb9mwlx1o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.perf-formula-version[b-zlb9mwlx1o] {
    font-family: var(--font-mono);
}

.perf-formula-version .ui-link[b-zlb9mwlx1o] {
    margin-left: var(--space-2);
    font-family: var(--font-body);
    white-space: nowrap;
}

.perf-formula-quote[b-zlb9mwlx1o] {
    color: var(--brand-light);
    font-family: var(--font-mono);
}

.perf-formula-line[b-zlb9mwlx1o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.8;
}

.perf-formula-line.is-numbers[b-zlb9mwlx1o] {
    font-weight: 700;
}

.perf-formula-symbol[b-zlb9mwlx1o] {
    color: var(--brand-light);
    font-weight: 700;
}

.perf-formula-op[b-zlb9mwlx1o] {
    color: var(--text-muted);
}

.perf-formula-term[b-zlb9mwlx1o] {
    padding: 0 0.3rem;
    border-radius: var(--radius-sm);
}

.perf-formula-term.is-gb[b-zlb9mwlx1o] {
    background: var(--info-tint);
    color: var(--info-text);
}

.perf-formula-term.is-p[b-zlb9mwlx1o] {
    background: var(--brand-tint);
    color: var(--brand-light);
}

.perf-steps[b-zlb9mwlx1o] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.perf-step[b-zlb9mwlx1o] {
    display: flex;
    flex: 1 1 12rem;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 12rem;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.perf-step-label[b-zlb9mwlx1o] {
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.perf-step-value[b-zlb9mwlx1o] {
    color: var(--brand-light);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
}

.perf-step-value.ui-up[b-zlb9mwlx1o] { color: var(--success-text); }
.perf-step-value.ui-down[b-zlb9mwlx1o] { color: var(--danger-text); }

.perf-step-detail[b-zlb9mwlx1o] {
    color: var(--text-muted);
    font-size: var(--text-xs);
    line-height: 1.35;
}
/* /Components/Pages/Pricing/PricingV2Settings.razor.rz.scp.css */
/* Engineering settings: the generated form, one collapsible block per group of settings. */

.ps-collapsed[b-l06im0hsqp] {
    margin: 0;
}

.ps-section[b-l06im0hsqp] {
    border-top: 1px solid var(--border);
    padding: var(--space-3) 0;
}

.ps-section:first-of-type[b-l06im0hsqp] {
    border-top: 0;
}

.ps-section summary[b-l06im0hsqp] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-1) var(--space-3);
    cursor: pointer;
    min-height: 2rem;
}

.ps-section[open] summary[b-l06im0hsqp] {
    margin-bottom: var(--space-3);
}

.ps-section-title[b-l06im0hsqp] {
    font-weight: 600;
    color: var(--text);
}

.ps-fields[b-l06im0hsqp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
    gap: var(--space-2) var(--space-5);
    margin-bottom: var(--space-3);
}

.ps-field[b-l06im0hsqp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.ps-text[b-l06im0hsqp] {
    width: 12rem;
}

.ps-field .ui-select:disabled[b-l06im0hsqp],
.ps-check:disabled[b-l06im0hsqp] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ps-row[b-l06im0hsqp] {
    margin-top: var(--space-3);
}
/* /Components/Pages/Pricing/TicketPricing.razor.rz.scp.css */
.tk-attention-action[b-mhfr5g5zoh] {
    margin-top: var(--space-2);
}
/* /Components/Pages/Pricing/TicketPricingSettingsPanel.razor.rz.scp.css */
/* One card per rule, two to a row where there is room, so the whole form fits a screen. */
.tk-settings[b-u9cwtme9rj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
    gap: var(--space-3);
}

.tk-settings-group[b-u9cwtme9rj] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.tk-settings-group.is-wide[b-u9cwtme9rj] {
    grid-column: 1 / -1;
}

/* The kit spaces these for a page; inside a card the card's own gap is enough. */
.tk-settings-group .ui-subhead[b-u9cwtme9rj],
.tk-settings-group .ui-fields[b-u9cwtme9rj],
.tk-settings-group p[b-u9cwtme9rj] {
    margin: 0;
}

/* The levels on the left, what they would have done on the right. */
.tk-settings-split[b-u9cwtme9rj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
    gap: var(--space-3) var(--space-5);
    align-items: start;
}

.tk-settings-rows[b-u9cwtme9rj] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.tk-settings-tier[b-u9cwtme9rj] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.tk-settings-group input.tk-wide-number[b-u9cwtme9rj] {
    width: 6.5rem;
}
/* /Components/Pages/Pricing/TicketStockMovementPanel.razor.rz.scp.css */
.tk-chart-title[b-1s4hji6tam] {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
}
/* /Components/Pages/Profit/Profit.razor.rz.scp.css */
/* Profit: only what this page draws itself. Everything else is the kit (wwwroot/css/ui.css). */

.pf-report-note[b-n3ddifx8e5] {
    margin: 0;
}

/* A Sales Profit series switched off in the legend. */
.pf-series-off[b-n3ddifx8e5] {
    opacity: 0.5;
    text-decoration: line-through;
}

/* Breakdown table: the Buy / Sell / Profit column groups. */
.pf-sep[b-n3ddifx8e5] {
    border-left: 1px solid var(--border);
}

/* A card name that shows its image on hover; the image mounts on the first hover only. */
.pf-card[b-n3ddifx8e5] {
    position: relative;
    display: inline-block;
    cursor: help;
}

.pf-card-pop[b-n3ddifx8e5] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--z-dropdown);
    margin-top: var(--space-1);
    pointer-events: none;
}

.pf-card:hover .pf-card-pop[b-n3ddifx8e5] {
    display: block;
}

.pf-card-chip[b-n3ddifx8e5] {
    display: inline-block;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Rentals/RentalJobs.razor.rz.scp.css */
/* Rental jobs: the delivery art icon and the calendar range picker are this page's own; everything else is
   the ui kit. */

.rj-toolbar-note[b-w29878lc6w] {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* ---------------------------------------------------------------- delivery art */

/* Green when every multi-copy card came in one artwork, red when not. */
.rj-art[b-w29878lc6w] {
    font-size: 1rem;
    line-height: 1;
    cursor: help;
}

.rj-art.is-same[b-w29878lc6w] {
    color: var(--success-text);
}

.rj-art.is-mixed[b-w29878lc6w] {
    color: var(--danger-text);
}

.rj-art.is-unknown[b-w29878lc6w] {
    color: var(--text-muted);
}

/* ---------------------------------------------------------------- alert replay episodes */

.rj-episodes[b-w29878lc6w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-4) 0 0;
}

/* ---------------------------------------------------------------- calendar range picker */

/* A pill that opens a small popover with two date fields. */
.rj-daterange[b-w29878lc6w] {
    position: relative;
}

.rj-popover-backdrop[b-w29878lc6w] {
    position: fixed;
    inset: 0;
    z-index: 29;
}

.rj-popover[b-w29878lc6w] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 17rem;
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.rj-popover-field[b-w29878lc6w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.rj-popover-field input[b-w29878lc6w] {
    padding: 0.3rem 0.5rem;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.8125rem;
    color-scheme: dark;
}

.rj-popover-actions[b-w29878lc6w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.rj-popover-error[b-w29878lc6w] {
    color: var(--danger-text);
    font-size: var(--text-xs);
}

@media (max-width: 640px) {
    .rj-popover[b-w29878lc6w] {
        min-width: 0;
        width: min(17rem, calc(100vw - 2rem));
    }
}
/* /Components/Pages/Sets/SetCompleteness.razor.rz.scp.css */
/* Two buy buttons plus a cancel sit in one cell without wrapping the row. */
.sets-buy[b-6xuvjirh1e] {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-1);
    white-space: nowrap;
}
/* /Components/Pages/Sets/SetDetail.razor.rz.scp.css */
/* The expanded holdings must not read as another card row. */
.set-distribution td[b-6tjivk69r7] {
    background: var(--bg-sunken);
}

.set-holdings[b-6tjivk69r7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.set-holdings + .set-holdings[b-6tjivk69r7] {
    margin-top: var(--space-2);
}
/* /Components/Pages/TradeAlerts/TradeAlerts.razor.rz.scp.css */
/* The suspicious-user cards: rank, identity and evidence, then the score meter. Unique to this page. */
.su-list[b-tfwge1dfxe] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.su-card.tone-danger[b-tfwge1dfxe] {
    border-left: 3px solid var(--danger);
}

.su-card.tone-warn[b-tfwge1dfxe] {
    border-left: 3px solid var(--warning);
}

.su-head[b-tfwge1dfxe] {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: var(--space-3) var(--space-4);
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
}

.su-rank[b-tfwge1dfxe] {
    color: var(--text-muted);
    font-weight: var(--font-bold);
    font-variant-numeric: tabular-nums;
}

.su-identity[b-tfwge1dfxe] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.su-name[b-tfwge1dfxe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-semibold);
}

.su-evidence[b-tfwge1dfxe] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.su-actions[b-tfwge1dfxe] {
    padding: 0 var(--space-5) var(--space-4);
}

.su-detail[b-tfwge1dfxe] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border);
    background: var(--bg-sunken);
}

.su-alerts[b-tfwge1dfxe] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.su-alert[b-tfwge1dfxe] {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: var(--space-3);
}

.su-alert-text[b-tfwge1dfxe] {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .su-head[b-tfwge1dfxe] {
        grid-template-columns: auto 1fr auto;
    }

    .su-head .ui-meter[b-tfwge1dfxe] {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .su-alert[b-tfwge1dfxe] {
        grid-template-columns: 1fr auto;
    }
}
/* /Components/Pages/Trades/PublicVideoPlayer.razor.rz.scp.css */
/* The page customers open from a shared link: the Mana Traders graphite and orange, nothing else. */
.player[b-ox2obkm51b] {
    overflow: hidden;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* The logo sits on the sidebar's graphite, with the orange as the one accent under it. */
.player-head[b-ox2obkm51b] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-chrome);
    border-bottom: 3px solid var(--brand);
}

.player-logo[b-ox2obkm51b] {
    display: block;
    width: auto;
    height: 2.75rem;
}

.player-title[b-ox2obkm51b] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--text);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.player-title i[b-ox2obkm51b] {
    color: var(--brand-light);
}

.player-video[b-ox2obkm51b] {
    background: var(--bg-chrome);
}

.player-video video[b-ox2obkm51b] {
    display: block;
    width: 100%;
    max-height: 70vh;
}

.player-meta[b-ox2obkm51b] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: 0;
    padding: var(--space-4) var(--space-6);
    list-style: none;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.player-meta li[b-ox2obkm51b] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.player-meta i[b-ox2obkm51b] {
    color: var(--text-muted);
}

.player-foot[b-ox2obkm51b] {
    padding: var(--space-3) var(--space-6);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--text-xs);
}

@media (max-width: 768px) {
    .player-meta-wide[b-ox2obkm51b] {
        display: none;
    }
}

@media (max-width: 576px) {
    .player-head[b-ox2obkm51b],
    .player-meta[b-ox2obkm51b],
    .player-foot[b-ox2obkm51b] {
        padding-right: var(--space-4);
        padding-left: var(--space-4);
    }

    .player-logo[b-ox2obkm51b] {
        height: 2.25rem;
    }

    .player-title[b-ox2obkm51b] {
        font-size: var(--text-base);
    }
}
/* /Components/Pages/Trades/UserTrades.razor.rz.scp.css */
/* The trade list: only what the kit has no pattern for. Tokens only. */

/* The card filter takes a search box's share of the filter bar. */
.trades-card-filter[b-guj3mblhln] {
    flex: 1 1 16rem;
    min-width: 12rem;
}

/* ---------------------------------------------------------------- trade detail */

.trades-trade-id[b-guj3mblhln] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    overflow-wrap: anywhere;
}

.trades-trade-id code[b-guj3mblhln] {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Card picture on hover. Fixed, not absolute: the side tables scroll inside an overflow container
   that would clip an absolute popup. ui.js places it next to the cursor. */
.card-cell[b-guj3mblhln] {
    cursor: help;
}

.card-hover-pop[b-guj3mblhln] {
    display: none;
    position: fixed;
    z-index: 99999;
    pointer-events: none;
}

.card-cell:hover .card-hover-pop[b-guj3mblhln] {
    display: block;
}

/* ---------------------------------------------------------------- screenshot, recording, chat */

.trades-screenshot[b-guj3mblhln] {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-md);
}

.trades-video[b-guj3mblhln] {
    display: block;
    width: 100%;
    max-height: 70vh;
    background: var(--bg-chrome);
    border-radius: var(--radius-md);
}

/* The log reads like the MTGO chat it came from: monospace, its own line breaks. It fills the full-size
   dialog under the trade line and scrolls there. */
.trades-chat-log[b-guj3mblhln] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Phones: the date inputs share their row instead of each claiming a fixed width. */
@media (max-width: 640px) {
    .trades-date-range .ui-input[b-guj3mblhln] {
        flex: 1 1 8rem;
    }
}
/* /Components/Pages/Users/CreditAdjustDialog.razor.rz.scp.css */
/* The adjustment laid out as a sum in a column: label, operand, operator. Unique to this dialog. */
.credit-calc[b-oin5utas48] {
    display: grid;
    grid-template-columns: 1fr auto 2.25rem;
    align-items: center;
    row-gap: var(--space-2);
    column-gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.calc-label[b-oin5utas48] {
    color: var(--text-muted);
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.calc-value[b-oin5utas48],
.calc-total[b-oin5utas48] {
    justify-self: end;
    padding-right: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.calc-value[b-oin5utas48] {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: var(--font-bold);
}

.calc-total[b-oin5utas48] {
    font-size: 1.6rem;
    font-weight: 800;
}

.calc-total.is-positive[b-oin5utas48] {
    color: var(--success-text);
}

.calc-total.is-negative[b-oin5utas48] {
    color: var(--danger-text);
}

.calc-sign[b-oin5utas48],
.calc-equals[b-oin5utas48] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.15rem;
    font-weight: var(--font-bold);
}

.calc-sign[b-oin5utas48] {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.calc-sign:hover[b-oin5utas48] {
    background: var(--bg-card-hover);
}

.calc-sign:focus-visible[b-oin5utas48] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.calc-sign.is-add[b-oin5utas48] {
    border-color: var(--success);
    color: var(--success-text);
}

.calc-sign.is-subtract[b-oin5utas48] {
    border-color: var(--danger);
    color: var(--danger-text);
}

.calc-equals[b-oin5utas48] {
    color: var(--text-muted);
}

.calc-amount[b-oin5utas48] {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 2.5rem;
    padding: 0 0.85rem 0 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.calc-amount:focus-within[b-oin5utas48] {
    border-color: var(--brand-light);
}

.calc-amount-input[b-oin5utas48] {
    width: 7rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: var(--font-bold);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.calc-stepper[b-oin5utas48] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc-stepper button[b-oin5utas48] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.1rem;
    padding: 0;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
}

.calc-stepper button:hover[b-oin5utas48] {
    border-color: var(--border-strong);
    color: var(--text);
}

.calc-rule[b-oin5utas48] {
    grid-column: 1 / -1;
    height: 1px;
    margin: 0.35rem 0;
    background: var(--border-strong);
}

.required-mark[b-oin5utas48] {
    color: var(--danger-text);
}
/* /Components/Pages/Utilities/CardArtMapping.razor.rz.scp.css */
.art-samples[b-38uy49nzwr] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}
/* /Components/Pages/Utilities/ClassifiedAdsViewer.razor.rz.scp.css */
.ads-bots[b-7ggo6c1okf] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-2);
}

.ads-assignment-bot[b-7ggo6c1okf] {
    margin-bottom: var(--space-1);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
}

.ads-assignment-cards[b-7ggo6c1okf] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.ads-card-tag[b-7ggo6c1okf] {
    display: inline-block;
    max-width: 150px;
    padding: 0.2rem 0.5rem;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/Utilities/DebugLinks.razor.rz.scp.css */
.dl-list[b-5m5pqt38rk] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* A link row: icon tile, title over description, and the "opens elsewhere" arrow. */
.dl-item[b-5m5pqt38rk] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: 0;
    padding: var(--space-3);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
}

.dl-item.is-link[b-5m5pqt38rk] {
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.dl-item.is-link:hover[b-5m5pqt38rk] {
    background: var(--bg-card-hover);
    border-color: var(--brand-light);
    color: var(--text);
}

.dl-item.is-link:focus-visible[b-5m5pqt38rk] {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
}

.dl-icon[b-5m5pqt38rk] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
    background: var(--brand-tint);
    color: var(--brand-light);
    font-size: 1.1rem;
}

.dl-text[b-5m5pqt38rk] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.dl-title[b-5m5pqt38rk] {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.dl-desc[b-5m5pqt38rk] {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.dl-lookup[b-5m5pqt38rk] {
    display: flex;
    gap: var(--space-2);
    max-width: 20rem;
    margin-top: var(--space-1);
}

.dl-lookup .ui-input[b-5m5pqt38rk] {
    flex: 1;
    min-width: 0;
}

.dl-arrow[b-5m5pqt38rk] {
    flex: none;
    align-self: center;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.dl-item.is-link:hover .dl-arrow[b-5m5pqt38rk],
.dl-item.is-link:focus-visible .dl-arrow[b-5m5pqt38rk] {
    opacity: 1;
}

/* Touch screens never hover, so the arrow would never show. */
@media (hover: none) {
    .dl-arrow[b-5m5pqt38rk] {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .dl-lookup[b-5m5pqt38rk] {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-item.is-link[b-5m5pqt38rk],
    .dl-arrow[b-5m5pqt38rk] {
        transition: none;
    }
}
/* /Components/Pages/Utilities/TaskScenarios.razor.rz.scp.css */
/* A switched-off scenario reads as off; its toggle keeps full strength, so it is not .is-dim. */
.ts-off td[b-ukc3w5yx39] {
    color: var(--text-muted);
}
/* /Components/Pages/Utilities/Utilities.razor.rz.scp.css */
/* The set codes field takes the room the row has left; the dev-mode name beside it does not need it. */
.ut-sets-input[b-3635pmqadu] {
    flex: 1 1 18rem;
    max-width: 26rem;
}
/* /Components/Shared/AvailableDatePicker.razor.rz.scp.css */
.adp[b-innwej5hkj] {
    position: relative;
}

.adp-backdrop[b-innwej5hkj] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-dropdown) - 1);
}

.adp-popup[b-innwej5hkj] {
    position: absolute;
    top: calc(100% + var(--space-1));
    right: 0;
    z-index: var(--z-dropdown);
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.adp-nav[b-innwej5hkj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.adp-nav button[b-innwej5hkj],
.adp-day[b-innwej5hkj] {
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
}

.adp-nav button[b-innwej5hkj] {
    width: 2rem;
    height: 2rem;
}

.adp-grid[b-innwej5hkj] {
    display: grid;
    grid-template-columns: repeat(7, 2rem);
    gap: 0.15rem;
    text-align: center;
}

.adp-weekday[b-innwej5hkj] {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.adp-day[b-innwej5hkj] {
    height: 2rem;
    font-size: var(--text-sm);
    font-variant-numeric: tabular-nums;
}

.adp-day:not(:disabled):hover[b-innwej5hkj],
.adp-nav button:not(:disabled):hover[b-innwej5hkj] {
    background: var(--bg-card-hover);
}

.adp-day:focus-visible[b-innwej5hkj],
.adp-nav button:focus-visible[b-innwej5hkj] {
    outline: 2px solid var(--brand-light);
    outline-offset: 1px;
}

.adp-day:disabled[b-innwej5hkj],
.adp-nav button:disabled[b-innwej5hkj] {
    color: var(--text-muted);
    opacity: 0.35;
    cursor: default;
}

/* Orange is a fill: dark text on it, never white. */
.adp-day.is-selected[b-innwej5hkj],
.adp-day.is-selected:hover[b-innwej5hkj] {
    background: var(--brand);
    color: var(--on-brand);
    font-weight: var(--font-semibold);
}
/* /Components/Shared/CardImage.razor.rz.scp.css */
.card-image-container[b-1i0mg8b06l] {
    display: inline-block;
    position: relative;
    overflow: visible;
}

.card-image[b-1i0mg8b06l] {
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Hovering a thumbnail lifts it above the table it sits in, at a readable size. */
.card-image:hover[b-1i0mg8b06l] {
    position: fixed;
    z-index: var(--z-toast);
    transform: scale(1.5);
    box-shadow: var(--shadow-xl);
}

.card-image.fallback-image[b-1i0mg8b06l] {
    opacity: 0.8;
    filter: grayscale(20%);
    object-fit: cover;
    object-position: center;
}

.card-image.fallback-image:hover[b-1i0mg8b06l] {
    opacity: 1;
    filter: grayscale(0%);
}

.card-image-placeholder[b-1i0mg8b06l] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 60px;
    background: var(--bg-sunken);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.5rem;
}

.card-image-placeholder.is-loading[b-1i0mg8b06l] {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}

/* Approximate MTG card ratio at each size */
.card-image-small[b-1i0mg8b06l] {
    width: 60px;
    height: auto;
}

.card-image-small .card-image[b-1i0mg8b06l],
.card-image-small .card-image-placeholder[b-1i0mg8b06l] {
    width: 60px;
    height: 84px;
}

.card-image-medium[b-1i0mg8b06l] {
    width: 120px;
    height: auto;
}

.card-image-medium .card-image[b-1i0mg8b06l],
.card-image-medium .card-image-placeholder[b-1i0mg8b06l] {
    width: 120px;
    height: 168px;
}

.card-image-large[b-1i0mg8b06l] {
    width: 200px;
    height: auto;
}

.card-image-large .card-image[b-1i0mg8b06l],
.card-image-large .card-image-placeholder[b-1i0mg8b06l] {
    width: 200px;
    height: 280px;
}
/* /Components/Shared/DropDownCardSelector.razor.rz.scp.css */
/* The box is the kit's .ui-search; this only adds the clear button and the suggestion list. */
.card-picker input[b-dd5gnsdm7k] {
    padding-right: 2rem;
}

.card-picker input[b-dd5gnsdm7k]::-webkit-search-cancel-button {
    display: none;
}

.card-picker-clear[b-dd5gnsdm7k] {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
}

.card-picker-clear:hover[b-dd5gnsdm7k] {
    background: var(--bg-card-hover);
    color: var(--text);
}

.card-picker-list[b-dd5gnsdm7k] {
    position: fixed;
    z-index: var(--z-toast);
    max-height: 300px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.card-picker-item[b-dd5gnsdm7k] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.card-picker-item:last-child[b-dd5gnsdm7k] {
    border-bottom: none;
}

.card-picker-item.is-active[b-dd5gnsdm7k] {
    background: var(--bg-card-hover);
    box-shadow: inset 3px 0 0 0 var(--brand);
}

.card-picker-name[b-dd5gnsdm7k] {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
}

.card-picker-ids[b-dd5gnsdm7k] {
    color: var(--text-muted);
    font-size: 0.75rem;
}
/* /Components/UI/QuickSearch.razor.rz.scp.css */
.app-search[b-f9p74r1bmz] {
    position: relative;
    padding: 0 var(--space-1);
}

.app-search-box[b-f9p74r1bmz] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    height: 2.5rem;
    padding: 0 var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.app-search-box:focus-within[b-f9p74r1bmz] {
    border-color: var(--brand-light);
}

/* The box draws the field; app.css styles every native input with !important, so the inner one opts out the same way. */
.app-search-box input[b-f9p74r1bmz],
.app-search-box input:focus[b-f9p74r1bmz] {
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    outline: none;
    box-shadow: none;
    color: var(--text) !important;
    font: inherit;
    font-size: 0.8125rem;
}

.app-search-box input[b-f9p74r1bmz]::placeholder {
    color: var(--text-muted);
}

.app-search-box kbd[b-f9p74r1bmz] {
    padding: 1px 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.6875rem;
}

.app-search-dismiss[b-f9p74r1bmz] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-dropdown) - 1);
}

.app-search-results[b-f9p74r1bmz] {
    position: absolute;
    top: calc(100% + 4px);
    right: var(--space-1);
    left: var(--space-1);
    z-index: var(--z-dropdown);
    max-height: 60vh;
    margin: 0;
    padding: var(--space-1);
    overflow-y: auto;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.app-search-results a[b-f9p74r1bmz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--text-sm);
    text-decoration: none;
}

.app-search-results a:hover[b-f9p74r1bmz],
.app-search-results a:focus-visible[b-f9p74r1bmz] {
    background: var(--bg-card-hover);
    outline: none;
}

.app-search-results span[b-f9p74r1bmz] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-search-results em[b-f9p74r1bmz] {
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-style: normal;
}

.app-search-results .bi[b-f9p74r1bmz] {
    color: var(--brand-light);
}
