html, body { margin: 0; background: #F4F3EF; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.carregando { display: flex; align-items: center; justify-content: center; height: 100vh; color: #1E3A5F; font-weight: 600; }

.marca { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.marca img { width: 30px; height: 30px; }
.marca small { font-weight: 500; opacity: .8; margin-left: 4px; }
.usuario { font-size: .85rem; opacity: .9; margin-right: 6px; }
.item-canal { display: inline-flex; align-items: center; gap: 10px; }
.item-canal img { width: 22px; height: 22px; }
.fraco { color: #6B7280; font-size: .8rem; }
.erro { color: #C62828; }

.cartao-usina { cursor: pointer; transition: box-shadow .15s; height: 100%; }
.cartao-usina:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.cartao-usina.em-alerta { border-color: #ED6C02 !important; border-width: 2px !important; }
.numeros { display: flex; gap: 28px; margin: 14px 0 10px; }
.numeros .valor { display: block; font-size: 1.5rem; font-weight: 700; color: #1E3A5F; }
.numeros .rotulo { font-size: .75rem; color: #6B7280; }
.alertas-abertos { border-color: #ED6C02 !important; background: #FFF7ED !important; }

.grafico { width: 100%; height: auto; max-height: 280px; }
.grafico .grade { stroke: #E5E7EB; stroke-width: 1; }
.grafico .eixo { font-size: 11px; fill: #6B7280; }
.grafico .barra { fill: #D97706; }
.grafico .barra.baixa { fill: #F59E0B; opacity: .55; }
.grafico .area { fill: #F59E0B; opacity: .18; }
.grafico .linha { fill: none; stroke: #D97706; stroke-width: 2; }
.grafico .referencia { stroke: #1E3A5F; stroke-width: 1.2; stroke-dasharray: 5 4; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px; background: #FFF3CD; z-index: 2000; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

.selo-sintesys { display: flex; justify-content: center; padding: 16px 16px 24px; }
.selo-sintesys a { display: inline-flex; align-items: center; gap: 8px; color: #5F6B7A; text-decoration: none; font-size: .75rem; opacity: .85; }
.selo-sintesys a:hover, .selo-sintesys a:focus-visible { opacity: 1; }
.selo-sintesys img { height: 34px; width: auto; }
.selo-sintesys.escuro a { color: #C9D1DB; }
