.inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-form input[type="date"] {
  height: 32px;
  border: 1px solid #bdc8cd;
  background: #fff;
  padding: 0 8px;
}

.inline-form .small-button {
  height: 32px;
  background: #fff;
  cursor: pointer;
}

.sales-method-switch {
  min-width: 180px;
  display: grid;
  gap: 5px;
}

.sales-method-segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #bdc8cd;
  background: #fff;
}

.sales-method-segments label {
  min-width: 0;
  cursor: pointer;
}

.sales-method-segments label + label {
  border-left: 1px solid #bdc8cd;
}

.sales-method-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sales-method-segments span {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 4px 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.sales-method-segments input:checked + span {
  background: #e6f1ed;
  color: #165d4c;
  font-weight: 700;
}

.sales-method-segments input:focus-visible + span {
  outline: 2px solid #427f70;
  outline-offset: -2px;
}

.sales-method-switch > button {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.sales-method-fixed {
  white-space: nowrap;
}
