/* Раздел «Управление». Компоненты — из crm.css (crm-item, crm-status, crm-btn, hub-chip). */
.ctl-detail { padding: 16px 18px 20px; border-bottom: 1px solid var(--line); background: #fafbfd; display: grid; gap: 20px; }
.ctl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ctl-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ctl-table td { padding: 10px 8px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.ctl-table td small { display: block; color: var(--muted); font-size: 11px; }
.ctl-table code { font-size: 13px; word-break: break-all; }
.ctl-table input.ctl-role, .ctl-table input.ctl-newval { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; min-height: 40px; width: 100%; max-width: 260px; }
.ctl-table input[type=checkbox] { width: 18px; height: 18px; }
.ctl-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ctl-secret { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 18px; }
.ctl-secret code { font-size: 18px; letter-spacing: .04em; padding: 10px 14px; background: #f1f2f6; border-radius: 10px; user-select: all; }
.ctl-note { color: var(--muted); font-size: 12px; padding: 0 18px 10px; }
@media (max-width: 640px) {
  .ctl-table thead { display: none; }
  .ctl-table tr { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ctl-table td { border: none; padding: 2px 0; }
  .ctl-table input.ctl-role, .ctl-table input.ctl-newval { max-width: none; }
}

/* SEO-аудит (app/seoaudit.php) */
.ctl-seo-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.ctl-seo-head h4 { margin: 0 0 2px; }
.ctl-seo-head > div:nth-child(2) { flex: 1; min-width: 200px; }
.ctl-seo-score { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font-size: 22px; font-weight: 800; color: #fff; }
.ctl-seo-good { background: #1f9d55; } .ctl-seo-mid { background: #d98b0b; } .ctl-seo-bad { background: #d23c3c; }
.ctl-seo-lead { margin: 0; color: var(--muted); font-size: 13px; }
.ctl-seo-trend { font-weight: 700; color: var(--text, #222b3b); }
.ctl-seo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ctl-seo-list li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.ctl-seo-list li b { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ctl-seo-list li small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; word-break: break-all; }
.ctl-seo-n { font-style: normal; color: var(--muted); font-size: 12px; }
.ctl-seo-list a { color: inherit; }
.ctl-seo-error b { color: #d23c3c; } .ctl-seo-warn b { color: #b87204; } .ctl-seo-info b { color: var(--muted); }
@media (max-width: 640px) { .ctl-seo-list li { grid-template-columns: 1fr; gap: 2px; } }
