/* Direct customer and internal entrances. */
#business-portals {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.business-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #dce5d8;
  border-radius: 999px;
  background: #f5f8f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}

.business-direct-arrow {
  flex: none;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.business-direct-link.portal-order {
  gap: 12px;
  min-width: 78px;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.business-direct-link[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}

.business-direct-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .business-direct-link[href]:hover { background: #eaf1e6; }
  .business-direct-link.portal-order[href]:hover { background: #35613f; }
}

@media (max-width: 1180px) and (min-width: 601px) {
  .business-direct-link { gap: 5px; padding-inline: 10px; font-size: 11px; }
  .business-direct-link.portal-order { min-width: 66px; }
}

@media (max-width: 600px) {
  #business-portals { width: 100%; gap: 8px; }
  #business-portals .business-direct-link { min-height: 40px; font-size: 12px; }
  #business-portals .portal-production { flex: 1; }
  #business-portals .portal-order { flex: 0 0 90px; }
}

/* The download page is separate from the two business sign-in links. */
.nav-utilities > a.portal-download:first-child {
  flex: none;
  gap: 6px;
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  font-weight: 600;
}

.portal-download svg { width: 16px; height: 16px; flex: none; }
#navigation a.mobile-platform-download { display: none; }

@media (hover: hover) and (pointer: fine) {
  .nav-utilities > a.portal-download:first-child:hover { background: #eaf1e6; }
}

@media (max-width: 760px) {
  .nav-utilities > a.portal-download:first-child { display: none; }
  #navigation.open a.mobile-platform-download { display: block; color: var(--green); }
}
