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

/* Legend, then "N applicants" with the live review/rewriting summary on the
   left and the Copy Paste View button on the right, above the cards
   (dist/legacy-alignment.css .legend, .review-summary). */
.rw-compact-head { padding: 0 2px; }
.rw-compact-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.rw-compact-summary-text { min-width: 0; }
.rw-compact-summary strong { font-size: 13px; }
.rw-compact-summary p { font-size: 12px; margin: 0; }
.rw-compact-summary-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rw-compact-summary-actions .rw-btn { font-size: 12px; min-height: 25px; }

/* Card body: the profile state colour comes from rewriter.css (rw-state-*). */

/* Review-required tutor names: red (rewriter.css rw-name-review) and bold. */
.rw-compact-name.rw-name-review { font-weight: 700; }

/* Premium tier tile: the star on the pale tile, never a gold background. */
.rw-tier-premium .rw-star { line-height: 20px; }

@media (max-width: 850px) {
    .rw-compact-summary { align-items: flex-start; }
}
