.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--chip-bg);
  flex-shrink: 0;
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.view-toggle button svg { display: block; }
.view-toggle button:hover { color: var(--text); }
.view-toggle button.active {
  background: var(--accent);
  color: #fff;
}
.list-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--chip-bg);
  flex-shrink: 0;
}
.list-group-toggle button {
  padding: 3px 9px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.list-group-toggle button:hover { color: var(--text); }
.list-group-toggle button.active {
  background: var(--surface3);
  color: var(--text);
}
.board.board--list {
  display: block;
  height: 100%;
  overflow: hidden;
}
.list-view {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 12px 24px;
}
.list-view-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.list-view-toolbar {
  display: flex;
  align-items: center;
  padding: 2px 2px 10px;
}
.list-add-task-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  transition: background .15s var(--ease), transform .1s var(--ease);
}
.list-add-task-btn:hover  { background: var(--accent-hover); }
.list-add-task-btn:active { transform: scale(.98); }
.list-add-task-btn svg { display: block; }
.list-section {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--lv-col-color, var(--accent));
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.list-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: var(--surface-elev);
  border-bottom: 1px solid var(--border);
  text-align: left;
  transition: background .12s var(--ease);
}
.list-section-head:hover { background: var(--surface2); }
.list-section.collapsed .list-section-head { border-bottom-color: transparent; }
.list-section-caret {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: transform .15s var(--ease);
}
.list-section:not(.collapsed) .list-section-caret { transform: rotate(90deg); }
.list-section-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.list-section-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
}
.list-section-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--chip-bg);
  border-radius: 10px;
  padding: 1px 8px;
  margin-left: auto;
}
.list-section-add {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.list-section-add:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.list-section-body { display: block; }
.list-section.collapsed .list-section-body { display: none; }
.list-section-empty {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.list-view-rows {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 9px;
  cursor: pointer;
  position: relative;
  transition: background .12s var(--ease);
  min-height: 38px;
}
.list-row-wrap {
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--lv-row-color, transparent);
}
.list-section-body .list-row-wrap:last-child,
.list-view-rows .list-row-wrap:last-child { border-bottom: none; }
.list-row:hover { background: var(--surface-elev); }
.list-row--expanded { background: var(--surface-elev); }
.list-row--colored {
  background: rgba(var(--task-bg-rgb), var(--task-bg-alpha, .90));
}
.list-row--colored:hover {
  background: rgba(var(--task-bg-rgb), var(--task-bg-alpha-hover, .96));
}
.list-row--colored.list-row--expanded {
  background: rgba(var(--task-bg-rgb), var(--task-bg-alpha, .90));
}
.list-row--colored .list-row-title { color: var(--task-title-color, #fff); }
.list-row--colored .list-row-title.done { color: var(--task-title-color, #fff); opacity: .7; }
.list-row--colored .list-row-deadline,
.list-row--colored .list-row-subs,
.list-row--colored .list-row-assignee-name {
  color: var(--task-title-color, #fff);
  opacity: .92;
}
.list-row--colored .list-row-deadline svg,
.list-row--colored .list-row-subs svg { color: var(--task-title-color, #fff); opacity: .8; }
.list-row--colored .list-row-check { border-color: var(--task-title-color, #fff); }
.list-row--colored .list-row-expand { color: var(--task-title-color, #fff); opacity: .8; }
.list-row--pinned { box-shadow: inset 2px 0 0 var(--warning); }
.list-row--unseen::after,
.list-row--updated::after {
  content: "";
  position: absolute;
  top: 6px; right: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
}
.list-row--unseen::after  { background: var(--danger); }
.list-row--updated::after { background: var(--warning); }
.list-row--unseen::after,
.list-row--updated::after {
  transition: opacity .12s var(--ease);
}
.list-row--unseen:hover::after,
.list-row--updated:hover::after {
  opacity: 0;
  pointer-events: none;
}
.list-row-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  color: transparent;
  background: transparent;
  transition: background .12s, border-color .12s, color .12s;
}
.list-row-check:hover { border-color: var(--accent); }
.list-row-check.done {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.list-row-check.disabled {
  opacity: .5;
  cursor: not-allowed;
}
.list-row-col-pill {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  border: 1px solid;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .01em;
}
.list-row-main {
  flex: 1;
  min-width: 0;
  display: block;
}
.list-row-title {
  /* Инлайн, чтобы следующие за ним карандаш/маркеры прижимались к концу текста (а не к правому краю flex-зоны). */
  display: inline;
  font-size: 13px;
  color: var(--text);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.5;
}
.list-row-title.done {
  text-decoration: line-through;
  color: var(--text-muted);
}
.list-row-title b { font-weight: 700; }
.list-row-title i { font-style: italic; }
.list-row-marks {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.list-row-mark { font-size: 11px; line-height: 1; opacity: .85; }
.list-row-tags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.list-row-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 150px;
  padding: 2px 9px;
  border-radius: 11px;
  border: 1px solid currentColor;   
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-row-tag--type { font-weight: 800; }
.list-row-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* ── Мета справа ────────────────────────────────────────────────── */
.list-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.list-row-prio {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid;
  background: transparent;
  white-space: nowrap;
}
.list-row-deadline,
.list-row-subs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.list-row-deadline svg,
.list-row-subs svg { color: var(--text-muted); }
.list-row-deadline.overdue {
  color: var(--danger);
}
.list-row-deadline.overdue svg { color: var(--danger); }
.list-row-subs.complete { color: var(--success); }
.list-row-subs.complete svg { color: var(--success); }
.list-row-assignee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 160px;
}
.list-row-assignee-name {
  font-size: 11.5px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-row-expand {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.list-row-expand:hover { background: var(--chip-bg); color: var(--text); }
.list-row-expand svg { transition: transform .15s var(--ease); }
.list-row-expand.open svg { transform: rotate(90deg); }
.list-row-detail {
  padding: 6px 14px 12px 26px;
  background: var(--surface-elev);
  border-top: 1px dashed var(--border);
}
.lv-detail-sec { margin-top: 8px; }
.lv-detail-sec:first-child { margin-top: 2px; }
.lv-detail-head {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.lv-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}
.lv-detail-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  color: transparent;
  background: transparent;
  transition: background .12s, border-color .12s, color .12s;
}
.lv-detail-check:hover { border-color: var(--accent); }
.lv-detail-check.done {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lv-detail-title {
  font-size: 12.5px;
  color: var(--text);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.4;
  min-width: 0;
}
.lv-detail-title.done {
  text-decoration: line-through;
  color: var(--text-muted);
}
body:not(.theme-dark) .board--list .list-view,
body:not(.theme-dark) .board--list .list-section,
body:not(.theme-dark) .board--list .list-view-rows,
body:not(.theme-dark) .board--list .list-row-detail {
  --surface:        #ffffff;
  --surface-elev:   #f9fafb;
  --surface2:       #f3f4f6;
  --surface3:       #e9edf2;
  --text:           #000000;
  --text-secondary: #1f2937;
  --text-muted:     #4b5563;
  --border:         #cbd5e1;
  --border-strong:  #94a3b8;
  --chip-bg:        #f1f5f9;
  --chip-hover:     #e2e8f0;
  --accent-soft:    rgba(15, 108, 189, .12);
  color: var(--text);
}
body:not(.theme-dark) .board--list .list-section,
body:not(.theme-dark) .board--list .list-view-rows {
  background: #ffffff;
}
body:not(.theme-dark) .board--list .list-section-head { background: #f9fafb; }
body:not(.theme-dark) .board--list .list-row:hover,
body:not(.theme-dark) .board--list .list-row--expanded { background: #f6f8fa; }
body:not(.theme-dark) .board--list .list-row-detail {
  background: #f9fafb;
}
/* ── Адаптив: на узких экранах прячем имя исполнителя и метаиконки, оставляя самое важное (заголовок + чек + дедлайн). ────────────── */
@media (max-width: 720px) {
  .list-row-assignee-name { display: none; }
  .list-row-subs { display: none; }
  .list-row-tags { display: none; }
  .list-view { padding-left: 6px; padding-right: 6px; }
}
.list-row--colored .list-row-tag {
  background: var(--surface-elev) !important;
  border-color: currentColor;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}
.list-row--colored .list-row-tag--type {
  background: var(--surface-elev) !important;
}
.list-row--colored .list-row-prio {
  background: var(--surface-elev);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}
.list-row--colored .list-row-deadline.overdue,
.list-row--colored .list-row-deadline.overdue svg {
  color: var(--danger);
  opacity: 1;
}
body:not(.theme-dark) .board--list .list-row--colored .list-row-tag,
body:not(.theme-dark) .board--list .list-row--colored .list-row-tag--type,
body:not(.theme-dark) .board--list .list-row--colored .list-row-prio {
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.list-row-tag--clickable,
.list-row-prio--clickable { cursor: pointer; }
.list-row-tag--clickable:hover,
.list-row-prio--clickable:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.list-row-col-pill {
  border-style: solid;
}
.list-row-col-pill--menu { cursor: pointer; }
.list-row-col-pill--menu:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.list-row--colored .list-row-col-pill {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .28);
}
.list-section-menu {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.list-section-menu:hover {
  background: var(--chip-bg);
  color: var(--text);
}
.list-section-menu svg { display: block; }
.list-row-qa.task-stickers-add,
.list-row-menu.task-card-menu-btn {
  opacity: 0;
  visibility: visible;
  pointer-events: auto;
  flex-shrink: 0;
  transition: opacity .12s var(--ease), background .12s var(--ease),
              color .12s var(--ease), border-color .12s var(--ease), transform .1s var(--ease);
}
.list-row-qa.task-stickers-add {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.list-row-qa.task-stickers-add:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}
.list-row-menu.task-card-menu-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.list-row-menu.task-card-menu-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: scale(1.06);
}
.list-row-qa.task-stickers-add svg,
.list-row-menu.task-card-menu-btn svg { display: block; }
.list-row:hover .list-row-qa.task-stickers-add,
.list-row:hover .list-row-menu.task-card-menu-btn,
.list-row--expanded .list-row-qa.task-stickers-add,
.list-row--expanded .list-row-menu.task-card-menu-btn,
.list-row-qa.task-stickers-add.is-active {
  opacity: 1;
}
@media (hover: none) {
  .list-row-qa.task-stickers-add,
  .list-row-menu.task-card-menu-btn { opacity: 1; }
}
/* На цветной строке ink кнопок — авто-контраст, рамка «+» тоже. ВАЖНО: opacity здесь НЕ трогаем — кнопки должны проявляться только при наведении на строку (как на обычных строках), а не висеть постоянно. */
.list-row--colored .list-row-qa.task-stickers-add {
  color: var(--task-title-color, #fff);
  border-color: var(--task-title-color, #fff);
}
.list-row--colored .list-row-menu.task-card-menu-btn {
  color: var(--task-title-color, #fff);
}
/* ── Fix #3c: два меню на подзадаче в раскрытой панели ────────────── Строка деталей: чекбокс + заголовок (flex:1) + действия справа. */
.lv-detail-row {  }
.lv-detail-title { flex: 1; }
.lv-detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .12s var(--ease);
}
.lv-detail-row:hover .lv-detail-actions,
.lv-detail-actions:focus-within { opacity: 1; }
@media (hover: none) { .lv-detail-actions { opacity: 1; } }
.lv-detail-qa.task-stickers-add,
.lv-detail-menu.task-card-menu-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s var(--ease), color .12s var(--ease),
              border-color .12s var(--ease), transform .1s var(--ease);
}
.lv-detail-qa.task-stickers-add {
  width: 21px;
  height: 21px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  line-height: 0;
}
.lv-detail-qa.task-stickers-add:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.lv-detail-menu.task-card-menu-btn {
  width: 21px;
  height: 21px;
  border-radius: 5px;
  background: transparent;
  color: var(--text-secondary);
}
.lv-detail-menu.task-card-menu-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: scale(1.08);
}
.lv-detail-qa.task-stickers-add svg,
.lv-detail-menu.task-card-menu-btn svg { display: block; }
@media (max-width: 720px) {
  .lv-detail-actions { display: none; }
}
.list-row-wrap > .subtask-add-form {
  padding: 6px 12px 10px 40px;
  background: var(--surface-elev);
  border-top: 1px dashed var(--border);
}
body:not(.theme-dark) .board--list .list-row-wrap > .subtask-add-form {
  background: #f9fafb;
}
#list-group-toggle { display: none !important; }
.list-row-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Во всю ширину строки: те же боковые отступы, что и у самой строки (.list-row: слева 9px, справа 12px), без глубокого отступа под заголовок — полоска тянется на всю ширину блока. */
  padding: 0 12px 8px 9px;
}
.list-row-wrap--open .list-row-progress { padding-bottom: 8px; }
.list-progress-bar {
  margin-top: 0;
  padding: 3px 8px;
}
.list-progress-bar .spb-track,
.list-progress-bar .clpb-track { height: 5px; }
.list-progress-bar .lpb-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.subtask-progress-bar--done.list-progress-bar .lpb-icon { color: var(--success); }
.list-row--colored .list-progress-bar {
  background: var(--surface-elev);
  border-color: rgba(0, 0, 0, .25);
}
body:not(.theme-dark) .board--list .list-row--colored .list-progress-bar {
  background: #ffffff;
  border-color: rgba(0, 0, 0, .12);
}
.list-progress-bar:hover {
  background: var(--chip-bg);
  border-color: var(--border-strong);
}
.list-row--colored .list-progress-bar:hover {
  filter: brightness(1.04);
}
@media (max-width: 720px) {
  .list-row-progress { padding-left: 9px; }
}
.list-row-rename.task-rename-btn {
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
  margin-left: 2px;
}
.list-row:hover .list-row-rename.task-rename-btn,
.list-row--expanded .list-row-rename.task-rename-btn {
  opacity: 1;
  pointer-events: auto;
}
.list-row-rename.task-rename-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
@media (hover: none) {
  .list-row-rename.task-rename-btn { opacity: 1; pointer-events: auto; }
}
.list-row--colored .list-row-rename.task-rename-btn { color: var(--task-title-color, #fff); }
.list-row-main .list-row-title.task-title--editing ~ .list-row-rename.task-rename-btn {
  display: none !important;
}
.list-row-main .list-row-marks,
.list-row-main .list-row-rename {
  vertical-align: middle;
  margin-left: 2px;
}
.list-row { align-items: flex-start; }
.list-row-check { margin-top: 1px; }
.list-row-meta { align-items: flex-start; }
.list-row-deadline--clickable,
.list-row-assignee--clickable {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: background .12s var(--ease), transform .1s var(--ease);
}
.list-row-deadline--clickable:hover,
.list-row-assignee--clickable:hover {
  background: var(--chip-bg);
  transform: translateY(-1px);
}
.list-row--colored .list-row-deadline--clickable:hover,
.list-row--colored .list-row-assignee--clickable:hover {
  background: rgba(255, 255, 255, .14);
}
.list-row-lock-ico.task-card-lock-ico,
.list-row-pin-ico.task-card-pin-ico {
  margin-top: 0;
  margin-right: 4px;
  vertical-align: middle;
  width: 13px;
  height: 13px;
}
.list-row-badge {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 7px;
  margin-right: 6px;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}
.list-row-badge--mirror {
  background: rgba(99, 102, 241, .18);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, .5);
}
.list-row-badge--report {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid rgba(255, 194, 51, .5);
}
.list-row--mirror {
  background: repeating-linear-gradient(
    -45deg,
    rgba(99, 102, 241, .05),
    rgba(99, 102, 241, .05) 8px,
    rgba(99, 102, 241, .10) 8px,
    rgba(99, 102, 241, .10) 16px
  );
}
.list-row--mirror:hover { background: rgba(99, 102, 241, .14); }
.list-row--report {
  background: rgba(255, 194, 51, .06);
}
.list-row--report:hover { background: rgba(255, 194, 51, .12); }
.list-section-badge {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 7px;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.list-section-badge--mirror {
  background: rgba(99, 102, 241, .18);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, .5);
}
.list-section-badge--report {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid rgba(255, 194, 51, .5);
}
.list-section--mirror {
  border-left-color: #6366f1;
}
.list-section--mirror > .list-section-head {
  background: rgba(99, 102, 241, .10);
}
.list-section--mirror > .list-section-head:hover {
  background: rgba(99, 102, 241, .16);
}
.list-section--report {
  border-left-color: var(--warning);
}
.list-section--report > .list-section-head {
  background: rgba(255, 194, 51, .10);
}
.list-section--report > .list-section-head:hover {
  background: rgba(255, 194, 51, .16);
}
body:not(.theme-dark) .board--list .list-section--mirror > .list-section-head {
  background: rgba(99, 102, 241, .08);
}
body:not(.theme-dark) .board--list .list-section--report > .list-section-head {
  background: rgba(255, 194, 51, .12);
}
.list-row-tag,
.list-row-prio,
.list-row-deadline,
.list-row-assignee {
  height: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.list-row-tag   { padding-top: 0; padding-bottom: 0; }
.list-row-prio  { padding-top: 0; padding-bottom: 0; }
.list-row-deadline--clickable,
.list-row-assignee--clickable { padding-top: 0; padding-bottom: 0; }
.list-row-qa.task-stickers-add,
.list-row-menu.task-card-menu-btn {
  height: 22px;
  width: 22px;
}
.list-row-expand { display: none !important; }
.list-progress-bar {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.list-progress-bar .lpb-chev,
.list-progress-bar .clpb-chev {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .15s var(--ease);
}
.list-row--colored .list-progress-bar .lpb-chev,
.list-row--colored .list-progress-bar .clpb-chev {
  color: var(--task-title-color, #fff);
  opacity: .8;
}
.list-row-detail--subs + .list-row-detail--checklists {
  border-top: 1px dashed var(--border);
}
.lv-detail-row--subtask {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 5px 0;
}
.lv-detail-rowhead {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.lv-detail-rowhead .lv-detail-title { flex: 1; }
.lv-detail-rowhead .lv-detail-check { margin-top: 1px; }
.lv-detail-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-left: 24px; 
}
.lv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  box-sizing: border-box;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--chip-bg);
  color: var(--text-secondary);
}
.lv-chip--clickable { cursor: pointer; transition: filter .12s var(--ease), transform .1s var(--ease); }
.lv-chip--clickable:hover { filter: brightness(1.12); transform: translateY(-1px); }
.lv-chip--prio {
  background: transparent;
  border: 1px solid currentColor;
}
.lv-chip--deadline { gap: 4px; }
.lv-chip--deadline svg { color: var(--text-muted); }
.lv-chip--deadline.overdue,
.lv-chip--deadline.overdue svg { color: var(--danger); }
.lv-chip--sticker { border: 1px solid currentColor; }
.lv-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.lv-chip--assignee { padding-left: 3px; gap: 5px; }
.lv-chip--assignee .user-avatar-mini { width: 16px; height: 16px; font-size: 8px; }
.lv-chip-assignee-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
}
.lv-chip--co { opacity: .85; }
.list-row--colored .lv-chip--prio,
.list-row--colored .lv-chip--sticker {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}
@media (max-width: 720px) {
  .lv-detail-chips { padding-left: 0; }
  .lv-chip-assignee-name { max-width: 80px; }
}
@media (max-width: 440px) {
  .lv-chip--assignee .lv-chip-assignee-name { display: none; }
}
.list-row-detail--subtask-checklists {
  margin-top: 6px;
  margin-left: 28px;
  padding: 8px 10px;
  border-left: 2px solid var(--border-strong);
  background: var(--surface);
}
.list-row-detail--subtask-checklists .lv-detail-sec + .lv-detail-sec {
  margin-top: 8px;
}
.list-row-chat-badge {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
}
