.crm-market{display:grid;gap:12px}.crm-market .crm-market-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.crm-market label{display:grid;gap:5px;font-weight:600}.crm-market input[type=text]{min-width:200px}.crm-market .crm-market-codes{max-height:140px;overflow:auto;white-space:pre-wrap;padding:10px;background:#f4f7fc;border-radius:8px}.crm-market-status{font-weight:700}.crm-market-state-partial,.crm-market-state-failed{color:#a33414}.crm-market-state-completed{color:#176c47}.crm-market .table-wrap{max-height:60vh;overflow:auto}.crm-market th{position:sticky;top:0;background:#edf2fa;z-index:2;color:#173254}.crm-market td{vertical-align:top}.crm-market-error{color:#a32424;white-space:pre-wrap}.crm-market-warning{padding:10px;border:1px solid #e8c984;background:#fff9eb;border-radius:8px}.crm-market a{overflow-wrap:anywhere}.crm-market .crm-market-source{padding:10px;border:1px solid #d8e1ef;border-radius:8px}.crm-market .crm-market-notice{font-size:12px;color:#52657d}.crm-market .crm-market-run-title{font-weight:600;cursor:pointer}.crm-market .crm-market-page{display:flex;gap:10px;align-items:center}.crm-market button[disabled]{opacity:.5}

.crm-market h3,.crm-market h4,.crm-market p{margin:0}.crm-market [role=alert]:empty{display:none}.crm-market .crm-market-controls{margin:8px 0}.crm-market-source+.crm-market-source{margin-top:10px}

.crm-market-brand-settings{margin:10px 0;display:grid;gap:8px}.crm-market-brand-settings>label,.crm-market-brand-choices label{display:flex;align-items:center;gap:6px}.crm-market-brand-choices{display:flex;flex-wrap:wrap;gap:8px;max-height:180px;overflow:auto}.crm-market-brand-choices[hidden]{display:none}.crm-market-brand-choices label{font-size:12px;border:1px solid #d8e1ef;border-radius:16px;padding:4px 10px;background:#f7faff}.crm-market-brand-choices input{width:auto}.crm-market-source>a{font-weight:700}

.crm-market label.crm-market-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:fit-content;min-width:0;gap:6px;flex:0 0 auto}.crm-market label.crm-market-checkbox input{width:14px;height:14px;margin:0;flex:0 0 auto}

.crm-market-add-source{border-color:#aabedd;background:#f8faff;display:grid;gap:10px}.crm-market-add-source input[type=url]{min-width:220px;max-width:100%}.crm-market-add-source .crm-market-controls>label{flex:1;min-width:220px}.crm-market-add-source button+button{margin-left:8px}.crm-market-add-source table{margin:10px 0}.crm-market-add-source .crm-market-checkbox{margin:10px 0}@media(max-width:600px){.crm-market-add-source .crm-market-controls>label{min-width:0;width:100%;flex:0 0 100%}.crm-market-add-source input[type=url]{min-width:0;width:100%}}
