.technician-assistant {
  border-color: rgba(15, 130, 126, .3);
  background: linear-gradient(180deg, rgba(236, 250, 248, .78), rgba(255,255,255,.98));
}

.technician-assistant > header b {
  background: #0f827e;
  color: #fff;
}

.ta-source-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.ta-source-grid textarea {
  min-height: 150px;
}

.ta-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cfe0e5;
  border-radius: 14px;
  background: #fff;
}

.ta-controls button {
  width: 100%;
  justify-content: center;
}

.ta-controls span,
.ta-rule,
.ta-empty,
.ta-clear {
  color: #5a7085;
  font-size: .88rem;
  line-height: 1.5;
}

.ta-interim {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef7f7;
  color: #0c6663;
  font-size: .9rem;
}

.ta-results {
  margin-top: 16px;
}

.ta-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ta-result-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #cfe0e5;
  border-radius: 14px;
  background: #fff;
}

.ta-result-card > span {
  color: #0f827e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ta-result-card p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: #18324a;
}

.ta-result-card button {
  margin-top: auto;
  align-self: flex-start;
}

.ta-unclear {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #efd39d;
  border-radius: 12px;
  background: #fff8e9;
  color: #694c17;
}

.ta-unclear ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.ta-clear {
  margin-top: 12px;
}

.ta-rule {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dce8eb;
}

@media (max-width: 820px) {
  .ta-source-grid,
  .ta-result-grid {
    grid-template-columns: 1fr;
  }
}
