/* Radar Studio -- Social autopilot (2026-10-04). Loaded as a file: the Studio CSP (style-src 'self') blocks inline styles. */
#autopilot .ap-intro { color: #475569; margin: 4px 0 16px; max-width: 900px; }
#autopilot .ap-sub { font-size: 17px; margin: 22px 0 8px; }
#autopilot .ap-modes { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; margin: 0 0 8px; }
#autopilot .ap-mode { border: 0; border-right: 1px solid #cbd5e1; background: #fff; padding: 8px 16px; cursor: pointer; font: inherit; }
#autopilot .ap-mode:last-child { border-right: 0; }
#autopilot .ap-mode.active { background: #1e3a8a; color: #fff; }
#autopilot .ap-empty { color: #475569; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 14px 16px; }
#autopilot .ap-card { border: 1px solid #e2e8f0; border-left: 4px solid #94a3b8; border-radius: 10px; padding: 12px 14px; margin: 0 0 10px; background: #fff; }
#autopilot .ap-card.st-posted { border-left-color: #16a34a; }
#autopilot .ap-card.st-posting, #autopilot .ap-card.st-tiles, #autopilot .ap-card.st-video, #autopilot .ap-card.st-ready { border-left-color: #2563eb; }
#autopilot .ap-card.st-held, #autopilot .ap-card.st-failed, #autopilot .ap-card.st-partial { border-left-color: #dc2626; background: #fffafa; }
#autopilot .ap-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
#autopilot .ap-title { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; color: #0f172a; }
#autopilot .ap-state { font-size: 13px; color: #334155; white-space: nowrap; }
#autopilot .ap-surfaces { margin: 8px 0 0; font-size: 14px; }
#autopilot .ap-surface.s-failed, #autopilot .ap-surface.s-problem { color: #b91c1c; }
#autopilot .ap-surface.s-published { color: #166534; }
#autopilot .ap-problems { margin: 8px 0 0; color: #b91c1c; font-size: 14px; }
#autopilot .ap-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#autopilot .ap-event { border-bottom: 1px solid #f1f5f9; padding: 8px 0; }
#autopilot .ap-event.lv-error, #autopilot .ap-event.lv-hold { color: #7f1d1d; }
#autopilot .ap-kobra { margin-top: 6px; padding: 8px 10px; background: #f8fafc; border-radius: 8px; color: #0f172a; white-space: pre-wrap; }
.nav-item .ap-badge { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.ap-bubble { position: fixed; left: 16px; bottom: 16px; z-index: 900; max-width: 320px; padding: 10px 14px; border: 0; border-radius: 12px;
  background: #b91c1c; color: #fff; font: inherit; font-size: 14px; text-align: left; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; }
.ap-badge[hidden], .ap-bubble[hidden] { display: none !important; }
