/* Account identity stays visible without competing with the selected child. */
.app-header-inner{gap:20px}.header-controls{min-width:0;gap:8px}.current-child .avatar{flex-shrink:0}
.header-account-entry{display:flex;align-items:center;gap:7px;min-width:0;max-width:206px;min-height:44px;padding:5px 6px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;flex-shrink:1}
button.header-account-entry:hover{background:var(--accent-soft)}button.header-account-entry:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.header-account-symbol{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:var(--accent-soft);overflow:hidden;font-size:23px}
.header-account-symbol .child-avatar-image{width:100%;height:100%;object-fit:cover}.header-account-symbol .child-avatar-emoji{font-size:23px;line-height:1}.header-account-copy{display:block;min-width:0}.header-account-name{display:block;max-width:154px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.5;font-weight:700}
html[data-theme] .header-controls .role-toggle{background:transparent;border:0;border-radius:9px;padding:6px 3px!important;gap:5px;min-height:40px;white-space:nowrap;color:var(--accent-ink,var(--accent))}
html[data-theme] .header-controls .role-toggle:hover{background:var(--accent-soft)}html[data-theme] .header-controls .role-toggle>.icon{display:block!important;width:19px!important;height:19px!important}
.current-child .child-select{display:inline-flex;max-width:100%;align-items:center}.current-child .child-select select{width:var(--child-label-width,100px)!important;max-width:100%;min-width:0;padding-left:0!important;padding-right:22px!important;overflow:hidden;text-overflow:ellipsis;background-position:right 1px center!important}
.notification-count{position:absolute;top:1px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#b45143;color:white;font-size:10px;line-height:17px;font-weight:750;border:1px solid white;box-sizing:content-box;text-align:center;font-variant-numeric:tabular-nums}
@media(min-width:701px) and (max-width:1100px){.app-header-inner{gap:14px;padding-left:18px;padding-right:18px}.header-brand strong{display:none}.header-controls .sync-button{display:none}.header-account-entry{max-width:180px}.header-account-name{max-width:130px}}
@media(max-width:700px){
 .app-header-inner{flex-wrap:nowrap;gap:7px;padding:7px 12px;min-height:60px}.app-header-inner .current-child{flex:1;min-width:0;gap:6px}.current-child>div{min-width:0}.current-child>div>small{display:none}.current-child strong{max-width:100%;font-size:14px}.current-child .avatar{width:35px;height:35px}.current-child .child-select select{font-size:14px!important}
 .header-controls{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;width:auto;flex:0 0 auto;margin-left:auto}.header-controls .header-account-entry{max-width:126px;min-height:44px;padding:1px 0;gap:5px;border-radius:9px;flex:0 1 auto}.header-account-symbol{width:26px;height:26px}.header-account-symbol .child-avatar-emoji{font-size:21px}.header-account-name{max-width:95px;font-size:13px}
 html[data-theme] .header-controls .role-toggle{flex:none;min-height:44px;font-size:11px!important;padding:2px 2px!important;gap:3px}html[data-theme] .header-controls .role-toggle>.icon{width:17px!important;height:17px!important}.header-controls .notification-button{flex:none;min-width:36px;width:36px;min-height:44px;height:44px;padding:7px}.header-controls .notification-button .icon{width:21px;height:21px}.notification-count{top:0;right:0;font-size:9px;height:15px;min-width:15px;line-height:15px;padding:0 3px}
}
@media(max-width:360px){.app-header-inner{padding-left:10px;padding-right:10px;gap:5px}.header-controls{gap:2px}.header-controls .header-account-entry{max-width:109px;gap:4px}.header-account-name{max-width:81px;font-size:12px}.header-account-symbol{width:24px;height:24px}.current-child .avatar{width:33px;height:33px}.current-child{gap:5px}.current-child strong{font-size:13px}html[data-theme] .header-controls .role-toggle{width:36px;min-width:36px;justify-content:center}html[data-theme] .header-controls .role-toggle>span{display:none}}
