/*
 * Virii8 Workspace Shell tools trigger.
 * v1.6.481: keeps front-end debug/settings floating launchers visible for signed-in users while heavier panels lazy-load on intent.
 */
#v8e-admin-debug-tools {
  display: none;
  position: fixed;
  right: calc(max(10px, env(safe-area-inset-right, 0px)) + var(--v8-floating-ui-right-offset, 0px));
  bottom: calc(var(--v8-shell-bottom-reserve, 74px) + max(10px, env(safe-area-inset-bottom, 0px)) + var(--v8e-admin-btn-offset, 0px) + var(--v8e-admin-tools-y, 0px));
  z-index: 2147483000;
  pointer-events: none;
  align-items: flex-end;
}
#v8e-admin-debug-tools.v8e-tools-enabled { display: block; }
.v8-os-environment:fullscreen #v8e-admin-debug-tools,
.v8-os-environment:-webkit-full-screen #v8e-admin-debug-tools,
.v8-os-environment.v8-pseudo-fullscreen #v8e-admin-debug-tools { z-index: 2147483647; }
#v8e-admin-debug-tools .v8e-tool-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  touch-action: none;
}
#v8e-admin-debug-tools .v8e-tool-trigger.v8e-hidden { display: none !important; }
#v8e-admin-debug-tools .v8e-tool-trigger {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  opacity: .72;
  backdrop-filter: blur(18px);
  transition: opacity .15s, transform .15s, border-color .15s, background .15s;
}
#v8e-admin-debug-tools .v8e-tool-trigger:hover { opacity: 1; transform: translateY(-1px); }
#v8e-admin-debug-tools .v8e-tool-grip {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(2,6,23,.52);
  color: rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ns-resize;
  font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  opacity: .54;
  box-shadow: 0 8px 22px rgba(0,0,0,.26);
  backdrop-filter: blur(18px);
  user-select: none;
  -webkit-user-select: none;
}
#v8e-admin-debug-tools .v8e-tool-grip:hover,
#v8e-admin-debug-tools.v8e-tools-dragging .v8e-tool-grip { opacity: 1; color: #fff; border-color: rgba(255,255,255,.34); }
#v8e-admin-debug-tools.v8e-tools-dragging .v8e-tool-stack { cursor: ns-resize; }
#v8e-debug-trigger {
  color: #00ff41;
  background: rgba(0,255,65,.14);
  border: 1px solid rgba(0,255,65,.45);
}
#v8e-admin-trigger {
  color: #38bdf8;
  background: rgba(56,189,248,.14);
  border: 1px solid rgba(56,189,248,.45);
}
#v8e-debug-panel,
#v8e-admin-panel { display: none; }
#v8e-admin-debug-tools.v8e-admin-tools-loading .v8e-tool-trigger { opacity: .9; }
