/* ch-w2b5.css — clarity wave 2, batch 5: the template pass for 26 classic pages (6 Oct 2026).
   Used by orientation, partners, payslip, people-metrics, perf-report, pipeline, pnl, production, project-space,
   proposal-deck, proposals, publisher, qc, query, quote, recruitment, reports, results, review, run, script-generator,
   security, settings, share (html[data-w2]). Screen only: print documents (.ch-doc) keep their co-branded look.
   The spec's words: a plain Poppins title with an (i), no eyebrows, sentence case, at most 600, thin plum-tint lines,
   tables in the Live tracker's table card, boxes in Today's style, one primary per screen, "+" where people add. */
@media screen {
  html[data-w2] body { background-color: var(--ch-cream, #FFF9E9); color: var(--ch-plum, #5B1A42); font-family: var(--ch-font, 'Poppins', system-ui, sans-serif); }

  /* the title: plain Poppins 600 with its (i); the display face is for the one home line only */
  html[data-w2] body h1:not(.ch-doc h1):not(.w2-keep) {
    font: 600 24px/1.25 var(--ch-font, 'Poppins', system-ui, sans-serif) !important;
    font-family: var(--ch-font, 'Poppins', system-ui, sans-serif) !important;
    font-variation-settings: normal !important; letter-spacing: -.01em !important; text-transform: none !important;
    color: var(--ch-plum, #5B1A42); margin: 2px 0 4px;
  }
  html[data-w2] .w2-hide, html[data-w2] .w2-moved { display: none !important; }
  html[data-w2] .w2-nocap { text-transform: none !important; letter-spacing: 0 !important; font-variant: normal !important; }
  html[data-w2] .w2-w6 { font-weight: 600 !important; }
  html[data-w2] .w2-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-left: 10px; border-radius: 999px; background: var(--ch-wash, rgba(91,26,66,.06)); color: var(--ch-plum-2, #845371); font: 600 12px/1 var(--ch-font, 'Poppins', sans-serif); vertical-align: 3px; }
  html[data-w2] .w2-status { margin: 0 0 14px; font: 400 14px/1.5 var(--ch-font, 'Poppins', sans-serif); color: var(--ch-plum-2, #845371); max-width: 90ch; }

  /* the slim bar (back link + crumb) repeats the rail on a desktop: it stays on phones, and on drill-downs (.w2-keep-back) */
  @media (min-width: 761px) {
    html[data-w2] .cht-top:not(.w2-keep-back) { display: none !important; }
    html[data-w2] .wrap, html[data-w2] .cht-page, html[data-w2] main.wrap { padding-top: 26px; }
  }
  /* the title row: the title, its (i), and the page's own actions on the right (one primary) */
  html[data-w2] .w2-headrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 6px; }
  html[data-w2] .w2-headrow h1 { margin: 0 !important; }
  html[data-w2] .w2-headrow .w2-act { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  html[data-w2] body h1.w2-inl { display: inline-block !important; vertical-align: middle; max-width: calc(100% - 40px); }
  html[data-w2] .w2-badge + .ch-info, html[data-w2] h1 + .ch-info { margin-left: 4px; vertical-align: middle; }

  /* tables = the Live tracker's table card: a plum header bar, roomy rows, bold plum names */
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) {
    width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
    border: 1px solid var(--ch-line-strong, rgba(91,26,66,.24)); border-radius: 20px; overflow: hidden;
    font: 400 14px/1.45 var(--ch-font, 'Poppins', sans-serif); color: var(--ch-plum, #5B1A42); font-variant-numeric: tabular-nums;
  }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) thead th {
    background: var(--ch-plum, #5B1A42); color: var(--ch-cream, #FFF9E9); font: 600 12px/1.2 var(--ch-font, 'Poppins', sans-serif);
    font-variant: all-small-caps; letter-spacing: .06em; text-transform: none; text-align: left; padding: 12px 16px; white-space: nowrap; border: 0;
  }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) tbody td { padding: 14px 16px; border: 0; border-top: 1px solid var(--ch-line-soft, rgba(91,26,66,.07)); vertical-align: middle; background: transparent; color: var(--ch-plum, #5B1A42); }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) tbody tr:first-child td { border-top: 0; }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) tbody tr:nth-child(even) td { background: #FFFCF6; }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) tbody tr:hover td { background: #FFFAF3; }
  html[data-w2] table:not(.ch-table):not(.w2-plain):not(.ch-doc table) tfoot td { font-weight: 600; border-top: 1px solid var(--ch-line-strong, rgba(91,26,66,.24)); background: #fff; padding: 14px 16px; }

  /* a quiet "+" before an add button (the one place a person adds something) */
  html[data-w2] .w2-plus::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: #fff; border: 1px solid var(--ch-plum, #5B1A42); font: 600 14px/1 var(--ch-font, 'Poppins', sans-serif); color: var(--ch-plum, #5B1A42); }

  /* colour carries meaning (Today's tiles): lilac = posts, lime = live / results, butter = money, pink = needs you, pale lilac = scores, blue = people */
  html[data-w2] .w2-t-posts { background: var(--ch-m-posts, #EBE5FC) !important; border-color: transparent !important; }
  html[data-w2] .w2-t-live { background: var(--ch-m-live, #EAF4C9) !important; border-color: transparent !important; }
  html[data-w2] .w2-t-money { background: var(--ch-m-money, #FFF2CC) !important; border-color: transparent !important; }
  html[data-w2] .w2-t-needs { background: var(--ch-m-needs, #FFE2EB) !important; border-color: transparent !important; }
  html[data-w2] .w2-t-score { background: var(--ch-m-score, #F3EFFD) !important; border-color: transparent !important; }
  html[data-w2] .w2-t-people { background: var(--ch-m-people, #F9D2F9) !important; border-color: transparent !important; }

  /* phones: a 16px gutter, no sideways scroll, tables scroll inside their card */
  @media (max-width: 760px) {
    html[data-w2] .wrap { padding-left: 16px; padding-right: 16px; }
    html[data-w2] body h1:not(.ch-doc h1):not(.w2-keep) { font-size: 22px !important; }
  }
}
