/* /Components/Layout/PublicScanLayout.razor.rz.scp.css */
.public-scan-shell[b-ssj2obhih1] {
    min-height: 100vh;
    background: var(--mud-palette-background, #F5F7FA);
}

.public-scan-header[b-ssj2obhih1] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--mud-palette-lines-default, #E4E9F0);
}

.public-scan-main[b-ssj2obhih1] {
    padding: 16px;
    max-width: 40rem;
    margin: 0 auto;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hhmgf2z5zn],
.components-reconnect-repeated-attempt-visible[b-hhmgf2z5zn],
.components-reconnect-failed-visible[b-hhmgf2z5zn],
.components-pause-visible[b-hhmgf2z5zn],
.components-resume-failed-visible[b-hhmgf2z5zn],
.components-rejoining-animation[b-hhmgf2z5zn] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Attrezzature/UbicazionePlanimetriaDialog.razor.rz.scp.css */
.floorplan-stage[b-kox8x9tc4z] {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    cursor: crosshair;
    background: #f4f4f4;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    overflow: hidden;
}

.floorplan-stage img[b-kox8x9tc4z] {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
    user-select: none;
}

.floorplan-pin[b-kox8x9tc4z] {
    position: absolute;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    z-index: 1;
}

.floorplan-pin.selected[b-kox8x9tc4z] {
    outline: 3px solid var(--mud-palette-tertiary);
    z-index: 2;
}
/* /Components/Pages/Anagrafiche/Attrezzature/AttrezzaturaMappaDialog.razor.rz.scp.css */
.floorplan-stage[b-rat6bftidp] {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    cursor: default;
    background: #f4f4f4;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    overflow: hidden;
}

.floorplan-stage img[b-rat6bftidp] {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
    user-select: none;
}

.floorplan-pin[b-rat6bftidp] {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    opacity: 0.72;
    z-index: 1;
}

.floorplan-pin.selected[b-rat6bftidp] {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-width: 3px;
    background: var(--mud-palette-error);
    opacity: 1;
    box-shadow: 0 0 0 3px var(--mud-palette-error), 0 2px 10px rgba(0, 0, 0, 0.45);
    z-index: 3;
    animation: pin-pulse-b-rat6bftidp 1.8s ease-out infinite;
}

@keyframes pin-pulse-b-rat6bftidp {
    0% {
        box-shadow: 0 0 0 3px var(--mud-palette-error), 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(228, 55, 75, 0.5);
    }
    70% {
        box-shadow: 0 0 0 3px var(--mud-palette-error), 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 14px rgba(228, 55, 75, 0);
    }
    100% {
        box-shadow: 0 0 0 3px var(--mud-palette-error), 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(228, 55, 75, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floorplan-pin.selected[b-rat6bftidp] {
        animation: none;
    }
}
/* /Components/Pages/Anagrafiche/Attrezzature/AttrezzaturaPubblica.razor.rz.scp.css */
.equipment-public-table[b-bkfyqnnb59] {
    width: 100%;
}

.equipment-public-table td:first-child[b-bkfyqnnb59] {
    width: 38%;
    color: var(--mud-palette-text-secondary);
    vertical-align: top;
    padding-left: 0;
}

.equipment-public-value[b-bkfyqnnb59] {
    font-weight: 600;
    padding-right: 0;
}
/* /Components/Pages/Anagrafiche/Attrezzature/Attrezzature.razor.rz.scp.css */
.attrezzature-table[b-61y0qd9vis]  .col-code {
    white-space: nowrap;
    width: 1%;
}

.attrezzature-table[b-61y0qd9vis]  .col-actions {
    white-space: nowrap;
    width: 1%;
    padding-left: 0;
    padding-right: 4px;
}

.attrezzature-table[b-61y0qd9vis]  .col-actions .mud-icon-button {
    width: 28px;
    height: 28px;
    padding: 2px;
}
/* /Components/Pages/Anagrafiche/Factory/LotExternalPartRow.razor.rz.scp.css */
.tree-leader[b-4kqw6acn5r] {
    flex: 1 1 auto;
    align-self: center;
    min-width: 1.5rem;
    height: 1px;
    margin: 0 0.5rem;
    background: repeating-linear-gradient(
        90deg,
        var(--mud-palette-lines-default) 0 2px,
        transparent 2px 6px);
}

.tree-row[b-4kqw6acn5r] {
    border-radius: 4px;
}

.tree-row:hover[b-4kqw6acn5r] {
    background-color: var(--mud-palette-action-default-hover);
}

@media (max-width: 599.98px) {
    .tree-row[b-4kqw6acn5r] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .tree-leader[b-4kqw6acn5r] {
        display: none;
    }
}
/* /Components/Pages/Anagrafiche/Factory/LotTreeNode.razor.rz.scp.css */
/* Connettori dell'albero (linea verticale tra fratelli + diramazione orizzontale verso ogni nodo),
   al posto della sola indentazione: aiutano a seguire la gerarchia quando l'albero e' profondo
   (Distinta Base fino a 4-5 livelli sui dati reali, tecnicamente fino a 15 lato backend).
   Niente "::deep": questo componente e' ricorsivo (il suo stesso markup si re-invoca per i figli), e
   lo scoping di Blazor si applica per FILE .razor, non per istanza - ogni livello di ricorsione
   produce comunque markup di QUESTO file, quindi i selettori normali bastano gia' a tutti i livelli.
   Tratto/colore cambiano per livello tramite le custom property --tree-line-* impostate dalle classi
   depth-N sul singolo <li>: essendo custom property, si ereditano automaticamente dai suoi
   pseudo-elementi ::before/::after senza doverle ripetere li'. Colori presi dalla palette MudBlazor
   (var(--mud-palette-*)), gia' theme-aware: MudBlazor ridefinisce le stesse variabili sotto il tema
   scuro, quindi qui non serve alcuna regola dark-mode separata. */

ul.tree-level[b-sjsmj1c7lj] {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

li.tree-node[b-sjsmj1c7lj] {
    position: relative;
    padding-left: 28px;
    list-style: none;
}

/* Diramazione orizzontale verso il nodo: allineata al centro verticale della riga (.tree-row, altezza
   circa 34px con py-1 + Typo.body2). Misurata dal top del <li> quindi resta ferma li' anche quando il
   nodo si espande e il <li> si allunga per contenere i figli sotto. */
li.tree-node > .tree-row[b-sjsmj1c7lj]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 20px;
    height: 0;
    border-top: var(--tree-line-width, 1.5px) var(--tree-line-style, solid) var(--tree-line-color, var(--mud-palette-lines-default));
}

/* Tronco verticale condiviso da tutti i fratelli allo stesso livello: si interrompe all'altezza della
   diramazione orizzontale sull'ultimo fratello, altrimenti continuerebbe a scendere nel vuoto sotto
   l'ultimo nodo del gruppo. */
li.tree-node[b-sjsmj1c7lj]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: var(--tree-line-width, 1.5px) var(--tree-line-style, solid) var(--tree-line-color, var(--mud-palette-lines-default));
}

li.tree-node:last-child[b-sjsmj1c7lj]::after {
    bottom: auto;
    height: 17px;
}

/* Radice (Depth 0): nessun fratello/genitore "visivo" da collegare (il gruppo di radici non ha un
   nodo padre disegnato), quindi niente diramazione ne' tronco e nessun rientro. */
li.tree-node.depth-0[b-sjsmj1c7lj] {
    padding-left: 0;
}

li.tree-node.depth-0[b-sjsmj1c7lj]::after,
li.tree-node.depth-0 > .tree-row[b-sjsmj1c7lj]::before {
    display: none;
}

/* Stile del tratto per livello: si assottiglia e cambia colore scendendo di profondita', per
   distinguere i livelli a colpo d'occhio. Oltre depth-4 lo stile si ripete (nella pratica osservata
   sui dati reali l'albero non supera i 4-5 livelli). */
.depth-0[b-sjsmj1c7lj] { --tree-line-color: var(--mud-palette-primary); --tree-line-width: 2px; --tree-line-style: solid; }
.depth-1[b-sjsmj1c7lj] { --tree-line-color: var(--mud-palette-info); --tree-line-width: 2px; --tree-line-style: solid; }
.depth-2[b-sjsmj1c7lj] { --tree-line-color: var(--mud-palette-secondary); --tree-line-width: 1.5px; --tree-line-style: solid; }
.depth-3[b-sjsmj1c7lj] { --tree-line-color: var(--mud-palette-lines-default); --tree-line-width: 1.5px; --tree-line-style: dashed; }
.depth-4-plus[b-sjsmj1c7lj] { --tree-line-color: var(--mud-palette-lines-default); --tree-line-width: 1px; --tree-line-style: dotted; }

/* Il testo del nodo sta a sinistra e i totali a destra: i puntini riempiono il vuoto e tengono
   l'occhio sulla stessa riga. Lo sfondo al passaggio del mouse fa lo stesso su tutta la larghezza. */
.tree-leader[b-sjsmj1c7lj] {
    flex: 1 1 auto;
    align-self: center;
    min-width: 1.5rem;
    height: 1px;
    margin: 0 0.5rem;
    background: repeating-linear-gradient(
        90deg,
        var(--mud-palette-lines-default) 0 2px,
        transparent 2px 6px);
}

.tree-row[b-sjsmj1c7lj] {
    border-radius: 4px;
}

.tree-row:hover[b-sjsmj1c7lj] {
    background-color: var(--mud-palette-action-default-hover);
}

/* Lotto master con almeno un discendente ancora aperto: la riga si distingue anche da chiusa. */
.tree-row.has-open-descendant[b-sjsmj1c7lj] {
    background-color: color-mix(in srgb, var(--mud-palette-warning) 14%, transparent);
    box-shadow: inset 3px 0 0 var(--mud-palette-warning);
}

.tree-row.has-open-descendant:hover[b-sjsmj1c7lj] {
    background-color: color-mix(in srgb, var(--mud-palette-warning) 22%, transparent);
}

/* Schermi stretti: rientro/diramazione ridotti, altrimenti 4-5 livelli spingono il contenuto della
   riga fuori dallo schermo prima ancora di arrivare al testo. */
@media (max-width: 599.98px) {
    li.tree-node[b-sjsmj1c7lj] {
        padding-left: 16px;
    }

    li.tree-node > .tree-row[b-sjsmj1c7lj]::before {
        width: 10px;
    }

    /* La riga puo' avere fino a 4 chip di coda (lavorazioni, versati, stato, quantita'): su schermi
       stretti non ci stanno tutte accanto al testo, altrimenti le ultime restano tagliate fuori dallo
       schermo (nessuno scroll orizzontale nella pagina). Vanno a capo invece di sparire. */
    .tree-row[b-sjsmj1c7lj] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .tree-leader[b-sjsmj1c7lj] {
        display: none;
    }
}
/* /Components/Pages/Anagrafiche/Factory/OperatorsList.razor.rz.scp.css */
.operator-present-chip[b-bz91pvhlds] {
    border-radius: 999px;
    font-weight: 500;
}
/* /Components/Pages/Anagrafiche/Factory/OperatorWorkSessionsTable.razor.rz.scp.css */
.work-sessions-table-wrap[b-cwbnfak3xv] {
    width: 100%;
    max-width: 100%;
}

.work-sessions-table-wrap .mud-table-container[b-cwbnfak3xv] {
    width: 100%;
    max-width: 100%;
}

.work-sessions-table[b-cwbnfak3xv] {
    width: 100%;
    table-layout: auto;
}

.work-col-kind[b-cwbnfak3xv] {
    width: 2.75rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    white-space: nowrap;
}

.work-col-date[b-cwbnfak3xv] {
    width: 5.5rem;
    white-space: nowrap;
}

.work-session-type-badge[b-cwbnfak3xv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.625rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.work-session-type-badge--operator[b-cwbnfak3xv] {
    background-color: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
}

.work-session-type-badge--machine[b-cwbnfak3xv] {
    background-color: var(--mud-palette-secondary);
    color: var(--mud-palette-secondary-text);
}

.work-col-time[b-cwbnfak3xv] {
    width: 5.5rem;
    white-space: nowrap;
}

.work-col-duration[b-cwbnfak3xv] {
    width: 4.75rem;
    text-align: right;
    white-space: nowrap;
}

.work-col-job[b-cwbnfak3xv] {
    min-width: 6rem;
    white-space: nowrap;
}

.work-col-phase[b-cwbnfak3xv] {
    min-width: 8rem;
    max-width: 18rem;
    white-space: normal;
}

.work-col-actions[b-cwbnfak3xv] {
    width: 5rem;
    white-space: nowrap;
}

.work-col-actions .mud-icon-button[b-cwbnfak3xv] {
    margin: -4px;
}

.work-session-open .mud-table-cell[b-cwbnfak3xv] {
    background-color: var(--mud-palette-background-gray);
}

.work-session-suspended .mud-table-cell[b-cwbnfak3xv] {
    background-color: var(--mud-palette-warning-hover);
}

.work-session-orphan .mud-table-cell[b-cwbnfak3xv] {
    background-color: var(--mud-palette-warning-hover);
}

.work-session-orphan .work-col-kind[b-cwbnfak3xv] {
    box-shadow: inset 3px 0 0 var(--mud-palette-warning);
}

.work-session-status-chip[b-cwbnfak3xv] {
    border-radius: 999px;
    font-weight: 500;
}

.work-session-time-outside[b-cwbnfak3xv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    color: var(--mud-palette-error);
    border: 1px solid var(--mud-palette-error);
    background-color: rgba(var(--mud-palette-error-rgb), 0.08);
    font-weight: 600;
    white-space: nowrap;
}
/* /Components/Pages/Anagrafiche/Factory/OperatorWorkTicketSearchDialog.razor.rz.scp.css */
.work-ticket-search-dialog[b-mtzlsr1ghy] {
    width: 100%;
}

.work-ticket-search-dialog--results[b-mtzlsr1ghy] {
    width: 100%;
}

.work-ticket-search-table-wrap[b-mtzlsr1ghy] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.work-ticket-search-table-wrap[b-mtzlsr1ghy]  .mud-table-root {
    width: 100%;
    min-width: 56rem;
    table-layout: fixed;
}

.work-ticket-search-col-job[b-mtzlsr1ghy] {
    width: 7.5rem;
    text-align: center;
}

.work-ticket-search-col-customer[b-mtzlsr1ghy] {
    width: 22%;
}

.work-ticket-search-col-lot[b-mtzlsr1ghy] {
    width: 36%;
}

.work-ticket-search-col-phase[b-mtzlsr1ghy] {
    width: 36%;
}

/* max-width:0 + table-layout:fixed forza ellipsis e evita sovrapposizione tra colonne. */
.work-ticket-search-table-wrap[b-mtzlsr1ghy]  .work-ticket-search-col-customer,
.work-ticket-search-table-wrap[b-mtzlsr1ghy]  .work-ticket-search-col-lot,
.work-ticket-search-table-wrap[b-mtzlsr1ghy]  .work-ticket-search-col-phase {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}

.work-ticket-job-cell[b-mtzlsr1ghy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
}

.work-ticket-code-label[b-mtzlsr1ghy] {
    font-size: 0.75rem;
    line-height: 1.1;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.work-ticket-job-badge[b-mtzlsr1ghy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: default;
}

.work-ticket-job-badge--open[b-mtzlsr1ghy] {
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    background-color: transparent;
}

.work-ticket-job-badge--closed[b-mtzlsr1ghy] {
    color: var(--mud-palette-error);
    border: 1px solid var(--mud-palette-error);
    background-color: rgba(var(--mud-palette-error-rgb), 0.08);
}
/* /Components/Pages/Anagrafiche/Factory/PartTreeNode.razor.rz.scp.css */
/* Connettori dell'albero (linea verticale tra fratelli + diramazione orizzontale verso ogni nodo),
   al posto della sola indentazione: aiutano a seguire la gerarchia quando l'albero e' profondo
   (Distinta Base fino a 4-5 livelli sui dati reali, tecnicamente fino a 15 lato backend).
   Niente "::deep": questo componente e' ricorsivo (il suo stesso markup si re-invoca per i figli), e
   lo scoping di Blazor si applica per FILE .razor, non per istanza - ogni livello di ricorsione
   produce comunque markup di QUESTO file, quindi i selettori normali bastano gia' a tutti i livelli.
   Tratto/colore cambiano per livello tramite le custom property --tree-line-* impostate dalle classi
   depth-N sul singolo <li>: essendo custom property, si ereditano automaticamente dai suoi
   pseudo-elementi ::before/::after senza doverle ripetere li'. Colori presi dalla palette MudBlazor
   (var(--mud-palette-*)), gia' theme-aware: MudBlazor ridefinisce le stesse variabili sotto il tema
   scuro, quindi qui non serve alcuna regola dark-mode separata. */

ul.tree-level[b-71q04o21nj] {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

li.tree-node[b-71q04o21nj] {
    position: relative;
    padding-left: 28px;
    list-style: none;
}

/* Diramazione orizzontale verso il nodo: allineata al centro verticale della riga (.tree-row, altezza
   circa 34px con py-1 + Typo.body2). Misurata dal top del <li> quindi resta ferma li' anche quando il
   nodo si espande e il <li> si allunga per contenere i figli sotto. */
li.tree-node > .tree-row[b-71q04o21nj]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 20px;
    height: 0;
    border-top: var(--tree-line-width, 1.5px) var(--tree-line-style, solid) var(--tree-line-color, var(--mud-palette-lines-default));
}

/* Tronco verticale condiviso da tutti i fratelli allo stesso livello: si interrompe all'altezza della
   diramazione orizzontale sull'ultimo fratello, altrimenti continuerebbe a scendere nel vuoto sotto
   l'ultimo nodo del gruppo. */
li.tree-node[b-71q04o21nj]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: var(--tree-line-width, 1.5px) var(--tree-line-style, solid) var(--tree-line-color, var(--mud-palette-lines-default));
}

li.tree-node:last-child[b-71q04o21nj]::after {
    bottom: auto;
    height: 17px;
}

/* Radice (Depth 0): nessun fratello/genitore "visivo" da collegare (il gruppo di radici non ha un
   nodo padre disegnato), quindi niente diramazione ne' tronco e nessun rientro. */
li.tree-node.depth-0[b-71q04o21nj] {
    padding-left: 0;
}

li.tree-node.depth-0[b-71q04o21nj]::after,
li.tree-node.depth-0 > .tree-row[b-71q04o21nj]::before {
    display: none;
}

/* Stile del tratto per livello: si assottiglia e cambia colore scendendo di profondita', per
   distinguere i livelli a colpo d'occhio. Oltre depth-4 lo stile si ripete (nella pratica osservata
   sui dati reali l'albero non supera i 4-5 livelli). */
.depth-0[b-71q04o21nj] { --tree-line-color: var(--mud-palette-primary); --tree-line-width: 2px; --tree-line-style: solid; }
.depth-1[b-71q04o21nj] { --tree-line-color: var(--mud-palette-info); --tree-line-width: 2px; --tree-line-style: solid; }
.depth-2[b-71q04o21nj] { --tree-line-color: var(--mud-palette-secondary); --tree-line-width: 1.5px; --tree-line-style: solid; }
.depth-3[b-71q04o21nj] { --tree-line-color: var(--mud-palette-lines-default); --tree-line-width: 1.5px; --tree-line-style: dashed; }
.depth-4-plus[b-71q04o21nj] { --tree-line-color: var(--mud-palette-lines-default); --tree-line-width: 1px; --tree-line-style: dotted; }

/* Schermi stretti: rientro/diramazione ridotti, altrimenti 4-5 livelli spingono il contenuto della
   riga fuori dallo schermo prima ancora di arrivare al testo. */
@media (max-width: 599.98px) {
    li.tree-node[b-71q04o21nj] {
        padding-left: 16px;
    }

    li.tree-node > .tree-row[b-71q04o21nj]::before {
        width: 10px;
    }
}
/* /Components/Pages/Anagrafiche/Factory/WorkTicketSearchDialog.razor.rz.scp.css */
.work-ticket-search-dialog[b-2k1zbfh3nw] {
    width: 100%;
}

.work-ticket-search-dialog--results[b-2k1zbfh3nw] {
    width: 100%;
}

.work-ticket-search-table-wrap[b-2k1zbfh3nw] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.work-ticket-search-table-wrap[b-2k1zbfh3nw]  .mud-table-root {
    width: 100%;
    min-width: 56rem;
    table-layout: fixed;
}

.work-ticket-search-col-job[b-2k1zbfh3nw] {
    width: 7.5rem;
    text-align: center;
}

.work-ticket-search-col-customer[b-2k1zbfh3nw] {
    width: 22%;
}

.work-ticket-search-col-lot[b-2k1zbfh3nw] {
    width: 36%;
}

.work-ticket-search-col-phase[b-2k1zbfh3nw] {
    width: 36%;
}

/* max-width:0 + table-layout:fixed forza ellipsis e evita sovrapposizione tra colonne. */
.work-ticket-search-table-wrap[b-2k1zbfh3nw]  .work-ticket-search-col-customer,
.work-ticket-search-table-wrap[b-2k1zbfh3nw]  .work-ticket-search-col-lot,
.work-ticket-search-table-wrap[b-2k1zbfh3nw]  .work-ticket-search-col-phase {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}

.work-ticket-job-cell[b-2k1zbfh3nw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
}

.work-ticket-code-label[b-2k1zbfh3nw] {
    font-size: 0.75rem;
    line-height: 1.1;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.work-ticket-job-badge[b-2k1zbfh3nw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: default;
}

.work-ticket-job-badge--open[b-2k1zbfh3nw] {
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    background-color: transparent;
}

.work-ticket-job-badge--closed[b-2k1zbfh3nw] {
    color: var(--mud-palette-error);
    border: 1px solid var(--mud-palette-error);
    background-color: rgba(var(--mud-palette-error-rgb), 0.08);
}
/* /Components/Pages/Anagrafiche/FieldGroup.razor.rz.scp.css */
/* Sotto i 600px (schermi telefono) la griglia a colonne fisse (vedi FieldGroup.razor, il layout
   desktop/tablet resta un CSS Grid a N colonne con posizioni assolute per campo) diventa illeggibile:
   ogni campo si schiaccia invece di semplicemente impilarsi. "!important" e' necessario perche' le
   posizioni grid-column/grid-row sono impostate inline per campo (dipendono dal layout salvato
   dall'utente) e normalmente vincono sempre su una regola da foglio di stile esterno.
   Passare il contenitore da grid a block basta a neutralizzarle: fuori da un contesto grid,
   grid-column/grid-row non hanno piu' alcun effetto sui figli, che tornano quindi al flusso
   normale del documento (un campo per riga, nello stesso ordine gia' visibile su desktop). */
@media (max-width: 599.98px) {
    .field-grid[b-xc21409vmd] {
        display: block !important;
    }

    .field-grid-item[b-xc21409vmd] {
        margin-bottom: 8px;
    }
}
/* /Components/Pages/Anagrafiche/Sap/EmployeesList.razor.rz.scp.css */
.operator-present-chip[b-h6c022h0ar] {
    border-radius: 999px;
    font-weight: 500;
}
/* /Components/Pages/Anagrafiche/Sap/OrdineFornitore.razor.rz.scp.css */
.po-print-wrap[b-532pmiu8ly] {
    overflow-x: auto;
}

.po-print-table[b-532pmiu8ly] {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid var(--mud-palette-lines-default);
}

.po-print-table th[b-532pmiu8ly],
.po-print-table td[b-532pmiu8ly] {
    padding: 4px 8px;
    border: none;
    border-right: 1px solid var(--mud-palette-lines-default);
    vertical-align: top;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.po-print-table th:last-child[b-532pmiu8ly],
.po-print-table td:last-child[b-532pmiu8ly] {
    border-right: none;
}

.po-print-table th[b-532pmiu8ly] {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-background-gray);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.po-col-code[b-532pmiu8ly] {
    width: 13%;
    white-space: nowrap;
}

.po-col-article[b-532pmiu8ly],
.po-article-cell[b-532pmiu8ly] {
    width: 43%;
}

.po-col-num[b-532pmiu8ly] {
    width: 8%;
    text-align: right;
    white-space: nowrap;
}

.po-col-um[b-532pmiu8ly] {
    width: 4%;
    text-align: center;
}

.po-col-date[b-532pmiu8ly] {
    width: 8%;
    white-space: nowrap;
}

.po-item-title[b-532pmiu8ly] {
    font-weight: 600;
}

.po-print-text[b-532pmiu8ly] {
    white-space: pre-wrap;
}

.po-item-row .po-print-text[b-532pmiu8ly],
.po-item-row .po-print-meta[b-532pmiu8ly] {
    margin-top: 2px;
}

.po-print-meta[b-532pmiu8ly] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.po-item-row td[b-532pmiu8ly] {
    padding-top: 10px;
}

.po-item-row:first-child td[b-532pmiu8ly],
.po-print-table tbody tr:first-child td[b-532pmiu8ly] {
    padding-top: 6px;
}

.po-text-row td[b-532pmiu8ly] {
    padding-top: 1px;
    padding-bottom: 1px;
}

.po-subtotal-row td[b-532pmiu8ly] {
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
}
/* /Components/Pages/Anagrafiche/Sap/ProgettoAnalisiElaborazione.razor.rz.scp.css */
.analisi-elaborazione[b-pcmzvk5t1q] {
    min-height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Components/Pages/Anagrafiche/Sap/ProgettoAnalisiPanel.razor.rz.scp.css */
.analisi-wrap[b-70b0v121xd] {
    overflow: auto;
    max-height: calc(100vh - 280px);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
}

.analisi-table[b-70b0v121xd] {
    border-collapse: separate;
    border-spacing: 0;
    width: max-content;
    min-width: 100%;
    font-size: 0.75rem;
    line-height: 1.35;
}

.analisi-table th[b-70b0v121xd],
.analisi-table td[b-70b0v121xd] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-right: 1px solid var(--mud-palette-lines-default);
    padding: 0.35rem 0.55rem;
    white-space: nowrap;
    vertical-align: middle;
}

.analisi-table th:nth-child(-n+3)[b-70b0v121xd],
.analisi-table td:nth-child(-n+3)[b-70b0v121xd] {
    white-space: normal;
    min-width: 9rem;
    max-width: 22rem;
}

.analisi-table th:nth-child(3)[b-70b0v121xd],
.analisi-table td:nth-child(3)[b-70b0v121xd] {
    min-width: 12rem;
}

.analisi-table th:last-child[b-70b0v121xd],
.analisi-table td:last-child[b-70b0v121xd] {
    border-right: none;
}

.analisi-table th[b-70b0v121xd] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: 600;
    text-align: left;
}

.analisi-table th.num[b-70b0v121xd] {
    text-align: right;
}

.analisi-table td.num[b-70b0v121xd] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.analisi-table .is-negative[b-70b0v121xd] {
    color: var(--mud-palette-error);
}

.analisi-row-total td[b-70b0v121xd] {
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, var(--mud-palette-surface));
    font-weight: 600;
}

.analisi-row-project td[b-70b0v121xd] {
    background: color-mix(in srgb, var(--mud-palette-primary) 22%, var(--mud-palette-surface));
}

.analisi-row-detail td[b-70b0v121xd] {
    background: var(--mud-palette-surface);
}

.analisi-row-detail:hover td[b-70b0v121xd] {
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, var(--mud-palette-surface));
}

.analisi-toggle[b-70b0v121xd] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.analisi-toggle:hover[b-70b0v121xd] {
    text-decoration: underline;
}
/* /Components/Pages/Commesse/CommessaDetail.razor.rz.scp.css */
.queued-transfer[b-7i6qpn9veg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.queue-ban-badge[b-7i6qpn9veg] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    height: 1.35rem;
    padding: 0 7px;
    border: 2px solid var(--mud-palette-error);
    border-radius: 999px;
    color: var(--mud-palette-error);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.queue-ban-badge[b-7i6qpn9veg]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top right,
        transparent calc(50% - 1px),
        var(--mud-palette-error) 50%,
        transparent calc(50% + 1px)
    );
    pointer-events: none;
}
/* /Components/Pages/Commesse/ShaftsWithCoil.razor.rz.scp.css */
.shafts-with-coil-table[b-amp1yc2xbe] {
    overflow-x: auto;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .mud-table-root {
    min-width: 1100px;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .mud-table-cell {
    white-space: nowrap;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .mud-table-cell.due-overdue {
    background-color: #fecaca !important;
    font-weight: 600;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .mud-table-cell.due-soon {
    background-color: #fde68a !important;
    font-weight: 600;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .col-consegna {
    width: 1%;
    white-space: nowrap;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-level-row > td {
    border-top: none !important;
    background: transparent;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.35rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.35rem 0.5rem 0.55rem;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-block {
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
    padding: 0.3rem 0.45rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    background: #ffffff;
    white-space: nowrap;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-block.phase-done {
    background-color: #bbf7d0 !important;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-block.phase-progress {
    background-color: #fef08a !important;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-block.phase-empty {
    background-color: #ffffff !important;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-label {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.15rem;
    color: var(--mud-palette-text-secondary);
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1.2;
    font-size: 0.8125rem;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-ratio {
    white-space: nowrap;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-sep {
    color: var(--mud-palette-text-secondary);
    opacity: 0.7;
    line-height: 1;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-timesheet {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    color: var(--mud-palette-text-secondary);
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-timesheet .mud-icon-root {
    font-size: 1rem !important;
    width: 1rem;
    height: 1rem;
}

.shafts-with-coil-table[b-amp1yc2xbe]  .phase-date {
    font-size: 0.75rem;
    white-space: nowrap;
}

.phase-tooltip-list[b-amp1yc2xbe] {
    max-width: 22rem;
    line-height: 1.35;
}

.phase-tooltip-title[b-amp1yc2xbe] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
/* /Components/Pages/Energia/Distribuzione/DistributionConsumption.razor.rz.scp.css */
.distribution-consumption[b-vtbsk4je3b] {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 600px) {
    .distribution-consumption .consumption-lead[b-vtbsk4je3b] {
        font-size: 0.875rem;
    }

    .distribution-consumption .consumption-panel[b-vtbsk4je3b] {
        padding: 12px !important;
    }

    .distribution-consumption .consumption-node-head[b-vtbsk4je3b] {
        align-items: flex-start !important;
        gap: 8px;
    }

    .distribution-consumption .consumption-live-kw[b-vtbsk4je3b] {
        margin-left: auto;
    }

    .distribution-consumption .consumption-chart-toolbar[b-vtbsk4je3b] {
        gap: 12px;
    }

    .distribution-consumption .consumption-period-scroll[b-vtbsk4je3b] {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 2px;
    }

    .distribution-consumption .consumption-period[b-vtbsk4je3b] {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .distribution-consumption .consumption-period-nav[b-vtbsk4je3b] {
        width: 100%;
        justify-content: center;
    }

    .distribution-consumption .consumption-caption[b-vtbsk4je3b] {
        text-align: center;
        font-size: 0.95rem;
    }
}
/* /Components/Pages/Energia/Distribuzione/NetworkDiagram.razor.rz.scp.css */
.diagram-scroll[b-478zc0vt8a] {
    overflow: auto;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.diagram-scroll svg[b-478zc0vt8a] {
    display: block;
    margin: 0 auto;
    max-width: none;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Su mobile: altezza contenuta; se lo schema è più largo del telefono si scrolla senza comprimere i nodi. */
@media (max-width: 600px) {
    .diagram-scroll[b-478zc0vt8a] {
        max-height: min(58vh, 420px);
        margin-inline: -4px;
        padding-bottom: 4px;
    }
}

.diagram-scroll .node[b-478zc0vt8a],
.diagram-scroll .edge[b-478zc0vt8a] {
    cursor: pointer;
}

.diagram-scroll .node-box[b-478zc0vt8a] {
    fill: var(--mud-palette-surface);
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1.5;
}

.diagram-scroll .node.root .node-box[b-478zc0vt8a] {
    stroke: var(--mud-palette-primary);
    stroke-width: 2;
}

.diagram-scroll .node:hover .node-box[b-478zc0vt8a] {
    stroke: var(--mud-palette-primary);
}

.diagram-scroll .root-accent[b-478zc0vt8a] {
    fill: var(--mud-palette-primary);
}

.diagram-scroll .node-title[b-478zc0vt8a] {
    fill: var(--mud-palette-text-primary);
    font-size: 14px;
    font-weight: 600;
}

.diagram-scroll .node-subtitle[b-478zc0vt8a],
.diagram-scroll .edge-detail[b-478zc0vt8a] {
    fill: var(--mud-palette-text-secondary);
    font-size: 12px;
}

.diagram-scroll .node.live .node-subtitle[b-478zc0vt8a],
.diagram-scroll .edge-power[b-478zc0vt8a] {
    fill: var(--mud-palette-primary);
    font-size: 13px;
    font-weight: 700;
}

.diagram-scroll .edge-power[b-478zc0vt8a] {
    text-anchor: middle;
}

.diagram-scroll .node.selected .node-box[b-478zc0vt8a],
.diagram-scroll .edge.selected .edge-line[b-478zc0vt8a],
.diagram-scroll .edge.selected .edge-label[b-478zc0vt8a] {
    stroke: var(--mud-palette-primary);
    stroke-width: 2.5;
}

.diagram-scroll .edge-hit[b-478zc0vt8a] {
    fill: none;
    stroke: transparent;
    stroke-width: 18;
}

.diagram-scroll .edge-line[b-478zc0vt8a] {
    fill: none;
    stroke: var(--mud-palette-text-secondary);
    stroke-width: 1.5;
}

.diagram-scroll .edge-line.direct[b-478zc0vt8a] {
    stroke: var(--mud-palette-success);
}

.diagram-scroll .edge-line.derived[b-478zc0vt8a] {
    stroke: var(--mud-palette-info);
}

.diagram-scroll .edge-line.unresolved[b-478zc0vt8a] {
    stroke: var(--mud-palette-warning);
}

.diagram-scroll .edge-arrow[b-478zc0vt8a] {
    fill: var(--mud-palette-text-secondary);
}

.diagram-scroll .edge-arrow.direct[b-478zc0vt8a] {
    fill: var(--mud-palette-success);
}

.diagram-scroll .edge-arrow.derived[b-478zc0vt8a] {
    fill: var(--mud-palette-info);
}

.diagram-scroll .edge-arrow.unresolved[b-478zc0vt8a] {
    fill: var(--mud-palette-warning);
}

.diagram-scroll .edge-label[b-478zc0vt8a] {
    fill: var(--mud-palette-surface);
    stroke: var(--mud-palette-lines-default);
    stroke-width: 1.5;
}

.diagram-scroll .edge-label.direct[b-478zc0vt8a] {
    stroke: var(--mud-palette-success);
}

.diagram-scroll .edge-label.derived[b-478zc0vt8a] {
    stroke: var(--mud-palette-info);
}

.diagram-scroll .edge-label.unresolved[b-478zc0vt8a] {
    stroke: var(--mud-palette-warning);
}

.diagram-scroll .edge:hover .edge-label[b-478zc0vt8a] {
    stroke-width: 2;
}

.diagram-scroll .edge-title[b-478zc0vt8a] {
    fill: var(--mud-palette-text-primary);
    font-size: 12px;
    font-weight: 600;
    text-anchor: middle;
}

.diagram-scroll .edge-detail[b-478zc0vt8a] {
    text-anchor: middle;
}
/* /Components/Pages/Energia/Solar/Register.razor.rz.scp.css */
.registro-legend[b-3aftc8t6ll] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
}

.registro-legend span[b-3aftc8t6ll] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.swatch[b-3aftc8t6ll] {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid var(--mud-palette-divider);
}

.swatch.manual[b-3aftc8t6ll] {
    background: #fff3a0;
}

.swatch.estimated[b-3aftc8t6ll] {
    background: #e8f1fb;
}

.registro-meter[b-3aftc8t6ll] {
    margin-bottom: 28px;
}

.registro-meter:last-child[b-3aftc8t6ll] {
    margin-bottom: 0;
}

.registro-scroll[b-3aftc8t6ll] {
    overflow: auto;
    max-height: calc(100vh - 280px);
    margin-top: 8px;
}

.registro[b-3aftc8t6ll] {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78rem;
    white-space: nowrap;
}

.registro th[b-3aftc8t6ll],
.registro td[b-3aftc8t6ll] {
    border-right: 1px solid var(--mud-palette-divider);
    border-bottom: 1px solid var(--mud-palette-divider);
    padding: 4px 8px;
    text-align: right;
    background: var(--mud-palette-surface);
}

.registro thead th[b-3aftc8t6ll] {
    position: sticky;
    z-index: 2;
    text-align: center;
    font-weight: 600;
}

.registro thead tr:nth-child(1) th[b-3aftc8t6ll] {
    top: 0;
}

.registro thead tr:nth-child(2) th[b-3aftc8t6ll] {
    top: 28px;
}

.registro thead tr:nth-child(3) th[b-3aftc8t6ll] {
    top: 52px;
}

.registro .mese[b-3aftc8t6ll] {
    text-align: left;
    text-transform: capitalize;
    min-width: 92px;
}

.registro .sticky[b-3aftc8t6ll] {
    position: sticky;
    left: 0;
    z-index: 3;
}

.registro thead .sticky[b-3aftc8t6ll] {
    z-index: 4;
}

.registro .group.production[b-3aftc8t6ll] {
    background: #e7f3d8;
}

.registro .group.exchange[b-3aftc8t6ll] {
    background: #f8efc8;
}

.registro .band[b-3aftc8t6ll],
.registro .field[b-3aftc8t6ll] {
    background: var(--mud-palette-background-gray);
}

.registro[b-3aftc8t6ll]  td.manual {
    background: #fff3a0;
}

.registro[b-3aftc8t6ll]  td.estimated {
    background: #e8f1fb;
}

.registro[b-3aftc8t6ll]  td.energy {
    color: #9a1b4a;
    font-weight: 600;
}

.registro td.k[b-3aftc8t6ll],
.registro th.k[b-3aftc8t6ll] {
    background: #fff6cc;
    text-align: center;
}
/* /Components/Pages/Energia/Solar/SolarCompareChart.razor.rz.scp.css */
.solar-compare-scroll[b-qb67c9313e] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.solar-compare[b-qb67c9313e] {
    width: 100%;
    height: auto;
    aspect-ratio: 960 / 360;
    display: block;
}

/* Su schermi stretti evita di comprimere etichette e barre: scroll orizzontale a dimensione leggibile. */
@media (max-width: 600px) {
    .solar-compare-scroll[b-qb67c9313e] {
        margin-inline: -4px;
        padding-bottom: 4px;
    }

    .solar-compare[b-qb67c9313e] {
        width: 640px;
        min-width: 640px;
        height: 260px;
        aspect-ratio: auto;
    }
}

.grid[b-qb67c9313e],
.day[b-qb67c9313e] {
    stroke: var(--mud-palette-divider);
    stroke-width: 1;
}

.day[b-qb67c9313e] {
    stroke-dasharray: 3 4;
}

.zero[b-qb67c9313e] {
    stroke: var(--mud-palette-text-secondary);
    stroke-width: 1;
}

.solar-legend[b-qb67c9313e] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.8rem;
}

.swatch[b-qb67c9313e],
.line-sample[b-qb67c9313e] {
    display: inline-block;
    width: 14px;
    margin-right: 6px;
    vertical-align: -1px;
}

.swatch[b-qb67c9313e] {
    height: 10px;
    border-radius: 2px;
}

.line-sample[b-qb67c9313e] {
    width: 16px;
    height: 0;
    border-top: 2px solid;
    border-radius: 2px;
    vertical-align: 3px;
}
/* /Components/Pages/Energia/Solar/SolarProductionPanel.razor.rz.scp.css */
.solar-panorama[b-xvwn01d97g] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.solar-card[b-xvwn01d97g] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 8px 6px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: center;
    color: inherit;
    font: inherit;
}

.solar-card:hover[b-xvwn01d97g],
.solar-card.selected[b-xvwn01d97g] {
    border-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
}

.solar-card-title[b-xvwn01d97g],
.solar-card-value[b-xvwn01d97g] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.solar-card-value[b-xvwn01d97g] {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.solar-spark[b-xvwn01d97g] {
    width: 100%;
    height: 64px;
    display: block;
}

.solar-line-legend[b-xvwn01d97g] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.solar-line-legend button[b-xvwn01d97g] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--mud-palette-divider);
    background: transparent;
    border-radius: 999px;
    padding: 4px 12px;
    cursor: pointer;
    font: inherit;
    color: var(--mud-palette-text-secondary);
}

.solar-line-legend button.on[b-xvwn01d97g] {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-text-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
}

.solar-line-legend button.off[b-xvwn01d97g] {
    opacity: 0.45;
}

.solar-line-legend .sample[b-xvwn01d97g] {
    width: 22px;
    border-top: 2px solid currentColor;
}

.solar-line-legend .sample.fed[b-xvwn01d97g] {
    border-top-style: dashed;
}

.solar-line-legend .sample.drawn[b-xvwn01d97g] {
    border-top-style: dotted;
}

.solar-periods[b-xvwn01d97g] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--mud-palette-divider);
    margin: 20px 0 12px;
}

.solar-periods button[b-xvwn01d97g] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 10px 14px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    font: inherit;
}

.solar-periods button.active[b-xvwn01d97g] {
    color: var(--mud-palette-primary);
    border-bottom-color: var(--mud-palette-primary);
    font-weight: 600;
}

.solar-days[b-xvwn01d97g] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.solar-day[b-xvwn01d97g] {
    flex: 1 0 56px;
    max-width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 2px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: 0.75rem;
}

.solar-day.selected[b-xvwn01d97g] {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.solar-day svg[b-xvwn01d97g] {
    width: 100%;
    height: 28px;
}

@media (max-width: 960px) {
    .solar-panorama[b-xvwn01d97g] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .solar-panorama[b-xvwn01d97g] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/WorkforceManagement/CalendarWorkSessionCreateDialog.razor.rz.scp.css */
.calendar-work-create-preview[b-bskbo1a0en] {
    max-height: 180px;
    overflow-y: auto;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.calendar-work-create-preview-item[b-bskbo1a0en] {
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/WorkforceManagement/JobTracking.razor.rz.scp.css */
.lavorazione-actions .mud-button-root[b-7jiddkrtlb] {
    min-width: 14rem;
    min-height: 3.25rem;
}
/* /Components/Pages/WorkforceManagement/Management/CausalizationPie.razor.rz.scp.css */
.causal-pie[b-balnw50784] {
    position: relative;
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
}

button.causal-pie[b-balnw50784] {
    cursor: pointer;
}

.causal-pie-chart[b-balnw50784] {
    width: 52px;
    height: 52px;
}

.causal-pie-track[b-balnw50784] {
    fill: none;
    stroke: var(--mud-palette-action-disabled-background);
    stroke-width: 5;
}

.causal-pie-fill[b-balnw50784] {
    fill: none;
    stroke-width: 5;
    stroke-linecap: butt;
}

.causal-pie--ok .causal-pie-fill[b-balnw50784] {
    stroke: var(--mud-palette-success);
}

.causal-pie--low .causal-pie-fill[b-balnw50784] {
    stroke: var(--mud-palette-warning);
}

.causal-pie-label[b-balnw50784],
.causal-pie-empty[b-balnw50784] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    color: var(--mud-palette-text-primary);
}
/* /Components/Pages/WorkforceManagement/Management/DepartmentPresenceSessionTable.razor.rz.scp.css */
.session-table-wrap[b-ywd4sd8fp5] {
    overflow-x: auto;
}

.session-table[b-ywd4sd8fp5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.session-table th[b-ywd4sd8fp5],
.session-table td[b-ywd4sd8fp5] {
    text-align: left;
    padding: 6px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    white-space: nowrap;
}

.session-table th[b-ywd4sd8fp5] {
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
}
/* /Components/Pages/WorkforceManagement/Management/DepartmentReports.razor.rz.scp.css */
.department-select[b-xyrjfc081o] {
    max-width: 420px;
}

.calendar-shell[b-xyrjfc081o] {
    max-width: 210px;
}

.calendar-header[b-xyrjfc081o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 6px;
}

.calendar-grid[b-xyrjfc081o] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
}

.calendar-weekday[b-xyrjfc081o] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    padding: 4px 0;
}

.calendar-day[b-xyrjfc081o] {
    aspect-ratio: 1;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.calendar-day:hover:not(:disabled)[b-xyrjfc081o] {
    background: var(--mud-palette-action-default-hover);
}

.calendar-day--outside[b-xyrjfc081o] {
    opacity: 0.35;
}

.calendar-day--today[b-xyrjfc081o] {
    border-color: var(--mud-palette-primary);
}

.calendar-day--selected[b-xyrjfc081o] {
    background: color-mix(in srgb, var(--mud-palette-primary) 16%, var(--mud-palette-surface));
    box-shadow: inset 0 0 0 2px var(--mud-palette-primary);
    font-weight: 700;
}

.calendar-day--selected:hover:not(:disabled)[b-xyrjfc081o] {
    background: color-mix(in srgb, var(--mud-palette-primary) 24%, var(--mud-palette-surface));
}

.calendar-hint[b-xyrjfc081o] {
    display: block;
    margin-top: 8px;
    line-height: 1.35;
}

.operator-day-block + .operator-day-block[b-xyrjfc081o] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.operator-day-block--low .operator-day-heading[b-xyrjfc081o] {
    background: color-mix(in srgb, var(--mud-palette-warning) 18%, transparent);
    border-radius: 6px;
    padding: 4px 8px;
}

.operator-day-heading[b-xyrjfc081o] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.operator-day-heading-text[b-xyrjfc081o] {
    flex: 1;
}

.operator-day-detail[b-xyrjfc081o] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 8px 16px 56px;
}

.presence-interval[b-xyrjfc081o] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presence-interval-header[b-xyrjfc081o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

[b-xyrjfc081o] tr.department-day-row--low > td {
    background-color: color-mix(in srgb, var(--mud-palette-warning) 22%, var(--mud-palette-surface));
}

[b-xyrjfc081o] tr.department-day-row--low:hover > td {
    background-color: color-mix(in srgb, var(--mud-palette-warning) 32%, var(--mud-palette-surface));
}
/* /Components/Pages/WorkforceManagement/Management/HrDataExport.razor.rz.scp.css */
.hr-preview-wrap[b-kmm3ygygi8] {
    max-height: min(70vh, 760px);
    overflow: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.hr-preview[b-kmm3ygygi8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.hr-preview th[b-kmm3ygygi8],
.hr-preview td[b-kmm3ygygi8] {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    vertical-align: top;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hr-preview th[b-kmm3ygygi8] {
    position: sticky;
    top: 0;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    z-index: 2;
}

.hr-th[b-kmm3ygygi8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.hr-preview td.hr-identity[b-kmm3ygygi8],
.hr-preview td.hr-name[b-kmm3ygygi8] {
    vertical-align: middle;
}

.hr-preview td.hr-identity[b-kmm3ygygi8] {
    font-weight: 600;
}

.hr-preview td.hr-name[b-kmm3ygygi8],
.hr-preview td.hr-department[b-kmm3ygygi8] {
    white-space: normal;
    min-width: 160px;
}

.hr-preview td.hr-department[b-kmm3ygygi8] {
    max-width: 240px;
}

.hr-preview tr.hr-group-start td[b-kmm3ygygi8] {
    border-top: 2px solid var(--mud-palette-divider);
}

.hr-preview tr.hr-total td[b-kmm3ygygi8] {
    background: color-mix(in srgb, var(--mud-palette-info) 18%, var(--mud-palette-surface));
    font-weight: 700;
}

.hr-preview tr.hr-open td[b-kmm3ygygi8],
.hr-preview td.hr-name-flagged[b-kmm3ygygi8] {
    background: color-mix(in srgb, var(--mud-palette-error) 18%, var(--mud-palette-surface));
    color: var(--mud-palette-error);
    font-weight: 700;
}

.hr-name-link[b-kmm3ygygi8] {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.hr-name-link:hover[b-kmm3ygygi8] {
    text-decoration: underline;
}

.hr-preview th.hr-actions[b-kmm3ygygi8],
.hr-preview td.hr-actions[b-kmm3ygygi8] {
    width: 48px;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}
/* /Components/Pages/WorkforceManagement/Management/HrPreviewColumnFilter.razor.rz.scp.css */
[b-pre2snelhh] .hr-filter-button {
    margin: -6px -4px -6px 0;
}
/* /Components/Pages/WorkforceManagement/OperatorMonthTimesheet.razor.rz.scp.css */
.calendar-shell[b-p0u146todz] {
    max-width: 420px;
}

.calendar-header[b-p0u146todz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-grid[b-p0u146todz] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.calendar-weekday[b-p0u146todz] {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    padding: 4px 0;
}

.calendar-day[b-p0u146todz] {
    aspect-ratio: 1;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.calendar-day:hover:not(:disabled)[b-p0u146todz] {
    background: var(--mud-palette-action-default-hover);
}

.calendar-day--outside[b-p0u146todz] {
    opacity: 0.35;
}

.calendar-day--today[b-p0u146todz] {
    border-color: var(--mud-palette-primary);
}

.calendar-day--selected[b-p0u146todz] {
    box-shadow: inset 0 0 0 2px var(--mud-palette-primary);
}

.calendar-day--selected.calendar-day--presence-full[b-p0u146todz],
.calendar-day--selected.calendar-day--presence-partial[b-p0u146todz] {
    color: var(--mud-palette-text-primary);
}

.calendar-day--presence-full:not(.calendar-day--selected)[b-p0u146todz] {
    background: color-mix(in srgb, var(--mud-palette-success) 24%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-success) 55%, var(--mud-palette-lines-default));
}

.calendar-day--presence-partial:not(.calendar-day--selected)[b-p0u146todz] {
    background: color-mix(in srgb, var(--mud-palette-warning) 24%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-warning) 55%, var(--mud-palette-lines-default));
}

.calendar-day-content[b-p0u146todz] {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day-ring[b-p0u146todz] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.calendar-day-number[b-p0u146todz] {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.calendar-day-ring-track--full[b-p0u146todz] {
    stroke: color-mix(in srgb, var(--mud-palette-success) 35%, var(--mud-palette-lines-default));
}

.calendar-day-ring-track--partial[b-p0u146todz] {
    stroke: color-mix(in srgb, var(--mud-palette-warning) 35%, var(--mud-palette-lines-default));
}

.calendar-day-ring-fill--full[b-p0u146todz] {
    stroke: var(--mud-palette-success);
}

.calendar-day-ring-fill--partial[b-p0u146todz] {
    stroke: var(--mud-palette-warning);
}

.calendar-legend-item[b-p0u146todz] {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--mud-palette-lines-default);
}

.calendar-legend-item--full[b-p0u146todz] {
    background: color-mix(in srgb, var(--mud-palette-success) 24%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-success) 55%, var(--mud-palette-lines-default));
}

.calendar-legend-item--partial[b-p0u146todz] {
    background: color-mix(in srgb, var(--mud-palette-warning) 24%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-warning) 55%, var(--mud-palette-lines-default));
}

.calendar-legend-ring[b-p0u146todz] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.calendar-legend-ring--open[b-p0u146todz] {
    background: conic-gradient(
        var(--mud-palette-success) 0 55%,
        transparent 55% 100%
    );
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.calendar-legend-ring--closed[b-p0u146todz] {
    border-color: transparent;
    background: conic-gradient(
        var(--mud-palette-success) 0 100%
    );
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.day-timesheet-panel[b-p0u146todz] {
    min-height: 280px;
}

.day-duration-summary[b-p0u146todz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.day-duration-metric[b-p0u146todz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.day-duration-metric-value[b-p0u146todz] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.day-duration-metric-label[b-p0u146todz] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.day-duration-bar[b-p0u146todz] {
    grid-column: 1 / -1;
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-info) 18%, var(--mud-palette-surface));
    overflow: hidden;
}

.day-duration-bar-fill[b-p0u146todz] {
    height: 100%;
    border-radius: inherit;
    background: var(--mud-palette-info);
}

.day-duration-bar--full .day-duration-bar-fill[b-p0u146todz] {
    background: var(--mud-palette-success);
}

.presence-day-timeline-wrap + .presence-day-timeline-wrap[b-p0u146todz] {
    margin-top: 20px;
}

.presence-day-timeline-label[b-p0u146todz] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 6px;
}

.presence-day-timeline[b-p0u146todz] {
    position: relative;
    height: 56px;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    overflow: hidden;
}

.presence-day-timeline--work[b-p0u146todz] {
    height: 72px;
}

.presence-day-timeline--split[b-p0u146todz] {
    height: 88px;
}

.work-day-segment-type[b-p0u146todz] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-right: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.presence-day-timeline-gridline[b-p0u146todz] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
}

.presence-day-segment[b-p0u146todz] {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 6px;
    background: var(--mud-palette-success);
    border: 1px solid color-mix(in srgb, var(--mud-palette-success) 70%, black);
    min-width: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.presence-day-segment--open[b-p0u146todz] {
    background: linear-gradient(
        90deg,
        var(--mud-palette-success),
        color-mix(in srgb, var(--mud-palette-success) 55%, var(--mud-palette-background-gray))
    );
}

.presence-day-segment--editable[b-p0u146todz] {
    cursor: pointer;
}

.work-day-segment[b-p0u146todz] {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 6px;
    min-width: 3px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 6px;
}

.work-day-segment-label[b-p0u146todz] {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.work-day-segment--editable[b-p0u146todz] {
    cursor: pointer;
}

.work-day-segment--color-0[b-p0u146todz] { background: #1565c0; }
.work-day-segment--color-1[b-p0u146todz] { background: #6a1b9a; }
.work-day-segment--color-2[b-p0u146todz] { background: #00838f; }
.work-day-segment--color-3[b-p0u146todz] { background: #4527a0; }
.work-day-segment--color-4[b-p0u146todz] { background: #283593; }
.work-day-segment--color-5[b-p0u146todz] { background: #00695c; }

.work-day-segment--open[b-p0u146todz] {
    opacity: 0.88;
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0)
    );
}

.presence-day-timeline-hours[b-p0u146todz] {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    margin-top: 6px;
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}

.presence-day-timeline-hours span[b-p0u146todz] {
    text-align: center;
}

.presence-day-list-item[b-p0u146todz] {
    border-left: 4px solid var(--mud-palette-success);
}

.work-day-list-item[b-p0u146todz] {
    border-left: 4px solid var(--mud-palette-info);
}

.work-day-list-item--operator[b-p0u146todz] {
    border-left-color: var(--mud-palette-info);
}

.work-day-list-item--machine[b-p0u146todz] {
    border-left-color: #6a1b9a;
}

.work-session-kind-chip--machine[b-p0u146todz] {
    background-color: #6a1b9a !important;
    color: #fff !important;
}

.work-day-list-item--suspended[b-p0u146todz] {
    border-left-color: var(--mud-palette-warning);
}

.work-day-list-item--open[b-p0u146todz] {
    border-left-color: var(--mud-palette-info);
}

.work-day-list-subtitle[b-p0u146todz] {
    color: var(--mud-palette-text-secondary);
}
