.stunden-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 12px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    font-size: 13px;
}

/* --------------------------------------------------
GRUPPEN
-------------------------------------------------- */

.toolbar-gruppe {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.toolbar-label {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Text ganz rechts */

.toolbar-text {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

/* --------------------------------------------------
HA-FILTER
-------------------------------------------------- */

.ha-filter-btn {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    opacity: 0.35;
    cursor: pointer;
}

/* offen */

.ha-filter-btn.ha-offen {
    background: #f0c541 !important;
}

/* gemacht */

.ha-filter-btn.ha-gemacht {
    background: #5cb85c !important;
}

/* nicht gemacht */

.ha-filter-btn.ha-nicht-gemacht {
    background: #d9534f !important;
}

/* aktiver Filter */

.ha-filter-btn.aktiv {
    opacity: 1;
    border-color: #555 !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9) !important;
    transform: scale(1.08);
}

/* --------------------------------------------------
SORTIERUNG
-------------------------------------------------- */

.sort-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 38px !important;
    height: 26px !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    opacity: 0.4;
    cursor: pointer;
}

/* farbige Punkte */

.sort-btn .punkt {
    display: inline-block;
    width: 14px;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
}

.punkt.rot {
    background: #d9534f;
}

.punkt.gelb {
    background: #f0c541;
}

.punkt.gruen {
    background: #5cb85c;
}

/* Pfeil */

.sort-arrow {
    display: inline-block;
    width: 14px;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    color: #555;
}

/* aktive Sortierung */

.sort-btn[data-state="desc"], .sort-btn[data-state="asc"] {
    opacity: 1;
    background: rgba(0, 0, 0, 0.07) !important;
}

.stundenliste > li {
    position: relative;
}
.aufgaben-balken {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    margin: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    opacity: 0.65;
    box-sizing: border-box;
    line-height: 0;
    border-radius: inherit inherit 0 0;
}

.aufgaben-balken .balken-teil {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.balken-1 {
    background: #d9534f;
}

.balken-2 {
    background: #f0c541;
}

.balken-3 {
    background: #5cb85c;
}