#dashboard {
  overflow: hidden;
}
#dashboard .dashboard {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}
#dashboard .cards {
  width: 100%;
  height: 100%;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  align-content: center;
  justify-content: center;
  justify-items: stretch;
  overflow: hidden;
  max-width: 1360px
}

#dashboard .cards > .card {
  align-self: stretch;
  background: var(--background-light);
  border-radius: 20px;
  width: 100%;
  min-width: auto;
  height: auto;
  max-height: inherit;
  min-height: auto;
  margin: 0px;
  padding: 40px 8px 40px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

#dashboard .card > .header {
  left: 0;
  border-top-left-radius: 20px;
  padding-left: 12px;
}

#dashboard .card > .header > .toolkit-label.ip {
  margin-right: 12px;
}

#dashboard .card > .status {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

#dashboard .card > .status > .block {
  padding: 6px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#dashboard .card > .status > .block > span {
  color: var(--color-medium);
  white-space: nowrap;
}
#dashboard .card > .status > .block > div {
  white-space: nowrap;
}
#dashboard .card > .status > .block .toolkit-label {
  min-width: 32px;
}


#dashboard .card > .status > .dsp {
  display: grid;
  grid-template-areas:
    "icon label1 value1"
    "title label2 value2";
  align-items: center;
  justify-content: center;
  grid-gap: 4px;
}
#dashboard .card > .status > .dsp > .title {
  grid-area: title;
  color: var(--color-medium);
}
#dashboard .card > .status > .dsp > .toolkit-icon {
  grid-area: icon;
}
#dashboard .card > .status > .dsp > .label {
  color: var(--color-medium);
}

#dashboard .card > .status > .dsp1 {
  grid-area: dsp1;
}

#dashboard .card > .status > .dsp2 {
  grid-area: dsp2;
}

#dashboard .card > .status > .cpu {
  grid-area: cpu;
}

#dashboard .card > .status > .temp {
  grid-area: temp;
}

#dashboard .card > .status > .back {
  grid-area: back;
}



#dashboard .block {
  margin: 0;
}


#dashboard .zones {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: left;
  gap: 0 8px;
  height: 100%;
  width: 100%;
  position: relative;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#dashboard .zones::-webkit-scrollbar {
  display: none;
}

#dashboard .zones > .zone {
  display: grid;
  grid-template-areas:
    "state name button"
    "level level level";
  grid-template-columns: auto 1fr;
  align-items: center;
  grid-gap: 2px;
  min-width: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}
#dashboard .zones > .zone > .toolkit-state {
  grid-area: state;
  border-radius: 2px;
}
#dashboard .zones > .zone > .toolkit-label {
  grid-area: name;
}
#dashboard .zones > .zone > .toolkit-level-meter {
  grid-area: level;
}
#dashboard .zones > .zone > .toolkit-button {
  grid-area: button;
  background: none;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

#dashboard .zones > .zone > .toolkit-button > .toolkit-icon {
  padding: 4px;
  font-size: 16px;
}
