/* V30.2 — visualização baseada no TikRadar.html de referência */
#visualDashboard{font-family:Inter,Arial,sans-serif;color:#101526;overflow:hidden}
#visualDashboard .refDashHead{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:4px 0 16px}
#visualDashboard .refEyebrow{font-size:10px;letter-spacing:.12em;color:#45547c;font-weight:800}
#visualDashboard h1{font-size:clamp(23px,1.9vw,33px);letter-spacing:-.055em;margin:7px 0;color:#101526}
#visualDashboard h1 em{color:#f20c82;font-style:normal}
#visualDashboard .refDashHead p{margin:5px 0;color:#566783;font-size:13px}
#visualDashboard .refDashActions{display:flex;align-items:center;gap:8px;color:#566783;font-size:12px}
#visualDashboard .refPeriod{border:1px solid #d8e0ef;border-radius:8px;background:#fff;color:#263450;padding:9px 10px}
#visualDashboard .refCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
#visualDashboard .refKpi{display:flex;align-items:center;gap:10px;min-width:0;padding:14px 12px;background:#fff;border:1px solid #e0e6f1;border-radius:13px;box-shadow:0 3px 12px #2d47740b}
#visualDashboard .refKpiIcon{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;font-size:18px}
#visualDashboard .refKpi small,#visualDashboard .refKpi span{display:block;color:#71819a;font-size:10px;white-space:nowrap}
#visualDashboard .refKpi strong{display:block;margin:3px 0;font-size:23px;line-height:1;color:#142945}
#visualDashboard .refGrid{display:grid;grid-template-columns:minmax(0,2.27fr) minmax(275px,1fr);gap:14px}
#visualDashboard .refMainCol,#visualDashboard .refSideCol{display:grid;align-content:start;gap:14px;min-width:0}
#visualDashboard .refPanel{padding:16px!important;background:#fff;border:1px solid #e0e6f1;border-radius:15px;min-width:0}
#visualDashboard .refPanelHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
#visualDashboard .refPanel h2{font-size:16px;letter-spacing:-.025em;margin:0;color:#182b46}
#visualDashboard .refPanel small{display:block;color:#7b8ba1;font-size:10px;margin-top:5px}
#visualDashboard .refPanel a{color:#1c65d8;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
#visualDashboard .refLegend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;color:#6f8097;font-size:10px}.refLegend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:3px}.refLegend .pink{background:#f20c82}.refLegend .blue{background:#1268ff}.refLegend .purple{background:#914afa}.refLegend .orange{background:#ff9514}
#visualDashboard .refChart{height:175px;border-top:1px solid #f0f3f7;background:repeating-linear-gradient(to bottom,transparent 0,transparent 42px,#eef2f7 43px);padding:12px 0 0}.refChart svg{display:block;width:100%;height:140px}.refAxis{display:flex;justify-content:space-between;color:#9aa7b8;font-size:9px;padding:0 3px}
#visualDashboard .refCategoryList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.refCategory{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #edf0f5;border-radius:10px}.refCategory>div{min-width:0;flex:1}.refCategory b,.refCategory small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.refCategory strong{font-size:12px;color:#2f67bd}.refCatIcon{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:8px;background:#eaf2ff;color:#3178e5}.refCatIcon.c1{background:#f1eaff;color:#7957d5}.refCatIcon.c2{background:#eaf9f2;color:#1d9c69}.refCatIcon.c3{background:#fff1e4;color:#db7915}
#visualDashboard .refTableWrap{overflow:auto;max-width:100%}.refTable{width:100%;min-width:510px;border-collapse:collapse;font-size:11px}.refTable th,.refTable td{text-align:left;padding:10px 8px;border-bottom:1px solid #edf0f5;white-space:nowrap}.refTable th{color:#71819a;font-size:10px;background:#fafbfd}.refTable td{color:#2c405c}.refTable a{color:#1c65d8;cursor:pointer}.refSource{color:#6f8097;font-size:10px}
#visualDashboard .refRank{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf0f5}.refRank:last-child{border-bottom:0}.refRank>span{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:7px;background:#eaf2ff;color:#286bd0;font-weight:800;font-size:10px}.refRank>div{min-width:0;flex:1}.refRank b,.refRank small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.refRank strong{font-size:17px;color:#286bd0}.refMedia{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf0f5}.refMedia:last-child{border:0}.refMedia>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:#eef3ff;color:#286bd0}.refMedia b,.refMedia small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.refMedia div{min-width:0}.refCreator{display:flex;align-items:center;gap:9px;padding:8px 0}.refCreator>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eaf2ff;color:#286bd0;font-weight:800}.refCreator b,.refCreator small{display:block}.refEmpty{padding:18px 8px;text-align:center;color:#7b8ba1;background:#fafbfd;border-radius:9px;font-size:11px}.refDisclaimer{margin-top:12px;color:#8492a5;font-size:10px}
@media(max-width:1180px){#visualDashboard .refGrid{grid-template-columns:1fr}#visualDashboard .refCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#visualDashboard .refDashHead{display:block}.refDashActions{margin-top:12px}.refCategoryList{grid-template-columns:1fr!important}.refLegend{justify-content:flex-start!important;margin-top:8px}}
@media(max-width:420px){#visualDashboard .refCards{grid-template-columns:1fr}}
