/* «Отчёты», шаг 4б.1: вкладка «Этапы воронки» в «Настройках» (только admin). Тонкие линии вместо теней, радиус 12. */
.stg-wrap { max-width: 720px; }
.stg-hint { font-size: 12.5px; color: var(--muted); margin: -8px 0 14px; line-height: 1.5; }
.stg-list { border: 1px solid #d6d6d6; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.55); }
.stg-row { display: grid; grid-template-columns: 24px 14px minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  padding: 8px 12px; border-top: 1px solid #e5e5e5; min-height: 46px; }
.stg-list > .stg-row:first-child { border-top: 0; }
.stg-sys { color: var(--muted); background: rgba(0,0,0,.015); }
.stg-sys .stg-name { color: var(--text, #1d1d1f); font-weight: 600; }
.stg-handle { font-size: 12px; text-align: center; color: #94a3b8; user-select: none; }
.stg-grip { cursor: grab; letter-spacing: -2px; font-size: 14px; }
.stg-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.stg-dot-btn { border: 0; padding: 0; cursor: pointer; box-shadow: 0 0 0 3px transparent; }
.stg-dot-btn:hover, .stg-dot-btn:focus-visible { box-shadow: 0 0 0 3px rgba(0,0,0,.12); outline: none; }
.stg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.stg-name-input { height: 32px; padding: 4px 10px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.stg-count { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stg-tag { font-size: 11px; color: #94a3b8; white-space: nowrap; }
.stg-acts { display: inline-flex; gap: 4px; }
.stg-btn { width: 30px; height: 30px; border: 1px solid #d6d6d6; border-radius: 8px; background: #fff; cursor: pointer;
  font-size: 13px; line-height: 1; color: #334155; }
.stg-btn:hover:not(:disabled) { background: #f1f5f9; }
.stg-btn:disabled { opacity: .35; cursor: default; }
.stg-del:hover { color: var(--c-danger); border-color: #fecdd3; }
.stg-add-row { padding: 10px 12px; border-top: 1px solid #e5e5e5; }
.stg-sep { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 18px 0 8px; }
.stg-dragging { opacity: .45; }
.stg-over { box-shadow: inset 0 2px 0 #0066cc; }
.stg-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.stg-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stg-color { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #d6d6d6; border-radius: 10px; cursor: pointer; font-size: 13px; }
.stg-color input { margin: 0; }
.stg-color:has(input:checked) { border-color: #0066cc; background: rgba(0,102,204,.06); }
.stg-move { margin: 10px 0 8px; width: 100%; }
.stg-menu-foot { justify-content: space-between; margin-top: 16px; }
@media (max-width: 768px) {
  .stg-wrap { padding: 18px 14px; }
  .stg-row { grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 8px; padding: 8px 10px; }
  .stg-sys .stg-handle { display: none; }
  .stg-sys { grid-template-columns: 14px minmax(0, 1fr) auto auto; }
  .stg-btn { width: 36px; height: 36px; }
  .stg-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stg-tag { display: none; }
}
