/* === HBA Layout Fix (global) === */
html, body { height: 100%; }
body { margin: 0; }
.layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;   /* content starts at the TOP, next to sidebar */
  justify-content: flex-start;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;             /* full viewport height */
  flex-shrink: 0;            /* don't shrink */
  display: flex;
  flex-direction: column;
}
.main {
  flex: 1;
  min-width: 0;
  align-self: flex-start;     /* ensure main starts at top */
  padding: 14px;
  margin: 0;
}
.container { margin: 0; }     /* remove accidental top margins */
.card h3, .card h4 { margin-top: 0; }
