.is-home-embed .controls {
  right: 14px;
  bottom: 14px;
  width: min(340px, calc(100% - 28px));
  padding: 13px;
}

.is-home-embed .plan-panel {
  left: 14px;
  bottom: 14px;
}

.is-home-embed fieldset {
  margin-bottom: 10px;
}

.is-home-embed .segments button {
  min-height: 34px;
}

.is-home-embed .swatches i {
  height: 20px;
}

.is-home-embed .controls p {
  padding-top: 9px;
  font-size: 12px;
}

@media (max-width: 840px) {
  .is-home-embed .viewer {
    grid-template-rows: minmax(220px, 1fr) auto auto;
    overflow: hidden;
  }

  .is-home-embed .viewer > img {
    min-height: 220px;
  }

  .is-home-embed .plan-panel,
  .is-home-embed .controls {
    width: auto;
  }

  .is-home-embed .plan-toggle {
    min-height: 42px;
  }

  .is-home-embed .controls {
    padding: 10px;
  }

  .is-home-embed legend {
    margin-bottom: 6px;
  }

  .is-home-embed .segments button {
    min-height: 30px;
  }

  .is-home-embed .swatches i {
    height: 16px;
  }

  .is-home-embed .controls p {
    padding-top: 7px;
  }
}
