/* Cabinet polish (07.11.2026, owner: as in the admin - no «ИИшных» gradients and colours, calmer «Сводка»).
   Loaded last; a line here wins over styles.css, brand.css and web.css. */

/* the accent tile («Заявок найдено», «Новых диалогов»): flat like the rest, the module's colour as a line on top */
.kpi.is-accent,
:root[data-module="sales"] .kpi.is-accent { background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 2px 0 var(--accent); }
.kpi.is-accent .kpi-label, .kpi.is-accent .kpi-sub { color: var(--muted); }
.kpi.is-accent .kpi-value { color: var(--text); }

/* the products' logos in the menu: one colour on a neutral tile (owner, 06.11.2026) */
.module-menu .product-logo,
.module-menu .logo-telegram, .module-menu .logo-whatsapp, .module-menu .logo-vk, .module-menu .logo-instagram { background: var(--surface-3); }
.module-menu .product-logo [fill="#fff"] { fill: var(--text); }
.module-menu .product-logo [stroke="#fff"] { stroke: var(--text); }

/* an empty chart: the words in the middle of its card, without empty axes */
.chart-blank { display: flex; align-items: center; justify-content: center; min-height: 96px; color: var(--muted); font-size: 13px; }

/* «Сводка»: what is left to set up - one card of short rows instead of a wall of notices */
.setup-card { margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.setup-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.setup-card-head b { font-size: 15px; }
.setup-card-head span { color: var(--muted); font-size: 12.5px; }
.setup-card .callout { margin: 0; padding: 10px 0; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0; background: none !important; box-shadow: none; clip-path: none; }
.setup-card-head + .callout { border-top: 0 !important; }
.setup-card .callout > .ic { display: none; }
.setup-card .callout > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 0; }
.setup-card .callout > div > b { font-size: 14px; font-weight: 600; }
.setup-card .callout > div > div { font-size: 13px; }
.setup-card .callout .btn { min-height: 0; height: auto; padding: 0; border: 0; background: none !important; color: var(--accent-text) !important; font-size: 13px; font-weight: 600; box-shadow: none; clip-path: none; }

/* the site's left menu: sections in the same plain type as the products; the icons at the bottom get their names */
@media (min-width: 960px) {
  html.is-web.in-workspace .tab-label { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
  html.is-web.in-workspace .appbar-end { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
  html.is-web.in-workspace .appbar-end .appbar-status { align-self: flex-start; justify-content: flex-start; margin: 0 0 6px 10px; }  /* on the left, over «Бонусы» */
  html.is-web.in-workspace .appbar-end #viewStatus { margin-left: 10px; }  /* #viewStatus has margin-left: auto (styles.css) */
  html.is-web.in-workspace .appbar-end .appbar-support:not(.hidden) { display: flex; width: 100%; height: 36px; justify-content: flex-start; gap: 10px; padding: 0 10px;
    border: 0; border-radius: 10px; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; clip-path: none; }
  html.is-web.in-workspace .appbar-end .appbar-support:hover { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
  html.is-web.in-workspace .appbar-end .appbar-support::after { content: attr(aria-label); }
}
.setup-card .callout { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 639px) { .setup-card .callout > div { flex-direction: column; align-items: flex-start; gap: 4px; } }  /* on a phone the link always under its row */
