/* Scoped to the shared signed-in header; guest/login language controls stay unchanged. */
.header-organized.portal-header{direction:rtl;display:grid;grid-template-columns:minmax(240px,1fr) repeat(5,max-content);align-items:center;gap:10px;padding-block:16px}
.header-organized .portal-controls,.header-organized #ux-bar,.header-organized #ux-bar>div[role=group]{display:contents}
.header-organized .portal-brand{order:1;min-width:0;max-width:100%;font-size:18px}
.header-organized .portal-brand span{overflow-wrap:anywhere}
.header-organized #owner-dashboard-link{order:2}
.header-organized #ux-ar{order:3}.header-organized #ux-en{order:4}.header-organized #ux-bell{order:5}
.header-organized #logout,.header-organized #limited-logout{order:6}
.header-organized button,.header-organized #header-account>summary{min-height:46px;margin:0;padding:8px 12px;border-radius:9px;font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:center}
.header-organized #ux-bar button{min-height:46px;padding:8px 12px;font-size:16px}
.header-organized #header-account-row{order:7;grid-column:1/-1;display:flex;justify-content:flex-start;position:relative}
.header-organized #header-account{position:relative;max-width:100%}.header-organized #header-account>summary{cursor:pointer;background:#edf2ef;color:#123d43;list-style:none;min-width:100px}
.header-organized #header-account-body{position:absolute;inset-inline-start:0;top:calc(100% + 6px);width:min(340px,calc(100vw - 32px));background:white;border:1px solid #bdd5db;box-shadow:0 8px 28px #123d4326;border-radius:12px;padding:14px;z-index:110;display:flex;flex-direction:column;gap:10px;text-align:start}
.header-organized #header-account:not([open])>#header-account-body{display:none}
.header-organized #header-account-body .user-label{display:block;overflow-wrap:anywhere}
.header-organized #tools-menu .tools-dropdown,.header-organized #ux-settings>div{position:static;box-shadow:none;min-width:0;width:100%;max-width:100%}
.header-organized #header-account-body button{width:100%}
.header-organized #ux-bell-popup{order:8;position:absolute;top:100%;inset-inline-end:12px;direction:inherit}
.header-organized #ux-bell-popup[hidden]{display:none}
@media(max-width:950px){.header-organized.portal-header{padding-inline:16px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.header-organized .portal-brand{grid-column:1/-1;font-size:18px}.header-organized #owner-dashboard-link{grid-column:1/-1}.header-organized #ux-ar,.header-organized #ux-en,.header-organized #ux-bell,.header-organized #logout,.header-organized #limited-logout{width:100%;min-width:0;align-self:stretch}.header-organized #ux-bar button,.header-organized button{padding:8px 5px;font-size:15px;min-height:48px}.header-organized #ux-bell{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.header-organized #ux-unread{margin:0}.header-organized #ux-bell-popup{position:absolute;top:100%;inset-inline:12px;width:auto}}
@media print{.header-organized{display:none!important}}
