/* Single global header presentation. Loaded last on every route. */
/* LOCKED Home DOM variants only. Other route layouts remain in pages.css. */
.ta-home-header .ta-home-utility{background:#f2f3ff;border-bottom:1px solid #e2e8f0;font-size:11px;color:#475569}

.ta-home-utility>.ta-container{height:32px;display:flex;align-items:center;justify-content:space-between}

.ta-home-utility span{display:flex;align-items:center;gap:6px}
.ta-home-utility .ta-icon{width:15px;height:15px}
.ta-home-utility a{color:#475569;text-decoration:none}

.ta-home-header .ta-header__row{min-height:64px;gap:24px}
.ta-home-brand{flex-shrink:0;position:relative;padding-left:48px}

.ta-home-brand .ta-brand{font-size:22px;gap:0}
.ta-home-brand .ta-brand__icon{position:absolute;left:0;top:0;width:40px;height:40px;border-radius:12px;color:white;background:#2563eb}

.ta-home-brand .ta-brand__icon .ta-icon{width:24px;height:24px}
.ta-home-brand__tagline{display:block;font-size:10px;line-height:14px;color:#475569;text-transform:uppercase;letter-spacing:.08em}

.ta-home-brand .custom-logo-link{display:block;padding:0}
.ta-home-brand:has(.custom-logo-link){padding-left:0}
.ta-home-brand:has(.custom-logo-link) .ta-home-brand__tagline{display:none}

.ta-home-header .ta-header__search{max-width:576px}
.ta-home-header .ta-search-form input{border-radius:24px;background:#f2f3ff;font-size:13px;height:44px;min-height:44px}

.ta-home-header .ta-header__search .ta-search-form{height:44px}
.ta-home-header .ta-header__search input,.ta-home-header .ta-header__search .ta-search-submit{height:42px;min-height:42px}

.ta-home-header .ta-header__actions{gap:8px}
.ta-home-header-action{background:#f2f3ff;border-radius:12px;width:40px;height:40px}
.ta-home-header-action:last-child{border-radius:50%;background:#2563eb;color:#fff}

.ta-home-header .ta-header__nav .ta-menu--horizontal{height:48px;min-height:48px;flex-wrap:nowrap;gap:24px;white-space:nowrap}

.ta-home-header .ta-header__nav{overflow:visible}
.ta-home-header .ta-header__nav>.ta-container{overflow-x:auto;scrollbar-width:none}

.ta-home-header .ta-header__nav a,.ta-home-header .ta-header__nav button{font-size:14px;line-height:20px;padding:12px 0}

.ta-home-header .ta-header__nav [aria-current]{border-bottom:2px solid #2563eb}
.ta-home-header .ta-home-mobile-search{display:none}
@media(min-width:768px){.ta-home-header{border-block-end:0}}

.ta-hide-header-search_enabled .ta-home-header .ta-home-mobile-search{display:none}
@media(max-width:767px){
 .ta-home-header .ta-home-utility,.ta-home-header-action{display:none}}
@media(max-width:767px){.ta-home-header .ta-home-brand__tagline{font-size:10px;line-height:10px}}
@media(max-width:767px){.ta-home-header-action:last-child{display:inline-flex;width:32px;height:32px}}
@media(max-width:767px){.ta-home-header .ta-home-brand{padding-left:40px}}
@media(max-width:767px){.ta-home-header .ta-home-brand .ta-brand{font-size:18px}}
@media(max-width:767px){.ta-home-header .ta-home-brand .ta-brand__icon{width:32px;height:32px;top:0;border-radius:8px}}
@media(max-width:767px){.ta-home-header .ta-header__row{min-height:56px;gap:8px}}
@media(max-width:767px){
 .ta-home-header .ta-home-mobile-search{display:block;margin:0 auto;padding-bottom:10px;max-width:1140px}}
@media(max-width:767px){.ta-home-header .ta-home-mobile-search .ta-search-form{max-width:none;height:40px}}
@media(max-width:767px){.ta-home-header .ta-home-mobile-search input{height:38px;min-height:38px;font-size:13px;background:#f2f3ff}}
@media(max-width:767px){.ta-home-header .ta-home-mobile-search .ta-search-submit{height:38px;min-height:38px;padding:6px 12px;font-size:13px}}

/* Final fidelity: component anatomy follows LOCKED Home; data availability still owns height. */
.ta-home-header .ta-search-form{position:relative;background:#f2f3ff;border-radius:24px;gap:8px}

.ta-home-header .ta-search-form input{background:transparent;border-radius:0;padding:8px 0}

.ta-home-header .ta-search-submit{display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;padding:8px}

.ta-home-header .ta-search-submit .ta-icon{width:18px;height:18px}

.ta-home-header .ta-header__search kbd{right:46px;pointer-events:none}

.ta-home-header .ta-header__search input{padding-right:50px}

.ta-home-header-action:last-child{background:#e2e7ff;color:#2563eb;border:1px solid #e2e8f0}

.ta-home-header-action:last-child .ta-icon{width:18px;height:18px}
@media(max-width:767px){
 .ta-home-header .ta-header__row{width:100%;padding-inline:12px;height:56px;min-height:56px;gap:6px;justify-content:start}}
@media(max-width:767px){
 .ta-home-header .ta-header__row>.ta-header__mobile{width:40px;height:40px;min-width:40px;min-height:40px;padding:8px;flex-shrink:0;margin-inline-start:0}}
@media(max-width:767px){
 .ta-home-header .ta-header__actions{margin-left:auto;gap:4px}}
@media(max-width:767px){
 .ta-home-header .ta-header__actions>.ta-header__mobile{width:36px;height:36px;min-width:36px;min-height:36px;padding:8px}}
@media(max-width:767px){
 .ta-home-header .ta-home-brand .ta-brand{font-weight:800;letter-spacing:-.45px;line-height:24px;color:#2563eb}}
@media(max-width:767px){
 .ta-home-header .ta-home-brand .ta-brand__accent{color:#131b2e}}
@media(max-width:767px){
 .ta-home-header .ta-home-brand__tagline{font-weight:600;letter-spacing:0;text-transform:none;color:#475569;font-size:10px;line-height:10px}}
@media(max-width:767px){
 .ta-home-header .ta-home-mobile-search{width:100%;padding:0 12px 10px}}
@media(max-width:767px){
 .ta-home-header .ta-search-form{border-radius:12px;background:#f2f3ff}}
@media(max-width:767px){
 .ta-home-header .ta-home-mobile-search input{background:transparent;padding:8px 0}}
@media(max-width:767px){
 .ta-home-header .ta-home-mobile-search .ta-search-submit{padding:8px;width:38px;min-width:38px}}
@media(min-width:768px){
 .ta-home-header .ta-header__nav .ta-menu--horizontal{gap:16px}}
@media(min-width:768px){.ta-home-header .ta-header__nav>.ta-container{overflow:visible}}
@media(min-width:768px){.ta-home-header .ta-header__nav .ta-menu--horizontal{height:auto;min-height:48px;flex-wrap:wrap}}
@media(min-width:768px){.ta-home-header .ta-menu--horizontal>.menu-item-has-children>.sub-menu{z-index:60}}
@media(min-width:768px){.ta-home-header .ta-menu--horizontal>.menu-item-has-children>a:after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);vertical-align:3px;margin-inline-start:8px}}
@media(min-width:768px){.ta-home-header .ta-menu--horizontal .sub-menu a{padding:10px 0;min-height:44px}}

/* This relative header stays in normal flow; the core admin bar already reserves
   its space. Do not inherit the shell's sticky-only admin offset here. */
.ta-global-header{display:block;width:100%;padding:0;border-bottom:1px solid #e2e8f0;background:#fff;color:#0f172a;font-family:var(--ta-font);position:relative;top:auto;z-index:50}
.ta-global-header>.ta-header__row{display:flex;max-width:1140px;margin-inline:auto;box-sizing:border-box}
.ta-global-header .ta-header__search{flex:1;min-width:0}
.ta-global-header .ta-header__actions{display:flex;align-items:center;margin-inline-start:auto}
.ta-global-header .ta-home-header-action{display:inline-flex;align-items:center;justify-content:center;border:0;color:#64748b}
.ta-global-header .ta-home-header-action:disabled{opacity:.65;cursor:default}
.ta-global-header :is(a,button,input):focus-visible{outline:2px solid #2563eb;outline-offset:3px}
@media(min-width:768px){.ta-global-header .ta-header__row{height:64px;min-height:64px}.ta-global-header .ta-header__nav{display:block}.ta-global-header .ta-header__mobile,.ta-global-header .ta-home-mobile-search{display:none}.ta-global-header .ta-header__search{display:block}.ta-global-header .ta-header__nav>.ta-container{overflow:visible}}
@media(max-width:767px){.ta-global-header .ta-header__search,.ta-global-header .ta-header__nav,.ta-global-header .ta-home-utility,.ta-global-header .ta-home-header-action{display:none}.ta-global-header .ta-header__mobile{display:inline-flex}.ta-global-header .ta-home-header-action:last-child{display:inline-flex}.ta-global-header .ta-home-mobile-search{display:block}.ta-global-header .ta-header__row{height:56px;min-height:56px}}
