/* Compact sync queue. No global table, form or chat overrides. */
.sync-page {min-width:0; width:100%;}
.sync-heading {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:10px;}
.sync-heading h1 {font-size:22px; line-height:1.25; margin:0; overflow-wrap:anywhere;}
.sync-view-actions,.sync-pagination {display:flex; align-items:center; gap:6px; flex-wrap:wrap;}
.sync-job-list {display:grid; gap:6px;}
body.crm-compact .sync-page .sync-job-card {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 12px; padding:9px 12px; margin:0; min-width:0; overflow-wrap:anywhere;}
.sync-job-main {min-width:0;}
.sync-job-title {display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 9px; min-width:0; line-height:1.35;}
.sync-job-title strong {font-size:14px; overflow-wrap:anywhere;}
.sync-job-target {font-size:12px; color:var(--crm-muted,#536277);}
.sync-job-meta {display:flex; flex-wrap:wrap; gap:2px 12px; margin-top:2px; font-size:12px; line-height:1.35; color:var(--crm-muted,#536277);}
.sync-job-actions {display:flex; align-items:center; justify-content:flex-end; gap:6px; min-width:0;}
.sync-job-actions form {display:flex; min-width:0; margin:0;}
body.crm-compact .sync-page .btn {display:inline-flex; align-items:center; justify-content:center; line-height:1.2; text-align:center; min-height:32px; padding:6px 10px; white-space:normal; overflow-wrap:anywhere;}
.sync-job-error,.sync-job-details {grid-column:1/-1; font-size:12px; line-height:1.4; margin:0; min-width:0; overflow-wrap:anywhere;}
.sync-job-error {color:var(--crm-muted,#536277);}
.sync-job-details summary {cursor:pointer; width:fit-content; max-width:100%; min-height:26px; padding:4px 0; color:var(--crm-muted,#536277);}
.sync-job-details summary:focus-visible {outline:2px solid var(--crm-blue,#1f58b5); outline-offset:2px; border-radius:3px;}
.sync-job-details ul {margin:3px 0 0; padding-left:18px;}
.sync-pagination {margin-top:10px;}
@media(max-width:900px) {
 .sync-heading h1 {font-size:20px;}
 body.crm-compact .sync-page .sync-job-card {padding:8px 10px;}
 body.crm-compact .sync-page .btn {min-height:40px; font-size:12px; padding:7px 9px;}
}
@media(max-width:600px) {
 .sync-heading {align-items:flex-start;}
 .sync-view-actions {width:100%;}
 .sync-view-actions .btn {flex:1;}
 body.crm-compact .sync-page .sync-job-card {grid-template-columns:minmax(0,1fr); gap:5px;}
 .sync-job-actions {justify-self:end; width:auto; max-width:100%;}
 .sync-job-actions form:first-child:not(:last-child) {flex:1 1 auto;}
 .sync-job-actions .sync-delete-form {flex:0 0 auto;}
 body.crm-compact .sync-page .sync-job-card.sync-job-single-action {grid-template-columns:minmax(0,1fr) auto;}
 .sync-job-error,.sync-job-details {grid-column:1/-1;}
}
@media(pointer:coarse) {
 body.crm-compact .sync-page .btn {min-height:40px;}
 .sync-job-details summary {min-height:32px;}
}
