/* 模型日报与内容层级：仅作用于 AI 视图，家纺视图沿用原样式。 */
body.is-ai-view { font-size: 16px; }
body.is-ai-view .hero-tag { font-size: 12px; }
body.is-ai-view .hero-sub { font-size: 16px; }
body.is-ai-view .main-tabs .main-tab { font-size: 15px; }
body.is-ai-view .controls input,
body.is-ai-view .controls select,
body.is-ai-view .mode-btn,
body.is-ai-view .all-dedupe { min-height: 44px; font-size: 14px; }
body.is-ai-view .mode-hint,
body.is-ai-view #resultCount { font-size: 12px; }
body.is-ai-view .ai-focus-grid .twitter-heading-copy h2 { font-size: 20px; }
body.is-ai-view .ai-focus-grid .twitter-heading-copy p,
body.is-ai-view .ai-focus-grid .twitter-count { font-size: 12px; }
body.is-ai-view .ai-focus-grid #twitterList .twitter-card { padding: 16px; }
body.is-ai-view .ai-focus-grid #twitterList .twitter-card,
body.is-ai-view .ai-focus-grid #twitterList .twitter-card p { font-size: 15px; line-height: 1.65; }
body.is-ai-view .ai-focus-grid .codex-monitor-kicker { font-size: 12px; }
body.is-ai-view .ai-focus-grid .codex-monitor-intro { font-size: 14px; }
body.is-ai-view .ai-focus-grid .codex-monitor-profile { min-height: 44px; padding-inline: 12px; font-size: 14px; }
body.is-ai-view .ai-focus-grid .codex-monitor-status,
body.is-ai-view .ai-focus-grid .codex-monitor-metric-label,
body.is-ai-view .ai-focus-grid .codex-monitor-section-heading > span,
body.is-ai-view .ai-focus-grid .codex-calendar-legend { font-size: 12px; }
body.is-ai-view .ai-focus-grid .codex-monitor-section-heading h3 { font-size: 14px; }
body.is-ai-view .ai-focus-grid .codex-calendar-day { min-height: 46px; }
body.is-ai-view .ai-focus-grid .codex-calendar-count { font-size: 12px; }
body.is-ai-view .ai-focus-grid .codex-post-time,
body.is-ai-view .ai-focus-grid .codex-post-signals,
body.is-ai-view .ai-focus-grid .codex-post-language { font-size: 12px; }
body.is-ai-view .ai-focus-grid .codex-signal-badge { font-size: 12px; }
body.is-ai-view .ai-focus-grid .codex-post-text { font-size: 15px; line-height: 1.65; }
body.is-ai-view .ai-focus-grid .codex-post-original summary,
body.is-ai-view .ai-focus-grid .codex-post-link,
body.is-ai-view .ai-focus-grid .codex-monitor-empty,
body.is-ai-view .ai-focus-grid .codex-monitor-footnote { font-size: 12px; }

body.is-ai-view .news-card .meta-row { font-size: 12px; }
body.is-ai-view .news-card .site,
body.is-ai-view .news-card .source,
body.is-ai-view .news-card .time { font-size: 12px; }
body.is-ai-view .news-card .source { padding: 3px 7px; }
body.is-ai-view .news-card .title { font-size: 19px; line-height: 1.55; }
body.is-ai-view .news-card .title-sub { font-size: 14px; }
body.is-ai-view .news-card .card-summary { margin: 8px 0 0; font-size: 16px; line-height: 1.7; }
body.is-ai-view .aihot-selection-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--news-accent) 38%, var(--news-line));
  border-radius: 999px;
  background: var(--news-accent-soft);
  color: var(--news-accent);
  font-size: 12px;
  font-weight: 650;
}
body.is-ai-view .aihot-selection-badge.is-needs_review,
body.is-ai-view .aihot-selection-badge.is-pending_review,
body.is-ai-view .aihot-selection-badge.is-not_selected,
body.is-ai-view .aihot-selection-badge.is-rule { border-color: var(--news-line); background: var(--news-sunk); color: var(--news-muted); }
body.is-ai-view .aihot-selection-badge.is-rule { background: transparent; font-weight: 550; }
body.is-ai-view .news-ai-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
body.is-ai-view .news-ai-tag { padding: 3px 8px; border: 1px solid var(--news-line); border-radius: 999px; color: var(--news-muted); font-size: 12px; line-height: 1.45; }

body.is-ai-view .ai-daily-report {
  margin: 0 0 24px;
  padding: 21px 22px 17px;
  border: 1px solid var(--news-line);
  border-top: 2px solid var(--news-accent);
  border-radius: 10px;
  background: var(--news-surface);
}
body.is-ai-view .ai-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
body.is-ai-view .ai-report-kicker { margin: 0 0 5px; color: var(--news-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
body.is-ai-view .ai-report-heading h2 { margin: 0; color: var(--news-ink); font-size: 22px; line-height: 1.3; }
body.is-ai-view .ai-report-overview { max-width: 70ch; margin: 8px 0 0; color: var(--news-muted); font-size: 15px; line-height: 1.7; }
body.is-ai-view .ai-report-status { display: grid; justify-items: end; gap: 5px; color: var(--news-subtle); font-size: 12px; text-align: right; }
body.is-ai-view .ai-report-status span { padding: 4px 9px; border: 1px solid var(--news-line); border-radius: 999px; color: var(--news-accent); }
body.is-ai-view .ai-report-columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr); gap: 22px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--news-line); }
body.is-ai-view .ai-report-columns h3 { margin: 0 0 9px; color: var(--news-ink); font-size: 15px; }
body.is-ai-view .ai-report-highlights,
body.is-ai-view .ai-report-trends { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
body.is-ai-view .ai-report-highlight { padding: 11px 0 0; border-top: 1px solid var(--news-line); }
body.is-ai-view .ai-report-highlight h4 { margin: 0; color: var(--news-ink); font-size: 15px; line-height: 1.5; }
body.is-ai-view .ai-report-highlight p { margin: 4px 0 0; color: var(--news-muted); font-size: 14px; line-height: 1.65; }
body.is-ai-view .ai-report-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; }
body.is-ai-view .ai-report-links a { color: var(--news-accent); font-size: 12px; overflow-wrap: anywhere; text-decoration: none; }
body.is-ai-view .ai-report-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.is-ai-view .ai-report-trend { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--news-line); color: var(--news-ink); font-size: 14px; line-height: 1.5; }
body.is-ai-view .ai-report-trend-count { flex: 0 0 auto; color: var(--news-subtle); font-size: 12px; }
body.is-ai-view .ai-report-empty { color: var(--news-subtle); font-size: 14px; line-height: 1.6; }
body.is-ai-view .ai-report-footnote { margin: 14px 0 0; color: var(--news-subtle); font-size: 12px; line-height: 1.55; }
body.is-ai-view .ai-daily-report.is-empty { padding-block: 14px; }
body.is-ai-view .ai-daily-report.is-empty .ai-report-heading { align-items: center; }
body.is-ai-view .ai-daily-report.is-empty .ai-report-heading h2 { font-size: 20px; }
body.is-ai-view .ai-daily-report.is-empty .ai-report-overview { margin-top: 5px; font-size: 14px; }
body.is-ai-view .ai-daily-report.is-empty .ai-report-columns { display: none; }
body.is-ai-view .ai-daily-report.is-empty .ai-report-footnote { margin-top: 8px; }

body.is-ai-view .ai-events {
  margin: 0 0 24px;
  padding: 21px 22px 16px;
  border: 1px solid var(--news-line);
  border-top: 2px solid var(--news-accent);
  border-radius: 10px;
  background: var(--news-surface);
}
body.is-ai-view .ai-events-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
body.is-ai-view .ai-events-kicker { margin: 0 0 5px; color: var(--news-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
body.is-ai-view .ai-events-heading h2 { margin: 0; color: var(--news-ink); font-size: 22px; line-height: 1.3; }
body.is-ai-view .ai-events-intro { max-width: 72ch; margin: 7px 0 0; color: var(--news-muted); font-size: 15px; line-height: 1.65; }
body.is-ai-view .ai-events-status { display: grid; justify-items: end; gap: 6px; text-align: right; }
body.is-ai-view .ai-events-status span { padding: 4px 9px; border: 1px solid var(--news-line); border-radius: 999px; color: var(--news-accent); font-size: 13px; }
body.is-ai-view .ai-events-status strong { color: var(--news-muted); font-size: 13px; font-weight: 600; }
body.is-ai-view .ai-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
body.is-ai-view .ai-event-card { min-width: 0; padding: 16px; border: 1px solid var(--news-line); border-radius: 8px; background: var(--news-paper); transition: border-color 160ms ease, transform 160ms ease; }
body.is-ai-view .ai-event-card:hover { border-color: color-mix(in srgb, var(--news-accent) 45%, var(--news-line)); transform: translateY(-1px); }
body.is-ai-view .ai-event-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.is-ai-view .ai-event-eyebrow { color: var(--news-muted); font-size: 13px; font-weight: 650; }
body.is-ai-view .ai-event-heat { flex: 0 0 auto; color: var(--news-accent); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
body.is-ai-view .ai-event-title { margin: 11px 0 0; color: var(--news-ink); font-size: 18px; line-height: 1.5; text-wrap: pretty; }
body.is-ai-view .ai-event-summary { margin: 7px 0 0; color: var(--news-muted); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
body.is-ai-view .ai-event-footer { display: grid; gap: 9px; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--news-line); }
body.is-ai-view .ai-event-sources { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.is-ai-view .ai-event-source { padding: 3px 8px; border: 1px solid var(--news-line); border-radius: 999px; color: var(--news-muted); font-size: 12px; }
body.is-ai-view .ai-event-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
body.is-ai-view .ai-event-links a { color: var(--news-accent); font-size: 13px; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
body.is-ai-view .ai-event-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.is-ai-view .ai-event-time { color: var(--news-subtle); font-size: 12px; }
body.is-ai-view .company-title-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
body.is-ai-view .company-brand-marks {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
body.is-ai-view .company-brand-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid var(--news-line);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}
body.is-ai-view .company-title-copy { min-width: 0; flex: 1 1 auto; }
body.is-ai-view .ai-report-heading h2.company-title-row { align-items: center; }
body.is-ai-view .news-card .title .company-title-row { gap: 8px; margin: 0; }
body.is-ai-view .waytoagi-item .t.company-title-row { gap: 8px; }
body.is-ai-view .waytoagi-item:not(a) { cursor: default; }
body.is-ai-view .waytoagi-item:not(a):hover {
  border-color: var(--news-line);
  background: var(--news-surface);
  transform: none;
}
body.is-ai-view .ai-event-empty { grid-column: 1 / -1; margin: 0; padding: 15px 0 2px; color: var(--news-muted); font-size: 15px; line-height: 1.7; }
body.is-ai-view .ai-events-note { margin: 13px 0 0; color: var(--news-subtle); font-size: 13px; line-height: 1.6; }
body.is-ai-view :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--news-accent); outline-offset: 3px; }
body.is-ai-view button:active { transform: translateY(1px); }

@media (max-width: 760px) {
  body.is-ai-view .ai-report-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.is-ai-view .ai-report-heading { gap: 12px; }
  body.is-ai-view .ai-event-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body.is-ai-view .hero-sub { font-size: 15px; }
  body.is-ai-view .news-card .title { font-size: 17px; }
  body.is-ai-view .news-card .card-summary { font-size: 15px; }
  body.is-ai-view .ai-focus-grid .codex-post-text { font-size: 15px; }
  body.is-ai-view .ai-daily-report { padding: 16px 14px; }
  body.is-ai-view .ai-daily-report.is-empty { padding-block: 13px; }
  body.is-ai-view .ai-report-heading { display: grid; }
  body.is-ai-view .ai-report-status { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  body.is-ai-view .ai-report-heading h2 { font-size: 20px; }
  body.is-ai-view .ai-events { padding: 16px 14px 13px; }
  body.is-ai-view .ai-events-heading { display: grid; gap: 10px; }
  body.is-ai-view .ai-events-heading h2 { font-size: 20px; }
  body.is-ai-view .ai-events-status { display: flex; flex-wrap: wrap; justify-items: start; align-items: center; gap: 8px; text-align: left; }
  body.is-ai-view .ai-event-card { padding: 14px 12px; }
  body.is-ai-view .ai-event-title { font-size: 17px; }
  body.is-ai-view .ai-event-summary { font-size: 15px; }
}
