/**
 * 四样板学习中心 · 对齐首页 home-page 浅色品牌
 * 依赖：layout-shell.css、global-brand.css、home.css
 */
body.home-page.platform-learning-home,
body.platform-learning-home {
  background: var(--brand-bg, #f8fafc) !important;
  color: var(--brand-text, #0f172a) !important;
}

body.platform-learning-home:has(.platform-subnav) {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.platform-learning-home::before,
body.platform-learning-home.platform-dark-hub::before {
  display: none !important;
}

body.platform-learning-home main {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

body.platform-learning-home main .container,
body.platform-learning-home main .max-w-5xl,
body.platform-learning-home main .max-w-6xl {
  max-width: var(--shell-max-rem, 90rem);
  margin-left: auto;
  margin-right: auto;
}

/* ── 标题 / 正文（首页色阶）── */
body.platform-learning-home main h1,
body.platform-learning-home main h2,
body.platform-learning-home .category-title,
body.platform-learning-home .section-title,
body.platform-learning-home .path-title,
body.platform-learning-home .platform-name {
  color: var(--brand-text, #0f172a) !important;
}

/* 深色叠层 / 深底区块：保留白字（APICloud、NocoBase、jxdinfo 等旧 Hero） */
body.platform-learning-home main section:has([class*="0a0e27"]) h1,
body.platform-learning-home main section:has([class*="0a0e27"]) h2,
body.platform-learning-home main section:has([class*="0a0e27"]) h3,
body.platform-learning-home main section[class*="from-[#0a0e27]"] h1,
body.platform-learning-home main section[class*="from-[#0a0e27]"] h2,
body.platform-learning-home main section[class*="from-[#0a0e27]"] h3,
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] h1,
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] h2,
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] h3,
body.platform-learning-home main section:has([class*="0a0e27"]) .text-white,
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] .text-white,
body.platform-learning-home main section:has([class*="0a0e27"]) [class*="text-white/"],
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] [class*="text-white/"] {
  color: #ffffff !important;
}

body.platform-learning-home main section:has([class*="0a0e27"]) .text-gray-300,
body.platform-learning-home main section[class*="from-[#0a0e27]"][class*="to-[#1a1f3a]"] .text-gray-300 {
  color: #cbd5e1 !important;
}

body.platform-learning-home main p,
body.platform-learning-home .platform-desc,
body.platform-learning-home .text-gray-600,
body.platform-learning-home .text-gray-500 {
  color: var(--brand-text-secondary, #475569) !important;
}

/* 浅色主内容区：纠正深色页迁移遗留的 text-white */
body.platform-learning-home main .text-white {
  color: #0f172a !important;
}

body.platform-learning-home header .text-white,
body.platform-learning-home .tech-btn.text-white,
body.platform-learning-home a.bg-primary.text-white,
body.platform-learning-home a.bg-accent.text-white,
body.platform-learning-home main .bg-gray-900 .text-white,
body.platform-learning-home main .bg-gray-800 .text-white,
body.platform-learning-home main .bg-gray-700 .text-white,
body.platform-learning-home main [class*="bg-gray-7"] .text-white,
body.platform-learning-home main [class*="from-emerald-500"] .text-white,
body.platform-learning-home main .bg-gradient-to-br .text-white,
body.platform-learning-home main thead [class*="bg-emerald"] th {
  color: #ffffff !important;
}

body.platform-learning-home main table thead tr,
body.platform-learning-home main table thead th {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
}

body.platform-learning-home .text-emerald-300,
body.platform-learning-home .text-emerald-400,
body.platform-learning-home .text-\[\#10B981\] {
  color: var(--brand-primary-darker, #047857) !important;
}

body.platform-learning-home main .bg-gray-900 .text-emerald-400,
body.platform-learning-home main .bg-gray-800 .text-emerald-400 {
  color: #34d399 !important;
}

/* ── 卡片 = 首页 home-stat / 白卡 ── */
body.platform-learning-home .card-tech,
body.platform-learning-home .jdy-card,
body.platform-learning-home .tech-card,
body.platform-learning-home .user-card,
body.platform-learning-home .resource-card,
body.platform-learning-home .platform-card,
body.platform-learning-home .path-card,
body.platform-learning-home .platform-category,
body.platform-learning-home .glassmorphism,
body.platform-learning-home .jdy-pillar,
body.platform-learning-home .yida-facts,
body.platform-learning-home .organic-snippet {
  background: #fff !important;
  border: 1px solid var(--brand-border, #e2e8f0) !important;
  border-radius: var(--brand-radius-md, 12px) !important;
  color: var(--brand-text, #0f172a) !important;
  box-shadow: var(--brand-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.06)) !important;
  backdrop-filter: none !important;
}

body.platform-learning-home .platform-category {
  padding: 1.5rem 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

body.platform-learning-home .category-title {
  border-bottom: 2px solid #a7f3d0 !important;
  font-size: 1.25rem !important;
  padding-bottom: 0.65rem !important;
}

body.platform-learning-home .platform-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important;
  gap: 1rem !important;
}

body.platform-learning-home .platform-link,
body.platform-learning-home .resource-link {
  color: var(--brand-primary-darker, #047857) !important;
  font-weight: 600;
}

body.platform-learning-home .platform-link:hover {
  color: var(--brand-primary-dark, #059669) !important;
}

/* ── Hub v4 · 首页 Hero 渐变区 ── */
body.platform-learning-home .plh-hub {
  background: linear-gradient(165deg, #ecfdf5 0%, #f8fafc 45%, #fff 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 2rem 0 2.25rem !important;
}

body.platform-learning-home .plh-hub__head h2 {
  color: #0f172a !important;
}

body.platform-learning-home .plh-hub__head p {
  color: #475569 !important;
}

body.platform-learning-home .plh-hub__badge {
  color: #047857 !important;
  background: #fff !important;
  border: 1px solid #a7f3d0 !important;
}

body.platform-learning-home .plh-pillar {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
}

body.platform-learning-home .plh-pillar__title {
  color: #047857 !important;
}

body.platform-learning-home .plh-list a {
  color: #0f172a !important;
}

body.platform-learning-home .plh-list a:hover {
  color: #059669 !important;
}

body.platform-learning-home .plh-list__meta,
body.platform-learning-home .plh-list__hint {
  color: #64748b !important;
}

body.platform-learning-home .plh-micount {
  background: rgba(16, 185, 129, 0.06) !important;
  border: 1px solid #a7f3d0 !important;
}

body.platform-learning-home .plh-micount__title {
  color: #047857 !important;
}

body.platform-learning-home .plh-micount__links a {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #047857 !important;
}

body.platform-learning-home .plh-res-tab {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

body.platform-learning-home .plh-res-tab.is-active,
body.platform-learning-home .plh-res-tab:hover {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
  color: #047857 !important;
}

body.platform-learning-home .plh-res-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
}

body.platform-learning-home .plh-res-card h3 {
  color: #0f172a !important;
}

body.platform-learning-home .plh-res-card p {
  color: #64748b !important;
}

body.platform-learning-home .plh-pager a {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #fff !important;
  border: none !important;
}

body.platform-learning-home .plh-pager__hub a {
  color: #64748b !important;
  background: transparent !important;
}

/* ── 简道云 Hub 区块 ── */
body.platform-learning-home .jdy-hub-hero {
  background: linear-gradient(165deg, #ecfdf5 0%, #f8fafc 50%, #fff 100%) !important;
  color: #0f172a !important;
}

body.platform-learning-home .jdy-pillar__head,
body.platform-learning-home .jdy-pillar__title {
  color: #047857 !important;
}

/* ── P0 能力块 / 深色遗留 ── */
body.platform-learning-home .py-12.border-t {
  border-color: #e2e8f0 !important;
}

body.platform-learning-home .text-white\/70,
body.platform-learning-home .text-white\/80 {
  color: #64748b !important;
}

/* 遗留 Tailwind 浅色字（深色页迁移残留） */
body.platform-learning-home main .text-white\/60,
body.platform-learning-home main .text-white\/65,
body.platform-learning-home main .text-white\/75,
body.platform-learning-home main nav.text-white\/60 {
  color: #64748b !important;
}

body.platform-learning-home main h1.text-white,
body.platform-learning-home main h2.text-white,
body.platform-learning-home main h3.text-white,
body.platform-learning-home main .card-tech .text-white,
body.platform-learning-home main .card-tech h2,
body.platform-learning-home main .card-tech h3 {
  color: #0f172a !important;
}

body.platform-learning-home main .card-tech p,
body.platform-learning-home main .card-tech li,
body.platform-learning-home main .user-card p {
  color: #475569 !important;
}

body.platform-learning-home main a.text-emerald-400,
body.platform-learning-home main a.hover\:text-emerald-400:hover {
  color: #059669 !important;
}

body.platform-learning-home main span.text-emerald-300 {
  color: #047857 !important;
  font-weight: 600;
}

/* ── Hub v4 · 角色卡（原深色渐变 → 白卡）── */
body.platform-learning-home .plh-roles {
  margin-bottom: 1.25rem;
}

body.platform-learning-home .plh-role {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.platform-learning-home .plh-role:hover {
  border-color: #6ee7b7 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12) !important;
  transform: translateY(-2px);
}

body.platform-learning-home .plh-role strong {
  color: #0f172a !important;
}

body.platform-learning-home .plh-role span {
  color: #64748b !important;
}

body.platform-learning-home .plh-more {
  color: #047857 !important;
}

body.platform-learning-home .plh-more:hover {
  color: #059669 !important;
}

body.platform-learning-home .plh-pillar .plh-list__hint {
  color: #64748b !important;
}

/* 二级导航 · 当前项（白底绿字，避免灰块） */
body.platform-learning-home .eco-subnav-link.is-active,
body.platform-learning-home .platform-subnav.eco-subnav .eco-subnav-link.is-active {
  background: #fff !important;
  color: #047857 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

body.platform-learning-home .border-emerald-500\/15,
body.platform-learning-home .border-emerald-500\/20 {
  border-color: #e2e8f0 !important;
}

body.platform-learning-home .progress-bar {
  background: #e2e8f0 !important;
}

body.platform-learning-home .progress {
  background: linear-gradient(90deg, #059669, #10b981) !important;
}

body.platform-learning-home table thead {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #fff !important;
}

body.platform-learning-home main table tbody td[class*="text-white/70"],
body.platform-learning-home main table tbody td[class*="text-white"] {
  color: #64748b !important;
}

body.platform-learning-home table td {
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}

body.platform-learning-home .organic-snippet {
  border: 1px solid #e2e8f0;
  background: #fff;
}

@media (max-width: 639px) {
  body.platform-learning-home .platform-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── 简道云 jdy-page-hero--brand：统一浅色 Hero（覆盖 jiandaoyun-hub 深绿 + unified 误伤 h1）── */
body.platform-learning-home .jdy-page-hero--brand {
  background: linear-gradient(165deg, #ecfdf5 0%, #f8fafc 48%, #fff 100%) !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.platform-learning-home .jdy-page-hero--brand > .absolute.opacity-10 {
  opacity: 0.25 !important;
}

body.platform-learning-home .jdy-page-hero--brand h1,
body.platform-learning-home .jdy-page-hero--brand .section-title {
  color: #0f172a !important;
}

body.platform-learning-home .jdy-page-hero--brand h1 span[class*="10B981"],
body.platform-learning-home .jdy-page-hero--brand .text-\[\#10B981\]:not(a) {
  color: #047857 !important;
}

body.platform-learning-home .jdy-page-hero--brand p,
body.platform-learning-home .jdy-page-hero--brand .text-gray-300,
body.platform-learning-home .jdy-page-hero--brand .text-gray-400,
body.platform-learning-home .jdy-page-hero--brand .text-gray-500,
body.platform-learning-home .jdy-page-hero--brand .text-gray-600 {
  color: #475569 !important;
}

body.platform-learning-home .jdy-page-hero--brand a.border-white\/30,
body.platform-learning-home .jdy-page-hero--brand a[class*="border-white"] {
  border-color: #6ee7b7 !important;
  color: #047857 !important;
  background: #fff !important;
}

body.platform-learning-home .jdy-page-hero--brand a.border-white\/30:hover {
  background: #ecfdf5 !important;
}

body.platform-learning-home .jdy-page-hero--brand img[class*="border-white"] {
  border-color: #e2e8f0 !important;
  box-shadow: var(--brand-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08)) !important;
}

/* ── 20260720d：子页无 <main> 包裹（明道云等）+ 渐变标题/深色遗留字 ── */
body.platform-learning-home .section-title {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
}

body.platform-learning-home .text-white\/60,
body.platform-learning-home .text-white\/65,
body.platform-learning-home .text-white\/70,
body.platform-learning-home .text-white\/75,
body.platform-learning-home .text-white\/80,
body.platform-learning-home nav.text-white\/60,
body.platform-learning-home nav .text-white\/80 {
  color: #475569 !important;
}

body.platform-learning-home .text-slate-300,
body.platform-learning-home .text-slate-400,
body.platform-learning-home .text-gray-300,
body.platform-learning-home .text-gray-400 {
  color: #475569 !important;
}

body.platform-learning-home h1.text-white,
body.platform-learning-home h2.text-white,
body.platform-learning-home h3.text-white,
body.platform-learning-home h4.text-white,
body.platform-learning-home .card-glow h3,
body.platform-learning-home .card-glow .font-semibold,
body.platform-learning-home .card-tech .text-white,
body.platform-learning-home .card-tech h2,
body.platform-learning-home .card-tech h3 {
  color: #0f172a !important;
}

body.platform-learning-home .card-glow,
body.platform-learning-home .card-glow:hover {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  backdrop-filter: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

body.platform-learning-home .card-glow ul,
body.platform-learning-home .card-glow li,
body.platform-learning-home .card-glow p,
body.platform-learning-home .resource-card ul,
body.platform-learning-home .resource-card li {
  color: #475569 !important;
}

body.platform-learning-home .resource-card h4.text-white,
body.platform-learning-home .resource-card .font-bold.text-white {
  color: #0f172a !important;
}

body.platform-learning-home .matrix th {
  color: #fff !important;
}

body.platform-learning-home .matrix td {
  color: #334155 !important;
  background: #fff !important;
  border-color: #e2e8f0 !important;
}

body.platform-learning-home .matrix tr:nth-child(odd) td {
  background: #f8fafc !important;
}

body.platform-learning-home .pill {
  color: #047857 !important;
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* 遗留 Tailwind 深色 band → 浅色分区 */
body.platform-learning-home .bg-slate-900\/40,
body.platform-learning-home .bg-slate-900\/50,
body.platform-learning-home .bg-slate-800\/50,
body.platform-learning-home [class*="bg-slate-900"],
body.platform-learning-home [class*="bg-slate-800"] {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
}

body.platform-learning-home .bg-sky-900\/30,
body.platform-learning-home .bg-violet-900\/30,
body.platform-learning-home [class*="bg-sky-900"],
body.platform-learning-home [class*="bg-violet-900"] {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
}

/* 四样板：浅底上的浅色系文字 → 可读对比度 */
body.platform-learning-home section .text-yellow-300,
body.platform-learning-home section [class*="bg-yellow-500/10"] p {
  color: #92400e !important;
}

body.platform-learning-home section [class*="bg-yellow-500/10"] {
  background: #fffbeb !important;
  border-color: #fbbf24 !important;
}

body.platform-learning-home section .text-orange-300 {
  color: #c2410c !important;
}

body.platform-learning-home section .text-emerald-200 {
  color: #065f46 !important;
}

body.platform-learning-home section .text-amber-300 {
  color: #b45309 !important;
}

body.platform-learning-home section [class*="bg-slate-800"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.platform-learning-home section [class*="bg-slate-800"] * {
  color: #334155 !important;
}

/* 第二批：weda-hub + 浅色栈并存 */
body.platform-learning-home.weda-hub {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.platform-learning-home .glow-text {
  color: #065f46 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #065f46 !important;
}

body.platform-learning-home section.weda-hero-light {
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 45%, #f9fafb 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* 无 main 包裹的旧角色页：整页浅色可读 */
body.platform-learning-home > section,
body.platform-learning-home section.pt-28,
body.platform-learning-home section.pt-20 {
  position: relative;
  z-index: 1;
}

body.platform-learning-home > section .section-title,
body.platform-learning-home section .section-title {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
  background: none !important;
}

/* 专题页 Hero / CTA（浅色，避免 main 内 text-white 被统一压成深字） */
body.platform-learning-home .plh-page-hero {
  background: linear-gradient(165deg, #ecfdf5 0%, #f8fafc 48%, #fff 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.75rem 0 2rem !important;
  margin-top: 0 !important;
}

body.platform-learning-home .plh-page-hero h1 {
  color: #0f172a !important;
}

body.platform-learning-home .plh-page-hero p,
body.platform-learning-home .plh-page-hero nav {
  color: #475569 !important;
}

body.platform-learning-home .plh-page-hero .plh-page-hero__badge {
  background: #fff !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
}

body.platform-learning-home .plh-page-hero a.plh-page-hero__chip {
  border: 1px solid #a7f3d0 !important;
  background: #fff !important;
  color: #047857 !important;
}

body.platform-learning-home .plh-page-hero a.plh-page-hero__chip--primary {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border: none !important;
  color: #fff !important;
}

body.platform-learning-home .plh-page-hero a.btn-primary {
  color: #fff !important;
  background: #10b981 !important;
}

body.platform-learning-home .plh-page-hero a.btn-primary:hover {
  background: #059669 !important;
}

body.platform-learning-home .plh-page-cta {
  background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 50%, #fff 100%) !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.platform-learning-home .plh-page-cta h2,
body.platform-learning-home .plh-page-cta h3 {
  color: #0f172a !important;
}

body.platform-learning-home .plh-page-cta p {
  color: #475569 !important;
}

body.platform-learning-home .plh-page-cta .plh-page-cta__card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.platform-learning-home .plh-page-cta .plh-page-cta__card p {
  color: #64748b !important;
}

/* 微搭等页内 btn-secondary / 遗留白字按钮 */
body.platform-learning-home.weda-hub main a.btn-secondary,
body.platform-learning-home main a.plh-page-hero__chip:not(.plh-page-hero__chip--primary) {
  color: #047857 !important;
  background: #fff !important;
  border: 1px solid #a7f3d0 !important;
}

body.platform-learning-home.weda-hub main a.btn-secondary:hover,
body.platform-learning-home main a.plh-page-hero__chip:not(.plh-page-hero__chip--primary):hover {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
}

body.platform-learning-home .hero-bg-orb {
  display: none !important;
}

/* 资源页表格：tbody 遗留白字 → 深色 */
body.platform-learning-home main table tbody td.text-white {
  color: #0f172a !important;
}

/* ── 遗留深色长文（Power Apps 开发者路径等）：粉紫阶段 → 算数绿 ── */
body.platform-learning-home main .text-pink-300,
body.platform-learning-home main .text-pink-400,
body.platform-learning-home main h4.text-pink-300 {
  color: #047857 !important;
}

body.platform-learning-home main .text-purple-300,
body.platform-learning-home main .text-purple-400 {
  color: #059669 !important;
}

body.platform-learning-home main [class*="from-pink-500"][class*="to-pink-600"],
body.platform-learning-home main [class*="from-pink-500"][class*="to-rose-600"] {
  background: linear-gradient(to bottom right, #14b8a6, #059669) !important;
  color: #fff !important;
}

body.platform-learning-home main [class*="from-violet-500"][class*="to-emerald-600"],
body.platform-learning-home main [class*="from-violet-500"][class*="to-purple"] {
  background: linear-gradient(to bottom right, #10b981, #047857) !important;
  color: #fff !important;
}

body.platform-learning-home main section[class*="to-purple-800"],
body.platform-learning-home main section[class*="to-pink-600"] {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.06)) !important;
}

body.platform-learning-home main .stage-badge[style*="#ec4899"],
body.platform-learning-home main .stage-badge[style*="ec4899"] {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
}

body.platform-learning-home main .stage-badge[style*="6d28d9"] {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #fff !important;
}

body.platform-learning-home main [class*="border-pink-500"],
body.platform-learning-home main [class*="from-pink-500/10"],
body.platform-learning-home main [class*="to-pink-500/10"],
body.platform-learning-home main [class*="to-rose-500/10"] {
  border-color: rgba(16, 185, 129, 0.28) !important;
}

body.platform-learning-home main [class*="from-pink-500/10"][class*="to-rose"],
body.platform-learning-home main [class*="from-emerald-500/10"][class*="to-pink"] {
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05)) !important;
}

body.platform-learning-home main [class*="border-violet-500"],
body.platform-learning-home main [class*="from-violet-500/10"] {
  border-color: rgba(16, 185, 129, 0.28) !important;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.07), rgba(4, 120, 87, 0.05)) !important;
}

body.platform-learning-home main section[class*="bg-white/5"]:not(.card-tech) {
  background: transparent !important;
}

body.platform-learning-home main .px-4.py-2.bg-white\/5 {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.14);
  color: #334155 !important;
}

body.platform-learning-home main h1 i.text-emerald-400 {
  color: #059669 !important;
}

/* 渐变徽章图标：main 内用 text-emerald-50 代替 text-white（视觉 audit） */
body.platform-learning-home main .outsystems-gradient .text-emerald-50,
body.platform-learning-home main .outsystems-gradient.text-emerald-50,
body.platform-learning-home main [class*="-gradient"] .text-emerald-50 {
  color: #ffffff !important;
}
