.rewrite-bulk-toolbar{margin:16px 0;padding:16px;border:1px solid #c8d8f1;border-radius:10px;background:#f6f9ff}.rewrite-bulk-toolbar p{margin:6px 0 12px}.rewrite-bulk-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rewrite-bulk-toolbar [data-rewrite-bulk-count]{font-weight:700}.rewrite-bulk-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:85vh;overflow:auto;border:1px solid #c8d8f1;border-radius:12px;padding:20px}.rewrite-bulk-dialog form{display:grid;gap:12px}.rewrite-bulk-dialog textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px}.rewrite-bulk-preview{max-height:220px;overflow:auto;padding-left:22px}.rewrite-bulk-preview li{margin:6px 0;overflow-wrap:anywhere}[data-rewrite-bulk-cell]{width:44px!important;min-width:44px}[data-rewrite-bulk-cell] input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px;margin:0;vertical-align:middle}.rewrite-bulk-dialog [role=alert]{color:#a12718}@media(max-width:480px){.rewrite-bulk-buttons{align-items:stretch}.rewrite-bulk-buttons button{flex:1 1 100%;white-space:normal}.rewrite-bulk-dialog{padding:14px}}
/* Only the rewrite queue uses this compact layout. CSV column order is unchanged. */
#system-rewrite-root,#system-top-rewrite-root{padding-bottom:85px}
.rewrite-compact-table input[data-indeed-rewrite-done]{width:20px!important;height:20px!important;min-width:20px;margin:0}
#system-rewrite-root .rewrite-compact-table,#system-top-rewrite-root .rewrite-compact-table{width:100%;min-width:0!important;table-layout:fixed}
.rewrite-compact-table th,.rewrite-compact-table td{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:top;padding:10px 8px!important;box-sizing:border-box}
.rewrite-compact-table th:nth-child(1){width:4%}.rewrite-compact-table th:nth-child(2){width:20%}.rewrite-compact-table th:nth-child(3){width:25%}.rewrite-compact-table th:nth-child(4){width:10%}.rewrite-compact-table th:nth-child(5){width:15%}.rewrite-compact-table th:nth-child(6){width:12%}.rewrite-compact-table th:nth-child(7){width:14%}
.rewrite-cell-detail{margin-top:8px;overflow-wrap:anywhere}.rewrite-cell-detail small{display:block;color:#607089;font-size:11px;margin-bottom:2px}
.rewrite-compact-table td .button{display:block;max-width:100%;white-space:normal;padding:8px 10px;margin-bottom:6px}
.rewrite-bulk-floating{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:2000;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;background:white;border:1px solid #bccdeb;border-radius:12px;box-shadow:0 5px 24px #162e5033;max-width:calc(100vw - 24px);box-sizing:border-box}
.rewrite-bulk-floating[hidden]{display:none!important}.rewrite-bulk-floating [role=status]{white-space:nowrap;font-weight:700}
@media(max-width:900px){
 .rewrite-compact-table,.rewrite-compact-table tbody,.rewrite-compact-table tr,.rewrite-compact-table td{display:block!important;width:100%!important}
 .rewrite-compact-table thead{display:none}.rewrite-compact-table tr{margin-bottom:14px;border:1px solid #d9e2f0;border-radius:10px;background:#fff;padding:8px;box-sizing:border-box}
 .rewrite-compact-table td{border:0!important;padding:7px 8px!important}
 .rewrite-compact-table td::before{content:attr(data-label);display:block;font-size:11px;color:#607089;margin-bottom:4px}
 .rewrite-compact-table td[data-rewrite-bulk-cell]{width:100%!important;display:flex!important;align-items:center;gap:10px}
 .rewrite-compact-table td .button{display:inline-block;margin:0 6px 4px 0}
 .rewrite-bulk-floating{width:calc(100vw - 24px);flex-wrap:wrap;padding:9px}.rewrite-bulk-floating .button{padding:8px;font-size:12px}
}
