/* Продажи из CRM и телефонии → офлайн-конверсии Google Ads, реальный CPA и ROMI. */
.x-crm-bar { margin-bottom: 12px; }
.x-crm-bar .chip, .x-crm-conn .chip { font-variant-numeric: tabular-nums; }
.x-crm-empty { text-align: center; }
.x-crm-empty .small { max-width: 640px; }
.x-crm-err, .x-crm-bar + .callout, .x-crm-hint { margin-bottom: 12px; }
.x-crm-hint .btn { margin-left: 8px; vertical-align: middle; }
.x-crm-note { margin: -4px 0 16px; max-width: 960px; }
.rp-tile.x-crm-bad b { color: var(--critical); }

.x-crm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; margin-bottom: 16px; }
@media (max-width: 960px) { .x-crm-grid { grid-template-columns: 1fr; } }

.x-crm-funnel { width: 100%; max-width: 460px; height: auto; display: block; }
.x-crm-funnel rect { fill: var(--brand); }
.x-crm-funnel rect.f0 { opacity: .45; }
.x-crm-funnel rect.f1 { opacity: .7; }
.x-crm-funnel text { font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.x-crm-funnel text.in { fill: var(--surface); font-weight: 600; }
.x-crm-funnel g:hover rect { opacity: 1; }

.x-crm-daily { width: 100%; height: auto; display: block; }
.x-crm-daily text { font-size: 10.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-crm-daily .grid { stroke: var(--line); stroke-width: 1; }
.x-crm-daily .xb { fill: var(--brand); }
.x-crm-daily .xl { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .8; }
.x-crm-daily .hit { fill: transparent; }
.x-crm-daily g:hover .hit { fill: var(--brand-soft); opacity: .5; }
.x-crm-key { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.x-crm-key i { display: inline-block; width: 14px; height: 0; }
.x-crm-key i.xb { height: 8px; background: var(--brand); border-radius: 2px; }
.x-crm-key i.xl { border-top: 2px dashed var(--ink-3); }

.x-crm-unk td { color: var(--ink-2); }
.x-crm-tbl tfoot td { border-top: 1px solid var(--line-2); }
.x-crm-dim td { opacity: .55; }

.x-crm-up { padding: 0; }
.x-crm-up > summary { cursor: pointer; list-style: none; gap: 10px; }
.x-crm-up > summary::-webkit-details-marker { display: none; }
.x-crm-up .table-wrap { margin: 0 12px 12px; }

.x-crm-conn .panel-body > .row { gap: 8px; }
.x-crm-form { border-top: 1px solid var(--line); padding-top: 12px; }
.x-crm-form[data-new] { border-top: 0; padding-top: 0; }
.x-crm-form select.input { min-width: 0; }
.x-crm-pre { background: var(--sidebar); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
  font-size: 12px; overflow-x: auto; white-space: pre; }
.x-crm-conn code, .x-crm-form code { font-size: 12px; background: var(--sidebar); padding: 1px 4px; border-radius: 4px; word-break: break-word; }
.x-crm-ads .grid-2, .x-crm-form .grid-2 { align-items: start; }
.x-crm-ads .field, .x-crm-form .field { align-content: start; }
