/* ===== Fonte de títulos (servida localmente — CSP 'self') ===== */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ===== Tokens: paleta Sanavita (roxos) ===== */
:root {
  color-scheme: light;
  --page: #f6f1f9;
  --surface: #ffffff;
  --surface-2: #f4edf9;
  --surface-3: #ebdff4;
  --ink: #2b0d3b;
  --ink-2: #5f4a6e;
  --muted: #9a89a8;
  --line: #eee5f4;
  --line-strong: #dccbe8;
  --ring: rgba(74, 15, 99, 0.08);
  --plum: #3f0b56;          /* títulos fortes */
  --accent: #6a1b9a;        /* roxo principal */
  --accent-2: #8a3ec0;      /* roxo médio */
  --accent-3: #b27fd6;      /* lilás */
  --accent-soft: #f2e7fa;
  --accent-ink: #ffffff;
  --sidebar-top: #4b1068;
  --sidebar-bottom: #2a0740;
  --sidebar-ink: #e7d9f1;
  --focus: #8a3ec0;
  --series-1: #8a3ec0;      /* validado: agência */
  --series-2: #e0569e;      /* validado: diretas */
  --series-muted: #cbbfd6;
  --good: #0ca30c;
  --good-ink: #0b7a2a;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --critical-ink: #b3261e;
  --shadow: 0 1px 2px rgba(63, 11, 86, 0.05), 0 8px 24px -12px rgba(63, 11, 86, 0.12);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #120a18; --surface: #1c1424; --surface-2: #251a2f; --surface-3: #30223d;
    --ink: #ffffff; --ink-2: #d6c8e0; --muted: #9a89a8; --line: #2e2238; --line-strong: #3d2e4a; --ring: rgba(255, 255, 255, 0.07);
    --plum: #eadcf5; --accent: #b07ae0; --accent-2: #9d5fd6; --accent-3: #7c4aa8; --accent-soft: #2d1e3c; --accent-ink: #1a0f22;
    --sidebar-top: #2a0a3b; --sidebar-bottom: #14061d; --sidebar-ink: #d9c8e6; --focus: #c49be8;
    --series-1: #9d5fd6; --series-2: #e0508f; --series-muted: #4a3d55;
    --good-ink: #37c46a; --critical-ink: #e66767; --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #120a18; --surface: #1c1424; --surface-2: #251a2f; --surface-3: #30223d;
  --ink: #ffffff; --ink-2: #d6c8e0; --muted: #9a89a8; --line: #2e2238; --line-strong: #3d2e4a; --ring: rgba(255, 255, 255, 0.07);
  --plum: #eadcf5; --accent: #b07ae0; --accent-2: #9d5fd6; --accent-3: #7c4aa8; --accent-soft: #2d1e3c; --accent-ink: #1a0f22;
  --sidebar-top: #2a0a3b; --sidebar-bottom: #14061d; --sidebar-ink: #d9c8e6; --focus: #c49be8;
  --series-1: #9d5fd6; --series-2: #e0508f; --series-muted: #4a3d55;
  --good-ink: #37c46a; --critical-ink: #e66767; --shadow: none;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--page); color: var(--ink); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
svg { flex: none; }
.boot { display: grid; place-items: center; min-height: 60vh; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.mt { margin-top: 20px; margin-bottom: 12px; }
.grow { flex: 1; min-width: 0; }
.min0 { min-width: 0; }

/* ===== Layout ===== */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.shell > div { min-width: 0; }
.sidebar {
  background: linear-gradient(180deg, var(--sidebar-top), var(--sidebar-bottom));
  color: var(--sidebar-ink); padding: 22px 14px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.sidebar::after { /* anel decorativo, como na peça de referência */
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.04); right: -210px; bottom: -120px; pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 22px; color: #fff; }
.brand .word { font-family: var(--font); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.65; margin-top: 4px; font-weight: 600; }
.nav { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--sidebar-ink); font-weight: 500; }
.nav a:hover { background: rgba(255, 255, 255, 0.07); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 3px 0 0 #d7b3f0; }
.nav .sep { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 12px 8px; }
.nav .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.55; padding: 4px 12px 4px; font-weight: 600; }
.sidebar .me { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; position: relative; z-index: 1; }
.sidebar .me strong { display: block; color: #fff; font-size: 13px; }
.sidebar .me .row { display: flex; gap: 6px; margin-top: 10px; }
.sidebar .me button { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.08); border: 0; color: var(--sidebar-ink); padding: 6px 9px; border-radius: 8px; cursor: pointer; font-size: 12px; }
.sidebar .me button:hover { background: rgba(255, 255, 255, 0.16); }
.sidebar button.viewas { display: flex; align-items: center; justify-content: center; gap: 7px; width: calc(100% - 8px); margin: 4px 4px 14px; padding: 9px 12px; border: 1px solid rgba(231, 247, 106, 0.45); border-radius: 10px; background: rgba(231, 247, 106, 0.14); color: #f3fbb5; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sidebar button.viewas:hover { background: rgba(231, 247, 106, 0.26); }
.sidebar button.viewas.on { background: #e7f76a; color: #3b0d57; border-color: #e7f76a; }
.viewas-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 24px; background: #fdf7c3; color: #4a3b00; border-bottom: 1px solid #eadf7a; font-size: 13px; }
.viewas-bar span { flex: 1; min-width: 220px; }
[data-theme="dark"] .viewas-bar { background: #3a3510; color: #f6eeb0; border-color: #5c5419; }

.main { min-width: 0; padding: 28px 34px 56px; position: relative; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-2); padding-bottom: 6px; margin-bottom: 6px; border-bottom: 2px solid var(--accent-3); }
.topbar h1 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 0.95; margin: 0; letter-spacing: 0; text-transform: uppercase; color: var(--plum); }
.topbar .sub { color: var(--ink-2); margin-top: 8px; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mobile-bar { display: none; }

/* ===== Cartões e KPIs ===== */
.card { background: var(--surface); border: 1px solid var(--ring); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; min-width: 0; }
.card h2 { font-size: 15px; margin: 0 0 2px; font-weight: 700; color: var(--plum); display: flex; align-items: center; gap: 8px; }
.card h2 svg { color: var(--accent-2); }
.card .card-sub { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid.two { grid-template-columns: 2fr 1fr; }
.grid.halves { grid-template-columns: 1fr 1fr; }
.stack { display: flex; flex-direction: column; gap: 18px; }

.icon-chip { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.stat { display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.stat .top { display: flex; align-items: center; gap: 10px; }
.stat .label { color: var(--ink-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.25; }
.stat .value { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--plum); letter-spacing: 0.01em; }
.stat .value small { font-size: 18px; color: var(--muted); font-weight: 600; }
.stat .foot { color: var(--muted); font-size: 12px; }
.stat.hero { background: linear-gradient(135deg, #6a1b9a, #4b1068 70%); color: #fff; border: 0; }
.stat.hero::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, 0.07); right: -60px; top: -70px; }
.stat.hero .label, .stat.hero .foot { color: rgba(255, 255, 255, 0.78); }
.stat.hero .value { color: #fff; }
.stat.hero .value small { color: rgba(255, 255, 255, 0.7); }
.stat.hero .icon-chip { background: rgba(255, 255, 255, 0.15); color: #fff; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mini-stats .stat { background: var(--surface-2); border-radius: 14px; padding: 14px; border: 1px solid var(--ring); gap: 8px; }
.mini-stats .stat .value { font-size: 26px; }
.mini-stats .icon-chip { width: 32px; height: 32px; border-radius: 10px; background: var(--surface); }
.delta-up { color: var(--good-ink); }
.delta-down { color: var(--critical-ink); }
.kpi .label { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.kpi .value { font-family: var(--display); font-size: 32px; font-weight: 700; margin-top: 6px; line-height: 1.05; color: var(--plum); }
.kpi .foot { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* ===== Botões e controles ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-strong); background: var(--surface); padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.1); background: var(--accent); }
.btn.danger { color: var(--critical-ink); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { padding: 3px 9px; font-size: 12px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: not-allowed; }
.btn[aria-busy="true"]::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; cursor: pointer; font-size: 13px; color: var(--ink-2); font-weight: 600; border-radius: 9px; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; padding: 9px 11px; min-width: 0; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent-2); outline: 3px solid var(--accent-soft); }
textarea { resize: vertical; min-height: 90px; }
label.field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.error-msg { color: var(--critical-ink); font-size: 13px; }
.toolbar select { width: auto; max-width: 320px; }

/* ===== Tabelas ===== */
.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; font-weight: 700; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 9px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; background: var(--surface); }
table.data th button { all: unset; cursor: pointer; }
table.data th button:hover { color: var(--accent); }
table.data th[aria-sort="ascending"] button::after { content: " ↑"; }
table.data th[aria-sort="descending"] button::after { content: " ↓"; }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data td.r, table.data th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.data tbody tr.clickable { cursor: pointer; }
table.data tbody tr.clickable:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }

.person { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.person .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .hd { color: var(--muted); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); flex: none; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--accent); object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong); }
.avatar.lg { width: 96px; height: 96px; font-size: 30px; box-shadow: 0 0 0 3px var(--accent-3); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.badge.good .dot { background: var(--good); }
.badge.warning .dot { background: var(--warning); }
.badge.serious .dot { background: var(--serious); }
.badge.critical .dot { background: var(--critical); }
.badge.info .dot { background: var(--accent-2); }
.chip { display: inline-block; padding: 2px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; overflow-y: hidden; }
.tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 11px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button svg { color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--accent); }
.tabs button[aria-selected="true"] svg { color: var(--accent); }

.dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px 20px; margin: 0; }
.dl dt { color: var(--ink-2); font-size: 13px; }
.dl dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pii-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Lista de verificação do programa (ícone + rótulo + valor) */
.check-list { display: grid; gap: 2px; }
.check-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; }
.check-row .icon-chip { width: 32px; height: 32px; border-radius: 10px; }
.check-row .lbl { color: var(--ink-2); font-size: 13px; }
.check-row .val { font-weight: 600; text-align: right; }

.profile-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-hero h2 { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; margin: 0; color: var(--plum); line-height: 1; }
.bio { color: var(--ink-2); white-space: pre-line; margin-top: 8px; max-width: 70ch; font-size: 13px; }

.chart-box { position: relative; height: 260px; }
.chart-box.sm { height: 210px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 180px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .track { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent-3), var(--accent-2)); }

.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.empty strong { display: block; color: var(--ink-2); margin-bottom: 4px; }
.notice { border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.notice svg { color: var(--accent-2); margin-top: 1px; }
.notice strong { color: var(--ink); }
.notice.warn { border-color: color-mix(in srgb, var(--warning) 55%, transparent); background: color-mix(in srgb, var(--warning) 9%, var(--surface)); }
.notice.warn svg { color: #b57a00; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input[type="search"] { max-width: 280px; }
.filters select { width: auto; }

.drop { display: block; border: 2px dashed var(--line-strong); border-radius: 14px; padding: 24px; text-align: center; color: var(--ink-2); cursor: pointer; background: var(--surface-2); }
.drop:hover, .drop.over { border-color: var(--accent-2); background: var(--accent-soft); }
.drop input { display: none; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 80% 10%, #ead7f7 0, transparent 45%), linear-gradient(160deg, #f7f0fb, #efe3f7); }
.login { width: 100%; max-width: 390px; }
.login .brand { color: var(--accent); padding: 0 0 20px; }
.login .brand small { color: var(--muted); opacity: 1; }
.login h2 { font-family: var(--display); text-transform: uppercase; font-size: 26px; color: var(--plum); }

/* Modal & toast */
dialog { border: 1px solid var(--ring); border-radius: 16px; padding: 0; background: var(--surface); color: var(--ink); width: min(520px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(42, 7, 64, 0.35); }
dialog::backdrop { background: rgba(42, 7, 64, 0.45); }
dialog .dlg-head { padding: 18px 22px 0; font-family: var(--display); text-transform: uppercase; font-size: 22px; font-weight: 700; color: var(--plum); }
dialog .dlg-body { padding: 14px 22px 22px; }
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 100; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--plum); color: var(--surface); padding: 11px 15px; border-radius: 10px; font-size: 13px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.toast.err { background: var(--critical-ink); color: #fff; }

/* ===== Preview do Instagram ===== */
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--surface-2); text-decoration: none; color: inherit; border: 3px solid transparent; }
.ig-grid.feed .tile { aspect-ratio: 9 / 14; }
.tile.brand { border-color: var(--accent-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.tile:hover img { transform: scale(1.04); }
.tile-text { padding: 12px; font-size: 12px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.tile-type { position: absolute; top: 7px; right: 7px; background: rgba(20, 5, 30, 0.6); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 6px; font-weight: 600; }
.tile-type:empty { display: none; }
.tile-badge { position: absolute; top: 7px; left: 7px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; max-width: calc(100% - 70px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 9px 7px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(30, 5, 45, 0.75)); white-space: pre; }
.tile-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ig-grid.feed { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.ig-summary { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; color: var(--ink-2); font-size: 13px; }
.ig-summary strong { color: var(--plum); font-size: 16px; }
.brand-account { display: flex; align-items: center; gap: 14px; }
.brand-account img, .brand-account .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; }

/* ===== Responsivo ===== */
@media (max-width: 1100px) { .grid.two { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 50; transform: translateX(-100%); transition: transform 0.2s; }
  .shell.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(20, 5, 30, 0.45); }
  .mobile-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--sidebar-top); color: #fff; position: sticky; top: 0; z-index: 40; }
  .mobile-bar button { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: grid; }
  .main { padding: 18px 16px 40px; }
  .topbar h1 { font-size: 30px; }
  .grid.halves { grid-template-columns: 1fr; }
  .grid.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat .value { font-size: 26px; }
  .form .row2 { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px 0; }
  .dl dd { margin-bottom: 10px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  .card { padding: 16px; }
  .bar-row { grid-template-columns: 150px 1fr 32px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .ig-grid.feed { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile-meta, .tile-type { display: none; }
  .tile-badge { font-size: 9px; padding: 1px 4px; }
}
@media (forced-colors: active) { .badge .dot, .legend i { forced-color-adjust: none; } }

/* ===== Logo oficial ===== */
.brand-logo { display: block; height: 58px; width: auto; }
.brand .brand-sub { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; font-weight: 700; margin-top: 2px; }
.brand.stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.login .brand-logo { height: 84px; }
.mobile-bar img { height: 26px; width: auto; }

/* ===== Campanhas: cores por tipo (sempre acompanhadas de rótulo) ===== */
.k-kv { background: #6a1b9a; color: #fff; }
.k-48h { background: #d6408c; color: #fff; }
.k-data { background: #e0782f; color: #fff; }
.k-esquenta { background: #2b0d3b; color: #fff; }
.k-organico { background: #13936a; color: #fff; }
:root[data-theme="dark"] .k-esquenta { background: #5b3a70; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .k-esquenta { background: #5b3a70; } }
.k-border-kv { border-top-color: #6a1b9a !important; }
.k-border-48h { border-top-color: #d6408c !important; }
.k-border-data { border-top-color: #e0782f !important; }
.k-border-esquenta { border-top-color: #2b0d3b !important; }
.k-border-organico { border-top-color: #13936a !important; }
.k-comissao { background: #1f7a4d; color: #fff; }
/* Participação na loja dentro do card da campanha */
.camp-share { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.camp-share-head { display: flex; gap: 12px; align-items: center; }
.camp-share-big { display: grid; justify-items: center; min-width: 74px; padding: 8px 10px; border-radius: 10px; background: linear-gradient(135deg, #6a1b9a, #4b1068 70%); color: #fff; }
.camp-share-big strong { font-family: var(--display); font-size: 24px; line-height: 1; }
.camp-share-big span { font-size: 10px; opacity: .85; }
.camp-share-title { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: 13px; }
.camp-share-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; }
.camp-share-days li { display: grid; grid-template-columns: minmax(64px, auto) 1fr auto auto; gap: 8px; align-items: center; }
.camp-share-days .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.camp-share-days .bar i { display: block; height: 100%; background: #6a1b9a; border-radius: 3px; }
.camp-share-days .num { font-weight: 700; text-align: right; }
.camp-share-days .muted.num { font-weight: 400; }
.k-border-comissao { border-top-color: #1f7a4d !important; }
.dot-k { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend i.tbc-swatch { background: repeating-linear-gradient(45deg, var(--muted) 0 3px, transparent 3px 6px); }

.campaign-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 32px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(214, 170, 240, 0.35), transparent 45%), linear-gradient(135deg, #5a1480, #3a0a52 65%, #2a0740);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; box-shadow: var(--shadow);
}
.campaign-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, 0.05); right: -160px; bottom: -220px; }
.ch-main, .ch-side { position: relative; z-index: 1; }
.ch-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.85; padding-bottom: 8px; border-bottom: 2px solid rgba(255, 255, 255, 0.35); display: inline-block; }
.campaign-hero h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 54px; line-height: 0.92; margin: 16px 0 12px; display: flex; flex-direction: column; }
.campaign-hero h2 .soft { color: #d7b3f0; }
.ch-sub { margin: 0 0 16px; opacity: 0.9; max-width: 48ch; font-size: 15px; }
.ch-pillars { display: flex; gap: 10px; flex-wrap: wrap; }
.ch-pillars span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ch-signature { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
.ch-side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ch-box { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ch-box .badge { align-self: flex-start; background: rgba(255, 255, 255, 0.92); color: #3a0a52; }
.ch-box-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.ch-box strong { font-size: 16px; }
.ch-box-foot { font-size: 12px; opacity: 0.8; }
.ch-count { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.ch-count small { font-family: var(--font); font-size: 13px; font-weight: 600; opacity: 0.8; }

.cal-band { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.cal-wrap { overflow-x: auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 6px; min-width: 680px; }
.cal-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 2px 6px; }
.cal-cell { min-height: 84px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.cal-cell.weekend { background: var(--surface-2); }
.cal-cell.empty { border: 0; background: transparent; }
.cal-cell.today { border: 2px solid var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.cal-day { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--plum); display: flex; justify-content: space-between; align-items: center; }
.cal-day span { font-family: var(--font); font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--accent-2); padding: 1px 6px; border-radius: 6px; }
.cal-chip { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.cal-chip.tbc { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 4px, transparent 4px 8px); }

.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.camp-card { background: var(--surface); border: 1px solid var(--ring); border-top: 5px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.camp-top { display: flex; gap: 12px; align-items: center; }
.camp-kind { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.camp-card h3 { margin: 2px 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.05; color: var(--plum); }
.camp-dates { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.camp-headline { font-style: italic; color: var(--ink-2); font-size: 13px; }
.camp-discount { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--accent); text-transform: uppercase; }
.camp-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.camp-products li { display: flex; gap: 8px; align-items: baseline; font-size: 13px; font-weight: 600; }
.camp-products .role { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; flex: none; }
.camp-text { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.camp-notes { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: var(--ink); background: var(--surface-2); padding: 8px 10px; border-radius: 10px; }
.camp-results { margin-top: auto; display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.camp-results div { display: flex; flex-direction: column; }
.camp-results strong { font-family: var(--display); font-size: 22px; color: var(--plum); line-height: 1; }
.camp-results span { font-size: 11px; color: var(--muted); }

.mix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mix-col { background: var(--surface-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--ring); }
.mix-col.anchor { background: linear-gradient(135deg, #6a1b9a, #4b1068); color: #fff; }
.mix-col.anchor .muted { color: rgba(255, 255, 255, 0.75); }
.mix-tier { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.mix-discount { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.mix-col ul { margin: 0; padding-left: 16px; font-size: 13px; display: grid; gap: 3px; }
label.field.inline { flex-direction: row; }

.campaign-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(120deg, #5a1480, #3a0a52); box-shadow: var(--shadow); flex-wrap: wrap; }
.campaign-banner .icon-chip { background: rgba(255, 255, 255, 0.15); color: #fff; }
.campaign-banner strong { font-family: var(--display); text-transform: uppercase; font-size: 20px; letter-spacing: 0.02em; }
.campaign-banner .muted-w { opacity: 0.8; font-size: 13px; }
.campaign-banner .go { margin-left: auto; font-weight: 700; font-size: 13px; }
.campaign-banner .badge { background: rgba(255, 255, 255, 0.92); color: #3a0a52; }

@media (max-width: 1000px) { .campaign-hero { grid-template-columns: 1fr; } .mix { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .campaign-hero { padding: 22px; } .campaign-hero h2 { font-size: 38px; } }
.camp-discount.long { font-size: 19px; line-height: 1.1; }

/* Seletor de período personalizado */
.range-wrap { position: relative; }
.seg .date-btn { display: inline-flex; align-items: center; gap: 5px; }
.date-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 18px 40px rgba(42, 7, 64, 0.2); padding: 14px; width: 300px; display: grid; gap: 10px; }
.date-pop[hidden] { display: none; }
.date-pop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-pop-quick { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 860px) { .date-pop { left: 0; right: auto; width: min(300px, calc(100vw - 32px)); } }

/* ===== Logística: funil ===== */
.funnel { display: grid; gap: 12px; }
.funnel-row { display: grid; grid-template-columns: 190px 1fr 86px; gap: 12px; align-items: center; }
.funnel-label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; }
.funnel-step { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; flex: none; }
.funnel-track { height: 22px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent-3), var(--accent)); min-width: 4px; }
.funnel-n { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.funnel-n strong { font-family: var(--display); font-size: 22px; color: var(--plum); }
.funnel-n span { font-size: 11px; color: var(--muted); }
.logi-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.logi-mini div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.logi-mini strong { display: block; font-family: var(--display); font-size: 24px; color: var(--plum); line-height: 1; }
.logi-mini span { font-size: 11px; color: var(--muted); }
@media (max-width: 860px) { .funnel-row { grid-template-columns: 1fr 70px; } .funnel-track { grid-column: 1 / -1; grid-row: 2; } .logi-mini { grid-template-columns: 1fr 1fr; } }
.tile-exclude { align-self: flex-start; color: var(--muted); }
.tile-exclude:hover { color: var(--critical-ink); }

/* Top 3 dias de faturamento */
.topdays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.topday { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; }
.topday.r1 { background: var(--accent-soft); border-color: var(--accent-3); }
.topday-rank { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink); }
.topday.r2 .topday-rank, .topday.r3 .topday-rank { background: var(--accent-3); }
.topday-date { font-weight: 600; }
.topday-value { font-size: 22px; font-weight: 800; color: var(--accent); margin: 2px 0; }
@media (max-width: 760px) { .topdays { grid-template-columns: 1fr; } }

/* Selo "Nova" (entrou no programa nos últimos 30 dias) */
.chip.new { margin-left: 6px; background: var(--accent); color: var(--accent-ink); border-color: transparent; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; vertical-align: 2px; }

/* Cards por grupo (aba Influenciadoras) */
.group-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.group-card { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border, #e7dcef); cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.group-card:hover { border-color: var(--accent-3); }
.group-card.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.group-photo { width: 100%; height: 120px; object-fit: cover; background: var(--surface-2); }
.group-photo.empty { display: grid; place-items: center; color: var(--accent-3); }
.group-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.group-name { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.group-count { font-size: 26px; font-weight: 800; line-height: 1.1; }
.group-count small { font-size: 13px; font-weight: 500; color: var(--muted, #776d80); }
.group-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted, #776d80); }
/* Campanha vigente o mês todo em destaque, ocupando a linha inteira */
.camp-card.featured { grid-column: 1 / -1; border-width: 2px; }

/* Logística na visão geral: os indicadores cabem numa linha */
.logi-mini { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

/* Unidades do produto da campanha (ex.: Creatinas) */
.camp-product { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); display: grid; gap: 8px; }
.camp-product-head { display: flex; gap: 10px; align-items: flex-start; color: var(--accent); }
.camp-product-head strong { font-size: 18px; color: var(--ink, inherit); }
.camp-top-list { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 13px; }
.camp-top-list li span { float: right; font-weight: 700; }

/* Conferência dos números */
.conf-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.conf-head.s-ok { border-color: #2e9d5b; } .conf-head.s-ok svg { color: #2e9d5b; }
.conf-head.s-alerta { border-color: #d4a017; } .conf-head.s-alerta svg { color: #d4a017; }
.conf-head.s-erro { border-color: #c63b3b; } .conf-head.s-erro svg { color: #c63b3b; }
.conf-list { display: grid; gap: 10px; }
.conf-item { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border-left: 4px solid var(--line-strong); }
.conf-item.s-ok { border-left-color: #2e9d5b; } .conf-item.s-alerta { border-left-color: #d4a017; } .conf-item.s-erro { border-left-color: #c63b3b; }
.conf-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.conf-details summary { cursor: pointer; color: var(--accent); font-size: 13px; margin-top: 4px; }
.conf-details .table-wrap { margin: 6px 0 0; padding: 0; }
table.data.compact td, table.data.compact th { padding: 6px 8px; }
.conf-seal { display: inline-flex; gap: 4px; align-items: center; color: var(--muted); text-decoration: none; }
.conf-seal.s-ok svg { color: #2e9d5b; } .conf-seal.s-alerta svg { color: #d4a017; } .conf-seal.s-erro { color: #c63b3b; }

.tabs a.tab-link { display: inline-flex; align-items: center; padding: 11px 14px; font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.tabs a.tab-link[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--accent); }
.conf-month { display: grid; gap: 6px; }
.conf-month-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 700; text-transform: capitalize; }
.conf-runs { display: flex; flex-wrap: wrap; gap: 6px; }
.conf-run { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px 8px; font-size: 12px; text-decoration: none; color: inherit; }
.conf-run.s-ok { border-color: #2e9d5b; } .conf-run.s-alerta { border-color: #d4a017; } .conf-run.s-erro { border-color: #c63b3b; }
.conf-run[aria-current="true"] { background: var(--accent-soft); font-weight: 700; }

/* Stories que mencionaram a marca (formato vertical 9:16) */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.story-tile { margin: 0; display: grid; gap: 6px; }
.story-tile img, .story-tile video, .story-missing { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.story-missing { display: grid; place-items: center; text-align: center; padding: 10px; color: var(--muted); font-size: 12px; }

.code-box { display: inline-block; max-width: 100%; overflow-x: auto; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-size: 12px; }

/* Insights do Instagram */
.insight-summary { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ins-post { display: grid; gap: 6px; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.ins-post img, .ins-noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-3, var(--surface-2)); }
.ins-noimg { display: grid; place-items: center; color: var(--muted); }
.ins-post-meta { padding: 0 10px 10px; display: grid; gap: 4px; }
.ins-nums { display: flex; gap: 10px; font-weight: 700; font-size: 13px; }
.ins-nums span { display: inline-flex; align-items: center; gap: 3px; }
.ins-caption { font-size: 12px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media print {
  .nav, .topbar .btn, .topbar .seg, .range, button, .date-pop { display: none !important; }
  .shell { display: block !important; }
  body { background: #fff !important; }
  .card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd !important; }
}

.month-table th .cap { text-transform: capitalize; }
.month-table td { vertical-align: top; }

.spark { position: relative; height: 46px; margin-top: 8px; }

/* Card destaque (roxo): variações e textos legíveis */
.stat.hero .delta-up, .stat.hero .delta-down, .stat.hero .muted { color: rgba(255, 255, 255, 0.92) !important; }
.stat.hero .spark { margin-top: 10px; }

/* Participação nas vendas da loja */
.share-wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.share-big { display: grid; justify-items: center; padding: 14px 22px; border-radius: 14px; background: linear-gradient(135deg, #6a1b9a, #4b1068 70%); color: #fff; }
.share-big strong { font-family: var(--display); font-size: 42px; line-height: 1; }
.share-big span { font-size: 12px; color: rgba(255,255,255,.8); }
.share-mini { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 0; }
@media (max-width: 760px) { .share-wrap { grid-template-columns: 1fr; } }

/* Cor da linha de participação (contrasta com as barras roxas) */
:root { --series-share: #2e9d5b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --series-share: #4cc27f; } }
:root[data-theme="dark"] { --series-share: #4cc27f; }

/* Quem citou a marca */
.cited-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.cited-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); color: inherit; text-decoration: none; }
.cited-item:hover { background: var(--accent-soft); }
