.cdq-page { max-width: 1800px; margin: 0 auto; color: var(--ui-text); }
.cdq-header, .cdq-section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.cdq-header h2 { margin: 5px 0 7px; font-size: 25px; font-weight: 700; }
.cdq-header p, .cdq-section-head p { margin: 5px 0; color: var(--ui-muted); font-size: 13px; line-height: 1.7; }
.cdq-eyebrow { color: var(--ui-primary); font-size: 12px; font-weight: 600; }
.cdq-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cdq-page h3 { margin: 0; font-size: 15px; font-weight: 650; }
.cdq-notice { margin: 0 0 16px; padding: 14px 18px; border: 1px solid #bfdbfe; border-radius: var(--ui-radius); background: #eff6ff; color: #1e40af; font-size: 13px; line-height: 1.7; }
.cdq-notice p { margin: 5px 0 0; }
.cdq-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cdq-filters label { display: flex; flex-direction: column; gap: 7px; flex: 1 1 160px; min-width: 0; color: var(--ui-muted); font-size: 12px; }
.cdq-filters label.cdq-search { flex: 2 1 240px; }
.cdq-filters .input { width: 100%; min-width: 0; }
.cdq-empty { padding: 38px 18px; text-align: center; color: var(--ui-muted); font-size: 14px; line-height: 1.8; }
.cdq-error { padding: 14px 18px; margin-bottom: 16px; border: 1px solid #fecaca; border-radius: var(--ui-radius); background: #fef2f2; color: #b91c1c; font-size: 13px; overflow-wrap: anywhere; }
.cdq-page a, .cdq-link { color: var(--ui-primary); }
.cdq-link { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; }
.cdq-link:disabled { color: var(--ui-muted); cursor: default; }
.cdq-page a:hover, .cdq-link:not(:disabled):hover { text-decoration: underline; }
.cdq-table { min-width: 1180px; }
.cdq-table th:first-child { width: 17%; }
.cdq-table th:nth-child(2) { width: 18%; }
.cdq-table th:nth-child(5) { width: 25%; }
.cdq-page td { font-size: 12px; vertical-align: top; }
.cdq-page td small { display: block; margin-top: 6px; color: var(--ui-muted); font-size: 11px; line-height: 1.6; }
.cdq-page code { display: block; margin-top: 7px; font-size: 11px; overflow-wrap: anywhere; white-space: normal; }
.cdq-badge { display: inline-block; margin: 0 0 4px 5px; padding: 3px 6px; border-radius: 4px; background: #eff6ff; color: #1d4ed8; font-size: 11px; }
.cdq-warning { background: #fffbeb; color: #92400e; }
.cdq-danger { background: #fef2f2; color: #b91c1c; }
.cdq-count { font-size: 22px; }
.cdq-quality-title { font-size: 12px; }
.cdq-reason { margin: 6px 0; color: var(--ui-muted); line-height: 1.7; }
.cdq-row-actions { display: flex; flex-direction: column; gap: 12px; white-space: nowrap; }
.cdq-dialog { width: min(860px, calc(100vw - 40px)); max-height: 85vh; padding: 22px; border: 1px solid var(--ui-border); border-radius: 12px; color: var(--ui-text); }
.cdq-dialog::backdrop { background: rgba(16, 24, 40, .4); }
.cdq-dialog .cdq-section-head { align-items: start; }
@media (max-width: 767px) {
  .cdq-page { padding: 56px 16px 20px; }
  .cdq-header, .cdq-section-head { align-items: start; flex-direction: column; }
  .cdq-filters label, .cdq-filters label.cdq-search { flex-basis: 100%; }
  .cdq-dialog { padding: 16px; }
}
