/* Soft admin surface for Filament /admin (CUD only — no canvas shell). */
:not(.dark) .fi-body {
  position: relative;
  background-color: #e8e9eb;
  z-index: 1;
}

:not(.dark) .fi-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(
    99.6deg,
    rgba(232, 233, 235, 1) 10.6%,
    rgba(240, 241, 243, 1) 32.9%,
    rgba(248, 249, 251, 0.7) 50%,
    rgba(240, 241, 243, 1) 67.1%,
    rgba(232, 233, 235, 1) 83.4%
  );
}

.fi-sidebar-nav {
  scrollbar-width: thin;
}

.object-viewer-frame {
  display: block;
  width: 100%;
  min-height: calc(100dvh - 8rem);
  height: calc(100dvh - 8rem);
  background: #111;
  border: 0;
}

body.fi-studio-viewer .object-viewer-wrap {
  margin: 0;
}

.studio-back-link {
  display: inline-flex;
  align-items: center;
  margin-inline-end: 0.5rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.studio-back-link:hover {
  border-color: #0d9488;
  color: #0d9488;
}

