body { background: #f5f6f8; }
.card { border: 1px solid #e3e6ea; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.table > :not(caption) > * > * { padding: .65rem .75rem; }
.stat-card .value { font-size: 1.6rem; font-weight: 600; }
.stat-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #6c757d; }
.chart-box { position: relative; height: 300px; }
.tributo-row .form-control, .tributo-row .form-select { min-width: 90px; }
.xml-view { max-height: 640px; overflow: auto; padding-right: .25rem; }
.xml-panel {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: .5rem;
  padding: 1rem 1.1rem;
}
.xml-panel-h {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1f4e79;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #1f4e79;
}
.xml-subh {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: .4rem;
}
.xml-dl {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: .35rem .85rem;
  margin: 0;
}
.xml-dl dt {
  margin: 0;
  color: #6c757d;
  font-weight: 500;
  font-size: .86rem;
}
.xml-dl dd {
  margin: 0;
  font-weight: 600;
  color: #1b1f24;
  word-break: break-word;
}
.xml-dl-inline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.xml-dl-inline dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.xml-dl-inline dd { margin-bottom: .55rem; }
.xml-table { font-size: .9rem; }
.xml-table thead th {
  background: #f3f6fa;
  color: #495057;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom-width: 1px;
}
@media (max-width: 576px) {
  .xml-dl { grid-template-columns: 1fr; gap: .05rem .5rem; }
  .xml-dl dt { margin-top: .35rem; }
}
