/* ch-posts.css — the Posts pages in one clarity look (wave 1b, 6 Oct 2026).
   Used by approvals.html, schedule.html, post-tracker.html and connections.html (body.cpx). Screen only.
   The spec's words: one primary per screen (bubblegum + plum line + the hard 3px shadow), Refresh as an icon,
   explanations behind a small (i), a dot plus a word for every status, no uppercase labels, no 700/800 weights,
   thin plum-tint lines. Colour carries meaning: lilac = posts / schedule, lime = live, butter = waiting,
   pink = needs you, pale lilac = scores, blue = people. Tables are the Live tracker's table card (ch-theme.css 6). */
@media screen {
  body.cpx { background: var(--ch-cream, #FFF9E9); }
  body.cpx .ch-main { color: var(--ch-plum, #5B1A42); }

  /* header: a plain title with its (i), one status line, an icon refresh, the ONE primary */
  body.cpx .ch-main .ch-page-head { align-items: center; margin-bottom: 16px; }
  body.cpx .ch-main .ch-page-title { font: 600 24px/1.25 var(--ch-font, 'Poppins', system-ui, sans-serif) !important; letter-spacing: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
  body.cpx .ch-main .ch-page-sub { margin-top: 4px; font: 400 13.5px/1.5 var(--ch-font, 'Poppins', sans-serif); color: var(--ch-plum-2, #845371); max-width: 90ch; }
  body.cpx .ch-main .ch-eyebrow { display: none; }
  body.cpx .cpx-icon, body.cpx .ap-iconbtn, body.cpx .sc-iconbtn, body.cpx .pt-iconbtn { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0 !important; justify-content: center; border-radius: 12px !important; gap: 0 !important; }
  body.cpx .ch-main .ch-btn--primary { background: var(--ch-bubblegum, #F9C6D4); color: var(--ch-plum, #5B1A42); border: 1.5px solid var(--ch-plum, #5B1A42); box-shadow: var(--ch-shadow, 3px 3px 0 #5B1A42); font-weight: 600; }
  body.cpx .ch-main .ch-btn--primary:hover { background: var(--ch-bubblegum-hover, #FFB9D0); }
  body.cpx .ch-main .ch-btn--primary:active { box-shadow: none; transform: translate(3px, 3px); }

  /* the (i): a small circled letter; the words live in its title / aria-label */
  .cpx-tip, .ap-tip, .sc-tip, .pt-tip, .cn-tip { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 0 0 6px; border: 1.5px solid var(--ch-plum-2, #845371); border-radius: 50%; background: #fff; color: var(--ch-plum-2, #845371); font: 600 10px/1 var(--ch-font, 'Poppins', sans-serif); font-style: normal; cursor: help; vertical-align: 2px; flex: none; text-transform: none; letter-spacing: 0; }
  .cpx-tip:hover, .ap-tip:hover, .sc-tip:hover, .pt-tip:hover, .cn-tip:hover, .cpx-tip:focus, .ap-tip:focus, .sc-tip:focus, .pt-tip:focus, .cn-tip:focus { border-color: var(--ch-plum, #5B1A42); color: var(--ch-plum, #5B1A42); }

  /* clean, not bold: sentence case, at most 600 */
  body.cpx .ch-main :is(.ch-post-type, .ch-label, .ch-field-label, .ch-step-label, .ch-cal-head > div, .ch-agenda-day, .ch-week-dname, .ch-mini th, .fcm-label, .cal-day-head, .cal-post-time, .thread-badge) { text-transform: none !important; letter-spacing: 0 !important; }
  body.cpx .ch-main :is(b, strong, h1, h2, h3, h4, th) { font-weight: 600; }

  /* one inline note per screen (pink when it needs you, butter otherwise) */
  body.cpx .ch-main .ch-note { border-radius: 14px; border: 1px solid var(--ch-line, rgba(91,26,66,.12)); font-size: 13.5px; }

  /* a dot plus a word */
  .cpx-dot { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1.3 var(--ch-font, 'Poppins', sans-serif); color: var(--ch-plum, #5B1A42); white-space: nowrap; }
  .cpx-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: #fff; box-shadow: 0 0 0 1px var(--ch-plum, #5B1A42); }
  .cpx-dot--live::before { background: var(--ch-lime, #B8D94A); } .cpx-dot--wait::before { background: var(--ch-butter, #FBF280); }
  .cpx-dot--info::before { background: var(--ch-lilac, #C7B6F5); } .cpx-dot--needs::before { background: var(--ch-watermelon, #F6AEC2); }
  .cpx-dot--off::before { background: rgba(91,26,66,.25); }

  /* the "+" wherever someone can add a post */
  body.cpx .ap-add, body.cpx .sc-add { margin-top: 10px; align-self: flex-start; }
}
