/* MwMyShiftplannerShifts
   Prefix: mw-mss-*
   Shifts grouped by team — each team is an obligation-card header (mw-sop-*) with its shift rows
   below. The header carries the team name; each row shows position · area · time as equal peers. */

.mw-mss-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* One team section: the header card (mw-sop-team) plus the team's shift rows. */
.mw-mss-team {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Greyed when the team's shift plan is not currently shown in the scheduler. */
.mw-mss-team--hidden .mw-mss-list {
    opacity: 0.45;
    filter: grayscale(0.55);
}

.mw-mss-list {
    display: flex;
    flex-direction: column;
    padding: 2px 4px 0;
}

.mw-mss-item {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 7px 8px;
    border-radius: var(--mud-default-borderradius);
    cursor: pointer;
    transition: background 180ms ease;
}

.mw-mss-item:hover {
    background: var(--mud-palette-action-default-hover);
}

.mw-mss-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    flex-shrink: 0;
    transform: translateY(-1px);
}

.mw-mss-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 7px;
}

/* Position · area · time — equal peers. */
.mw-mss-item-part {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.mw-mss-item-sep {
    font-size: 0.6rem;
    color: var(--mud-palette-text-disabled);
}

.mw-mss-item-hrs {
    flex: none;
    font-size: 0.75rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
}

/* Nudge for a team the user belongs to but hasn't picked a shift in yet. */
.mw-mss-slot-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 4px;
    padding: 7px 8px;
    border-radius: var(--mud-default-borderradius);
    border: 1px dashed var(--mud-palette-lines-default);
}

.mw-mss-slot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px dashed var(--mud-palette-text-disabled);
    flex-shrink: 0;
}

.mw-mss-slot-label {
    font-size: 0.6875rem;
    color: var(--mud-palette-text-disabled);
    font-style: italic;
}
