.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.35s ease;
}
.card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.card .subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.intro-section {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.intro-section h1 {
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.intro-section h2 {
  font-size: 20px;
  margin: 18px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.intro-section h3 {
  font-size: 16px;
  margin: 14px 0 6px;
  color: var(--text);
}
.intro-section p {
  margin-bottom: 10px;
}
.intro-section ul,
.intro-section ol {
  padding-left: 22px;
  margin-bottom: 10px;
}
.intro-section li {
  margin-bottom: 5px;
}
.intro-section strong {
  font-weight: 600;
}
.intro-section em {
  font-style: italic;
}
.intro-section code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.intro-section .id-ref {
  color: var(--primary);
  font-weight: 500;
  font-size: 13px;
}
.intro-block {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
  background:
    linear-gradient(var(--surface) 30%, rgba(0, 0, 0, 0)),
    linear-gradient(rgba(0, 0, 0, 0), var(--surface) 70%) 0 100%,
    radial-gradient(
      farthest-side at 50% 0,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0)
    ),
    radial-gradient(
        farthest-side at 50% 100%,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0)
      )
      0 100%;
  background-repeat: no-repeat;
  background-color: var(--surface);
  background-size:
    100% 40px,
    100% 40px,
    100% 14px,
    100% 14px;
  background-attachment: local, local, scroll, scroll;
}
.intro-block::-webkit-scrollbar {
  width: 4px;
}
.intro-block::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.app-intro-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.app-intro-home-link {
  background: var(--primary-soft);
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-intro-home-link:hover {
  background: var(--primary);
  color: #fff;
}
.app-intro-breadcrumb-arrow {
  color: var(--muted);
  font-size: 15px;
}
.app-intro-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-left: 4px;
}
.app-intro-heading h2 {
  margin-bottom: 2px;
}
.app-intro-subtitle {
  color: var(--muted);
  font-size: 14px;
}
.app-intro-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.app-intro-discard-btn {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.app-intro-discard-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}
.app-intro-export-link {
  display: block;
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.app-intro-export-link:hover {
  color: var(--text);
}
