body {
	background: #fff;
	font-family: Helvetica, Arial, sans-serif;
  font-size: .8rem;
	margin: 0;
  min-width: 30rem;
}

.header {
  align-items: center;
  border-bottom: 1px solid #dbdbdb;
  height: 4rem;
  display: flex;
}

.header__link:focus {
  outline: none;
}

.header__logo {
  display: inline-block;
  margin: .2rem 0 0 1.5rem;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
  transform: translateZ(0);
  height: 2rem;
}

.header__logo--dark {
  display: none;
}

.container {
  min-height: 5rem;
  padding: 1rem 1.5rem 0rem 1.5rem;
}

.detected {
  columns: 2;
  column-gap: 1.5rem;
  line-height: 1.4rem;
}

.detected__category {
  page-break-inside: avoid;
  break-inside: avoid-column;
  padding-bottom: 1rem;
}

.detected__category-name {
  display: block;
}

.detected__category-link {
  color: #4608ad;
  font-weight: bold;
  line-height: 2rem;
  text-decoration: none;
}

.detected__category-link:hover {
  color: #4a4a4a;
}

.detected__category-pin-wrapper {
  margin-left: .2rem;
}

.detected__category-pin {
  cursor: pointer;
  display: none;
  height: 16px;
  margin-left: .2rem;
  width: 16px;
  vertical-align: middle;
}

.detected__category:hover .detected__category-pin--inactive {
  display: inline-block;
}

.detected__category-pin-wrapper--active .detected__category-pin--inactive,
.detected__category-pin-wrapper:hover .detected__category-pin--inactive {
  display: none !important;
}

.detected__category-pin-wrapper--active .detected__category-pin--active,
.detected__category-pin-wrapper:hover .detected__category-pin--active {
  display: inline-block;
}

.detected__app {
  color: #4a4a4a;
  display: block;
  line-height: 1.7rem;
  text-decoration: none;
}

.detected__app:focus {
  display: block;
  outline: 0;
}

.detected__app-icon {
	display: inline-block;
	height: 16px;
	margin-right: .5rem;
	vertical-align: -.2rem;
	width: 16px;
}

.detected__app-name {
}

.detected__app-version, .detected__app-confidence {
  background: #eee;
  border-radius: 3px;
  font-size: .7rem;
  margin-left: .3rem;
  padding: .1rem .2rem;
}

.detected__app:hover .detected__app-name {
  border-bottom: 1px solid #4a4a4a;
}

.detected__app:hover .detected__app-version,
.detected__app:hover .detected__app-confidence {
  border-bottom: 1px solid white;
}

.detected-app {
	padding: 7px 0;
}

.detected-app:first-child {
	padding-top: 0;
}

.detected-app:last-child {
	border: none;
	padding-bottom: 0;
}

.empty {
  display: flex;
  height: 5rem;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
}

.empty__text {
}

.terms {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1rem;
  height: 12rem;
  width: 36rem;
}

.terms__wrapper {
  display: none;
  height: 100%;
  width: 100%;
}

.terms__wrapper--active {
  display: block;
}

.terms__content {
  font-size: .9rem;
  line-height: 150%;
  text-align: center;
  margin-bottom: 1rem;
  width: 80%;
}

.terms__accept {
  background-color: #4608ad;
  border: none;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  font-size: .9rem;
  padding: .8rem 3rem;
}

.terms__accept:hover {
  background-color: #4107a1;
}

.terms__privacy {
  color: #4608ad;
  margin-top: 1rem;
}

/* Add alternative color palette for Dark mode theme. */
body.theme-mode-sync  {
  background: linear-gradient(160deg, #32067c, #150233);
}

.theme-mode-sync .header {
  border-bottom: 1px solid #000;
}

.theme-mode-sync .header__logo--dark {
  display: inline-block;
}

.theme-mode-sync .header__logo--light {
  display: none;
}

.theme-mode-sync .container {
  color: white;
}

.theme-mode-sync .detected__category-link, .theme-mode-sync .detected__app {
  color: white;
}

.theme-mode-sync .detected__category-link:hover {
  color: white;
  border-bottom: 1px solid white;
}

.theme-mode-sync .detected__app-version, .theme-mode-sync .detected__app-confidence {
  background-color: #4608ad;
}

.theme-mode-sync .detected__app:hover .detected__app-name {
  border-bottom: 1px solid white;
}

.theme-mode-sync .detected__app:hover .theme-mode-sync .detected__app-version,
.theme-mode-sync .detected__app:hover .theme-mode-sync .detected__app-confidence {
  border-bottom: none;
}

.theme-mode-sync .terms__accept,
.theme-mode-sync .terms__privacy {
  color: white;
}
