/* _content/TicketingPlatform/Components/Account/Pages/Login.razor.rz.scp.css */
/* Gli stili della card di login sono condivisi in wwwroot/app.css (.auth-*) */
/* _content/TicketingPlatform/Components/Layout/MainLayout.razor.rz.scp.css */
.page-wrapper[b-5t2kvrctat] {
    min-height: 100vh;
    background-color: #f5f6f8;
}

/* --- Barra superiore fissa con il burger --- */
.app-topbar[b-5t2kvrctat] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    background-color: #1b3a6b;
    color: #fff;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.app-title[b-5t2kvrctat] {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Checkbox nascosta che pilota l'apertura del menu (funziona anche su pagine statiche) */
.menu-toggle-cb[b-5t2kvrctat] {
    display: none;
}

/* --- Bottone burger --- */
.burger-btn[b-5t2kvrctat] {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-btn span[b-5t2kvrctat] {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Trasforma il burger in una X quando aperto */
.menu-toggle-cb:checked ~ .app-topbar .burger-btn span:nth-child(1)[b-5t2kvrctat] {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle-cb:checked ~ .app-topbar .burger-btn span:nth-child(2)[b-5t2kvrctat] {
    opacity: 0;
}

.menu-toggle-cb:checked ~ .app-topbar .burger-btn span:nth-child(3)[b-5t2kvrctat] {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Backdrop scuro (livello sotto il drawer, sopra il contenuto) --- */
.menu-backdrop[b-5t2kvrctat] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.menu-toggle-cb:checked ~ .menu-backdrop[b-5t2kvrctat] {
    display: block;
}

/* --- Drawer a scomparsa (livello piu alto) --- */
.menu-drawer[b-5t2kvrctat] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    max-width: 85vw;
    background-color: rgb(5, 39, 103);
    z-index: 1050;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

.menu-toggle-cb:checked ~ .menu-drawer[b-5t2kvrctat] {
    transform: translateX(0);
}

/* --- Contenuto principale sotto la topbar --- */
.app-content[b-5t2kvrctat] {
    padding-top: 56px;
}

#blazor-error-ui[b-5t2kvrctat] {
    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: 1060;
}

    #blazor-error-ui .dismiss[b-5t2kvrctat] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/TicketingPlatform/Components/Layout/NavMenu.razor.rz.scp.css */
.drawer-header[b-s77x4kayx0] {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-brand[b-s77x4kayx0] {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.drawer-nav[b-s77x4kayx0] {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 56px);
}

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

.bi[b-s77x4kayx0] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-s77x4kayx0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-s77x4kayx0] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-s77x4kayx0] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-s77x4kayx0] {
        padding-bottom: 1rem;
    }

    .nav-item[b-s77x4kayx0]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-s77x4kayx0]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-s77x4kayx0]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* _content/TicketingPlatform/Components/Pages/ListaTickets.razor.rz.scp.css */
/* --- Avatar utente nell'header --- */
.user-avatar[b-o3qpf5tcho] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1b3a6b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Tab segmentati (Vista completa / Creati da me / Mia competenza) --- */
.view-tabs[b-o3qpf5tcho] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background-color: #eef2f7;
    border-radius: 999px;
}

.view-tabs .btn[b-o3qpf5tcho] {
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    padding: 0.4rem 1.1rem;
}

.view-tabs .btn:hover[b-o3qpf5tcho] {
    color: #1b3a6b;
}

.view-tabs .btn.active[b-o3qpf5tcho] {
    background-color: #1b3a6b;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* --- Chip conteggio priorità (colori chiari, testo grigio scuro, più grandi) --- */
.chip[b-o3qpf5tcho] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.chip-count[b-o3qpf5tcho] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #344054;
}

.chip-label[b-o3qpf5tcho] {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #475467;
}

.chip-critica[b-o3qpf5tcho] { background: #fdeceb; border-color: #f7d3d0; }
.chip-alta[b-o3qpf5tcho]    { background: #fff2e6; border-color: #fadfc0; }
.chip-media[b-o3qpf5tcho]   { background: #fff8e1; border-color: #f2e3a3; }
.chip-bassa[b-o3qpf5tcho]   { background: #eaf7f0; border-color: #c2e6d3; }

/* --- Assegnatario --- */
.assignee-name[b-o3qpf5tcho] {
    font-weight: 500;
    color: #344054;
}

.assign-box[b-o3qpf5tcho] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border: 1px dashed #1e4d7b;
    border-radius: 8px;
    background: #eaf1f8;
    color: #1e4d7b;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.assign-box:hover[b-o3qpf5tcho] {
    background: #dce8f5;
}

/* --- Bottone assegna (Team Leader) --- */
.assign-btn[b-o3qpf5tcho] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.assign-btn.is-empty[b-o3qpf5tcho] {
    border-style: dashed;
    border-color: #1e4d7b;
    background: #eaf1f8;
    color: #1e4d7b;
}

.assign-btn:hover[b-o3qpf5tcho] {
    border-color: #1e4d7b;
}

/* --- Modale seleziona assegnatario --- */
.assign-modal[b-o3qpf5tcho] {
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
}

.assign-modal-head[b-o3qpf5tcho] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.assign-modal-title[b-o3qpf5tcho] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.assign-modal-sub[b-o3qpf5tcho] {
    color: #64748b;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.assign-search[b-o3qpf5tcho] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.assign-search input[b-o3qpf5tcho] {
    border: none;
    outline: none;
    flex: 1;
    color: #0f172a;
    font-size: 0.95rem;
}

.assign-list[b-o3qpf5tcho] {
    max-height: 320px;
    overflow-y: auto;
}

.assign-user[b-o3qpf5tcho] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.65rem 0.5rem;
    border: none;
    border-bottom: 1px solid #eef2f7;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.assign-user:last-child[b-o3qpf5tcho] {
    border-bottom: none;
}

.assign-user:hover[b-o3qpf5tcho] {
    background: #f8faff;
}

.assign-user-avatar[b-o3qpf5tcho] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaf1f8;
    color: #1e4d7b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.assign-user-info[b-o3qpf5tcho] {
    flex: 1;
    min-width: 0;
}

.assign-user-name[b-o3qpf5tcho] {
    font-weight: 600;
    color: #0f172a;
}

.assign-user-mail[b-o3qpf5tcho] {
    font-size: 0.82rem;
    color: #94a3b8;
}

.assign-user-role[b-o3qpf5tcho] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}

.assign-user .app-icon[b-o3qpf5tcho] {
    color: #cbd5e1;
}

/* --- Badge priorità in tabella --- */
.prio[b-o3qpf5tcho] {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #344054;
    line-height: 1;
}

.prio-critica[b-o3qpf5tcho] { background: #fdeceb; }
.prio-alta[b-o3qpf5tcho]    { background: #fff2e6; }
.prio-media[b-o3qpf5tcho]   { background: #fff8e1; }
.prio-bassa[b-o3qpf5tcho]   { background: #eaf7f0; }

/* --- Toolbar filtri --- */
.toolbar-card .form-check-label[b-o3qpf5tcho] {
    font-size: 0.9rem;
    color: #495057;
    white-space: nowrap;
}

/* --- Header di gruppo (per stato) --- */
.ticket-group[b-o3qpf5tcho] {
    border-radius: 12px;
}

.group-header[b-o3qpf5tcho] {
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: filter 0.15s ease;
    border-radius: 12px 12px 0 0;
}

.group-header:hover[b-o3qpf5tcho] {
    filter: brightness(0.98);
}

.group-icon[b-o3qpf5tcho] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.group-title[b-o3qpf5tcho] {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #101828;
}

.count-circle[b-o3qpf5tcho] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.chevron[b-o3qpf5tcho] {
    color: #6c757d;
    font-size: 0.85rem;
    width: 1rem;
    text-align: center;
}

/* --- Tabella --- */
/* Wrapper tabella senza scroll (permette l'header sticky) */
.ticket-table-wrap[b-o3qpf5tcho] {
    overflow: visible;
}

/* Larghezze fisse: tutte le tabelle (una per stato) restano allineate,
   indipendentemente dal contenuto delle celle. */
.ticket-table[b-o3qpf5tcho] {
    table-layout: fixed;
    width: 100%;
}

.ticket-table .col-id[b-o3qpf5tcho]     { width: 5%; }
.ticket-table .col-desc[b-o3qpf5tcho]   { width: 31%; }
.ticket-table .col-stato[b-o3qpf5tcho]  { width: 10%; }
.ticket-table .col-autore[b-o3qpf5tcho] { width: 13%; }
.ticket-table .col-prio[b-o3qpf5tcho]   { width: 9%; }
.ticket-table .col-assegn[b-o3qpf5tcho] { width: 15%; }
.ticket-table .col-scad[b-o3qpf5tcho]   { width: 9%; }
.ticket-table .col-data[b-o3qpf5tcho]   { width: 9%; }
.ticket-table .col-azioni[b-o3qpf5tcho] { width: 9%; }

/* Le celle non devono sforare la colonna assegnata */
.ticket-table tbody td[b-o3qpf5tcho] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-table thead th[b-o3qpf5tcho] {
    position: sticky;
    top: 56px;
    z-index: 3;
    background-color: #1b3a6b;
    color: #eaf0f9;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: none;
    white-space: nowrap;
    vertical-align: middle;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.ticket-table tbody td[b-o3qpf5tcho] {
    font-size: 0.9rem;
    color: #344054;
}

.ticket-table tbody td[b-o3qpf5tcho] {
    vertical-align: middle;
}

.ticket-table tbody tr.ticket-row[b-o3qpf5tcho] {
    cursor: pointer;
}

.ticket-table tbody tr:hover[b-o3qpf5tcho] {
    background-color: #f8faff;
}
/* _content/TicketingPlatform/Components/Pages/TicketDetails.razor.rz.scp.css */
/* --- Header navy --- */
.td-header[b-efijeq2bwt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #1e4d7b;
    color: #fff;
    padding: 1rem 1.5rem;
}

.td-back[b-efijeq2bwt] {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
}

.td-header-title[b-efijeq2bwt] {
    font-size: 1.15rem;
    font-weight: 700;
}

.td-header-num[b-efijeq2bwt] {
    opacity: 0.7;
    margin-right: 0.35rem;
}

/* --- Griglia a due colonne --- */
.td-grid[b-efijeq2bwt] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: start;
}

.td-body[b-efijeq2bwt] {
    padding: 1.5rem;
}

@media (max-width: 992px) {
    .td-grid[b-efijeq2bwt] {
        grid-template-columns: 1fr;
    }
}

/* --- Card generica --- */
.td-card[b-efijeq2bwt] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.td-card-head[b-efijeq2bwt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.td-head-count[b-efijeq2bwt] {
    background: #eef2f7;
    color: #475569;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Card stato + descrizione --- */
.td-status-row[b-efijeq2bwt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.td-status-pill[b-efijeq2bwt] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Dropdown di stato --- */
.td-status-dd[b-efijeq2bwt] {
    position: relative;
    display: inline-block;
}

.td-status-toggle[b-efijeq2bwt] {
    cursor: pointer;
}

.td-status-menu[b-efijeq2bwt] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.td-status-item[b-efijeq2bwt] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
}

.td-status-item:hover[b-efijeq2bwt] {
    filter: brightness(0.96);
}

.td-dot[b-efijeq2bwt] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.td-prio-pill[b-efijeq2bwt] {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #344054;
}

.td-cat-pill[b-efijeq2bwt] {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    font-size: 0.85rem;
}

.td-title[b-efijeq2bwt] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1rem 0;
}

.td-desc-wrap[b-efijeq2bwt] {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 1rem;
    max-height: 300px;
    overflow: auto;
}

.td-desc-text[b-efijeq2bwt] {
    white-space: pre-wrap;
    color: #334155;
    line-height: 1.6;
}

.td-copy[b-efijeq2bwt] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
}

/* --- Tab --- */
.td-tabs[b-efijeq2bwt] {
    margin: 0.25rem 0 0.75rem;
}

.td-tab[b-efijeq2bwt] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.td-tab.active[b-efijeq2bwt] {
    border-color: #1e4d7b;
    color: #1e4d7b;
    background: #eaf1f8;
}

.td-tab-count[b-efijeq2bwt] {
    background: #1e4d7b;
    color: #fff;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- Commenti --- */
.td-comment[b-efijeq2bwt] {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef2f7;
}

.td-comment:last-child[b-efijeq2bwt] {
    border-bottom: none;
    padding-bottom: 0;
}

.td-avatar[b-efijeq2bwt] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e4d7b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.td-avatar-sm[b-efijeq2bwt] {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
}

.td-comment-body[b-efijeq2bwt] {
    flex: 1;
    min-width: 0;
}

.td-comment-head[b-efijeq2bwt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.td-comment-head strong[b-efijeq2bwt] {
    color: #0f172a;
}

.td-comment-text[b-efijeq2bwt] {
    margin-top: 0.35rem;
    color: #334155;
    white-space: pre-wrap;
}

.td-comment-meta[b-efijeq2bwt] {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.td-role[b-efijeq2bwt] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.role-tech[b-efijeq2bwt] { background: #e0f2fe; color: #0369a1; }
.role-lead[b-efijeq2bwt] { background: #f3e8ff; color: #7c3aed; }
.role-emp[b-efijeq2bwt]  { background: #e6f4ea; color: #2e7d32; }

.td-tag[b-efijeq2bwt] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* --- Bottone nuovo commento --- */
.td-newcomment[b-efijeq2bwt] {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #cdddef;
    border-radius: 10px;
    background: #eaf1f8;
    color: #1e4d7b;
    font-weight: 600;
    cursor: pointer;
}

.td-newcomment:hover[b-efijeq2bwt] {
    background: #dfeaf5;
}

.td-composer textarea[b-efijeq2bwt] {
    resize: vertical;
}

/* --- Sidebar --- */
.td-side-title[b-efijeq2bwt] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.td-field-label[b-efijeq2bwt] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}

.td-field-value[b-efijeq2bwt] {
    color: #334155;
    font-weight: 500;
}

.td-requester[b-efijeq2bwt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.td-requester-name[b-efijeq2bwt] {
    font-weight: 600;
    color: #0f172a;
}

.td-requester-mail[b-efijeq2bwt] {
    font-size: 0.8rem;
    color: #94a3b8;
}

.td-deadline-empty[b-efijeq2bwt] {
    border: 1px dashed #cdddef;
    background: #f4f9ff;
    color: #1e4d7b;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-weight: 500;
}

/* --- Tinte priorità --- */
.prio-critica[b-efijeq2bwt] { background: #fdeceb; }
.prio-alta[b-efijeq2bwt]    { background: #fff2e6; }
.prio-media[b-efijeq2bwt]   { background: #fff8e1; }
.prio-bassa[b-efijeq2bwt]   { background: #eaf7f0; }
