.quote-host-auto-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 10px;
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.quote-host-auto-toolbar > div {
  display: grid;
  gap: 2px;
}

.quote-host-auto-toolbar small {
  color: #64748b;
  line-height: 1.4;
}

.quote-host-auto-toolbar button {
  flex: 0 0 auto;
  min-height: 36px;
}

.quote-host-selection-card {
  align-content: start;
}

.quote-host-selection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quote-host-selection-head span {
  color: #64748b;
  font-size: 12px;
  text-align: right;
}

.quote-host-load-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.quote-host-load-grid > span {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid #dbe7f4;
  border-radius: 6px;
  background: #fff;
}

.quote-host-load-grid small {
  color: #64748b;
  font-size: 11px;
}

.quote-host-load-grid b {
  overflow: hidden;
  color: #0f2a44;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-host-quantity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 12px;
}

.quote-host-quantity input {
  min-width: 0;
}

.quote-host-check {
  min-height: 34px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #d7e1ee;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.quote-host-check.ok {
  border-color: #a7d7b5;
  background: #f2fbf5;
  color: #176b36;
}

.quote-host-check.error {
  border-color: #f1b8b5;
  background: #fff5f4;
  color: #a52520;
}

.quote-linked-host-note {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #c9d9ef;
  border-radius: 6px;
  background: #f7fbff;
  color: #365574;
  font-size: 14px;
  line-height: 1.5;
}

.quote-rule-grouping-grid textarea {
  min-height: 92px;
  resize: vertical;
}

@media (max-width: 720px) {
  .quote-host-auto-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-system-selector-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
