/* Fix rem base so Bootstrap scales consistently across browsers/OS font settings */
html { font-size: 14px; }

/* Sidebar layout — applied unconditionally so DPR scaling on HiDPI secondary
   monitors never collapses the sidebar (the @media version below adds extra specificity) */
.container-fluid > .row { flex-wrap: nowrap !important; }
.container-fluid > .row .col { min-width: 0; overflow-x: auto; }
.col-md-1-5 { flex: 0 0 10%; max-width: 10%; }

@media (min-width:768px){
  .col-md-1-5{flex:0 0 10%;max-width:10%;}
}

/* Make negative numbers red in tables */
.num-neg,
th .num-neg,
.num-neg{color:#c00 !important}  /* negative numbers appear in red */