.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}
.tag.green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
}
.tag.yellow {
  background: rgba(251, 191, 36, 0.12);
  color: var(--warning);
}
.tag.red {
  background: rgba(248, 113, 113, 0.12);
  color: var(--danger);
}
.tag.blue {
  background: rgba(96, 165, 250, 0.12);
  color: var(--info);
}
.tag.purple {
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent-primary);
}

.title-divider {
    color: var(--text-muted);
    font-weight: 400;
    padding: 0 0.4em 0 0.5em;
}

.section-title-with-tag {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--text-primary);
}

.section-title-with-tag::before {
  display: none;
}

.section-title-with-tag .tag {
  flex-shrink: 0;
}

.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-blue { color: var(--info); }
.text-yellow { color: var(--warning); }
.text-orange { color: #fb923c; }
.text-purple { color: var(--accent-primary); }

.text-highlight-red {
  color: var(--danger);
}

.text-highlight-green {
  color: var(--success);
}

.text-highlight-blue {
  color: var(--info);
}

.text-highlight-yellow {
  color: var(--warning);
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.text-bg-green,
.text-bg-red,
.text-bg-blue,
.text-bg-yellow {
  padding: 0;
  background: none;
  border-radius: 0;
}

.text-bg-green { color: var(--success); }
.text-bg-red { color: var(--danger); }
.text-bg-blue { color: var(--info); }
.text-bg-yellow { color: var(--warning); }

.link {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity var(--transition-fast);
}

.link:hover {
  opacity: 0.8;
}

.link::after {
  content: ' ↗';
  font-size: 0.9em;
  text-decoration: none;
  display: inline;
}