/* Кнопка «i» и попап методики карточки */
.v2-dash-widget__title-wrap{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  min-width:0;
}
.v2-dash-widget__title-wrap > .card-title,
.v2-dash-widget__title-wrap > .v2-dash-widget__title{
  min-width:0;
}
.v2-card-info-btn{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin:0;
  padding:0;
  border:1px solid color-mix(in srgb, var(--text-muted,#888) 70%, transparent);
  border-radius:50%;
  background:transparent;
  color:var(--text-muted,#888);
  font:inherit;
  line-height:1;
  cursor:pointer;
  vertical-align:middle;
  transition:border-color .15s, color .15s, background .15s;
}
.v2-card-info-btn:hover,
.v2-card-info-btn:focus-visible{
  border-color:var(--accent,var(--orange,#df7f25));
  color:var(--accent-2,#ffad52);
  background:color-mix(in srgb, var(--accent,#df7f25) 12%, transparent);
  outline:none;
}
.v2-card-info-btn__i{
  font-size:10px;
  font-weight:700;
  font-style:italic;
  line-height:1;
  transform:translateY(-0.5px);
}
.v2-dash-widget__summary .v2-card-info-btn,
.v2-dash-widget__head .v2-card-info-btn{
  pointer-events:auto;
}
details.v2-dash-widget > .v2-dash-widget__summary .v2-card-info-btn{
  margin-left:2px;
}

.v2-card-info-popover{
  position:fixed;
  z-index:var(--lop-z-open, 2500);
  max-width:min(340px, calc(100vw - 24px));
  pointer-events:none;
}
.v2-card-info-popover:not([hidden]){
  pointer-events:auto;
}
.v2-card-info-popover__panel{
  position:relative;
  padding:12px 14px 10px;
  border-radius:10px;
  border:1px solid color-mix(in srgb, var(--line,#555) 80%, #333);
  background:var(--panel-elevated, #3a3a3a);
  color:var(--text,#eee);
  box-shadow:0 8px 28px rgba(0,0,0,.45);
  font-size:0.8rem;
  line-height:1.45;
}
html.theme-dark .v2-card-info-popover__panel{
  background:#3d3d3d;
  border-color:#555;
}
.v2-card-info-popover__panel::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;
  width:12px;
  height:12px;
  margin-left:-6px;
  background:inherit;
  border-right:1px solid color-mix(in srgb, var(--line,#555) 80%, #333);
  border-bottom:1px solid color-mix(in srgb, var(--line,#555) 80%, #333);
  transform:rotate(45deg);
}
.v2-card-info-popover__close{
  position:absolute;
  top:4px;
  right:6px;
  width:22px;
  height:22px;
  padding:0;
  border:none;
  border-radius:4px;
  background:transparent;
  color:var(--text-muted,#aaa);
  font-size:1.1rem;
  line-height:1;
  cursor:pointer;
}
.v2-card-info-popover__close:hover{
  color:var(--text,#fff);
  background:rgba(255,255,255,.08);
}
.v2-card-info-popover__body{
  padding-right:14px;
}
.v2-card-info-popover__body p{
  margin:0 0 8px;
}
.v2-card-info-popover__body p:last-child{
  margin-bottom:0;
}
.v2-card-info-popover__body ul{
  margin:0 0 8px;
  padding-left:1.1rem;
}
.v2-card-info-popover__body li{
  margin:0 0 4px;
}
.v2-card-info-popover__body strong{
  font-weight:600;
}
.v2-card-info-foot{
  margin-top:8px !important;
  font-size:0.72rem;
  color:var(--text-muted,#999) !important;
  opacity:0.92;
}

/* Заголовки фильтров-чипов */
.v2-filter-chip-card .v2-dash-widget__head{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
}
.v2-filter-chip-card .v2-dash-widget__head .card-title{
  flex:1 1 auto;
  min-width:0;
}
.v2-anl-card .v2-anl-card-title{
  display:inline;
}
.v2-anl-card .v2-dash-widget__title-wrap{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
}
