/* Etapa 12.5: melhorias restritas ao Dashboard, sem substituir o design espacial. */
#page-inicio .performance-panel{min-width:0}
#page-inicio .perf-content{display:grid;grid-template-columns:minmax(0,0.97fr) minmax(0,1.03fr);gap:22px;align-items:stretch}
#page-inicio .perf-metric,#page-inicio .channel-ranking{min-width:0}
#page-inicio .perf-metric .views{font-size:clamp(42px,5vw,72px);line-height:1;letter-spacing:-.055em}
#page-inicio .perf-metric .views-label{font-size:14px;font-weight:700;color:#66ecff;margin-top:7px}
#page-inicio .trend-description{line-height:1.55;max-width:45ch}
#page-inicio .mini-chart{position:relative;min-height:210px;height:auto;display:flex;align-items:center;margin-top:8px;overflow:visible}
#page-inicio .td125-chart-svg{width:100%;max-height:255px;overflow:visible;filter:drop-shadow(0 0 4px #38c7ff23)}
#page-inicio .chart-days{font-size:10px;line-height:1.5;color:#a8b9df;max-width:49ch}
#page-inicio .channel-ranking .ranking-header{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #829fe543;padding:5px 0 12px;font-size:11px;color:#bdd0f7}
#page-inicio .ranking-rows{display:block;min-width:0}
#page-inicio .td125-rank{padding:12px 0;border-bottom:1px solid #91a5de25;min-width:0}
#page-inicio .td125-rank-head{display:flex;align-items:center;gap:9px;min-width:0}
#page-inicio .td125-rank-head .fresh-avatar{flex:0 0 26px;width:26px;height:26px}
#page-inicio .td125-rank-head strong{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere;color:#ecf6ff}
#page-inicio .td125-rank-head>span:last-child{font-size:12px;font-weight:800;color:#f0f5ff;white-space:nowrap}
#page-inicio .td125-rank-track{height:4px;background:#22335a;border-radius:12px;margin:5px 0 3px 35px;overflow:hidden}
#page-inicio .td125-rank-track i{height:100%;display:block;background:linear-gradient(90deg,#24cfff,#b45bff);border-radius:inherit}
#page-inicio .td125-rank small{margin-left:35px;color:#9eaed1;font-size:10px}
#page-inicio #radarRows,#page-inicio #actionRows{display:flex;flex-direction:column;gap:7px;padding:10px 11px 13px;min-width:0}
#page-inicio .td125-radar-item,#page-inicio .td125-action-item{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #809ade40;border-radius:11px;background:linear-gradient(105deg,#0f224cbb,#2a1753a3);color:#edf3ff;padding:10px 11px;font:inherit;cursor:pointer;min-height:48px;transition:background .16s ease,border-color .16s ease}
#page-inicio .td125-radar-item:hover,#page-inicio .td125-action-item:hover{border-color:#66d5ff8c;background:linear-gradient(105deg,#153568,#3a226b)}
#page-inicio .td125-badge,#page-inicio .td125-priority{flex:none;font-size:10px;font-weight:700;white-space:nowrap;padding:4px 9px;border:1px solid #448ec6;border-radius:99px;background:#06548570;color:#71dbff}
#page-inicio .td125-badge.critical,#page-inicio .td125-priority.critical{border-color:#ed668e;background:#74204570;color:#ffb2c3}
#page-inicio .td125-priority.warning{border-color:#e2a04b;background:#68400a80;color:#ffcd76}
#page-inicio .td125-alert-label,#page-inicio .td125-action-copy{flex:1;min-width:0}
#page-inicio .td125-alert-label strong,#page-inicio .td125-action-copy strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
#page-inicio .td125-alert-label small,#page-inicio .td125-action-copy small{display:block;color:#b7c3e3;line-height:1.45;font-size:10px;margin-top:3px}
#page-inicio .td125-radar-item>span:last-child,#page-inicio .td125-action-item>span:last-child{font-size:19px;color:#bdceea}
#page-inicio .td125-action-item .fresh-avatar{flex:0 0 25px;width:25px;height:25px}
#page-inicio .td125-action-check{width:18px;height:18px;border:1px solid #7898db;border-radius:5px;flex:none}
#page-inicio .td125-action-item:focus-visible,#page-inicio .td125-radar-item:focus-visible{outline:2px solid #6be5ff;outline-offset:2px}
/* Isolar brilho da sidebar para evitar projeções sobre widgets */
#sidebar{isolation:isolate}
#sidebar .side-nav .nav-item{transform:none!important;filter:none!important;will-change:auto!important}
#sidebar .side-nav .nav-item::before,#sidebar .side-nav .nav-item::after{pointer-events:none}
@media(max-width:1120px){#page-inicio .perf-content{grid-template-columns:1fr}#page-inicio .channel-ranking{border-left:none!important;padding-left:0!important}}
@media(prefers-reduced-motion:reduce){#page-inicio .td125-radar-item,#page-inicio .td125-action-item{transition:none}}
