/* /Components/Layout/AccountLayout.razor.rz.scp.css */
.account-page[b-m3w72gwpck] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

/* ---- Left: dark instrument panel with a large chronograph dial ---- */
.account-marca[b-m3w72gwpck] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem 4rem;
    color: #fff;
    background:
        radial-gradient(80% 60% at 20% 20%, rgba(30, 198, 227, 0.18) 0%, transparent 60%),
        radial-gradient(70% 60% at 90% 90%, rgba(42, 115, 220, 0.28) 0%, transparent 60%),
        linear-gradient(160deg, var(--cr-ink-800) 0%, var(--cr-ink-950) 100%);
}

/* Logo, name and subtitle share one left edge. The mark's square starts ~3% into the SVG, hence the
   small negative margin. */
.account-logo[b-m3w72gwpck] {
    display: block;
    width: 208px;
    height: 208px;
    margin: 0 0 1.25rem -7px;
}

.account-titulo[b-m3w72gwpck] {
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    letter-spacing: .14em;
}

.account-sub[b-m3w72gwpck] {
    margin-top: 1rem;
    font-family: var(--cr-font-mono);
    font-size: 1.2rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--cr-cyan-300);
}

/* Company logo (Configuração), bottom-left, no box around it. */
.account-empresa[b-m3w72gwpck] {
    position: absolute;
    left: 4rem;
    bottom: 2rem;
    max-width: 160px;
    max-height: 56px;
    object-fit: contain;
}

/* ---- Right: the form over the animated clock background (FundoRelogio) ---- */
.account-formulario[b-m3w72gwpck] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #cfe2f7;
}

.account-card[b-m3w72gwpck] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 410px;
    padding: 2.25rem 2.25rem 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--cr-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 860px) {
    .account-page[b-m3w72gwpck] {
        grid-template-columns: 1fr;
    }

    .account-marca[b-m3w72gwpck] {
        display: none;
    }
}

/* ---- Dark mode ---- */
:root[data-theme="dark"] .account-card[b-m3w72gwpck] {
    background: rgba(13, 25, 46, 0.9);
    border-color: rgba(170, 200, 240, 0.12);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-kmcb9cbazk] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-kmcb9cbazk] {
    flex: 1;
    min-width: 0;
}

/* ---- Sidebar: dark instrument panel with a faint dial of hour marks in the corner ---- */
.sidebar[b-kmcb9cbazk] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 60% at 0% 0%, rgba(30, 198, 227, 0.16) 0%, transparent 55%),
        radial-gradient(90% 50% at 100% 100%, rgba(42, 115, 220, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, var(--cr-ink-900) 0%, var(--cr-ink-950) 100%);
    border-right: 1px solid rgba(111, 226, 244, 0.08);
}

    .sidebar[b-kmcb9cbazk]::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -210px;
        bottom: -170px;
        border-radius: 50%;
        background: repeating-conic-gradient(from 0deg, rgba(111, 226, 244, 0.22) 0deg 0.7deg, transparent 0.7deg 6deg);
        -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 67%, transparent 68%);
        mask: radial-gradient(circle, transparent 60%, #000 61%, #000 67%, transparent 68%);
        animation: rodar-b-kmcb9cbazk 240s linear infinite;
        pointer-events: none;
    }

@keyframes rodar-b-kmcb9cbazk {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Top bar ---- */
.top-row[b-kmcb9cbazk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 3.4rem;
    padding: 0 1.75rem;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(15, 36, 64, 0.08);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.relogio[b-kmcb9cbazk] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--cr-text-2);
    font-size: .9rem;
}

    .relogio[b-kmcb9cbazk]  .icone {
        color: var(--cr-accent);
    }

.relogio-sep[b-kmcb9cbazk] {
    width: 1px;
    height: 1.1rem;
    background: var(--cr-line-strong);
}

.relogio-hora[b-kmcb9cbazk] {
    font-size: 1rem;
    color: var(--cr-text);
    letter-spacing: .04em;
}

.utilizador-zona[b-kmcb9cbazk] {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.utilizador[b-kmcb9cbazk] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-right: .6rem;
    padding: .25rem .8rem .25rem .25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--cr-line);
}

.avatar[b-kmcb9cbazk] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: .8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--cr-cyan-400), var(--cr-blue-600));
}

.utilizador-nome[b-kmcb9cbazk] {
    font-weight: 600;
    font-size: .92rem;
}

.content[b-kmcb9cbazk] {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

@media (max-width: 640.98px) {
    .relogio-data[b-kmcb9cbazk], .relogio-sep[b-kmcb9cbazk], .utilizador-nome[b-kmcb9cbazk] {
        display: none;
    }

    .top-row[b-kmcb9cbazk] {
        padding: 0 1rem;
    }

    .content[b-kmcb9cbazk] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 641px) {
    .page[b-kmcb9cbazk] {
        flex-direction: row;
    }

    .sidebar[b-kmcb9cbazk] {
        width: 268px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    /* The page is exactly the window: top bar, then the content area (app.css) fills the rest. */
    main[b-kmcb9cbazk] {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .top-row[b-kmcb9cbazk] {
        flex-shrink: 0;
    }
}

#blazor-error-ui[b-kmcb9cbazk] {
    color-scheme: light only;
    background: #fff5e3;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-kmcb9cbazk] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---- Dark mode ---- */
:root[data-theme="dark"] .top-row[b-kmcb9cbazk] {
    background: rgba(9, 18, 36, 0.72);
    border-bottom-color: rgba(170, 200, 240, 0.1);
}

:root[data-theme="dark"] .utilizador[b-kmcb9cbazk] {
    background: rgba(255, 255, 255, 0.05);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.marca-zona[b-ntpsu6miy0] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 3.4rem;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(111, 226, 244, 0.1);
}

.marca[b-ntpsu6miy0] {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
}

    .marca img[b-ntpsu6miy0] {
        width: 36px;
        height: 36px;
    }

.marca-nome[b-ntpsu6miy0] {
    display: block;
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.05;
    letter-spacing: .08em;
}

.marca-sub[b-ntpsu6miy0] {
    display: block;
    font-family: var(--cr-font-mono);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(111, 226, 244, 0.75);
}

/* Mobile menu toggle (only shown on narrow screens). */
.navbar-toggler[b-ntpsu6miy0] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: absolute;
    top: .7rem;
    right: 1rem;
    z-index: 2;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255, 255, 255, 0.06);
}

    .navbar-toggler:checked[b-ntpsu6miy0] {
        background-color: rgba(255, 255, 255, 0.2);
    }

.nav-scrollable[b-ntpsu6miy0] {
    position: relative;
    z-index: 1;
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ntpsu6miy0] {
    display: flex;
}

.nav-lista[b-ntpsu6miy0] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1.1rem .85rem;
}

.nav-secao[b-ntpsu6miy0] {
    font-family: var(--cr-font-mono);
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 1.2rem .9rem .45rem;
}

.nav-lista[b-ntpsu6miy0]  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    height: 2.85rem;
    padding: 0 .9rem;
    border-radius: 10px;
    color: rgba(226, 236, 250, 0.78);
    font-size: .98rem;
    font-weight: 500;
    transition: background-color .15s, color .15s;
}

    .nav-lista[b-ntpsu6miy0]  .nav-link .icone {
        width: 1.2rem;
        height: 1.2rem;
        color: rgba(111, 226, 244, 0.6);
        transition: color .15s;
    }

    .nav-lista[b-ntpsu6miy0]  .nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    /* Active item: lit like a watch hand — cyan bar, glow and brighter icon. */
    .nav-lista[b-ntpsu6miy0]  .nav-link.active {
        background: linear-gradient(90deg, rgba(30, 198, 227, 0.18) 0%, rgba(42, 115, 220, 0.08) 100%);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(111, 226, 244, 0.14);
    }

        .nav-lista[b-ntpsu6miy0]  .nav-link.active::before {
            content: "";
            position: absolute;
            left: -0.85rem;
            top: 22%;
            bottom: 22%;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: var(--cr-cyan-400);
            box-shadow: 0 0 12px rgba(30, 198, 227, 0.8);
        }

        .nav-lista[b-ntpsu6miy0]  .nav-link.active .icone {
            color: var(--cr-cyan-300);
        }

.nav-rodape[b-ntpsu6miy0] {
    margin-top: auto;
    padding: 1rem 1.6rem 1.25rem;
    font-size: .72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.35);
}

.nav-rodape-marca[b-ntpsu6miy0] {
    display: block;
    font-family: var(--cr-font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 641px) {
    .navbar-toggler[b-ntpsu6miy0] {
        display: none;
    }

    .nav-scrollable[b-ntpsu6miy0] {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 3.4rem);
        overflow-y: auto;
    }
}

.nav-rodape-logo[b-ntpsu6miy0] {
    display: block;
    max-width: 120px;
    max-height: 40px;
    object-fit: contain;
    margin-bottom: .5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-49ssfmysgr],
.components-reconnect-repeated-attempt-visible[b-49ssfmysgr],
.components-reconnect-failed-visible[b-49ssfmysgr],
.components-pause-visible[b-49ssfmysgr],
.components-resume-failed-visible[b-49ssfmysgr],
.components-rejoining-animation[b-49ssfmysgr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-retrying[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-failed[b-49ssfmysgr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-49ssfmysgr] {
    display: block;
}


#components-reconnect-modal[b-49ssfmysgr] {
    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-49ssfmysgr 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-49ssfmysgr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-49ssfmysgr 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-49ssfmysgr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-49ssfmysgr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-49ssfmysgr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-49ssfmysgr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-49ssfmysgr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-49ssfmysgr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-49ssfmysgr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-49ssfmysgr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-49ssfmysgr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-49ssfmysgr] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-49ssfmysgr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-49ssfmysgr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-49ssfmysgr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-49ssfmysgr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-49ssfmysgr {
    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/Auditoria.razor.rz.scp.css */
/* Audit table (2026-09-28, asked "mais clean, mais legível"): airy rows of fixed height (the
   "Ajustar ao ecrã" paging measures one row), date over time, user with initials, one coloured badge
   per kind of action, detail in a softer colour with an ellipsis (full text in the title). Only
   horizontal lines between rows, no column lines. */

.auditoria-wrap[b-p7g28i0i7g] {
    overflow: auto;
}

.tabela-auditoria[b-p7g28i0i7g] {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .9rem;
}

    .tabela-auditoria .c-sel[b-p7g28i0i7g] { width: 3rem; }
    .tabela-auditoria .c-data[b-p7g28i0i7g] { width: 12.5rem; }
    .tabela-auditoria .c-utilizador[b-p7g28i0i7g] { width: 13rem; }
    .tabela-auditoria .c-acao[b-p7g28i0i7g] { width: 15rem; }

    .tabela-auditoria th[b-p7g28i0i7g] {
        position: sticky;
        top: 0;
        z-index: 1;
        padding: .75rem 1.1rem;
        background: var(--tb-cab-fundo);
        color: var(--tb-cab-texto);
        border-bottom: 1px solid var(--tb-cab-linha);
        font-family: var(--cr-font-mono);
        font-size: .7rem;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        text-align: left;
        white-space: nowrap;
    }

    .tabela-auditoria td[b-p7g28i0i7g] {
        height: 3.6rem;
        padding: .55rem 1.1rem;
        border-bottom: 1px solid var(--tb-linha);
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--cr-text);
    }

    .tabela-auditoria th.sel[b-p7g28i0i7g],
    .tabela-auditoria td.sel[b-p7g28i0i7g] {
        padding-left: 1.1rem;
        padding-right: 0;
    }

    .tabela-auditoria tbody tr[b-p7g28i0i7g] {
        cursor: pointer;
        transition: background-color .12s;
    }

        .tabela-auditoria tbody tr:nth-child(even) td[b-p7g28i0i7g] {
            background-color: color-mix(in srgb, var(--tb-zebra) 45%, transparent);
        }

        .tabela-auditoria tbody tr:hover td[b-p7g28i0i7g] {
            background-color: var(--tb-hover);
        }

        .tabela-auditoria tbody tr.selecionada td[b-p7g28i0i7g] {
            background-color: var(--tb-selecionada);
        }

            .tabela-auditoria tbody tr.selecionada td:first-child[b-p7g28i0i7g] {
                box-shadow: inset 3px 0 0 var(--cr-accent);
            }

/* Date over time */
.data[b-p7g28i0i7g] {
    display: block;
    font-weight: 600;
    color: var(--cr-strong);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.hora[b-p7g28i0i7g] {
    display: block;
    font-family: var(--cr-font-mono);
    font-size: .76rem;
    color: var(--cr-text-3);
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

/* User with initials */
.utilizador[b-p7g28i0i7g] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    max-width: 100%;
}

.avatar[b-p7g28i0i7g] {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--cr-blue-100);
    color: var(--cr-blue-600);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.utilizador-nome[b-p7g28i0i7g] {
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Action badge: one colour per kind of action (Tom in Auditoria.razor) */
.acao[b-p7g28i0i7g] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    padding: .28rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.acao-neutro[b-p7g28i0i7g] { background: rgba(100, 116, 139, .12); color: #475569; border-color: rgba(100, 116, 139, .22); }
.acao-info[b-p7g28i0i7g]   { background: rgba(42, 115, 220, .12);  color: #1a55b3; border-color: rgba(42, 115, 220, .24); }
.acao-ok[b-p7g28i0i7g]     { background: rgba(19, 138, 90, .12);   color: #0f6e47; border-color: rgba(19, 138, 90, .24); }
.acao-aviso[b-p7g28i0i7g]  { background: rgba(200, 120, 0, .13);   color: #8a4b00; border-color: rgba(200, 120, 0, .26); }
.acao-perigo[b-p7g28i0i7g] { background: rgba(200, 40, 60, .11);   color: #a3202f; border-color: rgba(200, 40, 60, .24); }

.detalhe[b-p7g28i0i7g] {
    color: var(--cr-text-2) !important;
}

/* Dark theme */
:root[data-theme="dark"] .avatar[b-p7g28i0i7g] { background: rgba(111, 226, 244, .14); color: #9fe9f5; }
:root[data-theme="dark"] .acao-neutro[b-p7g28i0i7g] { background: rgba(160, 175, 200, .14); color: #cbd5e1; border-color: rgba(160, 175, 200, .26); }
:root[data-theme="dark"] .acao-info[b-p7g28i0i7g]   { background: rgba(77, 143, 230, .18);  color: #a6d0ff; border-color: rgba(77, 143, 230, .34); }
:root[data-theme="dark"] .acao-ok[b-p7g28i0i7g]     { background: rgba(60, 190, 120, .16);  color: #95ebb3; border-color: rgba(60, 190, 120, .32); }
:root[data-theme="dark"] .acao-aviso[b-p7g28i0i7g]  { background: rgba(240, 170, 60, .16);  color: #fbd48f; border-color: rgba(240, 170, 60, .32); }
:root[data-theme="dark"] .acao-perigo[b-p7g28i0i7g] { background: rgba(240, 90, 100, .16);  color: #ffadb4; border-color: rgba(240, 90, 100, .32); }
/* /Components/Pages/Colaborador.razor.rz.scp.css */
.colaborador-grelha[b-nkp3stfbio] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .colaborador-grelha[b-nkp3stfbio] { grid-template-columns: 1fr; }
}

.colaborador-lado[b-nkp3stfbio] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Wide screens: the page fits the window, like the grids. The calendar panel takes the height left
   and pages its weeks ("Ajustar ao ecrã" counts how many fit in .calendario-area); the side column
   scrolls on its own if its panels are taller. */
@media (min-width: 1101px) {
    .colaborador-grelha[b-nkp3stfbio] {
        flex: 1 1 0;
        min-height: 24rem;
        grid-template-rows: minmax(0, 1fr);
        align-items: stretch;
    }

    .calendario-painel[b-nkp3stfbio] {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .calendario-area[b-nkp3stfbio] {
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    .colaborador-lado[b-nkp3stfbio] {
        min-height: 0;
        overflow: auto;
    }
}

.barra-filtros .voltar[b-nkp3stfbio] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.aviso-flutuante[b-nkp3stfbio] {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    max-width: 480px;
    box-shadow: var(--cr-shadow-lg);
}

/* ---- Calendar of the period: one row per week, Monday to Sunday, weekends in the grid's colours ---- */
.calendario[b-nkp3stfbio] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendario-semana[b-nkp3stfbio] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendario-cabecalho[b-nkp3stfbio] {
    font-family: var(--cr-font-mono);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cr-text-3);
    text-align: center;
    padding-bottom: .2rem;
}

.calendario-dia[b-nkp3stfbio] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 58px;
    padding: .35rem .5rem;
    border-radius: 9px;
    border: 1px solid var(--cr-line);
    background: var(--cr-surface-solid);
    color: var(--cr-text);
    text-align: left;
    transition: border-color .12s, box-shadow .12s;
}

    .calendario-dia:hover[b-nkp3stfbio], .calendario-dia:focus-visible[b-nkp3stfbio] {
        border-color: var(--cr-cyan-400);
        box-shadow: var(--cr-glow);
        outline: none;
    }

    .calendario-dia.sabado[b-nkp3stfbio] { background: rgb(255, 238, 208); }
    .calendario-dia.domingo[b-nkp3stfbio] { background: rgb(255, 222, 222); }
    .calendario-dia.com-horas[b-nkp3stfbio] { border-color: rgba(28, 92, 192, 0.45); }

    /* Hours edited by hand: the same green as in Mapa de Horas (--tb-alterado-*), with its corner mark. */
    .calendario-dia.dia-alterado[b-nkp3stfbio] {
        position: relative;
        background: var(--tb-alterado-cel);
        border-color: var(--tb-alterado-texto);
    }

        .calendario-dia.dia-alterado .calendario-horas[b-nkp3stfbio] { color: var(--tb-alterado-texto); }

        .calendario-dia.dia-alterado[b-nkp3stfbio]::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            border-top: 9px solid var(--tb-alterado-texto);
            border-left: 9px solid transparent;
            border-top-right-radius: 8px;
        }

.calendario-num[b-nkp3stfbio] {
    font-size: .8rem;
    color: var(--cr-text-2);
}

.calendario-mes[b-nkp3stfbio] {
    font-size: .72rem;
    color: var(--cr-text-3);
}

.calendario-horas[b-nkp3stfbio] {
    align-self: flex-end;
    font-family: var(--cr-font-mono);
    font-size: .95rem;
    font-weight: 600;
    color: var(--cr-accent);
}

.calendario-resumo[b-nkp3stfbio] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.4rem;
    margin-top: .9rem;
    padding-top: .75rem;
    border-top: 1px dashed var(--cr-line-strong);
    color: var(--cr-text-2);
    font-size: .92rem;
}

    .calendario-resumo strong[b-nkp3stfbio] {
        color: var(--cr-text);
        font-variant-numeric: tabular-nums;
    }

.calendario-obs[b-nkp3stfbio] {
    flex-basis: 100%;
}

/* Legend right below the calendar: a small square in the colour of each kind of day. */
.calendario-legenda[b-nkp3stfbio] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.4rem;
    margin-top: .7rem;
    color: var(--cr-text-2);
    font-size: .85rem;
}

    .calendario-legenda > span[b-nkp3stfbio] {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
    }

.legenda-cor[b-nkp3stfbio] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--cr-line-strong);
}

    .legenda-cor.dia-alterado[b-nkp3stfbio] { background: var(--tb-alterado-cel); border-color: var(--tb-alterado-texto); }
    .legenda-cor.sabado[b-nkp3stfbio] { background: rgb(255, 238, 208); }
    .legenda-cor.domingo[b-nkp3stfbio] { background: rgb(255, 222, 222); }

:root[data-theme="dark"] .legenda-cor.sabado[b-nkp3stfbio] { background: #3a3120; }
:root[data-theme="dark"] .legenda-cor.domingo[b-nkp3stfbio] { background: #3d2225; }

:root[data-theme="dark"] .calendario-dia.sabado[b-nkp3stfbio] { background: #3a3120; }
:root[data-theme="dark"] .calendario-dia.domingo[b-nkp3stfbio] { background: #3d2225; }

/* ---- Small bar chart of the last 12 periods (one series; value on hover/focus) ---- */
.grafico-mini[b-nkp3stfbio] {
    --barra: #2a73dc;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 130px;
    border-bottom: 1px solid var(--cr-line-strong);
}

:root[data-theme="dark"] .grafico-mini[b-nkp3stfbio] { --barra: #4d8fe6; }

.grafico-mini-coluna[b-nkp3stfbio] {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    outline: none;
}

.grafico-mini-barra[b-nkp3stfbio] {
    width: 62%;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--barra);
    opacity: .8;
}

.grafico-mini-coluna:hover .grafico-mini-barra[b-nkp3stfbio],
.grafico-mini-coluna:focus-visible .grafico-mini-barra[b-nkp3stfbio] { opacity: 1; }

.grafico-mini-mes[b-nkp3stfbio] {
    position: absolute;
    bottom: -1.3rem;
    font-size: .72rem;
    color: var(--cr-text-3);
}

/* Just above the bar (--altura, set per column), but never higher than the top of the chart. */
.grafico-dica[b-nkp3stfbio] {
    position: absolute;
    bottom: min(calc(var(--altura, 0%) + 6px), calc(100% - 4.4rem));
    z-index: 3;
    display: none;
    padding: .35rem .6rem;
    border-radius: 8px;
    background: var(--cr-surface-solid);
    border: 1px solid var(--cr-line-strong);
    box-shadow: var(--cr-shadow);
    font-size: .8rem;
    color: var(--cr-text-2);
    white-space: nowrap;
    text-align: center;
}

    .grafico-dica strong[b-nkp3stfbio] { color: var(--cr-text); }

.grafico-mini-coluna:hover .grafico-dica[b-nkp3stfbio],
.grafico-mini-coluna:focus-visible .grafico-dica[b-nkp3stfbio] { display: block; }

/* Outer columns: the tip grows inwards, so the panel never cuts it sideways. */
.grafico-dica.dica-esquerda[b-nkp3stfbio] { left: 0; }
.grafico-dica.dica-direita[b-nkp3stfbio] { right: 0; }

.tabela-pagamentos td[b-nkp3stfbio], .tabela-pagamentos th[b-nkp3stfbio] { padding: .45rem .6rem; }

/* The pager of the calendar sits flush with the bottom of its panel, as under the grids. */
.calendario-painel[b-nkp3stfbio]  .paginacao {
    margin: .9rem -1.35rem -1.25rem;
    border-radius: 0 0 var(--cr-radius) var(--cr-radius);
}

/* Narrower screens (one column): a fixed height for the calendar area, so "Ajustar ao ecrã" measures
   a stable space (measuring its own content would shrink it page after page). */
@media (max-width: 1100px) {
    .calendario-area[b-nkp3stfbio] {
        height: 30rem;
        overflow: hidden;
    }
}

/* Dark mode: the weekend colours above are more specific; an edited day stays green. */
:root[data-theme="dark"] .calendario-dia.dia-alterado[b-nkp3stfbio] { background: var(--tb-alterado-cel); }
/* /Components/Pages/Configuracao.razor.rz.scp.css */
.config-grelha[b-q2jlvmp1zv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1180px;
    align-items: start;
}

@media (max-width: 1000px) {
    .config-grelha[b-q2jlvmp1zv] { grid-template-columns: 1fr; }
}

.logo-previa[b-q2jlvmp1zv] {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--cr-line-strong);
    border-radius: var(--cr-radius-sm);
    background: var(--cr-surface-solid);
}

    .logo-previa img[b-q2jlvmp1zv] {
        max-width: 110px;
        max-height: 52px;
        object-fit: contain;
    }

.config-lista dt[b-q2jlvmp1zv] {
    font-weight: 600;
    margin-top: .6rem;
}

.config-lista dd[b-q2jlvmp1zv] {
    margin: .1rem 0 0;
    color: var(--cr-text-2);
}

    .config-lista dd code[b-q2jlvmp1zv] {
        margin-left: .35rem;
        font-size: .78rem;
    }

/* Delete the program's tables: set apart at the bottom of the Servidor card, in the danger colour. */
.zona-perigo[b-q2jlvmp1zv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: .8rem 1rem;
    border: 1px solid color-mix(in srgb, var(--cr-danger) 45%, transparent);
    border-radius: var(--cr-radius-sm);
    background: color-mix(in srgb, var(--cr-danger) 6%, transparent);
}

    .zona-perigo strong[b-q2jlvmp1zv] {
        color: var(--cr-danger);
    }

    .zona-perigo .btn[b-q2jlvmp1zv] {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: .4rem;
    }

.lista-tabelas[b-q2jlvmp1zv] {
    margin: 0 0 .8rem;
    padding-left: 1.2rem;
    font-size: .92rem;
}
/* /Components/Pages/EditarDia.razor.rz.scp.css */
/* Same design as the other tables (tokens --tb-* in app.css), with the column colours of
   EditarHorasExtraForm.GerarHtmlGrid (see CLAUDE.md in C:\Horas) as tints on each header and all
   its cells: Início blue, Fim violet, Duração amber, Código cyan, Horas pink, Horas Filtradas green. */
.grelha-dia[b-6oitmc4bbv] {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 14px;
    color: var(--cr-text);
    border: 1px solid var(--tb-cab-linha);
    border-radius: var(--cr-radius-sm);
    overflow: hidden;
}

    .grelha-dia th[b-6oitmc4bbv], .grelha-dia td[b-6oitmc4bbv] {
        border-bottom: 1px solid var(--tb-linha);
        border-right: 1px solid var(--tb-coluna);
        padding: 7px 6px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-variant-numeric: tabular-nums;
    }

        .grelha-dia th:last-child[b-6oitmc4bbv], .grelha-dia td:last-child[b-6oitmc4bbv] {
            border-right: none;
        }

    .grelha-dia tbody tr:last-child td[b-6oitmc4bbv] {
        border-bottom: none;
    }

    .grelha-dia thead th[b-6oitmc4bbv] {
        height: 44px;
        white-space: normal;
        border-bottom-color: var(--tb-cab-linha);
        border-right-color: var(--tb-cab-coluna);
        font-family: var(--cr-font-mono);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    /* Alternate rows: a darker layer over the column colours, as in the Colaboradores table. */
    .grelha-dia tbody tr:nth-child(even) td:not(.nao-editavel)[b-6oitmc4bbv] {
        background-image: linear-gradient(var(--tb-zebra-sombra), var(--tb-zebra-sombra));
    }

    .grelha-dia tbody tr:hover td:not(.nao-editavel)[b-6oitmc4bbv] {
        background-image: linear-gradient(var(--tb-hover), var(--tb-hover));
    }

    /* Darker rows stay darker while hovered: the hover goes on top of the alternate-row layer. */
    .grelha-dia tbody tr:nth-child(even):hover td:not(.nao-editavel)[b-6oitmc4bbv] {
        background-image: linear-gradient(var(--tb-hover), var(--tb-hover)), linear-gradient(var(--tb-zebra-sombra), var(--tb-zebra-sombra));
    }

/* Header: the column colour with a coloured top edge; cells: the lighter tint of the same colour. */
th.ini[b-6oitmc4bbv] { background: var(--tb-ini-cab); color: var(--tb-ini-texto); box-shadow: inset 0 3px 0 var(--tb-ini-texto); }
td.ini[b-6oitmc4bbv] { background-color: var(--tb-ini-cel); }
th.fim[b-6oitmc4bbv] { background: var(--tb-fim-cab); color: var(--tb-fim-texto); box-shadow: inset 0 3px 0 var(--tb-fim-texto); }
td.fim[b-6oitmc4bbv] { background-color: var(--tb-fim-cel); }
th.duracao[b-6oitmc4bbv] { background: var(--tb-duracao-cab); color: var(--tb-duracao-texto); box-shadow: inset 0 3px 0 var(--tb-duracao-texto); }
td.duracao[b-6oitmc4bbv] { background-color: var(--tb-duracao-cel); }
th.codigo[b-6oitmc4bbv] { background: var(--tb-subsidio-cab); color: var(--tb-subsidio-texto); box-shadow: inset 0 3px 0 var(--tb-subsidio-texto); }
td.codigo[b-6oitmc4bbv] { background-color: var(--tb-subsidio-cel); }
th.horas[b-6oitmc4bbv] { background: var(--tb-desconto-cab); color: var(--tb-desconto-texto); box-shadow: inset 0 3px 0 var(--tb-desconto-texto); }
td.horas[b-6oitmc4bbv] { background-color: var(--tb-desconto-cel); }
th.filtradas[b-6oitmc4bbv] { background: var(--tb-horas-cab); color: var(--tb-horas-texto); box-shadow: inset 0 3px 0 var(--tb-horas-texto); }
td.filtradas[b-6oitmc4bbv] { background-color: var(--tb-horas-cel); }

/* Lines without extra hours: nothing to edit, shown greyed with faint stripes. */
td.nao-editavel[b-6oitmc4bbv] {
    background: repeating-linear-gradient(135deg, rgba(128, 128, 128, .10) 0 5px, transparent 5px 10px), var(--tb-cab-fundo) !important;
}

/* Editable hours: look like text until hovered or focused (as in the Colaboradores table). */
input.editavel[b-6oitmc4bbv] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    text-align: center;
    font: inherit;
    font-weight: 600;
    color: inherit;
    padding: 1px 2px;
}

    input.editavel:hover:not(:disabled)[b-6oitmc4bbv] {
        border-color: var(--cr-line-strong);
        background: var(--tb-fundo);
    }

    input.editavel:focus[b-6oitmc4bbv] {
        outline: none;
        border-color: var(--cr-accent);
        box-shadow: var(--cr-glow);
        background: var(--tb-fundo);
    }
/* /Components/Pages/Home.razor.rz.scp.css */
.hero[b-76jujs295z] {
    margin: .25rem 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

/* "Últimas picagens" next to the title: calm when recent, amber after 3 days, red after 7. */
.estado-picagens[b-76jujs295z] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--cr-line);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow);
    color: var(--cr-text-2);
    font-size: .92rem;
}

    .estado-picagens strong[b-76jujs295z] {
        color: var(--cr-text);
        font-variant-numeric: tabular-nums;
    }

.estado-picagens-dias[b-76jujs295z] {
    font-weight: 600;
}

.estado-picagens.aviso[b-76jujs295z] {
    border-color: rgba(184, 110, 0, 0.45);
    background: rgba(255, 245, 227, 0.92);
    color: #7a4a00;
}

.estado-picagens.alerta[b-76jujs295z] {
    border-color: rgba(196, 43, 59, 0.45);
    background: rgba(253, 236, 238, 0.95);
    color: #8e1e2a;
}

    .estado-picagens.aviso strong[b-76jujs295z], .estado-picagens.alerta strong[b-76jujs295z] { color: inherit; }

:root[data-theme="dark"] .estado-picagens.aviso[b-76jujs295z] { background: rgba(240, 169, 59, 0.14); color: #f7d08f; }
:root[data-theme="dark"] .estado-picagens.alerta[b-76jujs295z] { background: rgba(255, 107, 122, 0.14); color: #ffb3bb; }

.home-grelha[b-76jujs295z] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
    gap: 1.5rem;
    /* The update panel is exactly as tall as the 2×2 block of modules, top and bottom aligned. */
    align-items: stretch;
}

@media (max-width: 1100px) {
    .home-grelha[b-76jujs295z] {
        grid-template-columns: 1fr;
    }
}

/* ---- Module tiles (the four MainForm buttons) ---- */
.modulos[b-76jujs295z] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
}

@media (max-width: 700px) {
    .modulos[b-76jujs295z] {
        grid-template-columns: 1fr;
    }
}

.modulo[b-76jujs295z] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 104px;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--cr-shadow);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    color: var(--cr-text);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    /* Thin luminous edge that lights up on hover. */
    .modulo[b-76jujs295z]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--cr-cyan-400), var(--cr-blue-600));
        opacity: 0;
        transition: opacity .18s ease;
    }

    .modulo:hover[b-76jujs295z] {
        transform: translateY(-3px);
        box-shadow: var(--cr-shadow-lg);
        border-color: rgba(111, 226, 244, 0.5);
        color: var(--cr-text);
    }

        .modulo:hover[b-76jujs295z]::after {
            opacity: 1;
        }

/* Icon tile: pale blue with a blue icon in light mode, the navy tile with a cyan icon in dark mode. */
.modulo-icone[b-76jujs295z] {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f7ff, #d8e7fb);
    box-shadow: 0 4px 12px rgba(28, 92, 192, 0.14), inset 0 0 0 1px rgba(28, 92, 192, 0.18);
}

    .modulo-icone[b-76jujs295z]  .icone {
        width: 1.45rem;
        height: 1.45rem;
        color: var(--cr-blue-600);
    }

:root[data-theme="dark"] .modulo-icone[b-76jujs295z] {
    background: linear-gradient(135deg, var(--cr-ink-700), var(--cr-ink-900));
    box-shadow: 0 6px 16px rgba(10, 24, 48, 0.25), inset 0 0 0 1px rgba(111, 226, 244, 0.25);
}

    :root[data-theme="dark"] .modulo-icone[b-76jujs295z]  .icone {
        color: var(--cr-cyan-300);
    }

.modulo-texto[b-76jujs295z] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
}

.modulo-titulo[b-76jujs295z] {
    font-family: var(--cr-font-display);
    font-weight: 600;
    font-size: 1.25rem;
}

.modulo-seta[b-76jujs295z] {
    margin-left: auto;
    align-self: center;
    color: var(--cr-text-3);
    transition: transform .18s ease, color .18s ease;
}

.modulo:hover .modulo-seta[b-76jujs295z] {
    transform: translateX(3px);
    color: var(--cr-accent);
}

/* ---- Update panel with the chronograph ring ---- */
.atualizar[b-76jujs295z] {
    display: flex;
    flex-direction: column;
}

.atualizar-corpo[b-76jujs295z] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.anel[b-76jujs295z] {
    position: relative;
    width: 148px;
    height: 148px;
    flex-shrink: 0;
}

    .anel > svg[b-76jujs295z] {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
    }

.anel-fundo[b-76jujs295z] {
    fill: none;
    stroke: rgba(15, 36, 64, 0.08);
    stroke-width: 9;
}

.anel-marcas[b-76jujs295z] {
    fill: none;
    stroke: rgba(15, 36, 64, 0.22);
    stroke-width: 4;
    stroke-dasharray: 1 10.52;
}

.anel-valor[b-76jujs295z] {
    fill: none;
    stroke: url(#anel-grad);
    stroke-width: 9;
    stroke-linecap: round;
    transition: stroke-dashoffset .5s ease;
}

.anel.a-correr .anel-valor[b-76jujs295z] {
    filter: drop-shadow(0 0 6px rgba(30, 198, 227, 0.6));
}

.anel-centro[b-76jujs295z] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.anel-grande[b-76jujs295z] {
    font-size: 1.55rem;
    color: var(--cr-text);
}

.anel-legenda[b-76jujs295z] {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cr-text-3);
}

/* End of an update: a tick drawn in the middle of the ring, or a warning if it failed. */
.anel-certo[b-76jujs295z] {
    width: 3.2rem;
    height: 3.2rem;
    fill: none;
    stroke: var(--cr-success);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: desenhar-certo-b-76jujs295z .5s ease-out .1s forwards;
}

@keyframes desenhar-certo-b-76jujs295z {
    to { stroke-dashoffset: 0; }
}

.anel-estado.falhou[b-76jujs295z]  .icone {
    width: 2.8rem;
    height: 2.8rem;
    color: var(--cr-danger);
}

/* The button keeps its size during an update: only disabled, with its icon turning. */
.btn.a-atualizar[b-76jujs295z]  .icone {
    animation: rodar-b-76jujs295z 1.2s linear infinite;
}

@keyframes rodar-b-76jujs295z {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .anel-certo[b-76jujs295z] { animation: none; stroke-dashoffset: 0; }
    .btn.a-atualizar[b-76jujs295z]  .icone { animation: none; }
}

/* "ATUALIZAR BASE DE DADOS": a bigger title than the other panels. */
.atualizar .painel-titulo[b-76jujs295z] {
    font-size: .95rem;
}

/* ---- Dark mode ---- */
:root[data-theme="dark"] .modulo[b-76jujs295z] { border-color: rgba(170, 200, 240, 0.1); }
:root[data-theme="dark"] .anel-fundo[b-76jujs295z] { stroke: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] .anel-marcas[b-76jujs295z] { stroke: rgba(255, 255, 255, 0.25); }
/* /Components/Pages/HorasEmpregados.razor.rz.scp.css */
/* Web data table (tokens --tb-* in app.css, shared with Obras and Recibos). The column colours of
   HorasEmpregadosForm.GerarHtmlTabela are kept as soft tints (users read the groups by colour:
   Ajustes orange/pink/yellow, Horas green, Saturday/Sunday, subsidy cyan). Pinned two-row header and
   pinned TOTAL row. */

.aviso-flutuante[b-4q570weew2] {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    max-width: 480px;
    box-shadow: var(--cr-shadow-lg);
}

/* Table area: fills the card (the page fits the window, see app.css); the header rows and the TOTAL
   row stay visible when it scrolls (sideways with the daily detail, or a page size bigger than fits). */
.grelha-wrap[b-4q570weew2] {
    overflow: auto;
    background: var(--tb-fundo);
}

.grelha[b-4q570weew2] {
    /* At least the full width of the card; wider (scrolls sideways) when the day columns are shown. */
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: var(--cr-text);
}

    .grelha th[b-4q570weew2], .grelha td[b-4q570weew2] {
        border-bottom: 1px solid var(--tb-linha);
        border-right: 1px solid var(--tb-coluna);
        padding: 7px 10px;
        text-align: center;
    }

    .grelha th[b-4q570weew2] {
        white-space: normal;
        line-height: 1.2;
    }

    .grelha td[b-4q570weew2] {
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

/* ---- Pinned two-row header: light, small capitals; the groups keep their colour as a tint ---- */
.grelha thead th[b-4q570weew2] {
    position: sticky;
    z-index: 2;
    background: var(--tb-cab-fundo);
    color: var(--tb-cab-texto);
    border-bottom-color: var(--tb-cab-linha);
    border-right-color: var(--tb-cab-coluna);
    font-family: var(--cr-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.grelha thead tr:first-child th[b-4q570weew2] {
    top: 0;
    height: 40px;
}

.grelha thead tr:nth-child(2) th[b-4q570weew2] {
    top: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.grelha th.principal[b-4q570weew2] {
    color: var(--cr-text-2);
}

.grelha th.ordenavel[b-4q570weew2] {
    cursor: pointer;
    user-select: none;
}

    .grelha th.ordenavel:hover[b-4q570weew2] {
        color: var(--cr-accent);
    }

/* Group titles (Dias (Mês/Ano), Ajustes, Horas …): a coloured top edge and a tinted header. */
.grelha th.th-grupo[b-4q570weew2] {
    font-family: var(--cr-font-display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

.grelha th.th-grupo-dias[b-4q570weew2] { background: var(--tb-dias-cab); color: var(--tb-dias-texto); box-shadow: inset 0 3px 0 var(--tb-dias-texto); }
.grelha th.th-grupo-ajustes[b-4q570weew2] { background: var(--tb-ajustes-cab); color: var(--tb-ajustes-texto); box-shadow: inset 0 3px 0 var(--tb-ajustes-texto); }
.grelha th.th-grupo-horas[b-4q570weew2] { background: var(--tb-horas-cab); color: var(--tb-horas-texto); box-shadow: inset 0 3px 0 var(--tb-horas-texto); }
.grelha th.grupo-ajustes[b-4q570weew2] { background: var(--tb-ajustes-cab); color: var(--tb-ajustes-texto); }
.grelha th.grupo-horas[b-4q570weew2] { background: var(--tb-horas-cab); color: var(--tb-horas-texto); }
.grelha th.sabado[b-4q570weew2] { background: var(--tb-sabado-cab); color: var(--tb-sabado-texto); }
.grelha th.domingo[b-4q570weew2] { background: var(--tb-domingo-cab); color: var(--tb-domingo-texto); }
.grelha th.grupo-subsidio[b-4q570weew2] { background: var(--tb-subsidio-cab); color: var(--tb-subsidio-texto); box-shadow: inset 0 3px 0 var(--tb-subsidio-texto); }

/* ---- Body ---- */
.grelha tbody td[b-4q570weew2] {
    background-color: var(--tb-fundo);
}

/* Alternate rows: a darker layer over every cell of the even rows, the coloured columns too, so a
   row is easy to follow across the whole table while each column keeps its colour. */
.grelha tbody tr:nth-child(even) td[b-4q570weew2] {
    background-image: linear-gradient(var(--tb-zebra-sombra), var(--tb-zebra-sombra));
}

/* Column colours on every row: "tr" in the selector makes them win over the alternate-row shade
   above (same weight as the :nth-child rule, and later), so a coloured column is one solid band. */
.grelha tbody tr td.horas-cell[b-4q570weew2] { background-color: var(--tb-horas-cel); }
.grelha tbody tr td.sabado-cell[b-4q570weew2] { background-color: var(--tb-sabado-cel); }
.grelha tbody tr td.domingo-cell[b-4q570weew2] { background-color: var(--tb-domingo-cel); }
.grelha tbody tr td.desconto-cell[b-4q570weew2] { background-color: var(--tb-desconto-cel); }
.grelha tbody tr td.acum-cell[b-4q570weew2] { background-color: var(--tb-acum-cel); }
.grelha tbody tr td.subsidio-cell[b-4q570weew2] { background-color: var(--tb-subsidio-cel); }

/* Adjustment already in a paid receipt: faint diagonal stripes over the column tint, plus the padlock. */
.grelha tbody tr td.pago[b-4q570weew2] { background-image: repeating-linear-gradient(135deg, rgba(128, 128, 128, .12) 0 5px, transparent 5px 10px); }
.grelha tbody tr:nth-child(even) td.pago[b-4q570weew2] { background-image: repeating-linear-gradient(135deg, rgba(128, 128, 128, .12) 0 5px, transparent 5px 10px), linear-gradient(var(--tb-zebra-sombra), var(--tb-zebra-sombra)); }
.grelha td.pago[b-4q570weew2] { position: relative; }
.grelha span.pago-marca[b-4q570weew2] { position: absolute; top: 3px; right: 4px; line-height: 1; color: var(--tb-domingo-texto); pointer-events: none; }
.grelha span.pago-marca[b-4q570weew2]  .icone { width: 11px; height: 11px; }

/* Row hover: a light overlay on the row and an accent line on its left edge. On the darker (even)
   rows the overlay goes on top of the alternate-row layer, so they stay darker while hovered. */
.grelha tbody tr:hover td:not(.pago)[b-4q570weew2] {
    background-image: linear-gradient(var(--tb-hover), var(--tb-hover));
}

.grelha tbody tr:nth-child(even):hover td:not(.pago)[b-4q570weew2] {
    background-image: linear-gradient(var(--tb-hover), var(--tb-hover)), linear-gradient(var(--tb-zebra-sombra), var(--tb-zebra-sombra));
}

    .grelha tbody tr:hover td:first-child[b-4q570weew2] {
        box-shadow: inset 3px 0 0 var(--cr-accent);
    }

.grelha tbody td.nome[b-4q570weew2], .grelha tbody td.obs-cell[b-4q570weew2] {
    text-align: left;
}

/* One line per row, so every row has the same height and "Ajustar ao ecrã" can count them;
   the full name is in the tooltip. */
.grelha tbody td.nome[b-4q570weew2] {
    font-weight: 500;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grelha tbody td.valor-cell[b-4q570weew2] {
    font-weight: 700;
    color: var(--cr-strong);
}

/* Total of 0 or less: no receipt is issued for it (the debt is carried by hand). */
.grelha tbody td.valor-cell.sem-recibo[b-4q570weew2] { color: var(--cr-danger); }

.grelha td.dia-cell[b-4q570weew2] { cursor: pointer; }
.grelha tbody td.dia-cell:hover[b-4q570weew2] { box-shadow: inset 0 0 0 2px var(--cr-accent); }

.col-firma[b-4q570weew2] { width: 64px; }
.col-num[b-4q570weew2] { width: 64px; }
.col-nome[b-4q570weew2] { width: 220px; }
.col-dia[b-4q570weew2] { width: 62px; }
.col-desconto[b-4q570weew2] { width: 96px; }
.col-acum[b-4q570weew2] { width: 96px; }
.col-horas[b-4q570weew2] { width: 72px; }
.col-subsidio[b-4q570weew2] { width: 110px; }
.col-salario[b-4q570weew2] { width: 96px; }
.col-totalpagar[b-4q570weew2] { width: 110px; }
.col-obs[b-4q570weew2] { width: 300px; }

/* ---- Editable cells: look like text until hovered or focused ---- */
.grelha input.editavel[b-4q570weew2] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    text-align: inherit;
    font: inherit;
    color: inherit;
    padding: 1px 3px;
}

    .grelha input.editavel:hover[b-4q570weew2] {
        border-color: var(--cr-line-strong);
        background: var(--tb-fundo);
    }

    .grelha input.editavel:focus[b-4q570weew2] {
        outline: none;
        border-color: var(--cr-accent);
        box-shadow: var(--cr-glow);
        background: var(--tb-fundo);
    }

/* Read-only (closed period or Consulta profile): the fields look like plain text. */
.grelha input.editavel:disabled[b-4q570weew2] {
    border-color: transparent;
    background: transparent;
    cursor: default;
    opacity: 1;
}

/* ---- TOTAL row pinned to the bottom: light, bold, an accent line on top ---- */
.grelha tfoot td[b-4q570weew2] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--tb-total-fundo);
    color: var(--tb-total-texto);
    font-weight: 700;
    border-top: 2px solid var(--cr-accent);
    border-bottom: none;
    font-variant-numeric: tabular-nums;
}

    .grelha tfoot td.nome[b-4q570weew2] {
        text-align: left;
        font-family: var(--cr-font-mono);
        font-size: 12px;
        letter-spacing: .14em;
        color: var(--cr-accent);
    }

/* Name: opens the employee page. */
.grelha a.link-colaborador[b-4q570weew2] {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}

    .grelha a.link-colaborador:hover[b-4q570weew2] {
        color: var(--cr-accent);
        border-bottom-color: currentColor;
    }

/* Day edited by hand (DiasAlterados, web only): its own colour over any column colour, and a small
   corner mark so it is also visible without colour. */
.grelha tbody tr td.dia-alterado[b-4q570weew2] {
    background-color: var(--tb-alterado-cel);
    color: var(--tb-alterado-texto);
    font-weight: 700;
    position: relative;
}

    .grelha tbody tr td.dia-alterado[b-4q570weew2]::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-top: 7px solid var(--tb-alterado-texto);
        border-left: 7px solid transparent;
    }
/* /Components/Pages/HorasObra.razor.rz.scp.css */
/* Web data table (tokens --tb-* in app.css, same design as Colaboradores and Recibos). */

/* Fills the card (the page fits the window, see app.css). */
.tabela-obra-wrap[b-18pzh6vpr9] {
    overflow: auto;
    background: var(--tb-fundo);
}

.tabela-obra[b-18pzh6vpr9] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
    color: var(--cr-text);
}

    .tabela-obra th[b-18pzh6vpr9], .tabela-obra td[b-18pzh6vpr9] {
        border-bottom: 1px solid var(--tb-linha);
        padding: 8px 18px;
        text-align: center;
        white-space: nowrap;
    }

    .tabela-obra td[b-18pzh6vpr9] {
        font-variant-numeric: tabular-nums;
        border-right: 1px solid var(--tb-coluna);   /* grid lines between Nº | Unidade | Valor */
    }

        .tabela-obra td:last-child[b-18pzh6vpr9] {
            border-right: none;
        }

    .tabela-obra thead th[b-18pzh6vpr9] {
        position: sticky;
        top: 0;
        z-index: 2;
        height: 40px;
        background: var(--tb-cab-fundo);
        color: var(--tb-cab-texto);
        border-right: 1px solid var(--tb-cab-coluna);
        border-bottom-color: var(--tb-cab-linha);
        font-family: var(--cr-font-mono);
        font-weight: 600;
        font-size: 11.5px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

        .tabela-obra thead th:last-child[b-18pzh6vpr9] {
            border-right: none;
        }

    .tabela-obra th.ordenavel[b-18pzh6vpr9] {
        cursor: pointer;
        user-select: none;
    }

        .tabela-obra th.ordenavel:hover[b-18pzh6vpr9] {
            color: var(--cr-accent);
        }

    .tabela-obra tbody td[b-18pzh6vpr9] {
        background-color: var(--tb-fundo);
    }

    .tabela-obra tbody tr:nth-child(even) td[b-18pzh6vpr9] {
        background-color: var(--tb-zebra);
    }

    .tabela-obra tbody tr:hover td[b-18pzh6vpr9] {
        background-image: linear-gradient(var(--tb-hover), var(--tb-hover));
    }

        .tabela-obra tbody tr:hover td:first-child[b-18pzh6vpr9] {
            box-shadow: inset 3px 0 0 var(--cr-accent);
        }

    .tabela-obra td.nome[b-18pzh6vpr9] {
        text-align: left;
        font-weight: 500;
    }

    /* Value cell: centred, like its header (the proportional bars under the values were removed on
       request, 2026-09-27). */
    .tabela-obra td.valor[b-18pzh6vpr9] {
        text-align: center;
    }

.valor-texto[b-18pzh6vpr9] {
    font-weight: 700;
    color: var(--cr-strong);
}

/* TOTAL row pinned to the bottom: light, bold, an accent line on top. */
.tabela-obra tfoot td[b-18pzh6vpr9] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--tb-total-fundo);
    color: var(--tb-total-texto);
    font-weight: 700;
    border-top: 2px solid var(--cr-accent);
    border-bottom: none;
}

    .tabela-obra tfoot td.nome[b-18pzh6vpr9] {
        font-family: var(--cr-font-mono);
        font-size: 12px;
        letter-spacing: .14em;
        color: var(--cr-accent);
    }
/* /Components/Pages/Parametros.razor.rz.scp.css */
/* Same layout as the other forms (Configuração): panels side by side, each field with its label
   above, the input and a hint below, and even spacing between fields. */
.parametros-grelha[b-qsundg2s5h] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1180px;
    align-items: stretch;
}

/* Both panels the same height, with their Guardar buttons on the same line at the bottom. */
.parametros-grelha > .painel[b-qsundg2s5h] {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1000px) {
    .parametros-grelha[b-qsundg2s5h] { grid-template-columns: 1fr; }
}

.alerta-formulario[b-qsundg2s5h] {
    max-width: 1180px;
}

.campo[b-qsundg2s5h] {
    margin-bottom: 1.35rem;
}

    .campo .form-label[b-qsundg2s5h] {
        font-weight: 600;
        margin-bottom: .4rem;
    }

    .campo .form-text[b-qsundg2s5h] {
        margin-top: .4rem;
    }

/* Numbers with their unit: short fields, the unit in a quiet addon. */
.campo-numero[b-qsundg2s5h] {
    max-width: 17rem;
}

    .campo-numero input[b-qsundg2s5h] {
        font-family: var(--cr-font-mono);
        font-size: 1.05rem;
    }

    .campo-numero .input-group-text[b-qsundg2s5h] {
        min-width: 3rem;
        justify-content: center;
        font-family: var(--cr-font-mono);
        color: var(--cr-text-2);
    }

.acoes-formulario[b-qsundg2s5h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--cr-line);
}

/* The default period with the chosen day, as it would be today. */
.periodo-previa[b-qsundg2s5h] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 1.35rem;
    padding: .75rem 1rem;
    border-radius: var(--cr-radius-sm);
    background: var(--barra-recesso);
    box-shadow: inset 0 0 0 1px var(--barra-recesso-borda);
}

.periodo-previa-regra[b-qsundg2s5h] {
    font-size: .88rem;
    color: var(--cr-text-2);
}

    .periodo-previa-regra[b-qsundg2s5h]::first-letter {
        text-transform: uppercase;
    }

.periodo-previa-datas[b-qsundg2s5h] {
    font-family: var(--cr-font-mono);
    font-size: 1.1rem;
    color: var(--barra-destaque);
}
/* /Components/Pages/Recibos.razor.rz.scp.css */
/* Web data table (tokens --tb-* in app.css, same design as Colaboradores and Obras). The selected
   rows (to print) are tinted blue, as the blue selected rows of RecibosForm. Pinned header and
   TOTAL row. */

.aviso-flutuante[b-6fxg65fyyt] {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    max-width: 480px;
    box-shadow: var(--cr-shadow-lg);
}

/* ---- Print actions next to the title ---- */
/* Up to four actions (print receipts/envelopes, email, undo), two per row. */
/* The actions in one row, each as tall as the "Selecionados" card next to them. */
.imprimir-botoes[b-6fxg65fyyt] {
    display: flex;
    flex-wrap: wrap;
    align-self: stretch;
    gap: .6rem;
}

    .imprimir-botoes .btn[b-6fxg65fyyt] {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

/* "Selecionados" (the value to pay): navy in both themes — the .kpi.destaque of app.css, like the
   value card of Gestão de Colaboradores and the total of Gestão de Obras (asked 2026-09-27). */

/* ---- Table area ---- */
/* Fills the card (the page fits the window, see app.css). */
.grelha-wrap[b-6fxg65fyyt] {
    overflow: auto;
    background: var(--tb-fundo);
}

.grelha[b-6fxg65fyyt] {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: var(--cr-text);
}

    .grelha th[b-6fxg65fyyt], .grelha td[b-6fxg65fyyt] {
        border-bottom: 1px solid var(--tb-linha);
        border-right: 1px solid var(--tb-coluna);
        padding: 7px 8px;
        text-align: center;
        white-space: nowrap;
    }

    .grelha .form-check-input[b-6fxg65fyyt] {
        margin: 0;
        cursor: pointer;
    }

/* ---- Pinned two-row header: light, small capitals ---- */
.grelha thead th[b-6fxg65fyyt] {
    position: sticky;
    z-index: 2;
    background: var(--tb-cab-fundo);
    color: var(--tb-cab-texto);
    border-bottom-color: var(--tb-cab-linha);
    border-right-color: var(--tb-cab-coluna);
    font-family: var(--cr-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.grelha thead tr:first-child th[b-6fxg65fyyt] {
    top: 0;
    height: 40px;
}

.grelha thead tr:nth-child(2) th[b-6fxg65fyyt] {
    top: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.grelha th.ordenavel[b-6fxg65fyyt] {
    cursor: pointer;
    user-select: none;
}

    .grelha th.ordenavel:hover[b-6fxg65fyyt] {
        color: var(--cr-accent);
    }

/* Group title (notes and coins): a coloured top edge and a tinted header, like the day group of Colaboradores. */
.grelha th.th-grupo[b-6fxg65fyyt] {
    background: var(--tb-dias-cab);
    color: var(--tb-dias-texto);
    box-shadow: inset 0 3px 0 var(--tb-dias-texto);
    font-family: var(--cr-font-display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

.grelha th.nota[b-6fxg65fyyt] {
    background: var(--tb-dias-cab);
    color: var(--tb-dias-texto);
    font-variant-numeric: tabular-nums;
}

/* ---- Body ---- */
.grelha tbody tr[b-6fxg65fyyt] {
    cursor: pointer;
}

.grelha tbody td[b-6fxg65fyyt] {
    background-color: var(--tb-fundo);
}

.grelha tbody tr:nth-child(even) td[b-6fxg65fyyt] {
    background-color: var(--tb-zebra);
}

.grelha tbody tr:hover td[b-6fxg65fyyt] {
    background-image: linear-gradient(var(--tb-hover), var(--tb-hover));
}

    .grelha tbody tr:hover td:first-child[b-6fxg65fyyt] {
        box-shadow: inset 3px 0 0 var(--cr-accent);
    }

.grelha tbody tr.selecionada td[b-6fxg65fyyt] {
    background-color: var(--tb-selecionada);
    color: var(--tb-selecionada-texto);
}

    .grelha tbody tr.selecionada td:first-child[b-6fxg65fyyt] {
        box-shadow: inset 3px 0 0 var(--cr-accent);
    }

.grelha tbody td.nome[b-6fxg65fyyt] {
    text-align: left;
    font-weight: 500;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grelha tbody td.valor-cell[b-6fxg65fyyt] {
    text-align: right;
    font-weight: 700;
    color: var(--cr-strong);
}

.grelha td.nota-cell[b-6fxg65fyyt], .grelha td.valor-cell[b-6fxg65fyyt], .grelha tfoot td[b-6fxg65fyyt] {
    font-variant-numeric: tabular-nums;
}

.pago-sim[b-6fxg65fyyt] {
    color: var(--cr-success);
    font-weight: 700;
}

.pago-nao[b-6fxg65fyyt] {
    color: var(--cr-text-3);
}

.col-chk[b-6fxg65fyyt] { width: 44px; }
.col-firma[b-6fxg65fyyt] { width: 64px; }
.col-num[b-6fxg65fyyt] { width: 64px; }
.col-nome[b-6fxg65fyyt] { width: 230px; }
.col-valor[b-6fxg65fyyt] { width: 110px; }
.col-nota[b-6fxg65fyyt] { width: 54px; }
.col-pago[b-6fxg65fyyt] { width: 60px; }
.col-data[b-6fxg65fyyt] { width: 120px; }

/* ---- TOTAL row pinned to the bottom: light, bold, an accent line on top ---- */
.grelha tfoot td[b-6fxg65fyyt] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--tb-total-fundo);
    color: var(--tb-total-texto);
    font-weight: 700;
    border-top: 2px solid var(--cr-accent);
    border-bottom: none;
}

    .grelha tfoot td.nome[b-6fxg65fyyt] {
        text-align: left;
        font-family: var(--cr-font-mono);
        font-size: 12px;
        letter-spacing: .14em;
        color: var(--cr-accent);
    }

    .grelha tfoot td.valor-total[b-6fxg65fyyt] {
        text-align: right;
    }
/* /Components/Shared/Calendario.razor.rz.scp.css */
/* The app's calendar. Light panel in light mode, the navy instrument panel of the dark theme in dark
   mode: every colour comes from the --cal-* tokens below, redefined for dark mode. Days touch
   horizontally so a chosen period reads as one continuous band. */
.calendario[b-eu9p9s9q7k] {
    --cal-fundo: var(--cr-surface-solid);
    --cal-borda: var(--cr-line-strong);
    --cal-sombra: var(--cr-shadow-lg);
    --cal-texto: var(--cr-text);
    --cal-fraco: var(--cr-text-3);
    --cal-titulo: var(--cr-ink-800);
    --cal-destaque: var(--cr-blue-600);
    --cal-semana: rgba(28, 92, 192, 0.6);
    --cal-hover: rgba(28, 92, 192, 0.09);
    --cal-banda: var(--cr-blue-100);
    --cal-escolhido: var(--cr-blue-600);
    --cal-escolhido-texto: #fff;
    --cal-brilho: 0 4px 12px rgba(28, 92, 192, 0.32);
    --cal-hoje: rgba(28, 92, 192, 0.55);
    --cal-linha: var(--cr-line);
    display: inline-block;
    padding: .9rem 1rem .7rem;
    border-radius: var(--cr-radius);
    background: var(--cal-fundo);
    border: 1px solid var(--cal-borda);
    box-shadow: var(--cal-sombra);
    color: var(--cal-texto);
}

:root[data-theme="dark"] .calendario[b-eu9p9s9q7k] {
    --cal-fundo: linear-gradient(180deg, #13284c, var(--cr-ink-900));
    --cal-borda: rgba(111, 226, 244, 0.22);
    --cal-sombra: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(5, 13, 28, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --cal-texto: rgba(226, 236, 250, 0.9);
    --cal-fraco: rgba(226, 236, 250, 0.5);
    --cal-titulo: #fff;
    --cal-destaque: var(--cr-cyan-300);
    --cal-semana: rgba(111, 226, 244, 0.6);
    --cal-hover: rgba(111, 226, 244, 0.16);
    --cal-banda: rgba(30, 198, 227, 0.14);
    --cal-escolhido: var(--cr-cyan-400);
    --cal-escolhido-texto: var(--cr-ink-950);
    --cal-brilho: 0 0 14px rgba(30, 198, 227, 0.45);
    --cal-hoje: rgba(111, 226, 244, 0.65);
    --cal-linha: rgba(170, 200, 240, 0.14);
}

/* Inside a dialog: no floating shadow, the dialog already has one. */
.calendario.calendario-embutido[b-eu9p9s9q7k] {
    box-shadow: none;
}

.calendario-meses[b-eu9p9s9q7k] {
    display: flex;
    gap: 1.5rem;
}

.calendario-titulo[b-eu9p9s9q7k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    height: 1.9rem;
    margin-bottom: .45rem;
}

.calendario-nav[b-eu9p9s9q7k], .calendario-nav-vazio[b-eu9p9s9q7k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--cal-texto);
}

    .calendario-nav:hover[b-eu9p9s9q7k] {
        background: var(--cal-hover);
        color: var(--cal-destaque);
    }

    .calendario-nav:focus-visible[b-eu9p9s9q7k] {
        outline: 2px solid var(--cal-escolhido);
    }

.calendario-nome[b-eu9p9s9q7k] {
    flex: 1;
    text-align: center;
    font-family: var(--cr-font-display);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cal-titulo);
}

.calendario-ano[b-eu9p9s9q7k] {
    margin-left: .3rem;
    font-family: var(--cr-font-mono);
    font-weight: 500;
    letter-spacing: 0;
    color: var(--cal-destaque);
}

.calendario-grelha[b-eu9p9s9q7k] {
    display: grid;
    grid-template-columns: repeat(7, 2.2rem);
    row-gap: 3px;
}

.calendario-dia-semana[b-eu9p9s9q7k] {
    padding-bottom: .3rem;
    text-align: center;
    font-family: var(--cr-font-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    color: var(--cal-semana);
}

.calendario-dia[b-eu9p9s9q7k] {
    height: 2.1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--cal-texto);
    font-family: var(--cr-font-mono);
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

    .calendario-dia.fim-semana[b-eu9p9s9q7k] {
        color: var(--cal-fraco);
    }

    .calendario-dia:hover[b-eu9p9s9q7k] {
        background: var(--cal-hover);
        color: var(--cal-destaque);
    }

    .calendario-dia:focus-visible[b-eu9p9s9q7k] {
        outline: 2px solid var(--cal-escolhido);
        outline-offset: -2px;
    }

    .calendario-dia.hoje[b-eu9p9s9q7k] {
        box-shadow: inset 0 0 0 1px var(--cal-hoje);
    }

    .calendario-dia.no-periodo[b-eu9p9s9q7k] {
        border-radius: 0;
        background: var(--cal-banda);
        color: var(--cal-texto);
    }

    .calendario-dia.inicio[b-eu9p9s9q7k], .calendario-dia.fim[b-eu9p9s9q7k] {
        background: var(--cal-escolhido);
        color: var(--cal-escolhido-texto);
        font-weight: 700;
        box-shadow: var(--cal-brilho);
    }

    .calendario-dia.inicio:not(.fim)[b-eu9p9s9q7k] {
        border-radius: 8px 0 0 8px;
    }

    .calendario-dia.fim:not(.inicio)[b-eu9p9s9q7k] {
        border-radius: 0 8px 8px 0;
    }

.calendario-rodape[b-eu9p9s9q7k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .7rem;
    padding-top: .6rem;
    border-top: 1px solid var(--cal-linha);
}

.calendario-dica[b-eu9p9s9q7k] {
    font-family: var(--cr-font-mono);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cal-fraco);
}

.calendario-botao[b-eu9p9s9q7k] {
    padding: .3rem .75rem;
    border: 1px solid var(--cal-hoje);
    border-radius: 8px;
    background: var(--cal-hover);
    color: var(--cal-destaque);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}

    .calendario-botao:hover[b-eu9p9s9q7k] {
        background: var(--cal-banda);
    }

    .calendario-botao:focus-visible[b-eu9p9s9q7k] {
        outline: 2px solid var(--cal-escolhido);
    }

/* Phones: one month under the other. */
@media (max-width: 640.98px) {
    .calendario-meses[b-eu9p9s9q7k] {
        flex-direction: column;
        gap: .8rem;
    }
}
/* /Components/Shared/Paginacao.razor.rz.scp.css */
.paginacao[b-pu0bj6nrp3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding: .45rem 1rem;
    border-top: 1px solid var(--cr-line);
    background: rgba(248, 251, 255, 0.7);
    font-size: .9rem;
    color: var(--cr-text-2);
}

.paginacao-info[b-pu0bj6nrp3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.5rem;
}

    .paginacao-info strong[b-pu0bj6nrp3] {
        color: var(--cr-text);
    }

.paginacao-tamanho[b-pu0bj6nrp3] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .paginacao-tamanho select[b-pu0bj6nrp3] {
        width: auto;
    }

.paginacao-botoes[b-pu0bj6nrp3] {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.pag-btn[b-pu0bj6nrp3] {
    min-width: 1.95rem;
    height: 1.95rem;
    padding: 0 .55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--cr-line);
    background: var(--cr-surface-solid);
    color: var(--cr-text);
    font-weight: 500;
    transition: background-color .12s, border-color .12s;
}

    .pag-btn:hover:not(:disabled):not(.ativa)[b-pu0bj6nrp3] {
        background: var(--cr-blue-100);
        border-color: rgba(28, 92, 192, 0.35);
    }

    .pag-btn:disabled[b-pu0bj6nrp3] {
        opacity: .4;
        cursor: not-allowed;
    }

    .pag-btn.ativa[b-pu0bj6nrp3] {
        background: linear-gradient(135deg, var(--cr-blue-500), var(--cr-blue-600));
        border-color: var(--cr-blue-600);
        color: #fff;
        box-shadow: 0 4px 12px rgba(28, 92, 192, 0.3);
    }

.pag-reticencias[b-pu0bj6nrp3] {
    padding: 0 .3rem;
    color: var(--cr-text-3);
}

/* ---- Dark mode ---- */
:root[data-theme="dark"] .paginacao[b-pu0bj6nrp3] {
    background: rgba(8, 17, 34, 0.55);
}
/* /Components/Shared/PainelResumo.razor.rz.scp.css */
/* Dashboard of the home page: figures in a row, then the cost chart and the top obras side by side. */
.resumo[b-z45sr309u5] {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resumo-kpis[b-z45sr309u5] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

    .resumo-kpis .kpi[b-z45sr309u5] {
        gap: .3rem;
        padding: .8rem 1.1rem;
    }

    /* Bigger labels than the small KPIs next to the page titles: here they are the headings. */
    .resumo-kpis .kpi-rotulo[b-z45sr309u5] {
        font-size: .82rem;
        letter-spacing: .12em;
    }

    .resumo-kpis .kpi-valor[b-z45sr309u5] {
        font-size: 1.6rem;
    }

/* The chart and top-obras headings the same size as the labels of the cards above. */
.resumo .painel-titulo[b-z45sr309u5] {
    font-size: .82rem;
    letter-spacing: .12em;
}

.resumo-paineis[b-z45sr309u5] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
}

@media (max-width: 1100px) {
    .resumo-kpis[b-z45sr309u5] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resumo-kpis .kpi-periodo[b-z45sr309u5] { grid-column: 1 / -1; }
    .resumo-paineis[b-z45sr309u5] { grid-template-columns: 1fr; }
}

/* ---- Bar chart: one series, thin bars with 4px rounded tops on a recessive baseline; the value is
   written only on the current period, the others show it on hover/focus. ---- */
.grafico[b-z45sr309u5] {
    --barra: #2a73dc;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 150px;
    padding: 1.4rem .25rem 0;
    border-bottom: 1px solid var(--cr-line-strong);
    margin-bottom: 1.6rem;
}

:root[data-theme="dark"] .grafico[b-z45sr309u5] { --barra: #4d8fe6; }

.grafico-coluna[b-z45sr309u5] {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    outline: none;
}

.grafico-barra[b-z45sr309u5] {
    width: 46%;
    max-width: 42px;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--barra);
    opacity: .75;
    transition: height .35s ease, opacity .12s;
}

    .grafico-barra.atual[b-z45sr309u5] { opacity: 1; }

.grafico-coluna:hover .grafico-barra[b-z45sr309u5],
.grafico-coluna:focus-visible .grafico-barra[b-z45sr309u5] { opacity: 1; }

.grafico-mes[b-z45sr309u5] {
    position: absolute;
    bottom: -1.45rem;
    font-size: .8rem;
    color: var(--cr-text-2);
    text-transform: capitalize;
}

.grafico-valor[b-z45sr309u5] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--cr-text);
    margin-bottom: .25rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.grafico-dica[b-z45sr309u5] {
    position: absolute;
    bottom: calc(100% - 1rem);
    z-index: 3;
    display: none;
    padding: .35rem .6rem;
    border-radius: 8px;
    background: var(--cr-surface-solid);
    border: 1px solid var(--cr-line-strong);
    box-shadow: var(--cr-shadow);
    font-size: .8rem;
    color: var(--cr-text-2);
    white-space: nowrap;
    text-align: center;
}

    .grafico-dica strong[b-z45sr309u5] {
        color: var(--cr-text);
        font-variant-numeric: tabular-nums;
    }

.grafico-coluna:hover .grafico-dica[b-z45sr309u5],
.grafico-coluna:focus-visible .grafico-dica[b-z45sr309u5] { display: block; }

/* ---- Top obras: name and value, a thin line between rows (the proportional bars were removed on
   request, 2026-09-27) ---- */
.top-obras[b-z45sr309u5] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

    .top-obras li[b-z45sr309u5] {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: .45rem;
        font-size: .92rem;
        border-bottom: 1px solid var(--tb-linha);
    }

        .top-obras li:last-child[b-z45sr309u5] {
            border-bottom: none;
        }

.top-nome[b-z45sr309u5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-valor[b-z45sr309u5] {
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.esqueleto-grafico[b-z45sr309u5] { height: 150px; margin-bottom: 1.6rem; }
.esqueleto-lista[b-z45sr309u5] { height: 160px; }
/* /Components/Shared/PeriodoSelector.razor.rz.scp.css */
/* The period as a chronograph readout: a recessed pill with monospaced dates and arrows on each side.
   Colours come from the filter bar's --barra-* tokens (light bar in light mode, navy in dark mode).
   The dates open the Calendario below. */
.controlo[b-d7rmzsjwce] {
    position: relative;
}

.periodo[b-d7rmzsjwce] {
    display: inline-flex;
    align-items: center;
    height: 2.1rem;
    padding: 0 .15rem;
    border-radius: 10px;
    background: var(--barra-recesso);
    box-shadow: inset 0 0 0 1px var(--barra-recesso-borda);
}

.periodo-datas[b-d7rmzsjwce] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 1.8rem;
    padding: 0 .45rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--barra-destaque);
    font-family: var(--cr-font-mono);
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .periodo-datas[b-d7rmzsjwce]  .icone {
        width: 1rem;
        height: 1rem;
        margin-right: .15rem;
        opacity: .75;
    }

    .periodo-datas:hover[b-d7rmzsjwce], .periodo-datas[aria-expanded="true"][b-d7rmzsjwce] {
        background: var(--barra-hover);
    }

    .periodo-datas:focus-visible[b-d7rmzsjwce] {
        outline: 2px solid var(--barra-foco-borda);
        outline-offset: -1px;
    }

.periodo-ate[b-d7rmzsjwce] {
    color: var(--cr-text-3);
}

.periodo-passo[b-d7rmzsjwce] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--cr-text-2);
}

    .periodo-passo:hover[b-d7rmzsjwce] {
        background: var(--barra-hover);
        color: var(--barra-destaque);
    }

    .periodo-passo:focus-visible[b-d7rmzsjwce] {
        outline: 2px solid var(--barra-foco-borda);
    }

.periodo-popover[b-d7rmzsjwce] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
}

    .periodo-popover.para-esquerda[b-d7rmzsjwce] {
        left: auto;
        right: 0;
    }
/* /Components/Shared/SeletorData.razor.rz.scp.css */
/* The calendar centred in its dialog. */
.seletor-data[b-gg6ivbpvso] {
    display: flex;
    justify-content: center;
}
