/* ============================================================
   小白格标讯 · 门户样式（PC + H5 自适应）
   设计基调：蓝白科技风（参照联合标讯类门户，免费开放，无付费模块）
   ============================================================ */
:root {
  --blue: #0b5bd7;
  --blue-2: #0a4fb5;
  --blue-deep: #083a86;
  --blue-light: #eaf1fd;
  --blue-bg: #f2f6fd;
  --orange: #ff8a00;
  --red: #e5484d;
  --green: #17a34a;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e9f2;
  --bg: #f5f7fb;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(15, 45, 110, .08);
  --shadow-lg: 0 6px 24px rgba(15, 45, 110, .12);
  --topbar-h: 34px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.portal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
button { font-family: inherit; cursor: pointer; }
.p-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部信息条 ---------- */
.p-topbar { background: linear-gradient(90deg, var(--blue-deep), var(--blue)); color: #fff; font-size: 13px; }
.p-topbar-in { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); white-space: nowrap; overflow: hidden; }
.p-topbar-slogan { opacity: .92; }
.p-topbar-info { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.p-topbar-live { opacity: .92; white-space: nowrap; }
.p-topbar-live b { font-weight: 700; }
.p-topbar-info a { color: #fff; }
.p-topbar-info a:hover { text-decoration: underline; }
.p-sep { opacity: .4; font-style: normal; }
.p-signin-btn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 6px; padding: 1px 10px; font-size: 12px; }
.p-signin-btn:hover { background: rgba(255,255,255,.28); }
.p-logout-form { display: inline; }
.p-link-btn { background: none; border: none; color: #fff; font-size: 13px; }
.p-link-btn:hover { text-decoration: underline; }

/* ---------- 主头部 ---------- */
.p-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 6px rgba(15,45,110,.05); }
.p-header-in { display: flex; align-items: center; height: 72px; gap: 18px; }
.p-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.p-brand-logo {
  width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; box-shadow: 0 2px 8px rgba(11,91,215,.35); flex-shrink: 0;
}
.p-brand-text { display: flex; flex-direction: row; align-items: baseline; gap: 8px; line-height: 1.1; }
.p-brand-text strong { font-size: 19px; color: var(--blue-deep); letter-spacing: .5px; }
.p-brand-text em { font-size: 11px; color: var(--muted); font-style: normal; }
.p-header .p-brand-text em { display: none; }
.p-nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; font-size: 18px; color: var(--text); margin-left: auto; }
.p-nav { display: flex; gap: 4px; flex-shrink: 0; }
.p-nav-item { padding: 8px 13px; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; }
.p-nav-item:hover { color: var(--blue); background: var(--blue-light); }
.p-nav-item.active { color: var(--blue); background: var(--blue-light); font-weight: 700; }
.p-search { display: flex; margin-left: auto; flex-shrink: 1; min-width: 0; border: 1px solid var(--blue); border-radius: 10px; overflow: hidden; background: #fff; }
.p-search-select { border: none; outline: none; background: var(--blue-light); color: var(--blue-deep); font-size: 13px; padding: 0 10px; max-width: 118px; }
.p-search-input { border: none; outline: none; width: 240px; min-width: 0; flex-shrink: 1; padding: 9px 12px; font-size: 14px; }
.p-search-btn { border: none; background: var(--blue); color: #fff; padding: 0 20px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
.p-search-btn:hover { background: var(--blue-2); }

/* ---------- 主区域 ---------- */
.p-main { min-height: 420px; }

/* ---------- 页脚 ---------- */
.p-footer { background: #101b33; color: #c3cde0; margin-top: 48px; }
.p-footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 40px 16px 28px; }
.p-f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.p-f-logo strong { color: #fff; font-size: 18px; }
.p-f-brand p { font-size: 13px; color: #93a1bd; margin-bottom: 10px; }
.p-f-muted { opacity: .75; }
.p-f-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.p-f-col a { display: block; color: #93a1bd; font-size: 13px; padding: 4px 0; }
.p-f-col a:hover { color: #fff; }
.p-copy { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 16px 22px; font-size: 12px; color: #7c8aa5; }

/* ---------- 通用按钮 / 徽章 ---------- */
.p-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 9px 18px; font-size: 14px; font-weight: 600; transition: all .15s; }
.p-btn:hover { border-color: var(--blue); color: var(--blue); }
.p-btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.p-btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.p-btn-ghost { background: transparent; border-color: rgba(11,91,215,.4); color: var(--blue); }
.p-btn-ghost:hover { background: var(--blue-light); }
.p-btn-on { background: #e8f6ee; border-color: var(--green); color: var(--green); }
.p-btn-block { display: flex; width: 100%; justify-content: center; margin-top: 8px; }
.p-badge { display: inline-flex; align-items: center; font-size: 12px; padding: 2px 9px; border-radius: 6px; background: #eef1f7; color: #4b5563; white-space: nowrap; }
.p-badge-type { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.p-badge-new { background: #fff3e6; color: var(--orange); font-weight: 700; }
.p-badge-budget { background: #fff8f0; color: #c2410c; }
.p-badge-region { background: #eef6ff; color: #1d4ed8; }
.p-badge-deadline { background: #eef1f7; color: #4b5563; }
.p-badge-urgent { background: #fdecec; color: var(--red); font-weight: 700; }
.p-badge-expired { background: #f0f0f3; color: #9ca3af; text-decoration: line-through; }

/* ---------- Hero ---------- */
.p-hero { background: linear-gradient(120deg, #083a86 0%, #0b5bd7 55%, #2f7cf0 100%); color: #fff; overflow: hidden; position: relative; }
.p-hero::after { content: ''; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%); }
.p-hero-grid { display: flex; align-items: center; justify-content: space-between; padding: 52px 0 58px; position: relative; z-index: 1; }
.p-hero-left { max-width: 660px; }
.p-hero-title { font-size: 38px; font-weight: 800; line-height: 1.35; }
.p-hero-accent { font-size: 22px; font-weight: 600; color: #dcebff; }
.p-hero-sub { margin: 14px 0 22px; color: #c9dcf8; font-size: 15px; }
.p-hero-search { display: flex; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 620px; }
.p-hero-search .p-search-select { background: #f1f5fb; max-width: 130px; }
.p-hero-search .p-search-input { flex: 1; width: auto; padding: 14px 14px; }
.p-hero-search .p-search-btn { padding: 0 28px; font-size: 15px; font-weight: 600; }
.p-hero-quick { margin-top: 16px; display: flex; gap: 20px; }
.p-hero-quick a { color: #cfe0fb; font-size: 14px; }
.p-hero-quick a:hover { color: #fff; }
.p-hero-right { display: flex; }
.p-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-hs-item { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 20px 26px; text-align: center; backdrop-filter: blur(4px); }
.p-hs-item b { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.p-hs-item span { font-size: 13px; color: #cfe0fb; }

/* ---------- 免费功能入口 ---------- */
.p-features { margin-top: -28px; position: relative; z-index: 2; }
.p-feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.p-feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px; text-align: center; transition: all .18s; }
.p-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-feature-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light); color: var(--blue); align-items: center; justify-content: center; font-size: 22px; margin-bottom: 10px; }
.p-feature h3 { font-size: 16px; margin-bottom: 6px; }
.p-feature p { font-size: 12px; color: var(--muted); min-height: 56px; }
.p-feature b { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--blue); }

/* ---------- 区块 ---------- */
.p-section { padding: 44px 0 8px; }
.p-section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.p-section-head h2 { font-size: 22px; color: var(--blue-deep); }
.p-section-sub { color: var(--muted); font-size: 13px; }
.p-more { margin-left: auto; color: var(--blue); font-size: 14px; font-weight: 600; }
.p-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.p-tab { padding: 5px 14px; border-radius: 20px; background: #eef1f7; color: var(--muted); font-size: 13px; white-space: nowrap; flex-shrink: 0; }
/* 首页实时标讯局部过滤：display:flex 会压过 UA 的 [hidden]，必须显式兜底（2026-10-31） */
.p-row[hidden] { display: none !important; }
.p-tab.on { background: var(--blue); color: #fff; font-weight: 600; }

/* ---------- 标讯卡片 ---------- */
.p-card-list { display: flex; flex-direction: column; gap: 12px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: all .15s; }
.p-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.p-card-top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.p-card-title { font-size: 16px; font-weight: 600; line-height: 1.45; }
.p-card-link { color: var(--text); }
.p-card-link:hover { color: var(--blue); }
.p-card-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 8px 0; }
.p-card-meta b { color: var(--text); font-weight: 500; }
.p-card-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.p-card-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.p-card-time { font-size: 12px; color: var(--muted); }
.p-card-actions { margin-left: auto; display: flex; gap: 8px; }
.p-action { background: none; border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; font-size: 12px; color: var(--muted); }
.p-action:hover { border-color: var(--blue); color: var(--blue); }
.p-action.on { border-color: var(--green); color: var(--green); background: #f0faf4; }

/* ---------- 主题场景 ---------- */
.p-scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-scene { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: all .18s; position: relative; overflow: hidden; }
.p-scene::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #5ea0ff); opacity: 0; transition: all .2s; }
.p-scene:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.p-scene:hover::before { opacity: 1; }
.p-scene-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.p-scene-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-light); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.p-scene-group { font-size: 12px; color: var(--muted); background: #f1f5fb; padding: 2px 8px; border-radius: 6px; }
.p-scene h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.p-scene-desc { font-size: 12px; color: var(--muted); min-height: 36px; }
.p-scene-nums { display: flex; gap: 16px; margin: 10px 0; font-size: 12px; color: var(--muted); }
.p-scene-nums b { color: var(--blue); font-size: 15px; }
.p-scene-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-scene-tags span, .p-scene-tags a { font-size: 12px; color: var(--blue); background: var(--blue-light); padding: 2px 8px; border-radius: 6px; }
.p-scene-tags a:hover { background: var(--blue); color: #fff; }

/* ---------- 热词 ---------- */
.p-hot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.p-hot-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.p-hot-item:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.p-hot-kw { font-weight: 700; color: var(--text); font-size: 15px; }
.p-hot-cat { font-size: 12px; color: var(--blue); background: var(--blue-light); padding: 1px 8px; border-radius: 6px; }
.p-hot-count { margin-left: auto; font-size: 12px; color: var(--orange); font-weight: 600; }

/* ---------- 行业分类 ---------- */
.p-ind-top { display: grid; grid-template-columns: 320px 1fr; gap: 16px; }
.p-ind-top-card { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; border-radius: var(--radius); padding: 24px; }
.p-ind-rank { font-size: 13px; background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 20px; }
.p-ind-top-card h3 { font-size: 22px; margin: 12px 0; }
.p-ind-top-nums { display: flex; gap: 22px; margin-bottom: 18px; font-size: 13px; color: #cfe0fb; }
.p-ind-top-nums b { display: block; font-size: 20px; color: #fff; }
.p-ind-top-card .p-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; }
.p-ind-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.p-ind-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.p-ind-table th { background: #f8fafd; color: var(--muted); text-align: left; padding: 10px 14px; font-weight: 600; }
.p-ind-table td { padding: 10px 14px; border-top: 1px solid var(--line); }
.p-ind-table tr:hover td { background: #f8fbff; }
.p-mini-link { color: var(--blue); }
.p-mini-link:hover { text-decoration: underline; }

/* ---------- 列表页（筛选） ---------- */
.p-page-head { background: linear-gradient(120deg, #eaf1fd, #f6f9fe); border-bottom: 1px solid var(--line); }
.p-page-head-plain { padding: 22px 0 26px; }
.p-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.p-breadcrumb a:hover { color: var(--blue); }
.p-page-head h1 { font-size: 26px; color: var(--blue-deep); }
.p-page-sub { color: var(--muted); margin-top: 4px; }
.p-filter { background: #fff; border-bottom: 1px solid var(--line); }
.p-filter-form { padding: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.p-filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-filter-label { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.p-filter-label-2 { margin-left: 8px; }
.p-filter-dash { color: var(--muted); }
.p-input { border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 14px; outline: none; background: #fff; }
.p-input:focus { border-color: var(--blue); }
.p-input-select { max-width: 200px; }
.p-input-date { max-width: 150px; }
.p-budget-chips, .p-type-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.p-chip { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 4px 12px; font-size: 13px; color: var(--muted); }
.p-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.p-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 列表 ---------- */
.p-list { padding: 20px 0; }
.p-list-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.p-list-count { font-size: 14px; color: var(--muted); }
.p-list-count b { color: var(--blue); font-size: 18px; }
.p-sort { display: flex; gap: 4px; }
.p-sort a { padding: 5px 14px; border-radius: 18px; font-size: 13px; color: var(--muted); background: #eef1f7; }
.p-sort a.on { background: var(--blue); color: #fff; font-weight: 600; }
.p-list-ops { margin-left: auto; }
.p-export { font-size: 13px; color: var(--blue); border: 1px solid rgba(11,91,215,.35); padding: 5px 12px; border-radius: 8px; }
.p-export:hover { background: var(--blue-light); }
.p-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.p-pager { display: flex; gap: 6px; justify-content: center; margin: 24px 0 10px; }
.p-pager a { padding: 6px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--muted); background: #fff; }
.p-pager a.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.p-pager a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 详情页 ---------- */
.p-detail-head { background: linear-gradient(120deg, #eaf1fd, #f7faff); border-bottom: 1px solid var(--line); padding: 24px 0 26px; }
.p-detail-chips { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.p-detail-title { font-size: 24px; line-height: 1.5; color: var(--text); margin-bottom: 10px; }
.p-detail-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.p-detail-meta b { color: var(--text); font-weight: 600; }
.p-detail-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.p-detail-body { padding: 20px 0; }
.p-detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }
.p-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.p-panel-title { font-size: 17px; color: var(--blue-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.p-panel-badge { font-size: 11px; background: var(--blue); color: #fff; padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.p-panel-sub { font-size: 14px; color: var(--text); margin: 14px 0 8px; }
.p-info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.p-info-table tr { border-bottom: 1px dashed var(--line); }
.p-info-table tr:last-child { border-bottom: none; }
.p-info-table td { padding: 9px 8px; vertical-align: top; word-break: break-all; }
.p-info-table .p-val-sm { font-size: 12.5px; line-height: 1.6; color: #2a3a4d; }
.p-info-table .p-val-code { font-family: Consolas, Menlo, monospace; font-size: 13px; word-break: break-all; }
.p-info-label { width: 130px; color: var(--muted); font-size: 13px; flex-shrink: 0; }
.p-content { font-size: 14px; line-height: 1.9; color: #333; word-break: break-all; }
.p-content-sm { max-height: 220px; overflow: auto; }
.p-org-links { display: flex; flex-direction: column; gap: 8px; }
.p-org { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; font-size: 14px; color: var(--text); }
.p-org:hover { border-color: var(--blue); }
.p-org-tag { background: var(--blue-light); color: var(--blue); font-size: 12px; padding: 1px 8px; border-radius: 6px; flex-shrink: 0; }
.p-org b { margin-left: auto; font-size: 12px; color: var(--blue); }
.p-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-ai-item { background: var(--blue-bg); border-radius: 10px; padding: 12px 14px; }
.p-ai-item span { display: block; font-size: 12px; color: var(--muted); }
.p-ai-item b { font-size: 17px; color: var(--blue-deep); }
.p-ai-summary { margin-top: 12px; font-size: 13px; color: #374151; background: #f8fafd; border-left: 3px solid var(--blue); padding: 10px 12px; border-radius: 0 8px 8px 0; }
.p-ai-risks { margin-top: 12px; }
.p-ai-risks h4 { font-size: 13px; color: var(--red); margin-bottom: 6px; }
.p-ai-risks p { font-size: 13px; color: #555; }
.p-related { display: flex; flex-direction: column; gap: 8px; }
.p-related-item { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.p-related-item:hover { border-color: var(--blue); }
.p-related-item p { font-size: 13px; color: var(--text); line-height: 1.5; }
.p-related-item span { font-size: 12px; color: var(--muted); }
.p-tip p { font-size: 13px; color: #4b5563; margin-bottom: 6px; }
.p-tip-muted { color: var(--muted) !important; }

/* ---------- 场景详情 ---------- */
.p-scene-head { background: linear-gradient(120deg, #eaf1fd, #f7faff); border-bottom: 1px solid var(--line); padding: 24px 0; }
.p-scene-head-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.p-scene-head h1 { font-size: 26px; color: var(--blue-deep); margin: 6px 0; }
.p-scene-tags-lg { margin-top: 12px; }
.p-scene-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.p-scene-stat-nums { display: flex; gap: 24px; margin-bottom: 12px; }
.p-scene-stat-nums span { text-align: center; }
.p-scene-stat-nums b { display: block; font-size: 22px; color: var(--blue); }
.p-scene-stat-nums em { font-size: 12px; color: var(--muted); font-style: normal; }
.p-scene-list { padding: 20px 0; }

/* ---------- 企业画像 ---------- */
.p-portrait-head { background: linear-gradient(120deg, #eaf1fd, #f7faff); border-bottom: 1px solid var(--line); padding: 24px 0; }
.p-portrait-head h1 { font-size: 26px; color: var(--blue-deep); }
.p-portrait-search { display: flex; gap: 10px; margin-top: 14px; max-width: 640px; }
.p-portrait-search .p-search-input { flex: 1; border: 1px solid var(--blue); border-radius: 10px 0 0 10px; padding: 10px 12px; }
.p-portrait-search .p-input-select { max-width: 150px; border-radius: 0; border-right: none; }
.p-portrait-search .p-search-btn { border-radius: 0 10px 10px 0; }
.p-portrait-list { padding: 20px 0; }
.p-enterprise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-enterprise { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: all .18s; }
.p-enterprise:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.p-ent-top { display: flex; gap: 12px; align-items: center; }
.p-ent-logo { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; flex-shrink: 0; }
.p-ent-logo-lg { width: 58px; height: 58px; font-size: 26px; }
.p-ent-name h3 { font-size: 15px; line-height: 1.4; }
.p-ent-name p { font-size: 12px; color: var(--muted); }
.p-ent-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.p-ent-tags span { font-size: 12px; background: var(--blue-light); color: var(--blue); padding: 1px 8px; border-radius: 6px; }
.p-tag-red { background: #fdecec; color: var(--red); }
.p-ent-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; background: var(--blue-bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.p-ent-stats span { font-size: 12px; color: var(--muted); }
.p-ent-stats b { color: var(--blue-deep); font-size: 14px; }
.p-ent-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.p-ent-foot b { color: var(--blue); font-size: 13px; }
.p-ent-foot em { color: var(--muted); font-style: normal; }
.p-ent-detail-head { background: linear-gradient(120deg, #eaf1fd, #f7faff); border-bottom: 1px solid var(--line); padding: 26px 0; }
.p-ent-detail-top { display: flex; gap: 18px; align-items: flex-start; }
.p-ent-detail-info h1 { font-size: 26px; color: var(--blue-deep); margin-bottom: 10px; }
.p-ent-detail-stats { display: flex; gap: 34px; margin: 16px 0; }
.p-ent-detail-stats span { text-align: left; }
.p-ent-detail-stats b { display: block; font-size: 22px; color: var(--blue); }
.p-ent-detail-stats em { font-size: 12px; color: var(--muted); font-style: normal; }
.p-ent-detail-actions { display: flex; gap: 10px; }
.p-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.p-table th { background: #f8fafd; color: var(--muted); text-align: left; padding: 9px 12px; font-weight: 600; white-space: nowrap; }
.p-table td { padding: 9px 12px; border-top: 1px solid var(--line); }
.p-table tbody tr:hover td { background: #f8fbff; }
.p-table tfoot td { background: #f8fafd; font-weight: 600; }

/* ---------- AI 助手 ---------- */
.p-ai-head { background: linear-gradient(120deg, #eaf1fd, #f7faff); border-bottom: 1px solid var(--line); padding: 24px 0; }
.p-ai-head h1 { font-size: 26px; color: var(--blue-deep); }
.p-ai-page { padding: 24px 0; }
.p-ai-container { max-width: 860px; }
.p-ai-form { display: flex; gap: 10px; }
.p-ai-input { flex: 1; border: 2px solid var(--blue); border-radius: 12px; padding: 13px 16px; font-size: 15px; outline: none; }
.p-ai-input:focus { box-shadow: 0 0 0 3px rgba(11,91,215,.15); }
.p-ai-examples { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; align-items: center; font-size: 13px; color: var(--muted); }
.p-ai-examples a { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 12px; color: var(--blue); }
.p-ai-examples a:hover { border-color: var(--blue); }
.p-ai-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 8px; }
.p-ai-result h2 { font-size: 17px; color: var(--blue-deep); margin-bottom: 12px; }
.p-ai-big { font-size: 40px; font-weight: 800; color: var(--blue); text-align: center; padding: 18px 0; }
.p-ai-big span { font-size: 18px; color: var(--muted); }
.p-ai-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.p-ai-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.p-ai-pager-btn { display: inline-block; padding: 7px 18px; border: 1px solid var(--line, #e3e8f0); border-radius: 8px; background: #fff; color: var(--primary, #1a6dff); font-size: 13px; text-decoration: none; }
.p-ai-pager-btn:active { background: #eef4ff; }
.p-ai-pager-info { font-size: 13px; color: var(--muted, #7b8794); }
.p-ai-err { color: var(--red); }
.p-ai-result-err { background: #fff8f8; }
.p-ai-scope { margin-top: 18px; font-size: 13px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; }
.p-ai-scope h3 { font-size: 14px; color: var(--text); margin-bottom: 6px; }

/* ---------- 市场洞察 ---------- */
.p-insight { padding: 22px 0; }
.p-insight-stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.p-insight-stats .p-hs-item { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.p-insight-stats .p-hs-item b { color: var(--blue); }
.p-insight-stats .p-hs-item span { color: var(--muted); }
/* 趋势柱状图：列数多时（近 30 天）在窄屏会横向撑破布局，
   故统一走「最小列宽 + 横向滚动」，与 p-live-table-wrap 口径一致（2026-11-02 体检修复） */
.p-bar-chart { display: flex; gap: 6px; align-items: flex-end; height: 220px; padding-top: 20px;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.p-bar-col { flex: 1 0 26px; min-width: 26px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
.p-bar-val { font-size: 11px; color: var(--muted); }
.p-bar-track { width: 70%; max-width: 40px; height: 100%; background: #eef1f7; border-radius: 6px; position: relative; }
.p-bar { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, #5ea0ff, var(--blue)); border-radius: 6px; min-height: 2px; }
.p-bar-label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.p-insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-insight-note { font-size: 12px; color: var(--muted); margin: 10px 0; }

/* ---------- 关于 ---------- */
.p-about { padding: 22px 0; }
.p-about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.p-about .p-content h4 { margin: 14px 0 6px; color: var(--blue-deep); }
.p-about .p-content ul { padding-left: 20px; }
.p-about .p-content li { margin-bottom: 6px; }
.p-404 { font-size: 72px; color: var(--blue); text-align: center; margin: 40px 0 6px; }
.p-page-head .p-btn { margin-top: 14px; }

/* ---------- Toast / Flash ---------- */
/* 隐藏态禁点击（防误触）；弹出后必须恢复可点击，否则内部链接点不到、点击会穿透到底下栏目卡片 */
.p-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #1f2937; color: #fff; padding: 10px 22px; border-radius: 10px; font-size: 14px; z-index: 200; box-shadow: var(--shadow-lg); opacity: 0; transition: all .25s; pointer-events: none; }
.p-toast.show { opacity: 1; top: 74px; pointer-events: auto; }
.p-toast.ok { background: var(--green); }
.p-toast.err { background: var(--red); }
.p-flash { background: #e8f6ee; color: #166534; border: 1px solid #bbf0cf; border-radius: 10px; padding: 10px 16px; margin: 14px 0; font-size: 14px; }
.p-mask { position: fixed; inset: 0; background: rgba(10,20,40,.5); z-index: 50; display: none; }
/* 注意：.p-nav 抽屉在 sticky header（z-index:60，独立层叠上下文）内部，
   无论自身 z-index 多高都低于 header 外层的 .p-mask(90)，
   因此遮罩必须压到 header 之下（50），否则手机端菜单会被灰色遮罩盖住无法点击 */

/* ============================================================
   响应式（H5）
   ============================================================ */
@media (max-width: 1080px) {
  .p-topbar-slogan { display: none; }
  .p-topbar-live { display: none; }
  .p-scene-grid { grid-template-columns: repeat(3, 1fr); }
  .p-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .p-enterprise-grid { grid-template-columns: repeat(2, 1fr); }
  .p-ind-top { grid-template-columns: 280px 1fr; }
  .p-search-input { width: 170px; }
  .p-search-select { max-width: 100px; }
}
@media (max-width: 1250px) and (min-width: 901px) {
  /* 中等宽度：导航保持单行不换行，由搜索框承担收缩 */
  .p-search-input { width: 150px; }
  .p-header-in { gap: 10px; }
  .p-nav-item { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 900px) {
  /* 高度改为自适应：搜索框换行后不再溢出压到下方内容 */
  .p-header-in { min-height: 60px; height: auto; flex-wrap: wrap; padding: 8px 0; }
  .p-nav-toggle { display: block; }
  .p-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 240px; background: #fff; flex-direction: column; padding: 24px 16px; gap: 2px; box-shadow: -6px 0 20px rgba(0,0,0,.12); z-index: 100; }
  .p-nav.open { display: flex; }
  .p-nav-item { font-size: 16px; padding: 12px 14px; }
  .p-mask.open { display: block; }
  .p-search { margin-left: 0; order: 3; width: 100%; border-radius: 10px; }
  .p-search-select { max-width: 120px; }
  .p-search-input { flex: 1; width: auto; }
  .p-header-in { gap: 10px; }
  .p-brand-text em { display: none; }
  .p-hero-grid { flex-direction: column; gap: 28px; padding: 34px 0 44px; }
  .p-hero-title { font-size: 28px; }
  .p-hero-accent { font-size: 17px; }
  .p-hero-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .p-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .p-feature p { min-height: auto; }
  .p-scene-grid { grid-template-columns: repeat(2, 1fr); }
  .p-hot { grid-template-columns: 1fr; }
  .p-ind-top { grid-template-columns: 1fr; }
  .p-detail-grid { grid-template-columns: 1fr; }
  .p-about-grid { grid-template-columns: 1fr; }
  .p-insight-grid { grid-template-columns: 1fr; }
  .p-enterprise-grid { grid-template-columns: 1fr; }
  .p-footer-in { grid-template-columns: 1fr 1fr; }
  .p-ai-grid { grid-template-columns: repeat(2, 1fr); }
  .p-copy { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
  .p-topbar-in { flex-wrap: wrap; justify-content: center; height: auto; min-height: var(--topbar-h); gap: 2px 10px; padding: 4px 12px; }
  .p-topbar-slogan { font-size: 12px; }
  .p-brand-text strong { font-size: 17px; }
  .p-brand-logo { width: 34px; height: 34px; font-size: 18px; }
  .p-header-in { gap: 8px; padding: 6px 0; }
  /* H5 下 header 可换行变高，toast 弹出位下移避免与其重叠 */
  .p-toast.show { top: 96px; }
  .p-search-select { max-width: 106px; flex-shrink: 0; }
  .p-search-btn { padding: 0 14px; }
  /* 2026-11-02 巡检修复：375px 下 header 单行放不下（品牌+菜单+240px 输入框）→ 整页横向溢出、
     右侧内容被裁切（详情页「基本信息」右列、标题、按钮全被切）。改为换行 + 搜索框独占第二行。 */
  .p-header-in { flex-wrap: wrap; }
  .p-search { order: 3; width: 100%; margin-left: 0; margin-top: 8px; }
  .p-search-input { width: auto; flex: 1 1 auto; min-width: 0; }
  /* 实时标讯紧凑行：标题独占一行（最多两行），徽章/金额换行到第二行，避免标题被挤成一字 */
  .p-row { flex-wrap: wrap; row-gap: 6px; padding: 10px 12px; }
  .p-row-title { flex: 1 1 100%; order: -1; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .p-row-meta { margin-left: auto; }
  .p-scene-grid { grid-template-columns: 1fr; }
  .p-feature-grid { grid-template-columns: 1fr 1fr; }
  .p-section-head { gap: 8px; }
  .p-more { margin-left: auto; }
  .p-scene-head-grid { flex-direction: column; align-items: flex-start; }
  .p-ent-detail-top { flex-direction: column; }
  .p-ent-detail-stats { gap: 18px; flex-wrap: wrap; }
  .p-portrait-search { flex-direction: column; }
  .p-portrait-search .p-search-input, .p-portrait-search .p-input-select, .p-portrait-search .p-search-btn { border-radius: 10px; max-width: none; width: 100%; }
  .p-hero-search { flex-direction: column; }
  .p-hero-search .p-search-select { max-width: none; border-bottom: 1px solid var(--line); }
  .p-hero-search .p-search-btn { padding: 12px; }
  .p-ai-form { flex-direction: column; }
  .p-bar-chart { gap: 3px; }
  .p-card-foot { flex-wrap: wrap; }
  .p-card-actions { margin-left: 0; }
  .p-table { font-size: 12px; }
  .p-table th, .p-table td { padding: 7px 8px; }
}

/* ============================================================
   登录 / 注册（门户风格）
   ============================================================ */
.p-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; background: linear-gradient(160deg, #083a86 0%, #0b5bd7 45%, #4d94f5 100%); position: relative; overflow: hidden; }
.p-auth::before, .p-auth::after { content: ''; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%); }
.p-auth::before { width: 460px; height: 460px; left: -140px; top: -120px; }
.p-auth::after { width: 380px; height: 380px; right: -100px; bottom: -120px; }
.p-auth-inner { width: 100%; max-width: 430px; position: relative; z-index: 1; }
.p-auth-brand { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 22px; }
.p-auth-brand .p-brand-text strong { color: #fff; font-size: 22px; }
.p-auth-brand .p-brand-text em { color: #cfe0fb; }
.p-auth-card { background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(6,25,60,.35); padding: 28px 26px; }
.p-auth-card h2 { font-size: 22px; color: var(--blue-deep); text-align: center; }
.p-auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 18px; }
.p-auth-card-narrow { max-width: 400px; margin: 0 auto; }
.p-auth-card .tabs { display: flex; gap: 4px; background: #eef1f7; border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.p-auth-card .tab { flex: 1; border: none; background: transparent; padding: 8px 0; border-radius: 8px; font-size: 14px; color: var(--muted); }
.p-auth-card .tab.active { background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 1px 4px rgba(15,45,110,.12); }
.p-auth-card .tab-panel { display: none; }
.p-auth-card .tab-panel.active { display: block; }
.p-auth-card .field { display: block; margin-bottom: 12px; }
.p-auth-card .field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.p-auth-card .input { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; font-size: 14px; outline: none; background: #fff; }
.p-auth-card .input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,91,215,.12); }
.p-auth-card .code-row { display: flex; gap: 8px; }
.p-auth-card .code-row .input { flex: 1; }
.p-auth-card .btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.p-auth-card .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 9px; padding: 11px; font-size: 15px; font-weight: 700; }
.p-auth-card .agree { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--muted); margin: 10px 0; }
.p-auth-card .auth-links { text-align: center; margin-top: 12px; font-size: 13px; }
.p-auth-foot { color: #cfe0fb; font-size: 12px; text-align: center; margin-top: 18px; }

/* ============ 首页实时标讯 · 紧凑列表行 ============ */
.p-live-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 6px rgba(20, 60, 120, .04); }
.p-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.p-row:last-child { border-bottom: none; }
.p-row:hover { background: var(--blue-light); }
.p-row-type { flex-shrink: 0; }
.p-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 15px; font-weight: 600; }
.p-row-title:hover { color: var(--blue); }
.p-row-meta { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.p-row-m { color: var(--muted); font-size: 13px; white-space: nowrap; }
.p-row-actions { display: inline-flex; gap: 2px; }
.p-row-actions .p-action { padding: 2px 5px; border-radius: 6px; font-size: 14px; }

/* ============ 详情页登录墙 ============ */
.p-login-gate { background: linear-gradient(120deg, #f0f6ff, #e8f1ff); border: 1px dashed var(--blue); }
.p-gate-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-gate-text { flex: 1; min-width: 220px; }
.p-gate-text .p-panel-title { margin-bottom: 4px; }
.p-gate-text p { color: var(--muted); font-size: 14px; margin: 0; }
.p-content-locked { color: var(--muted); }

@media (max-width: 900px) {
  .p-row { padding: 11px 12px; gap: 8px; }
  .p-row-region, .p-row-time { display: none; }
  .p-row-title { font-size: 14px; }
  .p-gate-inner { flex-direction: column; align-items: flex-start; }
}

/* ============ 详情页 AI 研判结果框 ============ */
.p-ai-result { display: none; margin-top: 14px; }
.p-ai-result:not(:empty) { display: block; }
.p-ai-result-head { font-size: 15px; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.p-ai-badge { font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-light); border-radius: 20px; padding: 2px 9px; }
.p-ai-result-body { background: #f7faff; border: 1px solid #dce8fb; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.75; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.p-ai-result-foot { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; color: var(--muted); font-size: 12px; }
.p-ai-model { color: var(--blue); }
.p-ai-err { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.p-ai-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; padding: 14px; background: #f7faff; border: 1px solid #dce8fb; border-radius: 10px; }
.p-ai-loading i { width: 16px; height: 16px; border: 2px solid #d0dff4; border-top-color: var(--blue); border-radius: 50%; animation: pSpin .8s linear infinite; }
@keyframes pSpin { to { transform: rotate(360deg); } }

/* ============ 企业画像：卡片取消监控按钮 ============ */
.p-enterprise { position: relative; }
.p-ent-del { position: absolute; top: 10px; right: 10px; z-index: 2; }
.p-ent-del button { border: none; background: rgba(240,245,255,.9); color: #8a97ad; font-size: 12px; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.p-ent-del button:hover { background: #eef2f8; color: #e2483d; }
.p-ent-del + a, .p-enterprise > a { display: block; color: inherit; }

/* ==================== 统一提示层（缺陷 C-03：替代原生 confirm/alert） ==================== */
.p-modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .46);
  display: none; align-items: center; justify-content: center;
  z-index: 9998; padding: 20px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.p-modal-mask.show { display: flex; animation: pFade .16s ease }
@keyframes pFade { from { opacity: 0 } to { opacity: 1 } }
.p-modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 420px;
  padding: 24px 24px 18px; box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
  animation: pPop .18s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pPop { from { transform: translateY(8px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.p-modal-title { font-size: 17px; font-weight: 700; color: #1a2230; margin-bottom: 10px }
.p-modal-body { font-size: 14.5px; color: #4a5261; line-height: 1.75; word-break: break-word }
.p-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px }
.p-modal-btn {
  min-width: 84px; height: 38px; border-radius: 8px; border: 1px solid #dfe3ea;
  background: #fff; color: #4a5261; font-size: 14px; cursor: pointer; transition: .15s;
}
.p-modal-btn:hover { border-color: #c3cad6 }
.p-modal-ok { background: #1a6dff; border-color: #1a6dff; color: #fff }
.p-modal-ok:hover { background: #0f5ce0; border-color: #0f5ce0 }
.p-modal-mask.danger .p-modal-ok { background: #e5484d; border-color: #e5484d }
.p-modal-mask.danger .p-modal-ok:hover { background: #cf3b40; border-color: #cf3b40 }

/* 顶部加载进度条（缺陷 C-02a：查询/跳转全程有反馈） */
.p-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #1a6dff, #56b6ff);
  box-shadow: 0 0 8px rgba(26, 109, 255, .55);
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: width .22s ease, opacity .2s ease;
}
.p-progress.show { opacity: 1 }
button.is-loading { cursor: progress !important; opacity: .72 !important }
.p-signin-btn.is-done { color: #9099a8; cursor: default }

/* AI 每日配额提示（缺陷 C-02c） */
.p-ai-quota {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: #f2f7ff; border: 1px solid #dbe8ff; border-radius: 10px;
  padding: 10px 14px; font-size: 13.5px; color: #33507d; margin: 12px 0 4px;
}
.p-ai-quota b { font-size: 16px; color: #1a6dff; margin: 0 2px }
.p-ai-quota.is-empty { background: #fff5f5; border-color: #ffd9d9; color: #a03434 }
.p-ai-quota.is-empty b { color: #e5484d }
.p-ai-quota-tip { color: #c0392b }
.p-ai-quota-tip.p-ai-quota-warn { background: #fff7e6; border: 1px solid #ffd591; color: #ad6800; border-radius: 6px; padding: 2px 8px; font-weight: 600 }
.p-ai-quota-used { color: #8a9bbb }
.p-ai-quota-used b { color: #c0392b }
.p-ai-quota-note { color: #8a9bbb; font-size: 12.5px; margin-left: auto }
@media (max-width: 640px) { .p-ai-quota-note { margin-left: 0 } }

/* ==================== 筛选「应用」区 + 条件摘要（X-07） ==================== */
.p-filter-apply{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px dashed #e6e9ef}
.p-filter-summary{font-size:13px;color:#8a8f99;flex:1;min-width:180px}
.p-filter-summary.has{color:#33507d}
.p-btn-ghost{background:#fff;border:1px solid #dfe3ea;color:#4a5261}
.p-btn-ghost:hover{border-color:#c3cad6}

/* 越界页码提示（X-11） */
.p-notice{background:#fff8e6;border:1px solid #ffe1a8;color:#8a5a00;border-radius:8px;padding:10px 14px;font-size:13.5px;margin-bottom:12px}

/* 空结果引导（X-11） */
.p-empty{padding:34px 20px;text-align:center}
.p-empty p{margin:0 0 8px}
.p-empty-tips{color:#8a8f99;font-size:13.5px}
.p-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.p-chip-primary{background:#1a6dff;border-color:#1a6dff;color:#fff !important}

/* ==================== AI 助手示例问题轮播（剑鱼式引导） ==================== */
.p-ai-demo { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #f6f9ff; }
.p-ai-demo-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.p-ai-demo-idx { margin-left: auto; font-variant-numeric: tabular-nums; }
.p-ai-demo-nav { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--blue); font-size: 15px; line-height: 1; cursor: pointer; padding: 0; }
.p-ai-demo-nav:active { background: var(--blue); color: #fff; }
.p-ai-demo-item { display: block; margin-top: 8px; font-size: 14px; color: var(--blue); text-decoration: none; line-height: 1.7; word-break: break-all; }
.p-ai-demo-item:hover { text-decoration: underline; }
@media (max-width: 560px) { .p-ai-demo { padding: 10px 12px; } .p-ai-demo-item { font-size: 13px; } }

/* ==================== H5 布局修复 ==================== */
/* H5-D1：首页实时标讯表格被 overflow-x hidden 裁切 → 允许横向滚动并给出提示 */
@media (max-width: 900px) {
  .p-live-table-wrap, .p-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .p-live-table, .p-live-table-wrap table { min-width: 560px; }
  /* 行业榜/地区榜表格：窄屏下原本 overflow:hidden 会把最右「进入 →」列整列裁掉且不可滚动，
     改为可横向滚动（2026-11-02 体检修复） */
  .p-ind-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .p-ind-table { min-width: 480px; }
  /* H5-D2：仪表盘 / 页面横向溢出 */
  .portal, body { overflow-x: hidden; }
  .p-container, .p-section, .p-dash, .p-dash * { max-width: 100%; box-sizing: border-box; }
  .p-dash-grid, .p-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* H5-D3：个人中心导出记录等宽表格 */
  .p-table, table.p-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  /* H5-D4/D5：触控尺寸下限 44px */
  .p-nav-item, .p-topbar a, .p-signin-btn, .p-link-btn, .p-chip, .p-btn, .p-tab, .p-pager a {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .p-nav-toggle { width: 44px; height: 44px; }
}

/* AI 与检索联动入口（C-02b） */
.p-ai-link{background:#eef4ff;border:1px solid #d3e2ff;color:#1a6dff !important}
.p-ai-link:hover{background:#e2ecff}

/* 首页实时标讯标签：局部切换 + 条数（2026-10-30） */
.p-tab { border: 0; cursor: pointer; font-family: inherit; line-height: 1.6; }
.p-tab i { font-style: normal; margin-left: 5px; font-size: 11px; opacity: .75; }
.p-live-empty { margin: 14px 2px 0; color: var(--muted); font-size: 13.5px; }
.p-live-empty a { color: var(--blue); }

/* ===== 首页充实升级（2026-10-30 c）===== */
/* 功能宫格：8 入口多彩图标 */
.p-feature-grid { grid-template-columns: repeat(4, 1fr); }
.p-feature { padding: 22px 16px 18px; }
.p-feature-icon { width: 52px; height: 52px; border-radius: 14px; color: #fff; background: var(--blue); position: relative; overflow: hidden; }
.p-feature-icon svg { width: 28px; height: 28px; }
.p-feature-icon::after { content: ""; position: absolute; right: -8px; bottom: -10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.16); }
.p-feature p { min-height: 36px; }
.p-feature b { display: none; }
.fi-blue { background: linear-gradient(135deg, #1877f2, #4da6ff); box-shadow: 0 8px 18px rgba(24,119,242,.35); }
.fi-purple { background: linear-gradient(135deg, #7c4dff, #a78bfa); box-shadow: 0 8px 18px rgba(124,77,255,.32); }
.fi-teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); box-shadow: 0 8px 18px rgba(13,148,136,.32); }
.fi-orange { background: linear-gradient(135deg, #ea580c, #fb923c); box-shadow: 0 8px 18px rgba(234,88,12,.32); }
.fi-pink { background: linear-gradient(135deg, #db2777, #f472b6); box-shadow: 0 8px 18px rgba(219,39,119,.30); }
.fi-cyan { background: linear-gradient(135deg, #0e7490, #22d3ee); box-shadow: 0 8px 18px rgba(14,116,144,.32); }
.fi-deep { background: linear-gradient(135deg, #1e3a8a, #3b82f6); box-shadow: 0 8px 18px rgba(30,58,138,.35); }
.fi-amber { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 8px 18px rgba(217,119,6,.32); }

/* 实时标讯 + 即将截止 双栏（stretch + 条目均分：左右两栏底部始终对齐） */
.p-live-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: stretch; }
.p-live-main { min-width: 0; }
.p-deadline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 16px 8px;
  display: flex; flex-direction: column; }
.p-dl-title { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.p-dl-dot { width: 9px; height: 9px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 4px rgba(244,63,94,.15); animation: pDlPulse 1.6s ease infinite; }
@keyframes pDlPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(244,63,94,.15); } 50% { box-shadow: 0 0 0 7px rgba(244,63,94,.06); } }
.p-dl-empty { color: var(--muted); font-size: 13px; padding: 10px 2px 14px; }
.p-dl-item { display: flex; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px dashed var(--line); text-decoration: none;
  flex: 1 1 auto; }
.p-dl-item:last-child { border-bottom: 0; }
.p-dl-days { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff1f2; color: #e11d48; font-size: 19px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; border: 1px solid #fecdd3; }
.p-dl-days i { font-style: normal; font-size: 10px; font-weight: 500; margin-top: 2px; opacity: .8; }
.p-dl-days.is-urgent { background: #e11d48; color: #fff; border-color: #e11d48; animation: pDlBlink 1.2s ease infinite; }
@keyframes pDlBlink { 0%,100% { opacity: 1; } 50% { opacity: .75; } }
.p-dl-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.p-dl-name { font-size: 13.5px; color: var(--text); line-height: 1.5; font-weight: 600; display: block;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.p-dl-item:hover .p-dl-name { color: var(--blue); }
.p-dl-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.p-dl-meta span { background: #f3f6fb; border-radius: 5px; padding: 1px 7px; }

/* 会员 CTA 横幅 */
.p-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-radius: var(--radius); padding: 26px 34px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0f3ea8 0%, #1877f2 55%, #2f8fff 100%); box-shadow: 0 16px 40px rgba(24,119,242,.28); }
.p-cta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.10); }
.p-cta::after { content: ""; position: absolute; right: 60px; bottom: -110px; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.07); }
.p-cta-text { position: relative; z-index: 1; }
.p-cta-text h2 { font-size: 22px; margin-bottom: 6px; letter-spacing: 1px; }
.p-cta-text p { font-size: 13px; color: #d9e8ff; }
.p-cta-btns { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.p-cta-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 26px; border-radius: 22px;
  background: #fff; color: #0f3ea8; font-weight: 700; font-size: 15px; text-decoration: none; transition: .18s; }
.p-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,30,80,.25); color: #0b2d80; }
.p-cta-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.p-cta-btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* 数据背书条 */
.p-trust { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.p-trust-item { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.p-trust-item b { color: var(--blue); font-size: 13.5px; }

@media (max-width: 1080px) {
  .p-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .p-live-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .p-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .p-cta { padding: 22px; }
}
@media (max-width: 560px) {
  .p-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-feature p { display: none; }
  .p-feature-icon { width: 46px; height: 46px; }
  .p-trust { gap: 8px; }
}
.p-nav-screen { color: var(--blue); font-weight: 700; position: relative; }
.p-nav-screen::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, #1877f2, #2f8fff); opacity: .35; }

/* ============ 正文富文本（保留原文排版） + 原公告附件（2026-10-31 客户反馈） ============ */
.p-rich { font-size: 15px; line-height: 1.9; color: #1f2733; word-break: break-word; overflow-wrap: anywhere; }
.p-rich p { margin: 0 0 12px; }
.p-rich div { margin: 0; }
.p-rich h1, .p-rich h2, .p-rich h3, .p-rich h4 { margin: 18px 0 10px; font-size: 17px; font-weight: 700; color: #14304f; }
.p-rich ul, .p-rich ol { margin: 0 0 12px; padding-left: 26px; }
.p-rich li { margin-bottom: 4px; list-style: inherit; }
.p-rich table { border-collapse: collapse; width: 100%; margin: 12px 0; overflow-x: auto; display: block; }
@media (min-width: 760px) { .p-rich table { display: table; } }
.p-rich td, .p-rich th { border: 1px solid #d7dfeb; padding: 6px 10px; font-size: 14px; line-height: 1.7; vertical-align: top; }
.p-rich th { background: #f2f6fb; font-weight: 700; }
.p-rich caption { caption-side: top; font-weight: 700; padding: 6px 0; }
.p-rich img { max-width: 100%; height: auto; border-radius: 4px; }
.p-rich a { color: #1877f2; text-decoration: none; }
.p-rich a:hover { text-decoration: underline; }
.p-rich blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid #c9d8ea; background: #f7fafd; color: #4a5a6d; }
.p-rich pre { white-space: pre-wrap; background: #f7fafd; padding: 10px 12px; border-radius: 6px; overflow-x: auto; }
.qual-req.rich-content, .rich-content.p-rich { font-size: 15px; line-height: 1.9; }
.rich-content table { border-collapse: collapse; width: auto; max-width: 100%; margin: 12px 0; }
.rich-content td, .rich-content th { border: 1px solid #d7dfeb; padding: 6px 10px; font-size: 14px; vertical-align: top; }

.p-attach { margin-top: 18px; padding: 14px 16px; background: #f7faff; border: 1px solid #dfe9f5; border-radius: 10px; }
/* 正文内嵌附件下载区（采集管道 rich-attach） */
.p-rich .rich-attach { margin: 16px 0; padding: 12px 16px; background: #f7faff; border: 1px solid #dfe9f5; border-radius: 8px; }
.p-rich .rich-attach p { margin: 0 0 6px; font-size: 14px; color: #27476b; }
.p-rich .rich-attach ul { margin: 0; padding-left: 18px; }
.p-rich .rich-attach li { margin: 4px 0; font-size: 14px; }
.p-rich .rich-attach a { color: #1877f2; text-decoration: none; word-break: break-all; }
.p-rich .rich-attach a:hover { text-decoration: underline; }
.p-attach h4 { margin: 0 0 10px; font-size: 14px; color: #27476b; font-weight: 700; }
.p-attach-item { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; margin-bottom: 6px; background: #fff; border: 1px solid #e3ecf7; border-radius: 8px;
  color: #1f2733; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.p-attach-item:hover { border-color: #1877f2; box-shadow: 0 2px 8px rgba(24,119,242,.10); }
.p-attach-tip { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.p-attach-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-attach-dl { flex: none; font-size: 12px; color: #1877f2; border: 1px solid #b9d6fb; border-radius: 999px; padding: 2px 12px; }
