.left-box {
  width: 10em;
  position: fixed;
  top: 10.5em;
  bottom: 2.4em;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px var(--color-border) solid;
  border-radius: 6px;
  padding: 0.5rem 0.3rem;
}
.left-box::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
.left-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.left-box .menu {
  width: 100% !important;
}
.left-box .menu .item {
  line-height: 1.2;
  position: relative;
  padding-left: 1em !important;
}
.left-box .menu .item .icon {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -0.4em !important;
}
.left-box .menu .item.separator {
  border-bottom: 1px var(--color-border) solid !important;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.left-box .menu .item.on span {
  border-bottom: 1px #666 dashed;
}
.left-box .menu .item.off span var {
  font-style: normal;
  background: #db2828;
  color: white !important;
  font-size: 8px;
  padding: 2px;
  border-radius: 2px;
  margin-left: 1em;
}
.left-box .menu .header {
  border-bottom: 1px var(--color-border) solid;
  padding-left: 0 !important;
  padding-bottom: 1em !important;
}
.left-box.disabled {
  opacity: 0.1;
}
.left-box.tiny {
  top: 10em;
}
.left-box.without-tabbar {
  top: 3em;
}
.left-box.with-menu {
  top: 10.6em;
}
.left-box.without-menu {
  top: 6em;
}
.right-box {
  padding: 0 1rem;
  overflow-y: auto;
}
.right-box::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
.right-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.right-box h4:first-child {
  margin-top: 0.5rem;
}
.right-box.null-data {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.right-box.tiny {
  top: 10em;
}
.right-box.without-tabbar {
  top: 3em;
}
.right-box.with-menu {
  top: 10.6em;
  min-height: 300px;
}
.right-box.without-menu {
  top: 10.5em;
}
.right-box .ui.form .table.definition {
  border: none;
  box-shadow: none;
}
.right-box .ui.form .table.definition td.title {
  background: #fafafa;
  font-weight: 500;
  width: 150px;
  color: #333;
}
.right-box .ui.form .table.definition .ui.label.basic {
  background: #f5f7fa;
  border: 1px solid #e8e8e8;
  margin: 0.3rem;
  padding: 0.5rem 0.8rem;
}
.right-box .ui.form .table.definition .ui.label.basic .icon {
  color: #999;
  margin-left: 0.5rem;
  transition: all 0.2s ease;
}
.right-box .ui.form .table.definition .ui.label.basic .icon:hover {
  color: var(--color-text-active, #1890ff);
}
.right-box .ui.form .table.definition .ui.fields.inline {
  margin-top: 1rem;
}
.right-box .ui.form .table.definition .ui.fields.inline a {
  color: #1890ff;
  text-decoration: none;
}
.right-box .ui.form .table.definition .ui.fields.inline a:hover {
  color: #40a9ff;
}
.right-box .ui.form .table.definition .ui.fields.inline .grey {
  color: #d9d9d9;
  margin: 0 0.8rem;
}
.right-box .ui.message.warning {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #faad14;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.right-box .ui.divider {
  margin: 1rem 0;
  border-top: 1px solid #f0f0f0;
}
@media screen and (max-width: 512px) {
  .right-box {
    padding: 0;
  }
}
.main.without-footer .left-box {
  top: 8em;
  bottom: 1.2em;
}
.b-first-menu + .margin + .with-menu.left-box {
  top: 10.6em !important;
}
.modern-navigation {
  padding: 1rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px var(--color-shadow, rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 1rem;
}
.modern-navigation .nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.8rem;
  font-size: 20px;
}
.modern-navigation .nav-item a {
  color: #666;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  transition: all 0.2s ease;
}
.modern-navigation .nav-item a .icon {
  color: #999;
  font-size: 20px;
  transition: all 0.2s ease;
}
.modern-navigation .nav-item a .icon:hover {
  color: var(--color-text-active, #1890ff);
}
.modern-navigation .nav-item a:hover {
  color: var(--color-text-active, #1890ff);
}
.modern-navigation .nav-item div {
  color: #333;
  font-size: 20px;
  font-weight: 500;
}
.modern-navigation .nav-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.modern-navigation .nav-container .nav-item {
  font-size: 14px;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.modern-navigation .nav-container .nav-item:hover {
  background: var(--color-panel-light, #f5f5f5) !important;
}
.modern-navigation .nav-container .nav-item.active {
  background: var(--color-text-active, #1890ff);
  color: white !important;
}
.modern-navigation .nav-container .nav-item.active .icon,
.modern-navigation .nav-container .nav-item.active .nav-text,
.modern-navigation .nav-container .nav-item.active .nav-text-mobile {
  color: white !important;
}
.modern-navigation .nav-container .nav-item .icon {
  font-size: 14px;
  margin-right: 0.3rem;
}
@media (max-width: 768px) {
  .modern-navigation {
    padding: 0.5rem 0.8rem;
  }
  .modern-navigation .nav-item {
    font-size: 16px;
    gap: 0.4rem;
  }
  .modern-navigation .nav-item a .icon {
    font-size: 16px;
  }
  .modern-navigation .nav-item div {
    font-size: 16px;
  }
  .modern-navigation .nav-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
  }
  .modern-navigation .nav-container .nav-item {
    white-space: nowrap;
    padding: 0.3rem 0.5rem;
  }
  .modern-navigation .nav-container .nav-item .nav-text {
    display: none;
  }
  .modern-navigation .nav-container .nav-item .nav-text-mobile {
    display: block;
  }
}
.nav-divider {
  color: #adb5bd;
  margin: 0 0.25rem;
}
.nav-text {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.nav-text-mobile {
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.edge-menu {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.edge-menu .edge-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0.5rem 0.8rem;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #f5f7fa;
  border: 1px solid transparent;
}
.edge-menu .edge-menu-item:hover {
  background: #e6f7ff;
  color: #1890ff;
  border-color: #91d5ff;
}
.edge-menu .edge-menu-item.is-active {
  background: #e6f7ff;
  color: #1890ff;
  font-weight: 500;
  border-color: #91d5ff;
}
.edge-menu .edge-menu-item.is-active .icon {
  color: #1890ff;
  margin-right: 0.3rem;
}
.edge-menu .edge-menu-item.is-separator {
  width: 1px;
  height: 1.5rem;
  background: #eee;
  margin: 0 0.3rem;
  padding: 0;
  align-self: center;
}
.edge-menu .edge-menu-item.is-on {
  border-bottom: 2px solid #1890ff;
}
.edge-menu .edge-menu-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}
.edge-menu .edge-menu-name {
  display: inline-block;
}
.edge-menu .edge-menu-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0 0.4rem;
  height: 1.2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: normal;
  margin-left: 0.3rem;
}
.edge-menu .edge-menu-status.is-off {
  background: #ff4d4f;
  color: white;
}
.edge-menu .edge-menu-status.is-on {
  background: #52c41a;
  color: white;
}
.edge-menu .edge-menu-subname {
  color: #999;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}
.edge-menu-wrapper {
  position: relative;
  width: 100%;
  padding: 0 2.5rem;
  border: none;
}
.edge-menu-wrapper.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.edge-menu-wrapper .edge-menu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  border: none;
  background: var(--color-panel, #f5f5f5);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  z-index: 1;
  transition: all 0.2s ease;
}
.edge-menu-wrapper .edge-menu-arrow.left {
  left: 0.3rem;
}
.edge-menu-wrapper .edge-menu-arrow.right {
  right: 0.3rem;
}
.edge-menu-wrapper .edge-menu-arrow .icon {
  font-size: 1rem;
  color: var(--color-text-sub, #666);
}
.edge-menu-wrapper .edge-menu-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.edge-menu-wrapper .edge-menu-container::-webkit-scrollbar {
  display: none;
}
.edge-menu-wrapper .edge-menu-container:active {
  cursor: grabbing;
}
.edge-menu-wrapper .edge-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0.5rem 0;
  min-width: 100%;
  gap: 0.2rem;
  height: 2.8rem;
}
.edge-menu-wrapper .edge-menu .edge-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  height: 1.8rem;
  padding: 0 0.8rem;
  color: var(--color-text, #333);
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  white-space: nowrap;
  font-size: 0.85rem;
  user-select: none;
}
.edge-menu-wrapper .edge-menu .edge-menu-item:hover {
  background: var(--color-panel-light, #f5f5f5);
  color: var(--color-text-active, #1890ff);
}
.edge-menu-wrapper .edge-menu .edge-menu-item.is-active {
  color: var(--color-text-active, #1890ff);
  font-weight: 500;
  border: none;
}
.edge-menu-wrapper .edge-menu .edge-menu-item.is-active .icon {
  color: var(--color-text-active, #1890ff);
  margin-right: 0.3rem;
}
.edge-menu-wrapper .edge-menu .edge-menu-item.is-separator {
  width: 1px;
  height: 1.2rem;
  background: var(--color-border, #eee);
  margin: 0 0.2rem;
  padding: 0;
}
.edge-menu-wrapper .edge-menu .edge-menu-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.2rem;
  font-size: 0.85rem;
  line-height: 1;
}
.edge-menu-wrapper .edge-menu .edge-menu-name {
  display: inline-block;
  user-select: none;
}
.edge-menu-wrapper .edge-menu .edge-menu-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0 0.3rem;
  height: 1rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: normal;
  margin-left: 0.2rem;
}
.edge-menu-wrapper .edge-menu .edge-menu-status.is-off {
  background: #ff4d4f;
  color: white;
}
.edge-menu-wrapper .edge-menu .edge-menu-status.is-on {
  background: #52c41a;
  color: white;
}
.edge-menu-wrapper .edge-menu .edge-menu-subname {
  color: var(--color-text-sub, #999);
  font-size: 0.75rem;
  margin-left: 0.2rem;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
@media screen and (max-width: 768px) {
  .modern-navigation .nav-container .nav-divider {
    margin: 0 0.1rem;
  }
  .edge-menu-wrapper {
    padding: 0 0.5rem;
  }
  .edge-menu-wrapper .edge-menu-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .edge-menu-wrapper .edge-menu {
    padding: 0.4rem 0;
    height: 2.4rem;
  }
  .edge-menu-wrapper .edge-menu-item {
    padding: 0 0.5rem;
    height: 1.6rem;
    font-size: 0.8rem;
  }
}
