/* UI declutter, round 2 (2026-09-07). Pure CSS — no JS, no MutationObserver,
   consistent with the stability constraint noted in index.html: legacy JS
   patchers were disabled because document-wide observers locked the main
   thread during React route rendering. CSS selectors just match as elements
   appear; they cannot block rendering or crash a route. */

/* --- carried over from round 1 --- */
div.mt-0\.5.whitespace-nowrap.text-\[10px\].text-slate-600 { display: none !important; }
div.mt-0\.5.truncate.text-sm.font-medium.text-slate-300 { display: none !important; }
.hidden.text-xs.text-slate-600.xl\:block { display: none !important; }
div.grid.gap-3.sm\:grid-cols-2.lg\:grid-cols-4 { display: none !important; }
div:has(> h1.mt-1.text-3xl.font-bold) { display: none !important; }

/* 1) remove the "Аномалий нет" info pill next to the date range controls.
      Matches on its title text; if a real anomaly ever sets a different
      title, this simply stops matching and the alert becomes visible again
      — a safe failure mode. */
button[title="Аномалий нет"] { display: none !important; }

/* 2) remove the big hero banner ("Продукт Golden Card / <Product name> /
      ...") from the product overview screens entirely. */
section.rounded-3xl.border-amber-500\/15 { display: none !important; }

/* 3) theme toggle: un-hide it and dock it into the sidebar, just above
      "Выйти", instead of leaving it in the header. Bottom-anchored so it
      does not depend on viewport height. Hidden again below the sidebar's
      own md breakpoint, where the sidebar itself collapses. */
/* Positioning is now handled by theme-relocate.js — the header has
   backdrop-blur (a CSS filter), which creates a new containing block for
   position:fixed descendants, so no combination of top/left/bottom here can
   make this button visually escape the header box. See that file. */

/* 4) rename the "ROI" label to "Основной отчет" everywhere it links to
      /daily/cards (sidebar nav item + in-page product tab). Text-only швов:
      the link's own text node is hidden via font-size:0 and replaced with
      generated content sized back to the original scale, so hit area and
      icon are untouched. */
/* text-sm/text-xs are size classes that stay constant across the
   active/inactive states of these links — unlike the color classes, which
   swap (text-slate-400 -> text-amber-300 etc.) when the tab is selected. */
a[href="/daily/cards"].text-sm,
a[href="/daily/cards"].text-xs {
  font-size: 0 !important;
}
a[href="/daily/cards"].text-sm::after {
  content: "Основной отчет";
  font-size: 0.875rem;
}
a[href="/daily/cards"].text-xs::after {
  content: "Основной отчет";
  font-size: 0.75rem;
}

/* 5) back/forward arrows: relocation into the sidebar is handled by
   theme-relocate.js for the same reason as the theme button — the header's
   backdrop-blur traps position:fixed descendants inside its own box. */

/* 6) hide the "Виртуальные карты /" category breadcrumb that used to sit
      next to the arrows — the arrows moved away from there anyway. */
div.flex.items-center.gap-1\.5.text-\[10px\].uppercase.tracking-\[\.14em\].text-slate-600 {
  display: none !important;
}
