/* Sentrio 1.0.3 hotfix */

/* The profile avatar remains only in the top-right topbar. */
.sidebar-bottom > .profile {
    display: none !important;
}
.sidebar-bottom {
    padding-top: 18px !important;
}
body.sidebar-compact .sidebar-bottom {
    padding-top: 14px !important;
}

/* Dashboard / nearest absences: one stable avatar geometry for image and fallback. */
.absence-row .absence-avatar,
.absence-row .mini-avatar[data-absence-avatar] {
    position: relative !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: grid !important;
    place-items: center !important;
    background: color-mix(in srgb, var(--s-accent, var(--accent)) 12%, var(--s-surface, #fff)) !important;
    color: var(--s-accent, var(--accent)) !important;
}
.absence-row .absence-avatar > .avatar-fallback-letter,
.absence-row .mini-avatar[data-absence-avatar] > .avatar-fallback-letter {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    transform: none !important;
    font: 800 11px/1 Inter, "Segoe UI", Arial, sans-serif !important;
}
.absence-row .absence-avatar > img,
.absence-row .mini-avatar[data-absence-avatar] > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Presence: disabled accounts must not look online. */
.presence-state.disabled {
    background: #f6ecee !important;
    color: #a45562 !important;
    font-weight: 650 !important;
}

/* Kanban: reclaim some vertical space, without changing spacing on other pages. */
body.kanban-page-active:not(.kanban-fullscreen) .content {
    padding-top: 22px !important;
}
@media (min-width: 1600px) {
    body.kanban-page-active:not(.kanban-fullscreen) .content {
        padding-top: 24px !important;
    }
}
@media (max-width: 760px) {
    body.kanban-page-active:not(.kanban-fullscreen) .content {
        padding-top: 16px !important;
    }
}
