.h-topo{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.h-topo h1{margin:0;font-size:26px}.h-topo .sub{margin-top:2px}
.h-per{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--surface);border-radius:10px;padding:3px;box-shadow:var(--sombra)}
.h-per button{border:0;background:none;color:var(--muted);font:inherit;font-size:13.5px;font-weight:700;padding:8px 15px;border-radius:8px;cursor:pointer;min-height:36px;white-space:nowrap}.h-per button.on{background:var(--accent);color:var(--accent-ink)}
.h-box{background:var(--surface);border:1px solid var(--card-line);border-radius:12px;box-shadow:var(--sombra);margin-bottom:12px;min-width:0}
.h-met{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line)}
.h-met button{border:0;border-right:1px solid var(--line);background:none;color:inherit;font:inherit;text-align:left;padding:14px 16px;cursor:pointer;min-width:0;box-shadow:inset 0 -2px 0 transparent}.h-met button:last-child{border-right:0}.h-met button.on{box-shadow:inset 0 -2px 0 var(--accent)}.h-met button:first-child{border-top-left-radius:12px}.h-met button:last-child{border-top-right-radius:12px}
.h-met span{display:block;color:var(--muted);font-size:12.5px;font-weight:600}.h-met b{display:block;font-size:21px;font-weight:800;margin:3px 0 2px;letter-spacing:-.01em;white-space:nowrap}
.h-d{font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}.h-d.up{color:var(--ok)}.h-d.down{color:var(--bad)}
.h-graf{padding:12px 16px 12px}.h-leit{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--muted);min-height:18px;margin-bottom:6px}.h-leit b{color:var(--ink)}
.h-barras{display:flex;align-items:flex-end;gap:2px;height:150px;border-bottom:1px solid var(--line)}.h-barras button{flex:1 1 0;min-width:0;height:100%;display:flex;align-items:flex-end;border:0;background:none;padding:0 1px;cursor:pointer}.h-barras i{display:block;width:100%;max-width:26px;margin:auto auto 0;min-height:2px;border-radius:4px 4px 0 0;background:var(--s-rec)}.h-barras button:hover i,.h-barras button.on i{background:var(--accent);filter:brightness(.82)}
.h-eixo{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);margin-top:5px}
.h-tit{font-size:15px;font-weight:800;margin:20px 2px 9px;display:flex;justify-content:space-between;align-items:baseline;gap:10px}.h-tit small{font-size:12px;color:var(--muted);font-weight:600}
.h-rec{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:0}.h-rec>div{padding:14px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.h-rec>div:nth-child(3n){border-right:0}.h-rec>div:nth-last-child(-n+3){border-bottom:0}
.h-rec span{display:block;color:var(--muted);font-size:12.5px;font-weight:600}.h-rec b{display:block;font-size:20px;font-weight:800;margin:3px 0;white-space:nowrap}.h-rec small{display:block;color:var(--muted);font-size:11.5px;line-height:1.3}
.h-dois{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.h-dois>section{min-width:0}.h-pad{padding:13px 16px}
.h-lin{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 0;border-top:1px solid var(--line);font-size:13.5px}.h-lin:first-child{border-top:0;padding-top:0}.h-lin .nome{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.h-lin .val{font-weight:700;white-space:nowrap}.h-lin .bar{grid-column:1/-1;height:5px;border-radius:3px;background:var(--surface-2);overflow:hidden}.h-lin .bar i{display:block;height:100%;border-radius:3px;background:var(--s-rec)}.h-lin small{grid-column:1/-1;color:var(--muted);font-size:11.5px}
.h-stack{display:flex;gap:2px;height:12px;margin:3px 0 10px}.h-stack i{display:block;min-width:2px;border-radius:4px}.h-stack .n{background:var(--s-desp)}.h-stack .r{background:var(--s-rec)}
.h-ponto{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px}.h-ponto.n{background:var(--s-desp)}.h-ponto.r{background:var(--s-rec)}
.h-ga{display:grid;grid-template-columns:repeat(3,1fr)}.h-ga>div{padding:14px 16px;border-right:1px solid var(--line);opacity:.62}.h-ga>div:last-child{border-right:0}.h-ga span{display:block;color:var(--muted);font-size:12.5px;font-weight:600}.h-ga b{display:block;font-size:20px;margin-top:3px}
.h-nota{font-size:12px;color:var(--muted);line-height:1.45;margin:8px 2px}.h-det{margin-top:16px}.h-det summary{font-weight:700;font-size:13.5px;cursor:pointer;min-height:32px}
.h-push{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;font-size:13.5px;font-weight:600}.h-push[hidden]{display:none}.h-pb{display:flex;gap:6px;flex:none}
.h-vazio{padding:22px 16px;text-align:center;color:var(--muted);font-size:13.5px}
@media(max-width:900px){
  .h-topo{display:block}.h-per{margin-top:10px}.h-per button{padding:8px 4px}
  .h-met{grid-template-columns:1fr 1fr}.h-met button{padding:12px 13px}.h-met button:nth-child(2){border-right:0;border-top-right-radius:12px}.h-met button:nth-child(-n+2){border-bottom:1px solid var(--line)}.h-met button:nth-child(3){border-top-left-radius:0}.h-met button:last-child{border-top-right-radius:0}.h-met b{font-size:18px}
  .h-rec{grid-template-columns:1fr 1fr}.h-rec>div{padding:12px 13px;border-bottom:1px solid var(--line)!important;border-right:1px solid var(--line)!important}.h-rec>div:nth-child(2n){border-right:0!important}.h-rec>div:nth-last-child(-n+2){border-bottom:0!important}.h-rec b{font-size:18px}
  .h-dois{grid-template-columns:1fr;gap:0}.h-ga>div{padding:12px 10px}.h-ga b{font-size:17px}.h-barras{height:130px}
}
