.competitor-panel { background:#fff; padding:20px; min-width:0; }
.competitor-form { border-bottom:1px solid #dfe7ee; padding-bottom:16px; margin-bottom:18px; }
.competitor-controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:10px 0; }
.competitor-controls input:not([type=checkbox]) { flex:1 1 300px; min-width:0; }
.competitor-controls select { flex:1 1 220px; min-width:0; max-width:100%; }
.competitor-controls .danger-btn { flex:0 0 auto; }
.competitor-check { display:flex; align-items:center; gap:8px; }
.competitor-check input { width:18px; height:18px; }
.competitor-progress { margin:12px 0 16px; }
.competitor-progress-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:7px; color:#48627f; font-size:14px; }
#competitorProgressPercent { color:#06142b; font-size:16px; font-variant-numeric:tabular-nums; }
#competitorProgressEta { text-align:right; }
#competitorProgress { display:block; width:100%; height:14px; accent-color:#0799b4; }
#competitorStatus { white-space:pre-wrap; overflow-wrap:anywhere; }
.competitor-customer-layer { margin-top:16px; padding:16px 0; border-top:1px solid #dfe7ee; border-bottom:1px solid #dfe7ee; }
.competitor-customer-layer h2 { margin:0; color:#06142b; font-size:19px; }
.competitor-customer-layer > p { margin:7px 0 0; color:#48627f; }
#competitorReport { padding:16px 0; border-bottom:1px solid #dfe7ee; overflow-wrap:anywhere; }
#competitorReport:empty { display:none; }
#competitorReport p { white-space:pre-wrap; }
#competitorReport h3 { font-size:19px; margin:0 0 10px; }
.competitor-results { overflow:auto; margin-top:10px; }
.competitor-results table { border-collapse:collapse; width:100%; min-width:720px; table-layout:fixed; }
.competitor-results th { text-align:left; background:#f1f6f9; padding:12px; }
.competitor-results td { vertical-align:top; border-bottom:1px solid #e1e8ef; padding:12px; overflow-wrap:anywhere; white-space:pre-wrap; }
.competitor-results th:nth-child(2) { width:36%; }
.competitor-results blockquote { margin:10px 0; padding:8px; border-left:3px solid #9ecedb; background:#f4fafb; max-height:160px; overflow:auto; }
.competitor-results a { display:block; color:#007fb2; margin:6px 0; }
.competitor-error { color:#b94c28; }
.competitor-report-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.competitor-report-title { min-width:0; color:#06142b; font-size:22px; font-weight:850; overflow-wrap:anywhere; }
.competitor-confidence { flex:0 0 auto; border-radius:999px; padding:5px 9px; background:#e0f2fe; color:#075985; font-size:12px; font-weight:800; }
.competitor-confidence.high { background:#dcfce7; color:#166534; }
.competitor-confidence.insufficient { background:#fff1f2; color:#9f1239; }
.competitor-report-summary { color:#48627f; line-height:1.65; }
.competitor-report-section { margin-top:16px; padding-top:14px; border-top:1px solid #dfe7ee; }
.competitor-report-section h3 { margin:0 0 10px; font-size:16px; }
.competitor-report-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; border:1px solid #dfe7ee; border-radius:8px; overflow:hidden; }
.competitor-report-grid dt,.competitor-report-grid dd { min-width:0; margin:0; padding:9px 10px; border-bottom:1px solid #edf2f6; overflow-wrap:anywhere; }
.competitor-report-grid dt { background:#f6fafc; color:#48627f; font-size:12px; font-weight:750; }
.competitor-report-grid dd { color:#06142b; font-weight:700; }
.competitor-report-section details { display:grid; gap:6px; }
.competitor-report-section summary { cursor:pointer; color:#075985; font-weight:750; }
.competitor-report-claim { margin-top:10px; padding:10px; border:1px solid #dfe7ee; border-radius:8px; background:#f8fbfd; overflow-wrap:anywhere; }
.competitor-report-claim blockquote { margin:7px 0; color:#48627f; }
.competitor-customs-check { margin-top:10px; padding:12px; border:1px solid #dfe7ee; border-radius:9px; background:#f8fbfd; overflow-wrap:anywhere; }
.competitor-customs-check.found { border-color:#86efac; background:#f0fdf4; }
.competitor-customs-check.failed { border-color:#fda4af; background:#fff1f2; }
.competitor-customs-check-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.competitor-customs-status { flex:0 0 auto; border-radius:999px; padding:4px 8px; background:#e2e8f0; color:#334155; font-size:12px; font-weight:800; }
.competitor-customs-status.found { background:#dcfce7; color:#166534; }
.competitor-customs-status.not_found { background:#fef3c7; color:#92400e; }
.competitor-customs-status.failed { background:#ffe4e6; color:#9f1239; }
.competitor-customs-check p { margin:7px 0 0; color:#48627f; }
.competitor-customs-check blockquote { margin:8px 0; color:#334155; }
.competitor-customs-identity,.competitor-customs-record { margin-top:9px; padding-top:9px; border-top:1px solid #dfe7ee; }
.competitor-batch-all { grid-column:1 / -1; display:flex; align-items:center; gap:9px; color:#334155; font-weight:800; }
.competitor-batch-all input,.competitor-batch-list input { width:18px; height:18px; accent-color:#0ea5e9; }
.competitor-batch-list { max-height:42vh; overflow:auto; }
.competitor-batch-list li { display:block; }
.competitor-batch-list label { display:grid; grid-template-columns:20px minmax(0,1fr); align-items:start; gap:10px; cursor:pointer; }
.competitor-batch-list label span { display:grid; gap:3px; }
.competitor-batch-list label small { color:#64748b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:600px) { .competitor-panel { padding:12px; } .competitor-controls button,.competitor-controls .danger-btn { flex:1; } .competitor-progress-meta { align-items:flex-start; flex-direction:column; gap:3px; } #competitorProgressEta { text-align:left; } }
@media(max-width:600px) { .competitor-report-grid { grid-template-columns:1fr; } }
