@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/AgriScale.Server.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-o0goms7yh0] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-o0goms7yh0] {
    flex: 1;
    color: #003b00;
}

#blazor-error-ui[b-o0goms7yh0] {
    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-o0goms7yh0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AgriScale.Server.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.top-navbar[b-aq0weygrog] {
    background-color: #146414;
    display: flex;
    align-items: center;
    height: 3.5rem;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand[b-aq0weygrog] {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding-right: 1.5rem;
    flex-shrink: 0;
}

    .navbar-brand:hover[b-aq0weygrog] {
        color: white;
        text-decoration: none;
    }

    .navbar-brand img[b-aq0weygrog] {
        width: 32px;
        height: auto;
    }

.navbar-toggler[b-aq0weygrog] {
    display: none;
}

.navbar-toggler-label[b-aq0weygrog] {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    margin-left: auto;
    padding: 0 0.25rem;
    line-height: 1;
    user-select: none;
}

.nav-content[b-aq0weygrog] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.nav-links[b-aq0weygrog] {
    display: flex;
    align-items: center;
}

.nav-links[b-aq0weygrog]  .nav-link {
    color: #EAFEE8;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 4px 4px 0 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-links[b-aq0weygrog]  a.active {
    background-color: rgba(255, 255, 255, 0.22);
    border-bottom-color: #7ee07e;
    color: white;
    font-weight: 500;
}

.nav-links[b-aq0weygrog]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
    text-decoration: none;
}

.nav-links[b-aq0weygrog]  svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.nav-actions[b-aq0weygrog] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links[b-aq0weygrog]  .dropdown-toggle {
    cursor: pointer;
}

.nav-links[b-aq0weygrog]  .dropdown-toggle.active {
    background-color: rgba(255, 255, 255, 0.22);
    border-bottom-color: #7ee07e;
    color: white;
    font-weight: 500;
}

.nav-links[b-aq0weygrog]  .dropdown-item.active,
.nav-links[b-aq0weygrog]  .dropdown-item:active {
    background-color: #146414;
    color: white;
}

@media (max-width: 640.98px) {
    .navbar-toggler-label[b-aq0weygrog] {
        display: flex;
        align-items: center;
    }

    .nav-content[b-aq0weygrog] {
        display: none;
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background-color: #146414;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 99;
    }

    .navbar-toggler:checked ~ .nav-content[b-aq0weygrog] {
        display: flex;
    }

    .nav-links[b-aq0weygrog] {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links[b-aq0weygrog]  .nav-link {
        height: auto;
        padding: 0.75rem 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 0;
    }

    .nav-links[b-aq0weygrog]  a.active {
        border-left-color: #7ee07e;
        border-bottom-color: transparent;
    }

    .nav-actions[b-aq0weygrog] {
        padding: 0.5rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-item.dropdown[b-aq0weygrog] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links[b-aq0weygrog]  .dropdown-toggle {
        pointer-events: none;
        height: auto;
        padding: 0.75rem 1rem 0.25rem;
        opacity: 0.65;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }

    .nav-links[b-aq0weygrog]  .dropdown-toggle::after {
        display: none;
    }

    .nav-links[b-aq0weygrog]  .dropdown-menu {
        position: static;
        display: block;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-links[b-aq0weygrog]  .dropdown-item {
        color: #EAFEE8;
        padding: 0.6rem 1rem 0.6rem 2.5rem;
        border-left: 3px solid transparent;
    }

    .nav-links[b-aq0weygrog]  .dropdown-item:hover,
    .nav-links[b-aq0weygrog]  .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.12);
        color: white;
    }

    .nav-links[b-aq0weygrog]  .dropdown-item.active {
        background-color: rgba(255, 255, 255, 0.22);
        border-left-color: #7ee07e;
        color: white;
    }
}
/* _content/AgriScale.Server.Web/Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jxubt2iyvz],
.components-reconnect-repeated-attempt-visible[b-jxubt2iyvz],
.components-reconnect-failed-visible[b-jxubt2iyvz],
.components-pause-visible[b-jxubt2iyvz],
.components-resume-failed-visible[b-jxubt2iyvz],
.components-rejoining-animation[b-jxubt2iyvz] {
    display: none;
}

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


#components-reconnect-modal[b-jxubt2iyvz] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-jxubt2iyvz 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* _content/AgriScale.Server.Web/Components/Pages/Dashboard.razor.rz.scp.css */
.dash[b-9rkbixmdvf] {
    --dash-ink: #003b00;
    --dash-line: rgba(0, 59, 0, 0.09);
    padding-bottom: 2.5rem;
    background: radial-gradient(64% 46% at 100% -8%, rgba(40, 163, 40, 0.10), transparent 72%);
}

/* ── Header ── */
.dash-head[b-9rkbixmdvf] {
    margin-bottom: 1.4rem;
}

.dash-head h1[b-9rkbixmdvf] {
    color: var(--dash-ink);
    font-size: 1.55rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #28A328;
    margin: 0 0 1.1rem;
}

.dash-controls[b-9rkbixmdvf] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem 1.75rem;
}

.dash-control[b-9rkbixmdvf] {
    display: flex;
    align-items: center;
    gap: 0.55rem 0.85rem;
    flex-wrap: wrap;
}

/* Date control stacks preset chips above the range picker (as on Transactions). */
.dash-control-date[b-9rkbixmdvf] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.dash-datepicker[b-9rkbixmdvf] {
    width: 270px;
    max-width: 100%;
}

.dash-control-label[b-9rkbixmdvf] {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 59, 0, 0.5);
}

/* ── KPI hero strip ── */
.dash-kpis[b-9rkbixmdvf] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ── Cards ── */
.dash-card[b-9rkbixmdvf] {
    background: #fff;
    border: 1px solid var(--dash-line);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 59, 0, 0.045);
    margin-bottom: 1rem;
}

.dash-card-head[b-9rkbixmdvf] {
    padding: 0.85rem 1.3rem 0.7rem;
    border-bottom: 1px solid rgba(0, 59, 0, 0.07);
}

.dash-card-head-row[b-9rkbixmdvf] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.dash-card-title[b-9rkbixmdvf] {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dash-ink);
    margin: 0;
}

.dash-card-hint[b-9rkbixmdvf] {
    font-size: 0.72rem;
    font-style: italic;
    color: rgba(0, 59, 0, 0.45);
    white-space: nowrap;
}

.dash-card-body[b-9rkbixmdvf] {
    padding: 1rem 1.3rem 1.2rem;
}

/* ── Bottom panels ── */
.dash-panels[b-9rkbixmdvf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .dash-kpis[b-9rkbixmdvf] {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-panels[b-9rkbixmdvf] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .dash-datepicker[b-9rkbixmdvf] {
        width: 100%;
    }
}
/* _content/AgriScale.Server.Web/Components/Pages/Payments/PaymentRunDetail.razor.rz.scp.css */
.payments-preview-table[b-1vxxvxggel] {
    width: 100%;
    border-collapse: collapse;
}

.payments-preview-table thead th[b-1vxxvxggel] {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #555;
    font-size: 0.875rem;
    background-color: #f8f9fa;
}

.payments-preview-table tbody td[b-1vxxvxggel] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.payments-preview-table tbody tr:hover:not(.gleba-detail-row)[b-1vxxvxggel] {
    background-color: #f8f9fa;
}

.gleba-detail-row > td[b-1vxxvxggel] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef !important;
}

.payments-gleba-table[b-1vxxvxggel] {
    border-collapse: collapse;
    margin-left: 1.5rem;
    width: calc(100% - 1.5rem);
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.payments-gleba-table thead th[b-1vxxvxggel] {
    text-align: left;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #666;
    font-size: 0.8rem;
    background-color: #fafafa;
}

.payments-gleba-table tbody td[b-1vxxvxggel] {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
    font-size: 0.875rem;
}

.payments-gleba-table tbody tr:last-child td[b-1vxxvxggel] {
    border-bottom: none;
}

.text-muted.small[b-1vxxvxggel] {
    color: #888 !important;
    font-size: 0.75rem;
}

.void-modal-card[b-1vxxvxggel] {
    width: 100%;
    max-width: 560px;
    margin: 16px;
}

.payments-toggle[b-1vxxvxggel] {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: rgba(0,0,0,0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

    .payments-toggle:hover[b-1vxxvxggel] {
        background-color: rgba(0,0,0,0.06);
    }

    .payments-toggle .chev[b-1vxxvxggel] {
        transition: transform 120ms ease;
    }

    .payments-toggle.is-collapsed .chev[b-1vxxvxggel] {
        transform: rotate(-90deg);
    }

.gleba-detail-row.is-hidden[b-1vxxvxggel] {
    display: none;
}

.payments-bulk-btn[b-1vxxvxggel] {
    background: transparent;
    border: none;
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02857em;
    line-height: 1.75;
}

    .payments-bulk-btn:hover:not(:disabled)[b-1vxxvxggel] {
        background-color: rgba(0,0,0,0.06);
    }

    .payments-bulk-btn:disabled[b-1vxxvxggel] {
        color: rgba(0,0,0,0.3);
        cursor: default;
    }

/* _content/AgriScale.Server.Web/Components/Pages/Payments/PaymentRunNew.razor.rz.scp.css */
.payments-preview-table[b-5kqu4hsfa4] {
    width: 100%;
    border-collapse: collapse;
}

.payments-preview-table thead th[b-5kqu4hsfa4] {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #555;
    font-size: 0.875rem;
    background-color: #f8f9fa;
}

.payments-preview-table tbody td[b-5kqu4hsfa4] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.payments-preview-table tbody tr:hover:not(.gleba-detail-row)[b-5kqu4hsfa4] {
    background-color: #f8f9fa;
}

.gleba-detail-row > td[b-5kqu4hsfa4] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef !important;
}

.payments-gleba-table[b-5kqu4hsfa4] {
    width: 100%;
    border-collapse: collapse;
    margin-left: 1.5rem;
    width: calc(100% - 1.5rem);
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.payments-gleba-table thead th[b-5kqu4hsfa4] {
    text-align: left;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #666;
    font-size: 0.8rem;
    background-color: #fafafa;
}

.payments-gleba-table tbody td[b-5kqu4hsfa4] {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
    font-size: 0.875rem;
}

.payments-gleba-table tbody tr:last-child td[b-5kqu4hsfa4] {
    border-bottom: none;
}

.text-muted.small[b-5kqu4hsfa4] {
    color: #888 !important;
    font-size: 0.75rem;
}

/* Plain <input> replacements for MudNumericField — outlined-dense look. */
.payments-num-input[b-5kqu4hsfa4] {
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    padding: 6px 8px;
    height: 40px;
    font-size: 1rem;
    line-height: 1.2;
    background-color: #fff;
    transition: border-color 120ms ease;
}

.payments-num-input:hover[b-5kqu4hsfa4] {
    border-color: rgba(0, 0, 0, 0.6);
}

.payments-num-input:focus[b-5kqu4hsfa4],
.payments-num-input:focus-visible[b-5kqu4hsfa4] {
    outline: none;
    border-color: #594ae2; /* MudBlazor primary */
    box-shadow: 0 0 0 1px #594ae2 inset;
}
/* _content/AgriScale.Server.Web/Components/Pages/Payments/Payments.razor.rz.scp.css */
.payments-table[b-wztwanlq9h] {
    border-radius: 6px;
    overflow: hidden;
}

[b-wztwanlq9h] .mud-table-head .mud-table-cell {
    background-color: rgba(20, 100, 20, 0.04);
    color: #003b00;
    font-weight: 600;
    white-space: nowrap;
}

[b-wztwanlq9h] .mud-table-row:hover {
    background-color: rgba(20, 100, 20, 0.06) !important;
}

[b-wztwanlq9h] .mud-table-cell {
    font-size: 0.9rem;
}
/* _content/AgriScale.Server.Web/Components/Pages/Transactions.razor.rz.scp.css */
/* ── Filter fields flex row ── */
.filter-fields[b-tc1m4qehco] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.875rem;
}

/* desktop (md ≥ 960px): single row, 24-unit proportions */
@media (min-width: 960px) {
    .ff-date[b-tc1m4qehco]     { flex: 5 1 0; }
    .ff-worker[b-tc1m4qehco]   { flex: 4 1 0; }
    .ff-group[b-tc1m4qehco]    { flex: 3 1 0; }
    .ff-bag[b-tc1m4qehco]      { flex: 2 1 0; }
    .ff-harvest[b-tc1m4qehco]  { flex: 3 1 0; }
    .ff-location[b-tc1m4qehco] { flex: 3 1 0; }
    .ff-seq[b-tc1m4qehco]      { flex: 2 1 0; }
    .ff-phone[b-tc1m4qehco]    { flex: 2 1 0; }
}

/* tablet (sm 600–959px): two rows */
@media (min-width: 600px) and (max-width: 959px) {
    .ff-date[b-tc1m4qehco]     { flex: 10 1 0; }
    .ff-worker[b-tc1m4qehco]   { flex: 7 1 0; }
    .ff-group[b-tc1m4qehco]    { flex: 8 1 0; }
    .ff-bag[b-tc1m4qehco]      { flex: 4 1 0; }
    .ff-harvest[b-tc1m4qehco]  { flex: 8 1 0; }
    .ff-location[b-tc1m4qehco] { flex: 8 1 0; }
    .ff-seq[b-tc1m4qehco]      { flex: 4 1 0; }
    .ff-phone[b-tc1m4qehco]    { flex: 4 1 0; }
}

/* mobile (xs < 600px): mostly stacked */
@media (max-width: 599px) {
    .ff-date[b-tc1m4qehco],
    .ff-harvest[b-tc1m4qehco],
    .ff-location[b-tc1m4qehco],
    .ff-group[b-tc1m4qehco]    { flex: 1 0 100%; }
    .ff-worker[b-tc1m4qehco]   { flex: 2 1 0; }
    .ff-bag[b-tc1m4qehco]      { flex: 1 1 0; }
    .ff-seq[b-tc1m4qehco]      { flex: 1 1 0; }
    .ff-phone[b-tc1m4qehco]    { flex: 2 1 0; }
}

/* ── Table cells ── */
[b-tc1m4qehco] .mud-table-cell {
    font-size: 0.875rem;
    white-space: nowrap;
}

[b-tc1m4qehco] .mud-table-head .mud-table-cell {
    background-color: rgba(20, 100, 20, 0.04);
    color: #003b00;
    white-space: nowrap;
}
/* _content/AgriScale.Server.Web/Components/Pages/Workers/Workers.razor.rz.scp.css */
.worker-name-cell[b-f6vbpaau97] {
    min-width: 240px;
    white-space: normal;
}

.worker-name-text[b-f6vbpaau97] {
    font-weight: 500;
}

.worker-group-chip[b-f6vbpaau97] {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    vertical-align: middle;
}
/* _content/AgriScale.Server.Web/Components/Shared/KpiCard.razor.rz.scp.css */
.kpi-card[b-8beki5rqkc] {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 59, 0, 0.09);
    border-radius: 14px;
    padding: 1.15rem 1.3rem 1.2rem 1.55rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 59, 0, 0.045);
    height: 100%;
}

.kpi-card[b-8beki5rqkc]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #28A328, #146414);
}

.kpi-card-eyebrow[b-8beki5rqkc] {
    display: block;
    font-size: 0.67rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 59, 0, 0.5);
    margin-bottom: 0.5rem;
}

.kpi-card-value[b-8beki5rqkc] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
    color: #003b00;
}

.kpi-card-unit[b-8beki5rqkc] {
    font-size: 0.92rem;
    font-weight: 600;
    color: #146414;
    margin-left: 0.22rem;
}

.kpi-card-delta[b-8beki5rqkc] {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.kpi-card-delta.is-up[b-8beki5rqkc] {
    color: #1e891e;
}

.kpi-card-delta.is-down[b-8beki5rqkc] {
    color: #c0492f;
}

.kpi-card-arrow[b-8beki5rqkc] {
    font-size: 0.62rem;
    vertical-align: 0.08em;
}

@media (max-width: 900px) {
    .kpi-card-value[b-8beki5rqkc] {
        font-size: 1.8rem;
    }
}
/* _content/AgriScale.Server.Web/Components/Shared/RankTable.razor.rz.scp.css */
.rank-table-scroll[b-vy97modqp0] {
    max-height: 22.5rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(40, 163, 40, 0.45) transparent;
}

.rank-table-scroll[b-vy97modqp0]::-webkit-scrollbar {
    width: 8px;
}

.rank-table-scroll[b-vy97modqp0]::-webkit-scrollbar-thumb {
    background: rgba(40, 163, 40, 0.4);
    border-radius: 4px;
}

.rank-table[b-vy97modqp0] {
    width: 100%;
    border-collapse: collapse;
}

.rank-table thead th[b-vy97modqp0] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 59, 0, 0.5);
    padding: 0.3rem 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(0, 59, 0, 0.14);
}

.rank-table thead th.rank-table-value[b-vy97modqp0] {
    text-align: right;
}

.rank-table-row td[b-vy97modqp0] {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 59, 0, 0.05);
    vertical-align: middle;
}

.rank-table-row:last-child td[b-vy97modqp0] {
    border-bottom: none;
}

.rank-table-row:hover td[b-vy97modqp0] {
    background: rgba(40, 163, 40, 0.04);
}

.rank-table-pos[b-vy97modqp0] {
    width: 2.2rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(0, 59, 0, 0.4);
}

.rank-table-pos.is-top[b-vy97modqp0] {
    color: #28A328;
    font-weight: 700;
}

.rank-table-name[b-vy97modqp0] {
    color: #003b00;
    font-weight: 500;
}

/* Full-width grayed reference track; the colored fill sits inside it. */
.rank-table-track[b-vy97modqp0] {
    margin-top: 0.32rem;
    height: 3px;
    border-radius: 2px;
    background: rgba(0, 59, 0, 0.12);
    overflow: hidden;
}

.rank-table-bar[b-vy97modqp0] {
    height: 100%;
    min-width: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #28A328, #146414);
}

.rank-table-num[b-vy97modqp0] {
    width: 6rem;
    text-align: center;
    color: rgba(0, 59, 0, 0.55);
    font-variant-numeric: tabular-nums;
}

/* Headers may wrap (some are two words); cell values stay on one line. */
.rank-table-row td.rank-table-num[b-vy97modqp0] {
    white-space: nowrap;
}

.rank-table-value[b-vy97modqp0] {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    color: #003b00;
    font-variant-numeric: tabular-nums;
}
/* _content/AgriScale.Server.Web/Components/Shared/WeightTrendChart.razor.rz.scp.css */
.trend-scroll[b-2l9jtr0v3a] {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(40, 163, 40, 0.45) transparent;
}

.trend-scroll[b-2l9jtr0v3a]::-webkit-scrollbar {
    height: 8px;
}

.trend-scroll[b-2l9jtr0v3a]::-webkit-scrollbar-thumb {
    background: rgba(40, 163, 40, 0.45);
    border-radius: 4px;
}

/* 14 columns fill the container exactly; extra days overflow and scroll. */
.trend-grid[b-2l9jtr0v3a] {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 300px;
}

.trend-col[b-2l9jtr0v3a] {
    flex: 0 0 calc(100% / 14);
    min-width: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 0 5px;
    position: relative;
}

/* Raise the hovered column so its tooltip paints over neighbouring bars. */
.trend-col:hover[b-2l9jtr0v3a] {
    z-index: 10;
}

/* CSS tooltip — replaces the native title attribute, which has a fixed
   ~0.5s browser delay. Appears near-instantly on hover. */
.trend-col[b-2l9jtr0v3a]::after {
    content: attr(data-tip);
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 7px;
    background: #003b00;
    color: #fff;
    font-size: 0.68rem;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.07s ease;
    z-index: 5;
}

.trend-col:hover[b-2l9jtr0v3a]::after {
    opacity: 1;
}

.trend-col-plot[b-2l9jtr0v3a] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 0;
    border-bottom: 1.5px solid rgba(0, 59, 0, 0.16);
}

.trend-bar[b-2l9jtr0v3a] {
    width: 100%;
    max-width: 34px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #34c534, #146414);
    transition: height 0.35s ease, background 0.15s ease;
}

.trend-bar:not(.is-empty)[b-2l9jtr0v3a] {
    min-height: 3px;
}

.trend-col:hover .trend-bar:not(.is-empty)[b-2l9jtr0v3a] {
    background: linear-gradient(180deg, #28A328, #0d4d0d);
}

.trend-col-label[b-2l9jtr0v3a] {
    flex: 0 0 auto;
    padding-top: 6px;
    text-align: center;
    font-size: 0.68rem;
    color: rgba(0, 59, 0, 0.55);
    white-space: nowrap;
}
