/* Keep the native portal above the branding header without moving React-owned nodes. */
html[data-jarwiz-theme] #root .ant-app:has([data-lobe-portal-host]){isolation:auto!important}
/* LobeUI provides physical coordinates inline. Its generated logical 8px offsets
   override those coordinates; use the same native values through independent variables. */
html[data-jarwiz-theme] [data-lobe-portal-host] [role=presentation][data-placement][data-jw-positioned]{
 inset-block-start:auto!important;inset-inline-start:auto!important;
 top:var(--jw-popover-top)!important;left:var(--jw-popover-left)!important;
 right:auto!important;bottom:auto!important;
}
html[data-jarwiz-theme] [data-jw-account-menu]{height:auto!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - var(--jw-popover-top) - 12px)!important}
html[data-jarwiz-theme] [data-jw-account-menu]>[role=dialog]{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - var(--jw-popover-top) - 12px)!important;overflow-y:auto!important;overscroll-behavior:contain}
