    @import url("/analytics/static/channel-insights/shared.css?v=20260810.tg-chips-row-v1");
    @import url("/analytics/static/channel-insights/landing.css?v=20260807.page-mesh-v60");
    @import url("/analytics/static/channel-insights/brand.css");
    @import url("/analytics/static/channel-insights/network.css?v=20260810.tg-chips-row-v1");

    :root {
      --bg: #0D0E12; --card: #1A1C23; --card2: #14161c; --border: #2A2F3A;
      --text: #F3F4F6; --muted: #9CA3AF; --orange: #FF8C00; --green: #22C55E;
      --purple: #9146FF; --blue: #3B82F6; --sidebar-w: 248px;
      --card-glow: 0 24px 80px rgba(0,0,0,.38);
      --dualis-tile: 40px;
    }
    * { box-sizing: border-box; }
    /* Тонкие тёмные скроллбары вместо системных */
    .main,
    .audience-scroll,
    .mod-event-list,
    .brand-target-dropdown,
    .ci-scroll {
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 140, 0, 0.55) rgba(255, 255, 255, 0.06);
    }
    .main::-webkit-scrollbar,
    .audience-scroll::-webkit-scrollbar,
    .mod-event-list::-webkit-scrollbar,
    .brand-target-dropdown::-webkit-scrollbar,
    .ci-scroll::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    .main::-webkit-scrollbar-track,
    .audience-scroll::-webkit-scrollbar-track,
    .mod-event-list::-webkit-scrollbar-track,
    .brand-target-dropdown::-webkit-scrollbar-track,
    .ci-scroll::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.04);
      border-radius: 999px;
    }
    .main::-webkit-scrollbar-thumb,
    .audience-scroll::-webkit-scrollbar-thumb,
    .mod-event-list::-webkit-scrollbar-thumb,
    .brand-target-dropdown::-webkit-scrollbar-thumb,
    .ci-scroll::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgba(255, 140, 0, 0.85), rgba(255, 140, 0, 0.35));
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    .main::-webkit-scrollbar-thumb:hover,
    .audience-scroll::-webkit-scrollbar-thumb:hover,
    .mod-event-list::-webkit-scrollbar-thumb:hover,
    .brand-target-dropdown::-webkit-scrollbar-thumb:hover,
    .ci-scroll::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 140, 0, 0.95);
    }
    body { margin: 0; font-family: Inter, system-ui, Segoe UI, Roboto, sans-serif; background: radial-gradient(circle at 40% -10%, rgba(255,140,0,.09), transparent 34%), var(--bg); color: var(--text); min-height: 100vh; scroll-behavior: smooth; }
    body:has(.dualis-landing) { background: #05050a; }
    a { color: inherit; text-decoration: none; }
    .hidden { display: none !important; }
    body.ci-advertiser #btnQuickLive,
    body.ci-advertiser #btnQuickWidgets { display: none !important; }

    .dualis-separator {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      transform: translateX(-50%);
      z-index: 6;
      background: linear-gradient(180deg, #9146FF, rgba(255,255,255,.2), #F59E0B);
      box-shadow: 0 0 34px rgba(145,70,255,.35), 0 0 34px rgba(245,158,11,.18);
      transition: left .72s cubic-bezier(.16,1,.3,1), opacity .35s ease;
      pointer-events: none;
    }
    .dualis-separator span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #090a10;
      border: 1px solid rgba(255,255,255,.16);
      color: var(--muted);
      font-size: 13px;
      box-shadow: 0 14px 38px rgba(0,0,0,.48);
    }
    .dualis-hint { color: #737b8d; font-size: 13px; font-weight: 700; }
    .dualis-gold-btn {
      background: linear-gradient(135deg, #F59E0B, #fbbf24);
      color: #111827;
      border-color: transparent;
      box-shadow: 0 8px 32px rgba(245,158,11,.22);
    }
    .dualis-float-card {
      position: absolute;
      width: 300px;
      min-height: 196px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.1);
      background: rgba(13,15,23,.78);
      backdrop-filter: blur(14px);
      box-shadow: 0 24px 80px rgba(0,0,0,.34);
      opacity: .52;
      transform: scale(.9) rotate(3deg);
      transition: opacity .55s ease, transform .72s ease;
      pointer-events: none;
    }
    .dualis-float-card-streamer { right: 34px; bottom: 34px; left: auto; top: auto; border-color: rgba(145,70,255,.28); padding: 16px 16px 14px; z-index: 3; }
    .dualis-float-card-streamer-alt {
      width: 280px;
      min-height: 0;
      height: auto;
      padding: 16px 16px 14px;
      opacity: .58;
      z-index: 1;
    }
    .dualis-float-card-streamer-alt-1 {
      right: 318px;
      top: 72px;
      left: auto;
      bottom: auto;
      transform: scale(.9) rotate(-3deg);
      z-index: 1;
    }
    .dualis-float-card-streamer-alt-2 {
      right: 118px;
      top: 228px;
      left: auto;
      bottom: auto;
      transform: scale(.9) rotate(2deg);
      z-index: 2;
    }
    .dualis-float-card-streamer-alt-3 {
      right: 258px;
      top: 418px;
      left: auto;
      bottom: auto;
      transform: scale(.9) rotate(-1deg);
      z-index: 1;
    }
    .dualis-float-card-advertiser { left: 34px; top: 34px; border-color: rgba(245,158,11,.24); padding: 20px; }
    .dualis-ad-preview-title { color: #fbbf24; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
    .dualis-ad-preview-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #9ca3af; font-size: 12px; font-weight: 700; }
    .dualis-ad-preview-row b { color: var(--text); font-size: 13px; }
    .dualis-ad-preview-result { margin-top: 14px; padding: 13px; border-radius: 14px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.18); }
    .dualis-ad-preview-result strong { display: block; color: #fde68a; font-size: 15px; margin-bottom: 5px; }
    .dualis-ad-preview-result span { display: block; color: #b6becc; font-size: 11px; line-height: 1.45; }
    .dualis-mini-top { display: flex; gap: 6px; margin-bottom: 18px; }
    .dualis-mini-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
    .dualis-mini-chart { height: 58px; border-radius: 12px; background: linear-gradient(135deg, rgba(145,70,255,.25), rgba(145,70,255,.02)); margin-bottom: 18px; position: relative; overflow: hidden; }
    .dualis-mini-chart::after { content:""; position:absolute; inset: 18px 12px 10px; border-top: 3px solid #a78bfa; border-right: 3px solid #a78bfa; transform: skew(-22deg); opacity:.9; }
    .dualis-mini-row, .dualis-overlap-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; }
    .dualis-mini-row i, .dualis-overlap-track i { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, #9146FF, #c4b5fd); }
    .dualis-overlap-row, .dualis-campaign-pair, .dualis-campaign-head, .dualis-budget {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: #d1d5db;
      font-size: 12px;
      font-weight: 800;
    }
    .dualis-overlap-row b, .dualis-campaign-pair b, .dualis-campaign-head b { color: #34d399; }
    .dualis-overlap-row.bad b, .dualis-campaign-pair b.bad { color: #f87171; }
    .dualis-overlap-track i { background: linear-gradient(90deg, #34d399, #a7f3d0); }
    .dualis-overlap-track.bad i { background: linear-gradient(90deg, #ef4444, #fca5a5); }
    .dualis-consent {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      z-index: 9990;
      width: min(820px, calc(100% - 32px));
      max-width: 820px;
      margin: 0;
      padding: 12px 16px;
      border-radius: 14px;
      background: rgba(6,8,14,.92);
      border: 1px solid rgba(255,255,255,.1);
      backdrop-filter: blur(12px);
      box-shadow: 0 18px 56px rgba(0,0,0,.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      pointer-events: auto;
    }
    .dualis-consent p {
      margin: 0;
      flex: 1;
      min-width: 0;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.55;
    }
    .dualis-consent a { color: var(--orange); }
    .dualis-consent .btn { flex-shrink: 0; white-space: nowrap; position: relative; z-index: 1; pointer-events: auto; }
    .dualis-portal {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      padding: 24px 0 0;
      background: transparent;
    }
    .dualis-portal-head {
      position: relative;
      top: auto;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      max-width: 1360px;
      margin: 0 auto 60px;
      padding: 14px 18px;
      min-height: 64px;
      background: transparent;
      backdrop-filter: none;
      border-bottom: none;
      overflow: visible;
    }
    .dualis-portal-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    .dualis-portal-brand .brand-logo {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }
    .dualis-portal-brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
      line-height: 1.1;
      min-width: 0;
    }
    .dualis-portal-brand-title {
      font-size: 17px;
      font-weight: 800;
      letter-spacing: -.02em;
      color: var(--text);
    }
    .dualis-portal-brand-sub {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #a78bfa;
    }
    .dualis-portal-advertiser .dualis-portal-brand-sub { color: #fbbf24; }
    .dualis-portal-hero { margin-top: 0; }
    .dualis-campaign-card {
      background: linear-gradient(165deg, rgba(24,26,34,.96), rgba(10,12,18,.96));
      border: 1px solid rgba(245,158,11,.24);
      border-radius: 22px;
      padding: 24px;
      box-shadow: 0 40px 120px rgba(0,0,0,.5), 0 0 72px rgba(245,158,11,.08);
    }
    .dualis-campaign-head { color: var(--muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .08em; }
    .dualis-report-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
    .dualis-report-preview-grid > div { padding: 14px; border-radius: 16px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.15); }
    .dualis-report-preview-grid span { display: block; color: #9ca3af; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
    .dualis-report-preview-grid strong { display: block; color: var(--text); font-size: 16px; }
    .dualis-campaign-pair { margin-top: 18px; align-items: flex-end; }
    .dualis-report-channel { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.07); }
    .dualis-report-channel em { display: block; color: var(--text); font-style: normal; font-weight: 800; }
    .dualis-report-channel small { display: block; margin-top: 3px; color: #8b93a5; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    .dualis-report-channel b { color: #34d399; font-size: 20px; }
    .dualis-campaign-pair em { display: block; color: var(--text); font-style: normal; }
    .dualis-campaign-pair small { display: block; margin-top: 3px; color: #8b93a5; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
    .dualis-budget { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
    .dualis-budget strong { color: var(--text); font-size: 20px; }
    .dualis-portal-advertiser .dualis-campaign-card { position: relative; overflow: hidden; }

    @keyframes landingOrbA { from { transform: translate(0,0) scale(1); opacity: .85; } to { transform: translate(-28px, 22px) scale(1.1); opacity: 1; } }
    @keyframes landingOrbB { from { transform: translate(0,0) scale(1); } to { transform: translate(18px, -14px) scale(1.06); } }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
    .brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(145,70,255,.35); }
    .brand-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #ffb347, var(--orange)); display: grid; place-items: center; font-size: 18px; }
    .brand span { color: var(--orange); }
    .sidebar-brand { align-items: flex-start; margin-bottom: 20px !important; }
    .sidebar-brand .brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; min-width: 0; }
    .sidebar-brand .brand-title { font-size: 15px; font-weight: 700; color: var(--text); }
    .sidebar-brand .brand-sub { font-size: 13px; font-weight: 600; color: var(--orange); }
    .hero-copy { max-width: 620px; }
    h1 { font-size: clamp(48px, 5.4vw, 76px); line-height: .98; margin: 0 0 22px; letter-spacing: -.045em; }
    h1 em { background: linear-gradient(135deg, #ffd08a 0%, #ff8c00 42%, #ff5e62 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; filter: drop-shadow(0 0 28px rgba(255,140,0,.22)); }
    .hero-sub { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 560px; }
    .hero-five-things {
      margin: 18px 0 0;
      padding: 0 0 0 22px;
      max-width: 560px;
      color: #e2e8f0;
      font-size: 15px;
      line-height: 1.7;
    }
    .hero-five-things li { margin: 0 0 4px; }
    .hero-five-things li::marker { color: #a78bfa; font-weight: 800; }
    .ecosystem-card {
      display: block;
      text-decoration: none;
      color: inherit;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 22px;
      background: linear-gradient(165deg, rgba(26,28,35,.98), rgba(18,20,28,.98));
      transition: border-color .2s, transform .2s;
    }
    a.ecosystem-card:hover { border-color: rgba(145,70,255,.4); transform: translateY(-2px); }
    .ecosystem-card-current { border-color: rgba(145,70,255,.4); background: radial-gradient(circle at 18% 12%, rgba(145,70,255,.16), transparent 40%), linear-gradient(165deg, rgba(26,22,40,.98), rgba(18,20,28,.98)); }
    .ecosystem-kicker { display: block; color: #a78bfa; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
    .ecosystem-card h3 { margin: 0 0 8px; font-size: 20px; }
    .ecosystem-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
    .ecosystem-cta { color: #c4b5fd; font-size: 13px; font-weight: 700; }
    .insight-overlap-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      margin-top: 2px;
    }
    .insight-overlap-meta span {
      padding: 2px 7px;
      border-radius: 999px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.06);
    }
    .insight-share-status { color: var(--muted); font-size: 13px; }
    .insight-share-panel {
      margin: 0 0 16px;
      padding: 18px 18px 16px;
      border-radius: 18px;
      border: 1px solid rgba(145,70,255,.35);
      background: radial-gradient(circle at 12% 0%, rgba(145,70,255,.18), transparent 42%), linear-gradient(145deg, rgba(28,22,40,.95), rgba(16,18,26,.98));
      display: grid;
      gap: 12px;
    }
    .insight-share-panel-idle {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px 16px;
    }
    .insight-share-panel-idle .insight-share-panel-copy { flex: 1; min-width: 240px; }
    .insight-share-panel-idle .insight-share-status { width: 100%; }
    .insight-share-panel-copy b { display: block; font-size: 16px; margin-bottom: 4px; }
    .insight-share-panel-copy span { color: var(--muted); font-size: 13px; line-height: 1.45; }
    .insight-share-panel-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .insight-share-url { flex: 1; min-width: 220px; font-size: 13px; }
    @media (max-width: 900px) {
      .insight-share-panel-idle { grid-template-columns: 1fr; }
    }
    .insight-more-stats { margin-top: 18px; padding-top: 8px; }
    .insight-more-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      list-style: none;
      padding: 8px 4px 4px;
    }
    .insight-more-summary::-webkit-details-marker { display: none; }
    .insight-more-summary b { display: block; font-size: 16px; }
    .insight-more-summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
    .insight-more-chevron { color: var(--orange); font-weight: 800; font-size: 18px; line-height: 1; }
    details.insight-more-stats[open] .insight-more-chevron { transform: rotate(45deg); display: inline-block; }
    .app-eco-note { margin: 18px 16px 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .app-eco-note a { color: #c4b5fd; }
    .app-eco-panel {
      margin-top: auto;
      padding: 14px 4px 8px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      border-top: 1px solid rgba(255,255,255,.06);
    }
    .app-eco-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 10px 12px;
      border-radius: 14px;
      text-decoration: none;
      color: #fff;
      border: 1px solid transparent;
      box-shadow: 0 8px 22px rgba(0,0,0,.22);
      transition: transform .15s ease, filter .15s ease, border-color .15s ease;
    }
    .app-eco-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
    .app-eco-ico {
      width: 28px; height: 28px; border-radius: 9px;
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0; background: rgba(0,0,0,.18); font-size: 14px;
    }
    .app-eco-ico svg { display: block; }
    .app-eco-copy { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
    .app-eco-copy strong { font-size: 12px; font-weight: 800; letter-spacing: .01em; }
    .app-eco-copy small { font-size: 10px; opacity: .82; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .app-eco-btn-tg {
      background: linear-gradient(135deg, #229ED9, #1a7fb3);
      border-color: rgba(255,255,255,.12);
    }
    .app-eco-btn-tg-soft {
      background: rgba(34,158,217,.14);
      border-color: rgba(34,158,217,.35);
      color: #7dd3fc;
    }
    .app-eco-btn-tg-soft .app-eco-copy small { color: #bae6fd; }
    .app-eco-btn-audit {
      background: linear-gradient(135deg, #7c3aed, #4c1d95);
      border-color: rgba(196,181,253,.28);
    }
    .app-eco-btn-vip {
      background: linear-gradient(135deg, #18ba9b, #0f8f78);
      border-color: rgba(167,243,208,.28);
    }
    .app-eco-btn-scut {
      background: linear-gradient(145deg, #141418, #1a1114);
      border-color: rgba(239,68,68,.45);
      box-shadow: 0 8px 22px rgba(239,68,68,.12);
    }
    .app-eco-scut-mark {
      position: relative;
      display: inline-flex;
      align-items: baseline;
      font-weight: 900;
      font-size: 15px;
      letter-spacing: -.02em;
      line-height: 1;
      padding: 4px 2px 2px;
      flex-shrink: 0;
    }
    .app-eco-scut-mark span:first-child { color: #fff; }
    .app-eco-scut-mark span:nth-child(2) { color: #ef4444; }
    .app-eco-scut-scissors {
      position: absolute; right: -7px; bottom: -2px;
      font-size: 10px; color: #ef4444; transform: rotate(18deg);
    }
    .app-eco-btn-scut .app-eco-copy strong { color: #f3f4f6; font-size: 11px; }
    .app-eco-btn-scut .app-eco-copy small { color: #fca5a5; }
    .hero-actions { display: flex; gap: 12px; margin: 32px 0 28px; flex-wrap: wrap; align-items: center; }
    .advertiser-login-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
    .advertiser-promo-hint { margin: 8px 0 0; max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .advertiser-promo-hint a { color: #fbbf24; font-weight: 700; text-decoration: none; }
    .advertiser-promo-hint a:hover { color: #fde68a; text-decoration: underline; }
    .advertiser-promo-input { width:min(220px, 100%); margin-left:0; padding:10px 14px; font-size:14px; }
    .advertiser-promise-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; max-width: 780px; }
    .advertiser-promise-strip span { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(245,158,11,.32); background: rgba(245,158,11,.09); color: #fde68a; font-size: 13px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
    .btn { border: none; border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: opacity .15s, transform .15s, border-color .15s; }
    .btn:hover { opacity: .95; transform: translateY(-1px); }
    .trust { display: flex; gap: 28px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
    .preview-card { background: linear-gradient(165deg, rgba(32,34,44,.98), rgba(16,18,26,.98)); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 20px; box-shadow: 0 40px 120px rgba(0,0,0,.58), 0 0 0 1px rgba(255,140,0,.08), 0 0 72px rgba(255,140,0,.1); transform: perspective(1000px) rotateY(-8deg) rotateX(3deg); animation: previewFloat 7s ease-in-out infinite; backdrop-filter: blur(12px); }
    @keyframes previewFloat { 0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-8px); } }
    .demo-spark { height: 52px; margin-top: 14px; opacity: .92; }
    body.landing-mini-net-fullscreen { overflow: hidden; }
    .demo-hour-bar { flex: 1; min-width: 0; border-radius: 3px 3px 1px 1px; transition: background .15s; }
    .demo-hour-bar.peak { box-shadow: 0 0 12px rgba(255,140,0,.45); }
    .demo-seg-row { display: grid; grid-template-columns: 52px 1fr 30px; gap: 8px; align-items: center; font-size: 11px; }
    .demo-seg-label { color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .demo-seg-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
    .demo-seg-track span { display: block; height: 100%; border-radius: 999px; }
    .demo-seg-pct { color: var(--text); font-weight: 700; text-align: right; }
    .demo-stream-bar { flex: 1; min-width: 0; border-radius: 4px 4px 2px 2px; opacity: .92; }
    .legend-node { width: 13px; height: 13px; border-radius: 50%; background: #8b5cf6; box-shadow: 0 0 8px rgba(139,92,246,.6); }
    .legend-line { width: 20px; height: 3px; border-radius: 99px; background: #67e8f9; }
    .legend-glow { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fbbf24; box-shadow: 0 0 12px #f59e0b; }
    .legend-click { width: 14px; height: 18px; border: 1px solid #aab2c3; border-radius: 8px; position: relative; }
    .legend-click::after { content:""; position:absolute; width:2px; height:5px; background:#aab2c3; left:5px; top:2px; }
    .tag.purple { background: #2a2038; color: #c4b5fd; } .tag.orange { background: #3a2410; color: #fdba74; } .tag.blue { background: #14243f; color: #93c5fd; }
    .tag.vip { background: #3a2410; color: #fdba74; } .tag.whale { background: #2a2038; color: #c4b5fd; } .tag.regular { background: #1f2937; color: #9ca3af; }

    .app { display: flex; min-height: 100vh; }
    .sidebar { width: var(--sidebar-w); background: linear-gradient(180deg, #08090d, #090b10); border-right: 1px solid var(--border); padding: 22px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
    body.sidebar-auto-hide .sidebar {
      position: fixed; left: 0; top: 0; z-index: 400; height: 100vh;
      transform: translateX(-100%);
      transition: transform .1s ease-out;
      box-shadow: 8px 0 32px rgba(0,0,0,.35);
    }
    body.sidebar-auto-hide .sidebar.is-revealed,
    body.sidebar-auto-hide .sidebar:hover { transform: translateX(0); }
    body.sidebar-auto-hide .main { margin-left: 0; width: 100%; }
    body.sidebar-auto-hide .app:has(#sidebar.is-revealed) .main,
    body.sidebar-auto-hide .app:has(#sidebar:hover) .main {
      margin-left: var(--sidebar-w);
      width: calc(100% - var(--sidebar-w));
    }
    .nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--muted); font-size: 14px; cursor: pointer; border: none; background: transparent; width: 100%; text-align: left; line-height: 1.25; }
    .nav-item.active { background: var(--orange); color: #111; font-weight: 600; }
    .main { flex: 1; padding: 28px 32px 56px; overflow: auto; min-width: 0; }
    .topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
    .topbar h2 { margin: 0; font-size: 30px; font-weight: 700; }
    .topbar-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
    .period-select { background: var(--card); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 9px 14px; font-size: 14px; }
    .brand-target-select { min-width: 200px; max-width: 280px; }
    .brand-target-combo { position: relative; min-width: min(320px, 72vw); max-width: 360px; }
    .brand-target-search-input { width: 100%; margin: 0; }
    .brand-target-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      max-height: min(420px, 52vh);
      overflow: auto;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 16px 40px rgba(0,0,0,.45);
      z-index: 120;
      padding: 6px;
    }
    .brand-target-option {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      width: 100%;
      text-align: left;
      border: none;
      background: transparent;
      color: var(--text);
      padding: 10px 12px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
    }
    .brand-target-option:hover, .brand-target-option-active { background: rgba(255,140,0,.12); }
    .brand-target-option-name { font-weight: 600; }
    .brand-target-option-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
    .brand-target-empty { padding: 14px 12px; color: var(--muted); font-size: 13px; }
    .brand-target-current { font-size: 18px; font-weight: 700; margin-top: 4px; }
    .brand-pick-form { margin-bottom: 18px; }
    .brand-pick-settings { margin-bottom: 14px; }
    .brand-pick-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .brand-pick-settings-body[hidden] { display: none; }
    .brand-pick-settings-hint { margin: 0 0 12px; line-height: 1.55; }
    .brand-pick-settings-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
    .brand-custom-cats-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
    .brand-custom-cat-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 2fr) auto; gap: 8px; align-items: center; }
    .brand-pick-label-with-tip { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .brand-pick-tip { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 700; cursor: help; }
    .brand-pick-cat-hint { margin: 8px 0 0; font-size: 12px; }
    .brand-pick-cat-custom { border-style: dashed; }
    .brand-pick-check-line { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--text); cursor: pointer; }
    .brand-pick-check-line input { width: 16px; height: 16px; accent-color: var(--orange); }
    .brand-pick-mode-hint { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
    .brand-pick-block { margin-bottom: 14px; }
    .brand-pick-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
    .brand-pick-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; align-items: end; }
    .brand-pick-filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
    .brand-pick-filter-label { font-size: 12px; line-height: 1.35; color: var(--muted); min-height: 2.6em; }
    .brand-pick-filter-field.is-disabled { opacity: .55; }
    @media (max-width: 960px) {
      .brand-pick-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    .brand-pick-grid { align-items: stretch; min-height: min(calc(100vh - 220px), 720px); }
    .brand-pick-results-card {
      display: flex; flex-direction: column;
      min-height: min(calc(100vh - 220px), 720px);
      max-height: min(calc(100vh - 220px), 720px);
    }
    .brand-pick-results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }
    .brand-pick-results-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .brand-pick-detail {
      position: sticky; top: 12px;
      min-height: min(calc(100vh - 220px), 720px);
      max-height: min(calc(100vh - 220px), 720px);
      overflow-y: auto;
    }
    .brand-pick-row { cursor: pointer; }
    .brand-pick-row-active { background: rgba(255,140,0,.08); }
    .brand-pick-reason-preview { color: var(--muted); font-size: 12px; }
    .brand-pick-score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .brand-pick-score-grid div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
    .brand-pick-score-grid span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
    .brand-pick-reasons, .brand-pick-warnings { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .brand-pick-warnings { color: #f59e0b; }
    .brand-pick-row-in-campaign { background: rgba(34,197,94,.06); }
    .brand-pick-check-col, .brand-pick-check-cell { width: 36px; text-align: center; }
    .brand-pick-check { width: 16px; height: 16px; cursor: pointer; accent-color: var(--orange); }
    .brand-pick-campaign-cell { width: 44px; text-align: center; white-space: nowrap; }
    .brand-pick-campaign-btn { min-width: 34px; padding: 4px 8px; }
    .brand-pick-campaign-btn.is-in { color: #4ade80; border-color: rgba(74,222,128,.35); }
    .brand-pick-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .brand-campaign-card { margin-bottom: 18px; }
    .brand-campaign-card.is-collapsed .brand-campaign-note,
    .brand-campaign-card.is-collapsed .brand-campaign-name,
    .brand-campaign-card.is-collapsed .brand-campaign-chips,
    .brand-campaign-card.is-collapsed .brand-campaign-stats,
    .brand-campaign-card.is-collapsed .brand-campaign-budget,
    .brand-campaign-card.is-collapsed .brand-campaign-items-table,
    .brand-campaign-card.is-collapsed .brand-campaign-step-block,
    .brand-campaign-card.is-collapsed .brand-campaign-actions-block,
    .brand-campaign-card.is-collapsed .brand-campaign-analytics-section,
    .brand-campaign-card.is-collapsed .brand-campaign-changes,
    .brand-campaign-card.is-collapsed .brand-campaign-load-row,
    .brand-campaign-card.is-collapsed .brand-campaign-budget-cap,
    .brand-campaign-card.is-collapsed .brand-campaign-manual,
    .brand-campaign-card.is-collapsed .brand-campaign-actions { display: none; }
    .brand-campaign-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
    .brand-campaign-note, .brand-campaign-collapsed-hint { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 12px; }
    .brand-campaign-name { width: 100%; max-width: 420px; box-sizing: border-box; margin: 0 0 12px; }
    .brand-campaign-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; min-height: 32px; }
    .brand-campaign-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); font-size: 13px; }
    .brand-campaign-chip small { color: var(--muted); font-size: 11px; }
    .brand-campaign-chip-remove { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; }
    .brand-campaign-chip-remove:hover { color: #f87171; }
    .brand-campaign-empty { color: var(--muted); font-size: 13px; }
    .brand-campaign-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 12px; }
    .brand-campaign-stats div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
    .brand-campaign-stats span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
    .brand-campaign-stat-warn b { color: #fbbf24; }
    .brand-campaign-manual { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
    .brand-campaign-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .brand-campaign-commercial {
      margin: 12px 0 14px;
      padding: 14px;
      border-radius: 14px;
      border: 1px solid rgba(255,140,0,.34);
      background: linear-gradient(180deg, rgba(255,140,0,.12), rgba(255,140,0,.04));
    }
    .brand-campaign-commercial b { color: #fde68a; }
    .brand-campaign-commercial p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .brand-campaign-lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
    .brand-campaign-lead-status { margin: 8px 0 0; min-height: 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
    .brand-campaign-lead-status.is-ok { color: #86efac; }
    .brand-campaign-lead-status.is-error { color: #fca5a5; }
    .brand-campaign-load-row { margin-bottom: 12px; }
    .brand-campaign-load-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .brand-campaign-updated { display: block; font-size: 12px; color: var(--muted); margin: -6px 0 10px; }
    .brand-campaign-changes { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
    .brand-campaign-changes.is-pending { border-color: rgba(255,140,0,.35); background: rgba(255,140,0,.06); }
    .brand-campaign-changes-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; }
    .brand-campaign-change-when { color: var(--muted); font-size: 12px; font-weight: 400; }
    .brand-campaign-changes-channels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; font-size: 13px; }
    .brand-campaign-change-add { color: #4ade80; }
    .brand-campaign-change-remove { color: #f87171; }
    .brand-campaign-changes-metrics { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
    .brand-campaign-changes-metrics span { padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0,0,0,.15); }
    .brand-campaign-changes-hint { margin: 8px 0 0; font-size: 12px; }
    .brand-campaign-analytics-section {
      margin: 16px 0;
      padding: 16px;
      border-radius: 14px;
      border: 1px solid rgba(255, 140, 0, 0.35);
      background: linear-gradient(180deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.03));
    }
    .brand-campaign-analytics-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: flex-end;
      margin-top: 12px;
    }
    .brand-campaign-analytics-field { flex: 1 1 160px; min-width: 140px; }
    .brand-campaign-analytics-action { flex: 0 1 auto; min-width: 200px; }
    .brand-campaign-field-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
    .brand-campaign-step-block { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
    .brand-campaign-step-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .brand-campaign-step-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
    .brand-campaign-step-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 24px; height: 24px; border-radius: 999px;
      background: var(--orange); color: #111; font-size: 12px; font-weight: 700; flex-shrink: 0;
    }
    .brand-campaign-step-hint { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
    .brand-campaign-step-hint-warn { color: #fbbf24; }
    .brand-campaign-analytics-loading { margin-top: 14px; }
    .campaign-analytics-empty { padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.2); border: 1px dashed var(--border); }
    .campaign-analytics-empty p { margin: 0 0 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
    .campaign-analytics-empty p:last-child { margin-bottom: 0; }
    .campaign-matrix-wrap { overflow-x: auto; margin-top: 12px; }
    .campaign-matrix { border-collapse: collapse; font-size: 12px; min-width: 320px; }
    .campaign-matrix th, .campaign-matrix td { border: 1px solid var(--border); padding: 6px 8px; text-align: center; }
    .campaign-matrix-cell.heat-1 { background: rgba(255,140,0,.12); }
    .campaign-matrix-cell.heat-2 { background: rgba(255,140,0,.22); }
    .campaign-matrix-cell.heat-3 { background: rgba(255,100,0,.32); }
    .campaign-matrix-cell.heat-4 { background: rgba(239,68,68,.35); }
    .campaign-top-pairs { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .brand-campaign-budget { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin: 0 0 12px; }
    .brand-campaign-budget div { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.02); font-size: 13px; }
    .brand-campaign-items-table { width: 100%; margin-bottom: 12px; font-size: 13px; }
    .campaign-status-select { min-width: 120px; }
    .status-bought { color: #4ade80; }
    .status-rejected { color: #f87171; }
    .brand-batch-textarea { width: 100%; min-height: 88px; resize: vertical; box-sizing: border-box; }
    .brand-batch-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
    .campaign-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
    .campaign-compare-col { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
    .nav-alert-badge { margin-left: 6px; font-size: 11px; background: var(--orange); color: #111; padding: 1px 6px; border-radius: 999px; font-weight: 700; }
    .brand-blocked-textarea { width: 100%; min-height: 56px; box-sizing: border-box; margin-bottom: 10px; }
    .brand-chat-engagement small { color: var(--muted); font-weight: 400; }
    .brand-chat-engagement-period { font-size: 11px; }
    .brand-chat-engagement-th { cursor: help; }
    .campaign-activity-chart { display: flex; align-items: flex-end; gap: 4px; height: 72px; margin: 10px 0 16px; }
    .campaign-activity-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
    .campaign-activity-bar span { display: block; width: 100%; max-width: 18px; background: var(--orange); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
    .campaign-activity-bar small { font-size: 9px; color: var(--muted); margin-top: 4px; }
    .brand-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
    .brand-badge-safe { background: rgba(34,197,94,.15); color: #4ade80; }
    .brand-badge-warn { background: rgba(245,158,11,.15); color: #fbbf24; }
    .brand-badge-risk { background: rgba(239,68,68,.15); color: #f87171; }
    .brand-badge { margin-left: 6px; vertical-align: middle; }
    .grid-audience { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: stretch; margin-bottom: 8px; }
    .audience-table-card {
      display: flex;
      flex-direction: column;
      min-height: min(88vh, 980px);
    }
    .audience-segments-card { align-self: start; position: sticky; top: 12px; }
    .chart-svg { width: 100%; display: block; }
    .donut-wrap { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; }
    .donut-legend { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
    .donut-legend span { display: flex; align-items: center; gap: 8px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
    table { width: 100%; border-collapse: collapse; font-size: 14px; }
    th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
    th { color: var(--muted); font-weight: 500; font-size: 13px; }
    tr[data-login]:hover { background: rgba(255,140,0,.06); }
    .word-bar { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 13px; }
    .word-bar .track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
    .word-bar .fill { height: 100%; background: linear-gradient(90deg, #ffb347, var(--orange)); border-radius: 4px; }
    .word-list { max-height: 280px; overflow: auto; padding-right: 6px; }
    .word-hide { width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
    .word-hide:hover { color: var(--orange); border-color: rgba(255,140,0,.45); }
    .heatmap-wrap { margin-top: 4px; }
    .heatmap-grid {
      display: grid;
      grid-template-columns: 36px repeat(24, minmax(8px, 1fr));
      grid-template-rows: 22px repeat(7, minmax(14px, 1fr));
      gap: 3px;
      align-items: stretch;
    }
    .heatmap-corner { }
    .heatmap-hour-label { font-size: 10px; color: var(--muted); text-align: center; line-height: 22px; }
    .heatmap-day-label { font-size: 11px; color: var(--muted); display: flex; align-items: center; padding-right: 6px; }
    .heatmap-cell { border-radius: 4px; background: #1f2430; min-height: 14px; transition: transform .1s; }
    .heatmap-cell:hover { transform: scale(1.15); z-index: 1; outline: 1px solid rgba(255,140,0,.5); }
    .heatmap-legend { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--muted); }
    .heatmap-legend-bar { display: flex; gap: 3px; }
    .heatmap-legend-bar span { width: 14px; height: 10px; border-radius: 2px; }
    .chart-box { min-height: 180px; }
    .pair-rank { color: var(--muted); width: 24px; flex: 0 0 24px; text-align: right; }
    .mod-filters { display:grid; grid-template-columns:1fr 1.2fr 1fr 1fr auto; gap:12px; align-items:end; margin-bottom:16px; }
    .mod-filters .field label { display:block; font-size:11px; color:var(--muted); margin-bottom:6px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
    .mod-filters input, .mod-filters select { width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border); background:#1a1d26; color:var(--text); font-size:13px; }
    .mod-filters select option { background:#1a1d26; color:var(--text); }
    .mod-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
    .mod-stat { border:1px solid var(--border); border-radius:14px; padding:14px 16px; background:#1a1d26; }
    .mod-stat .label { font-size:11px; color:#a8b0bd; text-transform:uppercase; letter-spacing:.04em; margin-bottom:6px; }
    .mod-stat .value { font-size:24px; font-weight:700; line-height:1; }
    .mod-stat.ban .value { color:#f87171; } .mod-stat.timeout .value { color:var(--orange); }
    .mod-stat.delete .value { color:#93c5fd; } .mod-stat.total .value { color:var(--text); }
    .mod-event-list { display:flex; flex-direction:column; gap:10px; max-height:min(62vh,640px); overflow-y:auto; padding-right:4px; }
    .mod-event-card { border:1px solid #343a47; border-radius:14px; padding:14px 16px; background:#1a1d26; display:flex; flex-direction:column; gap:10px; transition:border-color .15s, background .15s; box-shadow:0 1px 0 rgba(255,255,255,.03) inset; }
    .mod-event-card.timeout { border-left:3px solid var(--orange); }
    .mod-event-card.delete_msg { border-left:3px solid #60a5fa; }
    .mod-event-card.ban { border-left:3px solid #f87171; }
    .mod-event-card.clear_all { border-left:3px solid #a78bfa; }
    .mod-event-card:hover { border-color:rgba(255,140,0,.35); background:#1f232d; }
    .mod-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; font-size:11px; font-weight:700; white-space:nowrap; }
    .mod-badge.ban { background:rgba(248,113,113,.18); color:#fecaca; border:1px solid rgba(248,113,113,.35); }
    .mod-badge.timeout { background:rgba(255,140,0,.16); color:#fed7aa; border:1px solid rgba(255,140,0,.35); }
    .mod-badge.delete_msg { background:rgba(59,130,246,.16); color:#bfdbfe; border:1px solid rgba(59,130,246,.35); }
    .mod-badge.clear_all { background:rgba(167,139,250,.16); color:#ddd6fe; border:1px solid rgba(167,139,250,.35); }
    .mod-event-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .mod-event-time { font-size:12px; color:#a8b0bd; white-space:nowrap; flex-shrink:0; }
    .mod-event-user { display:inline; margin:0; padding:0; border:none; background:transparent; font:inherit; font-size:14px; font-weight:700; color:#f9fafb; cursor:pointer; text-align:left; }
    .mod-event-user:hover { color:var(--orange); text-decoration:underline; }
    .mod-event-body { min-width:0; }
    .mod-event-msg { margin-top:8px; font-size:14px; line-height:1.55; color:#e5e7eb; word-break:break-word; }
    .mod-event-msg.empty { color:#9ca3af; font-style:italic; }
    .mod-event-duration { font-size:12px; color:#a8b0bd; margin-top:6px; }
    .mod-scope-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:-4px 0 14px; padding:10px 12px; border-radius:12px; background:rgba(255,140,0,.06); border:1px solid rgba(255,140,0,.15); }
    .mod-scope-toggle { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--text); cursor:pointer; user-select:none; }
    .mod-scope-toggle input { width:16px; height:16px; margin:0; flex-shrink:0; accent-color:var(--orange); cursor:pointer; pointer-events:auto; }
    .mod-scope-hint { font-size:12px; color:var(--muted); }
    .mod-event-channel { display:inline-block; margin-bottom:6px; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:.02em; text-transform:lowercase; background:#252932; color:#cbd5e1; border:1px solid #3a4150; }
    .mod-event-channel.own { background:rgba(255,140,0,.12); color:#fdba74; border-color:rgba(255,140,0,.35); }
    @media (max-width: 980px) {
      .mod-filters { grid-template-columns:1fr 1fr; }
      .mod-stats { grid-template-columns:repeat(2,1fr); }
    }
    .streamer-name-inline { display:flex; align-items:baseline; gap:8px; flex-wrap:nowrap; min-width:0; flex:1 1 auto; }
    .streamer-name-inline b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; flex:1 1 auto; }
    .streamer-followers-badge { font-size:11px; color:#9ca3af; font-weight:600; white-space:nowrap; flex-shrink:0; }
    .chart-interactive-wrap { position:relative; min-height:220px; }
    .chart-interactive-canvas { width:100%; height:220px; display:block; cursor:grab; touch-action:none; }
    .chart-interactive-canvas.dragging { cursor:grabbing; }
    .chart-tooltip { position:absolute; top:10px; left:50%; transform:translateX(-50%); padding:8px 12px; border-radius:10px; background:rgba(10,12,18,.92); border:1px solid rgba(255,140,0,.35); color:var(--text); font-size:12px; pointer-events:none; white-space:nowrap; z-index:2; box-shadow:0 8px 24px rgba(0,0,0,.35); }
    .chart-tooltip.hidden { display:none; }
    .chart-hint { font-size:11px; color:var(--muted); margin-top:8px; }
    .import-banner { border: 1px solid rgba(255,140,0,.28); background: rgba(255,140,0,.08); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
    .import-banner p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
    .import-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .import-actions input[type=file] { font-size: 12px; color: var(--muted); max-width: 220px; }
    .import-hint { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
    /* Аудитория: таблица + раскрытый профиль — на всю высоту карточки, не 430px */
    .loading-state { opacity: .68; pointer-events: none; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .stack-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin: 16px 0; }
    .stack-bar .chat { background: var(--orange); } .stack-bar .silent { background: #2a2f3a; flex: 1; }
    .ring-stat { text-align: center; }
    .ring-stat .big { font-size: 36px; font-weight: 700; color: var(--orange); }
    .updated-note { color: var(--muted); font-size: 13px; }
    .user-chip { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
    .status-ok { color: var(--green); }
    .stream-card { border-left: 3px solid var(--orange); }
    .stream-spark { width: 120px; height: 40px; flex-shrink: 0; }
    .stream-entry { display: grid; gap: 0; }
    .stream-entry .stream-card { margin-bottom: 0; }
    .stream-entry + .stream-entry { margin-top: 12px; }
    .stream-detail-panel {
      margin-top: 0;
      padding: 16px 18px 18px;
      border: 1px solid var(--border);
      border-top: none;
      border-radius: 0 0 14px 14px;
      background: rgba(255,255,255,.02);
    }
    .stream-entry .stream-card.stream-card--expanded {
      border-radius: 14px 14px 0 0;
      margin-bottom: 0;
    }
    .stream-detail-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }
    .viewer-panel { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); display: flex; justify-content: flex-end; }
    .viewer-drawer { width: min(440px, 100%); height: 100%; background: var(--bg); border-left: 1px solid var(--border); padding: 24px; overflow: auto; }
    .viewer-row-open td { background: rgba(255,140,0,.1); }
    .viewer-detail-row td {
      padding: 0 16px 16px !important;
      background: rgba(255,140,0,.04);
      border-bottom: 1px solid var(--border);
      vertical-align: top;
    }
    .viewer-inline {
      padding: 14px 16px 16px;
      border: 1px solid rgba(255,140,0,.22);
      border-radius: 12px;
      background: rgba(14,16,22,.98);
      margin: 4px 0 8px;
    }
    .viewer-inline-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
    .viewer-inline-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
    .viewer-inline-title { display: flex; align-items: center; gap: 10px; }
    .viewer-inline-muted { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
    .viewer-inline-hint { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
    .viewer-inline-section { margin-bottom: 12px; }
    .viewer-inline-section h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text); }
    .viewer-inline-messages { margin-top: 4px; margin-bottom: 0; }
    .viewer-inline-conn { margin: 6px 0; font-size: 13px; }
    .viewer-inline-conn b { color: var(--orange); }
    .viewer-other-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .viewer-other-table th, .viewer-other-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: left; }
    .viewer-other-table th { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
    .viewer-other-row { cursor: pointer; }
    .viewer-other-row:hover td { background: rgba(255,255,255,.04); }
    .viewer-other-row-active td { background: rgba(255,140,0,.12); }
    .viewer-other-detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
    .viewer-other-detail-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--orange); }
    .viewer-back { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 14px; margin-bottom: 16px; padding: 0; }
    .viewer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
    .msg-list { list-style: none; padding: 0; margin: 0; }
    .msg-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.4; }
    .msg-list .time { color: var(--muted); font-size: 12px; margin-top: 4px; }
    .chat-msg-list {
      display: flex;
      flex-direction: column;
      max-height: 300px;
      overflow-y: auto;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: rgba(0,0,0,.22);
    }
    .chat-msg-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: start;
      padding: 10px 14px;
      border-bottom: 1px solid rgba(255,255,255,.06);
      font-size: 14px;
      line-height: 1.45;
    }
    .chat-msg-row:last-child { border-bottom: none; }
    .chat-msg-text { word-break: break-word; color: var(--text); }
    .chat-msg-time { color: var(--muted); font-size: 12px; white-space: nowrap; text-align: right; padding-top: 2px; }
    .chat-msg-empty { color: var(--muted); font-size: 13px; padding: 8px 2px; }
    .metric-row { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
    .metric-chip { background: rgba(8,9,13,.42); border: 1px solid rgba(255,255,255,.09); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: 12px; }
    .metric-chip b { color: var(--text); margin-left: 4px; }
    .table-card { padding: 0; overflow: hidden; }
    .table-card table { margin-top: 4px; }
    .table-card th:first-child, .table-card td:first-child { padding-left: 20px; }
    .table-card th:last-child, .table-card td:last-child { padding-right: 20px; }
    .analytics-sort-th {
      cursor: pointer; user-select: none; white-space: nowrap;
    }
    .analytics-sort-th:hover { color: var(--text); }
    .analytics-sort-th .sort-mark { opacity: .45; font-size: 10px; margin-left: 3px; }
    .analytics-sort-th.active .sort-mark { opacity: 1; color: var(--orange); }
    .empty-state { color: var(--muted); text-align: center; padding: 36px 18px; border: 1px dashed var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
    .panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .export-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .export-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
    .export-card small { color: var(--muted); display: block; margin-top: 4px; line-height: 1.4; }
    .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .admin-access-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:8px; }
    .admin-sessions-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .admin-platform-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:12px 0; }
    .admin-kpi-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .admin-platform-stat { padding:10px 12px; border-radius:10px; border:1px solid var(--border); background:rgba(255,255,255,.02); }
    .admin-platform-stat b { display:block; font-size:18px; margin-top:4px; }
    .admin-platform-stat small { display:block; margin-top:6px; color:var(--muted); font-size:11px; line-height:1.35; }
    .admin-filter-row { display:flex; gap:10px; flex-wrap:wrap; margin:0 0 8px; }
    .admin-filter-row input, .admin-filter-row select { max-width:220px; }
    .admin-grants-table .btn { padding:4px 8px; font-size:11px; }
    .admin-usage-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:10px; }
    .admin-usage-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
    @media (max-width: 1100px) {
      .admin-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .admin-usage-grid-3 { grid-template-columns:1fr; }
    }
    @media (max-width: 700px) {
      .admin-kpi-grid, .admin-platform-grid { grid-template-columns:1fr; }
    }

    .admin-section-title { margin:18px 0 8px; font-size:14px; }
    .admin-table td, .admin-table th { font-size:12px; padding:8px 10px; }
    .admin-field { display:grid; gap:8px; font-size:13px; color:var(--muted); }
    .admin-field input { width:100%; margin:0; }
    .widgets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; grid-auto-flow: dense; }
    .widget-card { display: flex; flex-direction: column; gap: 12px; padding: 0; overflow: hidden; }
    .widget-card.widget-card--donations { grid-column: span 2; }
    .widget-preview {
      margin: 0 16px;
      min-height: 148px;
      max-height: 180px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #12141c;
      overflow: hidden;
      position: relative;
    }
    .widget-preview-shimmer {
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
      background: linear-gradient(110deg, #12141c 8%, #1c2030 18%, #12141c 33%);
      background-size: 200% 100%;
      animation: widget-preview-shimmer 1.1s ease-in-out infinite;
      pointer-events: none;
    }
    .widget-preview-shimmer.hidden { display: none; }
    @keyframes widget-preview-shimmer {
      0% { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }
    .widget-live-preview {
      width: 100%;
      height: 100%;
      min-height: 148px;
      border: none;
      display: block;
      background: #12141c;
      opacity: 0;
      transition: opacity .18s ease;
      pointer-events: none;
    }
    .widget-live-preview--ready { opacity: 1; }
    .widget-preview.widget-preview--map { min-height: 120px; max-height: 140px; }
    .widget-preview.widget-preview--map .widget-live-preview { min-height: 120px; }
    .widget-preview.widget-preview--donations { min-height: 220px; max-height: 260px; }
    .widget-preview.widget-preview--donations .widget-live-preview { min-height: 220px; }
    .widget-preview.widget-preview--meters {
      min-height: 148px;
      max-height: 168px;
      overflow: hidden;
    }
    .widget-preview.widget-preview--meters .widget-live-preview {
      min-height: 210px;
      height: 210px;
      transform: scale(0.68);
      transform-origin: top center;
    }
    .widget-preview.widget-preview--map .widget-live-preview { min-height: 120px; }
    .widget-preview.widget-preview--donations .widget-live-preview { min-height: 220px; }
    .widget-card-foot { display: grid; gap: 10px; padding: 0 16px 16px; min-width: 0; }
    .widget-url { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .widget-actions { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
    .widget-actions .btn { white-space: nowrap; }
    .live-panel-frame-wrap {
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 14px;
      overflow: hidden;
      background: #0a0c12;
      min-height: min(72vh, 860px);
    }
    .live-panel-frame {
      display: block;
      width: 100%;
      height: min(72vh, 860px);
      border: 0;
      background: #0a0c12;
    }
    .live-panel-note { margin-top: 12px; }
    .live-intro-body {
      margin: 0;
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    .live-intro-page {
      max-width: 720px;
      margin: 0 auto;
      padding: 20px 16px 40px;
    }
    .live-intro-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }
    .live-intro-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      color: var(--muted);
      font-size: 14px;
    }
    .live-intro-card { padding: 24px 22px; }
    .live-intro-card h1 { margin: 0 0 12px; font-size: 22px; }
    .live-intro-card h2 { margin: 0 0 10px; font-size: 16px; }
    .live-intro-card h3 { margin: 0 0 8px; font-size: 15px; }
    .live-intro-lead { color: var(--muted); line-height: 1.6; margin: 0 0 20px; font-size: 14px; }
    .live-intro-meta { color: var(--muted); font-weight: 400; }
    .live-intro-why { margin-bottom: 18px; }
    .live-intro-why ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
    .live-intro-steps {
      margin: 0 0 22px;
      padding-left: 22px;
      display: grid;
      gap: 12px;
      font-size: 14px;
      line-height: 1.6;
      color: var(--text);
    }
    .live-intro-steps li { padding-left: 4px; }
    .live-intro-mod {
      margin-bottom: 22px;
      padding: 14px 16px;
      border-radius: 12px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
    }
    .live-intro-mod-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-top: 10px;
    }
    .live-intro-mod-input { flex: 1 1 200px; font-size: 12px; }
    .live-intro-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      margin-top: 8px;
    }
    .live-intro-foot { margin-top: 16px; margin-bottom: 0; }
    .widget-settings-modal {
      position: fixed; inset: 0; z-index: 50;
      display: grid; place-items: center;
      background: rgba(2, 6, 14, .72); backdrop-filter: blur(3px);
    }
    .widget-settings-modal.hidden { display: none; }
    .advertiser-profile-modal { z-index: 60; }
    .advertiser-profile-sheet { width: min(520px, calc(100vw - 32px)); height: auto; max-height: min(640px, calc(100vh - 42px)); }
    .advertiser-profile-body { padding: 16px 18px 20px; }
    .advertiser-profile-form { display: grid; gap: 14px; margin-top: 12px; }
    .advertiser-profile-confirm { max-width: none; margin: 4px 0 0; }
    .advertiser-profile-error { color: #fca5a5; margin: 0; }
    .advertiser-profile-error.hidden { display: none; }
    .widget-settings-sheet {
      width: min(980px, calc(100vw - 32px));
      height: min(720px, calc(100vh - 42px));
      background: linear-gradient(180deg, rgba(26,28,35,.98), rgba(17,19,26,.98));
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: 0 20px 80px rgba(0,0,0,.45);
      display: flex; flex-direction: column; overflow: hidden;
    }
    .widget-settings-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid var(--border); }
    .widget-settings-title { font-weight: 700; font-size: 15px; }
    .widget-settings-body { flex:1; min-height:0; overflow:auto; }
    .widget-settings-body iframe { width:100%; height:100%; border:none; background:#12141c; }
    .widget-settings-empty { color: var(--muted); padding: 18px; }
    .widget-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
    .widgets-howto { margin: 0 0 16px; padding: 14px 16px; }
    .widgets-howto h4 { margin: 0 0 8px; font-size: 14px; }
    .widgets-howto-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; display: grid; gap: 6px; }
    .widgets-howto-list b { color: var(--text); font-weight: 650; }
    .widget-settings-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,360px); gap:16px; padding:16px; }
    .widget-settings-form { display:grid; gap:12px; align-content:start; }
    .widget-settings-panel { border:1px solid var(--border); border-radius:14px; background:rgba(255,255,255,.025); padding:14px; }
    .widget-settings-panel h4 { margin:0 0 10px; font-size:14px; }
    .widget-field { display:grid; gap:6px; }
    .widget-field label, .widget-field > span { color:var(--muted); font-size:12px; }
    .widget-field-row { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; }
    .widget-field input[type="range"] { width:100%; }
    .widget-check { display:flex; align-items:center; gap:8px; color:var(--text); font-size:13px; }
    .widget-settings-preview { min-height:230px; border-radius:12px; overflow:hidden; border:1px solid var(--border); background:#181818; }
    .widget-settings-preview iframe { min-height:230px; }
    .widget-group-title { color:#fdba74; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.04em; margin-top:4px; }
    .stream-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
    .stream-icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #3a2410, rgba(255,140,0,.35)); display: grid; place-items: center; font-size: 24px; }
    .stream-list { display: grid; gap: 12px; }
    .hero-footnote { text-align:center; color:var(--muted); margin-top:34px; font-size:13px; }
    .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .feature-card { background: linear-gradient(165deg, rgba(26,28,35,.98), rgba(18,20,28,.98)); border: 1px solid var(--border); border-radius: 18px; padding: 22px; transition: transform .2s, border-color .2s, box-shadow .2s; }
    .feature-card:hover { transform: translateY(-3px); border-color: rgba(255,140,0,.22); box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 40px rgba(255,140,0,.06); }
    .feature-card .icon { font-size: 26px; margin-bottom: 12px; }
    .feature-card h3 { margin: 0 0 8px; font-size: 17px; }
    .feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
    .feature-card-hot { border-color: rgba(245,158,11,.32); background: radial-gradient(circle at 18% 12%, rgba(245,158,11,.16), transparent 34%), linear-gradient(165deg, rgba(37,25,8,.98), rgba(18,20,28,.98)); }
    .feature-card-hot .icon { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--orange); color: #111; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
    .advertiser-lead-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr); gap: 24px; align-items: stretch; padding: 26px; border: 1px solid rgba(245,158,11,.26); border-radius: 24px; background: radial-gradient(circle at 8% 0%, rgba(245,158,11,.2), transparent 28%), rgba(10,12,18,.72); }
    .advertiser-lead-copy h2 { margin-bottom: 12px; }
    .advertiser-lead-benefits { margin: 0 0 4px; padding-left: 18px; color: #cbd5e1; line-height: 1.55; font-size: 14px; }
    .advertiser-lead-benefits li + li { margin-top: 4px; }
    .advertiser-lead-form { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); }
    .advertiser-lead-group { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(148,163,184,.16); border-radius: 14px; background: rgba(15,23,42,.28); }
    .advertiser-lead-group-title { color: #fbbf24; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
    .advertiser-lead-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .advertiser-lead-field { display: grid; gap: 6px; margin: 0; min-width: 0; }
    .advertiser-lead-field > span { color: #cbd5e1; font-size: 12px; font-weight: 700; }
    .advertiser-lead-field small { color: var(--muted); font-size: 11px; line-height: 1.4; }
    .advertiser-product-textarea { min-height: 150px !important; }
    .advertiser-audit-type-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .advertiser-audit-type-grid label { cursor: pointer; }
    .advertiser-audit-type-grid input { position: absolute; opacity: 0; pointer-events: none; }
    .advertiser-audit-type-grid label > span { display: block; min-height: 68px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); transition: border-color .15s, background .15s, transform .15s; }
    .advertiser-audit-type-grid label:hover > span { transform: translateY(-1px); border-color: rgba(245,158,11,.35); }
    .advertiser-audit-type-grid input:checked + span { border-color: rgba(245,158,11,.72); background: rgba(245,158,11,.12); box-shadow: 0 0 0 2px rgba(245,158,11,.08); }
    .advertiser-audit-type-grid b, .advertiser-audit-type-grid small { display: block; }
    .advertiser-audit-type-grid b { color: #f8fafc; font-size: 12px; }
    .advertiser-audit-type-grid small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
    .advertiser-access { width: 100%; max-width: 520px; }
    .advertiser-access summary { color: #fbbf24; cursor: pointer; font-size: 13px; font-weight: 800; }
    .advertiser-access .advertiser-login-row { margin-top: 10px; }
    .advertiser-sample-link { margin-top: 16px; width: 100%; text-align: center; box-sizing: border-box; }
    .mobile-sticky-cta { display: none; }
    .advertiser-lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
    .advertiser-lead-status { margin: 0; min-height: 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
    .advertiser-lead-status.is-ok { color: #86efac; }
    .advertiser-lead-status.is-error { color: #fca5a5; }
    .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
    .step-card { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 16px; padding: 20px; position: relative; }
    .step-card::before { content: counter(step); counter-increment: step; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(255,140,0,.15); color: #fdba74; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
    .step-card h3 { margin: 0 0 8px; font-size: 15px; }
    .step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .faq-list { display: grid; gap: 12px; }
    .faq-item { background: linear-gradient(180deg, rgba(26,28,35,.98), rgba(20,22,28,.98)); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
    .faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; float: right; color: var(--orange); font-weight: 700; }
    .faq-item[open] summary::after { content: "−"; }
    .faq-item p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
    .chart-wrap { position: relative; }
    .chart-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(255,140,0,.08), transparent 60%); pointer-events: none; }
    .dualis-telegram-banner { max-width: 1360px; margin: 56px auto 0; scroll-margin-top: 24px; }
    .dualis-telegram-banner-link {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 22px 26px;
      border-radius: 20px;
      text-decoration: none;
      color: inherit;
      background:
        radial-gradient(circle at 0% 50%, rgba(34,158,217,.18), transparent 42%),
        linear-gradient(135deg, rgba(34,158,217,.14), rgba(34,158,217,.05));
      border: 1px solid rgba(34,158,217,.34);
      box-shadow: 0 18px 50px rgba(0,0,0,.24), 0 0 42px rgba(34,158,217,.1);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .dualis-telegram-banner-link:hover {
      transform: translateY(-2px);
      border-color: rgba(34,158,217,.52);
      box-shadow: 0 22px 60px rgba(0,0,0,.3), 0 0 52px rgba(34,158,217,.16);
    }
    .dualis-telegram-logo {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, #37b7f5, #229ed9);
      color: #fff;
      flex-shrink: 0;
      box-shadow: 0 10px 28px rgba(34,158,217,.34);
    }
    .dualis-telegram-logo svg { width: 32px; height: 32px; display: block; }
    .dualis-telegram-copy { flex: 1; min-width: 0; }
    .dualis-telegram-copy strong { display: block; font-size: clamp(17px, 2vw, 20px); margin-bottom: 4px; letter-spacing: -.02em; }
    .dualis-telegram-copy span { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
    .dualis-telegram-cta {
      padding: 12px 18px;
      border-radius: 999px;
      background: linear-gradient(180deg, #37b7f5, #229ed9);
      color: #fff;
      font-weight: 800;
      font-size: 14px;
      letter-spacing: .02em;
      flex-shrink: 0;
      box-shadow: 0 10px 24px rgba(34,158,217,.28);
    }
    .site-footer { max-width:1360px; margin:40px auto 0; padding:28px 0 0; border-top:1px solid var(--border); color:var(--muted); font-size:13px; line-height:1.7; }
    .site-footer a { color:var(--orange); text-decoration:none; }
    .site-footer a:hover { text-decoration:underline; }
    .site-footer-links { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:10px; }
    .pd-consent { display:flex; gap:10px; align-items:flex-start; margin:18px 0 0; max-width:560px; font-size:13px; color:var(--muted); line-height:1.55; }
    .pd-consent input { margin-top:3px; accent-color:var(--orange); flex-shrink:0; }
    .pd-consent a { color:var(--orange); }
    .cookie-banner { position:fixed; left:16px; right:16px; bottom:16px; z-index:9999; max-width:720px; margin:0 auto; background:linear-gradient(180deg,rgba(26,28,35,.98),rgba(14,16,22,.98)); border:1px solid var(--border); border-radius:16px; padding:18px 20px; box-shadow:0 24px 80px rgba(0,0,0,.55); display:none; }
    .cookie-banner.show { display:block; }
    .cookie-banner p { margin:0 0 14px; font-size:14px; color:#d1d5db; line-height:1.6; }
    .cookie-banner-actions { display:flex; gap:10px; flex-wrap:wrap; }

    /* —— Mobile cabinet shell —— */
    .btn-mobile-nav {
      display: none;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      padding: 0;
      border-radius: 12px;
      font-size: 20px;
      line-height: 1;
      flex-shrink: 0;
    }
    .mobile-nav-scrim {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 480;
      border: 0;
      padding: 0;
      margin: 0;
      background: rgba(3, 5, 10, 0.62);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      cursor: pointer;
    }
    .topbar-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    @media (max-width: 900px) {
      .btn-mobile-nav { display: inline-flex; }
      body.mobile-nav-open { overflow: hidden; }
      body.mobile-nav-open .mobile-nav-scrim { display: block; }

      #app.app {
        display: block;
        min-height: 100vh;
      }
      #app .sidebar,
      body.sidebar-auto-hide #app .sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        z-index: 520;
        width: min(88vw, 304px);
        max-width: 304px;
        height: 100dvh;
        height: 100vh;
        display: flex !important;
        transform: translateX(-105%) !important;
        transition: transform 0.22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 12px 28px;
        box-shadow: none !important;
        border-right: 1px solid var(--border);
        background: linear-gradient(180deg, #0a0c12, #08090d);
      }
      body.mobile-nav-open #app .sidebar,
      body.mobile-nav-open.sidebar-auto-hide #app .sidebar {
        transform: translateX(0) !important;
        box-shadow: 18px 0 60px rgba(0, 0, 0, 0.55) !important;
      }
      body.sidebar-auto-hide #app .main,
      body.sidebar-auto-hide #app.app:has(#sidebar.is-revealed) .main,
      body.sidebar-auto-hide #app.app:has(#sidebar:hover) .main {
        margin-left: 0 !important;
        width: 100% !important;
      }
      #app .main {
        padding: 14px 14px calc(28px + env(safe-area-inset-bottom, 0px));
        width: 100%;
      }
      #app .topbar {
        gap: 12px;
        margin-bottom: 16px;
        align-items: center;
      }
      #app .topbar > div:first-child { flex: 1; min-width: 0; }
      #app .topbar h2 { font-size: 22px; line-height: 1.15; }
      #app .topbar-sub { font-size: 12px; }
      #app .topbar-actions {
        width: 100%;
        gap: 8px;
      }
      #app .topbar-actions .btn-sm,
      #app .topbar-actions .btn-ghost,
      #app .topbar-actions .period-select,
      #app .topbar-actions .user-chip {
        font-size: 12px;
      }
      #app .brand-target-combo {
        min-width: 0;
        max-width: none;
        flex: 1 1 100%;
        order: 20;
      }
      #app .period-select { flex: 1 1 auto; min-width: 0; }
      #app .user-chip { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      #app .nav-item { padding: 13px 14px; font-size: 15px; min-height: 44px; }
      #app .card { border-radius: 16px; }
      #app .kpi-grid,
      #app .panel-grid,
      #app .export-grid,
      #app .settings-grid,
      #app .grid-2,
      #app .grid-3 { grid-template-columns: 1fr !important; }
      #app .widgets-grid { grid-template-columns: 1fr; }
      #app .widget-card.widget-card--donations { grid-column: span 1; }
      #app .scroll-table,
      #app .campaign-matrix-wrap {
        margin-left: -4px;
        margin-right: -4px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
      }
      #app .search-box { width: 100%; max-width: none; }
      #app .app-eco-panel { margin-top: 16px; }
      #app .section-hero { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 560px) {
      #app .topbar-actions #btnQuickLive,
      #app .topbar-actions #btnQuickWidgets {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
      }
      #app .topbar-actions #btnLogout { flex: 1 1 auto; }
      .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
    }
