html, body { height: 100%; width: 100%; margin: 0; padding: 0; }
body { 
    font-family: 'Roboto', Arial, sans-serif; 
    background: #f5f5f5; }
#canvas { 
    border: 1px solid #ccc; 
    background: #fff; 
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;}
#app {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toolbox {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 100;
  align-items: center;
}
.toolbox .mdl-button {
  min-width: 0;
  color: #3f51b5;
}
.toolbox .mdl-button:focus {
  outline: none;
  background: #e3e3e3;
}
#textToolbox {
  display: none;
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 12px 24px;
  z-index: 200;
  align-items: center;
  gap: 12px;
}
