.ts-sg-launcher {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --sg-blue:#004b87;
    --sg-blue-dark:#005a87;
    --sg-radius:.5rem;
    --sg-control-h:56px;
    --sg-gap:.75rem;
  }

.ts-sg-launcher .sg-form {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: var(--sg-gap);
  }

.ts-sg-launcher .sg-fields {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sg-gap);
  }

.ts-sg-launcher .sg-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
  }

.ts-sg-launcher .sg-height-imperial .sg-stepper input[type="number"] { min-width: 0; padding: 0 .25rem; }

.ts-sg-launcher .sg-label {
    font-weight: 600;
    font-size: .9rem;
    color: #333;
    text-align: left;
  }

.ts-sg-launcher .sg-form input[type="number"] {
    height: var(--sg-control-h);
    padding: 0 1rem;
    font-size: 1rem;
    background: #fff;
    border: 2px solid var(--sg-blue);
    border-radius: var(--sg-radius);
    box-sizing: border-box;
    outline: none;
  }

.ts-sg-launcher .sg-form input[type="number"]:focus {
    border-color: var(--sg-blue-dark);
    box-shadow: 0 0 0 3px rgba(0,75,135,.15);
  }

.ts-sg-launcher .sg-stepper {
    display: flex;
    align-items: center;
    height: var(--sg-control-h);
    border: 2px solid var(--sg-blue);
    border-radius: var(--sg-radius);
    background: #fff;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

.ts-sg-launcher .sg-stepper button {
    width: 48px;
    min-width: 48px;
    flex: 0 0 48px;
    height: 100%;
    border: 0;
    background: #f5f7fa;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }

.ts-sg-launcher .sg-stepper input[type="number"] {
    min-width: 6ch;
    flex: 1 1 auto;
    height: 100%;
    border: 0;
    padding: 0 .75rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    box-sizing: border-box;
  }

.ts-sg-launcher input[type=number]::-webkit-inner-spin-button,
.ts-sg-launcher input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

.ts-sg-launcher input[type=number] {
    -moz-appearance: textfield;
  }

.ts-sg-launcher .sg-get-matches {

    height: calc(var(--sg-control-h) + 4px);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--sg-blue);
    border-radius: var(--sg-radius);
    border: 2px solid var(--sg-blue);
    cursor: pointer;
    padding: 0 1rem;
    margin: 0;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
  }

.ts-sg-launcher .sg-get-matches:hover {
    background: var(--sg-blue-dark);
  }

@media (min-width: 768px) and (max-width: 980px) {
.ts-sg-launcher .sg-fields {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: var(--sg-gap);
    }

.ts-sg-launcher .sg-field {
      flex: 1 1 260px;
    }

.ts-sg-launcher .sg-get-matches {
      flex: 1 1 100%;
      width: 100%;
      align-self: stretch;
    }

}

@media (min-width: 981px) {
.ts-sg-launcher .sg-fields {
      flex-direction: row;
      flex-wrap: nowrap !important;
      align-items: flex-end;
      gap: var(--sg-gap);
    }

.ts-sg-launcher .sg-field {
      flex: 1 1 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

.ts-sg-launcher .sg-get-matches {
      flex: 0 0 200px;
      width: auto !important;
      white-space: nowrap;
      min-width: 160px;
    }

}
