html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
[onClick] {
  cursor: pointer;
}
html,
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}
#layout {
  display: grid;
  height: 100vh;
  width: 100vw;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 176px min-content 1fr;
  grid-template-areas: "aps    aps" "filter floor-plan" "ssids  floor-plan";
  /* In view only mode */
}
#layout.no-aps {
  grid-template-rows: min-content 1fr;
  grid-template-areas: "filter floor-plan" "ssids  floor-plan";
}
#layout.no-aps #lines,
#layout.no-aps #aps {
  display: none;
}
.section.with-counter {
  display: grid;
  grid-template-columns: 32px 4px 32px 1fr;
  align-items: center;
}
.section.with-counter input {
  width: 100%;
}
#counter {
  font-family: monospace;
  font-size: 12px;
  text-align: right;
  width: 100%;
}
#filter {
  grid-area: filter;
  justify-self: left;
  display: grid;
  width: 100%;
  align-items: center;
  border-right: 2px solid #a00;
  border-bottom: 2px solid #a00;
  background: #ddd;
}
#filter .content {
  padding: 16px;
}
#filter .content .section {
  margin-bottom: 16px;
}
#filter .content .section:last-child {
  margin-bottom: 0px;
}
#lines {
  grid-area: aps;
  width: 100%;
  height: 100%;
  padding-top: 8px;
  overflow: hidden;
}
#aps {
  grid-area: aps;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 64px;
  padding-top: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #a00;
  display: grid;
  position: relative;
  grid-auto-columns: 112px;
  grid-auto-flow: column;
  grid-template-rows: 96px
		48px;
  grid-template-areas: "graph" "text";
  grid-column-gap: 16px;
  align-items: end;
  font-size: 12px;
}
#aps .graph {
  position: relative;
  height: 100%;
}
#aps .signal {
  position: absolute;
  left: 24px;
  bottom: 0px;
}
#aps .bar {
  position: absolute;
  bottom: 0px;
  width: 16px;
  background: #aaa;
}
#aps .bar.visible {
  background: #a00;
}
#aps .text {
  white-space: nowrap;
  overflow: hidden;
  color: #aaa;
}
#aps .text.visible {
  color: #000;
}
#ssids {
  grid-area: ssids;
  border-right: 2px solid #a00;
  padding: 16px;
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: auto;
}
#ssids .ssid {
  margin-bottom: 8px;
}
#ssids .ssid.selected {
  font-weight: bold;
  color: #a00;
}
#floor-plan {
  grid-area: floor-plan;
  position: relative;
  overflow: auto;
}
#background,
#map_heat,
#map_points {
  position: absolute;
  top: 0px;
  left: 0px;
}
