.ExtensionManager-lastUpdatedAt {
  color: var(--control-color);

  &-label {
    font-weight: bold;
  }
}

.ExtensionManager-updaterControls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-area: controls;
  margin-bottom: 16px;
}

.ExtensionManager-extensions {
  width: 100%;

  &-grid {
    --gap: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 310px);
    gap: var(--gap);
  }
}

.ExtensionManager-majorUpdate {
  --space: 16px;
  padding: var(--space);
  display: grid;
  grid-template-areas:
    "title logo"
    "helpText logo"
    "controls logo";
  column-gap: 0 var(--space);
  align-items: center;

  &--failed&--incompatibleExtensions {
    grid-template-areas:
      "title logo"
      "helpText logo"
      "controls logo"
      "extensions extensions"
      "failure failure";
  }

  &--failed {
    grid-template-areas:
      "title logo"
      "helpText logo"
      "controls logo"
      "failure failure";
  }

  &--incompatibleExtensions {
    grid-template-areas:
      "title logo"
      "helpText logo"
      "controls logo"
      "extensions extensions";
  }

  > img {
    grid-area: logo;
  }

  > label {
    grid-area: title;
  }

  > .helpText {
    grid-area: helpText;
  }

  &-failure {
    --border-radius: 0;
    grid-area: failure;
    margin: var(--space) calc(~"0px - var(--space)") calc(~"0px - var(--space)");
  }

  &-incompatibleExtensions {
    grid-area: extensions;
    margin-top: var(--space);
    padding-top: var(--space);
    border-top: 1px solid var(--control-bg);
  }

  .ExtensionManager-updaterControls {
    margin: 0;
  }
}

.WhyNotModal {
  &-contents {
    overflow-x: auto;
  }
}

.ExtensionManager-installer .FormControl-container {
  max-width: 450px;

  .FormControl {
    width: 300px;
  }
}

.ExtensionManager-controlSection .container {
  max-width: 1030px;
  overflow: visible;
}

.ExtensionManager-primaryWarning ul {
  margin: 0;
}

.ExtensionManager-extensions--empty {
  border: 1px solid var(--control-bg);
  border-radius: var(--border-radius);
}
