/* ORDO v2.64 · unified workspace surface */
/* The application workspace is one continuous surface. The theme switch keeps its own card. */
.global-main,
.app-module,
.home-dashboard,
.module-placeholder,
.access-module-shell,
.access-module-content{
  background:var(--ordo-bg)!important;
}

.global-main{
  min-height:100vh!important;
  background-color:var(--ordo-bg)!important;
  background-image:none!important;
}

/* Remove header/top-strip surfaces without changing layout or controls. */
.global-main>.global-topbar,
.global-main>.app-topbar,
.global-main>.module-topbar,
.global-main>.workspace-topbar,
.home-dashboard>.home-topbar,
.module-placeholder>.module-topbar{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* Accesses uses its security artwork over the same continuous base surface. */
#accesosModule{
  background:var(--ordo-bg)!important;
}
#accesosModule .accesses-shell{
  background-color:var(--ordo-bg)!important;
}
html[data-theme="dark"] #accesosModule .accesses-shell,
html.ordo-dark #accesosModule .accesses-shell{
  background:radial-gradient(circle at 50% 46%,rgba(108,92,231,.12),transparent 40%),var(--ordo-bg)!important;
}
html[data-theme="light"] #accesosModule .accesses-shell,
html.ordo-light #accesosModule .accesses-shell{
  background:radial-gradient(circle at 50% 46%,rgba(108,92,231,.055),transparent 42%),var(--ordo-bg)!important;
}

/* Explicitly preserve the Claro/Oscuro card. */
.ramnil-theme-switch{
  background:var(--ordo-surface)!important;
  border:1px solid var(--ordo-border)!important;
  border-radius:10px!important;
}
