/* Cabarrus Manager · Monthly productivity (Nov 4 2026, Jeremy t2006u). Rides on the .sl tokens (Classic / Maroon / Enterprise). */
.cmp-head { align-items: flex-end; }
.cmp-title { min-width: 0; flex: 1 1 320px; }
.cmp-ctl { display: inline-flex; gap: 8px; }
html body .sl .cmp-pick select {
  height: 44px; min-width: 190px; padding: 0 38px 0 14px; margin: 0; border-radius: 12px; cursor: pointer; appearance: none;
  border: 1px solid var(--sl-field-line); color: var(--sl-ink); font: 600 16px/1 var(--sl-sans);
  background: var(--sl-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
html body .sl .cmp-pick select:focus { outline: none; box-shadow: var(--sl-focus); }
.cmp-sum { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr); gap: 18px 40px; align-items: center; margin: 6px 0 14px; }
.cmp-team { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cmp-big { display: flex; align-items: center; gap: 12px; }
.cmp-big b { font: 600 48px/1 var(--sl-num); font-variant-numeric: tabular-nums; color: var(--sl-ink); }
.cmp-big b.is-hit, .cmp-pct.is-hit { color: var(--sl-g-ink, var(--sl-gold)); }
.cmp-badge { font: 700 11px/1 var(--sl-sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  color: var(--sl-y-ink, var(--sl-gold)); border: 1px solid currentColor; }
.cmp-bar { position: relative; height: 10px; border-radius: 999px; background: var(--sl-ghost); border: 1px solid var(--sl-line); max-width: 420px; }
.cmp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--sl-gold); }
.cmp-bar em { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--sl-ink); opacity: .55; border-radius: 2px; }
.cmp-hint { font: 500 13px/1.35 var(--sl-sans); color: var(--sl-muted); }
.cmp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 12px 36px; }
.cmp-stats .cmd-stat b { font-size: 26px; }
.cmp-wip { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font: 500 14px/1.45 var(--sl-sans); color: var(--sl-ink);
  border: 1px solid var(--sl-line-2, var(--sl-line)); border-left: 4px solid var(--sl-y-ink, var(--sl-gold)); background: var(--sl-ghost); }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { min-width: 640px; }
.cmp-table .cmx-row > * { padding-top: 13px; padding-bottom: 11px; border-bottom: 1px solid var(--sl-line); }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table tfoot > tr > * { border-top: 2px solid var(--sl-line-2, var(--sl-line)); }
.cmp-table thead th.cmx-n { width: 30%; }
.cmp-table tr.is-none > * { opacity: .7; }
.cmp-pct { font-weight: 700; font-variant-numeric: tabular-nums; }
html body .sl .cmp-sort { appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit;
  letter-spacing: inherit; text-transform: inherit; display: inline-flex; align-items: center; gap: 5px; }
html body .sl .cmp-sort:focus-visible { outline: none; box-shadow: var(--sl-focus); border-radius: 4px; }
.cmp-arr { opacity: .45; font-size: 11px; }
.cmp-sort.is-on .cmp-arr { opacity: 1; color: var(--sl-gold); }

@media (max-width: 900px) { .cmp-sum { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .cmp-head { align-items: stretch; gap: 14px; }
  .cmp-title { flex: none; }
  .cmp-ctl, html body .sl .cmp-pick select { width: 100%; }
  .cmp-pick { flex: 1; }
  .cmp-big b { font-size: 40px; }
  .cmp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .cmp-stats .cmd-stat b { font-size: 20px; white-space: normal; }
  .cmp-table td { font-size: 15px; }
  /* phone: each interpreter becomes a card */
  .cmp-table { min-width: 0; }
  .cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp-table, .cmp-table tbody, .cmp-table tfoot { display: block; }
  .cmp-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 2px; border-bottom: 1px solid var(--sl-line); }
  .cmp-table tr > * { display: flex; flex-direction: column; gap: 3px; padding: 0 !important; border: 0 !important; text-align: left !important; }
  .cmp-table tr > th.cmx-n { grid-column: 1 / -1; font-size: 16px !important; }
  .cmp-table td[data-l]::before { content: attr(data-l); font: 700 10.5px/1 var(--sl-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
  .cmp-table tfoot tr { border-bottom: 0; border-top: 2px solid var(--sl-line-2, var(--sl-line)); }
}
@media (min-width: 1440px) { .cmn-go-prod { grid-column: 1 / -1; } }

/* Nov 5 2026 (t2142u): status pills for rows left out of the team average (Pending review / Not reported). */
.cmp-pill { display: inline-block; font: 700 11px/1 var(--sl-sans); letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--sl-muted); border: 1px solid var(--sl-line-2, var(--sl-line)); background: var(--sl-ghost); }
.cmp-pill--review { color: #8a5a00; border-color: #e3b34a; background: #fff4d6; cursor: help; }
html[data-theme="enterprise"] .cmp-pill--review { color: #7a4f00; background: #fff1cc; }
html[data-theme="sky"] .cmp-pill--review { color: #fde6a8; border-color: rgba(253,214,120,.6); background: rgba(253,214,120,.14); }
.cmp-table tr.is-none.is-hold > * { opacity: .85; }

/* Nov 5 2026 (Jeremy t2144u): column alignment, all themes (Maroon / Classic / Enterprise / Sky).
   Every numeric column (man hours, patient time, VRI, contacts, productivity) is right-aligned with tabular lining numerals,
   so "115 h 37 min" and "62 h 50 min" stack digit-for-digit. Headers right-align to the same edge: the sort arrow sits
   to the LEFT of the label so the label's last letter lines up with the numbers below it. */
html body .sl .cmp-table { table-layout: fixed; width: 100%; border-collapse: collapse; }
html body .sl .cmp-table thead th.cmx-n { width: 28%; }
html body .sl .cmp-table thead th:not(.cmx-n) { width: 14.4%; }
html body .sl .cmp-table th:not(.cmx-n), html body .sl .cmp-table td {
  text-align: right !important; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1;
  padding-left: 12px; padding-right: 0; white-space: nowrap; }
html body .sl .cmp-table thead th:not(.cmx-n) .cmp-sort { flex-direction: row-reverse; justify-content: flex-start; margin-left: auto; }
html body .sl .cmp-table thead th:not(.cmx-n) { vertical-align: bottom; }
html body .sl .cmp-table th.cmx-n { text-align: left !important; }
html body .sl .cmp-table td .cmd-dim, html body .sl .cmp-table td .cmp-pct, html body .sl .cmp-table td .cmp-pill { display: inline-block; text-align: right; }
html body .sl .cmp-table tbody td, html body .sl .cmp-table tfoot td { vertical-align: middle; }
html body .sl .cmp-table tbody th.cmx-n { vertical-align: middle; }
/* team block: stats share one baseline, numbers tabular; a steady gap before the table */
html body .sl .cmp-stats .cmd-stat b { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
html body .sl .cmp-stats { align-items: end; }
html body .sl .cmp-sum { margin-bottom: 22px; }
@media (max-width: 600px) {
  html body .sl .cmp-table { table-layout: auto; }
  html body .sl .cmp-table th, html body .sl .cmp-table td { text-align: left !important; width: auto !important; white-space: normal; }
  html body .sl .cmp-table td .cmd-dim, html body .sl .cmp-table td .cmp-pct, html body .sl .cmp-table td .cmp-pill { text-align: left; }
}
