/* _content/FinishLineApp/Components/Account/Shared/ExternalLoginPicker.razor.rz.scp.css */
.social-buttons[b-8z3leusyz3] {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-btn[b-8z3leusyz3] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /*     border: 1px solid #ccc;*/
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    /*transition: background-color 0.2s ease-in-out;*/
}

/*    .social-btn:hover {
        background-color: #f0f0f0;
    }*/

    .social-btn img[b-8z3leusyz3] {
        width: 16px;
        margin-right: 8px;
    }
/* _content/FinishLineApp/Components/Layout/CompLogout.razor.rz.scp.css */
.nav-auth[b-5tqzomqabn] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

[b-5tqzomqabn] button.e-btn.btn-bug {
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

    [b-5tqzomqabn] button.e-btn.btn-bug:hover {
        background: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

/* Login Button */
.btn-login[b-5tqzomqabn] {
    background: linear-gradient(135deg, #4a7cff 0%, #3d5eff 100%);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(74, 124, 255, 0.3);
    border: none;
    cursor: pointer;
}

    .btn-login:hover[b-5tqzomqabn] {
        background: linear-gradient(135deg, #5a8cff 0%, #4d6eff 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(74, 124, 255, 0.4);
    }


/* Responsive Design */
@media screen and (max-width: 1024px) {

}

@media screen and (max-width: 768px) {
/*    .btn-login {
        padding: 0.5rem 1.00rem;
        font-size: 0.9rem;
    }

    ::deep button.e-btn.btn-bug {
        padding: 0.5rem 1.00rem;
        font-size: 0.9rem;
    }*/
}

@media (max-width: 1400px) {
    .btn-login[b-5tqzomqabn] {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    [b-5tqzomqabn] button.e-btn.btn-bug {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {

    .btn-login[b-5tqzomqabn] {
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
    }

    [b-5tqzomqabn] button.e-btn.btn-bug {
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
    }
}
/* _content/FinishLineApp/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8wz5axmwcj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8wz5axmwcj] {
    flex: 1;
}

.sidebar[b-8wz5axmwcj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-8wz5axmwcj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8wz5axmwcj]  a, .top-row[b-8wz5axmwcj]  .btn-link {
        /*white-space: nowrap;*/
        margin-left: 1.5rem;
        text-decoration: none;
        text-align: center
    }

        .top-row[b-8wz5axmwcj]  a:hover, .top-row[b-8wz5axmwcj]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-8wz5axmwcj]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 999.98px) { /*Kedy zobrazit menu*/
    .top-row[b-8wz5axmwcj] {
        justify-content: space-between;
    }

        .top-row[b-8wz5axmwcj]  a, .top-row[b-8wz5axmwcj]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 1000px) { /*Kedy zobrazit menu*/
    .page[b-8wz5axmwcj] {
        flex-direction: row;
    }

    .sidebar[b-8wz5axmwcj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8wz5axmwcj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-8wz5axmwcj]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-8wz5axmwcj], article[b-8wz5axmwcj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8wz5axmwcj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-8wz5axmwcj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/FinishLineApp/Components/Layout/NavMenu.razor.rz.scp.css */
/* Navbar Styles */
.navbar2[b-6b8dy21tm0] {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1629 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container2[b-6b8dy21tm0] {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}



/* Logo Styles */
.logo[b-6b8dy21tm0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
}
    .logo a[b-6b8dy21tm0] {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        text-decoration: none;
    }

.logo-icon[b-6b8dy21tm0] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4a7cff 0%, #3d5eff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 124, 255, 0.3);
}

.logo-text[b-6b8dy21tm0] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logout-small[b-6b8dy21tm0] {
    display: none;
}

.logout-large[b-6b8dy21tm0] {
    display: flex;
}

/* Navigation Menu */
.nav-menu2[b-6b8dy21tm0] {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}


.nav-item2[b-6b8dy21tm0] {
    position: relative;
}

.nav-link2[b-6b8dy21tm0] {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

    .nav-link2:hover[b-6b8dy21tm0] {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.08);
    }

    /* Active link styling for Blazor NavLink */
    .nav-link2.active[b-6b8dy21tm0] {
        color: #fff;
        background-color: rgba(74, 124, 255, 0.2);
    }

    .nav-link2 i[b-6b8dy21tm0] {
        display: none;
    }

/* Dropdown Styles */
.dropdown2[b-6b8dy21tm0] {
    position: relative;
}

.dropdown2-toggle[b-6b8dy21tm0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown2-menu[b-6b8dy21tm0] {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: linear-gradient(135deg, #1e2542 0%, #151b33 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.dropdown2.active .dropdown2-menu[b-6b8dy21tm0] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown2-item[b-6b8dy21tm0] {
    color: #b8c5d6;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .dropdown2-item:hover[b-6b8dy21tm0] {
        background-color: rgba(74, 124, 255, 0.15);
        color: #fff;
    }

/* Auth Section */
.nav-auth[b-6b8dy21tm0] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.status-indicator[b-6b8dy21tm0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b95a8;
    font-size: 0.9rem;
}

.status-dot[b-6b8dy21tm0] {
    width: 8px;
    height: 8px;
    background-color: #6b7280;
    border-radius: 50%;
    animation: pulse-b-6b8dy21tm0 2s ease-in-out infinite;
}

    .status-dot.status-online[b-6b8dy21tm0] {
        background-color: #10b981;
    }

@keyframes pulse-b-6b8dy21tm0 {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}
/* Bug Button */




/* Login Button */
.btn-login[b-6b8dy21tm0] {
    background: linear-gradient(135deg, #4a7cff 0%, #3d5eff 100%);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(74, 124, 255, 0.3);
    border: none;
    cursor: pointer;
}

    .btn-login:hover[b-6b8dy21tm0] {
        background: linear-gradient(135deg, #5a8cff 0%, #4d6eff 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(74, 124, 255, 0.4);
    }

/* Hamburger Menu */
.hamburger[b-6b8dy21tm0] {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

    .hamburger .bar[b-6b8dy21tm0] {
        width: 28px;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

.status-indicator[b-6b8dy21tm0] {
    display: none;
}

@media screen and (max-width: 1400px) {

    .nav-link2[b-6b8dy21tm0] {
        padding: 0.6rem 1.0rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-menu2[b-6b8dy21tm0] {
        gap: 0.25rem;
    }

    .nav-link2[b-6b8dy21tm0] {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .logo-text[b-6b8dy21tm0] {
        font-size: 0.9rem;
    }

    .logo-icon[b-6b8dy21tm0] {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .logo-text[b-6b8dy21tm0] {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .status-indicator[b-6b8dy21tm0] {
        display: flex;
        order: 2;
    }

    .hamburger[b-6b8dy21tm0] {
        display: flex;
        order: 3;
    }

    .logo[b-6b8dy21tm0] {
        order: 1;
        flex: 1;
    }


    .nav-menu2[b-6b8dy21tm0] {
        order: 3;
    }

    .nav-auth[b-6b8dy21tm0] {
        order: 4;
        gap: 0.75rem;
    }

    .culture-switcher[b-6b8dy21tm0] {
        order: 5;
    }

    .nav-container2[b-6b8dy21tm0] {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu2[b-6b8dy21tm0] {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a1f3a 0%, #0f1629 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

        .nav-menu2.active[b-6b8dy21tm0] {
            left: 0;
        }

    .nav-item2[b-6b8dy21tm0] {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-link2[b-6b8dy21tm0] {
        display: block;
        width: 100%;
        padding: 0.25rem;
    }

        .nav-link2 i[b-6b8dy21tm0] {
            display: inline-block;
        }

    .dropdown2-menu[b-6b8dy21tm0] {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown2-item[b-6b8dy21tm0] {
        padding: 0.25rem 1.25rem;
    }

    .dropdown2.active .dropdown2-menu[b-6b8dy21tm0] {
        max-height: 400px;
    }

    .btn-login[b-6b8dy21tm0] {
        padding: 0.5rem 1.00rem;
        font-size: 0.9rem;
    }

    .status-indicator[b-6b8dy21tm0] {
        display: flex;
    }

    .logout-small[b-6b8dy21tm0] {
        display: flex;
    }

    .logout-large[b-6b8dy21tm0] {
        display: none;
    }

}

@media (min-width: 1400px) {
    .nav-link2 i[b-6b8dy21tm0] {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {


    .nav-link2 i[b-6b8dy21tm0] {
        display: inline-block;
    }

    .nav-container2[b-6b8dy21tm0] {
        padding: 0.75rem;
    }

    .logo-text[b-6b8dy21tm0] {
        font-size: 1.1rem;
    }

    .logo-icon[b-6b8dy21tm0] {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .btn-login[b-6b8dy21tm0] {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }



    .status-indicator[b-6b8dy21tm0] {
        display: flex;
    }
}
/* _content/FinishLineApp/Components/Pages/PageCheckData.razor.rz.scp.css */
/* Same layout as PageEvents / PageRunners: title, blue framed toolbar (tabs like the calendar), list. */
.page-title[b-5fh43cmney] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

.toolbar-wrap[b-5fh43cmney] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-5fh43cmney] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
    container-type: inline-size;
}

/* ---- Tabs (as in the calendar): underline + count in an oval ---- */
.tabs[b-5fh43cmney] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tab[b-5fh43cmney] {
    flex: none;
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--fl-muted, #4A5270);
}

.tab--on[b-5fh43cmney] {
    color: var(--fl-link, #2B45D4);
    border-bottom-color: var(--fl-primary, #3B5BFF);
}

.tab__count[b-5fh43cmney] {
    background: #EEF0F7;
    color: var(--fl-ink, #12182B);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: .75rem;
}

.tab:focus-visible[b-5fh43cmney], .cpill:focus-visible[b-5fh43cmney] {
    outline: 3px solid var(--fl-primary, #3B5BFF);
    outline-offset: 2px;
}

/* ---- Single checks: wrapping pills under the tabs ---- */
.checks[b-5fh43cmney] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--fl-line, #DDE1EE);
}

.cpill[b-5fh43cmney] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 999px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-muted, #4A5270);
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
}

.cpill--on[b-5fh43cmney] {
    border-color: var(--fl-primary, #3B5BFF);
    background: #EEF1FF;
    color: var(--fl-link, #2B45D4);
}

.cpill:disabled[b-5fh43cmney] {
    opacity: .45;
    cursor: default;
}

/* Narrow toolbar (mobile): icon + count, smaller text UNDER the icon */
@container (max-width: 760px) {
    .tabs[b-5fh43cmney] {
        gap: 2px;
    }

    .tab[b-5fh43cmney] {
        flex: 1 1 0;
        min-width: 0;
        min-height: 60px;
        padding: 6px 4px;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "icon count" "text text";
        justify-content: center;
        align-content: center;
        justify-items: center;
        align-items: center;
        gap: 2px 6px;
    }

        .tab > i[b-5fh43cmney] {
            grid-area: icon;
            font-size: 1.1rem;
        }

    .tab__count[b-5fh43cmney] {
        grid-area: count;
    }

    .tab__text[b-5fh43cmney] {
        grid-area: text;
        font-size: .75rem;
        line-height: 1.15;
        text-align: center;
    }
}

.search[b-5fh43cmney] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-5fh43cmney] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-5fh43cmney] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.state[b-5fh43cmney] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-5fh43cmney] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

/* ---- List: date | event + race / city, country, source | failed checks ---- */
.list[b-5fh43cmney] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    container-type: inline-size;
}

/* left stripe like the other lists: grey = OK, red = error */
.crow[b-5fh43cmney] {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 40%) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 12px 8px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
}

    .crow[b-5fh43cmney]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

.crow--error[b-5fh43cmney] {
    border-color: #F7B9B3;
}

    .crow--error[b-5fh43cmney]::before {
        background: #D92D20;
    }

/* only warnings: yellow stripe */
.crow--warn[b-5fh43cmney] {
    border-color: #F2D27A;
}

    .crow--warn[b-5fh43cmney]::before {
        background: #E0A800;
    }

/* OK: green stripe */
.crow--ok[b-5fh43cmney]::before {
    background: #12B76A;
}

.cdate[b-5fh43cmney] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

    .cdate small[b-5fh43cmney] {
        color: var(--fl-muted, #5B6478);
    }

.cmain[b-5fh43cmney] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cline[b-5fh43cmney] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.cevent[b-5fh43cmney] {
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

    .cevent:hover[b-5fh43cmney], .cline a.badge:hover[b-5fh43cmney] {
        text-decoration: underline;
    }

.csub[b-5fh43cmney] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    font-size: .8rem;
    color: var(--fl-muted, #5B6478);
}

    .csub i[b-5fh43cmney] {
        margin-right: 2px;
    }

/* the value that failed a check */
.is-bad[b-5fh43cmney], .csub .is-bad[b-5fh43cmney] {
    color: #B42318;
    font-weight: 700;
}

.badge[b-5fh43cmney] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #E6EAF5;
    color: #12182B;
    border: 1px solid #AEB6D0;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
}

.badge--muted[b-5fh43cmney] {
    background: none;
    color: var(--fl-muted, #5B6478);
}

.badge--error[b-5fh43cmney] {
    background: #FEECEB;
    border-color: #F7B9B3;
    color: #B42318;
}

.badge--warn[b-5fh43cmney] {
    background: #FFF6D6;
    border-color: #F2D27A;
    color: #6B4E00;
}

.cissues[b-5fh43cmney] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
}

.issue[b-5fh43cmney] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #FEECEB;
    border: 1px solid #F7B9B3;
    color: #B42318;
    font-size: .75rem;
    font-weight: 700;
}

.issue--warn[b-5fh43cmney] {
    background: #FFF6D6;
    border-color: #F2D27A;
    color: #6B4E00;
}

.is-warn[b-5fh43cmney] {
    color: #8A6100;
}

.cpill--warn:not(.cpill--on)[b-5fh43cmney] {
    border-color: #F2D27A;
}

.ok[b-5fh43cmney] {
    color: #067647;
    font-size: .8rem;
    font-weight: 700;
}

/* edit button (opens the detail dialog) */
.cedit[b-5fh43cmney] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    cursor: pointer;
}

    .cedit:hover[b-5fh43cmney] {
        background: #EEF1FF;
    }

    .cedit:focus-visible[b-5fh43cmney] {
        outline: 3px solid var(--fl-primary, #3B5BFF);
        outline-offset: 2px;
    }

/* narrow: the failed checks go under the event, the edit button stays on the right */
@container (max-width: 640px) {
    .crow[b-5fh43cmney] {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        padding-left: 16px;
    }

    .cedit[b-5fh43cmney] {
        grid-column: 3;
        grid-row: 1;
    }

    .cissues[b-5fh43cmney] {
        grid-column: 2 / span 2;
        justify-content: flex-start;
    }
}

.more[b-5fh43cmney] {
    display: block;
    margin: 12px auto 4px;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}
/* _content/FinishLineApp/Components/Pages/PageCompare.razor.rz.scp.css */
/* Compare page: same look as the calendar and the series page. --c = colour of the runner. */
.cmp-title[b-emfweru5c8] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
}

.toolbar[b-emfweru5c8] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
}

.runners[b-emfweru5c8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rchip[b-emfweru5c8] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 4px 0 18px;
    overflow: hidden;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
}

    .rchip[b-emfweru5c8]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: var(--c, #B8BFD0);
    }

.rchip__name[b-emfweru5c8] {
    font-weight: 700;
}

.rchip--main[b-emfweru5c8] {
    border-color: var(--c, #3B5BFF);
    box-shadow: 0 0 0 1px var(--c, #3B5BFF);
}

.rchip__tag[b-emfweru5c8] {
    padding: 1px 8px;
    border-radius: 999px;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 700;
    margin-right: 6px;
}

.diff--faster[b-emfweru5c8] {
    color: #B42318;
}

.diff--slower[b-emfweru5c8] {
    color: #067647;
}

.rchip__x[b-emfweru5c8] {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    color: var(--fl-muted, #5B6478);
}

    .rchip__x:hover[b-emfweru5c8] {
        background: rgba(0, 0, 0, .06);
    }

.add[b-emfweru5c8] {
    min-width: 0;
    flex: 1 1 220px;
    max-width: 360px;
}

.toolbar[b-emfweru5c8] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .toolbar[b-emfweru5c8] {
        padding: 12px;
    }

    .add[b-emfweru5c8] {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.tabs[b-emfweru5c8] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tab[b-emfweru5c8] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
}

.tab--on[b-emfweru5c8] {
    border-bottom-color: var(--fl-primary, #3B5BFF);
    color: var(--fl-primary, #3B5BFF);
}

.tab__count[b-emfweru5c8] {
    padding: 1px 8px;
    border-radius: 999px;
    background: #E6EAF5;
    color: #12182B;
    font-size: .8rem;
}

.state[b-emfweru5c8] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-emfweru5c8] {
    margin: 12px 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

/* summary cards: one per runner (races together, wins) */
.sums[b-emfweru5c8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.sum[b-emfweru5c8] {
    position: relative;
    overflow: hidden;
    padding: 12px 14px 12px 20px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    background: var(--fl-surface, #FFFFFF);
}

    .sum[b-emfweru5c8]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: var(--c, #B8BFD0);
    }

.sum__name[b-emfweru5c8] {
    font-weight: 700;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}

.sum__nums[b-emfweru5c8] {
    display: flex;
    gap: 18px;
}

    .sum__nums strong[b-emfweru5c8] {
        font-size: 1.25rem;
        font-variant-numeric: tabular-nums;
    }

    .sum__nums small[b-emfweru5c8] {
        color: var(--fl-muted, #5B6478);
        margin-left: 2px;
    }

.list[b-emfweru5c8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.more[b-emfweru5c8] {
    display: block;
    margin: 16px auto;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}

.sec[b-emfweru5c8] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 18px 0 10px;
}
/* _content/FinishLineApp/Components/Pages/PageEvents.razor.rz.scp.css */
/* Same layout as PageRoles / PageTickets / PageSeriesResults: title, blue framed toolbar, list.
   Tabs (Mine / All, distance) look like the filter tabs of the calendar (CompCalendar.razor.css). */
.page-title[b-vdwydkghzq] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

.toolbar-wrap[b-vdwydkghzq] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-vdwydkghzq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
    container-type: inline-size; /* the tab breakpoints depend on the toolbar width (as in the calendar) */
}

.row1[b-vdwydkghzq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

/* ---- Tabs (as in the calendar): underline + count in an oval ---- */
.tabs[b-vdwydkghzq] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

/* second row of tabs (distance): separated by a line like the calendar filter */
.tabs--line[b-vdwydkghzq] {
    padding-top: 4px;
    border-top: 1px solid var(--fl-line, #DDE1EE);
}

.tab[b-vdwydkghzq] {
    flex: none;
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--fl-muted, #4A5270);
}

.tab--on[b-vdwydkghzq] {
    color: var(--fl-link, #2B45D4);
    border-bottom-color: var(--fl-primary, #3B5BFF);
}

/* distance without any race */
.tab:disabled[b-vdwydkghzq] {
    opacity: .4;
    cursor: not-allowed;
}

.tab__count[b-vdwydkghzq] {
    background: #EEF0F7;
    color: var(--fl-ink, #12182B);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: .75rem;
}

.tab--on .tab__count[b-vdwydkghzq] {
    background: #E6EAF5;
}

/* distance label in a small frame (instead of icon + text); takes the colour of the tab */
.km[b-vdwydkghzq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 8px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
}

.tab:focus-visible[b-vdwydkghzq] {
    outline: 3px solid var(--fl-primary, #3B5BFF);
    outline-offset: 2px;
}

/* Narrow toolbar (mobile): like the calendar - icon + count, smaller text UNDER the icon,
   the tabs share the width of the row */
@container (max-width: 760px) {
    .row1[b-vdwydkghzq] {
        flex-wrap: nowrap;
        gap: 8px;
    }

        .row1 .tabs[b-vdwydkghzq] {
            flex: 1 1 auto;
            min-width: 0;
        }

    .tabs[b-vdwydkghzq] {
        gap: 2px;
    }

    .tab[b-vdwydkghzq] {
        flex: 1 1 0;
        min-width: 0;
        min-height: 60px;
        padding: 6px 4px;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "icon count" "text text";
        justify-content: center;
        align-content: center;
        justify-items: center;
        align-items: center;
        gap: 2px 6px;
    }

        .tab > i[b-vdwydkghzq] {
            grid-area: icon;
            font-size: 1.1rem;
        }

    .tab__count[b-vdwydkghzq] {
        grid-area: count;
    }

    .tab__text[b-vdwydkghzq] {
        grid-area: text;
        font-size: .75rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }

    /* distance tabs: the frame on top, the count below */
    .tabs--km .tab[b-vdwydkghzq] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .tabs--km .km[b-vdwydkghzq] {
        font-size: .8rem;
        padding: 0 6px;
    }

    /* New: icon only */
    .gbtn--new span[b-vdwydkghzq] {
        display: none;
    }

    .gbtn--new[b-vdwydkghzq] {
        width: 48px;
        padding: 0;
        justify-content: center;
    }
}

.search[b-vdwydkghzq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-vdwydkghzq] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-vdwydkghzq] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.gbtn[b-vdwydkghzq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.gbtn--primary[b-vdwydkghzq] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

.state[b-vdwydkghzq] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-vdwydkghzq] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

.list[b-vdwydkghzq] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    container-type: inline-size;
}

/* year heading - same as the sections of PageCompare */
.sec[b-vdwydkghzq] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 18px 0 10px;
}

.sec__count[b-vdwydkghzq] {
    background: #EEF0F7;
    color: var(--fl-ink, #12182B);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: .75rem;
    font-weight: 700;
}

/* ---- One race ----
   date (day.month / year) | event + chips (race, PB) | city (+ country) | my time | my pace
   Left stripe like the other lists: grey, yellow = I ran it.
   Narrower rows hide: pace first, then city. */
.erow[b-vdwydkghzq] {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1fr) minmax(80px, auto) 64px;     /* time grows for the "PB + time" frame */
    grid-template-areas: "date name city time pace";
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 6px 12px 6px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    color: inherit;
    text-decoration: none;
}

    .erow[b-vdwydkghzq]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

    .erow:hover[b-vdwydkghzq] {
        border-color: var(--fl-primary, #3B5BFF);
        background: var(--fl-surface-2, #F7F8FC);
    }

/* my race: whole row yellow, dark yellow strip (same as PageRunners) */
.erow--mine[b-vdwydkghzq] {
    background: #FFF6D6;
    border-color: #F2D27A;
}

    .erow--mine[b-vdwydkghzq]::before {
        background: #E0A800;
    }

    .erow--mine:hover[b-vdwydkghzq] {
        background: #FFEFC2;
    }

.list--norunner .erow[b-vdwydkghzq] {
    grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "date name city";
}

.edate[b-vdwydkghzq] { grid-area: date; }
.ename[b-vdwydkghzq] { grid-area: name; }
.ecity[b-vdwydkghzq] { grid-area: city; }
.etime[b-vdwydkghzq] { grid-area: time; }
.epace[b-vdwydkghzq] { grid-area: pace; }

/* day.month big, year small below (like the calendar day) */
.edate[b-vdwydkghzq] {
    display: flex;
    flex-direction: column;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.1;
}

    .edate strong[b-vdwydkghzq] {
        font-weight: 800;
    }

    .edate small[b-vdwydkghzq] {
        color: var(--fl-muted, #5B6478);
        font-weight: 700;
        font-size: .75rem;
    }

.ename[b-vdwydkghzq] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

    .ename b[b-vdwydkghzq] {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.chips[b-vdwydkghzq] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}

    .chips:empty[b-vdwydkghzq] {
        display: none;
    }

/* race name as a chip - same as CompCalendarEntry */
.badge[b-vdwydkghzq] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #E6EAF5;
    color: #12182B;
    border: 1px solid #AEB6D0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
}

/* my best times (PB, 2., 3.): "label + time" in a white frame, readable on the yellow row (same as the PB in Series) */
.time-best[b-vdwydkghzq] {
    display: inline-block;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
}

    .time-best small[b-vdwydkghzq] {
        color: #6B4E00;
        font-weight: 700;
        margin-right: 4px;
    }

.ecity[b-vdwydkghzq] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fl-muted, #5B6478);
}

/* country code of a race abroad */
.cc[b-vdwydkghzq] {
    margin-left: 4px;
    padding: 0 5px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
}

.etime[b-vdwydkghzq], .epace[b-vdwydkghzq] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
}

.etime[b-vdwydkghzq] {
    font-weight: 700;
}

.epace[b-vdwydkghzq] {
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

/* 1st step: the pace goes under the time (one column, two lines) */
@container (max-width: 600px) {
    .erow[b-vdwydkghzq] {
        grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1fr) minmax(76px, auto);
        grid-template-areas:
            "date name city time"
            "date name city pace";
        row-gap: 0;
    }

    .etime[b-vdwydkghzq] {
        align-self: end;
    }

    .epace[b-vdwydkghzq] {
        align-self: start;
        font-size: .8rem;
    }
}

/* 2nd step: no city (without a runner the city stays); time + pace stay in two lines */
@container (max-width: 440px) {
    .erow[b-vdwydkghzq] {
        grid-template-columns: 48px minmax(0, 1fr) minmax(72px, auto);
        grid-template-areas:
            "date name time"
            "date name pace";
        padding-left: 16px;
    }

    .ecity[b-vdwydkghzq] {
        display: none;
    }

    .list--norunner .erow[b-vdwydkghzq] {
        grid-template-columns: 48px minmax(0, 1fr) minmax(0, 96px);
        grid-template-areas: "date name city";
    }

    .list--norunner .ecity[b-vdwydkghzq] {
        display: block;
    }
}

.more[b-vdwydkghzq] {
    display: block;
    margin: 12px auto 4px;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}
/* _content/FinishLineApp/Components/Pages/PageRoles.razor.rz.scp.css */
/* Same look as PageSeriesResults / CompCalendar: title, framed toolbar, list of expandable rows. */
.page-title[b-xwyh56vh25] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

.toolbar-wrap[b-xwyh56vh25] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-xwyh56vh25] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
}

/* filter tabs (like the calendar): icon + text + count */
.tabs[b-xwyh56vh25] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tab[b-xwyh56vh25] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
}

.tab--on[b-xwyh56vh25] {
    border-bottom-color: var(--fl-primary, #3B5BFF);
    color: var(--fl-primary, #3B5BFF);
}

.tab__count[b-xwyh56vh25] {
    min-width: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}

.tab--on .tab__count[b-xwyh56vh25] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

@media (max-width: 420px) {
    .tab__text[b-xwyh56vh25] {
        font-size: .85rem;
    }

    .tab[b-xwyh56vh25] {
        padding: 0 8px;
        gap: 6px;
    }
}

.search[b-xwyh56vh25] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-xwyh56vh25] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-xwyh56vh25] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.state[b-xwyh56vh25] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-xwyh56vh25] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

.list[b-xwyh56vh25] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* one user; left stripe = role (SuperUser yellow, Admin blue, others grey) */
.entry[b-xwyh56vh25] {
    position: relative;
    overflow: hidden;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
}

    .entry[b-xwyh56vh25]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

.entry--super[b-xwyh56vh25]::before {
    background: #FEDC74;
}

.entry--admin[b-xwyh56vh25]::before {
    background: #A5D8FF;
}

.entry--norunner[b-xwyh56vh25]::before {
    background: #F04438;
}

.entry--open[b-xwyh56vh25] {
    border-color: var(--fl-primary, #3B5BFF);
}

.ghead[b-xwyh56vh25] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 120px 28px;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 8px 8px 20px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.gname[b-xwyh56vh25] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mail[b-xwyh56vh25] {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runner[b-xwyh56vh25] {
    color: var(--fl-muted, #5B6478);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gact[b-xwyh56vh25] {
    color: var(--fl-muted, #5B6478);
    font-variant-numeric: tabular-nums;
    text-align: right;
    font-size: .9rem;
    white-space: nowrap;
}

.pill[b-xwyh56vh25] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pill--blue[b-xwyh56vh25] { background: #E6EDFF; color: #2B45D4; border-color: #B9C8FF; }
.pill--yellow[b-xwyh56vh25] { background: #FFF6DB; color: #8A6100; border-color: #F5D98F; }

.chev[b-xwyh56vh25] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
    justify-self: center;
}

.entry--open .chev[b-xwyh56vh25] {
    transform: rotate(45deg);
}

.gdetail[b-xwyh56vh25] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 12px 20px;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

/* blocks like in the result / ticket detail */
.blocks[b-xwyh56vh25] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 320px));
    justify-content: start;
    gap: 10px;
}

.blk[b-xwyh56vh25] {
    padding: 10px 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface-2, #F7F8FC);
    min-width: 0;
}

    .blk h4[b-xwyh56vh25] {
        margin: 0 0 6px;
        font-size: .75rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--fl-muted, #5B6478);
    }

.kv[b-xwyh56vh25] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0;
}

    .kv dt[b-xwyh56vh25] {
        color: var(--fl-muted, #5B6478);
        font-size: .85rem;
    }

    .kv dd[b-xwyh56vh25] {
        margin: 0;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        text-align: right;
        min-width: 0;
    }

.wrap[b-xwyh56vh25] {
    overflow-wrap: anywhere;
}

.glinks[b-xwyh56vh25] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}

.gbtn[b-xwyh56vh25] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.gbtn--primary[b-xwyh56vh25] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

    .gbtn:disabled[b-xwyh56vh25] {
        opacity: .5;
        cursor: default;
    }

/* runner picker (user without runner): combo + Assign button on one line, wraps on narrow screens */
.assign[b-xwyh56vh25] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

    .assign[b-xwyh56vh25]  .e-input-group {
        flex: 1 1 280px;
        max-width: 480px;
        min-height: 44px;
    }

.gbtn--on[b-xwyh56vh25] {
    background: #E6F2FF;
}

.gbtn--danger[b-xwyh56vh25] {
    border-color: #F04438;
    color: #B42318;
}

/* narrow: the activity date is shown in the detail only, badges stay */
@media (max-width: 480px) {
    .ghead[b-xwyh56vh25] {
        grid-template-columns: minmax(0, 1fr) auto 28px;
    }

    .gact[b-xwyh56vh25] {
        display: none;
    }
}
/* _content/FinishLineApp/Components/Pages/PageRunners.razor.rz.scp.css */
/* Same layout as PageEvents / PageRoles / PageTickets: title, blue framed toolbar (tabs like the calendar), list. */
.page-title[b-tk5kda47rf] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

.toolbar-wrap[b-tk5kda47rf] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-tk5kda47rf] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
    container-type: inline-size; /* the tab breakpoints depend on the toolbar width (as in the calendar) */
}

.row1[b-tk5kda47rf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

/* ---- Tabs (as in the calendar): underline + count in an oval ---- */
.tabs[b-tk5kda47rf] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tabs--line[b-tk5kda47rf] {
    padding-top: 4px;
    border-top: 1px solid var(--fl-line, #DDE1EE);
}

.tab[b-tk5kda47rf] {
    flex: none;
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--fl-muted, #4A5270);
}

.tab--on[b-tk5kda47rf] {
    color: var(--fl-link, #2B45D4);
    border-bottom-color: var(--fl-primary, #3B5BFF);
}

.tab__count[b-tk5kda47rf] {
    background: #EEF0F7;
    color: var(--fl-ink, #12182B);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: .75rem;
}

.tab--on .tab__count[b-tk5kda47rf] {
    background: #E6EAF5;
}

.tab:focus-visible[b-tk5kda47rf] {
    outline: 3px solid var(--fl-primary, #3B5BFF);
    outline-offset: 2px;
}

/* sort label in a small frame (instead of icon + text); takes the colour of the tab */
.km[b-tk5kda47rf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 8px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Narrow toolbar (mobile): like the calendar - icon + count, smaller text UNDER the icon */
@container (max-width: 760px) {
    .row1[b-tk5kda47rf] {
        flex-wrap: nowrap;
        gap: 8px;
    }

        .row1 .tabs[b-tk5kda47rf] {
            flex: 1 1 auto;
            min-width: 0;
        }

    .tabs[b-tk5kda47rf] {
        gap: 2px;
    }

    .tab[b-tk5kda47rf] {
        flex: 1 1 0;
        min-width: 0;
        min-height: 60px;
        padding: 6px 4px;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "icon count" "text text";
        justify-content: center;
        align-content: center;
        justify-items: center;
        align-items: center;
        gap: 2px 6px;
    }

        .tab > i[b-tk5kda47rf] {
            grid-area: icon;
            font-size: 1.1rem;
        }

    .tab__count[b-tk5kda47rf] {
        grid-area: count;
    }

    .tab__text[b-tk5kda47rf] {
        grid-area: text;
        font-size: .75rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }

    /* sort tabs: the frame on top, the count below */
    .tabs--km .tab[b-tk5kda47rf] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .tabs--km .km[b-tk5kda47rf] {
        font-size: .8rem;
        padding: 0 6px;
    }

    .gbtn--new span[b-tk5kda47rf] {
        display: none;
    }

    .gbtn--new[b-tk5kda47rf] {
        width: 48px;
        padding: 0;
        justify-content: center;
    }
}

.search[b-tk5kda47rf] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-tk5kda47rf] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-tk5kda47rf] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.gbtn[b-tk5kda47rf] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.gbtn--primary[b-tk5kda47rf] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

.state[b-tk5kda47rf] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-tk5kda47rf] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

/* ---- List ----
   position | name + chips | 10 km | 21 km | 42 km  (the times always in this order) */
.list[b-tk5kda47rf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    container-type: inline-size;
}

.rhead[b-tk5kda47rf], .rrow[b-tk5kda47rf] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 240px;
    align-items: center;
    gap: 10px;
}

.rhead[b-tk5kda47rf] {
    grid-template-columns: 36px minmax(0, 1fr) 80px 80px 80px;
    padding: 0 12px 2px 20px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--fl-muted, #5B6478);
}

    .rhead span:nth-child(n+3)[b-tk5kda47rf] {
        text-align: right;
    }

    .rhead .sel[b-tk5kda47rf] {
        color: var(--fl-link, #2B45D4);
    }

/* left stripe like the other lists: grey, yellow = me, blue = favourite */
.rrow[b-tk5kda47rf] {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    padding: 6px 12px 6px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
}

    .rrow[b-tk5kda47rf]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

/* A-Z: no position column, the name starts on the left */
.list--az .rrow[b-tk5kda47rf] {
    grid-template-columns: minmax(0, 1fr) 240px;
}

.list--az .rhead[b-tk5kda47rf] {
    grid-template-columns: minmax(0, 1fr) 80px 80px 80px;
}

    .list--az .rhead span:nth-child(n+2)[b-tk5kda47rf] {
        text-align: right;
    }

/* my runner: the whole row light yellow, the left stripe dark yellow */
.rrow--mine[b-tk5kda47rf] {
    background: #FFF6D6;
    border-color: #F2D27A;
}

    .rrow--mine[b-tk5kda47rf]::before {
        background: #E0A800;
    }

/* favourite: the whole row light blue, the left stripe dark blue */
.rrow--fav[b-tk5kda47rf] {
    background: #EAF4FF;
    border-color: #A9CFF5;
}

    .rrow--fav[b-tk5kda47rf]::before {
        background: #1C6FD1;
    }

.rpos[b-tk5kda47rf] {
    font-weight: 700;
    color: var(--fl-muted, #5B6478);
    font-variant-numeric: tabular-nums;
}

.rname[b-tk5kda47rf] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

    .rname a[b-tk5kda47rf] {
        max-width: 100%;
        color: inherit;
        text-decoration: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .rname a:hover[b-tk5kda47rf] {
            text-decoration: underline;
        }

/* first line: name + chips; the chips wrap under the name only when there is no room */
.rline[b-tk5kda47rf] {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.chips[b-tk5kda47rf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* second line under the name: number of runs + last run */
.rsub[b-tk5kda47rf] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: .8rem;
    color: var(--fl-muted, #5B6478);
}

    .rsub i[b-tk5kda47rf] {
        margin-right: 2px;
    }

.badge[b-tk5kda47rf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #E6EAF5;
    color: #12182B;
    border: 1px solid #AEB6D0;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

/* birth year (Admin / Superuser): lighter than the category */
.badge--muted[b-tk5kda47rf] {
    background: none;
    color: var(--fl-muted, #5B6478);
}

.badge--error[b-tk5kda47rf] {
    background: #FEECEB;
    border-color: #F7B9B3;
    color: #B42318;
}

/* the three times: wide = three columns, narrow = three small lines (same order) */
.rtimes[b-tk5kda47rf] {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    justify-content: end;
    gap: 0;
}

.rt[b-tk5kda47rf] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--fl-muted, #5B6478);
}

    .rt a[b-tk5kda47rf] {
        color: inherit;
        text-decoration: none;
    }

        .rt a:hover[b-tk5kda47rf] {
            text-decoration: underline;
        }

.rt--sel[b-tk5kda47rf] {
    color: var(--fl-link, #2B45D4);
    font-weight: 800;
}

.rt__label[b-tk5kda47rf] {
    display: none;
}

.rt__none[b-tk5kda47rf], .rt__loading[b-tk5kda47rf] {
    color: var(--fl-muted, #5B6478);
    font-weight: 400;
}

/* narrow: no column titles; the times as a small table - distances under each other in one column,
   times under each other in the next one (always 10 / 21 / 42 km) */
@container (max-width: 560px) {
    .rhead[b-tk5kda47rf] {
        display: none;
    }

    /* fixed width of the times block (not auto) -> the labels and the times line up in every row */
    .rrow[b-tk5kda47rf] {
        grid-template-columns: 30px minmax(0, 1fr) 118px;
        padding-left: 16px;
        align-items: center;
    }

    .list--az .rrow[b-tk5kda47rf] {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    .rtimes[b-tk5kda47rf] {
        display: grid;
        grid-template-columns: 44px 64px;
        justify-content: end;
        align-items: baseline;
        gap: 2px 10px;
    }

    /* label and time become the two cells of a table row */
    .rt[b-tk5kda47rf] {
        display: contents;
        font-size: .9rem;
    }

    .rt__label[b-tk5kda47rf] {
        display: block;
        text-align: left;
        font-size: .75rem;
        font-weight: 700;
        color: var(--fl-muted, #5B6478);
    }

    .rt > a[b-tk5kda47rf], .rt__none[b-tk5kda47rf], .rt__loading[b-tk5kda47rf] {
        text-align: right;
    }

    .rt--sel .rt__label[b-tk5kda47rf] {
        color: var(--fl-link, #2B45D4);
    }

    .rt--sel > a[b-tk5kda47rf] {
        font-size: 1rem;
    }
}

.more[b-tk5kda47rf] {
    display: block;
    margin: 12px auto 4px;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}
/* _content/FinishLineApp/Components/Pages/PageSeriesResults.razor.rz.scp.css */
/* Same toolbar look as the calendar page. --fl-sticky-top = height of the fixed site header. */
.toolbar-wrap[b-r5yryszfyo] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}
.toolbar[b-r5yryszfyo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
}

.row1[b-r5yryszfyo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tabs[b-r5yryszfyo] {
    display: flex;
    gap: 4px;
}

.tab[b-r5yryszfyo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
}

.tab--on[b-r5yryszfyo] {
    border-bottom-color: var(--fl-primary, #3B5BFF);
    color: var(--fl-primary, #3B5BFF);
}

@media (max-width: 420px) {
    .tab__text[b-r5yryszfyo] {
        font-size: .85rem;
    }

    .tab[b-r5yryszfyo] {
        padding: 0 8px;
        gap: 6px;
    }
}

/* years: one horizontally scrollable row (the newest first) */
.years[b-r5yryszfyo] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
}

.yr[b-r5yryszfyo] {
    flex: 0 0 auto;
    min-width: 64px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: inherit;
}

.yr--on[b-r5yryszfyo] {
    background: var(--fl-primary, #3B5BFF);
    border-color: var(--fl-primary, #3B5BFF);
    color: #fff;
}

.search[b-r5yryszfyo] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-r5yryszfyo] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-r5yryszfyo] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.state[b-r5yryszfyo] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-r5yryszfyo] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

.list[b-r5yryszfyo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.more[b-r5yryszfyo] {
    display: block;
    margin: 16px auto;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}

/* runner group */
.entry[b-r5yryszfyo] {
    position: relative;
    overflow: hidden;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
}

    .entry[b-r5yryszfyo]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

/* runner group of me / a favourite runner: whole row yellow / blue, dark strip (same as PageRunners);
   the expanded detail stays white. The editions (years) are not coloured. */
.entry--mine[b-r5yryszfyo] {
    background: #FFF6D6;
    border-color: #F2D27A;
}

    .entry--mine[b-r5yryszfyo]::before {
        background: #E0A800;
    }

.entry--fav[b-r5yryszfyo] {
    background: #EAF4FF;
    border-color: #A9CFF5;
}

    .entry--fav[b-r5yryszfyo]::before {
        background: #1C6FD1;
    }

/* edition (year) with me / a favourite runner: the left strip only */
.entry--strip-mine[b-r5yryszfyo]::before {
    background: #E0A800;
}

.entry--strip-fav[b-r5yryszfyo]::before {
    background: #1C6FD1;
}

.entry--mine .gdetail[b-r5yryszfyo], .entry--fav .gdetail[b-r5yryszfyo] {
    background: var(--fl-surface, #FFFFFF);
}

.entry--open[b-r5yryszfyo] {
    border-color: var(--fl-primary, #3B5BFF);
}

.ghead[b-r5yryszfyo] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto auto 28px;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 8px 8px 20px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.gname[b-r5yryszfyo] {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.gmeta[b-r5yryszfyo] {
    color: var(--fl-muted, #5B6478);
}

.gbest[b-r5yryszfyo] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

    .gbest small[b-r5yryszfyo] {
        color: var(--fl-muted, #5B6478);
        font-weight: 600;
        margin-right: 4px;
    }

/* PB of a runner: "PB + time" in a white frame - readable also on the yellow / blue row of me / a favourite */
.gbest--pb[b-r5yryszfyo] {
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 8px;
    padding: 3px 10px;
}

    .gbest--pb small[b-r5yryszfyo] {
        color: #6B4E00;
        font-weight: 700;
    }

.chev[b-r5yryszfyo] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
    justify-self: center;
}

.entry--open .chev[b-r5yryszfyo] {
    transform: rotate(45deg);
}

.gdetail[b-r5yryszfyo] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 12px 20px;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

/* buttons of a group (Detail of the edition / Runner + Favourite) - same look as the buttons in CompResultRow */
.glinks[b-r5yryszfyo] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 4px;
}

.gbtn[b-r5yryszfyo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.gbtn--primary[b-r5yryszfyo] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

.gbtn--on[b-r5yryszfyo] {
    background: #E6F2FF;
}

@media (max-width: 480px) {
    .gmeta[b-r5yryszfyo] {
        display: none;
    }

    .ghead[b-r5yryszfyo] {
        grid-template-columns: 1fr auto 28px;
    }
}

.series-title[b-r5yryszfyo] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}
/* _content/FinishLineApp/Components/Pages/PageTickets.razor.rz.scp.css */
/* Same layout as PageRoles / PageSeriesResults / CompCalendar: title, blue framed toolbar, list. */
.page-title[b-mfohmjw3uc] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

.toolbar-wrap[b-mfohmjw3uc] {
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-mfohmjw3uc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
}

/* row 1: Mine / All tabs left, check boxes right */
.row1[b-mfohmjw3uc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.tabs[b-mfohmjw3uc] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tab[b-mfohmjw3uc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    cursor: pointer;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
}

.tab--on[b-mfohmjw3uc] {
    border-bottom-color: var(--fl-primary, #3B5BFF);
    color: var(--fl-primary, #3B5BFF);
}

.tab__count[b-mfohmjw3uc] {
    min-width: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}

.tab--on .tab__count[b-mfohmjw3uc] {
    background: var(--fl-primary, #3B5BFF);
    color: #FFFFFF;
}

@media (max-width: 420px) {
    .tab__text[b-mfohmjw3uc] {
        font-size: .85rem;
    }

    .tab[b-mfohmjw3uc] {
        padding: 0 8px;
        gap: 6px;
    }
}

.checks[b-mfohmjw3uc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.search[b-mfohmjw3uc] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
}

    .search input[b-mfohmjw3uc] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        color: inherit;
    }

    .search:focus-within[b-mfohmjw3uc] {
        border-color: var(--fl-primary, #3B5BFF);
    }

.state[b-mfohmjw3uc] {
    padding: 24px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.summary-line[b-mfohmjw3uc] {
    margin: 0 0 8px;
    color: var(--fl-muted, #5B6478);
    font-size: .9rem;
}

.list[b-mfohmjw3uc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* _content/FinishLineApp/Components/Shared/CompCalendar.razor.rz.scp.css */
/* Scoped CSS: toolbar (variant B) + list. Works without finishline-tokens.css (fallback values). */
/* Sticky bar: month + filters stay visible, only the list scrolls.
   --fl-sticky-top  = height of a fixed header above the page (default 76px; set 0px if the header scrolls away; adjust to your real header height),
   --fl-sticky-bg   = background of the page, so rows do not show through the gap around the bar. */
.toolbar-wrap[b-diapuac7ew] {
    position: sticky;
    top: var(--fl-sticky-top, 76px);
    z-index: 20;
    padding: 8px 0;
    margin-bottom: 8px;
    background: var(--fl-sticky-bg, #FFFFFF);
}

.toolbar[b-diapuac7ew] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 16px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 2px solid var(--fl-primary, #3B5BFF);
    border-radius: var(--fl-radius, 14px);
    box-shadow: 0 2px 8px rgba(59, 91, 255, .15);
    container-type: inline-size; /* breakpoints below depend on the toolbar width, not on the window */
}

/* ---- Row 1: month strip ---- */
.months[b-diapuac7ew] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.strip[b-diapuac7ew] {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.mo[b-diapuac7ew] {
    flex: 1 1 0;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-transform: capitalize;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-ink, #12182B);
    border: 1px solid var(--fl-line, #DDE1EE);
}

.mo__year[b-diapuac7ew] {
    font-size: .625rem;
    font-weight: 600;
    opacity: .85;
}

.mo--on[b-diapuac7ew] {
    background: var(--fl-primary, #3B5BFF);
    color: #fff;
    border-color: var(--fl-primary, #3B5BFF);
}

.mo[b-diapuac7ew] {
    position: relative;
}

/* The real current month: red frame only (no fill, no dot). Shown only in the multi-month strip.
   Frame = 1px border + 1px inset shadow, so the button does not change its size. */
.mo--now[b-diapuac7ew] {
    border-color: var(--fl-danger, #D92D20);
    box-shadow: inset 0 0 0 1px var(--fl-danger, #D92D20);
}

/* Single month button (narrow screens only) */
.single[b-diapuac7ew] {
    display: none;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: capitalize;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-ink, #12182B);
    border: 1px solid var(--fl-line-strong, #AEB6D0);
}

.icon-btn[b-diapuac7ew] {
    flex: none;
    width: 44px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid var(--fl-line-strong, #AEB6D0);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-ink, #12182B);
}

.pick-btn[b-diapuac7ew] {
    flex: none;
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    border: 1px solid var(--fl-primary, #3B5BFF);
}

/* Invisible Syncfusion picker anchored under the button: only its popup is shown */
.picker-anchor[b-diapuac7ew] {
    position: relative;
    flex: none;
}

    .picker-anchor[b-diapuac7ew]  .month-picker-hidden {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }

/* ---- Row 2: filter tabs ---- */
.tabs[b-diapuac7ew] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-top: 4px;
    border-top: 1px solid var(--fl-line, #DDE1EE);
}

.tab[b-diapuac7ew] {
    flex: none;
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--fl-muted, #4A5270);
}

.tab--on[b-diapuac7ew] {
    color: var(--fl-link, #2B45D4);
    border-bottom-color: var(--fl-primary, #3B5BFF);
}
/* filter that would change nothing in this month */
.tab:disabled[b-diapuac7ew] {
    opacity: .4;
    cursor: not-allowed;
}

.tab__count[b-diapuac7ew] {
    background: #EEF0F7;
    color: var(--fl-ink, #12182B);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: .75rem;
}

.tab--on .tab__count[b-diapuac7ew] {
    background: #E6EAF5;
}

.icon-btn:focus-visible[b-diapuac7ew], .mo:focus-visible[b-diapuac7ew], .single:focus-visible[b-diapuac7ew], .pick-btn:focus-visible[b-diapuac7ew], .tab:focus-visible[b-diapuac7ew] {
    outline: 3px solid var(--fl-primary, #3B5BFF);
    outline-offset: 2px;
}

/* ---- List ---- */
.list[b-diapuac7ew] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.state[b-diapuac7ew] {
    color: var(--fl-muted, #4A5270);
    padding: 16px 0;
}

/* heading of the results / upcoming events - same as the sections of PageCompare */
.sec[b-diapuac7ew] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 4px 0 0;
}

.sec--next[b-diapuac7ew] {
    margin-top: 14px;
}

/* ---- Narrow toolbar (container queries) ---- */
/* 9 months need ~920 px, 7 ~780 px, 5 ~520 px, below that ONE month button which opens the popup */
@container (max-width: 920px) {
    .mo--o4[b-diapuac7ew] {
        display: none;
    }
}

@container (max-width: 780px) {
    .mo--o3[b-diapuac7ew] {
        display: none;
    }
}

@container (max-width: 640px) {
    .pick-btn__text[b-diapuac7ew] {
        display: none;
    }
    /* only the calendar icon, 48 px square */
    .pick-btn[b-diapuac7ew] {
        width: 48px;
        padding: 0;
        justify-content: center;
    }
}
/* Medium width: the filter text does not fit next to the icon -> smaller text UNDER the icon + count */
@container (max-width: 760px) {
    .tabs[b-diapuac7ew] {
        gap: 2px;
    }

    .tab[b-diapuac7ew] {
        flex: 1 1 0;
        min-width: 0;
        min-height: 60px;
        padding: 6px 4px;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "icon count" "text text";
        justify-content: center;
        align-content: center;
        justify-items: center;
        align-items: center;
        gap: 2px 6px;
    }

        .tab > i[b-diapuac7ew] {
            grid-area: icon;
            font-size: 1.1rem;
        }

    .tab__count[b-diapuac7ew] {
        grid-area: count;
    }

    .tab__text[b-diapuac7ew] {
        grid-area: text;
        font-size: .75rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }
}

@container (max-width: 520px) {
    .mo[b-diapuac7ew] {
        display: none;
    }
    /* no strip, no highlight of the current month */
    .single[b-diapuac7ew] {
        display: inline-flex;
    }

    .pick-btn[b-diapuac7ew] {
        display: none;
    }
    /* the single month button replaces it */
    /* popup is anchored under the whole row (the anchor stretches over it) */
    .months[b-diapuac7ew] {
        position: relative;
        gap: 6px;
    }

    .picker-anchor[b-diapuac7ew] {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 0;
    }

    .tabs[b-diapuac7ew] {
        justify-content: space-between;
    }

    .tab[b-diapuac7ew] {
        display: inline-flex;
        flex-direction: row;
        min-height: 48px;
        padding: 0 8px;
        gap: 8px;
        justify-content: center;
    }

    .tab__text[b-diapuac7ew] {
        display: none;
    }
    /* icon + count only, the title is in aria-label */
}

@container (max-width: 340px) {
    .icon-btn[b-diapuac7ew] {
        width: 40px;
    }

    .single[b-diapuac7ew] {
        font-size: .95rem;
    }
}

@media (max-width: 720px) {
    .toolbar[b-diapuac7ew] {
        padding: 12px;
    }
}

/* ---- Admin tools in the row detail ---- */
.admin-bar[b-diapuac7ew] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.abtn[b-diapuac7ew] {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-ink, #12182B);
    border: 1px solid var(--fl-line-strong, #AEB6D0);
}

.abtn--on[b-diapuac7ew] {
    background: #D92D20;
    color: #fff;
    border-color: #D92D20;
}
/* red = same as the "important" strip */
.abtn:focus-visible[b-diapuac7ew] {
    outline: 3px solid var(--fl-primary, #3B5BFF);
    outline-offset: 2px;
}
/* _content/FinishLineApp/Components/Shared/CompCalendarEntry.razor.rz.scp.css */
/* Scoped CSS for CalendarEntryRow. Works even without finishline-tokens.css (fallback values in var()). */
.entry[b-pevtxo0kbd] {
    color: var(--fl-ink, #12182B);
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-line, #DDE1EE);
    border-radius: var(--fl-radius, 14px);
    overflow: hidden;
}
/* Left colour strip over the whole height of the row (also over the expanded detail) */
.entry[b-pevtxo0kbd] {
    position: relative;
}

.entry--important[b-pevtxo0kbd]::before, .entry--fav[b-pevtxo0kbd]::before, .entry--mine[b-pevtxo0kbd]::before, .entry--other[b-pevtxo0kbd]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    z-index: 1;
}

.entry--important[b-pevtxo0kbd]::before {
    background: #D92D20;
}
/* red */
/* favourite runner: whole row light blue, dark blue strip (same as PageRunners) */
.entry--fav[b-pevtxo0kbd] {
    background: #EAF4FF;
    border-color: #A9CFF5;
}

.entry--fav[b-pevtxo0kbd]::before {
    background: #1C6FD1;
}

.entry--other[b-pevtxo0kbd]::before {
    background: #B8BFD0;
}
/* grey: future event without any priority */

/* my run: whole row yellow, dark yellow strip (same as PageRunners) */
.entry--mine[b-pevtxo0kbd] {
    background: #FFF6D6;
    border-color: #F2D27A;
}

.entry--mine[b-pevtxo0kbd]::before {
    background: #E0A800;
}
.head[b-pevtxo0kbd] {
    display: flex;
    align-items: stretch;
}

.summary[b-pevtxo0kbd] {
    all: unset;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 56px 1fr 220px;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
}

    .summary:focus-visible[b-pevtxo0kbd], .state:focus-visible[b-pevtxo0kbd], .expander:focus-visible[b-pevtxo0kbd], .btn:focus-visible[b-pevtxo0kbd] {
        outline: 3px solid var(--fl-primary, #3B5BFF);
        outline-offset: 2px;
    }

.chev[b-pevtxo0kbd] {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--fl-ink, #12182B);
    border-bottom: 2px solid var(--fl-ink, #12182B);
    transform: rotate(-45deg);
    transition: transform .15s;
}

.entry--open .chev[b-pevtxo0kbd] {
    transform: rotate(45deg);
}

/* chevron button: always the last, fixed-width column of the row */
.expander[b-pevtxo0kbd] {
    flex: none;
    width: 44px;
    min-height: 44px;
    align-self: center;
    margin-right: 8px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
}

.date[b-pevtxo0kbd] {
    display: flex;
    flex-direction: column;
}

    .date strong[b-pevtxo0kbd] {
        font-size: 1.3rem;
        font-weight: 800;
        line-height: 1;
    }

    .date small[b-pevtxo0kbd] {
        color: var(--fl-muted, #4A5270);
        font-weight: 700;
        font-size: .75rem;
        text-transform: uppercase;
    }

.main[b-pevtxo0kbd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.name[b-pevtxo0kbd] {
    font-weight: 700;
    font-size: 1.05rem;
}

.badge[b-pevtxo0kbd] {
    align-self: flex-start;
    background: #E6EAF5;
    color: #12182B;
    border: 1px solid #AEB6D0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
}

.place[b-pevtxo0kbd] {
    color: var(--fl-ink, #12182B);
}

/* Not going / Interested / Going toggle (background comes from Entry.StateColor) */
.state[b-pevtxo0kbd] {
    flex: none;
    width: 140px;
    min-height: 44px;
    margin: 8px 12px 8px 0;
    padding: 0 12px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    white-space: nowrap;
    border: 1px solid var(--fl-line-strong, #AEB6D0);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-ink, #12182B);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* same width as the state button, so rows without it have the same columns */
.state-spacer[b-pevtxo0kbd] {
    flex: none;
    width: 140px;
    margin: 8px 12px 8px 0;
}

.detail[b-pevtxo0kbd] {
    border-top: 1px solid var(--fl-line, #DDE1EE);
    background: var(--fl-bg, #F6F7FB);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* wrapper for results grid / runner list: wide tables scroll inside the detail instead of breaking the layout */
.content[b-pevtxo0kbd] {
    min-width: 0;
    overflow-x: auto;
}
    /* The parent passes ChildContent even when its @if renders nothing -> an empty wrapper would add an empty row (flex gap) */
    .content:empty[b-pevtxo0kbd] {
        display: none;
    }

    .content:not(:has(*))[b-pevtxo0kbd] {
        display: none;
    }

.links[b-pevtxo0kbd] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn[b-pevtxo0kbd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 720px) {
    .summary[b-pevtxo0kbd] {
        grid-template-columns: 44px 1fr;
        grid-template-areas: "date main" "date place";
        gap: 4px 12px;
        padding: 12px 14px;
    }

    .date[b-pevtxo0kbd] {
        grid-area: date;
        align-items: center;
        align-self: center;
    }

    .main[b-pevtxo0kbd] {
        grid-area: main;
    }

    .place[b-pevtxo0kbd] {
        grid-area: place;
        color: var(--fl-muted, #4A5270);
        font-size: .875rem;
    }
    /* compact state button: icon only (the text stays in aria-label), same height as the row controls */
    .state[b-pevtxo0kbd], .state-spacer[b-pevtxo0kbd] {
        width: 44px;
        margin: 0 10px 0 0;
        padding: 0;
        align-self: center;
    }

    .state-spacer[b-pevtxo0kbd] {
        height: 44px;
    }

    .state__text[b-pevtxo0kbd] {
        display: none;
    }

    .expander[b-pevtxo0kbd] {
        margin-right: 4px;
    }

    .detail[b-pevtxo0kbd] {
        padding: 12px 14px;
    }
}

/* primary action in the detail: filled button */
.btn--primary[b-pevtxo0kbd] {
    background: var(--fl-primary, #3B5BFF);
    color: #fff;
}
/* _content/FinishLineApp/Components/Shared/CompCompareBest.razor.rz.scp.css */
.best[b-e4r53ghm6p] {
    margin: 0 0 16px;
}

.best__title[b-e4r53ghm6p] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0 10px;
}
/* the cards are wide enough for the whole bubble (3 times); when there is not enough room the card moves to a new row */
.best__grid[b-e4r53ghm6p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr));
    gap: 10px;
}

.card[b-e4r53ghm6p] {
    position: relative;
    overflow: hidden;
    padding: 12px 12px 12px 20px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    container-type: inline-size;
}

    .card[b-e4r53ghm6p]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

    .card h3[b-e4r53ghm6p] {
        font-size: 1.15rem;
        font-weight: 800;
        margin: 0 0 8px;
        padding-bottom: 6px;
        border-bottom: 2px solid var(--fl-border, #D5DAE8);
    }

.row[b-e4r53ghm6p] {
    margin: 0 0 8px;
}

    .row:last-child[b-e4r53ghm6p] {
        margin-bottom: 0;
    }

/* the bubble: line (+ detail) */
.who[b-e4r53ghm6p] {
    min-width: 0;
    padding: 2px 4px 2px 8px;
    border: 1px solid var(--c, #D0D5DD);
    border-radius: 20px;
    background: #fff;
    font-size: .9rem;
}

.line[b-e4r53ghm6p] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rank[b-e4r53ghm6p] {
    font-weight: 800;
    color: var(--c, inherit);
}

/* the name may get narrower (ellipsis, full name in the tooltip), otherwise in a card just above
   the container breakpoint the times push the expander out of the bubble */
.who__n[b-e4r53ghm6p] {
    flex: 0 1 8em;
    min-width: 3.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.dot[b-e4r53ghm6p] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c, #B8BFD0);
    flex: 0 0 auto;
}

/* parts separated by vertical lines. Wide card: difference (order 1), best time (2), other times (3). */
.diff[b-e4r53ghm6p] {
    order: 1;
}

.t--best[b-e4r53ghm6p] {
    order: 2;
}

.t--more[b-e4r53ghm6p] {
    order: 3;
}

.t[b-e4r53ghm6p] {
    flex: 0 0 auto;
    box-sizing: content-box;
    min-width: 4.4em;
    padding-left: 10px;
    border-left: 1px solid var(--fl-border, #D5DAE8);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

    .t small[b-e4r53ghm6p] {
        color: var(--fl-muted, #5B6478);
        font-size: .72rem;
    }

.diff[b-e4r53ghm6p] {
    box-sizing: border-box;
    flex: 0 0 4.8em;
    width: 4.8em;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 8px;
    border-left: 1px solid var(--fl-border, #D5DAE8);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
    color: var(--fl-muted, #5B6478);
    font-variant-numeric: tabular-nums;
}

.diff--faster[b-e4r53ghm6p] {
    color: #B42318;
}

.diff--slower[b-e4r53ghm6p] {
    color: #067647;
}

/* expander: always visible, at the end of the bubble */
.ex[b-e4r53ghm6p] {
    order: 4;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    min-height: 32px;
    margin-left: auto;
    border: 0;
    border-left: 1px solid var(--fl-border, #D5DAE8);
    background: none;
    cursor: pointer;
    color: inherit;
}

.chev[b-e4r53ghm6p] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
}

.chev--open[b-e4r53ghm6p] {
    transform: rotate(45deg);
}

.detail[b-e4r53ghm6p] {
    list-style: none;
    margin: 4px 0 6px;
    padding: 6px 4px 0 0;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

    .detail li[b-e4r53ghm6p] {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 2px 0;
        font-variant-numeric: tabular-nums;
    }

    .detail strong[b-e4r53ghm6p] {
        flex: 0 0 auto;
    }

.detail__txt[b-e4r53ghm6p] {
    flex: 1;
    min-width: 0;
    color: var(--fl-muted, #5B6478);
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.detail__a[b-e4r53ghm6p] {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--fl-link, #2B45D4);
}

/* narrow card: only the best time, then the difference */
@container (max-width: 480px) {
    .t--more[b-e4r53ghm6p] {
        display: none;
    }

    .who__n[b-e4r53ghm6p] {
        flex: 1 1 auto;
        min-width: 4.5em;
    }

    .t--best[b-e4r53ghm6p] {
        order: 1;
    }

    .diff[b-e4r53ghm6p] {
        order: 2;
    }
}
/* _content/FinishLineApp/Components/Shared/CompCompareRow.razor.rz.scp.css */
/* Same look as CompSeriesResultRow / CalendarEntryRow. --c = colour of the runner. */
.entry[b-si7wzbo8ee] {
    position: relative;
    overflow: hidden;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    container-type: inline-size;
}

    .entry[b-si7wzbo8ee]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

.entry--open[b-si7wzbo8ee] {
    border-color: var(--fl-primary, #3B5BFF);
}

.head[b-si7wzbo8ee] {
    display: flex;
    align-items: stretch;
}

.summary[b-si7wzbo8ee] {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 10px 20px;
    min-height: 56px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.date[b-si7wzbo8ee] {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

    .date strong[b-si7wzbo8ee] {
        font-size: 1.15rem;
    }

    .date small[b-si7wzbo8ee] {
        color: var(--fl-muted, #5B6478);
        font-size: .75rem;
    }

.main[b-si7wzbo8ee] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.title[b-si7wzbo8ee] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.name[b-si7wzbo8ee] {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.badge[b-si7wzbo8ee] {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #C9D0E4;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 600;
}

/* the other runners of this race: dot + time + difference to the main runner (wraps under the name on narrow screens) */
.others[b-si7wzbo8ee] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 250px));
    gap: 6px 10px;
}

.chip[b-si7wzbo8ee] {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    gap: 6px;
    padding: 2px 10px 2px 8px;
    border: 1px solid var(--c, #D0D5DD);
    border-radius: 999px;
    background: #fff;
    font-variant-numeric: tabular-nums;
    font-size: .9rem;
}

.chip__t[b-si7wzbo8ee] {
    font-weight: 600;
}

.dot[b-si7wzbo8ee] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c, #B8BFD0);
    flex: 0 0 auto;
}

.diff[b-si7wzbo8ee] {
    font-weight: 700;
    color: var(--fl-muted, #5B6478);
}

.diff--faster[b-si7wzbo8ee] {
    color: #B42318;
}
/* the other runner was faster than the main runner */
.diff--slower[b-si7wzbo8ee] {
    color: #067647;
}
/* the other runner was slower */

.time[b-si7wzbo8ee] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.expander[b-si7wzbo8ee] {
    width: 44px;
    min-height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.chev[b-si7wzbo8ee] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
}

.entry--open .chev[b-si7wzbo8ee] {
    transform: rotate(45deg);
}

.detail[b-si7wzbo8ee] {
    padding: 8px 16px 16px 20px;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

.blocks[b-si7wzbo8ee] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin: 0 0 8px;
}

.blk[b-si7wzbo8ee] {
    position: relative;
    padding: 10px 12px 10px 16px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface-2, #F7F8FC);
    min-width: 0;
    overflow: hidden;
}

    .blk[b-si7wzbo8ee]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 5px;
        background: var(--c, #B8BFD0);
    }

.blk--main[b-si7wzbo8ee] {
    background: #F1F4FF;
}

.blk h4[b-si7wzbo8ee] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: .85rem;
}

.best[b-si7wzbo8ee] {
    color: #D4A017;
    margin-left: auto;
}

.kv[b-si7wzbo8ee] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0;
}

    .kv dt[b-si7wzbo8ee] {
        color: var(--fl-muted, #5B6478);
        font-size: .85rem;
    }

    .kv dd[b-si7wzbo8ee] {
        margin: 0;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        text-align: right;
    }

        .kv dd small[b-si7wzbo8ee] {
            display: block;
            font-weight: 600;
            font-size: .75rem;
            color: var(--fl-muted, #5B6478);
        }

.kv--diff dd[b-si7wzbo8ee] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.kv--diff[b-si7wzbo8ee] {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed var(--fl-border, #D5DAE8);
}

.kv--unused[b-si7wzbo8ee] {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed var(--fl-border, #D5DAE8);
}

.links[b-si7wzbo8ee] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.btn[b-si7wzbo8ee] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
    font-weight: 700;
    text-decoration: none;
}

/* narrow rows */
@container (max-width: 520px) {
    .summary[b-si7wzbo8ee] {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.chip__n[b-si7wzbo8ee] {
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip .diff[b-si7wzbo8ee] {
    box-sizing: border-box;
    flex: 0 0 4.8em;
    width: 4.8em;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 8px;
    border-left: 1px solid var(--fl-border, #D5DAE8);
    font-size: .85rem;
    white-space: nowrap;
}

.chip__t[b-si7wzbo8ee] {
    flex: 0 0 auto;
    min-width: 4.2em;
    text-align: right;
}

.chip--main[b-si7wzbo8ee] {
    border-width: 2px;
}

.chip__r[b-si7wzbo8ee] {
    font-weight: 800;
    color: var(--c, inherit);
}

.when[b-si7wzbo8ee] {
    color: var(--fl-muted, #5B6478);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}
/* _content/FinishLineApp/Components/Shared/CompRaceResults.razor.rz.scp.css */
.list[b-4ydy7099af] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.state[b-4ydy7099af] {
    padding: 16px 0;
    text-align: center;
    color: var(--fl-muted, #5B6478);
}

.search[b-4ydy7099af] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0 12px;
    min-height: 44px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
}

    .search input[b-4ydy7099af] {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: none;
        font: inherit;
        font-size: 16px;
    }

.more[b-4ydy7099af] {
    display: block;
    margin: 12px auto 0;
    min-height: 44px;
    padding: 0 24px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--fl-primary, #3B5BFF);
    border-radius: 10px;
    background: var(--fl-surface, #FFFFFF);
    color: var(--fl-link, #2B45D4);
}
/* _content/FinishLineApp/Components/Shared/CompResultRow.razor.rz.scp.css */
/* Same look as CalendarEntryRow (fallback values work without the --fl-* tokens). */
.entry[b-6g8vp25k2q] {
    position: relative;
    overflow: hidden;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    container-type: inline-size;
}

    .entry[b-6g8vp25k2q]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

.entry--mine[b-6g8vp25k2q]::before {
    background: #FEDC74;
}

.entry--fav[b-6g8vp25k2q]::before {
    background: #A5D8FF;
}

/* FullRowColor: whole row yellow / blue with a dark strip (same as PageRunners); the expanded detail stays white */
.entry--fill.entry--mine[b-6g8vp25k2q] {
    background: #FFF6D6;
    border-color: #F2D27A;
}

    .entry--fill.entry--mine[b-6g8vp25k2q]::before {
        background: #E0A800;
    }

.entry--fill.entry--fav[b-6g8vp25k2q] {
    background: #EAF4FF;
    border-color: #A9CFF5;
}

    .entry--fill.entry--fav[b-6g8vp25k2q]::before {
        background: #1C6FD1;
    }

.entry--fill .detail[b-6g8vp25k2q] {
    background: var(--fl-surface, #FFFFFF);
}

.entry--open[b-6g8vp25k2q] {
    border-color: var(--fl-primary, #3B5BFF);
}

.head[b-6g8vp25k2q] {
    display: flex;
    align-items: stretch;
}

.summary[b-6g8vp25k2q] {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 56px 1fr minmax(90px, auto) 90px;     /* time column grows for the "PB + time" frame */
    align-items: center;
    gap: 8px;
    padding: 10px 8px 10px 20px;
    min-height: 56px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.lead[b-6g8vp25k2q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.15rem;
    line-height: 1.1;
}

.medal[b-6g8vp25k2q] {
    font-size: .8rem;
    margin-top: 2px;
}

.medal--1[b-6g8vp25k2q] {
    color: #D4A017;
}

.medal--2[b-6g8vp25k2q] {
    color: #8E99AB;
}

.medal--3[b-6g8vp25k2q] {
    color: #B5651D;
}

.main[b-6g8vp25k2q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.name[b-6g8vp25k2q] {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.badge[b-6g8vp25k2q] {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #C9D0E4;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 600;
}

/* PB: "PB + time" in a white frame (readable also on the yellow / blue row) - same as the PB in the runner header of Series */
.time-pb[b-6g8vp25k2q] {
    display: inline-block;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
}

    .time-pb small[b-6g8vp25k2q] {
        color: #6B4E00;
        font-weight: 700;
        margin-right: 4px;
    }


.time[b-6g8vp25k2q] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.pace[b-6g8vp25k2q] {
    color: var(--fl-muted, #5B6478);
    font-variant-numeric: tabular-nums;
    text-align: right;
    font-size: .9rem;
}

.expander[b-6g8vp25k2q] {
    width: 44px;
    min-height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.chev[b-6g8vp25k2q] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
}

.entry--open .chev[b-6g8vp25k2q] {
    transform: rotate(45deg);
}

.detail[b-6g8vp25k2q] {
    padding: 8px 16px 16px 20px;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

.links[b-6g8vp25k2q] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.btn[b-6g8vp25k2q] {
    gap: 8px;
    background: var(--fl-surface, #FFFFFF);
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    color: var(--fl-link, #2B45D4);
    font-weight: 700;
    text-decoration: none;
}

/* narrow rows: pace is in the detail only */
@container (max-width: 520px) {
    .summary[b-6g8vp25k2q] {
        grid-template-columns: 44px 1fr minmax(72px, auto);
    }

    .pace[b-6g8vp25k2q] {
        display: none;
    }
}

.btn--on[b-6g8vp25k2q] {
    background: #E6F2FF;
}

/* Detail: framed blocks (Performance / Overall / Category / Gender / Comparison with me).
   Each block keeps its rows together; the blocks wrap below each other as the width shrinks. */
.blocks[b-6g8vp25k2q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin: 0 0 8px;
}

.blk[b-6g8vp25k2q] {
    padding: 10px 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface-2, #F7F8FC);
    min-width: 0;
}

    .blk h4[b-6g8vp25k2q] {
        margin: 0 0 6px;
        font-size: .75rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--fl-muted, #5B6478);
    }

.kv[b-6g8vp25k2q] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0;
}

    .kv dt[b-6g8vp25k2q] {
        color: var(--fl-muted, #5B6478);
        font-size: .85rem;
    }

    .kv dd[b-6g8vp25k2q] {
        margin: 0;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        text-align: right;
    }

        .kv dd small[b-6g8vp25k2q] {
            display: block;
            font-weight: 600;
            font-size: .75rem;
            color: var(--fl-muted, #5B6478);
        }

.blk--me[b-6g8vp25k2q] {
    border-color: #F0C75E;
    background: #FFF9E6;
}

    .blk--me h4[b-6g8vp25k2q] {
        color: #8A6100;
    }
/* _content/FinishLineApp/Components/Shared/CompTicketRow.razor.rz.scp.css */
/* Same look as CompResultRow (fallback values work without the --fl-* tokens). */
.entry[b-pizmxke5ue] {
    position: relative;
    overflow: hidden;
    background: var(--fl-surface, #FFFFFF);
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: var(--fl-radius, 14px);
    container-type: inline-size;
}

    /* left stripe = priority */
    .entry[b-pizmxke5ue]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 8px;
        background: #B8BFD0;
    }

.entry--critical[b-pizmxke5ue]::before { background: #B42318; }
.entry--high[b-pizmxke5ue]::before { background: #F04438; }
.entry--medium[b-pizmxke5ue]::before { background: #FEC84B; }
.entry--low[b-pizmxke5ue]::before { background: #32D583; }

.entry--closed .name[b-pizmxke5ue] {
    color: var(--fl-muted, #5B6478);
}

.entry--open[b-pizmxke5ue] {
    border-color: var(--fl-primary, #3B5BFF);
}

.head[b-pizmxke5ue] {
    display: flex;
    align-items: stretch;
}

/* group (both lines) | title               | description (both lines, max. 2 lines) | date
                      | status | category  |                                        | author
   fixed widths of group / status -> titles, statuses and categories line up in every row.
   The description is clamped to the 2 lines that are there anyway -> the row never gets higher. */
.summary[b-pizmxke5ue] {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 104px 118px minmax(104px, .6fr) minmax(0, 2fr) 140px;
    grid-template-areas:
        "grp name name snippet date"
        "grp st   cat  snippet who";
    align-items: center;
    gap: 4px 10px;
    padding: 10px 8px 10px 16px;
    min-height: 56px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.grp[b-pizmxke5ue] {
    grid-area: grp;
    min-width: 0;
    display: flex;
    align-self: center;
}

    /* the group is bigger than the other chips */
    .grp .badge[b-pizmxke5ue] {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 4px 10px;
        font-size: .85rem;
        font-weight: 700;
        letter-spacing: .02em;
    }

/* one line only (full title in the tooltip and in the detail) -> the row keeps its height */
.name[b-pizmxke5ue] {
    grid-area: name;
    min-width: 0;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.full-title[b-pizmxke5ue] {
    margin: 0 0 8px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.st[b-pizmxke5ue] {
    grid-area: st;
    min-width: 0;
}

.cat[b-pizmxke5ue] {
    grid-area: cat;
    min-width: 0;
}

.snippet[b-pizmxke5ue] {
    grid-area: snippet;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: anywhere;
    line-height: 1.3;
    color: var(--fl-muted, #5B6478);
    font-size: .85rem;
}

.badge[b-pizmxke5ue] {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #C9D0E4;
    background: #E6EAF5;
    color: #12182B;
    font-size: .75rem;
    font-weight: 600;
}

/* status / priority / category */
.pill[b-pizmxke5ue] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pill--blue[b-pizmxke5ue] { background: #E6EDFF; color: #2B45D4; border-color: #B9C8FF; }
.pill--yellow[b-pizmxke5ue] { background: #FFF6DB; color: #8A6100; border-color: #F5D98F; }
.pill--cyan[b-pizmxke5ue] { background: #E3F6FA; color: #0E7490; border-color: #A5E1EE; }
.pill--green[b-pizmxke5ue] { background: #E3F8EC; color: #067647; border-color: #A6E3BF; }
.pill--red[b-pizmxke5ue] { background: #FEECEB; color: #B42318; border-color: #F7B9B3; }
.pill--grey[b-pizmxke5ue] { background: #EEF0F5; color: #5B6478; border-color: #D5DAE8; }

.date[b-pizmxke5ue] {
    grid-area: date;
    color: var(--fl-muted, #5B6478);
    font-variant-numeric: tabular-nums;
    text-align: right;
    font-size: .9rem;
}

/* author of the ticket: one line, cut with "…" (full name in the tooltip and in the detail) */
.who[b-pizmxke5ue] {
    grid-area: who;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    color: var(--fl-muted, #5B6478);
    font-size: .85rem;
}

.expander[b-pizmxke5ue] {
    width: 44px;
    min-height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.chev[b-pizmxke5ue] {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s;
}

.entry--open .chev[b-pizmxke5ue] {
    transform: rotate(45deg);
}

.detail[b-pizmxke5ue] {
    padding: 8px 16px 16px 20px;
    border-top: 1px solid var(--fl-border, #D5DAE8);
}

.links[b-pizmxke5ue] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.btn[b-pizmxke5ue] {
    gap: 8px;
    background: var(--fl-surface, #FFFFFF);
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fl-primary, #3B5BFF);
    color: var(--fl-link, #2B45D4);
    font-weight: 700;
    text-decoration: none;
}

/* medium rows: no room for the description preview */
@container (max-width: 700px) {
    .summary[b-pizmxke5ue] {
        grid-template-columns: 104px 118px minmax(0, 1fr) 120px;
        grid-template-areas:
            "grp name name date"
            "grp st   cat  who";
    }

    .snippet[b-pizmxke5ue] {
        display: none;
    }
}

/* narrow rows: smaller group, the date is in the detail only */
@container (max-width: 520px) {
    .summary[b-pizmxke5ue] {
        grid-template-columns: 84px 112px minmax(0, 1fr);
        grid-template-areas:
            "grp name name"
            "grp st   cat";
        gap: 4px 8px;
    }

    .grp .badge[b-pizmxke5ue] {
        padding: 3px 8px;
        font-size: .75rem;
    }

    .date[b-pizmxke5ue], .who[b-pizmxke5ue] {
        display: none;
    }
}

/* Ticket / History: fixed width (auto-fill keeps empty tracks -> the blocks never stretch
   to the full row when there is no description). The description block spans the whole row. */
.blocks[b-pizmxke5ue] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 320px));
    justify-content: start;
    gap: 10px;
    margin: 0 0 8px;
}

.blk[b-pizmxke5ue] {
    padding: 10px 12px;
    border: 1px solid var(--fl-border, #D5DAE8);
    border-radius: 10px;
    background: var(--fl-surface-2, #F7F8FC);
    min-width: 0;
}

.blk--wide[b-pizmxke5ue] {
    grid-column: 1 / -1;
}

    .blk h4[b-pizmxke5ue] {
        margin: 0 0 6px;
        font-size: .75rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--fl-muted, #5B6478);
    }

.kv[b-pizmxke5ue] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0;
}

    .kv dt[b-pizmxke5ue] {
        color: var(--fl-muted, #5B6478);
        font-size: .85rem;
    }

    .kv dd[b-pizmxke5ue] {
        margin: 0;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        text-align: right;
        min-width: 0;
    }

/* author: a long address / name may wrap instead of overflowing the block */
.mail[b-pizmxke5ue] {
    overflow-wrap: anywhere;
    text-align: right;
}

.desc[b-pizmxke5ue] {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
