html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

.bar {
  height: 120px;
  background: whitesmoke;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 8px;
  box-shadow: 0 -2px 10px 0px black;
}

#text_input {
  flex-grow: 1;
  resize: none;
  font-family: inherit;
  margin-right: 6px;
}
#detect_btn {
  padding: 12px;
}

svg {
  flex-grow: 1;
  width: 100%;
}

.score {
  stroke: white;
  stroke-width: 1px;
  shape-rendering: crispEdges;
  fill-opacity: 0.9;
}
.score:hover {
  fill-opacity: 1;
}
.label {
  font-family: sans-serif;
  text-anchor: middle;
  text-transform: uppercase;
  font-size: 12px;
  pointer-events: none;
}

.hidden.label {
  display: none;
}

.busy svg {
  opacity: 0.5;
}
.busy * {
  cursor: progress !important;
}