/* Yearly Observability View */

.yo-view-container {
    max-width: 1200px;
    margin: 0 auto;
}

.yo-help {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.yo-help p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.yo-graph {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.yo-graph-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.yo-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    flex-wrap: wrap;
}

/* Header */
.yo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.yo-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.yo-header-subtitle {
    margin: 0.25rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.yo-header-controls {
    margin-top: 0.5rem;
}

.yo-header-controls label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.yo-header-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Legend items */
.yo-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-color);
}

.yo-legend-target-line {
    width: 30px;
    height: 5px;
    background: #000000;
    border-top: 2px solid #FFFFFF;
}

.yo-legend-min-alt-line {
    width: 30px;
    height: 5px;
    background: #000000;
    border-top: 2px dashed rgba(255,255,0,0.8);
}

.yo-legend-observability-box {
    width: 30px;
    height: 12px;
    background: linear-gradient(to right, #000000, #888888, #ffffff);
    border: 1px solid var(--border-color);
}

.yo-legend-moon-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffd700;
    border: 1px solid #000;
}

.yo-legend-current-day-line {
    width: 3px;
    height: 20px;
    background: #ffa726;
    opacity: 0.8;
}
