/* Daily News: shared dashboard-card surfaces, shared buttons and the shared pager (like AI Usage and Real Traffic). */
#daily-news-view main { display: flex; flex-direction: column; gap: 20px; min-width: 0; overflow-wrap: anywhere; }
#daily-news-view main > .dashboard-card { margin: 0; }
#daily-news-view .dashboard-card h2 { margin-top: 0; color: #16324f; }
#daily-news-view .dashboard-card p { min-height: 0; }
#daily-news-error:empty { display: none; }
.daily-news-intro p:first-child { margin-top: 0; }
.daily-news-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.daily-news-settings label { font-size: 14px; color: #374151; }
.daily-news-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #16324f !important; }
.daily-news-saved { margin: 10px 0 0; color: #1d6b3a; font-weight: 600; }
.daily-news-saved:empty { display: none; }
.daily-news-empty { color: #4b5563; }
.daily-news-list { display: flex; flex-direction: column; gap: 10px; }
.daily-news-run { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.daily-news-run.is-draft, .daily-news-run.is-stopped { border-color: #f5c2c0; background: #fff8f7; }
.daily-news-run-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #16324f; }
.daily-news-run-meta { margin: 4px 0 0; font-size: 13px; color: #4b5563; }
.daily-news-message { margin: 6px 0 0; font-size: 14px; color: #1f2937; }
.daily-news-status { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eef2f7; color: #16324f; white-space: nowrap; }
.daily-news-status.is-published { background: #e7f5ec; color: #1d6b3a; }
.daily-news-status.is-scheduled { background: #e8f0fb; color: #1d4f91; }
.daily-news-status.is-draft, .daily-news-status.is-stopped { background: #fde8e7; color: #8a1c14; }
.daily-news-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* "View the Article" opens the post in a new tab, so it is a link styled like the shared outline (secondary) button. */
.daily-news-actions a.daily-news-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 16px;
  border: 1px solid var(--sat-navy, #16324f); border-radius: var(--sat-radius, 8px); background: #fff; color: var(--sat-navy, #16324f);
  font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.daily-news-actions a.daily-news-link:hover, .daily-news-actions a.daily-news-link:focus-visible { background: var(--sat-navy-soft, #eef2f7); color: var(--sat-navy, #16324f); }
.daily-news-tried { margin-top: 8px; font-size: 13px; color: #374151; }
.daily-news-tried ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 600px) {
  .daily-news-settings select { width: 100%; }
  .daily-news-settings .sat-button { width: 100%; }
}
