/* /Components/Layout/LoginDisplay.razor.rz.scp.css */
.user-info-bar[b-3l2g3h6ksv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-avatar[b-3l2g3h6ksv] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #009244 0%, #1e4c53 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    letter-spacing: 0;
}

.user-details[b-3l2g3h6ksv] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.user-name[b-3l2g3h6ksv] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a2e35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.user-role[b-3l2g3h6ksv] {
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    padding: 0 4px;
    display: inline-block;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.role-admin[b-3l2g3h6ksv] {
    background: #fff3cd;
    color: #856404;
}

.role-superadmin[b-3l2g3h6ksv] {
    background: #f8d7da;
    color: #842029;
}

.btn-logout[b-3l2g3h6ksv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: 1px solid #cdd5d9;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    color: #4a6570;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-logout:hover[b-3l2g3h6ksv] {
    background-color: #fff0f0;
    border-color: #c0392b;
    color: #c0392b;
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-v6foyx7uod] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-v6foyx7uod] {
    flex: 1;
    overflow-y: auto; /* Allow main to scroll independently */
}

.sidebar[b-v6foyx7uod] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    overflow-y: auto; /* Allow sidebar to scroll if needed */
}

.top-row[b-v6foyx7uod] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-v6foyx7uod]  a, .top-row[b-v6foyx7uod]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-v6foyx7uod]  a:hover, .top-row[b-v6foyx7uod]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-v6foyx7uod]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-v6foyx7uod] {
        justify-content: space-between;
    }

    .top-row[b-v6foyx7uod]  a, .top-row[b-v6foyx7uod]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-v6foyx7uod] {
        flex-direction: row;
        min-height: 100vh; /* Ensure page takes full viewport height */
    }

    .sidebar[b-v6foyx7uod] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0; /* Prevent sidebar from shrinking */
        display: flex;
        flex-direction: column;
        overflow-y: auto; /* Allow sidebar to scroll if needed */
    }

    main[b-v6foyx7uod] {
        flex: 1;
        min-width: 0; /* Allow flex item to shrink below content size */
        max-width: calc(100vw - 250px); /* Prevent main from exceeding viewport minus sidebar */
        overflow-x: hidden; /* Prevent horizontal scroll on main */
        overflow-y: auto; /* Allow main to scroll independently */
        height: 100vh; /* Full viewport height for sticky sidebar to work */
    }

    .top-row[b-v6foyx7uod] {
        position: sticky;
        top: 0;
        z-index: 1;
        flex-shrink: 0; /* Prevent top-row from shrinking */
    }

    .top-row.auth[b-v6foyx7uod]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-v6foyx7uod], article[b-v6foyx7uod] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-v6foyx7uod] {
    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-v6foyx7uod] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7timgyuhwm] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover[b-7timgyuhwm] {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:checked[b-7timgyuhwm] {
    background-color: rgba(0, 146, 68, 0.3);
    border-color: #009244;
}

.top-row[b-7timgyuhwm] {
    min-height: 3.5rem;
    background: linear-gradient(135deg, #022c32 0%, #1e4c53 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #009244;
}

.navbar-brand[b-7timgyuhwm] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover[b-7timgyuhwm] {
    color: #c1d11c !important;
    transform: translateX(4px);
}

.brand-icon[b-7timgyuhwm] {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand-text[b-7timgyuhwm] {
    letter-spacing: -0.5px;
}

.bi[b-7timgyuhwm] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    transition: transform 0.2s ease;
}

.bi-house-door-fill-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-graph-up-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-graph-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0V0Zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07Z'/%3E%3C/svg%3E");
}

.bi-speedometer-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-speedometer' viewBox='0 0 16 16'%3E%3Cpath d='M8 2a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-1 0V2.5A.5.5 0 0 1 8 2M3.732 3.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707M2 8a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8m9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5m.754-4.246a.389.389 0 0 0-.527-.02L7.547 7.31A.91.91 0 1 0 8.85 8.569l3.434-4.297a.389.389 0 0 0-.029-.518z'/%3E%3Cpath fill-rule='evenodd' d='M6.664 15.889A8 8 0 1 1 9.336.11a8 8 0 0 1-2.672 15.78zm-4.665-4.283A11.95 11.95 0 0 1 8 10c2.186 0 4.236.585 6.001 1.606a7 7 0 1 0-12.002 0'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-card-list-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-card-list' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-arrow-left-right-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-left-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5m14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5'/%3E%3C/svg%3E");
}

.bi-chat-left-text-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-chat-left-text' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4.414A2 2 0 0 0 3 11.586l-2 2V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-gear-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319z'/%3E%3C/svg%3E");
}

.bi-question-circle-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-question-circle' viewBox='0 0 16 16'%3E%3Cpath d='M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z'/%3E%3Cpath d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/%3E%3C/svg%3E");
}

.nav-item[b-7timgyuhwm] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}

.nav-item:first-of-type[b-7timgyuhwm] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-7timgyuhwm] {
    padding-bottom: 1rem;
}

.nav-item[b-7timgyuhwm]  .nav-link {
    color: #EDF2F7;
    background: none;
    border: none;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item[b-7timgyuhwm]  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #009244 0%, #c1d11c 100%);
    transition: width 0.3s ease;
    border-radius: 8px 0 0 8px;
}

.nav-item[b-7timgyuhwm]  .nav-link:hover::before {
    width: 4px;
}

.nav-item[b-7timgyuhwm]  a.active {
    background: linear-gradient(90deg, rgba(0, 146, 68, 0.15) 0%, rgba(193, 209, 28, 0.1) 100%);
    color: #c1d11c;
    font-weight: 600;
    border-left: 4px solid #009244;
}

.nav-item[b-7timgyuhwm]  a.active .bi {
    transform: scale(1.1);
}

.nav-item[b-7timgyuhwm]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(4px);
}

.nav-text[b-7timgyuhwm] {
    position: relative;
    z-index: 1;
}

.nav-scrollable[b-7timgyuhwm] {
    display: none;
    background: linear-gradient(180deg, #111317 0%, #1e4c53 100%);
    flex: 1; /* Take remaining space in sidebar */
    overflow-y: auto; /* Allow scrolling if menu is too long */
}

.navbar-toggler:checked ~ .nav-scrollable[b-7timgyuhwm] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7timgyuhwm] {
        display: none;
    }

    .nav-scrollable[b-7timgyuhwm] {
        /* Never collapse the sidebar for wide screens */
        display: flex; /* Changed from block to flex */
        flex-direction: column; /* Stack nav items vertically */

        /* Allow sidebar to scroll for tall menus */
        height: auto; /* Changed from calc(100vh - 3.5rem) */
        flex: 1; /* Take all available space */
        overflow-y: auto;
    }
}

.bi-calendar-check-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calendar-check' viewBox='0 0 16 16'%3E%3Cpath d='M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
}

.bi-display-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-display' viewBox='0 0 16 16'%3E%3Cpath d='M0 4s0-2 2-2h12s2 0 2 2v6s0 2-2 2h-4q0 1 .25 1.5H11a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1h.75Q6 13 6 12H2s-2 0-2-2V4zm1.398-.855a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254a1.464 1.464 0 0 0 .538.143L2.01 11H14c.325 0 .502-.078.602-.145a.758.758 0 0 0 .254-.302 1.464 1.464 0 0 0 .143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.757.757 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3H2c-.325 0-.502.078-.602.145z'/%3E%3C/svg%3E");
}

.bi-people-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people' viewBox='0 0 16 16'%3E%3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8Zm-7.978-1A.261.261 0 0 1 7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002-.014.002H7.022ZM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816ZM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275ZM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}

.bi-box-seam-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5l2.404.961L10.404 2zm3.564 1.426L5.596 5 8 5.961 14.154 3.5zm3.25 1.7-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464z'/%3E%3C/svg%3E");
}

.bi-cart-check-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 6.354a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0z'/%3E%3Cpath d='M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zm3.915 10L3.102 4h10.796l-1.313 7zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0'/%3E%3C/svg%3E");
}

.bi-grid-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5zM1.5 1a.5.5 0 0 0-.5.5V5h4V1zM5 6H1v4h4zm1 4h4V6H6zm-1 1H1v3.5a.5.5 0 0 0 .5.5H5zm1 0v4h4v-4zm5 0v4h3.5a.5.5 0 0 0 .5-.5V11zm0-1h4V6h-4zm0-5h4V1.5a.5.5 0 0 0-.5-.5H11zm-1-4H6v4h4z'/%3E%3C/svg%3E");
}

.bi-truck-nav-menu[b-7timgyuhwm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5zm1.294 7.456A2 2 0 0 1 4.732 11h5.536a2 2 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456M12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2'/%3E%3C/svg%3E");
}

.nav-section-header[b-7timgyuhwm] {
    color: #8b9aab;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1rem 1.5rem 0.4rem;
    margin: 0;
}
/* /Components/Layout/TvLayout.razor.rz.scp.css */
.tv-app-shell[b-d0d736gt1p] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow: hidden;
    background: transparent;
}
/* /Components/Pages/KpiCalendar.razor.rz.scp.css */
.kpi-table-wrapper[b-bsx7kz2eod] {
    overflow-x: auto;
}

.kpi-table[b-bsx7kz2eod] {
    min-width: 600px;
    font-size: 0.85rem;
}

.sticky-col[b-bsx7kz2eod] {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    min-width: 130px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

thead .sticky-col[b-bsx7kz2eod] {
    background: #212529;
}

tfoot .sticky-col[b-bsx7kz2eod] {
    background: #e2e3e5;
}

.day-col[b-bsx7kz2eod] {
    min-width: 70px;
    max-width: 80px;
    font-size: 0.8rem;
}

.day-name[b-bsx7kz2eod] {
    font-size: 0.7rem;
    opacity: 0.7;
}

.summary-col[b-bsx7kz2eod] {
    min-width: 90px;
    background: #f8f9fa;
}

.kpi-cell[b-bsx7kz2eod] {
    padding: 0.3rem 0.2rem;
    transition: opacity 0.15s;
}

.kpi-cell:hover[b-bsx7kz2eod] {
    opacity: 0.8;
}

.kpi-value[b-bsx7kz2eod] {
    font-weight: 600;
    font-size: 0.9rem;
}

.kpi-empty[b-bsx7kz2eod] {
    font-size: 0.9rem;
}

.cell-green[b-bsx7kz2eod] {
    background-color: #d1e7dd !important;
    color: #0a3622;
}

.cell-red[b-bsx7kz2eod] {
    background-color: #f8d7da !important;
    color: #58151c;
}

.cell-neutral[b-bsx7kz2eod] {
    background-color: #e9ecef !important;
}

.cell-empty[b-bsx7kz2eod] {
    background-color: #fff;
}

.user-name-cell[b-bsx7kz2eod] {
    font-weight: 500;
}

.worker-id[b-bsx7kz2eod] {
    font-size: 0.72rem;
    color: #6c757d;
    font-weight: 400;
    margin-right: 4px;
    font-family: monospace;
}

.kpi-time-info > summary[b-bsx7kz2eod] {
    cursor: pointer;
    list-style: revert;
    user-select: none;
}

.kpi-time-info > summary[b-bsx7kz2eod]::marker {
    color: #0c5460;
}

.kpi-time-info[open] > summary[b-bsx7kz2eod] {
    margin-bottom: 4px;
}
/* /Components/Pages/TvMode.razor.rz.scp.css */
/* ========== THEME VARIABLES ========== */
.tv-root[b-0jl47upiem] {
    /* Dark (default) */
    --tv-bg:            #0a0a0f;
    --tv-bg-deep:       #050509;
    --tv-bg-header:     #12121e;
    --tv-bg-footer:     #0d0d1a;
    --tv-bg-date:       #0e0e1a;
    --tv-bg-panel:      #12121e;
    --tv-bg-panel-2:    #14141f;
    --tv-bg-panel-3:    #1a1a2e;
    --tv-bg-cell-hi:    #14142a;
    --tv-bg-cell-pickup:#1c1c30;

    --tv-text:          #ffffff;
    --tv-text-strong:   #ffffff;
    --tv-text-muted:    #a0a0c0;
    --tv-text-dim:      #7070a0;
    --tv-text-faint:    #555577;
    --tv-text-ghost:    #333355;

    --tv-border:        #2a2a40;
    --tv-border-soft:   #1c1c30;
    --tv-border-faint:  #1e1e30;
    --tv-gridline:      #1e1e2e;

    --tv-accent:        #c0c0ff;
    --tv-accent-strong: #a0a0ff;
    --tv-accent-bg:     #1e1e3e;
    --tv-accent-border: #5050c0;

    --tv-good:          #4fe84f;
    --tv-good-strong:   #6ef06e;
    --tv-good-bg:       #0e2a0e;
    --tv-bad:           #e84f4f;
    --tv-bad-strong:    #f06e6e;
    --tv-bad-bg:        #2a0e0e;
    --tv-blue-strong:   #6ea8f0;

    --tv-norma:         #c0c040;
    --tv-norma-strong:  #ffd84d;
    --tv-gold:          #ffd700;
    --tv-gold-soft:     #ffe080;
    --tv-silver:        #d8d8e8;
    --tv-bronze:        #e08a4c;
    --tv-podium-bg:     #1f1c0c;

    --tv-bar-green-top: #2ea82e;
    --tv-bar-green-bot: #1a7a1a;
    --tv-bar-red-top:   #c03030;
    --tv-bar-red-bot:   #8a1a1a;
    --tv-bar-blue-top:  #3060c0;
    --tv-bar-blue-bot:  #1a3a8a;

    --tv-shadow-text:   rgba(0, 0, 0, 0.6);

    color-scheme: dark;

    /* Default data-section font scale; overridden inline via style="--tv-data-scale:..." */
    --tv-data-scale: 1;
}

.tv-root[data-theme="light"][b-0jl47upiem] {
    --tv-bg:            #f4f5fa;
    --tv-bg-deep:       #e6e8f0;
    --tv-bg-header:     #ffffff;
    --tv-bg-footer:     #ffffff;
    --tv-bg-date:       #eef0f7;
    --tv-bg-panel:      #ffffff;
    --tv-bg-panel-2:    #f7f8fc;
    --tv-bg-panel-3:    #eef0f7;
    --tv-bg-cell-hi:    #eaecf5;
    --tv-bg-cell-pickup:#eef0f7;

    --tv-text:          #1a1a2e;
    --tv-text-strong:   #0a0a14;
    --tv-text-muted:    #4a4a66;
    --tv-text-dim:      #6a6a88;
    --tv-text-faint:    #8a8aa6;
    --tv-text-ghost:    #b8b8cc;

    --tv-border:        #c8ccd8;
    --tv-border-soft:   #d8dce6;
    --tv-border-faint:  #e2e5ee;
    --tv-gridline:      #d8dce6;

    --tv-accent:        #3030a0;
    --tv-accent-strong: #2020b0;
    --tv-accent-bg:     #e0e0f5;
    --tv-accent-border: #5050c0;

    --tv-good:          #1e7a1e;
    --tv-good-strong:   #1a8a1a;
    --tv-good-bg:       #d8f3d8;
    --tv-bad:           #b03030;
    --tv-bad-strong:    #c03030;
    --tv-bad-bg:        #f7dcdc;
    --tv-blue-strong:   #2050a0;

    --tv-norma:         #b08000;
    --tv-norma-strong:  #806010;
    --tv-gold:          #b08800;
    --tv-gold-soft:     #806020;
    --tv-silver:        #707080;
    --tv-bronze:        #a85a20;
    --tv-podium-bg:     #fff5d0;

    --tv-bar-green-top: #2faa2f;
    --tv-bar-green-bot: #1c8a1c;
    --tv-bar-red-top:   #d04040;
    --tv-bar-red-bot:   #a02020;
    --tv-bar-blue-top:  #4070d0;
    --tv-bar-blue-bot:  #2050a0;

    --tv-shadow-text:   rgba(0, 0, 0, 0.35);

    color-scheme: light;
}

/* Convenience: scale() returns the data-section size. */

/* ========== ROOT ========== */
.tv-root[b-0jl47upiem] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background: var(--tv-bg);
    color: var(--tv-text);
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.tv-state-msg[b-0jl47upiem] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--tv-text-dim);
}

/* ========== HEADER ========== */
.tv-header[b-0jl47upiem] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 14px;
    background: var(--tv-bg-header);
    border-bottom: 1px solid var(--tv-border);
    flex: 0 0 auto;
    min-height: 48px;
    gap: 12px;
}

.tv-header-left[b-0jl47upiem] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.tv-title-main[b-0jl47upiem] {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--tv-text-strong);
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tv-title-sub[b-0jl47upiem] {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--tv-text-dim);
    white-space: nowrap;
}

.tv-header-center[b-0jl47upiem] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tv-proc-btn[b-0jl47upiem] {
    padding: 5px 14px;
    border: 1px solid var(--tv-border);
    border-radius: 5px;
    background: var(--tv-bg-panel);
    color: var(--tv-text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.15s;
}

.tv-proc-btn:hover[b-0jl47upiem] { border-color: var(--tv-accent-border); color: var(--tv-accent); }

.tv-header-right[b-0jl47upiem] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-tools-toggle[b-0jl47upiem],
.tv-theme-toggle[b-0jl47upiem] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--tv-border);
    background: var(--tv-bg-panel);
    color: var(--tv-accent);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
    padding: 0;
}

.tv-tools-toggle:hover[b-0jl47upiem],
.tv-theme-toggle:hover[b-0jl47upiem] {
    border-color: var(--tv-accent-border);
    transform: scale(1.05);
}

.tv-tools-toggle-active[b-0jl47upiem] {
    background: var(--tv-accent-bg);
    border-color: var(--tv-accent-border);
    color: var(--tv-accent-strong);
}

.tv-norma-badge[b-0jl47upiem] {
    font-size: 1rem;
    color: var(--tv-accent-strong);
    letter-spacing: 0.04em;
    font-weight: 600;
    white-space: nowrap;
}

.tv-norma-val[b-0jl47upiem] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tv-accent-strong);
}

/* ========== DATE BAR ========== */
.tv-date-bar[b-0jl47upiem] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--tv-bg-date);
    border-bottom: 1px solid var(--tv-border-faint);
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.tv-date-btn[b-0jl47upiem] {
    padding: 4px 12px;
    border: 1px solid var(--tv-border);
    border-radius: 4px;
    background: var(--tv-bg-panel);
    color: var(--tv-text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.12s;
}

.tv-date-btn:hover[b-0jl47upiem] { border-color: var(--tv-accent-border); color: var(--tv-accent); }

.tv-date-active[b-0jl47upiem] {
    border-color: var(--tv-accent-border) !important;
    background: var(--tv-accent-bg) !important;
    color: var(--tv-accent) !important;
}

.tv-date-input[b-0jl47upiem] {
    background: var(--tv-bg-panel);
    border: 1px solid var(--tv-border);
    color: var(--tv-text-muted);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.9rem;
}

.tv-root[data-theme="dark"]  .tv-date-input[b-0jl47upiem] { color-scheme: dark; }
.tv-root[data-theme="light"] .tv-date-input[b-0jl47upiem] { color-scheme: light; }

.tv-date-sep[b-0jl47upiem] {
    color: var(--tv-text-faint);
    font-size: 0.95rem;
}

.tv-date-vsep[b-0jl47upiem] {
    width: 1px;
    height: 22px;
    background: var(--tv-border);
    margin: 0 4px;
}

.tv-date-hint[b-0jl47upiem] {
    font-size: 0.85rem;
    color: var(--tv-text-dim);
    font-style: italic;
    letter-spacing: 0.02em;
    padding: 0 4px;
}

.tv-date-val[b-0jl47upiem] {
    font-size: 0.95rem;
    color: var(--tv-text);
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

/* ========== CALENDARS ========== */
.tv-calendars[b-0jl47upiem] {
    display: flex;
    gap: 8px;
    padding: 6px 12px;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

.tv-calendars-single[b-0jl47upiem] {
    flex-direction: column;
}
.tv-calendars-single .tv-cal-panel[b-0jl47upiem] {
    flex: 1 1 auto;
    min-height: 0;
}

/* ========== SLIDE DOTS ========== */
.tv-slide-dot[b-0jl47upiem] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--tv-border);
    background: transparent;
    margin: 0 3px;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.tv-slide-dot:hover[b-0jl47upiem] { border-color: var(--tv-accent-border); }
.tv-slide-dot-active[b-0jl47upiem] {
    background: var(--tv-norma-strong);
    border-color: var(--tv-norma-strong);
    transform: scale(1.25);
}

.tv-cal-panel[b-0jl47upiem] {
    flex: 1;
    background: var(--tv-bg-panel);
    border: 1px solid var(--tv-border);
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.tv-cal-title[b-0jl47upiem] {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--tv-text-strong);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 800;
    white-space: nowrap;
}

.tv-cal-table-wrapper[b-0jl47upiem] {
    overflow: auto;
    flex: 1;
}

.tv-cal-table[b-0jl47upiem] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tv-cal-table th[b-0jl47upiem], .tv-cal-table td[b-0jl47upiem] {
    padding: 4px 6px;
    text-align: center;
    border: 1px solid var(--tv-border-soft);
    white-space: nowrap;
    overflow: hidden;
}

.tv-cal-name-hdr[b-0jl47upiem] {
    text-align: left !important;
    color: var(--tv-text-muted);
    font-weight: 700;
    width: 280px;
    min-width: 280px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.tv-cal-day-hdr[b-0jl47upiem] {
    color: var(--tv-text-muted);
    font-size: calc(1.15rem * var(--tv-data-scale, 1));
    font-weight: 700;
}

.tv-cal-dow[b-0jl47upiem] {
    color: var(--tv-text-dim);
    font-size: calc(0.9rem * var(--tv-data-scale, 1));
    font-weight: 500;
}

.tv-cal-avg-hdr[b-0jl47upiem] {
    color: var(--tv-text-muted);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.tv-cal-name[b-0jl47upiem] {
    text-align: left !important;
    color: var(--tv-text-strong);
    font-weight: 800;
    font-size: calc(1.5rem * var(--tv-data-scale, 1));
    letter-spacing: 0.3px;
    padding-left: 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.tv-cal-cell[b-0jl47upiem] {
    font-size: calc(1.6rem * var(--tv-data-scale, 1));
    font-weight: 800;
}

.tv-cal-cell-green[b-0jl47upiem]   { background: var(--tv-good-bg); color: var(--tv-good); }
.tv-cal-cell-red[b-0jl47upiem]     { background: var(--tv-bad-bg);  color: var(--tv-bad); }
.tv-cal-cell-neutral[b-0jl47upiem] { background: var(--tv-bg-panel-3); color: var(--tv-text-muted); }
.tv-cal-cell-empty[b-0jl47upiem]   { background: transparent; color: var(--tv-text-ghost); }

.tv-cal-avg[b-0jl47upiem] {
    font-size: calc(1.6rem * var(--tv-data-scale, 1));
    font-weight: 800;
    color: var(--tv-accent);
    background: var(--tv-bg-cell-hi);
}

.tv-cal-dash[b-0jl47upiem] { color: var(--tv-text-ghost); }

.tv-cal-nodata[b-0jl47upiem] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tv-text-dim);
    font-size: 1.3rem;
}

/* ========== LOWER SECTION (chart) ========== */
.tv-lower[b-0jl47upiem] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 4px 12px 0;
    gap: 10px;
}

.tv-chart-section[b-0jl47upiem] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tv-empty[b-0jl47upiem] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tv-text-dim);
    font-size: 1.4rem;
}

/* CHART */
.tv-chart-outer[b-0jl47upiem] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tv-plot-row[b-0jl47upiem] {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 6px;
}

.tv-y-axis[b-0jl47upiem] {
    width: 56px;
    position: relative;
    flex: 0 0 56px;
}

.tv-y-label[b-0jl47upiem] {
    position: absolute;
    right: 4px;
    font-size: calc(1.2rem * var(--tv-data-scale, 1));
    font-weight: 700;
    color: var(--tv-text-dim);
    white-space: nowrap;
}

.tv-plot[b-0jl47upiem] {
    flex: 1;
    position: relative;
    min-width: 0;
}

.tv-gridline[b-0jl47upiem] {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: var(--tv-gridline);
    pointer-events: none;
}

.tv-norm-line[b-0jl47upiem] {
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: var(--tv-norma);
    z-index: 2;
    pointer-events: none;
}

.tv-norm-label[b-0jl47upiem] {
    position: absolute;
    right: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tv-norma);
    z-index: 2;
    letter-spacing: 0.06em;
}

.tv-bars-inner[b-0jl47upiem] {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0 6px;
}

.tv-bar-col[b-0jl47upiem] {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.tv-bar-value-above[b-0jl47upiem] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(2.2rem * var(--tv-data-scale, 1));
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
    line-height: 1;
    letter-spacing: 0.02em;
}

.tv-bar-value-inside[b-0jl47upiem] {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(2.9rem * var(--tv-data-scale, 1));
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    z-index: 3;
    line-height: 1;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.tv-bar[b-0jl47upiem] {
    width: 100%;
    border-radius: 6px 6px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tv-bar-green[b-0jl47upiem]   { background: linear-gradient(180deg, var(--tv-bar-green-top), var(--tv-bar-green-bot)); }
.tv-bar-red[b-0jl47upiem]     { background: linear-gradient(180deg, var(--tv-bar-red-top),   var(--tv-bar-red-bot)); }
.tv-bar-blue[b-0jl47upiem]    { background: linear-gradient(180deg, var(--tv-bar-blue-top),  var(--tv-bar-blue-bot)); }
.tv-val-green[b-0jl47upiem]   { color: var(--tv-good-strong); }
.tv-val-red[b-0jl47upiem]     { color: var(--tv-bad-strong); }
.tv-val-blue[b-0jl47upiem]    { color: var(--tv-blue-strong); }

.tv-x-row[b-0jl47upiem] {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
    padding-top: 5px;
}

.tv-x-spacer[b-0jl47upiem] { width: 62px; flex: 0 0 62px; }

.tv-x-labels[b-0jl47upiem] {
    flex: 1;
    display: flex;
    gap: 6px;
    padding: 0 6px;
}

.tv-x-label[b-0jl47upiem] {
    flex: 1;
    text-align: center;
    font-size: calc(1.5rem * var(--tv-data-scale, 1));
    color: var(--tv-text-strong);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* ========== CLOCK PANEL ========== */
.tv-clock-panel[b-0jl47upiem] {
    flex: 0 0 200px;
    background: var(--tv-bg-panel);
    border: 1px solid var(--tv-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
}

.tv-clock-label[b-0jl47upiem] {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--tv-text-dim);
    text-transform: uppercase;
    font-weight: 700;
}

.tv-clock-time[b-0jl47upiem] {
    font-size: calc(3.6rem * var(--tv-data-scale, 1));
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--tv-accent);
    line-height: 1;
}

.tv-clock-date[b-0jl47upiem] {
    font-size: 1.15rem;
    color: var(--tv-text-dim);
    font-weight: 700;
}

.tv-clock-day[b-0jl47upiem] {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--tv-text-dim);
    text-transform: uppercase;
    font-weight: 700;
}

/* ========== FOOTER ========== */
.tv-footer[b-0jl47upiem] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 14px;
    background: var(--tv-bg-footer);
    border-top: 1px solid var(--tv-border-faint);
    flex: 0 0 auto;
    min-height: 44px;
    gap: 12px;
}

.tv-footer-best[b-0jl47upiem] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
}

.tv-footer-label[b-0jl47upiem] {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--tv-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

.tv-footer-name[b-0jl47upiem] {
    font-size: calc(1.8rem * var(--tv-data-scale, 1));
    font-weight: 900;
    color: var(--tv-gold);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tv-footer-sep[b-0jl47upiem] { color: var(--tv-text-faint); font-size: 1.2rem; }

.tv-footer-score[b-0jl47upiem] {
    font-size: calc(1.4rem * var(--tv-data-scale, 1));
    font-weight: 800;
    color: var(--tv-gold-soft);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.tv-footer-refresh[b-0jl47upiem] {
    font-size: 0.8rem;
    color: var(--tv-text-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ========== TOP 10 LIST ========== */
.tv-top-section[b-0jl47upiem] {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
}

.tv-top-table[b-0jl47upiem] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    color: var(--tv-text-strong);
    table-layout: fixed;
}

.tv-top-table th[b-0jl47upiem] {
    padding: 5px 12px;
    color: var(--tv-text-muted);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    border-bottom: 2px solid var(--tv-border);
}

.tv-top-rank-hdr[b-0jl47upiem]   { width: 76px;  text-align: center !important; }
.tv-top-name-hdr[b-0jl47upiem]   { text-align: left; }
.tv-top-count-hdr[b-0jl47upiem]  { width: 220px; text-align: right !important; }
.tv-top-zamh-hdr[b-0jl47upiem]   { width: 220px; text-align: right !important; }

.tv-top-row[b-0jl47upiem] {
    background: var(--tv-bg-panel-2);
}

.tv-top-row td[b-0jl47upiem] {
    padding: 10px 14px;
    font-weight: 800;
    border-top: 1px solid var(--tv-border-soft);
    border-bottom: 1px solid var(--tv-border-soft);
}

.tv-top-podium[b-0jl47upiem] {
    background: linear-gradient(90deg, var(--tv-podium-bg) 0%, var(--tv-bg-panel-2) 60%);
}

.tv-top-rank[b-0jl47upiem] {
    text-align: center;
    font-size: calc(2.6rem * var(--tv-data-scale, 1));
    color: var(--tv-text-muted);
    width: 76px;
    font-weight: 900;
    line-height: 1;
}

.tv-top-rank-gold[b-0jl47upiem]   { color: var(--tv-gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.45); }
.tv-top-rank-silver[b-0jl47upiem] { color: var(--tv-silver); }
.tv-top-rank-bronze[b-0jl47upiem] { color: var(--tv-bronze); }

.tv-top-name[b-0jl47upiem] {
    font-size: calc(2.8rem * var(--tv-data-scale, 1));
    color: var(--tv-text-strong);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    line-height: 1.1;
}

.tv-top-count[b-0jl47upiem] {
    font-size: calc(3rem * var(--tv-data-scale, 1));
    color: var(--tv-gold-soft);
    text-align: right;
    line-height: 1;
}

.tv-top-zamh[b-0jl47upiem] {
    font-size: calc(2.4rem * var(--tv-data-scale, 1));
    color: var(--tv-text-muted);
    text-align: right;
    line-height: 1;
}

.tv-top-zamh-good[b-0jl47upiem]  { color: var(--tv-good-strong); }
.tv-top-zamh-bad[b-0jl47upiem]   { color: var(--tv-bad-strong); }
.tv-top-zamh-bonus[b-0jl47upiem] { color: var(--tv-good-strong); font-weight: 900; }

/* ========== KURIERZY ========== */
.tv-kur-section[b-0jl47upiem] {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tv-kur-grid[b-0jl47upiem] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px;
}

.tv-kur-tile[b-0jl47upiem] {
    background: var(--tv-bg-panel-2);
    border: 1px solid var(--tv-border);
    border-radius: 10px;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--tv-text-strong);
}

.tv-kur-tile-future[b-0jl47upiem] { opacity: 0.7; border-style: dashed; }
.tv-kur-tile-past[b-0jl47upiem]   { opacity: 0.5; filter: grayscale(0.85); }

.tv-kur-tile-logo[b-0jl47upiem] {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.tv-kur-tile-logo img[b-0jl47upiem] {
    max-height: 96px;
    max-width: 260px;
    object-fit: contain;
}

.tv-kur-tile-name-fallback[b-0jl47upiem] {
    font-size: calc(2rem * var(--tv-data-scale, 1));
    font-weight: 800;
    color: var(--tv-text-strong);
    text-align: center;
    letter-spacing: 0.02em;
}

.tv-kur-tile-count[b-0jl47upiem] {
    font-size: calc(5.4rem * var(--tv-data-scale, 1));
    font-weight: 900;
    line-height: 1;
    color: var(--tv-gold-soft);
    margin: 4px 0 8px;
    letter-spacing: 0.02em;
}

.tv-kur-tile-pickup[b-0jl47upiem] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: var(--tv-bg-cell-pickup);
    border-radius: 6px;
    padding: 6px 14px;
    margin-top: 2px;
}

.tv-kur-tile-pickup-label[b-0jl47upiem] {
    color: var(--tv-text-muted);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tv-kur-tile-pickup-time[b-0jl47upiem] {
    font-size: calc(2.2rem * var(--tv-data-scale, 1));
    font-weight: 900;
    color: var(--tv-text-strong);
    letter-spacing: 0.04em;
    line-height: 1;
}

.tv-kur-tile-packed[b-0jl47upiem] {
    margin-top: 6px;
    font-size: calc(1.3rem * var(--tv-data-scale, 1));
    color: var(--tv-good);
    font-weight: 700;
}

.tv-kur-tile-packed strong[b-0jl47upiem] {
    font-size: calc(1.5rem * var(--tv-data-scale, 1));
    font-weight: 900;
}

.tv-kur-past-divider[b-0jl47upiem] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tv-text-dim);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    font-weight: 700;
}

.tv-kur-past-divider[b-0jl47upiem]::before,
.tv-kur-past-divider[b-0jl47upiem]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--tv-border);
}

.tv-kur-stat[b-0jl47upiem] {
    margin-top: auto;
    color: var(--tv-text-muted);
    font-size: calc(1.4rem * var(--tv-data-scale, 1));
    text-align: right;
    padding: 4px 8px;
    font-weight: 600;
}

.tv-kur-stat strong[b-0jl47upiem] {
    color: var(--tv-good);
    font-size: calc(1.7rem * var(--tv-data-scale, 1));
    font-weight: 900;
}

/* Resizable column handles live in wwwroot/css/tv-resizable.css — they're
   injected at runtime by tv-resizable.js and would miss Blazor's CSS isolation
   scope attribute if defined here. */
/* /Components/Shared/Pagination.razor.rz.scp.css */
.pagination-container[b-4hqfx4l4fi] {
    margin: 1.5rem 0;
}

.pagination-header[b-4hqfx4l4fi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-size-selector[b-4hqfx4l4fi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-size-selector label[b-4hqfx4l4fi] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--global-palette6);
    margin: 0;
}

.page-size-selector .form-select[b-4hqfx4l4fi] {
    width: auto;
    min-width: 80px;
}

.pagination-info[b-4hqfx4l4fi] {
    font-size: 0.875rem;
    color: var(--global-palette6);
}

.pagination-info strong[b-4hqfx4l4fi] {
    color: var(--global-palette3);
    font-weight: 700;
}

.pagination-nav[b-4hqfx4l4fi] {
    display: flex;
    justify-content: center;
}

.pagination-modern[b-4hqfx4l4fi] {
    margin: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.pagination-modern .page-item[b-4hqfx4l4fi] {
    margin: 0;
}

.pagination-modern .page-link[b-4hqfx4l4fi] {
    color: var(--global-palette4);
    background-color: var(--global-palette9);
    border: 2px solid var(--global-palette7);
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    min-width: 42px;
    text-align: center;
}

.pagination-modern .page-link:hover:not(:disabled)[b-4hqfx4l4fi] {
    background: linear-gradient(135deg, var(--global-palette1) 0%, var(--global-palette2) 100%);
    color: var(--global-palette9);
    border-color: var(--global-palette1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 146, 68, 0.2);
}

.pagination-modern .page-item.active .page-link[b-4hqfx4l4fi] {
    background: linear-gradient(135deg, var(--global-palette1) 0%, var(--global-palette2) 100%);
    border-color: var(--global-palette1);
    color: var(--global-palette9);
    box-shadow: 0 4px 12px rgba(0, 146, 68, 0.3);
    transform: translateY(-1px);
}

.pagination-modern .page-item.disabled .page-link[b-4hqfx4l4fi] {
    color: var(--global-palette7);
    background-color: var(--global-palette8);
    border-color: var(--global-palette7);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-link-first[b-4hqfx4l4fi],
.page-link-last[b-4hqfx4l4fi],
.page-link-prev[b-4hqfx4l4fi],
.page-link-next[b-4hqfx4l4fi] {
    font-size: 1.125rem;
    font-weight: 700;
}

@media (max-width: 576px) {
    .pagination-header[b-4hqfx4l4fi] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-size-selector[b-4hqfx4l4fi],
    .pagination-info[b-4hqfx4l4fi] {
        justify-content: center;
        text-align: center;
    }
    
    .pagination-modern[b-4hqfx4l4fi] {
        gap: 0.125rem;
    }
    
    .pagination-modern .page-link[b-4hqfx4l4fi] {
        padding: 0.375rem 0.625rem;
        min-width: 36px;
        font-size: 0.75rem;
    }
}
