/* 公开状态与原帖、月历与当日事件并排展示。所有覆盖限定于重置页。 */
.codex-reset-completion-signal { margin: 0 0 18px; padding: 18px 22px; border: 1px solid color-mix(in srgb, #b78538 42%, var(--news-line)); border-radius: 12px; background: color-mix(in srgb, #b78538 8%, var(--news-surface)); color: var(--news-ink); }
.codex-reset-completion-signal h4 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.codex-reset-completion-signal blockquote { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.codex-reset-completion-signal p { margin: 0; color: var(--news-muted); font-size: 13px; line-height: 1.7; }
.codex-reset-signal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.codex-reset-signal-links a { min-height: 32px; display: inline-flex; align-items: center; }
body.is-ai-view .ai-focus-grid #codexMonitor { border: 0; padding: 0; border-radius: 0; background: transparent; }
body.is-ai-view .ai-focus-grid .codex-monitor-heading { align-items: center; padding: 0 170px 21px 0; }
body.is-ai-view .ai-focus-grid .codex-monitor-heading h2 { font-size: 29px; letter-spacing: -.04em; }
body.is-ai-view .ai-focus-grid .codex-monitor-kicker { font-size: 10px; letter-spacing: .12em; }
body.is-ai-view .ai-focus-grid .codex-monitor-intro { font-size: 13px; }
body.is-ai-view .ai-focus-grid .codex-monitor-profile { display: none; }
body.is-ai-view .ai-focus-grid #codexMonitor > .codex-reset-summary { padding: 0; border: 0; }
body.is-ai-view .ai-focus-grid .codex-reset-heading,
body.is-ai-view .ai-focus-grid .codex-reset-coverage { display: none; }
body.is-ai-view .ai-focus-grid .codex-reset-hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr); align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--news-line); border-radius: 14px; background: var(--news-surface); }
body.is-ai-view .ai-focus-grid .codex-reset-hero > .codex-reset-announcement,
body.is-ai-view .ai-focus-grid .codex-reset-hero > .codex-reset-confirmation:not(.codex-reset-secondary) { grid-column: 1; grid-row: 1; display: block; min-width: 0; }
body.is-ai-view .ai-focus-grid .codex-reset-hero > .codex-reset-source-card { grid-column: 2; grid-row: 1 / span 2; }
body.is-ai-view .ai-focus-grid .codex-reset-hero > .codex-reset-secondary { grid-column: 1; grid-row: 2; display: block; }
body.is-ai-view .ai-focus-grid .codex-reset-confirmation > h4 { color: var(--news-accent); font-size: 13px; font-weight: 500; }
body.is-ai-view .ai-focus-grid .codex-reset-confirmation > h4::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #73c9ad; box-shadow: 0 0 0 4px rgba(115,201,173,.12); }
body.is-ai-view .ai-focus-grid .codex-reset-confirmed-time { margin: 15px 0 18px; font-size: clamp(23px, 2.45vw, 33px); line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
body.is-ai-view .ai-focus-grid .codex-reset-confirmation > p.codex-reset-label { display: inline; font-size: 13px; }
body.is-ai-view .ai-focus-grid .codex-reset-elapsed { display: inline; margin-left: 12px; font-size: 23px; color: var(--news-ink); }
body.is-ai-view .ai-focus-grid .codex-reset-evidence { margin-top: 14px; }
body.is-ai-view .ai-focus-grid .codex-reset-scope-details { margin-top: 12px; color: var(--news-muted); font-size: 12px; line-height: 1.7; }
body.is-ai-view .codex-reset-scope-details summary { width: fit-content; cursor: pointer; }
body.is-ai-view .codex-reset-source-card { min-width: 0; padding: 21px; border: 1px solid var(--news-line); border-radius: 13px; background: var(--news-surface); }
body.is-ai-view .codex-reset-source-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
body.is-ai-view .codex-reset-source-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.is-ai-view .codex-reset-source-avatar { display: grid; width: 39px; height: 39px; border-radius: 50%; place-items: center; flex-shrink: 0; background: var(--news-accent-soft); color: var(--news-accent); font-size: 18px; font-weight: 650; }
body.is-ai-view .codex-reset-source-identity strong,
body.is-ai-view .codex-reset-source-identity span { display: block; font-size: 13px; line-height: 1.5; }
body.is-ai-view .codex-reset-source-identity span { color: var(--news-muted); font-size: 11px; }
body.is-ai-view .codex-reset-source-stage { flex-shrink: 0; padding: 3px 8px; border-radius: 12px; background: var(--news-sunk); color: var(--news-muted); font-size: 11px; }
body.is-ai-view .codex-reset-source-text { margin: 16px 0; color: var(--news-ink); font-size: 17px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
body.is-ai-view .codex-reset-source-context { margin: 0 0 14px; padding-left: 12px; border-left: 2px solid var(--news-line); color: var(--news-muted); font-size: 13px; line-height: 1.7; }
body.is-ai-view .codex-reset-source-context > span { font-size: 11px; color: var(--news-subtle); }
body.is-ai-view .codex-reset-source-context p { margin: 5px 0 0; }
body.is-ai-view .codex-reset-source-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--news-muted); }
body.is-ai-view .codex-reset-source-footer a { color: var(--news-accent); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
body.is-ai-view .codex-reset-source-original { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--news-line); font-size: 12px; color: var(--news-muted); line-height: 1.65; }
body.is-ai-view .codex-reset-source-original summary { cursor: pointer; }
body.is-ai-view .codex-reset-source-original p { white-space: pre-wrap; overflow-wrap: anywhere; }
body.is-ai-view .codex-reset-statistics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 16px 0 26px; border: 1px solid var(--news-line); border-radius: 10px; background: var(--news-surface); }
body.is-ai-view .codex-reset-stat { padding: 13px 17px; min-width: 0; }
body.is-ai-view .codex-reset-stat + .codex-reset-stat { border-left: 1px solid var(--news-line); }
body.is-ai-view .codex-reset-stat span { display: block; font-size: 12px; color: var(--news-muted); }
body.is-ai-view .codex-reset-stat strong { display: block; margin-top: 7px; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
body.is-ai-view .ai-focus-grid .codex-monitor-layout { grid-template-columns: minmax(0,1.25fr) minmax(320px,.85fr); border: 1px solid var(--news-line); border-radius: 12px; background: var(--news-surface); overflow: hidden; }
body.is-ai-view .ai-focus-grid .codex-monitor-overview { display: block; padding: 22px; border-right: 1px solid var(--news-line); }
body.is-ai-view .ai-focus-grid .codex-monitor-status,
body.is-ai-view .ai-focus-grid .codex-monitor-metrics { display: none; }
body.is-ai-view .ai-focus-grid .codex-monitor-calendar-wrap { padding: 0; }
body.is-ai-view .ai-focus-grid .codex-monitor-section-heading h3 { font-size: 20px; }
body.is-ai-view .ai-focus-grid .codex-monitor-section-heading > span { font-size: 11px; }
body.is-ai-view .ai-focus-grid .codex-calendar-toolbar { max-width: none; margin: 17px 0 10px; }
body.is-ai-view .ai-focus-grid .codex-calendar-month { font-size: 19px; }
body.is-ai-view .ai-focus-grid .codex-calendar-day { min-height: 64px; padding: 10px 4px 8px; border-color: transparent; background: var(--news-sunk); border-radius: 9px; }
body.is-ai-view .ai-focus-grid .codex-calendar-day:disabled { background: var(--news-sunk); opacity: .4; }
body.is-ai-view .ai-focus-grid .codex-calendar-date { font-size: 13px; }
body.is-ai-view .ai-focus-grid .codex-calendar-count { display: inline-block; font-size: 10px; border-radius: 7px; }
body.is-ai-view .ai-focus-grid .codex-calendar-day.has-reset-event .codex-calendar-count { background: var(--news-accent-soft); padding: 3px 5px; }
body.is-ai-view .codex-reset-day-detail { min-width: 0; padding: 23px; }
body.is-ai-view .codex-reset-day-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--news-line); }
body.is-ai-view .codex-reset-day-heading h3 { margin: 0; font-size: 21px; }
body.is-ai-view .codex-reset-day-heading > span { color: var(--news-muted); font-size: 12px; }
body.is-ai-view .codex-reset-day-status { margin: 0 0 7px; color: var(--news-accent); font-size: 12px; }
body.is-ai-view .codex-reset-day-status::before { content:'●'; margin-right: 5px; font-size: 9px; color: #73c9ad; }
body.is-ai-view .codex-reset-day-event { margin-bottom: 20px; }
body.is-ai-view .codex-reset-day-event h4 { margin: 0 0 5px; font-size: 17px; }
body.is-ai-view .codex-reset-day-time { margin: 0 0 15px; color: var(--news-muted); font-size: 12px; }
body.is-ai-view .codex-reset-day-empty { margin: 26px 0; max-width: 28ch; font-size: 14px; line-height: 1.9; color: var(--news-muted); }
body.is-ai-view .ai-focus-grid .codex-monitor > .codex-monitor-feed {
  min-width: 0;
  margin-top: 20px;
  padding: 20px 0 10px;
  border-top: 1px solid var(--news-line);
}
body.is-ai-view :is(.codex-reset-source-card,.codex-reset-scope-details) :is(a,summary):focus-visible { outline: 2px solid var(--news-accent); outline-offset: 4px; }
@media (max-width: 900px) {
  body.is-ai-view .ai-focus-grid .codex-monitor-heading { padding-right: 0; }
  body.is-ai-view .ai-focus-grid .codex-reset-hero { grid-template-columns: minmax(0,1fr); padding: 21px; gap: 21px; }
  body.is-ai-view .ai-focus-grid .codex-reset-hero > .codex-reset-source-card { grid-column: 1; grid-row: auto; }
  body.is-ai-view .ai-focus-grid .codex-monitor-layout { grid-template-columns: minmax(0,1fr); }
  body.is-ai-view .ai-focus-grid .codex-monitor-overview { border-right: 0; border-bottom: 1px solid var(--news-line); }
}
@media (max-width: 600px) {
  body.is-ai-view .ai-focus-grid .codex-monitor-heading h2 { font-size: 26px; }
  body.is-ai-view .ai-focus-grid .codex-reset-confirmed-time { font-size: 24px; }
  body.is-ai-view .codex-reset-statistics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.is-ai-view .codex-reset-stat:nth-child(3) { border-left: 0; }
  body.is-ai-view .codex-reset-stat:nth-child(n+3) { border-top: 1px solid var(--news-line); }
  body.is-ai-view .codex-reset-stat { padding: 12px; }
  body.is-ai-view .codex-reset-stat span { font-size: 10px; }
  body.is-ai-view .codex-reset-stat strong { font-size: 20px; }
  body.is-ai-view .ai-focus-grid .codex-monitor-overview,
  body.is-ai-view .codex-reset-day-detail { padding: 16px; }
  body.is-ai-view .ai-focus-grid .codex-calendar-day { min-height: 54px; padding: 8px 2px; }
  body.is-ai-view .ai-focus-grid .codex-calendar-count { font-size: 9px; }
  body.is-ai-view .codex-reset-source-card { padding: 16px; }
}
