/* Comment 3.0 — light kanban shell (overrides glass/teal) */

:root {
  --c3-bg: #f3f4f8;
  --c3-rail: #1c2030;
  --c3-rail-ink: #9aa3b8;
  --c3-rail-active: #e88975;
  --c3-side: #ffffff;
  --c3-card: #ffffff;
  --c3-col: #eef0f5;
  --c3-ink: #1b2233;
  --c3-muted: #7a8499;
  --c3-line: rgba(27, 34, 51, 0.14);
  --c3-coral: #e88975;
  --c3-coral-ink: #ffffff;
  --c3-coral-soft: rgba(232, 137, 117, 0.16);
  --c3-shadow: 0 12px 30px rgba(28, 32, 48, 0.09);
  --c3-shadow-sm: 0 4px 14px rgba(28, 32, 48, 0.07);
  --c3-radius: 18px;
  --c3-radius-sm: 12px;
  --c3-rail-w: 0px;
  --c3-side-w: 248px;
  --font: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --display: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --bg0: var(--c3-bg);
  --bg1: var(--c3-bg);
  --ink: var(--c3-ink);
  --ink-soft: var(--c3-muted);
  --line: var(--c3-line);
  --card: var(--c3-card);
  --card-solid: var(--c3-card);
  --shadow: var(--c3-shadow);
  --accent: var(--c3-coral);
  --radius: var(--c3-radius);
  --page-gutter: 1.25rem;
  --page-max: none;
  --neg: #e15b5b;
  --neg-soft: #fdeaea;
  --neu: #7a8499;
  --neu-soft: #eef0f5;
  --pos: #2aa889;
  --pos-soft: #e6f6f1;
}

body.c3 {
  font-family: var(--font);
  color: var(--c3-ink);
  background: var(--c3-bg);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.c3.page-chats {
  min-height: 100dvh;
}

.c3 .atmosphere,
body.c3 .atmosphere {
  display: none !important;
}

/* ── App grid ── */
.c3-app {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--c3-side-w) minmax(0, 1fr);
  width: 100%;
  background: var(--c3-bg);
}

.c3-workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Icon rail (merged into sidebar) ── */
.c3-rail {
  display: none !important;
}

.c3-rail-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--c3-rail-active);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
  text-decoration: none;
}

.c3-rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--c3-rail-ink);
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.c3-rail-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.c3-rail-btn.active,
.c3-rail-btn[aria-current="page"] {
  background: var(--c3-rail-active);
  color: #fff;
}

.c3-rail-btn.is-soon {
  opacity: 0.38;
  pointer-events: none;
}

.c3-rail-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--c3-rail-active);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
  text-decoration: none;
}

.c3-rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--c3-rail-ink);
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.c3-rail-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.c3-rail-btn.active,
.c3-rail-btn[aria-current="page"] { background: var(--c3-rail-active); color: #fff; }
.c3-rail-btn.is-soon { opacity: 0.38; pointer-events: none; }
.c3-rail-spacer { flex: 1; }
.c3-rail-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ea0c8, #e88975);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.c3-rail svg {
  width: 18px;
  height: 18px;
}

.c3-rail-spacer {
  flex: 1;
}

.c3-rail-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ea0c8, #e88975);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Sidebar: one dark block, icon + label ── */
.c3-side {
  background: var(--c3-rail);
  color: #e8ebf2;
  border-right: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.15rem 0.9rem 1rem;
}

.c3-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  margin: 0 0.2rem 1.15rem;
}

.c3-logo,
.c3 .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--c3-coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: none;
}

.c3 .brand-mark {
  background: var(--c3-coral);
}

.c3 .brand-text h1,
.c3-brand h1 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.c3 .brand-sub {
  margin: 0.08rem 0 0;
  font-size: 0.72rem;
  color: var(--c3-rail-ink);
  font-style: normal;
  font-weight: 500;
}

.c3-side .c3-brand,
.c3-side .c3-brand h1 {
  color: #fff;
}

.c3-kicker {
  margin: 0.35rem 0.45rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d7690;
}

.c3-nav-host,
.c3 .main-nav-host {
  min-width: 0;
}

.c3 .nav.main-nav,
.c3-side .nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.c3-side .nav-link.nav-tab,
.c3 .c3-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--c3-rail-ink);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
}

.c3-side .nav-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.85;
}

.c3-side .nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.c3-side .nav-link.active,
.c3-side .nav-link.nav-tab.active {
  background: var(--c3-coral);
  color: #fff;
  box-shadow: none;
}

.c3-side .nav-link.active svg {
  opacity: 1;
  color: #fff;
}

.c3-side .nav-inbox {
  margin-top: 0.65rem;
}

.c3-side .nav-link.has-badge {
  position: relative;
}

.c3-side .nav-link.has-badge::after {
  content: attr(data-badge);
  position: static;
  top: auto;
  right: auto;
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  z-index: auto;
}

.c3-side .nav-link.active.has-badge::after {
  background: #fff;
  color: var(--c3-coral);
  border-color: transparent;
}

.c3-side-grow {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0.55rem 0 0.65rem;
}

.c3-live {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(27, 34, 51, 0.08);
  background: #f7f8fb;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  color: #1b2233;
  animation: ax-rise 0.5s cubic-bezier(.22, 1, .36, 1) both;
}

.c3-live-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.7rem 0.5rem;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid rgba(27, 34, 51, 0.08);
}

.c3-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2aa889;
  box-shadow: 0 0 0 0 rgba(42, 168, 137, 0.45);
  animation: c3-live-dot 1.8s ease-out infinite;
  flex-shrink: 0;
}

.c3-live-head h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1b2233;
}

.c3-live-sub {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a8499;
}

.c3-live-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  padding: 0.5rem 0.45rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 34, 51, 0.2) transparent;
}

.c3-live-empty {
  margin: 0.7rem 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  color: #5c6578;
  flex-shrink: 0;
}

.c3-live-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28rem;
  min-height: auto;
  padding: 0.55rem 0.58rem 0.52rem;
  border-radius: 12px;
  text-decoration: none;
  color: #1b2233;
  background: #fff;
  border: 1.5px solid rgba(27, 34, 51, 0.16);
  border-left: 4px solid #9aa3b8;
  box-shadow: 0 2px 6px rgba(28, 32, 48, 0.06);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.c3-live-item.sent-negative { border-left-color: #e15b5b; }
.c3-live-item.sent-positive { border-left-color: #2aa889; }
.c3-live-item.sent-neutral { border-left-color: #5b6cff; }

.c3-live-item:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(27, 34, 51, 0.26);
  box-shadow: 0 8px 18px rgba(28, 32, 48, 0.12);
}

.c3-live-item.is-new {
  animation: c3-live-in 0.45s cubic-bezier(.22, 1, .36, 1) both;
}

.c3-live-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.c3-live-plat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4658;
}

.c3-live-plat.plat-max { color: #c45c26; }
.c3-live-plat.plat-telegram { color: #1a8bb8; }
.c3-live-plat.plat-vk { color: #3d6a9a; }

.c3-live-tone {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #3d4658;
}

.c3-live-tone.sent-negative { color: #c53c3c; }
.c3-live-tone.sent-positive { color: #168a5c; }
.c3-live-tone.sent-neutral { color: #4455d6; }

.c3-live-where,
.c3-live-text,
.c3-live-age {
  flex-shrink: 0;
}

.c3-live-where {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  font-weight: 800;
  color: #141a28;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3-live-text {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  color: #3d4658;
  line-height: 1.4;
  max-height: 3.1em;
  overflow: hidden;
}

.c3-live-age {
  display: block;
  margin: 0;
  font-size: 0.64rem;
  font-weight: 700;
  color: #6a7388;
}

@keyframes c3-live-dot {
  0% { box-shadow: 0 0 0 0 rgba(42, 168, 137, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(42, 168, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 168, 137, 0); }
}

@keyframes c3-live-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.c3-side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.c3-side-theme {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.c3-side-theme:hover {
  background: rgba(255, 255, 255, 0.12);
}

.c3-side-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ea0c8, #e88975);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Top bar ── */
.c3-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.85rem 1.35rem 0.15rem;
  flex-shrink: 0;
}

.c3-views {
  display: none !important;
}

.c3-view {
  appearance: none;
  border: 0;
  background: transparent;
  color: #d8dee9;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.c3-view:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.c3-view.is-active {
  background: var(--c3-coral);
  color: #fff;
  box-shadow: none;
}

.c3-top-end {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.c3 .pill {
  background: #fff;
  border: 1px solid var(--c3-line);
  box-shadow: none;
  border-radius: 999px;
  color: var(--c3-muted);
  font-weight: 600;
}

.c3-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.35rem 0.75rem;
  flex-shrink: 0;
}

.c3-page-text {
  min-width: 0;
}

.c3 .page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.c3 .page-desc {
  margin: 0.2rem 0 0;
  color: var(--c3-muted);
  font-size: 0.86rem;
}

.c3 .filter-sheet,
.c3 .shell-page-tools,
.c3-tools {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.c3 .filters {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.c3 .field {
  margin: 0;
}

.c3 .field span,
.c3 .tool-label {
  display: none;
}

.c3 .field input,
.c3 .field select,
.c3 select,
.c3 input[type="search"] {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--c3-line);
  background: #fff;
  box-shadow: var(--c3-shadow-sm);
  padding: 0.35rem 0.95rem;
  font: inherit;
  color: var(--c3-ink);
}

.c3 .field.grow {
  min-width: 220px;
  flex: 1;
}

.c3 .field.grow input {
  width: 100%;
}

.c3 .btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.c3 .btn:hover {
  transform: translateY(-2px);
}

.c3 .btn.ghost {
  background: #fff;
  border: 1.5px solid var(--c3-line);
  box-shadow: var(--c3-shadow-sm);
}

.c3 .btn.ghost:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 45%, var(--c3-line));
  box-shadow: 0 10px 22px rgba(28, 32, 48, 0.1);
}

.c3 .btn-primary,
.c3 #refreshBtn {
  background: var(--c3-coral);
  color: var(--c3-coral-ink);
  border: 0;
  box-shadow: 0 8px 18px rgba(232, 137, 117, 0.28);
}

.c3 .btn-primary:hover,
.c3 #refreshBtn:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(232, 137, 117, 0.38);
}

.c3 .icon-btn {
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--c3-line);
  box-shadow: var(--c3-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.c3 .icon-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c3-coral) 40%, var(--c3-line));
  box-shadow: 0 10px 20px rgba(28, 32, 48, 0.1);
}

.c3 .tool-switch,
.c3 .scope-switch,
.c3 .period-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.22rem;
  background: var(--c3-rail);
  border-radius: 999px;
  border: 1.5px solid rgba(27, 34, 51, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.c3 .period-switch {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.c3 .scope-btn,
.c3 .period-btn,
.c3 .view-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-height: 34px;
  padding: 0.28rem 0.85rem;
  font-weight: 700;
  color: #d8dee9;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.c3 .scope-btn:hover,
.c3 .period-btn:hover,
.c3 .view-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.c3 .scope-btn.active,
.c3 .period-btn.active,
.c3 .view-btn.active {
  background: var(--c3-coral);
  color: #fff;
  box-shadow: none;
}

/* Kill old glass header chrome when present */
.c3 .app-shell-wrap,
.c3 .app-header,
.c3 .app-shell,
.c3 .control-deck {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  position: static;
}

.c3 .shell-bar,
.c3 .shell-nav-row {
  display: none;
}

.c3 .header-inner,
.c3 .shell-page {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ── Workspace body ── */
.c3 .app-stage,
.c3 .topics-page,
.c3 .analytics-page,
.c3 .channels-page {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  box-sizing: border-box;
}

.c3-workspace > .shell-meta:not([hidden]) {
  padding: 0.15rem 1.35rem 1.2rem;
}

.c3 .analytics-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c3 .channels-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
}

.c3 .analytics-page > .ax-briefing,
.c3 .analytics-page > .ax-fires,
.c3 .analytics-page > .ax-pulse,
.c3 .analytics-page > .ax-command,
.c3 .analytics-page > .ax-lead,
.c3 .analytics-page > .ax-more {
  margin: 0;
}

.c3.page-chats .app-stage {
  display: flex;
  flex-direction: column;
}

.c3 .board {
  margin: 0;
  padding-bottom: 0.4rem;
  gap: 1.15rem;
  background: transparent;
}

.c3 .chat-col,
.c3 .chat-col,
.c3 .topic-col {
  background: var(--c3-col);
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}

.c3 .chat-head {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding: 0.85rem 0.9rem 0.45rem;
  align-items: flex-start;
}

.c3 .chat-head h3 {
  font-size: 0.92rem;
  font-weight: 750;
}

.c3 .col-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: #c5cad6;
}

.c3 .chat-col.col-ok .col-dot,
.c3 .chat-col.col-ok .col-dot { background: #3cbf8f; }
.c3 .chat-col.col-warn .col-dot,
.c3 .chat-col.col-warn .col-dot { background: #5b8def; }
.c3 .chat-col.col-hot .col-dot,
.c3 .chat-col.col-hot .col-dot { background: #e88975; }

.c3 .chat-avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.72rem;
}

.c3 .chat-messages {
  background: transparent;
  padding: 0.35rem 0.7rem 0.85rem;
  gap: 0.9rem;
}

.c3 .bubble-wrap,
.c3 .bubble-wrap {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem 0.85rem 0.7rem;
  box-shadow: var(--c3-shadow-sm);
  gap: 0.4rem;
}

.c3 .bubble {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.c3 .bubble.negative,
.c3 .bubble.positive,
.c3 .bubble.handled {
  background: transparent;
}

.c3 .task-tags,
.c3 .task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.c3 .sentiment-tag,
.c3 .sentiment-tag,
.c3 .msg-type,
.c3 .priority-tag,
.c3 .addr-tag,
.c3 .topic-status,
.c3 .topic-chat,
.c3 .chip {
  border-radius: 999px;
  border: 0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  letter-spacing: 0;
}

.c3 .sentiment-tag.negative,
.c3 .sentiment-tag.negative,
.c3 .chip.neg { background: #fde3e0; color: #c24d45; }
.c3 .sentiment-tag.neutral,
.c3 .sentiment-tag.neutral { background: #eceff6; color: #5d6780; }
.c3 .sentiment-tag.positive,
.c3 .sentiment-tag.positive { background: #ddf4ec; color: #1d8a6c; }
.c3 .msg-type { background: #e8e4f8; color: #5b4ea8; }
.c3 .msg-type.complaint { background: #fde3e0; color: #c24d45; }
.c3 .msg-type.question { background: #dceafc; color: #2f6fbd; }
.c3 .msg-type.info { background: #d8f1f4; color: #1e7f8a; }
.c3 .msg-type.thanks { background: #ddf4ec; color: #1d8a6c; }
.c3 .priority-tag { background: #fde3e0; color: #c24d45; }
.c3 .addr-tag { background: #fbe8d8; color: #b15b22; }

.c3 .bubble-text {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--c3-ink);
}

.c3 .bubble-meta {
  color: var(--c3-muted);
  font-size: 0.72rem;
  order: 3;
}

.c3 .bubble-actions {
  margin-top: 0.35rem;
}

.c3 .label-actions button {
  border-radius: 8px;
  border: 1px solid var(--c3-line);
  background: #f7f8fb;
}

.c3 .kpi,
.c3 .panel,
.c3 .platform-card {
  background: #fff;
  border: 1.5px solid var(--c3-line);
  border-radius: 18px;
  box-shadow: var(--c3-shadow-sm);
  backdrop-filter: none;
}

.c3 .kpi.neg { background: #fff5f3; }
.c3 .kpi.pos { background: #eefaf6; }
.c3 .kpi.neu { background: #f4f6fb; }

.c3 .tab-bar {
  background: #fff;
  border-top: 1px solid var(--c3-line);
  box-shadow: 0 -8px 24px rgba(28, 32, 48, 0.06);
}

.c3 .tab.active {
  color: var(--c3-coral);
}

.c3-mobile-bar {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem 0.35rem;
}

.c3-mobile-bar .c3-brand {
  margin: 0;
}

/* Desktop: hide mobile chrome, fill viewport */
@media (min-width: 841px) {
  body.c3.page-chats,
  body.c3.page-topics,
  body.c3.page-analytics,
  body.c3.page-channels,
  body.c3.page-reports,
  body.c3.page-legal {
    height: 100dvh;
    overflow: hidden;
  }

  body.c3.page-topics .topics-page,
  body.c3.page-analytics .analytics-page,
  body.c3.page-channels .channels-page,
  body.c3.page-reports .reports-page {
    overflow: auto;
  }

  .c3 .chat-list,
  .c3 .topic-list {
    display: none;
  }
}

@media (max-width: 840px) {
  .c3-app {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .c3-rail,
  .c3-side {
    display: none !important;
  }

  .c3-mobile-bar {
    display: flex !important;
  }

  .c3-top {
    padding: 0.35rem 0.9rem 0;
  }


  .c3-workspace > .shell-meta {
    display: none !important;
  }

  .c3 .app-stage,
  .c3 .topics-page,
  .c3 .analytics-page,
  .c3 .channels-page,
  .c3 .reports-page,
  .c3 .legal-page {
    padding: 0 0.75rem 0.75rem;
  }

  .c3.page-chats .app-stage {
    flex: 1;
  }

  .c3 .chat-list {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
  }

  .c3 .chat-list-item,
  .c3 .chat-list-item {
    background: #fff;
    border-radius: 16px;
    border: 0;
    box-shadow: var(--c3-shadow-sm);
    margin-bottom: 0.55rem;
  }
}

/* Dark */
[data-theme="dark"] {
  --c3-bg: #16181f;
  --c3-rail: #101218;
  --c3-side: #1b1e27;
  --c3-card: #232632;
  --c3-col: #1b1e27;
  --c3-ink: #eef0f6;
  --c3-muted: #9aa3b8;
  --c3-line: rgba(255, 255, 255, 0.08);
  --c3-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  --c3-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .c3 .tool-switch,
[data-theme="dark"] .c3 .scope-switch,
[data-theme="dark"] .c3 .period-switch,
[data-theme="dark"] .c3 .period-more summary {
  background: #101218;
}

[data-theme="dark"] .c3 .pill,
[data-theme="dark"] .c3 .field input,
[data-theme="dark"] .c3 .field select,
[data-theme="dark"] .c3 .btn.ghost,
[data-theme="dark"] .c3 .icon-btn,
[data-theme="dark"] .c3 .kpi,
[data-theme="dark"] .c3 .panel,
[data-theme="dark"] .c3 .platform-card,
[data-theme="dark"] .c3 .bubble-wrap,
[data-theme="dark"] .c3 .tab-bar {
  background: var(--c3-card);
  color: var(--c3-ink);
}

[data-theme="dark"] .c3 .scope-btn.active,
[data-theme="dark"] .c3 .period-btn.active {
  background: var(--c3-coral);
  color: #fff;
}

[data-theme="dark"] .c3-side .nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .c3-side .nav-link.active,
[data-theme="dark"] .c3-side .nav-link.nav-tab.active {
  background: var(--c3-coral);
  color: #fff;
}

[data-theme="dark"] .c3 .inbox-plat-badge {
  background: color-mix(in srgb, var(--plat) 24%, #1b1e27);
}

/* Analytics briefing */
.c3 .period-btn,
.c3 .scope-btn {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.c3 .tool-switch.is-busy,
.c3-tools.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.c3 .ax-lead {
  margin: 0 0 1rem;
  color: var(--c3-muted);
  font-size: 0.92rem;
}

.c3 .ax-networks {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0.35rem 0 1.25rem;
}

.c3 .ax-net {
  background: var(--c3-card);
  border-radius: 22px;
  box-shadow: var(--c3-shadow-sm);
  padding: 1.05rem 1.15rem 1.2rem;
  overflow: hidden;
}

.c3 .ax-net-max { box-shadow: var(--c3-shadow-sm), inset 0 3px 0 #1f6feb; }
.c3 .ax-net-telegram { box-shadow: var(--c3-shadow-sm), inset 0 3px 0 #229ed9; }
.c3 .ax-net-vk { box-shadow: var(--c3-shadow-sm), inset 0 3px 0 #0077ff; }

.c3 .ax-net-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.c3 .ax-net-head h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.c3 .ax-net-head p {
  margin: 0.2rem 0 0;
  color: var(--c3-muted);
  font-size: 0.82rem;
}

.c3 .ax-net-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.c3 .ax-net-kpis div {
  min-width: 5.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: #f4f6fb;
}

.c3 .ax-net-kpis span {
  display: block;
  font-size: 0.68rem;
  color: var(--c3-muted);
  font-weight: 700;
}

.c3 .ax-net-kpis strong {
  font-size: 1.05rem;
}

.c3 .ax-net-kpis .neg strong { color: var(--neg); }
.c3 .ax-net-kpis .pos strong { color: var(--pos); }

.c3 .ax-ch-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
}

.c3 .ax-tone {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--c3-muted);
}

.c3 .ax-muted { color: var(--c3-muted); }

.c3 .ax-channel-more {
  margin-top: 0.35rem;
}

.c3 .ax-channel-more summary {
  cursor: pointer;
  color: var(--c3-coral);
  font-size: 0.78rem;
  font-weight: 700;
}

.c3 .ax-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.c3 .ax-more-grid div {
  background: #f4f6fb;
  border-radius: 10px;
  padding: 0.4rem 0.5rem;
}

.c3 .ax-more-grid span,
.c3 .ax-more-grid em {
  display: block;
  font-size: 0.68rem;
  color: var(--c3-muted);
  font-style: normal;
}

.c3 .ax-posts {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
}

.c3 .ax-posts em {
  color: var(--c3-muted);
  font-style: normal;
}

.c3 .ax-news-board {
  background: var(--c3-card);
  border: 1px solid var(--c3-line);
  border-radius: var(--c3-radius);
  padding: 1.05rem 1.15rem 1.05rem;
  margin-bottom: 1rem;
  box-shadow: var(--c3-shadow-sm);
}

.c3 .ax-news-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.c3 .ax-news-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c3-ink);
}

.c3 .ax-news-sub {
  margin: 0.35rem 0 0;
  color: var(--c3-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.c3 .ax-news-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-news-lead {
  margin: 0.4rem 0 0;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 550;
  color: var(--c3-ink);
}

.c3 .ax-news-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.15rem;
  margin: 0;
}

.c3 .ch-posts-boards {
  margin: 1.5rem 0 0.35rem;
}

.c3 .ch-posts-boards .ax-news-board {
  margin-bottom: 0;
}

.c3 .ax-growth {
  margin: 0;
  padding: 0.75rem 0.85rem 0.85rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--c3-col) 55%, #fff);
  border: 1px solid var(--c3-line);
}

.c3 .ch-hero .ch-audience.ax-growth {
  margin: 0.2rem 0 0.15rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.c3 .ch-hero .ch-audience .ax-news-head {
  margin-bottom: 0.7rem;
}

.c3 #axChartSubs .ax-growth-all {
  display: inline-flex;
  margin-top: 0.75rem;
}

.c3 .ax-growth .ax-news-head {
  align-items: flex-start;
}

.c3 .ax-growth-all {
  flex-shrink: 0;
  margin-top: 0.15rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #fff;
  background: var(--c3-coral);
  text-decoration: none;
}

.c3 .ax-growth-all:hover {
  filter: brightness(0.96);
  text-decoration: none;
}

.c3 .ax-growth-group {
  margin: 0 0 0.7rem;
  padding: 0.7rem 0.75rem 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--c3-line);
  border-left-width: 3px;
}

.c3 .ax-growth-group[data-platform="max"] { border-left-color: #e88975; }
.c3 .ax-growth-group[data-platform="telegram"] { border-left-color: #2aabee; }
.c3 .ax-growth-group[data-platform="vk"] { border-left-color: #4a76a8; }

.c3 .ax-growth-group:last-child {
  margin-bottom: 0;
}

.c3 .ax-growth-group h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.c3 .ax-growth-group h4 span {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--c3-muted);
}

.c3 .ax-growth-empty {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--c3-muted);
}

.c3 .ax-growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.5rem;
}

.c3 .ax-growth-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "plat delta"
    "name delta"
    "now now"
    "bar bar";
  gap: 0.1rem 0.55rem;
  min-height: 6.4rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-radius: 12px;
  background: var(--c3-col, #eef0f5);
  text-decoration: none;
  color: var(--c3-ink);
  border: 1px solid transparent;
  opacity: 1;
  transform: none;
  animation: none;
}

.c3 .ax-growth-card:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 40%, var(--c3-line));
  background: #fff;
}

.c3 .ax-growth-plat {
  grid-area: plat;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.12rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #c45c3a;
}

.c3 .ax-growth-plat.plat-max { background: #e88975; color: #3a1c14; }
.c3 .ax-growth-plat.plat-telegram { background: #d6f0fc; color: #0b6ea3; }
.c3 .ax-growth-plat.plat-vk { background: #dce7f4; color: #2f5278; }

.c3 .ax-growth-name {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c3-ink);
}

.c3 .ax-growth-now {
  grid-area: now;
  margin-top: 0.28rem;
  font-size: 0.75rem;
  color: var(--c3-muted);
  font-weight: 650;
}

.c3 .ax-growth-delta {
  grid-area: delta;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: start;
  flex-shrink: 0;
  min-width: 4.75rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c3-ink);
}

.c3 .ax-growth-delta small {
  margin-top: 0.12rem;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--c3-muted);
  white-space: nowrap;
}

.c3 .ax-growth-delta.up { color: #128a5c; }
.c3 .ax-growth-delta.down { color: #c43a36; }
.c3 .ax-growth-delta.flat { color: var(--c3-muted); }

.c3 .ax-growth-bar {
  grid-area: bar;
  display: block;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 99px;
  background: rgba(20, 30, 50, 0.08);
  overflow: hidden;
}

.c3 .ax-growth-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform: none;
  animation: none;
}

.c3 .ax-growth-bar i.up { background: #2f9d6a; }
.c3 .ax-growth-bar i.down { background: #d24a45; }
.c3 .ax-growth-bar i.flat { background: #8a93a3; }

.c3 .ax-growth-card.down {
  background: color-mix(in srgb, #d24a45 8%, var(--c3-col, #eef0f5));
}

[data-theme="dark"] .c3 .ax-growth {
  background: #161922;
}

[data-theme="dark"] .c3 .ch-hero .ch-audience.ax-growth {
  background: transparent;
}

[data-theme="dark"] .c3 .ax-growth-group,
[data-theme="dark"] .c3 .ax-growth-card:hover {
  background: #1b1e27;
}

[data-theme="dark"] .c3 .ax-growth-card {
  background: #222632;
}

[data-theme="dark"] .c3 .ax-growth-bar {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .c3 .ax-news-pair {
    grid-template-columns: 1fr;
  }
}

.c3 .ax-news-list {
  display: grid;
  gap: 0.75rem;
}

.c3 .ax-news-item {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.8rem 0.72rem;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--c3-line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  opacity: 1;
  transform: none;
  animation: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.c3 .ax-news-item:hover {
  transform: translateY(-2px);
  filter: none;
  border-color: color-mix(in srgb, var(--c3-coral) 40%, var(--c3-line));
  box-shadow: 0 10px 22px rgba(28, 32, 48, 0.09);
}

.c3 .ax-news-item.is-static {
  cursor: default;
}

.c3 .ax-news-rank {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: var(--c3-coral);
  flex-shrink: 0;
}

.c3 .ax-news-rank[data-rank="2"] { background: #4a5568; }
.c3 .ax-news-rank[data-rank="3"] { background: #8a93a3; }
.c3 .ax-news-rank[data-rank="4"],
.c3 .ax-news-rank[data-rank="5"] { background: #b4bcc9; }

.c3 .ax-news-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.c3 .ax-news-src {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c3 .ax-news-src i {
  font-style: normal;
  color: var(--c3-coral);
}

.c3 .ax-news-src i.plat-telegram { color: #2aabee; }
.c3 .ax-news-src i.plat-vk { color: #4a76a8; }
.c3 .ax-news-src i.plat-max { color: #e88975; }

.c3 .ax-news-src em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c3-muted);
}

.c3 .ax-news-text {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c3-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c3 .ax-news-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 34, 51, 0.08);
  overflow: hidden;
}

.c3 .ax-news-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  min-width: 6px;
  transform: none;
  animation: none;
}

.c3 .ax-news-meta {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c3-muted);
}

.c3 .ax-news-meta b {
  font-weight: 800;
  color: var(--c3-ink);
}

.c3 .ax-news-inline {
  margin-top: 0.7rem;
  padding: 0.65rem 0.7rem 0.7rem;
  background: #fff;
  border: 1px solid var(--c3-line);
  border-radius: 14px;
}

.c3 .ax-news-inline .ax-news-item {
  padding: 0.55rem 0.6rem;
}

.c3 .ax-news-inline .ax-news-text {
  font-size: 0.8rem;
}

[data-theme="dark"] .c3 .ax-net-kpis div,
[data-theme="dark"] .c3 .ax-more-grid div {
  background: rgba(255, 255, 255, 0.05);
}

.c3 a.kpi {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.c3 .ax-briefing {
  background: var(--c3-card);
  border: 1px solid var(--c3-line);
  border-radius: var(--c3-radius);
  padding: 1.05rem 1.15rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--c3-shadow-sm);
}

.c3 .ax-brief-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.c3 .ax-brief-lead {
  min-width: 0;
  flex: 1;
}

.c3 .ax-brief-kicker {
  margin: 0 0 0.28rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-briefing h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--c3-ink);
}

.c3 .ax-brief-sub {
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  color: var(--c3-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.c3 .ax-brief-headline {
  margin: 0.45rem 0 0;
  max-width: 48rem;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--c3-ink);
}

.c3 .ax-brief-share {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: var(--neg-soft);
  color: var(--neg);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.c3 .ax-arrow-txt {
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.c3 .plat-emoji,
.c3 .plat-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.45em;
  border-radius: 50%;
  vertical-align: 0.05em;
  background: var(--c3-muted);
}
.c3 .plat-dot.plat-max {
  background: #e88975;
}
.c3 .plat-dot.plat-telegram {
  background: #4c8dff;
}
.c3 .plat-dot.plat-vk {
  background: #4a76a8;
}

.c3 .ax-brief-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.c3 .ax-brief-delta i {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-briefing .ax-delta {
  margin-top: 0;
  font-size: 0.82rem;
}

.c3 .ax-briefing .ax-delta.up { color: #1a9a6a; }
.c3 .ax-briefing .ax-delta.down { color: #d24a45; }
.c3 .ax-briefing .ax-delta.flat { color: var(--c3-muted); }

.c3 .ax-briefing .platform-summary {
  display: grid;
  margin: 0;
}

.c3 .analytics-page.is-platform .ax-briefing .platform-summary {
  display: grid;
}

.c3 .ax-brief-nets .platform-card {
  background: rgba(255, 255, 255, 0.92);
}

.c3 .ax-brief-cta {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c3-coral);
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  border: 1.5px solid color-mix(in srgb, #c45c3a 35%, var(--c3-coral));
  box-shadow: 0 6px 16px rgba(232, 137, 117, 0.28);
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.c3 .ax-brief-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 24px rgba(232, 137, 117, 0.38);
}

.c3 .ax-brief-cta.is-empty {
  background: var(--c3-col);
  color: var(--c3-muted);
  box-shadow: none;
}

.c3 .ax-briefing.is-heat-quiet .ax-brief-lead h3 { color: #2aa889; }
.c3 .ax-briefing.is-heat-smolder .ax-brief-lead h3 { color: #c45c26; }
.c3 .ax-briefing.is-heat-hot .ax-brief-lead h3 { color: #d24a45; }
.c3 .ax-briefing.is-heat-blaze .ax-brief-lead h3 { color: #b42318; }

.c3.page-analytics .analytics-page > .ax-briefing {
  padding: 0.8rem 1rem 0.85rem;
}

.c3.page-analytics .analytics-page > .ax-briefing > .ax-brief-top {
  display: grid;
  grid-template-columns: minmax(200px, 0.78fr) minmax(0, 1.42fr);
  gap: 0.45rem 1.4rem;
  align-items: start;
  margin-bottom: 0.7rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-lead h3 {
  font-size: 1.38rem;
  line-height: 1.15;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-heatline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-heatline h3 {
  margin: 0;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-spikes-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.c3 .ax-spike-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #fff5f3;
  border: 1px solid #e15b5b;
  color: #b42318;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.c3 .ax-spike-chip:hover {
  filter: brightness(0.97);
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-headline {
  max-width: none;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go {
  min-width: 0;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go .ax-brief-foot-kicker {
  margin: 0 0 0.28rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go .ax-brief-sub {
  margin: 0 0 0.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go .ax-brief-share,
.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go .ax-brief-delta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.4rem 0.55rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c3-col) 70%, #fff);
  gap: 0.12rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-go .ax-brief-share.is-quiet {
  background: color-mix(in srgb, var(--c3-col) 70%, #fff);
  color: var(--c3-muted);
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-jumps {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-jump {
  justify-content: center;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-spikes {
  margin-top: 0.55rem;
  grid-template-columns: 1fr;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-spikes .ax-alert {
  min-height: 0;
  padding: 0.5rem 0.7rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-nets-kicker {
  margin-bottom: 0.4rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .ax-brief-nets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card {
  padding: 0.55rem 0.7rem 0.5rem;
  border-radius: 14px;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-glow {
  display: none;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-head {
  margin-bottom: 0.35rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-head h3 {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c3-ink);
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-wait {
  display: none;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-heat {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card.is-heat-quiet .platform-card-heat { color: #2aa889; }
.c3.page-analytics .analytics-page > .ax-briefing .platform-card.is-heat-smolder .platform-card-heat { color: #c45c26; }
.c3.page-analytics .analytics-page > .ax-briefing .platform-card.is-heat-hot .platform-card-heat { color: #d24a45; }
.c3.page-analytics .analytics-page > .ax-briefing .platform-card.is-heat-blaze .platform-card-heat { color: #b42318; }

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-stats {
  gap: 0.2rem;
}

.c3.page-analytics .analytics-page > .ax-briefing .platform-card-tone {
  margin-top: 0.45rem;
}

@media (max-width: 980px) {
  .c3.page-analytics .analytics-page > .ax-briefing > .ax-brief-top {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

.c3 .ax-brief-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.c3 .ax-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--c3-line);
  background: #fff;
  color: var(--c3-ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 750;
}

.c3 .ax-jump:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 45%, var(--c3-line));
  transform: translateY(-1px);
}

.c3 .ax-jump.is-hot {
  background: var(--neg-soft);
  border-color: transparent;
  color: #b42318;
}

.c3 .ax-jump.is-topics,
.c3 .ax-jump.is-channels {
  background: var(--c3-col);
}

.c3 .ax-fires {
  margin: 0 0 1rem;
}

.c3 .ax-fires-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.c3 .ax-fire-col {
  min-width: 0;
  padding: 0.9rem 0.95rem 0.85rem;
  background: #fff;
  border: 1.5px solid var(--c3-line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(28, 32, 48, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c3 .ax-fire-col:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 28%, var(--c3-line));
  box-shadow: 0 16px 34px rgba(28, 32, 48, 0.1);
}

.c3 .ax-fire-col header h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.c3 .ax-fire-col header p:last-child {
  margin: 0.28rem 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c3-muted);
}

.c3 .ax-fire-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.c3 .ax-fire-row {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.45rem 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  border: 1.5px solid var(--c3-line);
  background: #fafbfc;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.c3 .ax-fire-row:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c3-coral) 45%, var(--c3-line));
  background: #fff;
  box-shadow: 0 10px 20px rgba(28, 32, 48, 0.08);
}

.c3 .ax-fire-row.is-hot {
  border-left: 4px solid #e15b5b;
}

.c3 .ax-fire-row.is-blaze {
  border-left: 4px solid #b42318;
  background: var(--neg-soft);
}

.c3 .ax-fire-row.is-smolder {
  border-left: 4px solid #c45c26;
}

.c3 .ax-fire-rank {
  width: 1.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--c3-muted);
}

.c3 .ax-fire-plat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: var(--c3-col);
}

.c3 .ax-fire-plat.is-empty {
  display: none;
}

.c3 .ax-fire-plat.plat-max { color: #c45c3a; background: rgba(232, 137, 117, 0.18); }
.c3 .ax-fire-plat.plat-telegram { color: #2f6fed; background: rgba(47, 111, 237, 0.14); }
.c3 .ax-fire-plat.plat-vk { color: #3b6ea5; background: rgba(70, 128, 194, 0.16); }

.c3 .ax-fire-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.c3 .ax-fire-main strong {
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}

.c3 .ax-fire-main em,
.c3 .ax-fire-sample {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c3-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3 .ax-fire-sample {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--c3-ink);
  font-weight: 650;
}

.c3 .ax-fire-now {
  display: inline-flex;
  margin-left: 0.4rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.c3 .ax-fire-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}

.c3 .ax-fire-age {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c3-muted);
  white-space: nowrap;
}

.c3 .ax-fire-row.is-now .ax-fire-age {
  color: #b42318;
}

.c3 .ax-fire-row b {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #b42318;
}

.c3 .ax-fire-empty {
  margin: 0;
  padding: 0.7rem 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c3-muted);
}

.c3 .ax-fire-more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--c3-coral);
  text-decoration: none;
}

[data-theme="dark"] .c3 .ax-jump,
[data-theme="dark"] .c3 .ax-fire-col,
[data-theme="dark"] .c3 .ax-fire-row {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ax-fire-row.is-blaze {
  background: rgba(180, 35, 24, 0.18);
}

[data-theme="dark"] .c3 .ax-briefing.is-heat-quiet .ax-brief-lead h3 { color: #5ee0b5; }
[data-theme="dark"] .c3 .ax-briefing.is-heat-hot .ax-brief-lead h3,
[data-theme="dark"] .c3 .ax-briefing.is-heat-blaze .ax-brief-lead h3 { color: #ff8d85; }

@media (max-width: 1100px) {
  .c3 .ax-fires-grid {
    grid-template-columns: 1fr;
  }
}

.c3 .ax-brief-plats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.c3 .ax-brief-plat {
  --plat: var(--c3-coral);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 122px;
  background: var(--c3-col);
  border-radius: 14px;
  padding: 0.7rem 0.8rem 0.65rem;
  text-decoration: none;
  color: inherit;
  border-left: 4px solid var(--plat);
  animation: ax-rise 0.5s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ax-brief-plat header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.c3 .ax-brief-plat-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--plat);
}

.c3 .ax-brief-plat-neg {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neg);
}

.c3 .ax-brief-plat strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.c3 .ax-brief-plat em {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--c3-muted);
  font-weight: 600;
}

.c3 .ax-brief-plat .ax-tone > span {
  display: none;
}

.c3 .ax-brief-plat.is-empty {
  opacity: 0.7;
}

.c3 .ax-brief-plat.is-empty strong {
  font-size: 1.15rem;
  color: var(--c3-muted);
  font-weight: 700;
}

.c3 .ax-brief-foot {
  margin-top: 0.9rem;
  padding-top: 0.15rem;
}

.c3 .ax-brief-foot-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-brief-foot .ax-brief-foot-kicker {
  color: #c24d45;
}

.c3 .ax-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
}

.c3 .ax-alert {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-height: 108px;
  padding: 0.72rem 0.85rem 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: #fff5f3;
  border: 2px solid #e15b5b;
  box-shadow: 0 0 0 0 rgba(225, 91, 91, 0.45);
  animation: ax-alert-pulse 1.7s ease-in-out infinite;
}

.c3 .ax-alert.is-spike,
.c3 .ax-alert.is-hot {
  background: #fff5f3;
  border-color: #e15b5b;
  border-left: 4px solid #d24a45;
}

.c3 .ax-alert:hover {
  background: #fff;
  border-color: #c24d45;
}

@keyframes ax-alert-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(225, 91, 91, 0.55), 0 8px 18px rgba(210, 74, 69, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(225, 91, 91, 0), 0 8px 22px rgba(210, 74, 69, 0.2);
  }
}

.c3 .ax-alert-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-alert.is-spike .ax-alert-tag,
.c3 .ax-alert.is-hot .ax-alert-tag { color: #c24d45; }

.c3 .ax-alert-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--c3-ink);
}

.c3 .ax-alert-stat {
  margin-top: 0.12rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--c3-ink);
}

.c3 .ax-alert-stat b {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.c3 .ax-alert-was {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c3-muted);
  line-height: 1.35;
}

.c3 .ax-spike,
.c3 .ax-brief-hot {
  display: none;
}

.c3 .period-more {
  display: none !important;
}

.c3 .period-more summary {
  cursor: pointer;
  color: #d8dee9;
  background: var(--c3-rail);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  list-style: none;
}

.c3 .period-more summary::-webkit-details-marker {
  display: none;
}

.c3 .period-more summary::marker {
  content: "";
}

.c3 .period-more summary:hover {
  color: #fff;
  background: #252a3b;
}

.c3 .period-more-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.c3 .period-more-list .period-btn {
  background: var(--c3-rail);
  color: #d8dee9;
}

.c3 .period-more-list .period-btn:hover {
  background: #252a3b;
  color: #fff;
}

.c3 .period-more-list .period-btn.active {
  background: var(--c3-coral);
  color: #fff;
}

.c3 .ax-net-kpis a {
  text-decoration: none;
  color: inherit;
}

.c3 .inbox-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0 1.15rem 0.75rem;
}

.c3 .inbox-kpi {
  background: var(--c3-card);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--c3-line);
  border-left: 4px solid var(--c3-coral);
}

.c3 .inbox-kpi.plat-max { border-left-color: #e88975; }
.c3 .inbox-kpi.plat-telegram { border-left-color: #2aabee; }
.c3 .inbox-kpi.plat-vk { border-left-color: #4a76a8; }

.c3 .inbox-kpi span,
.c3 .inbox-kpi em {
  display: block;
  color: var(--c3-muted);
  font-size: 0.72rem;
  font-style: normal;
}

.c3 .inbox-kpi strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.c3 .inbox-list {
  padding: 0 1.15rem 1.4rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.c3 .inbox-net {
  --net: var(--c3-coral);
  margin-bottom: 1.4rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--net) 9%, var(--c3-card));
  border: 1px solid color-mix(in srgb, var(--net) 32%, var(--c3-line));
}

.c3 .inbox-net.plat-max { --net: #e88975; }
.c3 .inbox-net.plat-telegram { --net: #2aabee; }
.c3 .inbox-net.plat-vk { --net: #4a76a8; }

.c3 .inbox-net.is-empty {
  background: color-mix(in srgb, var(--net) 5%, var(--c3-card));
  border-style: dashed;
}

.c3 .inbox-net-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.c3 .inbox-net-mark {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--net);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
}

.c3 .inbox-net-head h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
  margin: 0;
}

.c3 .inbox-net-head p {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  color: var(--c3-muted);
}

.c3 .inbox-channel {
  --chat: var(--net);
  background: var(--c3-card);
  border-radius: 14px;
  padding: 0.7rem 0.7rem 0.75rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--c3-line);
  border-left: 4px solid var(--chat);
}

.c3 .inbox-channel:last-child {
  margin-bottom: 0;
}

.c3 .inbox-channel h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  font-weight: 800;
  min-width: 0;
}

.c3 .inbox-channel h3 span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3 .inbox-channel h3 em {
  margin-left: auto;
  flex-shrink: 0;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--c3-muted);
  background: color-mix(in srgb, var(--chat) 12%, var(--c3-card));
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

.c3 .inbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.c3 .inbox-tile {
  --plat: var(--net, var(--c3-coral));
  --chat: var(--plat);
  display: flex;
  flex-direction: column;
  min-height: 128px;
  background: var(--c3-bg);
  border-radius: 14px;
  padding: 0.55rem 0.65rem 0.5rem;
  border: 1px solid var(--c3-line);
  border-top: 3px solid var(--plat);
  box-shadow: var(--c3-shadow-sm);
}

.c3 .inbox-tile.plat-max { --plat: #e88975; }
.c3 .inbox-tile.plat-telegram { --plat: #2aabee; }
.c3 .inbox-tile.plat-vk { --plat: #4a76a8; }

.c3 .inbox-tile header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin-bottom: 0.35rem;
}

.c3 .inbox-tile header time {
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c3 .inbox-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chat);
  flex-shrink: 0;
}

.c3 .inbox-chat {
  min-width: 0;
  flex: 1;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--chat);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c3 .inbox-plat-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plat);
  background: color-mix(in srgb, var(--plat) 16%, #fff);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}

[data-theme="dark"] .c3 .inbox-plat-badge {
  background: color-mix(in srgb, var(--plat) 24%, #1b1e27);
}

.c3 .inbox-tile time {
  display: block;
  font-size: 0.68rem;
  color: var(--c3-muted);
  margin-bottom: 0.35rem;
}

.c3 .inbox-tile p {
  margin: 0;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c3 .inbox-tile footer {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.c3 .inbox-tile footer .btn {
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  border-radius: 8px;
}

.c3 .inbox-empty,
.c3 .inbox-empty-plat {
  color: var(--c3-muted);
  font-size: 0.85rem;
  margin: 0;
}

.c3.page-inbox .c3-workspace {
  overflow: hidden;
}

.c3.page-inbox .c3-toolbar {
  padding-bottom: 0.45rem;
}

.c3 [data-tab].has-badge::after {
  content: attr(data-badge);
  margin-left: 0.35rem;
  background: var(--c3-coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
}

@media (max-width: 840px) {
  .c3 .inbox-summary {
    grid-template-columns: 1fr 1fr;
  }

  .c3 .inbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .c3 .inbox-tile {
    min-height: 136px;
    padding: 0.55rem 0.55rem 0.45rem;
  }
}

/* ── Analytics hero charts ── */
.c3 .ax-hero {
  margin: 0 0 1.15rem;
}

.c3 .ax-hero-head {
  margin: 0 0 0.75rem;
}

.c3 .ax-hero-head h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.c3 .ax-hero-head p {
  margin: 0.2rem 0 0;
  color: var(--c3-muted);
  font-size: 0.84rem;
}

.c3 .ax-hero-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.c3 .ax-hero-kpis .kpi {
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
  background: var(--c3-rail);
  color: #e8ebf2;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.c3 .ax-hero-kpis .kpi:nth-child(2) { animation-delay: 0.05s; }
.c3 .ax-hero-kpis .kpi:nth-child(3) { animation-delay: 0.1s; }
.c3 .ax-hero-kpis .kpi:nth-child(4) { animation-delay: 0.15s; }
.c3 .ax-hero-kpis .kpi:nth-child(5) { animation-delay: 0.2s; }

.c3 .ax-hero-kpis .kpi-label,
.c3 .ax-hero-kpis .kpi-hint {
  color: #9aa3b8;
}

.c3 .ax-hero-kpis .kpi-value {
  color: #fff;
  font-size: 1.45rem;
}

.c3 .ax-hero-kpis .kpi.neg .kpi-value { color: #ffb4a8; }
.c3 .ax-hero-kpis .kpi.pos .kpi-value { color: #7ee0c3; }

.c3 .ax-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin-top: 0.28rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9aa3b8;
}

.c3 .ax-delta.up { color: #5ee0b5; }
.c3 .ax-delta.down { color: #ff8d85; }
.c3 .ax-hero-kpis .kpi.neg .ax-delta.down { color: #5ee0b5; }
.c3 .ax-hero-kpis .kpi.neg .ax-delta.up { color: #ff8d85; }

.c3 .ax-arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  animation: ax-nudge 1.4s ease-in-out infinite;
}

.c3 .ax-arrow.down { animation-name: ax-nudge-down; }
.c3 .ax-arrow.flat { animation: none; }

.c3 .ax-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1.15rem;
}

.c3 .ax-card {
  background: var(--c3-card);
  border-radius: 18px;
  padding: 0.85rem 0.95rem 0.8rem;
  box-shadow: var(--c3-shadow-sm);
  min-height: 220px;
}

.c3 .ax-hero-grid > #axChartFlow { grid-column: 1; grid-row: 1; }
.c3 .ax-hero-grid > #axChartMix { grid-column: 2; grid-row: 1; }
.c3 .ax-hero-grid > #axChartSubs { grid-column: 1; grid-row: 2; }
.c3 .ax-hero-grid > #axChartNeg { grid-column: 2; grid-row: 2; }

.c3 .ax-card-head h4,
.c3 .ax-card > h4 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.c3 .ax-card-head p {
  margin: 0.15rem 0 0.45rem;
  color: var(--c3-muted);
  font-size: 0.75rem;
}

.c3 .ax-svg {
  width: 100%;
  height: auto;
  display: block;
}

.c3 .ax-grid {
  fill: none;
  stroke: var(--c3-line);
  stroke-width: 1;
}

.c3 .ax-axis {
  fill: var(--c3-muted);
  font-size: 10px;
}

.c3 .ax-area { opacity: 0.14; }

.c3 .ax-line {
  fill: none;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ax-draw 1.15s ease forwards;
}

.c3 .ax-line-neg {
  stroke: #e15b5b;
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
  animation-delay: 0.15s;
}

.c3 .ax-dot {
  opacity: 0;
  animation: ax-pop 0.4s ease 0.9s forwards;
}

.c3 .ax-legend {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--c3-muted);
  font-weight: 650;
}

.c3 .ax-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  margin-right: 0.3rem;
}

.c3 .ax-legend i.neg { background: #e15b5b; }

.c3 .ax-donut {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.c3 .ax-donut-n {
  font-size: 18px;
  font-weight: 800;
  fill: var(--c3-ink);
}

.c3 .ax-donut-s {
  font-size: 10px;
  fill: var(--c3-muted);
}

.c3 .ax-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  min-width: 0;
  flex: 1;
}

.c3 .ax-donut-legend div,
.c3 .ax-donut-legend a {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 0.4rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.c3 .ax-donut-legend a:hover,
.c3 .ax-chart-hit:hover,
.c3 .ax-hbar.is-link:hover {
  filter: brightness(0.98);
}

.c3 .ax-chart-hit {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.c3 .ax-hbar.is-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.c3 .ax-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
}

.c3 .ax-chart-empty {
  color: var(--c3-muted);
  font-size: 0.84rem;
  margin: 0.6rem 0 0;
}

.c3 .ax-hbars {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-top: 0.45rem;
}

.c3 .ax-hbar {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) auto;
  gap: 0.4rem;
  align-items: center;
  animation: ax-rise 0.5s ease both;
  animation-delay: var(--d, 0s);
}

.c3 .ax-hbar-lab {
  font-size: 0.76rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c3 .ax-hbar-track {
  height: 8px;
  border-radius: 99px;
  background: var(--c3-col);
  overflow: hidden;
}

.c3 .ax-hbar-fill {
  height: 100%;
  border-radius: 99px;
  transform-origin: left center;
  animation: ax-grow-x 0.75s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--d, 0s);
}

.c3 .ax-hbar-val {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

@keyframes ax-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ax-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes ax-grow-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ax-pop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ax-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes ax-nudge-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

[data-theme="dark"] .c3 .ax-hero-kpis .kpi {
  background: #101218;
}

[data-theme="dark"] .c3 .ax-briefing .ax-delta.up { color: #5ee0b5; }
[data-theme="dark"] .c3 .ax-briefing .ax-delta.down { color: #ff8d85; }
[data-theme="dark"] .c3 .ax-brief-plat { background: #1b1e27; }
[data-theme="dark"] .c3 .ax-alert,
[data-theme="dark"] .c3 .ax-alert.is-spike,
[data-theme="dark"] .c3 .ax-alert.is-hot {
  background: #2a1a18;
  border-color: #e15b5b;
}
[data-theme="dark"] .c3 .ax-alert:hover {
  background: #321e1c;
}
[data-theme="dark"] .c3 .ax-brief-cta.is-empty { background: #1b1e27; }
[data-theme="dark"] .c3 .ax-news-item { background: #1b1e27; }
[data-theme="dark"] .c3 .ax-news-inline { background: #14161e; }
[data-theme="dark"] .c3 .ax-news-bar { background: rgba(255, 255, 255, 0.08); }

[data-theme="dark"] .c3 .ax-donut-n { fill: var(--c3-ink); }

@media (max-width: 1100px) {
  .c3 .ax-hero-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c3 .ax-hero-grid {
    grid-template-columns: 1fr;
  }

  .c3 .ax-hero-grid > #axChartFlow,
  .c3 .ax-hero-grid > #axChartMix,
  .c3 .ax-hero-grid > #axChartSubs,
  .c3 .ax-hero-grid > #axChartNeg {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 840px) {
  .c3 .ax-hero-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .c3 .ax-brief-top {
    flex-direction: column;
  }

  .c3 .ax-brief-plats {
    grid-template-columns: 1fr;
  }

  .c3 .ax-brief-plat {
    min-height: 0;
  }
}

/* ── Cabinet density, command layout, saved views ── */
.c3 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.c3-side > .c3-kicker {
  display: none;
}

.c3-side .nav-tab[data-tab="inbox"] {
  margin-top: 0.55rem;
}

.c3-side-refresh {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
}

.c3-side-refresh:hover {
  background: rgba(255, 255, 255, 0.12);
}

.c3 .c3-tools .btn.ghost.btn-sm {
  min-height: 38px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--c3-line);
  background: #fff;
  color: var(--c3-ink);
  box-shadow: none;
  font-weight: 700;
}

.c3 .c3-tools .btn.ghost.btn-sm:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 45%, var(--c3-line));
}

.c3 .export-brief-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.c3 .period-switch.is-light,
.c3 .scope-switch.is-light,
.c3 .view-switch {
  background: #eceef4;
  border: 1px solid var(--c3-line);
  box-shadow: none;
}

.c3 .period-switch.is-light .period-btn,
.c3 .scope-switch.is-light .scope-btn,
.c3 .view-switch .view-btn {
  color: var(--c3-ink);
  font-weight: 650;
}

.c3 .period-switch.is-light .period-btn:hover,
.c3 .scope-switch.is-light .scope-btn:hover,
.c3 .view-switch .view-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--c3-ink);
}

.c3 .period-switch.is-light .period-btn.active,
.c3 .scope-switch.is-light .scope-btn.active,
.c3 .view-switch .view-btn.active {
  background: var(--c3-coral);
  color: #fff;
}

.c3 .ax-command {
  margin: 0 0 0.85rem;
}

.c3 .ax-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.85fr);
  gap: 1.15rem;
}

.c3 .ax-command-rail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.c3 .ax-rail-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.c3 .ax-rail-kpis .kpi {
  padding: 0.5rem 0.7rem 0.45rem;
  min-height: 0;
  background: #fff;
  color: var(--c3-ink);
  border: 1px solid var(--c3-line);
  box-shadow: var(--c3-shadow-sm);
}

.c3 .ax-rail-kpis .kpi-label,
.c3 .ax-rail-kpis .kpi-hint {
  color: var(--c3-muted);
  font-size: 0.7rem;
}

.c3 .ax-rail-kpis .kpi-value {
  font-size: 1.28rem;
  color: var(--c3-ink);
}

.c3 .ax-rail-kpis .kpi.neg .kpi-value {
  color: #d24a45;
}

.c3 .ax-rail-kpis .ax-delta {
  color: var(--c3-muted);
}

.c3 .ax-rail-kpis .ax-delta.up {
  color: #1a9a6a;
}

.c3 .ax-rail-kpis .ax-delta.down {
  color: #d24a45;
}

.c3 .ax-rail-kpis .kpi.neg .ax-delta.up {
  color: #1a9a6a;
}

.c3 .ax-rail-kpis .kpi.neg .ax-delta.down {
  color: #d24a45;
}

.c3 .ax-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.15rem;
}

.c3 .ax-card.ax-main {
  min-height: 280px;
}

.c3 .ax-more {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: block;
}

.c3 .ax-more[open] > * + * {
  margin-top: 1.35rem;
}

.c3 .ax-more > summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--c3-ink);
  background: #fff;
  border: 1px solid var(--c3-line);
  border-radius: 16px;
  padding: 0.85rem 1.05rem;
  box-shadow: var(--c3-shadow-sm);
  list-style: none;
}

.c3 .ax-more > summary::-webkit-details-marker {
  display: none;
}

.c3 .ax-card.ax-detail-card {
  min-height: 0;
  padding: 1.05rem 1.1rem 1.15rem;
}

.c3 .ax-card.ax-detail-card:hover {
  transform: none;
  box-shadow: var(--c3-shadow-sm);
}

.c3 .ax-card.ax-detail-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.c3 .ax-card.ax-detail-card .panel-lead {
  margin: 0.28rem 0 0.85rem;
  color: var(--c3-muted);
  font-size: 0.82rem;
}

.c3 .ax-tops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.c3 .ax-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.c3 .ax-pair > .ax-card {
  min-width: 0;
}

.c3 .ax-chat-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0.8rem 0.9rem 0.75rem;
  background: #fff;
  border: 1.5px solid #d5dbe6;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(28, 32, 48, 0.04);
}

.c3 .ax-chat-row:last-child {
  margin-bottom: 0;
}

.c3 .ax-chat-row:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 45%, #d5dbe6);
}

.c3 .ax-chat-row-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.4rem 0.5rem;
  align-items: center;
}

.c3 .ax-chat-row-top strong {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c3 .ax-chat-row-top em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-chat-row-top b {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--neg);
}

.c3 .ax-chat-row .bar-track {
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: #eef0f5;
}

.c3 .ax-chat-row-meta {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--c3-muted);
}

.c3 .ax-chat-row-meta .neg { color: var(--neg); font-weight: 800; }
.c3 .ax-chat-row-meta .pos { color: var(--pos); font-weight: 800; }

.c3 .ax-more .trend-list,
.c3 .ax-more .top-list,
.c3 .ax-more .bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c3 .ax-more .trend-row,
.c3 .ax-more .top-row {
  background: #fff;
  border: 1.5px solid #d5dbe6;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 4px 12px rgba(28, 32, 48, 0.04);
  margin: 0;
}

.c3 .ax-more .trend-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-top: 0.28rem;
}

.c3 .ax-more .trend-sub span {
  color: var(--c3-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.c3 .ax-more .trend-sub b {
  color: var(--c3-ink);
  font-weight: 800;
}

.c3 .ax-more .trend-delta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  flex-shrink: 0;
}

.c3 .ax-more .trend-delta-wrap em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c3-muted);
  white-space: nowrap;
}

.c3 .ax-more .trend-row.down .trend-delta-wrap em {
  color: #1f9d7a;
}

.c3 .ax-more .trend-row.up .trend-delta-wrap em {
  color: #d64545;
}

.c3 .ax-more .trend-row:hover,
.c3 .ax-more .top-row:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--c3-coral) 40%, #d5dbe6);
}

.c3 .ax-more .top-quote {
  margin: 0.35rem 0 0.45rem;
  padding: 0.45rem 0.6rem;
  border-left: 3px solid color-mix(in srgb, var(--neg) 55%, #fff);
  background: #fff6f5;
  border-radius: 0 10px 10px 0;
  color: var(--c3-ink);
  font-size: 0.8rem;
  line-height: 1.4;
}

[data-theme="dark"] .c3 .ax-more > summary,
[data-theme="dark"] .c3 .ax-chat-row,
[data-theme="dark"] .c3 .ax-more .trend-row,
[data-theme="dark"] .c3 .ax-more .top-row {
  background: #1b1e27;
  border-color: #2a3040;
  color: #eef0f6;
}

[data-theme="dark"] .c3 .ax-more .top-quote {
  background: #2a1a18;
  color: #eef0f6;
}

[data-theme="dark"] .c3 .ax-chat-row .bar-track {
  background: #101218;
}

.c3 .ax-chart-box {
  position: relative;
}

.c3 .ax-tip {
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: #1c2030;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(28, 32, 48, 0.25);
}

.c3 .ax-hit {
  cursor: pointer;
}

.c3 .ax-line-prev {
  fill: none;
  stroke: #9aa3b8;
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
  opacity: 0.85;
}

.c3 .ax-legend i.prev {
  background: #9aa3b8;
}

.c3 .ax-axis-unit {
  font-size: 9px;
}

.c3 .pages-table th,
.c3 .pages-table td {
  padding: 0.28rem 0.45rem;
  font-size: 0.78rem;
  line-height: 1.25;
}

.c3 .ax-net-kpis a,
.c3 .ax-net-kpis div {
  padding: 0.28rem 0.5rem;
}

.c3 .inbox-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.55rem;
}

.c3 .inbox-tools label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c3-muted);
}

.c3 .inbox-tools select,
.c3 .inbox-tpl-btn {
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid var(--c3-line);
  background: #fff;
  padding: 0.25rem 0.6rem;
  font: inherit;
}

.c3 .inbox-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

[data-theme="dark"] .c3 .period-switch.is-light,
[data-theme="dark"] .c3 .scope-switch.is-light,
[data-theme="dark"] .c3 .view-switch {
  background: #1b1e27;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .c3 .period-switch.is-light .period-btn,
[data-theme="dark"] .c3 .scope-switch.is-light .scope-btn,
[data-theme="dark"] .c3 .view-switch .view-btn {
  color: #d8dee9;
}

[data-theme="dark"] .c3 .ax-rail-kpis .kpi {
  background: #14161e;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8ebf2;
}

[data-theme="dark"] .c3 .ax-rail-kpis .kpi-value {
  color: #fff;
}

[data-theme="dark"] .c3 .ax-svg .ax-axis,
[data-theme="dark"] .c3 .ax-axis {
  fill: #9aa3b8;
}

[data-theme="dark"] .c3 .ax-grid {
  stroke: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .c3 .ax-command-grid,
  .c3 .ax-grid-2,
  .c3 .ax-tops {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c3 .ax-line,
  .c3 .ax-hbar,
  .c3 .ax-hbar-fill,
  .c3 .ax-hero-kpis .kpi,
  .c3 .ax-brief-plat,
  .c3 .ax-news-item,
  .c3 .ax-news-bar i,
  .c3 .ax-dot,
  .c3 .ax-arrow,
  .c3 .ax-pulse-tile,
  .c3 .platform-card,
  .c3 .ax-alert,
  .c3 .ch-mop,
  .c3 .ch-mop-head,
  .c3 .ch-mop-badge,
  .c3 .ch-mop-card,
  .c3 .ch-hero-facts div,
  .c3 .ch-overview-card,
  .c3 .ch-net,
  .c3 .ch-card,
  .c3 .ch-chart,
  .c3 .ch-line,
  .c3 .ch-dot,
  .c3 .ch-donut-svg,
  .c3 .ch-donut-item,
  .c3 .ch-hbar-fill,
  .c3 .c3-live,
  .c3 .c3-live-pulse,
  .c3 .c3-live-item.is-new {
    animation: none !important;
    stroke-dashoffset: 0;
    transform: none;
    opacity: 1;
  }

  .c3 .ch-mop-head::after,
  .c3 .ch-area {
    animation: none !important;
  }

  .c3 .ch-mop-head::after {
    opacity: 0;
  }

  .c3 .ch-area {
    opacity: 0.16;
  }
}

/* ── Dashboard visual refresh ── */
body.c3.page-analytics .atmosphere,
body.c3.page-channels .atmosphere,
body.c3.page-topics .atmosphere,
body.c3.page-reports .atmosphere {
  display: block !important;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(980px 460px at 8% -12%, rgba(255, 138, 108, 0.28), transparent 58%),
    radial-gradient(760px 420px at 96% 4%, rgba(91, 108, 255, 0.18), transparent 52%),
    radial-gradient(640px 340px at 72% 108%, rgba(42, 168, 137, 0.14), transparent 55%);
}

body.c3.page-analytics .c3-app,
body.c3.page-channels .c3-app,
body.c3.page-topics .c3-app,
body.c3.page-reports .c3-app {
  position: relative;
  z-index: 1;
  background: transparent;
}

body.c3.page-analytics .c3-workspace,
body.c3.page-channels .c3-workspace,
body.c3.page-topics .c3-workspace,
body.c3.page-reports .c3-workspace {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(243, 244, 248, 0.55) 28%, var(--c3-bg));
}

.c3 .ax-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.c3 .ax-pulse-tile {
  --d: 0s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-height: 118px;
  padding: 0.9rem 0.95rem 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--c3-line);
  box-shadow: 0 10px 28px rgba(28, 32, 48, 0.06);
  backdrop-filter: blur(12px);
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--d);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.c3 .ax-pulse-tile::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.c3 .ax-pulse-tile:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c3-coral) 35%, var(--c3-line));
  box-shadow: 0 18px 36px rgba(28, 32, 48, 0.13);
}

.c3 .ax-pulse-tile:hover::after {
  opacity: 0.4;
  transform: scale(1.15);
}

.c3 .ax-pulse-tile.tone-peak::after { background: #5b6cff; }
.c3 .ax-pulse-tile.tone-queue::after { background: #ff7a59; }
.c3 .ax-pulse-tile.tone-ok::after { background: #2aa889; }
.c3 .ax-pulse-tile.tone-up::after { background: #5b6cff; }
.c3 .ax-pulse-tile.tone-down::after { background: #2aa889; }
.c3 .ax-pulse-tile.tone-flat::after { background: #9aa3b8; }
.c3 .ax-pulse-tile.tone-hot::after { background: #e15b5b; }
.c3 .ax-pulse-tile.tone-quiet::after { background: #2aabee; }
.c3 .ax-pulse-tile.tone-pos::after { background: #2aa889; }

.c3 .ax-pulse-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ax-pulse-tile strong {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.c3 .ax-pulse-stat {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c3-ink);
}

.c3 .ax-pulse-hint {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c3-muted);
}

.c3 .ax-briefing {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 241, 0.94) 55%, rgba(240, 244, 255, 0.92));
  border: 1.5px solid var(--c3-line);
  box-shadow: 0 14px 36px rgba(28, 32, 48, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c3 .ax-briefing:hover {
  border-color: color-mix(in srgb, var(--c3-coral) 30%, var(--c3-line));
  box-shadow: 0 20px 44px rgba(28, 32, 48, 0.11);
}

.c3 .ax-brief-cta {
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.c3 .ax-brief-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 24px rgba(255, 122, 89, 0.35);
}

.c3 .ax-rail-kpis .kpi {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.c3 .ax-rail-kpis .kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(28, 32, 48, 0.1);
}

.c3 .ax-rail-kpis .kpi.neg {
  background: linear-gradient(180deg, #fff7f5, #fff);
  border-color: rgba(225, 91, 91, 0.18);
}

.c3 .ax-rail-kpis .ax-kpi-queue {
  background: linear-gradient(180deg, #fff4ee, #fff);
  border-color: rgba(255, 122, 89, 0.22);
}

.c3 .ax-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c3 .ax-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(28, 32, 48, 0.1);
}

.c3 .ax-alert {
  transition: transform 0.18s ease;
}

.c3 .ax-alert:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(28, 32, 48, 0.1);
}

.c3 .period-switch.is-light .period-btn,
.c3 .scope-switch.is-light .scope-btn,
.c3 .view-switch .view-btn {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.c3 .period-switch.is-light .period-btn:hover,
.c3 .scope-switch.is-light .scope-btn:hover,
.c3 .view-switch .view-btn:hover {
  transform: translateY(-1px);
}

.c3 .period-switch.is-light .period-btn.active,
.c3 .scope-switch.is-light .scope-btn.active,
.c3 .view-switch .view-btn.active {
  background: linear-gradient(180deg, #ff8a68, #ff7048);
  box-shadow: 0 8px 18px rgba(255, 112, 72, 0.28);
}

.c3 .ax-more summary {
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.c3 .ax-more summary:hover {
  color: #ff7048;
}

[data-theme="dark"] body.c3.page-analytics .atmosphere,
[data-theme="dark"] body.c3.page-channels .atmosphere,
[data-theme="dark"] body.c3.page-topics .atmosphere,
[data-theme="dark"] body.c3.page-reports .atmosphere {
  background:
    radial-gradient(900px 420px at 10% -8%, rgba(255, 122, 89, 0.18), transparent 55%),
    radial-gradient(700px 380px at 94% 6%, rgba(91, 108, 255, 0.16), transparent 50%),
    radial-gradient(560px 300px at 70% 100%, rgba(42, 168, 137, 0.1), transparent 52%);
}

[data-theme="dark"] body.c3.page-analytics .c3-workspace,
[data-theme="dark"] body.c3.page-channels .c3-workspace,
[data-theme="dark"] body.c3.page-topics .c3-workspace,
[data-theme="dark"] body.c3.page-reports .c3-workspace {
  background: linear-gradient(180deg, rgba(18, 20, 28, 0.2), transparent 36%);
}

[data-theme="dark"] .c3 .ax-pulse-tile,
[data-theme="dark"] .c3 .platform-card {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ax-brief-nets .platform-card {
  background: #1b1e27;
}

[data-theme="dark"] .c3 .ax-rail-kpis .kpi.neg,
[data-theme="dark"] .c3 .ax-rail-kpis .ax-kpi-queue {
  background: #1b1e27;
}

@media (max-width: 1100px) {
  .c3 .ax-pulse {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .c3 .ax-pulse,
  .c3 .ax-rail-kpis {
    grid-template-columns: 1fr;
  }
}

/* ── Channels visual refresh ── */
.c3 .channels-empty {
  margin: 0;
  padding: 1.35rem 1rem;
  text-align: center;
  color: var(--c3-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed var(--c3-line);
  border-radius: 18px;
}

.c3 .ch-hero .ax-pulse {
  margin: 0.35rem 0 1.1rem;
  gap: 1rem;
}

.c3 .ch-hero .ax-pulse-tile {
  min-height: 132px;
}

.c3 .ch-hero .ax-pulse-hint {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c3 .ch-pulse-mix {
  display: flex;
  height: 6px;
  margin-top: auto;
  border-radius: 99px;
  overflow: hidden;
  background: #eef0f5;
}

.c3 .ch-pulse-mix i {
  display: block;
  height: 100%;
}

.c3 .ch-pulse-mix .neg { background: #e15b5b; }
.c3 .ch-pulse-mix .neu { background: #c5cad6; }
.c3 .ch-pulse-mix .pos { background: #2aa889; }

.c3 .ch-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
  padding: 0;
  background: transparent;
}

.c3 .ch-hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.78rem 0.85rem 0.72rem;
  background: #fff;
  border: 1px solid var(--c3-line);
  border-left: 4px solid var(--c3-coral);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28, 32, 48, 0.06);
  animation: ax-rise 0.5s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.c3 .ch-hero-facts div:nth-child(1) { animation-delay: 0.02s; }
.c3 .ch-hero-facts div:nth-child(2) { animation-delay: 0.08s; }
.c3 .ch-hero-facts div:nth-child(3) { animation-delay: 0.14s; }
.c3 .ch-hero-facts div:nth-child(4) { animation-delay: 0.2s; }
.c3 .ch-hero-facts div:nth-child(5) { animation-delay: 0.26s; }
.c3 .ch-hero-facts div:nth-child(6) { animation-delay: 0.32s; }
.c3 .ch-hero-facts div:nth-child(7) { animation-delay: 0.38s; }
.c3 .ch-hero-facts div:nth-child(8) { animation-delay: 0.44s; }

.c3 .ch-hero-facts div:nth-child(2) { border-left-color: #5b6cff; }
.c3 .ch-hero-facts div:nth-child(3) { border-left-color: #2aa889; }
.c3 .ch-hero-facts div:nth-child(4) { border-left-color: #e15b5b; }
.c3 .ch-hero-facts div:nth-child(5) { border-left-color: #8B3D9B; }
.c3 .ch-hero-facts div:nth-child(6) { border-left-color: #C45C26; }
.c3 .ch-hero-facts div:nth-child(7) { border-left-color: #0F8B8D; }
.c3 .ch-hero-facts div:nth-child(8) { border-left-color: #3D5A80; }

.c3 .ch-hero-facts div:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(28, 32, 48, 0.1);
}

.c3 .ch-hero-facts span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4658;
}

.c3 .ch-hero-facts strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c3-ink);
  line-height: 1.1;
}

.c3 .ch-hero-facts em {
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
  color: #5c6578;
}

.c3 .ch-reach-grid,
.c3 .ax-reach .ch-reach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.c3 .ax-reach {
  margin: 0 0 1.2rem;
}

.c3 .ax-reach-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
}

.c3 .ax-reach-head h3 {
  margin: 0.12rem 0 0.2rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.c3 .ax-reach-lead {
  margin: 0;
  max-width: 42rem;
  color: #5c6578;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.c3 .ch-reach-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.95rem 1rem 0.85rem;
  background: #fff;
  border: 1px solid var(--c3-line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28, 32, 48, 0.06);
  animation: ax-rise 0.5s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ch-reach-card.is-er {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 38%);
  gap: 0.6rem 0.8rem;
  align-items: start;
}

.c3 .ch-reach-card.is-ci {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 0.8rem;
}

.c3 .ch-reach-value {
  display: block;
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #2b3140;
}

.c3 .ch-reach-break {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  color: #6b7384;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.c3 .ch-reach-break b {
  color: #2b3140;
  font-weight: 800;
}

.c3 .ch-reach-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.c3 .ch-reach-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  color: #8a93a3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.c3 .ch-reach-label.is-foot {
  justify-content: flex-start;
  margin-top: 0.85rem;
}

.c3 .ch-reach-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border: 1px solid #c5cad6;
  border-radius: 50%;
  color: #8a93a3;
  font-size: 0.62rem;
  font-weight: 800;
  font-style: italic;
  flex: 0 0 auto;
}

.c3 .ch-reach-spark {
  display: block;
  width: 100%;
  height: 58px;
  margin-top: 0.45rem;
}

.c3 .ch-reach-spark.is-empty {
  height: 36px;
  background: linear-gradient(180deg, rgba(226, 74, 141, 0.08), transparent);
  border-radius: 8px;
}

.c3 .ch-reach-err {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.1rem;
}

.c3 .ch-reach-desc {
  margin: 0.4rem 0 0;
  color: #6b7384;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.c3 .ch-reach-grid.is-compact .ch-reach-value {
  font-size: 1.7rem;
}

.c3 .ch-reach-grid.is-compact .ch-reach-spark {
  height: 46px;
}

.c3 .ch-card .ch-reach-grid {
  margin: 0.15rem 0 1rem;
}

.c3 .ch-tops {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.c3 .ch-top-card {
  min-width: 0;
  padding: 0.78rem 0.85rem 0.72rem;
  background: #fff;
  border: 1px solid var(--c3-line);
  border-left: 4px solid #168a5c;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28, 32, 48, 0.06);
}

.c3 .ch-top-card.is-down { border-left-color: #c53c3c; }
.c3 .ch-top-card.is-views-up { border-left-color: #5b6cff; }
.c3 .ch-top-card.is-views-down { border-left-color: #c45c26; }

.c3 .ch-top-card h4 {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4658;
}

.c3 .ch-top-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.c3 .ch-top-row {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.c3 .ch-top-row:hover .ch-top-name {
  color: var(--c3-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.c3 .ch-top-rank {
  font-size: 0.72rem;
  font-weight: 800;
  color: #8a93a3;
}

.c3 .ch-top-name {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
}

.c3 .ch-top-name .ch-plat-pill {
  flex: 0 0 auto;
}

.c3 .ch-top-title {
  min-width: 0;
  overflow: hidden;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.c3 .ch-top-delta {
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.c3 .ch-top-delta.up { color: #168a5c; }
.c3 .ch-top-delta.down { color: #c53c3c; }
.c3 .ch-top-delta.flat,
.c3 .ch-top-delta.muted { color: var(--c3-muted); }

.c3 .ch-top-empty {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c6578;
}

.c3 .ch-charts-block {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}

.c3 .ch-overview.ch-overview-charts.ch-overview-trio {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.95fr);
  min-width: 0;
}

.c3 .ch-overview-trio > .ch-overview-card {
  min-width: 0;
}

.c3 .ch-overview-trio .ch-overview-donut {
  grid-column: auto;
}

.c3 .ch-overview-trio .ch-donut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.c3 .ch-overview-trio .ch-donut-svg {
  width: 184px;
  height: 184px;
}

.c3 .ch-overview-trio .ch-donut-center {
  font-size: 22px;
}

.c3 .ch-overview-trio .ch-donut-legend {
  width: 100%;
  max-height: 22rem;
  overflow: auto;
}

@media (max-width: 980px) {
  .c3 .ch-overview.ch-overview-charts.ch-overview-trio {
    grid-template-columns: 1fr;
  }
}

.c3 .ch-mop {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--c3-line);
  box-shadow: 0 12px 28px rgba(28, 32, 48, 0.06);
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ch-mop-head {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0 0.15rem 0.9rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--c3-line);
  background: transparent;
  box-shadow: none;
  animation: none;
}

.c3 .ch-mop-head::after {
  display: none;
}

.c3 .ch-mop-badge {
  flex-shrink: 0;
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #3d5a80;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  box-shadow: 0 4px 12px rgba(61, 90, 128, 0.22);
  animation: none;
}

.c3 .ch-mop-head-text {
  min-width: 0;
}

.c3 .ch-mop-head .ax-brief-kicker {
  color: #5c6578;
}

.c3 .ch-mop-head h3 {
  margin: 0.15rem 0 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c3-ink);
}

.c3 .ch-mop-lead {
  margin: 0.28rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c3-muted);
}

.c3 .ch-mop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.c3 .ch-mop-card {
  --net: var(--c3-coral);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 16px;
  background: #f7f8fb;
  border: 1.5px solid var(--c3-line);
  border-left: 4px solid var(--net);
  box-shadow: none;
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.c3 .ch-mop-card:nth-child(1) { animation-delay: 0.06s; }
.c3 .ch-mop-card:nth-child(2) { animation-delay: 0.14s; }
.c3 .ch-mop-card:nth-child(3) { animation-delay: 0.22s; }

.c3 .ch-mop-card:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: color-mix(in srgb, var(--net) 35%, var(--c3-line));
  box-shadow: 0 10px 22px rgba(28, 32, 48, 0.08);
}

.c3 .ch-mop-card.plat-max { --net: #e88975; }
.c3 .ch-mop-card.plat-telegram { --net: #2aabee; }
.c3 .ch-mop-card.plat-vk { --net: #4a76a8; }

.c3 .ch-mop-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
}

.c3 .ch-mop-card-head .inbox-net-mark {
  margin-top: 0.12rem;
  background: var(--net);
}

.c3 .ch-mop-card-head h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.c3 .ch-mop-title {
  color: inherit;
  text-decoration: none;
}

.c3 a.ch-mop-title:hover {
  color: var(--net);
}

.c3 .ch-mop-card-head .ch-link {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c3-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c3 .ch-mop-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.c3 .ch-mop-stats > div {
  min-width: 0;
  padding: 0.55rem 0.6rem 0.6rem;
  border-radius: 12px;
  background: var(--c3-bg);
  border: 1px solid var(--c3-line);
}

.c3 .ch-mop-stats span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ch-mop-stats strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.c3 .ch-mop-stats em {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  color: var(--c3-muted);
}

.c3 .ch-mop-stats em.up { color: #168a5c; }
.c3 .ch-mop-stats em.down { color: #c53c3c; }

.c3 .ch-mop-charts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.c3 .ch-mop-charts .ch-chart {
  padding: 0.45rem 0.5rem 0.35rem;
}

.c3 .ch-mop-charts .ch-chart-title {
  font-size: 0.72rem;
  margin-bottom: 0.2rem;
}

.c3 .ch-mop-charts .ch-chart-empty {
  font-size: 0.75rem;
  padding: 0.55rem 0.4rem;
}

@media (max-width: 980px) {
  .c3 .ch-mop-grid {
    grid-template-columns: 1fr;
  }
}

.c3 .ch-overview-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--c3-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(28, 32, 48, 0.06);
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c3 .ch-overview-trio > .ch-overview-card:nth-child(1) { animation-delay: 0.04s; }
.c3 .ch-overview-trio > .ch-overview-card:nth-child(2) { animation-delay: 0.12s; }
.c3 .ch-overview-trio > .ch-overview-card:nth-child(3) { animation-delay: 0.2s; }

.c3 .ch-overview-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c3-coral) 32%, var(--c3-line));
  box-shadow: 0 16px 32px rgba(28, 32, 48, 0.11);
}

.c3 .ch-hbar-val {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

.c3 .ch-hbar-delta {
  font-size: 0.78em;
  font-weight: 800;
}

.c3 .ch-hbar-delta.up { color: #168a5c; }
.c3 .ch-hbar-delta.down { color: #c53c3c; }
.c3 .ch-hbar-delta.flat,
.c3 .ch-hbar-delta.muted { color: var(--c3-muted); }

.c3 .ch-net {
  --net: var(--c3-coral);
  display: block;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--net) 9%, var(--c3-card));
  border: 1px solid color-mix(in srgb, var(--net) 32%, var(--c3-line));
  animation: ax-rise 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 details.ch-net[open] {
  padding: 0.55rem 0.9rem 0.95rem;
}

.c3 details.ch-net > .ch-net-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  margin: 0;
  padding: 0.42rem 0.15rem;
  border-radius: 14px;
  min-height: 48px;
}

.c3 details.ch-net > .ch-net-summary::-webkit-details-marker,
.c3 details.ch-net > .ch-net-summary::marker {
  display: none;
  content: none;
}

.c3 details.ch-net > .ch-net-summary:hover {
  background: color-mix(in srgb, var(--net) 14%, transparent);
}

.c3 details.ch-net > .ch-net-summary:focus-visible {
  outline: 2px solid var(--net);
  outline-offset: 2px;
}

.c3 .ch-net-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--net) 18%, #fff);
  color: color-mix(in srgb, var(--net) 72%, #1c2030);
  transition: transform 0.2s ease, background 0.18s ease;
}

.c3 details.ch-net[open] > .ch-net-summary .ch-net-chevron {
  transform: rotate(180deg);
}

.c3 .ch-net-body {
  margin-top: 0.7rem;
}

.c3 .ch-grid,
.c3 .ch-grid-tiles,
.c3 .ch-grid-dossiers {
  gap: 1.15rem;
}

.c3 .ch-grid-dossiers {
  display: grid;
  grid-template-columns: 1fr;
}

.c3 .ch-net-lead {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c3-muted);
}

.c3 .ch-kind-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(61, 70, 88, 0.1);
  color: #3d4658;
}

.c3 .ch-card-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.c3 .ch-card-dossier {
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 20px;
}

.c3 .ch-card-dossier:hover {
  transform: none;
  box-shadow: 0 14px 32px rgba(28, 32, 48, 0.08);
}

.c3 .ch-card-facts {
  gap: 0.7rem;
  margin: 0 0 0.9rem;
}

.c3 .ch-card-facts div {
  padding: 0.62rem 0.7rem 0.58rem;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(28, 32, 48, 0.04);
}

.c3 .ch-card-facts strong {
  font-size: 1.22rem;
}

.c3 .ch-card-facts em {
  font-size: 0.7rem;
}

.c3 .ch-net.plat-max { --net: #e88975; }
.c3 .ch-net.plat-telegram { --net: #2aabee; }
.c3 .ch-net.plat-vk { --net: #4a76a8; }

.c3 .ch-net.is-empty {
  background: color-mix(in srgb, var(--net) 5%, var(--c3-card));
  border-style: dashed;
}

.c3 .ch-net-empty {
  margin: 0;
  padding: 0.95rem 0.85rem;
  text-align: left;
  background: transparent;
  border: 0;
}

.c3 .ch-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--c3-line);
  border-top: 3px solid var(--plat, var(--ch-accent, var(--c3-coral)));
  box-shadow: 0 10px 28px rgba(28, 32, 48, 0.05);
  animation: ax-rise 0.45s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c3 .ch-card.plat-max { --plat: #e88975; }
.c3 .ch-card.plat-telegram { --plat: #2aabee; }
.c3 .ch-card.plat-vk { --plat: #4a76a8; }

.c3 .ch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(28, 32, 48, 0.1);
}

.c3 .ch-sent-chip {
  background: #fff;
  border-color: var(--c3-line);
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.c3 .ch-sent-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(28, 32, 48, 0.08);
  border-color: color-mix(in srgb, var(--c3-coral) 40%, var(--c3-line));
}

.c3 .ch-chart {
  background: var(--c3-bg);
  border-radius: 14px;
  border: 1px solid var(--c3-line);
  animation: ax-rise 0.45s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ch-line {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ax-draw 1.15s ease forwards;
}

.c3 .ch-area {
  opacity: 0;
  animation: ch-area-in 0.7s ease 0.25s forwards;
}

.c3 .ch-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: ax-pop 0.35s ease 0.95s both;
}

.c3 .ch-donut-svg {
  transform-origin: center;
  animation: ch-donut-in 0.8s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ch-donut-item {
  animation: ax-rise 0.4s cubic-bezier(.22, 1, .36, 1) both;
}

.c3 .ch-donut-item:nth-child(1) { animation-delay: 0.05s; }
.c3 .ch-donut-item:nth-child(2) { animation-delay: 0.1s; }
.c3 .ch-donut-item:nth-child(3) { animation-delay: 0.15s; }
.c3 .ch-donut-item:nth-child(4) { animation-delay: 0.2s; }
.c3 .ch-donut-item:nth-child(5) { animation-delay: 0.25s; }
.c3 .ch-donut-item:nth-child(6) { animation-delay: 0.3s; }

.c3 .ch-hbar-fill {
  transform-origin: left center;
  animation: ax-grow-x 0.75s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes ch-sheen {
  from { background-position: 130% 0; }
  to { background-position: -30% 0; }
}

@keyframes ch-area-in {
  from { opacity: 0; }
  to { opacity: 0.16; }
}

@keyframes ch-donut-in {
  from { opacity: 0; transform: rotate(-18deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}

[data-theme="dark"] .c3 .channels-empty,
[data-theme="dark"] .c3 .ch-card .ch-metric,
[data-theme="dark"] .c3 .ch-overview-card,
[data-theme="dark"] .c3 .ch-card,
[data-theme="dark"] .c3 .ch-mop-card,
[data-theme="dark"] .c3 .ch-sent-chip,
[data-theme="dark"] .c3 .ch-chart {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-mop {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-mop-head {
  background: transparent;
  border-bottom-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-mop-head::after {
  display: none;
}

[data-theme="dark"] .c3 .ch-mop-badge {
  background: #5b7a9e;
  box-shadow: none;
}

[data-theme="dark"] .c3 .ch-mop-card {
  background: #14161e;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-hero-facts div,
[data-theme="dark"] .c3 .ch-mop-stats > div {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-hero-facts span {
  color: #c5cad6;
}

[data-theme="dark"] .c3 .ch-hero-facts strong {
  color: #fff;
}

[data-theme="dark"] .c3 .ch-kind-pill {
  background: rgba(197, 202, 214, 0.12);
  color: #c5cad6;
}

[data-theme="dark"] .c3 .ch-net-lead,
[data-theme="dark"] .c3 .ch-card-kicker {
  color: #9aa3b8;
}

[data-theme="dark"] .c3 .ch-top-card {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-top-card h4 {
  color: #c5cad6;
}

[data-theme="dark"] .c3 .ch-top-delta.up { color: #5ee0b5; }
[data-theme="dark"] .c3 .ch-top-delta.down { color: #ff8d85; }

[data-theme="dark"] .c3 .ch-top-empty {
  color: #9aa3b8;
}

[data-theme="dark"] .c3 .ch-net-chevron {
  background: color-mix(in srgb, var(--net) 28%, #1b1e27);
  color: #fff;
}

[data-theme="dark"] .c3 .ch-pulse-mix {
  background: #101218;
}

[data-theme="dark"] .c3 .ch-reach-card {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .c3 .ch-reach-value,
[data-theme="dark"] .c3 .ch-reach-break b {
  color: #fff;
}

[data-theme="dark"] .c3 .ch-reach-break,
[data-theme="dark"] .c3 .ch-reach-desc,
[data-theme="dark"] .c3 .ax-reach-lead {
  color: #9aa3b8;
}

[data-theme="dark"] .c3 .ch-reach-label {
  color: #7d8798;
}

@media (max-width: 1100px) {
  .c3 .ch-hero-facts,
  .c3 .ch-tops,
  .c3 .ch-reach-grid,
  .c3 .ax-reach .ch-reach-grid {
    grid-template-columns: 1fr 1fr;
  }
  .c3 .ch-reach-card.is-err {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .c3 .ch-hero-facts,
  .c3 .ch-tops,
  .c3 .ch-grid-tiles,
  .c3 .ch-grid-dossiers,
  .c3 .ch-reach-grid,
  .c3 .ax-reach .ch-reach-grid {
    grid-template-columns: 1fr;
  }
  .c3 .ch-reach-card.is-er,
  .c3 .ch-reach-card.is-ci {
    grid-template-columns: 1fr;
  }
  .c3 .ch-reach-side {
    align-items: flex-start;
    text-align: left;
  }
  .c3 .ch-reach-label {
    justify-content: flex-start;
  }
  .c3 .ax-reach-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Topics visual refresh ── */
.c3.page-topics .topics-kpi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
  max-width: 32rem;
}

.c3.page-topics .topics-kpi .kpi {
  background: #fff;
  border: 1px solid var(--c3-line);
  box-shadow: 0 10px 24px rgba(28, 32, 48, 0.05);
  border-radius: 18px;
}

.c3.page-topics .chip-filter {
  background: #fff;
  border: 1px solid var(--c3-line);
  color: var(--c3-ink);
  box-shadow: 0 4px 12px rgba(28, 32, 48, 0.04);
}

.c3.page-topics .chip-filter.active {
  background: linear-gradient(180deg, #ff8a68, #ff7048);
  color: #fff;
  border-color: transparent;
}

.c3.page-topics .topic-col {
  background: var(--c3-col);
  border: 1px solid var(--c3-line);
  border-top: 3px solid var(--chat-color, var(--c3-coral));
  box-shadow: 0 12px 28px rgba(28, 32, 48, 0.06);
  height: auto;
  max-height: none;
}

.c3.page-topics .topic-col .chat-head h3 {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.c3.page-topics .topic-col .chat-messages {
  gap: 0.95rem;
}

.c3.page-topics .topic-msg {
  background: #fff;
  border: 1.5px solid #d5dbe6;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(28, 32, 48, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.c3.page-topics .topic-msg:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--chat-color, var(--c3-coral)) 55%, #d5dbe6);
  box-shadow: 0 12px 24px rgba(28, 32, 48, 0.1);
}

.c3 .topic-msg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  margin-bottom: 0.45rem;
}

.c3 .topic-msg-meta .author {
  color: var(--c3-ink);
  font-weight: 800;
  font-size: 0.8rem;
  max-width: 12rem;
}

.c3 .topic-msg-meta time {
  margin-left: auto;
  color: var(--c3-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.c3 .topic-chat {
  max-width: min(18rem, 72%);
  color: #1b2233;
  background: #dce4f0;
  font-weight: 750;
  font-size: 0.7rem;
}

.c3.page-topics .topic-exclude-btn {
  color: #c45c3a;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--c3-coral) 45%, var(--c3-line));
  border-radius: 999px;
}

.c3.page-topics .topic-exclude-btn:hover {
  background: #fff4ee;
  border-color: var(--c3-coral);
}

[data-theme="dark"] .c3.page-topics .topics-kpi .kpi,
[data-theme="dark"] .c3.page-topics .chip-filter {
  background: #1b1e27;
  border-color: #2a3040;
  color: #eef0f6;
}

[data-theme="dark"] .c3.page-topics .topic-col {
  background: #16181f;
  border-color: #2a3040;
}

[data-theme="dark"] .c3.page-topics .topic-msg {
  background: #232632;
  border-color: #3a4152;
}

[data-theme="dark"] .c3 .topic-chat {
  background: #2a3142;
  color: #eef0f6;
}

[data-theme="dark"] .c3 .topic-msg-meta .author {
  color: #fff;
}

/* ── Mobile app shell ── */
@media (max-width: 840px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body.c3 {
    overscroll-behavior: none;
    padding-bottom: 0;
    -webkit-tap-highlight-color: transparent;
  }

  body.c3,
  body.c3.page-chats,
  body.c3.page-topics,
  body.c3.page-analytics,
  body.c3.page-channels,
  body.c3.page-reports,
  body.c3.page-inbox {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  body.c3 .c3-app {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  body.c3 .c3-workspace {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .c3 a,
  .c3 button,
  .c3 .tab,
  .c3 .chip-filter,
  .c3 .period-btn,
  .c3 .scope-btn,
  .c3 .view-btn {
    touch-action: manipulation;
  }

  .c3-mobile-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: calc(0.12rem + env(safe-area-inset-top, 0px)) 0.7rem 0.12rem;
    background: color-mix(in srgb, var(--c3-bg) 86%, #fff);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--c3-line);
    z-index: 30;
    flex-shrink: 0;
  }

  .c3-mobile-ident {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .c3-mobile-kicker {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--c3-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .c3-mobile-title {
    display: none;
  }

  .c3-mobile-bar .shell-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.22rem;
    flex: 0 0 auto;
  }

  .c3 .shell-actions .icon-btn,
  .c3-mobile-bar .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .c3 .c3-page-text {
    display: none;
  }

  .c3-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0.22rem 0.7rem 0.28rem;
    flex-shrink: 0;
  }

  body.c3.page-topics .c3-toolbar {
    display: none;
  }

  body.c3.page-topics .topics-page {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .c3 .feed-plat-switch {
    display: flex !important;
    gap: 0.18rem;
    padding: 0.14rem;
    background: #eceef4;
    border: 1px solid var(--c3-line);
    border-radius: 999px;
  }

  .c3 .feed-plat {
    flex: 1;
    min-height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    text-decoration: none;
    color: var(--c3-ink);
    font-size: 0.78rem;
    font-weight: 750;
  }

  .c3 .feed-plat.active {
    background: var(--c3-coral);
    color: #fff;
    box-shadow: 0 6px 14px rgba(232, 137, 117, 0.32);
  }

  .c3-tools,
  .c3 .shell-page-tools,
  .c3 .shell-page-tools-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
  }

  .c3 .tool-group {
    width: 100%;
    min-width: 0;
  }

  .c3 .tool-switch,
  .c3 .period-switch,
  .c3 .scope-switch,
  .c3 .view-switch {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .c3 .tool-switch::-webkit-scrollbar,
  .c3 .period-switch::-webkit-scrollbar,
  .c3 .scope-switch::-webkit-scrollbar,
  .c3 .view-switch::-webkit-scrollbar {
    display: none;
  }

  .c3 .period-btn,
  .c3 .scope-btn,
  .c3 .view-btn {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0.22rem 0.72rem;
    font-size: 0.76rem;
  }

  .c3 .export-brief-pair {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.08rem;
  }

  .c3 .export-brief-pair .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0.4rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .c3 select,
  .c3 input,
  .c3 input[type="search"] {
    font-size: 16px;
    min-height: 44px;
  }

  .c3 .analytics-page,
  .c3 .channels-page {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 0.15rem 0.7rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
  }

  .c3 .ax-more[open] > * + * {
    margin-top: 1.25rem;
  }

  .c3 .ax-pulse {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .c3 .ax-rail-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .c3 .ax-pulse-tile {
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0.75rem 0.8rem 0.7rem;
    gap: 0.28rem;
  }

  .c3 .ax-pulse-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.45;
  }

  .c3 .ax-pulse-tile strong {
    font-size: 1.2rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .c3 .ax-pulse-stat {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .c3 .ax-pulse-hint {
    font-size: 0.72rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .c3 .ax-lead {
    display: none;
  }

  .c3 .ax-briefing {
    padding: 0.85rem 0.8rem 0.9rem;
    overflow: visible;
    min-width: 0;
  }

  .c3 .ax-brief-kicker,
  .c3 .ax-brief-foot-kicker {
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  .c3 .ax-brief-top {
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    align-items: stretch;
  }

  .c3 .ax-brief-lead {
    flex: 0 1 auto;
    width: 100%;
  }

  .c3 .ax-briefing h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .c3 .ax-brief-headline {
    font-size: 0.88rem;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  .c3 .ax-brief-sub {
    gap: 0.35rem 0.55rem;
  }

  .c3 .ax-brief-cta {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .c3 .ax-alerts {
    grid-template-columns: 1fr;
  }

  .c3 .ax-alert {
    min-height: 0;
    padding: 0.7rem 0.75rem 0.7rem;
  }

  .c3 .platform-summary,
  .c3 .ax-brief-nets,
  .c3 .platform-card {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .c3 .platform-card {
    padding: 0.7rem 0.7rem 0.65rem;
  }

  .c3 .platform-card-head {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .c3 .platform-card-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem 0.3rem;
  }

  .c3 .platform-card-stats strong {
    font-size: 0.95rem;
  }

  .c3 .platform-card-stats span {
    font-size: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ax-briefing:hover,
  .c3 .ax-brief-cta:hover,
  .c3.page-topics .topic-msg:hover {
    transform: none;
  }

  .c3 .ax-more > summary {
    min-height: 0;
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    line-height: 1.25;
    padding: 0.65rem 0.8rem;
    text-transform: none;
  }

  .c3 .ax-growth {
    padding: 0.6rem 0.65rem 0.7rem;
  }

  .c3 .ax-growth .ax-news-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "kicker cta"
      "title title"
      "sub sub";
    gap: 0.18rem 0.5rem;
    margin-bottom: 0.55rem;
    align-items: center;
  }

  .c3 .ax-growth .ax-news-head > div {
    display: contents;
  }

  .c3 .ax-growth .ax-brief-kicker {
    grid-area: kicker;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ax-growth .ax-news-head h3 {
    grid-area: title;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .c3 .ax-growth .ax-news-lead {
    display: none;
  }

  .c3 .ax-growth .ax-news-sub {
    grid-area: sub;
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .c3 .ax-growth-all {
    grid-area: cta;
    margin: 0;
    padding: 0.28rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 750;
    background: transparent;
    color: var(--c3-coral);
    border: 1px solid color-mix(in srgb, var(--c3-coral) 40%, var(--c3-line));
    white-space: nowrap;
  }

  .c3 .ax-growth-all-more {
    display: none;
  }

  .c3 .ax-growth-group {
    padding: 0.55rem 0.55rem 0.6rem;
    margin-bottom: 0.5rem;
  }

  .c3 .ax-growth-group h4 {
    flex-wrap: wrap;
    gap: 0.15rem 0.45rem;
    font-size: 0.88rem;
  }

  .c3 .ax-growth-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .c3 .ax-growth-card {
    min-height: 0;
    padding: 0.55rem 0.6rem 0.5rem;
    gap: 0.12rem 0.65rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .c3 .ax-tops {
    grid-template-columns: 1fr;
  }

  .c3 .ax-pair {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .c3 .ax-pair .panel-lead {
    display: none;
  }

  .c3 .ax-pair .ax-card.ax-detail-card {
    padding: 0.7rem 0.65rem 0.75rem;
  }

  .c3 .ax-pair .ax-card.ax-detail-card h2 {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .c3 .ax-pair .bars,
  .c3 .ax-pair .trend-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.45rem;
  }

  .c3 .ax-pair .ax-chat-row,
  .c3 .ax-pair .trend-row {
    padding: 0.55rem 0.55rem 0.5rem;
    min-width: 0;
  }

  .c3 .ax-pair .trend-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .c3 .ax-pair .trend-main {
    min-width: 0;
  }

  .c3 .ax-pair .trend-main strong {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .c3 .ax-pair .trend-delta-wrap {
    grid-column: 2;
    align-items: flex-start;
    margin-top: 0.2rem;
  }

  .c3 .ax-more .trend-list,
  .c3 .ax-more .top-list,
  .c3 .ax-more .bars {
    gap: 0.55rem;
  }

  .c3 .ax-chat-row-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .c3 .ax-chat-row-top em {
    display: none;
  }

  .c3 .ch-hero-facts,
  .c3 .ch-tops,
  .c3 .ch-grid-tiles {
    grid-template-columns: 1fr 1fr;
  }

  body.c3.page-inbox .c3-workspace {
    overflow: hidden;
  }

  .c3 .inbox-tools {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }

  .c3 .inbox-tools select,
  .c3 .inbox-tpl-btn {
    min-height: 40px;
    flex-shrink: 0;
  }

  .c3 .inbox-summary {
    grid-template-columns: 1fr 1fr;
    padding: 0 0.85rem 0.65rem;
    flex-shrink: 0;
  }

  .c3 .inbox-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 0 0.85rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
  }

  .c3 .inbox-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .c3 .inbox-tile {
    min-height: 0;
    padding: 0.75rem 0.8rem 0.7rem;
  }

  .c3 .inbox-tile p {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .c3 .inbox-tile footer .btn {
    min-height: 40px;
  }

  body.page-topics.thread-mode .topics-kpi,
  body.page-topics.thread-mode .topic-chips,
  body.page-topics.thread-mode .c3-page-text {
    display: none !important;
  }

  body.page-topics:not(.thread-mode) .topics-kpi,
  body.page-topics:not(.thread-mode) .topic-chips {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  body.page-chats.thread-mode .c3-toolbar {
    display: none;
  }

  .c3 .chat-list,
  .c3 .topic-list {
    padding: 0.2rem 0.7rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
  }

  .c3 .chat-list-item,
  .c3 .topic-list-item {
    flex-shrink: 0;
    min-height: 64px;
    padding: 0.58rem 0.7rem;
    border-radius: 14px;
    box-shadow: var(--c3-shadow-sm);
  }

  .c3 .chat-messages {
    padding: 0.85rem 0.75rem calc(5.4rem + env(safe-area-inset-bottom, 0px));
  }

  .c3 .topic-exclude-btn,
  .c3 .bubble-actions .btn {
    min-height: 44px;
    padding: 0.55rem 0.95rem;
  }

  .c3-sheet-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(16, 18, 24, 0.42);
  }

  .c3-sheet-scrim:not([hidden]) {
    display: block !important;
  }

  .c3-sheet-scrim[hidden] {
    display: none !important;
  }

  .c3 .filter-sheet.toolbar,
  .c3 .filter-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
    max-height: min(85dvh, 560px) !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1 !important;
    transform: translateY(110%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    background: #fff;
    border: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -16px 40px rgba(16, 18, 24, 0.18);
    padding: 0.35rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }

  .c3 .filter-sheet::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 0.45rem auto 0.85rem;
    border-radius: 99px;
    background: #cfd4de;
  }

  body.filters-open .c3 .filter-sheet.toolbar,
  body.filters-open .c3 .filter-sheet,
  .c3 .filter-sheet.open {
    transform: none;
    pointer-events: auto;
  }

  .c3 .filter-sheet .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .c3 .filter-sheet .field span {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.72rem;
    font-weight: 750;
    color: var(--c3-muted);
  }

  .c3 .filter-sheet .field,
  .c3 .filter-sheet .field.grow {
    width: 100%;
    min-width: 0;
  }

  .c3 .tab-bar {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 0;
    padding: 0.28rem 0.2rem calc(0.28rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--c3-line);
    box-shadow: 0 -8px 24px rgba(28, 32, 48, 0.06);
  }

  .c3 .tab {
    position: relative;
    min-height: 52px;
    padding: 0.28rem 0.1rem;
    gap: 0.16rem;
    border-radius: 12px;
    background: transparent;
    color: var(--c3-muted);
    font-size: 0.56rem;
    font-weight: 750;
    letter-spacing: -0.01em;
  }

  .c3 .tab svg {
    width: 22px;
    height: 22px;
  }

  .c3 .tab.active {
    color: var(--c3-coral);
    background: transparent;
    box-shadow: none;
  }

  .c3 .tab-bar [data-tab].has-badge::after,
  .c3 .tab.has-badge::after {
    content: attr(data-badge);
    position: absolute;
    top: 3px;
    right: calc(50% - 1.15rem);
    margin: 0;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: #e15b5b;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.05rem;
    text-align: center;
  }

  .c3 .toast {
    bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 840px) and (display-mode: standalone) {
  .c3-mobile-bar {
    padding-top: calc(0.28rem + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 840px) {
  [data-theme="dark"] .c3-mobile-bar {
    background: color-mix(in srgb, var(--c3-bg) 82%, #000);
  }

  [data-theme="dark"] .c3 .feed-plat-switch,
  [data-theme="dark"] .c3 .filter-sheet,
  [data-theme="dark"] .c3 .filter-sheet.toolbar,
  [data-theme="dark"] .c3 .tab-bar {
    background: #1b1e27;
    border-color: #2a3040;
  }

  [data-theme="dark"] .c3 .feed-plat {
    color: #eef0f6;
  }

  [data-theme="dark"] .c3 .tab-bar {
    background: rgba(22, 24, 31, 0.94);
  }

  [data-theme="dark"] .c3 .filter-sheet::before {
    background: #4a5163;
  }

  .c3 .channels-page > *,
  .c3 .analytics-page > * {
    flex-shrink: 0;
  }

  .c3 .ch-net,
  .c3 details.ch-net,
  .c3 details.ch-net[open],
  .c3 .ch-card,
  .c3 .ch-mop,
  .c3 .ch-mop-card,
  .c3 .ch-net-body,
  .c3 .ch-kpi-grid,
  .c3 .ch-kpi-grid-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .c3 .ch-net,
  .c3 details.ch-net,
  .c3 details.ch-net[open] {
    overflow: visible;
    min-height: auto;
  }

  .c3 details.ch-net > .ch-net-summary {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.45rem 0.1rem;
  }

  .c3 .ch-card {
    overflow: visible;
  }

  .c3 .ch-net {
    padding: 0.45rem 0.65rem;
  }

  .c3 details.ch-net[open] {
    padding: 0.5rem 0.65rem 0.75rem;
  }

  .c3 .ch-card-compact {
    padding: 0.55rem 0.6rem 0.6rem;
  }

  .c3 .ch-card-head {
    gap: 0.45rem;
    min-width: 0;
  }

  .c3 .ch-card-titles {
    min-width: 0;
    overflow: hidden;
  }

  .c3 .ch-card-titles h3,
  .c3 .ch-title-link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ch-card-meta {
    min-width: 0;
    overflow: hidden;
  }

  .c3 .ch-link {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ch-kpi-grid,
  .c3 .ch-kpi-grid-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.45rem;
  }

  .c3 .ch-metric,
  .c3 .ch-metric.is-compact,
  .c3 .ch-metric.is-accent,
  .c3 .ch-metric.is-compact.is-accent {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0.4rem 0.45rem 0.36rem;
  }

  .c3 .ch-metric-label,
  .c3 .ch-metric.is-compact .ch-metric-label {
    font-size: 0.6rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ch-metric-value,
  .c3 .ch-metric.is-compact .ch-metric-value,
  .c3 .ch-metric.is-accent .ch-metric-value,
  .c3 .ch-metric.is-compact.is-accent .ch-metric-value {
    font-size: 1.02rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .c3 .ch-metric-delta {
    margin-top: 0.12rem;
    gap: 0.15rem;
  }

  .c3 .ch-metric-delta-val,
  .c3 .ch-metric.is-compact .ch-metric-delta-val {
    font-size: 0.66rem;
  }

  .c3 .ch-sent {
    gap: 0.28rem;
    margin-bottom: 0.35rem;
  }

  .c3 .ch-sent-chip {
    min-width: 0;
    overflow: hidden;
    padding: 0.28rem 0.32rem;
  }

  .c3 .ch-sent-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .c3 .ch-sent-chip strong {
    font-size: 0.86rem;
  }

  .c3 .ch-charts-compact {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .c3 .inbox-net-head {
    min-width: 0;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
  }

  .c3 .inbox-net-head h2,
  .c3 .inbox-net-head p {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.c3 [data-tip] {
  cursor: help;
}

.c3-metric-tip {
  position: fixed;
  z-index: 240;
  left: 0;
  top: 0;
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.58rem 0.72rem;
  border-radius: 12px;
  background: #1a2030;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 36px rgba(16, 20, 32, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}

.c3-metric-tip.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c3-metric-tip.is-below {
  transform: translateY(-4px);
}

.c3-metric-tip.is-on.is-below {
  transform: translateY(0);
}

[data-theme="dark"] .c3-metric-tip {
  background: #10141c;
  color: #f3f5f8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid #2c3344;
}

/* ── Contours + hover sheen polish ── */
@keyframes c3-sheen-sweep {
  from { transform: translateX(-130%) skewX(-18deg); }
  to { transform: translateX(240%) skewX(-18deg); }
}

.c3 .platform-card,
.c3 .ax-brief-plat,
.c3 .ax-pulse-tile,
.c3 .ax-fire-row,
.c3 .ax-news-item,
.c3 .ax-brief-cta,
.c3 .btn-primary,
.c3 .btn.ghost,
.c3 .ch-overview-card,
.c3 .ch-mop-card,
.c3 .ch-card,
.c3 .kpi,
.c3 .panel {
  position: relative;
  overflow: hidden;
}

.c3 .platform-card::before,
.c3 .ax-brief-plat::before,
.c3 .ax-pulse-tile::before,
.c3 .ax-fire-row::before,
.c3 .ax-news-item::before,
.c3 .ax-brief-cta::before,
.c3 .btn-primary::before,
.c3 .btn.ghost::before,
.c3 .ch-overview-card::before,
.c3 .ch-mop-card::before,
.c3 .ch-card::before,
.c3 .kpi::before,
.c3 .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0) 66%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-130%) skewX(-18deg);
  z-index: 1;
}

.c3 .platform-card:hover::before,
.c3 .ax-brief-plat:hover::before,
.c3 .ax-pulse-tile:hover::before,
.c3 .ax-fire-row:hover::before,
.c3 .ax-news-item:hover::before,
.c3 .ax-brief-cta:hover::before,
.c3 .btn-primary:hover::before,
.c3 .btn.ghost:hover::before,
.c3 .ch-overview-card:hover::before,
.c3 .ch-mop-card:hover::before,
.c3 .ch-card:hover::before,
.c3 .kpi:hover::before,
.c3 .panel:hover::before {
  opacity: 1;
  animation: c3-sheen-sweep 0.85s ease;
}

.c3 .platform-card,
.c3 .ax-brief-plat {
  border: 1.5px solid var(--c3-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c3 .platform-card:hover,
.c3 .ax-brief-plat:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--plat, var(--c3-coral)) 42%, var(--c3-line));
  box-shadow: 0 16px 34px rgba(28, 32, 48, 0.12);
}

.c3 .kpi:hover,
.c3 .panel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c3-coral) 30%, var(--c3-line));
  box-shadow: 0 14px 28px rgba(28, 32, 48, 0.1);
}

.c3 .kpi,
.c3 .panel {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c3 .scope-btn,
.c3 .period-btn,
.c3 .view-btn {
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.c3 .scope-btn:hover,
.c3 .period-btn:hover,
.c3 .view-btn:hover {
  transform: translateY(-1px);
}

.c3 .scope-btn.active,
.c3 .period-btn.active,
.c3 .view-btn.active {
  box-shadow: 0 4px 12px rgba(232, 137, 117, 0.35);
}

.c3 .period-switch.is-light,
.c3 .scope-switch.is-light,
.c3 .view-switch {
  border: 1.5px solid var(--c3-line);
  background: #fff;
  box-shadow: var(--c3-shadow-sm);
}

.c3 .period-switch.is-light .period-btn,
.c3 .scope-switch.is-light .scope-btn,
.c3 .view-switch .view-btn {
  color: var(--c3-ink);
}

.c3 .period-switch.is-light .period-btn:hover,
.c3 .scope-switch.is-light .scope-btn:hover,
.c3 .view-switch .view-btn:hover {
  background: rgba(232, 137, 117, 0.1);
  color: var(--c3-ink);
}

.c3 .c3-live {
  border: 1.5px solid rgba(27, 34, 51, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.c3 .c3-live-head {
  border-bottom: 1.5px solid rgba(27, 34, 51, 0.1);
}

.c3-side .nav-link {
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.c3-side .nav-link:hover {
  transform: translateX(2px);
}

.c3-side .nav-link.active {
  box-shadow: 0 8px 18px rgba(232, 137, 117, 0.32);
}

.c3 .ax-brief-cta > *,
.c3 .btn > *,
.c3 .platform-card > *,
.c3 .ax-pulse-tile > *,
.c3 .ax-fire-row > *,
.c3 .ax-news-item > *,
.c3 .ch-overview-card > *,
.c3 .ch-mop-card > *,
.c3 .ch-card > *,
.c3 .kpi > *,
.c3 .panel > * {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .c3 .platform-card::before,
  .c3 .ax-brief-plat::before,
  .c3 .ax-pulse-tile::before,
  .c3 .ax-fire-row::before,
  .c3 .ax-news-item::before,
  .c3 .ax-brief-cta::before,
  .c3 .btn-primary::before,
  .c3 .btn.ghost::before,
  .c3 .ch-overview-card::before,
  .c3 .ch-mop-card::before,
  .c3 .ch-card::before,
  .c3 .kpi::before,
  .c3 .panel::before {
    display: none !important;
    animation: none !important;
  }

  .c3 .platform-card:hover,
  .c3 .ax-brief-plat:hover,
  .c3 .ax-pulse-tile:hover,
  .c3 .ax-fire-row:hover,
  .c3 .ax-news-item:hover,
  .c3 .ax-brief-cta:hover,
  .c3 .btn:hover,
  .c3 .icon-btn:hover,
  .c3 .kpi:hover,
  .c3 .panel:hover,
  .c3 .c3-live-item:hover,
  .c3 .ch-overview-card:hover,
  .c3-side .nav-link:hover {
    transform: none !important;
  }
}

/* ── Reports PDF ── */
.reports-page {
  padding: 0 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  overflow: auto;
}

.rep-dates {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rep-dates-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.rep-dates-label {
  margin: 0;
  color: var(--c3-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.rep-dates-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.7rem;
}

.rep-date-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 10rem;
}

.rep-date-field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.rep-date-field input[type="date"] {
  height: 42px;
  border: 1.5px solid var(--c3-line);
  border-radius: 12px;
  padding: 0 0.8rem;
  font: inherit;
  font-weight: 600;
  color: var(--c3-ink);
  background: #fff;
}

.rep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.rep-card {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.rep-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-coral);
}

.rep-card h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.rep-lead {
  margin: 0;
  color: var(--c3-muted);
  line-height: 1.45;
}

.rep-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 12rem;
}

.rep-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.rep-kpi {
  background: var(--c3-bg);
  border-radius: 12px;
  padding: 0.55rem 0.65rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rep-kpi span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c3-muted);
  letter-spacing: 0.02em;
}

.rep-kpi strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.rep-kpi.is-neg {
  background: var(--neg-soft);
}

.rep-kpi.is-pos {
  background: var(--pos-soft);
}

.rep-kpi.is-coral {
  background: var(--c3-coral-soft);
}

.rep-headline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.rep-list {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.rep-list-title {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.rep-list-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  padding: 0.22rem 0;
  border-bottom: 1px solid var(--c3-line);
}

.rep-list-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rep-list-row b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--c3-ink);
}

.rep-empty {
  margin: 0;
  color: var(--c3-muted);
}

.rep-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

[data-theme="dark"] .rep-date-field input[type="date"],
[data-theme="dark"] .rep-kpi {
  background: #1b1e27;
  color: inherit;
  border-color: #2a3040;
}

@media (max-width: 1080px) {
  .rep-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .reports-page {
    padding: 0 0.75rem 5.5rem;
  }

  .rep-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rep-dates-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rep-date-field,
  .rep-dates-row .btn {
    width: 100%;
  }
}

/* Пол подписчиков */
.ch-gender-card {
  margin-top: 0.85rem;
  padding: 0.95rem 1.1rem 1.05rem;
  background: #fff;
  border: 1.5px solid var(--c3-line);
  border-radius: 16px;
  box-shadow: var(--c3-shadow-sm);
}

.ch-gender-card.is-compact {
  margin-top: 0.7rem;
  padding: 0.8rem 0.9rem 0.9rem;
}

.ch-gender-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.ch-gender-head p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-muted);
}

.ch-gender-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.4px solid #c5cad6;
  color: #8b93a6;
  font-size: 0.62rem;
  font-weight: 800;
  cursor: help;
}

.ch-gender-nums {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.ch-gender-nums div {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.ch-gender-nums .is-end {
  text-align: right;
  align-items: flex-end;
}

.ch-gender-nums strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--c3-ink);
}

.ch-gender-card.is-compact .ch-gender-nums strong {
  font-size: 1.28rem;
}

.ch-gender-nums span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c3-muted);
}

.ch-gender-bar {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c3-bg);
}

.ch-gender-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.ch-gender-seg.is-m {
  background: repeating-linear-gradient(
    -52deg,
    #6ba3d4,
    #6ba3d4 5px,
    #7eb0dc 5px,
    #7eb0dc 10px
  );
}

.ch-gender-seg.is-f {
  background: repeating-linear-gradient(
    -52deg,
    #e07a72,
    #e07a72 5px,
    #e88975 5px,
    #e88975 10px
  );
}

.ch-gender-empty {
  margin: 0;
  color: var(--c3-muted);
  font-size: 0.88rem;
}

.rep-preview .ch-gender-card {
  margin-top: 0.2rem;
}

[data-theme="dark"] .ch-gender-card {
  background: #1b1e27;
  border-color: #2a3040;
}

[data-theme="dark"] .ch-gender-nums strong {
  color: #f3f4f8;
}

/* Правовой подвал и документы */
.c3-legal {
  margin-top: 0.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.c3-legal nav {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.c3-legal a {
  color: #9aa3b8;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
}

.c3-legal a:hover {
  color: #fff;
}

.c3-legal-mail {
  color: #c5cad6 !important;
  word-break: break-all;
}

.c3-legal.is-dock {
  display: none;
}

.legal-page {
  padding: 0 1.35rem 2.2rem 0.2rem;
}

body.c3.page-legal .c3-workspace {
  overflow: auto;
}

@media (max-width: 840px) {
  .c3-legal.is-dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin: 1.4rem 0 0;
    padding: 1rem 0 0.25rem;
    border-top: 1px solid var(--c3-line);
    text-align: center;
  }

  /* Отчёты и документы сами не отступают от таб-бара */
  .reports-page > .c3-legal.is-dock,
  .legal-page > .c3-legal.is-dock {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  }

  .c3-legal.is-dock nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
  }

  .c3-legal.is-dock a {
    color: var(--c3-muted);
    font-size: 0.78rem;
    font-weight: 500;
  }

  .c3-legal.is-dock .c3-legal-mail {
    color: var(--c3-muted) !important;
  }

  [data-theme="dark"] .c3-legal.is-dock {
    border-top-color: #2a3040;
  }
}

[data-theme="dark"] .legal-doc,
[data-theme="dark"] .legal-doc h1,
[data-theme="dark"] .legal-doc h2 {
  color: #eef0f6;
}







/* Пустой период на сводке: кнопка «Показать за …» */
.c3 .ax-wider-period {
  margin-top: 0.75rem;
  background: var(--c3-coral);
  color: var(--c3-coral-ink);
  border: 0;
}

.c3 .ax-wider-period:hover {
  background: color-mix(in srgb, var(--c3-coral) 88%, #000);
}

/* Пустая сетка острых тем */
.c3 .board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.c3 .board-empty-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--c3-ink);
}

.c3 .board-empty-sub {
  margin: 0;
  max-width: 28rem;
  font-size: 0.86rem;
  color: var(--c3-muted);
}

.c3 .board-empty-cta {
  margin-top: 0.6rem;
}

/* Мобильный: все периоды видны сразу (раньше «Год» уезжал за край без подсказки),
   карточки сетей — в одну колонку, чтобы не ломались названия вроде «Telegra-m». */
@media (max-width: 840px) {
  .c3 #periodSwitch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    overflow: visible;
    border-radius: 18px;
  }

  .c3 #periodSwitch .period-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .c3.page-analytics .analytics-page > .ax-briefing .ax-brief-nets {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Боковое меню: иконки и подписи в одну колонку по левому краю */
.c3-side .nav-link.nav-tab,
.c3-side .c3-item {
  justify-content: flex-start;
  text-align: left;
}

.c3-side .nav-link.nav-tab > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
