/* Approved mobile references 04/05; preserve full desktop data and controls. */
.approved-children .children-search { display:flex; gap:8px; align-items:center; margin:16px 0; }
.approved-children .children-search input[type=search] { background:#f4f6f7; min-width:0; flex:1; }
.approved-children .children-add { font-size:1.8rem; padding:3px 13px; min-width:44px; }
.profile-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:16px 0; }
.profile-tabs a { display:flex; align-items:center; justify-content:center; min-height:38px; border:1px solid var(--line); border-radius:12px; padding:7px 14px; font-size:.9rem; background:white; }
.profile-tabs a[aria-current=page] { background:#167d69; border-color:#167d69; color:white; }
.approved-children .child-card { position:relative; align-items:start; gap:12px; padding:14px; border-radius:14px; }
.approved-children .child-card-content { min-width:0; flex:1; }
.approved-children .child-card h2 { font-size:1.1rem; margin:0 0 3px; }
.approved-children .child-card .avatar { width:48px; height:48px; flex-shrink:0; }
.approved-children .child-next { font-size:.8rem; margin-top:8px; line-height:1.45; overflow-wrap:anywhere; }
.employee-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--employee,#167d69); margin-right:6px; }
.approved-children .child-chevron { font-size:1.6rem; align-self:center; }
.approved-profile { position:relative; }
.approved-profile .profile-edit-link { float:right; margin-top:-36px; color:#167d69; font-weight:650; padding:8px; }
.approved-profile .profile-new-appointment { display:flex; justify-content:center; margin:12px 0 22px; }
.approved-profile .history-row { border-radius:13px; padding:12px; }
.approved-profile .history-row h3 { margin:6px 0; }
.approved-profile .history-row p { font-size:.85rem; }
.approved-profile .profile-facts { border-radius:13px; }
.approved-profile .profile-facts .details>div { padding:8px 0; }
.approved-profile .profile-next { border-left:3px solid var(--employee,#167d69); }
.approved-statistics .stats-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:18px 0; }
.stats-summary>div { display:grid; grid-template-columns:28px 1fr; gap:2px 7px; background:#f4f5f7; border:1px solid #e1e5e9; padding:12px; border-radius:12px; }
.stats-summary>div>span { grid-row:span 2; color:#64756e; font-size:24px; }
.stats-summary strong { font-size:1.65rem; line-height:1.1; }
.stats-summary small { font-size:.8rem; }
.stats-summary .stats-realized { background:#edf8f3; }
.stats-summary .stats-realized>span { color:#167d69; }
.stats-summary .stats-cancelled { background:#fff1f3; }
.stats-summary .stats-cancelled>span { color:#b52a46; }
.stats-summary .stats-pending { background:#fff7e9; }
.stats-summary .stats-pending>span { color:#a76712; }
.approved-statistics h2 { font-size:1.15rem; margin:20px 0 12px; letter-spacing:0; }
.employee-bar { display:grid; grid-template-columns:minmax(90px,1fr) minmax(90px,2fr) 26px; gap:10px; align-items:center; margin:10px 0; font-size:.9rem; }
.employee-bar>span { overflow-wrap:anywhere; }
.employee-bar meter { width:100%; height:22px; accent-color:var(--employee,#167d69); }
.employee-bar meter::-webkit-meter-bar { background:#e5e7ec; border:0; border-radius:5px; }
.employee-bar meter::-webkit-meter-optimum-value { background:var(--employee,#167d69); border-radius:5px; }
.employee-bar meter::-moz-meter-bar { background:var(--employee,#167d69); border-radius:5px; }
.stats-activities .panel { padding:0 12px; border-radius:12px; }
.stats-activities .panel>div { display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.stats-activities .panel>div:last-child { border-bottom:0; }
.stats-activities .panel>p { padding:12px 0; }
.stats-explanation { margin:12px 0; }
.stats-detail-metrics>summary { cursor:pointer; padding:14px 0; font-weight:650; }
.stats-selected-period { margin:8px 0; font-size:.85rem; color:var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:700px) {
 .approved-children .children-grid { grid-template-columns:1fr; gap:9px; }
 .approved-children .page-heading { margin-bottom:12px; }
 .approved-children .profile-tabs { justify-content:space-between; }
 .approved-children .profile-tabs a { flex:1; padding-inline:8px; border-radius:22px; }
 .approved-profile .person-heading h1 { font-size:1.45rem; }
 .approved-profile .history-content>.row { flex-wrap:wrap; gap:6px; }
 .approved-statistics .stats-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .approved-statistics .stats-periods a { flex:1; }
 .approved-statistics .stats-employees { flex-wrap:nowrap; overflow-x:auto; padding-bottom:3px; }
 .approved-statistics .stats-employees a { flex-shrink:0; }
 .approved-statistics .refined-filters { padding:14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .approved-statistics .refined-filters>div { min-width:0; }
 .approved-statistics .refined-filters button { grid-column:1/-1; }
 .approved-statistics .refined-filters .validation { grid-column:1/-1; }
}

.child-archive-action { max-width:620px; width:100%; margin-top:12px; border:1px solid #167d69; color:#167d69; }
.child-archive-confirm { background:#eff8f4; border-color:#cbe9de; }
.approved-profile .profile-next>span:last-child { display:flex; flex-direction:column; gap:3px; }
.approved-statistics .stats-employees a[class*=employee-color] { color:var(--employee); background:var(--employee-soft); }
.approved-statistics .stats-employees a[class*=employee-color][aria-current=page] { outline:2px solid var(--employee); outline-offset:1px; }

.approved-children .children-search button[hidden] { display:none; }
