.industry-panel {
  max-width: 820px;
  margin: 0 auto;
}

.industry-chat__thread {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.25rem 0;
}

.industry-msg {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.industry-msg--user {
  flex-direction: row-reverse;
}

.industry-msg__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004d4d, #0a7a72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
}

.industry-msg--user .industry-msg__avatar {
  background: linear-gradient(135deg, #f59d23, #d97f0a);
}

.industry-msg__bubble {
  flex: 1;
  background: #fff;
  border: 1px solid #d8e4e4;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(0, 77, 77, 0.05);
}

.industry-msg--user .industry-msg__bubble {
  background: #f0faf9;
  border-color: #b8e0dc;
}

.industry-msg__bubble p {
  margin: 0;
}

.industry-msg__bubble.typing::after {
  content: "▋";
  animation: industry-blink 0.9s step-end infinite;
  margin-right: 2px;
  color: #0a7a72;
}

@keyframes industry-blink {
  50% { opacity: 0; }
}

.industry-result {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d8e4e4;
  border-radius: var(--radius, 18px);
}

.industry-result__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.industry-result__head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #004d4d;
}

.industry-result__badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e6f7f5;
  color: #0f766e;
  direction: ltr;
}

.industry-result__sector {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #5a6e6e;
}

.industry-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
}

.industry-facts div {
  padding: 0.55rem 0.75rem;
  background: #f8fbfb;
  border-radius: 10px;
  border: 1px solid #e8f0f0;
}

.industry-facts dt {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.industry-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #142424;
}

.industry-insights {
  margin: 0 0 1rem;
  padding: 0 1.1rem 0 0;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.75;
}

.industry-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  padding-top: 0.75rem;
  border-top: 1px dashed #cbd5e1;
}

.industry-result__actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.industry-codes {
  margin: 0 0 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f0fdfa, #fffbeb);
  border: 1px solid #b8e0dc;
  border-radius: 14px;
}

.industry-codes__title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #004d4d;
}

.industry-codes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 520px) {
  .industry-codes__grid { grid-template-columns: 1fr; }
}

.industry-code-card {
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.industry-code-card--locked {
  border-color: #fcd34d;
  background: #fffdf5;
}

.industry-code-card__label {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.industry-code-card strong {
  display: block;
  font-size: 1rem;
  color: #0f766e;
  margin: 0.15rem 0;
}

.industry-code-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #475569;
}

.industry-code-card__lock {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #b45309;
  font-weight: 600;
}

.industry-codes__imports {
  margin: 0.65rem 0 0;
  padding: 0 1rem 0 0;
  font-size: 0.8rem;
  color: #334155;
}

.industry-codes__more {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #b45309;
}

.industry-roadmap {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.industry-roadmap__item {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.industry-roadmap__item.is-current {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.industry-roadmap__item.is-next {
  border-color: #fcd34d;
}

.industry-roadmap__num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: #004d4d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.industry-roadmap__item strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}

.industry-roadmap__item p {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.55;
}

.industry-upgrade {
  margin-bottom: 1rem;
}

.industry-upgrade__inner {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 157, 35, 0.12), rgba(0, 77, 77, 0.06));
  border: 1px solid rgba(245, 157, 35, 0.35);
}

.industry-upgrade__inner h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #9a3412;
}

.industry-upgrade__eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 77, 77, 0.08);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
}

.industry-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.65rem;
}

.industry-tool-card {
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}

.industry-tool-card--featured {
  border-color: #6ee7b7;
  background: linear-gradient(180deg, #ecfdf5, #fff);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
}

.industry-tool-card h4 {
  margin: 0;
  font-size: 0.88rem;
  color: #0f172a;
}

.industry-tool-card p {
  margin: 0;
  flex: 1;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.55;
}

.industry-tool-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.industry-code-card--hs {
  border-color: #99f6e4;
}

.industry-code-card__link,
.industry-code-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.industry-code-card__link:hover,
.industry-code-link:hover {
  color: #004d4d;
  text-decoration: underline;
}

.industry-related__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.industry-related-chip {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
  color: #334155;
}

.industry-related-chip:hover {
  border-color: #0d9488;
  background: #ecfdf5;
}

.industry-related-chip span {
  opacity: 0.75;
  margin-right: 0.25rem;
}

@media (max-width: 520px) {
  .industry-tools-grid {
    grid-template-columns: 1fr;
  }
}

.industry-upgrade__inner p {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.65;
}

.industry-upgrade__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
