/* Проверка клиентов (custcheck module) */
.main.cc-main { max-width: 1180px; padding-bottom: 28px; }
.cc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cc-head h1 { margin: 0; }
.cc-head .page-title { display: flex; align-items: center; gap: 10px; }
.cc-muted { color: var(--muted); }
.cc-small { font-size: 12px; }
.cc-runbox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.cc-runline { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.cc-run-error { color: var(--danger); font-weight: 600; }
.cc-run-going { color: var(--primary-dark); font-weight: 600; }
.cc-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-tabs { max-width: 100%; overflow-x: auto; margin-bottom: 0; }
.cc-tabs button { white-space: nowrap; flex: none; }
.cc-tabs button .seg-count { background: var(--surface-2); color: var(--text); }
.cc-tabs button.active .seg-count { background: rgba(255, 255, 255, .25); color: #fff; }
.cc-search { width: 240px; max-width: 100%; }
.cc-hint { font-size: 13px; color: var(--muted); margin: 10px 0 12px; max-width: 900px; line-height: 1.5; }
.cc-list { display: flex; flex-direction: column; gap: 10px; }
.cc-empty { padding: 24px 20px; color: var(--muted); }
.cc-selhead, .cc-subhead { font-size: 13px; font-weight: 700; color: var(--muted); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .03em; }

.cc-card, .cc-pair, .cc-black { padding: 12px 16px; border-left: 4px solid var(--border); }
.cc-card.cc-l-red, .cc-pair.cc-l-red { border-left-color: var(--danger); }
.cc-card.cc-l-yellow, .cc-pair.cc-l-yellow { border-left-color: #f2a516; }
.cc-card.cc-l-green { border-left-color: #2fa35d; }
.cc-card.cc-selected { box-shadow: 0 0 0 2px var(--primary), var(--shadow); }
.cc-card-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cc-name { font-weight: 700; font-size: 15px; color: var(--text); }
a.cc-name { text-decoration: none; }
a.cc-name:hover { text-decoration: underline; }
.cc-email { color: var(--muted); font-size: 13px; word-break: break-all; }
.cc-id { color: var(--muted); font-size: 12px; }
.cc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: #b8bdc9; position: relative; top: 1px; }
.cc-dot-red { background: var(--danger); }
.cc-dot-yellow { background: #f2a516; }
.cc-dot-green { background: #2fa35d; }
.cc-chip { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.cc-st-1 { background: #edf2ff; color: var(--primary-dark); }
.cc-st-2 { background: #e6f6ec; color: #1f8a4c; }
.cc-st-3, .cc-st-del { background: #fdeeee; color: var(--danger); }
.cc-level { font-size: 12px; font-weight: 700; margin-left: auto; }
.cc-lv-red { color: var(--danger); }
.cc-lv-yellow { color: #b07400; }
.cc-lv-green { color: #1f8a4c; }
.cc-lv-grey { color: var(--muted); font-weight: 600; }
.cc-badline { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--danger); }
.cc-facts { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 6px; font-size: 13px; }
.cc-ok { color: #1f8a4c; }
.cc-warn { color: #b07400; }
.cc-bad { color: var(--danger); font-weight: 600; }
.cc-reasons { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.cc-reason { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.45; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); }
.cc-reason .cc-dot { margin-top: 4px; top: 0; }
.cc-r-red { background: #fdeeee; }
.cc-r-yellow { background: #fdf6e3; }
.cc-reason-text { flex: 1; min-width: 0; }
.cc-site-link { text-decoration: none; font-weight: 700; }
.cc-notdup { flex: none; }
.cc-web { margin-top: 8px; font-size: 13px; border-top: 1px dashed var(--border); padding-top: 8px; }
.cc-web-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.cc-web-title { font-weight: 700; }
.cc-verdict { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); }
.cc-v-real { background: #e6f6ec; color: #1f8a4c; }
.cc-v-probably { background: #eef8f1; color: #2b8a52; }
.cc-v-unclear { background: #f1f2f5; color: #545a6b; }
.cc-v-suspicious { background: #fdeeee; color: var(--danger); }
.cc-web-summary { flex: 1 1 320px; min-width: 0; line-height: 1.45; }
.cc-web-advice { margin-top: 4px; font-style: italic; color: #3d4356; }
.cc-web-more { margin-top: 8px; padding: 8px 12px; background: var(--surface-2); border-radius: 8px; }
.cc-web-sec + .cc-web-sec { margin-top: 6px; }
.cc-web-sec ul { margin: 4px 0 0; padding-left: 18px; }
.cc-web-sec li { margin: 2px 0; line-height: 1.4; word-break: break-word; }
.cc-web-foot { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-note { margin-top: 8px; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: #fffbe8; white-space: pre-wrap; }
.cc-note-input { width: 100%; min-height: 90px; margin-bottom: 10px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.btn.cc-danger { color: var(--danger); border-color: #f1c4c6; }
.btn.cc-danger:hover { background: #fdeeee; }

.cc-pair-people { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: start; }
.cc-pair-arrow { font-size: 20px; color: var(--muted); padding-top: 18px; }
.cc-person { padding: 8px 10px; border-radius: 8px; background: var(--surface-2); min-width: 0; }
.cc-person-bad { background: #fdeeee; }
.cc-person-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 2px; }
.cc-pair-why { margin-top: 8px; font-size: 13px; line-height: 1.45; }

.cc-add { padding: 12px 16px; margin-bottom: 12px; }
.cc-add-title { font-weight: 700; margin-bottom: 8px; }
.cc-add-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.cc-add-row .field:first-child { width: 220px; }
.cc-add-row .field:nth-child(2) { flex: 1 1 280px; }
.cc-black { border-left-color: var(--danger); }
.cc-exception { border-left-color: #2fa35d; }

.cc-settings { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.cc-settings .field input[type=number] { width: 120px; }
.cc-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }

@media (max-width: 640px) {
  .cc-pair-people { grid-template-columns: minmax(0, 1fr); }
  .cc-pair-arrow { display: none; }
  .cc-level { margin-left: 0; width: 100%; }
  .cc-search { width: 100%; }
}
