/* v2-unified.css — docs/52 D: единый кабинет (макеты docs/design-v2/workspace52).
   Только токены дизайна v2 (tokens.css); коралл — только главное действие (здесь его нет). */

/* ── плашки видов дел по компаниям (тот же размер, что v2b-tk-pill) ── */
.uc-pill--lead_hot { background: var(--warn-soft); color: var(--warn); }
.uc-pill--lead_followup { background: var(--info-soft); color: var(--info); }
.uc-pill--lead_new { background: var(--surface-sunken); color: var(--text-muted); }
.uc-pill .icon { width: 11px; height: 11px; }
.v2b-why__head .uc-pill { height: 26px; padding: 0 11px; font-size: var(--text-footnote); font-weight: var(--weight-bold); }
.v2b-why__head .uc-pill--lead_hot,
.v2b-why__head > .uc-pill { display: inline-flex; align-items: center; flex: none; border-radius: var(--radius-pill); }
.v2b-why__item.is-up.is-ready .v2b-why__dot { background: var(--warn); }

/* ── карточка дела по компании: квадратный аватар-«здание» (люди — круглые) ── */
.uc-cav {
  flex: none; width: 44px; height: 44px; box-sizing: border-box; display: grid; place-items: center;
  border-radius: var(--radius-md); background: var(--surface-sunken); border: 1px solid var(--border); color: var(--text-muted);
}
.uc-cav .icon { width: 20px; height: 20px; }
.uc-tk .lv-tag--demo { flex: none; }
.uc-tk__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uc-tk__meta .lv-tag--demo { height: 20px; padding: 0 7px; font-size: var(--text-micro); }
@media (max-width: 1023px) {
  .uc-chip { padding: 0 11px; }
}

/* ── фильтр-чипы источника + «Сделано сегодня» (десктоп) ── */
.uc-chips { display: flex; gap: 6px; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.uc-chips::-webkit-scrollbar { display: none; }
.uc-chip {
  flex: none; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface);
  font: inherit; font-size: var(--text-footnote); font-weight: var(--weight-semibold); color: var(--text); cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; white-space: nowrap;
}
.uc-chip.is-on { background: var(--text); border-color: var(--text); color: var(--surface); }
.uc-chip:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.uc-chip--done { margin-left: auto; }
@media (hover: hover) and (pointer: fine) {
  .uc-chip:not(.is-on):hover { background: var(--surface-hover); }
}

.uc-more {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 6px 2px; font-size: var(--text-callout);
  color: var(--text-muted); text-decoration: none;
}
.uc-more .icon { width: 14px; height: 14px; }
.uc-more:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 6px; }
.uc-empty-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ── полоска раздела «Компании»: Лиды · Разбор · Поиск · Аналитика ── */
.uc-strip {
  display: flex; gap: 4px; margin: 0 0 var(--space-3); padding: 4px; border-radius: var(--radius-md);
  background: var(--surface-sunken); overflow-x: auto; scrollbar-width: none;
}
.uc-strip::-webkit-scrollbar { display: none; }
.uc-strip__item {
  flex: 1 0 auto; min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: var(--text-footnote); font-weight: var(--weight-semibold); color: var(--text-muted);
  text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.uc-strip__item.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(20, 17, 14, 0.08); }
.uc-strip__item:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
@media (min-width: 1024px) {
  body.is-browser .uc-strip { max-width: 520px; }
}

/* ── «Почему?» в карточке лида (шторка/поповер v2u/leadwhy.js) ── */
.lv-why__more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 2px; min-height: 32px; padding: 0 4px; border: 0; background: none;
  font: inherit; font-size: var(--text-footnote); font-weight: var(--weight-semibold); color: var(--text-muted); cursor: pointer;
  -webkit-tap-highlight-color: transparent; position: relative;
}
.lv-why__more::after { content: ""; position: absolute; inset: -6px -4px; }
.lv-why__more .icon { width: 14px; height: 14px; }
.lv-why__more:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 6px; }
.lv-fit-head .lv-why__more { margin-left: auto; }
@media (hover: hover) and (pointer: fine) {
  .lv-why__more:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
}

/* ── «Ещё»: строка «Единый кабинет» ── */
.uc-switch { margin-left: auto; }
