#header [data-device="desktop"] .ct-header-account[data-state="in"][data-interaction="link"] > .ct-account-item {
	min-block-size: 44px;
	gap: 8px;
}

#header [data-device="desktop"] .ct-header-account[data-state="in"][data-interaction="link"] .ct-label {
	color: inherit;
	font-size: .875rem;
	font-weight: 650;
	text-transform: none;
}

#header [data-device="mobile"] .site-branding {
	gap: 8px;
}

#header [data-device="mobile"] .site-branding .site-logo-container img {
	inline-size: auto;
	block-size: 20px;
	object-fit: contain;
}

#header [data-device="mobile"] .site-branding .site-title {
	font-size: clamp(1rem, 4.2vw, 1.125rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.025em;
}

#header [data-device="mobile"] .site-branding :is(.site-logo-container, .site-title > a) {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
}

#header [data-device="mobile"] .ct-header-trigger[aria-controls="offcanvas"] {
	justify-content: center;
	min-inline-size: 44px;
	min-block-size: 44px;
}

@media (max-width: 699.98px) {
	.page-id-59 .tsr-access-header .tsr-access-header__brand {
		gap: 8px;
	}

	.page-id-59 .tsr-access-header .tsr-access-header__logo {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}

	.page-id-59 .tsr-access-header .tsr-access-header__name {
		font-size: clamp(1rem, 4.2vw, 1.125rem);
	}
}

/* Keep the header link available if the theme has no offcanvas account row. */
body:has(#offcanvas .tsr-mobile-account) #header [data-device="mobile"] .ct-header-account[data-state="in"] {
	display: none;
}

#offcanvas .mobile-menu > ul > li.tsr-mobile-account {
	margin-block-start: 12px !important;
}

#offcanvas .mobile-menu > ul > :is(.tsr-mobile-account, .tsr-mobile-logout) > a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-block-size: 44px;
	border-bottom: 0;
}

#offcanvas .tsr-mobile-account svg {
	flex: none;
}

#offcanvas .mobile-menu > ul > .tsr-mobile-account > [aria-current="page"] {
	color: #9a3628 !important;
}

#offcanvas .mobile-menu > ul > .tsr-mobile-logout > a {
	color: var(--tsr-menu-suave, #6e6e73) !important;
	font-weight: 500 !important;
}

#header :is(.ct-account-item, .ct-header-trigger):focus-visible,
#offcanvas :is(.tsr-mobile-account, .tsr-mobile-logout) > a:focus-visible {
	outline: 2px solid #0071e3;
	outline-offset: 3px;
}
