/* Sentiment Insights
   The look the classic dashboard had: a teal header band, a warm cream page and white cards lifted by
   a soft shadow, with no drawn borders. The layout is the listening-tool one: sections in a strip
   under the band, a row of filters, and a 12-column grid of widgets. Teal is the one colour for
   controls; green, amber and crimson only ever mean positive, neutral and negative. */

:root {
  --teal: #2a9db0; --teal-600: #1f8597; --teal-700: #176a79; --teal-50: #eef7f9; --teal-100: #d6ecf1;
  --band-a: #2a9db0; --band-b: #176a79;
  --page: #f6f3ec; --card: #ffffff; --card2: #f7f8fa; --line: #e9edf1; --line2: #d5dee7;
  --ink: #0f172a; --ink2: #3d4a5e; --ink3: #6b7a90;
  --acc: #176a79; --acc-ink: #ffffff; --acc-soft: #e6f3f6;
  --pos: #3fae6a; --neu: #dcbb52; --neg: #d9365f; --pos-ink: #1f8a4c; --neg-ink: #bf2450; --neu-ink: #8a6d0b;
  --pos-soft: #e3f5ea; --neg-soft: #fde8ee; --neu-soft: #f7f0d6; --mute: #eef1f4;
  --main: #1f8597; --net: #0f172a; --grey: #94a3b8;
  --q1: #0d94ab; --q2: #b48a26; --q3: #4f6db3; --q4: #c2410c; --q5: #7c3aed; --q6: #64748b;
  --sh: 0 0 0 1px rgba(15, 23, 42, .04), 0 1px 2px rgba(15, 23, 42, .05), 0 8px 18px -10px rgba(15, 23, 42, .14), 0 20px 40px -24px rgba(42, 157, 176, .2);
  --pop: 0 14px 40px -10px rgba(15, 23, 42, .3), 0 0 0 1px rgba(15, 23, 42, .07);
  --sans: Inter, "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --r: 14px;
}
:root[data-theme="dark"] {
  --teal: #38b6cc; --teal-600: #2aa3b9; --teal-700: #1d8396; --teal-50: rgba(56, 182, 204, .12); --teal-100: rgba(56, 182, 204, .2);
  --band-a: #163a52; --band-b: #0f2437;
  --page: #0b1220; --card: #121b2e; --card2: #16213a; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .15);
  --ink: #e6edf7; --ink2: #c3cddc; --ink3: #8d9bb0;
  --acc: #38b6cc; --acc-ink: #06141c; --acc-soft: rgba(56, 182, 204, .16);
  --pos: #4cc47c; --neu: #d9bb4e; --neg: #f0557f; --pos-ink: #6ad596; --neg-ink: #f6789a; --neu-ink: #e3c861;
  --pos-soft: rgba(76, 196, 124, .16); --neg-soft: rgba(240, 85, 127, .16); --neu-soft: rgba(217, 187, 78, .16); --mute: rgba(255, 255, 255, .07);
  --main: #38b6cc; --net: #e6edf7; --grey: #6b7a90;
  --q1: #1f93aa; --q2: #c9a13a; --q3: #6479de; --q4: #d9671f; --q5: #9c63be; --q6: #8794b4;
  --sh: 0 0 0 1px rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .3), 0 10px 22px -10px rgba(0, 0, 0, .5);
  --pop: 0 14px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 400 13.5px/1.45 var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; overflow: hidden; display: flex; flex-direction: column;
  background: var(--page) radial-gradient(1200px 500px at 12% 0%, rgba(42, 157, 176, .08), transparent 70%) no-repeat; }
h1, h2, h3, h4, p, ul { margin: 0; } ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.ic { flex: none; } .wg-sp, .sp { flex: 1; }
.up { color: var(--pos-ink); } .dn { color: var(--neg-ink); }
mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 1px; }

/* sentiment and series colours, for HTML marks and SVG marks alike */
.s-positive { background: var(--pos); fill: var(--pos); } .s-neutral { background: var(--neu); fill: var(--neu); } .s-negative { background: var(--neg); fill: var(--neg); }
.q1 { background: var(--q1); fill: var(--q1); } .q2 { background: var(--q2); fill: var(--q2); } .q3 { background: var(--q3); fill: var(--q3); }
.q4 { background: var(--q4); fill: var(--q4); } .q5 { background: var(--q5); fill: var(--q5); } .q6 { background: var(--q6); fill: var(--q6); }

/* ── the band: name, search, collectors, period ───────────────────────────── */
.band { flex: none; position: relative; z-index: 6; display: flex; align-items: center; gap: 16px; padding: 10px clamp(14px, 2vw, 26px); color: #fff;
  background: linear-gradient(135deg, var(--band-a) 0%, var(--band-b) 100%); box-shadow: 0 12px 30px -16px rgba(23, 106, 121, .6); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .5); }
.brand-mark svg { width: 22px; height: 22px; } .brand-mark path { stroke: #1f8597; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.brand b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); font-weight: 600; white-space: nowrap; }
.search { flex: 1; max-width: 520px; margin-left: clamp(4px, 2vw, 28px); display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .85); transition: background .15s; }
.search:focus-within { background: #fff; color: var(--ink3); border-color: #fff; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font-size: 13.5px; } .search input::placeholder { color: rgba(255, 255, 255, .78); }
.search:focus-within input { color: var(--ink); } .search:focus-within input::placeholder { color: var(--ink3); }
.search kbd { font: 600 11px var(--sans); padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .2); } .search:focus-within kbd { display: none; }
.band-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 500; white-space: nowrap; padding: 6px 8px; border-radius: 8px; }
.status:hover { background: rgba(255, 255, 255, .12); } .status i { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a0; box-shadow: 0 0 0 3px rgba(126, 226, 160, .25); } .status.bad i { background: #ff8fa8; box-shadow: 0 0 0 3px rgba(255, 143, 168, .25); }
.win { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.win button { border: 0; background: none; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .82); } .win button.on { background: #fff; color: var(--band-b); }
.pill { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); white-space: nowrap; }
.tbtn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; } .tbtn:hover { background: rgba(255, 255, 255, .26); }
.moon { display: none; } [data-theme="dark"] .sun { display: none; } [data-theme="dark"] .moon { display: block; }

.work { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }

/* ── the sections ─────────────────────────────────────────────────────────── */
.tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 2px; padding: 0 clamp(10px, 1.6vw, 22px); background: var(--card); box-shadow: 0 1px 0 var(--line), 0 10px 20px -18px rgba(15, 23, 42, .4); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 13px 12px 12px; font-size: 13px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.tabs button:hover { color: var(--ink); } .tabs button svg { color: var(--ink3); }
.tabs button.on { color: var(--acc); font-weight: 600; } .tabs button.on svg { color: var(--acc); }
.tabs button.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal); }
.tabs b { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--mute); color: var(--ink2); } .tabs .on b { background: var(--acc-soft); color: var(--acc); }
.tabs button:nth-child(4) { margin-right: 10px; } .tabs button:nth-child(5)::before { content: ""; position: absolute; left: -7px; top: 12px; bottom: 12px; width: 1px; background: var(--line2); }

.head { display: flex; align-items: flex-end; gap: 16px; padding: 18px clamp(14px, 2vw, 26px) 6px; }
.head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; } .head p { margin-top: 3px; font-size: 13px; color: var(--ink3); }
.head-r { margin-left: auto; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.period { font-size: 12.5px; color: var(--ink3); font-variant-numeric: tabular-nums; } .count { font-size: 12.5px; color: var(--ink2); } .count b { color: var(--ink); font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--acc); color: var(--acc-ink); font-weight: 600; font-size: 13px; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(23, 106, 121, .7); }
.btn:hover { filter: brightness(1.08); } .btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; box-shadow: none; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line2); } .btn.ghost:hover { box-shadow: 0 0 0 1px var(--ink3); filter: none; }
.lnk { border: 0; background: none; padding: 0; color: var(--acc); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; } .lnk:hover { text-decoration: underline; }
.sq { width: 28px; height: 28px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--ink3); display: grid; place-items: center; padding: 0; } .sq:hover { background: var(--mute); color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px clamp(14px, 2vw, 26px) 4px; }
.f-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink3); margin-right: 4px; }
.fc { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--card); box-shadow: 0 0 0 1px var(--line2); font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
.fc b { color: var(--ink); font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.fc.add { font-weight: 500; color: var(--ink); } button.fc:hover { box-shadow: 0 0 0 1px var(--teal); color: var(--acc); }
.fc.on { background: var(--acc-soft); box-shadow: none; color: var(--acc); } .fc.on b { color: var(--acc); }
.fc button { border: 0; background: none; color: inherit; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; padding: 0; margin-right: -4px; } .fc button:hover { background: rgba(23, 106, 121, .16); }
.fc em { font-style: normal; min-width: 17px; height: 17px; border-radius: 9px; background: var(--acc); color: var(--acc-ink); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* ── the grid of widgets ──────────────────────────────────────────────────── */
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; padding: 10px clamp(14px, 2vw, 26px) 6px; align-items: stretch; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; } .c6 { grid-column: span 6; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c3 { grid-column: span 3; }
.stack { display: grid; gap: 12px; align-content: start; } .stack > * { grid-column: auto; }
.dash > * { opacity: 0; transform: translateY(6px); }
.dash.shown > * { opacity: 1; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.dash.shown > *:nth-child(2) { transition-delay: .03s; } .dash.shown > *:nth-child(3) { transition-delay: .06s; } .dash.shown > *:nth-child(n+4) { transition-delay: .09s; }
.skel { height: 104px; border-radius: var(--r); background: linear-gradient(90deg, var(--card) 0%, var(--card2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; opacity: 1 !important; transform: none !important; box-shadow: var(--sh); }
.skel.tall { height: 360px; } @keyframes sk { to { background-position: -200% 0; } }
.foot { padding: 12px clamp(14px, 2vw, 26px) 22px; font-size: 12px; color: var(--ink3); }
.empty { color: var(--ink3); font-size: 13px; padding: 26px 8px; text-align: center; } .empty.big { grid-column: span 12; padding: 80px 0; font-size: 15px; }

.wg { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); display: flex; flex-direction: column; min-width: 0; }
.wg-h { display: flex; align-items: center; gap: 8px; padding: 12px 10px 2px 16px; min-height: 44px; }
.wg-h h3 { font-size: 14px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; min-width: 0; display: inline-flex; align-items: center; gap: 7px; }
.wg-h small { font-size: 12px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--mute); margin-right: 2px; }
.seg button { border: 0; background: none; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--ink2); } .seg button.on { background: var(--card); color: var(--acc); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.lg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 6px 16px 0; font-size: 12px; font-weight: 500; color: var(--ink2); }
.lg span { display: inline-flex; align-items: center; gap: 7px; } .lg i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg i.l-main, .lg i.l-pos, .lg i.l-neg, .lg i.l-neu, .lg i.l-net { height: 3px; width: 16px; border-radius: 2px; }
.l-main { background: var(--main); } i.l-pos { background: var(--pos); } i.l-neg { background: var(--neg); } i.l-neu { background: var(--grey); } i.l-net { background: var(--net); }
.lg .hint { margin-left: auto; font-weight: 400; color: var(--ink3); }
.cnt { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
.wg-b { flex: 1; padding: 10px 16px 16px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.wg-b:has(> .sent), .wg-b:has(> .gz), .wg-b:has(> .geo), .wg-b:has(> .cloud) { justify-content: center; }
.wg-f { padding: 4px 16px 14px; }
.note { font-size: 12px; color: var(--ink3); }
.wg.full { position: fixed; inset: 24px; z-index: 30; box-shadow: var(--pop); opacity: 1 !important; transform: none !important; overflow: auto; }
.has-full .work::after { content: ""; position: fixed; inset: 0; z-index: 20; background: rgba(10, 14, 22, .5); }
.sel { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink3); }
.sel select { border: 0; box-shadow: 0 0 0 1px var(--line2); background: var(--card); border-radius: 7px; padding: 5px 6px; font-size: 12.5px; color: var(--ink); }

/* a change against the previous period */
.dl { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl.good { background: var(--pos-soft); color: var(--pos-ink); } .dl.bad { background: var(--neg-soft); color: var(--neg-ink); } .dl.flat { background: var(--mute); color: var(--ink3); font-weight: 600; }

/* ── the figures at the top of a section ──────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px 12px; overflow: hidden; display: flex; flex-direction: column; gap: 2px; min-height: 112px; }
.kpi[data-label], .kpi[data-theme] { cursor: pointer; }
.kpi:has(.spark) { padding-bottom: 38px; }
.k-l { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink3); padding-right: 34px; }
.k-i { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.kpi.neg .k-i { background: var(--neg-soft); color: var(--neg-ink); } .kpi.pos .k-i { background: var(--pos-soft); color: var(--pos-ink); }
.k-v { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; font-variant-numeric: tabular-nums; margin-top: 2px; } .k-v small { font-size: 14px; font-weight: 600; color: var(--ink3); letter-spacing: 0; margin-left: 2px; }
.kpi.neg .k-v { color: var(--neg-ink); } .kpi.pos .k-v { color: var(--pos-ink); } .kpi.text .k-v { font-size: 19px; letter-spacing: -.02em; line-height: 1.35; padding: 4px 0 3px; color: var(--ink); }
.k-d { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink3); margin-top: auto; position: relative; z-index: 1; } .k-d em { font-style: normal; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 30px; opacity: .6; pointer-events: none; }
.spark-l { fill: none; stroke: var(--main); stroke-width: 1.5; vector-effect: non-scaling-stroke; } .spark-a { fill: var(--main); opacity: .12; }
.spark.pos .spark-l { stroke: var(--pos); } .spark.pos .spark-a { fill: var(--pos); } .spark.neg .spark-l { stroke: var(--neg); } .spark.neg .spark-a { fill: var(--neg); }

/* ── summary, needs attention, the three modules ──────────────────────────── */
.ai { background: linear-gradient(135deg, var(--teal-50), var(--card) 60%); } .ai .wg-h h3 svg { color: var(--teal-600); }
.ai .wg-b { justify-content: flex-start; } .ai-lead { font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.ai ul { display: grid; gap: 2px; margin-top: 10px; }
.hl { display: flex; align-items: flex-start; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 7px 8px; border-radius: 9px; font-size: 13px; line-height: 1.45; color: var(--ink2); } .hl:hover { background: var(--card); box-shadow: var(--sh); }
.hl b { color: var(--ink); font-weight: 600; } .hl-i { flex: none; margin-top: 1px; color: var(--neu-ink); } .t-good .hl-i, .t-up .hl-i { color: var(--pos-ink); } .t-bad .hl-i, .t-down .hl-i { color: var(--neg-ink); } .t-spike .hl-i { color: var(--teal-600); }
.att { display: grid; gap: 4px; align-content: start; height: 100%; }
.att-r { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 0; background: var(--card2); border-radius: 10px; padding: 9px 12px; text-align: left; font-size: 12.5px; } .att-r:hover { background: var(--acc-soft); }
.att-t { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; text-align: center; background: var(--neg-soft); color: var(--neg-ink); } .att-t.warn { background: var(--neu-soft); color: var(--neu-ink); }
.att-b { min-width: 0; } .att-b b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; } .att-b span { display: block; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.att-r em { font-style: normal; font-size: 11.5px; color: var(--ink3); white-space: nowrap; }
.mod { padding: 16px 18px 14px; gap: 10px; } .mod header { display: flex; align-items: center; gap: 10px; } .mod h3 { font-size: 15px; font-weight: 600; flex: 1; }
.mod-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.mod > p { font-size: 12.5px; color: var(--ink3); line-height: 1.5; min-height: 38px; }
.mod-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 2px; } .mod-s b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mod-s span { font-size: 11.5px; color: var(--ink3); }
.net { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--mute); color: var(--ink2); white-space: nowrap; } .net.up { background: var(--pos-soft); color: var(--pos-ink); } .net.dn { background: var(--neg-soft); color: var(--neg-ink); }

/* ── charts ───────────────────────────────────────────────────────────────── */
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.gr { stroke: var(--line); stroke-width: 1; } .zero { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 4; }
.ax { font: 500 11px var(--sans); fill: var(--ink3); } .dlab { font: 600 10.5px var(--sans); fill: var(--ink2); }
.hit { fill: transparent; cursor: pointer; } .hit:hover { fill: var(--ink); opacity: .05; }
.ln { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; } .area { stroke: none; }
.ln.a-main, .ln.l-main { stroke: var(--main); } .area.a-main, .area.l-main { fill: var(--main); opacity: .16; }
.ln.a-pos { stroke: var(--pos); } .area.a-pos { fill: var(--pos); opacity: .2; }
.ln.a-neg, .ln.l-neg { stroke: var(--neg); } .area.a-neg, .area.l-neg { fill: var(--neg); opacity: .16; }
.ln.l-net { stroke: var(--net); stroke-width: 2; } .area.l-net { fill: var(--net); opacity: .05; }
.lq1 { stroke: var(--q1); } .lq2 { stroke: var(--q2); } .lq3 { stroke: var(--q3); } .lq4 { stroke: var(--q4); } .lq5 { stroke: var(--q5); }
.bulb { cursor: pointer; } .bulb circle { fill: var(--teal-100); stroke: var(--card); stroke-width: 2; transition: transform .15s; transform-box: fill-box; transform-origin: center; } .bulb path { fill: var(--teal-700); pointer-events: none; }
.bulb.b-positive circle { fill: #c6ebd2; } .bulb.b-positive path { fill: #1f8a4c; } .bulb.b-negative circle { fill: #f8c5d3; } .bulb.b-negative path { fill: #bf2450; }
.bulb:hover circle, .bulb:focus circle { transform: scale(1.18); } .bulb:focus, .bub:focus { outline: none; }
.arc { cursor: pointer; transition: opacity .15s; } .arc:hover { opacity: .82; }
.dn-v { font: 700 30px var(--sans); fill: var(--ink); letter-spacing: -.02em; } .dn-s { font: 500 11.5px var(--sans); fill: var(--ink3); }
.gauge path { fill: none; stroke-width: 16; } .g-neg { stroke: var(--neg); } .g-neu { stroke: var(--neu); } .g-pos { stroke: var(--pos); }
.g-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; } .g-hub { fill: var(--ink); }

.sent { display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: 14px; align-items: center; }
.sent-l { display: grid; gap: 2px; }
.sl { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 9px; border: 0; background: none; padding: 8px 6px; border-radius: 8px; text-align: left; font-size: 13px; color: var(--ink2); }
.sl:hover { background: var(--card2); } .sl i { width: 12px; height: 12px; border-radius: 3px; } .sl span b { font-weight: 700; color: var(--ink); } .sl span em { font-style: normal; color: var(--ink3); font-size: 12px; margin-left: 4px; }
.c4 .sent, .stack .sent { grid-template-columns: 1fr; } .c4 .sent-d, .stack .sent-d { max-width: 190px; margin: 0 auto; width: 100%; }

.cl { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 0; margin: -4px -8px -8px; }
.cl-b { padding: 4px 6px; display: flex; align-items: center; } .cl-b svg { max-height: 420px; }
.cl-p { background: var(--card2); border-radius: 12px; padding: 12px 12px 8px; display: flex; flex-direction: column; min-height: 0; }
.cl-p h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.cl-h, .cl-l button { display: grid; grid-template-columns: minmax(0, 1fr) 54px 50px 68px; gap: 8px; align-items: center; }
.cl-h { font-size: 11px; font-weight: 600; color: var(--ink3); padding: 0 8px 6px; } .cl-h span:not(:first-child) { text-align: right; }
.cl-l { overflow: auto; max-height: 340px; }
.cl-l button { width: 100%; border: 0; background: none; padding: 7px 8px; border-radius: 8px; text-align: left; font-size: 12.5px; } .cl-l button:hover { background: var(--card); }
.cl-n { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-n i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.cl-l b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; } .cl-l em { text-align: right; font-style: normal; color: var(--ink3); font-size: 12px; } .cl-l .dl { justify-self: end; }
.bub { cursor: pointer; } .bub-f { fill: var(--card); stroke: none; transition: fill .15s; } .bub:hover .bub-f, .bub:focus .bub-f { fill: var(--acc-soft); }
.ring { fill: none; stroke-width: 5; } .r-positive { stroke: var(--pos); } .r-neutral { stroke: var(--neu); } .r-negative { stroke: var(--neg); }
.bub-t { font-weight: 600; fill: var(--ink); font-family: var(--sans); pointer-events: none; } .bub-n { font-weight: 500; fill: var(--ink3); font-family: var(--sans); pointer-events: none; }

.dv { display: grid; gap: 2px; align-content: start; }
.dv-r { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr) 92px; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 6px; border-radius: 8px; text-align: left; font-size: 12.5px; } .dv-r:hover { background: var(--card2); }
.dv-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; unicode-bidi: plaintext; }
.dv-b { display: grid; grid-template-columns: 1fr 1fr; height: 16px; background: linear-gradient(90deg, var(--neg-soft) 0 50%, var(--pos-soft) 50% 100%); border-radius: 5px; overflow: hidden; }
.dv-l { display: flex; justify-content: flex-end; border-right: 1px solid var(--card); } .dv-g { display: flex; border-left: 1px solid var(--card); } .dv-b i { display: block; height: 100%; min-width: 0; }
.dv-v { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; } .dv-v b { font-weight: 600; }

.ranks { display: grid; gap: 2px; align-content: start; height: 100%; }
.rk { display: grid; grid-template-columns: minmax(90px, 34%) minmax(0, 1fr) 48px; align-items: center; gap: 12px; border: 0; background: none; padding: 6px 6px; border-radius: 8px; text-align: left; font-size: 12.5px; } .rk:hover { background: var(--card2); }
.rk-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; unicode-bidi: plaintext; }
.rk-b { height: 12px; border-radius: 6px; background: var(--mute); overflow: hidden; } .rk-b > span { display: flex; height: 100%; border-radius: 6px; overflow: hidden; min-width: 3px; }
.rk-b i { display: block; height: 100%; } .rk-b i.pl { background: var(--teal); } .rk-b i + i { box-shadow: -1px 0 0 var(--card); }
.rk-v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; } .shares .rk-b { background: none; }

.cloud { position: relative; width: 100%; max-width: 640px; margin: 0 auto; container-type: inline-size; }
.cw { position: absolute; border: 0; background: none; padding: 0 5px; font-weight: 600; line-height: 1.3; white-space: nowrap; border-radius: 6px; transition: background .15s, transform .15s; unicode-bidi: plaintext; }
.cw:hover { background: var(--card2); transform: scale(1.06); z-index: 2; }
.w-positive { color: var(--pos-ink); } .w-negative { color: var(--neg); } .w-neutral { color: var(--ink2); }

.tree { position: relative; width: 100%; }
.tbx { position: absolute; border: 2px solid var(--card); border-radius: 9px; padding: 0; overflow: hidden; color: #0f172a; text-align: left;
  background: color-mix(in srgb, color-mix(in srgb, var(--neu) calc((1 - max(var(--t), -1 * var(--t))) * 100%), var(--pos) calc(max(var(--t), 0) * 100%)), var(--neg) calc(max(-1 * var(--t), 0) * 100%)); transition: filter .15s; }
.tbx:hover { filter: brightness(1.07); } .tbx span { position: absolute; inset: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.tbx b { font-size: 12.5px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .tbx em { font-style: normal; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }

.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat .hh, .heat .hd { font-size: 10.5px; color: var(--ink3); text-align: center; } .heat .hd { text-align: left; }
.heat i { display: block; aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--teal) calc(var(--v) * 92% + 6%), var(--mute)); } .heat i:hover { outline: 2px solid var(--ink); outline-offset: 1px; }

/* facility by issue */
.mx { display: grid; gap: 3px; align-items: center; font-size: 12px; }
.mx-c { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 3px; }
.mx-r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; font-weight: 500; text-align: right; }
.mx i { display: block; height: 26px; border-radius: 5px; background: var(--card2); }
.mx-v { height: 26px; border: 0; border-radius: 5px; padding: 0; font-size: 12px; font-weight: 600; color: #fff; background: color-mix(in srgb, var(--neg) calc(var(--v) * 78% + 18%), var(--card)); } .mx-v:hover { outline: 2px solid var(--ink); outline-offset: 1px; }

.geo { max-width: 640px; margin: 0 auto; } .geo .land { fill: var(--card2); stroke: var(--line2); stroke-width: 1.4; stroke-linejoin: round; }
.gb { cursor: pointer; } .gb circle { fill: color-mix(in srgb, color-mix(in srgb, var(--neu) calc((1 - max(var(--t), -1 * var(--t))) * 100%), var(--pos) calc(max(var(--t), 0) * 100%)), var(--neg) calc(max(-1 * var(--t), 0) * 100%)); fill-opacity: .88; stroke: var(--card); stroke-width: 2; }
.gb:hover circle { fill-opacity: 1; } .gb text { font: 600 10px var(--sans); fill: #0f172a; pointer-events: none; } .gb .gl { font-weight: 500; font-size: 9.5px; fill: var(--ink2); }

.gz { text-align: center; } .gz .gauge { max-width: 240px; margin: 0 auto; } .gz > b { display: block; font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin-top: -6px; } .gz > span { font-size: 12px; color: var(--ink3); }
.gz-r { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; } .gz-r button { border: 0; background: var(--card2); border-radius: 8px; padding: 6px 10px; font-size: 12px; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.gz-r button:hover { background: var(--acc-soft); } .gz-r i { width: 9px; height: 9px; border-radius: 3px; } .gz-r b { color: var(--ink); }

/* ── tables, stories ──────────────────────────────────────────────────────── */
.wg:has(.tblw) .wg-b { justify-content: flex-start; }
.tblw { overflow: auto; margin: -2px -8px -6px; } .tall .tblw { max-height: 520px; }
@media (min-width: 1321px) { .tab-data [data-w=collectors] { grid-row: span 2; } .tab-data [data-w=collectors] .tblw { max-height: 600px; } }
table.tb { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tb th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); padding: 8px 10px; white-space: nowrap; background: var(--card2); } .tb th:first-child { border-radius: 8px 0 0 8px; } .tb th:last-child { border-radius: 0 8px 8px 0; }
.tb td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } .tb tr:last-child td { border-bottom: 0; }
.tb tbody tr { cursor: pointer; } .tb tbody tr:hover { background: var(--card2); } .tb tr.plain { cursor: default; }
.tb .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .tb td small { display: block; color: var(--ink3); font-size: 11.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.tb .spark { position: static; width: 84px; height: 26px; opacity: 1; }
.who { display: flex; align-items: center; gap: 10px; } .who .av { width: 30px; height: 30px; font-size: 11px; } .kw { display: flex; flex-wrap: wrap; gap: 4px; } .kw i { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: var(--mute); color: var(--ink2); }
.mini { display: flex; width: 110px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--mute); } .mini i { display: block; height: 100%; } .mini.big { width: 100%; height: 8px; grid-column: 1 / -1; }
.stories { display: grid; gap: 4px; align-content: start; height: 100%; }
.story { position: relative; display: block; width: 100%; border: 0; background: var(--card2); border-radius: 10px; padding: 9px 12px; text-align: left; } .story:hover { background: var(--acc-soft); }
.story b { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; } .story small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story:has(.score) { padding-left: 52px; } .story .score { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
.score { display: inline-grid; place-items: center; min-width: 32px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.how .wg-b { justify-content: flex-start; gap: 9px; } .how p { font-size: 13px; line-height: 1.6; color: var(--ink2); } .how b { color: var(--ink); } .how h3 svg { color: var(--teal-600); }
.cols2 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px !important; }

/* ── mentions ─────────────────────────────────────────────────────────────── */
.feed { display: grid; gap: 8px; align-content: start; } .wg-feed .wg-b { justify-content: flex-start; }
.mc { border-radius: 12px; padding: 12px 14px; background: var(--card2); } .drawer .mc { background: var(--card); box-shadow: var(--sh); }
.mc header { display: flex; align-items: center; gap: 11px; }
.av { position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: hsl(var(--h) 42% 44%); }
.chn { position: absolute; right: -7px; bottom: -5px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-size: 8px; font-style: normal; border: 2px solid var(--card2); box-sizing: content-box; background: var(--ink3); color: #fff; }
.ch-x { background: #0f172a; } .ch-telegram { background: #2aa3de; } .ch-maps { background: #34a853; } .ch-news { background: var(--q3); } .ch-feed { background: var(--q4); }
.mc-w { min-width: 0; flex: 1; } .mc-w b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mc-w small { display: block; font-size: 11.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.chip.s-positive { background: var(--pos-soft); color: var(--pos-ink); } .chip.s-negative { background: var(--neg-soft); color: var(--neg-ink); } .chip.s-neutral { background: var(--mute); color: var(--ink2); }
.mc h4 { margin-top: 9px; font-size: 13.5px; font-weight: 600; line-height: 1.45; unicode-bidi: plaintext; }
.mc p { margin-top: 8px; font-size: 13px; line-height: 1.6; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.ht { border: 0; background: none; padding: 0; color: var(--acc); font: inherit; } .ht:hover { text-decoration: underline; }
.stars { display: block; margin-top: 8px; color: #e9a100; font-size: 14px; letter-spacing: 1px; } .stars i { font-style: normal; color: var(--line2); }
.mc footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.tg { border: 0; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink2); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; } button.tg:hover { background: var(--acc-soft); color: var(--acc); box-shadow: none; }
.mt { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink3); margin-left: 8px; font-variant-numeric: tabular-nums; }

/* ── popovers, the tooltip, the pane ──────────────────────────────────────── */
.pop { position: fixed; z-index: 40; min-width: 220px; max-width: 340px; background: var(--card); border-radius: 12px; box-shadow: var(--pop); padding: 6px; animation: pop .14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.pop header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px 6px; font-size: 10.5px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .07em; }
.pop-l { max-height: 320px; overflow: auto; }
.pop label { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; } .pop label:hover { background: var(--card2); }
.pop label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pop label i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; } .pop label em { font-style: normal; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.pop input { accent-color: var(--teal-700); width: 15px; height: 15px; margin: 0; }
.pop.menu { min-width: 180px; } .pop.menu button { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font-size: 13px; text-align: left; } .pop.menu button:hover { background: var(--card2); }
.tins { width: 320px; padding: 6px 12px 10px; } .tins header { padding: 8px 0 6px; } .tins header span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.tins p { font-size: 13px; line-height: 1.5; padding: 6px 0; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; } .tins p:first-of-type { display: block; }
.tins em { font-style: normal; font-weight: 600; font-size: 12px; flex-basis: 100%; color: var(--ink2); } .tins .tg { background: var(--card2); box-shadow: none; } .tins .sd { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; margin-right: 8px; } .tins .sd i { width: 9px; height: 9px; border-radius: 50%; }
.tins footer { padding-top: 6px; text-align: right; }
.tip { position: fixed; z-index: 60; pointer-events: none; min-width: 150px; max-width: 290px; background: #0f172a; color: #fff; border-radius: 10px; padding: 9px 11px; font-size: 12px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.tip b { display: block; font-size: 12.5px; margin-bottom: 4px; unicode-bidi: plaintext; } .tip p { color: rgba(255, 255, 255, .8); line-height: 1.45; }
.tip span { display: flex; align-items: center; gap: 7px; padding: 2px 0; color: rgba(255, 255, 255, .8); } .tip span i { width: 8px; height: 8px; border-radius: 50%; } .tip em { margin-left: auto; padding-left: 14px; font-style: normal; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

.drawer { position: fixed; inset: 0; z-index: 35; background: rgba(10, 14, 22, 0); transition: background .25s; } .drawer.on { background: rgba(10, 14, 22, .4); }
.drawer-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100vw); background: var(--page); box-shadow: -16px 0 50px -20px rgba(0, 0, 0, .45); overflow-y: auto; transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.drawer.on .drawer-p { transform: none; }
.dr-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: linear-gradient(135deg, var(--band-a), var(--band-b)); }
.dr-h .sq { color: #fff; } .dr-h .sq:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.dr-h div { flex: 1; min-width: 0; } .crumb { font-size: 11.5px; color: rgba(255, 255, 255, .8); } .crumb span { margin: 0 3px; } .dr-h h2 { font-size: 16px; font-weight: 600; margin-top: 1px; unicode-bidi: plaintext; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-s { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; padding: 14px 16px; background: var(--card); }
.dr-s b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .dr-s span { font-size: 12px; color: var(--ink3); }
.fp { margin: 12px 14px 0; padding: 14px 16px; background: var(--card); border-radius: 12px; box-shadow: var(--sh); display: grid; gap: 10px; }
.fp-m { font-size: 12.5px; color: var(--ink3); } .fp h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink3); margin-top: 2px; }
.fp-s { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .fp-s b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; } .fp-s span { font-size: 11.5px; color: var(--ink3); }
.fp-c { display: flex; flex-wrap: wrap; gap: 5px; } .fp .tg { background: var(--card2); box-shadow: none; }
.fp-r { display: grid; gap: 6px; } .fp-r > div { background: var(--card2); border-radius: 10px; padding: 9px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: center; }
.fp-r b { font-size: 13px; font-weight: 600; unicode-bidi: plaintext; } .fp-r em { font-style: normal; font-size: 11.5px; color: var(--ink3); white-space: nowrap; } .fp-r .kw, .fp-r small { grid-column: 1 / -1; } .fp-r small { font-size: 12px; color: var(--ink2); line-height: 1.5; unicode-bidi: plaintext; } .fp-r .kw i { background: var(--card); }
.dr-t { display: flex; align-items: center; gap: 8px; padding: 14px 14px 4px; } .dr-t h4 { font-size: 13px; font-weight: 600; }
.drawer .feed { padding: 8px 14px 6px; } .lnk.more { margin: 8px 14px 22px; text-align: left; }

/* ── narrower screens ─────────────────────────────────────────────────────── */
@media (max-width: 1320px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c8, .c7, .c6, .c5, .c4 { grid-column: span 6; } .c3 { grid-column: span 12; }
  .tab-overview .c8, .tab-overview .c7, .tab-overview .c5, .tab-social .c8, .tab-news .c8, .tab-sentiment .c8, .tab-mentions .c8, .tab-reviews .c8, .tab-reviews .c7, .tab-reviews .c5, .tab-themes .c7, .tab-geo .c7, .tab-mentions .stack, .tab-themes .c5, .tab-geo .c5, .tab-data .c7, .tab-data .c5, .tab-news .c7, .tab-news .c5, .tab-social .c7, .tab-social .c5 { grid-column: span 12; }
  .mod.c4 { grid-column: span 4; } .how.c4 { grid-column: span 12; }
  .cl { grid-template-columns: 1fr; gap: 10px; } .status span { display: none; }
}
@media (max-width: 900px) {
  .band { flex-wrap: wrap; gap: 10px; padding: 10px 12px; } .brand small { display: none; } .search { order: 3; flex-basis: 100%; max-width: none; margin: 0; } .pill { display: none; }
  .head { flex-wrap: wrap; padding: 14px 12px 4px; } .head h1 { font-size: 19px; } .head-r { margin-left: 0; flex-basis: 100%; } .period { display: none; } #exportAll { margin-left: auto; }
  .filters { padding: 8px 12px 4px; } .f-l { display: none; } .tabs { padding: 0 6px; }
  .dash { padding: 10px 12px; gap: 10px; } .c8, .c7, .c6, .c5, .c4, .c3, .stack, .mod.c4 { grid-column: span 12 !important; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .k-v { font-size: 23px; } .kpi.text .k-v { font-size: 16px; }
  .sent { grid-template-columns: 1fr; } .sent-d { max-width: 180px; margin: 0 auto; width: 100%; }
  .rk { grid-template-columns: minmax(80px, 40%) minmax(0, 1fr) 42px; gap: 8px; } .dv-r { grid-template-columns: minmax(80px, 34%) minmax(0, 1fr) 76px; gap: 8px; }
  .lg .hint { display: none; } .wg-h small { display: none; } .att-r { grid-template-columns: 1fr; gap: 4px; } .att-t { justify-self: start; } .cols2 { grid-template-columns: 1fr; }
  .cl-h, .cl-l button { grid-template-columns: minmax(0, 1fr) 46px 44px 62px; } .mx { font-size: 10.5px; } .mx-c { font-size: 8.5px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
