/* The app's voice — see "Voice" in CLAUDE.md. */

/* A subheading beside an <h1>, sized as Time Tracking's hand-written one is
   (Bootstrap's fs-5) without borrowing the utility class, which pages already
   use to mean other things. */
.sc-voice {
    font-size: 1.25rem;
}

/* A moment: one quiet line, bottom right. Not an alert: no colour, no icon, no
   close button — it fades by itself, and a click on it just lets it go. Sits
   above page content but below Bootstrap's modals (1055) so it never covers a
   dialog someone is working in. */
.sc-moment {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    max-width: min(360px, calc(100vw - 32px));
    padding: 8px 14px;
    border-radius: var(--sc-radius);
    background: var(--sc-fg);
    color: var(--sc-bg);
    font-size: 0.9rem;
    line-height: 1.35;
    box-shadow: var(--sc-shadow-pop);
    cursor: default;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.sc-moment.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.sc-moment:empty {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    .sc-moment { transition: none; transform: none; }
}

/* The dashboard's people row: who's in the office, WFH, offsite, on leave, not working. */
.sc-people-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
}
.sc-people-row__label {
    font-size: 0.8rem;
    color: var(--sc-fg-muted);
    margin-bottom: 4px;
}
/* Each group: avatars overlapping slightly, as Orbito draws them. Each one
   carries a ring of the page's own background so the edges read where they
   cross. The overlap is a negative margin on every avatar, the first included,
   with the container padded back by the same amount — so a wrapped line starts
   flush with the first rather than 5px to its left. Hovering one lifts it above
   its neighbours so the whole face shows. */
.sc-people-stack {
    display: flex;
    min-height: 28px;
    flex-wrap: wrap;
    row-gap: 4px;
    padding-left: 5px;
}
.sc-people-stack img,
.sc-people-stack .sc-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    margin-left: -5px;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--bs-body-bg);
}
.sc-people-stack img:hover,
.sc-people-stack .sc-avatar:hover {
    z-index: 1;
}
/* An empty group keeps its place so the row doesn't jump about day to day. */
.sc-people-stack--empty {
    align-items: center;
    padding-left: 0;
    color: var(--sc-fg-muted);
}
.sc-on-this-day {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
}
.sc-on-this-day img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--sc-radius-sm);
}
.sc-on-this-day:hover .sc-on-this-day__text {
    text-decoration: underline;
}
