.hps-container {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.hps-quick-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hps-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s;
}

.hps-btn:hover { background: #e2e8f0; }

.hps-btn.active {
    background: var(--primary, #2563eb);
    color: #fff;
    border-color: var(--primary, #2563eb);
}

/* Optional: Stil für den 1. Klick (warten auf 2. Klick) */
.hps-btn.pending {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.5);
}

.hps-main-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hps-date-input {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
    outline: none;
    padding: 4px 8px;
    border-radius: 6px;
    width: 75px;
    transition: all 0.2s;
    -moz-appearance: textfield;
}
.hps-date-input::-webkit-outer-spin-button,
.hps-date-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hps-date-input:focus, .hps-date-input:hover {
    background: #fff;
    border-color: #cbd5e1;
}
.hps-date-input:focus {
    border-color: var(--primary, #2563eb);
}

/* Slider Styling */
.hps-slider-container {
    flex-grow: 1;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.hps-slider-track { width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; position: relative; }
.hps-slider-range { position: absolute; height: 100%; background: var(--primary, #2563eb); border-radius: 4px; opacity: 0.5; }
.hps-slider-thumb { position: absolute; width: 16px; height: 24px; background: #fff; border: 2px solid var(--primary, #2563eb); border-radius: 4px; top: 50%; transform: translate(-50%, -50%); cursor: grab; box-shadow: 0 1px 3px rgba(0,0,0,0.1); z-index: 5; }
.hps-slider-thumb:active { cursor: grabbing; }

/* NEU: Thumb Labels */
.hps-thumb-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary, #475569);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hps-thumb-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: var(--secondary, #475569) transparent transparent transparent;
}

.hps-slider-ticks { position: absolute; top: calc(50% + 8px); width: 100%; display: flex; justify-content: space-between; pointer-events: none; }
.hps-tick { height: 4px; width: 1px; background: #cbd5e1; }
.hps-tick.year-tick { height: 8px; background: #94a3b8; }
.hps-tick-label { position: absolute; font-size: 0.7rem; color: #64748b; transform: translateX(-50%); top: 10px; }