/* MFE-2627: ready view rewriter states (rw- classes; AI_REWRITE_EDITVIEW_UI only). Values from the MFE-2613 handoff. */

/* AC12: the table keeps the handoff's minimum width and scrolls sideways with
   the page below it, so the pinned header still sticks (a scrolling wrapper
   would unpin it). */
#readytable.rw-ready-table { min-width: 1100px; }

/* Rewrite Status follows New (handoff column width). The actions stay on one
   line (legacy-alignment .ready-table td.actions: nowrap), so the new column
   does not wrap them onto a second row; narrow screens scroll instead. */
#readytable .rw-ready-status-head { width: 12%; }
#readytable.rw-ready-table > tbody > tr > td:last-child > div { flex-wrap: nowrap !important; }

/* An assignment requiring human review: red row (legacy-alignment .ready-table tr.review-row). */
#readytable tr.rw-ready-review-row { background: var(--rw-review); color: #242424; }
#readytable tr.rw-ready-review-row a { color: #185a85; }
#readytable tr.rw-ready-review-row .rw-timer { color: #663309; }
#readytable tr.rw-ready-review-row .rw-ready-meta { color: #4b3436; }

/* Review icon and count, then the estimate (legacy-alignment .review-count, .timer, td .meta). */
#readytable .rw-review-count { display: block; color: #861e2b; font-size: 12px; margin-bottom: 3px; }
#readytable .rw-rewrite-status .rw-timer { font-size: 12px; line-height: 1.15; color: #713607; font-weight: 700; }
#readytable .rw-ready-meta { display: block; margin-top: 2px; font-size: 11px; color: #727272; }
/* Room for "2 Needs review" and "Taking longer than expected" on one line at narrow widths. */
#readytable td.rw-rewrite-status { min-width: 160px; }

/* Premium star beside the code; a margin, not a space, so Copy copies only the code. */
#readytable .rw-code-star { margin-left: .3em; }
