/* Pilot module: Pipeline News ticker (MARQUEE-53). Palette from Pipeline News V9.40/V9.41: crisp red #f33 on solid black,
   border #333, muted #aeb2b8 (automation/ticker_neon_ui/20261117-v940 + ticker_crisp_ui/20261117-v941). */
.p-hud-sub.p-ticker-host { background: none; border: 0; padding: 0; width: 100%; max-width: 760px; }
/* wide screens: the core top slot starts at 380px but the code card's border box ends at 396px, so step clear of it */
@media (min-width: 900px) { .p-hud-sub.p-ticker-host { align-self: flex-end; width: calc(100% - 20px); } }
.p-ticker { --p-ticker-red: #f33; display: flex; align-items: stretch; width: 100%; min-height: 44px; box-sizing: border-box; background: #000; color: var(--p-ticker-red);
  border: 1px solid #333; border-radius: 4px; overflow: hidden; font: 12px ui-monospace, Menlo, Consolas, monospace; }
.p-ticker-chip, .p-ticker-btn { flex: 0 0 auto; min-height: 44px; min-width: 44px; padding: 0 6px; background: #000; color: #aeb2b8; border: 0; border-right: 1px solid #333;
  font: 11px ui-monospace, Menlo, monospace; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.p-ticker-btn { border-right: 0; border-left: 1px solid #333; color: var(--p-ticker-red); font-size: 12px; }
.p-ticker-btn[hidden] { display: none; }
.p-ticker[data-state="live"] .p-ticker-chip { color: #fff; }
.p-ticker[data-state="snapshot"] .p-ticker-chip, .p-ticker[data-state="overdue"] .p-ticker-chip, .p-ticker[data-state="overdue-partial"] .p-ticker-chip,
.p-ticker[data-state="partial"] .p-ticker-chip, .p-ticker[data-state="unknown"] .p-ticker-chip, .p-ticker[data-state="future"] .p-ticker-chip { color: #ffae00; }
.p-ticker[data-state="unavailable"] .p-ticker-chip, .p-ticker[data-state="failed"] .p-ticker-chip, .p-ticker[data-state="offline"] .p-ticker-chip { color: #000; background: var(--p-ticker-red); }
.p-ticker-vp { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; touch-action: pan-x pan-y; scrollbar-width: thin; scrollbar-color: #70313b #000; }
.p-ticker-track { display: flex; width: max-content; will-change: transform; animation: p-ticker-flow var(--p-ticker-dur, 120s) linear infinite; }
.p-ticker-list { display: flex; flex: none; gap: 28px; list-style: none; margin: 0; padding: 0 28px 0 10px; }
.p-ticker-list > li { display: flex; margin: 0; }
.p-ticker-item { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; white-space: nowrap; background: #000; color: var(--p-ticker-red);
  border: 0; font: inherit; cursor: pointer; text-align: left; }
.p-ticker-item:hover .p-ticker-t { text-decoration: underline; }
.p-ticker-t { font-weight: 700; }
.p-ticker-d { font-size: 10px; color: #c7868e; }
.p-ticker-unk { color: #ffae00; }
.p-ticker-tag { font-size: 9px; letter-spacing: .06em; border: 1px solid #61232c; border-radius: 2px; padding: 0 3px; color: #aeb2b8; }
.p-ticker-near { color: #000; background: var(--p-ticker-red); border-color: var(--p-ticker-red); }
.p-ticker-msg { display: flex; align-items: center; min-height: 44px; white-space: nowrap; color: #aeb2b8; }
.p-ticker-copy { pointer-events: none; user-select: none; -webkit-user-select: none; }
.p-ticker[data-motion="static"] .p-ticker-track { animation: none; transform: none; will-change: auto; }
.p-ticker[data-motion="static"] .p-ticker-copy { display: none; }
.p-ticker[data-motion="static"] .p-ticker-vp { overflow-x: auto; }
.p-ticker :focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@keyframes p-ticker-flow { to { transform: translateX(calc(-1 * var(--p-ticker-w, 50%))); } }
@media (hover: hover) { .p-ticker:hover .p-ticker-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .p-ticker .p-ticker-track { animation: none !important; transform: none !important; }
  .p-ticker .p-ticker-copy { display: none; }
  .p-ticker .p-ticker-vp { overflow-x: auto; }
}
/* card + panel */
.p-ticker-cmeta { color: #aeb2b8; font-size: 11px; }
.p-ticker-cnote { color: #aeb2b8; font-size: 11px; }
.p-ticker-cnear { color: #f33; }
.p-ticker-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.p-ticker-link { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-ticker-panel .p-ticker-pstat { color: #fff; }
.p-ticker-panel .p-ticker-pstat:not([data-state="live"]) { color: #ffae00; }
.p-ticker-plist { margin: 6px 0; padding-left: 22px; }
.p-ticker-plist li { margin: 0 0 8px; overflow-wrap: anywhere; }
.p-ticker-plist a { color: #f33; display: inline-flex; align-items: center; min-height: 44px; }
.p-ticker-panel b.p-ticker-near { font-size: 9px; padding: 0 3px; border-radius: 2px; }
