/* 安小助 · EHS资讯（第二十六应用）：服务端聚合的行业资讯，透明查阅不计次。
   视觉：复用安小助统一工具页 hero（tone ehsnews 绿）+ 分段筛选 + 行式资讯卡 + 来源状态。 */

.tool-hero.is-ehsnews { background: linear-gradient(135deg, #059669 0%, #047857 55%, #065f46 100%); }
.tool-hero.is-ehsnews .tool-hero-ico { color: #d1fae5; }

/* 更新时间行 */
.en-updated-line { display: flex; align-items: center; justify-content: flex-end; padding: 2px 16px; font-size: 11px; color: #94a3b8; }

/* 筛选栏 */
.en-filters { display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 4px; }
.en-frow { display: flex; align-items: flex-start; gap: 10px; }
.en-f-label { flex: 0 0 auto; width: 40px; font-size: 12px; color: #64748b; line-height: 30px; }
.en-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.en-chip { border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 12.5px; line-height: 1; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .16s ease; }
.en-chip:hover { border-color: #6ee7b7; color: #047857; }
.en-chip.is-on { background: #ecfdf5; border-color: #059669; color: #065f46; font-weight: 600; }
@media (min-width: 760px) { .en-filters { max-width: 860px; margin-inline: auto; } }

/* 资讯列表 */
.en-feed { display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 16px; }

/* 资讯卡：整卡链接，新标签打开原文 */
.en-card { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); cursor: pointer; transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease; text-decoration: none; }
.en-card:hover { border-color: #6ee7b7; box-shadow: 0 4px 14px rgba(5, 150, 105, .12); transform: translateY(-1px); }
.en-card:active { transform: translateY(0); }
.en-title { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.en-sum { font-size: 12.5px; color: #64748b; line-height: 1.55; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.en-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: #94a3b8; margin-top: 1px; }
.en-meta i { font-style: normal; }

/* 分类徽章 */
.en-tag { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .03em; border-radius: 5px; padding: 2px 7px; }
.en-tag.is-safety { background: #fef2f2; color: #b91c1c; }
.en-tag.is-environment { background: #ecfdf5; color: #047857; }
.en-tag.is-health { background: #eff6ff; color: #1d4ed8; }
.en-tag.is-emergency { background: #fff7ed; color: #c2410c; }
.en-tag.is-regulation { background: #f5f3ff; color: #6d28d9; }
.en-tag.is-other { background: #f1f5f9; color: #475569; }

/* 空态 / 加载 */
.en-empty { text-align: center; padding: 44px 16px; color: #94a3b8; font-size: 13px; }
.en-empty-mini { color: #94a3b8; font-size: 12px; line-height: 27px; }

/* 来源状态入口 + 面板 */
.en-src-toggle { display: flex; align-items: center; gap: 6px; margin: 0 16px 16px; padding: 10px 14px; width: calc(100% - 32px); border: 1px dashed #cbd5e1; background: #f8fafc; color: #475569; font-size: 12.5px; border-radius: 12px; cursor: pointer; }
.en-src-toggle svg { width: 15px; height: 15px; color: #059669; }
.en-src-wrap { padding: 4px 16px 20px; }
.en-src { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.en-src-head { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #f1f5f9; font-size: 12.5px; font-weight: 600; color: #334155; }
.en-dot { width: 7px; height: 7px; border-radius: 50%; background: #059669; }
.en-spin { width: 11px; height: 11px; border: 2px solid #cbd5e1; border-top-color: #059669; border-radius: 50%; animation: en-rot .8s linear infinite; }
@keyframes en-rot { to { transform: rotate(360deg); } }
.en-src-row { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-bottom: 1px solid #f8fafc; font-size: 12.5px; }
.en-src-row:last-child { border-bottom: none; }
.en-src-row svg { width: 14px; height: 14px; }
.en-src-row.is-ok svg { color: #059669; }
.en-src-row.is-down svg { color: #f59e0b; }
.en-src-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; }
.en-src-row em { font-style: normal; font-size: 11px; color: #94a3b8; }
.en-src-row.is-down em.en-down-tag { color: #d97706; font-weight: 600; }

/* 分页：手机端「加载更多」按钮 + 已加载/总数计数 */
.en-more {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  margin: 2px 16px 22px; padding: 11px 0;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  color: #166534; font-size: 13px; line-height: 1.4;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  -webkit-tap-highlight-color: transparent;
}
.en-more span { color: #94a3b8; font-size: 11.5px; }
.en-more i { font-style: normal; font-weight: 600; letter-spacing: .5px; }
.en-more:active { transform: scale(.985); background: #f7fdf9; }
.en-more-end {
  display: flex; align-items: center; justify-content: center;
  margin: 2px 16px 22px; padding: 12px 0;
  color: #94a3b8; font-size: 12px; background: transparent; border: none;
}

@media (min-width: 760px) { .en-feed, .en-updated-line, .en-src-toggle, .en-src-wrap { max-width: 860px; margin-left: auto; margin-right: auto; } }