.parent-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
}

.parent-title {
    text-align: center;
    margin: 0;
    font-size: 1.6rem;
}

.parent-subtitle {
    text-align: center;
    color: #888;
    font-size: .9rem;
    line-height: 1.4;
    margin: 0 0 .4rem;
}

.parent-empty {
    text-align: center;
    color: #999;
    font-size: 1rem;
    margin: 1rem 0;
}

.parent-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.parent-card-header {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.parent-card-avatar {
    font-size: 2.2rem;
    line-height: 1;
}

.parent-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.parent-last-played {
    font-size: .75rem;
    color: #888;
    background: #f0f0f0;
    padding: .25rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.parent-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
    font-size: .85rem;
    color: #555;
}

.parent-stat {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.parent-chart-label {
    font-size: .75rem;
    font-weight: 600;
    color: #666;
    margin: .2rem 0 0;
}

.parent-chart {
    display: flex;
    align-items: stretch;
    gap: .4rem;
    padding: .4rem .2rem 0;
    border-bottom: 2px solid #eee;
}

.parent-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.parent-bar-value {
    font-size: .7rem;
    font-weight: 600;
    color: #666;
    margin-bottom: .15rem;
}

.parent-bar {
    width: 100%;
    max-width: 44px;
    min-height: 3px;
    border-radius: 6px 6px 0 0;
    background: #e0e0e0;
    transition: height .3s;
}

.parent-bar-day {
    font-size: .68rem;
    color: #999;
    padding: .25rem 0 .15rem;
    white-space: nowrap;
}

.parent-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem 1rem;
    font-size: .72rem;
    color: #888;
    padding-top: .2rem;
}

.parent-legend-item {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.parent-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.parent-weekly-note {
    font-size: .72rem;
    color: #999;
    text-align: center;
    margin: 0;
}

.parent-practice {
    margin-top: .2rem;
    padding-top: .6rem;
    border-top: 1.5px dashed #e8e8e8;
}

.parent-practice-title {
    font-size: .8rem;
    font-weight: 700;
    color: #555;
    margin: 0 0 .4rem;
}

.parent-practice-ok {
    font-size: .8rem;
    color: #4caf50;
    text-align: center;
    margin: .2rem 0;
}