.solution-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.solution-warning {
  background: #fff1d6;
  color: #624313;
  border: 1px solid #d0a34b;
  border-radius: 10px;
  padding: 16px;
}
.solution-filters {
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.solution-filters label {
  flex: 1;
  min-width: 180px;
}
.solution-filters button {
  margin-bottom: 1px;
}
.solution-tools {
  border-left: 4px solid #007f7b;
}
.solution-tools p {
  margin: 8px 0 0;
  font-size: 12px;
}
.solution-tools a {
  margin-right: 12px;
}
.solution-tools .solution-warning {
  margin-top: 10px;
}
body.endmed-portal textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #9eb6c6;
  border-radius: 7px;
  font: inherit;
  box-sizing: border-box;
}

/* Compact service list cards; keep all text, badges and actions readable. */
#root .work-order-list > :not(:last-child) {
  margin-bottom: 8px;
}
#root .work-order-card {
  padding: 10px 16px;
  border-radius: 12px;
}
#root .work-order-card-info > :not(:last-child) {
  margin-bottom: 4px;
}
#root .work-order-card-info h3 {
  line-height: 22px;
}
#root .work-order-card-meta {
  gap: 4px 14px;
  padding-top: 0;
}
#root .work-order-card-meta > div {
  min-width: 0;
  max-width: 100%;
}
#root .work-order-card-meta svg {
  flex-shrink: 0;
}
#root .work-order-card-meta span {
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  #root .work-order-card {
    padding-inline: 12px;
  }
}
