/* 5.71.2799 — Desktop only. TSEMITIES top header is the single visual reference. */
@media (min-width:761px){
 /* One shell geometry on Home, TSEMITIES, TSEMRATE and TSEMCARE. */
 .tsemou-desktop-unified-header{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:16px!important;
  width:100%!important;min-height:44px!important;height:44px!important;max-height:44px!important;
  margin:0!important;padding:3px 20px!important;box-sizing:border-box!important;background:#fff!important;
  border-bottom:1px solid #e2e8e5!important;overflow:visible!important;
 }
 .tsemou-homepage-beta>.site-header.tsemou-desktop-unified-header{position:sticky!important;top:0!important;z-index:20!important;backdrop-filter:none!important;box-shadow:none!important}
 .tsemou-homepage-beta>.site-header.tsemou-desktop-unified-header>.header-inner{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:16px!important;
  width:100%!important;max-width:none!important;min-height:38px!important;height:38px!important;max-height:38px!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
 }
 /* Same logo footprint as the current TSEMITIES header. */
 .tsemou-desktop-unified-header [data-tsemou-brand],
 .tsemou-desktop-unified-header .logo{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 116px!important;
  width:116px!important;min-width:116px!important;max-width:116px!important;height:38px!important;min-height:38px!important;max-height:38px!important;
  margin:0!important;padding:0!important;transform:none!important;text-decoration:none!important;
 }
 .tsemou-desktop-unified-header [data-tsemou-brand-image],
 .tsemou-desktop-unified-header .logo img{
  display:block!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
  margin:0!important;padding:0!important;object-fit:contain!important;object-position:left center!important;transform:none!important;
 }
 /* Exact 2797 TSEMITIES search surface, reused on every native search form. */
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search{
  position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;flex:1 1 450px!important;
  width:auto!important;min-width:100px!important;max-width:540px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  margin:0!important;padding:0 14px!important;box-sizing:border-box!important;border:1px solid transparent!important;border-radius:999px!important;
  background:#f1f4f6!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;inset:auto!important;transform:none!important;
 }
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search label,
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search .tsemou-entities-search__field{display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search input[type="search"],
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search input:not([type="hidden"]){display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#34434b!important;font-size:13px!important;line-height:1.3!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search input::placeholder{color:#6f7d86!important;opacity:1!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search>span,
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search .homepage-feed-search-icon{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;transform:none!important;color:#52616b!important;font-size:18px!important;line-height:1!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search button[type="submit"]{display:grid!important;place-items:center!important;order:-1!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#52616b!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search button[type="submit"] svg{display:block!important;width:18px!important;height:18px!important}
 .tsemou-desktop-unified-header .tsemou-desktop-unified-search:focus-within{background:#edf1f3!important;box-shadow:0 0 0 2px rgba(8,127,113,.12)!important}
 /* Search is permanently present in the desktop top bar; old standalone toggles/nav chips are not. */
 .tsemou-desktop-unified-header .tsemou-community-site-nav,
 .tsemou-desktop-unified-header~* .tsemou-desktop-search-toggle,
 .tsemou-desktop-unified-header~* .tsemou-care-search-toggle{display:none!important}
 .tsemou-entities-page .tsemou-desktop-site-nav{display:none!important}
 /* Right side follows the TSEMITIES footprint. Account mascot/name markup itself is not replaced. */
 .tsemou-desktop-unified-header .tsemou-purpose-mobile-controls,
 .tsemou-desktop-unified-header .header-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:5px!important;margin-left:auto!important;flex:0 0 auto!important;min-width:0!important}
 .tsemou-desktop-unified-header .header-nav>.tsemou-header-explore{display:none!important}
 .tsemou-desktop-unified-header .tsemou-header-account-actions{display:inline-flex!important;align-items:center!important;gap:6px!important}
 .tsemou-desktop-unified-header .tsemou-header-account{white-space:nowrap!important}
 .tsemou-desktop-unified-header .tsemou-public-menu-toggle-v2{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;box-sizing:border-box!important}
 /* Home-only legacy mobile filter trigger stays out of desktop header. */
 .tsemou-desktop-unified-header .tsemou-mobile-feed-filter-trigger{display:none!important}
}


/* 5.71.2805 — TSEMCARE desktop search only.
 * Exact 2799/2797 search geometry, without changing the TSEMCARE header shell. */
@media (min-width:761px){
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804{
  position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;flex:1 1 450px!important;
  width:auto!important;min-width:100px!important;max-width:540px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  margin:0!important;padding:0 14px!important;box-sizing:border-box!important;border:1px solid transparent!important;border-radius:999px!important;
  background:#f1f4f6!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;inset:auto!important;transform:none!important;
 }
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804 input[type="search"]{
  display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;
  color:#34434b!important;font-size:13px!important;line-height:1.3!important;
 }
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804 input::placeholder{color:#6f7d86!important;opacity:1!important}
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804 button[type="submit"]{
  display:grid!important;place-items:center!important;order:-1!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#52616b!important;
 }
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804 button[type="submit"] svg{display:block!important;width:18px!important;height:18px!important}
 .tsemou-public-header>#tsemouCareSearch.tsemou-care-header-search-2804:focus-within{background:#edf1f3!important;box-shadow:0 0 0 2px rgba(8,127,113,.12)!important}
 .tsemou-care-compact .tsemou-care-search-toggle[hidden]{display:none!important}
}

/* 5.71.2806 — TSEMCARE desktop account surface only.
 * Exact scope: the TSEMCARE route is identified by its native header search node.
 * Change only the visible profile-link border; no geometry, background, avatar,
 * typography, other header controls, other routes, or mobile styles are changed. */
@media (min-width:761px){
 body:has(#tsemouCareSearch) .tsemou-public-header .tsemou-header-account-actions > .tsemou-header-account{
  border:0!important;
 }
}

/* 5.71.2807 — TSEMRATE desktop top header: match the verified TSEMCARE header surface only.
 * Scope is /entities/ desktop header. Restore the catalog header's proven native -18px
 * breakout (tsemou-header-scale.css) that 2801 overrode to -10px, and remove only the
 * profile-link border, matching the verified TSEMCARE 2806 account surface.
 * No content/catalog/mobile rules are changed. */
@media (min-width:761px){
 .tsemou-entities-page>.tsemou-public-header.tsemou-desktop-unified-header{
  width:calc(100% + 36px)!important;
  margin-left:-18px!important;
  margin-right:-18px!important;
 }
 .tsemou-entities-page>.tsemou-public-header.tsemou-desktop-unified-header .tsemou-header-account-actions>.tsemou-header-account{
  border:0!important;
 }
}
