/* Explore owns its compact 3×3 directory; other workspace service layouts are unchanged. */
.page-root.explore-hub-page .ws-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.page-root.explore-hub-page .ws-service{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:16px 8px;text-align:center}
.page-root.explore-hub-page .ws-service .ws-icon{width:42px;height:42px;font-size:19px;border-radius:12px}
.page-root.explore-hub-page .ws-service h2{flex:none;max-width:100%;margin:0;font-size:14px;line-height:1.5;font-weight:500;white-space:nowrap}
.explore-hub-page .explore-news{min-width:0;margin-bottom:28px}
.explore-hub-page .ws-shell #explore-news{scroll-margin-top:12px}
.explore-hub-page #explore-news-title{margin:0 0 14px;font-size:20px;line-height:1.4;font-weight:500;color:#475569}
.explore-hub-page .news-feed-controls{margin-bottom:6px}
.explore-hub-page .news-feed-list{min-width:0}
.explore-hub-page .news-status{margin:8px 0 4px}
.explore-hub-page .ecosystem-matrix>p{margin:4px 0 14px;color:#64748b;font-size:13px;line-height:1.6}
.explore-hub-page .ecosystem-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.explore-hub-page .ecosystem-directory>a{display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #dbe7f3;border-radius:12px;color:#334155;background:#f8fbff;text-decoration:none}
.explore-hub-page .ecosystem-directory>a>i:first-child{color:#0293fe;text-align:center}
.explore-hub-page .ecosystem-directory>a>i:last-child{color:#94a3b8;font-size:11px}
.explore-hub-page .ecosystem-directory span{display:flex;min-width:0;flex-direction:column;gap:2px}
.explore-hub-page .ecosystem-directory strong{overflow:hidden;text-overflow:ellipsis;font-size:13px;white-space:nowrap}
.explore-hub-page .ecosystem-directory small{color:#64748b;font-size:11px;line-height:1.35}
@media(max-width:600px){
  .page-root.explore-hub-page .ws-service-grid{gap:9px;margin-bottom:22px}
  .page-root.explore-hub-page .ws-service{padding:13px 5px;min-height:102px;gap:8px;border-radius:14px}
  .page-root.explore-hub-page .ws-service h2{font-size:13px}
  .page-root.explore-hub-page .ws-service .ws-icon{width:38px;height:38px;font-size:18px}
  .explore-hub-page #explore-news-title{font-size:18px;margin-bottom:12px}
  .explore-hub-page .ecosystem-directory{grid-template-columns:1fr}
  .explore-hub-page .ecosystem-directory>a{min-height:62px}
}

/* Explore landing V2: one compact row of 4 entries, tighter news list, safe area above bottom nav. */
.explore-hub-page .explore-entry-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.explore-hub-page .explore-entry-row .ws-service { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-width: 0; min-height: 0; padding: 10px 2px 8px; text-align: center; border-radius: 14px; }
.explore-hub-page .explore-entry-row .ws-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; margin: 0; }
.explore-hub-page .explore-entry-row .ws-icon svg, .explore-hub-page .explore-entry-row .ws-icon img { width: 28px; height: 28px; }
.explore-hub-page .explore-entry-label { font-size: 12px; line-height: 1.25; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.explore-hub-page .explore-news > h2 { font-size: 17px; margin: 0 0 8px; }
.explore-hub-page .news-status { font-size: 11px; color: #A3ABB8; margin: 4px 0 8px; }
.explore-hub-page .news-meta { font-size: 11px; color: #A3ABB8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.explore-hub-page { overflow-x: clip; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 767px) {
  html[data-theme] body .page-content .page-root.explore-hub-page .explore-entry-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 14px !important; }
  html[data-theme] body .page-content .page-root.explore-hub-page .explore-entry-row .ws-service { flex-direction: column !important; align-items: center !important; gap: 6px !important; min-height: 0 !important; padding: 10px 2px 8px !important; text-align: center; }
  html[data-theme] body .page-content .page-root.explore-hub-page .explore-entry-row .ws-icon { width: 40px !important; height: 40px !important; }
}

@media (max-width: 767px) {
  html body .page-root.explore-hub-page .news-story { display: grid !important; grid-template-columns: minmax(0, 1fr) 80px !important; gap: 10px; padding: 10px 0; align-items: start; }
  html body .page-root.explore-hub-page .news-story > :not(.news-story-body) { grid-column: 2; grid-row: 1; width: 80px !important; height: 60px !important; aspect-ratio: auto !important; border-radius: 8px; overflow: hidden; margin: 2px 0 0; }
  html body .page-root.explore-hub-page .news-story > :not(.news-story-body) img { width: 100%; height: 100%; object-fit: cover; }
  html body .page-root.explore-hub-page .news-story-body { grid-column: 1; grid-row: 1; min-width: 0; }
  html[data-theme] body .page-content .page-root.explore-hub-page .news-story h2 { font-size: 15px !important; line-height: 1.35 !important; font-weight: 600 !important; color: #1f2937; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body .page-root.explore-hub-page .news-story-body > p { display: none; }
}
/* V2.1: 8 entries, 4 × 2, equal cards */
html[data-theme] body .page-content .page-root.explore-hub-page .explore-entry-row .ws-service { height: 82px; }
@media (min-width: 768px) { html[data-theme] body .page-content .page-root.explore-hub-page .explore-entry-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.explore-more .ws-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.trust-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.trust-tabs button { flex: none; border: 1px solid #dce6f1; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.trust-tabs button[aria-selected="true"] { background: #1677ff; color: #fff; border-color: #1677ff; }
.trust-sort { margin: 6px 0; font-size: 13px; }
.trust-status { font-size: 11px; color: #6b7280; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.trust-card { border: 1px solid #e3eaf4; border-radius: 12px; padding: 10px; background: #fff; display: grid; gap: 4px; min-width: 0; }
.trust-card > div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-width: 0; font-size: 12px; }
.trust-r1 strong { font-size: 15px; }
.trust-chain { background: #eef4ff; color: #1677ff; border-radius: 6px; padding: 0 6px; }
.trust-r2 b { font-size: 18px; }
.trust-band { color: #fff; border-radius: 6px; padding: 0 6px; }
.trust-r3 { color: #6b7280; }
.trust-official { color: #8a5a00; }
.trust-tags { color: #DC2626; }
.trust-r4 a, .trust-copy { border: 1px solid #dce6f1; border-radius: 8px; padding: 3px 8px; background: #fff; font-size: 12px; }
.trust-empty { color: #6b7280; padding: 14px 0; }
.explore-more { padding: 10px 12px !important; margin: 0 0 14px !important; }
.explore-more h2 { font-size: 14px !important; margin: 0 0 6px !important; }
.explore-more .ws-directory { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
.explore-more .ws-directory a { padding: 6px 4px !important; font-size: 12px !important; min-height: 0 !important; gap: 4px; }
.explore-more .ws-directory a > .fa-chevron-right { display: none; }
.explore-more .ws-directory a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.explore-quick { margin: 0 0 12px; }
.explore-quick h2 { font-size: 14px; margin: 0 0 6px; }
.explore-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.explore-quick-grid a { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px; border: 1px solid #dce6f1; border-radius: 10px; background: #fff; font-size: 12px; color: inherit; }
.explore-quick-grid a i { color: #1677ff; flex: none; }
.explore-quick-grid a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .explore-quick-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.invite-kpis{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:13px}.invite-kpis dd{margin:0;font-weight:600}.invite-tiers{width:100%;border-collapse:collapse;font-size:12px;margin:6px 0}.invite-tiers th,.invite-tiers td{border-bottom:1px solid #e5e7eb;padding:6px 4px;text-align:left}.invite-rules ul{padding-left:18px;font-size:12px}.invite-copy{font-size:13px}
/* Owner: larger quick-tool + ecosystem cards, same rounded style as the top entries */
.explore-quick-grid, .explore-more .ws-directory { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
.explore-quick-grid a, .explore-more .ws-directory a { min-height: 54px !important; padding: 10px 12px !important; gap: 10px !important; border: 1px solid #dce6f1 !important; border-radius: 14px !important; background: #fff; font-size: clamp(12px, 3.6vw, 14px) !important; font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.explore-quick-grid a i, .explore-more .ws-directory a > i:first-child { font-size: 18px; width: 22px; text-align: center; color: #1677ff; flex: none; }
.explore-quick-grid a span, .explore-more .ws-directory a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.explore-more { padding: 14px !important; }
.explore-more h2, .explore-quick h2 { font-size: 15px !important; margin: 0 0 10px !important; }
html[data-theme="dark"] .explore-quick-grid a, html[data-theme="dark"] .explore-more .ws-directory a { background: #111827; border-color: #334155 !important; }
@media (min-width: 768px) { .explore-quick-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } .explore-more .ws-directory { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* Restore control for the floating Jiguang Assistant bubble; visible only while the bubble is hidden (html[data-ai-fab-hidden]). */
.explore-hub-page .explore-ai-restore{width:100%;align-items:center;gap:10px;margin:-10px 0 22px;padding:10px 14px;border:1px solid #d7e6f8;border-radius:14px;background:#f5faff;color:#24415f;font-size:13px;font-weight:600;text-align:left;cursor:pointer}
.explore-hub-page .explore-ai-restore:focus-visible{outline:2px solid #308dd8;outline-offset:2px}
.explore-hub-page .explore-ai-restore-icon{display:grid;flex:none;place-items:center;width:28px;height:28px}
.explore-hub-page .explore-ai-restore-label{flex:1;min-width:0;overflow-wrap:anywhere}
.explore-hub-page .explore-ai-restore-switch{position:relative;flex:none;width:38px;height:22px;border-radius:999px;background:#c9d6e5}
.explore-hub-page .explore-ai-restore-switch>span{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(19,30,54,.2)}
