/* Navigation visibility and selection only; permissions remain server controlled. */
body.signed-in header #overviewAccount#overviewAccount{flex-wrap:wrap!important;gap:10px!important}
body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;width:100%!important;gap:6px!important;overflow:visible!important}
body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts button:not([hidden]){width:auto!important;min-width:0!important;min-height:40px!important;flex:0 1 auto!important;padding:8px 11px!important;font-size:12px!important;line-height:1.3!important}
body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts [data-page="home"]:not([hidden]),
body.is-admin.signed-in header #overviewAccount#overviewAccount .overview-shortcuts .admin-only:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center}
body.is-admin.signed-in header #overviewAccount#overviewAccount #overviewIdentity{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;width:auto;max-width:100%;min-height:36px;padding:5px 9px;margin:0}
body.is-admin.signed-in #overviewIdentity>small{display:none!important}
body.is-admin.signed-in #overviewIdentity>.profile-avatar{width:28px;height:28px;flex:0 0 28px}
body.is-admin.signed-in #overviewIdentity>strong{font-size:14px;overflow-wrap:anywhere}
body.is-admin.signed-in #overviewIdentity .account-role,.rt-profile-role{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #e55273;border-radius:999px;background:#421827;color:#ffd6df;font-size:11px;font-weight:800;letter-spacing:.06em}
body header #overviewAccount#overviewAccount .overview-shortcuts button[aria-current="page"],
body header #overviewAccount#overviewAccount .overview-shortcuts #overviewAccountBtn[aria-pressed="true"]{background:#a51e3e!important;color:#fff!important;border-color:#ff839d!important;box-shadow:inset 0 -3px 0 #ffadbf!important;font-weight:800!important}
body header #overviewAccount#overviewAccount #overviewLogoutBtn{background:#242027!important;border-color:#51414d!important;box-shadow:none!important;color:#d5c9d0!important}
.rt-profile-role{margin:0 0 14px}
html[data-theme="light"] body header #overviewAccount#overviewAccount #overviewLogoutBtn{background:#fff!important;color:#573342!important}

/* Consistent navigation rows, including the existing profile shortcut. */
body.signed-in header #overviewAccount#overviewAccount{align-items:flex-start!important;row-gap:10px!important}
body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts #overviewAccountBtn{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0!important;min-height:40px!important;flex:0 1 auto!important;padding:8px 11px!important;font-size:12px!important;line-height:1.3!important}
@media(max-width:760px){
 body.signed-in header #overviewAccount#overviewAccount{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
 body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
 body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts button:not([hidden]),
 body.signed-in header #overviewAccount#overviewAccount .overview-shortcuts #overviewAccountBtn{grid-column:span 2;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:6px 4px!important;font-size:12px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important;margin:0!important;display:flex;align-items:center;justify-content:center}
 body.is-admin.signed-in header #overviewAccount#overviewAccount .overview-shortcuts #overviewAccountBtn,
 body.is-admin.signed-in header #overviewAccount#overviewAccount .overview-shortcuts #overviewLogoutBtn{grid-column:span 3}
 body.signed-in:not(.is-admin) header #overviewAccount#overviewAccount .overview-shortcuts button:not([hidden]),
 body.signed-in:not(.is-admin) header #overviewAccount#overviewAccount .overview-shortcuts #overviewAccountBtn{grid-column:span 3}
 body.is-admin.signed-in header #overviewAccount#overviewAccount #overviewIdentity{align-self:flex-start;margin-bottom:0!important}
}
