/* /Components/Layout/AdminLayout.razor.rz.scp.css */

/* --- VARIÁVEIS DE CORES GLOBAIS (ESTILO AEGP) --- */
:root[b-wejoeat5pq] {
    --sidebar-bg: #0f2c59; /* Azul Escuro Oficial do AEGP */
    --sidebar-logo-bg: #0c2449; /* Tom ligeiramente mais escuro para o topo */
    --page-bg: #f4f5f7; /* Cinza claro para destacar os painéis brancos */
    --border-color: #e5e7eb; /* Linhas divisórias suaves */
    --text-muted: #6b7280;
}

/* --- ESTRUTURA BASE DA APP --- */
.page[b-wejoeat5pq] {
    display: flex;
    flex-direction: row;
    background-color: var(--page-bg);
    height: 100vh;
    height: 100dvh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    width: 100vw;
}

main[b-wejoeat5pq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}


/* --- BARRA LATERAL (SIDEBAR) FLUIDA & COLAPSÁVEL --- */
.sidebar[b-wejoeat5pq] {
    background-color: #0f2c59;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* Transição suave de largura (efeito encolher/esticar) */
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
    height: 100vh;
    height: 100dvh;
}

    /* Estado Colapsado: Reduz a largura para focar apenas nos ícones */
    .sidebar.collapsed[b-wejoeat5pq] {
        width: 70px;
    }

/* Contentor do Logótipo no topo da Sidebar */
.sidebar-logo-container[b-wejoeat5pq] {
    height: 65px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--sidebar-logo-bg);
}

.sidebar-logo[b-wejoeat5pq] {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

/* --- BARRA SUPERIOR (HEADER) --- */
.top-row[b-wejoeat5pq] {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Botão do Hambúrguer Menu */
.burger-btn[b-wejoeat5pq] {
    background: none;
    border: none;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .burger-btn:hover[b-wejoeat5pq] {
        background-color: #f3f4f6;
        color: var(--sidebar-bg);
    }

/* Título da Aplicação no Topo */
.app-title[b-wejoeat5pq] {
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Zona do Perfil / Ações à Direita */
.header-actions[b-wejoeat5pq] {
    font-size: 0.9rem;
    color: #4b5563;
}

.user-profile[b-wejoeat5pq] {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- ÁREA DE CONTEÚDO PRINCIPAL --- */
.content[b-wejoeat5pq] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    /* Recria as linhas milimétricas em grelha muito suaves do teu mockup */
    background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- ANIMAÇÕES DE TRANSIÇÃO DO LOGO --- */
.animate-fade-in[b-wejoeat5pq] {
    animation: fadeIn-b-wejoeat5pq 0.2s ease forwards;
}

@keyframes fadeIn-b-wejoeat5pq {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVIDADE PARA ECRÃS PEQUENOS --- */
@media (max-width: 767.98px) {
    .page[b-wejoeat5pq] {
        flex-direction: column;
    }

    .sidebar[b-wejoeat5pq] {
        width: 100%;
        height: auto;
    }

        .sidebar.collapsed[b-wejoeat5pq] {
            display: none; /* Esconde completamente em mobile se colapsado */
        }

    .top-row[b-wejoeat5pq] {
        padding: 0 1rem;
    }
}



/* /Components/Layout/MainLayout.razor.rz.scp.css */

/* --- VARIÁVEIS DE CORES GLOBAIS (ESTILO AEGP) --- */
:root[b-0fe3uu72xn] {
    --sidebar-bg: #0f2c59; /* Azul Escuro Oficial do AEGP */
    --sidebar-logo-bg: #0c2449; /* Tom ligeiramente mais escuro para o topo */
    --page-bg: #f4f5f7; /* Cinza claro para destacar os painéis brancos */
    --border-color: #e5e7eb; /* Linhas divisórias suaves */
    --text-muted: #6b7280;
}

/* --- ESTRUTURA BASE DA APP --- */
.page[b-0fe3uu72xn] {
    display: flex;
    flex-direction: row;
    background-color: var(--page-bg);
    height: 100vh;
    height: 100dvh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    width: 100vw;
}

main[b-0fe3uu72xn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}


/* --- BARRA LATERAL (SIDEBAR) FLUIDA & COLAPSÁVEL --- */
.sidebar[b-0fe3uu72xn] {
    background-color: #0f2c59;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* Transição suave de largura (efeito encolher/esticar) */
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
    height: 100vh;
    height: 100dvh;
}

    /* Estado Colapsado: Reduz a largura para focar apenas nos ícones */
    .sidebar.collapsed[b-0fe3uu72xn] {
        width: 70px;
    }

/* Contentor do Logótipo no topo da Sidebar */
.sidebar-logo-container[b-0fe3uu72xn] {
    height: 65px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--sidebar-logo-bg);
}

.sidebar-logo[b-0fe3uu72xn] {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

/* --- BARRA SUPERIOR (HEADER) --- */
.top-row[b-0fe3uu72xn] {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Botão do Hambúrguer Menu */
.burger-btn[b-0fe3uu72xn] {
    background: none;
    border: none;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .burger-btn:hover[b-0fe3uu72xn] {
        background-color: #f3f4f6;
        color: var(--sidebar-bg);
    }

/* Título da Aplicação no Topo */
.app-title[b-0fe3uu72xn] {
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Zona do Perfil / Ações à Direita */
.header-actions[b-0fe3uu72xn] {
    font-size: 0.9rem;
    color: #4b5563;
}

.user-profile[b-0fe3uu72xn] {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- ÁREA DE CONTEÚDO PRINCIPAL --- */
.content[b-0fe3uu72xn] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    /* Recria as linhas milimétricas em grelha muito suaves do teu mockup */
    background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- ANIMAÇÕES DE TRANSIÇÃO DO LOGO --- */
.animate-fade-in[b-0fe3uu72xn] {
    animation: fadeIn-b-0fe3uu72xn 0.2s ease forwards;
}

@keyframes fadeIn-b-0fe3uu72xn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVIDADE PARA ECRÃS PEQUENOS --- */
@media (max-width: 767.98px) {
    .page[b-0fe3uu72xn] {
        flex-direction: column;
    }

    .sidebar[b-0fe3uu72xn] {
        width: 100%;
        height: auto;
    }

        .sidebar.collapsed[b-0fe3uu72xn] {
            display: none; /* Esconde completamente em mobile se colapsado */
        }

    .top-row[b-0fe3uu72xn] {
        padding: 0 1rem;
    }
}

.header-icon-btn[b-0fe3uu72xn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #005088;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background-color .15s;
}

    .header-icon-btn:hover[b-0fe3uu72xn],
    .header-icon-btn:focus-visible[b-0fe3uu72xn] {
        background-color: #e7f0fa;
        color: #0f2c59;
    }



/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-scrollable[b-g79tfbas32] {
    padding-top: 1rem;
    overflow-y: auto;
    overflow-x:hidden;
}

.nav-item[b-g79tfbas32]  a {
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

    /* Ícone maior e centralizado */
    .nav-item[b-g79tfbas32]  a i {
        font-size: 1.25rem;
        width: 24px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

.nav-text[b-g79tfbas32] {
    margin-left: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover */
.nav-item[b-g79tfbas32]  a:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

/* Ativo */
.nav-item[b-g79tfbas32]  a.active {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-left: 4px solid #3b82f6; /* Pequeno detalhe azul de página ativa */
    border-radius: 0 8px 8px 0;
}

/* Ajuste fino quando a barra estiver colapsada */
[b-g79tfbas32] .collapsed .nav-item a {
    justify-content: center;
    padding: 0.8rem 0;
}

@media (min-width: 641px) {
    .nav-scrollable[b-g79tfbas32] {
        display: flex;
        flex-direction: column;
    }

    .nav-principal[b-g79tfbas32] {
        flex: 1 1 auto; /* ocupa o espaço disponível e empurra a ajuda para baixo */
        overflow-y: auto; /* se os itens não couberem, o scroll fica só aqui */
    }
}

.nav-rodape[b-g79tfbas32] {
    margin-top: auto;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
/* /Components/Layout/NavMenuAdmin.razor.rz.scp.css */
.nav-scrollable[b-m9sph9cujw] {
    padding-top: 1rem;
}

.nav-item[b-m9sph9cujw]  a {
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

    /* Ícone maior e centralizado */
    .nav-item[b-m9sph9cujw]  a i {
        font-size: 1.25rem;
        width: 24px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

.nav-text[b-m9sph9cujw] {
    margin-left: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover */
.nav-item[b-m9sph9cujw]  a:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

/* Ativo */
.nav-item[b-m9sph9cujw]  a.active {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-left: 4px solid #3b82f6; /* Pequeno detalhe azul de página ativa */
    border-radius: 0 8px 8px 0;
}

/* Ajuste fino quando a barra estiver colapsada */
[b-m9sph9cujw] .collapsed .nav-item a {
    justify-content: center;
    padding: 0.8rem 0;
}
/* /Components/Layout/NavMenuUser.razor.rz.scp.css */
.nav-scrollable[b-p8sd4r7uq0] {
    padding-top: 1rem;
}

.nav-item[b-p8sd4r7uq0]  a {
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

    /* Ícone maior e centralizado */
    .nav-item[b-p8sd4r7uq0]  a i {
        font-size: 1.25rem;
        width: 24px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

.nav-text[b-p8sd4r7uq0] {
    margin-left: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover */
.nav-item[b-p8sd4r7uq0]  a:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

/* Ativo */
.nav-item[b-p8sd4r7uq0]  a.active {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-left: 4px solid #3b82f6; /* Pequeno detalhe azul de página ativa */
    border-radius: 0 8px 8px 0;
}

/* Ajuste fino quando a barra estiver colapsada */
[b-p8sd4r7uq0] .collapsed .nav-item a {
    justify-content: center;
    padding: 0.8rem 0;
}
/* /Components/Layout/UserLayout.razor.rz.scp.css */

/* --- VARIÁVEIS DE CORES GLOBAIS (ESTILO AEGP) --- */
:root[b-ueb27jhp7a] {
    --sidebar-bg: #0f2c59; /* Azul Escuro Oficial do AEGP */
    --sidebar-logo-bg: #0c2449; /* Tom ligeiramente mais escuro para o topo */
    --page-bg: #f4f5f7; /* Cinza claro para destacar os painéis brancos */
    --border-color: #e5e7eb; /* Linhas divisórias suaves */
    --text-muted: #6b7280;
}

/* --- ESTRUTURA BASE DA APP --- */
.page[b-ueb27jhp7a] {
    display: flex;
    flex-direction: row;
    background-color: var(--page-bg);
    height: 100vh;
    height: 100dvh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    width: 100vw;
}

main[b-ueb27jhp7a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}


/* --- BARRA LATERAL (SIDEBAR) FLUIDA & COLAPSÁVEL --- */
.sidebar[b-ueb27jhp7a] {
    background-color: #0f2c59;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* Transição suave de largura (efeito encolher/esticar) */
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
    height: 100vh;
    height: 100dvh;
}

    /* Estado Colapsado: Reduz a largura para focar apenas nos ícones */
    .sidebar.collapsed[b-ueb27jhp7a] {
        width: 70px;
    }

/* Contentor do Logótipo no topo da Sidebar */
.sidebar-logo-container[b-ueb27jhp7a] {
    height: 65px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--sidebar-logo-bg);
}

.sidebar-logo[b-ueb27jhp7a] {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

/* --- BARRA SUPERIOR (HEADER) --- */
.top-row[b-ueb27jhp7a] {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Botão do Hambúrguer Menu */
.burger-btn[b-ueb27jhp7a] {
    background: none;
    border: none;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .burger-btn:hover[b-ueb27jhp7a] {
        background-color: #f3f4f6;
        color: var(--sidebar-bg);
    }

/* Título da Aplicação no Topo */
.app-title[b-ueb27jhp7a] {
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Zona do Perfil / Ações à Direita */
.header-actions[b-ueb27jhp7a] {
    font-size: 0.9rem;
    color: #4b5563;
}

.user-profile[b-ueb27jhp7a] {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- ÁREA DE CONTEÚDO PRINCIPAL --- */
.content[b-ueb27jhp7a] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    /* Recria as linhas milimétricas em grelha muito suaves do teu mockup */
    background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- ANIMAÇÕES DE TRANSIÇÃO DO LOGO --- */
.animate-fade-in[b-ueb27jhp7a] {
    animation: fadeIn-b-ueb27jhp7a 0.2s ease forwards;
}

@keyframes fadeIn-b-ueb27jhp7a {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVIDADE PARA ECRÃS PEQUENOS --- */
@media (max-width: 767.98px) {
    .page[b-ueb27jhp7a] {
        flex-direction: column;
    }

    .sidebar[b-ueb27jhp7a] {
        width: 100%;
        height: auto;
    }

        .sidebar.collapsed[b-ueb27jhp7a] {
            display: none; /* Esconde completamente em mobile se colapsado */
        }

    .top-row[b-ueb27jhp7a] {
        padding: 0 1rem;
    }
}



/* /Components/Pages/Administrator/Dashboard.razor.rz.scp.css */
/* Indicadores: 5 cartões, passam a 2-3 colunas em ecrãs menores */
.adm-kpis[b-z4d1kfxjjb] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 1199.98px) {
    .adm-kpis[b-z4d1kfxjjb] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .adm-kpis[b-z4d1kfxjjb] { grid-template-columns: 1fr; }
}

.adm-kpi[b-z4d1kfxjjb] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0f2c59;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 44, 89, 0.05);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

button.adm-kpi[b-z4d1kfxjjb] { cursor: pointer; }
button.adm-kpi:hover[b-z4d1kfxjjb] { box-shadow: 0 2px 8px rgba(15, 44, 89, 0.12); }
button.adm-kpi:focus-visible[b-z4d1kfxjjb] { outline: 2px solid #2563eb; outline-offset: 2px; }

.adm-kpi.active[b-z4d1kfxjjb] {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.adm-kpi.is-warning[b-z4d1kfxjjb] { border-left-color: #d97706; }
.adm-kpi.is-danger[b-z4d1kfxjjb]  { border-left-color: #dc2626; }
.adm-kpi.adm-kpi-static[b-z4d1kfxjjb] { border-left-color: #16a34a; }

.adm-kpi-lbl[b-z4d1kfxjjb] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.adm-kpi-num[b-z4d1kfxjjb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f2c59;
    line-height: 1.15;
}

.adm-kpi-sub[b-z4d1kfxjjb] {
    font-size: 0.78rem;
    color: #64748b;
}
/* /Components/Pages/Manager/Dashboard.razor.rz.scp.css */
/* Estilos exclusivos desta página (CSS isolation do Blazor).
   O ficheiro tem de ter o mesmo nome do componente: Dashboard.razor -> Dashboard.razor.css */

.md-dash[b-9rmsxi81q2] {
    --md-ink: #0F172A;
    --md-muted: #5B6B82;
    --md-tile: #F1F5F9;
    --md-line: #E2E8F0;
    --md-sky: #38BDF8;
    --md-sky-deep: #0284C7;
    --md-amber: #F59E0B;
    --md-coral: #F87171;
    --md-green: #16A34A;
    --md-track: #E2E8F0;
    padding-bottom: 24px;
    color: var(--md-ink);
}

/* KPIs: número grande + etiqueta curta */
.md-kpis[b-9rmsxi81q2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.md-kpi[b-9rmsxi81q2] {
    background: var(--md-tile);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 4px solid transparent;
}

.md-kpi-num[b-9rmsxi81q2] {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

    .md-kpi-num small[b-9rmsxi81q2] {
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--md-muted);
        letter-spacing: 0;
    }

.md-kpi-lbl[b-9rmsxi81q2] {
    color: var(--md-muted);
    font-size: .88rem;
    font-weight: 400;
}

.md-kpi.is-warn[b-9rmsxi81q2] {
    border-left-color: var(--md-amber);
}

    .md-kpi.is-warn .md-kpi-num[b-9rmsxi81q2] {
        color: #B45309;
    }

.md-kpi.is-ok[b-9rmsxi81q2] {
    border-left-color: var(--md-green);
}

/* Grelhas */
.md-row[b-9rmsxi81q2] {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.md-row-3[b-9rmsxi81q2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md-row-2[b-9rmsxi81q2] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .md-kpis[b-9rmsxi81q2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-row-3[b-9rmsxi81q2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .md-kpis[b-9rmsxi81q2], .md-row-3[b-9rmsxi81q2], .md-row-2[b-9rmsxi81q2] {
        grid-template-columns: 1fr;
    }
}

/* Cartões */
.md-card[b-9rmsxi81q2] {
    background: #fff;
    border: 1px solid var(--md-line);
    border-radius: 16px;
    padding: 20px 22px;
    min-width: 0;
}

.md-card-title[b-9rmsxi81q2] {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 16px;
    color: var(--md-ink);
    letter-spacing: -.01em;
}

/* Anel (donut) */
.md-donut-wrap[b-9rmsxi81q2] {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.md-donut[b-9rmsxi81q2] {
    width: 150px;
    height: 150px;
    flex: none;
}

.md-donut-track[b-9rmsxi81q2] {
    fill: none;
    stroke: var(--md-track);
    stroke-width: 16;
}

.md-donut-value[b-9rmsxi81q2] {
    fill: none;
    stroke: var(--md-sky);
    stroke-width: 16;
    stroke-linecap: butt;
    transition: stroke-dasharray .6s ease;
}

.md-donut-num[b-9rmsxi81q2] {
    font-size: 24px;
    font-weight: 600;
    text-anchor: middle;
    fill: var(--md-ink);
}

.md-donut-lbl[b-9rmsxi81q2] {
    font-size: 10px;
    font-weight: 400;
    text-anchor: middle;
    fill: var(--md-muted);
}

/* Legendas */
.md-legend[b-9rmsxi81q2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

    .md-legend li[b-9rmsxi81q2] {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .88rem;
        color: var(--md-muted);
    }

        .md-legend li b[b-9rmsxi81q2] {
            margin-left: auto;
            font-weight: 500;
            color: var(--md-ink);
            font-variant-numeric: tabular-nums;
        }

.md-legend-total[b-9rmsxi81q2] {
    border-top: 1px solid var(--md-line);
    padding-top: 8px;
}

.md-legend-row[b-9rmsxi81q2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

    .md-legend-row li[b-9rmsxi81q2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

        .md-legend-row li b[b-9rmsxi81q2] {
            margin-left: 0;
            font-size: 1.25rem;
        }

        .md-legend-row li span[b-9rmsxi81q2] {
            display: flex;
            align-items: center;
        }

.dot[b-9rmsxi81q2] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
    flex: none;
}

.md-legend-row .dot[b-9rmsxi81q2] {
    margin-bottom: 2px;
}

.dot.sky[b-9rmsxi81q2], .seg.sky[b-9rmsxi81q2] {
    background: var(--md-sky);
}

.dot.amber[b-9rmsxi81q2], .seg.amber[b-9rmsxi81q2] {
    background: var(--md-amber);
}

.dot.track[b-9rmsxi81q2], .seg.track[b-9rmsxi81q2] {
    background: var(--md-track);
}

/* Barra empilhada das propostas */
.md-big[b-9rmsxi81q2] {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}

    .md-big small[b-9rmsxi81q2] {
        font-size: .95rem;
        font-weight: 400;
        color: var(--md-muted);
        letter-spacing: 0;
    }

.md-stack[b-9rmsxi81q2] {
    display: flex;
    height: 18px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--md-track);
}

    .md-stack .seg[b-9rmsxi81q2] {
        display: block;
        height: 100%;
        transition: width .6s ease;
    }

        .md-stack .seg + .seg[b-9rmsxi81q2] {
            box-shadow: inset 2px 0 0 #fff;
        }

/* Pendências */
.md-pend[b-9rmsxi81q2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

    .md-pend li[b-9rmsxi81q2] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--md-tile);
        font-weight: 400;
        font-size: .92rem;
    }

        .md-pend li i[b-9rmsxi81q2] {
            font-size: 1.1rem;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            flex: none;
        }

        .md-pend li b[b-9rmsxi81q2] {
            margin-left: auto;
            font-size: 1.4rem;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }

        .md-pend li.warn i[b-9rmsxi81q2] {
            background: #FEF3C7;
            color: #B45309;
        }

        .md-pend li.warn b[b-9rmsxi81q2] {
            color: #B45309;
        }

        .md-pend li.ok i[b-9rmsxi81q2] {
            background: #DCFCE7;
            color: var(--md-green);
        }

        .md-pend li.ok b[b-9rmsxi81q2] {
            color: var(--md-green);
        }

/* Barras horizontais */
.md-bars[b-9rmsxi81q2] {
    display: grid;
    gap: 12px;
}

.md-bar[b-9rmsxi81q2] {
    display: grid;
    grid-template-columns: minmax(70px, 120px) 1fr auto;
    align-items: center;
    gap: 12px;
}

.md-bar-lbl[b-9rmsxi81q2] {
    font-weight: 400;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-bar-track[b-9rmsxi81q2] {
    height: 26px;
    border-radius: 8px;
    background: var(--md-tile);
    overflow: hidden;
}

.md-bar-fill[b-9rmsxi81q2] {
    height: 100%;
    border-radius: 8px;
    min-width: 6px;
    transition: width .6s ease;
}

    .md-bar-fill.amber[b-9rmsxi81q2] {
        background: var(--md-amber);
    }

    .md-bar-fill.coral[b-9rmsxi81q2] {
        background: var(--md-coral);
    }

.md-bar-val[b-9rmsxi81q2] {
    font-weight: 500;
    font-size: .92rem;
    min-width: 56px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.md-empty[b-9rmsxi81q2] {
    margin: 8px 0 0;
    color: var(--md-green);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}



/* ---------- Secção "Serviço letivo" ---------- */
.md-kpis-3[b-9rmsxi81q2] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md-row-1-2[b-9rmsxi81q2] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

@media (max-width: 1200px) {
    .md-row-1-2[b-9rmsxi81q2] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .md-kpis-3[b-9rmsxi81q2] {
        grid-template-columns: 1fr;
    }
}

.md-card-center[b-9rmsxi81q2] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .md-card-center .md-card-title[b-9rmsxi81q2] {
        align-self: flex-start;
    }

.md-donut-lg[b-9rmsxi81q2] {
    width: 200px;
    height: 200px;
    margin: 4px 0 18px;
}

.md-legend-inline[b-9rmsxi81q2] {
    width: 100%;
    max-width: 260px;
    flex: none;
}

.md-card-head[b-9rmsxi81q2] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 8px;
}

    .md-card-head .md-card-title[b-9rmsxi81q2] {
        margin: 0;
    }

.md-legend-keys[b-9rmsxi81q2] {
    display: flex;
    gap: 16px;
    flex: none;
    min-width: 0;
}

/* Barras verticais empilhadas */
.md-vbars[b-9rmsxi81q2] {
    display: flex;
    gap: clamp(8px, 2vw, 24px);
    height: 300px;
    padding-top: 28px;
    overflow-x: auto;
}

.md-vbar[b-9rmsxi81q2] {
    flex: 1 1 0;
    min-width: 56px;
    display: flex;
    flex-direction: column;
}

.md-vbar-area[b-9rmsxi81q2] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-bottom: 2px solid var(--md-line);
}

.md-vbar-col[b-9rmsxi81q2] {
    position: relative;
    width: min(72px, 100%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 4px;
    transition: height .6s ease;
}

    .md-vbar-col .seg[b-9rmsxi81q2] {
        display: block;
        flex-basis: 0;
        min-height: 3px;
    }

        .md-vbar-col .seg:first-of-type[b-9rmsxi81q2] {
            border-radius: 6px 6px 0 0;
        }

.md-vbar-val[b-9rmsxi81q2] {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    font-size: .78rem;
    color: #B45309;
    font-weight: 500;
    white-space: nowrap;
}

.md-vbar-lbl[b-9rmsxi81q2] {
    height: 2.6em;
    margin-top: 8px;
    font-size: .8rem;
    color: var(--md-muted);
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.md-empty-muted[b-9rmsxi81q2] {
    color: var(--md-muted);
}

@media (prefers-reduced-motion: reduce) {
    .md-donut-value[b-9rmsxi81q2], .md-stack .seg[b-9rmsxi81q2], .md-bar-fill[b-9rmsxi81q2], .md-vbar-col[b-9rmsxi81q2] {
        transition: none;
    }
}
/* /Components/Pages/Manager/ICLDashboard/IclDashboard.razor.rz.scp.css */
/* Estilos exclusivos desta página (CSS isolation do Blazor).
   O ficheiro tem de ter o mesmo nome do componente: Dashboard.razor -> Dashboard.razor.css */

.md-dash[b-2fmx0gaotu] {
    --md-ink: #0F172A;
    --md-muted: #5B6B82;
    --md-tile: #F1F5F9;
    --md-line: #E2E8F0;
    --md-sky: #38BDF8;
    --md-sky-deep: #0284C7;
    --md-amber: #F59E0B;
    --md-coral: #F87171;
    --md-green: #16A34A;
    --md-track: #E2E8F0;
    padding-bottom: 24px;
    color: var(--md-ink);
}

/* KPIs: número grande + etiqueta curta */
.md-kpis[b-2fmx0gaotu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.md-kpi[b-2fmx0gaotu] {
    background: var(--md-tile);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 4px solid transparent;
}

.md-kpi-num[b-2fmx0gaotu] {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

    .md-kpi-num small[b-2fmx0gaotu] {
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--md-muted);
        letter-spacing: 0;
    }

.md-kpi-lbl[b-2fmx0gaotu] {
    color: var(--md-muted);
    font-size: .88rem;
    font-weight: 400;
}

.md-kpi.is-warn[b-2fmx0gaotu] {
    border-left-color: var(--md-amber);
}

    .md-kpi.is-warn .md-kpi-num[b-2fmx0gaotu] {
        color: #B45309;
    }

.md-kpi.is-ok[b-2fmx0gaotu] {
    border-left-color: var(--md-green);
}

/* Grelhas */
.md-row[b-2fmx0gaotu] {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.md-row-3[b-2fmx0gaotu] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md-row-2[b-2fmx0gaotu] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .md-kpis[b-2fmx0gaotu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-row-3[b-2fmx0gaotu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .md-kpis[b-2fmx0gaotu], .md-row-3[b-2fmx0gaotu], .md-row-2[b-2fmx0gaotu] {
        grid-template-columns: 1fr;
    }
}

/* Cartões */
.md-card[b-2fmx0gaotu] {
    background: #fff;
    border: 1px solid var(--md-line);
    border-radius: 16px;
    padding: 20px 22px;
    min-width: 0;
}

.md-card-title[b-2fmx0gaotu] {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 16px;
    color: var(--md-ink);
    letter-spacing: -.01em;
}

/* Anel (donut) */
.md-donut-wrap[b-2fmx0gaotu] {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.md-donut[b-2fmx0gaotu] {
    width: 150px;
    height: 150px;
    flex: none;
}

.md-donut-track[b-2fmx0gaotu] {
    fill: none;
    stroke: var(--md-track);
    stroke-width: 16;
}

.md-donut-value[b-2fmx0gaotu] {
    fill: none;
    stroke: var(--md-sky);
    stroke-width: 16;
    stroke-linecap: butt;
    transition: stroke-dasharray .6s ease;
}

.md-donut-num[b-2fmx0gaotu] {
    font-size: 24px;
    font-weight: 600;
    text-anchor: middle;
    fill: var(--md-ink);
}

.md-donut-lbl[b-2fmx0gaotu] {
    font-size: 10px;
    font-weight: 400;
    text-anchor: middle;
    fill: var(--md-muted);
}

/* Legendas */
.md-legend[b-2fmx0gaotu] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

    .md-legend li[b-2fmx0gaotu] {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .88rem;
        color: var(--md-muted);
    }

        .md-legend li b[b-2fmx0gaotu] {
            margin-left: auto;
            font-weight: 500;
            color: var(--md-ink);
            font-variant-numeric: tabular-nums;
        }

.md-legend-total[b-2fmx0gaotu] {
    border-top: 1px solid var(--md-line);
    padding-top: 8px;
}

.md-legend-row[b-2fmx0gaotu] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

    .md-legend-row li[b-2fmx0gaotu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

        .md-legend-row li b[b-2fmx0gaotu] {
            margin-left: 0;
            font-size: 1.25rem;
        }

        .md-legend-row li span[b-2fmx0gaotu] {
            display: flex;
            align-items: center;
        }

.dot[b-2fmx0gaotu] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
    flex: none;
}

.md-legend-row .dot[b-2fmx0gaotu] {
    margin-bottom: 2px;
}

.dot.sky[b-2fmx0gaotu], .seg.sky[b-2fmx0gaotu] {
    background: var(--md-sky);
}

.dot.amber[b-2fmx0gaotu], .seg.amber[b-2fmx0gaotu] {
    background: var(--md-amber);
}

.dot.track[b-2fmx0gaotu], .seg.track[b-2fmx0gaotu] {
    background: var(--md-track);
}

/* Barra empilhada das propostas */
.md-big[b-2fmx0gaotu] {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}

    .md-big small[b-2fmx0gaotu] {
        font-size: .95rem;
        font-weight: 400;
        color: var(--md-muted);
        letter-spacing: 0;
    }

.md-stack[b-2fmx0gaotu] {
    display: flex;
    height: 18px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--md-track);
}

    .md-stack .seg[b-2fmx0gaotu] {
        display: block;
        height: 100%;
        transition: width .6s ease;
    }

        .md-stack .seg + .seg[b-2fmx0gaotu] {
            box-shadow: inset 2px 0 0 #fff;
        }

/* Pendências */
.md-pend[b-2fmx0gaotu] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

    .md-pend li[b-2fmx0gaotu] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--md-tile);
        font-weight: 400;
        font-size: .92rem;
    }

        .md-pend li i[b-2fmx0gaotu] {
            font-size: 1.1rem;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            flex: none;
        }

        .md-pend li b[b-2fmx0gaotu] {
            margin-left: auto;
            font-size: 1.4rem;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }

        .md-pend li.warn i[b-2fmx0gaotu] {
            background: #FEF3C7;
            color: #B45309;
        }

        .md-pend li.warn b[b-2fmx0gaotu] {
            color: #B45309;
        }

        .md-pend li.ok i[b-2fmx0gaotu] {
            background: #DCFCE7;
            color: var(--md-green);
        }

        .md-pend li.ok b[b-2fmx0gaotu] {
            color: var(--md-green);
        }

/* Barras horizontais */
.md-bars[b-2fmx0gaotu] {
    display: grid;
    gap: 12px;
}

.md-bar[b-2fmx0gaotu] {
    display: grid;
    grid-template-columns: minmax(70px, 120px) 1fr auto;
    align-items: center;
    gap: 12px;
}

.md-bar-lbl[b-2fmx0gaotu] {
    font-weight: 400;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-bar-track[b-2fmx0gaotu] {
    height: 26px;
    border-radius: 8px;
    background: var(--md-tile);
    overflow: hidden;
}

.md-bar-fill[b-2fmx0gaotu] {
    height: 100%;
    border-radius: 8px;
    min-width: 6px;
    transition: width .6s ease;
}

    .md-bar-fill.amber[b-2fmx0gaotu] {
        background: var(--md-amber);
    }

    .md-bar-fill.coral[b-2fmx0gaotu] {
        background: var(--md-coral);
    }

.md-bar-val[b-2fmx0gaotu] {
    font-weight: 500;
    font-size: .92rem;
    min-width: 56px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.md-empty[b-2fmx0gaotu] {
    margin: 8px 0 0;
    color: var(--md-green);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}



/* ---------- Secção "Serviço letivo" ---------- */
.md-kpis-3[b-2fmx0gaotu] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md-row-1-2[b-2fmx0gaotu] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

@media (max-width: 1200px) {
    .md-row-1-2[b-2fmx0gaotu] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .md-kpis-3[b-2fmx0gaotu] {
        grid-template-columns: 1fr;
    }
}

.md-card-center[b-2fmx0gaotu] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .md-card-center .md-card-title[b-2fmx0gaotu] {
        align-self: flex-start;
    }

.md-donut-lg[b-2fmx0gaotu] {
    width: 200px;
    height: 200px;
    margin: 4px 0 18px;
}

.md-legend-inline[b-2fmx0gaotu] {
    width: 100%;
    max-width: 260px;
    flex: none;
}

.md-card-head[b-2fmx0gaotu] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 8px;
}

    .md-card-head .md-card-title[b-2fmx0gaotu] {
        margin: 0;
    }

.md-legend-keys[b-2fmx0gaotu] {
    display: flex;
    gap: 16px;
    flex: none;
    min-width: 0;
}

/* Barras verticais empilhadas */
.md-vbars[b-2fmx0gaotu] {
    display: flex;
    gap: clamp(8px, 2vw, 24px);
    height: 300px;
    padding-top: 28px;
    overflow-x: auto;
}

.md-vbar[b-2fmx0gaotu] {
    flex: 1 1 0;
    min-width: 56px;
    display: flex;
    flex-direction: column;
}

.md-vbar-area[b-2fmx0gaotu] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-bottom: 2px solid var(--md-line);
}

.md-vbar-col[b-2fmx0gaotu] {
    position: relative;
    width: min(72px, 100%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 4px;
    transition: height .6s ease;
}

    .md-vbar-col .seg[b-2fmx0gaotu] {
        display: block;
        flex-basis: 0;
        min-height: 3px;
    }

        .md-vbar-col .seg:first-of-type[b-2fmx0gaotu] {
            border-radius: 6px 6px 0 0;
        }

.md-vbar-val[b-2fmx0gaotu] {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    font-size: .78rem;
    color: #B45309;
    font-weight: 500;
    white-space: nowrap;
}

.md-vbar-lbl[b-2fmx0gaotu] {
    height: 2.6em;
    margin-top: 8px;
    font-size: .8rem;
    color: var(--md-muted);
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.md-empty-muted[b-2fmx0gaotu] {
    color: var(--md-muted);
}

@media (prefers-reduced-motion: reduce) {
    .md-donut-value[b-2fmx0gaotu], .md-stack .seg[b-2fmx0gaotu], .md-bar-fill[b-2fmx0gaotu], .md-vbar-col[b-2fmx0gaotu] {
        transition: none;
    }
}
/* ---------- ICL: tabela por grupo ---------- */
.icl-table th[b-2fmx0gaotu] {
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--md-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--md-line);
}

.icl-table td[b-2fmx0gaotu] {
    font-size: .9rem;
    border-bottom: 1px solid var(--md-line);
}

.icl-col-bar[b-2fmx0gaotu] {
    width: 28%;
    min-width: 140px;
}

/* Barra por grupo: coberto | em falta | excedente (escala do próprio grupo) */
.icl-stack[b-2fmx0gaotu] {
    height: 12px;
    border-radius: 6px;
}

.dot.coral[b-2fmx0gaotu], .seg.coral[b-2fmx0gaotu] {
    background: var(--md-coral);
}

.dot.green[b-2fmx0gaotu], .seg.green[b-2fmx0gaotu] {
    background: var(--md-green);
}

/* KPI vermelho para dispensas (o dashboard só tinha is-warn e is-ok) */
.md-kpi.is-danger[b-2fmx0gaotu] {
    border-left-color: var(--md-coral);
}

    .md-kpi.is-danger .md-kpi-num[b-2fmx0gaotu] {
        color: #B91C1C;
    }

/* Tabela por grupo */
.icl-table th[b-2fmx0gaotu] {
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--md-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--md-line);
}

.icl-table td[b-2fmx0gaotu] {
    font-size: .9rem;
    border-bottom: 1px solid var(--md-line);
}

.icl-col-bar[b-2fmx0gaotu] {
    width: 28%;
    min-width: 140px;
}

/* Barra por grupo: coberto | a contratar | excedente (escala do próprio grupo) */
.icl-stack[b-2fmx0gaotu] {
    height: 12px;
    border-radius: 6px;
}

.dot.green[b-2fmx0gaotu], .seg.green[b-2fmx0gaotu] {
    background: var(--md-green);
}

.dot.coral[b-2fmx0gaotu], .seg.coral[b-2fmx0gaotu] {
    background: var(--md-coral);
}
/* /Components/Pages/User/Service/Service.razor.rz.scp.css */
/* CSS for Service component */
/* Resumo: 3 cartões lado a lado, empilhados no telemóvel */
.sv-resumo[b-69vwten36r] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 767.98px) {
    .sv-resumo[b-69vwten36r] {
        grid-template-columns: 1fr;
    }
}

.sv-tile[b-69vwten36r] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #94a3b8;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: 0 1px 2px rgba(15, 44, 89, 0.05);
}

    .sv-tile.sv-letiva[b-69vwten36r] {
        border-left-color: #2563eb;
    }

    .sv-tile.sv-naoletiva[b-69vwten36r] {
        border-left-color: #0d9488;
    }

.sv-tile-lbl[b-69vwten36r] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.sv-tile-num[b-69vwten36r] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f2c59;
    line-height: 1.1;
}

    .sv-tile-num small[b-69vwten36r] {
        font-size: 0.85rem;
        font-weight: 500;
        color: #64748b;
    }

.sv-tile-sub[b-69vwten36r] {
    font-size: 0.8rem;
    color: #64748b;
}

.sv-bar[b-69vwten36r] {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    overflow: hidden;
    margin: 0.25rem 0;
}

    .sv-bar > span[b-69vwten36r] {
        display: block;
        height: 100%;
        background: #2563eb;
    }

/* Badges por componente — as mesmas cores dos cartões */
.sv-badge-cl[b-69vwten36r] {
    background: #dbeafe;
    color: #1e40af;
    font-weight: 600;
}

.sv-badge-cnl[b-69vwten36r] {
    background: #ccfbf1;
    color: #115e59;
    font-weight: 600;
}

.sv-badge-credito[b-69vwten36r] {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

/* Impressão: cores dos badges e cartões sem sombras */
@media print {
    .sv-tile[b-69vwten36r], .card[b-69vwten36r] {
        box-shadow: none !important;
    }

    .sv-badge-cl[b-69vwten36r], .sv-badge-cnl[b-69vwten36r], .sv-badge-credito[b-69vwten36r], .sv-bar > span[b-69vwten36r] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
