.network-panel {
  position: fixed;
  z-index: 400;
  width: 300px;
  padding: 13px 14px 11px;
  border: 1px solid #cfcac0;
  border-radius: 7px;
  background: #fffefb;
  box-shadow: 0 12px 32px rgba(21, 32, 40, 0.2);
  color: #263238;
  font-family: Arial, Helvetica, "PingFang SC", "Noto Sans SC", sans-serif;
}

.network-panel[hidden] {
  display: none;
}

.network-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.network-panel-head strong {
  font-size: 13px;
}

.network-panel-close {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c757a;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.network-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  background: #eef6ef;
  color: #2f7d46;
  font-size: 11px;
  font-weight: 700;
}

.network-state.is-offline {
  background: #fdf0f0;
  color: #b54545;
}

.network-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.network-details {
  margin: 0 0 10px;
  padding: 0;
  border-top: 1px solid #eeeae1;
}

.network-details > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #f1eee7;
  font-size: 11px;
}

.network-details dt {
  color: #7e898e;
}

.network-details dd {
  margin: 0;
  color: #303b41;
  text-align: right;
}

.network-recheck {
  width: 100%;
  height: 30px;
  border: 1px solid #c8c3b7;
  border-radius: 4px;
  background: #ffffff;
  color: #39464d;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.network-recheck:hover,
.network-recheck:focus {
  background: #f6f4ed;
}

.network-panel.just-checked .network-recheck {
  border-color: #4f8b62;
  background: #f1f8f3;
}

.network-note {
  margin: 9px 0 0;
  color: #929b9e;
  font-size: 10px;
  line-height: 1.45;
}

#mockNet,
.atlas-header-status {
  cursor: pointer;
}

#mockNet:focus-visible,
.atlas-header-status:focus-visible {
  outline: 2px solid #2f80d5;
  outline-offset: 2px;
}
