html {
  height: 100%;
}

body {
  background: #ffffff;
  box-sizing: border-box;    
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
}

article[data-label] {
  background: #f4f4f4;
  flex-basis: 0;
  flex-grow: 1;
  padding: 16px;
}

article[hidden] {
  display: none;
}

button.custom {
  align-items: center;
  appearance: none;
  background: #0f62fe;
  border: solid 1px transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 0;
  outline: none;
  padding: 14px 16px 14px 16px;    
  -webkit-tap-highlight-color: transparent;   
}

button.custom span {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.50px;
  line-height: 18px;        
}    

button.custom:focus {
  box-shadow: 
    inset 0 0 0 1px #0f62fe, 
    inset 0 0 0 2px #ffffff;      
}

button.custom:hover {    
  background: #0050e6;
}

diesel-stack diesel-table::part( columns ) {
  padding: 0 0 0 48px;
}

diesel-tabs {
  flex-basis: 0;
  flex-grow: 1;
  margin: 0 16px 16px 16px;
}

diesel-tabs[expanded] {
  margin: 16px;
}

section {
  display: flex;
  flex-basis: 0;
  flex-direction: column;
  flex-grow: 1;
}

section[hidden] {
  display: none;
}

button[hidden] {
  display: none;
}

form.grid {
  display: grid;
  grid-template-columns: repeat( 3, 1fr );
  grid-column-gap: 16px;
  grid-row-gap: 0;           
}

/*
diesel-tabs {
  flex-basis: 0;
  flex-grow: 1;
  margin: 0 16px 16px 16px;
}

diesel-tabs[expanded] {
  margin: 16px;
}    

diesel-tabs article {
  background: #f4f4f4;
  flex-basis: 0;
  flex-grow: 1;
  padding: 16px;
}

section {
  background: #f4f4f4;
  display: flex;
  flex-basis: 0;
  flex-direction: column;
  flex-grow: 1;
  margin: 16px;
}

section[hidden] {
  display: none;
}

#detail {
  background: none;
  margin: 0;
}

#inventory {
  margin: 16px;
}

#inventory::part( columns ) {
  padding: 0 0 0 48px;
}

#login {
  align-items: center;
  background-image: url( /img/fluid-background.png );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  margin: 0;
}

#login[hidden] {
  display: none;
}

#login article {
  background: #ffffff;
  height: 300px;
  width: 300px;
}

#login article form {
  padding: 0 16px 0 16px;
}

p[slot=empty] {
  color: #525252;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.50px;
  line-height: 18px;
  margin: 0;
  padding: 0;
}
*/

@media ( max-width: 1115px ) {        
  button.custom {
    padding: 10px 16px 10px 16px;      
  }

  diesel-stack diesel-table::part( columns ) {
    padding: 0 0 0 42px;
  }  
}
