.l2g-integration-header .nav-label {
  color: #6b5ac7;
  font-weight: 700;
}

.l2g-integration-item .nav-link {
  position: relative;
  cursor: pointer;
}

.l2g-integration-item .sidemenu-icon {
  color: #6b5ac7;
}

.l2g-integration-item .l2g-tool-mark {
  margin-left: auto;
  color: #8c91a4;
  font-size: 11px;
  line-height: 1;
}

.l2g-integration-item .nav-link:hover .l2g-tool-mark,
.l2g-integration-item .nav-link.active .l2g-tool-mark {
  color: #6b5ac7;
}

.l2g-workspace-open > :not(#l2gEmbeddedWorkspace) {
  display: none !important;
}

.l2g-embedded-workspace {
  display: none;
}

.l2g-workspace-open > #l2gEmbeddedWorkspace {
  display: block;
}

[data-l2g-header-tool] {
  position: relative;
  cursor: pointer;
}

.l2g-tool-is-open .main-sidebar-body .nav-item:not(.l2g-integration-item) > .nav-link.active,
.l2g-tool-is-open .main-sidebar-body .nav-item:not(.l2g-integration-item) > .nav-link.router-link-active,
.l2g-tool-is-open .main-sidebar-body .nav-item:not(.l2g-integration-item) > .nav-link.router-link-exact-active {
  background: transparent !important;
  color: inherit !important;
}

.l2g-tool-is-open .main-sidebar-body .nav-item:not(.l2g-integration-item) > .nav-link .shape1,
.l2g-tool-is-open .main-sidebar-body .nav-item:not(.l2g-integration-item) > .nav-link .shape2 {
  display: none !important;
}

[data-l2g-header-tool]:focus,
[data-l2g-header-tool]:focus-visible,
[data-l2g-header-tool]:active,
[data-l2g-header-tool].active,
.show > [data-l2g-header-tool] {
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.l2g-live-badge[hidden] {
  display: none !important;
}

.l2g-tool-is-open .main-content.side-content {
  min-height: calc(100vh - 64px);
}

.l2g-tool-is-open .main-content .container-fluid {
  max-width: none;
}

.l2g-embedded-workspace {
  width: 100%;
  min-height: calc(100vh - 92px);
  margin: 0;
  color: #202342;
}

.l2g-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px 4px 16px;
}

.l2g-workspace-kicker {
  display: block;
  margin-bottom: 3px;
  color: #6b5ac7;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.l2g-workspace-title h1 {
  margin: 0;
  color: #202342;
  font-size: 23px;
  line-height: 1.2;
}

.l2g-workspace-title p {
  margin: 5px 0 0;
  color: #777d91;
  font-size: 13px;
}

.l2g-workspace-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l2g-workspace-btn,
.l2g-workspace-icon {
  height: 38px;
  border: 1px solid #dfe2ed;
  border-radius: 5px;
  background: #fff;
  color: #4f5365;
  cursor: pointer;
}

.l2g-workspace-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
}

.l2g-workspace-icon {
  width: 38px;
  display: inline-grid;
  place-items: center;
}

.l2g-workspace-btn:hover,
.l2g-workspace-icon:hover {
  border-color: #6b5ac7;
  color: #6b5ac7;
}

.l2g-frame-shell {
  position: relative;
  min-height: calc(100vh - 184px);
  overflow: hidden;
  border: 1px solid #dfe2ed;
  border-radius: 6px;
  background: #f8f9fc;
  box-shadow: 0 10px 28px rgba(35, 38, 70, .07);
}

.l2g-frame-shell iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 184px);
  min-height: 680px;
  border: 0;
  background: #f8f9fc;
  opacity: 0;
  transition: opacity .18s ease;
}

.l2g-embedded-workspace.is-loaded .l2g-frame-shell iframe {
  opacity: 1;
}

.l2g-frame-loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #777d91;
  font-size: 12px;
}

.l2g-frame-loading span {
  width: 28px;
  height: 28px;
  border: 3px solid #e3e0f7;
  border-top-color: #6b5ac7;
  border-radius: 50%;
  animation: l2g-spin .7s linear infinite;
}

.l2g-embedded-workspace.is-loaded .l2g-frame-loading {
  display: none;
}

@keyframes l2g-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .l2g-workspace-head { align-items: flex-start; }
  .l2g-workspace-title p { display: none; }
  .l2g-workspace-btn span { display: none; }
  .l2g-workspace-btn { width: 38px; justify-content: center; padding: 0; }
  .l2g-frame-shell,
  .l2g-frame-shell iframe { min-height: calc(100vh - 150px); height: calc(100vh - 150px); }
}
