/* Kleto Pulse Articles signals (docs/DESIGN-METRIC-PRIORITY.md section 16,
   2026-10-22). The overview notice reuses the Search Engines notice grammar
   (search-engines.css .se-ov*). The detail panel reuses the traffic mix bar
   grammar (app.css .mix*): one stacked bar, then one count per stage. Stage
   colours: idea and planned stay grey (owner states, not outcomes), ready
   and scheduled take the data blues, published is up, needs work is down. */
#articles-ov[hidden] { display: none; }
.art-ov__open { text-decoration: none; }
/* The count holds two phrases; on a phone it wraps beside its dot, never clips. */
@media (max-width: 759px) { #app .art-ov .se-ov__count { flex: 1 1 0%; min-width: 0; white-space: normal; } }
.art-ov .se-ov__count > span { white-space: nowrap; }

.art__bar { display: flex; height: 10px; margin: 2px 0 0; border-radius: 999px; overflow: hidden; background: var(--border); }
.art__bar--skel { animation: art-breathe 1.6s ease-in-out infinite; }
.art__dot { background: var(--border); }
.art__seg { display: block; height: 100%; min-width: 3px; }
.art__seg + .art__seg { border-left: 1px solid var(--bg); }
.art__seg--idea, .art__dot--idea { background: var(--mark); }
.art__seg--planned, .art__dot--planned { background: var(--dim); }
.art__seg--ready, .art__dot--ready { background: var(--data-2); }
.art__seg--scheduled, .art__dot--scheduled { background: var(--data-1); }
.art__seg--published, .art__dot--published { background: var(--up); }
.art__seg--needsWork, .art__dot--needsWork { background: var(--down); }

/* Three stages per row on a phone (two per row under 360px), six in one row from 900px. */
.art__stages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 10px; }
@media (max-width: 359px) { .art__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .art__stages { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.art__stage { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 6px; align-items: center; min-width: 0; }
.art__dot { width: 8px; height: 8px; border-radius: 50%; }
.art__k { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art__v { grid-column: 2; font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums slashed-zero; line-height: 1.3; }
.art__v .skel { height: .8em; }
.art__stage--zero .art__v { color: var(--faint); font-weight: 400; }
.art__stage[data-stage="needsWork"]:not(.art__stage--zero) .art__v { color: var(--down); }

.art__note { margin: 10px 0 0; font-size: 12px; }
.art__ask { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 12px 0 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text); }
.art__ask .se-dot { margin-right: -4px; }
.art__ask .ui-link { margin-left: auto; font-size: 13px; }
.art__kv { margin-top: 12px; }
@media (min-width: 900px) {
  .art__kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .art__kv .kv__row:nth-child(2) { border-top: 0; padding-top: 0; }
  .art__kv .kv__row:nth-last-child(2):nth-child(odd) { padding-bottom: 0; }
}
.art__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.art__actions .ui-btn { text-decoration: none; gap: 6px; }
.art__actions .ui-btn svg { width: 14px; height: 14px; }

.art__empty { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.art__empty-line { margin: 0; font-size: 13px; color: var(--dim); }
.art__empty .ui-btn { text-decoration: none; }
.art__fail { display: flex; align-items: center; gap: 8px; margin: 0; }

@media (max-width: 759px) {
  .art__actions .ui-btn, .art__empty .ui-btn, .art-ov__open { min-height: 44px; }
  .art__actions .ui-btn { flex: 1 1 auto; justify-content: center; }
}
@keyframes art-breathe { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .art__bar--skel { animation: none; } }
