@media (prefers-reduced-motion: reduce) {
  #cb-root,
  #cb-root *,
  #cb-daily-plan-root-v2,
  #cb-daily-plan-root-v2 * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  #cb-root [data-cb-row-message] {
    transition: none !important;
  }
}

#demo-native-tour-highlight {
  position: fixed;
  z-index: 2147483000;
  pointer-events: none;
  border: 3px solid #ef4444;
  border-radius: 7px;
  box-shadow: 0 0 0 9999px rgba(255, 255, 255, .04), 0 0 0 3px rgba(255, 255, 255, .92);
}

/* Daily Plan is rendered directly into the shared root rather than the overlay
   panel, so it must opt back into interaction from #cb-root's inert backdrop. */
#cb-daily-plan-root-v2 {
  pointer-events: auto;
  position: fixed;
  top: calc(var(--cb-toolbar-h) + var(--cb-toolbar-top));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  min-height: 0;
  overflow: auto;
  background: #f8fafc;
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Exact base presentation injected by the installed CampaignBoss v1478 Daily
   Plan. The frozen shared package carries the later #cb-daily-plan-root-v2
   overrides but not these base rules, so the demo boundary supplies the
   missing layer without changing the imported package. */
#cb-daily-plan-root-v2,
#cb-daily-plan-root-v2 * { box-sizing: border-box; }

#cb-daily-plan-root-v2 .cb-dpr-shell { width: 100%; max-width: none; margin: 0; padding: 0 0 20px; }
#cb-daily-plan-root-v2 .cb-dpr-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 8px 16px; }
#cb-daily-plan-root-v2 .cb-dpr-header-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#cb-daily-plan-root-v2 .cb-dpr-title { margin: 0; font-size: 18px; font-weight: 850; letter-spacing: 0; }
#cb-daily-plan-root-v2 .cb-dpr-sub { max-width: 760px; margin-top: 2px; overflow: hidden; color: #667085; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
#cb-daily-plan-root-v2 .cb-dpr-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#cb-daily-plan-root-v2 .cb-dpr-btn { border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #344054; padding: 6px 10px; font-size: 13px; font-weight: 750; cursor: pointer; }
#cb-daily-plan-root-v2 .cb-dpr-btn:hover { background: #f9fafb; }
#cb-daily-plan-root-v2 .cb-dpr-btn-primary { border-color: #dc2626; background: #dc2626; color: #fff; }
#cb-daily-plan-root-v2 .cb-dpr-btn-primary:hover { background: #b91c1c; }
#cb-daily-plan-root-v2 .cb-dpr-close { width: 30px; height: 30px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #667085; font-size: 16px; cursor: pointer; }
#cb-daily-plan-root-v2 .cb-dpr-filterbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; border-bottom: 1px solid #e5e7eb; background: #fff; padding: 8px 16px; }
#cb-daily-plan-root-v2 .cb-dpr-card { width: 100%; min-height: 0 !important; height: auto !important; border: 1px solid #e5e7eb; border-left: 3px solid #dc2626; border-radius: 8px !important; background: #fff; padding: 11px 12px !important; text-align: left; box-shadow: 0 8px 18px rgba(15, 23, 42, .045); cursor: pointer; }
#cb-daily-plan-root-v2 .cb-dpr-card:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(15, 23, 42, .075); }
#cb-daily-plan-root-v2 .cb-dpr-card:disabled { opacity: 1; cursor: default; }
#cb-daily-plan-root-v2 .cb-dpr-card:disabled:hover { transform: none; box-shadow: 0 8px 18px rgba(15, 23, 42, .045); }
#cb-daily-plan-root-v2 .cb-dpr-card[data-tone] { border-color: #e5e7eb; border-left-color: #dc2626; background: #fff; }
#cb-daily-plan-root-v2 .cb-dpr-card-top { display: flex; align-items: flex-start; gap: 9px; }
#cb-daily-plan-root-v2 .cb-dpr-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 34px !important; height: 34px !important; border-radius: 10px !important; background: #fff; font-size: 17px !important; box-shadow: 0 1px 4px rgba(15, 23, 42, .08); }
#cb-daily-plan-root-v2 .cb-dpr-pillrow { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
#cb-daily-plan-root-v2 .cb-dpr-pill { border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #475467; padding: 3px 8px; font-size: 11px; font-weight: 850; }
#cb-daily-plan-root-v2 .cb-dpr-pill-stale { border-color: #f59e0b; background: #fffbeb; color: #92400e; }
#cb-daily-plan-root-v2 .cb-dpr-pill-fresh { border-color: #bbf7d0; background: #ecfdf5; color: #047857; }
#cb-daily-plan-root-v2 .cb-dpr-pill-refreshing { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
#cb-daily-plan-root-v2 .cb-dpr-card-title { color: #101828; font-size: 14px; font-weight: 850; line-height: 1.22; }
#cb-daily-plan-root-v2 .cb-dpr-card-summary { display: -webkit-box; margin-top: 3px !important; overflow: hidden; color: #475467; font-size: 12px !important; line-height: 1.3 !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#cb-daily-plan-root-v2 .cb-dpr-card-detail { display: -webkit-box; margin-top: 6px; overflow: hidden; color: #101828; font-size: 12.5px; font-weight: 800; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#cb-daily-plan-root-v2 .cb-dpr-card-updated-v1282 { margin-top: 3px; overflow: hidden; color: #667085; font-size: 11px; font-weight: 720; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
#cb-daily-plan-root-v2 .cb-dpr-card-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px !important; }

#demo-native-tour-highlight[hidden] { display: none; }

[data-demo-control-classification="disabled"][aria-disabled="true"] { cursor: not-allowed; }

#cb-root .cb-researchCountsText,
#cb-root .cb-researchSyncSummary,
#cb-root .cb-msgPolicyReadback,
#cb-root .cb-sellerRow__preview,
#cb-root .cb-threadMessages .cb-hint,
#cb-root [data-msg-live-status] {
  color: #4b5563 !important;
}

#cb-root .cb-threadMessages > .cb-bubble { flex-shrink: 0; }

@media (max-width: 1180px) {
  #cb-root .cb-researchDrawerInline:not([hidden]) {
    margin-top: 28px !important;
  }
}
