/* u96-work-cleanup-ui — Work → Setup → Clean up imported jobs (.wcu-* only). Cobalt Paper tokens. */
.wcu { display: flex; flex-direction: column; gap: 10px; }
.wcu-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wcu-title { font-family: var(--font-display); font-size: 18px; line-height: 1.1; margin: 0; color: var(--text); }
.wcu-hint { flex: 1 1 160px; min-width: 0; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcu-hint b { font-weight: 600; color: var(--text-2); }
.wcu .w3-note { margin: 0; }

/* the numbers: one slim strip */
.wcu-stats { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.wcu-stat { flex: 1 1 110px; padding: 8px 14px; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; }
.wcu-stat:last-child { border-right: 0; }
.wcu-stat.is-main { flex: 2 1 230px; }
.wcu-stat.is-wide { flex: 3 1 300px; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.wcu-stat.is-wide .wcu-stat-l { flex: 0 0 100%; }
.wcu-stat-l { font-size: 12px; color: var(--ink-3); }
.wcu-stat.is-main .wcu-stat-l { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
.wcu-stat-n { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--text); }
.wcu-stat-n small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--ink-3); }
.wcu-stat-v { font-size: 20px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.wcu-stat-t { font-size: 13px; color: var(--text-2); }

/* tabs and filters */
.wcu-tabrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wcu-tabs { flex-wrap: wrap; }
.wcu-tabs .w3-n { margin-left: 4px; }
.wcu-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
.wcu-filters input[type="search"] { width: 190px; }
.wcu-filters select { width: 168px; }
.wcu-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.wcu-inline input[type="date"] { width: 138px; }

/* the grid: one line per job. The bulk bar and the column headings stay in view while the page scrolls. */
.wcu-gridwrap { min-width: 0; }
.wcu-sticky { position: sticky; top: 56px; z-index: 6; background: var(--bg); padding-top: 4px; }
.wcu-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; position: static; }
.wcu-bulk kbd, .wcu-keys kbd { font-family: var(--font-mono); font-size: 11px; padding: 0 5px; border-radius: 4px; background: var(--sunken); color: var(--text-2); margin: 0 2px; }
.wcu-bulk .btn-primary kbd { background: rgba(255, 255, 255, .22); color: #fff; }
.wcu-bulk input[type="date"] { height: 28px; width: 138px; }
.wcu-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.wcu-col-chk { width: 36px; } .wcu-col-job { width: 15%; } .wcu-col-per { width: 8%; } .wcu-col-due { width: 18%; } .wcu-col-dg { width: 16%; } .wcu-col-sug { width: 22%; }
.wcu-head { background: var(--surface); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; }
.wcu-head th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--border); }
.wcu-card { border-top: 0; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.wcu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wcu-table td { padding: 0 10px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 34px; line-height: 20px; box-sizing: border-box; }
.wcu-table tbody tr:last-child td { border-bottom: 0; }
.wcu-table td.wcu-c-chk, .wcu-head th.wcu-c-chk { width: 36px; padding: 0 0 0 10px; text-overflow: clip; }
.wcu-c-chk input { margin: 0; vertical-align: middle; }
.wcu-group td { background: var(--bg); font-size: 13px; height: 32px; }
.wcu-group td b { font-weight: 600; }
.wcu-group .btn-link { margin-left: 8px; font-size: 12px; }
.wcu-row:hover td { background: var(--bg); }
.wcu-row.is-selected td, .wcu-row.is-selected:hover td { background: var(--accent-soft); }
.wcu-row.is-cursor td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.wcu-open { border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--text); cursor: pointer; text-align: left; }
.wcu-open:hover, .wcu-open:focus-visible { color: var(--accent-ink); text-decoration: underline; }
.wcu-client { color: var(--ink-3); }
.wcu-tag { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: var(--r-pill); background: var(--sunken); color: var(--text-2); font-size: 11px; line-height: 16px; vertical-align: 1px; }
.wcu-when { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.wcu-when.is-late { color: var(--red); }
.wcu-why { font-size: 12px; color: var(--ink-3); }
.wcu-table input.wcu-date { height: 26px; min-height: 0; width: 132px; padding: 0 6px; font-size: 13px; vertical-align: middle; }
.wcu-table input.wcu-date.is-need { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber-soft); }
.wcu-table .btn-link { font-size: 12px; margin-left: 4px; }
.wcu-table .pill { vertical-align: middle; }

.wcu-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.wcu-keys { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* dialogs */
.wcu-off { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); }
.wcu-offlist { margin: 8px 0 6px 18px; padding: 0; font-size: 13px; }
.wcu-asklist { margin-top: 14px; }
.wcu-ask-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.wcu-asklist textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--bg); resize: vertical; }

/* below about 1 080 px of working width the grid scrolls sideways as one piece (headings included) */
@media (max-width: 1320px) {
  .wcu-gridwrap { overflow-x: auto; }
  .wcu-sticky { position: static; min-width: 980px; }
  .wcu-card { min-width: 980px; }
}
@media (max-width: 860px) {
  .wcu-stat { flex-basis: 45%; border-bottom: 1px solid var(--border); }
  .wcu-filters input[type="search"], .wcu-filters select { width: 100%; }
}

/* u106-job-names: a one-off job shows its own name, then its job type in small print; "Show notes" = taller rows */
.wcu-kind { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.wcu-open { max-width: 100%; }
#wcuNotes.is-on { border-color: var(--accent); color: var(--accent-ink); }
.wcu-roomy .wcu-table td { white-space: normal; height: auto; padding-top: 7px; padding-bottom: 7px; line-height: 18px; vertical-align: top; }
.wcu-roomy .wcu-group td { vertical-align: middle; padding-top: 0; padding-bottom: 0; height: 32px; white-space: nowrap; }
.wcu-roomy .wcu-table td.wcu-c-chk { padding-top: 9px; }
.wcu-roomy .wcu-kind { display: block; margin-left: 0; }
.wcu-roomy .wcu-dgnote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 1px; }
.wcu-roomy .wcu-c-sug .wcu-why, .wcu-roomy .wcu-c-ans .wcu-why { display: block; }
.wcu-roomy .wcu-col-due { width: 13%; } .wcu-roomy .wcu-col-dg { width: 27%; } .wcu-roomy .wcu-col-sug { width: 16%; }
.wcu-roomy .wcu-c-due .wcu-when { display: block; margin-left: 0; }
/* u1143-work-cleanup-close-ui */
.wcu-closebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 10px; padding: 8px 12px; border: 1px dashed var(--border, #d8dce6); border-radius: 8px; font-size: 12.5px; color: var(--text-2, #3b4256); }
.wcu-closebar > span:first-child { flex: 1 1 320px; }
