.mbb-distill-page {
  color: #666;
}

.mbb-distill-page h2 {
  color: #666;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.mbb-distill-page .mbb-distill-intro {
  color: #777;
  margin-bottom: 1.25rem;
}

.mbb-distill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mbb-distill-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 1rem;
}

.mbb-distill-card h3 {
  color: #707070;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.mbb-distill-description {
  color: #777;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.mbb-distill-formula {
  background: #f8f8f8;
  border-left: 4px solid #f7dfb1;
  color: #555;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
}

.mbb-distill-fields {
  display: grid;
  gap: 0.65rem;
}

.mbb-distill-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mbb-distill-line label {
  color: #777;
  margin: 0;
}

.mbb-distill-page input,
.mbb-distill-page select {
  border: 1px solid #bfc5d0;
  border-radius: 0.2rem;
  color: #333;
  min-height: 2rem;
  padding: 0.25rem 0.45rem;
}

.mbb-distill-page input {
  max-width: 7rem;
}

.mbb-distill-page select {
  max-width: 8.5rem;
}

.mbb-distill-page output {
  background: #fafafa;
  border: 1px solid #cfd4dc;
  border-radius: 0.2rem;
  color: #333;
  display: inline-block;
  min-height: 2rem;
  min-width: 5.5rem;
  padding: 0.3rem 0.45rem;
}

.mbb-distill-page .btn {
  min-height: 2rem;
}

.mbb-distill-note {
  color: #777;
  font-size: 0.9rem;
  font-style: italic;
  margin: 1rem 0 0;
}

@media (max-width: 767.98px) {
  .mbb-distill-grid {
    grid-template-columns: 1fr;
  }

  .mbb-distill-card {
    padding: 0.85rem;
  }

  .mbb-distill-page input,
  .mbb-distill-page select,
  .mbb-distill-page output {
    flex: 1 1 7rem;
    max-width: 100%;
  }
}
