/* Goals page styles */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.goal-item {
    padding: var(--space-5);
}

.goal-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
}

.goal-item__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
}

.goal-item__dates {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-1);
}

.goal-item__progress {
    margin-top: var(--space-4);
}

.goal-item__progress-label {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.goal-item__subgoals {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
}

.subgoal-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast);
}

.subgoal-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.subgoal-item__order {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    width: 24px;
    text-align: center;
}

.subgoal-item__status {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--text-tertiary);
    flex-shrink: 0;
}

.subgoal-item__status.active {
    background: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
}

.subgoal-item__status.completed {
    background: var(--cyan);
}

.subgoal-item__info {
    flex: 1;
    min-width: 0;
}

.subgoal-item__title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.subgoal-item__target {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.subgoal-item__actions {
    display: flex;
    gap: var(--space-1);
}