/* Giữ menu tài khoản đã đăng nhập trong khung header, sửa tràn ngang của CSS nguồn. */
body:not(.mobile) .header .account .user-info { right: 0; }
/* Menu đang mở cần nhận thao tác đóng thay vì bị header che. */
body.mobile.nav .mainnav { z-index: 10001; }

/* Header Apps dùng partial mặc định và CSS mobile của nguồn: tách tìm kiếm khỏi hàng liên kết để không che vùng bấm. */
body.apps .header > .container { height: 94px; padding: 0 12px; display: grid; grid-template-columns: 120px minmax(0, 1fr) 32px; grid-template-rows: 48px 46px; align-items: center; gap: 0 8px; }
body.apps .header .nav-logo { position: static; transform: none; width: 120px; height: 48px; }
body.apps .header .nav-logo h1 { margin: 0; }
body.apps .header .content { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
body.apps .header .account { position: relative; top: auto; right: auto; transform: none; }
body.apps .header .searchbox { top: 54px; bottom: auto; }
