        .sp-root {
          --sp-bg: #f2f5fa; --sp-surface: #ffffff; --sp-surface-2: #f5f7fc; --sp-border: #dde4f0;
          --sp-text: #18233b; --sp-muted: #66769a; --sp-accent: #4f6df5; --sp-pos: #12a874; --sp-neg: #e5484d;
          --sp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
          --app-bg: var(--sp-bg); --app-card-bg: var(--sp-surface); --app-border: var(--sp-border);
          --app-text: var(--sp-text); --app-title: var(--sp-text); --app-muted: var(--sp-muted); --app-primary: var(--sp-accent);
          display: block; min-height: 100vh; background: var(--sp-bg); color: var(--sp-text);
          font-family: 'Google Sans Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }
        .sp-root.dark-theme {
          --sp-bg: #0a0f1e; --sp-surface: #121a30; --sp-surface-2: #172040; --sp-border: #232f52;
          --sp-text: #e9eefb; --sp-muted: #8c9ac2; --sp-accent: #7b93ff; --sp-pos: #3fd9a0; --sp-neg: #ff6b72;
          --sp-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .35);
        }
        .sp-app { max-width: 1600px; margin: 0 auto; padding: 18px clamp(14px, 2.4vw, 36px) 48px; }
        .sp-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 4px 0 14px; }
        .sp-brand { display: flex; align-items: center; gap: 16px; }
        .sp-vocento-lockup { display: grid; place-items: center; width: 168px; height: 54px; border-radius: 10px; background: #202477; box-shadow: 0 8px 22px rgba(32, 36, 119, .3); }
        .sp-vocento { display: block; width: 138px; height: 28px; fill: #fff; }
        .sp-logo { width: 38px; height: 38px; border-radius: 11px; background: conic-gradient(from 210deg, #ff5aa5, #5b9bff, #2ee6dc, #ff5aa5); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
        .sp-brand strong { display: block; font-size: 24px; letter-spacing: -.02em; }
        .sp-brand small { color: var(--sp-muted); font-size: 13px; }
        .sp-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--sp-border); background: var(--sp-surface); border-radius: 14px; }
        .sp-tab { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--sp-muted); padding: 8px 12px; border-radius: 10px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
        .sp-tab:hover { color: var(--sp-text); }
        .sp-tab.is-active { background: var(--sp-accent); color: #fff; }
        .sp-net-icon { width: 20px; height: 20px; flex: none; }
        .sp-net-icon.ig rect { fill: url(#sp-ig-gradient); }
        .sp-net-icon.ig { overflow: visible; }
        .sp-net-icon.ig rect { fill: #ff4d9d; stroke: #fff; stroke-width: 1.2; }
        .sp-net-icon.ig circle { fill: none; stroke: #fff; stroke-width: 1.8; }
        .sp-net-icon.ig .dot { fill: #fff; stroke: none; }
        .sp-net-icon.fb circle { fill: #1877f2; }
        .sp-net-icon.fb path { fill: #fff; }
        .sp-net-icon.tt path { fill: #111827; stroke: #2ee6dc; stroke-width: .8; }
        .sp-tab.is-active .sp-net-icon.tt path { fill: #fff; }
        .sp-filters { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 12px 14px; margin: 4px 0 16px; border: 1px solid var(--sp-border); background: var(--sp-surface); border-radius: 14px; box-shadow: var(--sp-shadow); }
        .sp-filters-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
        .sp-range { color: var(--sp-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
        .sp-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
        .sp-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-muted); }
        .sp-row { display: flex; align-items: center; gap: 8px; }
        .sp-to { color: var(--sp-muted); font-size: 12px; }
        .sp-select, .sp-input, .sp-dd summary { height: 36px; min-width: 150px; border: 1px solid var(--sp-border); background: var(--sp-surface-2); color: var(--sp-text); border-radius: 10px; padding: 0 12px; font-family: inherit; font-size: 13px; box-sizing: border-box; }
        .sp-input { min-width: 138px; }
        .sp-dd { position: relative; }
        .sp-dd summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
        .sp-dd summary::-webkit-details-marker { display: none; }
        .sp-caret { width: 7px; height: 7px; border-right: 2px solid var(--sp-muted); border-bottom: 2px solid var(--sp-muted); transform: rotate(45deg) translateY(-2px); }
        .sp-dd-panel { position: absolute; top: 42px; left: 0; z-index: 40; width: 280px; max-height: 360px; overflow: auto; padding: 10px; background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: 12px; box-shadow: var(--sp-shadow); }
        .sp-dd-search { width: 100%; height: 34px; margin-bottom: 6px; padding: 0 10px; border: 1px solid var(--sp-border); border-radius: 8px; background: var(--sp-surface-2); color: var(--sp-text); font-family: inherit; box-sizing: border-box; }
        .sp-link { border: 0; background: transparent; color: var(--sp-accent); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 2px 8px; }
        .sp-dd-item { display: flex; align-items: center; gap: 9px; padding: 6px 4px; border-radius: 8px; font-size: 13px; cursor: pointer; }
        .sp-dd-item:hover { background: var(--sp-surface-2); }
        .sp-dd-item[hidden] { display: none; }
        .sp-dd-empty { color: var(--sp-muted); font-size: 12px; padding: 8px 4px; }
        .sp-toggles { display: flex; flex-wrap: wrap; gap: 4px; }
        .sp-toggle { height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--sp-border); background: var(--sp-surface-2); color: var(--sp-muted); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
        .sp-toggle:hover { color: var(--sp-text); }
        .sp-toggle.is-on { background: var(--sp-accent); border-color: transparent; color: #fff; }
        .sp-btn { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--sp-border); background: var(--sp-surface-2); color: var(--sp-text); font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
        .sp-btn:hover { border-color: var(--sp-accent); }
        .sp-main { min-height: 60vh; }
        .sp-grid { display: grid; gap: 14px; margin-bottom: 14px; }
        .sp-nobottom { margin-bottom: 0; }
        .sp-g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
        .sp-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
        .sp-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        .sp-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .sp-g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
        .sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 14px; margin-bottom: 14px; }
        .sp-card { min-width: 0; padding: 16px; margin-bottom: 14px; background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: 16px; box-shadow: var(--sp-shadow); }
        .sp-grid > .sp-card, .sp-hero > .sp-card, .sp-cmp .sp-grid > .sp-card { margin-bottom: 0; }
        .sp-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
        .sp-card-h h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
        .sp-card-h small { color: var(--sp-muted); font-size: 13px; }
        .sp-kpi { position: relative; overflow: hidden; }
        .sp-kpi .lab, .sp-total .lab { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-muted); }
        .sp-kpi .val { margin: 6px 0 2px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
        .sp-kpi .sub, .sp-total .sub { font-size: 12px; color: var(--sp-muted); }
        .sp-emoji { font-size: 20px; line-height: 1; letter-spacing: 0; }
        .sp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--sp-accent)); flex: none; }
        .sp-spark-wrap { position: relative; height: 40px; margin-top: 8px; cursor: crosshair; }
        .sp-spark { display: block; width: 100%; height: 100%; }
        .sp-spark-dot { position: absolute; display: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); border: 2px solid var(--sp-surface); transform: translate(-50%, -50%); pointer-events: none; }
        .sp-spark-tip { position: absolute; bottom: calc(100% + 4px); display: none; z-index: 5; padding: 4px 8px; border-radius: 6px; background: rgba(10, 15, 30, .94); color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
        .sp-spark-wrap.is-hot .sp-spark-dot, .sp-spark-wrap.is-hot .sp-spark-tip { display: block; }
        .sp-kpi-net { display: flex; flex-direction: column; padding: 20px 22px; }
        .sp-kpi-net .lab { gap: 12px; font-size: 18px; letter-spacing: .06em; color: var(--sp-text); }
        .sp-kpi-net .sp-net-icon { width: 34px; height: 34px; }
        .sp-kpi-net .val { margin: 12px 0 4px; font-size: clamp(30px, 2.8vw, 42px); }
        .sp-kpi-net .sub { font-size: 13px; }
        .sp-kpi-net .sp-spark-wrap { height: auto; min-height: 56px; flex: 1; margin-top: 14px; }
        .sp-netlegend { display: inline-flex; align-items: center; gap: 12px; }
        .sp-netlegend > span { display: inline-flex; align-items: center; gap: 5px; }
        .sp-netlegend .sp-net-icon { width: 15px; height: 15px; }
        .sp-card-h h3 { display: flex; align-items: center; gap: 8px; }
        .sp-card-h h3 .sp-net-icon { width: 24px; height: 24px; }
        .dark-theme .sp-net-icon.tt path { fill: #fff; stroke: #2ee6dc; }
        .sp-delta { font-weight: 700; }
        .sp-delta.pos { color: var(--sp-pos); }
        .sp-delta.neg { color: var(--sp-neg); }
        .sp-total { margin-bottom: 0; }
        .sp-total .val { margin: 8px 0 4px; font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
        .sp-share { display: flex; gap: 3px; height: 8px; margin: 16px 0 12px; border-radius: 99px; overflow: hidden; }
        .sp-share span { display: block; min-width: 3px; }
        .sp-legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
        .sp-legend li { display: flex; align-items: center; gap: 8px; }
        .sp-legend .sp-net-icon, .sp-break .sp-net-icon { width: 18px; height: 18px; }
        .sp-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
        .sp-big { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
        .sp-break { display: grid; gap: 9px; }
        .sp-break .row { display: grid; grid-template-columns: 18px 84px 74px 1fr; align-items: center; gap: 8px; font-size: 13px; }
        .sp-break .row b { text-align: right; font-variant-numeric: tabular-nums; }
        .sp-break .bar { height: 6px; border-radius: 99px; background: var(--sp-surface-2); overflow: hidden; }
        .sp-break .bar i { display: block; height: 100%; border-radius: 99px; }
        .sp-donut { max-width: 420px; margin: 0 auto; }
        .sp-posts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
        .sp-posts li { padding: 10px 12px; border: 1px solid var(--sp-border); border-radius: 12px; background: var(--sp-surface-2); }
        .sp-posts .top { display: flex; align-items: center; gap: 8px; }
        .sp-posts .chip { padding: 2px 9px; border-radius: 99px; background: var(--c); color: #0a0f1e; font-size: 11px; font-weight: 700; }
        .sp-posts .top b { margin-left: auto; font-variant-numeric: tabular-nums; }
        .sp-posts .top small { color: var(--sp-muted); font-size: 11px; }
        .sp-posts p { margin: 7px 0 5px; font-size: 12.5px; line-height: 1.4; color: var(--sp-text); overflow-wrap: anywhere; }
        .sp-copy { height: 26px; padding: 0 10px; border: 1px solid var(--sp-border); border-radius: 8px; background: var(--sp-surface-2); color: var(--sp-accent); font-family: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
        .sp-copy:hover { border-color: var(--sp-accent); }
        .sp-copy-input { width: 100%; height: 26px; padding: 0 8px; border: 1px solid var(--sp-accent); border-radius: 8px; background: var(--sp-surface-2); color: var(--sp-text); font-size: 11.5px; box-sizing: border-box; }
        .sp-cmp-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 14px; }
        .sp-cmp .sp-grid { margin-bottom: 14px; }
        .sp-note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--sp-border); border-radius: 12px; background: var(--sp-surface); color: var(--sp-muted); font-size: 13px; }
        .sp-network-visual { display: flex; align-items: center; gap: 32px; margin-bottom: 14px; padding: 18px 24px; overflow: hidden; border: 1px solid var(--sp-border); border-radius: 16px; background: radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--network) 18%, transparent), transparent 34%), linear-gradient(115deg, var(--sp-surface), var(--sp-surface-2)); }
        .sp-phone { position: relative; width: 112px; height: 188px; flex: none; padding: 7px; border: 3px solid #29334e; border-radius: 22px; background: #070b16; box-shadow: 12px 14px 0 rgba(0, 0, 0, .14), 0 18px 36px rgba(0, 0, 0, .25); transform: rotate(-6deg); }
        .sp-phone-top { display: flex; justify-content: center; height: 10px; }
        .sp-phone-top span { width: 33px; height: 4px; border-radius: 5px; background: #29334e; }
        .sp-phone-top i { position: absolute; top: 8px; right: 13px; width: 4px; height: 4px; border-radius: 50%; background: #29334e; }
        .sp-phone-screen { height: 155px; overflow: hidden; border-radius: 14px; background: #f0f3f8; color: #14203b; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; }
        .sp-phone-head { display: flex; align-items: center; gap: 4px; height: 25px; padding: 0 6px; font-size: 7px; }
        .sp-phone-head .sp-net-icon { width: 14px; height: 14px; }
        .sp-phone-head small { margin-left: auto; font-size: 10px; }
        .sp-phone-view { position: relative; height: 105px; overflow: hidden; background: #f0f3f8; }
        .sp-phone-track { position: relative; display: flex; flex-direction: column; }
        .sp-reels { animation: sp-reels 9s cubic-bezier(.7, 0, .3, 1) infinite; }
        .sp-scroll { animation: sp-scroll 10s linear infinite; }
        @keyframes sp-reels { 0%, 22% { top: 0; } 30%, 52% { top: -105px; } 60%, 82% { top: -210px; } 90%, 100% { top: -315px; } }
        @keyframes sp-scroll { to { top: -252px; } }
        .sp-slide { position: relative; box-sizing: border-box; display: grid; place-items: end start; flex: none; height: 105px; padding: 7px 7px 20px; overflow: hidden; background: linear-gradient(145deg, var(--a), var(--b) 68%); color: #fff; }
        .sp-media-glow { position: absolute; width: 74px; height: 74px; right: -14px; top: -14px; border: 11px solid rgba(255,255,255,.25); border-radius: 50%; }
        .sp-slide em { position: relative; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .12em; }
        .sp-slide .cap { position: absolute; left: 7px; bottom: 9px; width: 52px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.7); }
        .sp-slide .cap.s { bottom: 4px; width: 32px; background: rgba(255,255,255,.4); }
        .sp-phone-side { position: absolute; right: 5px; bottom: 9px; display: grid; gap: 5px; }
        .sp-phone-side i { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.85); color: #ff3d6e; font-size: 8px; font-style: normal; line-height: 1; }
        .sp-phone-side i.heart { animation: sp-pulse 1.8s ease-in-out infinite; }
        @keyframes sp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 110, .0); } 50% { box-shadow: 0 0 0 3px rgba(255, 61, 110, .4); } }
        .sp-post { box-sizing: border-box; flex: none; height: 84px; padding: 5px 6px; border-bottom: 1px solid #dde4f0; background: #f7f9fc; }
        .sp-post .ph { display: flex; align-items: center; gap: 4px; height: 12px; }
        .sp-post .ph i { width: 9px; height: 9px; border-radius: 50%; background: var(--a); }
        .sp-post .ph span { width: 30px; height: 3px; border-radius: 3px; background: #b9c4dc; }
        .sp-post .ph span.s { width: 16px; background: #d5dcec; }
        .sp-post .img { height: 44px; margin: 4px 0; border-radius: 4px; background: linear-gradient(145deg, var(--a), var(--b)); }
        .sp-post .rx { display: flex; gap: 4px; }
        .sp-post .rx i { width: 8px; height: 8px; border: 1px solid #8a97b5; border-radius: 50%; }
        @media (prefers-reduced-motion: reduce) { .sp-reels, .sp-scroll, .sp-phone-side i.heart { animation: none; } }
        .sp-phone-actions { display: flex; align-items: center; gap: 5px; padding: 7px; color: #687694; }
        .sp-phone-actions i { width: 8px; height: 8px; border: 1px solid #687694; border-radius: 50%; }
        .sp-phone-actions b { margin-left: auto; font-size: 7px; }
        .sp-phone-home { width: 25px; height: 3px; margin: 6px auto 0; border-radius: 5px; background: #29334e; }
        .sp-network-kpis { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
        .sp-network-kpis .sp-kpi { margin: 0; background: color-mix(in srgb, var(--sp-surface) 88%, transparent); }
        .sp-map-wrap { --map-sea: #a8d4f0; --map-land: #ece8df; --map-stroke: #ffffff; position: relative; overflow: hidden; aspect-ratio: 2000 / 1163; border: 1px solid var(--sp-border); border-radius: 12px; background: var(--map-sea); }
        .dark-theme .sp-map-wrap { --map-sea: #0d1a33; --map-land: #1f2b4a; --map-stroke: #0a0f1e; }
        .sp-map { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; }
        .sp-map.is-drag { cursor: grabbing; }
        .sp-cty { stroke: var(--map-stroke); stroke-width: .7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
        .sp-cty.nd { fill: var(--map-land); }
        .sp-cty:hover { stroke: var(--sp-text); stroke-width: 1.6; }
        .sp-map-ctrl { position: absolute; top: 10px; right: 10px; display: grid; gap: 1px; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
        .sp-map-ctrl button { width: 30px; height: 30px; border: 0; background: #fff; color: #444; font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; }
        .sp-map-ctrl button:hover { background: #eef2f7; }
        .sp-map-legend { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: #333; font-size: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
        .sp-map-legend i { display: block; width: 12px; height: 78px; border-radius: 3px; background: linear-gradient(to top, rgb(92, 184, 92), rgb(216, 227, 91) 40%, rgb(245, 165, 66) 70%, rgb(229, 72, 77)); }
        .sp-map-tip { position: absolute; z-index: 3; max-width: 190px; padding: 6px 9px; border-radius: 7px; background: rgba(10, 15, 30, .92); color: #fff; font-size: 12px; pointer-events: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
        .sp-map-tip[hidden] { display: none; }
        .sp-map-caption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px 0; color: var(--sp-muted); font-size: 11px; }
        .sp-map-caption b { color: var(--sp-text); }
        .sp-map-caption span { text-align: right; }
        .sp-note.warn { border-color: var(--sp-neg); color: var(--sp-text); }
        .sp-skel { border-radius: 12px; background: linear-gradient(100deg, var(--sp-surface-2) 30%, var(--sp-border) 50%, var(--sp-surface-2) 70%); background-size: 200% 100%; animation: sp-shimmer 1.3s infinite linear; }
        @keyframes sp-shimmer { to { background-position: -200% 0; } }
        .sp-empty { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--sp-border); border-radius: 12px; color: var(--sp-muted); font-size: 13px; }
        .sp-card app-chart, .sp-card app-grid { display: block; }
        .sp-foot { margin-top: 8px; color: var(--sp-muted); font-size: 12px; text-align: center; }
        @media (max-width: 1180px) {
          .sp-g6, .sp-g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
          .sp-g3, .sp-g2, .sp-g21, .sp-hero { grid-template-columns: 1fr; }
        }
        @media (max-width: 640px) {
          .sp-g6, .sp-g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
          .sp-filters-end { margin-left: 0; }
          .sp-vocento-lockup { width: 128px; height: 44px; }
          .sp-vocento { width: 104px; }
          .sp-network-visual { flex-direction: column; gap: 18px; padding: 14px; }
          .sp-network-kpis { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
          .sp-map-caption { display: grid; }
          .sp-map-caption span { text-align: left; }
        }
