.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 {
    max-width: 520px;
    margin: 0 auto;
    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-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: .3rem 0 .2rem;
}

.parent-week-nav .daily-nav-btn {
    flex: 0 0 auto;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.parent-week-nav .daily-nav-btn:disabled {
    opacity: .35;
    cursor: default;
    transform: none;
}

.parent-week-label {
    font-size: .85rem;
    font-weight: 700;
    color: #444;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.parent-week-summary {
    font-size: .8rem;
    color: #555;
    text-align: center;
    margin: 0 0 .2rem;
}

.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;
}

.parent-hub {
    text-align: center;
}

.parent-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: .4rem 0 1.4rem;
}

@media (min-width: 34rem) {
    .parent-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 52rem) {
    .parent-hub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.parent-hub-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: #f6f9ff;
    border: 2px solid #dce7f8;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    color: #2c3e50;
    transition: border-color .15s, background .15s;
}

.parent-hub-choice:hover {
    border-color: var(--primary);
    background: #eef4fe;
}

.parent-hub-choice-emoji {
    font-size: 2.4rem;
}

.parent-hub-choice-label {
    font-weight: bold;
    font-size: 1.15rem;
}

.parent-hub-choice-desc {
    font-size: .85rem;
    color: #667;
    line-height: 1.4;
    text-align: center;
}